vendor: 22,126 bytes, lines 1-458
1 2/** 3 * Swiper 5.4.5 4 * Most modern mobile touch slider and framework with hardware accelerated transitions 5 * http://swiperjs.com 6 * 7 * Copyright 2014-2020 Vladimir Kharlampidi 8 * 9 * Released under the MIT License 10 * 11 * Released on: June 16, 2020 12 */ 13 14!function (e, t) { 15 "object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = e || self).Swiper = t() 16}(this, (function () { 17 "use strict"; 18 19 function e(e) { 20 return null !== e && "object" == typeof e && "constructor" in e && e.constructor === Object 21 } 22 23 function t(i, s) { 24 void 0 === i && (i = {}), void 0 === s && (s = {}), Object.keys(s).forEach((function (a) { 25 void 0 === i[a] ? i[a] = s[a] : e(s[a]) && e(i[a]) && Object.keys(s[a]).length > 0 && t(i[a], s[a]) 26 })) 27 } 28 29 var i = "undefined" != typeof document ? document : {}, s = { 30 body: {}, addEventListener: function () { 31 }, removeEventListener: function () { 32 }, activeElement: { 33 blur: function () { 34 }, nodeName: "" 35 }, querySelector: function () { 36 return null 37 }, querySelectorAll: function () { 38 return [] 39 }, getElementById: function () { 40 return null 41 }, createEvent: function () { 42 return { 43 initEvent: function () { 44 } 45 } 46 }, createElement: function () { 47 return { 48 children: [], childNodes: [], style: {}, setAttribute: function () { 49 }, getElementsByTagName: function () { 50 return [] 51 } 52 } 53 }, createElementNS: function () { 54 return {} 55 }, importNode: function () { 56 return null 57 }, location: {hash: "", host: "", hostname: "", href: "", origin: "", pathname: "", protocol: "", search: ""} 58 }; 59 t(i, s); 60 var a = "undefined" != typeof window ? window : {}; 61 t(a, { 62 document: s, 63 navigator: {userAgent: ""}, 64 location: {hash: "", host: "", hostname: "", href: "", origin: "", pathname: "", protocol: "", search: ""}, 65 history: { 66 replaceState: function () { 67 }, pushState: function () { 68 }, go: function () { 69 }, back: function () { 70 } 71 }, 72 CustomEvent: function () { 73 return this 74 }, 75 addEventListener: function () { 76 }, 77 removeEventListener: function () { 78 }, 79 getComputedStyle: function () { 80 return { 81 getPropertyValue: function () { 82 return "" 83 } 84 } 85 }, 86 Image: function () { 87 }, 88 Date: function () { 89 }, 90 screen: {}, 91 setTimeout: function () { 92 }, 93 clearTimeout: function () { 94 }, 95 matchMedia: function () { 96 return {} 97 } 98 }); 99 var r = function (e) { 100 for (var t = 0; t < e.length; t += 1) this[t] = e[t]; 101 return this.length = e.length, this 102 }; 103 104 function n(e, t) { 105 var s = [], n = 0; 106 if (e && !t && e instanceof r) return e; 107 if (e) if ("string" == typeof e) { 108 var o, l, d = e.trim(); 109 if (d.indexOf("<") >= 0 && d.indexOf(">") >= 0) { 110 var h = "div"; 111 for (0 === d.indexOf("<li") && (h = "ul"), 0 === d.indexOf("<tr") && (h = "tbody"), 0 !== d.indexOf("<td") && 0 !== d.indexOf("<th") || (h = "tr"), 0 === d.indexOf("<tbody") && (h = "table"), 0 === d.indexOf("<option") && (h = "select"), (l = i.createElement(h)).innerHTML = d, n = 0; n < l.childNodes.length; n += 1) s.push(l.childNodes[n]) 112 } else for (o = t || "#" !== e[0] || e.match(/[ .<>:~]/) ? (t || i).querySelectorAll(e.trim()) : [i.getElementById(e.trim().split("#")[1])], n = 0; n < o.length; n += 1) o[n] && s.push(o[n]) 113 } else if (e.nodeType || e === a || e === i) s.push(e); else if (e.length > 0 && e[0].nodeType) for (n = 0; n < e.length; n += 1) s.push(e[n]); 114 return new r(s) 115 } 116 117 function o(e) { 118 for (var t = [], i = 0; i < e.length; i += 1) -1 === t.indexOf(e[i]) && t.push(e[i]); 119 return t 120 } 121 122 n.fn = r.prototype, n.Class = r, n.Dom7 = r; 123 var l = { 124 addClass: function (e) { 125 if (void 0 === e) return this; 126 for (var t = e.split(" "), i = 0; i < t.length; i += 1) for (var s = 0; s < this.length; s += 1) void 0 !== this[s] && void 0 !== this[s].classList && this[s].classList.add(t[i]); 127 return this 128 }, removeClass: function (e) { 129 for (var t = e.split(" "), i = 0; i < t.length; i += 1) for (var s = 0; s < this.length; s += 1) void 0 !== this[s] && void 0 !== this[s].classList && this[s].classList.remove(t[i]); 130 return this 131 }, hasClass: function (e) { 132 return !!this[0] && this[0].classList.contains(e) 133 }, toggleClass: function (e) { 134 for (var t = e.split(" "), i = 0; i < t.length; i += 1) for (var s = 0; s < this.length; s += 1) void 0 !== this[s] && void 0 !== this[s].classList && this[s].classList.toggle(t[i]); 135 return this 136 }, attr: function (e, t) { 137 var i = arguments; 138 if (1 === arguments.length && "string" == typeof e) return this[0] ? this[0].getAttribute(e) : void 0; 139 for (var s = 0; s < this.length; s += 1) if (2 === i.length) this[s].setAttribute(e, t); else for (var a in e) this[s][a] = e[a], this[s].setAttribute(a, e[a]); 140 return this 141 }, removeAttr: function (e) { 142 for (var t = 0; t < this.length; t += 1) this[t].removeAttribute(e); 143 return this 144 }, data: function (e, t) { 145 var i; 146 if (void 0 !== t) { 147 for (var s = 0; s < this.length; s += 1) (i = this[s]).dom7ElementDataStorage || (i.dom7ElementDataStorage = {}), i.dom7ElementDataStorage[e] = t; 148 return this 149 } 150 if (i = this[0]) { 151 if (i.dom7ElementDataStorage && e in i.dom7ElementDataStorage) return i.dom7ElementDataStorage[e]; 152 var a = i.getAttribute("data-" + e); 153 return a || void 0 154 } 155 }, transform: function (e) { 156 for (var t = 0; t < this.length; t += 1) { 157 var i = this[t].style; 158 i.webkitTransform = e, i.transform = e 159 } 160 return this 161 }, transition: function (e) { 162 "string" != typeof e && (e += "ms"); 163 for (var t = 0; t < this.length; t += 1) { 164 var i = this[t].style; 165 i.webkitTransitionDuration = e, i.transitionDuration = e 166 } 167 return this 168 }, on: function () { 169 for (var e, t = [], i = arguments.length; i--;) t[i] = arguments[i]; 170 var s = t[0], a = t[1], r = t[2], o = t[3]; 171 172 function l(e) { 173 var t = e.target; 174 if (t) { 175 var i = e.target.dom7EventData || []; 176 if (i.indexOf(e) < 0 && i.unshift(e), n(t).is(a)) r.apply(t, i); else for (var s = n(t).parents(), o = 0; o < s.length; o += 1) n(s[o]).is(a) && r.apply(s[o], i) 177 } 178 } 179 180 function d(e) { 181 var t = e && e.target && e.target.dom7EventData || []; 182 t.indexOf(e) < 0 && t.unshift(e), r.apply(this, t) 183 } 184 185 "function" == typeof t[1] && (s = (e = t)[0], r = e[1], o = e[2], a = void 0), o || (o = !1); 186 for (var h, p = s.split(" "), c = 0; c < this.length; c += 1) { 187 var u = this[c]; 188 if (a) for (h = 0; h < p.length; h += 1) { 189 var v = p[h]; 190 u.dom7LiveListeners || (u.dom7LiveListeners = {}), u.dom7LiveListeners[v] || (u.dom7LiveListeners[v] = []), u.dom7LiveListeners[v].push({ 191 listener: r, 192 proxyListener: l 193 }), u.addEventListener(v, l, o) 194 } else for (h = 0; h < p.length; h += 1) { 195 var f = p[h]; 196 u.dom7Listeners || (u.dom7Listeners = {}), u.dom7Listeners[f] || (u.dom7Listeners[f] = []), u.dom7Listeners[f].push({ 197 listener: r, 198 proxyListener: d 199 }), u.addEventListener(f, d, o) 200 } 201 } 202 return this 203 }, off: function () { 204 for (var e, t = [], i = arguments.length; i--;) t[i] = arguments[i]; 205 var s = t[0], a = t[1], r = t[2], n = t[3]; 206 "function" == typeof t[1] && (s = (e = t)[0], r = e[1], n = e[2], a = void 0), n || (n = !1); 207 for (var o = s.split(" "), l = 0; l < o.length; l += 1) for (var d = o[l], h = 0; h < this.length; h += 1) { 208 var p = this[h], c = void 0; 209 if (!a && p.dom7Listeners ? c = p.dom7Listeners[d] : a && p.dom7LiveListeners && (c = p.dom7LiveListeners[d]), c && c.length) for (var u = c.length - 1; u >= 0; u -= 1) { 210 var v = c[u]; 211 r && v.listener === r || r && v.listener && v.listener.dom7proxy && v.listener.dom7proxy === r ? (p.removeEventListener(d, v.proxyListener, n), c.splice(u, 1)) : r || (p.removeEventListener(d, v.proxyListener, n), c.splice(u, 1)) 212 } 213 } 214 return this 215 }, trigger: function () { 216 for (var e = [], t = arguments.length; t--;) e[t] = arguments[t]; 217 for (var s = e[0].split(" "), r = e[1], n = 0; n < s.length; n += 1) for (var o = s[n], l = 0; l < this.length; l += 1) { 218 var d = this[l], h = void 0; 219 try { 220 h = new a.CustomEvent(o, {detail: r, bubbles: !0, cancelable: !0}) 221 } catch (e) { 222 (h = i.createEvent("Event")).initEvent(o, !0, !0), h.detail = r 223 } 224 d.dom7EventData = e.filter((function (e, t) { 225 return t > 0 226 })), d.dispatchEvent(h), d.dom7EventData = [], delete d.dom7EventData 227 } 228 return this 229 }, transitionEnd: function (e) { 230 var t, i = ["webkitTransitionEnd", "transitionend"], s = this; 231 232 function a(r) { 233 if (r.target === this) for (e.call(this, r), t = 0; t < i.length; t += 1) s.off(i[t], a) 234 } 235 236 if (e) for (t = 0; t < i.length; t += 1) s.on(i[t], a); 237 return this 238 }, outerWidth: function (e) { 239 if (this.length > 0) { 240 if (e) { 241 var t = this.styles(); 242 return this[0].offsetWidth + parseFloat(t.getPropertyValue("margin-right")) + parseFloat(t.getPropertyValue("margin-left")) 243 } 244 return this[0].offsetWidth 245 } 246 return null 247 }, outerHeight: function (e) { 248 if (this.length > 0) { 249 if (e) { 250 var t = this.styles(); 251 return this[0].offsetHeight + parseFloat(t.getPropertyValue("margin-top")) + parseFloat(t.getPropertyValue("margin-bottom")) 252 } 253 return this[0].offsetHeight 254 } 255 return null 256 }, offset: function () { 257 if (this.length > 0) { 258 var e = this[0], t = e.getBoundingClientRect(), s = i.body, r = e.clientTop || s.clientTop || 0, 259 n = e.clientLeft || s.clientLeft || 0, o = e === a ? a.scrollY : e.scrollTop, 260 l = e === a ? a.scrollX : e.scrollLeft; 261 return {top: t.top + o - r, left: t.left + l - n} 262 } 263 return null 264 }, css: function (e, t) { 265 var i; 266 if (1 === arguments.length) { 267 if ("string" != typeof e) { 268 for (i = 0; i < this.length; i += 1) for (var s in e) this[i].style[s] = e[s]; 269 return this 270 } 271 if (this[0]) return a.getComputedStyle(this[0], null).getPropertyValue(e) 272 } 273 if (2 === arguments.length && "string" == typeof e) { 274 for (i = 0; i < this.length; i += 1) this[i].style[e] = t; 275 return this 276 } 277 return this 278 }, each: function (e) { 279 if (!e) return this; 280 for (var t = 0; t < this.length; t += 1) if (!1 === e.call(this[t], t, this[t])) return this; 281 return this 282 }, html: function (e) { 283 if (void 0 === e) return this[0] ? this[0].innerHTML : void 0; 284 for (var t = 0; t < this.length; t += 1) this[t].innerHTML = e; 285 return this 286 }, text: function (e) { 287 if (void 0 === e) return this[0] ? this[0].textContent.trim() : null; 288 for (var t = 0; t < this.length; t += 1) this[t].textContent = e; 289 return this 290 }, is: function (e) { 291 var t, s, o = this[0]; 292 if (!o || void 0 === e) return !1; 293 if ("string" == typeof e) { 294 if (o.matches) return o.matches(e); 295 if (o.webkitMatchesSelector) return o.webkitMatchesSelector(e); 296 if (o.msMatchesSelector) return o.msMatchesSelector(e); 297 for (t = n(e), s = 0; s < t.length; s += 1) if (t[s] === o) return !0; 298 return !1 299 } 300 if (e === i) return o === i; 301 if (e === a) return o === a; 302 if (e.nodeType || e instanceof r) { 303 for (t = e.nodeType ? [e] : e, s = 0; s < t.length; s += 1) if (t[s] === o) return !0; 304 return !1 305 } 306 return !1 307 }, index: function () { 308 var e, t = this[0]; 309 if (t) { 310 for (e = 0; null !== (t = t.previousSibling);) 1 === t.nodeType && (e += 1); 311 return e 312 } 313 }, eq: function (e) { 314 if (void 0 === e) return this; 315 var t, i = this.length; 316 return new r(e > i - 1 ? [] : e < 0 ? (t = i + e) < 0 ? [] : [this[t]] : [this[e]]) 317 }, append: function () { 318 for (var e, t = [], s = arguments.length; s--;) t[s] = arguments[s]; 319 for (var a = 0; a < t.length; a += 1) { 320 e = t[a]; 321 for (var n = 0; n < this.length; n += 1) if ("string" == typeof e) { 322 var o = i.createElement("div"); 323 for (o.innerHTML = e; o.firstChild;) this[n].appendChild(o.firstChild) 324 } else if (e instanceof r) for (var l = 0; l < e.length; l += 1) this[n].appendChild(e[l]); else this[n].appendChild(e) 325 } 326 return this 327 }, prepend: function (e) { 328 var t, s; 329 for (t = 0; t < this.length; t += 1) if ("string" == typeof e) { 330 var a = i.createElement("div"); 331 for (a.innerHTML = e, s = a.childNodes.length - 1; s >= 0; s -= 1) this[t].insertBefore(a.childNodes[s], this[t].childNodes[0]) 332 } else if (e instanceof r) for (s = 0; s < e.length; s += 1) this[t].insertBefore(e[s], this[t].childNodes[0]); else this[t].insertBefore(e, this[t].childNodes[0]); 333 return this 334 }, next: function (e) { 335 return this.length > 0 ? e ? this[0].nextElementSibling && n(this[0].nextElementSibling).is(e) ? new r([this[0].nextElementSibling]) : new r([]) : this[0].nextElementSibling ? new r([this[0].nextElementSibling]) : new r([]) : new r([]) 336 }, nextAll: function (e) { 337 var t = [], i = this[0]; 338 if (!i) return new r([]); 339 for (; i.nextElementSibling;) { 340 var s = i.nextElementSibling; 341 e ? n(s).is(e) && t.push(s) : t.push(s), i = s 342 } 343 return new r(t) 344 }, prev: function (e) { 345 if (this.length > 0) { 346 var t = this[0]; 347 return e ? t.previousElementSibling && n(t.previousElementSibling).is(e) ? new r([t.previousElementSibling]) : new r([]) : t.previousElementSibling ? new r([t.previousElementSibling]) : new r([]) 348 } 349 return new r([]) 350 }, prevAll: function (e) { 351 var t = [], i = this[0]; 352 if (!i) return new r([]); 353 for (; i.previousElementSibling;) { 354 var s = i.previousElementSibling; 355 e ? n(s).is(e) && t.push(s) : t.push(s), i = s 356 } 357 return new r(t) 358 }, parent: function (e) { 359 for (var t = [], i = 0; i < this.length; i += 1) null !== this[i].parentNode && (e ? n(this[i].parentNode).is(e) && t.push(this[i].parentNode) : t.push(this[i].parentNode)); 360 return n(o(t)) 361 }, parents: function (e) { 362 for (var t = [], i = 0; i < this.length; i += 1) for (var s = this[i].parentNode; s;) e ? n(s).is(e) && t.push(s) : t.push(s), s = s.parentNode; 363 return n(o(t)) 364 }, closest: function (e) { 365 var t = this; 366 return void 0 === e ? new r([]) : (t.is(e) || (t = t.parents(e).eq(0)), t) 367 }, find: function (e) { 368 for (var t = [], i = 0; i < this.length; i += 1) for (var s = this[i].querySelectorAll(e), a = 0; a < s.length; a += 1) t.push(s[a]); 369 return new r(t) 370 }, children: function (e) { 371 for (var t = [], i = 0; i < this.length; i += 1) for (var s = this[i].childNodes, a = 0; a < s.length; a += 1) e ? 1 === s[a].nodeType && n(s[a]).is(e) && t.push(s[a]) : 1 === s[a].nodeType && t.push(s[a]); 372 return new r(o(t)) 373 }, filter: function (e) { 374 for (var t = [], i = 0; i < this.length; i += 1) e.call(this[i], i, this[i]) && t.push(this[i]); 375 return new r(t) 376 }, remove: function () { 377 for (var e = 0; e < this.length; e += 1) this[e].parentNode && this[e].parentNode.removeChild(this[e]); 378 return this 379 }, add: function () { 380 for (var e = [], t = arguments.length; t--;) e[t] = arguments[t]; 381 var i, s, a = this; 382 for (i = 0; i < e.length; i += 1) { 383 var r = n(e[i]); 384 for (s = 0; s < r.length; s += 1) a[a.length] = r[s], a.length += 1 385 } 386 return a 387 }, styles: function () { 388 return this[0] ? a.getComputedStyle(this[0], null) : {} 389 } 390 }; 391 Object.keys(l).forEach((function (e) { 392 n.fn[e] = n.fn[e] || l[e] 393 })); 394 var d = { 395 deleteProps: function (e) { 396 var t = e; 397 Object.keys(t).forEach((function (e) { 398 try { 399 t[e] = null 400 } catch (e) { 401 } 402 try { 403 delete t[e] 404 } catch (e) { 405 } 406 })) 407 }, nextTick: function (e, t) { 408 return void 0 === t && (t = 0), setTimeout(e, t) 409 }, now: function () { 410 return Date.now() 411 }, getTranslate: function (e, t) { 412 var i, s, r; 413 void 0 === t && (t = "x"); 414 var n = a.getComputedStyle(e, null); 415 return a.WebKitCSSMatrix ? ((s = n.transform || n.webkitTransform).split(",").length > 6 && (s = s.split(", ").map((function (e) { 416 return e.replace(",", ".") 417 })).join(", ")), r = new a.WebKitCSSMatrix("none" === s ? "" : s)) : i = (r = n.MozTransform || n.OTransform || n.MsTransform || n.msTransform || n.transform || n.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,")).toString().split(","), "x" === t && (s = a.WebKitCSSMatrix ? r.m41 : 16 === i.length ? parseFloat(i[12]) : parseFloat(i[4])), "y" === t && (s = a.WebKitCSSMatrix ? r.m42 : 16 === i.length ? parseFloat(i[13]) : parseFloat(i[5])), s || 0 418 }, parseUrlQuery: function (e) { 419 var t, i, s, r, n = {}, o = e || a.location.href; 420 if ("string" == typeof o && o.length) for (r = (i = (o = o.indexOf("?") > -1 ? o.replace(/\S*\?/, "") : "").split("&").filter((function (e) { 421 return "" !== e 422 }))).length, t = 0; t < r; t += 1) s = i[t].replace(/#\S+/g, "").split("="), n[decodeURIComponent(s[0])] = void 0 === s[1] ? void 0 : decodeURIComponent(s[1]) || ""; 423 return n 424 }, isObject: function (e) { 425 return "object" == typeof e && null !== e && e.constructor && e.constructor === Object 426 }, extend: function () { 427 for (var e = [], t = arguments.length; t--;) e[t] = arguments[t]; 428 for (var i = Object(e[0]), s = 1; s < e.length; s += 1) { 429 var a = e[s]; 430 if (null != a) for (var r = Object.keys(Object(a)), n = 0, o = r.length; n < o; n += 1) { 431 var l = r[n], h = Object.getOwnPropertyDescriptor(a, l); 432 void 0 !== h && h.enumerable && (d.isObject(i[l]) && d.isObject(a[l]) ? d.extend(i[l], a[l]) : !d.isObject(i[l]) && d.isObject(a[l]) ? (i[l] = {}, d.extend(i[l], a[l])) : i[l] = a[l]) 433 } 434 } 435 return i 436 } 437 }, h = { 438 touch: !!("ontouchstart" in a || a.DocumentTouch && i instanceof a.DocumentTouch), 439 pointerEvents: !!a.PointerEvent && "maxTouchPoints" in a.navigator && a.navigator.maxTouchPoints >= 0, 440 observer: "MutationObserver" in a || "WebkitMutationObserver" in a, 441 passiveListener: function () { 442 var e = !1; 443 try { 444 var t = Object.defineProperty({}, "passive", { 445 get: function () { 446 e = !0 447 } 448 }); 449 a.addEventListener("testPassiveListener", null, t) 450 } catch (e) { 451 } 452 return e 453 }(), 454 gestures: "ongesturestart" in a 455 }, p = function (e) { 456 void 0 === e && (e = {}); 457 var t = this; 458 t.params = e, t.eventsListeners = {}
458, t.params && t.params.on && Object.keys(t.params.on).forEach((function (e) { 459 t.on(e, t.params.on[e]) 460 })) 461 }, c = {components: {configurable: !0}}; 462 p.prototype.on = function (e, t, i) { 463 var s = this; 464 if ("function" != typeof t) return s; 465 var a = i ? "unshift" : "push"; 466 return e.split(" ").forEach((function (e) { 467 s.eventsListeners[e] || (s.eventsListeners[e] = []), s.eventsListeners[e][a](t) 468 })), s 469 }, p.prototype.once = function (e, t, i) { 470 var s = this; 471 if ("function" != typeof t) return s; 472 473 function a() { 474 for (var i = [], r = arguments.length; r--;) i[r] = arguments[r]; 475 s.off(e, a), a.f7proxy && delete a.f7proxy, t.apply(s, i) 476 } 477 478 return a.f7proxy = t, s.on(e, a, i) 479 }, p.prototype.off = function (e, t) { 480 var i = this; 481 return i.eventsListeners ? (e.split(" ").forEach((function (e) { 482 void 0 === t ? i.eventsListeners[e] = [] : i.eventsListeners[e] && i.eventsListeners[e].length && i.eventsListeners[e].forEach((function (s, a) { 483 (s === t || s.f7proxy && s.f7proxy === t) && i.eventsListeners[e].splice(a, 1) 484 })) 485 })), i) : i 486 }, p.prototype.emit = function () { 487 for (var e = [], t = arguments.length; t--;) e[t] = arguments[t]; 488 var i, s, a, r = this; 489 if (!r.eventsListeners) return r; 490 "string" == typeof e[0] || Array.isArray(e[0]) ? (i = e[0], s = e.slice(1, e.length), a = r) : (i = e[0].events, s = e[0].data, a = e[0].context || r); 491 var n = Array.isArray(i) ? i : i.split(" "); 492 return n.forEach((function (e) { 493 if (r.eventsListeners && r.eventsListeners[e]) { 494 var t = []; 495 r.eventsListeners[e].forEach((function (e) { 496 t.push(e) 497 })), t.forEach((function (e) { 498 e.apply(a, s) 499 })) 500 } 501 })), r 502 }, p.prototype.useModulesParams = function (e) { 503 var t = this; 504 t.modules && Object.keys(t.modules).forEach((function (i) { 505 var s = t.modules[i]; 506 s.params && d.extend(e, s.params) 507 })) 508 }, p.prototype.useModules = function (e) { 509 void 0 === e && (e = {}); 510 var t = this; 511 t.modules && Object.keys(t.modules).forEach((function (i) { 512 var s = t.modules[i], a = e[i] || {}; 513 s.instance && Object.keys(s.instance).forEach((function (e) { 514 var i = s.instance[e]; 515 t[e] = "function" == typeof i ? i.bind(t) : i 516 })), s.on && t.on && Object.keys(s.on).forEach((function (e) { 517 t.on(e, s.on[e]) 518 })), s.create && s.create.bind(t)(a) 519 })) 520 }, c.components.set = function (e) { 521 this.use && this.use(e) 522 }, p.installModule = function (e) { 523 for (var t = [], i = arguments.length - 1; i-- > 0;) t[i] = arguments[i + 1]; 524 var s = this; 525 s.prototype.modules || (s.prototype.modules = {}); 526 var a = e.name || Object.keys(s.prototype.modules).length + "_" + d.now(); 527 return s.prototype.modules[a] = e, e.proto && Object.keys(e.proto).forEach((function (t) { 528 s.prototype[t] = e.proto[t] 529 })), e.static && Object.keys(e.static).forEach((function (t) { 530 s[t] = e.static[t] 531 })), e.install && e.install.apply(s, t), s 532 }, p.use = function (e) { 533 for (var t = [], i = arguments.length - 1; i-- > 0;) t[i] = arguments[i + 1]; 534 var s = this; 535 return Array.isArray(e) ? (e.forEach((function (e) { 536 return s.installModule(e) 537 })), s) : s.installModule.apply(s, [e].concat(t)) 538 }, Object.defineProperties(p, c); 539 var u = { 540 updateSize: function () { 541 var e, t, i = this.$el; 542 e = void 0 !== this.params.width ? this.params.width : i[0].clientWidth, t = void 0 !== this.params.height ? this.params.height : i[0].clientHeight, 0 === e && this.isHorizontal() || 0 === t && this.isVertical() || (e = e - parseInt(i.css("padding-left"), 10) - parseInt(i.css("padding-right"), 10), t = t - parseInt(i.css("padding-top"), 10) - parseInt(i.css("padding-bottom"), 10), d.extend(this, { 543 width: e, 544 height: t, 545 size: this.isHorizontal() ? e : t 546 })) 547 }, updateSlides: function () { 548 var e = this.params, t = this.$wrapperEl, i = this.size, s = this.rtlTranslate, r = this.wrongRTL, 549 n = this.virtual && e.virtual.enabled, o = n ? this.virtual.slides.length : this.slides.length, 550 l = t.children("." + this.params.slideClass), h = n ? this.virtual.slides.length : l.length, p = [], 551 c = [], u = []; 552 553 function v(t) { 554 return !e.cssMode || t !== l.length - 1 555 } 556 557 var f = e.slidesOffsetBefore; 558 "function" == typeof f && (f = e.slidesOffsetBefore.call(this)); 559 var m = e.slidesOffsetAfter; 560 "function" == typeof m && (m = e.slidesOffsetAfter.call(this)); 561 var g = this.snapGrid.length, b = this.snapGrid.length, w = e.spaceBetween, y = -f, x = 0, E = 0; 562 if (void 0 !== i) { 563 var T, S; 564 "string" == typeof w && w.indexOf("%") >= 0 && (w = parseFloat(w.replace("%", "")) / 100 * i), this.virtualSize = -w, s ? l.css({ 565 marginLeft: "", 566 marginTop: "" 567 }) : l.css({ 568 marginRight: "", 569 marginBottom: "" 570 }), e.slidesPerColumn > 1 && (T = Math.floor(h / e.slidesPerColumn) === h / this.params.slidesPerColumn ? h : Math.ceil(h / e.slidesPerColumn) * e.slidesPerColumn, "auto" !== e.slidesPerView && "row" === e.slidesPerColumnFill && (T = Math.max(T, e.slidesPerView * e.slidesPerColumn))); 571 for (var C, M = e.slidesPerColumn, P = T / M, z = Math.floor(h / e.slidesPerColumn), k = 0; k < h; k += 1) { 572 S = 0; 573 var $ = l.eq(k); 574 if (e.slidesPerColumn > 1) { 575 var L = void 0, I = void 0, D = void 0; 576 if ("row" === e.slidesPerColumnFill && e.slidesPerGroup > 1) { 577 var O = Math.floor(k / (e.slidesPerGroup * e.slidesPerColumn)), 578 A = k - e.slidesPerColumn * e.slidesPerGroup * O, 579 G = 0 === O ? e.slidesPerGroup : Math.min(Math.ceil((h - O * M * e.slidesPerGroup) / M), e.slidesPerGroup); 580 L = (I = A - (D = Math.floor(A / G)) * G + O * e.slidesPerGroup) + D * T / M, $.css({ 581 "-webkit-box-ordinal-group": L, 582 "-moz-box-ordinal-group": L, 583 "-ms-flex-order": L, 584 "-webkit-order": L, 585 order: L 586 }) 587 } else "column" === e.slidesPerColumnFill ? (D = k - (I = Math.floor(k / M)) * M, (I > z || I === z && D === M - 1) && (D += 1) >
587= M && (D = 0, I += 1)) : I = k - (D = Math.floor(k / P)) * P; 588 $.css("margin-" + (this.isHorizontal() ? "top" : "left"), 0 !== D && e.spaceBetween && e.spaceBetween + "px") 589 } 590 if ("none" !== $.css("display")) { 591 if ("auto" === e.slidesPerView) { 592 var H = a.getComputedStyle($[0], null), B = $[0].style.transform, 593 N = $[0].style.webkitTransform; 594 if (B && ($[0].style.transform = "none"), N && ($[0].style.webkitTransform = "none"), e.roundLengths) S = this.isHorizontal() ? $.outerWidth(!0) : $.outerHeight(!0); else if (this.isHorizontal()) { 595 var X = parseFloat(H.getPropertyValue("width")), 596 V = parseFloat(H.getPropertyValue("padding-left")), 597 Y = parseFloat(H.getPropertyValue("padding-right")), 598 F = parseFloat(H.getPropertyValue("margin-left")), 599 W = parseFloat(H.getPropertyValue("margin-right")), 600 R = H.getPropertyValue("box-sizing"); 601 S = R && "border-box" === R ? X + F + W : X + V + Y + F + W 602 } else { 603 var q = parseFloat(H.getPropertyValue("height")), 604 j = parseFloat(H.getPropertyValue("padding-top")), 605 K = parseFloat(H.getPropertyValue("padding-bottom")), 606 U = parseFloat(H.getPropertyValue("margin-top")), 607 _ = parseFloat(H.getPropertyValue("margin-bottom")), 608 Z = H.getPropertyValue("box-sizing"); 609 S = Z && "border-box" === Z ? q + U + _ : q + j + K + U + _ 610 } 611 B && ($[0].style.transform = B), N && ($[0].style.webkitTransform = N), e.roundLengths && (S = Math.floor(S)) 612 } else S = (i - (e.slidesPerView - 1) * w) / e.slidesPerView, e.roundLengths && (S = Math.floor(S)), l[k] && (this.isHorizontal() ? l[k].style.width = S + "px" : l[k].style.height = S + "px"); 613 l[k] && (l[k].swiperSlideSize = S), u.push(S), e.centeredSlides ? (y = y + S / 2 + x / 2 + w, 0 === x && 0 !== k && (y = y - i / 2 - w), 0 === k && (y = y - i / 2 - w), Math.abs(y) < .001 && (y = 0), e.roundLengths && (y = Math.floor(y)), E % e.slidesPerGroup == 0 && p.push(y), c.push(y)) : (e.roundLengths && (y = Math.floor(y)), (E - Math.min(this.params.slidesPerGroupSkip, E)) % this.params.slidesPerGroup == 0 && p.push(y), c.push(y), y = y + S + w), this.virtualSize += S + w, x = S, E += 1 614 } 615 } 616 if (this.virtualSize = Math.max(this.virtualSize, i) + m, s && r && ("slide" === e.effect || "coverflow" === e.effect) && t.css({width: this.virtualSize + e.spaceBetween + "px"}), e.setWrapperSize && (this.isHorizontal() ? t.css({width: this.virtualSize + e.spaceBetween + "px"}) : t.css({height: this.virtualSize + e.spaceBetween + "px"})), e.slidesPerColumn > 1 && (this.virtualSize = (S + e.spaceBetween) * T, this.virtualSize = Math.ceil(this.virtualSize / e.slidesPerColumn) - e.spaceBetween, this.isHorizontal() ? t.css({width: this.virtualSize + e.spaceBetween + "px"}) : t.css({height: this.virtualSize + e.spaceBetween + "px"}), e.centeredSlides)) { 617 C = []; 618 for (var Q = 0; Q < p.length; Q += 1) { 619 var J = p[Q]; 620 e.roundLengths && (J = Math.floor(J)), p[Q] < this.virtualSize + p[0] && C.push(J) 621 } 622 p = C 623 } 624 if (!e.centeredSlides) { 625 C = []; 626 for (var ee = 0; ee < p.length; ee += 1) { 627 var te = p[ee]; 628 e.roundLengths && (te = Math.floor(te)), p[ee] <= this.virtualSize - i && C.push(te) 629 } 630 p = C, Math.floor(this.virtualSize - i) - Math.floor(p[p.length - 1]) > 1 && p.push(this.virtualSize - i) 631 } 632 if (0 === p.length && (p = [0]), 0 !== e.spaceBetween && (this.isHorizontal() ? s ? l.filter(v).css({marginLeft: w + "px"}) : l.filter(v).css({marginRight: w + "px"}) : l.filter(v).css({marginBottom: w + "px"}
632)), e.centeredSlides && e.centeredSlidesBounds) { 633 var ie = 0; 634 u.forEach((function (t) { 635 ie += t + (e.spaceBetween ? e.spaceBetween : 0) 636 })); 637 var se = (ie -= e.spaceBetween) - i; 638 p = p.map((function (e) { 639 return e < 0 ? -f : e > se ? se + m : e 640 })) 641 } 642 if (e.centerInsufficientSlides) { 643 var ae = 0; 644 if (u.forEach((function (t) { 645 ae += t + (e.spaceBetween ? e.spaceBetween : 0) 646 })), (ae -= e.spaceBetween) < i) { 647 var re = (i - ae) / 2; 648 p.forEach((function (e, t) { 649 p[t] = e - re 650 })), c.forEach((function (e, t) { 651 c[t] = e + re 652 })) 653 } 654 } 655 d.extend(this, { 656 slides: l, 657 snapGrid: p, 658 slidesGrid: c, 659 slidesSizesGrid: u 660 }), h !== o && this.emit("slidesLengthChange"), p.length !== g && (this.params.watchOverflow && this.checkOverflow(), this.emit("snapGridLengthChange")), c.length !== b && this.emit("slidesGridLengthChange"), (e.watchSlidesProgress || e.watchSlidesVisibility) && this.updateSlidesOffset() 661 } 662 }, updateAutoHeight: function (e) { 663 var t, i = [], s = 0; 664 if ("number" == typeof e ? this.setTransition(e) : !0 === e && this.setTransition(this.params.speed), "auto" !== this.params.slidesPerView && this.params.slidesPerView > 1) if (this.params.centeredSlides) this.visibleSlides.each((function (e, t) { 665 i.push(t) 666 })); else for (t = 0; t < Math.ceil(this.params.slidesPerView); t += 1) { 667 var a = this.activeIndex + t; 668 if (a > this.slides.length) break; 669 i.push(this.slides.eq(a)[0]) 670 } else i.push(this.slides.eq(this.activeIndex)[0]); 671 for (t = 0; t < i.length; t += 1) if (void 0 !== i[t]) { 672 var r = i[t].offsetHeight; 673 s = r > s ? r : s 674 } 675 s && this.$wrapperEl.css("height", s + "px") 676 }, updateSlidesOffset: function () { 677 for (var e = this.slides, t = 0; t < e.length; t += 1) e[t].swiperSlideOffset = this.isHorizontal() ? e[t].offsetLeft : e[t].offsetTop 678 }, updateSlidesProgress: function (e) { 679 void 0 === e && (e = this && this.translate || 0); 680 var t = this.params, i = this.slides, s = this.rtlTranslate; 681 if (0 !== i.length) { 682 void 0 === i[0].swiperSlideOffset && this.updateSlidesOffset(); 683 var a = -e; 684 s && (a = e), i.removeClass(t.slideVisibleClass), this.visibleSlidesIndexes = [], this.visibleSlides = []; 685 for (var r = 0; r < i.length; r += 1) { 686 var o = i[r], 687 l = (a + (t.centeredSlides ? this.minTranslate() : 0) - o.swiperSlideOffset) / (o.swiperSlideSize + t.spaceBetween); 688 if (t.watchSlidesVisibility || t.centeredSlides && t.autoHeight) { 689 var d = -(a - o.swiperSlideOffset), h = d + this.slidesSizesGrid[r]; 690 (d >= 0 && d < this.size - 1 || h > 1 && h <= this.size || d <= 0 && h >= this.size) && (this.visibleSlides.push(o), this.visibleSlidesIndexes.push(r), i.eq(r).addClass(t.slideVisibleClass)) 691 } 692 o.progress = s ? -l : l 693 } 694 this.visibleSlides = n(this.visibleSlides) 695 } 696 }, updateProgress: function (e) { 697 if (void 0 === e) { 698 var t = this.rtlTranslate ? -1 : 1; 699 e = this && this.translate && this.translate * t || 0 700 } 701 var i = this.params, s = this.maxTranslate() - this.minTranslate(), a = this.progress, r = this.isBeg
701inning, 702 n = this.isEnd, o = r, l = n; 703 0 === s ? (a = 0, r = !0, n = !0) : (r = (a = (e - this.minTranslate()) / s) <= 0, n = a >= 1), d.extend(this, { 704 progress: a, 705 isBeginning: r, 706 isEnd: n 707 }), (i.watchSlidesProgress || i.watchSlidesVisibility || i.centeredSlides && i.autoHeight) && this.updateSlidesProgress(e), r && !o && this.emit("reachBeginning toEdge"), n && !l && this.emit("reachEnd toEdge"), (o && !r || l && !n) && this.emit("fromEdge"), this.emit("progress", a) 708 }, updateSlidesClasses: function () { 709 var e, t = this.slides, i = this.params, s = this.$wrapperEl, a = this.activeIndex, r = this.realIndex, 710 n = this.virtual && i.virtual.enabled; 711 t.removeClass(i.slideActiveClass + " " + i.slideNextClass + " " + i.slidePrevClass + " " + i.slideDuplicateActiveClass + " " + i.slideDuplicateNextClass + " " + i.slideDuplicatePrevClass), (e = n ? this.$wrapperEl.find("." + i.slideClass + '[data-swiper-slide-index="' + a + '"]') : t.eq(a)).addClass(i.slideActiveClass), i.loop && (e.hasClass(i.slideDuplicateClass) ? s.children("." + i.slideClass + ":not(." + i.slideDuplicateClass + ')[data-swiper-slide-index="' + r + '"]').addClass(i.slideDuplicateActiveClass) : s.children("." + i.slideClass + "." + i.slideDuplicateClass + '[data-swiper-slide-index="' + r + '"]').addClass(i.slideDuplicateActiveClass)); 712 var o = e.nextAll("." + i.slideClass).eq(0).addClass(i.slideNextClass); 713 i.loop && 0 === o.length && (o = t.eq(0)).addClass(i.slideNextClass); 714 var l = e.prevAll("." + i.slideClass).eq(0).addClass(i.slidePrevClass); 715 i.loop && 0 === l.length && (l = t.eq(-1)).addClass(i.slidePrevClass), i.loop && (o.hasClass(i.slideDuplicateClass) ? s.children("." + i.slideClass + ":not(." + i.slideDuplicateClass + ')[data-swiper-slide-index="' + o.attr("data-swiper-slide-index") + '"]').addClass(i.slideDuplicateNextClass) : s.children("." + i.slideClass + "." + i.slideDuplicateClass + '[data-swiper-slide-index="' + o.attr("data-swiper-slide-index") + '"]').addClass(i.slideDuplicateNextClass), l.hasClass(i.slideDuplicateClass) ? s.children("." + i.slideClass + ":not(." + i.slideDuplicateClass + ')[data-swiper-slide-index="' + l.attr("data-swiper-slide-index") + '"]').addClass(i.slideDuplicatePrevClass) : s.children("." + i.slideClass + "." + i.slideDuplicateClass + '[data-swiper-slide-index="' + l.attr("data-swiper-slide-index") + '"]').addClass(i.slideDuplicatePrevClass)) 716 }, updateActiveIndex: function (e) { 717 var t, i = this.rtlTranslate ? this.translate : -this.translate, s = this.slidesGrid, a = this.snapGrid, 718 r = this.params, n = this.activeIndex, o = this.realIndex, l = this.snapIndex, h = e; 719 if (void 0 === h) { 720 for (var p = 0; p < s.length; p += 1) void 0 !== s[p + 1] ? i >= s[p] && i < s[p + 1] - (s[p + 1] - s[p]) / 2 ? h = p : i >= s[p] && i < s[p + 1] && (h = p + 1) : i >= s[p] && (h = p);
721 r.normalizeSlideIndex && (h < 0 || void 0 === h) && (h = 0) 722 } 723 if (a.indexOf(i) >= 0) t = a.indexOf(i); else { 724 var c = Math.min(r.slidesPerGroupSkip, h); 725 t = c + Math.floor((h - c) / r.slidesPerGroup) 726 } 727 if (t >= a.length && (t = a.length - 1), h !== n) { 728 var u = parseInt(this.slides.eq(h).attr("data-swiper-slide-index") || h, 10); 729 d.extend(this, { 730 snapIndex: t, 731 realIndex: u, 732 previousIndex: n, 733 activeIndex: h 734 }), this.emit("activeIndexChange"), this.emit("snapIndexChange"), o !== u && this.emit("realIndexChange"), (this.initialized || this.params.runCallbacksOnInit) && this.emit("slideChange") 735 } else t !== l && (this.snapIndex = t, this.emit("snapIndexChange")) 736 }, updateClickedSlide: function (e) { 737 var t = this.params, i = n(e.target).closest("." + t.slideClass)[0], s = !1; 738 if (i) for (var a = 0; a < this.slides.length; a += 1) this.slides[a] === i && (s = !0); 739 if (!i || !s) return this.clickedSlide = void 0, void (this.clickedIndex = void 0); 740 this.clickedSlide = i, this.virtual && this.params.virtual.enabled ? this.clickedIndex = parseInt(n(i).attr("data-swiper-slide-index"), 10) : this.clickedIndex = n(i).index(), t.slideToClickedSlide && void 0 !== this.clickedIndex && this.clickedIndex !== this.activeIndex && this.slideToClickedSlide() 741 } 742 }; 743 var v = { 744 getTranslate: function (e) { 745 void 0 === e && (e = this.isHorizontal() ? "x" : "y"); 746 var t = this.params, i = this.rtlTranslate, s = this.translate, a = this.$wrapperEl; 747 if (t.virtualTranslate) return i ? -s : s; 748 if (t.cssMode) return s; 749 var r = d.getTranslate(a[0], e); 750 return i && (r = -r), r || 0 751 }, setTranslate: function (e, t) { 752 var i = this.rtlTranslate, s = this.params, a = this.$wrapperEl, r = this.wrapperEl, n = this.progress, 753 o = 0, l = 0; 754 this.isHorizontal() ? o = i ? -e : e : l = e, s.roundLengths && (o = Math.floor(o), l = Math.floor(l)), s.cssMode ? r[this.isHorizontal() ? "scrollLeft" : "scrollTop"] = this.isHorizontal() ? -o : -l : s.virtualTranslate || a.transform("translate3d(" + o + "px, " + l + "px, 0px)"), this.previousTranslate = this.translate, this.translate = this.isHorizontal() ? o : l; 755 var d = this.maxTranslate() - this.minTranslate(); 756 (0 === d ? 0 : (e - this.minTranslate()) / d) !== n && this.updateProgress(e), this.emit("setTranslate", this.translate, t) 757 }, minTranslate: function () { 758 return -this.snapGrid[0] 759 }, maxTranslate: function () { 760 return -this.snapGrid[this.snapGrid.length - 1] 761 }, translateTo: function (e, t, i, s, a) { 762 var r; 763 void 0 === e && (e = 0), void 0 === t && (t = this.params.speed), void 0 === i && (i = !0), void 0 === s && (s = !0); 764 var n = this, o = n.params, l = n.wrapperEl; 765 if (n.animating && o.preventInteractionOnTransition) return !1; 766 var d, h = n.minTranslate(), p = n.maxTranslate(); 767 if (d = s && e > h ? h : s && e < p ? p : e, n.updateProgress(d), o.cssMode) { 768 var c = n.isHorizontal(); 769 return 0 === t ? l[c ? "scrollLeft" : "scrollTop"] = -d : l.scrollTo ? l.scrollTo(((r = {})[c ? "left" : "top"] = -d, r.behavior = "smooth", r)) : l[c ? "scrollLeft" : "scrollTop"] = -d, !0 770 } 771 return 0 === t ? (n.setTransition(0), n.setTranslate(d), i && (n.emit("beforeTransitionStart", t, a), n.emit("transitionEnd"))) : (n.setTransition(t), n.setTranslate(d), i && (n.emit("beforeTransitionStart", t, a), n.emit("transitionStart")), n.animating || (n.animating = !0, n.onTranslateToWrapperTransitionEnd || (n.onTranslateToWrapperTransitionEnd = function (e) { 772 n && !n.destroyed && e.target === this && (n.$wrapperEl[0].removeEventListener("transitionend", n.onTranslateToWrapperTransitionEnd), n.$wrapperEl[0].removeEventListener("webkitTransitionEnd", n.onTranslateToWrapperTransitionEnd), n.onTranslateToWrapperTransitionEnd = null, delete n.onTranslateToWrapperTransitionEnd, i && n.emit("transitionEnd")) 773 }), n.$wrapperEl[0].addEventListener("transitionend", n.onTranslateToWrapperTransitionEnd), n.$wrapperEl[0].addEventListener("webkitTransitionEnd", n.onTranslateToWrapperTransitionEnd))), !0 774 } 775 }; 776 var f = { 777 setTransition: function (e, t) { 778 this.params.cssMode || this.$wrapperEl.transition(e), this.emit
778("setTransition", e, t) 779 }, transitionStart: function (e, t) { 780 void 0 === e && (e = !0); 781 var i = this.activeIndex, s = this.params, a = this.previousIndex; 782 if (!s.cssMode) { 783 s.autoHeight && this.updateAutoHeight(); 784 var r = t; 785 if (r || (r = i > a ? "next" : i < a ? "prev" : "reset"), this.emit("transitionStart"), e && i !== a) { 786 if ("reset" === r) return void this.emit("slideResetTransitionStart"); 787 this.emit("slideChangeTransitionStart"), "next" === r ? this.emit("slideNextTransitionStart") : this.emit("slidePrevTransitionStart") 788 } 789 } 790 }, transitionEnd: function (e, t) { 791 void 0 === e && (e = !0); 792 var i = this.activeIndex, s = this.previousIndex, a = this.params; 793 if (this.animating = !1, !a.cssMode) { 794 this.setTransition(0); 795 var r = t; 796 if (r || (r = i > s ? "next" : i < s ? "prev" : "reset"), this.emit("transitionEnd"), e && i !== s) { 797 if ("reset" === r) return void this.emit("slideResetTransitionEnd"); 798 this.emit("slideChangeTransitionEnd"), "next" === r ? this.emit("slideNextTransitionEnd") : this.emit("slidePrevTransitionEnd") 799 } 800 } 801 } 802 }; 803 var m = { 804 slideTo: function (e, t, i, s) { 805 var a; 806 void 0 === e && (e = 0), void 0 === t && (t = this.params.speed), void 0 === i && (i = !0); 807 var r = this, n = e; 808 n < 0 && (n = 0); 809 var o = r.params, l = r.snapGrid, d = r.slidesGrid, h = r.previousIndex, p = r.activeIndex, 810 c = r.rtlTranslate, u = r.wrapperEl; 811 if (r.animating && o.preventInteractionOnTransition) return !1; 812 var v = Math.min(r.params.slidesPerGroupSkip, n), f = v + Math.floor((n - v) / r.params.slidesPerGroup); 813 f >= l.length && (f = l.length - 1), (p || o.initialSlide || 0) === (h || 0) && i && r.emit("beforeSlideChangeStart"); 814 var m, g = -l[f]; 815 if (r.updateProgress(g), o.normalizeSlideIndex) for (var b = 0; b < d.length; b += 1) -Math.floor(100 * g) >= Math.floor(100 * d[b]) && (n = b); 816 if (r.initialized && n !== p) { 817 if (!r.allowSlideNext && g < r.translate && g < r.minTranslate()) return !1; 818 if (!r.allowSlidePrev && g > r.translate && g > r.maxTranslate() && (p || 0) !== n) return !1 819 } 820 if (m = n > p ? "next" : n < p ? "prev" : "reset", c && -g === r.translate || !c && g === r.translate) return r.updateActiveIndex(n), o.autoHeight && r.updateAutoHeight(), r.updateSlidesClasses(), "slide" !== o.effect && r.setTranslate(g), "reset" !== m && (r.transitionStart(i, m), r.transitionEnd(i, m)), !1; 821 if (o.cssMode) { 822 var w = r.isHorizontal(), y = -g; 823 return c && (y = u.scrollWidth - u.offsetWidth - y), 0 === t ? u[w ? "scrollLeft" : "scrollTop"] = y : u.scrollTo ? u.scrollTo(((a = {})[w ? "left" : "top"] = y, a.behavior = "smooth", a)) : u[w ? "scrollLeft" : "scrollTop"] = y, !0 824 } 825 return 0 === t ? (r.setTransition(0), r.setTranslate(g), r.updateActiveIndex(n), r.updateSlidesClasses(), r.emit("beforeTransitionStart", t, s), r.transitionStart(i, m), r.transitionEnd(i, m)) : (r.setTransition(t), r.setTranslate(g), r.updateActiveIndex(n), r.updateSlidesClasses(), r.emit("beforeTransitionStart", t, s), r.transitionStart(i, m), r.animating || (r.animating = !0, r.onSlideToWrapperTransitionEnd || (r.onSlideToWrapperTransitionEnd = function (e) { 826 r && !r.destroyed && e.target === this && (r.$wrapperEl[0].removeEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.$wrapperEl[0].removeEventListener("webkitTransitionEnd", r.onSlideToWrapperTransitionEnd), r.onSlideToWrapperTransitionEnd = null, delete r.onSlideToWrapperTransitionEnd, r.transitionEnd(i, m)) 827 }), r.$wrapperEl[0].addEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.$wrapperEl[0].addEventListener("webkitTransitionEnd", r.onSlideToWrapperTransitionEnd))), !0 828 }, slideToLoop: function (e, t, i, s) { 829 void 0 === e && (e = 0), void 0 === t && (t = this.params.speed), void 0 === i && (i = !0); 830 var a = e; 831 return this.params.loop && (a += this.loopedSlides), this.slideTo(a, t, i, s) 832 }, slideNext: function (e, t, i) { 833 void 0 === e && (e = this.params.speed), void 0 === t && (t = !0); 834 var s = this.params, a = this.animating, r = this.activeIndex < s.slidesPerGroupSkip ? 1 : s.slidesPerGroup; 835 if (s.loop) { 836 if (a) return !1; 837 this.loopFix(), this._clientLeft = this.$wrapperEl[0].clientLeft 838 } 839 return this.slideTo(this.activeIndex + r, e, t, i) 840 }, slidePrev: function (e, t, i) { 841 void 0 === e && (e = this.params.speed), void 0 === t && (t = !0); 842 var s = this.params, a = this.animating, r = this.snapGrid, n = this.slidesGrid, o = this.rtlTranslate; 843 if (s.loop) { 844 if (a) return !1; 845 this.loopFix(), this._clientLeft = this.$wrapperEl[0].clientLeft 846 } 847 848 function l(e) { 849 return e < 0 ? -Math.floor(Math.abs(e)) : Math.floor(e) 850 } 851 852 var d, h = l(o ? this.translate : -this.translate), p = r.map((function (e) { 853 return l(e) 854 })), c = (n.map((function (e) { 855 return l(e) 856 })), r[p.indexOf(h)], r[p.indexOf(h) - 1]); 857 return void 0 === c && s.cssMode && r.forEach((function (e) { 858 !c && h >= e && (c = e) 859 })), void 0 !== c && (d = n.indexOf(c)) < 0 && (d = this.activeIndex - 1), this.slideTo(d, e, t, i) 860 }, slideReset: function (e, t, i) { 861 return void 0 === e && (e = this.params.speed), void 0 === t && (t = !0), this.slideTo(this.activeIndex, e, t, i) 862 }, slideToClosest: function (e, t, i, s) { 863 void 0 === e && (e = this.params.speed), void 0 === t && (t = !0), void 0 === s && (s = .5); 864 var a = this.activeIndex, r = Math.min(this.params.slidesPerGroupSkip, a), 865 n = r + Math.floor((a - r) / this.params.slidesPerGroup), 866 o = this.rtlTranslate ? this.translate : -this.translate; 867 if (o >= this.snapGrid[n]) { 868 var l = this.snapGrid[n]; 869 o - l > (this.snapGrid[n + 1] - l) * s && (a += this.params.slidesPerGroup) 870 } else { 871 var d = this.snapGrid[n - 1]; 872 o - d <= (this.snapGrid[n] - d) * s && (a -= this.params.slidesPerGroup) 873 } 874 return a = Math.max(a, 0), a = Math.min(a, this.slidesGrid.length - 1), this.slideTo(a, e, t, i) 875 }, slideToClickedSlide: function () { 876 var e, t = this, i = t.params, s = t.$wrapperEl, 877 a = "auto" === i.slidesPerView ? t.slidesPerViewDynamic() : i.slidesPerView, r = t.clickedIndex; 878 if (i.loop) { 879 if (t.animating) return; 880 e = parseInt(n(t.clickedSlide).attr("data-swiper-slide-index"), 10), i.centeredSlides ? r < t.loopedSlides - a / 2 || r > t.slides.length - t.loopedSlides + a / 2 ? (t.loopFix(), r = s.children("." + i.slideClass + '[data-swiper-slide-index="' + e + '"]:not(.' + i.slideDuplicateClass + ")").eq(0).index(), d.nextTick((function () { 881 t.slideTo(r) 882 }))) : t.slideTo(r) : r > t.slides.length - a ? (t.loopFix(), r = s.children("." + i.slideClass + '[data-swiper-slide-index="' + e + '"]:not(.' + i.slideDuplicateClass + ")").eq(0).index(), d.nextTick((function () { 883 t.slideTo(r) 884 }))) : t.slideTo(r) 885 } else t.slideTo(r) 886 } 887 }; 888 var g = { 889 loopCreate: function () { 890 var e = this, t = e.params, s = e.$wrapperEl; 891 s.children("." + t.slideClass + "." + t.slideDuplicateClass).remove(); 892 var a = s.children("." + t.slideClass); 893 if (t.loopFillGroupWithBlank) { 894 var r = t.slidesPerGroup - a.length % t.slidesPerGroup; 895 if (r !== t.slidesPerGroup) { 896 for (var o = 0; o < r; o += 1) { 897 var l = n(i.createElement("div")).addClass(t.slideClass + " " + t.slideBlankClass); 898 s.append(l) 899 } 900 a = s.children("." + t.slideClass) 901 } 902 } 903 "auto" !== t.slidesPerView || t.loopedSlides || (t.loopedSlides = a.length), e.loopedSlides = Math.ceil(parseFloat(t.loopedSlides || t.slidesPerView, 10)), e.loopedSlides += t.loopAdditionalSlides, e.loopedSlides > a.length && (e.loopedSlides = a.length); 904 var d = [], h = []; 905 a.each((function (t, i) { 906 var s = n(i); 907 t < e.loopedSlides && h.push(i), t < a.length && t >= a.length - e.loopedSlides && d.push(i), s.attr("data-swiper-slide-index", t) 908 })); 909 for (var p = 0; p < h.length; p += 1) s.append(n(h[p].cloneNode(!0)).addClass(t.slideDuplicateClass)); 910 for (var c = d.length - 1; c >= 0; c -= 1) s.prepend(n(d[c].cloneNode(!0)).addClass(t.slideDuplicateClass)) 911 }, loopFix: function () {
912 this.emit("beforeLoopFix"); 913 var e, t = this.activeIndex, i = this.slides, s = this.loopedSlides, a = this.allowSlidePrev, 914 r = this.allowSlideNext, n = this.snapGrid, o = this.rtlTranslate; 915 this.allowSlidePrev = !0, this.allowSlideNext = !0; 916 var l = -n[t] - this.getTranslate(); 917 if (t < s) e = i.length - 3 * s + t, e += s, this.slideTo(e, 0, !1, !0) && 0 !== l && this.setTranslate((o ? -this.translate : this.translate) - l); else if (t >= i.length - s) { 918 e = -i.length + t + s, e += s, this.slideTo(e, 0, !1, !0) && 0 !== l && this.setTranslate((o ? -this.translate : this.translate) - l) 919 } 920 this.allowSlidePrev = a, this.allowSlideNext = r, this.emit("loopFix") 921 }, loopDestroy: function () { 922 var e = this.$wrapperEl, t = this.params, i = this.slides; 923 e.children("." + t.slideClass + "." + t.slideDuplicateClass + ",." + t.slideClass + "." + t.slideBlankClass).remove(), i.removeAttr("data-swiper-slide-index") 924 } 925 }; 926 var b = { 927 setGrabCursor: function (e) { 928 if (!(h.touch || !this.params.simulateTouch || this.params.watchOverflow && this.isLocked || this.params.cssMode)) { 929 var t = this.el; 930 t.style.cursor = "move", t.style.cursor = e ? "-webkit-grabbing" : "-webkit-grab", t.style.cursor = e ? "-moz-grabbin" : "-moz-grab", t.style.cursor = e ? "grabbing" : "grab" 931 } 932 }, unsetGrabCursor: function () { 933 h.touch || this.params.watchOverflow && this.isLocked || this.params.cssMode || (this.el.style.cursor = "") 934 } 935 }; 936 var w, y, x, E, T, S, C, M, P, z, k, $, L, I, D, O = { 937 appendSlide: function (e) { 938 var t = this.$wrapperEl, i = this.params; 939 if (i.loop && this.loopDestroy(), "object" == typeof e && "length" in e) for (var s = 0; s < e.length; s += 1) e[s] && t.append(e[s]); else t.append(e); 940 i.loop && this.loopCreate(), i.observer && h.observer || this.update() 941 }, prependSlide: function (e) { 942 var t = this.params, i = this.$wrapperEl, s = this.activeIndex; 943 t.loop && this.loopDestroy(); 944 var a = s + 1; 945 if ("object" == typeof e && "length" in e) { 946 for (var r = 0; r < e.length; r += 1) e[r] && i.prepend(e[r]); 947 a = s + e.length 948 } else i.prepend(e); 949 t.loop && this.loopCreate(), t.observer && h.observer || this.update(), this.slideTo(a, 0, !1) 950 }, addSlide: function (e, t) { 951 var i = this.$wrapperEl, s = this.params, a = this.activeIndex; 952 s.loop && (a -= this.loopedSlides, this.loopDestroy(), this.slides = i.children("." + s.slideClass)); 953 var r = this.slides.length; 954 if (e <= 0) this.prependSlide(t); else if (e >= r) this.appendSlide(t); else { 955 for (var n = a > e ? a + 1 : a, o = [], l = r - 1; l >= e; l -= 1) { 956 var d = this.slides.eq(l); 957 d.remove(), o.unshift(d) 958 } 959 if ("object" == typeof t && "length" in t) { 960 for (var p = 0; p < t.length; p += 1) t[p] && i.append(t[p]); 961 n = a > e ? a + t.length : a 962 } else i.append(t); 963 for (var c = 0; c < o.length; c += 1) i.append(o[c]); 964 s.loop && this.loopCreate(), s.observer && h.observer || this.update(), s.loop ? this.slideTo(n + this.loopedSlides, 0, !1) : this.slideTo(n, 0, !1) 965 } 966 }, removeSlide: function (e) { 967 var t = this.params, i = this.$wrapperEl, s = this.activeIndex; 968 t.loop && (s -= this.loopedSlides, this.loopDestroy(), this.slides = i.children("." + t.slideClass)); 969 var a, r = s; 970 if ("object" == typeof e && "length" in e) { 971 for (var n = 0; n < e.length; n += 1) a = e[n], this.slides[a] && this.slides.eq(a).remove(), a < r && (r -= 1); 972 r = Math.max(r, 0) 973 } else a = e, this.slides[a] && this.slides.eq(a).remove(), a < r && (r -= 1), r = Math.max(r, 0); 974 t.loop && this.loopCreate(), t.observer && h.observer || this.update(), t.loop ? this.slideTo(r + this.loopedSlides, 0, !1) : this.slideTo(r, 0, !1) 975 }, removeAllSlides: function () { 976 for (var e = [], t = 0; t < this.slides.length; t += 1) e.push(t); 977 this.removeSlide(e) 978 } 979 }, A = (w = a.navigator.platform, y = a.navigator.userAgent, x = { 980 ios: !1, 981 android: !1, 982 androidChrome: !1, 983 desktop: !1, 984 iphone: !1, 985 ipod: !1, 986 ipad: !1, 987 edge: !1, 988 ie: !1, 989 firefox: !1, 990 macos: !1, 991 windows: !1, 992 cordova: !(!a.cordova && !a.phonegap), 993 phonegap: !(!a.cordova && !a.phonegap), 994 electron: !1 995 }, E = a.screen.width, T = a.screen.height, S = y.match(/(Android);?[\s\/]+([\d.]+)?/), C = y.match(/(iPad).*OS\s([\d_]+)/), M = y.match(/(iPod)(.*OS\s([\d_]+))?/), P = !C && y.match(/(iPhone\sOS|iOS)\s([\d_]+)/), z = y.indexOf("MSIE ") >= 0 || y.indexOf("Trident/") >= 0, k = y.indexOf("Edge/") >= 0, $ = y.indexOf("Gecko/") >= 0 && y.indexOf("Firefox/") >= 0, L = "Win32" === w, I = y.toLowerCase().indexOf("electron") >= 0, D = "MacIntel" === w, !C && D && h.touch && (1024 === E && 1366 === T || 834 === E && 1194 === T || 834 === E && 1112 === T || 768 === E && 1024 === T) && (C = y.match(/(Version)\/([\d.]+)/), D = !1), x.ie = z, x.edge = k, x.firefox = $, S && !L && (x.os = "android", x.osVersion = S[2], x.android = !0, x.androidChrome = y.toLowerCase().indexOf("chrome") >= 0), (C || P || M) && (x.os = "ios", x.ios = !0), P && !M && (x.osVersion = P[2].replace(/_/g, "."), x.iphone = !0), C && (x.osVersion = C[2].replace(/_/g, "."), x.ipad = !0), M && (x.osVersion = M[3] ? M[3].replace(/_/g, ".") : null, x.ipod = !0), x.ios && x.osVersion && y.indexOf("Version/") >= 0 && "10" === x.osVersion.split(".")[0] && (x.osVersion = y.toLowerCase().split("version/")[1].split(" ")[0]), x.webView = !(!(P || C || M) || !y.match(/.*AppleWeb
995Kit(?!.*Safari)/i) && !a.navigator.standalone) || a.matchMedia && a.matchMedia("(display-mode: standalone)").matches, x.webview = x.webView, x.standalone = x.webView, x.desktop = !(x.ios || x.android) || I, x.desktop && (x.electron = I, x.macos = D, x.windows = L, x.macos && (x.os = "macos"), x.windows && (x.os = "windows")), x.pixelRatio = a.devicePixelRatio || 1, x); 996 997 function G(e) { 998 var t = this.touchEventsData, s = this.params, r = this.touches; 999 if (!this.animating || !s.preventInteractionOnTransition) { 1000 var o = e; 1001 o.originalEvent && (o = o.originalEvent); 1002 var l = n(o.target); 1003 if (("wrapper" !== s.touchEventsTarget || l.closest(this.wrapperEl).length) && (t.isTouchEvent = "touchstart" === o.type, (t.isTouchEvent || !("which" in o) || 3 !== o.which) && !(!t.isTouchEvent && "button" in o && o.button > 0 || t.isTouched && t.isMoved))) if (s.noSwiping && l.closest(s.noSwipingSelector ? s.noSwipingSelector : "." + s.noSwipingClass)[0]) this.allowClick = !0; else if (!s.swipeHandler || l.closest(s.swipeHandler)[0]) { 1004 r.currentX = "touchstart" === o.type ? o.targetTouches[0].pageX : o.pageX, r.currentY = "touchstart" === o.type ? o.targetTouches[0].pageY : o.pageY; 1005 var h = r.currentX, p = r.currentY, c = s.edgeSwipeDetection || s.iOSEdgeSwipeDetection, 1006 u = s.edgeSwipeThreshold || s.iOSEdgeSwipeThreshold; 1007 if (!c || !(h <= u || h >= a.screen.width - u)) { 1008 if (d.extend(t, { 1009 isTouched: !0, 1010 isMoved: !1, 1011 allowTouchCallbacks: !0, 1012 isScrolling: void 0, 1013 startMoving: void 0 1014 }), r.startX = h, r.startY = p, t.touchStartTime = d.now(), this.allowClick = !0, this.updateSize(), this.swipeDirection = void 0, s.threshold > 0 && (t.allowThresholdMove = !1), "touchstart" !== o.type) { 1015 var v = !0; 1016 l.is(t.formElements) && (v = !1), i.activeElement && n(i.activeElement).is(t.formElements) && i.activeElement !== l[0] && i.activeElement.blur(); 1017 var f = v && this.allowTouchMove && s.touchStartPreventDefault; 1018 (s.touchStartForcePreventDefault || f) && o.preventDefault() 1019 } 1020 this.emit("touchStart", o) 1021 } 1022 } 1023 } 1024 } 1025 1026 function H(e) { 1027 var t = this.touchEventsData, s = this.params, a = this.touches, r = this.rtlTranslate, o = e; 1028 if (o.originalEvent && (o = o.originalEvent), t.isTouched) { 1029 if (!t.isTouchEvent || "touchmove" === o.type) { 1030 var l = "touchmove" === o.type && o.targetTouches && (o.targetTouches[0] || o.changedTouches[0]), 1031 h = "touchmove" === o.type ? l.pageX : o.pageX, p = "touchmove" === o.type ? l.pageY : o.pageY; 1032 if (o.preventedByNestedSwiper) return a.startX = h, void (a.startY = p); 1033 if (!this.allowTouchMove) return this.allowClick = !1, void (t.isTouched && (d.extend(a, { 1034 startX: h, 1035 startY: p, 1036 currentX: h, 1037 currentY: p 1038 }), t.touchStartTime = d.now())); 1039 if (t.isTouchEvent && s.touchReleaseOnEdges && !s.loop) if (this.isVertical()) { 1040 if (p < a.startY && this.translate <= this.maxTranslate() || p > a.startY && this.translate >= this.minTranslate()) return t.isTouched = !1, void (t.isMoved = !1) 1041 } else if (h < a.startX && this.translate <= this.maxTranslate() || h > a.startX && this.translate >= this.minTranslate()) return; 1042 if (t.isTouchEvent && i.activeElement && o.target === i.activeElement && n(o.target).is(t.formElements)) return t.isMoved = !0, void (this.allowClick = !1); 1043 if (t.allowTouchCallbacks && this.emit("touchMove", o), !(o.targetTouches && o.targetTouches.length > 1)) { 1044 a.currentX = h, a.currentY = p; 1045 var c = a.currentX - a.startX, u = a.currentY - a.startY; 1046 if (!(this.params.threshold && Math.sqrt(Math.pow(c, 2) + Math.pow(u, 2)) < this.params.threshold)) { 1047 var v; 1048 if (void 0 === t.isScrolling) this.isHorizontal() && a.currentY === a.startY || this.isVertical() && a.currentX === a.startX ? t.isScrolling = !1 : c * c + u * u >= 25 && (v = 180 * Math.atan2(Math.abs(u), Math.abs(c)) / Math.PI, t.isScrolling = this.isHorizontal() ? v > s.touchAngle : 90 - v >
vendor: 9,490 bytes, lines 1048-1141
1048 s.touchAngle); 1049 if (t.isScrolling && this.emit("touchMoveOpposite", o), void 0 === t.startMoving && (a.currentX === a.startX && a.currentY === a.startY || (t.startMoving = !0)), t.isScrolling) t.isTouched = !1; else if (t.startMoving) { 1050 this.allowClick = !1, !s.cssMode && o.cancelable && o.preventDefault(), s.touchMoveStopPropagation && !s.nested && o.stopPropagation(), t.isMoved || (s.loop && this.loopFix(), t.startTranslate = this.getTranslate(), this.setTransition(0), this.animating && this.$wrapperEl.trigger("webkitTransitionEnd transitionend"), t.allowMomentumBounce = !1, !s.grabCursor || !0 !== this.allowSlideNext && !0 !== this.allowSlidePrev || this.setGrabCursor(!0), this.emit("sliderFirstMove", o)), this.emit("sliderMove", o), t.isMoved = !0; 1051 var f = this.isHorizontal() ? c : u; 1052 a.diff = f, f *= s.touchRatio, r && (f = -f), this.swipeDirection = f > 0 ? "prev" : "next", t.currentTranslate = f + t.startTranslate; 1053 var m = !0, g = s.resistanceRatio; 1054 if (s.touchReleaseOnEdges && (g = 0), f > 0 && t.currentTranslate > this.minTranslate() ? (m = !1, s.resistance && (t.currentTranslate = this.minTranslate() - 1 + Math.pow(-this.minTranslate() + t.startTranslate + f, g))) : f < 0 && t.currentTranslate < this.maxTranslate() && (m = !1, s.resistance && (t.currentTranslate = this.maxTranslate() + 1 - Math.pow(this.maxTranslate() - t.startTranslate - f, g))), m && (o.preventedByNestedSwiper = !0), !this.allowSlideNext && "next" === this.swipeDirection && t.currentTranslate < t.startTranslate && (t.currentTranslate = t.startTranslate), !this.allowSlidePrev && "prev" === this.swipeDirection && t.currentTranslate > t.startTranslate && (t.currentTranslate = t.startTranslate), s.threshold > 0) { 1055 if (!(Math.abs(f) > s.threshold || t.allowThresholdMove)) return void (t.currentTranslate = t.startTranslate); 1056 if (!t.allowThresholdMove) return t.allowThresholdMove = !0, a.startX = a.currentX, a.startY = a.currentY, t.currentTranslate = t.startTranslate, void (a.diff = this.isHorizontal() ? a.currentX - a.startX : a.currentY - a.startY) 1057 } 1058 s.followFinger && !s.cssMode && ((s.freeMode || s.watchSlidesProgress || s.watchSlidesVisibility) && (this.updateActiveIndex(), this.updateSlidesClasses()), s.freeMode && (0 === t.velocities.length && t.velocities.push({ 1059 position: a[this.isHorizontal() ? "startX" : "startY"], 1060 time: t.touchStartTime 1061 }), t.velocities.push({ 1062 position: a[this.isHorizontal() ? "currentX" : "currentY"], 1063 time: d.now() 1064 })), this.updateProgress(t.currentTranslate), this.setTranslate(t.currentTranslate)) 1065 } 1066 } 1067 } 1068 } 1069 } else t.startMoving && t.isScrolling && this.emit("touchMoveOpposite", o) 1070 } 1071 1072 function B(e) { 1073 var t = this, i = t.touchEventsData, s = t.params, a = t.touches, r = t.rtlTranslate, n = t.$wrapperEl, 1074 o = t.slidesGrid, l = t.snapGrid, h = e; 1075 if (h.originalEvent && (h = h.originalEvent), i.allowTouchCallbacks && t.emit("touchEnd", h), i.allowTouchCallbacks = !1, !i.isTouched) return i.isMoved && s.grabCursor && t.setGrabCursor(!1), i.isMoved = !1, void (i.startMoving = !1); 1076 s.grabCursor && i.isMoved && i.isTouched && (!0 === t.allowSlideNext || !0 === t.allowSlidePrev) && t.setGrabCursor(!1); 1077 var p, c = d.now(), u = c - i.touchStartTime; 1078 if (t.allowClick && (t.updateClickedSlide(h), t.emit("tap click", h), u < 300 && c - i.lastClickTime < 300 && t.emit("doubleTap doubleClick", h)), i.lastClickTime = d.now(), d.nextTick((function () { 1079 t.destroyed || (t.allowClick = !0) 1080 })), !i.isTouched || !i.isMoved || !t.swipeDirection || 0 === a.diff || i.currentTranslate === i.startTranslate) return i.isTouched = !1, i.isMoved = !1, void (i.startMoving = !1); 1081 if (i.isTouched = !1, i.isMoved = !1, i.startMoving = !1, p = s.followFinger ? r ? t.translate : -t.translate : -i.currentTranslate, !s.cssMode) if (s.freeMode) { 1082 if (p < -t.minTranslate()) return void t.slideTo(t.activeIndex); 1083 if (p > -t.maxTranslate()) return void (t.slides.length < l.length ? t.slideTo(l.length - 1) : t.slideTo(t.slides.length - 1)); 1084 if (s.freeModeMomentum) { 1085 if (i.velocities.length > 1) { 1086 var v = i.velocities.pop(), f = i.velocities.pop(), m = v.position - f.position, 1087 g = v.time - f.time; 1088 t.velocity = m / g, t.velocity /= 2, Math.abs(t.velocity) < s.freeModeMinimumVelocity && (t.velocity = 0), (g > 150 || d.now() - v.time > 300) && (t.velocity = 0) 1089 } else t.velocity = 0; 1090 t.velocity *= s.freeModeMomentumVelocityRatio, i.velocities.length = 0; 1091 var b = 1e3 * s.freeModeMomentumRatio, w = t.velocity * b, y = t.translate + w; 1092 r && (y = -y); 1093 var x, E, T = !1, S = 20 * Math.abs(t.velocity) * s.freeModeMomentumBounceRatio; 1094 if (y < t.maxTranslate()) s.freeModeMomentumBounce ? (y + t.maxTranslate() < -S && (y = t.maxTranslate() - S), x = t.maxTranslate(), T = !0, i.allowMomentumBounce = !0) : y = t.maxTranslate(), s.loop && s.centeredSlides && (E = !0); else if (y > t.minTranslate()) s.freeModeMomentumBounce ? (y - t.minTranslate() > S && (y = t.minTranslate() + S), x = t.minTranslate(), T = !0, i.allowMomentumBounce = !0) : y = t.minTranslate(), s.loop && s.centeredSlides && (E = !0); else if (s.freeModeSticky) { 1095 for (var C, M = 0; M < l.length; M += 1) if (l[M] > -y) { 1096 C = M; 1097 break 1098 } 1099 y = -(y = Math.abs(l[C] - y) < Math.abs(l[C - 1] - y) || "next" === t.swipeDirection ? l[C] : l[C - 1]) 1100 } 1101 if (E && t.once("transitionEnd", (function () { 1102 t.loopFix() 1103 })), 0 !== t.velocity) { 1104 if (b = r ? Math.abs((-y - t.translate) / t.velocity) : Math.abs((y - t.translate) / t.velocity), s.freeModeSticky) { 1105 var P = Math.abs((r ? -y : y) - t.translate), z = t.slidesSizesGrid[t.activeIndex]; 1106 b = P < z ? s.speed : P < 2 * z ? 1.5 * s.speed : 2.5 * s.speed 1107 } 1108 } else if (s.freeModeSticky) return void t.slideToClosest(); 1109 s.freeModeMomentumBounce && T ? (t.updateProgress(x), t.setTransition(b), t.setTranslate(y), t.transitionStart(!0, t.swipeDirection), t.animating = !0, n.transitionEnd((function () { 1110 t && !t.destroyed && i.allowMomentumBounce && (t.emit("momentumBounce"), t.setTransition(s.speed), setTimeout((function () { 1111 t.setTranslate(x), n.transitionEnd((function () { 1112 t && !t.destroyed && t.transitionEnd() 1113 })) 1114 }), 0)) 1115 }))) : t.velocity ? (t.updateProgress(y), t.setTransition(b), t.setTranslate(y), t.transitionStart(!0, t.swipeDirection), t.animating || (t.animating = !0, n.transitionEnd((function () { 1116 t && !t.destroyed && t.transitionEnd() 1117 })))) : t.updateProgress(y), t.updateActiveIndex(), t.updateSlidesClasses() 1118 } else if (s.freeModeSticky) return void t.slideToClosest(); 1119 (!s.freeModeMomentum || u >= s.longSwipesMs) && (t.updateProgress(), t.updateActiveIndex(), t.updateSlidesClasses()) 1120 } else { 1121 for (var k = 0, $ = t.slidesSizesGrid[0], L = 0; L < o.length; L += L < s.slidesPerGroupSkip ? 1 : s.slidesPerGroup) { 1122 var I = L < s.slidesPerGroupSkip - 1 ? 1 : s.slidesPerGroup; 1123 void 0 !== o[L + I] ? p >= o[L] && p < o[L + I] && (k = L, $ = o[L + I] - o[L]) : p >= o[L] && (k = L, $ = o[o.length - 1] - o[o.length - 2]) 1124 } 1125 var D = (p - o[k]) / $, O = k < s.slidesPerGroupSkip - 1 ? 1 : s.slidesPerGroup; 1126 if (u > s.longSwipesMs) { 1127 if (!s.longSwipes) return void t.slideTo(t.activeIndex); 1128 "next" === t.swipeDirection && (D >= s.longSwipesRatio ? t.slideTo(k + O) : t.slideTo(k)), "prev" === t.swipeDirection && (D > 1 - s.longSwipesRatio ? t.slideTo(k + O) : t.slideTo(k)) 1129 } else { 1130 if (!s.shortSwipes) return void t.slideTo(t.activeIndex); 1131 t.navigation && (h.target === t.navigation.nextEl || h.target === t.navigation.prevEl) ? h.target === t.navigation.nextEl ? t.slideTo(k + O) : t.slideTo(k) : ("next" === t.swipeDirection && t.slideTo(k + O), "prev" === t.swipeDirection && t.slideTo(k)) 1132 } 1133 } 1134 } 1135 1136 function N() { 1137 var e = this.params, t = this.el; 1138 if (!t || 0 !== t.offsetWidth) { 1139 e.breakpoints && this.setBreakpoint(); 1140 var i = this.allowSlideNext, s = this.allowSlidePrev, a = this.snapGrid; 1141 this.allowSlideNext = !0, this.allowSlidePrev = !0, this.updateSize(), this.updateSlides(), this.updateSlidesClasses(), ("auto" === e.slidesPerView || e.slidesPerView >
1141 1) && this.isEnd && !this.isBeginning && !this.params.centeredSlides ? this.slideTo(this.slides.length - 1, 0, !1, !0) : this.slideTo(this.activeIndex, 0, !1, !0), this.autoplay && this.autoplay.running && this.autoplay.paused && this.autoplay.run(), this.allowSlidePrev = s, this.allowSlideNext = i, this.params.watchOverflow && a !== this.snapGrid && this.checkOverflow() 1142 } 1143 } 1144 1145 function X(e) { 1146 this.allowClick || (this.params.preventClicks && e.preventDefault(), this.params.preventClicksPropagation && this.animating && (e.stopPropagation(), e.stopImmediatePropagation())) 1147 } 1148 1149 function V() { 1150 var e = this.wrapperEl, t = this.rtlTranslate; 1151 this.previousTranslate = this.translate, this.isHorizontal() ? this.translate = t ? e.scrollWidth - e.offsetWidth - e.scrollLeft : -e.scrollLeft : this.translate = -e.scrollTop, -0 === this.translate && (this.translate = 0), this.updateActiveIndex(), this.updateSlidesClasses(); 1152 var i = this.maxTranslate() - this.minTranslate(); 1153 (0 === i ? 0 : (this.translate - this.minTranslate()) / i) !== this.progress && this.updateProgress(t ? -this.translate : this.translate), this.emit("setTranslate", this.translate, !1) 1154 } 1155 1156 var Y = !1; 1157 1158 function F() { 1159 } 1160 1161 var W = { 1162 init: !0, 1163 direction: "horizontal", 1164 touchEventsTarget: "container", 1165 initialSlide: 0, 1166 speed: 300, 1167 cssMode: !1, 1168 updateOnWindowResize: !0, 1169 preventInteractionOnTransition: !1, 1170 edgeSwipeDetection: !1, 1171 edgeSwipeThreshold: 20, 1172 freeMode: !1, 1173 freeModeMomentum: !0, 1174 freeModeMomentumRatio: 1, 1175 freeModeMomentumBounce: !0, 1176 freeModeMomentumBounceRatio: 1, 1177 freeModeMomentumVelocityRatio: 1, 1178 freeModeSticky: !1, 1179 freeModeMinimumVelocity: .02, 1180 autoHeight: !1, 1181 setWrapperSize: !1, 1182 virtualTranslate: !1, 1183 effect: "slide", 1184 breakpoints: void 0, 1185 spaceBetween: 0, 1186 slidesPerView: 1, 1187 slidesPerColumn: 1, 1188 slidesPerColumnFill: "column", 1189 slidesPerGroup: 1, 1190 slidesPerGroupSkip: 0, 1191 centeredSlides: !1, 1192 centeredSlidesBounds: !1, 1193 slidesOffsetBefore: 0, 1194 slidesOffsetAfter: 0, 1195 normalizeSlideIndex: !0, 1196 centerInsufficientSlides: !1, 1197 watchOverflow: !1, 1198 roundLengths: !1, 1199 touchRatio: 1, 1200 touchAngle: 45, 1201 simulateTouch: !0, 1202 shortSwipes: !0, 1203 longSwipes: !0, 1204 longSwipesRatio: .5, 1205 longSwipesMs: 300, 1206 followFinger: !0, 1207 allowTouchMove: !0, 1208 threshold: 0, 1209 touchMoveStopPropagation: !1, 1210 touchStartPreventDefault: !0, 1211 touchStartForcePreventDefault: !1, 1212 touchReleaseOnEdges: !1, 1213 uniqueNavElements: !0, 1214 resistance: !0, 1215 resistanceRatio: .85, 1216 watchSlidesProgress: !1, 1217 watchSlidesVisibility: !1, 1218 grabCursor: !1, 1219 preventClicks: !0, 1220 preventClicksPropagation: !0, 1221 slideToClickedSlide: !1, 1222 preloadImages: !0, 1223 updateOnImagesReady: !0, 1224 loop: !1, 1225 loopAdditionalSlides: 0, 1226 loopedSlides: null, 1227 loopFillGroupWithBlank: !1, 1228 allowSlidePrev: !0, 1229 allowSlideNext: !0, 1230 swipeHandler: null, 1231 noSwiping: !0, 1232 noSwipingClass: "swiper-no-swiping", 1233 noSwipingSelector: null, 1234 passiveListeners: !0, 1235 containerModifierClass: "swiper-container-", 1236 slideClass: "swiper-slide", 1237 slideBlankClass: "swiper-slide-invisible-blank", 1238 slideActiveClass: "swiper-slide-active", 1239 slideDuplicateActiveClass: "swiper-slide-duplicate-active", 1240 slideVisibleClass: "swiper-slide-visible", 1241 slideDuplicateClass: "swiper-slide-duplicate", 1242 slideNextClass: "swiper-slide-next", 1243 slideDuplicateNextClass: "swiper-slide-duplicate-next", 1244 slidePrevClass: "swiper-slide-prev", 1245 slideDuplicatePrevClass: "swiper-slide-duplicate-prev", 1246 wrapperClass: "swiper-wrapper", 1247 runCallbacksOnInit: !0 1248 }, R = { 1249 update: u, translate: v, transition: f, slide: m, loop: g, grabCursor: b, manipulation: O, events: { 1250 attachEvents: function () { 1251 var e = this.params, t = this.touchEvents, s = this.el, a = this.wrapperEl; 1252 this.onTouchStart = G.bind(this), this.onTouchMove = H.bind(this), this.onTouchEnd = B.bind(this), e.cssMode && (this.onScroll = V.bind(this)), this.onClick = X.bind(this); 1253 var r = !!e.nested; 1254 if (!h.touch && h.pointerEvents) s.addEventListener(t.
1254start, this.onTouchStart, !1), i.addEventListener(t.move, this.onTouchMove, r), i.addEventListener(t.end, this.onTouchEnd, !1); else { 1255 if (h.touch) { 1256 var n = !("touchstart" !== t.start || !h.passiveListener || !e.passiveListeners) && { 1257 passive: !0, 1258 capture: !1 1259 }; 1260 s.addEventListener(t.start, this.onTouchStart, n), s.addEventListener(t.move, this.onTouchMove, h.passiveListener ? { 1261 passive: !1, 1262 capture: r 1263 } : r), s.addEventListener(t.end, this.onTouchEnd, n), t.cancel && s.addEventListener(t.cancel, this.onTouchEnd, n), Y || (i.addEventListener("touchstart", F), Y = !0) 1264 } 1265 (e.simulateTouch && !A.ios && !A.android || e.simulateTouch && !h.touch && A.ios) && (s.addEventListener("mousedown", this.onTouchStart, !1), i.addEventListener("mousemove", this.onTouchMove, r), i.addEventListener("mouseup", this.onTouchEnd, !1)) 1266 } 1267 (e.preventClicks || e.preventClicksPropagation) && s.addEventListener("click", this.onClick, !0), e.cssMode && a.addEventListener("scroll", this.onScroll), e.updateOnWindowResize ? this.on(A.ios || A.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", N, !0) : this.on("observerUpdate", N, !0) 1268 }, detachEvents: function () { 1269 var e = this.params, t = this.touchEvents, s = this.el, a = this.wrapperEl, r = !!e.nested; 1270 if (!h.touch && h.pointerEvents) s.removeEventListener(t.start, this.onTouchStart, !1), i.removeEventListener(t.move, this.onTouchMove, r), i.removeEventListener(t.end, this.onTouchEnd, !1); else { 1271 if (h.touch) { 1272 var n = !("onTouchStart" !== t.start || !h.passiveListener || !e.passiveListeners) && { 1273 passive: !0, 1274 capture: !1 1275 }; 1276 s.removeEventListener(t.start, this.onTouchStart, n), s.removeEventListener(t.move, this.onTouchMove, r), s.removeEventListener(t.end, this.onTouchEnd, n), t.cancel && s.removeEventListener(t.cancel, this.onTouchEnd, n) 1277 } 1278 (e.simulateTouch && !A.ios && !A.android || e.simulateTouch && !h.touch && A.ios) && (s.removeEventListener("mousedown", this.onTouchStart, !1), i.removeEventListener("mousemove", this.onTouchMove, r), i.removeEventListener("mouseup", this.onTouchEnd, !1)) 1279 } 1280 (e.preventClicks || e.preventClicksPropagation) && s.removeEventListener("click", this.onClick, !0), e.cssMode && a.removeEventListener("scroll", this.onScroll), this.off(A.ios || A.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", N) 1281 } 1282 }, breakpoints: { 1283 setBreakpoint: function () { 1284 var e = this.activeIndex, t = this.initialized, i = this.loopedSlides; 1285 void 0 === i && (i = 0); 1286 var s = this.params, a = this.$el, r = s.breakpoints; 1287 if (r && (!r || 0 !== Object.keys(r).length)) { 1288 var n = this.getBreakpoint(r); 1289 if (n && this.currentBreakpoint !== n) { 1290 var o = n in r ? r[n] : void 0; 1291 o && ["slidesPerView", "spaceBetween", "slidesPerGroup", "slidesPerGroupSkip", "slidesPerColumn"].forEach((function (e) { 1292 var t = o[e]; 1293 void 0 !== t && (o[e] = "slidesPerView" !== e || "AUTO" !== t && "auto" !== t ? "slidesPerView" === e ? parseFloat(t) : parseInt(t, 10) : "auto") 1294 })); 1295 var l = o || this.originalParams, h = s.slidesPerColumn > 1, p = l.slidesPerColumn > 1; 1296 h && !p ? a.removeClass(s.containerModifierClass + "multirow " + s.containerModifierClass + "multirow-column") : !h && p && (a.addClass(s.containerModifierClass + "multirow"), "column" === l.slidesPerColumnFill && a.addClass(s.containerModifierClass + "multirow-column")); 1297 var c = l.direction && l.direction !== s.direction, 1298 u = s.loop && (l.slidesPerView !== s.slidesPerView || c); 1299 c && t && this.changeDirection(), d.extend(this.params, l), d.extend(this, { 1300 allowTouchMove: this.params.allowTouchMove, 1301 allowSlideNext: this.params.allowSlideNext, 1302 allowSlidePrev: this.params.allowSlidePrev 1303 }), this.currentBreakpoint = n, u && t && (this.loopDestroy(), this.loopCreate(), this.updateSlides(), this.slideTo(e - i + this.loopedSlides, 0, !1)), this.emit
1303("breakpoint", l) 1304 } 1305 } 1306 }, getBreakpoint: function (e) { 1307 if (e) { 1308 var t = !1, i = Object.keys(e).map((function (e) { 1309 if ("string" == typeof e && 0 === e.indexOf("@")) { 1310 var t = parseFloat(e.substr(1)); 1311 return {value: a.innerHeight * t, point: e} 1312 } 1313 return {value: e, point: e} 1314 })); 1315 i.sort((function (e, t) { 1316 return parseInt(e.value, 10) - parseInt(t.value, 10) 1317 })); 1318 for (var s = 0; s < i.length; s += 1) { 1319 var r = i[s], n = r.point; 1320 r.value <= a.innerWidth && (t = n) 1321 } 1322 return t || "max" 1323 } 1324 } 1325 }, checkOverflow: { 1326 checkOverflow: function () { 1327 var e = this.params, t = this.isLocked, 1328 i = this.slides.length > 0 && e.slidesOffsetBefore + e.spaceBetween * (this.slides.length - 1) + this.slides[0].offsetWidth * this.slides.length; 1329 e.slidesOffsetBefore && e.slidesOffsetAfter && i ? this.isLocked = i <= this.size : this.isLocked = 1 === this.snapGrid.length, this.allowSlideNext = !this.isLocked, this.allowSlidePrev = !this.isLocked, t !== this.isLocked && this.emit(this.isLocked ? "lock" : "unlock"), t && t !== this.isLocked && (this.isEnd = !1, this.navigation && this.navigation.update()) 1330 } 1331 }, classes: { 1332 addClasses: function () { 1333 var e = this.classNames, t = this.params, i = this.rtl, s = this.$el, a = []; 1334 a.push("initialized"), a.push(t.direction), t.freeMode && a.push("free-mode"), t.autoHeight && a.push("autoheight"), i && a.push("rtl"), t.slidesPerColumn > 1 && (a.push("multirow"), "column" === t.slidesPerColumnFill && a.push("multirow-column")), A.android && a.push("android"), A.ios && a.push("ios"), t.cssMode && a.push("css-mode"), a.forEach((function (i) { 1335 e.push(t.containerModifierClass + i) 1336 })), s.addClass(e.join(" ")) 1337 }, removeClasses: function () { 1338 var e = this.$el, t = this.classNames; 1339 e.removeClass(t.join(" ")) 1340 } 1341 }, images: { 1342 loadImage: function (e, t, i, s, r, o) { 1343 var l; 1344 1345 function d() { 1346 o && o() 1347 } 1348 1349 n(e).parent("picture")[0] || e.complete && r ? d() : t ? ((l = new a.Image).onload = d, l.onerror = d, s && (l.sizes = s), i && (l.srcset = i), t && (l.src = t)) : d() 1350 }, preloadImages: function () { 1351 var e = this; 1352 1353 function t() { 1354 null != e && e && !e.destroyed && (void 0 !== e.imagesLoaded && (e.imagesLoaded += 1), e.imagesLoaded === e.imagesToLoad.length && (e.params.updateOnImagesReady && e.update(), e.emit("imagesReady"))) 1355 } 1356 1357 e.imagesToLoad = e.$el.find("img"); 1358 for (var i = 0; i < e.imagesToLoad.length; i += 1) { 1359 var s = e.imagesToLoad[i]; 1360 e.loadImage(s, s.currentSrc || s.getAttribute("src"), s.srcset || s.getAttribute("srcset"), s.sizes || s.getAttribute("sizes"), !0, t) 1361 } 1362 } 1363 } 1364 }, q = {}, j = function (e) { 1365 function t() { 1366 for (var i, s, a, r = [], o = arguments.length; o--;) r[o] = arguments[o]; 1367 1 === r.length && r[0].constructor && r[0].constructor === Object ? a = r[0] : (s = (i = r)[0], a = i[1]), a || (a = {}), a = d.extend({}, a), s && !a.el && (a.el = s), e.call(this, a), Object.keys(R).forEach((function (e) {
vendor: 5,019 bytes, lines 1368-1458
1368 Object.keys(R[e]).forEach((function (i) { 1369 t.prototype[i] || (t.prototype[i] = R[e][i]) 1370 })) 1371 })); 1372 var l = this; 1373 void 0 === l.modules && (l.modules = {}), Object.keys(l.modules).forEach((function (e) { 1374 var t = l.modules[e]; 1375 if (t.params) { 1376 var i = Object.keys(t.params)[0], s = t.params[i]; 1377 if ("object" != typeof s || null === s) return; 1378 if (!(i in a) || !("enabled" in s)) return; 1379 !0 === a[i] && (a[i] = {enabled: !0}), "object" != typeof a[i] || "enabled" in a[i] || (a[i].enabled = !0), a[i] || (a[i] = {enabled: !1}) 1380 } 1381 })); 1382 var p = d.extend({}, W); 1383 l.useModulesParams(p), l.params = d.extend({}, p, q, a), l.originalParams = d.extend({}, l.params), l.passedParams = d.extend({}, a), l.$ = n; 1384 var c = n(l.params.el); 1385 if (s = c[0]) { 1386 if (c.length > 1) { 1387 var u = []; 1388 return c.each((function (e, i) { 1389 var s = d.extend({}, a, {el: i}); 1390 u.push(new t(s)) 1391 })), u 1392 } 1393 var v, f, m; 1394 return s.swiper = l, c.data("swiper", l), s && s.shadowRoot && s.shadowRoot.querySelector ? (v = n(s.shadowRoot.querySelector("." + l.params.wrapperClass))).children = function (e) { 1395 return c.children(e) 1396 } : v = c.children("." + l.params.wrapperClass), d.extend(l, { 1397 $el: c, 1398 el: s, 1399 $wrapperEl: v, 1400 wrapperEl: v[0], 1401 classNames: [], 1402 slides: n(), 1403 slidesGrid: [], 1404 snapGrid: [], 1405 slidesSizesGrid: [], 1406 isHorizontal: function () { 1407 return "horizontal" === l.params.direction 1408 }, 1409 isVertical: function () { 1410 return "vertical" === l.params.direction 1411 }, 1412 rtl: "rtl" === s.dir.toLowerCase() || "rtl" === c.css("direction"), 1413 rtlTranslate: "horizontal" === l.params.direction && ("rtl" === s.dir.toLowerCase() || "rtl" === c.css("direction")), 1414 wrongRTL: "-webkit-box" === v.css("display"), 1415 activeIndex: 0, 1416 realIndex: 0, 1417 isBeginning: !0, 1418 isEnd: !1, 1419 translate: 0, 1420 previousTranslate: 0, 1421 progress: 0, 1422 velocity: 0, 1423 animating: !1, 1424 allowSlideNext: l.params.allowSlideNext, 1425 allowSlidePrev: l.params.allowSlidePrev, 1426 touchEvents: (f = ["touchstart", "touchmove", "touchend", "touchcancel"], m = ["mousedown", "mousemove", "mouseup"], h.pointerEvents && (m = ["pointerdown", "pointermove", "pointerup"]), l.touchEventsTouch = { 1427 start: f[0], 1428 move: f[1], 1429 end: f[2], 1430 cancel: f[3] 1431 }, l.touchEventsDesktop = { 1432 start: m[0], 1433 move: m[1], 1434 end: m[2] 1435 }, h.touch || !l.params.simulateTouch ? l.touchEventsTouch : l.touchEventsDesktop), 1436 touchEventsData: { 1437 isTouched: void 0, 1438 isMoved: void 0, 1439 allowTouchCallbacks: void 0, 1440 touchStartTime: void 0, 1441 isScrolling: void 0, 1442 currentTranslate: void 0, 1443 startTranslate: void 0, 1444 allowThresholdMove: void 0, 1445 formElements: "input, select, option, textarea, button, video, label", 1446 lastClickTime: d.now(), 1447 clickTimeout: void 0, 1448 velocities: [], 1449 allowMomentumBounce: void 0, 1450 isTouchEvent: void 0, 1451 startMoving: void 0 1452 }, 1453 allowClick: !0, 1454 allowTouchMove: l.params.allowTouchMove, 1455 touches: {startX: 0, startY: 0, currentX: 0, currentY: 0, diff: 0}, 1456 imagesToLoad: [], 1457 imagesLoaded: 0 1458 }
1458), l.useModules(), l.params.init && l.init(), l 1459 } 1460 } 1461 1462 e && (t.__proto__ = e), t.prototype = Object.create(e && e.prototype), t.prototype.constructor = t; 1463 var i = { 1464 extendedDefaults: {configurable: !0}, 1465 defaults: {configurable: !0}, 1466 Class: {configurable: !0}, 1467 $: {configurable: !0} 1468 }; 1469 return t.prototype.slidesPerViewDynamic = function () { 1470 var e = this.params, t = this.slides, i = this.slidesGrid, s = this.size, a = this.activeIndex, r = 1; 1471 if (e.centeredSlides) { 1472 for (var n, o = t[a].swiperSlideSize, l = a + 1; l < t.length; l += 1) t[l] && !n && (r += 1, (o += t[l].swiperSlideSize) > s && (n = !0)); 1473 for (var d = a - 1; d >= 0; d -= 1) t[d] && !n && (r += 1, (o += t[d].swiperSlideSize) > s && (n = !0)) 1474 } else for (var h = a + 1; h < t.length; h += 1) i[h] - i[a] < s && (r += 1); 1475 return r 1476 }, t.prototype.update = function () { 1477 var e = this; 1478 if (e && !e.destroyed) { 1479 var t = e.snapGrid, i = e.params; 1480 i.breakpoints && e.setBreakpoint(), e.updateSize(), e.updateSlides(), e.updateProgress(), e.updateSlidesClasses(), e.params.freeMode ? (s(), e.params.autoHeight && e.updateAutoHeight()) : (("auto" === e.params.slidesPerView || e.params.slidesPerView > 1) && e.isEnd && !e.params.centeredSlides ? e.slideTo(e.slides.length - 1, 0, !1, !0) : e.slideTo(e.activeIndex, 0, !1, !0)) || s(), i.watchOverflow && t !== e.snapGrid && e.checkOverflow(), e.emit("update") 1481 } 1482 1483 function s() { 1484 var t = e.rtlTranslate ? -1 * e.translate : e.translate, 1485 i = Math.min(Math.max(t, e.maxTranslate()), e.minTranslate()); 1486 e.setTranslate(i), e.updateActiveIndex(), e.updateSlidesClasses() 1487 } 1488 }, t.prototype.changeDirection = function (e, t) { 1489 void 0 === t && (t = !0); 1490 var i = this.params.direction; 1491 return e || (e = "horizontal" === i ? "vertical" : "horizontal"), e === i || "horizontal" !== e && "vertical" !== e || (this.$el.removeClass("" + this.params.containerModifierClass + i).addClass("" + this.params.containerModifierClass + e), this.params.direction = e, this.slides.each((function (t, i) { 1492 "vertical" === e ? i.style.width = "" : i.style.height = "" 1493 })), this.emit("changeDirection"), t && this.update()), this 1494 }, t.prototype.init = function () {
1495 this.initialized || (this.emit("beforeInit"), this.params.breakpoints && this.setBreakpoint(), this.addClasses(), this.params.loop && this.loopCreate(), this.updateSize(), this.updateSlides(), this.params.watchOverflow && this.checkOverflow(), this.params.grabCursor && this.setGrabCursor(), this.params.preloadImages && this.preloadImages(), this.params.loop ? this.slideTo(this.params.initialSlide + this.loopedSlides, 0, this.params.runCallbacksOnInit) : this.slideTo(this.params.initialSlide, 0, this.params.runCallbacksOnInit), this.attachEvents(), this.initialized = !0, this.emit("init")) 1496 }, t.prototype.destroy = function (e, t) { 1497 void 0 === e && (e = !0), void 0 === t && (t = !0); 1498 var i = this, s = i.params, a = i.$el, r = i.$wrapperEl, n = i.slides; 1499 return void 0 === i.params || i.destroyed || (i.emit("beforeDestroy"), i.initialized = !1, i.detachEvents(), s.loop && i.loopDestroy(), t && (i.removeClasses(), a.removeAttr("style"), r.removeAttr("style"), n && n.length && n.removeClass([s.slideVisibleClass, s.slideActiveClass, s.slideNextClass, s.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")), i.emit("destroy"), Object.keys(i.eventsListeners).forEach((function (e) { 1500 i.off(e) 1501 })), !1 !== e && (i.$el[0].swiper = null, i.$el.data("swiper", null), d.deleteProps(i)), i.destroyed = !0), null 1502 }, t.extendDefaults = function (e) { 1503 d.extend(q, e) 1504 }, i.extendedDefaults.get = function () { 1505 return q 1506 }, i.defaults.get = function () { 1507 return W 1508 }, i.Class.get = function () { 1509 return e 1510 }, i.$.get = function () { 1511 return n 1512 }, Object.defineProperties(t, i), t 1513 }(p), K = {name: "device", proto: {device: A}, static: {device: A}}, 1514 U = {name: "support", proto: {support: h}, static: {support: h}}, _ = { 1515 isEdge: !!a.navigator.userAgent.match(/Edge/g), isSafari: function () { 1516 var e = a.navigator.userAgent.toLowerCase(); 1517 return e.indexOf("safari") >= 0 && e.indexOf("chrome") < 0 && e.indexOf("android") < 0 1518 }(), isWebView: /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(a.navigator.userAgent) 1519 }, Z = {name: "browser", proto: {browser: _}, static: {browser: _}}, Q = { 1520 name: "resize", create: function () { 1521 var e = this; 1522 d.extend(e, { 1523 resize: { 1524 resizeHandler: function () { 1525 e && !e.destroyed && e.initialized && (e.emit("beforeResize"), e.emit("resize")) 1526 }, orientationChangeHandler: function () { 1527 e && !e.destroyed && e.initialized && e.emit("orientationchange") 1528 } 1529 } 1530 }) 1531 }, on: { 1532 init: function () { 1533 a.addEventListener("resize", this.resize.resizeHandler), a.addEventListener("orientationchange", this.resize.orientationChangeHandler) 1534 }, destroy: function () { 1535 a.removeEventListener("resize", this.resize.resizeHandler), a.removeEventListener("orientationchange", this.resize.orientationChangeHandler) 1536 } 1537 } 1538 }, J = { 1539 func: a.MutationObserver || a.WebkitMutationObserver, attach: function (e, t) { 1540 void 0 === t && (t = {}); 1541 var i = this, s = new (0, J.func)((function (e) { 1542 if (1 !== e.length) { 1543 var t = function () { 1544 i.emit("observerUpdate", e[0]) 1545 }; 1546 a.requestAnimationFrame ? a.requestAnimationFrame(t) : a.setTimeout(t, 0) 1547 } else i.emit("observerUpdate", e[0]) 1548 })); 1549 s.observe(e, { 1550 attributes: void 0 === t.attributes || t.attributes, 1551 childList: void 0 === t.childList || t.childList, 1552 characterData: void 0 === t.characterData || t.characterData 1553 }), i.observer.observers.push(s) 1554 }, init: function () { 1555 if (h.observer && this.params.observer) { 1556 if (this.params.observeParents) for (var e = this.$el.parents(), t = 0; t < e.length; t += 1) this.observer.attach(e[t]); 1557 this.observer.attach(this.$el[0], {childList: this.params.observeSlideChildren}), this.observer.attach(this.$wrapperEl[0], {attributes: !1}) 1558 } 1559 }, destroy: function () {
1560 this.observer.observers.forEach((function (e) { 1561 e.disconnect() 1562 })), this.observer.observers = [] 1563 } 1564 }, ee = { 1565 name: "observer", 1566 params: {observer: !1, observeParents: !1, observeSlideChildren: !1}, 1567 create: function () { 1568 d.extend(this, { 1569 observer: { 1570 init: J.init.bind(this), 1571 attach: J.attach.bind(this), 1572 destroy: J.destroy.bind(this), 1573 observers: [] 1574 } 1575 }) 1576 }, 1577 on: { 1578 init: function () { 1579 this.observer.init() 1580 }, destroy: function () { 1581 this.observer.destroy() 1582 } 1583 } 1584 }, te = { 1585 update: function (e) { 1586 var t = this, i = t.params, s = i.slidesPerView, a = i.slidesPerGroup, r = i.centeredSlides, 1587 n = t.params.virtual, o = n.addSlidesBefore, l = n.addSlidesAfter, h = t.virtual, p = h.from, c = h.to, 1588 u = h.slides, v = h.slidesGrid, f = h.renderSlide, m = h.offset; 1589 t.updateActiveIndex(); 1590 var g, b, w, y = t.activeIndex || 0; 1591 g = t.rtlTranslate ? "right" : t.isHorizontal() ? "left" : "top", r ? (b = Math.floor(s / 2) + a + o, w = Math.floor(s / 2) + a + l) : (b = s + (a - 1) + o, w = a + l); 1592 var x = Math.max((y || 0) - w, 0), E = Math.min((y || 0) + b, u.length - 1), 1593 T = (t.slidesGrid[x] || 0) - (t.slidesGrid[0] || 0); 1594 1595 function S() { 1596 t.updateSlides(), t.updateProgress(), t.updateSlidesClasses(), t.lazy && t.params.lazy.enabled && t.lazy.load() 1597 } 1598 1599 if (d.extend(t.virtual, { 1600 from: x, 1601 to: E, 1602 offset: T, 1603 slidesGrid: t.slidesGrid 1604 }), p === x && c === E && !e) return t.slidesGrid !== v && T !== m && t.slides.css(g, T + "px"), void t.updateProgress(); 1605 if (t.params.virtual.renderExternal) return t.params.virtual.renderExternal.call(t, { 1606 offset: T, 1607 from: x, 1608 to: E, 1609 slides: function () { 1610 for (var e = [], t = x; t <= E; t += 1) e.push(u[t]); 1611 return e 1612 }() 1613 }), void S(); 1614 var C = [], M = []; 1615 if (e) t.$wrapperEl.find("." + t.params.slideClass).remove(); else for (var P = p; P <= c; P += 1) (P < x || P > E) && t.$wrapperEl.find("." + t.params.slideClass + '[data-swiper-slide-index="' + P + '"]').remove(); 1616 for (var z = 0; z < u.length; z += 1) z >= x && z <= E && (void 0 === c || e ? M.push(z) : (z > c && M.push(z), z < p && C.push(z))); 1617 M.forEach((function (e) { 1618 t.$wrapperEl.append(f(u[e], e)) 1619 })), C.sort((function (e, t) { 1620 return t - e 1621 })).forEach((function (e) { 1622 t.$wrapperEl.prepend(f(u[e], e)) 1623 })), t.$wrapperEl.children(".swiper-slide").css(g, T + "px"), S() 1624 }, renderSlide: function (e, t) { 1625 var i = this.params.virtual; 1626 if (i.cache && this.virtual.cache[t]) return this.virtual.cache[t]; 1627 var s = i.renderSlide ? n(i.renderSlide.call(this, e, t)) : n('<div class="' + this.params.slideClass + '" data-swiper-slide-index="' + t + '">' + e + "</div>"); 1628 return s.attr("data-swiper-slide-index") || s.attr("data-swiper-slide-index", t), i.cache && (this.virtual.cache[t] = s), s 1629 }, appendSlide: function (e) { 1630 if ("object" == typeof e && "length" in e) for (var t = 0; t < e.length; t += 1) e[t] && this.virtual.slides.push(e[t]); else this.virtual.slides.push(e); 1631 this.virtual.update(!0) 1632 }, prependSlide: function (e) { 1633 var t = this.activeIndex, i = t + 1, s = 1; 1634 if (Array.isArray(e)) { 1635 for (var a = 0; a < e.length; a += 1) e[a] && this.virtual.slides.unshift(e[a]); 1636 i = t + e.length, s = e.length 1637 } else this.virtual.slides.unshift(e); 1638 if (this.params.virtual.cache) { 1639 var r = this.virtual.cache, n = {}; 1640 Object.keys(r).forEach((function (e) { 1641 var t = r[e], i = t.attr("data-swiper-slide-index"); 1642 i && t.attr("data-swiper-slide-index", parseInt(i, 10) + 1), n[parseInt(e, 10) + s] = t 1643 })), this.virtual.cache = n 1644 } 1645 this.virtual.update(!0), this.slideTo(i, 0) 1646 }, removeSlide: function (e) { 1647 if (null != e) { 1648 var t = this.activeIndex; 1649 if (Array.isArray(e)) for (var i = e.length - 1; i >= 0; i -= 1) this.virtual.slides.splice(e[i], 1), this.params.virtual.cache && delete this.virtual.cache[e[i]], e[i] < t && (t -= 1), t = Math.max(t, 0); else this.virtual.slides.splice(e, 1), this.params.virtual.cache && delete this.virtual.cache[e], e < t && (t -= 1), t = Math.max(t, 0); 1650 this.virtual.update(!0), this.slideTo(t, 0) 1651 } 1652 }, removeAllSlides: function () { 1653 this.virtual.slides = [], this.params.virtual.cache && (this.virtual.cache = {}), this.virtual.update(!0), this.slideTo(0, 0) 1654 } 1655 }, ie = { 1656 name: "virtual", 1657 params: { 1658 virtual: { 1659 enabled: !1, 1660 slides: [], 1661 cache: !0, 1662 renderSlide: null, 1663 renderExternal: null, 1664 addSlidesBefore: 0, 1665 addSlidesAfter: 0 1666 } 1667 }, 1668 create: function () { 1669 d.extend(this, { 1670 virtual: { 1671 update: te.update.bind(this), 1672 appendSlide: te.appendSlide.bind(this),
1673 prependSlide: te.prependSlide.bind(this), 1674 removeSlide: te.removeSlide.bind(this), 1675 removeAllSlides: te.removeAllSlides.bind(this), 1676 renderSlide: te.renderSlide.bind(this), 1677 slides: this.params.virtual.slides, 1678 cache: {} 1679 } 1680 }) 1681 }, 1682 on: { 1683 beforeInit: function () { 1684 if (this.params.virtual.enabled) { 1685 this.classNames.push(this.params.containerModifierClass + "virtual"); 1686 var e = {watchSlidesProgress: !0}; 1687 d.extend(this.params, e), d.extend(this.originalParams, e), this.params.initialSlide || this.virtual.update() 1688 } 1689 }, setTranslate: function () { 1690 this.params.virtual.enabled && this.virtual.update() 1691 } 1692 } 1693 }, se = { 1694 handle: function (e) { 1695 var t = this.rtlTranslate, s = e; 1696 s.originalEvent && (s = s.originalEvent); 1697 var r = s.keyCode || s.charCode, n = this.params.keyboard.pageUpDown, o = n && 33 === r, l = n && 34 === r, 1698 d = 37 === r, h = 39 === r, p = 38 === r, c = 40 === r; 1699 if (!this.allowSlideNext && (this.isHorizontal() && h || this.isVertical() && c || l)) return !1; 1700 if (!this.allowSlidePrev && (this.isHorizontal() && d || this.isVertical() && p || o)) return !1; 1701 if (!(s.shiftKey || s.altKey || s.ctrlKey || s.metaKey || i.activeElement && i.activeElement.nodeName && ("input" === i.activeElement.nodeName.toLowerCase() || "textarea" === i.activeElement.nodeName.toLowerCase()))) { 1702 if (this.params.keyboard.onlyInViewport && (o || l || d || h || p || c)) { 1703 var u = !1; 1704 if (this.$el.parents("." + this.params.slideClass).length > 0 && 0 === this.$el.parents("." + this.params.slideActiveClass).length) return; 1705 var v = a.innerWidth, f = a.innerHeight, m = this.$el.offset(); 1706 t && (m.left -= this.$el[0].scrollLeft); 1707 for (var g = [[m.left, m.top], [m.left + this.width, m.top], [m.left, m.top + this.height], [m.left + this.width, m.top + this.height]], b = 0; b < g.length; b += 1) { 1708 var w = g[b]; 1709 w[0] >= 0 && w[0] <= v && w[1] >= 0 && w[1] <= f && (u = !0) 1710 } 1711 if (!u) return 1712 } 1713 this.isHorizontal() ? ((o || l || d || h) && (s.preventDefault ? s.preventDefault() : s.returnValue = !1), ((l || h) && !t || (o || d) && t) && this.slideNext(), ((o || d) && !t || (l || h) && t) && this.slidePrev()) : ((o || l || p || c) && (s.preventDefault ? s.preventDefault() : s.returnValue = !1), (l || c) && this.slideNext(), (o || p) && this.slidePrev()), this.emit("keyPress", r) 1714 } 1715 }, enable: function () { 1716 this.keyboard.enabled || (n(i).on("keydown", this.keyboard.handle), this.keyboard.enabled = !0) 1717 }, disable: function () { 1718 this.keyboard.enabled && (n(i).off("keydown", this.keyboard.handle), this.keyboard.enabled = !1) 1719 } 1720 }, ae = { 1721 name: "keyboard", 1722 params: {keyboard: {enabled: !1, onlyInViewport: !0, pageUpDown: !0}}, 1723 create: function () { 1724 d.extend(this, { 1725 keyboard: { 1726 enabled: !1, 1727 enable: se.enable.bind(this), 1728 disable: se.disable.bind(this), 1729 handle: se.handle.bind(this) 1730 } 1731 }) 1732 }, 1733 on: { 1734 init: function () { 1735 this.params.keyboard.enabled && this.keyboard.enable() 1736 }, destroy: function () { 1737 this.keyboard.enabled && this.keyboard.disable() 1738 } 1739 } 1740 }; 1741 var re = { 1742 lastScrollTime: d.now(), lastEventBeforeSnap: void 0, recentWheelEvents: [], event: function () { 1743 return a.navigator.userAgent.indexOf("firefox") > -1 ? "DOMMouseScroll" : function () { 1744 var e = "onwheel" in i; 1745 if (!e) { 1746 var t = i.createElement("div"); 1747 t.setAttribute("onwheel", "return;"), e = "function" == typeof t.onwheel 1748 } 1749 return !e && i.implementation && i.implementation.hasFeature && !0 !== i.implementation.hasFeature("", "") && (e = i.implementation.hasFeature("Events.wheel", "3.0")), e 1750 }() ? "wheel" : "mousewheel" 1751 }, normalize: function (e) { 1752 var t = 0, i = 0, s = 0, a = 0; 1753 return "detail" in e && (i = e.detail), "wheelDelta" in e && (i = -e.wheelDelta / 120), "wheelDeltaY" in e && (i = -e.wheelDeltaY / 120), "wheelDeltaX" in e && (t = -e.wheelDeltaX / 120), "axis" in e && e.axis === e.HORIZONTAL_AXIS && (t = i, i = 0), s = 10 * t, a = 10 * i, "deltaY" in e && (a = e.deltaY), "deltaX" in e && (s = e.deltaX), e.shiftKey && !s && (s = a, a = 0), (s || a) && e.deltaMode && (1 === e.deltaMode ? (s *= 40, a *= 40) : (s *= 800, a *= 800)), s && !t && (t = s < 1 ? -1 : 1), a && !i && (i = a < 1 ? -1 : 1), { 1754 spinX: t, 1755 spinY: i, 1756 pixelX: s, 1757 pixelY: a 1758 } 1759 }, handleMouseEnter: function () { 1760 this.mouseEntered = !0 1761 }, handleMouseLeave: function () { 1762 this.mouseEntered = !1 1763 }, handle: function (e) { 1764 var t = e, i = this, s = i.params.mousewheel; 1765 i.params.cssMode && t.preventDefault(); 1766 var a = i.$el; 1767 if ("container" !== i.params.mousewheel.eventsTarged && (a = n(i.params.mousewheel.eventsTarged)), !i.mouseEntered && !a[0].contains(t.target) && !s.releaseOnEdges) return !0; 1768 t.originalEvent && (t = t.originalEvent); 1769 var r = 0, o = i.rtlTranslate ? -1 : 1, l = re.normalize(t); 1770 if (s.forceToAxis) if (i.isHorizontal()) { 1771 if (!(Math.abs(l.pixelX) > Math.abs(l.pixelY))) return !0; 1772 r = -l.pixelX * o 1773 } else { 1774 if (!(Math.abs(l.pixelY) > Math.abs(l.pixelX))) return !0; 1775 r = -l.pixelY 1776 } else r = Math.abs(l.pixelX) > Math.abs(l.pixelY) ? -l.pixelX * o : -l.pixelY; 1777 if (0 === r) return !0; 1778 if (s.invert && (r = -r), i.params.freeMode) { 1779 var h = {time: d.now(), delta: Math.abs(r), direction: Math.sign(r)}, 1780 p = i.mousewheel.lastEventBeforeSnap, 1781 c = p && h.time < p.time + 500 && h.delta <= p.delta && h.direction === p.direction; 1782 if (!c) { 1783 i.mousewheel.lastEventBeforeSnap = void 0, i.params.loop && i.loopFix(); 1784 var u = i.getTranslate() + r * s.sensitivity, v = i.isBeginning, f = i.isEnd; 1785 if (u >= i.minTranslate() && (u = i.minTranslate()), u <= i.maxTranslate() && (u = i.maxTranslate()), i.setTransition(0), i.setTranslate(u), i.updateProgress(), i.updateActiveIndex(), i.updateSlidesClasses(), (!v && i.isBeginning || !f && i.isEnd) && i.updateSlidesClasses(), i.params.freeModeSticky) { 1786 clearTimeout(i.mousewheel.timeout), i.mousewheel.timeout = void 0; 1787 var m = i.mousewheel.recentWheelEvents; 1788 m.length >= 15 && m.shift(); 1789 var g = m.length ? m[m.length - 1] : void 0, b = m[0]; 1790 if (m.push(h), g && (h.delta > g.delta || h.direction !== g.direction)) m.splice(0); else if (m.length >= 15 && h.time - b.time < 500 && b.delta - h.delta >= 1 && h.delta <= 6) { 1791 var w = r > 0 ? .8 : .2; 1792 i.mousewheel.lastEventBeforeSnap = h, m.splice(0), i.mousewheel.timeout = d.nextTick((function () { 1793 i.slideToClosest(i.params.speed, !0, void 0, w) 1794 }), 0) 1795 } 1796 i.mousewheel.timeout || (i.mousewheel.timeout = d.nextTick((function () { 1797 i.mousewheel.lastEventBeforeSnap = h, m.splice(0), i.slideToClosest(i.params.speed, !0, void 0, .5) 1798 }), 500)) 1799 } 1800 if (c || i.emit("scroll", t), i.params.autoplay && i.params.autoplayDisableOnInteraction && i.autoplay.stop(), u === i.minTranslate() || u === i.maxTranslate()) return !0 1801 } 1802 } else { 1803 var y = {time: d.now(), delta: Math.abs(r), direction: Math.sign(r), raw: e}, 1804 x = i.mousewheel.recentWheelEvents; 1805 x.length >= 2 && x.shift(); 1806 var E = x.length ? x[x.length - 1] : void 0; 1807 if (x.push(y), E ? (y.direction !== E.direction || y.delta > E.delta || y.time > E.time + 150) && i.mousewheel.animateSlider(y) : i.mousewheel.animateSlider(y), i.mousewheel.releaseScroll(y)) return !0 1808 } 1809 return t.preventDefault ? t.preventDefault() : t.returnValue = !1, !1 1810 }, animateSlider: function (e) { 1811 return e.delta >= 6 && d.now() - this.mousewheel.lastScrollTime < 60 || (e.direction < 0 ? this.isEnd && !this.params.loop || this.animating || (this.slideNext(), this.emit
1811("scroll", e.raw)) : this.isBeginning && !this.params.loop || this.animating || (this.slidePrev(), this.emit("scroll", e.raw)), this.mousewheel.lastScrollTime = (new a.Date).getTime(), !1) 1812 }, releaseScroll: function (e) { 1813 var t = this.params.mousewheel; 1814 if (e.direction < 0) { 1815 if (this.isEnd && !this.params.loop && t.releaseOnEdges) return !0 1816 } else if (this.isBeginning && !this.params.loop && t.releaseOnEdges) return !0; 1817 return !1 1818 }, enable: function () { 1819 var e = re.event(); 1820 if (this.params.cssMode) return this.wrapperEl.removeEventListener(e, this.mousewheel.handle), !0; 1821 if (!e) return !1; 1822 if (this.mousewheel.enabled) return !1; 1823 var t = this.$el; 1824 return "container" !== this.params.mousewheel.eventsTarged && (t = n(this.params.mousewheel.eventsTarged)), t.on("mouseenter", this.mousewheel.handleMouseEnter), t.on("mouseleave", this.mousewheel.handleMouseLeave), t.on(e, this.mousewheel.handle), this.mousewheel.enabled = !0, !0 1825 }, disable: function () { 1826 var e = re.event(); 1827 if (this.params.cssMode) return this.wrapperEl.addEventListener(e, this.mousewheel.handle), !0; 1828 if (!e) return !1; 1829 if (!this.mousewheel.enabled) return !1; 1830 var t = this.$el; 1831 return "container" !== this.params.mousewheel.eventsTarged && (t = n(this.params.mousewheel.eventsTarged)), t.off(e, this.mousewheel.handle), this.mousewheel.enabled = !1, !0 1832 } 1833 }, ne = { 1834 update: function () { 1835 var e = this.params.navigation; 1836 if (!this.params.loop) { 1837 var t = this.navigation, i = t.$nextEl, s = t.$prevEl; 1838 s && s.length > 0 && (this.isBeginning ? s.addClass(e.disabledClass) : s.removeClass(e.disabledClass), s[this.params.watchOverflow && this.isLocked ? "addClass" : "removeClass"](e.lockClass)), i && i.length > 0 && (this.isEnd ? i.addClass(e.disabledClass) : i.removeClass(e.disabledClass), i[this.params.watchOverflow && this.isLocked ? "addClass" : "removeClass"](e.lockClass)) 1839 } 1840 }, onPrevClick: function (e) { 1841 e.preventDefault(), this.isBeginning && !this.params.loop || this.slidePrev() 1842 }, onNextClick: function (e) { 1843 e.preventDefault(), this.isEnd && !this.params.loop || this.slideNext() 1844 }, init: function () { 1845 var e, t, i = this.params.navigation; 1846 (i.nextEl || i.prevEl) && (i.nextEl && (e = n(i.nextEl), this.params.uniqueNavElements && "string" == typeof i.nextEl && e.length > 1 && 1 === this.$el.find(i.nextEl).length && (e = this.$el.find(i.nextEl))), i.prevEl && (t = n(i.prevEl), this.params.uniqueNavElements && "string" == typeof i.prevEl && t.length > 1 && 1 === this.$el.find(i.prevEl).length && (t = this.$el.find(i.prevEl))), e && e.length > 0 && e.on("click", this.navigation.onNextClick), t && t.length > 0 && t.on("click", this.navigation.onPrevClick), d.extend(this.navigation, { 1847 $nextEl: e, 1848 nextEl: e && e[0], 1849 $prevEl: t, 1850 prevEl: t && t[0] 1851 })) 1852 }, destroy: function () { 1853 var e = this.navigation, t = e.$nextEl, i = e.$prevEl; 1854 t && t.length && (t.off("click", this.navigation.onNextClick), t.removeClass(this.params.navigation.disabledClass)), i && i.length && (i.off("click", this.navigation.onPrevClick), i.removeClass(this.params.navigation.disabledClass)) 1855 } 1856 }, oe = { 1857 update: function () { 1858 var e = this.rtl, t = this.params.pagination; 1859 if (t.el && this.pagination.el && this.pagination.$el && 0 !== this.pagination.$el.length) { 1860 var i, 1861 s = this.virtual && this.params.virtual.enabled ? this.virtual.slides.length : this.slides.length, 1862 a = this.pagination.$el, 1863 r = this.params.loop ? Math.ceil((s - 2 * this.loopedSlides) / this.params.slidesPerGroup) : this.snapGrid.length;
1864 if (this.params.loop ? ((i = Math.ceil((this.activeIndex - this.loopedSlides) / this.params.slidesPerGroup)) > s - 1 - 2 * this.loopedSlides && (i -= s - 2 * this.loopedSlides), i > r - 1 && (i -= r), i < 0 && "bullets" !== this.params.paginationType && (i = r + i)) : i = void 0 !== this.snapIndex ? this.snapIndex : this.activeIndex || 0, "bullets" === t.type && this.pagination.bullets && this.pagination.bullets.length > 0) { 1865 var o, l, d, h = this.pagination.bullets; 1866 if (t.dynamicBullets && (this.pagination.bulletSize = h.eq(0)[this.isHorizontal() ? "outerWidth" : "outerHeight"](!0), a.css(this.isHorizontal() ? "width" : "height", this.pagination.bulletSize * (t.dynamicMainBullets + 4) + "px"), t.dynamicMainBullets > 1 && void 0 !== this.previousIndex && (this.pagination.dynamicBulletIndex += i - this.previousIndex, this.pagination.dynamicBulletIndex > t.dynamicMainBullets - 1 ? this.pagination.dynamicBulletIndex = t.dynamicMainBullets - 1 : this.pagination.dynamicBulletIndex < 0 && (this.pagination.dynamicBulletIndex = 0)), o = i - this.pagination.dynamicBulletIndex, d = ((l = o + (Math.min(h.length, t.dynamicMainBullets) - 1)) + o) / 2), h.removeClass(t.bulletActiveClass + " " + t.bulletActiveClass + "-next " + t.bulletActiveClass + "-next-next " + t.bulletActiveClass + "-prev " + t.bulletActiveClass + "-prev-prev " + t.bulletActiveClass + "-main"), a.length > 1) h.each((function (e, s) { 1867 var a = n(s), r = a.index(); 1868 r === i && a.addClass(t.bulletActiveClass), t.dynamicBullets && (r >= o && r <= l && a.addClass(t.bulletActiveClass + "-main"), r === o && a.prev().addClass(t.bulletActiveClass + "-prev").prev().addClass(t.bulletActiveClass + "-prev-prev"), r === l && a.next().addClass(t.bulletActiveClass + "-next").next().addClass(t.bulletActiveClass + "-next-next")) 1869 })); else { 1870 var p = h.eq(i), c = p.index(); 1871 if (p.addClass(t.bulletActiveClass), t.dynamicBullets) { 1872 for (var u = h.eq(o), v = h.eq(l), f = o;
1872 f <= l; f += 1) h.eq(f).addClass(t.bulletActiveClass + "-main"); 1873 if (this.params.loop) if (c >= h.length - t.dynamicMainBullets) { 1874 for (var m = t.dynamicMainBullets; m >= 0; m -= 1) h.eq(h.length - m).addClass(t.bulletActiveClass + "-main"); 1875 h.eq(h.length - t.dynamicMainBullets - 1).addClass(t.bulletActiveClass + "-prev") 1876 } else u.prev().addClass(t.bulletActiveClass + "-prev").prev().addClass(t.bulletActiveClass + "-prev-prev"), v.next().addClass(t.bulletActiveClass + "-next").next().addClass(t.bulletActiveClass + "-next-next"); else u.prev().addClass(t.bulletActiveClass + "-prev").prev().addClass(t.bulletActiveClass + "-prev-prev"), v.next().addClass(t.bulletActiveClass + "-next").next().addClass(t.bulletActiveClass + "-next-next") 1877 } 1878 } 1879 if (t.dynamicBullets) { 1880 var g = Math.min(h.length, t.dynamicMainBullets + 4), 1881 b = (this.pagination.bulletSize * g - this.pagination.bulletSize) / 2 - d * this.pagination.bulletSize, 1882 w = e ? "right" : "left"; 1883 h.css(this.isHorizontal() ? w : "top", b + "px") 1884 } 1885 } 1886 if ("fraction" === t.type && (a.find("." + t.currentClass).text(t.formatFractionCurrent(i + 1)), a.find("." + t.totalClass).text(t.formatFractionTotal(r))), "progressbar" === t.type) { 1887 var y; 1888 y = t.progressbarOpposite ? this.isHorizontal() ? "vertical" : "horizontal" : this.isHorizontal() ? "horizontal" : "vertical"; 1889 var x = (i + 1) / r, E = 1, T = 1; 1890 "horizontal" === y ? E = x : T = x, a.find("." + t.progressbarFillClass).transform("translate3d(0,0,0) scaleX(" + E + ") scaleY(" + T + ")").transition(this.params.speed) 1891 } 1892 "custom" === t.type && t.renderCustom ? (a.html(t.renderCustom(this, i + 1, r)), this.emit("paginationRender", this, a[0])) : this.emit("paginationUpdate", this, a[0]), a[this.params.watchOverflow && this.isLocked ? "addClass" : "removeClass"](t.lockClass) 1893 } 1894 }, render: function () { 1895 var e = this.params.pagination; 1896 if (e.el && this.pagination.el && this.pagination.$el && 0 !== this.pagination.$el.length) { 1897 var t = this.virtual && this.params.virtual.enabled ? this.virtual.slides.length : this.slides.length, 1898 i = this.pagination.$el, s = ""; 1899 if ("bullets" === e.type) { 1900 for (var a = this.params.loop ? Math.ceil((t - 2 * this.loopedSlides) / this.params.slidesPerGroup) : this.snapGrid.length, r = 0; r < a; r += 1) e.renderBullet ? s += e.renderBullet.call(this, r, e.bulletClass) : s += "<" + e.bulletElement + ' class="' + e.bulletClass + '"></' + e.bulletElement + ">"; 1901 i.html(s), this.pagination.bullets = i.find("." + e.bulletClass) 1902 } 1903 "fraction" === e.type && (s = e.renderFraction ? e.renderFraction.call(this, e.currentClass, e.totalClass) : '<span class="' + e.currentClass + '"></span> / <span class="' + e.totalClass + '"></span>', i.html(s)), "progressbar" === e.type && (s = e.renderProgressbar ? e.renderProgressbar.call(this, e.progressbarFillClass) : '<span class="' + e.progressbarFillClass + '"></span>', i.html(s)), "custom" !== e.type && this.emit("paginationRender", this.pagination.$el[0]) 1904 } 1905 }, init: function () { 1906 var e = this, t = e.params.pagination; 1907 if (t.el) { 1908 var i = n(t.el); 1909 0 !== i.length && (e.params.uniqueNavElements && "string" == typeof t.el && i.length > 1 && (i = e.$el.find(t.el)), "bullets" === t.type && t.clickable && i.addClass(t.clickableClass), i.addClass(t.modifierClass + t.type), "bullets" === t.type && t.dynamicBullets && (i.addClass("" + t.modifierClass + t.type + "-dynamic"), e.pagination.dynamicBulletIndex = 0, t.dynamicMainBullets < 1 && (t.dynamicMainBullets = 1)), "progressbar" === t.type && t.progressbarOpposite && i.addClass(t.progressbarOppositeClass), t.clickable && i.on("click", "." + t.bulletClass, (function (t) { 1910 t.preventDefault(); 1911 var i = n(this).index() * e.params.slidesPerGroup; 1912 e.params.loop && (i += e.loopedSlides), e.slideTo(i) 1913 })), d.extend(e.pagination, {$el: i, el: i[0]})) 1914 } 1915 }, destroy: function () { 1916 var e = this.params.pagination; 1917 if (e.el && this.pagination.el && this.pagination.$el && 0 !== this.pagination.$el.length) { 1918 var t = this.pagination.$el; 1919 t.removeClass(e.hiddenClass), t.removeClass(e.modifierClass + e.type), this.pagination.bullets && this.pagination.bullets.removeClass(e.bulletActiveClass), e.clickable && t.off("click", "." + e.bulletClass) 1920 } 1921 } 1922 }, le = { 1923 setTranslate: function () { 1924 if (this.params.scrollbar.el && this.scrollbar.el) { 1925 var e = this.scrollbar, t = this.rtlTranslate, i = this.progress, s = e.dragSize, a = e.trackSize, 1926 r = e.$dragEl, n = e.$el, o = this.params.scrollbar, l = s, d = (a
1926- s) * i; 1927 t ? (d = -d) > 0 ? (l = s - d, d = 0) : -d + s > a && (l = a + d) : d < 0 ? (l = s + d, d = 0) : d + s > a && (l = a - d), this.isHorizontal() ? (r.transform("translate3d(" + d + "px, 0, 0)"), r[0].style.width = l + "px") : (r.transform("translate3d(0px, " + d + "px, 0)"), r[0].style.height = l + "px"), o.hide && (clearTimeout(this.scrollbar.timeout), n[0].style.opacity = 1, this.scrollbar.timeout = setTimeout((function () { 1928 n[0].style.opacity = 0, n.transition(400) 1929 }), 1e3)) 1930 } 1931 }, setTransition: function (e) { 1932 this.params.scrollbar.el && this.scrollbar.el && this.scrollbar.$dragEl.transition(e) 1933 }, updateSize: function () { 1934 if (this.params.scrollbar.el && this.scrollbar.el) { 1935 var e = this.scrollbar, t = e.$dragEl, i = e.$el; 1936 t[0].style.width = "", t[0].style.height = ""; 1937 var s, a = this.isHorizontal() ? i[0].offsetWidth : i[0].offsetHeight, r = this.size / this.virtualSize, 1938 n = r * (a / this.size); 1939 s = "auto" === this.params.scrollbar.dragSize ? a * r : parseInt(this.params.scrollbar.dragSize, 10), this.isHorizontal() ? t[0].style.width = s + "px" : t[0].style.height = s + "px", i[0].style.display = r >= 1 ? "none" : "", this.params.scrollbar.hide && (i[0].style.opacity = 0), d.extend(e, { 1940 trackSize: a, 1941 divider: r, 1942 moveDivider: n, 1943 dragSize: s 1944 }), e.$el[this.params.watchOverflow && this.isLocked ? "addClass" : "removeClass"](this.params.scrollbar.lockClass) 1945 } 1946 }, getPointerPosition: function (e) { 1947 return this.isHorizontal() ? "touchstart" === e.type || "touchmove" === e.type ? e.targetTouches[0].clientX : e.clientX : "touchstart" === e.type || "touchmove" === e.type ? e.targetTouches[0].clientY : e.clientY 1948 }, setDragPosition: function (e) { 1949 var t, i = this.scrollbar, s = this.rtlTranslate, a = i.$el, r = i.dragSize, n = i.trackSize, 1950 o = i.dragStartPos; 1951 t = (i.getPointerPosition(e) - a.offset()[this.isHorizontal() ? "left" : "top"] - (null !== o ? o : r / 2)) / (n - r), t = Math.max(Math.min(t, 1), 0), s && (t = 1 - t); 1952 var l = this.minTranslate() + (this.maxTranslate() - this.minTranslate()) * t; 1953 this.updateProgress(l), this.setTranslate(l), this.updateActiveIndex(), this.updateSlidesClasses() 1954 }, onDragStart: function (e) { 1955 var t = this.params.scrollbar, i = this.scrollbar, s = this.$wrapperEl, a = i.$el, r = i.$dragEl; 1956 this.scrollbar.isTouched = !0, this.scrollbar.dragStartPos = e.target === r[0] || e.target === r ? i.getPointerPosition(e) - e.target.getBoundingClientRect()[this.isHorizontal() ? "left" : "top"] : null, e.preventDefault(), e.stopPropagation(), s.transition(100), r.transition(100), i.setDragPosition(e), clearTimeout(this.scrollbar.dragTimeout), a.transition(0), t.hide && a.css("opacity", 1), this.params.cssMode && this.$wrapperEl.css("scroll-snap-type", "none"), this.emit("scrollbarDragStart", e) 1957 }, onDragMove: function (e) { 1958 var t = this.scrollbar, i = this.$wrapperEl, s = t.$el, a = t.$dragEl; 1959 this.scrollbar.isTouched && (e.preventDefault ? e.preventDefault() : e.returnValue = !1, t.setDragPosition(e), i.transition(0), s.transition(0), a.transition(0), this.emit("scrollbarDragMove", e)) 1960 }, onDragEnd: function (e) { 1961 var t = this.params.scrollbar, i = this.scrollbar, s = this.$wrapperEl, a = i.$el; 1962 this.scrollbar.isTouched && (this.scrollbar.isTouched = !1, this.params.cssMode && (this.$wrapperEl.css("scroll-snap-type", ""), s.transition("")), t.hide && (clearTimeout(this.scrollbar.dragTimeout), this.scrollbar.dragTimeout = d.nextTick((function () { 1963 a.css("opacity", 0), a.transition(400) 1964 }), 1e3)), this.emit("scrollbarDragEnd", e), t.snapOnRelease && this.slideToClosest()) 1965 }, enableDraggable: function () { 1966 if (this.params.scrollbar.el) { 1967 var e = this.scrollbar, t = this.touchEventsTouch, s = this.touchEventsDesktop, a = this.params, 1968 r = e.$el[0], n = !(!h.passiveListener || !a.passiveListeners) && {passive: !1, capture: !1}, 1969 o = !(!h.passiveListener || !a.passiveListeners) && {passive: !0, capture: !1};
1970 h.touch ? (r.addEventListener(t.start, this.scrollbar.onDragStart, n), r.addEventListener(t.move, this.scrollbar.onDragMove, n), r.addEventListener(t.end, this.scrollbar.onDragEnd, o)) : (r.addEventListener(s.start, this.scrollbar.onDragStart, n), i.addEventListener(s.move, this.scrollbar.onDragMove, n), i.addEventListener(s.end, this.scrollbar.onDragEnd, o)) 1971 } 1972 }, disableDraggable: function () { 1973 if (this.params.scrollbar.el) { 1974 var e = this.scrollbar, t = this.touchEventsTouch, s = this.touchEventsDesktop, a = this.params, 1975 r = e.$el[0], n = !(!h.passiveListener || !a.passiveListeners) && {passive: !1, capture: !1}, 1976 o = !(!h.passiveListener || !a.passiveListeners) && {passive: !0, capture: !1}; 1977 h.touch ? (r.removeEventListener(t.start, this.scrollbar.onDragStart, n), r.removeEventListener(t.move, this.scrollbar.onDragMove, n), r.removeEventListener(t.end, this.scrollbar.onDragEnd, o)) : (r.removeEventListener(s.start, this.scrollbar.onDragStart, n), i.removeEventListener(s.move, this.scrollbar.onDragMove, n), i.removeEventListener(s.end, this.scrollbar.onDragEnd, o)) 1978 } 1979 }, init: function () { 1980 if (this.params.scrollbar.el) { 1981 var e = this.scrollbar, t = this.$el, i = this.params.scrollbar, s = n(i.el); 1982 this.params.uniqueNavElements && "string" == typeof i.el && s.length > 1 && 1 === t.find(i.el).length && (s = t.find(i.el)); 1983 var a = s.find("." + this.params.scrollbar.dragClass); 1984 0 === a.length && (a = n('<div class="' + this.params.scrollbar.dragClass + '"></div>'), s.append(a)), d.extend(e, { 1985 $el: s, 1986 el: s[0], 1987 $dragEl: a, 1988 dragEl: a[0] 1989 }), i.draggable && e.enableDraggable() 1990 } 1991 }, destroy: function () { 1992 this.scrollbar.disableDraggable() 1993 } 1994 }, de = { 1995 setTransform: function (e, t) { 1996 var i = this.rtl, s = n(e), a = i ? -1 : 1, r = s.attr("data-swiper-parallax") || "0", 1997 o = s.attr("data-swiper-parallax-x"), l = s.attr("data-swiper-parallax-y"), 1998 d = s.attr("data-swiper-parallax-scale"), h = s.attr("data-swiper-parallax-opacity"); 1999 if (o || l ? (o = o || "0", l = l || "0") : this.isHorizontal() ? (o = r, l = "0") : (l = r, o = "0"), o = o.indexOf("%") >= 0 ? parseInt(o, 10) * t * a + "%" : o * t * a + "px", l = l.indexOf("%") >= 0 ? parseInt(l, 10) * t + "%" : l * t + "px", null != h) { 2000 var p = h - (h - 1) * (1 - Math.abs(t)); 2001 s[0].style.opacity = p 2002 } 2003 if (null == d) s.transform("translate3d(" + o + ", " + l + ", 0px)"); else { 2004 var c = d - (d - 1) * (1 - Math.abs(t)); 2005 s.transform("translate3d(" + o + ", " + l + ", 0px) scale(" + c + ")") 2006 } 2007 }, setTranslate: function () { 2008 var e = this, t = e.$el, i = e.slides, s = e.progress, a = e.snapGrid; 2009 t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function (t, i) { 2010 e.parallax.setTransform(i, s) 2011 })), i.each((function (t, i) { 2012 var r = i.progress; 2013 e.params.slidesPerGroup > 1 && "auto" !== e.params.slidesPerView && (r += Math.ceil(t / 2) - s * (a.length - 1)), r = Math.min(Math.max(r, -1), 1), n(i).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function (t, i) { 2014 e.parallax.setTransform(i, r) 2015 })) 2016 })) 2017 }, setTransition: function (e) { 2018 void 0 === e && (e = this.params.speed); 2019 this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function (t, i) { 2020 var s = n(i), a = parseInt(s.attr("data-swiper-parallax-duration"), 10) || e; 2021 0 === e && (a = 0), s.transition(a) 2022 })) 2023 } 2024 }, he = { 2025 getDistanceBetweenTouches: function (e) { 2026 if (e.targetTouches.length < 2) return 1; 2027 var t = e.targetTouches[0].pageX, i = e.targetTouches[0].pageY, s = e.targetTouches[1].pageX, 2028 a = e.targetTouches[1].pageY; 2029 return Math.sqrt(Math.pow(s - t, 2) + Math.pow(a - i, 2)) 2030 }, onGestureStart: function (e) { 2031 var t = this.params.zoom, i = this.zoom, s = i.gesture; 2032 if (i.fakeGestureTouched = !1, i.fakeGestureMoved = !1, !h.gestures) { 2033 if ("touchstart" !== e.type || "touchstart" === e.type && e.targetTouches.length < 2) return; 2034 i.fakeGestureTouched = !0, s.scaleStart = he.getDistanceBetweenTouches(e) 2035 } 2036 s.$slideEl && s.$slideEl.length || (s.$slideEl = n(e.target).closest("." + this.params.slideClass), 0 === s.$slideEl.length && (s.$slideEl = this.slides.eq(this.activeIndex)), s.$imageEl = s.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"), s.$imageWrapEl = s.$imageEl.parent("." + t.containerClass), s.maxRatio = s.$imageWrapEl.attr("data-swiper-zoom") || t.maxRatio, 0 !== s.$imageWrapEl.length) ? (s.$imageEl && s.$imageEl.transition(0), this.zoom.isScaling = !0) : s.$imageEl = void 0 2037 }, onGestureChange: function (e) { 2038 var t = this.params.zoom, i = this.zoom, s = i.gesture; 2039 if (!h.gestures) { 2040 if ("touchmove" !== e.type || "touchmove" === e.type && e.targetTouches.length < 2) return; 2041 i.fakeGestureMoved = !0, s.scaleMove = he.getDistanceBetweenTouches(e) 2042 } 2043 s.$imageEl && 0 !== s.$imageEl.length && (i.scale = h.gestures ? e.scale * i.currentScale : s.scaleMove / s.scaleStart * i.currentScale, i.scale > s.maxRatio && (i.scale = s.maxRatio - 1 + Math.pow(i.scale - s.maxRatio + 1, .5)), i.scale < t.minRatio && (i.scale = t.minRatio + 1 - Math.pow(t.minRatio - i.scale + 1, .5)), s.$imageEl.transform("translate3d(0,
vendor: 5,088 bytes, lines 2043-2078
20430,0) scale(" + i.scale + ")")) 2044 }, onGestureEnd: function (e) { 2045 var t = this.params.zoom, i = this.zoom, s = i.gesture; 2046 if (!h.gestures) { 2047 if (!i.fakeGestureTouched || !i.fakeGestureMoved) return; 2048 if ("touchend" !== e.type || "touchend" === e.type && e.changedTouches.length < 2 && !A.android) return; 2049 i.fakeGestureTouched = !1, i.fakeGestureMoved = !1 2050 } 2051 s.$imageEl && 0 !== s.$imageEl.length && (i.scale = Math.max(Math.min(i.scale, s.maxRatio), t.minRatio), s.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale(" + i.scale + ")"), i.currentScale = i.scale, i.isScaling = !1, 1 === i.scale && (s.$slideEl = void 0)) 2052 }, onTouchStart: function (e) { 2053 var t = this.zoom, i = t.gesture, s = t.image; 2054 i.$imageEl && 0 !== i.$imageEl.length && (s.isTouched || (A.android && e.cancelable && e.preventDefault(), s.isTouched = !0, s.touchesStart.x = "touchstart" === e.type ? e.targetTouches[0].pageX : e.pageX, s.touchesStart.y = "touchstart" === e.type ? e.targetTouches[0].pageY : e.pageY)) 2055 }, onTouchMove: function (e) { 2056 var t = this.zoom, i = t.gesture, s = t.image, a = t.velocity; 2057 if (i.$imageEl && 0 !== i.$imageEl.length && (this.allowClick = !1, s.isTouched && i.$slideEl)) { 2058 s.isMoved || (s.width = i.$imageEl[0].offsetWidth, s.height = i.$imageEl[0].offsetHeight, s.startX = d.getTranslate(i.$imageWrapEl[0], "x") || 0, s.startY = d.getTranslate(i.$imageWrapEl[0], "y") || 0, i.slideWidth = i.$slideEl[0].offsetWidth, i.slideHeight = i.$slideEl[0].offsetHeight, i.$imageWrapEl.transition(0), this.rtl && (s.startX = -s.startX, s.startY = -s.startY)); 2059 var r = s.width * t.scale, n = s.height * t.scale; 2060 if (!(r < i.slideWidth && n < i.slideHeight)) { 2061 if (s.minX = Math.min(i.slideWidth / 2 - r / 2, 0), s.maxX = -s.minX, s.minY = Math.min(i.slideHeight / 2 - n / 2, 0), s.maxY = -s.minY, s.touchesCurrent.x = "touchmove" === e.type ? e.targetTouches[0].pageX : e.pageX, s.touchesCurrent.y = "touchmove" === e.type ? e.targetTouches[0].pageY : e.pageY, !s.isMoved && !t.isScaling) { 2062 if (this.isHorizontal() && (Math.floor(s.minX) === Math.floor(s.startX) && s.touchesCurrent.x < s.touchesStart.x || Math.floor(s.maxX) === Math.floor(s.startX) && s.touchesCurrent.x > s.touchesStart.x)) return void (s.isTouched = !1); 2063 if (!this.isHorizontal() && (Math.floor(s.minY) === Math.floor(s.startY) && s.touchesCurrent.y < s.touchesStart.y || Math.floor(s.maxY) === Math.floor(s.startY) && s.touchesCurrent.y > s.touchesStart.y)) return void (s.isTouched = !1) 2064 } 2065 e.cancelable && e.preventDefault(), e.stopPropagation(), s.isMoved = !0, s.currentX = s.touchesCurrent.x - s.touchesStart.x + s.startX, s.currentY = s.touchesCurrent.y - s.touchesStart.y + s.startY, s.currentX < s.minX && (s.currentX = s.minX + 1 - Math.pow(s.minX - s.currentX + 1, .8)), s.currentX > s.maxX && (s.currentX = s.maxX - 1 + Math.pow(s.currentX - s.maxX + 1, .8)), s.currentY < s.minY && (s.currentY = s.minY + 1 - Math.pow(s.minY - s.currentY + 1, .8)), s.currentY > s.maxY && (s.currentY = s.maxY - 1 + Math.pow(s.currentY - s.maxY + 1, .8)), a.prevPositionX || (a.prevPositionX = s.touchesCurrent.x), a.prevPositionY || (a.prevPositionY = s.touchesCurrent.y), a.prevTime || (a.prevTime = Date.now()), a.x = (s.touchesCurrent.x - a.prevPositionX) / (Date.now() - a.prevTime) / 2, a.y = (s.touchesCurrent.y - a.prevPositionY) / (Date.now() - a.prevTime) / 2, Math.abs(s.touchesCurrent.x - a.prevPositionX) < 2 && (a.x = 0), Math.abs(s.touchesCurrent.y - a.prevPositionY) < 2 && (a.y = 0), a.prevPositionX = s.touchesCurrent.x, a.prevPositionY = s.touchesCurrent.y, a.prevTime = Date.now(), i.$imageWrapEl.transform("translate3d(" + s.currentX + "px, " + s.currentY + "px,0)") 2066 } 2067 } 2068 }, onTouchEnd: function () { 2069 var e = this.zoom, t = e.gesture, i = e.image, s = e.velocity; 2070 if (t.$imageEl && 0 !== t.$imageEl.length) { 2071 if (!i.isTouched || !i.isMoved) return i.isTouched = !1, void (i.isMoved = !1); 2072 i.isTouched = !1, i.isMoved = !1; 2073 var a = 300, r = 300, n = s.x * a, o = i.currentX + n, l = s.y * r, d = i.currentY + l; 2074 0 !== s.x && (a = Math.abs((o - i.currentX) / s.x)), 0 !== s.y && (r = Math.abs((d - i.currentY) / s.y)); 2075 var h = Math.max(a, r); 2076 i.currentX = o, i.currentY = d; 2077 var p = i.width * e.scale, c = i.height * e.scale; 2078 i.minX = Math.min(t.slideWidth / 2 - p / 2, 0), i.maxX = -i.minX, i.minY = Math.min(t.slideHeight / 2 - c / 2, 0), i.maxY = -i.minY, i.currentX = Math.max(Math.min(i.currentX, i.maxX), i.minX), i.currentY = Math.max(Math.min(i.currentY, i.maxY), i.minY), t.$imageWrapEl.transition(h).transform("translate3d(" + i.currentX + "px, " + i.currentY + "px,0
2078)") 2079 } 2080 }, onTransitionEnd: function () { 2081 var e = this.zoom, t = e.gesture; 2082 t.$slideEl && this.previousIndex !== this.activeIndex && (t.$imageEl && t.$imageEl.transform("translate3d(0,0,0) scale(1)"), t.$imageWrapEl && t.$imageWrapEl.transform("translate3d(0,0,0)"), e.scale = 1, e.currentScale = 1, t.$slideEl = void 0, t.$imageEl = void 0, t.$imageWrapEl = void 0) 2083 }, toggle: function (e) { 2084 var t = this.zoom; 2085 t.scale && 1 !== t.scale ? t.out() : t.in(e) 2086 }, in: function (e) { 2087 var t, i, s, a, r, n, o, l, d, h, p, c, u, v, f, m, g = this.zoom, b = this.params.zoom, w = g.gesture, 2088 y = g.image; 2089 (w.$slideEl || (this.params.virtual && this.params.virtual.enabled && this.virtual ? w.$slideEl = this.$wrapperEl.children("." + this.params.slideActiveClass) : w.$slideEl = this.slides.eq(this.activeIndex), w.$imageEl = w.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"), w.$imageWrapEl = w.$imageEl.parent("." + b.containerClass)), w.$imageEl && 0 !== w.$imageEl.length) && (w.$slideEl.addClass("" + b.zoomedSlideClass), void 0 === y.touchesStart.x && e ? (t = "touchend" === e.type ? e.changedTouches[0].pageX : e.pageX, i = "touchend" === e.type ? e.changedTouches[0].pageY : e.pageY) : (t = y.touchesStart.x, i = y.touchesStart.y), g.scale = w.$imageWrapEl.attr("data-swiper-zoom") || b.maxRatio, g.currentScale = w.$imageWrapEl.attr("data-swiper-zoom") || b.maxRatio, e ? (f = w.$slideEl[0].offsetWidth, m = w.$slideEl[0].offsetHeight, s = w.$slideEl.offset().left + f / 2 - t, a = w.$slideEl.offset().top + m / 2 - i, o = w.$imageEl[0].offsetWidth, l = w.$imageEl[0].offsetHeight, d = o * g.scale, h = l * g.scale, u = -(p = Math.min(f / 2 - d / 2, 0)), v = -(c = Math.min(m / 2 - h / 2, 0)), (r = s * g.scale) < p && (r = p), r > u && (r = u), (n = a * g.scale) < c && (n = c), n > v && (n = v)) : (r = 0, n = 0), w.$imageWrapEl.transition(300).transform("translate3d(" + r + "px, " + n + "px,0)"), w.$imageEl.transition(300).transform("translate3d(0,0,0) scale(" + g.scale + ")")) 2090 }, out: function () { 2091 var e = this.zoom, t = this.params.zoom, i = e.gesture; 2092 i.$slideEl || (this.params.virtual && this.params.virtual.enabled && this.virtual ? i.$slideEl = this.$wrapperEl.children("." + this.params.slideActiveClass) : i.$slideEl = this.slides.eq(this.activeIndex), i.$imageEl = i.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"), i.$imageWrapEl = i.$imageEl.parent("." + t.containerClass)), i.$imageEl && 0 !== i.$imageEl.length && (e.scale = 1, e.currentScale = 1, i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"), i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"), i.$slideEl.removeClass("" + t.zoomedSlideClass), i.$slideEl = void 0) 2093 }, enable: function () { 2094 var e = this.zoom; 2095 if (!e.enabled) { 2096 e.enabled = !0; 2097 var t = !("touchstart" !== this.touchEvents.start || !h.passiveListener || !this.params.passiveListeners) && { 2098 passive: !0, 2099 capture: !1 2100 }, i = !h.passiveListener || {passive: !1, capture: !0}, s = "." + this.params.slideClass; 2101 h.gestures ? (this.$wrapperEl.on("gesturestart", s, e.onGestureStart, t), this.$wrapperEl.on("gesturechange", s, e.onGestureChange, t), this.$wrapperEl.on("gestureend", s, e.onGestureEnd, t)) : "touchstart" === this.touchEvents.start && (this.$wrapperEl.on(this.touchEvents.start, s, e.onGestureStart, t), this.$wrapperEl.on(this.touchEvents.move, s, e.onGestureChange, i), this.$wrapperEl.on(this.touchEvents.end, s, e.onGestureEnd, t), this.touchEvents.cancel && this.$wrapperEl.on(this.touchEvents.cancel, s, e.onGestureEnd, t)), this.$wrapperEl.on(this.touchEvents.move, "." + this.params.zoom.containerClass, e.onTouchMove, i) 2102 } 2103 }, disable: function () { 2104 var e = this.zoom; 2105 if (e.enabled) { 2106 this.zoom.enabled = !1; 2107 var t = !("touchstart" !== this.touchEvents.start || !h.passiveListener || !this.params.passiveListeners) && { 2108 passive: !0, 2109 capture: !1 2110 }, i = !h.passiveListener || {passive: !1, capture: !0}, s = "." + this.params.slideClass; 2111 h.gestures ? (this.$wrapperEl.off("gesturestart", s, e.onGestureStart, t), this.$wrapperEl.off("gesturechange", s, e.onGestureChange, t), this.$wrapperEl.off("gestureend", s, e.onGestureEnd, t)) : "touchstart" === this.touchEvents.start && (this.$wrapperEl.off(this.touchEvents.start, s, e.onGestureStart, t), this.$wrapperEl.off(this.touchEvents.move, s, e.onGestureChange, i), this.$wrapperEl.off(this.touchEvents.end, s, e.onGestureEnd, t), this.touchEvents.cancel && this.$wrapperEl.off(this.touchEvents.cancel, s, e.onGestureEnd, t)), this.$wrapperEl.off(this.touchEvents.move, "." + this.params.zoom.containerClass, e.onTouchMove, i) 2112 } 2113 } 2114 }, pe = { 2115 loadInSlide: function (e, t) { 2116 void 0 === t && (t = !0); 2117 var i = this, s = i.params.lazy; 2118 if (void 0 !== e && 0 !== i.slides.length) { 2119 var a = i.virtual && i.params.virtual.enabled ? i.$wrapperEl.children("." + i.params.slideClass + '[data-swiper-slide-index="' + e + '"]') : i.slides.eq(e), 2120 r = a.find("." + s.elementClass + ":not(." + s.loadedClass + "):not(." + s.loadingClass + ")"); 2121 !a.hasClass(s.elementClass) || a.hasClass(s.loadedClass) || a.hasClass(s.loadingClass) || (r = r.add(a[0])), 0 !== r.length && r.each((function (e, r) { 2122 var o = n(r); 2123 o.addClass(s.loadingClass); 2124 var l = o.attr("data-background"), d = o.attr("data-src"), h = o.attr("data-srcset"), 2125 p = o.attr("data-sizes"), c = o.parent("picture"); 2126 i.loadImage(o[0], d || l, h, p, !1, (function () { 2127 if (null != i && i && (!i || i.params) && !i.destroyed) { 2128 if (l ? (o.css("background-image", 'url("' + l + '")'), o.removeAttr("data-background")) : (h && (o.attr("srcset", h), o.removeAttr("data-srcset")), p && (o.attr("sizes", p), o.removeAttr("data-sizes")), c.length && c.children("source").each((function (e, t) { 2129 var i = n(t); 2130 i.attr("data-srcset") && (i.attr("srcset", i.attr("data-srcset")), i.removeAttr("data-srcset")) 2131 })), d && (o.attr("src", d), o.removeAttr("data-src"))), o.addClass(s.loadedClass).removeClass(s.loadingClass), a.find("." + s.preloaderClass).remove(), i.params.loop && t) { 2132 var e = a.attr("data-swiper-slide-index"); 2133 if (a.hasClass(i.params.slideDuplicateClass)) { 2134 var r = i.$wrapperEl.children('[data-swiper-slide-index="' + e + '"]:not(.' + i.params.slideDuplicateClass + ")"); 2135 i.lazy.loadInSlide(r.index(), !1) 2136 } else { 2137 var u = i.$wrapperEl.children("." + i.params.slideDuplicateClass + '[data-swiper-slide-index="' + e + '"]'); 2138 i.lazy.loadInSlide(u.index(), !1) 2139 } 2140 } 2141 i.emit("lazyImageReady", a[0], o[0]), i.params.autoHeight && i.updateAutoHeight() 2142 } 2143 })), i.emit("lazyImageLoad", a[0], o[0]) 2144 })) 2145 } 2146 }, load: function () { 2147 var e = this, t = e.$wrapperEl, i = e.params, s = e.slides, a = e.activeIndex, 2148 r = e.virtual && i.virtual.enabled, o = i.lazy, l = i.slidesPerView; 2149 2150 function d(e) { 2151 if (r) { 2152 if (t.children("." + i.slideClass + '[data-swiper-slide-index="' + e + '"]').length) return !0 2153 } else if (s[e]) return !0; 2154 return !1 2155 } 2156 2157 function h(e) { 2158 return r ? n(e).attr("data-swiper-slide-index") : n(e).index() 2159 } 2160 2161 if ("auto" === l && (l = 0), e.lazy.initialImageLoaded || (e.lazy.initialImageLoaded = !0), e.params.watchSlidesVisibility) t.children("." + i.slideVisibleClass).each((function (t, i) { 2162 var s = r ? n(i).attr("data-swiper-slide-index") : n(i).index(); 2163 e.lazy.loadInSlide(s) 2164 })); else if (l > 1) for (var p = a; p < a + l; p += 1) d(p) && e.lazy.loadInSlide(p); else e.lazy.loadInSlide(a); 2165 if (o.loadPrevNext) if (l > 1 || o.loadPrevNextAmount && o.loadPrevNextAmount > 1) { 2166 for (var c = o.loadPrevNextAmount, u = l, v = Math.min(a + u + Math.max(c, u), s.length), f = Math.max(a - Math.max(u, c), 0), m = a + l; m < v; m += 1) d(m) && e.lazy.loadInSlide(m); 2167 for (var g = f; g < a; g += 1) d(g) && e.lazy.loadInSlide(g) 2168 } else { 2169 var b = t.children("." + i.slideNextClass); 2170 b.length > 0 && e.lazy.loadInSlide(h(b)); 2171 var w = t.children("." + i.slidePrevClass); 2172 w.length > 0 && e.lazy.loadInSlide(h(w)) 2173 } 2174 } 2175 }, ce = { 2176 LinearSpline: function (e, t) { 2177 var i, s, a, r, n, o = function (e, t) { 2178 for (s = -1, i = e.length; i - s > 1;) e[a = i + s >> 1] <= t ? s = a : i = a; 2179 return i 2180 }; 2181 return this.x = e, this.y = t, this.lastIndex = e.length - 1, this.interpolate = function (e) { 2182 return e ? (n = o(this.x, e), r = n - 1, (e - this.x[r]) * (this.y[n] - this.y[r]) / (this.x[n] - this.x[r]) + this.y[r]) : 0 2183 }, this 2184 }, getInterpolateFunction: function (e) { 2185 this.controller.spline || (this.controller.spline = this.params.loop ? new ce.LinearSpline(this.slidesGrid, e.slidesGrid) : new ce.LinearSpline(this.snapGrid, e.snapGrid)) 2186 }, setTranslate: function (e, t) {
2187 var i, s, a = this, r = a.controller.control; 2188 2189 function n(e) { 2190 var t = a.rtlTranslate ? -a.translate : a.translate; 2191 "slide" === a.params.controller.by && (a.controller.getInterpolateFunction(e), s = -a.controller.spline.interpolate(-t)), s && "container" !== a.params.controller.by || (i = (e.maxTranslate() - e.minTranslate()) / (a.maxTranslate() - a.minTranslate()), s = (t - a.minTranslate()) * i + e.minTranslate()), a.params.controller.inverse && (s = e.maxTranslate() - s), e.updateProgress(s), e.setTranslate(s, a), e.updateActiveIndex(), e.updateSlidesClasses() 2192 } 2193 2194 if (Array.isArray(r)) for (var o = 0; o < r.length; o += 1) r[o] !== t && r[o] instanceof j && n(r[o]); else r instanceof j && t !== r && n(r) 2195 }, setTransition: function (e, t) { 2196 var i, s = this, a = s.controller.control; 2197 2198 function r(t) { 2199 t.setTransition(e, s), 0 !== e && (t.transitionStart(), t.params.autoHeight && d.nextTick((function () { 2200 t.updateAutoHeight() 2201 })), t.$wrapperEl.transitionEnd((function () { 2202 a && (t.params.loop && "slide" === s.params.controller.by && t.loopFix(), t.transitionEnd()) 2203 }))) 2204 } 2205 2206 if (Array.isArray(a)) for (i = 0; i < a.length; i += 1) a[i] !== t && a[i] instanceof j && r(a[i]); else a instanceof j && t !== a && r(a) 2207 } 2208 }, ue = { 2209 makeElFocusable: function (e) { 2210 return e.attr("tabIndex", "0"), e 2211 }, makeElNotFocusable: function (e) { 2212 return e.attr("tabIndex", "-1"), e 2213 }, addElRole: function (e, t) { 2214 return e.attr("role", t), e 2215 }, addElLabel: function (e, t) { 2216 return e.attr("aria-label", t), e 2217 }, disableEl: function (e) { 2218 return e.attr("aria-disabled", !0), e 2219 }, enableEl: function (e) { 2220 return e.attr("aria-disabled", !1), e 2221 }, onEnterKey: function (e) { 2222 var t = this.params.a11y; 2223 if (13 === e.keyCode) { 2224 var i = n(e.target); 2225 this.navigation && this.navigation.$nextEl && i.is(this.navigation.$nextEl) && (this.isEnd && !this.params.loop || this.slideNext(), this.isEnd ? this.a11y.notify(t.lastSlideMessage) : this.a11y.notify(t.nextSlideMessage)), this.navigation && this.navigation.$prevEl && i.is(this.navigation.$prevEl) && (this.isBeginning && !this.params.loop || this.slidePrev(), this.isBeginning ? this.a11y.notify(t.firstSlideMessage) : this.a11y.notify(t.prevSlideMessage)), this.pagination && i.is("." + this.params.pagination.bulletClass) && i[0].click() 2226 } 2227 }, notify: function (e) { 2228 var t = this.a11y.liveRegion; 2229 0 !== t.length && (t.html(""), t.html(e)) 2230 }, updateNavigation: function () { 2231 if (!this.params.loop && this.navigation) { 2232 var e = this.navigation, t = e.$nextEl, i = e.$prevEl; 2233 i && i.length > 0 && (this.isBeginning ? (this.a11y.disableEl(i), this.a11y.makeElNotFocusable(i)) : (this.a11y.enableEl(i), this.a11y.makeElFocusable(i))), t && t.length > 0 && (this.isEnd ? (this.a11y.disableEl(t), this.a11y.makeElNotFocusable(t)) : (this.a11y.enableEl(t), this.a11y.makeElFocusable(t))) 2234 } 2235 }, updatePagination: function () { 2236 var e = this, t = e.params.a11y; 2237 e.pagination && e.params.pagination.clickable && e.pagination.bullets && e.pagination.bullets.length && e.pagination.bullets.each((function (i, s) { 2238 var a = n(s); 2239 e.a11y.makeElFocusable(a), e.a11y.addElRole(a, "button"), e.a11y.addElLabel(a, t.paginationBulletMessage.replace(/\{\{index\}\}/, a.index() + 1)) 2240 })) 2241 }, init: function () { 2242 this.$el.append(this.a11y.liveRegion); 2243 var e, t, i = this.params.a11y; 2244 this.navigation && this.navigation.$nextEl && (e = this.navigation.$nextEl), this.navigation && this.navigation.$prevEl && (t = this.navigation.$prevEl), e && (this.a11y.makeElFocusable(e), this.a11y.addElRole(e, "button"), this.a11y.addElLabel(e, i.nextSlideMessage), e.on("key
2244down", this.a11y.onEnterKey)), t && (this.a11y.makeElFocusable(t), this.a11y.addElRole(t, "button"), this.a11y.addElLabel(t, i.prevSlideMessage), t.on("keydown", this.a11y.onEnterKey)), this.pagination && this.params.pagination.clickable && this.pagination.bullets && this.pagination.bullets.length && this.pagination.$el.on("keydown", "." + this.params.pagination.bulletClass, this.a11y.onEnterKey) 2245 }, destroy: function () { 2246 var e, t; 2247 this.a11y.liveRegion && this.a11y.liveRegion.length > 0 && this.a11y.liveRegion.remove(), this.navigation && this.navigation.$nextEl && (e = this.navigation.$nextEl), this.navigation && this.navigation.$prevEl && (t = this.navigation.$prevEl), e && e.off("keydown", this.a11y.onEnterKey), t && t.off("keydown", this.a11y.onEnterKey), this.pagination && this.params.pagination.clickable && this.pagination.bullets && this.pagination.bullets.length && this.pagination.$el.off("keydown", "." + this.params.pagination.bulletClass, this.a11y.onEnterKey) 2248 } 2249 }, ve = { 2250 init: function () { 2251 if (this.params.history) { 2252 if (!a.history || !a.history.pushState) return this.params.history.enabled = !1, void (this.params.hashNavigation.enabled = !0); 2253 var e = this.history; 2254 e.initialized = !0, e.paths = ve.getPathValues(), (e.paths.key || e.paths.value) && (e.scrollToSlide(0, e.paths.value, this.params.runCallbacksOnInit), this.params.history.replaceState || a.addEventListener("popstate", this.history.setHistoryPopState)) 2255 } 2256 }, destroy: function () { 2257 this.params.history.replaceState || a.removeEventListener("popstate", this.history.setHistoryPopState) 2258 }, setHistoryPopState: function () { 2259 this.history.paths = ve.getPathValues(), this.history.scrollToSlide(this.params.speed, this.history.paths.value, !1) 2260 }, getPathValues: function () { 2261 var e = a.location.pathname.slice(1).split("/").filter((function (e) { 2262 return "" !== e 2263 })), t = e.length; 2264 return {key: e[t - 2], value: e[t - 1]} 2265 }, setHistory: function (e, t) { 2266 if (this.history.initialized && this.params.history.enabled) { 2267 var i = this.slides.eq(t), s = ve.slugify(i.attr("data-history")); 2268 a.location.pathname.includes(e) || (s = e + "/" + s); 2269 var r = a.history.state; 2270 r && r.value === s || (this.params.history.replaceState ? a.history.replaceState({value: s}, null, s) : a.history.pushState({value: s}, null, s)) 2271 } 2272 }, slugify: function (e) { 2273 return e.toString().replace(/\s+/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-").replace(/^-+/, "").replace(/-+$/, "") 2274 }, scrollToSlide: function (e, t, i) { 2275 if (t) for (var s = 0, a = this.slides.length; s < a; s += 1) { 2276 var r = this.slides.eq(s); 2277 if (ve.slugify(r.attr("data-history")) === t && !r.hasClass(this.params.slideDuplicateClass)) { 2278 var n = r.index(); 2279 this.slideTo(n, e, i) 2280 } 2281 } else this.slideTo(0, e, i) 2282 } 2283 }, fe = { 2284 onHashCange: function () { 2285 this.emit("hashChange"); 2286 var e = i.location.hash.replace("#", ""); 2287 if (e !== this.slides.eq(this.activeIndex).attr("data-hash")) { 2288 var t = this.$wrapperEl.children("." + this.params.slideClass + '[data-hash="' + e + '"]').index(); 2289 if (void 0 === t) return; 2290 this.slideTo(t) 2291 } 2292 }, setHash: function () { 2293 if (this.hashNavigation.initialized && this.params.hashNavigation.enabled) if (this.params.hashNavigation.replaceState && a.history && a.history.replaceState) a.history.replaceState(null, null, "#" + this.slides.eq(this.activeIndex).attr("data-hash") || ""), this.emit("hashSet"); else { 2294 var e = this.slides.eq(this.activeIndex), t = e.attr("data-hash") || e.attr("data-history");
2295 i.location.hash = t || "", this.emit("hashSet") 2296 } 2297 }, init: function () { 2298 if (!(!this.params.hashNavigation.enabled || this.params.history && this.params.history.enabled)) { 2299 this.hashNavigation.initialized = !0; 2300 var e = i.location.hash.replace("#", ""); 2301 if (e) for (var t = 0, s = this.slides.length; t < s; t += 1) { 2302 var r = this.slides.eq(t); 2303 if ((r.attr("data-hash") || r.attr("data-history")) === e && !r.hasClass(this.params.slideDuplicateClass)) { 2304 var o = r.index(); 2305 this.slideTo(o, 0, this.params.runCallbacksOnInit, !0) 2306 } 2307 } 2308 this.params.hashNavigation.watchState && n(a).on("hashchange", this.hashNavigation.onHashCange) 2309 } 2310 }, destroy: function () { 2311 this.params.hashNavigation.watchState && n(a).off("hashchange", this.hashNavigation.onHashCange) 2312 } 2313 }, me = { 2314 run: function () { 2315 var e = this, t = e.slides.eq(e.activeIndex), i = e.params.autoplay.delay; 2316 t.attr("data-swiper-autoplay") && (i = t.attr("data-swiper-autoplay") || e.params.autoplay.delay), clearTimeout(e.autoplay.timeout), e.autoplay.timeout = d.nextTick((function () { 2317 e.params.autoplay.reverseDirection ? e.params.loop ? (e.loopFix(), e.slidePrev(e.params.speed, !0, !0), e.emit("autoplay")) : e.isBeginning ? e.params.autoplay.stopOnLastSlide ? e.autoplay.stop() : (e.slideTo(e.slides.length - 1, e.params.speed, !0, !0), e.emit("autoplay")) : (e.slidePrev(e.params.speed, !0, !0), e.emit("autoplay")) : e.params.loop ? (e.loopFix(), e.slideNext(e.params.speed, !0, !0), e.emit("autoplay")) : e.isEnd ? e.params.autoplay.stopOnLastSlide ? e.autoplay.stop() : (e.slideTo(0, e.params.speed, !0, !0), e.emit("autoplay")) : (e.slideNext(e.params.speed, !0, !0), e.emit("autoplay")), e.params.cssMode && e.autoplay.running && e.autoplay.run() 2318 }), i) 2319 }, start: function () { 2320 return void 0 === this.autoplay.timeout && (!this.autoplay.running && (this.autoplay.running = !0, this.emit("autoplayStart"), this.autoplay.run(), !0)) 2321 }, stop: function () { 2322 return !!this.autoplay.running && (void 0 !== this.autoplay.timeout && (this.autoplay.timeout && (clearTimeout(this.autoplay.timeout), this.autoplay.timeout = void 0), this.autoplay.running = !1, this.emit("autoplayStop"), !0)) 2323 }, pause: function (e) { 2324 this.autoplay.running && (this.autoplay.paused || (this.autoplay.timeout && clearTimeout(this.autoplay.timeout), this.autoplay.paused = !0, 0 !== e && this.params.autoplay.waitForTransition ? (this.$wrapperEl[0].addEventListener("transitionend", this.autoplay.onTransitionEnd), this.$wrapperEl[0].addEventListener("webkitTransitionEnd", this.autoplay.onTransitionEnd)) : (this.autoplay.paused = !1, this.autoplay.run()))) 2325 } 2326 }, ge = { 2327 setTranslate: function () { 2328 for (var e = this.slides, t = 0; t < e.length; t += 1) { 2329 var i = this.slides.eq(t), s = -i[0].swiperSlideOffset; 2330 this.params.virtualTranslate || (s -= this.translate); 2331 var a = 0; 2332 this.isHorizontal() || (a = s, s = 0); 2333 var r = this.params.fadeEffect.crossFade ? Math.max(1 - Math.abs(i[0].progress), 0) : 1 + Math.min(Math.max(i[0].progress, -1), 0); 2334 i.css({opacity: r}).transform("translate3d(" + s + "px, " + a + "px, 0px)") 2335 } 2336 }, setTransition: function (e) { 2337 var t = this, i = t.slides, s = t.$wrapperEl; 2338 if (i.transition(e), t.params.virtualTranslate && 0 !== e) { 2339 var a = !1; 2340 i.transitionEnd((function () { 2341 if (!a && t && !t.destroyed) { 2342 a = !0, t.animating = !1; 2343 for (var e = ["webkitTransitionEnd", "transitionend"], i = 0; i < e.length; i += 1) s.trigger(e[i]) 2344 } 2345 })) 2346 } 2347 } 2348 }, be = { 2349 setTranslate: function () { 2350 var e, t = this.$el, i = this.$wrapperEl, s = this.slides, a = this.width, r = this.height, 2351 o = this.rtlTranslate, l = this.size, d = this.params.cubeEffect, h = this.isHorizontal(), 2352 p = this.virtual && this.params.virtual.enabled, c = 0; 2353 d.shadow && (h ? (0 === (e = i.find(".swiper-cube-shadow")).length && (e = n('<div class="swiper-cube-shadow"></div>'), i.append(e)), e.css({height: a + "px"})) : 0 === (e = t.find(".swiper-cube-shadow")).length && (e = n('<div class="swiper-cube-shadow"></div>'), t.append(e))); 2354 for (var u = 0; u < s.length; u += 1) { 2355 var v = s.eq(u), f = u; 2356 p && (f = parseInt(v.attr("data-swiper-slide-index"), 10)); 2357 var m = 90 * f, g = Math.floor(m / 360);
vendor: 5,239 bytes, lines 2358-2413
2358 o && (m = -m, g = Math.floor(-m / 360)); 2359 var b = Math.max(Math.min(v[0].progress, 1), -1), w = 0, y = 0, x = 0; 2360 f % 4 == 0 ? (w = 4 * -g * l, x = 0) : (f - 1) % 4 == 0 ? (w = 0, x = 4 * -g * l) : (f - 2) % 4 == 0 ? (w = l + 4 * g * l, x = l) : (f - 3) % 4 == 0 && (w = -l, x = 3 * l + 4 * l * g), o && (w = -w), h || (y = w, w = 0); 2361 var E = "rotateX(" + (h ? 0 : -m) + "deg) rotateY(" + (h ? m : 0) + "deg) translate3d(" + w + "px, " + y + "px, " + x + "px)"; 2362 if (b <= 1 && b > -1 && (c = 90 * f + 90 * b, o && (c = 90 * -f - 90 * b)), v.transform(E), d.slideShadows) { 2363 var T = h ? v.find(".swiper-slide-shadow-left") : v.find(".swiper-slide-shadow-top"), 2364 S = h ? v.find(".swiper-slide-shadow-right") : v.find(".swiper-slide-shadow-bottom"); 2365 0 === T.length && (T = n('<div class="swiper-slide-shadow-' + (h ? "left" : "top") + '"></div>'), v.append(T)), 0 === S.length && (S = n('<div class="swiper-slide-shadow-' + (h ? "right" : "bottom") + '"></div>'), v.append(S)), T.length && (T[0].style.opacity = Math.max(-b, 0)), S.length && (S[0].style.opacity = Math.max(b, 0)) 2366 } 2367 } 2368 if (i.css({ 2369 "-webkit-transform-origin": "50% 50% -" + l / 2 + "px", 2370 "-moz-transform-origin": "50% 50% -" + l / 2 + "px", 2371 "-ms-transform-origin": "50% 50% -" + l / 2 + "px", 2372 "transform-origin": "50% 50% -" + l / 2 + "px" 2373 }), d.shadow) if (h) e.transform("translate3d(0px, " + (a / 2 + d.shadowOffset) + "px, " + -a / 2 + "px) rotateX(90deg) rotateZ(0deg) scale(" + d.shadowScale + ")"); else { 2374 var C = Math.abs(c) - 90 * Math.floor(Math.abs(c) / 90), 2375 M = 1.5 - (Math.sin(2 * C * Math.PI / 360) / 2 + Math.cos(2 * C * Math.PI / 360) / 2), 2376 P = d.shadowScale, z = d.shadowScale / M, k = d.shadowOffset; 2377 e.transform("scale3d(" + P + ", 1, " + z + ") translate3d(0px, " + (r / 2 + k) + "px, " + -r / 2 / z + "px) rotateX(-90deg)") 2378 } 2379 var $ = _.isSafari || _.isWebView ? -l / 2 : 0; 2380 i.transform("translate3d(0px,0," + $ + "px) rotateX(" + (this.isHorizontal() ? 0 : c) + "deg) rotateY(" + (this.isHorizontal() ? -c : 0) + "deg)") 2381 }, setTransition: function (e) { 2382 var t = this.$el; 2383 this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e), this.params.cubeEffect.shadow && !this.isHorizontal() && t.find(".swiper-cube-shadow").transition(e) 2384 } 2385 }, we = { 2386 setTranslate: function () { 2387 for (var e = this.slides, t = this.rtlTranslate, i = 0; i < e.length; i += 1) { 2388 var s = e.eq(i), a = s[0].progress; 2389 this.params.flipEffect.limitRotation && (a = Math.max(Math.min(s[0].progress, 1), -1)); 2390 var r = -180 * a, o = 0, l = -s[0].swiperSlideOffset, d = 0; 2391 if (this.isHorizontal() ? t && (r = -r) : (d = l, l = 0, o = -r, r = 0), s[0].style.zIndex = -Math.abs(Math.round(a)) + e.length, this.params.flipEffect.slideShadows) { 2392 var h = this.isHorizontal() ? s.find(".swiper-slide-shadow-left") : s.find(".swiper-slide-shadow-top"), 2393 p = this.isHorizontal() ? s.find(".swiper-slide-shadow-right") : s.find(".swiper-slide-shadow-bottom"); 2394 0 === h.length && (h = n('<div class="swiper-slide-shadow-' + (this.isHorizontal() ? "left" : "top") + '"></div>'), s.append(h)), 0 === p.length && (p = n('<div class="swiper-slide-shadow-' + (this.isHorizontal() ? "right" : "bottom") + '"></div>'), s.append(p)), h.length && (h[0].style.opacity = Math.max(-a, 0)), p.length && (p[0].style.opacity = Math.max(a, 0)) 2395 } 2396 s.transform("translate3d(" + l + "px, " + d + "px, 0px) rotateX(" + o + "deg) rotateY(" + r + "deg)") 2397 } 2398 }, setTransition: function (e) { 2399 var t = this, i = t.slides, s = t.activeIndex, a = t.$wrapperEl; 2400 if (i.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e), t.params.virtualTranslate && 0 !== e) { 2401 var r = !1; 2402 i.eq(s).transitionEnd((function () { 2403 if (!r && t && !t.destroyed) { 2404 r = !0, t.animating = !1; 2405 for (var e = ["webkitTransitionEnd", "transitionend"], i = 0; i < e.length; i += 1) a.trigger(e[i]) 2406 } 2407 })) 2408 } 2409 } 2410 }, ye = { 2411 setTranslate: function () { 2412 for (var e = this.width, t = this.height, i = this.slides, s = this.$wrapperEl, a = this.slidesSizesGrid, r = this.params.coverflowEffect, o = this.isHorizontal(), l = this.translate, d = o ? e / 2 - l : t / 2 - l, p = o ? r.rotate : -r.rotate, c = r.depth, u = 0, v = i.length; u < v; u += 1) { 2413 var f = i.eq(u), m = a[u], g = (d - f[0].swiperSlideOffset - m / 2) / m * r.modifier, b = o ? p * g : 0,
2414 w = o ? 0 : p * g, y = -c * Math.abs(g), x = r.stretch; 2415 "string" == typeof x && -1 !== x.indexOf("%") && (x = parseFloat(r.stretch) / 100 * m); 2416 var E = o ? 0 : x * g, T = o ? x * g : 0, S = 1 - (1 - r.scale) * Math.abs(g); 2417 Math.abs(T) < .001 && (T = 0), Math.abs(E) < .001 && (E = 0), Math.abs(y) < .001 && (y = 0), Math.abs(b) < .001 && (b = 0), Math.abs(w) < .001 && (w = 0), Math.abs(S) < .001 && (S = 0); 2418 var C = "translate3d(" + T + "px," + E + "px," + y + "px) rotateX(" + w + "deg) rotateY(" + b + "deg) scale(" + S + ")"; 2419 if (f.transform(C), f[0].style.zIndex = 1 - Math.abs(Math.round(g)), r.slideShadows) { 2420 var M = o ? f.find(".swiper-slide-shadow-left") : f.find(".swiper-slide-shadow-top"), 2421 P = o ? f.find(".swiper-slide-shadow-right") : f.find(".swiper-slide-shadow-bottom"); 2422 0 === M.length && (M = n('<div class="swiper-slide-shadow-' + (o ? "left" : "top") + '"></div>'), f.append(M)), 0 === P.length && (P = n('<div class="swiper-slide-shadow-' + (o ? "right" : "bottom") + '"></div>'), f.append(P)), M.length && (M[0].style.opacity = g > 0 ? g : 0), P.length && (P[0].style.opacity = -g > 0 ? -g : 0) 2423 } 2424 } 2425 (h.pointerEvents || h.prefixedPointerEvents) && (s[0].style.perspectiveOrigin = d + "px 50%") 2426 }, setTransition: function (e) { 2427 this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e) 2428 } 2429 }, xe = { 2430 init: function () { 2431 var e = this.params.thumbs, t = this.constructor; 2432 e.swiper instanceof t ? (this.thumbs.swiper = e.swiper, d.extend(this.thumbs.swiper.originalParams, { 2433 watchSlidesProgress: !0, 2434 slideToClickedSlide: !1 2435 }), d.extend(this.thumbs.swiper.params, { 2436 watchSlidesProgress: !0, 2437 slideToClickedSlide: !1 2438 })) : d.isObject(e.swiper) && (this.thumbs.swiper = new t(d.extend({}, e.swiper, { 2439 watchSlidesVisibility: !0, 2440 watchSlidesProgress: !0, 2441 slideToClickedSlide: !1 2442 })), this.thumbs.swiperCreated = !0), this.thumbs.swiper.$el.addClass(this.params.thumbs.thumbsContainerClass), this.thumbs.swiper.on("tap", this.thumbs.onThumbClick) 2443 }, onThumbClick: function () { 2444 var e = this.thumbs.swiper; 2445 if (e) { 2446 var t = e.clickedIndex, i = e.clickedSlide; 2447 if (!(i && n(i).hasClass(this.params.thumbs.slideThumbActiveClass) || null == t)) { 2448 var s; 2449 if (s = e.params.loop ? parseInt(n(e.clickedSlide).attr("data-swiper-slide-index"), 10) : t, this.params.loop) { 2450 var a = this.activeIndex; 2451 this.slides.eq(a).hasClass(this.params.slideDuplicateClass) && (this.loopFix(), this._clientLeft = this.$wrapperEl[0].clientLeft, a = this.activeIndex); 2452 var r = this.slides.eq(a).prevAll('[data-swiper-slide-index="' + s + '"]').eq(0).index(), 2453 o = this.slides.eq(a).nextAll('[data-swiper-slide-index="' + s + '"]').eq(0).index(); 2454 s = void 0 === r ? o : void 0 === o ? r : o - a < a - r ? o : r 2455 } 2456 this.slideTo(s) 2457 } 2458 } 2459 }, update: function (e) { 2460 var t = this.thumbs.swiper; 2461 if (t) { 2462 var i = "auto" === t.params.slidesPerView ? t.slidesPerViewDynamic() : t.params.slidesPerView, 2463 s = this.params.thumbs.autoScrollOffset, a = s && !t.params.loop; 2464 if (this.realIndex !== t.realIndex || a) { 2465 var r, n, o = t.activeIndex; 2466 if (t.params.loop) { 2467 t.slides.eq(o).hasClass(t.params.slideDuplicateClass) && (t.loopFix(), t._clientLeft = t.$wrapperEl[0].clientLeft, o = t.activeIndex); 2468 var l = t.slides.eq(o).prevAll('[data-swiper-slide-index="' + this.realIndex + '"]').eq(0).index(), 2469 d = t.slides.eq(o).nextAll('[data-swiper-slide-index="' + this.realIndex + '"]').eq(0).index(); 2470 r = void 0 === l ? d : void 0 === d ? l : d - o == o - l ? o : d - o < o - l ? d : l, n = this.activeIndex > this.previousIndex ? "next" : "prev" 2471 } else n = (r = this.realIndex) > this.previousIndex ? "next" : "prev"; 2472 a && (r += "next" === n ? s : -1 * s), t.visibleSlidesIndexes && t.visibleSlidesIndexes.indexOf(r) < 0 && (t.params.centeredSlides ? r = r > o ? r - Math.floor(i / 2) + 1 : r + Math.floor(i / 2) - 1 : r > o && (r = r - i + 1), t.slideTo(r, e ? 0 : void 0)) 2473 } 2474 var h = 1, p = this.params.thumbs.slideThumbActiveClass; 2475 if (this.params.slidesPerView > 1 && !this.params.centeredSlides && (h = this.params.slidesPerView), this.params.thumbs.multipleActiveThumbs || (h = 1), h = Math.floor(h), t.slides.removeClass(p), t.params.loop || t.params.virtual && t.params.virtual.enabled) for (var c = 0; c < h; c += 1) t.$wrapperEl.children('[data-swiper-slide-index="' + (this.realIndex + c) + '"]').addClass(p); else for (var u = 0; u < h; u += 1) t.slides.eq(this.realIndex + u).addClass(p) 2476 } 2477 } 2478 }, Ee = [K, U, Z, Q, ee, ie, ae, { 2479 name: "mousewheel", 2480 params: { 2481 mousewheel: { 2482 enabled: !1, 2483 releaseOnEdges: !1, 2484 invert: !1, 2485 forceToAxis: !1, 2486 sensitivity: 1, 2487 eventsTarged: "container" 2488 } 2489 }, 2490 create: function () { 2491 d.extend(this, { 2492 mousewheel: { 2493 enabled: !1, 2494 enable: re.enable.bind(this), 2495 disable: re.disable.bind(this), 2496 handle: re.handle.bind(this), 2497 handleMouseEnter: re.handleMouseEnter.bind(this), 2498 handleMouseLeave: re.handleMouseLeave.bind(this), 2499 animateSlider: re.animateSlider.bind(this), 2500 releaseScroll: re.releaseScroll.bind(this), 2501 lastScrollTime: d.now(), 2502 lastEventBeforeSnap: void 0, 2503 recentWheelEvents: [] 2504 } 2505 }) 2506 }, 2507 on: { 2508 init: function () { 2509 !this.params.mousewheel.enabled && this.params.cssMode && this.mousewheel.disable(), this.params.mousewheel.enabled && this.mousewheel.enable() 2510 }, destroy: function () { 2511 this.params.cssMode && this.mousewheel.enable(), this.mousewheel.enabled && this.mousewheel.disable() 2512 } 2513 } 2514 }, {
2515 name: "navigation", 2516 params: { 2517 navigation: { 2518 nextEl: null, 2519 prevEl: null, 2520 hideOnClick: !1, 2521 disabledClass: "swiper-button-disabled", 2522 hiddenClass: "swiper-button-hidden", 2523 lockClass: "swiper-button-lock" 2524 } 2525 }, 2526 create: function () { 2527 d.extend(this, { 2528 navigation: { 2529 init: ne.init.bind(this), 2530 update: ne.update.bind(this), 2531 destroy: ne.destroy.bind(this), 2532 onNextClick: ne.onNextClick.bind(this), 2533 onPrevClick: ne.onPrevClick.bind(this) 2534 } 2535 }) 2536 }, 2537 on: { 2538 init: function () { 2539 this.navigation.init(), this.navigation.update() 2540 }, toEdge: function () { 2541 this.navigation.update() 2542 }, fromEdge: function () { 2543 this.navigation.update() 2544 }, destroy: function () { 2545 this.navigation.destroy() 2546 }, click: function (e) { 2547 var t, i = this.navigation, s = i.$nextEl, a = i.$prevEl; 2548 !this.params.navigation.hideOnClick || n(e.target).is(a) || n(e.target).is(s) || (s ? t = s.hasClass(this.params.navigation.hiddenClass) : a && (t = a.hasClass(this.params.navigation.hiddenClass)), !0 === t ? this.emit("navigationShow", this) : this.emit("navigationHide", this), s && s.toggleClass(this.params.navigation.hiddenClass), a && a.toggleClass(this.params.navigation.hiddenClass)) 2549 } 2550 } 2551 }, { 2552 name: "pagination", 2553 params: { 2554 pagination: { 2555 el: null, 2556 bulletElement: "span", 2557 clickable: !1, 2558 hideOnClick: !1, 2559 renderBullet: null, 2560 renderProgressbar: null, 2561 renderFraction: null, 2562 renderCustom: null, 2563 progressbarOpposite: !1, 2564 type: "bullets", 2565 dynamicBullets: !1, 2566 dynamicMainBullets: 1, 2567 formatFractionCurrent: function (e) { 2568 return e 2569 }, 2570 formatFractionTotal: function (e) { 2571 return e 2572 }, 2573 bulletClass: "swiper-pagination-bullet", 2574 bulletActiveClass: "swiper-pagination-bullet-active", 2575 modifierClass: "swiper-pagination-", 2576 currentClass: "swiper-pagination-current", 2577 totalClass: "swiper-pagination-total", 2578 hiddenClass: "swiper-pagination-hidden", 2579 progressbarFillClass: "swiper-pagination-progressbar-fill", 2580 progressbarOppositeClass: "swiper-pagination-progressbar-opposite", 2581 clickableClass: "swiper-pagination-clickable", 2582 lockClass: "swiper-pagination-lock" 2583 } 2584 }, 2585 create: function () { 2586 d.extend(this, { 2587 pagination: { 2588 init: oe.init.bind(this), 2589 render: oe.render.bind(this), 2590 update: oe.update.bind(this), 2591 destroy: oe.destroy.bind(this), 2592 dynamicBulletIndex: 0 2593 } 2594 }) 2595 }, 2596 on: { 2597 init: function () { 2598 this.pagination.init(), this.pagination.render(), this.pagination.update() 2599 }, activeIndexChange: function () { 2600 (this.params.loop || void 0 === this.snapIndex) && this.pagination.update() 2601 }, snapIndexChange: function () { 2602 this.params.loop || this.pagination.update() 2603 }, slidesLengthChange: function () { 2604 this.params.loop && (this.pagination.render(), this.pagination.update()) 2605 }, snapGridLengthChange: function () { 2606 this.params.loop || (this.pagination.render(), this.pagination.update()) 2607 }, destroy: function () { 2608 this.pagination.destroy() 2609 }, click: function (e) { 2610 this.params.pagination.el && this.params.pagination.hideOnClick && this.pagination.$el.length > 0 && !n(e.target).hasClass(this.params.pagination.bulletClass) && (!0 === this.pagination.$el.hasClass(this.params.pagination.hiddenClass) ? this.emit
vendor: 15,309 bytes, lines 2610-2950
2610("paginationShow", this) : this.emit("paginationHide", this), this.pagination.$el.toggleClass(this.params.pagination.hiddenClass)) 2611 } 2612 } 2613 }, { 2614 name: "scrollbar", 2615 params: { 2616 scrollbar: { 2617 el: null, 2618 dragSize: "auto", 2619 hide: !1, 2620 draggable: !1, 2621 snapOnRelease: !0, 2622 lockClass: "swiper-scrollbar-lock", 2623 dragClass: "swiper-scrollbar-drag" 2624 } 2625 }, 2626 create: function () { 2627 d.extend(this, { 2628 scrollbar: { 2629 init: le.init.bind(this), 2630 destroy: le.destroy.bind(this), 2631 updateSize: le.updateSize.bind(this), 2632 setTranslate: le.setTranslate.bind(this), 2633 setTransition: le.setTransition.bind(this), 2634 enableDraggable: le.enableDraggable.bind(this), 2635 disableDraggable: le.disableDraggable.bind(this), 2636 setDragPosition: le.setDragPosition.bind(this), 2637 getPointerPosition: le.getPointerPosition.bind(this), 2638 onDragStart: le.onDragStart.bind(this), 2639 onDragMove: le.onDragMove.bind(this), 2640 onDragEnd: le.onDragEnd.bind(this), 2641 isTouched: !1, 2642 timeout: null, 2643 dragTimeout: null 2644 } 2645 }) 2646 }, 2647 on: { 2648 init: function () { 2649 this.scrollbar.init(), this.scrollbar.updateSize(), this.scrollbar.setTranslate() 2650 }, update: function () { 2651 this.scrollbar.updateSize() 2652 }, resize: function () { 2653 this.scrollbar.updateSize() 2654 }, observerUpdate: function () { 2655 this.scrollbar.updateSize() 2656 }, setTranslate: function () { 2657 this.scrollbar.setTranslate() 2658 }, setTransition: function (e) { 2659 this.scrollbar.setTransition(e) 2660 }, destroy: function () { 2661 this.scrollbar.destroy() 2662 } 2663 } 2664 }, { 2665 name: "parallax", params: {parallax: {enabled: !1}}, create: function () { 2666 d.extend(this, { 2667 parallax: { 2668 setTransform: de.setTransform.bind(this), 2669 setTranslate: de.setTranslate.bind(this), 2670 setTransition: de.setTransition.bind(this) 2671 } 2672 }) 2673 }, on: { 2674 beforeInit: function () { 2675 this.params.parallax.enabled && (this.params.watchSlidesProgress = !0, this.originalParams.watchSlidesProgress = !0) 2676 }, init: function () { 2677 this.params.parallax.enabled && this.parallax.setTranslate() 2678 }, setTranslate: function () { 2679 this.params.parallax.enabled && this.parallax.setTranslate() 2680 }, setTransition: function (e) { 2681 this.params.parallax.enabled && this.parallax.setTransition(e) 2682 } 2683 } 2684 }, { 2685 name: "zoom", 2686 params: { 2687 zoom: { 2688 enabled: !1, 2689 maxRatio: 3, 2690 minRatio: 1, 2691 toggle: !0, 2692 containerClass: "swiper-zoom-container", 2693 zoomedSlideClass: "swiper-slide-zoomed" 2694 } 2695 }, 2696 create: function () { 2697 var e = this, t = { 2698 enabled: !1, 2699 scale: 1, 2700 currentScale: 1, 2701 isScaling: !1, 2702 gesture: { 2703 $slideEl: void 0, 2704 slideWidth: void 0, 2705 slideHeight: void 0, 2706 $imageEl: void 0, 2707 $imageWrapEl: void 0, 2708 maxRatio: 3 2709 }, 2710 image: { 2711 isTouched: void 0, 2712 isMoved: void 0, 2713 currentX: void 0, 2714 currentY: void 0, 2715 minX: void 0, 2716 minY: void 0, 2717 maxX: void 0, 2718 maxY: void 0, 2719 width: void 0, 2720 height: void 0, 2721 startX: void 0, 2722 startY: void 0, 2723 touchesStart: {}, 2724 touchesCurrent: {} 2725 }, 2726 velocity: {x: void 0, y: void 0, prevPositionX: void 0, prevPositionY: void 0, prevTime: void 0} 2727 }; 2728 "onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach((function (i) { 2729 t[i] = he[i].bind(e) 2730 })), d.extend(e, {zoom: t}); 2731 var i = 1; 2732 Object.defineProperty(e.zoom, "scale", { 2733 get: function () { 2734 return i 2735 }, set: function (t) { 2736 if (i !== t) { 2737 var s = e.zoom.gesture.$imageEl ? e.zoom.gesture.$imageEl[0] : void 0, 2738 a = e.zoom.gesture.$slideEl ? e.zoom.gesture.$slideEl[0] : void 0; 2739 e.emit("zoomChange", t, s, a) 2740 } 2741 i = t 2742 } 2743 }) 2744 }, 2745 on: { 2746 init: function () { 2747 this.params.zoom.enabled && this.zoom.enable() 2748 }, destroy: function () { 2749 this.zoom.disable() 2750 }, touchStart: function (e) { 2751 this.zoom.enabled && this.zoom.onTouchStart(e) 2752 }, touchEnd: function (e) { 2753 this.zoom.enabled && this.zoom.onTouchEnd(e) 2754 }, doubleTap: function (e) { 2755 this.params.zoom.enabled && this.zoom.enabled && this.params.zoom.toggle && this.zoom.toggle(e) 2756 }, transitionEnd: function () { 2757 this.zoom.enabled && this.params.zoom.enabled && this.zoom.onTransitionEnd() 2758 }, slideChange: function () { 2759 this.zoom.enabled && this.params.zoom.enabled && this.params.cssMode && this.zoom.onTransitionEnd() 2760 } 2761 } 2762 }, { 2763 name: "lazy", 2764 params: { 2765 lazy: { 2766 enabled: !1, 2767 loadPrevNext: !1, 2768 loadPrevNextAmount: 1, 2769 loadOnTransitionStart: !1, 2770 elementClass: "swiper-lazy", 2771 loadingClass: "swiper-lazy-loading", 2772 loadedClass: "swiper-lazy-loaded", 2773 preloaderClass: "swiper-lazy-preloader" 2774 } 2775 }, 2776 create: function () { 2777 d.extend(this, { 2778 lazy: { 2779 initialImageLoaded: !1, 2780 load: pe.load.bind(this), 2781 loadInSlide: pe.loadInSlide.bind(this) 2782 } 2783 }) 2784 }, 2785 on: { 2786 beforeInit: function () { 2787 this.params.lazy.enabled && this.params.preloadImages && (this.params.preloadImages = !1) 2788 }, init: function () { 2789 this.params.lazy.enabled && !this.params.loop && 0 === this.params.initialSlide && this.lazy.load() 2790 }, scroll: function () { 2791 this.params.freeMode && !this.params.freeModeSticky && this.lazy.load() 2792 }, resize: function () { 2793 this.params.lazy.enabled && this.lazy.load() 2794 }, scrollbarDragMove: function () { 2795 this.params.lazy.enabled && this.lazy.load() 2796 }, transitionStart: function () { 2797 this.params.lazy.enabled && (this.params.lazy.loadOnTransitionStart || !this.params.lazy.loadOnTransitionStart && !this.lazy.initialImageLoaded) && this.lazy.load() 2798 }, transitionEnd: function () { 2799 this.params.lazy.enabled && !this.params.lazy.loadOnTransitionStart && this.lazy.load() 2800 }, slideChange: function () { 2801 this.params.lazy.enabled && this.params.cssMode && this.lazy.load() 2802 } 2803 } 2804 }, { 2805 name: "controller", params: {controller: {control: void 0, inverse: !1, by: "slide"}}, create: function () { 2806 d.extend(this, { 2807 controller: { 2808 control: this.params.controller.control, 2809 getInterpolateFunction: ce.getInterpolateFunction.bind(this), 2810 setTranslate: ce.setTranslate.bind(this), 2811 setTransition: ce.setTransition.bind(this) 2812 } 2813 }) 2814 }, on: { 2815 update: function () { 2816 this.controller.control && this.controller.spline && (this.controller.spline = void 0, delete this.controller.spline) 2817 }, resize: function () { 2818 this.controller.control && this.controller.spline && (this.controller.spline = void 0, delete this.controller.spline) 2819 }, observerUpdate: function () { 2820 this.controller.control && this.controller.spline && (this.controller.spline = void 0, delete this.controller.spline) 2821 }, setTranslate: function (e, t) { 2822 this.controller.control && this.controller.setTranslate(e, t) 2823 }, setTransition: function (e, t) { 2824 this.controller.control && this.controller.setTransition(e, t) 2825 } 2826 } 2827 }, { 2828 name: "a11y", 2829 params: { 2830 a11y: { 2831 enabled: !0, 2832 notificationClass: "swiper-notification", 2833 prevSlideMessage: "Previous slide", 2834 nextSlideMessage: "Next slide", 2835 firstSlideMessage: "This is the first slide", 2836 lastSlideMessage: "This is the last slide", 2837 paginationBulletMessage: "Go to slide {{index}}" 2838 } 2839 }, 2840 create: function () { 2841 var e = this; 2842 d.extend(e, {a11y: {liveRegion: n('<span class="' + e.params.a11y.notificationClass + '" aria-live="assertive" aria-atomic="true"></span>')}}), Object.keys(ue).forEach((function (t) { 2843 e.a11y[t] = ue[t].bind(e) 2844 })) 2845 }, 2846 on: { 2847 init: function () { 2848 this.params.a11y.enabled && (this.a11y.init(), this.a11y.updateNavigation()) 2849 }, toEdge: function () { 2850 this.params.a11y.enabled && this.a11y.updateNavigation() 2851 }, fromEdge: function () { 2852 this.params.a11y.enabled && this.a11y.updateNavigation() 2853 }, paginationUpdate: function () { 2854 this.params.a11y.enabled && this.a11y.updatePagination() 2855 }, destroy: function () { 2856 this.params.a11y.enabled && this.a11y.destroy() 2857 } 2858 } 2859 }, { 2860 name: "history", params: {history: {enabled: !1, replaceState: !1, key: "slides"}}, create: function () { 2861 d.extend(this, { 2862 history: { 2863 init: ve.init.bind(this), 2864 setHistory: ve.setHistory.bind(this), 2865 setHistoryPopState: ve.setHistoryPopState.bind(this), 2866 scrollToSlide: ve.scrollToSlide.bind(this), 2867 destroy: ve.destroy.bind(this) 2868 } 2869 }) 2870 }, on: { 2871 init: function () { 2872 this.params.history.enabled && this.history.init() 2873 }, destroy: function () { 2874 this.params.history.enabled && this.history.destroy() 2875 }, transitionEnd: function () { 2876 this.history.initialized && this.history.setHistory(this.params.history.key, this.activeIndex) 2877 }, slideChange: function () { 2878 this.history.initialized && this.params.cssMode && this.history.setHistory(this.params.history.key, this.activeIndex) 2879 } 2880 } 2881 }, { 2882 name: "hash-navigation", 2883 params: {hashNavigation: {enabled: !1, replaceState: !1, watchState: !1}}, 2884 create: function () { 2885 d.extend(this, { 2886 hashNavigation: { 2887 initialized: !1, 2888 init: fe.init.bind(this), 2889 destroy: fe.destroy.bind(this), 2890 setHash: fe.setHash.bind(this), 2891 onHashCange: fe.onHashCange.bind(this) 2892 } 2893 }) 2894 }, 2895 on: { 2896 init: function () { 2897 this.params.hashNavigation.enabled && this.hashNavigation.init() 2898 }, destroy: function () { 2899 this.params.hashNavigation.enabled && this.hashNavigation.destroy() 2900 }, transitionEnd: function () { 2901 this.hashNavigation.initialized && this.hashNavigation.setHash() 2902 }, slideChange: function () { 2903 this.hashNavigation.initialized && this.params.cssMode && this.hashNavigation.setHash() 2904 } 2905 } 2906 }, { 2907 name: "autoplay", 2908 params: { 2909 autoplay: { 2910 enabled: !1, 2911 delay: 3e3, 2912 waitForTransition: !0, 2913 disableOnInteraction: !0, 2914 stopOnLastSlide: !1, 2915 reverseDirection: !1 2916 } 2917 }, 2918 create: function () { 2919 var e = this; 2920 d.extend(e, { 2921 autoplay: { 2922 running: !1, 2923 paused: !1, 2924 run: me.run.bind(e), 2925 start: me.start.bind(e), 2926 stop: me.stop.bind(e), 2927 pause: me.pause.bind(e), 2928 onVisibilityChange: function () { 2929 "hidden" === document.visibilityState && e.autoplay.running && e.autoplay.pause(), "visible" === document.visibilityState && e.autoplay.paused && (e.autoplay.run(), e.autoplay.paused = !1) 2930 }, 2931 onTransitionEnd: function (t) { 2932 e && !e.destroyed && e.$wrapperEl && t.target === this && (e.$wrapperEl[0].removeEventListener("transitionend", e.autoplay.onTransitionEnd), e.$wrapperEl[0].removeEventListener("webkitTransitionEnd", e.autoplay.onTransitionEnd), e.autoplay.paused = !1, e.autoplay.running ? e.autoplay.run() : e.autoplay.stop()) 2933 } 2934 } 2935 }) 2936 }, 2937 on: { 2938 init: function () { 2939 this.params.autoplay.enabled && (this.autoplay.start(), document.addEventListener("visibilitychange", this.autoplay.onVisibilityChange)) 2940 }, beforeTransitionStart: function (e, t) { 2941 this.autoplay.running && (t || !this.params.autoplay.disableOnInteraction ? this.autoplay.pause(e) : this.autoplay.stop()) 2942 }, sliderFirstMove: function () { 2943 this.autoplay.running && (this.params.autoplay.disableOnInteraction ? this.autoplay.stop() : this.autoplay.pause()) 2944 }, touchEnd: function () { 2945 this.params.cssMode && this.autoplay.paused && !this.params.autoplay.disableOnInteraction && this.autoplay.run() 2946 }, destroy: function () { 2947 this.autoplay.running && this.autoplay.stop(), document.removeEventListener("visibilitychange", this.autoplay.onVisibilityChange) 2948 } 2949 } 2950 }, {
2951 name: "effect-fade", params: {fadeEffect: {crossFade: !1}}, create: function () { 2952 d.extend(this, { 2953 fadeEffect: { 2954 setTranslate: ge.setTranslate.bind(this), 2955 setTransition: ge.setTransition.bind(this) 2956 } 2957 }) 2958 }, on: { 2959 beforeInit: function () { 2960 if ("fade" === this.params.effect) { 2961 this.classNames.push(this.params.containerModifierClass + "fade"); 2962 var e = { 2963 slidesPerView: 1, 2964 slidesPerColumn: 1, 2965 slidesPerGroup: 1, 2966 watchSlidesProgress: !0, 2967 spaceBetween: 0, 2968 virtualTranslate: !0 2969 }; 2970 d.extend(this.params, e), d.extend(this.originalParams, e) 2971 } 2972 }, setTranslate: function () { 2973 "fade" === this.params.effect && this.fadeEffect.setTranslate() 2974 }, setTransition: function (e) { 2975 "fade" === this.params.effect && this.fadeEffect.setTransition(e) 2976 } 2977 } 2978 }, { 2979 name: "effect-cube", 2980 params: {cubeEffect: {slideShadows: !0, shadow: !0, shadowOffset: 20, shadowScale: .94}}, 2981 create: function () { 2982 d.extend(this, { 2983 cubeEffect: { 2984 setTranslate: be.setTranslate.bind(this), 2985 setTransition: be.setTransition.bind(this) 2986 } 2987 }) 2988 }, 2989 on: { 2990 beforeInit: function () { 2991 if ("cube" === this.params.effect) { 2992 this.classNames.push(this.params.containerModifierClass + "cube"), this.classNames.push(this.params.containerModifierClass + "3d"); 2993 var e = { 2994 slidesPerView: 1, 2995 slidesPerColumn: 1, 2996 slidesPerGroup: 1, 2997 watchSlidesProgress: !0, 2998 resistanceRatio: 0, 2999 spaceBetween: 0, 3000 centeredSlides: !1, 3001 virtualTranslate: !0 3002 }; 3003 d.extend(this.params, e), d.extend(this.originalParams, e) 3004 } 3005 }, setTranslate: function () { 3006 "cube" === this.params.effect && this.cubeEffect.setTranslate() 3007 }, setTransition: function (e) { 3008 "cube" === this.params.effect && this.cubeEffect.setTransition(e) 3009 } 3010 } 3011 }, { 3012 name: "effect-flip", params: {flipEffect: {slideShadows: !0, limitRotation: !0}}, create: function () { 3013 d.extend(this, { 3014 flipEffect: { 3015 setTranslate: we.setTranslate.bind(this), 3016 setTransition: we.setTransition.bind(this) 3017 } 3018 }) 3019 }, on: { 3020 beforeInit: function () { 3021 if ("flip" === this.params.effect) { 3022 this.classNames.push(this.params.containerModifierClass + "flip"), this.classNames.push(this.params.containerModifierClass + "3d"); 3023 var e = { 3024 slidesPerView: 1, 3025 slidesPerColumn: 1, 3026 slidesPerGroup: 1, 3027 watchSlidesProgress: !0, 3028 spaceBetween: 0, 3029 virtualTranslate: !0 3030 }; 3031 d.extend(this.params, e), d.extend(this.originalParams, e) 3032 } 3033 }, setTranslate: function () { 3034 "flip" === this.params.effect && this.flipEffect.setTranslate() 3035 }, setTransition: function (e) { 3036 "flip" === this.params.effect && this.flipEffect.setTransition(e) 3037 } 3038 } 3039 }, { 3040 name: "effect-coverflow", 3041 params: {coverflowEffect: {rotate: 50, stretch: 0, depth: 100, scale: 1, modifier: 1, slideShadows: !0}}, 3042 create: function () { 3043 d.extend(this, { 3044 coverflowEffect: { 3045 setTranslate: ye.setTranslate.bind(this), 3046 setTransition: ye.setTransition.bind(this) 3047 } 3048 }) 3049 }, 3050 on: { 3051 beforeInit: function () { 3052 "coverflow" === this.params.effect && (this.classNames.push(this.params.containerModifierClass + "coverflow"), this.classNames.push(this.params.containerModifierClass + "3d"), this.params.watchSlidesProgress = !0, this.originalParams.watchSlidesProgress = !0) 3053 }, setTranslate: function () { 3054 "coverflow" === this.params.effect && this.coverflowEffect.setTranslate() 3055 }, setTransition: function (e) { 3056 "coverflow" === this.params.effect && this.coverflowEffect.setTransition(e) 3057 } 3058 } 3059 }, {
vendor: 16,384 bytes, lines 3060-3428
3060 name: "thumbs", 3061 params: { 3062 thumbs: { 3063 swiper: null, 3064 multipleActiveThumbs: !0, 3065 autoScrollOffset: 0, 3066 slideThumbActiveClass: "swiper-slide-thumb-active", 3067 thumbsContainerClass: "swiper-container-thumbs" 3068 } 3069 }, 3070 create: function () { 3071 d.extend(this, { 3072 thumbs: { 3073 swiper: null, 3074 init: xe.init.bind(this), 3075 update: xe.update.bind(this), 3076 onThumbClick: xe.onThumbClick.bind(this) 3077 } 3078 }) 3079 }, 3080 on: { 3081 beforeInit: function () { 3082 var e = this.params.thumbs; 3083 e && e.swiper && (this.thumbs.init(), this.thumbs.update(!0)) 3084 }, slideChange: function () { 3085 this.thumbs.swiper && this.thumbs.update() 3086 }, update: function () { 3087 this.thumbs.swiper && this.thumbs.update() 3088 }, resize: function () { 3089 this.thumbs.swiper && this.thumbs.update() 3090 }, observerUpdate: function () { 3091 this.thumbs.swiper && this.thumbs.update() 3092 }, setTransition: function (e) { 3093 var t = this.thumbs.swiper; 3094 t && t.setTransition(e) 3095 }, beforeDestroy: function () { 3096 var e = this.thumbs.swiper; 3097 e && this.thumbs.swiperCreated && e && e.destroy() 3098 } 3099 } 3100 }]; 3101 return void 0 === j.use && (j.use = j.Class.use, j.installModule = j.Class.installModule), j.use(Ee), j 3102})); 3103 3104 3105 3106/** 3107 * Swiper 5.4.5 3108 * Most modern mobile touch slider and framework with hardware accelerated transitions 3109 * http://swiperjs.com 3110 * 3111 * Copyright 2014-2020 Vladimir Kharlampidi 3112 * 3113 * Released under the MIT License 3114 * 3115 * Released on: June 16, 2020 3116 */ 3117 3118!function (e, t) { 3119 "object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = e || self).Swiper = t() 3120}(this, (function () { 3121 "use strict"; 3122 3123 function e(e) { 3124 return null !== e && "object" == typeof e && "constructor" in e && e.constructor === Object 3125 } 3126 3127 function t(i, s) { 3128 void 0 === i && (i = {}), void 0 === s && (s = {}), Object.keys(s).forEach((function (a) { 3129 void 0 === i[a] ? i[a] = s[a] : e(s[a]) && e(i[a]) && Object.keys(s[a]).length > 0 && t(i[a], s[a]) 3130 })) 3131 } 3132 3133 var i = "undefined" != typeof document ? document : {}, s = { 3134 body: {}, addEventListener: function () { 3135 }, removeEventListener: function () { 3136 }, activeElement: { 3137 blur: function () { 3138 }, nodeName: "" 3139 }, querySelector: function () { 3140 return null 3141 }, querySelectorAll: function () { 3142 return [] 3143 }, getElementById: function () { 3144 return null 3145 }, createEvent: function () { 3146 return { 3147 initEvent: function () { 3148 } 3149 } 3150 }, createElement: function () { 3151 return { 3152 children: [], childNodes: [], style: {}, setAttribute: function () { 3153 }, getElementsByTagName: function () { 3154 return [] 3155 } 3156 } 3157 }, createElementNS: function () { 3158 return {} 3159 }, importNode: function () { 3160 return null 3161 }, location: {hash: "", host: "", hostname: "", href: "", origin: "", pathname: "", protocol: "", search: ""} 3162 }; 3163 t(i, s); 3164 var a = "undefined" != typeof window ? window : {}; 3165 t(a, { 3166 document: s, 3167 navigator: {userAgent: ""}, 3168 location: {hash: "", host: "", hostname: "", href: "", origin: "", pathname: "", protocol: "", search: ""}, 3169 history: { 3170 replaceState: function () { 3171 }, pushState: function () { 3172 }, go: function () { 3173 }, back: function () { 3174 } 3175 }, 3176 CustomEvent: function () { 3177 return this 3178 }, 3179 addEventListener: function () { 3180 }, 3181 removeEventListener: function () { 3182 }, 3183 getComputedStyle: function () { 3184 return { 3185 getPropertyValue: function () { 3186 return "" 3187 } 3188 } 3189 }, 3190 Image: function () { 3191 }, 3192 Date: function () { 3193 }, 3194 screen: {}, 3195 setTimeout: function () { 3196 }, 3197 clearTimeout: function () { 3198 }, 3199 matchMedia: function () { 3200 return {} 3201 } 3202 }); 3203 var r = function (e) { 3204 for (var t = 0; t < e.length; t += 1) this[t] = e[t]; 3205 return this.length = e.length, this 3206 }; 3207 3208 function n(e, t) { 3209 var s = [], n = 0; 3210 if (e && !t && e instanceof r) return e; 3211 if (e) if ("string" == typeof e) { 3212 var o, l, d = e.trim(); 3213 if (d.indexOf("<") >= 0 && d.indexOf(">") >= 0) { 3214 var h = "div"; 3215 for (0 === d.indexOf("<li") && (h = "ul"), 0 === d.indexOf("<tr") && (h = "tbody"), 0 !== d.indexOf("<td") && 0 !== d.indexOf("<th") || (h = "tr"), 0 === d.indexOf("<tbody") && (h = "table"), 0 === d.indexOf("<option") && (h = "select"), (l = i.createElement(h)).innerHTML = d, n = 0; n < l.childNodes.length; n += 1) s.push(l.childNodes[n]) 3216 } else for (o = t || "#" !== e[0] || e.match(/[ .<>:~]/) ? (t || i).querySelectorAll(e.trim()) : [i.getElementById(e.trim().split("#")[1])], n = 0; n < o.length; n += 1) o[n] && s.push(o[n]) 3217 } else if (e.nodeType || e === a || e === i) s.push(e); else if (e.length > 0 && e[0].nodeType) for (n = 0; n < e.length; n += 1) s.push(e[n]); 3218 return new r(s) 3219 } 3220 3221 function o(e) { 3222 for (var t = [], i = 0; i < e.length; i += 1) -1 === t.indexOf(e[i]) && t.push(e[i]); 3223 return t 3224 } 3225 3226 n.fn = r.prototype, n.Class = r, n.Dom7 = r; 3227 var l = { 3228 addClass: function (e) { 3229 if (void 0 === e) return this; 3230 for (var t = e.split(" "), i = 0; i < t.length; i += 1) for (var s = 0; s < this.length; s += 1) void 0 !== this[s] && void 0 !== this[s].classList && this[s].classList.add(t[i]); 3231 return this 3232 }, removeClass: function (e) { 3233 for (var t = e.split(" "), i = 0; i < t.length; i += 1) for (var s = 0; s < this.length; s += 1) void 0 !== this[s] && void 0 !== this[s].classList && this[s].classList.remove(t[i]); 3234 return this 3235 }, hasClass: function (e) { 3236 return !!this[0] && this[0].classList.contains(e) 3237 }, toggleClass: function (e) { 3238 for (var t = e.split(" "), i = 0; i < t.length; i += 1) for (var s = 0; s < this.length; s += 1) void 0 !== this[s] && void 0 !== this[s].classList && this[s].classList.toggle(t[i]); 3239 return this 3240 }, attr: function (e, t) { 3241 var i = arguments; 3242 if (1 === arguments.length && "string" == typeof e) return this[0] ? this[0].getAttribute(e) : void 0; 3243 for (var s = 0; s < this.length; s += 1) if (2 === i.length) this[s].setAttribute(e, t); else for (var a in e) this[s][a] = e[a], this[s].setAttribute(a, e[a]); 3244 return this 3245 }, removeAttr: function (e) { 3246 for (var t = 0; t < this.length; t += 1) this[t].removeAttribute(e); 3247 return this 3248 }, data: function (e, t) { 3249 var i; 3250 if (void 0 !== t) { 3251 for (var s = 0; s < this.length; s += 1) (i = this[s]).dom7ElementDataStorage || (i.dom7ElementDataStorage = {}), i.dom7ElementDataStorage[e] = t; 3252 return this 3253 } 3254 if (i = this[0]) { 3255 if (i.dom7ElementDataStorage && e in i.dom7ElementDataStorage) return i.dom7ElementDataStorage[e]; 3256 var a = i.getAttribute("data-" + e); 3257 return a || void 0 3258 } 3259 }, transform: function (e) { 3260 for (var t = 0; t < this.length; t += 1) { 3261 var i = this[t].style; 3262 i.webkitTransform = e, i.transform = e 3263 } 3264 return this 3265 }, transition: function (e) { 3266 "string" != typeof e && (e += "ms"); 3267 for (var t = 0; t < this.length; t += 1) { 3268 var i = this[t].style; 3269 i.webkitTransitionDuration = e, i.transitionDuration = e 3270 } 3271 return this 3272 }, on: function () { 3273 for (var e, t = [], i = arguments.length; i--;) t[i] = arguments[i]; 3274 var s = t[0], a = t[1], r = t[2], o = t[3]; 3275 3276 function l(e) { 3277 var t = e.target; 3278 if (t) { 3279 var i = e.target.dom7EventData || []; 3280 if (i.indexOf(e) < 0 && i.unshift(e), n(t).is(a)) r.apply(t, i); else for (var s = n(t).parents(), o = 0; o < s.length; o += 1) n(s[o]).is(a) && r.apply(s[o], i) 3281 } 3282 } 3283 3284 function d(e) { 3285 var t = e && e.target && e.target.dom7EventData || []; 3286 t.indexOf(e) < 0 && t.unshift(e), r.apply(this, t) 3287 } 3288 3289 "function" == typeof t[1] && (s = (e = t)[0], r = e[1], o = e[2], a = void 0), o || (o = !1); 3290 for (var h, p = s.split(" "), c = 0; c < this.length; c += 1) { 3291 var u = this[c]; 3292 if (a) for (h = 0; h < p.length; h += 1) { 3293 var v = p[h]; 3294 u.dom7LiveListeners || (u.dom7LiveListeners = {}), u.dom7LiveListeners[v] || (u.dom7LiveListeners[v] = []), u.dom7LiveListeners[v].push({ 3295 listener: r, 3296 proxyListener: l 3297 }), u.addEventListener(v, l, o) 3298 } else for (h = 0; h < p.length; h += 1) { 3299 var f = p[h]; 3300 u.dom7Listeners || (u.dom7Listeners = {}), u.dom7Listeners[f] || (u.dom7Listeners[f] = []), u.dom7Listeners[f].push({ 3301 listener: r, 3302 proxyListener: d 3303 }), u.addEventListener(f, d, o) 3304 } 3305 } 3306 return this 3307 }, off: function () { 3308 for (var e, t = [], i = arguments.length; i--;) t[i] = arguments[i]; 3309 var s = t[0], a = t[1], r = t[2], n = t[3]; 3310 "function" == typeof t[1] && (s = (e = t)[0], r = e[1], n = e[2], a = void 0), n || (n = !1); 3311 for (var o = s.split(" "), l = 0; l < o.length; l += 1) for (var d = o[l], h = 0; h < this.length; h += 1) { 3312 var p = this[h], c = void 0; 3313 if (!a && p.dom7Listeners ? c = p.dom7Listeners[d] : a && p.dom7LiveListeners && (c = p.dom7LiveListeners[d]), c && c.length) for (var u = c.length - 1; u >= 0; u -= 1) { 3314 var v = c[u]; 3315 r && v.listener === r || r && v.listener && v.listener.dom7proxy && v.listener.dom7proxy === r ? (p.removeEventListener(d, v.proxyListener, n), c.splice(u, 1)) : r || (p.removeEventListener(d, v.proxyListener, n), c.splice(u, 1)) 3316 } 3317 } 3318 return this 3319 }, trigger: function () { 3320 for (var e = [], t = arguments.length; t--;) e[t] = arguments[t]; 3321 for (var s = e[0].split(" "), r = e[1], n = 0; n < s.length; n += 1) for (var o = s[n], l = 0; l < this.length; l += 1) { 3322 var d = this[l], h = void 0; 3323 try { 3324 h = new a.CustomEvent(o, {detail: r, bubbles: !0, cancelable: !0}) 3325 } catch (e) { 3326 (h = i.createEvent("Event")).initEvent(o, !0, !0), h.detail = r 3327 } 3328 d.dom7EventData = e.filter((function (e, t) { 3329 return t > 0 3330 })), d.dispatchEvent(h), d.dom7EventData = [], delete d.dom7EventData 3331 } 3332 return this 3333 }, transitionEnd: function (e) { 3334 var t, i = ["webkitTransitionEnd", "transitionend"], s = this; 3335 3336 function a(r) { 3337 if (r.target === this) for (e.call(this, r), t = 0; t < i.length; t += 1) s.off(i[t], a) 3338 } 3339 3340 if (e) for (t = 0; t < i.length; t += 1) s.on(i[t], a); 3341 return this 3342 }, outerWidth: function (e) { 3343 if (this.length > 0) { 3344 if (e) { 3345 var t = this.styles(); 3346 return this[0].offsetWidth + parseFloat(t.getPropertyValue("margin-right")) + parseFloat(t.getPropertyValue("margin-left")) 3347 } 3348 return this[0].offsetWidth 3349 } 3350 return null 3351 }, outerHeight: function (e) { 3352 if (this.length > 0) { 3353 if (e) { 3354 var t = this.styles(); 3355 return this[0].offsetHeight + parseFloat(t.getPropertyValue("margin-top")) + parseFloat(t.getPropertyValue("margin-bottom")) 3356 } 3357 return this[0].offsetHeight 3358 } 3359 return null 3360 }, offset: function () { 3361 if (this.length > 0) { 3362 var e = this[0], t = e.getBoundingClientRect(), s = i.body, r = e.clientTop || s.clientTop || 0, 3363 n = e.clientLeft || s.clientLeft || 0, o = e === a ? a.scrollY : e.scrollTop, 3364 l = e === a ? a.scrollX : e.scrollLeft; 3365 return {top: t.top + o - r, left: t.left + l - n} 3366 } 3367 return null 3368 }, css: function (e, t) { 3369 var i; 3370 if (1 === arguments.length) { 3371 if ("string" != typeof e) { 3372 for (i = 0; i < this.length; i += 1) for (var s in e) this[i].style[s] = e[s]; 3373 return this 3374 } 3375 if (this[0]) return a.getComputedStyle(this[0], null).getPropertyValue(e) 3376 } 3377 if (2 === arguments.length && "string" == typeof e) { 3378 for (i = 0; i < this.length; i += 1) this[i].style[e] = t; 3379 return this 3380 } 3381 return this 3382 }, each: function (e) { 3383 if (!e) return this; 3384 for (var t = 0; t < this.length; t += 1) if (!1 === e.call(this[t], t, this[t])) return this; 3385 return this 3386 }, html: function (e) { 3387 if (void 0 === e) return this[0] ? this[0].innerHTML : void 0; 3388 for (var t = 0; t < this.length; t += 1) this[t].innerHTML = e; 3389 return this 3390 }, text: function (e) { 3391 if (void 0 === e) return this[0] ? this[0].textContent.trim() : null; 3392 for (var t = 0; t < this.length; t += 1) this[t].textContent = e; 3393 return this 3394 }, is: function (e) { 3395 var t, s, o = this[0]; 3396 if (!o || void 0 === e) return !1; 3397 if ("string" == typeof e) { 3398 if (o.matches) return o.matches(e); 3399 if (o.webkitMatchesSelector) return o.webkitMatchesSelector(e); 3400 if (o.msMatchesSelector) return o.msMatchesSelector(e); 3401 for (t = n(e), s = 0; s < t.length; s += 1) if (t[s] === o) return !0; 3402 return !1 3403 } 3404 if (e === i) return o === i; 3405 if (e === a) return o === a; 3406 if (e.nodeType || e instanceof r) { 3407 for (t = e.nodeType ? [e] : e, s = 0; s < t.length; s += 1) if (t[s] === o) return !0; 3408 return !1 3409 } 3410 return !1 3411 }, index: function () { 3412 var e, t = this[0]; 3413 if (t) { 3414 for (e = 0; null !== (t = t.previousSibling);) 1 === t.nodeType && (e += 1); 3415 return e 3416 } 3417 }, eq: function (e) { 3418 if (void 0 === e) return this; 3419 var t, i = this.length; 3420 return new r(e > i - 1 ? [] : e < 0 ? (t = i + e) < 0 ? [] : [this[t]] : [this[e]]) 3421 }, append: function () { 3422 for (var e, t = [], s = arguments.length; s--;) t[s] = arguments[s]; 3423 for (var a = 0; a < t.length; a += 1) { 3424 e = t[a]; 3425 for (var n = 0; n < this.length; n += 1) if ("string" == typeof e) { 3426 var o = i.createElement("div"); 3427 for (o.innerHTML = e; o.firstChild;) this[n].appendChild(o.firstChild) 3428 } else i
vendor: 7,394 bytes, lines 3428-3562
3428f (e instanceof r) for (var l = 0; l < e.length; l += 1) this[n].appendChild(e[l]); else this[n].appendChild(e) 3429 } 3430 return this 3431 }, prepend: function (e) { 3432 var t, s; 3433 for (t = 0; t < this.length; t += 1) if ("string" == typeof e) { 3434 var a = i.createElement("div"); 3435 for (a.innerHTML = e, s = a.childNodes.length - 1; s >= 0; s -= 1) this[t].insertBefore(a.childNodes[s], this[t].childNodes[0]) 3436 } else if (e instanceof r) for (s = 0; s < e.length; s += 1) this[t].insertBefore(e[s], this[t].childNodes[0]); else this[t].insertBefore(e, this[t].childNodes[0]); 3437 return this 3438 }, next: function (e) { 3439 return this.length > 0 ? e ? this[0].nextElementSibling && n(this[0].nextElementSibling).is(e) ? new r([this[0].nextElementSibling]) : new r([]) : this[0].nextElementSibling ? new r([this[0].nextElementSibling]) : new r([]) : new r([]) 3440 }, nextAll: function (e) { 3441 var t = [], i = this[0]; 3442 if (!i) return new r([]); 3443 for (; i.nextElementSibling;) { 3444 var s = i.nextElementSibling; 3445 e ? n(s).is(e) && t.push(s) : t.push(s), i = s 3446 } 3447 return new r(t) 3448 }, prev: function (e) { 3449 if (this.length > 0) { 3450 var t = this[0]; 3451 return e ? t.previousElementSibling && n(t.previousElementSibling).is(e) ? new r([t.previousElementSibling]) : new r([]) : t.previousElementSibling ? new r([t.previousElementSibling]) : new r([]) 3452 } 3453 return new r([]) 3454 }, prevAll: function (e) { 3455 var t = [], i = this[0]; 3456 if (!i) return new r([]); 3457 for (; i.previousElementSibling;) { 3458 var s = i.previousElementSibling; 3459 e ? n(s).is(e) && t.push(s) : t.push(s), i = s 3460 } 3461 return new r(t) 3462 }, parent: function (e) { 3463 for (var t = [], i = 0; i < this.length; i += 1) null !== this[i].parentNode && (e ? n(this[i].parentNode).is(e) && t.push(this[i].parentNode) : t.push(this[i].parentNode)); 3464 return n(o(t)) 3465 }, parents: function (e) { 3466 for (var t = [], i = 0; i < this.length; i += 1) for (var s = this[i].parentNode; s;) e ? n(s).is(e) && t.push(s) : t.push(s), s = s.parentNode; 3467 return n(o(t)) 3468 }, closest: function (e) { 3469 var t = this; 3470 return void 0 === e ? new r([]) : (t.is(e) || (t = t.parents(e).eq(0)), t) 3471 }, find: function (e) { 3472 for (var t = [], i = 0; i < this.length; i += 1) for (var s = this[i].querySelectorAll(e), a = 0; a < s.length; a += 1) t.push(s[a]); 3473 return new r(t) 3474 }, children: function (e) { 3475 for (var t = [], i = 0; i < this.length; i += 1) for (var s = this[i].childNodes, a = 0; a < s.length; a += 1) e ? 1 === s[a].nodeType && n(s[a]).is(e) && t.push(s[a]) : 1 === s[a].nodeType && t.push(s[a]); 3476 return new r(o(t)) 3477 }, filter: function (e) { 3478 for (var t = [], i = 0; i < this.length; i += 1) e.call(this[i], i, this[i]) && t.push(this[i]); 3479 return new r(t) 3480 }, remove: function () { 3481 for (var e = 0; e < this.length; e += 1) this[e].parentNode && this[e].parentNode.removeChild(this[e]); 3482 return this 3483 }, add: function () { 3484 for (var e = [], t = arguments.length; t--;) e[t] = arguments[t]; 3485 var i, s, a = this; 3486 for (i = 0; i < e.length; i += 1) { 3487 var r = n(e[i]); 3488 for (s = 0; s < r.length; s += 1) a[a.length] = r[s], a.length += 1 3489 } 3490 return a 3491 }, styles: function () { 3492 return this[0] ? a.getComputedStyle(this[0], null) : {} 3493 } 3494 }; 3495 Object.keys(l).forEach((function (e) { 3496 n.fn[e] = n.fn[e] || l[e] 3497 })); 3498 var d = { 3499 deleteProps: function (e) { 3500 var t = e; 3501 Object.keys(t).forEach((function (e) { 3502 try { 3503 t[e] = null 3504 } catch (e) { 3505 } 3506 try { 3507 delete t[e] 3508 } catch (e) { 3509 } 3510 })) 3511 }, nextTick: function (e, t) { 3512 return void 0 === t && (t = 0), setTimeout(e, t) 3513 }, now: function () { 3514 return Date.now() 3515 }, getTranslate: function (e, t) { 3516 var i, s, r; 3517 void 0 === t && (t = "x"); 3518 var n = a.getComputedStyle(e, null); 3519 return a.WebKitCSSMatrix ? ((s = n.transform || n.webkitTransform).split(",").length > 6 && (s = s.split(", ").map((function (e) { 3520 return e.replace(",", ".") 3521 })).join(", ")), r = new a.WebKitCSSMatrix("none" === s ? "" : s)) : i = (r = n.MozTransform || n.OTransform || n.MsTransform || n.msTransform || n.transform || n.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,")).toString().split(","), "x" === t && (s = a.WebKitCSSMatrix ? r.m41 : 16 === i.length ? parseFloat(i[12]) : parseFloat(i[4])), "y" === t && (s = a.WebKitCSSMatrix ? r.m42 : 16 === i.length ? parseFloat(i[13]) : parseFloat(i[5])), s || 0 3522 }, parseUrlQuery: function (e) { 3523 var t, i, s, r, n = {}, o = e || a.location.href; 3524 if ("string" == typeof o && o.length) for (r = (i = (o = o.indexOf("?") > -1 ? o.replace(/\S*\?/, "") : "").split("&").filter((function (e) { 3525 return "" !== e 3526 }))).length, t = 0; t < r; t += 1) s = i[t].replace(/#\S+/g, "").split("="), n[decodeURIComponent(s[0])] = void 0 === s[1] ? void 0 : decodeURIComponent(s[1]) || ""; 3527 return n 3528 }, isObject: function (e) { 3529 return "object" == typeof e && null !== e && e.constructor && e.constructor === Object 3530 }, extend: function () { 3531 for (var e = [], t = arguments.length; t--;) e[t] = arguments[t]; 3532 for (var i = Object(e[0]), s = 1; s < e.length; s += 1) { 3533 var a = e[s]; 3534 if (null != a) for (var r = Object.keys(Object(a)), n = 0, o = r.length; n < o; n += 1) { 3535 var l = r[n], h = Object.getOwnPropertyDescriptor(a, l); 3536 void 0 !== h && h.enumerable && (d.isObject(i[l]) && d.isObject(a[l]) ? d.extend(i[l], a[l]) : !d.isObject(i[l]) && d.isObject(a[l]) ? (i[l] = {}, d.extend(i[l], a[l])) : i[l] = a[l]) 3537 } 3538 } 3539 return i 3540 } 3541 }, h = { 3542 touch: !!("ontouchstart" in a || a.DocumentTouch && i instanceof a.DocumentTouch), 3543 pointerEvents: !!a.PointerEvent && "maxTouchPoints" in a.navigator && a.navigator.maxTouchPoints >= 0, 3544 observer: "MutationObserver" in a || "WebkitMutationObserver" in a, 3545 passiveListener: function () { 3546 var e = !1; 3547 try { 3548 var t = Object.defineProperty({}, "passive", { 3549 get: function () { 3550 e = !0 3551 } 3552 }); 3553 a.addEventListener("testPassiveListener", null, t) 3554 } catch (e) { 3555 } 3556 return e 3557 }(), 3558 gestures: "ongesturestart" in a 3559 }, p = function (e) { 3560 void 0 === e && (e = {}); 3561 var t = this; 3562 t.params = e, t.eventsListeners = {}
3562, t.params && t.params.on && Object.keys(t.params.on).forEach((function (e) { 3563 t.on(e, t.params.on[e]) 3564 })) 3565 }, c = {components: {configurable: !0}}; 3566 p.prototype.on = function (e, t, i) { 3567 var s = this; 3568 if ("function" != typeof t) return s; 3569 var a = i ? "unshift" : "push"; 3570 return e.split(" ").forEach((function (e) { 3571 s.eventsListeners[e] || (s.eventsListeners[e] = []), s.eventsListeners[e][a](t) 3572 })), s 3573 }, p.prototype.once = function (e, t, i) { 3574 var s = this; 3575 if ("function" != typeof t) return s; 3576 3577 function a() { 3578 for (var i = [], r = arguments.length; r--;) i[r] = arguments[r]; 3579 s.off(e, a), a.f7proxy && delete a.f7proxy, t.apply(s, i) 3580 } 3581 3582 return a.f7proxy = t, s.on(e, a, i) 3583 }, p.prototype.off = function (e, t) { 3584 var i = this; 3585 return i.eventsListeners ? (e.split(" ").forEach((function (e) { 3586 void 0 === t ? i.eventsListeners[e] = [] : i.eventsListeners[e] && i.eventsListeners[e].length && i.eventsListeners[e].forEach((function (s, a) { 3587 (s === t || s.f7proxy && s.f7proxy === t) && i.eventsListeners[e].splice(a, 1) 3588 })) 3589 })), i) : i 3590 }, p.prototype.emit = function () { 3591 for (var e = [], t = arguments.length; t--;) e[t] = arguments[t]; 3592 var i, s, a, r = this; 3593 if (!r.eventsListeners) return r; 3594 "string" == typeof e[0] || Array.isArray(e[0]) ? (i = e[0], s = e.slice(1, e.length), a = r) : (i = e[0].events, s = e[0].data, a = e[0].context || r); 3595 var n = Array.isArray(i) ? i : i.split(" "); 3596 return n.forEach((function (e) { 3597 if (r.eventsListeners && r.eventsListeners[e]) { 3598 var t = []; 3599 r.eventsListeners[e].forEach((function (e) { 3600 t.push(e) 3601 })), t.forEach((function (e) { 3602 e.apply(a, s) 3603 })) 3604 } 3605 })), r 3606 }, p.prototype.useModulesParams = function (e) { 3607 var t = this; 3608 t.modules && Object.keys(t.modules).forEach((function (i) { 3609 var s = t.modules[i]; 3610 s.params && d.extend(e, s.params) 3611 })) 3612 }, p.prototype.useModules = function (e) { 3613 void 0 === e && (e = {}); 3614 var t = this; 3615 t.modules && Object.keys(t.modules).forEach((function (i) { 3616 var s = t.modules[i], a = e[i] || {}; 3617 s.instance && Object.keys(s.instance).forEach((function (e) { 3618 var i = s.instance[e]; 3619 t[e] = "function" == typeof i ? i.bind(t) : i 3620 })), s.on && t.on && Object.keys(s.on).forEach((function (e) { 3621 t.on(e, s.on[e]) 3622 })), s.create && s.create.bind(t)(a) 3623 })) 3624 }, c.components.set = function (e) { 3625 this.use && this.use(e) 3626 }, p.installModule = function (e) { 3627 for (var t = [], i = arguments.length - 1; i-- > 0;) t[i] = arguments[i + 1]; 3628 var s = this; 3629 s.prototype.modules || (s.prototype.modules = {}); 3630 var a = e.name || Object.keys(s.prototype.modules).length + "_" + d.now(); 3631 return s.prototype.modules[a] = e, e.proto && Object.keys(e.proto).forEach((function (t) { 3632 s.prototype[t] = e.proto[t] 3633 })), e.static && Object.keys(e.static).forEach((function (t) { 3634 s[t] = e.static[t] 3635 })), e.install && e.install.apply(s, t), s 3636 }, p.use = function (e) { 3637 for (var t = [], i = arguments.length - 1; i-- > 0;) t[i] = arguments[i + 1]; 3638 var s = this; 3639 return Array.isArray(e) ? (e.forEach((function (e) { 3640 return s.installModule(e) 3641 })), s) : s.installModule.apply(s, [e].concat(t)) 3642 }, Object.defineProperties(p, c); 3643 var u = { 3644 updateSize: function () { 3645 var e, t, i = this.$el; 3646 e = void 0 !== this.params.width ? this.params.width : i[0].clientWidth, t = void 0 !== this.params.height ? this.params.height : i[0].clientHeight, 0 === e && this.isHorizontal() || 0 === t && this.isVertical() || (e = e - parseInt(i.css("padding-left"), 10) - parseInt(i.css("padding-right"), 10), t = t - parseInt(i.css("padding-top"), 10) - parseInt(i.css("padding-bottom"), 10), d.extend(this, { 3647 width: e, 3648 height: t, 3649 size: this.isHorizontal() ? e : t 3650 })) 3651 }, updateSlides: function () { 3652 var e = this.params, t = this.$wrapperEl, i = this.size, s = this.rtlTranslate, r = this.wrongRTL, 3653 n = this.virtual && e.virtual.enabled, o = n ? this.virtual.slides.length : this.slides.length, 3654 l = t.children("." + this.params.slideClass), h = n ? this.virtual.slides.length : l.length, p = [], 3655 c = [], u = []; 3656 3657 function v(t) { 3658 return !e.cssMode || t !== l.length - 1 3659 } 3660 3661 var f = e.slidesOffsetBefore; 3662 "function" == typeof f && (f = e.slidesOffsetBefore.call(this)); 3663 var m = e.slidesOffsetAfter; 3664 "function" == typeof m && (m = e.slidesOffsetAfter.call(this)); 3665 var g = this.snapGrid.length, b = this.snapGrid.length, w = e.spaceBetween, y = -f, x = 0, E = 0; 3666 if (void 0 !== i) { 3667 var T, S; 3668 "string" == typeof w && w.indexOf("%") >= 0 && (w = parseFloat(w.replace("%", "")) / 100 * i), this.virtualSize = -w, s ? l.css({ 3669 marginLeft: "", 3670 marginTop: "" 3671 }) : l.css({ 3672 marginRight: "", 3673 marginBottom: "" 3674 }), e.slidesPerColumn > 1 && (T = Math.floor(h / e.slidesPerColumn) === h / this.params.slidesPerColumn ? h : Math.ceil(h / e.slidesPerColumn) * e.slidesPerColumn, "auto" !== e.slidesPerView && "row" === e.slidesPerColumnFill && (T = Math.max(T, e.slidesPerView * e.slidesPerColumn))); 3675 for (var C, M = e.slidesPerColumn, P = T / M, z = Math.floor(h / e.slidesPerColumn), k = 0; k < h; k += 1) { 3676 S = 0; 3677 var $ = l.eq(k); 3678 if (e.slidesPerColumn > 1) { 3679 var L = void 0, I = void 0, D = void 0; 3680 if ("row" === e.slidesPerColumnFill && e.slidesPerGroup > 1) { 3681 var O = Math.floor(k / (e.slidesPerGroup * e.slidesPerColumn)), 3682 A = k - e.slidesPerColumn * e.slidesPerGroup * O, 3683 G = 0 === O ? e.slidesPerGroup : Math.min(Math.ceil((h - O * M * e.slidesPerGroup) / M), e.slidesPerGroup); 3684 L = (I = A - (D = Math.floor(A / G)) * G + O * e.slidesPerGroup) + D * T / M, $.css({ 3685 "-webkit-box-ordinal-group": L, 3686 "-moz-box-ordinal-group": L, 3687 "-ms-flex-order": L, 3688 "-webkit-order": L, 3689 order: L 3690 }) 3691 } else "column" === e.slidesPerColumnFill ? (D = k - (I = Math.floor(k / M)) * M, (I > z || I === z && D === M - 1) && (D += 1) >
3691= M && (D = 0, I += 1)) : I = k - (D = Math.floor(k / P)) * P; 3692 $.css("margin-" + (this.isHorizontal() ? "top" : "left"), 0 !== D && e.spaceBetween && e.spaceBetween + "px") 3693 } 3694 if ("none" !== $.css("display")) { 3695 if ("auto" === e.slidesPerView) { 3696 var H = a.getComputedStyle($[0], null), B = $[0].style.transform, 3697 N = $[0].style.webkitTransform; 3698 if (B && ($[0].style.transform = "none"), N && ($[0].style.webkitTransform = "none"), e.roundLengths) S = this.isHorizontal() ? $.outerWidth(!0) : $.outerHeight(!0); else if (this.isHorizontal()) { 3699 var X = parseFloat(H.getPropertyValue("width")), 3700 V = parseFloat(H.getPropertyValue("padding-left")), 3701 Y = parseFloat(H.getPropertyValue("padding-right")), 3702 F = parseFloat(H.getPropertyValue("margin-left")), 3703 W = parseFloat(H.getPropertyValue("margin-right")), 3704 R = H.getPropertyValue("box-sizing"); 3705 S = R && "border-box" === R ? X + F + W : X + V + Y + F + W 3706 } else { 3707 var q = parseFloat(H.getPropertyValue("height")), 3708 j = parseFloat(H.getPropertyValue("padding-top")), 3709 K = parseFloat(H.getPropertyValue("padding-bottom")), 3710 U = parseFloat(H.getPropertyValue("margin-top")), 3711 _ = parseFloat(H.getPropertyValue("margin-bottom")), 3712 Z = H.getPropertyValue("box-sizing"); 3713 S = Z && "border-box" === Z ? q + U + _ : q + j + K + U + _ 3714 } 3715 B && ($[0].style.transform = B), N && ($[0].style.webkitTransform = N), e.roundLengths && (S = Math.floor(S)) 3716 } else S = (i - (e.slidesPerView - 1) * w) / e.slidesPerView, e.roundLengths && (S = Math.floor(S)), l[k] && (this.isHorizontal() ? l[k].style.width = S + "px" : l[k].style.height = S + "px"); 3717 l[k] && (l[k].swiperSlideSize = S), u.push(S), e.centeredSlides ? (y = y + S / 2 + x / 2 + w, 0 === x && 0 !== k && (y = y - i / 2 - w), 0 === k && (y = y - i / 2 - w), Math.abs(y) < .001 && (y = 0), e.roundLengths && (y = Math.floor(y)), E % e.slidesPerGroup == 0 && p.push(y), c.push(y)) : (e.roundLengths && (y = Math.floor(y)), (E - Math.min(this.params.slidesPerGroupSkip, E)) % this.params.slidesPerGroup == 0 && p.push(y), c.push(y), y = y + S + w), this.virtualSize += S + w, x = S, E += 1 3718 } 3719 } 3720 if (this.virtualSize = Math.max(this.virtualSize, i) + m, s && r && ("slide" === e.effect || "coverflow" === e.effect) && t.css({width: this.virtualSize + e.spaceBetween + "px"}), e.setWrapperSize && (this.isHorizontal() ? t.css({width: this.virtualSize + e.spaceBetween + "px"}) : t.css({height: this.virtualSize + e.spaceBetween + "px"})), e.slidesPerColumn > 1 && (this.virtualSize = (S + e.spaceBetween) * T, this.virtualSize = Math.ceil(this.virtualSize / e.slidesPerColumn) - e.spaceBetween, this.isHorizontal() ? t.css({width: this.virtualSize + e.spaceBetween + "px"}) : t.css({height: this.virtualSize + e.spaceBetween + "px"}), e.centeredSlides)) { 3721 C = []; 3722 for (var Q = 0; Q < p.length; Q += 1) { 3723 var J = p[Q]; 3724 e.roundLengths && (J = Math.floor(J)), p[Q] < this.virtualSize + p[0] && C.push(J) 3725 } 3726 p = C 3727 } 3728 if (!e.centeredSlides) { 3729 C = []; 3730 for (var ee = 0; ee < p.length; ee += 1) { 3731 var te = p[ee]; 3732 e.roundLengths && (te = Math.floor(te)), p[ee] <= this.virtualSize - i && C.push(te) 3733 } 3734 p = C, Math.floor(this.virtualSize - i) - Math.floor(p[p.length - 1]) > 1 && p.push(this.virtualSize - i) 3735 } 3736 if (0 === p.length && (p = [0]), 0 !== e.spaceBetween && (this.isHorizontal() ? s ? l.filter(v).css({marginLeft: w + "px"}) : l.filter(v).css({marginRight: w + "px"}) : l.filter(v).css({marginBottom: w + "px"}
3736)), e.centeredSlides && e.centeredSlidesBounds) { 3737 var ie = 0; 3738 u.forEach((function (t) { 3739 ie += t + (e.spaceBetween ? e.spaceBetween : 0) 3740 })); 3741 var se = (ie -= e.spaceBetween) - i; 3742 p = p.map((function (e) { 3743 return e < 0 ? -f : e > se ? se + m : e 3744 })) 3745 } 3746 if (e.centerInsufficientSlides) { 3747 var ae = 0; 3748 if (u.forEach((function (t) { 3749 ae += t + (e.spaceBetween ? e.spaceBetween : 0) 3750 })), (ae -= e.spaceBetween) < i) { 3751 var re = (i - ae) / 2; 3752 p.forEach((function (e, t) { 3753 p[t] = e - re 3754 })), c.forEach((function (e, t) { 3755 c[t] = e + re 3756 })) 3757 } 3758 } 3759 d.extend(this, { 3760 slides: l, 3761 snapGrid: p, 3762 slidesGrid: c, 3763 slidesSizesGrid: u 3764 }), h !== o && this.emit("slidesLengthChange"), p.length !== g && (this.params.watchOverflow && this.checkOverflow(), this.emit("snapGridLengthChange")), c.length !== b && this.emit("slidesGridLengthChange"), (e.watchSlidesProgress || e.watchSlidesVisibility) && this.updateSlidesOffset() 3765 } 3766 }, updateAutoHeight: function (e) { 3767 var t, i = [], s = 0; 3768 if ("number" == typeof e ? this.setTransition(e) : !0 === e && this.setTransition(this.params.speed), "auto" !== this.params.slidesPerView && this.params.slidesPerView > 1) if (this.params.centeredSlides) this.visibleSlides.each((function (e, t) { 3769 i.push(t) 3770 })); else for (t = 0; t < Math.ceil(this.params.slidesPerView); t += 1) { 3771 var a = this.activeIndex + t; 3772 if (a > this.slides.length) break; 3773 i.push(this.slides.eq(a)[0]) 3774 } else i.push(this.slides.eq(this.activeIndex)[0]); 3775 for (t = 0; t < i.length; t += 1) if (void 0 !== i[t]) { 3776 var r = i[t].offsetHeight; 3777 s = r > s ? r : s 3778 } 3779 s && this.$wrapperEl.css("height", s + "px") 3780 }, updateSlidesOffset: function () { 3781 for (var e = this.slides, t = 0; t < e.length; t += 1) e[t].swiperSlideOffset = this.isHorizontal() ? e[t].offsetLeft : e[t].offsetTop 3782 }, updateSlidesProgress: function (e) { 3783 void 0 === e && (e = this && this.translate || 0); 3784 var t = this.params, i = this.slides, s = this.rtlTranslate; 3785 if (0 !== i.length) { 3786 void 0 === i[0].swiperSlideOffset && this.updateSlidesOffset(); 3787 var a = -e; 3788 s && (a = e), i.removeClass(t.slideVisibleClass), this.visibleSlidesIndexes = [], this.visibleSlides = []; 3789 for (var r = 0; r < i.length; r += 1) { 3790 var o = i[r], 3791 l = (a + (t.centeredSlides ? this.minTranslate() : 0) - o.swiperSlideOffset) / (o.swiperSlideSize + t.spaceBetween); 3792 if (t.watchSlidesVisibility || t.centeredSlides && t.autoHeight) { 3793 var d = -(a - o.swiperSlideOffset), h = d + this.slidesSizesGrid[r]; 3794 (d >= 0 && d < this.size - 1 || h > 1 && h <= this.size || d <= 0 && h >= this.size) && (this.visibleSlides.push(o), this.visibleSlidesIndexes.push(r), i.eq(r).addClass(t.slideVisibleClass)) 3795 } 3796 o.progress = s ? -l : l 3797 } 3798 this.visibleSlides = n(this.visibleSlides) 3799 } 3800 }, updateProgress: function (e) { 3801 if (void 0 === e) { 3802 var t = this.rtlTranslate ? -1 : 1; 3803 e = this && this.translate && this.translate * t || 0 3804 } 3805 var i = this.params, s = this.maxTranslate() - this.minTranslate(), a = this.progress, r = this.isBeg
3805inning, 3806 n = this.isEnd, o = r, l = n; 3807 0 === s ? (a = 0, r = !0, n = !0) : (r = (a = (e - this.minTranslate()) / s) <= 0, n = a >= 1), d.extend(this, { 3808 progress: a, 3809 isBeginning: r, 3810 isEnd: n 3811 }), (i.watchSlidesProgress || i.watchSlidesVisibility || i.centeredSlides && i.autoHeight) && this.updateSlidesProgress(e), r && !o && this.emit("reachBeginning toEdge"), n && !l && this.emit("reachEnd toEdge"), (o && !r || l && !n) && this.emit("fromEdge"), this.emit("progress", a) 3812 }, updateSlidesClasses: function () { 3813 var e, t = this.slides, i = this.params, s = this.$wrapperEl, a = this.activeIndex, r = this.realIndex, 3814 n = this.virtual && i.virtual.enabled; 3815 t.removeClass(i.slideActiveClass + " " + i.slideNextClass + " " + i.slidePrevClass + " " + i.slideDuplicateActiveClass + " " + i.slideDuplicateNextClass + " " + i.slideDuplicatePrevClass), (e = n ? this.$wrapperEl.find("." + i.slideClass + '[data-swiper-slide-index="' + a + '"]') : t.eq(a)).addClass(i.slideActiveClass), i.loop && (e.hasClass(i.slideDuplicateClass) ? s.children("." + i.slideClass + ":not(." + i.slideDuplicateClass + ')[data-swiper-slide-index="' + r + '"]').addClass(i.slideDuplicateActiveClass) : s.children("." + i.slideClass + "." + i.slideDuplicateClass + '[data-swiper-slide-index="' + r + '"]').addClass(i.slideDuplicateActiveClass)); 3816 var o = e.nextAll("." + i.slideClass).eq(0).addClass(i.slideNextClass); 3817 i.loop && 0 === o.length && (o = t.eq(0)).addClass(i.slideNextClass); 3818 var l = e.prevAll("." + i.slideClass).eq(0).addClass(i.slidePrevClass); 3819 i.loop && 0 === l.length && (l = t.eq(-1)).addClass(i.slidePrevClass), i.loop && (o.hasClass(i.slideDuplicateClass) ? s.children("." + i.slideClass + ":not(." + i.slideDuplicateClass + ')[data-swiper-slide-index="' + o.attr("data-swiper-slide-index") + '"]').addClass(i.slideDuplicateNextClass) : s.children("." + i.slideClass + "." + i.slideDuplicateClass + '[data-swiper-slide-index="' + o.attr("data-swiper-slide-index") + '"]').addClass(i.slideDuplicateNextClass), l.hasClass(i.slideDuplicateClass) ? s.children("." + i.slideClass + ":not(." + i.slideDuplicateClass + ')[data-swiper-slide-index="' + l.attr("data-swiper-slide-index") + '"]').addClass(i.slideDuplicatePrevClass) : s.children("." + i.slideClass + "." + i.slideDuplicateClass + '[data-swiper-slide-index="' + l.attr("data-swiper-slide-index") + '"]').addClass(i.slideDuplicatePrevClass)) 3820 }, updateActiveIndex: function (e) { 3821 var t, i = this.rtlTranslate ? this.translate : -this.translate, s = this.slidesGrid, a = this.snapGrid, 3822 r = this.params, n = this.activeIndex, o = this.realIndex, l = this.snapIndex, h = e; 3823 if (void 0 === h) { 3824 for (var p = 0; p < s.length; p += 1) void 0 !== s[p + 1] ? i >= s[p] && i < s[p + 1] - (s[p + 1] - s[p]) / 2 ? h = p : i >= s[p] && i < s[p + 1] && (h = p + 1) : i >= s[p] && (h = p);
3825 r.normalizeSlideIndex && (h < 0 || void 0 === h) && (h = 0) 3826 } 3827 if (a.indexOf(i) >= 0) t = a.indexOf(i); else { 3828 var c = Math.min(r.slidesPerGroupSkip, h); 3829 t = c + Math.floor((h - c) / r.slidesPerGroup) 3830 } 3831 if (t >= a.length && (t = a.length - 1), h !== n) { 3832 var u = parseInt(this.slides.eq(h).attr("data-swiper-slide-index") || h, 10); 3833 d.extend(this, { 3834 snapIndex: t, 3835 realIndex: u, 3836 previousIndex: n, 3837 activeIndex: h 3838 }), this.emit("activeIndexChange"), this.emit("snapIndexChange"), o !== u && this.emit("realIndexChange"), (this.initialized || this.params.runCallbacksOnInit) && this.emit("slideChange") 3839 } else t !== l && (this.snapIndex = t, this.emit("snapIndexChange")) 3840 }, updateClickedSlide: function (e) { 3841 var t = this.params, i = n(e.target).closest("." + t.slideClass)[0], s = !1; 3842 if (i) for (var a = 0; a < this.slides.length; a += 1) this.slides[a] === i && (s = !0); 3843 if (!i || !s) return this.clickedSlide = void 0, void (this.clickedIndex = void 0); 3844 this.clickedSlide = i, this.virtual && this.params.virtual.enabled ? this.clickedIndex = parseInt(n(i).attr("data-swiper-slide-index"), 10) : this.clickedIndex = n(i).index(), t.slideToClickedSlide && void 0 !== this.clickedIndex && this.clickedIndex !== this.activeIndex && this.slideToClickedSlide() 3845 } 3846 }; 3847 var v = { 3848 getTranslate: function (e) { 3849 void 0 === e && (e = this.isHorizontal() ? "x" : "y"); 3850 var t = this.params, i = this.rtlTranslate, s = this.translate, a = this.$wrapperEl; 3851 if (t.virtualTranslate) return i ? -s : s; 3852 if (t.cssMode) return s; 3853 var r = d.getTranslate(a[0], e); 3854 return i && (r = -r), r || 0 3855 }, setTranslate: function (e, t) { 3856 var i = this.rtlTranslate, s = this.params, a = this.$wrapperEl, r = this.wrapperEl, n = this.progress, 3857 o = 0, l = 0; 3858 this.isHorizontal() ? o = i ? -e : e : l = e, s.roundLengths && (o = Math.floor(o), l = Math.floor(l)), s.cssMode ? r[this.isHorizontal() ? "scrollLeft" : "scrollTop"] = this.isHorizontal() ? -o : -l : s.virtualTranslate || a.transform("translate3d(" + o + "px, " + l + "px, 0px)"), this.previousTranslate = this.translate, this.translate = this.isHorizontal() ? o : l; 3859 var d = this.maxTranslate() - this.minTranslate(); 3860 (0 === d ? 0 : (e - this.minTranslate()) / d) !== n && this.updateProgress(e), this.emit("setTranslate", this.translate, t) 3861 }, minTranslate: function () { 3862 return -this.snapGrid[0] 3863 }, maxTranslate: function () { 3864 return -this.snapGrid[this.snapGrid.length - 1] 3865 }, translateTo: function (e, t, i, s, a) { 3866 var r; 3867 void 0 === e && (e = 0), void 0 === t && (t = this.params.speed), void 0 === i && (i = !0), void 0 === s && (s = !0); 3868 var n = this, o = n.params, l = n.wrapperEl; 3869 if (n.animating && o.preventInteractionOnTransition) return !1; 3870 var d, h = n.minTranslate(), p = n.maxTranslate(); 3871 if (d = s && e > h ? h : s && e < p ? p : e, n.updateProgress(d), o.cssMode) { 3872 var c = n.isHorizontal(); 3873 return 0 === t ? l[c ? "scrollLeft" : "scrollTop"] = -d : l.scrollTo ? l.scrollTo(((r = {})[c ? "left" : "top"] = -d, r.behavior = "smooth", r)) : l[c ? "scrollLeft" : "scrollTop"] = -d, !0 3874 } 3875 return 0 === t ? (n.setTransition(0), n.setTranslate(d), i && (n.emit("beforeTransitionStart", t, a), n.emit("transitionEnd"))) : (n.setTransition(t), n.setTranslate(d), i && (n.emit("beforeTransitionStart", t, a), n.emit("transitionStart")), n.animating || (n.animating = !0, n.onTranslateToWrapperTransitionEnd || (n.onTranslateToWrapperTransitionEnd = function (e) { 3876 n && !n.destroyed && e.target === this && (n.$wrapperEl[0].removeEventListener("transitionend", n.onTranslateToWrapperTransitionEnd), n.$wrapperEl[0].removeEventListener("webkitTransitionEnd", n.onTranslateToWrapperTransitionEnd), n.onTranslateToWrapperTransitionEnd = null, delete n.onTranslateToWrapperTransitionEnd, i && n.emit("transitionEnd")) 3877 }), n.$wrapperEl[0].addEventListener("transitionend", n.onTranslateToWrapperTransitionEnd), n.$wrapperEl[0].addEventListener("webkitTransitionEnd", n.onTranslateToWrapperTransitionEnd))), !0 3878 } 3879 }; 3880 var f = { 3881 setTransition: function (e, t) { 3882 this.params.cssMode || this.$wrapperEl.transition(e), this.emit
3882("setTransition", e, t) 3883 }, transitionStart: function (e, t) { 3884 void 0 === e && (e = !0); 3885 var i = this.activeIndex, s = this.params, a = this.previousIndex; 3886 if (!s.cssMode) { 3887 s.autoHeight && this.updateAutoHeight(); 3888 var r = t; 3889 if (r || (r = i > a ? "next" : i < a ? "prev" : "reset"), this.emit("transitionStart"), e && i !== a) { 3890 if ("reset" === r) return void this.emit("slideResetTransitionStart"); 3891 this.emit("slideChangeTransitionStart"), "next" === r ? this.emit("slideNextTransitionStart") : this.emit("slidePrevTransitionStart") 3892 } 3893 } 3894 }, transitionEnd: function (e, t) { 3895 void 0 === e && (e = !0); 3896 var i = this.activeIndex, s = this.previousIndex, a = this.params; 3897 if (this.animating = !1, !a.cssMode) { 3898 this.setTransition(0); 3899 var r = t; 3900 if (r || (r = i > s ? "next" : i < s ? "prev" : "reset"), this.emit("transitionEnd"), e && i !== s) { 3901 if ("reset" === r) return void this.emit("slideResetTransitionEnd"); 3902 this.emit("slideChangeTransitionEnd"), "next" === r ? this.emit("slideNextTransitionEnd") : this.emit("slidePrevTransitionEnd") 3903 } 3904 } 3905 } 3906 }; 3907 var m = { 3908 slideTo: function (e, t, i, s) { 3909 var a; 3910 void 0 === e && (e = 0), void 0 === t && (t = this.params.speed), void 0 === i && (i = !0); 3911 var r = this, n = e; 3912 n < 0 && (n = 0); 3913 var o = r.params, l = r.snapGrid, d = r.slidesGrid, h = r.previousIndex, p = r.activeIndex, 3914 c = r.rtlTranslate, u = r.wrapperEl; 3915 if (r.animating && o.preventInteractionOnTransition) return !1; 3916 var v = Math.min(r.params.slidesPerGroupSkip, n), f = v + Math.floor((n - v) / r.params.slidesPerGroup); 3917 f >= l.length && (f = l.length - 1), (p || o.initialSlide || 0) === (h || 0) && i && r.emit("beforeSlideChangeStart"); 3918 var m, g = -l[f]; 3919 if (r.updateProgress(g), o.normalizeSlideIndex) for (var b = 0; b < d.length; b += 1) -Math.floor(100 * g) >= Math.floor(100 * d[b]) && (n = b); 3920 if (r.initialized && n !== p) { 3921 if (!r.allowSlideNext && g < r.translate && g < r.minTranslate()) return !1; 3922 if (!r.allowSlidePrev && g > r.translate && g > r.maxTranslate() && (p || 0) !== n) return !1 3923 } 3924 if (m = n > p ? "next" : n < p ? "prev" : "reset", c && -g === r.translate || !c && g === r.translate) return r.updateActiveIndex(n), o.autoHeight && r.updateAutoHeight(), r.updateSlidesClasses(), "slide" !== o.effect && r.setTranslate(g), "reset" !== m && (r.transitionStart(i, m), r.transitionEnd(i, m)), !1; 3925 if (o.cssMode) { 3926 var w = r.isHorizontal(), y = -g; 3927 return c && (y = u.scrollWidth - u.offsetWidth - y), 0 === t ? u[w ? "scrollLeft" : "scrollTop"] = y : u.scrollTo ? u.scrollTo(((a = {})[w ? "left" : "top"] = y, a.behavior = "smooth", a)) : u[w ? "scrollLeft" : "scrollTop"] = y, !0 3928 } 3929 return 0 === t ? (r.setTransition(0), r.setTranslate(g), r.updateActiveIndex(n), r.updateSlidesClasses(), r.emit("beforeTransitionStart", t, s), r.transitionStart(i, m), r.transitionEnd(i, m)) : (r.setTransition(t), r.setTranslate(g), r.updateActiveIndex(n), r.updateSlidesClasses(), r.emit("beforeTransitionStart", t, s), r.transitionStart(i, m), r.animating || (r.animating = !0, r.onSlideToWrapperTransitionEnd || (r.onSlideToWrapperTransitionEnd = function (e) { 3930 r && !r.destroyed && e.target === this && (r.$wrapperEl[0].removeEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.$wrapperEl[0].removeEventListener("webkitTransitionEnd", r.onSlideToWrapperTransitionEnd), r.onSlideToWrapperTransitionEnd = null, delete r.onSlideToWrapperTransitionEnd, r.transitionEnd(i, m)) 3931 }), r.$wrapperEl[0].addEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.$wrapperEl[0].addEventListener("webkitTransitionEnd", r.onSlideToWrapperTransitionEnd))), !0 3932 }, slideToLoop: function (e, t, i, s) { 3933 void 0 === e && (e = 0), void 0 === t && (t = this.params.speed), void 0 === i && (i = !0); 3934 var a = e; 3935 return this.params.loop && (a += this.loopedSlides), this.slideTo(a, t, i, s) 3936 }, slideNext: function (e, t, i) { 3937 void 0 === e && (e = this.params.speed), void 0 === t && (t = !0); 3938 var s = this.params, a = this.animating, r = this.activeIndex < s.slidesPerGroupSkip ? 1 : s.slidesPerGroup; 3939 if (s.loop) { 3940 if (a) return !1; 3941 this.loopFix(), this._clientLeft = this.$wrapperEl[0].clientLeft 3942 } 3943 return this.slideTo(this.activeIndex + r, e, t, i) 3944 }, slidePrev: function (e, t, i) { 3945 void 0 === e && (e = this.params.speed), void 0 === t && (t = !0); 3946 var s = this.params, a = this.animating, r = this.snapGrid, n = this.slidesGrid, o = this.rtlTranslate; 3947 if (s.loop) { 3948 if (a) return !1; 3949 this.loopFix(), this._clientLeft = this.$wrapperEl[0].clientLeft 3950 } 3951 3952 function l(e) { 3953 return e < 0 ? -Math.floor(Math.abs(e)) : Math.floor(e) 3954 } 3955 3956 var d, h = l(o ? this.translate : -this.translate), p = r.map((function (e) { 3957 return l(e) 3958 })), c = (n.map((function (e) { 3959 return l(e) 3960 })), r[p.indexOf(h)], r[p.indexOf(h) - 1]); 3961 return void 0 === c && s.cssMode && r.forEach((function (e) { 3962 !c && h >= e && (c = e) 3963 })), void 0 !== c && (d = n.indexOf(c)) < 0 && (d = this.activeIndex - 1), this.slideTo(d, e, t, i) 3964 }, slideReset: function (e, t, i) { 3965 return void 0 === e && (e = this.params.speed), void 0 === t && (t = !0), this.slideTo(this.activeIndex, e, t, i) 3966 }, slideToClosest: function (e, t, i, s) { 3967 void 0 === e && (e = this.params.speed), void 0 === t && (t = !0), void 0 === s && (s = .5); 3968 var a = this.activeIndex, r = Math.min(this.params.slidesPerGroupSkip, a), 3969 n = r + Math.floor((a - r) / this.params.slidesPerGroup), 3970 o = this.rtlTranslate ? this.translate : -this.translate; 3971 if (o >= this.snapGrid[n]) { 3972 var l = this.snapGrid[n]; 3973 o - l > (this.snapGrid[n + 1] - l) * s && (a += this.params.slidesPerGroup) 3974 } else { 3975 var d = this.snapGrid[n - 1]; 3976 o - d <= (this.snapGrid[n] - d) * s && (a -= this.params.slidesPerGroup) 3977 } 3978 return a = Math.max(a, 0), a = Math.min(a, this.slidesGrid.length - 1), this.slideTo(a, e, t, i) 3979 }, slideToClickedSlide: function () { 3980 var e, t = this, i = t.params, s = t.$wrapperEl, 3981 a = "auto" === i.slidesPerView ? t.slidesPerViewDynamic() : i.slidesPerView, r = t.clickedIndex; 3982 if (i.loop) { 3983 if (t.animating) return; 3984 e = parseInt(n(t.clickedSlide).attr("data-swiper-slide-index"), 10), i.centeredSlides ? r < t.loopedSlides - a / 2 || r > t.slides.length - t.loopedSlides + a / 2 ? (t.loopFix(), r = s.children("." + i.slideClass + '[data-swiper-slide-index="' + e + '"]:not(.' + i.slideDuplicateClass + ")").eq(0).index(), d.nextTick((function () { 3985 t.slideTo(r) 3986 }))) : t.slideTo(r) : r > t.slides.length - a ? (t.loopFix(), r = s.children("." + i.slideClass + '[data-swiper-slide-index="' + e + '"]:not(.' + i.slideDuplicateClass + ")").eq(0).index(), d.nextTick((function () { 3987 t.slideTo(r) 3988 }))) : t.slideTo(r) 3989 } else t.slideTo(r) 3990 } 3991 }; 3992 var g = { 3993 loopCreate: function () { 3994 var e = this, t = e.params, s = e.$wrapperEl; 3995 s.children("." + t.slideClass + "." + t.slideDuplicateClass).remove(); 3996 var a = s.children("." + t.slideClass); 3997 if (t.loopFillGroupWithBlank) { 3998 var r = t.slidesPerGroup - a.length % t.slidesPerGroup; 3999 if (r !== t.slidesPerGroup) { 4000 for (var o = 0; o < r; o += 1) { 4001 var l = n(i.createElement("div")).addClass(t.slideClass + " " + t.slideBlankClass); 4002 s.append(l) 4003 } 4004 a = s.children("." + t.slideClass) 4005 } 4006 } 4007 "auto" !== t.slidesPerView || t.loopedSlides || (t.loopedSlides = a.length), e.loopedSlides = Math.ceil(parseFloat(t.loopedSlides || t.slidesPerView, 10)), e.loopedSlides += t.loopAdditionalSlides, e.loopedSlides > a.length && (e.loopedSlides = a.length); 4008 var d = [], h = []; 4009 a.each((function (t, i) { 4010 var s = n(i); 4011 t < e.loopedSlides && h.push(i), t < a.length && t >= a.length - e.loopedSlides && d.push(i), s.attr("data-swiper-slide-index", t) 4012 })); 4013 for (var p = 0; p < h.length; p += 1) s.append(n(h[p].cloneNode(!0)).addClass(t.slideDuplicateClass)); 4014 for (var c = d.length - 1; c >= 0; c -= 1) s.prepend(n(d[c].cloneNode(!0)).addClass(t.slideDuplicateClass)) 4015 }, loopFix: function () {
4016 this.emit("beforeLoopFix"); 4017 var e, t = this.activeIndex, i = this.slides, s = this.loopedSlides, a = this.allowSlidePrev, 4018 r = this.allowSlideNext, n = this.snapGrid, o = this.rtlTranslate; 4019 this.allowSlidePrev = !0, this.allowSlideNext = !0; 4020 var l = -n[t] - this.getTranslate(); 4021 if (t < s) e = i.length - 3 * s + t, e += s, this.slideTo(e, 0, !1, !0) && 0 !== l && this.setTranslate((o ? -this.translate : this.translate) - l); else if (t >= i.length - s) { 4022 e = -i.length + t + s, e += s, this.slideTo(e, 0, !1, !0) && 0 !== l && this.setTranslate((o ? -this.translate : this.translate) - l) 4023 } 4024 this.allowSlidePrev = a, this.allowSlideNext = r, this.emit("loopFix") 4025 }, loopDestroy: function () { 4026 var e = this.$wrapperEl, t = this.params, i = this.slides; 4027 e.children("." + t.slideClass + "." + t.slideDuplicateClass + ",." + t.slideClass + "." + t.slideBlankClass).remove(), i.removeAttr("data-swiper-slide-index") 4028 } 4029 }; 4030 var b = { 4031 setGrabCursor: function (e) { 4032 if (!(h.touch || !this.params.simulateTouch || this.params.watchOverflow && this.isLocked || this.params.cssMode)) { 4033 var t = this.el; 4034 t.style.cursor = "move", t.style.cursor = e ? "-webkit-grabbing" : "-webkit-grab", t.style.cursor = e ? "-moz-grabbin" : "-moz-grab", t.style.cursor = e ? "grabbing" : "grab" 4035 } 4036 }, unsetGrabCursor: function () { 4037 h.touch || this.params.watchOverflow && this.isLocked || this.params.cssMode || (this.el.style.cursor = "") 4038 } 4039 }; 4040 var w, y, x, E, T, S, C, M, P, z, k, $, L, I, D, O = { 4041 appendSlide: function (e) { 4042 var t = this.$wrapperEl, i = this.params; 4043 if (i.loop && this.loopDestroy(), "object" == typeof e && "length" in e) for (var s = 0; s < e.length; s += 1) e[s] && t.append(e[s]); else t.append(e); 4044 i.loop && this.loopCreate(), i.observer && h.observer || this.update() 4045 }, prependSlide: function (e) { 4046 var t = this.params, i = this.$wrapperEl, s = this.activeIndex; 4047 t.loop && this.loopDestroy(); 4048 var a = s + 1; 4049 if ("object" == typeof e && "length" in e) { 4050 for (var r = 0; r < e.length; r += 1) e[r] && i.prepend(e[r]); 4051 a = s + e.length 4052 } else i.prepend(e); 4053 t.loop && this.loopCreate(), t.observer && h.observer || this.update(), this.slideTo(a, 0, !1) 4054 }, addSlide: function (e, t) { 4055 var i = this.$wrapperEl, s = this.params, a = this.activeIndex; 4056 s.loop && (a -= this.loopedSlides, this.loopDestroy(), this.slides = i.children("." + s.slideClass)); 4057 var r = this.slides.length; 4058 if (e <= 0) this.prependSlide(t); else if (e >= r) this.appendSlide(t); else { 4059 for (var n = a > e ? a + 1 : a, o = [], l = r - 1; l >= e; l -= 1) { 4060 var d = this.slides.eq(l); 4061 d.remove(), o.unshift(d) 4062 } 4063 if ("object" == typeof t && "length" in t) { 4064 for (var p = 0; p < t.length; p += 1) t[p] && i.append(t[p]); 4065 n = a > e ? a + t.length : a 4066 } else i.append(t); 4067 for (var c = 0; c < o.length; c += 1) i.append(o[c]); 4068 s.loop && this.loopCreate(), s.observer && h.observer || this.update(), s.loop ? this.slideTo(n + this.loopedSlides, 0, !1) : this.slideTo(n, 0, !1) 4069 } 4070 }, removeSlide: function (e) { 4071 var t = this.params, i = this.$wrapperEl, s = this.activeIndex; 4072 t.loop && (s -= this.loopedSlides, this.loopDestroy(), this.slides = i.children("." + t.slideClass)); 4073 var a, r = s; 4074 if ("object" == typeof e && "length" in e) { 4075 for (var n = 0; n < e.length; n += 1) a = e[n], this.slides[a] && this.slides.eq(a).remove(), a < r && (r -= 1); 4076 r = Math.max(r, 0) 4077 } else a = e, this.slides[a] && this.slides.eq(a).remove(), a < r && (r -= 1), r = Math.max(r, 0); 4078 t.loop && this.loopCreate(), t.observer && h.observer || this.update(), t.loop ? this.slideTo(r + this.loopedSlides, 0, !1) : this.slideTo(r, 0, !1) 4079 }, removeAllSlides: function () { 4080 for (var e = [], t = 0; t < this.slides.length; t += 1) e.push(t); 4081 this.removeSlide(e) 4082 } 4083 }, A = (w = a.navigator.platform, y = a.navigator.userAgent, x = { 4084 ios: !1, 4085 android: !1, 4086 androidChrome: !1, 4087 desktop: !1, 4088 iphone: !1, 4089 ipod: !1, 4090 ipad: !1, 4091 edge: !1, 4092 ie: !1, 4093 firefox: !1, 4094 macos: !1, 4095 windows: !1, 4096 cordova: !(!a.cordova && !a.phonegap), 4097 phonegap: !(!a.cordova && !a.phonegap), 4098 electron: !1 4099 }, E = a.screen.width, T = a.screen.height, S = y.match(/(Android);?[\s\/]+([\d.]+)?/), C = y.match(/(iPad).*OS\s([\d_]+)/), M = y.match(/(iPod)(.*OS\s([\d_]+))?/), P = !C && y.match(/(iPhone\sOS|iOS)\s([\d_]+)/), z = y.indexOf("MSIE ") >= 0 || y.indexOf("Trident/") >= 0, k = y.indexOf("Edge/") >= 0, $ = y.indexOf("Gecko/") >= 0 && y.indexOf("Firefox/") >= 0, L = "Win32" === w, I = y.toLowerCase().indexOf("electron") >= 0, D = "MacIntel" === w, !C && D && h.touch && (1024 === E && 1366 === T || 834 === E && 1194 === T || 834 === E && 1112 === T || 768 === E && 1024 === T) && (C = y.match(/(Version)\/([\d.]+)/), D = !1), x.ie = z, x.edge = k, x.firefox = $, S && !L && (x.os = "android", x.osVersion = S[2], x.android = !0, x.androidChrome = y.toLowerCase().indexOf("chrome") >= 0), (C || P || M) && (x.os = "ios", x.ios = !0), P && !M && (x.osVersion = P[2].replace(/_/g, "."), x.iphone = !0), C && (x.osVersion = C[2].replace(/_/g, "."), x.ipad = !0), M && (x.osVersion = M[3] ? M[3].replace(/_/g, ".") : null, x.ipod = !0), x.ios && x.osVersion && y.indexOf("Version/") >= 0 && "10" === x.osVersion.split(".")[0] && (x.osVersion = y.toLowerCase().split("version/")[1].split(" ")[0]), x.webView = !(!(P || C || M) || !y.match(/.*AppleWeb
4099Kit(?!.*Safari)/i) && !a.navigator.standalone) || a.matchMedia && a.matchMedia("(display-mode: standalone)").matches, x.webview = x.webView, x.standalone = x.webView, x.desktop = !(x.ios || x.android) || I, x.desktop && (x.electron = I, x.macos = D, x.windows = L, x.macos && (x.os = "macos"), x.windows && (x.os = "windows")), x.pixelRatio = a.devicePixelRatio || 1, x); 4100 4101 function G(e) { 4102 var t = this.touchEventsData, s = this.params, r = this.touches; 4103 if (!this.animating || !s.preventInteractionOnTransition) { 4104 var o = e; 4105 o.originalEvent && (o = o.originalEvent); 4106 var l = n(o.target); 4107 if (("wrapper" !== s.touchEventsTarget || l.closest(this.wrapperEl).length) && (t.isTouchEvent = "touchstart" === o.type, (t.isTouchEvent || !("which" in o) || 3 !== o.which) && !(!t.isTouchEvent && "button" in o && o.button > 0 || t.isTouched && t.isMoved))) if (s.noSwiping && l.closest(s.noSwipingSelector ? s.noSwipingSelector : "." + s.noSwipingClass)[0]) this.allowClick = !0; else if (!s.swipeHandler || l.closest(s.swipeHandler)[0]) { 4108 r.currentX = "touchstart" === o.type ? o.targetTouches[0].pageX : o.pageX, r.currentY = "touchstart" === o.type ? o.targetTouches[0].pageY : o.pageY; 4109 var h = r.currentX, p = r.currentY, c = s.edgeSwipeDetection || s.iOSEdgeSwipeDetection, 4110 u = s.edgeSwipeThreshold || s.iOSEdgeSwipeThreshold; 4111 if (!c || !(h <= u || h >= a.screen.width - u)) { 4112 if (d.extend(t, { 4113 isTouched: !0, 4114 isMoved: !1, 4115 allowTouchCallbacks: !0, 4116 isScrolling: void 0, 4117 startMoving: void 0 4118 }), r.startX = h, r.startY = p, t.touchStartTime = d.now(), this.allowClick = !0, this.updateSize(), this.swipeDirection = void 0, s.threshold > 0 && (t.allowThresholdMove = !1), "touchstart" !== o.type) { 4119 var v = !0; 4120 l.is(t.formElements) && (v = !1), i.activeElement && n(i.activeElement).is(t.formElements) && i.activeElement !== l[0] && i.activeElement.blur(); 4121 var f = v && this.allowTouchMove && s.touchStartPreventDefault; 4122 (s.touchStartForcePreventDefault || f) && o.preventDefault() 4123 } 4124 this.emit("touchStart", o) 4125 } 4126 } 4127 } 4128 } 4129 4130 function H(e) { 4131 var t = this.touchEventsData, s = this.params, a = this.touches, r = this.rtlTranslate, o = e; 4132 if (o.originalEvent && (o = o.originalEvent), t.isTouched) { 4133 if (!t.isTouchEvent || "touchmove" === o.type) { 4134 var l = "touchmove" === o.type && o.targetTouches && (o.targetTouches[0] || o.changedTouches[0]), 4135 h = "touchmove" === o.type ? l.pageX : o.pageX, p = "touchmove" === o.type ? l.pageY : o.pageY; 4136 if (o.preventedByNestedSwiper) return a.startX = h, void (a.startY = p); 4137 if (!this.allowTouchMove) return this.allowClick = !1, void (t.isTouched && (d.extend(a, { 4138 startX: h, 4139 startY: p, 4140 currentX: h, 4141 currentY: p 4142 }), t.touchStartTime = d.now())); 4143 if (t.isTouchEvent && s.touchReleaseOnEdges && !s.loop) if (this.isVertical()) { 4144 if (p < a.startY && this.translate <= this.maxTranslate() || p > a.startY && this.translate >= this.minTranslate()) return t.isTouched = !1, void (t.isMoved = !1) 4145 } else if (h < a.startX && this.translate <= this.maxTranslate() || h > a.startX && this.translate >= this.minTranslate()) return; 4146 if (t.isTouchEvent && i.activeElement && o.target === i.activeElement && n(o.target).is(t.formElements)) return t.isMoved = !0, void (this.allowClick = !1); 4147 if (t.allowTouchCallbacks && this.emit("touchMove", o), !(o.targetTouches && o.targetTouches.length > 1)) { 4148 a.currentX = h, a.currentY = p; 4149 var c = a.currentX - a.startX, u = a.currentY - a.startY; 4150 if (!(this.params.threshold && Math.sqrt(Math.pow(c, 2) + Math.pow(u, 2)) < this.params.threshold)) { 4151 var v; 4152 if (void 0 === t.isScrolling) this.isHorizontal() && a.currentY === a.startY || this.isVertical() && a.currentX === a.startX ? t.isScrolling = !1 : c * c + u * u >= 25 && (v = 180 * Math.atan2(Math.abs(u), Math.abs(c)) / Math.PI, t.isScrolling = this.isHorizontal() ? v > s.touchAngle : 90 - v >
vendor: 9,490 bytes, lines 4152-4245
4152 s.touchAngle); 4153 if (t.isScrolling && this.emit("touchMoveOpposite", o), void 0 === t.startMoving && (a.currentX === a.startX && a.currentY === a.startY || (t.startMoving = !0)), t.isScrolling) t.isTouched = !1; else if (t.startMoving) { 4154 this.allowClick = !1, !s.cssMode && o.cancelable && o.preventDefault(), s.touchMoveStopPropagation && !s.nested && o.stopPropagation(), t.isMoved || (s.loop && this.loopFix(), t.startTranslate = this.getTranslate(), this.setTransition(0), this.animating && this.$wrapperEl.trigger("webkitTransitionEnd transitionend"), t.allowMomentumBounce = !1, !s.grabCursor || !0 !== this.allowSlideNext && !0 !== this.allowSlidePrev || this.setGrabCursor(!0), this.emit("sliderFirstMove", o)), this.emit("sliderMove", o), t.isMoved = !0; 4155 var f = this.isHorizontal() ? c : u; 4156 a.diff = f, f *= s.touchRatio, r && (f = -f), this.swipeDirection = f > 0 ? "prev" : "next", t.currentTranslate = f + t.startTranslate; 4157 var m = !0, g = s.resistanceRatio; 4158 if (s.touchReleaseOnEdges && (g = 0), f > 0 && t.currentTranslate > this.minTranslate() ? (m = !1, s.resistance && (t.currentTranslate = this.minTranslate() - 1 + Math.pow(-this.minTranslate() + t.startTranslate + f, g))) : f < 0 && t.currentTranslate < this.maxTranslate() && (m = !1, s.resistance && (t.currentTranslate = this.maxTranslate() + 1 - Math.pow(this.maxTranslate() - t.startTranslate - f, g))), m && (o.preventedByNestedSwiper = !0), !this.allowSlideNext && "next" === this.swipeDirection && t.currentTranslate < t.startTranslate && (t.currentTranslate = t.startTranslate), !this.allowSlidePrev && "prev" === this.swipeDirection && t.currentTranslate > t.startTranslate && (t.currentTranslate = t.startTranslate), s.threshold > 0) { 4159 if (!(Math.abs(f) > s.threshold || t.allowThresholdMove)) return void (t.currentTranslate = t.startTranslate); 4160 if (!t.allowThresholdMove) return t.allowThresholdMove = !0, a.startX = a.currentX, a.startY = a.currentY, t.currentTranslate = t.startTranslate, void (a.diff = this.isHorizontal() ? a.currentX - a.startX : a.currentY - a.startY) 4161 } 4162 s.followFinger && !s.cssMode && ((s.freeMode || s.watchSlidesProgress || s.watchSlidesVisibility) && (this.updateActiveIndex(), this.updateSlidesClasses()), s.freeMode && (0 === t.velocities.length && t.velocities.push({ 4163 position: a[this.isHorizontal() ? "startX" : "startY"], 4164 time: t.touchStartTime 4165 }), t.velocities.push({ 4166 position: a[this.isHorizontal() ? "currentX" : "currentY"], 4167 time: d.now() 4168 })), this.updateProgress(t.currentTranslate), this.setTranslate(t.currentTranslate)) 4169 } 4170 } 4171 } 4172 } 4173 } else t.startMoving && t.isScrolling && this.emit("touchMoveOpposite", o) 4174 } 4175 4176 function B(e) { 4177 var t = this, i = t.touchEventsData, s = t.params, a = t.touches, r = t.rtlTranslate, n = t.$wrapperEl, 4178 o = t.slidesGrid, l = t.snapGrid, h = e; 4179 if (h.originalEvent && (h = h.originalEvent), i.allowTouchCallbacks && t.emit("touchEnd", h), i.allowTouchCallbacks = !1, !i.isTouched) return i.isMoved && s.grabCursor && t.setGrabCursor(!1), i.isMoved = !1, void (i.startMoving = !1); 4180 s.grabCursor && i.isMoved && i.isTouched && (!0 === t.allowSlideNext || !0 === t.allowSlidePrev) && t.setGrabCursor(!1); 4181 var p, c = d.now(), u = c - i.touchStartTime; 4182 if (t.allowClick && (t.updateClickedSlide(h), t.emit("tap click", h), u < 300 && c - i.lastClickTime < 300 && t.emit("doubleTap doubleClick", h)), i.lastClickTime = d.now(), d.nextTick((function () { 4183 t.destroyed || (t.allowClick = !0) 4184 })), !i.isTouched || !i.isMoved || !t.swipeDirection || 0 === a.diff || i.currentTranslate === i.startTranslate) return i.isTouched = !1, i.isMoved = !1, void (i.startMoving = !1); 4185 if (i.isTouched = !1, i.isMoved = !1, i.startMoving = !1, p = s.followFinger ? r ? t.translate : -t.translate : -i.currentTranslate, !s.cssMode) if (s.freeMode) { 4186 if (p < -t.minTranslate()) return void t.slideTo(t.activeIndex); 4187 if (p > -t.maxTranslate()) return void (t.slides.length < l.length ? t.slideTo(l.length - 1) : t.slideTo(t.slides.length - 1)); 4188 if (s.freeModeMomentum) { 4189 if (i.velocities.length > 1) { 4190 var v = i.velocities.pop(), f = i.velocities.pop(), m = v.position - f.position, 4191 g = v.time - f.time; 4192 t.velocity = m / g, t.velocity /= 2, Math.abs(t.velocity) < s.freeModeMinimumVelocity && (t.velocity = 0), (g > 150 || d.now() - v.time > 300) && (t.velocity = 0) 4193 } else t.velocity = 0; 4194 t.velocity *= s.freeModeMomentumVelocityRatio, i.velocities.length = 0; 4195 var b = 1e3 * s.freeModeMomentumRatio, w = t.velocity * b, y = t.translate + w; 4196 r && (y = -y); 4197 var x, E, T = !1, S = 20 * Math.abs(t.velocity) * s.freeModeMomentumBounceRatio; 4198 if (y < t.maxTranslate()) s.freeModeMomentumBounce ? (y + t.maxTranslate() < -S && (y = t.maxTranslate() - S), x = t.maxTranslate(), T = !0, i.allowMomentumBounce = !0) : y = t.maxTranslate(), s.loop && s.centeredSlides && (E = !0); else if (y > t.minTranslate()) s.freeModeMomentumBounce ? (y - t.minTranslate() > S && (y = t.minTranslate() + S), x = t.minTranslate(), T = !0, i.allowMomentumBounce = !0) : y = t.minTranslate(), s.loop && s.centeredSlides && (E = !0); else if (s.freeModeSticky) { 4199 for (var C, M = 0; M < l.length; M += 1) if (l[M] > -y) { 4200 C = M; 4201 break 4202 } 4203 y = -(y = Math.abs(l[C] - y) < Math.abs(l[C - 1] - y) || "next" === t.swipeDirection ? l[C] : l[C - 1]) 4204 } 4205 if (E && t.once("transitionEnd", (function () { 4206 t.loopFix() 4207 })), 0 !== t.velocity) { 4208 if (b = r ? Math.abs((-y - t.translate) / t.velocity) : Math.abs((y - t.translate) / t.velocity), s.freeModeSticky) { 4209 var P = Math.abs((r ? -y : y) - t.translate), z = t.slidesSizesGrid[t.activeIndex]; 4210 b = P < z ? s.speed : P < 2 * z ? 1.5 * s.speed : 2.5 * s.speed 4211 } 4212 } else if (s.freeModeSticky) return void t.slideToClosest(); 4213 s.freeModeMomentumBounce && T ? (t.updateProgress(x), t.setTransition(b), t.setTranslate(y), t.transitionStart(!0, t.swipeDirection), t.animating = !0, n.transitionEnd((function () { 4214 t && !t.destroyed && i.allowMomentumBounce && (t.emit("momentumBounce"), t.setTransition(s.speed), setTimeout((function () { 4215 t.setTranslate(x), n.transitionEnd((function () { 4216 t && !t.destroyed && t.transitionEnd() 4217 })) 4218 }), 0)) 4219 }))) : t.velocity ? (t.updateProgress(y), t.setTransition(b), t.setTranslate(y), t.transitionStart(!0, t.swipeDirection), t.animating || (t.animating = !0, n.transitionEnd((function () { 4220 t && !t.destroyed && t.transitionEnd() 4221 })))) : t.updateProgress(y), t.updateActiveIndex(), t.updateSlidesClasses() 4222 } else if (s.freeModeSticky) return void t.slideToClosest(); 4223 (!s.freeModeMomentum || u >= s.longSwipesMs) && (t.updateProgress(), t.updateActiveIndex(), t.updateSlidesClasses()) 4224 } else { 4225 for (var k = 0, $ = t.slidesSizesGrid[0], L = 0; L < o.length; L += L < s.slidesPerGroupSkip ? 1 : s.slidesPerGroup) { 4226 var I = L < s.slidesPerGroupSkip - 1 ? 1 : s.slidesPerGroup; 4227 void 0 !== o[L + I] ? p >= o[L] && p < o[L + I] && (k = L, $ = o[L + I] - o[L]) : p >= o[L] && (k = L, $ = o[o.length - 1] - o[o.length - 2]) 4228 } 4229 var D = (p - o[k]) / $, O = k < s.slidesPerGroupSkip - 1 ? 1 : s.slidesPerGroup; 4230 if (u > s.longSwipesMs) { 4231 if (!s.longSwipes) return void t.slideTo(t.activeIndex); 4232 "next" === t.swipeDirection && (D >= s.longSwipesRatio ? t.slideTo(k + O) : t.slideTo(k)), "prev" === t.swipeDirection && (D > 1 - s.longSwipesRatio ? t.slideTo(k + O) : t.slideTo(k)) 4233 } else { 4234 if (!s.shortSwipes) return void t.slideTo(t.activeIndex); 4235 t.navigation && (h.target === t.navigation.nextEl || h.target === t.navigation.prevEl) ? h.target === t.navigation.nextEl ? t.slideTo(k + O) : t.slideTo(k) : ("next" === t.swipeDirection && t.slideTo(k + O), "prev" === t.swipeDirection && t.slideTo(k)) 4236 } 4237 } 4238 } 4239 4240 function N() { 4241 var e = this.params, t = this.el; 4242 if (!t || 0 !== t.offsetWidth) { 4243 e.breakpoints && this.setBreakpoint(); 4244 var i = this.allowSlideNext, s = this.allowSlidePrev, a = this.snapGrid; 4245 this.allowSlideNext = !0, this.allowSlidePrev = !0, this.updateSize(), this.updateSlides(), this.updateSlidesClasses(), ("auto" === e.slidesPerView || e.slidesPerView >
4245 1) && this.isEnd && !this.isBeginning && !this.params.centeredSlides ? this.slideTo(this.slides.length - 1, 0, !1, !0) : this.slideTo(this.activeIndex, 0, !1, !0), this.autoplay && this.autoplay.running && this.autoplay.paused && this.autoplay.run(), this.allowSlidePrev = s, this.allowSlideNext = i, this.params.watchOverflow && a !== this.snapGrid && this.checkOverflow() 4246 } 4247 } 4248 4249 function X(e) { 4250 this.allowClick || (this.params.preventClicks && e.preventDefault(), this.params.preventClicksPropagation && this.animating && (e.stopPropagation(), e.stopImmediatePropagation())) 4251 } 4252 4253 function V() { 4254 var e = this.wrapperEl, t = this.rtlTranslate; 4255 this.previousTranslate = this.translate, this.isHorizontal() ? this.translate = t ? e.scrollWidth - e.offsetWidth - e.scrollLeft : -e.scrollLeft : this.translate = -e.scrollTop, -0 === this.translate && (this.translate = 0), this.updateActiveIndex(), this.updateSlidesClasses(); 4256 var i = this.maxTranslate() - this.minTranslate(); 4257 (0 === i ? 0 : (this.translate - this.minTranslate()) / i) !== this.progress && this.updateProgress(t ? -this.translate : this.translate), this.emit("setTranslate", this.translate, !1) 4258 } 4259 4260 var Y = !1; 4261 4262 function F() { 4263 } 4264 4265 var W = { 4266 init: !0, 4267 direction: "horizontal", 4268 touchEventsTarget: "container", 4269 initialSlide: 0, 4270 speed: 300, 4271 cssMode: !1, 4272 updateOnWindowResize: !0, 4273 preventInteractionOnTransition: !1, 4274 edgeSwipeDetection: !1, 4275 edgeSwipeThreshold: 20, 4276 freeMode: !1, 4277 freeModeMomentum: !0, 4278 freeModeMomentumRatio: 1, 4279 freeModeMomentumBounce: !0, 4280 freeModeMomentumBounceRatio: 1, 4281 freeModeMomentumVelocityRatio: 1, 4282 freeModeSticky: !1, 4283 freeModeMinimumVelocity: .02, 4284 autoHeight: !1, 4285 setWrapperSize: !1, 4286 virtualTranslate: !1, 4287 effect: "slide", 4288 breakpoints: void 0, 4289 spaceBetween: 0, 4290 slidesPerView: 1, 4291 slidesPerColumn: 1, 4292 slidesPerColumnFill: "column", 4293 slidesPerGroup: 1, 4294 slidesPerGroupSkip: 0, 4295 centeredSlides: !1, 4296 centeredSlidesBounds: !1, 4297 slidesOffsetBefore: 0, 4298 slidesOffsetAfter: 0, 4299 normalizeSlideIndex: !0, 4300 centerInsufficientSlides: !1, 4301 watchOverflow: !1, 4302 roundLengths: !1, 4303 touchRatio: 1, 4304 touchAngle: 45, 4305 simulateTouch: !0, 4306 shortSwipes: !0, 4307 longSwipes: !0, 4308 longSwipesRatio: .5, 4309 longSwipesMs: 300, 4310 followFinger: !0, 4311 allowTouchMove: !0, 4312 threshold: 0, 4313 touchMoveStopPropagation: !1, 4314 touchStartPreventDefault: !0, 4315 touchStartForcePreventDefault: !1, 4316 touchReleaseOnEdges: !1, 4317 uniqueNavElements: !0, 4318 resistance: !0, 4319 resistanceRatio: .85, 4320 watchSlidesProgress: !1, 4321 watchSlidesVisibility: !1, 4322 grabCursor: !1, 4323 preventClicks: !0, 4324 preventClicksPropagation: !0, 4325 slideToClickedSlide: !1, 4326 preloadImages: !0, 4327 updateOnImagesReady: !0, 4328 loop: !1, 4329 loopAdditionalSlides: 0, 4330 loopedSlides: null, 4331 loopFillGroupWithBlank: !1, 4332 allowSlidePrev: !0, 4333 allowSlideNext: !0, 4334 swipeHandler: null, 4335 noSwiping: !0, 4336 noSwipingClass: "swiper-no-swiping", 4337 noSwipingSelector: null, 4338 passiveListeners: !0, 4339 containerModifierClass: "swiper-container-", 4340 slideClass: "swiper-slide", 4341 slideBlankClass: "swiper-slide-invisible-blank", 4342 slideActiveClass: "swiper-slide-active", 4343 slideDuplicateActiveClass: "swiper-slide-duplicate-active", 4344 slideVisibleClass: "swiper-slide-visible", 4345 slideDuplicateClass: "swiper-slide-duplicate", 4346 slideNextClass: "swiper-slide-next", 4347 slideDuplicateNextClass: "swiper-slide-duplicate-next", 4348 slidePrevClass: "swiper-slide-prev", 4349 slideDuplicatePrevClass: "swiper-slide-duplicate-prev", 4350 wrapperClass: "swiper-wrapper", 4351 runCallbacksOnInit: !0 4352 }, R = { 4353 update: u, translate: v, transition: f, slide: m, loop: g, grabCursor: b, manipulation: O, events: { 4354 attachEvents: function () { 4355 var e = this.params, t = this.touchEvents, s = this.el, a = this.wrapperEl; 4356 this.onTouchStart = G.bind(this), this.onTouchMove = H.bind(this), this.onTouchEnd = B.bind(this), e.cssMode && (this.onScroll = V.bind(this)), this.onClick = X.bind(this); 4357 var r = !!e.nested; 4358 if (!h.touch && h.pointerEvents) s.addEventListener(t.
4358start, this.onTouchStart, !1), i.addEventListener(t.move, this.onTouchMove, r), i.addEventListener(t.end, this.onTouchEnd, !1); else { 4359 if (h.touch) { 4360 var n = !("touchstart" !== t.start || !h.passiveListener || !e.passiveListeners) && { 4361 passive: !0, 4362 capture: !1 4363 }; 4364 s.addEventListener(t.start, this.onTouchStart, n), s.addEventListener(t.move, this.onTouchMove, h.passiveListener ? { 4365 passive: !1, 4366 capture: r 4367 } : r), s.addEventListener(t.end, this.onTouchEnd, n), t.cancel && s.addEventListener(t.cancel, this.onTouchEnd, n), Y || (i.addEventListener("touchstart", F), Y = !0) 4368 } 4369 (e.simulateTouch && !A.ios && !A.android || e.simulateTouch && !h.touch && A.ios) && (s.addEventListener("mousedown", this.onTouchStart, !1), i.addEventListener("mousemove", this.onTouchMove, r), i.addEventListener("mouseup", this.onTouchEnd, !1)) 4370 } 4371 (e.preventClicks || e.preventClicksPropagation) && s.addEventListener("click", this.onClick, !0), e.cssMode && a.addEventListener("scroll", this.onScroll), e.updateOnWindowResize ? this.on(A.ios || A.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", N, !0) : this.on("observerUpdate", N, !0) 4372 }, detachEvents: function () { 4373 var e = this.params, t = this.touchEvents, s = this.el, a = this.wrapperEl, r = !!e.nested; 4374 if (!h.touch && h.pointerEvents) s.removeEventListener(t.start, this.onTouchStart, !1), i.removeEventListener(t.move, this.onTouchMove, r), i.removeEventListener(t.end, this.onTouchEnd, !1); else { 4375 if (h.touch) { 4376 var n = !("onTouchStart" !== t.start || !h.passiveListener || !e.passiveListeners) && { 4377 passive: !0, 4378 capture: !1 4379 }; 4380 s.removeEventListener(t.start, this.onTouchStart, n), s.removeEventListener(t.move, this.onTouchMove, r), s.removeEventListener(t.end, this.onTouchEnd, n), t.cancel && s.removeEventListener(t.cancel, this.onTouchEnd, n) 4381 } 4382 (e.simulateTouch && !A.ios && !A.android || e.simulateTouch && !h.touch && A.ios) && (s.removeEventListener("mousedown", this.onTouchStart, !1), i.removeEventListener("mousemove", this.onTouchMove, r), i.removeEventListener("mouseup", this.onTouchEnd, !1)) 4383 } 4384 (e.preventClicks || e.preventClicksPropagation) && s.removeEventListener("click", this.onClick, !0), e.cssMode && a.removeEventListener("scroll", this.onScroll), this.off(A.ios || A.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", N) 4385 } 4386 }, breakpoints: { 4387 setBreakpoint: function () { 4388 var e = this.activeIndex, t = this.initialized, i = this.loopedSlides; 4389 void 0 === i && (i = 0); 4390 var s = this.params, a = this.$el, r = s.breakpoints; 4391 if (r && (!r || 0 !== Object.keys(r).length)) { 4392 var n = this.getBreakpoint(r); 4393 if (n && this.currentBreakpoint !== n) { 4394 var o = n in r ? r[n] : void 0; 4395 o && ["slidesPerView", "spaceBetween", "slidesPerGroup", "slidesPerGroupSkip", "slidesPerColumn"].forEach((function (e) { 4396 var t = o[e]; 4397 void 0 !== t && (o[e] = "slidesPerView" !== e || "AUTO" !== t && "auto" !== t ? "slidesPerView" === e ? parseFloat(t) : parseInt(t, 10) : "auto") 4398 })); 4399 var l = o || this.originalParams, h = s.slidesPerColumn > 1, p = l.slidesPerColumn > 1; 4400 h && !p ? a.removeClass(s.containerModifierClass + "multirow " + s.containerModifierClass + "multirow-column") : !h && p && (a.addClass(s.containerModifierClass + "multirow"), "column" === l.slidesPerColumnFill && a.addClass(s.containerModifierClass + "multirow-column")); 4401 var c = l.direction && l.direction !== s.direction, 4402 u = s.loop && (l.slidesPerView !== s.slidesPerView || c); 4403 c && t && this.changeDirection(), d.extend(this.params, l), d.extend(this, { 4404 allowTouchMove: this.params.allowTouchMove, 4405 allowSlideNext: this.params.allowSlideNext, 4406 allowSlidePrev: this.params.allowSlidePrev 4407 }), this.currentBreakpoint = n, u && t && (this.loopDestroy(), this.loopCreate(), this.updateSlides(), this.slideTo(e - i + this.loopedSlides, 0, !1)), this.emit
4407("breakpoint", l) 4408 } 4409 } 4410 }, getBreakpoint: function (e) { 4411 if (e) { 4412 var t = !1, i = Object.keys(e).map((function (e) { 4413 if ("string" == typeof e && 0 === e.indexOf("@")) { 4414 var t = parseFloat(e.substr(1)); 4415 return {value: a.innerHeight * t, point: e} 4416 } 4417 return {value: e, point: e} 4418 })); 4419 i.sort((function (e, t) { 4420 return parseInt(e.value, 10) - parseInt(t.value, 10) 4421 })); 4422 for (var s = 0; s < i.length; s += 1) { 4423 var r = i[s], n = r.point; 4424 r.value <= a.innerWidth && (t = n) 4425 } 4426 return t || "max" 4427 } 4428 } 4429 }, checkOverflow: { 4430 checkOverflow: function () { 4431 var e = this.params, t = this.isLocked, 4432 i = this.slides.length > 0 && e.slidesOffsetBefore + e.spaceBetween * (this.slides.length - 1) + this.slides[0].offsetWidth * this.slides.length; 4433 e.slidesOffsetBefore && e.slidesOffsetAfter && i ? this.isLocked = i <= this.size : this.isLocked = 1 === this.snapGrid.length, this.allowSlideNext = !this.isLocked, this.allowSlidePrev = !this.isLocked, t !== this.isLocked && this.emit(this.isLocked ? "lock" : "unlock"), t && t !== this.isLocked && (this.isEnd = !1, this.navigation && this.navigation.update()) 4434 } 4435 }, classes: { 4436 addClasses: function () { 4437 var e = this.classNames, t = this.params, i = this.rtl, s = this.$el, a = []; 4438 a.push("initialized"), a.push(t.direction), t.freeMode && a.push("free-mode"), t.autoHeight && a.push("autoheight"), i && a.push("rtl"), t.slidesPerColumn > 1 && (a.push("multirow"), "column" === t.slidesPerColumnFill && a.push("multirow-column")), A.android && a.push("android"), A.ios && a.push("ios"), t.cssMode && a.push("css-mode"), a.forEach((function (i) { 4439 e.push(t.containerModifierClass + i) 4440 })), s.addClass(e.join(" ")) 4441 }, removeClasses: function () { 4442 var e = this.$el, t = this.classNames; 4443 e.removeClass(t.join(" ")) 4444 } 4445 }, images: { 4446 loadImage: function (e, t, i, s, r, o) { 4447 var l; 4448 4449 function d() { 4450 o && o() 4451 } 4452 4453 n(e).parent("picture")[0] || e.complete && r ? d() : t ? ((l = new a.Image).onload = d, l.onerror = d, s && (l.sizes = s), i && (l.srcset = i), t && (l.src = t)) : d() 4454 }, preloadImages: function () { 4455 var e = this; 4456 4457 function t() { 4458 null != e && e && !e.destroyed && (void 0 !== e.imagesLoaded && (e.imagesLoaded += 1), e.imagesLoaded === e.imagesToLoad.length && (e.params.updateOnImagesReady && e.update(), e.emit("imagesReady"))) 4459 } 4460 4461 e.imagesToLoad = e.$el.find("img"); 4462 for (var i = 0; i < e.imagesToLoad.length; i += 1) { 4463 var s = e.imagesToLoad[i]; 4464 e.loadImage(s, s.currentSrc || s.getAttribute("src"), s.srcset || s.getAttribute("srcset"), s.sizes || s.getAttribute("sizes"), !0, t) 4465 } 4466 } 4467 } 4468 }, q = {}, j = function (e) { 4469 function t() { 4470 for (var i, s, a, r = [], o = arguments.length; o--;) r[o] = arguments[o]; 4471 1 === r.length && r[0].constructor && r[0].constructor === Object ? a = r[0] : (s = (i = r)[0], a = i[1]), a || (a = {}), a = d.extend({}, a), s && !a.el && (a.el = s), e.call(this, a), Object.keys(R).forEach((function (e) {
vendor: 5,019 bytes, lines 4472-4562
4472 Object.keys(R[e]).forEach((function (i) { 4473 t.prototype[i] || (t.prototype[i] = R[e][i]) 4474 })) 4475 })); 4476 var l = this; 4477 void 0 === l.modules && (l.modules = {}), Object.keys(l.modules).forEach((function (e) { 4478 var t = l.modules[e]; 4479 if (t.params) { 4480 var i = Object.keys(t.params)[0], s = t.params[i]; 4481 if ("object" != typeof s || null === s) return; 4482 if (!(i in a) || !("enabled" in s)) return; 4483 !0 === a[i] && (a[i] = {enabled: !0}), "object" != typeof a[i] || "enabled" in a[i] || (a[i].enabled = !0), a[i] || (a[i] = {enabled: !1}) 4484 } 4485 })); 4486 var p = d.extend({}, W); 4487 l.useModulesParams(p), l.params = d.extend({}, p, q, a), l.originalParams = d.extend({}, l.params), l.passedParams = d.extend({}, a), l.$ = n; 4488 var c = n(l.params.el); 4489 if (s = c[0]) { 4490 if (c.length > 1) { 4491 var u = []; 4492 return c.each((function (e, i) { 4493 var s = d.extend({}, a, {el: i}); 4494 u.push(new t(s)) 4495 })), u 4496 } 4497 var v, f, m; 4498 return s.swiper = l, c.data("swiper", l), s && s.shadowRoot && s.shadowRoot.querySelector ? (v = n(s.shadowRoot.querySelector("." + l.params.wrapperClass))).children = function (e) { 4499 return c.children(e) 4500 } : v = c.children("." + l.params.wrapperClass), d.extend(l, { 4501 $el: c, 4502 el: s, 4503 $wrapperEl: v, 4504 wrapperEl: v[0], 4505 classNames: [], 4506 slides: n(), 4507 slidesGrid: [], 4508 snapGrid: [], 4509 slidesSizesGrid: [], 4510 isHorizontal: function () { 4511 return "horizontal" === l.params.direction 4512 }, 4513 isVertical: function () { 4514 return "vertical" === l.params.direction 4515 }, 4516 rtl: "rtl" === s.dir.toLowerCase() || "rtl" === c.css("direction"), 4517 rtlTranslate: "horizontal" === l.params.direction && ("rtl" === s.dir.toLowerCase() || "rtl" === c.css("direction")), 4518 wrongRTL: "-webkit-box" === v.css("display"), 4519 activeIndex: 0, 4520 realIndex: 0, 4521 isBeginning: !0, 4522 isEnd: !1, 4523 translate: 0, 4524 previousTranslate: 0, 4525 progress: 0, 4526 velocity: 0, 4527 animating: !1, 4528 allowSlideNext: l.params.allowSlideNext, 4529 allowSlidePrev: l.params.allowSlidePrev, 4530 touchEvents: (f = ["touchstart", "touchmove", "touchend", "touchcancel"], m = ["mousedown", "mousemove", "mouseup"], h.pointerEvents && (m = ["pointerdown", "pointermove", "pointerup"]), l.touchEventsTouch = { 4531 start: f[0], 4532 move: f[1], 4533 end: f[2], 4534 cancel: f[3] 4535 }, l.touchEventsDesktop = { 4536 start: m[0], 4537 move: m[1], 4538 end: m[2] 4539 }, h.touch || !l.params.simulateTouch ? l.touchEventsTouch : l.touchEventsDesktop), 4540 touchEventsData: { 4541 isTouched: void 0, 4542 isMoved: void 0, 4543 allowTouchCallbacks: void 0, 4544 touchStartTime: void 0, 4545 isScrolling: void 0, 4546 currentTranslate: void 0, 4547 startTranslate: void 0, 4548 allowThresholdMove: void 0, 4549 formElements: "input, select, option, textarea, button, video, label", 4550 lastClickTime: d.now(), 4551 clickTimeout: void 0, 4552 velocities: [], 4553 allowMomentumBounce: void 0, 4554 isTouchEvent: void 0, 4555 startMoving: void 0 4556 }, 4557 allowClick: !0, 4558 allowTouchMove: l.params.allowTouchMove, 4559 touches: {startX: 0, startY: 0, currentX: 0, currentY: 0, diff: 0}, 4560 imagesToLoad: [], 4561 imagesLoaded: 0 4562 }
4562), l.useModules(), l.params.init && l.init(), l 4563 } 4564 } 4565 4566 e && (t.__proto__ = e), t.prototype = Object.create(e && e.prototype), t.prototype.constructor = t; 4567 var i = { 4568 extendedDefaults: {configurable: !0}, 4569 defaults: {configurable: !0}, 4570 Class: {configurable: !0}, 4571 $: {configurable: !0} 4572 }; 4573 return t.prototype.slidesPerViewDynamic = function () { 4574 var e = this.params, t = this.slides, i = this.slidesGrid, s = this.size, a = this.activeIndex, r = 1; 4575 if (e.centeredSlides) { 4576 for (var n, o = t[a].swiperSlideSize, l = a + 1; l < t.length; l += 1) t[l] && !n && (r += 1, (o += t[l].swiperSlideSize) > s && (n = !0)); 4577 for (var d = a - 1; d >= 0; d -= 1) t[d] && !n && (r += 1, (o += t[d].swiperSlideSize) > s && (n = !0)) 4578 } else for (var h = a + 1; h < t.length; h += 1) i[h] - i[a] < s && (r += 1); 4579 return r 4580 }, t.prototype.update = function () { 4581 var e = this; 4582 if (e && !e.destroyed) { 4583 var t = e.snapGrid, i = e.params; 4584 i.breakpoints && e.setBreakpoint(), e.updateSize(), e.updateSlides(), e.updateProgress(), e.updateSlidesClasses(), e.params.freeMode ? (s(), e.params.autoHeight && e.updateAutoHeight()) : (("auto" === e.params.slidesPerView || e.params.slidesPerView > 1) && e.isEnd && !e.params.centeredSlides ? e.slideTo(e.slides.length - 1, 0, !1, !0) : e.slideTo(e.activeIndex, 0, !1, !0)) || s(), i.watchOverflow && t !== e.snapGrid && e.checkOverflow(), e.emit("update") 4585 } 4586 4587 function s() { 4588 var t = e.rtlTranslate ? -1 * e.translate : e.translate, 4589 i = Math.min(Math.max(t, e.maxTranslate()), e.minTranslate()); 4590 e.setTranslate(i), e.updateActiveIndex(), e.updateSlidesClasses() 4591 } 4592 }, t.prototype.changeDirection = function (e, t) { 4593 void 0 === t && (t = !0); 4594 var i = this.params.direction; 4595 return e || (e = "horizontal" === i ? "vertical" : "horizontal"), e === i || "horizontal" !== e && "vertical" !== e || (this.$el.removeClass("" + this.params.containerModifierClass + i).addClass("" + this.params.containerModifierClass + e), this.params.direction = e, this.slides.each((function (t, i) { 4596 "vertical" === e ? i.style.width = "" : i.style.height = "" 4597 })), this.emit("changeDirection"), t && this.update()), this 4598 }, t.prototype.init = function () {
4599 this.initialized || (this.emit("beforeInit"), this.params.breakpoints && this.setBreakpoint(), this.addClasses(), this.params.loop && this.loopCreate(), this.updateSize(), this.updateSlides(), this.params.watchOverflow && this.checkOverflow(), this.params.grabCursor && this.setGrabCursor(), this.params.preloadImages && this.preloadImages(), this.params.loop ? this.slideTo(this.params.initialSlide + this.loopedSlides, 0, this.params.runCallbacksOnInit) : this.slideTo(this.params.initialSlide, 0, this.params.runCallbacksOnInit), this.attachEvents(), this.initialized = !0, this.emit("init")) 4600 }, t.prototype.destroy = function (e, t) { 4601 void 0 === e && (e = !0), void 0 === t && (t = !0); 4602 var i = this, s = i.params, a = i.$el, r = i.$wrapperEl, n = i.slides; 4603 return void 0 === i.params || i.destroyed || (i.emit("beforeDestroy"), i.initialized = !1, i.detachEvents(), s.loop && i.loopDestroy(), t && (i.removeClasses(), a.removeAttr("style"), r.removeAttr("style"), n && n.length && n.removeClass([s.slideVisibleClass, s.slideActiveClass, s.slideNextClass, s.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")), i.emit("destroy"), Object.keys(i.eventsListeners).forEach((function (e) { 4604 i.off(e) 4605 })), !1 !== e && (i.$el[0].swiper = null, i.$el.data("swiper", null), d.deleteProps(i)), i.destroyed = !0), null 4606 }, t.extendDefaults = function (e) { 4607 d.extend(q, e) 4608 }, i.extendedDefaults.get = function () { 4609 return q 4610 }, i.defaults.get = function () { 4611 return W 4612 }, i.Class.get = function () { 4613 return e 4614 }, i.$.get = function () { 4615 return n 4616 }, Object.defineProperties(t, i), t 4617 }(p), K = {name: "device", proto: {device: A}, static: {device: A}}, 4618 U = {name: "support", proto: {support: h}, static: {support: h}}, _ = { 4619 isEdge: !!a.navigator.userAgent.match(/Edge/g), isSafari: function () { 4620 var e = a.navigator.userAgent.toLowerCase(); 4621 return e.indexOf("safari") >= 0 && e.indexOf("chrome") < 0 && e.indexOf("android") < 0 4622 }(), isWebView: /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(a.navigator.userAgent) 4623 }, Z = {name: "browser", proto: {browser: _}, static: {browser: _}}, Q = { 4624 name: "resize", create: function () { 4625 var e = this; 4626 d.extend(e, { 4627 resize: { 4628 resizeHandler: function () { 4629 e && !e.destroyed && e.initialized && (e.emit("beforeResize"), e.emit("resize")) 4630 }, orientationChangeHandler: function () { 4631 e && !e.destroyed && e.initialized && e.emit("orientationchange") 4632 } 4633 } 4634 }) 4635 }, on: { 4636 init: function () { 4637 a.addEventListener("resize", this.resize.resizeHandler), a.addEventListener("orientationchange", this.resize.orientationChangeHandler) 4638 }, destroy: function () { 4639 a.removeEventListener("resize", this.resize.resizeHandler), a.removeEventListener("orientationchange", this.resize.orientationChangeHandler) 4640 } 4641 } 4642 }, J = { 4643 func: a.MutationObserver || a.WebkitMutationObserver, attach: function (e, t) { 4644 void 0 === t && (t = {}); 4645 var i = this, s = new (0, J.func)((function (e) { 4646 if (1 !== e.length) { 4647 var t = function () { 4648 i.emit("observerUpdate", e[0]) 4649 }; 4650 a.requestAnimationFrame ? a.requestAnimationFrame(t) : a.setTimeout(t, 0) 4651 } else i.emit("observerUpdate", e[0]) 4652 })); 4653 s.observe(e, { 4654 attributes: void 0 === t.attributes || t.attributes, 4655 childList: void 0 === t.childList || t.childList, 4656 characterData: void 0 === t.characterData || t.characterData 4657 }), i.observer.observers.push(s) 4658 }, init: function () { 4659 if (h.observer && this.params.observer) { 4660 if (this.params.observeParents) for (var e = this.$el.parents(), t = 0; t < e.length; t += 1) this.observer.attach(e[t]); 4661 this.observer.attach(this.$el[0], {childList: this.params.observeSlideChildren}), this.observer.attach(this.$wrapperEl[0], {attributes: !1}) 4662 } 4663 }, destroy: function () {
4664 this.observer.observers.forEach((function (e) { 4665 e.disconnect() 4666 })), this.observer.observers = [] 4667 } 4668 }, ee = { 4669 name: "observer", 4670 params: {observer: !1, observeParents: !1, observeSlideChildren: !1}, 4671 create: function () { 4672 d.extend(this, { 4673 observer: { 4674 init: J.init.bind(this), 4675 attach: J.attach.bind(this), 4676 destroy: J.destroy.bind(this), 4677 observers: [] 4678 } 4679 }) 4680 }, 4681 on: { 4682 init: function () { 4683 this.observer.init() 4684 }, destroy: function () { 4685 this.observer.destroy() 4686 } 4687 } 4688 }, te = { 4689 update: function (e) { 4690 var t = this, i = t.params, s = i.slidesPerView, a = i.slidesPerGroup, r = i.centeredSlides, 4691 n = t.params.virtual, o = n.addSlidesBefore, l = n.addSlidesAfter, h = t.virtual, p = h.from, c = h.to, 4692 u = h.slides, v = h.slidesGrid, f = h.renderSlide, m = h.offset; 4693 t.updateActiveIndex(); 4694 var g, b, w, y = t.activeIndex || 0; 4695 g = t.rtlTranslate ? "right" : t.isHorizontal() ? "left" : "top", r ? (b = Math.floor(s / 2) + a + o, w = Math.floor(s / 2) + a + l) : (b = s + (a - 1) + o, w = a + l); 4696 var x = Math.max((y || 0) - w, 0), E = Math.min((y || 0) + b, u.length - 1), 4697 T = (t.slidesGrid[x] || 0) - (t.slidesGrid[0] || 0); 4698 4699 function S() { 4700 t.updateSlides(), t.updateProgress(), t.updateSlidesClasses(), t.lazy && t.params.lazy.enabled && t.lazy.load() 4701 } 4702 4703 if (d.extend(t.virtual, { 4704 from: x, 4705 to: E, 4706 offset: T, 4707 slidesGrid: t.slidesGrid 4708 }), p === x && c === E && !e) return t.slidesGrid !== v && T !== m && t.slides.css(g, T + "px"), void t.updateProgress(); 4709 if (t.params.virtual.renderExternal) return t.params.virtual.renderExternal.call(t, { 4710 offset: T, 4711 from: x, 4712 to: E, 4713 slides: function () { 4714 for (var e = [], t = x; t <= E; t += 1) e.push(u[t]); 4715 return e 4716 }() 4717 }), void S(); 4718 var C = [], M = []; 4719 if (e) t.$wrapperEl.find("." + t.params.slideClass).remove(); else for (var P = p; P <= c; P += 1) (P < x || P > E) && t.$wrapperEl.find("." + t.params.slideClass + '[data-swiper-slide-index="' + P + '"]').remove(); 4720 for (var z = 0; z < u.length; z += 1) z >= x && z <= E && (void 0 === c || e ? M.push(z) : (z > c && M.push(z), z < p && C.push(z))); 4721 M.forEach((function (e) { 4722 t.$wrapperEl.append(f(u[e], e)) 4723 })), C.sort((function (e, t) { 4724 return t - e 4725 })).forEach((function (e) { 4726 t.$wrapperEl.prepend(f(u[e], e)) 4727 })), t.$wrapperEl.children(".swiper-slide").css(g, T + "px"), S() 4728 }, renderSlide: function (e, t) { 4729 var i = this.params.virtual; 4730 if (i.cache && this.virtual.cache[t]) return this.virtual.cache[t]; 4731 var s = i.renderSlide ? n(i.renderSlide.call(this, e, t)) : n('<div class="' + this.params.slideClass + '" data-swiper-slide-index="' + t + '">' + e + "</div>"); 4732 return s.attr("data-swiper-slide-index") || s.attr("data-swiper-slide-index", t), i.cache && (this.virtual.cache[t] = s), s 4733 }, appendSlide: function (e) { 4734 if ("object" == typeof e && "length" in e) for (var t = 0; t < e.length; t += 1) e[t] && this.virtual.slides.push(e[t]); else this.virtual.slides.push(e); 4735 this.virtual.update(!0) 4736 }, prependSlide: function (e) { 4737 var t = this.activeIndex, i = t + 1, s = 1; 4738 if (Array.isArray(e)) { 4739 for (var a = 0; a < e.length; a += 1) e[a] && this.virtual.slides.unshift(e[a]); 4740 i = t + e.length, s = e.length 4741 } else this.virtual.slides.unshift(e); 4742 if (this.params.virtual.cache) { 4743 var r = this.virtual.cache, n = {}; 4744 Object.keys(r).forEach((function (e) { 4745 var t = r[e], i = t.attr("data-swiper-slide-index"); 4746 i && t.attr("data-swiper-slide-index", parseInt(i, 10) + 1), n[parseInt(e, 10) + s] = t 4747 })), this.virtual.cache = n 4748 } 4749 this.virtual.update(!0), this.slideTo(i, 0) 4750 }, removeSlide: function (e) { 4751 if (null != e) { 4752 var t = this.activeIndex; 4753 if (Array.isArray(e)) for (var i = e.length - 1; i >= 0; i -= 1) this.virtual.slides.splice(e[i], 1), this.params.virtual.cache && delete this.virtual.cache[e[i]], e[i] < t && (t -= 1), t = Math.max(t, 0); else this.virtual.slides.splice(e, 1), this.params.virtual.cache && delete this.virtual.cache[e], e < t && (t -= 1), t = Math.max(t, 0); 4754 this.virtual.update(!0), this.slideTo(t, 0) 4755 } 4756 }, removeAllSlides: function () { 4757 this.virtual.slides = [], this.params.virtual.cache && (this.virtual.cache = {}), this.virtual.update(!0), this.slideTo(0, 0) 4758 } 4759 }, ie = { 4760 name: "virtual", 4761 params: { 4762 virtual: { 4763 enabled: !1, 4764 slides: [], 4765 cache: !0, 4766 renderSlide: null, 4767 renderExternal: null, 4768 addSlidesBefore: 0, 4769 addSlidesAfter: 0 4770 } 4771 }, 4772 create: function () { 4773 d.extend(this, { 4774 virtual: { 4775 update: te.update.bind(this), 4776 appendSlide: te.appendSlide.bind(this),
4777 prependSlide: te.prependSlide.bind(this), 4778 removeSlide: te.removeSlide.bind(this), 4779 removeAllSlides: te.removeAllSlides.bind(this), 4780 renderSlide: te.renderSlide.bind(this), 4781 slides: this.params.virtual.slides, 4782 cache: {} 4783 } 4784 }) 4785 }, 4786 on: { 4787 beforeInit: function () { 4788 if (this.params.virtual.enabled) { 4789 this.classNames.push(this.params.containerModifierClass + "virtual"); 4790 var e = {watchSlidesProgress: !0}; 4791 d.extend(this.params, e), d.extend(this.originalParams, e), this.params.initialSlide || this.virtual.update() 4792 } 4793 }, setTranslate: function () { 4794 this.params.virtual.enabled && this.virtual.update() 4795 } 4796 } 4797 }, se = { 4798 handle: function (e) { 4799 var t = this.rtlTranslate, s = e; 4800 s.originalEvent && (s = s.originalEvent); 4801 var r = s.keyCode || s.charCode, n = this.params.keyboard.pageUpDown, o = n && 33 === r, l = n && 34 === r, 4802 d = 37 === r, h = 39 === r, p = 38 === r, c = 40 === r; 4803 if (!this.allowSlideNext && (this.isHorizontal() && h || this.isVertical() && c || l)) return !1; 4804 if (!this.allowSlidePrev && (this.isHorizontal() && d || this.isVertical() && p || o)) return !1; 4805 if (!(s.shiftKey || s.altKey || s.ctrlKey || s.metaKey || i.activeElement && i.activeElement.nodeName && ("input" === i.activeElement.nodeName.toLowerCase() || "textarea" === i.activeElement.nodeName.toLowerCase()))) { 4806 if (this.params.keyboard.onlyInViewport && (o || l || d || h || p || c)) { 4807 var u = !1; 4808 if (this.$el.parents("." + this.params.slideClass).length > 0 && 0 === this.$el.parents("." + this.params.slideActiveClass).length) return; 4809 var v = a.innerWidth, f = a.innerHeight, m = this.$el.offset(); 4810 t && (m.left -= this.$el[0].scrollLeft); 4811 for (var g = [[m.left, m.top], [m.left + this.width, m.top], [m.left, m.top + this.height], [m.left + this.width, m.top + this.height]], b = 0; b < g.length; b += 1) { 4812 var w = g[b]; 4813 w[0] >= 0 && w[0] <= v && w[1] >= 0 && w[1] <= f && (u = !0) 4814 } 4815 if (!u) return 4816 } 4817 this.isHorizontal() ? ((o || l || d || h) && (s.preventDefault ? s.preventDefault() : s.returnValue = !1), ((l || h) && !t || (o || d) && t) && this.slideNext(), ((o || d) && !t || (l || h) && t) && this.slidePrev()) : ((o || l || p || c) && (s.preventDefault ? s.preventDefault() : s.returnValue = !1), (l || c) && this.slideNext(), (o || p) && this.slidePrev()), this.emit("keyPress", r) 4818 } 4819 }, enable: function () { 4820 this.keyboard.enabled || (n(i).on("keydown", this.keyboard.handle), this.keyboard.enabled = !0) 4821 }, disable: function () { 4822 this.keyboard.enabled && (n(i).off("keydown", this.keyboard.handle), this.keyboard.enabled = !1) 4823 } 4824 }, ae = { 4825 name: "keyboard", 4826 params: {keyboard: {enabled: !1, onlyInViewport: !0, pageUpDown: !0}}, 4827 create: function () { 4828 d.extend(this, { 4829 keyboard: { 4830 enabled: !1, 4831 enable: se.enable.bind(this), 4832 disable: se.disable.bind(this), 4833 handle: se.handle.bind(this) 4834 } 4835 }) 4836 }, 4837 on: { 4838 init: function () { 4839 this.params.keyboard.enabled && this.keyboard.enable() 4840 }, destroy: function () { 4841 this.keyboard.enabled && this.keyboard.disable() 4842 } 4843 } 4844 }; 4845 var re = { 4846 lastScrollTime: d.now(), lastEventBeforeSnap: void 0, recentWheelEvents: [], event: function () { 4847 return a.navigator.userAgent.indexOf("firefox") > -1 ? "DOMMouseScroll" : function () { 4848 var e = "onwheel" in i; 4849 if (!e) { 4850 var t = i.createElement("div"); 4851 t.setAttribute("onwheel", "return;"), e = "function" == typeof t.onwheel 4852 } 4853 return !e && i.implementation && i.implementation.hasFeature && !0 !== i.implementation.hasFeature("", "") && (e = i.implementation.hasFeature("Events.wheel", "3.0")), e 4854 }() ? "wheel" : "mousewheel" 4855 }, normalize: function (e) { 4856 var t = 0, i = 0, s = 0, a = 0; 4857 return "detail" in e && (i = e.detail), "wheelDelta" in e && (i = -e.wheelDelta / 120), "wheelDeltaY" in e && (i = -e.wheelDeltaY / 120), "wheelDeltaX" in e && (t = -e.wheelDeltaX / 120), "axis" in e && e.axis === e.HORIZONTAL_AXIS && (t = i, i = 0), s = 10 * t, a = 10 * i, "deltaY" in e && (a = e.deltaY), "deltaX" in e && (s = e.deltaX), e.shiftKey && !s && (s = a, a = 0), (s || a) && e.deltaMode && (1 === e.deltaMode ? (s *= 40, a *= 40) : (s *= 800, a *= 800)), s && !t && (t = s < 1 ? -1 : 1), a && !i && (i = a < 1 ? -1 : 1), { 4858 spinX: t, 4859 spinY: i, 4860 pixelX: s, 4861 pixelY: a 4862 } 4863 }, handleMouseEnter: function () { 4864 this.mouseEntered = !0 4865 }, handleMouseLeave: function () { 4866 this.mouseEntered = !1 4867 }, handle: function (e) { 4868 var t = e, i = this, s = i.params.mousewheel; 4869 i.params.cssMode && t.preventDefault(); 4870 var a = i.$el; 4871 if ("container" !== i.params.mousewheel.eventsTarged && (a = n(i.params.mousewheel.eventsTarged)), !i.mouseEntered && !a[0].contains(t.target) && !s.releaseOnEdges) return !0; 4872 t.originalEvent && (t = t.originalEvent); 4873 var r = 0, o = i.rtlTranslate ? -1 : 1, l = re.normalize(t); 4874 if (s.forceToAxis) if (i.isHorizontal()) { 4875 if (!(Math.abs(l.pixelX) > Math.abs(l.pixelY))) return !0; 4876 r = -l.pixelX * o 4877 } else { 4878 if (!(Math.abs(l.pixelY) > Math.abs(l.pixelX))) return !0; 4879 r = -l.pixelY 4880 } else r = Math.abs(l.pixelX) > Math.abs(l.pixelY) ? -l.pixelX * o : -l.pixelY; 4881 if (0 === r) return !0; 4882 if (s.invert && (r = -r), i.params.freeMode) { 4883 var h = {time: d.now(), delta: Math.abs(r), direction: Math.sign(r)}, 4884 p = i.mousewheel.lastEventBeforeSnap, 4885 c = p && h.time < p.time + 500 && h.delta <= p.delta && h.direction === p.direction; 4886 if (!c) { 4887 i.mousewheel.lastEventBeforeSnap = void 0, i.params.loop && i.loopFix(); 4888 var u = i.getTranslate() + r * s.sensitivity, v = i.isBeginning, f = i.isEnd; 4889 if (u >= i.minTranslate() && (u = i.minTranslate()), u <= i.maxTranslate() && (u = i.maxTranslate()), i.setTransition(0), i.setTranslate(u), i.updateProgress(), i.updateActiveIndex(), i.updateSlidesClasses(), (!v && i.isBeginning || !f && i.isEnd) && i.updateSlidesClasses(), i.params.freeModeSticky) { 4890 clearTimeout(i.mousewheel.timeout), i.mousewheel.timeout = void 0; 4891 var m = i.mousewheel.recentWheelEvents; 4892 m.length >= 15 && m.shift(); 4893 var g = m.length ? m[m.length - 1] : void 0, b = m[0]; 4894 if (m.push(h), g && (h.delta > g.delta || h.direction !== g.direction)) m.splice(0); else if (m.length >= 15 && h.time - b.time < 500 && b.delta - h.delta >= 1 && h.delta <= 6) { 4895 var w = r > 0 ? .8 : .2; 4896 i.mousewheel.lastEventBeforeSnap = h, m.splice(0), i.mousewheel.timeout = d.nextTick((function () { 4897 i.slideToClosest(i.params.speed, !0, void 0, w) 4898 }), 0) 4899 } 4900 i.mousewheel.timeout || (i.mousewheel.timeout = d.nextTick((function () { 4901 i.mousewheel.lastEventBeforeSnap = h, m.splice(0), i.slideToClosest(i.params.speed, !0, void 0, .5) 4902 }), 500)) 4903 } 4904 if (c || i.emit("scroll", t), i.params.autoplay && i.params.autoplayDisableOnInteraction && i.autoplay.stop(), u === i.minTranslate() || u === i.maxTranslate()) return !0 4905 } 4906 } else { 4907 var y = {time: d.now(), delta: Math.abs(r), direction: Math.sign(r), raw: e}, 4908 x = i.mousewheel.recentWheelEvents; 4909 x.length >= 2 && x.shift(); 4910 var E = x.length ? x[x.length - 1] : void 0; 4911 if (x.push(y), E ? (y.direction !== E.direction || y.delta > E.delta || y.time > E.time + 150) && i.mousewheel.animateSlider(y) : i.mousewheel.animateSlider(y), i.mousewheel.releaseScroll(y)) return !0 4912 } 4913 return t.preventDefault ? t.preventDefault() : t.returnValue = !1, !1 4914 }, animateSlider: function (e) { 4915 return e.delta >= 6 && d.now() - this.mousewheel.lastScrollTime < 60 || (e.direction < 0 ? this.isEnd && !this.params.loop || this.animating || (this.slideNext(), this.emit
4915("scroll", e.raw)) : this.isBeginning && !this.params.loop || this.animating || (this.slidePrev(), this.emit("scroll", e.raw)), this.mousewheel.lastScrollTime = (new a.Date).getTime(), !1) 4916 }, releaseScroll: function (e) { 4917 var t = this.params.mousewheel; 4918 if (e.direction < 0) { 4919 if (this.isEnd && !this.params.loop && t.releaseOnEdges) return !0 4920 } else if (this.isBeginning && !this.params.loop && t.releaseOnEdges) return !0; 4921 return !1 4922 }, enable: function () { 4923 var e = re.event(); 4924 if (this.params.cssMode) return this.wrapperEl.removeEventListener(e, this.mousewheel.handle), !0; 4925 if (!e) return !1; 4926 if (this.mousewheel.enabled) return !1; 4927 var t = this.$el; 4928 return "container" !== this.params.mousewheel.eventsTarged && (t = n(this.params.mousewheel.eventsTarged)), t.on("mouseenter", this.mousewheel.handleMouseEnter), t.on("mouseleave", this.mousewheel.handleMouseLeave), t.on(e, this.mousewheel.handle), this.mousewheel.enabled = !0, !0 4929 }, disable: function () { 4930 var e = re.event(); 4931 if (this.params.cssMode) return this.wrapperEl.addEventListener(e, this.mousewheel.handle), !0; 4932 if (!e) return !1; 4933 if (!this.mousewheel.enabled) return !1; 4934 var t = this.$el; 4935 return "container" !== this.params.mousewheel.eventsTarged && (t = n(this.params.mousewheel.eventsTarged)), t.off(e, this.mousewheel.handle), this.mousewheel.enabled = !1, !0 4936 } 4937 }, ne = { 4938 update: function () { 4939 var e = this.params.navigation; 4940 if (!this.params.loop) { 4941 var t = this.navigation, i = t.$nextEl, s = t.$prevEl; 4942 s && s.length > 0 && (this.isBeginning ? s.addClass(e.disabledClass) : s.removeClass(e.disabledClass), s[this.params.watchOverflow && this.isLocked ? "addClass" : "removeClass"](e.lockClass)), i && i.length > 0 && (this.isEnd ? i.addClass(e.disabledClass) : i.removeClass(e.disabledClass), i[this.params.watchOverflow && this.isLocked ? "addClass" : "removeClass"](e.lockClass)) 4943 } 4944 }, onPrevClick: function (e) { 4945 e.preventDefault(), this.isBeginning && !this.params.loop || this.slidePrev() 4946 }, onNextClick: function (e) { 4947 e.preventDefault(), this.isEnd && !this.params.loop || this.slideNext() 4948 }, init: function () { 4949 var e, t, i = this.params.navigation; 4950 (i.nextEl || i.prevEl) && (i.nextEl && (e = n(i.nextEl), this.params.uniqueNavElements && "string" == typeof i.nextEl && e.length > 1 && 1 === this.$el.find(i.nextEl).length && (e = this.$el.find(i.nextEl))), i.prevEl && (t = n(i.prevEl), this.params.uniqueNavElements && "string" == typeof i.prevEl && t.length > 1 && 1 === this.$el.find(i.prevEl).length && (t = this.$el.find(i.prevEl))), e && e.length > 0 && e.on("click", this.navigation.onNextClick), t && t.length > 0 && t.on("click", this.navigation.onPrevClick), d.extend(this.navigation, { 4951 $nextEl: e, 4952 nextEl: e && e[0], 4953 $prevEl: t, 4954 prevEl: t && t[0] 4955 })) 4956 }, destroy: function () { 4957 var e = this.navigation, t = e.$nextEl, i = e.$prevEl; 4958 t && t.length && (t.off("click", this.navigation.onNextClick), t.removeClass(this.params.navigation.disabledClass)), i && i.length && (i.off("click", this.navigation.onPrevClick), i.removeClass(this.params.navigation.disabledClass)) 4959 } 4960 }, oe = { 4961 update: function () { 4962 var e = this.rtl, t = this.params.pagination; 4963 if (t.el && this.pagination.el && this.pagination.$el && 0 !== this.pagination.$el.length) { 4964 var i, 4965 s = this.virtual && this.params.virtual.enabled ? this.virtual.slides.length : this.slides.length, 4966 a = this.pagination.$el, 4967 r = this.params.loop ? Math.ceil((s - 2 * this.loopedSlides) / this.params.slidesPerGroup) : this.snapGrid.length;
4968 if (this.params.loop ? ((i = Math.ceil((this.activeIndex - this.loopedSlides) / this.params.slidesPerGroup)) > s - 1 - 2 * this.loopedSlides && (i -= s - 2 * this.loopedSlides), i > r - 1 && (i -= r), i < 0 && "bullets" !== this.params.paginationType && (i = r + i)) : i = void 0 !== this.snapIndex ? this.snapIndex : this.activeIndex || 0, "bullets" === t.type && this.pagination.bullets && this.pagination.bullets.length > 0) { 4969 var o, l, d, h = this.pagination.bullets; 4970 if (t.dynamicBullets && (this.pagination.bulletSize = h.eq(0)[this.isHorizontal() ? "outerWidth" : "outerHeight"](!0), a.css(this.isHorizontal() ? "width" : "height", this.pagination.bulletSize * (t.dynamicMainBullets + 4) + "px"), t.dynamicMainBullets > 1 && void 0 !== this.previousIndex && (this.pagination.dynamicBulletIndex += i - this.previousIndex, this.pagination.dynamicBulletIndex > t.dynamicMainBullets - 1 ? this.pagination.dynamicBulletIndex = t.dynamicMainBullets - 1 : this.pagination.dynamicBulletIndex < 0 && (this.pagination.dynamicBulletIndex = 0)), o = i - this.pagination.dynamicBulletIndex, d = ((l = o + (Math.min(h.length, t.dynamicMainBullets) - 1)) + o) / 2), h.removeClass(t.bulletActiveClass + " " + t.bulletActiveClass + "-next " + t.bulletActiveClass + "-next-next " + t.bulletActiveClass + "-prev " + t.bulletActiveClass + "-prev-prev " + t.bulletActiveClass + "-main"), a.length > 1) h.each((function (e, s) { 4971 var a = n(s), r = a.index(); 4972 r === i && a.addClass(t.bulletActiveClass), t.dynamicBullets && (r >= o && r <= l && a.addClass(t.bulletActiveClass + "-main"), r === o && a.prev().addClass(t.bulletActiveClass + "-prev").prev().addClass(t.bulletActiveClass + "-prev-prev"), r === l && a.next().addClass(t.bulletActiveClass + "-next").next().addClass(t.bulletActiveClass + "-next-next")) 4973 })); else { 4974 var p = h.eq(i), c = p.index(); 4975 if (p.addClass(t.bulletActiveClass), t.dynamicBullets) { 4976 for (var u = h.eq(o), v = h.eq(l), f = o;
4976 f <= l; f += 1) h.eq(f).addClass(t.bulletActiveClass + "-main"); 4977 if (this.params.loop) if (c >= h.length - t.dynamicMainBullets) { 4978 for (var m = t.dynamicMainBullets; m >= 0; m -= 1) h.eq(h.length - m).addClass(t.bulletActiveClass + "-main"); 4979 h.eq(h.length - t.dynamicMainBullets - 1).addClass(t.bulletActiveClass + "-prev") 4980 } else u.prev().addClass(t.bulletActiveClass + "-prev").prev().addClass(t.bulletActiveClass + "-prev-prev"), v.next().addClass(t.bulletActiveClass + "-next").next().addClass(t.bulletActiveClass + "-next-next"); else u.prev().addClass(t.bulletActiveClass + "-prev").prev().addClass(t.bulletActiveClass + "-prev-prev"), v.next().addClass(t.bulletActiveClass + "-next").next().addClass(t.bulletActiveClass + "-next-next") 4981 } 4982 } 4983 if (t.dynamicBullets) { 4984 var g = Math.min(h.length, t.dynamicMainBullets + 4), 4985 b = (this.pagination.bulletSize * g - this.pagination.bulletSize) / 2 - d * this.pagination.bulletSize, 4986 w = e ? "right" : "left"; 4987 h.css(this.isHorizontal() ? w : "top", b + "px") 4988 } 4989 } 4990 if ("fraction" === t.type && (a.find("." + t.currentClass).text(t.formatFractionCurrent(i + 1)), a.find("." + t.totalClass).text(t.formatFractionTotal(r))), "progressbar" === t.type) { 4991 var y; 4992 y = t.progressbarOpposite ? this.isHorizontal() ? "vertical" : "horizontal" : this.isHorizontal() ? "horizontal" : "vertical"; 4993 var x = (i + 1) / r, E = 1, T = 1; 4994 "horizontal" === y ? E = x : T = x, a.find("." + t.progressbarFillClass).transform("translate3d(0,0,0) scaleX(" + E + ") scaleY(" + T + ")").transition(this.params.speed) 4995 } 4996 "custom" === t.type && t.renderCustom ? (a.html(t.renderCustom(this, i + 1, r)), this.emit("paginationRender", this, a[0])) : this.emit("paginationUpdate", this, a[0]), a[this.params.watchOverflow && this.isLocked ? "addClass" : "removeClass"](t.lockClass) 4997 } 4998 }, render: function () { 4999 var e = this.params.pagination; 5000 if (e.el && this.pagination.el && this.pagination.$el && 0 !== this.pagination.$el.length) { 5001 var t = this.virtual && this.params.virtual.enabled ? this.virtual.slides.length : this.slides.length, 5002 i = this.pagination.$el, s = ""; 5003 if ("bullets" === e.type) { 5004 for (var a = this.params.loop ? Math.ceil((t - 2 * this.loopedSlides) / this.params.slidesPerGroup) : this.snapGrid.length, r = 0; r < a; r += 1) e.renderBullet ? s += e.renderBullet.call(this, r, e.bulletClass) : s += "<" + e.bulletElement + ' class="' + e.bulletClass + '"></' + e.bulletElement + ">"; 5005 i.html(s), this.pagination.bullets = i.find("." + e.bulletClass) 5006 } 5007 "fraction" === e.type && (s = e.renderFraction ? e.renderFraction.call(this, e.currentClass, e.totalClass) : '<span class="' + e.currentClass + '"></span> / <span class="' + e.totalClass + '"></span>', i.html(s)), "progressbar" === e.type && (s = e.renderProgressbar ? e.renderProgressbar.call(this, e.progressbarFillClass) : '<span class="' + e.progressbarFillClass + '"></span>', i.html(s)), "custom" !== e.type && this.emit("paginationRender", this.pagination.$el[0]) 5008 } 5009 }, init: function () { 5010 var e = this, t = e.params.pagination; 5011 if (t.el) { 5012 var i = n(t.el); 5013 0 !== i.length && (e.params.uniqueNavElements && "string" == typeof t.el && i.length > 1 && (i = e.$el.find(t.el)), "bullets" === t.type && t.clickable && i.addClass(t.clickableClass), i.addClass(t.modifierClass + t.type), "bullets" === t.type && t.dynamicBullets && (i.addClass("" + t.modifierClass + t.type + "-dynamic"), e.pagination.dynamicBulletIndex = 0, t.dynamicMainBullets < 1 && (t.dynamicMainBullets = 1)), "progressbar" === t.type && t.progressbarOpposite && i.addClass(t.progressbarOppositeClass), t.clickable && i.on("click", "." + t.bulletClass, (function (t) { 5014 t.preventDefault(); 5015 var i = n(this).index() * e.params.slidesPerGroup; 5016 e.params.loop && (i += e.loopedSlides), e.slideTo(i) 5017 })), d.extend(e.pagination, {$el: i, el: i[0]})) 5018 } 5019 }, destroy: function () { 5020 var e = this.params.pagination; 5021 if (e.el && this.pagination.el && this.pagination.$el && 0 !== this.pagination.$el.length) { 5022 var t = this.pagination.$el; 5023 t.removeClass(e.hiddenClass), t.removeClass(e.modifierClass + e.type), this.pagination.bullets && this.pagination.bullets.removeClass(e.bulletActiveClass), e.clickable && t.off("click", "." + e.bulletClass) 5024 } 5025 } 5026 }, le = { 5027 setTranslate: function () { 5028 if (this.params.scrollbar.el && this.scrollbar.el) { 5029 var e = this.scrollbar, t = this.rtlTranslate, i = this.progress, s = e.dragSize, a = e.trackSize, 5030 r = e.$dragEl, n = e.$el, o = this.params.scrollbar, l = s, d = (a
5030- s) * i; 5031 t ? (d = -d) > 0 ? (l = s - d, d = 0) : -d + s > a && (l = a + d) : d < 0 ? (l = s + d, d = 0) : d + s > a && (l = a - d), this.isHorizontal() ? (r.transform("translate3d(" + d + "px, 0, 0)"), r[0].style.width = l + "px") : (r.transform("translate3d(0px, " + d + "px, 0)"), r[0].style.height = l + "px"), o.hide && (clearTimeout(this.scrollbar.timeout), n[0].style.opacity = 1, this.scrollbar.timeout = setTimeout((function () { 5032 n[0].style.opacity = 0, n.transition(400) 5033 }), 1e3)) 5034 } 5035 }, setTransition: function (e) { 5036 this.params.scrollbar.el && this.scrollbar.el && this.scrollbar.$dragEl.transition(e) 5037 }, updateSize: function () { 5038 if (this.params.scrollbar.el && this.scrollbar.el) { 5039 var e = this.scrollbar, t = e.$dragEl, i = e.$el; 5040 t[0].style.width = "", t[0].style.height = ""; 5041 var s, a = this.isHorizontal() ? i[0].offsetWidth : i[0].offsetHeight, r = this.size / this.virtualSize, 5042 n = r * (a / this.size); 5043 s = "auto" === this.params.scrollbar.dragSize ? a * r : parseInt(this.params.scrollbar.dragSize, 10), this.isHorizontal() ? t[0].style.width = s + "px" : t[0].style.height = s + "px", i[0].style.display = r >= 1 ? "none" : "", this.params.scrollbar.hide && (i[0].style.opacity = 0), d.extend(e, { 5044 trackSize: a, 5045 divider: r, 5046 moveDivider: n, 5047 dragSize: s 5048 }), e.$el[this.params.watchOverflow && this.isLocked ? "addClass" : "removeClass"](this.params.scrollbar.lockClass) 5049 } 5050 }, getPointerPosition: function (e) { 5051 return this.isHorizontal() ? "touchstart" === e.type || "touchmove" === e.type ? e.targetTouches[0].clientX : e.clientX : "touchstart" === e.type || "touchmove" === e.type ? e.targetTouches[0].clientY : e.clientY 5052 }, setDragPosition: function (e) { 5053 var t, i = this.scrollbar, s = this.rtlTranslate, a = i.$el, r = i.dragSize, n = i.trackSize, 5054 o = i.dragStartPos; 5055 t = (i.getPointerPosition(e) - a.offset()[this.isHorizontal() ? "left" : "top"] - (null !== o ? o : r / 2)) / (n - r), t = Math.max(Math.min(t, 1), 0), s && (t = 1 - t); 5056 var l = this.minTranslate() + (this.maxTranslate() - this.minTranslate()) * t; 5057 this.updateProgress(l), this.setTranslate(l), this.updateActiveIndex(), this.updateSlidesClasses() 5058 }, onDragStart: function (e) { 5059 var t = this.params.scrollbar, i = this.scrollbar, s = this.$wrapperEl, a = i.$el, r = i.$dragEl; 5060 this.scrollbar.isTouched = !0, this.scrollbar.dragStartPos = e.target === r[0] || e.target === r ? i.getPointerPosition(e) - e.target.getBoundingClientRect()[this.isHorizontal() ? "left" : "top"] : null, e.preventDefault(), e.stopPropagation(), s.transition(100), r.transition(100), i.setDragPosition(e), clearTimeout(this.scrollbar.dragTimeout), a.transition(0), t.hide && a.css("opacity", 1), this.params.cssMode && this.$wrapperEl.css("scroll-snap-type", "none"), this.emit("scrollbarDragStart", e) 5061 }, onDragMove: function (e) { 5062 var t = this.scrollbar, i = this.$wrapperEl, s = t.$el, a = t.$dragEl; 5063 this.scrollbar.isTouched && (e.preventDefault ? e.preventDefault() : e.returnValue = !1, t.setDragPosition(e), i.transition(0), s.transition(0), a.transition(0), this.emit("scrollbarDragMove", e)) 5064 }, onDragEnd: function (e) { 5065 var t = this.params.scrollbar, i = this.scrollbar, s = this.$wrapperEl, a = i.$el; 5066 this.scrollbar.isTouched && (this.scrollbar.isTouched = !1, this.params.cssMode && (this.$wrapperEl.css("scroll-snap-type", ""), s.transition("")), t.hide && (clearTimeout(this.scrollbar.dragTimeout), this.scrollbar.dragTimeout = d.nextTick((function () { 5067 a.css("opacity", 0), a.transition(400) 5068 }), 1e3)), this.emit("scrollbarDragEnd", e), t.snapOnRelease && this.slideToClosest()) 5069 }, enableDraggable: function () { 5070 if (this.params.scrollbar.el) { 5071 var e = this.scrollbar, t = this.touchEventsTouch, s = this.touchEventsDesktop, a = this.params, 5072 r = e.$el[0], n = !(!h.passiveListener || !a.passiveListeners) && {passive: !1, capture: !1}, 5073 o = !(!h.passiveListener || !a.passiveListeners) && {passive: !0, capture: !1};
5074 h.touch ? (r.addEventListener(t.start, this.scrollbar.onDragStart, n), r.addEventListener(t.move, this.scrollbar.onDragMove, n), r.addEventListener(t.end, this.scrollbar.onDragEnd, o)) : (r.addEventListener(s.start, this.scrollbar.onDragStart, n), i.addEventListener(s.move, this.scrollbar.onDragMove, n), i.addEventListener(s.end, this.scrollbar.onDragEnd, o)) 5075 } 5076 }, disableDraggable: function () { 5077 if (this.params.scrollbar.el) { 5078 var e = this.scrollbar, t = this.touchEventsTouch, s = this.touchEventsDesktop, a = this.params, 5079 r = e.$el[0], n = !(!h.passiveListener || !a.passiveListeners) && {passive: !1, capture: !1}, 5080 o = !(!h.passiveListener || !a.passiveListeners) && {passive: !0, capture: !1}; 5081 h.touch ? (r.removeEventListener(t.start, this.scrollbar.onDragStart, n), r.removeEventListener(t.move, this.scrollbar.onDragMove, n), r.removeEventListener(t.end, this.scrollbar.onDragEnd, o)) : (r.removeEventListener(s.start, this.scrollbar.onDragStart, n), i.removeEventListener(s.move, this.scrollbar.onDragMove, n), i.removeEventListener(s.end, this.scrollbar.onDragEnd, o)) 5082 } 5083 }, init: function () { 5084 if (this.params.scrollbar.el) { 5085 var e = this.scrollbar, t = this.$el, i = this.params.scrollbar, s = n(i.el); 5086 this.params.uniqueNavElements && "string" == typeof i.el && s.length > 1 && 1 === t.find(i.el).length && (s = t.find(i.el)); 5087 var a = s.find("." + this.params.scrollbar.dragClass); 5088 0 === a.length && (a = n('<div class="' + this.params.scrollbar.dragClass + '"></div>'), s.append(a)), d.extend(e, { 5089 $el: s, 5090 el: s[0], 5091 $dragEl: a, 5092 dragEl: a[0] 5093 }), i.draggable && e.enableDraggable() 5094 } 5095 }, destroy: function () { 5096 this.scrollbar.disableDraggable() 5097 } 5098 }, de = { 5099 setTransform: function (e, t) { 5100 var i = this.rtl, s = n(e), a = i ? -1 : 1, r = s.attr("data-swiper-parallax") || "0", 5101 o = s.attr("data-swiper-parallax-x"), l = s.attr("data-swiper-parallax-y"), 5102 d = s.attr("data-swiper-parallax-scale"), h = s.attr("data-swiper-parallax-opacity"); 5103 if (o || l ? (o = o || "0", l = l || "0") : this.isHorizontal() ? (o = r, l = "0") : (l = r, o = "0"), o = o.indexOf("%") >= 0 ? parseInt(o, 10) * t * a + "%" : o * t * a + "px", l = l.indexOf("%") >= 0 ? parseInt(l, 10) * t + "%" : l * t + "px", null != h) { 5104 var p = h - (h - 1) * (1 - Math.abs(t)); 5105 s[0].style.opacity = p 5106 } 5107 if (null == d) s.transform("translate3d(" + o + ", " + l + ", 0px)"); else { 5108 var c = d - (d - 1) * (1 - Math.abs(t)); 5109 s.transform("translate3d(" + o + ", " + l + ", 0px) scale(" + c + ")") 5110 } 5111 }, setTranslate: function () { 5112 var e = this, t = e.$el, i = e.slides, s = e.progress, a = e.snapGrid; 5113 t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function (t, i) { 5114 e.parallax.setTransform(i, s) 5115 })), i.each((function (t, i) { 5116 var r = i.progress; 5117 e.params.slidesPerGroup > 1 && "auto" !== e.params.slidesPerView && (r += Math.ceil(t / 2) - s * (a.length - 1)), r = Math.min(Math.max(r, -1), 1), n(i).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function (t, i) { 5118 e.parallax.setTransform(i, r) 5119 })) 5120 })) 5121 }, setTransition: function (e) { 5122 void 0 === e && (e = this.params.speed); 5123 this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function (t, i) { 5124 var s = n(i), a = parseInt(s.attr("data-swiper-parallax-duration"), 10) || e; 5125 0 === e && (a = 0), s.transition(a) 5126 })) 5127 } 5128 }, he = { 5129 getDistanceBetweenTouches: function (e) { 5130 if (e.targetTouches.length < 2) return 1; 5131 var t = e.targetTouches[0].pageX, i = e.targetTouches[0].pageY, s = e.targetTouches[1].pageX, 5132 a = e.targetTouches[1].pageY; 5133 return Math.sqrt(Math.pow(s - t, 2) + Math.pow(a - i, 2)) 5134 }, onGestureStart: function (e) { 5135 var t = this.params.zoom, i = this.zoom, s = i.gesture; 5136 if (i.fakeGestureTouched = !1, i.fakeGestureMoved = !1, !h.gestures) { 5137 if ("touchstart" !== e.type || "touchstart" === e.type && e.targetTouches.length < 2) return; 5138 i.fakeGestureTouched = !0, s.scaleStart = he.getDistanceBetweenTouches(e) 5139 } 5140 s.$slideEl && s.$slideEl.length || (s.$slideEl = n(e.target).closest("." + this.params.slideClass), 0 === s.$slideEl.length && (s.$slideEl = this.slides.eq(this.activeIndex)), s.$imageEl = s.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"), s.$imageWrapEl = s.$imageEl.parent("." + t.containerClass), s.maxRatio = s.$imageWrapEl.attr("data-swiper-zoom") || t.maxRatio, 0 !== s.$imageWrapEl.length) ? (s.$imageEl && s.$imageEl.transition(0), this.zoom.isScaling = !0) : s.$imageEl = void 0 5141 }, onGestureChange: function (e) { 5142 var t = this.params.zoom, i = this.zoom, s = i.gesture; 5143 if (!h.gestures) { 5144 if ("touchmove" !== e.type || "touchmove" === e.type && e.targetTouches.length < 2) return; 5145 i.fakeGestureMoved = !0, s.scaleMove = he.getDistanceBetweenTouches(e) 5146 } 5147 s.$imageEl && 0 !== s.$imageEl.length && (i.scale = h.gestures ? e.scale * i.currentScale : s.scaleMove / s.scaleStart * i.currentScale, i.scale > s.maxRatio && (i.scale = s.maxRatio - 1 + Math.pow(i.scale - s.maxRatio + 1, .5)), i.scale < t.minRatio && (i.scale = t.minRatio + 1 - Math.pow(t.minRatio - i.scale + 1, .5)), s.$imageEl.transform("translate3d(0,
vendor: 5,088 bytes, lines 5147-5182
51470,0) scale(" + i.scale + ")")) 5148 }, onGestureEnd: function (e) { 5149 var t = this.params.zoom, i = this.zoom, s = i.gesture; 5150 if (!h.gestures) { 5151 if (!i.fakeGestureTouched || !i.fakeGestureMoved) return; 5152 if ("touchend" !== e.type || "touchend" === e.type && e.changedTouches.length < 2 && !A.android) return; 5153 i.fakeGestureTouched = !1, i.fakeGestureMoved = !1 5154 } 5155 s.$imageEl && 0 !== s.$imageEl.length && (i.scale = Math.max(Math.min(i.scale, s.maxRatio), t.minRatio), s.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale(" + i.scale + ")"), i.currentScale = i.scale, i.isScaling = !1, 1 === i.scale && (s.$slideEl = void 0)) 5156 }, onTouchStart: function (e) { 5157 var t = this.zoom, i = t.gesture, s = t.image; 5158 i.$imageEl && 0 !== i.$imageEl.length && (s.isTouched || (A.android && e.cancelable && e.preventDefault(), s.isTouched = !0, s.touchesStart.x = "touchstart" === e.type ? e.targetTouches[0].pageX : e.pageX, s.touchesStart.y = "touchstart" === e.type ? e.targetTouches[0].pageY : e.pageY)) 5159 }, onTouchMove: function (e) { 5160 var t = this.zoom, i = t.gesture, s = t.image, a = t.velocity; 5161 if (i.$imageEl && 0 !== i.$imageEl.length && (this.allowClick = !1, s.isTouched && i.$slideEl)) { 5162 s.isMoved || (s.width = i.$imageEl[0].offsetWidth, s.height = i.$imageEl[0].offsetHeight, s.startX = d.getTranslate(i.$imageWrapEl[0], "x") || 0, s.startY = d.getTranslate(i.$imageWrapEl[0], "y") || 0, i.slideWidth = i.$slideEl[0].offsetWidth, i.slideHeight = i.$slideEl[0].offsetHeight, i.$imageWrapEl.transition(0), this.rtl && (s.startX = -s.startX, s.startY = -s.startY)); 5163 var r = s.width * t.scale, n = s.height * t.scale; 5164 if (!(r < i.slideWidth && n < i.slideHeight)) { 5165 if (s.minX = Math.min(i.slideWidth / 2 - r / 2, 0), s.maxX = -s.minX, s.minY = Math.min(i.slideHeight / 2 - n / 2, 0), s.maxY = -s.minY, s.touchesCurrent.x = "touchmove" === e.type ? e.targetTouches[0].pageX : e.pageX, s.touchesCurrent.y = "touchmove" === e.type ? e.targetTouches[0].pageY : e.pageY, !s.isMoved && !t.isScaling) { 5166 if (this.isHorizontal() && (Math.floor(s.minX) === Math.floor(s.startX) && s.touchesCurrent.x < s.touchesStart.x || Math.floor(s.maxX) === Math.floor(s.startX) && s.touchesCurrent.x > s.touchesStart.x)) return void (s.isTouched = !1); 5167 if (!this.isHorizontal() && (Math.floor(s.minY) === Math.floor(s.startY) && s.touchesCurrent.y < s.touchesStart.y || Math.floor(s.maxY) === Math.floor(s.startY) && s.touchesCurrent.y > s.touchesStart.y)) return void (s.isTouched = !1) 5168 } 5169 e.cancelable && e.preventDefault(), e.stopPropagation(), s.isMoved = !0, s.currentX = s.touchesCurrent.x - s.touchesStart.x + s.startX, s.currentY = s.touchesCurrent.y - s.touchesStart.y + s.startY, s.currentX < s.minX && (s.currentX = s.minX + 1 - Math.pow(s.minX - s.currentX + 1, .8)), s.currentX > s.maxX && (s.currentX = s.maxX - 1 + Math.pow(s.currentX - s.maxX + 1, .8)), s.currentY < s.minY && (s.currentY = s.minY + 1 - Math.pow(s.minY - s.currentY + 1, .8)), s.currentY > s.maxY && (s.currentY = s.maxY - 1 + Math.pow(s.currentY - s.maxY + 1, .8)), a.prevPositionX || (a.prevPositionX = s.touchesCurrent.x), a.prevPositionY || (a.prevPositionY = s.touchesCurrent.y), a.prevTime || (a.prevTime = Date.now()), a.x = (s.touchesCurrent.x - a.prevPositionX) / (Date.now() - a.prevTime) / 2, a.y = (s.touchesCurrent.y - a.prevPositionY) / (Date.now() - a.prevTime) / 2, Math.abs(s.touchesCurrent.x - a.prevPositionX) < 2 && (a.x = 0), Math.abs(s.touchesCurrent.y - a.prevPositionY) < 2 && (a.y = 0), a.prevPositionX = s.touchesCurrent.x, a.prevPositionY = s.touchesCurrent.y, a.prevTime = Date.now(), i.$imageWrapEl.transform("translate3d(" + s.currentX + "px, " + s.currentY + "px,0)") 5170 } 5171 } 5172 }, onTouchEnd: function () { 5173 var e = this.zoom, t = e.gesture, i = e.image, s = e.velocity; 5174 if (t.$imageEl && 0 !== t.$imageEl.length) { 5175 if (!i.isTouched || !i.isMoved) return i.isTouched = !1, void (i.isMoved = !1); 5176 i.isTouched = !1, i.isMoved = !1; 5177 var a = 300, r = 300, n = s.x * a, o = i.currentX + n, l = s.y * r, d = i.currentY + l; 5178 0 !== s.x && (a = Math.abs((o - i.currentX) / s.x)), 0 !== s.y && (r = Math.abs((d - i.currentY) / s.y)); 5179 var h = Math.max(a, r); 5180 i.currentX = o, i.currentY = d; 5181 var p = i.width * e.scale, c = i.height * e.scale; 5182 i.minX = Math.min(t.slideWidth / 2 - p / 2, 0), i.maxX = -i.minX, i.minY = Math.min(t.slideHeight / 2 - c / 2, 0), i.maxY = -i.minY, i.currentX = Math.max(Math.min(i.currentX, i.maxX), i.minX), i.currentY = Math.max(Math.min(i.currentY, i.maxY), i.minY), t.$imageWrapEl.transition(h).transform("translate3d(" + i.currentX + "px, " + i.currentY + "px,0
5182)") 5183 } 5184 }, onTransitionEnd: function () { 5185 var e = this.zoom, t = e.gesture; 5186 t.$slideEl && this.previousIndex !== this.activeIndex && (t.$imageEl && t.$imageEl.transform("translate3d(0,0,0) scale(1)"), t.$imageWrapEl && t.$imageWrapEl.transform("translate3d(0,0,0)"), e.scale = 1, e.currentScale = 1, t.$slideEl = void 0, t.$imageEl = void 0, t.$imageWrapEl = void 0) 5187 }, toggle: function (e) { 5188 var t = this.zoom; 5189 t.scale && 1 !== t.scale ? t.out() : t.in(e) 5190 }, in: function (e) { 5191 var t, i, s, a, r, n, o, l, d, h, p, c, u, v, f, m, g = this.zoom, b = this.params.zoom, w = g.gesture, 5192 y = g.image; 5193 (w.$slideEl || (this.params.virtual && this.params.virtual.enabled && this.virtual ? w.$slideEl = this.$wrapperEl.children("." + this.params.slideActiveClass) : w.$slideEl = this.slides.eq(this.activeIndex), w.$imageEl = w.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"), w.$imageWrapEl = w.$imageEl.parent("." + b.containerClass)), w.$imageEl && 0 !== w.$imageEl.length) && (w.$slideEl.addClass("" + b.zoomedSlideClass), void 0 === y.touchesStart.x && e ? (t = "touchend" === e.type ? e.changedTouches[0].pageX : e.pageX, i = "touchend" === e.type ? e.changedTouches[0].pageY : e.pageY) : (t = y.touchesStart.x, i = y.touchesStart.y), g.scale = w.$imageWrapEl.attr("data-swiper-zoom") || b.maxRatio, g.currentScale = w.$imageWrapEl.attr("data-swiper-zoom") || b.maxRatio, e ? (f = w.$slideEl[0].offsetWidth, m = w.$slideEl[0].offsetHeight, s = w.$slideEl.offset().left + f / 2 - t, a = w.$slideEl.offset().top + m / 2 - i, o = w.$imageEl[0].offsetWidth, l = w.$imageEl[0].offsetHeight, d = o * g.scale, h = l * g.scale, u = -(p = Math.min(f / 2 - d / 2, 0)), v = -(c = Math.min(m / 2 - h / 2, 0)), (r = s * g.scale) < p && (r = p), r > u && (r = u), (n = a * g.scale) < c && (n = c), n > v && (n = v)) : (r = 0, n = 0), w.$imageWrapEl.transition(300).transform("translate3d(" + r + "px, " + n + "px,0)"), w.$imageEl.transition(300).transform("translate3d(0,0,0) scale(" + g.scale + ")")) 5194 }, out: function () { 5195 var e = this.zoom, t = this.params.zoom, i = e.gesture; 5196 i.$slideEl || (this.params.virtual && this.params.virtual.enabled && this.virtual ? i.$slideEl = this.$wrapperEl.children("." + this.params.slideActiveClass) : i.$slideEl = this.slides.eq(this.activeIndex), i.$imageEl = i.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"), i.$imageWrapEl = i.$imageEl.parent("." + t.containerClass)), i.$imageEl && 0 !== i.$imageEl.length && (e.scale = 1, e.currentScale = 1, i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"), i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"), i.$slideEl.removeClass("" + t.zoomedSlideClass), i.$slideEl = void 0) 5197 }, enable: function () { 5198 var e = this.zoom; 5199 if (!e.enabled) { 5200 e.enabled = !0; 5201 var t = !("touchstart" !== this.touchEvents.start || !h.passiveListener || !this.params.passiveListeners) && { 5202 passive: !0, 5203 capture: !1 5204 }, i = !h.passiveListener || {passive: !1, capture: !0}, s = "." + this.params.slideClass; 5205 h.gestures ? (this.$wrapperEl.on("gesturestart", s, e.onGestureStart, t), this.$wrapperEl.on("gesturechange", s, e.onGestureChange, t), this.$wrapperEl.on("gestureend", s, e.onGestureEnd, t)) : "touchstart" === this.touchEvents.start && (this.$wrapperEl.on(this.touchEvents.start, s, e.onGestureStart, t), this.$wrapperEl.on(this.touchEvents.move, s, e.onGestureChange, i), this.$wrapperEl.on(this.touchEvents.end, s, e.onGestureEnd, t), this.touchEvents.cancel && this.$wrapperEl.on(this.touchEvents.cancel, s, e.onGestureEnd, t)), this.$wrapperEl.on(this.touchEvents.move, "." + this.params.zoom.containerClass, e.onTouchMove, i) 5206 } 5207 }, disable: function () { 5208 var e = this.zoom; 5209 if (e.enabled) { 5210 this.zoom.enabled = !1; 5211 var t = !("touchstart" !== this.touchEvents.start || !h.passiveListener || !this.params.passiveListeners) && { 5212 passive: !0, 5213 capture: !1 5214 }, i = !h.passiveListener || {passive: !1, capture: !0}, s = "." + this.params.slideClass; 5215 h.gestures ? (this.$wrapperEl.off("gesturestart", s, e.onGestureStart, t), this.$wrapperEl.off("gesturechange", s, e.onGestureChange, t), this.$wrapperEl.off("gestureend", s, e.onGestureEnd, t)) : "touchstart" === this.touchEvents.start && (this.$wrapperEl.off(this.touchEvents.start, s, e.onGestureStart, t), this.$wrapperEl.off(this.touchEvents.move, s, e.onGestureChange, i), this.$wrapperEl.off(this.touchEvents.end, s, e.onGestureEnd, t), this.touchEvents.cancel && this.$wrapperEl.off(this.touchEvents.cancel, s, e.onGestureEnd, t)), this.$wrapperEl.off(this.touchEvents.move, "." + this.params.zoom.containerClass, e.onTouchMove, i) 5216 } 5217 } 5218 }, pe = { 5219 loadInSlide: function (e, t) { 5220 void 0 === t && (t = !0); 5221 var i = this, s = i.params.lazy; 5222 if (void 0 !== e && 0 !== i.slides.length) { 5223 var a = i.virtual && i.params.virtual.enabled ? i.$wrapperEl.children("." + i.params.slideClass + '[data-swiper-slide-index="' + e + '"]') : i.slides.eq(e), 5224 r = a.find("." + s.elementClass + ":not(." + s.loadedClass + "):not(." + s.loadingClass + ")"); 5225 !a.hasClass(s.elementClass) || a.hasClass(s.loadedClass) || a.hasClass(s.loadingClass) || (r = r.add(a[0])), 0 !== r.length && r.each((function (e, r) { 5226 var o = n(r); 5227 o.addClass(s.loadingClass); 5228 var l = o.attr("data-background"), d = o.attr("data-src"), h = o.attr("data-srcset"), 5229 p = o.attr("data-sizes"), c = o.parent("picture"); 5230 i.loadImage(o[0], d || l, h, p, !1, (function () { 5231 if (null != i && i && (!i || i.params) && !i.destroyed) { 5232 if (l ? (o.css("background-image", 'url("' + l + '")'), o.removeAttr("data-background")) : (h && (o.attr("srcset", h), o.removeAttr("data-srcset")), p && (o.attr("sizes", p), o.removeAttr("data-sizes")), c.length && c.children("source").each((function (e, t) { 5233 var i = n(t); 5234 i.attr("data-srcset") && (i.attr("srcset", i.attr("data-srcset")), i.removeAttr("data-srcset")) 5235 })), d && (o.attr("src", d), o.removeAttr("data-src"))), o.addClass(s.loadedClass).removeClass(s.loadingClass), a.find("." + s.preloaderClass).remove(), i.params.loop && t) { 5236 var e = a.attr("data-swiper-slide-index"); 5237 if (a.hasClass(i.params.slideDuplicateClass)) { 5238 var r = i.$wrapperEl.children('[data-swiper-slide-index="' + e + '"]:not(.' + i.params.slideDuplicateClass + ")"); 5239 i.lazy.loadInSlide(r.index(), !1) 5240 } else { 5241 var u = i.$wrapperEl.children("." + i.params.slideDuplicateClass + '[data-swiper-slide-index="' + e + '"]'); 5242 i.lazy.loadInSlide(u.index(), !1) 5243 } 5244 } 5245 i.emit("lazyImageReady", a[0], o[0]), i.params.autoHeight && i.updateAutoHeight() 5246 } 5247 })), i.emit("lazyImageLoad", a[0], o[0]) 5248 })) 5249 } 5250 }, load: function () { 5251 var e = this, t = e.$wrapperEl, i = e.params, s = e.slides, a = e.activeIndex, 5252 r = e.virtual && i.virtual.enabled, o = i.lazy, l = i.slidesPerView; 5253 5254 function d(e) { 5255 if (r) { 5256 if (t.children("." + i.slideClass + '[data-swiper-slide-index="' + e + '"]').length) return !0 5257 } else if (s[e]) return !0; 5258 return !1 5259 } 5260 5261 function h(e) { 5262 return r ? n(e).attr("data-swiper-slide-index") : n(e).index() 5263 } 5264 5265 if ("auto" === l && (l = 0), e.lazy.initialImageLoaded || (e.lazy.initialImageLoaded = !0), e.params.watchSlidesVisibility) t.children("." + i.slideVisibleClass).each((function (t, i) { 5266 var s = r ? n(i).attr("data-swiper-slide-index") : n(i).index(); 5267 e.lazy.loadInSlide(s) 5268 })); else if (l > 1) for (var p = a; p < a + l; p += 1) d(p) && e.lazy.loadInSlide(p); else e.lazy.loadInSlide(a); 5269 if (o.loadPrevNext) if (l > 1 || o.loadPrevNextAmount && o.loadPrevNextAmount > 1) { 5270 for (var c = o.loadPrevNextAmount, u = l, v = Math.min(a + u + Math.max(c, u), s.length), f = Math.max(a - Math.max(u, c), 0), m = a + l; m < v; m += 1) d(m) && e.lazy.loadInSlide(m); 5271 for (var g = f; g < a; g += 1) d(g) && e.lazy.loadInSlide(g) 5272 } else { 5273 var b = t.children("." + i.slideNextClass); 5274 b.length > 0 && e.lazy.loadInSlide(h(b)); 5275 var w = t.children("." + i.slidePrevClass); 5276 w.length > 0 && e.lazy.loadInSlide(h(w)) 5277 } 5278 } 5279 }, ce = { 5280 LinearSpline: function (e, t) { 5281 var i, s, a, r, n, o = function (e, t) { 5282 for (s = -1, i = e.length; i - s > 1;) e[a = i + s >> 1] <= t ? s = a : i = a; 5283 return i 5284 }; 5285 return this.x = e, this.y = t, this.lastIndex = e.length - 1, this.interpolate = function (e) { 5286 return e ? (n = o(this.x, e), r = n - 1, (e - this.x[r]) * (this.y[n] - this.y[r]) / (this.x[n] - this.x[r]) + this.y[r]) : 0 5287 }, this 5288 }, getInterpolateFunction: function (e) { 5289 this.controller.spline || (this.controller.spline = this.params.loop ? new ce.LinearSpline(this.slidesGrid, e.slidesGrid) : new ce.LinearSpline(this.snapGrid, e.snapGrid)) 5290 }, setTranslate: function (e, t) {
5291 var i, s, a = this, r = a.controller.control; 5292 5293 function n(e) { 5294 var t = a.rtlTranslate ? -a.translate : a.translate; 5295 "slide" === a.params.controller.by && (a.controller.getInterpolateFunction(e), s = -a.controller.spline.interpolate(-t)), s && "container" !== a.params.controller.by || (i = (e.maxTranslate() - e.minTranslate()) / (a.maxTranslate() - a.minTranslate()), s = (t - a.minTranslate()) * i + e.minTranslate()), a.params.controller.inverse && (s = e.maxTranslate() - s), e.updateProgress(s), e.setTranslate(s, a), e.updateActiveIndex(), e.updateSlidesClasses() 5296 } 5297 5298 if (Array.isArray(r)) for (var o = 0; o < r.length; o += 1) r[o] !== t && r[o] instanceof j && n(r[o]); else r instanceof j && t !== r && n(r) 5299 }, setTransition: function (e, t) { 5300 var i, s = this, a = s.controller.control; 5301 5302 function r(t) { 5303 t.setTransition(e, s), 0 !== e && (t.transitionStart(), t.params.autoHeight && d.nextTick((function () { 5304 t.updateAutoHeight() 5305 })), t.$wrapperEl.transitionEnd((function () { 5306 a && (t.params.loop && "slide" === s.params.controller.by && t.loopFix(), t.transitionEnd()) 5307 }))) 5308 } 5309 5310 if (Array.isArray(a)) for (i = 0; i < a.length; i += 1) a[i] !== t && a[i] instanceof j && r(a[i]); else a instanceof j && t !== a && r(a) 5311 } 5312 }, ue = { 5313 makeElFocusable: function (e) { 5314 return e.attr("tabIndex", "0"), e 5315 }, makeElNotFocusable: function (e) { 5316 return e.attr("tabIndex", "-1"), e 5317 }, addElRole: function (e, t) { 5318 return e.attr("role", t), e 5319 }, addElLabel: function (e, t) { 5320 return e.attr("aria-label", t), e 5321 }, disableEl: function (e) { 5322 return e.attr("aria-disabled", !0), e 5323 }, enableEl: function (e) { 5324 return e.attr("aria-disabled", !1), e 5325 }, onEnterKey: function (e) { 5326 var t = this.params.a11y; 5327 if (13 === e.keyCode) { 5328 var i = n(e.target); 5329 this.navigation && this.navigation.$nextEl && i.is(this.navigation.$nextEl) && (this.isEnd && !this.params.loop || this.slideNext(), this.isEnd ? this.a11y.notify(t.lastSlideMessage) : this.a11y.notify(t.nextSlideMessage)), this.navigation && this.navigation.$prevEl && i.is(this.navigation.$prevEl) && (this.isBeginning && !this.params.loop || this.slidePrev(), this.isBeginning ? this.a11y.notify(t.firstSlideMessage) : this.a11y.notify(t.prevSlideMessage)), this.pagination && i.is("." + this.params.pagination.bulletClass) && i[0].click() 5330 } 5331 }, notify: function (e) { 5332 var t = this.a11y.liveRegion; 5333 0 !== t.length && (t.html(""), t.html(e)) 5334 }, updateNavigation: function () { 5335 if (!this.params.loop && this.navigation) { 5336 var e = this.navigation, t = e.$nextEl, i = e.$prevEl; 5337 i && i.length > 0 && (this.isBeginning ? (this.a11y.disableEl(i), this.a11y.makeElNotFocusable(i)) : (this.a11y.enableEl(i), this.a11y.makeElFocusable(i))), t && t.length > 0 && (this.isEnd ? (this.a11y.disableEl(t), this.a11y.makeElNotFocusable(t)) : (this.a11y.enableEl(t), this.a11y.makeElFocusable(t))) 5338 } 5339 }, updatePagination: function () { 5340 var e = this, t = e.params.a11y; 5341 e.pagination && e.params.pagination.clickable && e.pagination.bullets && e.pagination.bullets.length && e.pagination.bullets.each((function (i, s) { 5342 var a = n(s); 5343 e.a11y.makeElFocusable(a), e.a11y.addElRole(a, "button"), e.a11y.addElLabel(a, t.paginationBulletMessage.replace(/\{\{index\}\}/, a.index() + 1)) 5344 })) 5345 }, init: function () { 5346 this.$el.append(this.a11y.liveRegion); 5347 var e, t, i = this.params.a11y; 5348 this.navigation && this.navigation.$nextEl && (e = this.navigation.$nextEl), this.navigation && this.navigation.$prevEl && (t = this.navigation.$prevEl), e && (this.a11y.makeElFocusable(e), this.a11y.addElRole(e, "button"), this.a11y.addElLabel(e, i.nextSlideMessage), e.on("key
5348down", this.a11y.onEnterKey)), t && (this.a11y.makeElFocusable(t), this.a11y.addElRole(t, "button"), this.a11y.addElLabel(t, i.prevSlideMessage), t.on("keydown", this.a11y.onEnterKey)), this.pagination && this.params.pagination.clickable && this.pagination.bullets && this.pagination.bullets.length && this.pagination.$el.on("keydown", "." + this.params.pagination.bulletClass, this.a11y.onEnterKey) 5349 }, destroy: function () { 5350 var e, t; 5351 this.a11y.liveRegion && this.a11y.liveRegion.length > 0 && this.a11y.liveRegion.remove(), this.navigation && this.navigation.$nextEl && (e = this.navigation.$nextEl), this.navigation && this.navigation.$prevEl && (t = this.navigation.$prevEl), e && e.off("keydown", this.a11y.onEnterKey), t && t.off("keydown", this.a11y.onEnterKey), this.pagination && this.params.pagination.clickable && this.pagination.bullets && this.pagination.bullets.length && this.pagination.$el.off("keydown", "." + this.params.pagination.bulletClass, this.a11y.onEnterKey) 5352 } 5353 }, ve = { 5354 init: function () { 5355 if (this.params.history) { 5356 if (!a.history || !a.history.pushState) return this.params.history.enabled = !1, void (this.params.hashNavigation.enabled = !0); 5357 var e = this.history; 5358 e.initialized = !0, e.paths = ve.getPathValues(), (e.paths.key || e.paths.value) && (e.scrollToSlide(0, e.paths.value, this.params.runCallbacksOnInit), this.params.history.replaceState || a.addEventListener("popstate", this.history.setHistoryPopState)) 5359 } 5360 }, destroy: function () { 5361 this.params.history.replaceState || a.removeEventListener("popstate", this.history.setHistoryPopState) 5362 }, setHistoryPopState: function () { 5363 this.history.paths = ve.getPathValues(), this.history.scrollToSlide(this.params.speed, this.history.paths.value, !1) 5364 }, getPathValues: function () { 5365 var e = a.location.pathname.slice(1).split("/").filter((function (e) { 5366 return "" !== e 5367 })), t = e.length; 5368 return {key: e[t - 2], value: e[t - 1]} 5369 }, setHistory: function (e, t) { 5370 if (this.history.initialized && this.params.history.enabled) { 5371 var i = this.slides.eq(t), s = ve.slugify(i.attr("data-history")); 5372 a.location.pathname.includes(e) || (s = e + "/" + s); 5373 var r = a.history.state; 5374 r && r.value === s || (this.params.history.replaceState ? a.history.replaceState({value: s}, null, s) : a.history.pushState({value: s}, null, s)) 5375 } 5376 }, slugify: function (e) { 5377 return e.toString().replace(/\s+/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-").replace(/^-+/, "").replace(/-+$/, "") 5378 }, scrollToSlide: function (e, t, i) { 5379 if (t) for (var s = 0, a = this.slides.length; s < a; s += 1) { 5380 var r = this.slides.eq(s); 5381 if (ve.slugify(r.attr("data-history")) === t && !r.hasClass(this.params.slideDuplicateClass)) { 5382 var n = r.index(); 5383 this.slideTo(n, e, i) 5384 } 5385 } else this.slideTo(0, e, i) 5386 } 5387 }, fe = { 5388 onHashCange: function () { 5389 this.emit("hashChange"); 5390 var e = i.location.hash.replace("#", ""); 5391 if (e !== this.slides.eq(this.activeIndex).attr("data-hash")) { 5392 var t = this.$wrapperEl.children("." + this.params.slideClass + '[data-hash="' + e + '"]').index(); 5393 if (void 0 === t) return; 5394 this.slideTo(t) 5395 } 5396 }, setHash: function () { 5397 if (this.hashNavigation.initialized && this.params.hashNavigation.enabled) if (this.params.hashNavigation.replaceState && a.history && a.history.replaceState) a.history.replaceState(null, null, "#" + this.slides.eq(this.activeIndex).attr("data-hash") || ""), this.emit("hashSet"); else { 5398 var e = this.slides.eq(this.activeIndex), t = e.attr("data-hash") || e.attr("data-history");
5399 i.location.hash = t || "", this.emit("hashSet") 5400 } 5401 }, init: function () { 5402 if (!(!this.params.hashNavigation.enabled || this.params.history && this.params.history.enabled)) { 5403 this.hashNavigation.initialized = !0; 5404 var e = i.location.hash.replace("#", ""); 5405 if (e) for (var t = 0, s = this.slides.length; t < s; t += 1) { 5406 var r = this.slides.eq(t); 5407 if ((r.attr("data-hash") || r.attr("data-history")) === e && !r.hasClass(this.params.slideDuplicateClass)) { 5408 var o = r.index(); 5409 this.slideTo(o, 0, this.params.runCallbacksOnInit, !0) 5410 } 5411 } 5412 this.params.hashNavigation.watchState && n(a).on("hashchange", this.hashNavigation.onHashCange) 5413 } 5414 }, destroy: function () { 5415 this.params.hashNavigation.watchState && n(a).off("hashchange", this.hashNavigation.onHashCange) 5416 } 5417 }, me = { 5418 run: function () { 5419 var e = this, t = e.slides.eq(e.activeIndex), i = e.params.autoplay.delay; 5420 t.attr("data-swiper-autoplay") && (i = t.attr("data-swiper-autoplay") || e.params.autoplay.delay), clearTimeout(e.autoplay.timeout), e.autoplay.timeout = d.nextTick((function () { 5421 e.params.autoplay.reverseDirection ? e.params.loop ? (e.loopFix(), e.slidePrev(e.params.speed, !0, !0), e.emit("autoplay")) : e.isBeginning ? e.params.autoplay.stopOnLastSlide ? e.autoplay.stop() : (e.slideTo(e.slides.length - 1, e.params.speed, !0, !0), e.emit("autoplay")) : (e.slidePrev(e.params.speed, !0, !0), e.emit("autoplay")) : e.params.loop ? (e.loopFix(), e.slideNext(e.params.speed, !0, !0), e.emit("autoplay")) : e.isEnd ? e.params.autoplay.stopOnLastSlide ? e.autoplay.stop() : (e.slideTo(0, e.params.speed, !0, !0), e.emit("autoplay")) : (e.slideNext(e.params.speed, !0, !0), e.emit("autoplay")), e.params.cssMode && e.autoplay.running && e.autoplay.run() 5422 }), i) 5423 }, start: function () { 5424 return void 0 === this.autoplay.timeout && (!this.autoplay.running && (this.autoplay.running = !0, this.emit("autoplayStart"), this.autoplay.run(), !0)) 5425 }, stop: function () { 5426 return !!this.autoplay.running && (void 0 !== this.autoplay.timeout && (this.autoplay.timeout && (clearTimeout(this.autoplay.timeout), this.autoplay.timeout = void 0), this.autoplay.running = !1, this.emit("autoplayStop"), !0)) 5427 }, pause: function (e) { 5428 this.autoplay.running && (this.autoplay.paused || (this.autoplay.timeout && clearTimeout(this.autoplay.timeout), this.autoplay.paused = !0, 0 !== e && this.params.autoplay.waitForTransition ? (this.$wrapperEl[0].addEventListener("transitionend", this.autoplay.onTransitionEnd), this.$wrapperEl[0].addEventListener("webkitTransitionEnd", this.autoplay.onTransitionEnd)) : (this.autoplay.paused = !1, this.autoplay.run()))) 5429 } 5430 }, ge = { 5431 setTranslate: function () { 5432 for (var e = this.slides, t = 0; t < e.length; t += 1) { 5433 var i = this.slides.eq(t), s = -i[0].swiperSlideOffset; 5434 this.params.virtualTranslate || (s -= this.translate); 5435 var a = 0; 5436 this.isHorizontal() || (a = s, s = 0); 5437 var r = this.params.fadeEffect.crossFade ? Math.max(1 - Math.abs(i[0].progress), 0) : 1 + Math.min(Math.max(i[0].progress, -1), 0); 5438 i.css({opacity: r}).transform("translate3d(" + s + "px, " + a + "px, 0px)") 5439 } 5440 }, setTransition: function (e) { 5441 var t = this, i = t.slides, s = t.$wrapperEl; 5442 if (i.transition(e), t.params.virtualTranslate && 0 !== e) { 5443 var a = !1; 5444 i.transitionEnd((function () { 5445 if (!a && t && !t.destroyed) { 5446 a = !0, t.animating = !1; 5447 for (var e = ["webkitTransitionEnd", "transitionend"], i = 0; i < e.length; i += 1) s.trigger(e[i]) 5448 } 5449 })) 5450 } 5451 } 5452 }, be = { 5453 setTranslate: function () { 5454 var e, t = this.$el, i = this.$wrapperEl, s = this.slides, a = this.width, r = this.height, 5455 o = this.rtlTranslate, l = this.size, d = this.params.cubeEffect, h = this.isHorizontal(), 5456 p = this.virtual && this.params.virtual.enabled, c = 0; 5457 d.shadow && (h ? (0 === (e = i.find(".swiper-cube-shadow")).length && (e = n('<div class="swiper-cube-shadow"></div>'), i.append(e)), e.css({height: a + "px"})) : 0 === (e = t.find(".swiper-cube-shadow")).length && (e = n('<div class="swiper-cube-shadow"></div>'), t.append(e))); 5458 for (var u = 0; u < s.length; u += 1) { 5459 var v = s.eq(u), f = u; 5460 p && (f = parseInt(v.attr("data-swiper-slide-index"), 10)); 5461 var m = 90 * f, g = Math.floor(m / 360);
vendor: 5,239 bytes, lines 5462-5517
5462 o && (m = -m, g = Math.floor(-m / 360)); 5463 var b = Math.max(Math.min(v[0].progress, 1), -1), w = 0, y = 0, x = 0; 5464 f % 4 == 0 ? (w = 4 * -g * l, x = 0) : (f - 1) % 4 == 0 ? (w = 0, x = 4 * -g * l) : (f - 2) % 4 == 0 ? (w = l + 4 * g * l, x = l) : (f - 3) % 4 == 0 && (w = -l, x = 3 * l + 4 * l * g), o && (w = -w), h || (y = w, w = 0); 5465 var E = "rotateX(" + (h ? 0 : -m) + "deg) rotateY(" + (h ? m : 0) + "deg) translate3d(" + w + "px, " + y + "px, " + x + "px)"; 5466 if (b <= 1 && b > -1 && (c = 90 * f + 90 * b, o && (c = 90 * -f - 90 * b)), v.transform(E), d.slideShadows) { 5467 var T = h ? v.find(".swiper-slide-shadow-left") : v.find(".swiper-slide-shadow-top"), 5468 S = h ? v.find(".swiper-slide-shadow-right") : v.find(".swiper-slide-shadow-bottom"); 5469 0 === T.length && (T = n('<div class="swiper-slide-shadow-' + (h ? "left" : "top") + '"></div>'), v.append(T)), 0 === S.length && (S = n('<div class="swiper-slide-shadow-' + (h ? "right" : "bottom") + '"></div>'), v.append(S)), T.length && (T[0].style.opacity = Math.max(-b, 0)), S.length && (S[0].style.opacity = Math.max(b, 0)) 5470 } 5471 } 5472 if (i.css({ 5473 "-webkit-transform-origin": "50% 50% -" + l / 2 + "px", 5474 "-moz-transform-origin": "50% 50% -" + l / 2 + "px", 5475 "-ms-transform-origin": "50% 50% -" + l / 2 + "px", 5476 "transform-origin": "50% 50% -" + l / 2 + "px" 5477 }), d.shadow) if (h) e.transform("translate3d(0px, " + (a / 2 + d.shadowOffset) + "px, " + -a / 2 + "px) rotateX(90deg) rotateZ(0deg) scale(" + d.shadowScale + ")"); else { 5478 var C = Math.abs(c) - 90 * Math.floor(Math.abs(c) / 90), 5479 M = 1.5 - (Math.sin(2 * C * Math.PI / 360) / 2 + Math.cos(2 * C * Math.PI / 360) / 2), 5480 P = d.shadowScale, z = d.shadowScale / M, k = d.shadowOffset; 5481 e.transform("scale3d(" + P + ", 1, " + z + ") translate3d(0px, " + (r / 2 + k) + "px, " + -r / 2 / z + "px) rotateX(-90deg)") 5482 } 5483 var $ = _.isSafari || _.isWebView ? -l / 2 : 0; 5484 i.transform("translate3d(0px,0," + $ + "px) rotateX(" + (this.isHorizontal() ? 0 : c) + "deg) rotateY(" + (this.isHorizontal() ? -c : 0) + "deg)") 5485 }, setTransition: function (e) { 5486 var t = this.$el; 5487 this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e), this.params.cubeEffect.shadow && !this.isHorizontal() && t.find(".swiper-cube-shadow").transition(e) 5488 } 5489 }, we = { 5490 setTranslate: function () { 5491 for (var e = this.slides, t = this.rtlTranslate, i = 0; i < e.length; i += 1) { 5492 var s = e.eq(i), a = s[0].progress; 5493 this.params.flipEffect.limitRotation && (a = Math.max(Math.min(s[0].progress, 1), -1)); 5494 var r = -180 * a, o = 0, l = -s[0].swiperSlideOffset, d = 0; 5495 if (this.isHorizontal() ? t && (r = -r) : (d = l, l = 0, o = -r, r = 0), s[0].style.zIndex = -Math.abs(Math.round(a)) + e.length, this.params.flipEffect.slideShadows) { 5496 var h = this.isHorizontal() ? s.find(".swiper-slide-shadow-left") : s.find(".swiper-slide-shadow-top"), 5497 p = this.isHorizontal() ? s.find(".swiper-slide-shadow-right") : s.find(".swiper-slide-shadow-bottom"); 5498 0 === h.length && (h = n('<div class="swiper-slide-shadow-' + (this.isHorizontal() ? "left" : "top") + '"></div>'), s.append(h)), 0 === p.length && (p = n('<div class="swiper-slide-shadow-' + (this.isHorizontal() ? "right" : "bottom") + '"></div>'), s.append(p)), h.length && (h[0].style.opacity = Math.max(-a, 0)), p.length && (p[0].style.opacity = Math.max(a, 0)) 5499 } 5500 s.transform("translate3d(" + l + "px, " + d + "px, 0px) rotateX(" + o + "deg) rotateY(" + r + "deg)") 5501 } 5502 }, setTransition: function (e) { 5503 var t = this, i = t.slides, s = t.activeIndex, a = t.$wrapperEl; 5504 if (i.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e), t.params.virtualTranslate && 0 !== e) { 5505 var r = !1; 5506 i.eq(s).transitionEnd((function () { 5507 if (!r && t && !t.destroyed) { 5508 r = !0, t.animating = !1; 5509 for (var e = ["webkitTransitionEnd", "transitionend"], i = 0; i < e.length; i += 1) a.trigger(e[i]) 5510 } 5511 })) 5512 } 5513 } 5514 }, ye = { 5515 setTranslate: function () { 5516 for (var e = this.width, t = this.height, i = this.slides, s = this.$wrapperEl, a = this.slidesSizesGrid, r = this.params.coverflowEffect, o = this.isHorizontal(), l = this.translate, d = o ? e / 2 - l : t / 2 - l, p = o ? r.rotate : -r.rotate, c = r.depth, u = 0, v = i.length; u < v; u += 1) { 5517 var f = i.eq(u), m = a[u], g = (d - f[0].swiperSlideOffset - m / 2) / m * r.modifier, b = o ? p * g : 0,
5518 w = o ? 0 : p * g, y = -c * Math.abs(g), x = r.stretch; 5519 "string" == typeof x && -1 !== x.indexOf("%") && (x = parseFloat(r.stretch) / 100 * m); 5520 var E = o ? 0 : x * g, T = o ? x * g : 0, S = 1 - (1 - r.scale) * Math.abs(g); 5521 Math.abs(T) < .001 && (T = 0), Math.abs(E) < .001 && (E = 0), Math.abs(y) < .001 && (y = 0), Math.abs(b) < .001 && (b = 0), Math.abs(w) < .001 && (w = 0), Math.abs(S) < .001 && (S = 0); 5522 var C = "translate3d(" + T + "px," + E + "px," + y + "px) rotateX(" + w + "deg) rotateY(" + b + "deg) scale(" + S + ")"; 5523 if (f.transform(C), f[0].style.zIndex = 1 - Math.abs(Math.round(g)), r.slideShadows) { 5524 var M = o ? f.find(".swiper-slide-shadow-left") : f.find(".swiper-slide-shadow-top"), 5525 P = o ? f.find(".swiper-slide-shadow-right") : f.find(".swiper-slide-shadow-bottom"); 5526 0 === M.length && (M = n('<div class="swiper-slide-shadow-' + (o ? "left" : "top") + '"></div>'), f.append(M)), 0 === P.length && (P = n('<div class="swiper-slide-shadow-' + (o ? "right" : "bottom") + '"></div>'), f.append(P)), M.length && (M[0].style.opacity = g > 0 ? g : 0), P.length && (P[0].style.opacity = -g > 0 ? -g : 0) 5527 } 5528 } 5529 (h.pointerEvents || h.prefixedPointerEvents) && (s[0].style.perspectiveOrigin = d + "px 50%") 5530 }, setTransition: function (e) { 5531 this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e) 5532 } 5533 }, xe = { 5534 init: function () { 5535 var e = this.params.thumbs, t = this.constructor; 5536 e.swiper instanceof t ? (this.thumbs.swiper = e.swiper, d.extend(this.thumbs.swiper.originalParams, { 5537 watchSlidesProgress: !0, 5538 slideToClickedSlide: !1 5539 }), d.extend(this.thumbs.swiper.params, { 5540 watchSlidesProgress: !0, 5541 slideToClickedSlide: !1 5542 })) : d.isObject(e.swiper) && (this.thumbs.swiper = new t(d.extend({}, e.swiper, { 5543 watchSlidesVisibility: !0, 5544 watchSlidesProgress: !0, 5545 slideToClickedSlide: !1 5546 })), this.thumbs.swiperCreated = !0), this.thumbs.swiper.$el.addClass(this.params.thumbs.thumbsContainerClass), this.thumbs.swiper.on("tap", this.thumbs.onThumbClick) 5547 }, onThumbClick: function () { 5548 var e = this.thumbs.swiper; 5549 if (e) { 5550 var t = e.clickedIndex, i = e.clickedSlide; 5551 if (!(i && n(i).hasClass(this.params.thumbs.slideThumbActiveClass) || null == t)) { 5552 var s; 5553 if (s = e.params.loop ? parseInt(n(e.clickedSlide).attr("data-swiper-slide-index"), 10) : t, this.params.loop) { 5554 var a = this.activeIndex; 5555 this.slides.eq(a).hasClass(this.params.slideDuplicateClass) && (this.loopFix(), this._clientLeft = this.$wrapperEl[0].clientLeft, a = this.activeIndex); 5556 var r = this.slides.eq(a).prevAll('[data-swiper-slide-index="' + s + '"]').eq(0).index(), 5557 o = this.slides.eq(a).nextAll('[data-swiper-slide-index="' + s + '"]').eq(0).index(); 5558 s = void 0 === r ? o : void 0 === o ? r : o - a < a - r ? o : r 5559 } 5560 this.slideTo(s) 5561 } 5562 } 5563 }, update: function (e) { 5564 var t = this.thumbs.swiper; 5565 if (t) { 5566 var i = "auto" === t.params.slidesPerView ? t.slidesPerViewDynamic() : t.params.slidesPerView, 5567 s = this.params.thumbs.autoScrollOffset, a = s && !t.params.loop; 5568 if (this.realIndex !== t.realIndex || a) { 5569 var r, n, o = t.activeIndex; 5570 if (t.params.loop) { 5571 t.slides.eq(o).hasClass(t.params.slideDuplicateClass) && (t.loopFix(), t._clientLeft = t.$wrapperEl[0].clientLeft, o = t.activeIndex); 5572 var l = t.slides.eq(o).prevAll('[data-swiper-slide-index="' + this.realIndex + '"]').eq(0).index(), 5573 d = t.slides.eq(o).nextAll('[data-swiper-slide-index="' + this.realIndex + '"]').eq(0).index(); 5574 r = void 0 === l ? d : void 0 === d ? l : d - o == o - l ? o : d - o < o - l ? d : l, n = this.activeIndex > this.previousIndex ? "next" : "prev" 5575 } else n = (r = this.realIndex) > this.previousIndex ? "next" : "prev"; 5576 a && (r += "next" === n ? s : -1 * s), t.visibleSlidesIndexes && t.visibleSlidesIndexes.indexOf(r) < 0 && (t.params.centeredSlides ? r = r > o ? r - Math.floor(i / 2) + 1 : r + Math.floor(i / 2) - 1 : r > o && (r = r - i + 1), t.slideTo(r, e ? 0 : void 0)) 5577 } 5578 var h = 1, p = this.params.thumbs.slideThumbActiveClass; 5579 if (this.params.slidesPerView > 1 && !this.params.centeredSlides && (h = this.params.slidesPerView), this.params.thumbs.multipleActiveThumbs || (h = 1), h = Math.floor(h), t.slides.removeClass(p), t.params.loop || t.params.virtual && t.params.virtual.enabled) for (var c = 0; c < h; c += 1) t.$wrapperEl.children('[data-swiper-slide-index="' + (this.realIndex + c) + '"]').addClass(p); else for (var u = 0; u < h; u += 1) t.slides.eq(this.realIndex + u).addClass(p) 5580 } 5581 } 5582 }, Ee = [K, U, Z, Q, ee, ie, ae, { 5583 name: "mousewheel", 5584 params: { 5585 mousewheel: { 5586 enabled: !1, 5587 releaseOnEdges: !1, 5588 invert: !1, 5589 forceToAxis: !1, 5590 sensitivity: 1, 5591 eventsTarged: "container" 5592 } 5593 }, 5594 create: function () { 5595 d.extend(this, { 5596 mousewheel: { 5597 enabled: !1, 5598 enable: re.enable.bind(this), 5599 disable: re.disable.bind(this), 5600 handle: re.handle.bind(this), 5601 handleMouseEnter: re.handleMouseEnter.bind(this), 5602 handleMouseLeave: re.handleMouseLeave.bind(this), 5603 animateSlider: re.animateSlider.bind(this), 5604 releaseScroll: re.releaseScroll.bind(this), 5605 lastScrollTime: d.now(), 5606 lastEventBeforeSnap: void 0, 5607 recentWheelEvents: [] 5608 } 5609 }) 5610 }, 5611 on: { 5612 init: function () { 5613 !this.params.mousewheel.enabled && this.params.cssMode && this.mousewheel.disable(), this.params.mousewheel.enabled && this.mousewheel.enable() 5614 }, destroy: function () { 5615 this.params.cssMode && this.mousewheel.enable(), this.mousewheel.enabled && this.mousewheel.disable() 5616 } 5617 } 5618 }, {
5619 name: "navigation", 5620 params: { 5621 navigation: { 5622 nextEl: null, 5623 prevEl: null, 5624 hideOnClick: !1, 5625 disabledClass: "swiper-button-disabled", 5626 hiddenClass: "swiper-button-hidden", 5627 lockClass: "swiper-button-lock" 5628 } 5629 }, 5630 create: function () { 5631 d.extend(this, { 5632 navigation: { 5633 init: ne.init.bind(this), 5634 update: ne.update.bind(this), 5635 destroy: ne.destroy.bind(this), 5636 onNextClick: ne.onNextClick.bind(this), 5637 onPrevClick: ne.onPrevClick.bind(this) 5638 } 5639 }) 5640 }, 5641 on: { 5642 init: function () { 5643 this.navigation.init(), this.navigation.update() 5644 }, toEdge: function () { 5645 this.navigation.update() 5646 }, fromEdge: function () { 5647 this.navigation.update() 5648 }, destroy: function () { 5649 this.navigation.destroy() 5650 }, click: function (e) { 5651 var t, i = this.navigation, s = i.$nextEl, a = i.$prevEl; 5652 !this.params.navigation.hideOnClick || n(e.target).is(a) || n(e.target).is(s) || (s ? t = s.hasClass(this.params.navigation.hiddenClass) : a && (t = a.hasClass(this.params.navigation.hiddenClass)), !0 === t ? this.emit("navigationShow", this) : this.emit("navigationHide", this), s && s.toggleClass(this.params.navigation.hiddenClass), a && a.toggleClass(this.params.navigation.hiddenClass)) 5653 } 5654 } 5655 }, { 5656 name: "pagination", 5657 params: { 5658 pagination: { 5659 el: null, 5660 bulletElement: "span", 5661 clickable: !1, 5662 hideOnClick: !1, 5663 renderBullet: null, 5664 renderProgressbar: null, 5665 renderFraction: null, 5666 renderCustom: null, 5667 progressbarOpposite: !1, 5668 type: "bullets", 5669 dynamicBullets: !1, 5670 dynamicMainBullets: 1, 5671 formatFractionCurrent: function (e) { 5672 return e 5673 }, 5674 formatFractionTotal: function (e) { 5675 return e 5676 }, 5677 bulletClass: "swiper-pagination-bullet", 5678 bulletActiveClass: "swiper-pagination-bullet-active", 5679 modifierClass: "swiper-pagination-", 5680 currentClass: "swiper-pagination-current", 5681 totalClass: "swiper-pagination-total", 5682 hiddenClass: "swiper-pagination-hidden", 5683 progressbarFillClass: "swiper-pagination-progressbar-fill", 5684 progressbarOppositeClass: "swiper-pagination-progressbar-opposite", 5685 clickableClass: "swiper-pagination-clickable", 5686 lockClass: "swiper-pagination-lock" 5687 } 5688 }, 5689 create: function () { 5690 d.extend(this, { 5691 pagination: { 5692 init: oe.init.bind(this), 5693 render: oe.render.bind(this), 5694 update: oe.update.bind(this), 5695 destroy: oe.destroy.bind(this), 5696 dynamicBulletIndex: 0 5697 } 5698 }) 5699 }, 5700 on: { 5701 init: function () { 5702 this.pagination.init(), this.pagination.render(), this.pagination.update() 5703 }, activeIndexChange: function () { 5704 (this.params.loop || void 0 === this.snapIndex) && this.pagination.update() 5705 }, snapIndexChange: function () { 5706 this.params.loop || this.pagination.update() 5707 }, slidesLengthChange: function () { 5708 this.params.loop && (this.pagination.render(), this.pagination.update()) 5709 }, snapGridLengthChange: function () { 5710 this.params.loop || (this.pagination.render(), this.pagination.update()) 5711 }, destroy: function () { 5712 this.pagination.destroy() 5713 }, click: function (e) { 5714 this.params.pagination.el && this.params.pagination.hideOnClick && this.pagination.$el.length > 0 && !n(e.target).hasClass(this.params.pagination.bulletClass) && (!0 === this.pagination.$el.hasClass(this.params.pagination.hiddenClass) ? this.emit
vendor: 15,309 bytes, lines 5714-6054
5714("paginationShow", this) : this.emit("paginationHide", this), this.pagination.$el.toggleClass(this.params.pagination.hiddenClass)) 5715 } 5716 } 5717 }, { 5718 name: "scrollbar", 5719 params: { 5720 scrollbar: { 5721 el: null, 5722 dragSize: "auto", 5723 hide: !1, 5724 draggable: !1, 5725 snapOnRelease: !0, 5726 lockClass: "swiper-scrollbar-lock", 5727 dragClass: "swiper-scrollbar-drag" 5728 } 5729 }, 5730 create: function () { 5731 d.extend(this, { 5732 scrollbar: { 5733 init: le.init.bind(this), 5734 destroy: le.destroy.bind(this), 5735 updateSize: le.updateSize.bind(this), 5736 setTranslate: le.setTranslate.bind(this), 5737 setTransition: le.setTransition.bind(this), 5738 enableDraggable: le.enableDraggable.bind(this), 5739 disableDraggable: le.disableDraggable.bind(this), 5740 setDragPosition: le.setDragPosition.bind(this), 5741 getPointerPosition: le.getPointerPosition.bind(this), 5742 onDragStart: le.onDragStart.bind(this), 5743 onDragMove: le.onDragMove.bind(this), 5744 onDragEnd: le.onDragEnd.bind(this), 5745 isTouched: !1, 5746 timeout: null, 5747 dragTimeout: null 5748 } 5749 }) 5750 }, 5751 on: { 5752 init: function () { 5753 this.scrollbar.init(), this.scrollbar.updateSize(), this.scrollbar.setTranslate() 5754 }, update: function () { 5755 this.scrollbar.updateSize() 5756 }, resize: function () { 5757 this.scrollbar.updateSize() 5758 }, observerUpdate: function () { 5759 this.scrollbar.updateSize() 5760 }, setTranslate: function () { 5761 this.scrollbar.setTranslate() 5762 }, setTransition: function (e) { 5763 this.scrollbar.setTransition(e) 5764 }, destroy: function () { 5765 this.scrollbar.destroy() 5766 } 5767 } 5768 }, { 5769 name: "parallax", params: {parallax: {enabled: !1}}, create: function () { 5770 d.extend(this, { 5771 parallax: { 5772 setTransform: de.setTransform.bind(this), 5773 setTranslate: de.setTranslate.bind(this), 5774 setTransition: de.setTransition.bind(this) 5775 } 5776 }) 5777 }, on: { 5778 beforeInit: function () { 5779 this.params.parallax.enabled && (this.params.watchSlidesProgress = !0, this.originalParams.watchSlidesProgress = !0) 5780 }, init: function () { 5781 this.params.parallax.enabled && this.parallax.setTranslate() 5782 }, setTranslate: function () { 5783 this.params.parallax.enabled && this.parallax.setTranslate() 5784 }, setTransition: function (e) { 5785 this.params.parallax.enabled && this.parallax.setTransition(e) 5786 } 5787 } 5788 }, { 5789 name: "zoom", 5790 params: { 5791 zoom: { 5792 enabled: !1, 5793 maxRatio: 3, 5794 minRatio: 1, 5795 toggle: !0, 5796 containerClass: "swiper-zoom-container", 5797 zoomedSlideClass: "swiper-slide-zoomed" 5798 } 5799 }, 5800 create: function () { 5801 var e = this, t = { 5802 enabled: !1, 5803 scale: 1, 5804 currentScale: 1, 5805 isScaling: !1, 5806 gesture: { 5807 $slideEl: void 0, 5808 slideWidth: void 0, 5809 slideHeight: void 0, 5810 $imageEl: void 0, 5811 $imageWrapEl: void 0, 5812 maxRatio: 3 5813 }, 5814 image: { 5815 isTouched: void 0, 5816 isMoved: void 0, 5817 currentX: void 0, 5818 currentY: void 0, 5819 minX: void 0, 5820 minY: void 0, 5821 maxX: void 0, 5822 maxY: void 0, 5823 width: void 0, 5824 height: void 0, 5825 startX: void 0, 5826 startY: void 0, 5827 touchesStart: {}, 5828 touchesCurrent: {} 5829 }, 5830 velocity: {x: void 0, y: void 0, prevPositionX: void 0, prevPositionY: void 0, prevTime: void 0} 5831 }; 5832 "onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach((function (i) { 5833 t[i] = he[i].bind(e) 5834 })), d.extend(e, {zoom: t}); 5835 var i = 1; 5836 Object.defineProperty(e.zoom, "scale", { 5837 get: function () { 5838 return i 5839 }, set: function (t) { 5840 if (i !== t) { 5841 var s = e.zoom.gesture.$imageEl ? e.zoom.gesture.$imageEl[0] : void 0, 5842 a = e.zoom.gesture.$slideEl ? e.zoom.gesture.$slideEl[0] : void 0; 5843 e.emit("zoomChange", t, s, a) 5844 } 5845 i = t 5846 } 5847 }) 5848 }, 5849 on: { 5850 init: function () { 5851 this.params.zoom.enabled && this.zoom.enable() 5852 }, destroy: function () { 5853 this.zoom.disable() 5854 }, touchStart: function (e) { 5855 this.zoom.enabled && this.zoom.onTouchStart(e) 5856 }, touchEnd: function (e) { 5857 this.zoom.enabled && this.zoom.onTouchEnd(e) 5858 }, doubleTap: function (e) { 5859 this.params.zoom.enabled && this.zoom.enabled && this.params.zoom.toggle && this.zoom.toggle(e) 5860 }, transitionEnd: function () { 5861 this.zoom.enabled && this.params.zoom.enabled && this.zoom.onTransitionEnd() 5862 }, slideChange: function () { 5863 this.zoom.enabled && this.params.zoom.enabled && this.params.cssMode && this.zoom.onTransitionEnd() 5864 } 5865 } 5866 }, { 5867 name: "lazy", 5868 params: { 5869 lazy: { 5870 enabled: !1, 5871 loadPrevNext: !1, 5872 loadPrevNextAmount: 1, 5873 loadOnTransitionStart: !1, 5874 elementClass: "swiper-lazy", 5875 loadingClass: "swiper-lazy-loading", 5876 loadedClass: "swiper-lazy-loaded", 5877 preloaderClass: "swiper-lazy-preloader" 5878 } 5879 }, 5880 create: function () { 5881 d.extend(this, { 5882 lazy: { 5883 initialImageLoaded: !1, 5884 load: pe.load.bind(this), 5885 loadInSlide: pe.loadInSlide.bind(this) 5886 } 5887 }) 5888 }, 5889 on: { 5890 beforeInit: function () { 5891 this.params.lazy.enabled && this.params.preloadImages && (this.params.preloadImages = !1) 5892 }, init: function () { 5893 this.params.lazy.enabled && !this.params.loop && 0 === this.params.initialSlide && this.lazy.load() 5894 }, scroll: function () { 5895 this.params.freeMode && !this.params.freeModeSticky && this.lazy.load() 5896 }, resize: function () { 5897 this.params.lazy.enabled && this.lazy.load() 5898 }, scrollbarDragMove: function () { 5899 this.params.lazy.enabled && this.lazy.load() 5900 }, transitionStart: function () { 5901 this.params.lazy.enabled && (this.params.lazy.loadOnTransitionStart || !this.params.lazy.loadOnTransitionStart && !this.lazy.initialImageLoaded) && this.lazy.load() 5902 }, transitionEnd: function () { 5903 this.params.lazy.enabled && !this.params.lazy.loadOnTransitionStart && this.lazy.load() 5904 }, slideChange: function () { 5905 this.params.lazy.enabled && this.params.cssMode && this.lazy.load() 5906 } 5907 } 5908 }, { 5909 name: "controller", params: {controller: {control: void 0, inverse: !1, by: "slide"}}, create: function () { 5910 d.extend(this, { 5911 controller: { 5912 control: this.params.controller.control, 5913 getInterpolateFunction: ce.getInterpolateFunction.bind(this), 5914 setTranslate: ce.setTranslate.bind(this), 5915 setTransition: ce.setTransition.bind(this) 5916 } 5917 }) 5918 }, on: { 5919 update: function () { 5920 this.controller.control && this.controller.spline && (this.controller.spline = void 0, delete this.controller.spline) 5921 }, resize: function () { 5922 this.controller.control && this.controller.spline && (this.controller.spline = void 0, delete this.controller.spline) 5923 }, observerUpdate: function () { 5924 this.controller.control && this.controller.spline && (this.controller.spline = void 0, delete this.controller.spline) 5925 }, setTranslate: function (e, t) { 5926 this.controller.control && this.controller.setTranslate(e, t) 5927 }, setTransition: function (e, t) { 5928 this.controller.control && this.controller.setTransition(e, t) 5929 } 5930 } 5931 }, { 5932 name: "a11y", 5933 params: { 5934 a11y: { 5935 enabled: !0, 5936 notificationClass: "swiper-notification", 5937 prevSlideMessage: "Previous slide", 5938 nextSlideMessage: "Next slide", 5939 firstSlideMessage: "This is the first slide", 5940 lastSlideMessage: "This is the last slide", 5941 paginationBulletMessage: "Go to slide {{index}}" 5942 } 5943 }, 5944 create: function () { 5945 var e = this; 5946 d.extend(e, {a11y: {liveRegion: n('<span class="' + e.params.a11y.notificationClass + '" aria-live="assertive" aria-atomic="true"></span>')}}), Object.keys(ue).forEach((function (t) { 5947 e.a11y[t] = ue[t].bind(e) 5948 })) 5949 }, 5950 on: { 5951 init: function () { 5952 this.params.a11y.enabled && (this.a11y.init(), this.a11y.updateNavigation()) 5953 }, toEdge: function () { 5954 this.params.a11y.enabled && this.a11y.updateNavigation() 5955 }, fromEdge: function () { 5956 this.params.a11y.enabled && this.a11y.updateNavigation() 5957 }, paginationUpdate: function () { 5958 this.params.a11y.enabled && this.a11y.updatePagination() 5959 }, destroy: function () { 5960 this.params.a11y.enabled && this.a11y.destroy() 5961 } 5962 } 5963 }, { 5964 name: "history", params: {history: {enabled: !1, replaceState: !1, key: "slides"}}, create: function () { 5965 d.extend(this, { 5966 history: { 5967 init: ve.init.bind(this), 5968 setHistory: ve.setHistory.bind(this), 5969 setHistoryPopState: ve.setHistoryPopState.bind(this), 5970 scrollToSlide: ve.scrollToSlide.bind(this), 5971 destroy: ve.destroy.bind(this) 5972 } 5973 }) 5974 }, on: { 5975 init: function () { 5976 this.params.history.enabled && this.history.init() 5977 }, destroy: function () { 5978 this.params.history.enabled && this.history.destroy() 5979 }, transitionEnd: function () { 5980 this.history.initialized && this.history.setHistory(this.params.history.key, this.activeIndex) 5981 }, slideChange: function () { 5982 this.history.initialized && this.params.cssMode && this.history.setHistory(this.params.history.key, this.activeIndex) 5983 } 5984 } 5985 }, { 5986 name: "hash-navigation", 5987 params: {hashNavigation: {enabled: !1, replaceState: !1, watchState: !1}}, 5988 create: function () { 5989 d.extend(this, { 5990 hashNavigation: { 5991 initialized: !1, 5992 init: fe.init.bind(this), 5993 destroy: fe.destroy.bind(this), 5994 setHash: fe.setHash.bind(this), 5995 onHashCange: fe.onHashCange.bind(this) 5996 } 5997 }) 5998 }, 5999 on: { 6000 init: function () { 6001 this.params.hashNavigation.enabled && this.hashNavigation.init() 6002 }, destroy: function () { 6003 this.params.hashNavigation.enabled && this.hashNavigation.destroy() 6004 }, transitionEnd: function () { 6005 this.hashNavigation.initialized && this.hashNavigation.setHash() 6006 }, slideChange: function () { 6007 this.hashNavigation.initialized && this.params.cssMode && this.hashNavigation.setHash() 6008 } 6009 } 6010 }, { 6011 name: "autoplay", 6012 params: { 6013 autoplay: { 6014 enabled: !1, 6015 delay: 3e3, 6016 waitForTransition: !0, 6017 disableOnInteraction: !0, 6018 stopOnLastSlide: !1, 6019 reverseDirection: !1 6020 } 6021 }, 6022 create: function () { 6023 var e = this; 6024 d.extend(e, { 6025 autoplay: { 6026 running: !1, 6027 paused: !1, 6028 run: me.run.bind(e), 6029 start: me.start.bind(e), 6030 stop: me.stop.bind(e), 6031 pause: me.pause.bind(e), 6032 onVisibilityChange: function () { 6033 "hidden" === document.visibilityState && e.autoplay.running && e.autoplay.pause(), "visible" === document.visibilityState && e.autoplay.paused && (e.autoplay.run(), e.autoplay.paused = !1) 6034 }, 6035 onTransitionEnd: function (t) { 6036 e && !e.destroyed && e.$wrapperEl && t.target === this && (e.$wrapperEl[0].removeEventListener("transitionend", e.autoplay.onTransitionEnd), e.$wrapperEl[0].removeEventListener("webkitTransitionEnd", e.autoplay.onTransitionEnd), e.autoplay.paused = !1, e.autoplay.running ? e.autoplay.run() : e.autoplay.stop()) 6037 } 6038 } 6039 }) 6040 }, 6041 on: { 6042 init: function () { 6043 this.params.autoplay.enabled && (this.autoplay.start(), document.addEventListener("visibilitychange", this.autoplay.onVisibilityChange)) 6044 }, beforeTransitionStart: function (e, t) { 6045 this.autoplay.running && (t || !this.params.autoplay.disableOnInteraction ? this.autoplay.pause(e) : this.autoplay.stop()) 6046 }, sliderFirstMove: function () { 6047 this.autoplay.running && (this.params.autoplay.disableOnInteraction ? this.autoplay.stop() : this.autoplay.pause()) 6048 }, touchEnd: function () { 6049 this.params.cssMode && this.autoplay.paused && !this.params.autoplay.disableOnInteraction && this.autoplay.run() 6050 }, destroy: function () { 6051 this.autoplay.running && this.autoplay.stop(), document.removeEventListener("visibilitychange", this.autoplay.onVisibilityChange) 6052 } 6053 } 6054 }, {
6055 name: "effect-fade", params: {fadeEffect: {crossFade: !1}}, create: function () { 6056 d.extend(this, { 6057 fadeEffect: { 6058 setTranslate: ge.setTranslate.bind(this), 6059 setTransition: ge.setTransition.bind(this) 6060 } 6061 }) 6062 }, on: { 6063 beforeInit: function () { 6064 if ("fade" === this.params.effect) { 6065 this.classNames.push(this.params.containerModifierClass + "fade"); 6066 var e = { 6067 slidesPerView: 1, 6068 slidesPerColumn: 1, 6069 slidesPerGroup: 1, 6070 watchSlidesProgress: !0, 6071 spaceBetween: 0, 6072 virtualTranslate: !0 6073 }; 6074 d.extend(this.params, e), d.extend(this.originalParams, e) 6075 } 6076 }, setTranslate: function () { 6077 "fade" === this.params.effect && this.fadeEffect.setTranslate() 6078 }, setTransition: function (e) { 6079 "fade" === this.params.effect && this.fadeEffect.setTransition(e) 6080 } 6081 } 6082 }, { 6083 name: "effect-cube", 6084 params: {cubeEffect: {slideShadows: !0, shadow: !0, shadowOffset: 20, shadowScale: .94}}, 6085 create: function () { 6086 d.extend(this, { 6087 cubeEffect: { 6088 setTranslate: be.setTranslate.bind(this), 6089 setTransition: be.setTransition.bind(this) 6090 } 6091 }) 6092 }, 6093 on: { 6094 beforeInit: function () { 6095 if ("cube" === this.params.effect) { 6096 this.classNames.push(this.params.containerModifierClass + "cube"), this.classNames.push(this.params.containerModifierClass + "3d"); 6097 var e = { 6098 slidesPerView: 1, 6099 slidesPerColumn: 1, 6100 slidesPerGroup: 1, 6101 watchSlidesProgress: !0, 6102 resistanceRatio: 0, 6103 spaceBetween: 0, 6104 centeredSlides: !1, 6105 virtualTranslate: !0 6106 }; 6107 d.extend(this.params, e), d.extend(this.originalParams, e) 6108 } 6109 }, setTranslate: function () { 6110 "cube" === this.params.effect && this.cubeEffect.setTranslate() 6111 }, setTransition: function (e) { 6112 "cube" === this.params.effect && this.cubeEffect.setTransition(e) 6113 } 6114 } 6115 }, { 6116 name: "effect-flip", params: {flipEffect: {slideShadows: !0, limitRotation: !0}}, create: function () { 6117 d.extend(this, { 6118 flipEffect: { 6119 setTranslate: we.setTranslate.bind(this), 6120 setTransition: we.setTransition.bind(this) 6121 } 6122 }) 6123 }, on: { 6124 beforeInit: function () { 6125 if ("flip" === this.params.effect) { 6126 this.classNames.push(this.params.containerModifierClass + "flip"), this.classNames.push(this.params.containerModifierClass + "3d"); 6127 var e = { 6128 slidesPerView: 1, 6129 slidesPerColumn: 1, 6130 slidesPerGroup: 1, 6131 watchSlidesProgress: !0, 6132 spaceBetween: 0, 6133 virtualTranslate: !0 6134 }; 6135 d.extend(this.params, e), d.extend(this.originalParams, e) 6136 } 6137 }, setTranslate: function () { 6138 "flip" === this.params.effect && this.flipEffect.setTranslate() 6139 }, setTransition: function (e) { 6140 "flip" === this.params.effect && this.flipEffect.setTransition(e) 6141 } 6142 } 6143 }, { 6144 name: "effect-coverflow", 6145 params: {coverflowEffect: {rotate: 50, stretch: 0, depth: 100, scale: 1, modifier: 1, slideShadows: !0}}, 6146 create: function () { 6147 d.extend(this, { 6148 coverflowEffect: { 6149 setTranslate: ye.setTranslate.bind(this), 6150 setTransition: ye.setTransition.bind(this) 6151 } 6152 }) 6153 }, 6154 on: { 6155 beforeInit: function () { 6156 "coverflow" === this.params.effect && (this.classNames.push(this.params.containerModifierClass + "coverflow"), this.classNames.push(this.params.containerModifierClass + "3d"), this.params.watchSlidesProgress = !0, this.originalParams.watchSlidesProgress = !0) 6157 }, setTranslate: function () { 6158 "coverflow" === this.params.effect && this.coverflowEffect.setTranslate() 6159 }, setTransition: function (e) { 6160 "coverflow" === this.params.effect && this.coverflowEffect.setTransition(e) 6161 } 6162 } 6163 }, {
6164 name: "thumbs", 6165 params: { 6166 thumbs: { 6167 swiper: null, 6168 multipleActiveThumbs: !0, 6169 autoScrollOffset: 0, 6170 slideThumbActiveClass: "swiper-slide-thumb-active", 6171 thumbsContainerClass: "swiper-container-thumbs" 6172 } 6173 }, 6174 create: function () { 6175 d.extend(this, { 6176 thumbs: { 6177 swiper: null, 6178 init: xe.init.bind(this), 6179 update: xe.update.bind(this), 6180 onThumbClick: xe.onThumbClick.bind(this) 6181 } 6182 }) 6183 }, 6184 on: { 6185 beforeInit: function () { 6186 var e = this.params.thumbs; 6187 e && e.swiper && (this.thumbs.init(), this.thumbs.update(!0)) 6188 }, slideChange: function () { 6189 this.thumbs.swiper && this.thumbs.update() 6190 }, update: function () { 6191 this.thumbs.swiper && this.thumbs.update() 6192 }, resize: function () { 6193 this.thumbs.swiper && this.thumbs.update() 6194 }, observerUpdate: function () { 6195 this.thumbs.swiper && this.thumbs.update() 6196 }, setTransition: function (e) { 6197 var t = this.thumbs.swiper; 6198 t && t.setTransition(e) 6199 }, beforeDestroy: function () { 6200 var e = this.thumbs.swiper; 6201 e && this.thumbs.swiperCreated && e && e.destroy() 6202 } 6203 } 6204 }]; 6205 return void 0 === j.use && (j.use = j.Class.use, j.installModule = j.Class.installModule), j.use(Ee), j 6206})); 6207 6208 6209 6210/*! For license information please see theme-scripts-library-base.js.LICENSE.txt */ 6211!function(t){var e={};function o(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,o),i.l=!0,i.exports}o.m=t,o.c=e,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)o.d(n,i,function(e){return t[e]}.bind(null,i));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=87)}({87:function(t,e){var o,n,i,r;o=jQuery,n="object"==typeof window.ET_Builder?ET_Builder.Frames.top:window,i="ontouchstart"in window||navigator.maxTouchPoints,r=o(window),document.addEventListener("DOMContentLoaded",(function(){o((function(){o.fn.fitVids&&o("#main-content").fitVids({customSelector:"iframe[src^='http://www.hulu.com'], iframe[src^='http://www.dailymotion.com'], iframe[src^='http://www.funnyordie.com'], iframe[src^='https://embed-ssl.ted.com'], iframe[src^='http://embed.revision3.com'], iframe[src^='https://flickr.com'], iframe[src^='http://blip.tv'], iframe[src^='http://www.collegehumor.com']"})})),o(".comment-reply-link").length&&o(".comment-reply-link").addClass("et_pb_button"),o(".footer-widget").each((function(){var t=o(this),e=t.width(),n=t.find(".widget_adsensewidget ins");n.length&&n.width(e)})),window.addEventListener("load",(function(){window.hasOwnProperty("et_location_hash")&&""!==window.et_location_hash&&function(){var t=window.et_location_hash.replace(/(\|)/g,"\\$1"),e=o();try{e=o(t)}catch(t){e=o()}if(0!==e.length){var n=o(t+" .et_pb_map_container"),i=n.children(".et_pb_map");void 0!==window.et_location_hash_style&&e.css("display",window.et_location_hash_style);var r=void 0!==e.offset().top?e.offset().top:0,s=o("body").hasClass("et_smooth_scroll"),c=s?r>4e3?1600:800:0;n.length&&google.maps.event.trigger(i[0],"resize"),e.parents().hasClass("commentlist")&&o(".reviews_tab").trigger("click").animate({scrollTop:e.offset().top},700),setTimeout((function(){window.et_pb_smooth_scroll(e,!1,c,"swing"),s&&setTimeout((function(){window.et_pb_smooth_scroll(e,!1,150,"linear")}),c+25)}),s?700:0)}}(),o("p.demo_store").length&&o("p.demo_store").is(":visible")&&(o("#footer-bottom").css("margin-bottom",o("p.demo_store").innerHeight()+"px"),o(".woocommerce-store-notice__dismiss-link").on("click",(function(){o("#footer-bottom").css("margin-bottom","")})))}
6211))})),i&&(r.on("swipeleft",(function(t){30>=parseInt(r.width())-parseInt(t.swipestart.coords[0])&&et_toggle_slide_menu("open")})),r.on("swiperight",(function(t){o("body").hasClass("et_pb_slide_menu_active")&&et_toggle_slide_menu("close")}))),r.on("et_fb_init",(function(){var t=n.wp;if(t&&t.hooks&&t.hooks.addFilter){var e=window.DIVI.row_selector;t.hooks.addFilter("et.pb.row.css.selector","divi.et.pb.row.css.selector",(function(t){return t.replace("%%row_selector%%",e)}))}}))}}); 6212 6213 6214 6215/*! For license information please see theme-scripts-library-menu.js.LICENSE.txt */ 6216!function(e){var t={};function n(i){if(t[i])return t[i].exports;var a=t[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(i,a,function(t){return e[t]}.bind(null,a));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=96)}({96:function(e,t){!function(e){const t={},n=e(window),i=e("#main-content .container:first-child");function a(){return t.et_get_first_section?t.et_get_first_section:t.et_get_first_section=e(".et-l:not(.et-l--footer) .et_pb_section:visible").first()}document.addEventListener("DOMContentLoaded",()=>{const t=e("body").hasClass("et_fixed_nav")||e("body").hasClass("et_vertical_fixed"),o=e("body").hasClass("et_hide_nav"),s=e("body").hasClass("et_header_style_left"),r=e("body").hasClass("et_vertical_fixed"),d=e("body").hasClass("rtl"),l=e("#top-header"),_=e("#main-header"),p=e("#page-container");let c,h,f=!1,g=0;const u=e("#et-top-navigation"),w=e("#logo"),m=e("ul.nav, ul.menu"),v=e(".container"),b=e("#et_top_search"),x=e("body").hasClass("et_header_style_split");function y(){const t=l.length&&l.is(":visible")?parseInt(l.innerHeight()):0,n=e("#wpadminbar").length?parseInt(e("#wpadminbar").innerHeight()):0,i=e(".et_header_style_slide .et_slide_in_menu_container"),a=e("body").hasClass("rtl");if(g=parseInt(e("#main-header").length?e("#main-header").innerHeight():0)+t,c=g<=90?g-29:g-56,h=c+n,i.length&&!e("body").hasClass("et_pb_slide_menu_active")&&(a?i.css({left:`-${parseInt(i.innerWidth())}px`,display:"none"}):i.css({right:`-${parseInt(i.innerWidth())}px`,display:"none"}),e("body").hasClass("et_boxed_layout")))if(a){var o=p.css("margin-right");_.css({right:o})}else{o=p.css("margin-left");_.css({left:o})}}if(window.et_pb_init_nav_menu(m),window.et_duplicate_menu(e("#et-top-navigation ul.nav"),e("#et-top-navigation .mobile_nav"),"mobile_menu","et_mobile_menu"),window.et_duplicate_menu("",e(".et_pb_fullscreen_nav_container"),"mobile_menu_slide","et_mobile_menu","no_click_event"),e("ul.et_disable_top_tier").length){const t=e("ul.et_disable_top_tier > li > ul").prev("a");t.attr("href","#"),t.on("click",e=>{e.preventDefault()});const n=e("ul#mobile_menu > li > ul").prev("a");n.attr("href","#"),n.on("click",e=>{e.preventDefault()})}function C(t){setTimeout(()=>{let t=0;const n=e("body"),i=e("#wpadminbar"),a=e("#top-header");if(i.length&&!Number.isNaN(i.innerHeight())){t+=parseFloat(i.innerHeight())}a.length&&a.is(":visible")&&(t+=a.innerHeight());const o=n.hasClass("et_fixed_nav"),s=!o&&n.hasClass("et_transparent_nav")&&n.hasClass("et_secondary_nav_enabled");window.et_is_vertical_nav||!o&&!s||e("#main-header").css("top",t+"px")},t)}e("#et-secondary-nav").length&&e("#et-top-navigation #mobile_menu").append(e("#et-secondary-nav").clone().html()),window.et_change_primary_nav_position=C,window.et_fix_page_container_position=function(){const s=parseInt(n.width()),r=l.length&&l.is(":visible")?parseInt(l.innerHe
6216ight()):0;let d,c=0;const h=_.clone().addClass("et-disabled-animations main-header-clone").css({opacity:"0px",position:"fixed",top:"auto",right:"0px",bottom:"0px",left:"0px"}).appendTo(e("body"));if(e("body").hasClass("et-bfb")||e('*[data-fix-page-container="on"]').each((function(){const t=e(this),n=t.data();n&&n.fix_page_container_style&&t.css(n.fix_page_container_style)})),s>980&&(!_.attr("data-height-loaded")||e("body").is(".et-fb"))){let e=0;_.hasClass("et-fixed-header")?(h.removeClass("et-fixed-header"),e=h.height(),h.addClass("et-fixed-header")):e=_.height(),_.attr({"data-height-onload":parseInt(e),"data-height-loaded":!0})}if(s<=980?(d=parseInt(_.length?_.innerHeight():0)+r-(e("body").hasClass("et-fb")?0:1),window.et_is_transparent_nav&&!a().length&&(d+=58)):(d=parseInt(_.attr("data-height-onload"))+r,window.et_is_transparent_nav&&!window.et_is_vertical_nav&&i.length&&(d+=58),c=h.height()),o){const e=parseInt(u.data("height"))-parseInt(u.data("fixed-height"));c=parseInt(_.data("height-onload"))-e}_.attr({"data-fixed-height-onload":c});const f=e(".et_fixed_nav.et_transparent_nav.et-db.et_full_width_page #left-area > .woocommerce-notices-wrapper");if(f.length>0&&"yes"!==f.attr("data-position-set")){let e=c;0===e&&_.attr("data-height-onload")&&(e=_.attr("data-height-onload")),f.css("marginTop",parseFloat(e)+"px"),f.animate({opacity:"1"}),f.attr("data-position-set","yes")}t&&p.css("paddingTop",d+"px"),h.remove(),C(0),e(document).trigger("et-pb-header-height-calculated")},v.data("previous-width",parseInt(v.width()));const I=function(e,t,n){let i,a,o,s,r;const d=Date.now||(new Date).getTime();var l=function(){const _=d-s;_<t&&_>=0?i=setTimeout(l,t-_):(i=null,n||(r=e.apply(o,a),i||(o=a=null)))};return function(){o=this,a=arguments,s=d;const _=n&&!i;return i||(i=setTimeout(l,t)),_&&(r=e.apply(o,a),o=a=null),r}}(()=>{window.et_fix_page_container_position(),"function"==typeof window.et_fix_transparent_nav_padding&&window.et_fix_transparent_nav_padding(),"function"==typeof window.et_fix_fullscreen_section&&window.et_fix_fullscreen_section()},600);if(e(window).on("resize",()=>{const i=parseInt(n.width()),a=v.length>0,o=a&&parseInt(v.data("previous-width"))||0,s=v.css("width"),r=void 0!==s?"%"!==s.substr(-1,1):"",d=a?r?parseInt(v.width()):parseInt((parseInt(v.width())/100).toFixed(0))*i:0,l=v.length&&o!==d,_=e(".et_slide_in_menu_container"),p=e("#wpadminbar");if(t&&l&&(I(),v.data("previous-width",d)),p.length&&t&&i>=740&&i<=782&&(y(),C(0)),b.length&&window.et_set_search_form_css(),_.length&&e("body").hasClass("et_header_style_fullscreen")){const e=parseInt(_.find(".et_slide_menu_top").innerHeight());_.css({"padding-top":e+20+"px"})}}),w.length){!function(e,t){const n=new Image;n.onLoad=t,n.onload=t,n.src=e}(w.is("img")?w.attr("src"):w.find("img").attr("src"),(function(){const t="svg"===(w.is("img")?w.attr("src"):w.find("img").attr("src")).substr(-3,3);let n,i,a;e("body").append(e("<div />",{id:"et-define-logo-wrap",style:"position: fixed; bottom: 0; opacity: 0;"})),n=e("#et-define-logo-wrap"),t&&n.addClass("svg-logo"),n.html(w.clone().css({display:"block"}).removeAttr("id")),i=n.find("img").width(),a=n.find("img").height(),w.attr({"data-actual-width":i,"data-actual-height":a}),n.remove(),x&&window.et_fix_logo_transition(!0)}))}window.addEventListener("load",(function(){if(t&&y(),u.length&&setTimeout(()=>{window.et_fix_page_container_position(),"function"==typeof window.et_fix_transparent_nav_padding&&window.et_fix_transparent_nav_padding()},0),window.et_is_minified_js&&window.et_is_transparent_nav&&!window.et_is_vertical_nav&&e(window).trigger("resize"),s&&!window.et_is_vertical_nav){const t=parseInt(e("#logo").width());d?u.css("padding-right",t+30+"px"):u.css("padding-left",t+30+"px")}if(e.fn.waypoint){let s;if(r&&(s=e("#main-content"),s.waypoint({handler(t){x&&window.et_fix_logo_transition(),"down"===t?e("#main-header").addClass("et-fixed-header"):e("#main-header").removeClass("et-fixed-header")}})),t){const t=(a().length>0?a().offset().top:0)<=(e("#wpadminbar").length?e("#wpadminbar").height():0);t&&window.et_is_transparent_nav&&!window.et_is_vertical_nav&&a().length?(s=a().is(".et_pb_fullwidth_section")?a().children(".et_pb_module:visible").first():a().find(".et_pb_row:visible").first(),s.length||(s=e(".et-l .et_pb_module:visible").first())):s=t&&window.et_is_transparent_nav&&!window.et_is_vertical_nav&&i.length?e("#content-area"):e("#main-content");let r=!0;setTimeout(()=>{r=!1},0),s.waypoint({offset(){if(f&&(setTimeout(()=>{y()},200),f=!1),o)return h-g-200;const e=s.offset();return e.top<h&&(h=0-(h-e.top)),h},handler(t){let i,a,s;x&&window.et_fix_logo_transition();const d=!o&&!window.et_is_transparent_nav&&!e(".mobile_menu_bar_toggle").is(":visible");if(d){const e=_.clone();e.addClass("et-fixed-header et-script-temporary-measurement"),_.parent().append(e);const t=e.outerHeight();i=l.length?parseInt(l.height()):0,a=parseInt(t),e.remove()}if("down"===t){if(r&&0===n.scrollTop())return;p.addClass("et-animated-content"),_.addClass("et-fixed-header"),l.addClass("et-fixed-header")}else s=1,_.removeClass("et-fixed-header"),l.removeClass("et-fixed-header"),p.css("margin-top",-s+"px");d&&p.hasClass("et-fixed-header")&&(s=parseInt(p.css("padding-top"))-a-i+1),window.dispatchEvent(new CustomEvent("ETDiviFixedHeaderTransitionStart",{detail:{marginTop:-s}})),setTimeout(()=>{b.length&&window.et_set_search_form_css(),window.dispatchEvent(new CustomEvent("ETDiviFixedHeaderTransitionEnd",{detail:{marginTop:-s}})),d&&e("#main-header").hasClass("et-fixed-header")&&p.css("margin-top",-s+"px")},400)}})}}}))})}(jQuery)}}); 6217 6218 6219 6220!function(){"use strict";var e={6611:function(e,t,n){n.d(t,{top_window:function(){return i}});let o,i=window,s=!1;try{o=!!window.top.document&&window.top}catch(e){o=!1}o&&o.__Cypress__?window.parent===o?(i=window,s=!1):(i=window.parent,s=!0):o&&(i=o,s=o!==window.self)}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var s=t[o]={exports:{}};return e[o](s,s.exports,n),s.exports}n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
6220),Object.defineProperty(e,"__esModule",{value:!0})};var o={};!function(){n.r(o);var e=n(6611);!function(t){const n=t("body").hasClass("et-block-layout-preview"),o="object"==typeof window.ET_Builder,i=t(".et-l--header").first();let s=0;if(window.et_pb_debounce=function(e,t,n){let o,i,s,l,a;const r=Date.now||(new Date).getTime();var c=function(){const d=r-l;d<t&&d>=0?o=setTimeout(c,t-d):(o=null,n||(a=e.apply(s,i),o||(s=i=null)))};return function(){s=this,i=arguments,l=r;const d=n&&!o;return o||(o=setTimeout(c,t)),d&&(a=e.apply(s,i),s=i=null),a}},i.length){const e=i.find(".et_builder_inner_content").children(".et_pb_section--fixed"),n=et_pb_debounce((n=>{s=0,t.each(e,(function(e,n){let o=t(n).outerHeight(!0);s+=o;let i=t(n).offset().top;i<0&&Math.abs(i)>s?s=0:i<0&&(s+=i)}))}),300);t(window).on("load resize",n)}function l(e){e&&window.et_fix_pricing_currency_position(t(e).find(".et_pb_pricing_table"))}window.et_pb_smooth_scroll=function(e,n,o,l){const a=e.offset().top,r=t(window).width();let c=0,d=0,_="",h="",u=i.find(".et_pb_section");if("function"==typeof window.isTargetStickyState&&window.isTargetStickyState(e))return;if(t("body").hasClass("et_fixed_nav")&&r>980){c=(t("#top-header").outerHeight()||0)+(t("#main-header").outerHeight()||0)-1}else c=0;if(t("#wpadminbar").length&&r>600){c+=t("#wpadminbar").outerHeight()||0}i.length&&(u.hasClass("et_pb_section--fixed")&&(_=Math.ceil(parseFloat(u.css("left"))),h=Math.ceil(parseFloat(u.css("right")))),0===_+h&&(c+=s));const p="function"==typeof window.getClosestStickyModuleOffsetTop?window.getClosestStickyModuleOffsetTop(e):null;p&&(c+=p),d=n?0:Math.round(a)-c,void 0===l&&(l="swing"),t("html, body").animate({scrollTop:d},o,l)},window.et_duplicate_menu=function(e,n,i,s,l){n.each((function(){const n=t(this);let a;if(!n.find(`#${i}`).length&&(""!==e&&e.clone().attr("id",i).removeClass().attr("class",s).appendTo(n),a=n.find("> ul"),a.find(".menu_slide").remove(),a.find(".et_pb_menu__logo-slot").remove(),a.find("li").first().addClass("et_first_mobile_item"),a.find("a").on("click",(function(){t(this).parents(".et_mobile_menu").siblings(".mobile_menu_bar").trigger("click")})),"no_click_event"!==l)){o&&n.off("click");const e=n.closest(".et_pb_section"),i=n.closest(".et_pb_row"),s="0px"!==e.css("border-radius"),l="0px"!==i.css("border-radius");n.on("click",".mobile_menu_bar",(function(){return t(".mobile_nav.opened .mobile_menu_bar").not(t(this)).trigger("click"),n.hasClass("closed")?(n.removeClass("closed").addClass("opened"),(s||l)&&(e.css("overflow","visible"),i.css("overflow","visible")),a.stop().slideDown(500)):(n.removeClass("opened").addClass("closed"),a.stop().slideUp(500),(s||l)&&setTimeout((()=>{e.css("overflow","hidden"),i.css("overflow","hidden")}),500)),!1}))}})),t("#mobile_menu .centered-inline-logo-wrap").remove()},window.et_pb_remove_placeholder_text=function(e){e.find("input:text, textarea").each(((e,t)=>{const n=jQuery(t),o=n.siblings("label");n.siblings("label").text();o.length&&o.is(":hidden")&&o.text()==n.val()&&n.val("")}))},window.et_fix_fullscreen_section=function(){const o=t(n?e.top_window:window);t("section.et_pb_fullscreen").each((function(){const e=t(this);et_calc_fullscreen_section.bind(e),o.on("resize",et_calc_fullscreen_section.bind(e))}))},window.et_bar_counters_init=function(e){e.length&&e.css({width:`${parseFloat(e.attr("data-width"))}%`})},window.et_fix_pricing_currency_position=function(e){setTimeout((()=>{const n=void 0!==e?e:t(".et_pb_pricing_table");n.length&&n.each((function(){const e=t(this).find(".et_pb_et_price"),n=!!e.length&&e.find(".et_pb_dollar_sign"),o=!!e.length&&e.find(".et_pb_sum");if(!n||!o)return;const i=n.width();!i||0>=i||n.css({marginLeft:-i+"px"})}))}),1)},window.addEventListener("vb:tab:activated",(e=>{l(e.detail?.tabContent)})),window.addEventListener("vb:accordion:activated",(e=>{l(e.detail?.accordionContent)})),window.et_pb_set_responsive_grid=function(e,n){setTimeout((()=>{const o=e.innerWidth(),i=e.find(n),s=i.filter(":visible"),l=s.length?s:i;if(0===l.length)return;const a=l.first(),r=a.outerWidth(!0);if(!r)return;const c=r-a.outerWidth(),d=Math.round((o+c)/r);let _=1,h=1,u=t();if(i.removeClass("last_in_row first_in_row on_last_row"),i.filter(":visible").each((function(){const e=t(this);e.hasClass("inactive")||(h===_?(e.addClass("first_in_row"),u=e):0==_%d&&(e.addClass("last_in_row"),h=_+1),_++)})),u.length){const e=u.parents(".et_pb_module"),n=e.parent().children(".et_pb_module");if(n.length>
62200&&n.last().is(e)||e.is(":last-child")){const n=u.parents(".et_pb_column")[0];t(n).find(".et_pb_grid_item").removeClass("on_last_row");let o=e.find(".et_pb_gallery_pagination");0===o.length&&(o=e.find(".et_pb_portofolio_pagination")),(0===o.length||o.length>0&&!o.is(":visible"))&&(d>1&&u.addClass("on_last_row"),u.nextAll().addClass("on_last_row"))}}}),1)},window.et_pb_box_shadow_apply_overlay=function(e){void 0!==document.body.style.pointerEvents&&(void 0===document.documentMode||document.documentMode>=11)?t(e).each((function(){t(this).children(".box-shadow-overlay").length||t(this).addClass("has-box-shadow-overlay").prepend('<div class="box-shadow-overlay"></div>')})):t(e).addClass(".et-box-shadow-no-overlay")},window.et_pb_init_nav_menu=function(e){e.each((function(){const e=t(this);e.data("et-is-menu-ready")||(e.find("li").on("mouseenter",(function(){window.et_pb_toggle_nav_menu(t(this),"open")})).on("mouseleave",(function(){window.et_pb_toggle_nav_menu(t(this),"close",0)})),t("body").on("touchend",(e=>{t(e.target).closest("ul.nav, ul.menu").length<1&&t(".et-hover").length>0&&window.et_pb_toggle_nav_menu(t(".et-hover"),"close")})),e.find("li.menu-item-has-children").on("touchend",(function(e){const n=t(e.target).closest(".menu-item");if(!n.hasClass("menu-item-has-children"))return;const o=t(this),i=n.closest(".mega-menu-parent.et-touch-hover").length>0;if(o.hasClass("et-touch-hover")||i){void 0!==o.find(">a").attr("href")&&(window.location=o.find(">a").attr("href"))}else{const n=t(e.target),i=n.closest(".menu-item").siblings(".et-touch-hover");if(n.closest(".et-touch-hover").length<1&&window.et_pb_toggle_nav_menu(t(".et-hover"),"close",0),o.addClass("et-touch-hover"),i.length>0){const e=i.find(".et-touch-hover");window.et_pb_toggle_nav_menu(i,"close"),window.et_pb_toggle_nav_menu(e,"close")}window.et_pb_toggle_nav_menu(o,"open")}e.preventDefault(),e.stopPropagation()})),e.find("li.mega-menu").each((function(){const e=t(this),n=e.children("ul").children("li").length;n<4&&e.addClass(`mega-menu-parent mega-menu-parent-${n}`)})),e.data("et-is-menu-ready","ready"))}))},window.et_pb_toggle_nav_menu=function(e,t,n){if("open"===t)e.closest("li.mega-menu").length&&!e.hasClass("mega-menu")||(e.addClass("et-show-dropdown"),e.removeClass("et-hover").addClass("et-hover"));else{const t=void 0!==n?n:200;e.removeClass("et-show-dropdown"),e.removeClass("et-touch-hover"),setTimeout((()=>{e.hasClass("et-show-dropdown")||e.removeClass("et-hover")}),t)}},window.et_pb_apply_sticky_image_effect=function(e){const t=e.closest(".et_pb_row"),n=t.closest(".et_pb_section"),o=e.closest(".et_pb_column"),i="et_pb_section_sticky",s="et_pb_section_sticky_mobile",l=n.children(".et_pb_row").last(),a=t.children(".et_pb_column").last(),r=o.children(".et_pb_module").last();return!t.is(l)||(l.addClass("et-last-child"),!e.is(r)||(n.hasClass(i)||n.addClass(i),o.addClass("et_pb_row_sticky"),void(!n.hasClass(s)&&o.is(a)&&n.addClass(s))))},window.et_pb_menu_inject_inline_centered_logo=function(e){const n=t(e).find("nav > ul > li"),o=Math.round(n.length/2),i=window.et_pb_menu_inject_item(e,o,!0);return i&&t(i).addClass("et_pb_menu__logo-slot"),i},window.et_pb_menu_inject_item=function(e,n,o){o=void 0===o||o,n=Math.max(n,0);const i=t(e).find("nav > ul").first();if(0===i.length)return null;const s=i.find("> li"),l=t("<li></li>");if(0===s.length)i.append(l);else{let e=o?"before":"after",t=o?s.eq(n):s.eq(s.length-1-n);0===t.length&&(e=o?"after":"before",t=o?s.last():s.first()),t[e](l)}return l.get(0)},t('a[href*="#"]:not([href="#"]), .mobile_nav').on("click",(function(e){var n=t(this),o=n.closest(".et_smooth_scroll_disabled").length,i=n.closest(".woocommerce-tabs").length&&n.closest(".tabs").length,s=n.closest(".tt_tabs_navigation").length,l=n.closest(".eab-shortcode_calendar-navigation-link").length,a=n.closest(".view-cart-lnk").length,r=n.hasClass("acomment-reply"),c=n.closest(".hustle-ui").length,d=n.hasClass("woocommerce-review-link"),_=o||a||i||l||r||d||s||c;if((n.hasClass("mobile_nav")||location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname)&&!_){if(this.hash&&this.hash.startsWith("#")&&this.hash.slice(1).includes("#"))return e.preventDefault(),!1;var h;try{h=t(this.hash)}catch{h=t()}
6220if(n.hasClass("mobile_nav")){if(e.target.hash)try{h=t("#"+e.target.hash.slice(1))}catch{h=t()}if(t(e.target).parent().hasClass("pum-trigger")){e.preventDefault();var u=t(e.target).parent().attr("class").split(" ").filter((function(e){return e.includes("popmake")}))[0].split("-")[1];t("#pum-".concat(u)).css({opacity:"1",display:"block"}),t("#popmake-".concat(u)).css({opacity:"1",display:"block"})}}if(!h.length&&this.hash)try{h=t("[name="+this.hash.slice(1)+"]")}catch{h=t()}if(h.length){t(this).parents().hasClass("widget_recent_reviews")&&t(".reviews_tab").trigger("click").animate({scrollTop:h.offset().top},700);const e=t("body").hasClass("et_smooth_scroll"),n=e?800:0;if(setTimeout((function(){et_pb_smooth_scroll(h,!1,n)}),0),!t("#main-header").hasClass("et-fixed-header")&&t("body").hasClass("et_fixed_nav")&&t(window).width()>980){const t=e?40:0;setTimeout((function(){et_pb_smooth_scroll(h,!1,t,"linear")}),e?780:0)}return!1}}})),window.et_pb_reposition_menu_module_dropdowns=et_pb_debounce((e=>{t(e||".et_pb_menu, .et_pb_fullwidth_menu").each((function(){const e=t(this).find(".et_pb_row").first();if(0===e.length)return!0;const n=e.offset().top,o=t(this).attr("class").replace(/^.*?(et_pb(?:_fullwidth)?_menu_\d+[^\s]*).*$/i,"$1"),i=t(this).find(".et_pb_menu__menu ul").first().hasClass("upwards");let s="";t(this).find(".et_pb_menu__menu > nav > ul > li.mega-menu.menu-item-has-children").each((function(){const l=t(this),a=l.attr("class").replace(/^.*?(menu-item-\d+).*$/i,"$1"),r=`.${o} li.${a} > .sub-menu`;if(i){var c=Math.floor(n+e.outerHeight()-l.offset().top)-1;s+=`${r}{ bottom: ${c.toString()}px !important; }`}else{c=Math.floor(l.offset().top+l.outerHeight()-n)-1;s+=`${r}{ top: ${c.toString()}px !important; }`}}));let l=t(`style.et-menu-style-${o}`).first();0===l.length&&(l=t("<style></style>"),l.addClass("et-menu-style"),l.addClass(`et-menu-style-${o}`),l.appendTo(t("head")));const a=l.html();s!==a&&l.html(s)}))}),200)}(jQuery)}(),((window.divi=window.divi||{}).scriptLibrary=window.divi.scriptLibrary||{}).scriptLibraryFrontendGlobalFunctions=o}(); 6221 6222 6223 6224!function(){"use strict";function t(o){if(!o)throw new Error("No options passed to Waypoint constructor");if(!o.element)throw new Error("No element option passed to Waypoint constructor");if(!o.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.decoration=t.Adapter.extend({},t.defaults,o),this.element=this.decoration.element,this.adapter=new t.Adapter(this.element),this.callback=o.handler,this.axis=this.decoration.horizontal?"horizontal":"vertical",this.enabled=this.decoration.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.decoration.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.decoration.context),t.offsetAliases[this.decoration.offset]&&(this.decoration.offset=t.offsetAliases[this.decoration.offset]),this.group.add(this),this.context.add(this),i[this.key]=this,e+=1}var e=0,i={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete i[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var o in i)e.push(i[o]);for(var n=0,r=e.length;r>n;n++)e[n][t]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){t.invokeAll("enable")},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.
6224innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}function e(t){this.element=t,this.Adapter=n.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+i,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,o[t.waypointContextKey]=this,i+=1,this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var i=0,o={},n=window.Waypoint,r=window.onload;e.prototype.add=function(t){var e=t.decoration.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical);t&&e&&(this.adapter.off(".waypoints"),delete o[this.key])},e.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",(function(){e.didResize||(e.didResize=!0,n.requestAnimationFrame(t))}))},e.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",(function(){(!e.didScroll||n.isTouch)&&(e.didScroll=!0,n.requestAnimationFrame(t))}))},e.prototype.handleResize=function(){n.Context.refreshAll()},e.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in e){var o=e[i],n=o.newScroll>o.oldScroll?o.forward:o.backward;for(var r in this.waypoints[i]){var s=this.waypoints[i][r],a=o.oldScroll<s.triggerPoint,l=o.newScroll>=s.triggerPoint;(a&&l||!a&&!l)&&(s.queueTrigger(n),t[s.group.id]=s.group)}}for(var h in t)t[h].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},e.prototype.innerHeight=function(){return this.element==this.element.window?n.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?n.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var o=0,n=t.length;n>o;o++)t[o].destroy()},e.prototype.refresh=function(){var t,e=this.element==this.element.window,i=e?void 0:this.adapter.offset(),o={};for(var r in this.handleScroll(),t={horizontal:{contextOffset:e?0:i.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:i.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var s=t[r];for(var a in this.waypoints[r]){var l,h,c,p,d=this.waypoints[r][a],u=d.decoration.offset,f=d.triggerPoint,w=0,y=null==f;d.element!==d.element.window&&(w=d.adapter.offset()[s.offsetProp]),"function"==typeof u?u=u.apply(d):"string"==typeof u&&(u=parseFloat(u),d.decoration.offset.indexOf("%")>-1&&(u=Math.ceil(s.contextDimension*u/100))),l=s.contextScroll-s.contextOffset,d.triggerPoint=w+l-u,h=f<s.oldScroll,c=d.triggerPoint>=s.oldScroll,p=!h&&!c,!y&&h&&c?(d.queueTrigger(s.backward),o[d.group.id]=d.group):(!y&&p||y&&s.oldScroll>=d.triggerPoint)&&(d.queueTrigger(s.forward),o[d.group.id]=d.group)}}return n.requestAnimationFrame((function(){for(var t in o)o[t].flushTriggers()})),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in o)o[t].refresh()},e.findByElement=function(t){return o[t.waypointContextKey]},window.onload=function(){r&&r(),e.refreshAll()},n.requestAnimationFrame=function(e){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},n.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function i(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),o[this.axis][this.name]=this}var o={vertical:{},horizontal:{}},n=window.Waypoint;i.prototype.add=function(t){this.waypoints.push(t)},i.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],r
6224ight:[]}},i.prototype.flushTriggers=function(){for(var i in this.triggerQueues){var o=this.triggerQueues[i],n="up"===i||"left"===i;o.sort(n?e:t);for(var r=0,s=o.length;s>r;r+=1){var a=o[r];(a.decoration.continuous||r===o.length-1)&&a.trigger([i])}}this.clearTriggerQueues()},i.prototype.next=function(e){this.waypoints.sort(t);var i=n.Adapter.inArray(e,this.waypoints);return i===this.waypoints.length-1?null:this.waypoints[i+1]},i.prototype.previous=function(e){this.waypoints.sort(t);var i=n.Adapter.inArray(e,this.waypoints);return i?this.waypoints[i-1]:null},i.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},i.prototype.remove=function(t){var e=n.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},i.prototype.first=function(){return this.waypoints[0]},i.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i.findOrCreate=function(t){return o[t.axis][t.name]||new i(t)},n.Group=i}(),function(){"use strict";function t(t){this.$element=e(t)}var e=window.jQuery,i=window.Waypoint;e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],(function(e,i){t.prototype[i]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[i].apply(this.$element,t)}})),e.each(["extend","inArray","isEmptyObject"],(function(i,o){t[o]=e[o]})),i.adapters.push({name:"jquery",Adapter:t}),i.Adapter=t}(),function(){"use strict";function t(t){return function(){var i=[],o=arguments[0];return"function"==typeof arguments[0]&&((o=t.extend({},arguments[1])).handler=arguments[0]),this.each((function(){var n=t.extend({},o,{element:this});"string"==typeof n.context&&(n.context=t(this).closest(n.context)[0]),i.push(new e(n))})),i}}var e=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}(),((window.divi=window.divi||{}).scriptLibrary=window.divi.scriptLibrary||{}).scriptLibraryExtWaypoint={}; 6225 6226 6227 6228"use strict";var extendStatics=function(d,b){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(d[p]=b[p])},extendStatics(d,b)};function __extends(d,b){if("function"!=typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");function __(){this.constructor=d}extendStatics(d,b),d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)}var __assign=function(){return __assign=Object.assign||function(t){for(var s,i=1,n=arguments.length;i<n;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p]);return t},__assign.apply(this,arguments)},reactive=function(getter,interval){void 0===interval&&(interval=300);var subs=[],v=getter(),interval_id=setInterval((function(){if(0===subs.length)return;var new_v=getter();if(v===new_v||"object"==typeof v&&JSON.stringify(v)===JSON.stringify(new_v))return;v=new_v;for(var _i=0,subs_1=subs;_i<subs_1.length;_i++){(0,subs_1[_i])(new_v)}}),interval);return{get val(){return v},on_change:function(update){update(v),subs.push(update)},clear:function(){clearInterval(interval_id)}}},StaticOffsets=function(){function StaticOffsets(el,get_root_offset,need_to_calc_offset,get_prev_sibling){void 0===el&&(el=null),void 0===get_root_offset&&(get_root_offset=function(){return Math.round(scrollY+(_this.el?_this.el.getBoundingClientRect().top:0))}),void 0===need_to_calc_offset&&(need_to_calc_offset=function(){return!1}),void 0===get_prev_sibling&&(get_prev_sibling=function(){return null});var _this=this;this.el=el,this.get_root_offset=get_root_offset,this.need_to_calc_offset=need_to_calc_offset,this.get_prev_sibling=get_prev_sibling,this.user_margins={},this.root=0,this.top=0,this.get_top_offset=function(){return _this.get_sibilings_offset(_this.get_prev_sibling,_this.get_prev_sibling(_this.el),_this.user_margins.margin_top)}}return StaticOffsets.prototype.init=function(user_margins){var _this=this;this.user_margins=user_margins,this.top_watcher=reactive(this.get_top_offset),this.top_watcher.on_change((function(top){_this.top=top})),this.root_watcher=reactive(this.get_root_offset),this.root_watcher.on_change((function(root){_this.root=root}))},StaticOffsets.prototype.clear=function(){this.top_watcher&&this.top_watcher.clear(),this.root_watcher&&this.root_watcher.clear()},StaticOffsets.prototype.update=function(){},StaticOffsets.prototype.get_sibilings_offset=function(next,el,offset){if(void 0===offset&&(offset=0),!el)return offset;if(!this.need_to_calc_offset(el))return this.get_sibilings_offset(next,next(el),offset);var _a=getComputedStyle(el),marginTop=_a.marginTop,marginBottom=_a.marginBottom;return this.get_sibilings_offset(next,next(el),offset+el.getBoundingClientRect().height+parseInt(marginTop||"0")+parseInt(marginBottom||"0"))},StaticOffsets}(),DynamicOffsets=function(_super){function DynamicOffsets(el,get_root_offset,need_to_calc_offset,get_prev_sibling,get_next_sibling){void 0===el&&(el=null),void 0===need_to_calc_offset&&(need_to_calc_offset=function(){return!1}),void 0===get_prev_sibling&&(get_prev_sibling=function(){return null}),void 0===get_next_sibling&&(get_next_sibling=function(){return null});
6228var _this=_super.call(this,el,get_root_offset,need_to_calc_offset,get_prev_sibling)||this;return _this.get_next_sibling=get_next_sibling,_this.bottom=0,_this.max_top_offset=0,_this.relative_top=0,_this.height=0,_this.position={top:0,bottom:0},_this.border_box=0,_this.get_height=function(){return _this.el?Math.round(Math.max(_this.el.clientHeight,_this.el.getBoundingClientRect().height)):0},_this.get_bottom_offset=function(){return _this.get_sibilings_offset(_this.get_next_sibling,_this.get_next_sibling(_this.el),_this.user_margins.margin_bottom)},_this}return __extends(DynamicOffsets,_super),DynamicOffsets.prototype.init=function(user_margins){var _this=this;_super.prototype.init.call(this,user_margins),this.height_watcher=reactive(this.get_height),this.height_watcher.on_change((function(height){_this.height=height,_this.border_box=_this.get_border_box(),_this.relative_top=_this.get_relative_top()})),this.bottom_offset=reactive(this.get_bottom_offset),this.bottom_offset.on_change((function(bottom){_this.bottom=bottom,_this.relative_top=_this.get_relative_top()}))},DynamicOffsets.prototype.clear=function(){_super.prototype.clear.call(this),this.height_watcher&&this.height_watcher.clear(),this.bottom_offset&&this.bottom_offset.clear()},DynamicOffsets.prototype.update=function(){this.position=this.get_position()},DynamicOffsets.prototype.set_max_offset=function(max_top_offset){this.max_top_offset=max_top_offset,this.relative_top=this.get_relative_top()},DynamicOffsets.prototype.get_position=function(){return this.el&&this.el.parentElement?{top:this.el.offsetTop,bottom:this.el.parentElement.clientHeight-this.el.offsetTop-this.border_box}:{top:0,bottom:0}},DynamicOffsets.prototype.get_border_box=function(){if(!this.el)return 0;var _a=getComputedStyle(this.el),marginTop=_a.marginTop,marginBottom=_a.marginBottom;return this.height+parseInt(marginTop)+parseInt(marginBottom)},DynamicOffsets.prototype.get_relative_top=function(){return this.max_top_offset-this.border_box-this.bottom},DynamicOffsets}(StaticOffsets),StopWidgetClassName="FixedWidget__stop_widget",FixedWidgetClassName="FixedWidget__fixed_widget",BaseWidget=function(){function BaseWidget(el){var _this=this;this.el=el,this.get_root_offset=function(){return Math.round(scrollY+(_this.el?_this.el.getBoundingClientRect().top:0))},this.need_to_calc_el_offset=function(_){return!1},this.offsets=new StaticOffsets(this.el,this.get_root_offset)}return BaseWidget.prototype.mount=function(user_margins){void 0===user_margins&&(user_margins={}),this.offsets.init(user_margins)},BaseWidget.prototype.render=function(_reject){this.offsets.update()},BaseWidget.prototype.unmount=function(){this.offsets.clear()},BaseWidget.prototype.getElement=function(){return this.el},BaseWidget.prototype.toString=function(){var _a;return"".concat(null===(_a=this.el)||void 0===_a?void 0:_a.innerHTML)},BaseWidget.queryAllWidgetsContainers=function(className){return[].concat(Array.from(document.querySelectorAll(".".concat(className))),Array.from(document.querySelectorAll("[data-fixed_widget=".concat(className)))).map((function(el){el.classList.remove(className),el.removeAttribute("data-fixed_widget");var container=getWidgetContainer(el);return container.classList.remove(FixedWidgetClassName),container.classList.remove(StopWidgetClassName),container}))},BaseWidget.from=function(root,className){var _this=this,elements=[];try{elements=Array.from(root.querySelectorAll(":scope > .".concat(className)))}catch(_e){elements=Array.from(root.children).filter((function(e){return e.classList.contains(className)}))}return elements.filter((function(el){return null!==el})).map((function(e){return new _this(e)}))},BaseWidget}(),getWidgetContainer=function(el){if(!el.parentElement)return el;var parentClassNames=el.parentElement.classList.toString();return parentClassNames.includes("sidebar")?el:parentClassNames.includes("wp-block-group")||parentClassNames.includes("wp-block-column")||el.parentElement.classList.contains("widget")?getWidgetContainer(el.parentElement):el},compatabilty_FW_v5=function(selectors){return void 0===selectors&&(selectors=[]),selectors.some((function(s){return!/^[a-z]/i.test(s)}))?selectors:selectors.concat(selectors.map((function(s){return"#".concat(s)})))},queryElements=function(selectors){return void 0===selectors&&(selectors=[]),Array.from(selectors.map((function(selector){return Array.from(document.querySelectorAll(selector))}))).reduce((function(all,elements){return all.concat(elements)}),[]).filter((function(e){return e instanceof HTMLElement}))};function findWithProperty(el,predicate){return el&&el!==document.body?predicate(getComputedStyle(el))?el:findWithProperty(el.parentElement,predicate):null}var PositionWidget=function(_super){function PositionWidget(el){var _this=_
6228super.call(this,el)||this;return _this.is_pinned=!1,_this.init_rect={height:0,width:0},_this.init_style={position:"static",marginBottom:"",transition:"",transform:"",marginTop:"",padding:"",width:"",top:""},_this.get_prev_sibling=function(el){return el&&!el.classList.contains(StopWidgetClassName)&&el.previousElementSibling||null},_this.get_next_sibling=function(el){return el&&!el.classList.contains(StopWidgetClassName)?el.nextElementSibling:null},_this.need_to_calc_el_offset=function(el){return el.classList.contains(FixedWidgetClassName)},_this.offsets=new DynamicOffsets(_this.el,_this.get_root_offset,_this.need_to_calc_el_offset,_this.get_prev_sibling,_this.get_next_sibling),_this}return __extends(PositionWidget,_super),PositionWidget.prototype.mount=function(user_margins){var _this=this;_super.prototype.mount.call(this,user_margins),this.el&&this.el.parentElement&&(this.store_style(getComputedStyle(this.el)),this.store_rect(this.el),this.height_watcher=reactive((function(){return _this.el?_this.el.getBoundingClientRect().height:0})))},PositionWidget.prototype.unmount=function(){var _a;_super.prototype.unmount.call(this),this.unpin(),null===(_a=this.height_watcher)||void 0===_a||_a.clear(),this.reset_style(),this.reset_rect()},PositionWidget.prototype.reset_style=function(){if(this.el){for(var prop in this.init_style)this.el.style[prop]="";this.init_style={position:"static",marginBottom:"",transition:"",transform:"",marginTop:"",padding:"",width:"",top:""}}},PositionWidget.prototype.reset_rect=function(){if(this.el){for(var prop in this.init_rect)this.el.style[prop]="";this.init_rect={height:0,width:0}}},PositionWidget.prototype.render=function(reject){_super.prototype.render.call(this,reject),this.on_scroll(Math.round(scrollY),reject)},PositionWidget.from=function(root){return _super.from.call(this,root,FixedWidgetClassName)},PositionWidget.prototype.on_scroll=function(_scroll_top,_reject){throw new Error("Method is not overridden!")},PositionWidget.prototype.pin=function(){!this.is_pinned&&this.el&&(this.is_pinned=!0,this.el.classList.add("FixedWidget__fixed_widget__pinned"))},PositionWidget.prototype.unpin=function(){this.is_pinned&&this.el&&(this.is_pinned=!1,this.el.classList.remove("FixedWidget__fixed_widget__pinned"))},PositionWidget.prototype.store_style=function(style){for(var prop in this.init_style)this.init_style[prop]=style[prop];"relative"===this.init_style.position&&(this.init_style.position="static")},PositionWidget.prototype.set_style=function(style){var _this=this;Object.entries(style).forEach((function(_a){var prop=_a[0],rule=_a[1];_this.el&&(_this.el.style[prop]=rule)}))},PositionWidget.prototype.store_rect=function(el){if(el){var r=el.getBoundingClientRect(),style=getComputedStyle(el);"content-box"==style.boxSizing&&(r.height=r.height-parseInt(style.paddingTop,10)-parseInt(style.paddingBottom,10)-parseInt(style.borderTopWidth,10)-parseInt(style.borderBottomWidth,10),r.width=r.width-parseInt(style.paddingLeft,10)-parseInt(style.paddingRight,10)-parseInt(style.borderLeftWidth,10)-parseInt(style.borderRightWidth,10));var rect={height:r.height,width:r.width};for(var prop in this.init_rect)this.init_rect[prop]=rect[prop]}},PositionWidget.prototype.restore_style=function(){if(this.el)for(var prop in this.init_style)this.el.style[prop]=this.init_style[prop]},PositionWidget.prototype.restore_rect=function(){if(this.el)for(var prop in this.init_rect)this.el.style[prop]="".concat(this.init_rect[prop],"px")},PositionWidget}(BaseWidget),FixedWidget=function(_super){function FixedWidget(el){var _this=_super.call(this,el)||this;return _this.get_root_offset=function(){if(!_this.el)return Number.MAX_VALUE;var top=_this.el.getBoundingClientRect().top,new_root_offset=Math.round(scrollY+top);return 0==scrollY?new_root_offset:(_this.is_pinned?Math.min:Math.max)(_this.offsets.root,new_root_offset)},_this.need_to_calc_el_offset=function(el){return el.classList.contains(FixedWidgetClassName)&&el!==_this.el},_this.el&&_this.el.parentElement?(_this.el.classList.add(FixedWidgetClassName),_this):_this}return __extends(FixedWidget,_super),FixedWidget.prototype.mount=function(margins){var _this=this;_super.prototype.mount.call(this,margins),this.el&&(this.clone(),this.offsets.clear(),this.offsets=new DynamicOffsets(this.clone_el,this.get_root_offset,this.need_to_calc_el_offset,this.get_prev_sibling,this.get_next_sibling),this.offsets.init(margins),this.height_watcher&&this.height_watcher.on_change((function(){_this.store_rect(_this.el),_this.clone_el&&_this.el&&(_this.clone_el.style.height="".concat(_this.init_rect.height,"px"))})))},FixedWidget.prototype.unmount=function(){var _a;_super.prototype.unmount.call(this),null===(_a=this.clone_el)||void 0===_a||_a.remove(),this.clone_el=void 0},FixedWidget.prototype.set_max_offset=function(max_top_offsets){var _this=this,max_top_offset=max_top_offsets.find((function(offset){return 0!==offset&&offset>_this.offsets.root}));max_top_offset&&this.offsets.set_max_offset(max_top_offset)},FixedWidget.prototype.on_scroll=function(scroll_top){if(this.el){var need_to_fix=scroll_top>0&&scroll_top>this.offsets.root-this.offsets.top,top=0!==this.offsets.max_top_offset&&scroll_top>this.offsets.relative_top-this.offsets.top?this.offsets.relative_top-scroll_top:this.offsets.top;need_to_fix?this.fix(top):this.is_pinned&&(this.unpin(),this.restore_style(),this.clone_el&&(this.clone_el.style.display="none"))}},FixedWidget.prototype.clone=function(){var _this=this;if(this.el&&this.el.parentElement&&!this.clone_el){for(var prop in this.clone_el=this.el.cloneNode(!1),this.clone_el.getAttributeNames().forEac
6228h((function(attr){_this.clone_el.removeAttribute(attr)})),this.init_style)this.clone_el.style[prop]=this.init_style[prop];this.clone_el.style.display="none",this.el.parentElement.insertBefore(this.clone_el,this.el)}},FixedWidget.prototype.fix=function(top){this.el&&(this.is_pinned?this.el.style.top="".concat(top,"px"):(this.pin(),this.restore_style(),this.restore_rect(),this.set_style({top:"".concat(top,"px"),position:"fixed"}),this.clone_el&&(this.clone_el.style.display="block")))},FixedWidget.new=function(selector){return new FixedWidget(document.querySelector(selector))},FixedWidget.is=function(selector){var el=document.querySelector(selector);return!!el&&el.classList.contains(FixedWidgetClassName)},FixedWidget}(PositionWidget),StickyWidget=function(_super){function StickyWidget(el){var _this=_super.call(this,el)||this;return _this.borderBox=0,_this.margins=0,_this.el&&_this.el.parentElement?(_this.el.classList.add(FixedWidgetClassName),_this):_this}return __extends(StickyWidget,_super),StickyWidget.prototype.mount=function(margins){_super.prototype.mount.call(this,margins),this.el&&(this.el.style.position="sticky",this.el.style.position="-webkit-sticky",this.el.style.transition=/all|transform/.test(this.init_style.transition)?this.init_style.transition:"transform 0s",this.el.style.boxSizing="border-box")},StickyWidget.prototype.set_max_offset=function(max_top_offsets){var _this=this;if(this.el&&this.el.parentElement){var max_top_offset=max_top_offsets.find((function(offset){return _this.el&&offset>_this.el.offsetTop}));max_top_offset&&this.offsets.set_max_offset(max_top_offset)}},StickyWidget.prototype.on_scroll=function(_scroll_top,_reject){if(this.el&&this.el.parentElement){this.offsets.position.top>this.offsets.top?this.pin():this.unpin();var actual_bottom=this.offsets.position.bottom,expected_bottom=this.offsets.max_top_offset?Math.min(this.offsets.max_top_offset-(this.el.parentElement.clientHeight-actual_bottom),actual_bottom):this.offsets.bottom;this.el.style.top="".concat(this.offsets.top,"px"),expected_bottom>=this.offsets.bottom?this.el.style.transform="translateY(0px)":this.el.style.transform="translateY(".concat(expected_bottom-this.offsets.bottom,"px)")}},StickyWidget.new=function(selector){return new StickyWidget(document.querySelector(selector))},StickyWidget.is=function(selector){var el=document.querySelector(selector);return!!el&&el.classList.contains(FixedWidgetClassName)},StickyWidget}(PositionWidget),StopWidget=function(_super){function StopWidget(el){var _this=_super.call(this,el)||this;return _this.need_to_calc_el_offset=function(){return!0},_this.el&&_this.el.parentElement?(_this.el.classList.add(StopWidgetClassName),_this):_this}return __extends(StopWidget,_super),StopWidget.new=function(selector){return new StopWidget(document.querySelector(selector))},StopWidget.is=function(selector){var el=document.querySelector(selector);return!!el&&el.classList.contains(StopWidgetClassName)},StopWidget.from=function(root){return _super.from.call(this,root,StopWidgetClassName)},StopWidget}(BaseWidget),Sidebar=function(){function Sidebar(el,margins,use_sticky_position){void 0===use_sticky_position&&(use_sticky_position=!1);var _this=this;this.el=el,this.margins=margins,this.widgets=[],this.stop_widgets=[],this.isSticky=!1,this.setWidgetsMaxOffset=function(max_offsets){for(var _i=0,_a=_this.widgets;_i<_a.length;_i++){_a[_i].set_max_offset(max_offsets)}_this.render()},this.logWidgetRenderError=function(){console.log("Fixed Widget: fallback to position sticky")},this.onWidgetRenderError=function(w){if(_this.logWidgetRenderError(),w instanceof StickyWidget){w.unmount();var i=_this.widgets.findIndex((function(widget){return w===widget})),widget=new FixedWidget(w.getElement());widget.mount(_this.margins),widget.render(_this.logWidgetRenderError),_this.widgets[i]=widget}}
6228;var isDeprecatedFloatMarkup=!!findWithProperty(this.el,(function(style){return"none"!==style.float})),isOverflowHiddenMarkup=!!findWithProperty(this.el,(function(style){return"hidden"===style.overflow}));(isDeprecatedFloatMarkup||isOverflowHiddenMarkup)&&use_sticky_position&&console.log("Fixed Widget: fallback to position sticky"),this.isSticky=!isDeprecatedFloatMarkup&&!isOverflowHiddenMarkup&&use_sticky_position;var WidgetContructor=this.isSticky?StickyWidget:FixedWidget;this.stop_widgets=StopWidget.from(this.el),this.widgets=WidgetContructor.from(this.el),this.offsets=new DynamicOffsets(this.el),this.isSticky&&(this.el.style.position="relative",0===this.stop_widgets.length&&(this.el.style.minHeight="100%"))}return Sidebar.prototype.mount=function(){var _this=this;this.offsets.clear(),this.max_offset_watcher&&this.max_offset_watcher.clear(),this.offsets.init(this.margins),this.stop_widgets.forEach((function(widget){widget.mount()})),this.widgets.forEach((function(widget){widget.mount(_this.margins)})),this.widgets=this.widgets.sort((function(a,b){return a.offsets.root-b.offsets.root}))},Sidebar.prototype.set_max_offset=function(general_stop_widgets){var is_local_stop_widgets=0!=this.stop_widgets.length,use_top_offset=this.isSticky&&is_local_stop_widgets,stop_widgets=is_local_stop_widgets?this.stop_widgets:general_stop_widgets;this.max_offset_watcher=reactive((function(){return 0===stop_widgets.length?[Math.round(document.body.scrollHeight)]:stop_widgets.map((function(widget){return Math.round(use_top_offset?widget.offsets.top:widget.offsets.root)})).sort()})),this.max_offset_watcher.on_change(this.setWidgetsMaxOffset)},Sidebar.prototype.render=function(){for(var _i=0,_a=this.stop_widgets;_i<_a.length;_i++){_a[_i].render(this.logWidgetRenderError)}for(var _b=0,_c=this.widgets;_b<_c.length;_b++){_c[_b].render(this.onWidgetRenderError)}},Sidebar.prototype.unmount=function(){for(var _i=0,_a=this.stop_widgets;_i<_a.length;_i++){_a[_i].unmount()}for(var _b=0,_c=this.widgets;_b<_c.length;_b++){_c[_b].unmount()}},Sidebar}(),Sidebars=function(){function Sidebars(elements,options){var _this=this;this.data=[],this.render=function(){for(var _i=0,_a=_this.data;_i<_a.length;_i++){_a[_i].render()}},this.data=Array.from(new Set(elements.map((function(widget){return widget.parentElement})))).filter((function(sidebar_el){return null!==sidebar_el})).map((function(sidebar_el){return new Sidebar(sidebar_el,{margin_bottom:options.margin_bottom,margin_top:options.margin_top},options.use_sticky_position)}))}return Sidebars.prototype.mount=function(){this.data.forEach((function(sidebar){sidebar.mount()})),this.set_max_offset()},Sidebars.prototype.unmonut=function(){this.data.forEach((function(sidebar){sidebar.unmount()}))},Sidebars.prototype.set_max_offset=function(){for(var general_stop_widgets=this.getGeneralStopElements(),_i=0,_a=this.data;_i<_a.length;_i++){_a[_i].set_max_offset(general_stop_widgets)}},Sidebars.prototype.getGeneralStopElements=function(){return this.data.filter((function(sidebar){return!sidebar.isSticky||0===sidebar.widgets.length})).map((function(sidebar){return sidebar.stop_widgets})).reduce((function(all,widgets){return all.concat(widgets)}),[])},Sidebars.new=function(options){var s,arr1,arr2,fixedWidgetsContainers=Array.from(new Set(BaseWidget.queryAllWidgetsContainers(FixedWidgetClassName).concat(queryElements(compatabilty_FW_v5(options.widgets))))),stopWidgetsSelectors=compatabilty_FW_v5((void 0===(s=options.stop_elements_selectors||options.stop_id)&&(s=""),s.replace(/[\r\n]|[\r]/gi,"\n").split("\n").map((function(s){return s.trim()})).filter((function(s){return""!==s})))),stopWidgetsContainers=Array.from(new Set(BaseWidget.queryAllWidgetsContainers(StopWidgetClassName).concat(queryElements(stopWidgetsSelectors)))),_a=(arr1=fixedWidgetsContainers,[(arr2=stopWidgetsContainers).filter((function(e){return!arr1.includes(e)})),arr1.filter((function(e){return arr2.includes(e)}))]),stopWidgetsUniqContainers=_a[0];return _a[1].forEach((function(w){console.error("The Widget is detected as fixed block and stop block!\n".concat(w.innerHTML))}
6228)),fixedWidgetsContainers.forEach((function(c){c.classList.add(FixedWidgetClassName)})),stopWidgetsUniqContainers.forEach((function(c){c.classList.add(StopWidgetClassName)})),new Sidebars(fixedWidgetsContainers.concat(stopWidgetsUniqContainers).filter((function(container){var hasNestedWidget=container.innerHTML.includes(FixedWidgetClassName)||container.innerHTML.includes(StopWidgetClassName);return hasNestedWidget&&console.warn("Fixed Widget: Detected nested widget in ",container),!hasNestedWidget})),options)},Sidebars}(),Plugin=function Plugin(options,version){void 0===options&&(options=[]),Plugin.version=version,Plugin.sidebars?Plugin.sidebars.render():(Plugin.sidebars=Sidebars.new(options.reduce((function(prev,cur){return __assign(__assign(__assign({},prev),cur),{stop_elements_selectors:"".concat(prev.stop_elements_selectors,"\n").concat(cur.stop_elements_selectors),widgets:(prev.widgets||[]).concat(cur.widgets||[])})}))),document.addEventListener("scroll",Plugin.sidebars.render),window.addEventListener("resize",(function(){Plugin.sidebars.unmonut(),setTimeout((function(){Plugin.sidebars.mount(),Plugin.sidebars.render()}))})),Plugin.sidebars.mount())};function onDocumentLoaded(){var admin_panel=document.querySelector("#wpadminbar"),options=(window.q2w3_sidebar_options||[{}]).map((function(option){return option.margin_top=(option.margin_top||0)+(admin_panel&&admin_panel.clientHeight||0),option}));options.some((function(option){return option.screen_max_width&&document.body.clientWidth<option.screen_max_width||option.screen_max_height&&document.body.clientHeight<option.screen_max_height}))||new Plugin(options,"6.0.7-20")}document.addEventListener("DOMContentLoaded",onDocumentLoaded),"complete"===document.readyState&&onDocumentLoaded(); 6229 6230 6231 6232(function($){$(function(){var user_agent=navigator.userAgent;var is_opera_edge;var browser=user_agent.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))/i)||[];var browser_name='';var browser_class='';if(/trident/i.test(browser[0])){browser_name='ie'}else if(browser[0]==='Chrome'){is_opera_edge=user_agent.match(/\b(OPR|Edge)/);if(is_opera_edge!==null){browser_name=is_opera_edge[0].replace('OPR','opera')}} 6233if(''===browser_name){if('standalone' in window.navigator&&!window.navigator.standalone){browser_name='uiwebview'}else{browser_name=browser[0]&&''!==browser[0]?browser[0]:navigator.appName}} 6234browser_name=browser_name.toLowerCase();switch(browser_name){case 'msie':browser_class='ie';break;case 'firefox':browser_class='gecko';break;default:browser_class=browser_name;break} 6235if(user_agent.match(/iPhone/)){browser_class+=' iphone'} 6236$('body').addClass(browser_class)})})(jQuery); 6237 6238 6239 6240function divi_sections_enhancer_scripts_free(){function divi_se_scrollbar(){jQuery(function($){$(window).on("load",function(){jQuery('.divi_se_scrollbar').each(function(){var $this=$(this);if($(this).hasClass('dse_module')){$this=$(this).parents('.et_pb_section')} 6241var $scrollbarheight=jQuery(this).attr('data-scrollbarheight');var $scrollbarwidth=jQuery(this).attr('data-scrollbarwidth');var $scrollbaraxis=jQuery(this).attr('data-scrollbaraxis');var $scrollbarstyle=jQuery(this).attr('data-scrollbarstyle');var $scrollbarautohide=jQuery(this).attr('data-scrollbarautohide');var $scrollbarposition=jQuery(this).attr('data-scrollbarposition');var $hide=($scrollbarautohide=="true");$this.mCustomScrollbar({setHeight:$scrollbarheight,setWidth:$scrollbarwidth,axis:$scrollbaraxis,theme:$scrollbarstyle,autoHideScrollbar:$hide,scrollbarPosition:$scrollbarposition})})})})} 6242function divi_se_youtube_background(){jQuery(function($){setTimeout(function(){var $diviSelector=$(".divi_se_youtubebg");if($("iframe#et-fb-app-frame").length!=0){var $diviIframe=$("iframe#et-fb-app-frame").contents();$diviSelector=$diviIframe.find(".divi_se_youtubebg")} 6243$diviSelector.each(function(){var $this=jQuery(this);if($(this).hasClass('dse_module')){$this=$(this).parents('.et_pb_section');$this.addClass('divi_se_youtubebg_parent')} 6244var $youtubebgid=jQuery(this).attr('data-youtubebgid');var $youtubebgmute=(jQuery(this).attr('data-youtubebgmute')=="true");var $youtubebgratio=jQuery(this).attr('data-youtubebgratio');var $youtubebgrepeat=(jQuery(this).attr('data-youtubebgrepeat')=="true");var $youtubebgparallax=jQuery(this).attr('data-youtubebgparallax');var $youtubebghidetop=jQuery(this).attr('data-youtubebghidetop');$youtubebghidetop=$youtubebghidetop.replace('-','');$youtubebghidetop=$youtubebghidetop.replace('px','');var $youtubebgstart=jQuery(this).attr('data-youtubebgstart');var $youtubebgstop=jQuery(this).attr('data-youtubebgstop');var $youtubebgwidth=jQuery(this).attr('data-youtubebgwidth');var $youtubebgheight=jQuery(this).attr('data-youtubebgheight');var $sectionInitialHeight=$this.outerHeight();var $sectionwidth=$this.outerWidth();var $windowwidth=$(window).width();var $videowidth=$windowwidth;if($youtubebgwidth=='section'){$videowidth=$sectionwidth} 6245var sectionheight=$this.outerHeight();var factor=$youtubebgheight;var sectionproportion=(sectionheight/$windowwidth);if(sectionproportion<1){sectionproportion=1} 6246if($windowwidth<=768){sectionproportion=1} 6247var multiplier=sectionproportion*factor;multiplier=multiplier.toFixed(2);$this.attr('data-multiplier',multiplier);$videowidth=$videowidth*multiplier;if($this.find('.divi_se_youtube_background_container').length==0){$this.prepend('<div class="divi_se_youtube_background_container"></div>')} 6248if($this.find('.divi_se_youtube_background_video').length==0){$this.find('.divi_se_youtube_background_container').prepend('<div class="divi_se_youtube_background_video" style="margin-top:-'+$youtubebghidetop+'px;"></div>')} 6249if($this.find('.divi_se_youtube_black').length==0){$this.find('.divi_se_youtube_background_container').append('<div class="divi_se_youtube_black"></div>')} 6250if($windowwidth<=768&&$youtubebgwidth=='window'){$videowidth=($videowidth*4);$sectionwidth=($sectionwidth*4)} 6251$this.find('.divi_se_youtube_background_video').css({position:'absolute',top:0,width:$videowidth});$this.find('.divi_se_youtube_background_video').css({left:-($videowidth/2-$sectionwidth/2)});$this.find('.divi_se_youtube_background_container').css({width:$videowidth,height:$sectionInitialHeight});if($youtubebgparallax=='yes'||$youtubebgparallax=='mobile'&&$windowwidth<=768){jQuery(window).scroll(function(){var scroll=jQuery(window).scrollTop();var windowheight=jQuery(window).outerHeight();var sectionoffset=$this.offset();var sectionheight=$this.outerHeight();if((sectionoffset.top<=scroll&§ionoffset.top+sectionheight)>scroll){$this.find('.divi_se_youtube_background_container').attr('data-top',scroll);$this.attr('data-multiplier',multiplier);if($sectionwidth*multiplier>=$videowidth&&$youtubebgwidth=='window'){$this.attr('data-sw',$sectionwidth*multiplier);$this.attr('data-vw',$videowidth);$this.find('.divi_se_youtube_background_container').css({top:0,position:'fixed'})}else{$this.find('.divi_se_youtube_background_container').css({top:scroll-sectionoffset.top})}}else{$this.find('.divi_se_youtube_background_container').css({position:'absolute',top:0})}})} 6252if($this.find('.divi_se_youtube_background_video').length!=0){$this.find('.divi_se_youtube_background_video').YTPlayer({ratio:eval($youtubebgratio),videoId:$youtubebgid,mute:$youtubebgmute,repeat:$youtubebgrepeat,width:$videowidth,playButtonClass:'YTPlayer-play',pauseButtonClass:'YTPlayer-pause',muteButtonClass:'YTPlayer-mute',volumeUpClass:'YTPlayer-volume-up',volumeDownClass:'YTPlayer-volume-down',start:$youtubebgstart,pauseOnScroll:!1,fitToBackgroun
6252d:!1,playerVars:{iv_load_policy:3,modestbranding:1,autoplay:1,controls:0,showinfo:0,wmode:'opaque',branding:0,autohide:0,rel:0,start:$youtubebgstart,end:$youtubebgstop,},callback:function(){var player=$this.find('.divi_se_youtube_background_video').data('ytPlayer').player;var $iframe=player.getIframe();var $blackheight=(2+parseInt($iframe.height)-parseInt($youtubebghidetop));$this.find('.divi_se_youtube_black').after('<div class="divi_se_youtube_background_overlay"></div>');$this.find('.divi_se_youtube_black').css({background:'#000000',height:$blackheight});player.addEventListener('onStateChange',function(data){if(YT.PlayerState.PLAYING){setTimeout(function(){$this.find('.divi_se_youtube_black').stop().animate({opacity:0},1000);$this.addClass('divi_se_youtube_bg')},500)} 6253if(YT.PlayerState.ENDED||YT.PlayerState.PAUSED){if($this.hasClass('divi_se_youtube_bg')){$this.find('.divi_se_youtube_black').css({opacity:1});$this.removeClass('divi_se_youtube_bg')}}})}})}})},500)})} 6254function divi_dse_tilt_effect(){jQuery(function($){$('.divi_se_tilteffect').on('mouseenter',function(){$(this).parents('body').addClass('dse_overflow')});$('.divi_se_tilteffect').on('mouseleave',function(){$thiselem=$(this);setTimeout(function(){$thiselem.parents('body').removeClass('dse_overflow')},200)});$('.divi_se_tilteffect').each(function(){var $tilteffectapplyto=$(this).attr('data-tilteffectapplyto');var $tilteffectparallax=$(this).attr('data-tilteffectparallax');var $tilteffectperspective=$(this).attr('data-tilteffectperspective');var $tilteffectscale=$(this).attr('data-tilteffectscale');var $this=$(this);if($(this).hasClass('dse_module')){$this=$(this).parents('.et_pb_section');$this.addClass('divi_se_tilteffect_parent')}else{} 6255if($tilteffectapplyto=='modules'){$this.find('.et_pb_module').tilt({perspective:parseInt($tilteffectperspective),scale:parseInt($tilteffectscale),})} 6256if($tilteffectapplyto=='section'){if($tilteffectparallax=='yes'){$this.addClass('divi_se_tilt_parallax')} 6257$this.tilt({perspective:parseInt($tilteffectperspective),scale:parseInt($tilteffectscale),})}})})} 6258function divi_dse_offcanvas(){jQuery(function($){var $selector=$('.divi_se_offcanvas').first();if($selector.hasClass('dse_module')){$selector=$('.divi_se_offcanvas').first().parents('.et_pb_section')} 6259var $offcanvaswidth=$('.divi_se_offcanvas').first().attr('data-offcanvaswidth');var $offcanvasstyle=$('.divi_se_offcanvas').first().attr('data-offcanvasstyle');var $offcanvasopenicon=$('.divi_se_offcanvas').first().attr('data-offcanvasopenicon');var $offcanvasiconsize=$('.divi_se_offcanvas').first().attr('data-offcanvasiconsize');var $offcanvasclosedicon=$('.divi_se_offcanvas').first().attr('data-offcanvasclosedicon');var $offcanvasiconbackground=$('.divi_se_offcanvas').first().attr('data-offcanvasiconbackground');var $offcanvasiconcolor=$('.divi_se_offcanvas').first().attr('data-offcanvasiconcolor');var $offcanvastop=$('.divi_se_offcanvas').first().attr('data-offcanvastop');var $offcanvasleft=$('.divi_se_offcanvas').first().attr('data-offcanvasleft');var $offcanvasbuttontext=$('.divi_se_offcanvas').first().attr('data-offcanvasbuttontext');var $offcanvasheight=$('.divi_se_offcanvas').first().attr('data-offcanvasheight');var $offcanvasinsideposition=$('.divi_se_offcanvas').first().attr('data-offcanvasinsideposition');if($selector.length>0){$selector.offCanvas({width:$offcanvaswidth,scroll:$offcanvasstyle,openicon:$offcanvasopenicon,closedicon:$offcanvasclosedicon,iconsize:$offcanvasiconsize,iconcolor:$offcanvasiconcolor,iconbackground:$offcanvasiconbackground,positiony:$offcanvastop,positionx:$offcanvasleft,buttontext:$offcanvasbuttontext,height:$offcanvasheight,insideposition:$offcanvasinsideposition,})}})} 6260function divi_se_particles_background(){jQuery(function($){jQuery(window).on("load",function(){jQuery('.divi_se_particles_bg').each(function(){var $this=$(this);if($(this).hasClass('dse_module')){$this=$(this).parents('.et_pb_section');$this.addClass('divi_se_particles_bg_parent')} 6261var $particlesdotscolor=jQuery(this).attr('data-particlesdotscolor');var $particleslinescolor=jQuery(this).attr('data-particleslinescolor');var $particlesdirectionx=jQuery(this).attr('data-particlesdirectionx');var $particlesdirectiony=jQuery(this).attr('data-particlesdirectiony');var $particlesdensity=jQuery(this).attr('data-particlesdensity');var $particlesradius=jQuery(this).attr('data-particlesradius');var $particleslinewidth=jQuery(this).attr('data-particleslinewidth');var $particlesparallax=jQuery(this).attr('data-particlesparallax');$this.particleground({dotColor:$particlesdotscolor,lineColor:$particleslinescolor,directionX:$particlesdirectionx,directionY:$particlesdirectiony,density:$particlesdensity,particleRadius:$particlesradius,lineWidth:$particleslinewidth,parallax:$particlesparallax,})})})})} 6262return{divi_se_scrollbar:divi_se_scrollbar,divi_se_particles_background:divi_se_particles_background,divi_dse_offcanvas:divi_dse_offcanvas,divi_dse_tilt_effect:divi_dse_tilt_effect,divi_se_youtube_background:divi_se_youtube_background,}} 6263jQuery(function($){jQuery(document).on('mouseenter',function(){if(jQuery("#et-fb-app").length!=0){}})});jQuery(document).ready(function(){if(jQuery("#et-fb-app").length==0){divi_sections_enhancer_scripts_free().divi_se_particles_background();divi_sections_enhancer_scripts_free().divi_dse_offcanvas();divi_sections_enhancer_scripts_free().divi_dse_tilt_effect();divi_sections_enhancer_scripts_free().divi_se_youtube_background();divi_sections_enhancer_scripts_free().divi_se_scrollbar()}}); 6264 6265 6266 6267/*! For license information please see script-library-frontend-scripts.js.LICENSE.txt */ 6268!function(){var t={6611:function(t,e,n){"use strict";n.d(e,{top_window:function(){return o}});let i,o=window,a=!1;try{i=!!window.top.document&&window.top}catch(t){i=!1}i&&i.__Cypress__?window.parent===i?(o=window,a=!1):(o=window.parent,a=!0):i&&(o=i,a=i!==window.self)},97981:function(t,e,n){"use strict";var i=n(27361),o=n.n(i),a=n(19567),r=n.n(a),s=n(6611);const _=()=>window.et_builder_utils_params?window.et_builder_utils_params:s.top_window.et_builder_utils_params?s.top_window.et_builder_utils_params:{},d=()=>o()(_(),"builderType",""),c=t=>t===d(),l=t=>o()(_(),`condition.${t}`);c("fe"),c("vb"),c("bfb"),c("tb"),c("lbb"),l("diviTheme"),l("extraTheme"),c("lbp"),r()(s.top_window.document).find(".edit-post-layout__content").length,["vb","bfb","tb","lbb"].includes(d())},63175:function(t,e,n){"use strict";
vendor: 4,912 bytes, line 6268
6268n.d(e,{waypointExtended:function(){return i}});const i=(t,e,n)=>{n=parseInt(n?.toString(),10),Number.isNaN(n)&&(n=parseInt(t.data("et_waypoint_max_instances"),10)),Number.isNaN(n)&&(n=1);const i=t.data("et_waypoint")||[];let o=[];if("et_pb_custom"in window&&(o=window?.et_pb_custom?.waypoints_options?.context),o&&Array.isArray(o)){const n=o.find((e=>t.closest(e).length>0));n&&(e.context=n)}if(i.length<n){const n=t.waypoint(e);n&&Array.isArray(n)&&n.length>0&&(i.push(n[0]),t.data("et_waypoint",i))}else i.forEach((t=>{t.context.refresh()}))}},1989:function(t,e,n){var i=n(51789),o=n(80401),a=n(57667),r=n(21327),s=n(81866);function _(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}_.prototype.clear=i,_.prototype.delete=o,_.prototype.get=a,_.prototype.has=r,_.prototype.set=s,t.exports=_},38407:function(t,e,n){var i=n(27040),o=n(14125),a=n(82117),r=n(67518),s=n(54705);function _(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}_.prototype.clear=i,_.prototype.delete=o,_.prototype.get=a,_.prototype.has=r,_.prototype.set=s,t.exports=_},57071:function(t,e,n){var i=n(10852)(n(78638),"Map");t.exports=i},83369:function(t,e,n){var i=n(24785),o=n(11285),a=n(96e3),r=n(49916),s=n(95265);function _(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}_.prototype.clear=i,_.prototype.delete=o,_.prototype.get=a,_.prototype.has=r,_.prototype.set=s,t.exports=_},62705:function(t,e,n){var i=n(78638).Symbol;t.exports=i},29932:function(t){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length,o=Array(i);++n<i;)o[n]=e(t[n],n,t);return o}},18470:function(t,e,n){var i=n(77813);t.exports=function(t,e){for(var n=t.length;n--;)if(i(t[n][0],e))return n;return-1}},97786:function(t,e,n){var i=n(71811),o=n(40327);t.exports=function(t,e){for(var n=0,a=(e=i(e,t)).length;null!=t&&n<a;)t=t[o(e[n++])];return n&&n==a?t:void 0}},44239:function(t,e,n){var i=n(62705),o=n(89607),a=n(2333),r=i?i.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":r&&r in Object(t)?o(t):a(t)}},28458:function(t,e,n){var i=n(23560),o=n(15346),a=n(13218),r=n(80346),s=/^\[object .+?Constructor\]$/,_=Function.prototype,d=Object.prototype,c=_.toString,l=d.hasOwnProperty,u=RegExp("^"+c.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(i(t)?u:s).test(r(t))}},80531:function(t,e,n){var i=n(62705),o=n(29932),a=n(1469),r=n(33448),s=i?i.prototype:void 0,_=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(a(e))return o(e,t)+"";if(r(e))return _?_.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n}},71811:function(t,e,n){var i=n(1469),o=n(15403),a=n(55514),r=n(79833);t.exports=function(t,e){return i(t)?t:o(t,e)?[t]:a(r(t))}},14429:function(t,e,n){var i=n(78638)["__core-js_shared__"];t.exports=i},31957:function(t,e,n){var i="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=i},45050:function(t,e,n){var i=n(37019);t.exports=function(t,e){var n=t.__data__;return i(e)?n["string"==typeof e?"string":"hash"]:n.map}},10852:function(t,e,n){var i=n(28458),o=n(47801);t.exports=function(t,e){var n=o(t,e);return i(n)?n:void 0}},89607:function(t,e,n){var i=n(62705),o=Object.prototype,a=o.hasOwnProperty,r=o.toString,s=i?i.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),n=t[s];try{t[s]=void 0;var i=!0}catch(t){}var o=r.call(t);return i&&(e?t[s]=n:delete t[s]),o}},47801:function(t){t.exports=function(t,e){return null==t?void 0:t[e]}},51789:function(t,e,n){var i=n(94536);t.exports=function(){this.__data__=i?i(null):{},this.size=0}},80401:function(t){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},57667:function(t,e,n){var i=n(94536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(i){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(e,t)?e[t]:void 0}},21327:function(t,e,n){var i=n(94536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return i?void 0!==e[t]:o.call(e,t)}},81866:function(t,e,n){var i=n(94536);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=i&&void 0===e?"__lodash_hash_undefined__":e,this}},15403:function(t,e,n){var i=n(1469),o=n(33448),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;t.exports=function(t,e){if(i(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!o(t))||(r.test(t)||!a.test(t)||null!=e&&t in Object(e))}},37019:function(t){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},15346:function(t,e,n){var i,o=n(14429),a=(i=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(sr
6268c)_1."+i:"";t.exports=function(t){return!!a&&a in t}},27040:function(t){t.exports=function(){this.__data__=[],this.size=0}},14125:function(t,e,n){var i=n(18470),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=i(e,t);return!(n<0)&&(n==e.length-1?e.pop():o.call(e,n,1),--this.size,!0)}},82117:function(t,e,n){var i=n(18470);t.exports=function(t){var e=this.__data__,n=i(e,t);return n<0?void 0:e[n][1]}},67518:function(t,e,n){var i=n(18470);t.exports=function(t){return i(this.__data__,t)>-1}},54705:function(t,e,n){var i=n(18470);t.exports=function(t,e){var n=this.__data__,o=i(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},24785:function(t,e,n){var i=n(1989),o=n(38407),a=n(57071);t.exports=function(){this.size=0,this.__data__={hash:new i,map:new(a||o),string:new i}}},11285:function(t,e,n){var i=n(45050);t.exports=function(t){var e=i(this,t).delete(t);return this.size-=e?1:0,e}},96e3:function(t,e,n){var i=n(45050);t.exports=function(t){return i(this,t).get(t)}},49916:function(t,e,n){var i=n(45050);t.exports=function(t){return i(this,t).has(t)}},95265:function(t,e,n){var i=n(45050);t.exports=function(t,e){var n=i(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}},24523:function(t,e,n){var i=n(88306);t.exports=function(t){var e=i(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}},94536:function(t,e,n){var i=n(10852)(Object,"create");t.exports=i},2333:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},78638:function(t,e,n){var i=n(31957),o="object"==typeof self&&self&&self.Object===Object&&self,a=i||o||Function("return this")();t.exports=a},55514:function(t,e,n){var i=n(24523),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,r=i((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,n,i,o){e.push(i?o.replace(a,"$1"):n||t)})),e}));t.exports=r},40327:function(t,e,n){var i=n(33448);t.exports=function(t){if("string"==typeof t||i(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}},80346:function(t){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},77813:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},27361:function(t,e,n){var i=n(97786);t.exports=function(t,e,n){var o=null==t?void 0:i(t,e);return void 0===o?n:o}},1469:function(t){var e=Array.isArray;t.exports=e},23560:function(t,e,n){var i=n(44239),o=n(13218);t.exports=function(t){if(!o(t))return!1;var e=i(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},13218:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},37005:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},33448:function(t,e,n){var i=n(44239),o=n(37005);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==i(t)}},88306:function(t,e,n){var i=n(83369);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var i=arguments,o=e?e.apply(this,i):i[0],a=n.cache;if(a.has(o))return a.get(o);var r=t.apply(this,i);return n.cache=a.set(o,r)||a,r};return n.cache=new(o.Cache||i),n}o.Cache=i,t.exports=o},79833:function(t,e,n){var i=n(80531);t.exports=function(t){return null==t?"":i(t)}},19567:function(t){"use strict";t.exports=window.jQuery}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var a=e[i]={exports:{}};return t[i](a,a.exports,n),a.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}
6268),Object.defineProperty(t,"__esModule",{value:!0})};var i={};!function(){"use strict";n.r(i);var t=n(27361),e=n.n(t),o=n(19567),a=n.n(o);n(97981);const r=(t,e,n)=>{if(n){const i=`${e}${n}`,o=Object.getOwnPropertyDescriptor(t,i);if(o&&o.value&&"string"==typeof o.value&&o.value)return o.value}return t[e]||""},s=[{enable:!0,order:50,name:"desktop",baseDevice:!0,label:"Desktop"},{enable:!0,maxWidth:{value:"980px",default:980},order:30,name:"tablet",label:"Tablet"},{enable:!0,maxWidth:{value:"767px",default:767},order:10,name:"phone",label:"Phone"}],_=()=>{const t=window.innerWidth||document.documentElement.clientWidth,e=window?.diviBreakpointData?.enabledBreakpoints?window?.diviBreakpointData?.enabledBreakpoints:s,n=e.find((t=>t?.baseDevice))?.name??"desktop";let i,o=null,a=null;return e.forEach((e=>{if(e?.baseDevice)return;const n=e?.maxWidth?.value,r=e?.minWidth?.value;if(n&&r&&parseInt(n)>=t&&parseInt(r)<=t&&(i=e?.name),n&&!r){const a=parseInt(n);a>=t&&(null===o||a<o)&&(i=e?.name,o=a)}if(!n&&r){const n=parseInt(r);n<=t&&(null===a||n>a)&&(i=e?.name,a=n)}})),i??n},d=t=>{const e=(t=>{const e=t.trim();if(!e)return"";const n=e.split(",")[0]?.trim()??e,i=Array.from(n.matchAll(/\.([A-Za-z0-9_-]+)/g));return 0===i.length?"":i[i.length-1]?.[1]??""})(t);if(e)return e;const n=t.trim().split(",")[0]?.trim()??"";return/^[A-Za-z0-9_-]+$/.test(n)?n:""},c=t=>{if("function"!=typeof window.et_has_animation_data||!window.et_has_animation_data(t))return;const e="string"==typeof window.et_animation_breakpoint&&window.et_animation_breakpoint?window.et_animation_breakpoint:_(),n="desktop"===e?"":`_${e}`,i=[...window?.et_animation_data??[],...window?.diviElementAnimationData??[]].find((e=>{if(!e.class)return!1;const n=d(e.class);return!!n&&t.hasClass(n)}));let o=null;if(i){const t=r(i,"style",n),e=r(i,"repeat",n),a=r(i,"duration",n),s=r(i,"delay",n),_=r(i,"intensity",n),d=r(i,"starting_opacity",n),c=r(i,"speed_curve",n);t&&e&&a&&s&&_&&d&&c&&(o={"data-animation-style":t,"data-animation-repeat":"once"===e?"":"infinite","data-animation-duration":a,"data-animation-delay":s,"data-animation-intensity":_,"data-animation-starting-opacity":d,"data-animation-speed-curve":c})}o&&t.attr(o)},l=t=>{const e=new Set;return t.find("[data-animation-style]").addBack("[data-animation-style]").each(((t,n)=>{const i=a()(n);var o;(o=i,"function"==typeof window.et_has_animation_data&&window.et_has_animation_data(o)||o.hasClass("et_animated")||o.hasClass("et_had_animation"))&&e.add(n)})),"function"==typeof window.et_has_animation_data&&t.find("*").addBack().each(((t,n)=>{if(e.has(n))return;const i=a()(n);window.et_has_animation_data(i)&&(e.add(n),i.attr("data-animation-style")||c(i))})),a()(Array.from(e))},u=t=>{t.find(".et_had_animation").addBack(".et_had_animation").each(((t,e)=>{(t=>{const e=t.hasClass("et_had_animation");t.removeClass("et_had_animation");const n=(t=>t.hasClass("slideTop")||t.hasClass("slideBottom"))(t);if("function"==typeof window.et_get_animation_classes){const e=window.et_get_animation_classes();t.removeClass(e.join(" "))}e&&t.addClass("et_animated");const i={"animation-delay":"","animation-duration":"","animation-timing-function":"",opacity:"",transform:""};n&&(i.left=""),t.css(i)})(a()(e))}))},p=t=>{const e=a()(t);u(e),l(e)},h=t=>{if(!t)return;p(document.body);window.requestAnimationFrame((()=>{window.requestAnimationFrame((()=>{"function"==typeof window.et_reinit_waypoint_modules&&window.et_reinit_waypoint_modules()}))}))},w=(t,e)=>{const n=t.detail?.instance?.element;if(!n)return;const i=(t=>Array.from(t.querySelectorAll(".et_pb_group_carousel_clone .et_pb_lightbox_image")))(n);if(0===i.length)return;const o=(t=>{const e=t.toArray().filter((t=>!(a()(t).data("magnificPopup")||t.magnificPopup)));return a()(e)})(a()(i));0!==o.length&&e(o)};var f=n(63175);!function(t){const{et_pb_custom:n}=window,i=t(window),o=void 0!==window.ETBlockLayoutModulesScript&&t("body").hasClass("et-block-layout-preview"),r="object"==typeof window.ET_Builder,s=!0===window.et_builder_utils_params?.condition?.diviTheme,_=!0===window.et_builder_utils_params?.condition?.extraTheme;window.et_load_event_fired=!1,window.et_is_transparent_nav=t("body").hasClass("et_transparent_nav"),window.et_is_vertical_nav=t("body").hasClass("et_vertical_nav"),window.et_is_fixed_nav=t("body").hasClass("et_fixed_nav"),window.et_is_minified_js=t("body").hasClass("et_minified_js"),window.et_is_minified_css=t("body").hasClass("et_minified_css"),window.et_force_width_container_
6268change=!1,window.addEventListener("vb:preview-mode:toggled",(t=>{h(Boolean(t.detail?.isActive))})),a().fn.reverse=[].reverse;const d=()=>{const e=t(".et_audio_content .et_audio_container");0!==e.length&&setTimeout((()=>{"function"==typeof window.et_pb_init_audio_modules?window.et_pb_init_audio_modules():void 0!==a().fn.mediaelementplayer&&e.each((function(){const e=t(this);if(0===e.find(".mejs-container").length){const t=e.find("audio");if(t.length>0){const e=window._wpmejsSettings;e?t.mediaelementplayer(e):t.mediaelementplayer()}}}))}),100)};if(t(window).on("et_pb_init_modules",(function(){t((()=>{t(window).trigger("et_pb_before_init_modules");const n=t(".et_pb_filterable_portfolio"),s=t(".et_pb_fullwidth_portfolio"),_=t(".et_pb_gallery"),c=t(".et_pb_lightbox_image"),l=(t(".et_pb_circle_counter"),t(".et_pb_number_counter"),t("[data-background-layout][data-background-layout-hover]")),u=null!==navigator.userAgent.match(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/)||"standalone"in window.navigator&&!window.navigator.standalone,p=navigator.userAgent.match(/iPad/),h=null!==navigator.userAgent.match(/MSIE 9.0/),b=t(".et_pb_row"),g=window.et_pb_custom&&!window.et_pb_custom.is_builder_plugin_used?t("body"):b;let m=g.width(),v=!1;const y=t(".et_pb_image_sticky"),x=t(".et_pb_counter_amount"),C=window.et_pb_custom&&window.et_pb_custom.is_divi_theme_used?t("ul.nav"):t(".et_pb_fullwidth_menu ul.nav");const k=e()(window,"etCore.api.spam.recaptcha"),j=t(".mejs-container").length>0,P=t(".et_pb_fullscreen").length>0,O=t(".et_pb_grid_item").parent().get(),E=t(".et_pb_gutter_hover"),S=C;function A(e){let n="";if(e.length)if(e.each((function(){const e=t(this).attr("class").split("et_pb_column_")[1],i=(void 0!==e?e.split(" ",1)[0]:"4_4").replace("_","-").trim();n+=`_${i}`})),-1!==n.indexOf("1-4")||-1!==n.indexOf("1-5_1-5")||-1!==n.indexOf("1-6_1-6"))switch(n){case"_1-4_1-4_1-4_1-4":n="et_pb_row_4col";break;case"_1-5_1-5_1-5_1-5_1-5":n="et_pb_row_5col";break;case"_1-6_1-6_1-6_1-6_1-6_1-6":n="et_pb_row_6col";break;default:n=`et_pb_row${n}`}else n="";return n}function M(e){const n=t(e).closest("span.et-pb-background-video");return!!n.length&&"none"!==n.css("display")}function $(e){e.find("source").each((function(){const e=t(this).attr("data-src");e&&t(this).attr("src",e)}))}function B(e){if(r)return;const n=new Set;e.each((function(){const e=t(this).closest(".et_pb_preload");if(!e.length)return;const i=e[0];if(n.has(i))return;n.add(i);e.find("video").get().some((e=>M(t(e))))||e.removeClass("et_pb_preload")}))}E.length>0&&E.each((function(){const e=t(this),n=e.data("original_gutter"),i=e.data("hover_gutter");e.on("mouseenter",(()=>{e.removeClass(`et_pb_gutters${n}`),e.addClass(`et_pb_gutters${i}`)})).on("mouseleave",(()=>{e.removeClass(`et_pb_gutters${i}`),e.addClass(`et_pb_gutters${n}`)}))})),b.length&&b.each((function(){const e=t(this);let n="";e.hasClass("et_block_row")&&(n=A(e.find(">.et_pb_column")),""!==n&&e.addClass(n)),e.find(".et_pb_row_inner").length&&e.find(".et_pb_row_inner").each((function(){const e=t(this);e.hasClass("et_block_row")&&(n=A(e.find(".et_pb_column")),""!==n&&e.addClass(n))}));const i=e.parents(".et_pb_section.section_has_divider").length?6:4,o=isNaN(e.css("z-index"))||e.css("z-index")<i;e.find(".et_pb_module.et_pb_menu").length&&o&&e.css("z-index",i)})),window.et_pb_init_nav_menu(S),y.each((function(){window.et_pb_apply_sticky_image_effect(t(this))})),u&&(t(".et-pb-background-video").each((function(){const e=t(this);e.closest(".et_pb_preload").removeClass("et_pb_preload"),e.hasClass("opened")&&e.remove()})),t("body").addClass("et_mobile_device"),p||t("body").addClass("et_mobile_device_not_ipad")),h&&t("body").addClass("et_ie9"),"undefined"!=typeof diviElementBackgroundVideoData&&diviElementBackgroundVideoData.length>0&&t.each(diviElementBackgroundVideoData,((e,n)=>{const i=t(n.selector).find("video");i.length&&"et_pb_video_section_init"in window&&(i.each((function(){r?window.et_pb_video_section_init(t(this)):M(t(this))&&($(t(this)),window.et_pb_video_section_init(t(this)))})),B(i))})),j&&window.et_pb_init_audio_modules(),d(),!o&&(c.length>0||r)&&(window.et_pb_image_lightbox_init=function(e){if(!e.magnificPopup)return a()(window).on("load",(()=>{window.et_pb_image_lightbox_init(e)}));const n=e.filter((function(){return!(t(this).data("magnificPopup")||this.magnificPopup)}));
62680!==n.length&&(n.off("click"),n.on("click"),n.magnificPopup({type:"image",removalDelay:500,mainClass:"mfp-fade",zoom:{enabled:window.et_pb_custom&&!window.et_pb_custom.is_builder_plugin_used,duration:500,opener:t=>t.find("img")},autoFocusLast:!1,callbacks:{open:function(){this.currItem.el.addClass("et_pb_lightbox_image--open")},close:function(){this.currItem.el.removeClass("et_pb_lightbox_image--open")}}}))},et_pb_image_lightbox_init(c),r||window.addEventListener("divi:groupCarousel:init",(t=>{w(t,window.et_pb_image_lightbox_init)}))),(O.length||r)&&t(O).each((function(){window.et_pb_set_responsive_grid(t(this),".et_pb_grid_item")})),t(".et-pb-has-background-video").length&&(window._wpmejsSettings.pauseOtherPlayers=!1),x.length&&x.each((function(){window.et_bar_counters_init(t(this))})),l.each((function(){let e=t(this);const n=e.data("background-layout"),i=e.data("background-layout-hover"),o=e.data("background-layout-tablet"),a=e.data("background-layout-phone");let r,s;e.hasClass("et_pb_button_module_wrapper")?e=e.find("> .et_pb_button"):e.hasClass("et_pb_gallery")?(r=e.find(".et_pb_gallery_item"),e=e.add(r)):e.hasClass("et_pb_post_slider")?(r=e.find(".et_pb_slide"),e=e.add(r)):e.hasClass("et_pb_slide")&&(s=e.closest(".et_pb_slider"),e=e.add(s));let _="et_pb_bg_layout_light et_pb_bg_layout_dark et_pb_text_color_dark",d=`et_pb_bg_layout_${n}`,c=`et_pb_bg_layout_${i}`,l="light"===n?"et_pb_text_color_dark":"",u="light"===i?"et_pb_text_color_dark":"";o&&(_+=" et_pb_bg_layout_light_tablet et_pb_bg_layout_dark_tablet et_pb_text_color_dark_tablet",d+=` et_pb_bg_layout_${o}_tablet`,c+=` et_pb_bg_layout_${i}_tablet`,l+="light"===o?" et_pb_text_color_dark_tablet":"",u+="light"===i?" et_pb_text_color_dark_tablet":""),a&&(_+=" et_pb_bg_layout_light_phone et_pb_bg_layout_dark_phone et_pb_text_color_dark_phone",d+=` et_pb_bg_layout_${a}_phone`,c+=` et_pb_bg_layout_${i}_phone`,l+="light"===a?" et_pb_text_color_dark_phone":"",u+="light"===i?" et_pb_text_color_dark_phone":""),e.on("mouseenter",(()=>{e.removeClass(_),e.addClass(c),e.hasClass("et_pb_audio_module")&&""!==u&&e.addClass(u)})),e.on("mouseleave",(()=>{e.removeClass(_),e.addClass(d),e.hasClass("et_pb_audio_module")&&""!==l&&e.addClass(l)}))})),"diviModuleCircleCounterReinit"in window&&window.diviModuleCircleCounterReinit(),"diviModuleChartsReinit"in window&&window.diviModuleChartsReinit(),"diviModuleNumberCounterReinit"in window&&window.diviModuleNumberCounterReinit(),"diviModuleGroupCarouselReinit"in window&&window.diviModuleGroupCarouselReinit();const T=!r&&t(".et_pb_module.et_pb_recaptcha_enabled").length>0,z=document.body.innerHTML.match(/<script [^>]*src="[^"].*google.com\/recaptcha\/api.js\?.*render.*"[^>]*>([\s\S]*?)<\/script>/gim),D=t("#et-recaptcha-v3-js"),I=z&&z.length>D.length;function L(e,n){const i=e.parents(".et_pb_section").index(),o=t(".et_pb_section").length-1,a=e.parents(".et_pb_row").index(),r=e.parents(".et_pb_section").children().length-1;return i===o&&a===r?"bottom-in-view":n}function R(){""!==function(){const t=i.width();let e="desktop";t<=980&&t>767?e="tablet":t<=767&&(e="phone");return e}()&&"function"==typeof window.et_process_animation_data&&window.et_process_animation_data(!1)}let F;function V(){P&&(window.et_fix_fullscreen_section(),window.et_calculate_fullscreen_section_size()),setTimeout((()=>{t(".et_pb_preload").removeClass("et_pb_preload")}),500),window.HashChangeEvent&&(t(window).on("hashchange",(()=>{!function(e){if(!e.length)return;let n,i,o;if(-1!==e.indexOf("||",0)){n=e.split("||");for(let e=0;e<n.length;e++)i=n[e].split("|"),o=i[0],i.shift(),o.length&&t(`#${o}`).length&&t(`#${o}`).trigger({type:"et_hashchange",params:i})}else i=e.split("|"),o=i[0],i.shift(),o.length&&t(`#${o}`).length&&t(`#${o}`).trigger({type:"et_hashchange",params:i})}(window.location.hash.replace(/[^a-zA-Z0-9-_|]/g,""))})),t(window).trigger("hashchange")),"diviElementBackgroundParallaxInit"in window&&window.diviElementBackgroundParallaxInit(),window.et_reinit_waypoint_modules(),d(),t(".et_audio_content").length&&t(window).trigger("resize")}!r&&(I||T&&k&&k.isEnabled())&&t("body").addClass("et_pb_recaptcha_enabled"),"diviModuleContactFormInit"in window&&window.diviModuleContactFormInit(),"diviModuleSignupInit"in window&&window.diviModuleSignupInit(),window.et_reinit_waypoint_modules=et_pb_debounce((()=>{const e=t(".et_pb_circle_counter"),n=t(".et_pb_number_counter");if(t.fn.waypoint&&window.et_pb_custom&&"yes"!==window.et_pb_custom.ignore_waypoints&&!r){"function"==typeof window.et_process_animation_data&&window.et_process_animation_data(!0);t(".et-waypoint").each((function(){(0,f.waypointExtended)(t(this),{offset:L(t(this),"100%"),handler(){t(this.element).addClass("et-animated")}},2)}
6268)),e.length&&e.each((function(){const e=t(this).find(".et_pb_circle_counter_inner");!e.is(":visible")||"function"==typeof window.et_has_animation_data&&window.et_has_animation_data(e)||(0,f.waypointExtended)(e,{offset:L(t(this),"100%"),handler(){e.data("easyPieChartAnimating")||e.data("PieChartHasLoaded")||void 0===e.data("easyPieChart")||o||(e.data("easyPieChart").triggerAnimation(),e.data("PieChartHasLoaded",!0))}},2)})),n.length&&n.each((function(){const e=t(this);"function"==typeof window.et_has_animation_data&&window.et_has_animation_data(e)||(0,f.waypointExtended)(e,{offset:L(t(this),"100%"),handler(){e.data("easyPieChartAnimating")||e.data("PieChartHasLoaded")||void 0===e.data("easyPieChart")||(e.data("easyPieChart").triggerAnimation(),e.data("PieChartHasLoaded",!0))}})}))}else{"function"==typeof window.et_process_animation_data&&window.et_process_animation_data(!1);const n=r?"et-animated--vb":"et-animated";t(".et-waypoint").addClass(n),t(".et-waypoint").each((function(){window.et_animate_element(t(this))})),e.length&&e.each((function(){const e=t(this).find(".et_pb_circle_counter_inner");e.is(":visible")&&(e.data("easyPieChartAnimating")||e.data("PieChartHasLoaded")||void 0===e.data("easyPieChart")||(e.data("easyPieChart").triggerAnimation(),e.data("PieChartHasLoaded",!0)))}))}"undefined"!=typeof diviElementBackgroundVideoData&&diviElementBackgroundVideoData.length>0&&t.each(diviElementBackgroundVideoData,((e,n)=>{const i=t(n.selector).find("video");i.length&&"et_pb_video_background_init"in window&&i.each((function(){window.et_pb_video_background_init(t(this),this)}))}))}),100),t(window).on("resize",(()=>{const e=i.width(),o=g.css("width"),a=(void 0!==o?"%"!==o.substr(-1,1):"")?g.width():g.width()/100*e;window.containerWidthChanged=m!==a;const d=t(".et_pb_top_inside_divider, .et_pb_bottom_inside_divider");"undefined"!=typeof diviElementBackgroundVideoData&&diviElementBackgroundVideoData.length>0&&t.each(diviElementBackgroundVideoData,((e,n)=>{const i=t(n.selector).find("video");i.length&&"et_pb_resize_section_video_bg"in window&&i.each((function(){window.et_pb_resize_section_video_bg(t(this))})),i.length&&"et_pb_center_video"in window&&i.each((function(){window.et_pb_center_video(t(this))})),i.length&&"et_pb_video_section_init"in window&&!r&&(i.each((function(){const e=t(this),n=e.find("source[data-src]").length>0,i=e.find("source[src]").length>0;n&&!i&&M(e)&&($(e),window.et_pb_video_section_init(e))})),B(i))})),s.each((function(){const e=!!t(this).hasClass("et_pb_fullwidth_portfolio_carousel");window.set_fullwidth_portfolio_columns(t(this),e)})),(containerWidthChanged||window.et_force_width_container_change)&&(t(".container-width-change-notify").trigger("containerWidthChanged"),setTimeout((()=>{n.each((function(){window.set_filterable_grid_items(t(this))})),_.each((function(){t(this).hasClass("et_pb_gallery_grid")&&set_gallery_grid_items(t(this))}))}),100),m=a,v=!0,F&&clearTimeout(F),F=setTimeout((()=>{"diviModuleCircleCounterReinit"in window&&window.diviModuleCircleCounterReinit(),"diviModuleChartsReinit"in window&&window.diviModuleChartsReinit(),"diviModuleNumberCounterReinit"in window&&window.diviModuleNumberCounterReinit()}),500),window.et_force_width_container_change=!1),x.length&&x.each((function(){window.et_bar_counters_init(t(this))})),r&&R(),(O.length||r)&&t(O).each((function(){window.et_pb_set_responsive_grid(t(this),".et_pb_grid_item")})),!r&&d.length&&d.each((function(){etFixDividerSpacing(t(this))})),r||"function"!=typeof window.fitvids_slider_fullscreen_init||fitvids_slider_fullscreen_init()})),window.et_load_event_fired?V():t(window).on("load",(()=>{V()})),t(".et_section_specialty").length&&t(".et_section_specialty").each((function(){t(this).find(".et_pb_row").find(">.et_pb_column:not(.et_pb_specialty_column)").addClass("et_pb_column_single")}));const N=document.onreadystatechange||function(){};document.onreadystatechange=function(){"complete"===document.readyState&&window.et_fix_pricing_currency_position(),N()},"undefined"!=typeof diviElementBackgroundVideoData&&diviElementBackgroundVideoData.length>
62680&&t.each(diviElementBackgroundVideoData,((e,n)=>{const i=t(n.selector).find("video");i.length&&"et_pb_background_video_on_hover"in window&&i.each((function(){window.et_pb_background_video_on_hover(t(this))}))})),t(document).trigger("et_pb_after_init_modules")})),"diviModuleBlogGridInit"in window&&(window.et_load_event_fired?window.diviModuleBlogGridInit():t(window).on("load",(()=>{window.diviModuleBlogGridInit()})))})),window.et_pb_init_modules=function(){t(window).trigger("et_pb_init_modules")},window.et_pb_custom&&window.et_pb_custom.is_ab_testing_active&&"yes"===window.et_pb_custom.is_cache_plugin_active){t(window).on("load",(()=>{window.et_load_event_fired=!0}));let e=n.ab_tests.length;t.each(n.ab_tests,((i,o)=>{t.ajax({type:"POST",url:n.ajaxurl,dataType:"json",data:{action:"et_pb_ab_get_subject_id",et_frontend_nonce:n.et_frontend_nonce,et_pb_ab_test_id:o.post_id},success(n){if(n){const e=t(`.et_pb_subject_placeholder_id_${o.post_id}_${n.id}`);e.after(n.content),e.remove()}e-=1,e<=0&&(t(".et_pb_subject_placeholder").remove(),window.et_pb_init_modules(),t("body").trigger("et_pb_ab_subject_ready"))}})}))}else window.et_pb_init_modules();document.addEventListener("readystatechange",(()=>{"complete"===document.readyState&&(s||_)&&function(){if(window.et_location_hash=window.location.hash.replace(/[^a-zA-Z0-9-_#]/g,""),""===window.et_location_hash)return;let e;window.scrollTo(0,0);try{e=t(window.et_location_hash)}catch{e=t()}e.length&&("scrollRestoration"in history?history.scrollRestoration="manual":(window.et_location_hash_style=e.css("display"),e.css("display","none")))}()})),document.addEventListener("DOMContentLoaded",(()=>{t(".et_pb_top_inside_divider.et-no-transition, .et_pb_bottom_inside_divider.et-no-transition").removeClass("et-no-transition").each((function(){etFixDividerSpacing(t(this))})),setTimeout((()=>{(window.et_pb_box_shadow_elements||[]).map(et_pb_box_shadow_apply_overlay)}),0)})),t(window).on("load",(()=>{const e=t("body");if(window.et_load_event_fired=!0,e.hasClass("safari")){const n=e.css("display"),i="initial"===n?"block":"initial";if(e.css({display:i}),setTimeout((()=>{e.css({display:n})}),0),e.hasClass("woocommerce-page")&&e.hasClass("single-product")){const e=t(".woocommerce div.product div.images.woocommerce-product-gallery");if(0===e.length)return;const n=parseInt(e[0].style.opacity);if(!n)return;e.css({opacity:n-.09}),setTimeout((()=>{e.css({opacity:n})}),0)}}})),t((()=>{if(void 0===MutationObserver)return;const e=function(e){return e.filter((function(){return!t(this).is(":visible")})).length},n=t(".et_pb_section"),i=function(e){const n=void 0!==t.uniqueSort?t.uniqueSort:t.unique;let i=t([]);return e.each((function(){i=i.add(t(this).parents())})),n(i.get())}(n);let o=e(n);const a=new MutationObserver(window.et_pb_debounce((function(){const i=e(n);i<o&&t(window).trigger("resize"),o=i}),200));for(let t=0;t<i.length;t++)a.observe(i[t],{childList:!0,attributes:!0,attributeFilter:["class","style"],attributeOldValue:!1,characterData:!1,characterDataOldValue:!1,subtree:!1})}))}(a())}(),((window.divi=window.divi||{}).scriptLibrary=window.divi.scriptLibrary||{}).scriptLibraryFrontendScripts=i}(); 6269 6270 6271 6272!function(t){var e={};function o(n){if(e[n])return e[n].exports;var a=e[n]={i:n,l:!1,exports:{}};return t[n].call(a.exports,a,a.exports,o),a.l=!0,a.exports}o.m=t,o.c=e,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="/",o(o.s=16)}([function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={extend:function(t,e){var o,n={};for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n},process_icon_font_style:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.extend({props:{},key:"",additionalCss:"",selector:""},t),o=e.props,n=e.key,a=e.additionalCss,c=e.selector;if(o[n]){var r=window.ET_Builder.API.Utils;if(r.processIconFontData){var i=r.processIconFontData(o[n]);i&&("ETmodules"!==i.iconFontFamily&&a.push([{selector:c,declaration:"font-family: ".concat(i.iconFontFamily," !important;")}]),a.push([{selector:c,declaration:"font-weight: ".concat(i.iconFontWeight," !important;")}]))}}},df_fix_builder_css_issue:function(t,e){var o=e.querySelectorAll(".et-fb-custom-css-output");0!==o.length&&o.forEach(function(t){var e=t.innerHTML.replace(/.et-db/g,"");e=(e=e.replace(/#et-boc/g,"")).replace(/.et-l/g,""),t.innerHTML=e})}
6272,apply_element_color:function(t,e,o,n,a,c,r){var i=t[e],s=t[e+"__hover"],l=!0===r?"!important":"";""!==i&&o.push([{selector:a,declaration:"".concat(n,": ").concat(i+l,";")}]),t[e+"__hover_enabled"]&&t.hover_enabled&&1==t.hover_enabled&&t[e+"__hover"]&&o.push([{selector:a,declaration:"".concat(n,": ").concat(s+l,";")}])},adding_margin_padding:function(t,e,o,n,a,c){var r=t[e],i=t[e+"_tablet"],s=t[e+"_phone"];if(r&&""!==r){var l=r.split("|");o.push([{selector:n,declaration:"".concat(c,"-top: ").concat(l[0],"!important;\n ").concat(c,"-right: ").concat(l[1],"!important;\n ").concat(c,"-bottom: ").concat(l[2],"!important;\n ").concat(c,"-left: ").concat(l[3],"!important;")}])}if(i&&""!==i){var _=i.split("|");o.push([{selector:n,declaration:"".concat(c,"-top: ").concat(_[0],"!important;\n ").concat(c,"-right: ").concat(_[1],"!important;\n ").concat(c,"-bottom: ").concat(_[2],"!important;\n ").concat(c,"-left: ").concat(_[3],"!important;"),device:"tablet"}])}if(s&&""!==s){var p=s.split("|");o.push([{selector:n,declaration:"".concat(c,"-top: ").concat(p[0],"!important;\n ").concat(c,"-right: ").concat(p[1],"!important;\n ").concat(c,"-bottom: ").concat(p[2],"!important;\n ").concat(c,"-left: ").concat(p[3],"!important;"),device:"phone"}])}if(t[e+"__hover_enabled"]&&t.hover_enabled&&1==t.hover_enabled&&t[e+"__hover"]){var d=t[e+"__hover"].split("|");o.push([{selector:n,declaration:"".concat(c,"-top: ").concat(d[0],"!important;\n ").concat(c,"-right: ").concat(d[1],"!important;\n ").concat(c,"-bottom: ").concat(d[2],"!important;\n ").concat(c,"-left: ").concat(d[3],"!important;")}])}},apply_single_value:function(t,e,o,n,a){var c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"%",r=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"",i=arguments.length>7&&void 0!==arguments[7]&&arguments[7],s=!(arguments.length>8&&void 0!==arguments[8])||arguments[8],l=!t[e]&&r?r:parseInt(t[e]),_=!1===i?l:100-l,p=!1===i?parseInt(t[e+"_tablet"]):100-parseInt(t[e+"_tablet"]),d=!1===i?parseInt(t[e+"_phone"]):100-parseInt(t[e+"_phone"]),u=!1===s?"-":"";p=u+p+c,d=u+d+c,(_=u+_+c)&&""!==_&&o.push([{selector:n,declaration:"".concat(a,": ").concat(_,";")}]),p&&""!==p&&o.push([{selector:n,declaration:"".concat(a,": ").concat(p,";"),device:"tablet"}]),d&&""!==d&&o.push([{selector:n,declaration:"".concat(a,": ").concat(d,";"),device:"phone"}])},control_width_and_spacing:function(t,e,o,n,a){var c=t[e],r=t[e+"_tablet"],i=t[e+"_phone"];c&&""!==c&&o.push([{selector:n,declaration:"".concat(a,": ").concat(c,"!important;")}]),r&&""!==r&&o.push([{selector:n,declaration:"".concat(a,": ").concat(r,"!important;"),device:"tablet"}]),i&&""!==i&&o.push([{selector:n,declaration:"".concat(a,": ").concat(i,"!important;"),device:"phone"}])},render_title:function(t){var e=t.title;return t.url&&(e='<a href="'.concat(t.url,'" target="').concat(t.url_new_window,'">').concat(e,"</a>")),{__html:e}},render_subtitle:function(t){return{__html:t.sub_title}},process_single_value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.extend({props:{},key:"",additionalCss:"",selector:"",type:"",unit:"%",default_value:"",decrease:!1,addition:!0,no_unit:!1,unit_type:!0},t),o=e.props,n=e.key,a=e.additionalCss,c=e.selector,r=e.type,i=e.unit,s=e.default_value,l=e.decrease,_=e.addition,p=e.unit_type,d=""!==o[n].replace(parseInt(o[n]),"")?o[n].replace(parseInt(o[n]),""):i,u=o[n+"_tablet"]?o[n+"_tablet"].replace(parseInt(o[n+"_tablet"]),""):d,h=o[n+"_phone"]?o[n+"_phone"].replace(parseInt(o[n+"_phone"]),""):u,g=!o[n]&&s?s:parseInt(o[n]),v=!1===l?g:100-g,f=!1===l?parseInt(o[n+"_tablet"]):100-parseInt(o[n+"_tablet"]),b=!1===l?parseInt(o[n+"_phone"]):100-parseInt(o[n+"_phone"]),m=!1===_?"-":"";if(v=m+v,f=m+f,b=m+b,!0===p&&(v+=d,f+=u,b+=h),v&&""!==v&&a.push([{selector:c,declaration:"".concat(r,": ").concat(v,";")}]),f&&""!==f&&a.push([{selector:c,declaration:"".concat(r,": ").concat(f,";"),device:"tablet"}]),b&&""!==b&&a.push([{selector:c,declaration:"".concat(r,": ").concat(b,";"),device:"phone"}]),o[n+"__hover_enabled"]&&o.hover_enabled&&1==o.hover_enabled&&o[n+"__hover"]){var y=o[n+"__hover"];a.push([{selector:c,declaration:"".concat(r,": ").concat(y,"!important;")}])}}};e.default=n},function(t,e,o){"use strict";function n(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
6272Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.props=e.props,this.options=e,this.slug=e.key,this.additionalCss=e.additionalCss,this.separator="",this.imortant_text="",this.settings={_bgcolor:"",_use_gradient:"off",_above_image:"off",_color_gradient_1:"#2b87da",_color_gradient_2:"#29c4a9",_gradient_type:"leniar",_gradient_direction:"180deg",_start_position:"0%",_end_position:"100%",_radial_direction:"center",_background_image:"",_background_image_size:"cover",_background_image_position:"center",_background_image_repeat:"no_repeat",_position_horizontal:"0%",_position_vertical:"0%",_size_width:"50%",_size_height:"50%"},this.settings_hover={}}var e,o,a;return e=t,(o=[{key:"set_important_text",value:function(){this.options.important&&(this.imortant_text="!important")}},{key:"set_style",value:function(){this.set_important_text(),this.set_settings_values();var t=""!==this.process_values(this.settings._background_image_size)?this.process_values(this.settings._background_image_size):"center",e=this.process_values(this.settings._background_image_position);this.separator=""!==this.settings._background_image&&"on"===this.settings._use_gradient?",":"","custom"===this.process_values(this.settings._background_image_position)&&(e=this.settings._position_horizontal+" "+this.settings._position_vertical),"custom"===this.process_values(this.settings._background_image_size)&&(t=this.settings._size_width+" "+this.settings._size_height),""!==this.settings._bgcolor&&this.additionalCss.push([{selector:this.options.selector,declaration:"background-color: ".concat(this.settings._bgcolor," ").concat(this.imortant_text,";")}]),"on"!==this.settings._use_gradient&&""===this.settings._background_image||this.additionalCss.push([{selector:this.options.selector,declaration:"background-image: ".concat(this.dg_background(),";\n background-size: ").concat(t," ").concat(this.imortant_text,";\n background-position: ").concat(e," ").concat(this.imortant_text,";\n background-repeat: ").concat(this.process_values(this.settings._background_image_repeat)," ").concat(this.imortant_text,";")}]),this.set_hover_settings_value(),this.set_hover_style()}},{key:"set_hover_style",value:function(){var t=""!==this.process_values(this.settings_hover._background_image_size)?this.process_values(this.settings_hover._background_image_size):"center",e=""!==this.options.hover?this.options.hover:this.options.selector,o=this.process_values(this.settings_hover._background_image_position);"custom"===this.process_values(this.settings_hover._background_image_position)&&(o=this.settings_hover._position_horizontal+" "+this.settings_hover._position_vertical),"custom"===this.process_values(this.settings_hover._background_image_size)&&(t=this.settings_hover._size_width+" "+this.settings_hover._size_height),this.props.hover_enabled&&1===this.props.hover_enabled&&(""!==this.settings_hover._bgcolor&&this.additionalCss.push([{selector:e,declaration:"background-color: ".concat(this.settings_hover._bgcolor," ").concat(this.imortant_text,";")}]),"on"!==this.settings._use_gradient&&""===this.settings._background_image||this.additionalCss.push([{selector:e,declaration:"background-image: ".concat(this.dg_background("hover"),";\n background-size: ").concat(t," ").concat(this.imortant_text,";\n background-position: ").concat(o," ").concat(this.imortant_text,";\n background-repeat: ").concat(this.process_values(this.settings_hover._background_image_repeat)," ").concat(this.imortant_text,";")}]))}},{key:"set_settings_values",value:function(){var t=this;Object.keys(this.settings).forEach(function(e){t.props[t.slug+e]&&(t.settings[e]=t.props[t.slug+e])})}},{key:"set_hover_settings_value",value:function(){var t=this;Object.keys(this.settings).forEach(function(e){t.props[t.slug+e+"__hover"]?t.settings_hover[e]=t.props[t.slug+e+"__hover"]:t.settings_hover[e]=t.settings[e]})}},{key:"dg_background",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return"on"===this.settings._above_image?"".concat(this.dg_background_gradient(t)).concat(this.separator," ").concat(this.dg_background_image(t)," ").concat(this.imortant_text):"".concat(this.dg_background_image(t)).concat(this.separator," ").concat(this.dg_background_gradient(t)," ").concat(this.imortant_text)}},{key:"dg_background_image",value:function(t){var e="default"===t?this.settings:this.settings_hover;return""!==e._background_image?"url(".concat(e._background_image,")"):""}},{key:"dg_background_gradient",value:function(t){var e="default"===t?this.settings:this.settings_hover;return"on"===e._use_gradient?"radial"!==e._gradient_type?"linear-gradient( ".concat(e._gradient_direction,", ").concat(e._color_gradient_1," ").concat(e._start_position,", \n ").concat(e._color_gradient_2," ").concat(e._end_position," )"):"radial-gradient( cir
6272cle at ".concat(this.process_values(e._radial_direction),", \n ").concat(e._color_gradient_1," ").concat(e._start_position,", \n ").concat(e._color_gradient_2," ").concat(e._end_position," )"):""}},{key:"process_values",value:function(t){return{center:"center",top_left:"top left",top_center:"top center",center_top:"center top",top:"top",top_right:"top right",right:"right",center_right:"center right",bottom_right:"bottom right",bottom:"bottom",bottom_center:"bottom center",bottom_left:"bottom left",left:"left",center_left:"center left",no_repeat:"no-repeat",repeat:"repeat",repeat_x:"repeat-x",repeat_y:"repeat-y",space:"space",round:"round",cover:"cover",fit:"contain",actual_size:"initial",custom:"custom"}[t]}}])&&n(e.prototype,o),a&&n(e,a),t}();e.default=a},function(t,e,o){"use strict";function n(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Object.defineProperty(e,"__esModule",{value:!0}),o.d(e,"default",function(){return a});var a=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,o,a;return e=t,a=[{key:"get_responsive_device",value:function(t){return"string"===typeof t?t.split("|"):["off","desktop"]}},{key:"get_responsive_status",value:function(t){return this.get_responsive_device(t)[0]?this.get_responsive_device(t)[0]:"off"}},{key:"get_offset_properties",value:function(t){var e={horizontal:["center_left","center_right"],vertical:["top_center","bottom_center"],both:["top_left","top_right","bottom_left","bottom_right"]};return void 0!==e[t]?e[t]:[]}},{key:"get_horizontal_offset_only",value:function(t,e){return t.replace("_","_".concat(e,"_")).split("_").reverse().join(" ")}},{key:"get_vertical_offset_only",value:function(t,e){var o=t.split("_").reverse();return o.push(e),o.join(" ")}},{key:"get_background_image_offset",value:function(t,e,o){var n=t.replace("_","_".concat(e,"_"));return(n=n.split("_").reverse()).push(o),n.join(" ")}},{key:"generateStyles_backgroundColor",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.base_name,o=t.props["".concat(e,"_color_last_edited")],n=t.props["".concat(e,"_enable_color_tablet")],a=t.props["".concat(e,"_enable_color_phone")],c=t.props["".concat(e,"_color__hover_enabled")],r=t.props["".concat(e,"_enable_color__hover")],i=t.important?"!important":"";t.props["".concat(e,"_color")]&&t.additionalCSS.push([{selector:t.selector,declaration:"background-color: ".concat(t.props["".concat(e,"_color")]," ").concat(i,";")}]),"on"===this.get_responsive_status(o)&&"on"===n&&t.additionalCSS.push([{selector:t.selector,declaration:"background-color: ".concat(t.props["".concat(e,"_color_tablet")]," ").concat(i,";"),device:"tablet"}]),"on"===this.get_responsive_status(o)&&"on"===a&&t.additionalCSS.push([{selector:t.selector,declaration:"background-color: ".concat(t.props["".concat(e,"_color_phone")]," ").concat(i,";"),device:"phone"}]),t.props.hover_enabled&&"number"===typeof t.props.hover_enabled&&"on|hover"===c&&"on"===r&&t.additionalCSS.push([{selector:t.hover?t.hover:t.selector,declaration:"background-color: ".concat(t.props["".concat(e,"_color__hover")]," ").concat(i,";")}])}},{key:"generateStyles_backgroundImage",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={type_property:"",parsed_value:"",declaration:"",type:"linear",direction:"180deg",unit:"%",direction_radial:"center",stops:"#2b87da 0%|#29c4a9 100%"},o=t.base_name,n=t.props["".concat(o,"_color_last_edited")],a=t.props["".concat(o,"_use_color_gradient_tablet")],c=t.props["".concat(o,"_enable_image_tablet")],r=t.props["".concat(o,"_use_color_gradient_phone")],i=t.props["".concat(o,"_enable_image_phone")],s=t.props["".concat(o,"_color__hover_enabled")],l=t.props["".concat(o,"_use_color_gradient__hover")],_=t.props["".concat(o,"_enable_image__hover")];this.process_gradient_properties(t,e),this.process_background_image(t,e),"on"!==this.get_responsive_status(n)||"on"!==a&&"on"!==c||(this.process_gradient_properties(t,e,"tablet"),this.process_background_image(t,e,"tablet")),"on"!==this.get_responsive_status(n)||"on"!==r&&"on"!==i||(this.process_gradient_properties(t,e,"phone"),this.process_background_image(t,e,"phone")),!t.props.hover_enabled||"number"!==typeof t.props.hover_enabled||"on|hover"!==s||"on"!==l&&"on"!==_||(this.process_gradient_properties(t,e,"_hover"),this.process_background_image(t,e,"_hover"))}},{key:"process_gradient_properties",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=""!==o?"_".concat(o):o;return t.props["".concat(t.context,"_gradient_stops").concat(n)]&&(e.stops=t.props["".concat(t.context,"_gradient_stops").concat(n)]),t.props["".concat(t.context,"_gradient_type").concat(n)]&&(e.type=t.props["".concat(t.context,"_gradient_type").concat(n)]),t.props["".concat(t.context,"_gradient_direction").concat(n)]&&(e.direction=t.props["".concat(t.context,"_gradient_direction").concat(n)]),t.props["".concat(t.context,"_gradient_direction_radial").concat(n)]&&(e.direction_radial=t.props["".concat(t.context,"_gradient_direction_radial").concat(n)]),t.props["".concat(t.context,"_gradient_unit").concat(n)]&&"conic"!==e.type&&(e.unit=t.props["".concat(t.context,"_gradient_unit").concat(n)],e.stops=e.stops.replace(/%/gi,e.unit)),e.type_property_prefix="circular"===e.type||"elliptical"===e.type?"radial":e.type,e.type_property="".concat(e.type_property_prefix,"-gradient"),e.parsed_value=e.stops.split("|").join(", "),"on"===t.props["".concat(t.base_name,"_color_gradient_repeat").concat(n)]&&(e.type_property="repeating-".concat(e.type_property)),e}},{key:"process_background_image",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n="",a="",c="",r=""!==o?"_".concat(o):o,i=t.important?"!important":"";if("on"===t.props["".concat(t.base_name,"_use_color_gradient")]&&("linear"===e.type&&(e.declaration="".concat(e.type_property,"(").concat(e.direction,", ").concat(e.parsed_value,")")),"conic"===e.type&&(e.declaration="".concat(e.type_property,"(from ").concat(e.direction," at ").concat(e.direction_radial,", ").concat(e.parsed_value,")")),"circular"===e.type&&(e.declaration="".concat(e.type_property,"(circle at ").concat(e.direction_radial,", ").concat(e.parsed_value,")")),"elliptical"===e.type&&(e.declaration="".concat(e.type_property,"(ellipse at ").concat(e.direction_radial,", ").concat(e.parsed_value,")")),a=e.declaration),"on"!==t.props["".concat(t.base_name,"_parallax")]){if(t.props["".concat(t.base_name,"_size").concat(r)])if("custom"===t.props["".concat(t.base_name,"_size").concat(r)]){var s="".concat(t.base_name,"_image_width").concat(r),l="".concat(t.base_name,"_image_height").concat(r);if(t.props[s]||t.props[l]){var _=t.props[s]?t.props[s]:"auto",p=t.props[l]?t.props[l]:"auto";this.merge_additional_css(t,o,{selector:t.selector,declaration:"background-size: ".concat(_," ").concat(p," ").concat(i,";")})}else this.merge_additional_css(t,o,{selector:t.selector,declaration:"background-size: initial ".concat(i,";")})}else this.merge_additional_css(t,o,{selector:t.selector,declaration:"background-size: ".concat(t.props["".concat(t.base_name,"_size").concat(r)]," ").concat(i,";")});if(t.props["".concat(t.base_name,"_position").concat(r)]){var d=t.props["".concat(t.base_name,"_position").concat(r)],u="".concat(t.base_name,"_horizontal_offset").concat(r),h="".concat(t.base_name,"_vertical_offset").concat(r);if(this.get_offset_properties("horizontal").includes(t.props["".concat(t.base_name,"_position").concat(r)])&&t.props[u]){var g=t.props[u],v=this.get_horizontal_offset_only(d,g);this.merge_additional_css(t,o,{selector:t.selector,declaration:"background-position: ".concat(v," ").concat(i,";")})}if(this.get_offset_properties("vertical").includes(t.props["".concat(t.base_name,"_position").concat(r)])&&t.props[u]){var f=t.props[h],b=this.get_vertical_offset_only(d,f);this.merge_additional_css(t,o,{selector:t.selector,declaration:"background-position: ".concat(b," ").concat(i,";")})}if(this.get_offset_properties("both").includes(t.props["".concat(t.base_name,"_position").concat(r)])){var m=t.props[u]?t.props[u]:"0px",y=t.props[h]?t.props[h]:"0px",k=this.get_background_image_offset(d,m,y);this.merge_additional_css(t,o,{selector:t.selector,declaration:"background-position: ".concat(k," ").concat(i,";")})}if("center"===d){var x=t.props["".concat(t.base_name,"_position").concat(r)].split("_").reverse().join(" ");this.merge_additional_css(t,o,{selector:t.selector,declaration:"background-position: ".concat(x," ").concat(i,";")})}}t.props["".concat(t.base_name,"_repeat").concat(r)]&&this.merge_additional_css(t,o,{selector:t.selector,declaration:"background-repeat: ".concat(t.props["".concat(t.base_name,"_repeat").concat(r)]," ").concat(i,";")})}t.props["".concat(t.base_name,"_blend").concat(r)]&&this.merge_additional_css(t,o,{selector:t.selector,declaration:"background-blend-mode: ".concat(t.props["".concat(t.base_name,"_blend").concat(r)]," ").concat(i,";")}),t.props["".concat(t.base_name,"_image").concat(r)]&&(n="url(".concat(t.props["".concat(t.base_name,"_image").concat(r)],")")),(c=a&&n?"on"===t.props["".concat(t.base_name,"_color_gradient_overlays_image").concat(r)]?"".concat(a,", ").concat(n):"".concat(n,", ").concat(a):a||n)&&this.merge_additional_css(t,o,{selector:t.selector,declaration:"background-image: ".concat(c," ").concat(i,";")})}},{key:"merge_additional_css",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};""!==e&&"_hover"!==e&&(o.device=e),t.additionalCSS.push([o])}},{key:"generateStyles",value:function(t){this.generateStyles_backgroundColor(t),this.generateStyles_backgroundImage(t)}}],(o=null)&&n(e.prototype,o),a&&n(e,a),t}()},function(t,e,o){"use strict";
6272Object.defineProperty(e,"__esModule",{value:!0});var n=o(1),a=o(2);function c(t){return(c="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r={active_child:{},extend:function(t,e){var o,n={};for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=t[o]);for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n},process_icon_font_style:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.extend({props:{},key:"",additionalCss:"",selector:""},t),o=e.props,n=e.key,a=e.additionalCss,c=e.selector;if(o[n]){var r=window.ET_Builder.API.Utils;if(r.processIconFontData){var i=r.processIconFontData(o[n]);i&&("ETmodules"!==i.iconFontFamily&&a.push([{selector:c,declaration:"font-family: ".concat(i.iconFontFamily," !important;")}]),a.push([{selector:c,declaration:"font-weight: ".concat(i.iconFontWeight," !important;")}]))}}},process_margin_padding:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.extend({props:{},key:"",additionalCss:"",selector:"",type:"",important:!0},t),o=e.props,n=e.key,a=e.additionalCss,c=e.selector,r=e.type,i=e.important?"!important":"",s=o[n],l=o[n+"_tablet"],_=o[n+"_phone"];if(s&&""!==s){var p=s.split("|");a.push([{selector:c,declaration:"".concat(r,"-top: ").concat(p[0]).concat(i,";\n ").concat(r,"-right: ").concat(p[1]).concat(i,";\n ").concat(r,"-bottom: ").concat(p[2]).concat(i,";\n ").concat(r,"-left: ").concat(p[3]).concat(i,";")}])}if(l&&""!==l){var d=l.split("|");a.push([{selector:c,declaration:"".concat(r,"-top: ").concat(d[0]).concat(i,";\n ").concat(r,"-right: ").concat(d[1]).concat(i,";\n ").concat(r,"-bottom: ").concat(d[2]).concat(i,";\n ").concat(r,"-left: ").concat(d[3]).concat(i,";"),device:"tablet"}])}if(_&&""!==_){var u=_.split("|");a.push([{selector:c,declaration:"".concat(r,"-top: ").concat(u[0]).concat(i,";\n ").concat(r,"-right: ").concat(u[1]).concat(i,";\n ").concat(r,"-bottom: ").concat(u[2]).concat(i,";\n ").concat(r,"-left: ").concat(u[3]).concat(i,";"),device:"phone"}])}if(o[n+"__hover_enabled"]&&o.hover_enabled&&1===o.hover_enabled&&o[n+"__hover"]){var h=o[n+"__hover"].split("|");a.push([{selector:c,declaration:"".concat(r,"-top: ").concat(h[0]).concat(i,";\n ").concat(r,"-right: ").concat(h[1]).concat(i,";\n ").concat(r,"-bottom: ").concat(h[2]).concat(i,";\n ").concat(r,"-left: ").concat(h[3]).concat(i,";")}])}},dg_get_div_value:function(t){return parseInt(t)/2+t.replace(parseInt(t),"")},dg_process_transition:function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.extend({props:{},key:"",additionalCss:"",selector:"",properties:[]},t),o=e.props,n=e.key,a=e.additionalCss,c=e.selector,r=e.properties,i=this.dg_transition(o[n+"_transition_curve"]),s=o[n+"_transition_delay"],l=o[n+"_transition_duration"],_="",p=0;p<r.length;p++){var d=p+1!==r.length?",":"";_+="".concat(r[p]," ").concat(l," ").concat(i," ").concat(s," ").concat(d)}a.push([{selector:c,declaration:"transition: ".concat(_,";")}])},dg_transition:function(t){return{ease:"ease",ease_in:"ease-in",ease_in_out:"ease-in-out",ease_out:"ease-out",linear:"linear",bounce:"cubic-bezier(.2,.85,.4,1.275)"}[t]},dg_process_text_clip:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.extend({props:{},key:"",additionalCss:"",selector:""},t),o=e.props,n=e.key,a=e.additionalCss,c=e.selector;e.alignment;"on"===o[n+"_enable_clip"]&&(this.process_color({props:o,key:n+"_fill_color",additionalCss:a,selector:c,type:"-webkit-text-fill-color",important:!1}),this.process_color({props:o,key:n+"_stroke_color",additionalCss:a,selector:c,type:"-webkit-text-stroke-color",important:!1}),this.apply_single_value({props:o,key:n+"_stroke_width",additionalCss:a,selector:c,type:"-webkit-text-stroke-width",unit:"px",default_value:"1"}),"on"===o[n+"_enable_bg_clip"]&&a.push([{selector:c,declaration:"-webkit-background-clip: text;"}]))},dg_process_string_attr:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.extend({props:{},key:"",additionalCss:"",selector:"",type:"",default_value:""},t),o=e.props,n=e.key,a=e.additionalCss,c=e.selector,r=e.type,i=e.default_value,s=o[n]?this.process_values(o[n]):i,l=o[n+"_tablet"]?this.process_values(o[n+"_tablet"]):s,_=o[n+"_phone"]?this.process_values(o[n+"_phone"]):l;s&&""!==s&&a.push([{selector:c,declaration:"".concat(r,": ").concat(s,";")}]),l&&""!==l&&a.push([{selector:c,declaration:"".concat(r,": ").concat(l,";"),device:"tablet"}]),_&&""!==_&&a.push([{selector:c,declaration:"".concat(r,": ").concat(_,";"),device:"phone"}])},dg_process_maxwidth:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.extend({props:{},key:"",additionalCss:"",alignment:!1,selector:""},t),o=e.props,n=e.key,a=e.additionalCss,c=e.selector,r=e.alignment,i=n+"_maxwidth",s=o[i],l=this.dg_check_values(s,o[i+"_tablet"]),_=this.dg_check_values(s,o[i+"_phone"]);if(a.push([{selector:c,declaration:"max-width: ".concat(s,";")}]),a.push([{selector:c,declaration:"max-width: ".concat(l,";"),device:"tablet"}]),a.push([{selector:c,declaration:"max-width: ".concat(_,";"),device:"phone"}]),!0===r){var p=n+"_alignment",d=o[p],u=this.dg_check_values(d,o[p+"_tablet"]),h=this.dg_check_values(d,o[p+"_phone"]);a.push([{selector:c,declaration:"".concat(this.dg_block_align(d),";")}]),a.push([{selector:c,declaration:"".concat(this.dg_block_align(u),";"),device:"tablet"}]),a.push([{selector:c,declaration:"".concat(this.dg_block_align(h),";"),device:"phone"}])}},dg_block_align:function(t){return"center"===t?"margin-left: auto; margin-right: auto;
6272":"right"===t?"margin-left: auto; margin-right: 0;":"left"===t?"margin-right: auto; margin-left: 0;":void 0},dg_check_values:function(t,e){return e&&""!==e?e:t},process_icon_styles:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.extend({props:{},key:"",additionalCss:"",selector:"",image_selector:"",align_container:""},t),o=e.props,n=e.key,a=e.additionalCss,c=e.selector,r=e.align_container,i=e.image_selector;if("on"===o[n+"_use_icon"]&&(this.process_color({props:o,additionalCss:a,key:n+"_icon_color",selector:c,type:"color"}),this.apply_single_value({props:o,key:n+"_icon_size",additionalCss:a,selector:c,type:"font-size",unit:"px",default_value:"48"})),o[n+"_icon_align"]&&"on"===o[n+"_use_icon"]){var s=""!==o[n+"_icon_align"]?o[n+"_icon_align"]:"left";r=""!==r?r:c,a.push([{selector:r,declaration:"text-align: ".concat(s,";")}])}if(o[n+"_image"]&&"on"!==o[n+"_use_icon"]&&""!==o[n+"_image"]){var l=""!==o[n+"_image_align"]?o[n+"_image_align"]:"left";r=""!==r?r:i,a.push([{selector:r,declaration:"text-align: ".concat(l,";")}]),o[n+"_full_width"]&&"on"===o[n+"_full_width"]&&a.push([{selector:i,declaration:"width: 100%;"}]),o[n+"_max_width"]&&""!==o[n+"_max_width"]&&"on"!==o[n+"_full_width"]&&this.process_range_value({props:o,key:n+"_max_width",additionalCss:a,selector:i,type:"max-width",unit:"%",default_value:"100"})}o[n+"_icon_bg"]&&""!==o[n+"_icon_bg"]&&"on"===o[n+"_use_icon"]&&this.process_color({props:o,additionalCss:a,key:n+"_icon_bg",selector:c,type:"background-color"}),o[n+"_circle_icon"]&&"on"===o[n+"_circle_icon"]&&"on"===o[n+"_use_icon"]&&a.push([{selector:c,declaration:"border-radius: 50%;"}])},apply_single_value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.extend({props:{},key:"",additionalCss:"",selector:"",type:"",unit:"%",default_value:"",decrease:!1,addition:!0},t),o=e.props,n=e.key,a=e.additionalCss,c=e.selector,r=e.type,i=e.unit,s=e.default_value,l=e.decrease,_=e.addition,p=o[n]&&""!==o[n].replace(parseInt(o[n]),"")?o[n].replace(parseInt(o[n]),""):i,d=o[n+"_tablet"]?o[n+"_tablet"].replace(parseInt(o[n+"_tablet"]),""):p,u=o[n+"_phone"]?o[n+"_phone"].replace(parseInt(o[n+"_phone"]),""):d,h=!o[n]&&s?s:parseInt(o[n]),g=!1===l?h:100-h,v=!1===l?parseInt(o[n+"_tablet"]):100-parseInt(o[n+"_tablet"]),f=!1===l?parseInt(o[n+"_phone"]):100-parseInt(o[n+"_phone"]),b=!1===_?"-":"";if(v=b+v+d,f=b+f+u,(g=b+g+p)&&""!==g&&a.push([{selector:c,declaration:"".concat(r,": ").concat(g,";")}]),v&&""!==v&&a.push([{selector:c,declaration:"".concat(r,": ").concat(v,";"),device:"tablet"}]),f&&""!==f&&a.push([{selector:c,declaration:"".concat(r,": ").concat(f,";"),device:"phone"}]),o[n+"__hover_enabled"]&&o.hover_enabled&&1===o.hover_enabled&&o[n+"__hover"]){var m=o[n+"__hover"];a.push([{selector:c,declaration:"".concat(r,": ").concat(m,"!important;")}])}},process_range_value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.extend({props:{},key:"",additionalCss:"",selector:"",type:"",unit:"",default_value:"",important:!1,negative:!1,fixed_unit:""},t),o=e.props,n=e.key,a=e.additionalCss,c=e.selector,r=e.type,i=(e.unit,e.default_value),s=e.important,l=e.negative,_=e.fixed_unit,p=o[n]&&""!==o[n]?o[n]:i,d=o[n+"_tablet"]&&""!==o[n+"_tablet"]?o[n+"_tablet"]:p,u=o[n+"_phone"]&&""!==o[n+"_phone"]?o[n+"_phone"]:d;""!==_&&(p=parseInt(p)+_,d=parseInt(d)+_,u=parseInt(u)+_);var h=!0===s?"!important":"",g=!0===l?"-":"";if(p&&""!==p&&a.push([{selector:c,declaration:"".concat(r,": ").concat(g).concat(p).concat(h,";")}]),d&&""!==d&&a.push([{selector:c,declaration:"".concat(r,": ").concat(g).concat(d).concat(h,";"),device:"tablet"}]),u&&""!==u&&a.push([{selector:c,declaration:"".concat(r,": ").concat(g).concat(u).concat(h,";"),device:"phone"}]),o[n+"__hover_enabled"]&&o.hover_enabled&&1===o.hover_enabled&&o[n+"__hover"]){var v=o[n+"__hover"];a.push([{selector:c,declaration:"".concat(r,": ").concat(g).concat(v).concat(h,";")}])}},dg_process_oposite_value:function(t){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&(t=parseInt(t)>=0?"-"+t:t.substring(1)),t},process_transform_props:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=this.extend({props:{},additionalCss:"",selector:"",oposite:!1,transforms:[]},e),n=o.props,a=o.additionalCss,c=o.selector,r=o.transforms,i=o.oposite,s="",l="",_="",p="";r.forEach(function(e){var o=n[e.key]?t.dg_process_oposite_value(n[e.key],i):e.default_value,a=n[e.key+"_tablet"]?t.dg_process_oposite_value(n[e.key+"_tablet"],i):o,c=n[e.key+"_phone"]?t.dg_process_oposite_value(n[e.key+"_phone"],i):a,r=n[e.key+"__hover"]?t.dg_process_oposite_value(n[e.key+"__hover"],i):o;s="".concat(s," ").concat(e.type,"(").concat(o,")"),l="".concat(l," ").concat(e.type,"(").concat(a,")"),_="".concat(_," ").concat(e.type,"(").concat(c,")"),p="".concat(p," ").concat(e.type,"(").concat(r,")")}),s&&""!==s&&a.push([{selector:c,declaration:"transform: ".concat(s,";")}]),l&&""!==l&&a.push([{selector:c,declaration:"transform: ".concat(l,";"),device:"tablet"}]),_&&""!==_&&a.push([{selector:c,declaration:"transform: ".concat(_,";"),device:"phone"}]),n.hover_enabled&&1===n.hover_enabled&&a.push([{selector:c,declaration:"transform: ".concat(p,"!important;")}])},process_filter_props:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.extend({props:{},additionalCss:"",selector:"",filters:[]},t),o=e.props,n=e.additionalCss,a=e.selector,c="",r="",i="",s="";
6272e.filters.forEach(function(t){var e=o[t.key]?o[t.key]:t.default_value,n=o[t.key+"_tablet"]?o[t.key+"_tablet"]:e,a=o[t.key+"_phone"]?o[t.key+"_phone"]:n,l=o[t.key+"__hover"]?o[t.key+"__hover"]:e;c="".concat(c," ").concat(t.type,"(").concat(e,")"),r="".concat(r," ").concat(t.type,"(").concat(n,")"),i="".concat(i," ").concat(t.type,"(").concat(a,")"),s="".concat(s," ").concat(t.type,"(").concat(l,")")}),c&&""!==c&&n.push([{selector:a,declaration:"filter: ".concat(c,";")}]),r&&""!==r&&n.push([{selector:a,declaration:"filter: ".concat(r,";"),device:"tablet"}]),i&&""!==i&&n.push([{selector:a,declaration:"filter: ".concat(i,";"),device:"phone"}]),o.hover_enabled&&1===o.hover_enabled&&n.push([{selector:a,declaration:"filter: ".concat(s,"!important;")}])},process_color:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.extend({props:{},key:"",additionalCss:"",selector:"",type:"",important:!1},t),o=e.props,n=e.key,a=e.additionalCss,c=e.selector,r=e.type,i=e.important,s=o[n],l=o[n+"__hover"],_=!0===i?"!important":"";""!==s&&a.push([{selector:c,declaration:"".concat(r,": ").concat(s+_,";")}]),o[n+"__hover_enabled"]&&o.hover_enabled&&1===o.hover_enabled&&o[n+"__hover"]&&a.push([{selector:c,declaration:"".concat(r,": ").concat(l+_,";")}])},process_header_level:function(t,e){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=o?'class="'.concat(o,'"'):"";return{__html:"<".concat(e," ").concat(n,">").concat(t,"</").concat(e,">")}},background_image_options:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o={};return["bg_enable_image","bg_image","bg_position","bg_repeat","bg_size","bg_blend"].map(function(n){o[n]=!0===e?t+"_"+n+"__hover":t+"_"+n}),o},background_position_values:function(t){return t?t.replace("_"," "):t},process_bg_props:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0;return"background-image: url(".concat(t[e.bg_image],") ").concat(o,";\n background-size: ").concat(t[e.bg_size]," ").concat(o,";\n background-position: ").concat(this.background_position_values(t[e.bg_position])," ").concat(o,";\n background-repeat: ").concat(t[e.bg_repeat]," ").concat(o,";\n background-blend-mode: ").concat(t[e.bg_blend]," ").concat(o,";")},fix_background_image:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.extend({props:{},key:"",additionalCss:"",selector:"",important:!1},t),o=e.props,n=e.key,a=e.additionalCss,c=e.selector,r=e.important,i=this.background_image_options(n),s=this.background_image_options(n,!0),l=!0===r?"!important":"";"on"===o[i.bg_enable_image]&&a.push([{selector:c,declaration:this.process_bg_props(o,i,l)}]),o.hover_enabled&&1===o.hover_enabled&&a.push([{selector:c,declaration:this.process_bg_props(o,s,l)}])},dg_process_btn_styles:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.extend({props:{},key:"",additionalCss:"",selector:"",align_container:""},t),o=e.props,n=e.key,a=e.additionalCss,c=e.selector,r=e.align_container;if(o[n+"_button_align"]){var i=""!==o[n+"_button_align"]?o[n+"_button_align"]:"left";r=""!==r?r:c,a.push([{selector:r,declaration:"text-align: ".concat(i,";")}])}o[n+"_button_fullwidth"]&&"on"===o[n+"_button_fullwidth"]&&a.push([{selector:c,declaration:"width: 100%;"}])},dg_process_bg:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.extend({props:{},key:"",additionalCss:"",selector:"",hover:"",important:!1},t);new n.default(e).set_style()},dg_process_background:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.extend({props:{},key:"",additionalCss:"",selector:"",important:!1},t),o=e.props,n=e.key,a=e.additionalCss,c=e.selector,r=!0===e.important?"!important":"",i="",s=o[n+"_background_image"]?o[n+"_background_image"]:"",l="";if(""!==s&&(l="url(".concat(s,")")),"on"===o[n+"_use_gradient"]){var _=o[n+"_color_gradient_1"]?o[n+"_color_gradient_1"]:"#2b87da",p=o[n+"_color_gradient_2"]?o[n+"_color_gradient_2"]:"#29c4a9",d=o[n+"_gradient_direction"]?o[n+"_gradient_direction"]:"180deg",u=o[n+"_start_position"]?o[n+"_start_position"]:"0%",h=o[n+"_end_position"]?o[n+"_end_position"]:"100%",g=o[n+"_radial_direction"]?o[n+"_radial_direction"]:"center";i="radial"!==o[n+"_gradient_type"]?"linear-gradient(\n ".concat(d,",\n ").concat(_," ").concat(u,",\n ").concat(p," ").concat(h,"\n )"):"radial-gradient(\n circle at ".concat(this.process_values(g),",\n ").concat(_," ").concat(u,",\n ").concat(p," ").concat(h,")")}var v=o[n+"_above_image"];if(o[n+"_bgcolor"]&&a.push([{selector:c,declaration:"background-color: ".concat(o[n+"_bgcolor"]," ").concat(r)}]),""!==l||""!==i){var f=""!==l&&""!==i?",":"";a.push([{selector:c,declaration:"on"===v?"background-image: ".concat(i).c
6272oncat(f," ").concat(l," ").concat(r):"background-image: ".concat(l).concat(f," ").concat(i," ").concat(r)}])}if(""!==l){var b=o[n+"_background_image_size"]?o[n+"_background_image_size"]:"cover",m=o[n+"_background_image_position"]?o[n+"_background_image_position"]:"center",y=o[n+"_background_image_repeat"]?o[n+"_background_image_repeat"]:"no_repeat",k=this.process_values(b);a.push([{selector:c,declaration:"background-size: ".concat(k,"; \n background-position: ").concat(this.process_values(m),"; \n background-repeat: ").concat(this.process_values(y),";")}])}if(o.hover_enabled&&1===o.hover_enabled){var x=this.process_keys(o,n,"_bgcolor__hover",""),w=this.process_keys(o,n,"_background_image_size__hover",""),C=this.process_keys(o,n,"_background_image_position__hover",""),S=this.process_keys(o,n,"_background_image_repeat__hover","");null!==x&&a.push([{selector:c,declaration:"background-color: ".concat(x," ").concat(r)}]),null!==w&&a.push([{selector:c,declaration:"background-size: ".concat(w," ").concat(r)}]),null!==C&&a.push([{selector:c,declaration:"background-position: ".concat(C," ").concat(r)}]),null!==S&&a.push([{selector:c,declaration:"background-repeat: ".concat(S," ").concat(r)}])}},dg_fix_builder_css_issue:function(t,e){var o=e.querySelectorAll(".et-fb-custom-css-output");0!==o.length&&o.forEach(function(t){var e=t.innerHTML.replace(/.et-db/g,"");e=(e=e.replace(/#et-boc/g,"")).replace(/.et-l/g,""),t.innerHTML=e})},process_keys:function(t,e,o){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return t[e+o]?t[e+o]:n},process_values:function(t){var e={center:"center",top_left:"top left",top_center:"top center",center_top:"center top",top:"top",top_right:"top right",right:"right",center_right:"center right",bottom_right:"bottom right",bottom:"bottom",bottom_center:"bottom center",bottom_left:"bottom left",left:"left",center_left:"center left",no_repeat:"no-repeat",repeat:"repeat",repeat_x:"repeat-x",repeat_y:"repeat-y",space:"space",round:"round",cover:"cover",fit:"contain",actual_size:"initial",flex_left:"row",flex_top:"column",flex_right:"row-reverse",flex_bottom:"column-reverse",flex_start:"flex-start",flex_end:"flex-end",flex_center:"center"};return e.hasOwnProperty(t)?e[t]:t},process_flex_values:function(t){var e={flex_left:"raw",flex_top:"column",flex_right:"raw-reverse",flex_bottom:"column-reverse"};return e.hasOwnProperty(t)?e[t]:t},_renderDynamicContent:function(t,e){var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=t.dynamic[e];if("content"===e)return n.render("full");var a=o?n.render():n;return n.loading?o?a:a.render():o?a:a.value},dg_collect_dynamic_content:function(t,e){return e.hover_enabled&&"number"===typeof e.hover_enabled&&"on|hover"===e["".concat(t,"__hover_enabled")]?e.dynamic[t]?e.dynamic["".concat(t,"__hover")]&&e.dynamic["".concat(t,"__hover")].hasValue?e.dynamic["".concat(t,"__hover")]:e.dynamic[t]:e["".concat(t,"__hover")]?e["".concat(t,"__hover")]:e[t]:window.ET_Builder.API.State.View_Mode.isTablet()?e.dynamic[t]?e.dynamic["".concat(t,"_tablet")]&&e.dynamic["".concat(t,"_tablet")].hasValue?e.dynamic["".concat(t,"_tablet")]:e.dynamic[t]:e["".concat(t,"_tablet")]?e["".concat(t,"_tablet")]:e[t]:window.ET_Builder.API.State.View_Mode.isPhone()?e.dynamic[t]?e.dynamic["".concat(t,"_phone")]&&e.dynamic["".concat(t,"_phone")].hasValue?e.dynamic["".concat(t,"_phone")]:e.dynamic["".concat(t,"_tablet")]&&e.dynamic["".concat(t,"_tablet")].hasValue?e.dynamic["".concat(t,"_tablet")]:e.dynamic[t]:e["".concat(t,"_phone")]?e["".concat(t,"_phone")]:e["".concat(t,"_tablet")]?e["".concat(t,"_tablet")]:e[t]:e.dynamic&&e.dynamic[t]?e.dynamic[t]:e[t]},dg_render_dynamic_content:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o="full"===(arguments.length>2&&void 0!==arguments[2]?arguments[2]:null)?t.render("full"):t.render();return t.loading?o:void 0!==o&&t.hasValue?null!==e?e(o):o:null},dg_render_dynamic_image:function(t,e){return t.loading?t.render():t.hasValue?e(t.value):null},dg_iconlist_show_icon_on_hover_styles:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.defaults.unitValue=t.defaults.unitValue?t.defaults.unitValue:4;var e,o=["%","em","rem","px","vh","vw"],n={"%":"",em:"",rem:"",px:"",vh:"",vw:""},a=t.props["".concat(t.field,"_").concat("last_edited")];e="off"===t.props[t.trigger]||"image"===t.props[t.trigger]||"lottie"===t.props[t.trigger]?t.props[t.depen
6272dsOn.image]?t.props[t.dependsOn.image]:t.defaults.image:t.props[t.dependsOn.icon]?t.props[t.dependsOn.icon]:t.defaults.icon;var c=function(t){return"string"===typeof t?t.split("|"):["off","desktop"]};if(a&&"on"===function(t){return c(t)[0]?c(t)[0]:"off"}(a)){var r=c(a)[1],i=t.props["".concat(t.field,"_").concat(r)]?t.props["".concat(t.field,"_").concat(r)]:t.props[t.field],s=t.props["".concat(t.dependsOn.icon,"_").concat(r)],l=this.dg_iconlist_collect_prop_mapping_value(t,i);void 0===s&&(s=e);var _=Number.parseInt(this.dg_iconlist_replace_bulk_string(s,o,n))+t.defaults.unitValue,p=l.replace(/(#)/gi,_);t.additionalCSS.push([{selector:t.selector,declaration:"".concat(t.type,": ").concat(p,";"),device:r}])}else{var d=t.props[t.field]?t.props[t.field]:t.defaults.field,u=this.dg_iconlist_collect_prop_mapping_value(t,d),h=Number.parseInt(this.dg_iconlist_replace_bulk_string(e,o,n))+t.defaults.unitValue,g=u.replace(/(#)/gi,h);t.additionalCSS.push([{selector:t.selector,declaration:"".concat(t.type,": ").concat(g,";")}])}t.additionalCSS.push([{selector:t.selector,declaration:"opacity: 0;"}]),t.additionalCSS.push([{selector:t.hover?t.hover:"".concat(t.selector,":hover"),declaration:"opacity: 1;margin: 0 0 0 0 !important;"}])},dg_iconlist_collect_prop_mapping_value:function(t,e){return t.mappingValues&&"object"===c(t.mappingValues)?t.mappingValues[e]:t.mappingValues&&"function"===typeof t.mappingValues?t.mappingValues(e):e},dg_iconlist_replace_bulk_string:function(t,e,o){var n=e.join("|"),a=new RegExp("(?:".concat(n,")"),"gi");return void 0!==t?t.replace(a,function(t){return o[t]}):""},dg_iconlist_process_child_filter:function(t){var e=[],o=r.extend({props:{},additionalCss:"",selector:""},t),n=o.props,a=o.additionalCss,c=o.selector;n.child_filter_blur&&"0px"!==n.child_filter_blur&&e.push("blur(".concat(n.child_filter_blur,")")),n.child_filter_brightness&&"100%"!==n.child_filter_brightness&&e.push("brightness(".concat(n.child_filter_brightness,")")),n.child_filter_contrast&&"100%"!==n.child_filter_contrast&&e.push("contrast(".concat(n.child_filter_contrast,")")),n.child_filter_hue_rotate&&"0deg"!==n.child_filter_hue_rotate&&e.push("hue-rotate(".concat(n.child_filter_hue_rotate,")")),n.child_filter_invert&&"0%"!==n.child_filter_invert&&e.push("invert(".concat(n.child_filter_invert,")")),n.child_filter_opacity&&"100%"!==n.child_filter_opacity&&e.push("opacity(".concat(n.child_filter_opacity,")")),n.child_filter_saturate&&"100%"!==n.child_filter_saturate&&e.push("saturate(".concat(n.child_filter_saturate,")")),n.child_filter_sepia&&"0%"!==n.child_filter_sepia&&e.push("sepia(".concat(n.child_filter_sepia,")")),a.push([{selector:c,declaration:"backface-visibility: hidden;"}]),n.child_mix_blend_mode&&"normal"!==n.child_mix_blend_mode&&a.push([{selector:c,declaration:"mix-blend-mode: ".concat(n.child_mix_blend_mode,"};")}]),0!==e.length&&a.push([{selector:c,declaration:"filter: ".concat(e.join(" "),";")}])},process_new_background:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.extend({props:{},base_name:"",context:"",additionalCSS:"",selector:"",important:!1},t);a.default.generateStyles(e)}};e.default=r},function(t,e){},function(t,e){},,,,,,,,,,,function(t,e,o){o(17),o(4),o(5),o(2),o(1),o(3),o(0),t.exports=o(18)},function(t,e){},function(t,e){jQuery(function(t){function e(t,e,o){if("string"!==typeof t)return e;var n=t.trim();if(""===n||"undefined"===n||"null"===n)return e;try{return JSON.parse(n)}catch(t){return window.console&&"function"===typeof window.console.warn&&window.console.warn("Divi Carousel: invalid JSON dataset payload.",{context:o,value:n,error:t}),e}}if(window.location.hash)window.location.hash.substring(1);t(".dica_divi_carousel").each(function(n,a){o(a),window.addEventListener("resize",function(){o(a)});var c=a.querySelector(".swiper-container"),r=a.querySelector(".dica-container"),i=e(r&&r.dataset?r.dataset.props:null,null,"dica-container[data-props]");if(i){var s=Number(i.speed),l=Number(i.desktop),_=Number(i.tablet),p=Number(i.mobile),d=i.arrow,u=i.dots,h=i.autoplay,g=Number(i.autoSpeed),v=i.loop,f=Number(i.item_spacing.replace(/[^0-9.]/g,"")),b=i.center_mode,m=i.slider_effec,y=i.pause_onhover,k=i.multislide,x=i.cfshadow,w=i.order,C="on"==i.lazyload&&{loadedClass:"swiper-lazy-loaded"},S="on"===h?i.scroller_effect:"off",I=Number(i.scroller_speed),z=i.autowidth,P=Number(i.item_spacing_tablet.replace(/[^0-9.]/g,"")),O=Number(i.item_spacing_phone.replace(/[^0-9.]/g,""));g="on"!==S?g:1,"on"==i.lazybefore?C.loadOnTransitionStart=!0:C.loadOnTransitionStart=!1;var N="on"==d&&{nextEl:".dica-next-btn-"+w,prevEl:".dica-prev-btn-"+w},T="on"==u&&{el:".dica-paination-"+w,clickable:!0},E=Number(parseInt(i.cover_rotate));E=isNaN(E)?0:E,"on"===i.hashNavigation&&t(a).find(".dica_divi_carouselitem").each(function(){var t=this.querySelector(".dica-item");t&&(this.dataset.hash=t.dataset.hash||"")});var V=new Swiper(c,{slidesPerView:"on"!==z?l:"auto",slidesPerGroup:"on"==k&&"on"!==z&&"on"!==S?Number(l):1,slidesPerColumn:parseInt(i.slide_row,10),slidesPerColumnFill:"row",navigation:N,pagination:T,spaceBetween:f,autoplay:"on"==h&&{enabled:!1,delay:g,disableOnInteraction:!1},speed:"on"!==S&&"on"!==h?s:I,slideClass:"dica_divi_carouselitem",loop:"on"==v,centeredSlides:"on"==b,effect:"1"==m?"slide":m,coverflowEffect:{rotate:E,stretch:0,depth:100,modifier:1,slideShadows:"off"!==x},observer:!0,observeParents:!0,observeSlideChildren:!0,preloadImages:"on"!=i.lazyload,watchSlidesVisibility:!0,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,touchMoveStopPropagation:!0,threshold:15,lazy:C,hashNavigation:"on"===i.hashNavigation&&{watchState:!0,replaceState:!0},breakpoints:{981:{slidesPerView:"on"!==z?l:"auto",slidesPerGroup:"on"==k&&"on"!==z&&"on"!==S?Number(l):1,spaceBetween:f,slidesPerColumn:parseInt(i.slide_row,10),slidesPerColumnFill:"row"},768:{slidesPerView:"on"!==z?_:"auto",slidesPerGroup:"on"==k&&"on"!==z&&"on"!==S?Number(_):1,spaceBetween:P,slidesPerColumn:parseInt(i.slide_row_tablet,10),slidesPerColumnFill:"row"},1:{slidesPerView:"on"!==z?p:"auto",slidesPerGroup:"on"==k&&"on"!==z&&"on"!==S?Number(p):1,spaceBetween:O,slidesPerColumn:parseInt(i.slide_row_phone,10),slidesPerColumnFill:"row"}},keyboard:{enabled:"on"===i.keyboard,onlyInViewport:!1},mousewheel:{enabled:"on"===i.mousewheel,invert:!0},simulateTouch:"on"!==i.simulatetouch,allowTouchMove:"on"!==i.allowtouchmove});
6272"on"===S&&"on"===h&&(V.freeMode=!0,V.autoplay.stop()),"on"!==S&&V.on("observerUpdate",function(t){"on"==h&&(V.autoplay.paused=!1,V.translate=0),V.update()}),"on"===y&&"on"===h&&(c.addEventListener("mouseover",function(){V.autoplay.stop()}),c.addEventListener("mouseout",function(){V.autoplay.start()})),"on"==i.lazyload&&V.on("lazyImageReady",function(t,e){t.querySelector(".dica-item").classList.remove("loading")}),"on"===h&&("undefined"===typeof Waypoint?V.autoplay.start():new Waypoint({element:a,handler:function(){setTimeout(function(){V.autoplay.start()},1e3),this.destroy()},offset:i.autoplay_viewport})),t(this).find(".dica_divi_carouselitem .et_pb_module_inner").on("click",function(e){var o=t(this).find(".dica-item")[0].dataset.link;if(o)if(-1!=o.indexOf("#"))et_pb_smooth_scroll();else{e.stopPropagation();var n=t(this).find(".dica-item")[0].dataset.target;void 0!==o&&("_blank"===n?window.open(o):window.location=o)}})}});t("body").append('<div class="dg-carousel-lightbox"><div class="lightbox-header"><button class="close-btn">╳</button></div><div class="image-wrapper"><span><img src="" /></span></div></div>');function o(o){var n=o.querySelectorAll(".content");n.length>0&&n.forEach(function(o){if(o.dataset.settings){var n=e(o.dataset.settings,null,".content[data-settings]");if(n&&"true"===n.status){o.innerHTML="";var a=n.text_more,c=n.text_less,r=parseInt(n.limit);t(window).width()<981&&"on"===n.responsive&&(r=parseInt(n.limit_tablet)),t(window).width()<768&&"on"===n.responsive&&(r=parseInt(n.limit_phone));var i=t(o).parent().find("noscript.content_storage")[0].innerHTML.trim(),s=i.length,l="",_="",p="",d=document.createElement("div");if(d.innerHTML=i,d.textContent.trim().length<=r?l=i:(l=function(t,e){var o=document.createElement("div");o.innerHTML=t;var n=e;o.textContent.length>e&&function t(e){if(n<=0){for(;e.firstChild;)e.removeChild(e.firstChild);return void e.remove()}if(e.nodeType===Node.TEXT_NODE){var o=e.textContent.trim();o.length>n?e.textContent=o.slice(0,n):e.textContent=o+" ",n-=o.length}else for(var a=0;a<e.childNodes.length;a++)if(t(e.childNodes[a]),n<=0){for(;e.childNodes.length>a+1;)e.removeChild(e.childNodes[a+1]);break}}(o);return o.innerHTML}(i,r),p='<div class="dg_hide_content">'+i.substring(s,r)+"</div>",_='<span><a class="dg_expand_content" href="javascript:void(0)">'+a+"</a></span>"),o.innerHTML=l+p+_,p.length>0)o.querySelector(".dg_expand_content").addEventListener("click",function(){var e=t(this).hasClass("active");t(this).toggleClass("active"),this.innerText=e?a:c,o.innerHTML=e?l+p:i,!e&&t(o).hasClass("dg_enable_content_limit")?t(o).removeClass("dg_enable_content_limit"):t(o).addClass("dg_enable_content_limit"),o.appendChild(this)})}}})}t(".dica-image-container a[data-lightbox]").each(function(e,o){var n=t(this),a=n.attr("data-lightbox_type"),c=n.attr("data-lightbox_target"),r=n.attr("data-src"),i=t(".dg-carousel-lightbox");n.click(function(t){var e=i.find(".image-wrapper").empty();if("video"===a)"off"===c&&(t.preventDefault(),i.addClass("open"),e.append('<span>\n\t\t\t\t\t\t<iframe \n\t\t\t\t\t\t\tframeborder="0" \n\t\t\t\t\t\t\tallowfullscreen \n\t\t\t\t\t\t\tsrc="'.concat(r,'?autoplay=1" \n\t\t\t\t\t\t\tallow="autoplay"\n\t\t\t\t\t\t></iframe>\n\t\t\t\t\t</span>')));else{t.preventDefault(),i.addClass("open");var o=n.attr("data-caption");e.append('<span><img class="" src="'.concat(r,'" alt=""></span>')),o.length>0&&e.append('<span class="dg_caption">'.concat(o,"</span>"))}})}),t(".dg-carousel-lightbox .close-btn").click(function(){t(this).parent().parent().find(".image-wrapper").empty(),t(this).parent().parent().removeClass("open")}),t(".dg-carousel-lightbox .image-wrapper").click(function(e){"IMG"!==e.target.tagName&&(t(this).empty(),t(this).parent().removeClass("open"))})})}]); 6273 6274 6275 6276!function(n){var t={};function r(e){if(t[e])return t[e].exports;var o=t[e]={i:e,l:!1,exports:{}};return n[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=n,r.c=t,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:e})},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p="/",r(r.s=10)}([,function(n,t){},function(n,t){},,,,,,,,function(n,t,r){r(1),r(2),n.exports=r(11)},function(n,t){jQuery(function(n){})}]); 6277 6278 6279 6280let cmplz_cookie_data=[],cmplzCleanCookieInterval;function cmplz_log(...e){"undefined"!=typeof complianz&&complianz.debug&&console.warn(...e)}
6280function cmplz_create_element(e,t){e=document.createElement(e);return e.innerHtml=t,e}function cmplz_add_event(e,t,c){document.addEventListener(e,e=>{e.target.closest(t)&&c(e)})}function cmplz_is_hidden(e){return null===e.offsetParent}function cmplz_html_decode(e){return(new DOMParser).parseFromString(e,"text/html").documentElement.textContent}function cmplz_sanitize_placeholder_html(e){var t=document.createElement("template");return t.innerHTML=String(e||""),t.content.querySelectorAll("script, iframe, object, embed, link, style, base, meta").forEach(e=>{e.remove()}),t.content.querySelectorAll("*").forEach(n=>{Array.from(n.attributes).forEach(e=>{var t,c=e.name.toLowerCase();0!==c.indexOf("on")&&(t=e.value.trim(),"href"!==c&&"src"!==c&&"xlink:href"!==c||!/^\s*(javascript:|data:)/i.test(t))||n.removeAttribute(e.name)})}),t.innerHTML}function cmplz_is_safe_script_src(e){if("string"!=typeof e)return!1;e=e.trim();if(!e)return!1;try{var t=new URL(e,window.location.href);return"http:"===t.protocol||"https:"===t.protocol}catch(e){return!1}}function cmplz_trap_focus(){var e;cmplz_banner&&(cmplz_original_active_element=cmplz_banner.ownerDocument.activeElement,complianz.soft_cookiewall&&document.body.classList.add("cmplz-banner-active"),document.addEventListener("keydown",cmplz_handle_tab_navigation),0<(e=cmplz_banner.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')).length)&&e[0].focus()}function cmplz_handle_tab_navigation(e){var t,c,n,o;"Tab"===e.key&&cmplz_banner&&(0===(c=Array.from(cmplz_banner.querySelectorAll('button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])')).filter(function(e){return null!==e.offsetParent})).length?e.preventDefault():(t=c[0],c=c[c.length-1],n=cmplz_banner.ownerDocument.activeElement,o=cmplz_banner.contains(n),e.shiftKey?o&&n!==t||(e.preventDefault(),c.focus()):o&&n!==c||(e.preventDefault(),t.focus())))}function cmplz_release_focus_trap(){document.removeEventListener("keydown",cmplz_handle_tab_navigation),document.body.classList.remove("cmplz-banner-active");var e=cmplz_banner_trigger_source;if(cmplz_banner_trigger_source="page-load","manage-consent"===e){if(cmplz_original_active_element&&cmplz_original_active_element.focus)try{cmplz_original_active_element.focus()}catch(e){document.body.focus()}}else cmplz_last_input_was_keyboard&&(document.querySelector('a[href="#content"], a[href="#main"], a[href="#main-content"], .skip-link')||document.body).focus()}function cmplzLoadConsentAreaContent(e,r){document.querySelectorAll(".cmplz-consent-area.cmplz-placeholder").forEach(t=>{let c=t.getAttribute("data-category"),n=t.getAttribute("data-service");var o=t.getAttribute("data-post_id"),a=t.getAttribute("data-block_id");if(e===c||r===n){let e=new XMLHttpRequest;e.open("GET",complianz.url+"consent-area/"+o+"/"+a,!0),e.setRequestHeader("Content-type","application/json"),e.send(),t.classList.remove("cmplz-placeholder"),e.onload=function(){t.innerHTML=JSON.parse(e.response),t.querySelectorAll("script").forEach(e=>{cmplz_run_script(e.innerHTML,c,n,"inline",e)})}}})}document.querySelectorAll(".cmplz-consent-area.cmplz-placeholder").forEach(e=>{e.addEventListener("click",e=>{let t=e.target;(t=t.classList.contains("cmplz-consent-area")?t:e.target.closest(".cmplz-consent-area.cmplz-placeholder"))&&(cmplz_set_service_consent(e=t.getAttribute("data-service"),!0),cmplzLoadConsentAreaContent(!1,e),cmplz_enable_category(null,e),cmplz_set_banner_status("dismissed"))}),document.addEventListener("cmplz_enable_category",function(e){cmplzLoadConsentAreaContent(e.detail.category,e.detail.service)})}),document.addEventListener("cmplz_manage_consent_container_loaded",function(){var e,t=window.location.href;-1!==t.indexOf("#")&&(e=-1!==t.lastIndexOf("?")?t.lastIndexOf("?"):void 0,t=t.substring(t.indexOf("#")+1,e),e=document.getElementById(t))&&(t=e.getBoundingClientRect().top+window.pageYOffset-200,window.scrollTo({top:t,behavior:"smooth"}))}),complianz.locale=complianz.locale+"&token="+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5),(()=>{function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var c=document.createEvent("CustomEvent");return c.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),c}"function"!=typeof window.CustomEvent&&(e.prototype=window.Event.prototype,window.CustomEvent=e)})();let cmplz_banner,cmplz_banner_container=document.getElementById("cmplz-cookiebanner-container"),cmplz_manage_consent_button,cmplz_waiting_inline_scripts=[],cmplz_waiting_scripts=[],cmplz_fired_scripts=[],cmplz_placeholder_class_index=0,cmplz_all_scripts_hook_fired=!1,cmplz_consent_stored_once=!1,cmplz_fired_category_events=["functional"],cmplz_fired_service_events=[],cmplz_categories=["functional","preferences","statistics","marketing"],cmplz_original_active_element=null,cmplz_banner_trigger_source="page-load",cmplz_last_input_was_keyboard=!1,cmplz_set_category_as_body_class=(document.addEventListener("keydown",function(){cmplz_last_input_was_keyboard=!0},!0),document.addEventListener("pointerdown",function(){cmplz_last_input_was_keyboard=!1},!0),window.cmplz_get_cookie=function(t){if("undefined"!=typeof document){t=complianz.prefix+t;var c=document.cookie.split(";");for(let e=0;e<c.length;e++){var n=c[e].trim();if(n.startsWith(t+"="))return n.substring(t.length+1)}}return""},window.cmplz_set_cookie=function(e,t,c){var n,o,a,r;"undefined"!=typeof document&&(c=void 0===c||c,n="https:"===window.location.protocol?";
6280secure":"",(o=new Date).setTime(o.getTime()+24*complianz.cookie_expiry*60*60*1e3),o=";expires="+o.toGMTString(),a=0<(a=cmplz_get_cookie_domain()).length?";domain="+a:"",c=c?complianz.prefix:"",r=cmplz_get_cookie_path(),document.cookie=""+c+e+`=${t};SameSite=Lax${n}${o}${a};path=`+r)},window.cmplz_in_array=function(e,t){return t.includes(e)},window.cmplz_highest_accepted_category=function(){var t=cmplz_accepted_categories(),c=["marketing","statistics","preferences"];for(let e=0;e<c.length;e++)if(cmplz_in_array(c[e],t))return c[e];return"functional"},()=>{let c=document.body.classList;for(let e=c.length-1;0<=e;e--)c[e].startsWith("cmplz-")&&"cmplz-document"!==c[e]&&c.remove(c[e]);var e=cmplz_accepted_categories(),e=(Object.values(e).forEach(e=>{"string"==typeof e&&c.add("cmplz-"+e)}),cmplz_get_all_service_consents()),e=(Object.entries(e).forEach(([e,t])=>{t&&c.add("cmplz-"+e)}),c.add("cmplz-"+complianz.region,"cmplz-"+complianz.consenttype),new CustomEvent("cmplz_set_category_as_bodyclass"));document.dispatchEvent(e)}),cmplz_append_css=e=>{var t=document.head||document.getElementsByTagName("head")[0],c=document.createElement("style");c.setAttribute("type","text/css"),c.appendChild(document.createTextNode(e)),t.appendChild(c)},cmplz_load_css=e=>{var t=document.head||document.getElementsByTagName("head")[0],c=document.createElement("link");c.rel="stylesheet",c.type="text/css",c.href=e,t.appendChild(c)};function cmplz_run_script(t,c,n,e,o){var a=document.createElement("script");if("inline"!==e&&cmplz_is_safe_script_src(t)?a.src=t:("string"!=typeof t&&(t=t.innerHTML),a.textContent=[t,"cmplzScriptLoaded();"].join("\n")),!cmplz_in_array(t,cmplz_fired_scripts)){cmplzCopyAttributes(o,a);try{"inline"!==e?a.onload=function(){cmplz_run_after_all_scripts(c,n),cmplz_maybe_run_waiting_scripts(t,c,n,o)}:window.cmplzScriptLoaded=function(){cmplz_run_after_all_scripts(c,n),cmplz_maybe_run_waiting_scripts(t,c,n,o)},document.head.appendChild(a)}catch(e){throw cmplz_run_after_all_scripts(c,n),"Something went wrong "+e+" while loading "+t}}}function cmplz_maybe_run_waiting_scripts(e,t,c,n){var o=cmplz_get_waiting_script(cmplz_waiting_scripts,e),o=(o&&cmplz_run_script(o,t,c,"src",n),cmplz_get_waiting_script(cmplz_waiting_inline_scripts,e));o&&cmplz_run_script(o,t,c,"inline",n)}let cmplzLazyLoader=()=>{var e=document.querySelectorAll(".cmplz-blocked-content-container");let t=new IntersectionObserver((e,n)=>{e.forEach(e=>{var t,c;e.isIntersecting&&((t=(e=e.target).getAttribute("data-placeholder-image"))&&(c=e.getAttribute("data-placeholder_class_index"),cmplz_append_css(".cmplz-placeholder-"+c+" {background-image: url("+t+") !important;}"),cmplz_set_blocked_content_container_aspect_ratio(e,t,c)),n.unobserve(e))})});e.forEach(e=>{t.observe(e)})};function cmplz_set_blocked_content_container(){document.querySelectorAll(".cmplz-image").forEach(e=>{var t,c,n,o;e.classList.contains("cmplz-processed")||(e.classList.add("cmplz-processed"),t=e.getAttribute("data-service"),c=e.getAttribute("data-category"),(n=e.parentElement).classList.add("cmplz-blocked-content-container"),o=n.getAttribute("data-placeholder_class_index"),"lazy"===e.getAttribute("loading")&&(e.removeAttribute("loading"),e.setAttribute("data-deferlazy",1)),null===o&&(cmplz_placeholder_class_index++,n.classList.add("cmplz-placeholder-"+cmplz_placeholder_class_index,"cmplz-blocked-content-container"),n.setAttribute("data-placeholder_class_index",cmplz_placeholder_class_index),cmplz_insert_placeholder_text(n,c,t)))}),document.querySelectorAll(".cmplz-placeholder-element").forEach(t=>{if(!t.classList.contains("cmplz-processed")){t.classList.add("cmplz-processed");var c=t.getAttribute("data-service"),n=t.getAttribute("data-category");let e;null===(e=t.classList.contains("cmplz-iframe")?("lazy"===t.getAttribute("loading")&&(t.removeAttribute("loading"),t.setAttribute("data-deferlazy",1)),t.parentElement):t).getAttribute("data-placeholder_class_index")&&(cmplz_placeholder_class_index++,e.classList.add("cmplz-placeholder-"+cmplz_placeholder_class_index,"cmplz-blocked-content-container"),e.setAttribute("data-placeholder_class_index",cmplz_placeholder_class_index),cmplz_insert_placeholder_text(e,n,c),n=t.getAttribute("data-placeholder-image"))&&void 0!==n&&n.length&&e.setAttribute("data-placeholder-image",n)}}),cmplzLazyLoader(),cmplz_has_consent("statistics")&&cmplz_enable_category("statistics"),cmplz_has_consent("marketing")&&cmplz_enable_category("marketing")}function cmplz_insert_placeholder_text(e,n,o){if(!e.querySelector(".cmplz-blocked-content-notice")){let t=complianz.placeholdertext;n=n||"marketing";let c;if(void 0!==t){if(1===Number(complianz.clean_cookies)){let e=o?o.replace("-"," "):"";e=e.charAt(0).toUpperCase()+e.slice(1),t=t.replace("{service}
6280",e),(c=cmplz_create_element("div",t)).innerHTML=cmplz_sanitize_placeholder_html(t),c.classList.add("cmplz-blocked-content-notice");var a=c.querySelector("button"),a=(a.setAttribute("data-service",o),a.setAttribute("data-category",n),a.setAttribute("aria-label",complianz.aria_label.replace("{service}",e)),complianz.page_links[complianz.region]),r=c.querySelector(".cmplz-links a");a&&a.hasOwnProperty("cookie-statement")?(r.setAttribute("href",a["cookie-statement"].url),"{title}"===r.innerText&&(r.innerText=a["cookie-statement"].title)):r&&(r.parentElement.style.display="none")}else{a=cmplz_create_element("button",""),r=complianz.categories.hasOwnProperty(n)?complianz.categories[n]:"marketing";a.innerText=t.replace("{category}",r),a.classList.add("cmplz-blocked-content-notice","cmplz-accept-category","cmplz-accept-"+n),a.setAttribute("data-service",o),a.setAttribute("data-category",n),a.setAttribute("aria-label",complianz.aria_label.replace("{category}",n)),c=a}("VIDEO"!==e.tagName?e:e.parentElement).appendChild(c)}}}function cmplz_set_blocked_content_container_aspect_ratio(t,c,n){var e;null!=t&&((e=new Image).addEventListener("load",function(){var e=this.naturalWidth||1,e=this.naturalHeight*(t.clientWidth/e),e=-1===c.indexOf("placeholder.jpg")?"height:"+e+"px;":"";cmplz_append_css(".cmplz-placeholder-"+n+" {"+e+"}")}),e.src=c)}let cmplzResizeTimer;function cmplz_enable_category(o,a){1===Number(complianz.tm_categories)&&""!==o&&cmplz_run_tm_event(o);var t={},t=(t.category=o,t.categories=cmplz_accepted_categories(),t.region=complianz.region,new CustomEvent("cmplz_before_category",{detail:t}));if(document.dispatchEvent(t),a=void 0!==a?a:"do_not_match","functional"!==(o=""===o?"do_not_match":o)){"marketing"===o&&cmplz_set_integrations_cookies();let e;e="do_not_match"!==a?'.cmplz-blocked-content-notice [data-service="'+a+'"]':1!==Number(complianz.clean_cookies)?".cmplz-blocked-content-notice.cmplz-accept-"+o:'.cmplz-blocked-content-notice [data-category="'+o+'"]',document.querySelectorAll(e).forEach(e=>{var t=e.getAttribute("data-service");e.parentNode.classList.contains("cmplz-blocked-content-notice")&&(e=e.parentNode),cmplz_is_service_denied(t)||e.parentNode.removeChild(e)}),document.querySelectorAll('[data-category="'+o+'"], [data-service="'+a+'"]').forEach(t=>{var e=t.getAttribute("data-service");if(!cmplz_is_service_denied(e)&&"functional"!==t.getAttribute("data-category")&&!t.classList.contains("cmplz-activated")){var e=t.tagName;if("LINK"===e){t.classList.add("cmplz-activated");var c=t.getAttribute("data-href");cmplz_load_css(c,o)}else if("IMG"===e){t.classList.add("cmplz-activated");c=t.getAttribute("data-src-cmplz");t.setAttribute("src",c),t.getAttribute("data-deferlazy")&&t.setAttribute("loading","lazy"),cmplz_remove_placeholder(t)}else if("IFRAME"===e){t.classList.add("cmplz-activated");let e=t.getAttribute("data-src-cmplz");c=t.getAttribute("data-cmplz-target")?t.getAttribute("data-cmplz-target"):"src";"1"===cmplz_get_url_parameter(t.getAttribute(c),"autoplay")&&(e+="&autoplay=1"),t.getAttribute("data-deferlazy")&&t.setAttribute("loading","lazy"),t.addEventListener("load",()=>{cmplz_remove_placeholder(t)}),t.setAttribute(c,e)}else t.classList.contains("cmplz-placeholder-element")&&(t.classList.add("cmplz-activated"),e=t.getAttribute("data-placeholder_class_index"),t.classList.remove("cmplz-blocked-content-container","cmplz-placeholder-"+e))}});t=document.querySelectorAll('script[data-category="'+o+'"], script[data-service="'+a+'"]');t.forEach(e=>{var t=e.getAttribute("data-waitfor"),c=e.getAttribute("data-cmplz-src");t&&(c?cmplz_waiting_scripts[t]=c:0<e.innerText.length&&(cmplz_waiting_inline_scripts[t]=e)),e.parentElement&&e.parentElement.removeChild(e)}),t.forEach(e=>{var t,c,n=e.getAttribute("type");!e.classList.contains("cmplz-activated")&&n&&"text/javascript"!==n&&(e.classList.add("cmplz-activated"),(n=e.getAttribute("data-cmplz-src"))?(e.removeAttribute("type"),cmplz_is_waiting_script(cmplz_waiting_scripts,n)||(e.getAttribute("data-post_scribe_id")?(t="#"+e.getAttribute("data-post_scribe_id"),(c=document.querySelector(t))&&(c.innerHtml(""),postscribe(t,"<script src="+n+"><\/script>"))):cmplz_run_script(n,o,a,"src",e))):0<e.innerText.length&&(cmplz_is_
6280waiting_script(cmplz_waiting_inline_scripts,e.innerText)||cmplz_run_script(e.innerText,o,a,"inline",e)))}),cmplz_run_after_all_scripts(o,a)}}function cmplz_remove_placeholder(e){var t,c=e.closest(".cmplz-blocked-content-container");c&&(t=c.getAttribute("data-placeholder_class_index"),c.classList.remove("cmplz-blocked-content-container","cmplz-placeholder-"+t)),e.classList.remove("cmplz-iframe-styles","cmplz-iframe","video-wrap")}function cmplz_get_waiting_script(e,t){for(var c in e){var n;if(e.hasOwnProperty(c))if(-1!==t.indexOf(c))return n=e[c],delete e[c],n}return!1}function cmplz_array_is_empty(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function cmplz_is_waiting_script(t,c){for(var n in t)if(t.hasOwnProperty(n)){let e=t[n];if("string"!=typeof e&&(e=e.innerText),-1!==c.indexOf(e)||-1!==e.indexOf(c))return!0}return!1}function cmplz_run_after_all_scripts(e,t){var c="do_not_match"!==t&&!cmplz_in_array(t,cmplz_fired_service_events),n="do_not_match"!==e&&!cmplz_in_array(e,cmplz_fired_category_events);(n||c)&&(n&&cmplz_fired_category_events.push(e),c&&cmplz_fired_service_events.push(t),(n={}).category=e,n.service=t,n.categories=cmplz_accepted_categories(),n.services=cmplz_get_all_service_consents(),n.region=complianz.region,c=new CustomEvent("cmplz_enable_category",{detail:n}),document.dispatchEvent(c)),!cmplz_all_scripts_hook_fired&&cmplz_array_is_empty(cmplz_waiting_inline_scripts)&&cmplz_array_is_empty(cmplz_waiting_scripts)&&(n=new CustomEvent("cmplz_run_after_all_scripts",{detail:e,service:t}),document.dispatchEvent(n),cmplz_all_scripts_hook_fired=!0)}window.addEventListener("resize",function(){clearTimeout(cmplzResizeTimer),cmplzResizeTimer=setTimeout(cmplz_set_blocked_content_container,500)},!0),1===Number(complianz.block_ajax_content)&&setInterval(function(){cmplz_set_blocked_content_container()},2e3);let cmplz_fired_events=[];function cmplz_run_tm_event(e){-1===cmplz_fired_events.indexOf(e)&&(cmplz_fired_events.push(e),window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"cmplz_event_"+e}),e=new CustomEvent("cmplz_tag_manager_event",{detail:e}),document.dispatchEvent(e))}function cmplz_fire_before_categories_consent(e){var t={},e=(t.categories=e,t.region=complianz.region,new CustomEvent("cmplz_before_categories_consent",{detail:t}));document.dispatchEvent(e)}function cmplz_check_cookie_policy_id(){var e=cmplz_get_cookie("policy_id");e&&parseInt(complianz.current_policy_id)!==parseInt(e)&&(cmplz_deny_all(),cmplz_set_banner_status("show"),cmplz_clear_cookies("cmplz"))}function cmplz_do_not_track(){var e="doNotTrack"in navigator&&"1"===navigator.doNotTrack,t="globalPrivacyControl"in navigator&&navigator.globalPrivacyControl;return!(!complianz.do_not_track_enabled||!t&&!e)}function cmplz_get_services_on_page(){let c=[];return document.querySelectorAll("[data-service]").forEach(e=>{var t=e.getAttribute("data-service"),e=e.getAttribute("data-category");-1===c.indexOf(t)&&c.push({category:e,service:t})}),c}function cmplzEnsureBannerCss(){var e="cmplz-banner-"+complianz.user_banner_id+"-"+complianz.consenttype+"-css",e=document.getElementById(e);if(e&&"stylesheet"===e.rel)return e.sheet&&e.sheet.disabled&&(e.sheet.disabled=!1),e;var t,e=complianz.css_file.replace("{type}",complianz.consenttype).replace("{banner_id}",complianz.user_banner_id);-1!==complianz.css_file.indexOf("cookiebanner/css/defaults/banner")&&cmplz_log("Fallback default css file used. Please re-save banner settings, or check file writing permissions in uploads directory");let c=e.split("?")[0].split("/").pop(),n=null;return document.querySelectorAll('link[rel="stylesheet"]').forEach(function(e){e.href.split("?")[0].split("/").pop()===c&&(n=e)}),n?(n.sheet&&n.sheet.disabled&&(n.sheet.disabled=!1),n):((t=document.createElement("link")).href=e,t.type="text/css",t.rel="stylesheet",document.getElementsByTagName("head")[0].appendChild(t),t)}function cmplzSyncConsentState(){var e=document.querySelectorAll(".cmplz-cookiebanner");1<e.length&&e.forEach(function(e){e.closest("[data-wp-router-region]")&&e.remove()});let t="dismissed"===cmplz_get_banner_status();document.querySelectorAll(".cmplz-cookiebanner").forEach(function(e){e.classList.toggle("cmplz-show",!t),e.classList.toggle("cmplz-dismissed",t)});e=document.querySelectorAll("#cmplz-manage-consent");Array.prototype.some.call(e,function(e){return!e.closest("[data-wp-router-region]")})&&e.forEach(function(e){e.closest("[data-wp-router-region]")&&e.remove()})}function cmplzInitNavigationHook(){if(document.querySelector("[data-wp-router-region]")){let e=function(){cmplzEnsureBannerCss(),cmplzSyncConsentState()};
6280if("module"===complianz.iapi_nav)document.addEventListener("cmplz_router_navigated",e);else{let c=function(){requestAnimationFrame(function(){e(),setTimeout(e,150)})};["pushState","replaceState"].forEach(function(e){let t=history[e];history[e]=function(){var e=t.apply(this,arguments);return c(),e}}),window.addEventListener("popstate",c)}}}function cmplz_is_bot(){var e=new RegExp("(googlebot/|Googlebot-Mobile|Google-InspectionTool|Googlebot-Image|Google favicon|Mediapartners-Google|bingbot|slurp|java|wget|curl|Commons-HttpClient|Python-urllib|libwww|httpunit|nutch|phpcrawl|msnbot|jyxobot|FAST-WebCrawler|FAST Enterprise Crawler|biglotron|teoma|convera|seekbot|gigablast|exabot|ngbot|ia_archiver|GingerCrawler|webmon |httrack|webcrawler|grub.org|UsineNouvelleCrawler|antibot|netresearchserver|speedy|fluffy|bibnum.bnf|findlink|msrbot|panscient|yacybot|AISearchBot|IOI|ips-agent|tagoobot|MJ12bot|dotbot|woriobot|yanga|buzzbot|mlbot|yandexbot|purebot|Linguee Bot|Voyager|CyberPatrol|voilabot|baiduspider|citeseerxbot|spbot|twengabot|postrank|turnitinbot|scribdbot|page2rss|sitebot|linkdex|Adidxbot|blekkobot|ezooms|dotbot|Mail.RU_Bot|discobot|heritrix|findthatfile|europarchive.org|NerdByNature.Bot|sistrix crawler|ahrefsbot|Aboundex|domaincrawler|wbsearchbot|summify|ccbot|edisterbot|seznambot|ec2linkfinder|gslfbot|aihitbot|intelium_bot|facebookexternalhit|yeti|RetrevoPageAnalyzer|lb-spider|sogou|lssbot|careerbot|wotbox|wocbot|ichiro|DuckDuckBot|lssrocketcrawler|drupact|webcompanycrawler|acoonbot|openindexspider|gnam gnam spider|web-archive-net.com.bot|backlinkcrawler|coccoc|integromedb|content crawler spider|toplistbot|seokicks-robot|it2media-domain-crawler|ip-web-crawler.com|siteexplorer.info|elisabot|proximic|changedetection|blexbot|arabot|WeSEE:Search|niki-bot|CrystalSemanticsBot|rogerbot|360Spider|psbot|InterfaxScanBot|Lipperhey SEO Service|CC Metadata Scaper|g00g1e.net|GrapeshotCrawler|urlappendbot|brainobot|fr-crawler|binlar|SimpleCrawler|Livelapbot|Twitterbot|cXensebot|smtbot|bnf.fr_bot|A6-Indexer|ADmantX|Facebot|Twitterbot|OrangeBot|memorybot|AdvBot|MegaIndex|SemanticScholarBot|ltx71|nerdybot|xovibot|BUbiNG|Qwantify|archive.org_bot|Applebot|TweetmemeBot|crawler4j|findxbot|SemrushBot|yoozBot|lipperhey|y!j-asr|Domain Re-Animator Bot|AddThis)","i"),t=navigator.userAgent;return e.test(t)}function cmplz_is_speedbot(){var e=navigator.userAgent;return new RegExp("(GTmetrix|pingdom|pingbot|Lighthouse)","i").test(e)}function cmplz_exists_service_consent(){var e,t=cmplz_get_cookie("consented_services");try{for(var c in e=JSON.parse(t))if(e.hasOwnProperty(c)&&!0===e[c])return!0}catch(e){}return!1}function cmplz_set_service_consent(e,t){var c=cmplz_get_cookie("consented_services");let n;try{n=JSON.parse(c)}catch(e){n={}}n[e]=t,cmplz_set_cookie("consented_services",JSON.stringify(n));c={},c.service=e,c.value=t,c.region=complianz.region,cmplz_all_scripts_hook_fired=!1,e=new CustomEvent("cmplz_status_change_service",{detail:c});document.dispatchEvent(e)}function cmplz_clear_all_service_consents(){cmplz_set_cookie("consented_services","")}function cmplz_get_all_service_consents(){var e=cmplz_get_cookie("consented_services");let t;try{t=JSON.parse(e)}catch(e){t={}}return t}function cmplz_get_cookie_path(){return void 0!==complianz.cookie_path&&""!==complianz.cookie_path?complianz.cookie_path:"/"}function cmplz_get_cookie_domain(){return 1===Number(complianz.set_cookies_on_root)&&3<complianz.cookie_domain.length&&!complianz.cookie_domain.includes("localhost")?complianz.cookie_domain:""}function cmplz_reload_browser_compatible(){var e;-1<navigator.userAgent.toLowerCase().indexOf("firefox")?((e=new
6280URL(window.location.href)).searchParams.set("cmplz-force-reload",Date.now().toString()),window.location.href=e.toString()):window.location.reload()}window.cmplz_accept_all=function(){for(var e in cmplz_clear_all_service_consents(),cmplz_fire_before_categories_consent(cmplz_categories),cmplz_categories)cmplz_categories.hasOwnProperty(e)&&cmplz_set_consent(cmplz_categories[e],"allow");cmplz_sync_category_checkboxes()},window.cmplz_deny_all=function(){for(var e in cmplz_categories)cmplz_categories.hasOwnProperty(e)&&cmplz_set_consent(cmplz_categories[e],"deny");let t=!1;"functional"===cmplz_highest_accepted_category()&&!cmplz_exists_service_consent()||(t=!0),cmplz_clear_cookies("cmplz_service")&&(t=!0),cmplz_clear_all_service_consents(),cmplz_integrations_revoke(),cmplz_fire_categories_event(),cmplz_track_status();var c=new CustomEvent("cmplz_revoke",{detail:t});document.dispatchEvent(c),!complianz.tcf_active&&t&&cmplz_reload_browser_compatible()},window.conditionally_show_banner=function(){complianz=cmplz_merge_object(complianz,cmplz_user_data),cmplz_maybe_auto_redirect(),cmplz_set_blocked_content_container(),window.wp_consent_type=complianz.consenttype;var e,t,c,n=new CustomEvent("wp_consent_type_defined"),o=(document.dispatchEvent(n),n=new CustomEvent("cmplz_before_cookiebanner"),document.dispatchEvent(n),1===Number(complianz.forceEnableStats)&&"optin"===complianz.consenttype&&cmplz_set_consent("statistics","allow"),cmplz_categories.reverse()),a=[];for(e in o)o.hasOwnProperty(e)&&(t=cmplz_categories[e],cmplz_has_consent(t))&&a.push(t);for(c in cmplz_fire_before_categories_consent(a),a)o.hasOwnProperty(c)&&cmplz_enable_category(a[c]);if(cmplz_exists_service_consent()){cmplz_enable_category("","general");var r,l,i,s=cmplz_get_services_on_page();for(r in s)s.hasOwnProperty(r)&&(l=s[r].service,i=s[r].category,cmplz_has_service_consent(l,i))&&(document.querySelectorAll('.cmplz-accept-service[data-service="'+l+'"]').forEach(e=>{e.checked=!0}),cmplz_enable_category("",l))}cmplz_sync_category_checkboxes(),cmplz_integrations_init(),cmplz_check_cookie_policy_id(),cmplz_set_up_auto_dismiss(),cmplz_load_manage_consent_container(),n=new CustomEvent("cmplz_cookie_banner_data",{detail:complianz}),document.dispatchEvent(n),""===cmplz_get_cookie("saved_categories")&&("optin"!==complianz.consenttype&&"optout"!==complianz.consenttype?cmplz_track_status():cmplz_do_not_track()&&cmplz_track_status("do_not_track")),cmplz_set_category_as_body_class(),cmplz_fire_categories_event(),cmplz_do_not_track()?(cmplz_log("global privacy control or do not track detected: no banner."),cmplz_track_status("do_not_track")):("optin"===complianz.consenttype?(complianz.forceEnableStats&&cmplz_enable_category("statistics"),cmplz_log("opt-in"),show_cookie_banner):"optout"===complianz.consenttype?(cmplz_log("opt-out"),show_cookie_banner):(cmplz_log("other consent type, no cookie warning"),cmplz_accept_all))()},window.show_cookie_banner=function(){let t=complianz.disable_cookiebanner||cmplz_is_speedbot(),e=!1;(document.querySelector("#cmplz-manage-consent-container")||document.querySelector(".cmplz-dropdown-cookiepolicy"))&&(e=!0);var c=document.getElementById("cmplz-cookiebanner-container");c&&document.body.prepend(c);let n=complianz.page_links[complianz.region];(cmplz_banner=document.querySelector(".cmplz-cookiebanner.banner-"+complianz.user_banner_id+"."+complianz.consenttype))||(t=!0),cmplz_manage_consent_button=document.querySelector("#cmplz-manage-consent .cmplz-manage-consent.manage-consent-"+complianz.user_banner_id);function o(){var e;t||(cmplz_banner.classList.remove("cmplz-hidden"),cmplz_manage_consent_button.classList.remove("cmplz-hidden"),"show"===cmplz_get_banner_status()&&(cmplz_trap_focus(),e=cmplz_banner.querySelector(".cmplz-close"))&&e.focus())}c=cmplzEnsureBannerCss(),t||((!c||!c.sheet)&&c?(c.addEventListener("load",o),setTimeout(o,500)):o()),cmplz_banner&&!t&&(cmplz_banner.querySelectorAll(".cmplz-links a:not(.cmplz-external), .cmplz-buttons a:not(.cmplz-external)").forEach(e=>{var t,c=e;for(t in c.classList.add("cmplz-hidden"),n)n.hasOwnProperty(t)&&c.classList.contains(t)&&(c.setAttribute("href",n[t].url+c.getAttribute("data-relative_url")),"{title}"===c.innerText&&(c.innerText=cmplz_html_decode(n[t].title)),c.classList.remove("cmplz-hidden"))}),cmplz_set_banner_status(),e)&&(cmplz_banner.classList.remove("cmplz-show"),cmplz_banner.classList.add("cmplz-dismissed"),cmplz_manage_consent_button.classList.remove("cmplz-dismissed"),cmplz_manage_consent_button.classList.add("cmplz-show")),c=new CustomEvent("cmplz_cookie_warning_loaded",{detail:complianz.region});document.dispatchEvent(c)},window.cmplz_get_banner_status=function(){return cmplz_get_cookie("banner-status")},window.cmplz_set_banner_status=function(e){let t=cmplz_get_cookie("banner-status");(e=void 0!==e?e:t)!==t&&cmplz_set_cookie("banner-status",e),0===e.length&&(e="show"),t="show"===e?"dismissed":"show",cmplz_banner&&0<e.length&&(cmplz_banner.classList.remove("cmplz-"+t),cmplz_banner.classList.add("cmplz-"+e),cmplz_manage_consent_button)&&(cmplz_manage_consent_button.classList.add("cmplz-"+t),cmplz_manage_consent_button.classList.remove("cmplz-"+e)),cmplz_banner_container&&complianz.soft_cookiewall&&(cmplz_banner_container.classList.remove("cmplz-"+t),cmplz_banner_container.classList.add("cmplz-"+e,"cmplz-soft-cookiewall"));var c=new CustomEvent("cmplz_banner_status",{detail:e});document.dispatchEvent(c),cmplz_start_clean(),"show"===e?(cmplz_trap_focus(),(c=cmplz_banner.querySelector(".cmplz-close"))&&c.focus()):cmplz_release_focus_trap()},window.cmplz_has_consent=function(e){if(cmplz_is_bot())return!0;
6280if("functional"===e)return!0;let t,c;return t=cmplz_do_not_track()?(c=cmplz_get_cookie(e),"allow"===c):(c=cmplz_get_cookie(e),("optout"===complianz.consenttype||"other"===complianz.consenttype)&&""===c||"allow"===c)},window.cmplz_is_service_denied=function(e){var t=cmplz_get_cookie("consented_services");let c;try{c=JSON.parse(t)}catch(e){c={}}return!!c.hasOwnProperty(e)&&!c[e]},window.cmplz_has_service_consent=function(e,t){var c=cmplz_get_cookie("consented_services");let n;try{n=JSON.parse(c)}catch(e){n={}}return n.hasOwnProperty(e)?n[e]:cmplz_has_consent(t)},window.cmplz_set_consent=function(e,t){cmplz_set_accepted_cookie_policy_id(),t="functional"===e?"allow":t;var c,n=cmplz_get_cookie(e);let o="allow"===t;document.querySelectorAll("input.cmplz-"+e).forEach(e=>{e.checked=o}),n!==t&&(cmplz_set_cookie(e,t),"allow"===t&&cmplz_enable_category(e),cmplz_wp_set_consent(e,t),"statistics"===e&&cmplz_wp_set_consent("statistics-anonymous","allow"),(c=new Object).category=e,c.value=t,c.region=complianz.region,c.categories=cmplz_accepted_categories(),cmplz_all_scripts_hook_fired=!1,c=new CustomEvent("cmplz_status_change",{detail:c}),document.dispatchEvent(c),"marketing"===e)&&"deny"===t&&"allow"===n&&(cmplz_integrations_revoke(),setTimeout(function(){cmplz_reload_browser_compatible()},500))};let cmplz_user_data=[];if("undefined"!=typeof Storage&&sessionStorage.cmplz_user_data&&(cmplz_user_data=JSON.parse(sessionStorage.cmplz_user_data)),1!==Number(complianz.geoip)||0!==cmplz_user_data.length&&cmplz_user_data.version===complianz.version&&cmplz_user_data.banner_version===complianz.banner_version)conditionally_show_banner();else{let e=new XMLHttpRequest,t=cmplz_get_url_parameter(window.location.href,"cmplz_user_region");t=t?"&cmplz_user_region="+t:"",e.open("GET",complianz.url+"banner?"+complianz.locale+t,!0),e.setRequestHeader("Content-type","application/json"),e.send(),e.onload=function(){cmplz_user_data=JSON.parse(e.response),sessionStorage.cmplz_user_data=JSON.stringify(cmplz_user_data),conditionally_show_banner()}}if(cmplzInitNavigationHook(),1===Number(complianz.store_consent)){let e=cmplz_get_cookie("id"),t="",c="";"undefined"!=typeof Storage&&sessionStorage.cmplz_id&&(t=JSON.parse(sessionStorage.cmplz_id)),0===e.length&&0<t.length&&(c=t,cmplz_set_cookie("id",c)),0<e.length&&0===t.length&&(c=e),"undefined"!=typeof Storage&&(sessionStorage.cmplz_id=JSON.stringify(c))}function cmplz_track_status_end(){cmplz_consent_stored_once||cmplz_track_status()}function cmplz_set_up_auto_dismiss(){if("dismissed"!==cmplz_get_banner_status()){if("optout"===complianz.consenttype&&1===Number(complianz.dismiss_on_scroll)){let e=function(){window.pageYOffset>Math.floor(400)&&(window.removeEventListener("scroll",e),this.onWindowScroll=null,"dismissed"!==cmplz_get_banner_status())&&(cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status())};window.addEventListener("scroll",e)}var e=parseInt(complianz.dismiss_timeout);"optout"===complianz.consenttype&&0<e&&window.setTimeout(function(){"dismissed"!==cmplz_get_banner_status()&&(cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status())},Math.floor(e))}}function cmplz_fire_categories_event(){var e=new Object,e=(e.category=cmplz_highest_accepted_category(),e.categories=cmplz_accepted_categories(),e.region=complianz.region,new CustomEvent("cmplz_fire_categories",{detail:e}));document.dispatchEvent(e)}function cmplz_track_status(e){let t=[];e=void 0!==e&&e;var c=new CustomEvent("cmplz_track_status",{detail:e});document.dispatchEvent(c),t=e?[e]:cmplz_accepted_categories(),cmplz_set_category_as_body_class();let n,o;try{n=JSON.parse(cmplz_get_cookie("saved_categories"))}catch(e){n={}}try{o=JSON.parse(cmplz_get_cookie("saved_services"))}catch(e){o={}}var c=cmplz_get_all_service_consents();cmplz_equals(n,t)&&cmplz_equals(o,c)||1!==Number(complianz.store_consent)||cmplz_is_bot()||cmplz_is_speedbot()||(cmplz_set_cookie("saved_categories",JSON.stringify(t)),cmplz_set_cookie("saved_services",JSON.stringify(c)),cmplz_consent_stored_once=!0,e={consented_categories:t,consented_services:c,consenttype:window.wp_consent_type},(c=new XMLHttpRequest).open("POST",complianz.url+"track",!0),c.setRequestHeader("Content-type","application/json"),c.send(JSON.stringify(e)))}function cmplz_accepted_categories(){let e=cmplz_categories,t=[];for(var c in e)e.hasOwnProperty(c)&&(c=e[c],cmplz_has_consent(c))&&t.pu
6280sh(c);return e=e.filter(function(e){return cmplz_in_array(e,t)})}function cmplz_sync_category_checkboxes(){for(var e in cmplz_categories)cmplz_categories.hasOwnProperty(e)&&(e=cmplz_categories[e],cmplz_has_consent(e)||"functional"===e?document.querySelectorAll("input.cmplz-"+e).forEach(e=>{e.checked=!0}):document.querySelectorAll("input.cmplz-"+e).forEach(e=>{e.checked=!1})),document.querySelectorAll(".cmplz-accept-service").forEach(e=>{var t=e.getAttribute("data-service"),c=e.getAttribute("data-category");cmplz_has_service_consent(t,c)?e.checked=!0:cmplz_is_service_denied(t)?e.checked=!1:e.checked=!!cmplz_has_consent(c)})}function cmplz_merge_object(e,t){var c,n,o={};for(c in t)t.hasOwnProperty(c)&&(o[c]=t[c]);for(n in e)t.hasOwnProperty(n)&&void 0!==t[n]||e.hasOwnProperty(n)&&(o[n]=e[n]);return o}function cmplz_clear_cookies(t){if("undefined"==typeof document)return!1;let a=!1,r="https:"===window.location.protocol?";secure":"",l="expires="+(new Date).toGMTString(),i=location.pathname.replace(/^\/|\/$/g,"").split("/");return document.cookie.split("; ").forEach(function(e){let n=e.split(";")[0].split("=")[0];if(-1!==n.indexOf(t)){a=!0;let c=window.location.hostname.split(".");var o=1<c.length;for(i.forEach(function(e){e="/"+e;document.cookie=encodeURIComponent(n)+"=;SameSite=Lax"+r+";"+l+";domain=."+c.join(".")+";path="+e,document.cookie=encodeURIComponent(n)+"=;SameSite=Lax"+r+";"+l+";domain=."+c.join(".")+";path="+e+"/"});0<c.length;){let t="."+c.join(".");
6280c.shift(),o&&1===c.length&&c.shift(),i.forEach(function(e){e="/"+e;document.cookie=encodeURIComponent(n)+"=;SameSite=Lax"+r+";"+l+";domain="+t+";path="+e,document.cookie=encodeURIComponent(n)+"=;SameSite=Lax"+r+";"+l+";domain="+t+";path="+e+"/"})}}}),cmplz_set_accepted_cookie_policy_id(),a}function cmplz_set_accepted_cookie_policy_id(){cmplz_set_cookie("policy_id",complianz.current_policy_id)}function cmplz_integrations_init(){var e,t=complianz.set_cookies;for(e in t)t.hasOwnProperty(e)&&"1"===t[e][1]&&cmplz_set_cookie(e,t[e][1],!1)}function cmplz_integrations_revoke(){var e,t,c=complianz.set_cookies;for(e in c)c.hasOwnProperty(e)&&(t=c[e][1],cmplz_set_cookie(e,t,!1),0===Number(t))&&cmplz_clear_cookies(e)}function cmplz_set_integrations_cookies(){var e,t=complianz.set_cookies;for(e in t)t.hasOwnProperty(e)&&cmplz_set_cookie(e,t[e][0],!1)}function cmplz_get_url_parameter(e,t){if(e&&void 0!==e&&-1!==e.indexOf("?")){e=e.split("?")[1];if(e){var c=e.split("&");for(let e=0;e<c.length;e++){var n=c[e].split("=");if(n[0]===t)return void 0===n[1]||decodeURIComponent(n[1])}}}return!1}function cmplz_maybe_auto_redirect(){var e=cmplz_get_url_parameter(window.location.href,"cmplz_region_redirect"),t=cmplz_get_url_parameter(window.location.href,"cmplz-region");e&&!t&&(e=window.location.href.split("#")[0]+"&cmplz-region="+complianz.region,t=window.location.hash,window.location.href=e+t)}function cmplz_wp_set_consent(e,t){"function"==typeof wp_set_consent&&wp_set_consent(e,t)}function cmplz_start_clean(){if(1===Number(complianz.clean_cookies))if((cmplz_cookie_data="undefined"!=typeof Storage?JSON.parse(sessionStorage.getItem("cmplz_cookie_data")):cmplz_cookie_data)&&0!==cmplz_cookie_data.length)cmplz_setup_clean_interval();else{let e=new XMLHttpRequest;e.open("GET",complianz.url+"cookie_data",!0),e.setRequestHeader("Content-type","application/json"),e.send(),e.onload=function(){cmplz_cookie_data=JSON.parse(e.response),sessionStorage.setItem("cmplz_cookie_data",JSON.stringify(cmplz_cookie_data)),cmplz_setup_clean_interval()}}}function cmplz_do_cleanup(){var e;for(e of["preferences","statistics","marketing"])if(!cmplz_has_consent(e)&&cmplz_cookie_data.hasOwnProperty(e)){var t,c,n=cmplz_cookie_data[e];for(t in n)if(!cmplz_has_service_consent(t,e))for(c of n[t])cmplz_clear_cookies(c),cmplz_clear_storage(c)}}function cmplz_setup_clean_interval(){!cmplz_cookie_data||cmplzCleanCookieInterval||(cmplz_do_cleanup(),cmplzCleanCookieInterval=setInterval(cmplz_do_cleanup,1e3))}function cmplz_clear_storage(e){"undefined"!=typeof Storage&&(localStorage.getItem(e)&&localStorage.removeItem(e),sessionStorage.getItem(e))&&sessionStorage.removeItem(e)}function cmplz_load_manage_consent_container(){let c=document.querySelector(".cmplz-manage-consent-container");if(c){let t=new XMLHttpRequest;t.open("GET",complianz.url+"manage_consent_html?"+complianz.locale,!0),t.setRequestHeader("Content-type","application/json"),t.send(),t.onload=function(){var e=JSON.parse(t.response);c.insertAdjacentHTML("beforeend",e),cmplz_sync_category_checkboxes();document.querySelector("#cmplz-manage-consent-container-nojavascript").style.display="none",c.style.display="block";e=new CustomEvent("cmplz_manage_consent_container_loaded");document.dispatchEvent(e)}}}function cmplz_equals(c,n){if("object"!=typeof c||null===c||Array.isArray(c)||"object"!=typeof n||null===n||Array.isArray(n)){if(Array.isArray(c)||(c=Object.keys(c),n=Object.keys(n)),!c||!n)return!1;if(c.length!==n.length)return!1;for(let e=0,t=c.length;e<t;e++)if(c[e]instanceof Array&&n[e]instanceof Array){if(!cmplz_equals(c[e],n[e]))return!1}else if(c[e]!==n[e])return!1}else{var e;for(e of[...new Set([...Object.keys(c),...Object.keys(n)])])if(c[e]!==n[e])return!1}return!0}function cmplzCopyAttributes(e,t){let c=["type","data-service","data-category","async"];Array.from(e.attributes).forEach(e=>{"data-script-type"===e.nodeName&&"module"===e.nodeValue?(t.setAttribute("type","module"),t.removeAttribute("data-script-type")):c.includes(e.nodeName)||t.setAttribute(e.nodeName,e.nodeValue)})}document.addEventListener("visibilitychange",function(){"hidden"===document.visibilityState&&cmplz_track_status_end()}),window.addEventListener("pagehide",cmplz_track_status_end,!1),window.addEventListener("beforeunload",cmplz_track_status_end,!1),document.addEventListener("cmplz_consent_action",function(e){cmplz_set_consent(e.detail.category,"allow"),cmplz_fire_categories_event(),cmplz_track_status()}),cmplz_add_event("click",".cmplz-accept",function(e){e.preventDefault(),setTimeout(()=>{cmplz_accept_all(),cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status()},0)}),cmplz_add_event("click",".cmplz-accept-category, .cmplz-accept-marketing",function(e){e.preventDefault();var e=e.target,t=e.getAttribute("data-service"),e=e.getAttribute("data-category")||"marketing";1===Number(complianz.clean_cookies)&&void 0!==t&&t?(cmplz_set_service_consent(t,!0),cmplz_enable_category("","general"),cmplz_enable_category("",t)):cmplz_set_consent(e,"allow"),cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status()}),cmplz_add_event("click",".cmplz-accept-service",function(e){var e=e.target;"INPUT"!==e.tagName&&(void 0!==(e=e.getAttribute("data-service"))&&(cmplz_set_service_consent(e,!0),cmplz_enable_category("","general"),cmplz_enable_category("",e)),cmplz_fire_categories_event(),cmplz_track_status())}),cmplz_add_event("change",".cmplz-accept-service",function(e){var t=e.target,c=t.tagName,n=t.getAttribute("data-service");void 0!==n&&("INPUT"===c?(cmplz_set_banner_status("dismissed"),t.checked?(cmplz_set_service_consent(n,!0),cmplz_enable_category("",n)):(cmplz_set_service_consent(n,!1),setTimeout(function(){cmplz_reload_browser_compatible()},500))):(e.preventDefault(),cmplz_set_service_consent(n,!0),cmplz_enable_category("","general"),cmplz_enable_category("",n),setTimeout(function(){cmplz_reload_browser_compatible()},500))),cmplz_fire_categories_event(),cmplz_track_status()}),cmplz_add_event("click",".cmplz-save-preferences",function(e){var t,c,n,o,a,e=e.target,r=(cmplz_banner=e.closest(".cmplz-cookiebanner"),[]);for(t in cmplz_categories)cmplz_categories.hasOwnProperty(t)&&(c=cmplz_categories[t],n=cmplz_banner.querySelector("input.cmplz-"+c))&&n.checked&&r.push(c);for(o in cmplz_fire_before_categories_consent(r),cmplz_categories)cmplz_categories.hasOwnProperty(o)&&(a=cmplz_categories[o],r.includes(a)?cmplz_set_consent(a,"allow"):cmplz_set_consent(a,"deny"));cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status()}),cmplz_add_event("click",".cmplz-close",function(){cmplz_set_banner_status("dismissed")}),cmplz_add_event("click",".cmplz-view-preferences",function(e){var e=e.target;(cmplz_banner=e.closest(".cmplz-cookiebanner")).querySelector(".cmplz-categories").classList.contains("cmplz-fade-in")?(cmplz_banner.classList.remove("cmplz-categories-v
6280isible"),cmplz_banner.querySelector(".cmplz-categories").classList.remove("cmplz-fade-in"),cmplz_banner.querySelector(".cmplz-view-preferences").style.display="block",cmplz_banner.querySelector(".cmplz-save-preferences").style.display="none"):(cmplz_banner.classList.add("cmplz-categories-visible"),cmplz_banner.querySelector(".cmplz-categories").classList.add("cmplz-fade-in"),cmplz_banner.querySelector(".cmplz-view-preferences").style.display="none",cmplz_banner.querySelector(".cmplz-save-preferences").style.display="block",(e=cmplz_banner.querySelector(".cmplz-categories .cmplz-category"))&&(e=e.querySelector(".cmplz-category-toggle"))&&e.focus())}),cmplz_add_event("click",".cmplz-category-toggle",function(e){var t,e=e.target.closest(".cmplz-category-toggle");e&&(t="true"===e.getAttribute("aria-expanded"),e.setAttribute("aria-expanded",String(!t)),e=e.closest(".cmplz-category"))&&(e=e.querySelector(".cmplz-description"))&&(e.hidden=t)}),cmplz_add_event("change",".cmplz-manage-consent-container .cmplz-category",function(){for(var e in cmplz_categories){var t;cmplz_categories.hasOwnProperty(e)&&(e=cmplz_categories[e],t=document.querySelector(".cmplz-manage-consent-container input.cmplz-"+e))&&(t.checked?cmplz_set_consent(e,"allow"):cmplz_set_consent(e,"deny"),cmplz_set_banner_status("dismissed"),cmplz_fire_categories_event(),cmplz_track_status())}}),cmplz_add_event("click",".cmplz-deny",function(e){e.preventDefault(),cmplz_set_banner_status("dismissed"),cmplz_deny_all()}),cmplz_add_event("click","button.cmplz-manage-settings",function(e){e.preventDefault();var e=document.querySelector(".cmplz-cookiebanner .cmplz-categories"),t=document.querySelector(".cmplz-save-settings"),c=document.querySelector("button.cmplz-manage-settings");cmplz_is_hidden(e)?(t.style.display="block",c.style.display="none",e.style.display="block"):(t.style.display="none",c.style.display="block",e.style.display="none")}),cmplz_add_event("click","button.cmplz-manage-consent",function(e){e.preventDefault(),cmplz_banner_trigger_source="manage-consent",cmplz_set_banner_status("show")}),cmplz_add_event("keypress",".cmplz-banner-slider label",function(e){32===(e.keyCode||e.which)&&e.target.click()}),cmplz_add_event("keypress",".cmplz-cookiebanner .cmplz-header .cmplz-close",function(e){13===(e.keyCode||e.which)&&e.target.click()});let cmplz_has_wp_video=document.querySelector(".cmplz-wp-video-shortcode"),cmplz_times_checked=0;void 0!==window.jQuery&&jQuery(document).ready(function(i){if(cmplz_has_wp_video){document.addEventListener("cmplz_enable_category",function(){t()});let e=setInterval(function(){cmplz_times_checked+=1,document.querySelector(".cmplz-wp-video-shortcode")&&cmplz_times_checked<100?t():clearInterval(e)},500)}function t(){if(document.querySelector(".cmplz-wp-video-shortcode")){var e,t,n,o=cmplz_accepted_categories(),a=cmplz_get_all_service_consents(),r=[];for(e in o)if(o.hasOwnProperty(e)){var l=o[e];if("functional"===l)break;r.push('.cmplz-wp-video-shortcode[data-category="'+l+'"]')}for(t in a)a.hasOwnProperty(t)&&r.push('.cmplz-wp-video-shortcode[data-service="'+t+'"]');n=r.join(",");let c=!1;0<n.length&&document.querySelectorAll(n).forEach(e=>{c=!0,e.setAttribute("controls","controls"),e.classList.add("wp-video-shortcode","cmplz-processed"),e.classList.remove("cmplz-wp-video-shortcode"),e.closest(".cmplz-wp-video").classList.remove("cmplz-wp-video");var t=e.closest(".wp-video").querySelector(".cmplz-blocked-content-notice");t&&t.parentElement.removeChild(t),e.classList.remove("cmplz-blocked-content-container")}),c&&(window.wp.mediaelement?window.wp.mediaelement.initialize():(n={videoWidth:"100%",videoHeight:"100%",enableAutosize:!0},i(".wp-video-shortcode").mediaelementplayer(n)))}}function c(e){e=i(e);"function"==typeof e.parent().fitVids&&e.parent().fitVids()}document.querySelectorAll(".cmplz-video.cmplz-activated").forEach(e=>{c(e)}),document.addEventListener("cmplz_enable_category",function(){document.querySelectorAll(".cmplz-video.cmplz-activated").forEach(e=>{c(e)})})}); 6281 6282 6283 6284 let cmplz_activated_divi_maps = false; 6285 document.addEventListener("cmplz_enable_category", function (e) { 6286 if (!cmplz_activated_divi_maps && (e.detail.category==='marketing' || e.detail.service === 'google-maps') ){ 6287 cmplz_divi_init_map(); 6288 } 6289 }); 6290 6291 function cmplz_divi_init_map() { 6292 if ('undefined' === typeof window.jQuery || 'undefined' === typeof window.et_pb_map_init ) { 6293 setTimeout(cmplz_divi_init_map, 1000); 6294 } else { 6295 let map_container = jQuery(".et_pb_map_container"); 6296 map_container.each(function () { 6297 window.et_pb_map_init(jQuery(this)); 6298 cmplz_activated_divi_maps = true; 6299 }) 6300 } 6301 } 6302 setTimeout(cmplz_divi_init_map, 300); 6303 6304 6305 6306 6307 function ensure_complianz_is_loaded() { 6308 let timeout = 30000000; // 30 seconds 6309 let start = Date.now();
6310 return new Promise(wait_for_complianz); 6311 6312 function wait_for_complianz(resolve, reject) { 6313 if (window.cmplz_get_cookie) // if complianz is loaded, resolve the promise 6314 resolve(window.cmplz_get_cookie); 6315 else if (timeout && (Date.now() - start) >= timeout) 6316 reject(new Error("timeout")); 6317 else 6318 setTimeout(wait_for_complianz.bind(this, resolve, reject), 30); 6319 } 6320 } 6321 6322 // This runs the promise code 6323 ensure_complianz_is_loaded().then(function(){ 6324 6325 6326 document.addEventListener("burst_before_track_hit", function(burstData) { 6327 if ( cmplz_has_consent('statistics') ) { 6328 window.burst_enable_cookieless_tracking = 0; 6329 } 6330 }); 6331 document.addEventListener("cmplz_status_change", function (){ 6332 if ( cmplz_has_consent('statistics') ) { 6333 window.burst_enable_cookieless_tracking = 0; 6334 let event = new CustomEvent('burst_enable_cookies'); 6335 document.dispatchEvent( event ); 6336 } 6337 }); 6338 6339 }); 6340 6341 6342 6343!function(){var t={6611:function(t,e,n){"use strict";n.d(e,{top_window:function(){return o}});let a,o=window,r=!1;try{a=!!window.top.document&&window.top}catch(t){a=!1}a&&a.__Cypress__?window.parent===a?(o=window,r=!1):(o=window.parent,r=!0):a&&(o=a,r=a!==window.self)},97981:function(t,e,n){"use strict";n.d(e,{isBuilder:function(){return p}});var a=n(27361),o=n.n(a),r=n(19567),i=n.n(r),s=n(6611);const c=()=>window.et_builder_utils_params?window.et_builder_utils_params:s.top_window.et_builder_utils_params?s.top_window.et_builder_utils_params:{},u=()=>o()(c(),"builderType",""),l=t=>t===u(),d=t=>o()(c(),`condition.${t}`),p=(l("fe"),l("vb"),l("bfb"),l("tb"),l("lbb"),d("diviTheme"),d("extraTheme"),l("lbp"),i()(s.top_window.document).find(".edit-post-layout__content").length,["vb","bfb","tb","lbb"].includes(u()))},50843:function(t,e,n){"use strict";n.d(e,{f:function(){return a}});const a=()=>window.innerWidth||document.documentElement.clientWidth},44167:function(t,e,n){"use strict";n.d(e,{getCurrentWindowMode:function(){return i},getEnabledBreakpoints:function(){return o}});const a=[{enable:!0,order:50,name:"desktop",baseDevice:!0,label:"Desktop"},{enable:!0,maxWidth:{value:"980px",default:980},order:30,name:"tablet",label:"Tablet"},{enable:!0,maxWidth:{value:"767px",default:767},order:10,name:"phone",label:"Phone"}],o=()=>window?.diviBreakpointData?.enabledBreakpoints?window?.diviBreakpointData?.enabledBreakpoints:a;var r=n(50843);const i=()=>{const t=(0,r.f)(),e=o(),n=e.find((t=>t?.baseDevice))?.name??"desktop";let a,i=null,s=null;return e.forEach((e=>{if(e?.baseDevice)return;const n=e?.maxWidth?.value,o=e?.minWidth?.value;if(n&&o&&parseInt(n)>=t&&parseInt(o)<=t&&(a=e?.name),n&&!o){const o=parseInt(n);o>=t&&(null===i||o<i)&&(a=e?.name,i=o)}if(!n&&o){const n=parseInt(o);n<=t&&(null===s||n>s)&&(a=e?.name,s=n)}})),a??n}},1989:function(t,e,n){var a=n(51789),o=n(80401),r=n(57667),i=n(21327),s=n(81866);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var a=t[e];this.set(a[0],a[1])}}c.prototype.clear=a,c.prototype.delete=o,c.prototype.get=r,c.prototype.has=i,c.prototype.set=s,t.exports=c},38407:function(t,e,n){var a=n(27040),o=n(14125),r=n(82117),i=n(67518),s=n(54705);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var a=t[e];this.set(a[0],a[1])}}c.prototype.clear=a,c.prototype.delete=o,c.prototype.get=r,c.prototype.has=i,c.prototype.set=s,t.exports=c},57071:function(t,e,n){var a=n(10852)(n(78638),"Map");t.exports=a},83369:function(t,e,n){var a=n(24785),o=n(11285),r=n(96e3),i=n(49916),s=n(95265);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var a=t[e];this.set(a[0],a[1])}}c.prototype.clear=a,c.prototype.delete=o,c.prototype.get=r,c.prototype.has=i,c.prototype.set=s,t.exports=c},62705:function(t,e,n){var a=n(78638).Symbol;t.exports=a},29932:function(t){t.exports=function(t,e){for(var n=-1,a=null==t?0:t.length,o=Array(a);++n<a;)o[n]=e(t[n],n,t);return o}},18470:function(t,e,n){var a=n(77813);t.exports=function(t,e){for(var n=t.length;n--;)if(a(t[n][0],e))return n;return-1}},97786:function(t,e,n){var a=n(71811),o=n(40327);t.exports=function(t,e){for(var n=0,r=(e=a(e,t)).length;null!=t&&n<r;)t=t[o(e[n++])];return n&&n==r?t:void 0}},44239:function(t,e,n){var a=n(62705),o=n(89607),r=n(2333),i=a?a.toStringTag:void 0;
vendor: 6,379 bytes, line 6343
6343t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":i&&i in Object(t)?o(t):r(t)}},28458:function(t,e,n){var a=n(23560),o=n(15346),r=n(13218),i=n(80346),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,d=u.hasOwnProperty,p=RegExp("^"+l.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!r(t)||o(t))&&(a(t)?p:s).test(i(t))}},80531:function(t,e,n){var a=n(62705),o=n(29932),r=n(1469),i=n(33448),s=a?a.prototype:void 0,c=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(r(e))return o(e,t)+"";if(i(e))return c?c.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n}},71811:function(t,e,n){var a=n(1469),o=n(15403),r=n(55514),i=n(79833);t.exports=function(t,e){return a(t)?t:o(t,e)?[t]:r(i(t))}},14429:function(t,e,n){var a=n(78638)["__core-js_shared__"];t.exports=a},31957:function(t,e,n){var a="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=a},45050:function(t,e,n){var a=n(37019);t.exports=function(t,e){var n=t.__data__;return a(e)?n["string"==typeof e?"string":"hash"]:n.map}},10852:function(t,e,n){var a=n(28458),o=n(47801);t.exports=function(t,e){var n=o(t,e);return a(n)?n:void 0}},89607:function(t,e,n){var a=n(62705),o=Object.prototype,r=o.hasOwnProperty,i=o.toString,s=a?a.toStringTag:void 0;t.exports=function(t){var e=r.call(t,s),n=t[s];try{t[s]=void 0;var a=!0}catch(t){}var o=i.call(t);return a&&(e?t[s]=n:delete t[s]),o}},47801:function(t){t.exports=function(t,e){return null==t?void 0:t[e]}},51789:function(t,e,n){var a=n(94536);t.exports=function(){this.__data__=a?a(null):{},this.size=0}},80401:function(t){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},57667:function(t,e,n){var a=n(94536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(a){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(e,t)?e[t]:void 0}},21327:function(t,e,n){var a=n(94536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return a?void 0!==e[t]:o.call(e,t)}},81866:function(t,e,n){var a=n(94536);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=a&&void 0===e?"__lodash_hash_undefined__":e,this}},15403:function(t,e,n){var a=n(1469),o=n(33448),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;t.exports=function(t,e){if(a(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!o(t))||(i.test(t)||!r.test(t)||null!=e&&t in Object(e))}},37019:function(t){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},15346:function(t,e,n){var a,o=n(14429),r=(a=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+a:"";t.exports=function(t){return!!r&&r in t}},27040:function(t){t.exports=function(){this.__data__=[],this.size=0}},14125:function(t,e,n){var a=n(18470),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=a(e,t);return!(n<0)&&(n==e.length-1?e.pop():o.call(e,n,1),--this.size,!0)}},82117:function(t,e,n){var a=n(18470);t.exports=function(t){var e=this.__data__,n=a(e,t);return n<0?void 0:e[n][1]}},67518:function(t,e,n){var a=n(18470);t.exports=function(t){return a(this.__data__,t)>-1}},54705:function(t,e,n){var a=n(18470);t.exports=function(t,e){var n=this.__data__,o=a(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},24785:function(t,e,n){var a=n(1989),o=n(38407),r=n(57071);t.exports=function(){this.size=0,this.__data__={hash:new a,map:new(r||o),string:new a}}},11285:function(t,e,n){var a=n(45050);t.exports=function(t){var e=a(this,t).delete(t);return this.size-=e?1:0,e}},96e3:function(t,e,n){var a=n(45050);t.exports=function(t){return a(this,t).get(t)}},49916:function(t,e,n){var a=n(45050);t.exports=function(t){return a(this,t).has(t)}},95265:function(t,e,n){var a=n(45050);t.exports=function(t,e){var n=a(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}},24523:function(t,e,n){var a=n(88306);t.exports=function(t){var e=a(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}},94536:function(t,e,n){var a=n(10852)(Object,"create");t.exports=a},2333:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},78638:function(t,e,n){var a=n(31957),o="object"==typeof self&&self&&self.Object===Object&&self,r=a||o||Function("return this")();t.exports=r},55514:function(t,e,n){var a=n(24523),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,i=a((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,n,a,o){e.push(a?o.replace(r,"$1"):n||t)})),e}));t.exports=i},40327:function(t,e,n){var a=n(33448);t.exports=function(t){if("string"==typeof t||a(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}},80346:function(t){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},77813:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},27361:function(t,e,n){var a=n(97786);t.exports=function(t,e,n){var o=null==t?void 0:a(t,e);return void 0===o?n:o}},1469:function(t){var e=Array.isArray;t.exports=e},23560:function(t,e,n){var a=n(44239),o=n(13218);t.exports=function(t){if(!o(t))return!1;var e=a(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},13218:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},37005:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},33448:function(t,e,n){var a=n(44239),o=n(37005);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==a(t)}},88306:function(t,e,n){var a=n(83369);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var a=arguments,o=e?e.apply(this,a):a[0],r=n.cache;if(r.has(o))return r.get(o);var i=t.apply(this,a);return n.cache=r.set(o,i)||r,i};return n.cache=new(o.Cache||a),n}o.Cache=a,t.exports=o},79833:function(t,e,n){var a=n(80531);t.exports=function(t){return null==t?"":a(t)}},19567:function(t){"use strict";
6343t.exports=window.jQuery}},e={};function n(a){var o=e[a];if(void 0!==o)return o.exports;var r=e[a]={exports:{}};return t[a](r,r.exports,n),r.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var a in e)n.o(e,a)&&!n.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:e[a]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var a={};!function(){"use strict";n.r(a);var t=n(19567),e=n.n(t),o=n(97981),r=n(44167);const i=()=>"ontouchstart"in window&&"function"==typeof window.ontouchstart||(navigator?.maxTouchPoints??0)>0,s=new WeakMap,c="et_multi_view__hovered",u=(t,e,n,a,o="default")=>{const r=s.get(e)??new Map,u=r.get(o)??new WeakMap,l=u.get(t);l&&l();let d=null,p=null,f=null,v=()=>{};const m=t=>t instanceof Element&&(t.matches("a")||null!==t.closest("a")),h=()=>{f&&(document.removeEventListener("touchstart",f,!0),f=null)},b=t=>{n(t),e.classList.remove(c),p&&(e.removeEventListener("touchstart",p),p=null),e.addEventListener("touchstart",v,{once:!0}),h()},_=t=>{i()?e.removeEventListener("mouseenter",_):(d=t=>{i()?d&&e.removeEventListener("mouseleave",d):(e.addEventListener("mouseenter",_,{once:!0}),n(t))},e.addEventListener("mouseleave",d,{once:!0}),a(t))};v=t=>{const n=()=>{h(),f=t=>{t.target instanceof Node&&!e.contains(t.target)&&b(t)},document.addEventListener("touchstart",f,{once:!0,capture:!0})};if(p=t=>{if(m(t.target))return e.addEventListener("touchstart",v,{once:!0}),void n();b(t)},e.addEventListener("touchstart",p,{once:!0}),m(t.target))return;const o=document.querySelector(`.${c}`);o&&o!==e&&o.dispatchEvent(new Event("touchstart")),a(t),e.classList.add(c),n()},i()?e.addEventListener("touchstart",v,{once:!0}):e.addEventListener("mouseenter",_,{once:!0}),u.set(t,(()=>{e.removeEventListener("mouseenter",_),d&&e.removeEventListener("mouseleave",d),e.removeEventListener("touchstart",v),p&&e.removeEventListener("touchstart",p),h()})),r.set(o,u),s.set(e,r)},l="input, option",d=["active","checked","focus","hover"],p=(t,e)=>"default"===e||null!=t[`${e}StateData`],f=(t,e)=>"default"===e?t.defaultStateData:t[`${e}StateData`]??null,v=({stateDataMap:t,setStateData:e})=>(n,a,o)=>{if(o){const n=((t,e)=>{switch(e){case"default":return t.defaultStateData;case"hover":return t.hoverStateData??null;case"focus":return t.focusStateData??null;case"checked":return t.checkedStateData??null;case"active":return t.activeStateData??null;default:return null}})(t,o);if(null!=n)return void e(n,o,a)}const{state:r,stateData:i}=(({hoverElement:t,stateDataMap:e})=>{const n=d.find((n=>p(e,n)&&((t,e)=>{switch(e){case"active":return t.matches(":active")||null!==t.querySelector(":active");case"checked":return t.matches(":checked")||null!==t.querySelector("input, option:checked");case"focus":return t.matches(":focus, :focus-within");case"hover":return t.matches(":hover");default:return!1}})(t,n)&&null!==f(e,n)));if(n){const t=f(e,n);if(null!==t)return{state:n,stateData:t}}return{state:"default",stateData:e.defaultStateData}})({hoverElement:n,stateDataMap:t});e(i,r,a)},m=t=>{window.dispatchEvent(new CustomEvent(`divi:multiView:${t.item.action}`,{detail:t}))},h=t=>d.some((e=>p(t,e))),b=({data:t,breakpoint:e,baseBreakpoint:n="desktop",breakpointNames:a=["desktop","tablet","phone"]})=>{let o=null,r=null,i=null,s=null,c=null,u=null;const l=a.indexOf(e),d=a.indexOf(n),p=l<d,f=p?a.slice(l,d+1):a.slice(d,l+1);p||f.reverse(),f.forEach((e=>{const n=t?.[e];void 0!==n&&null===o&&(o=n);const a=t?.[`${e}--hover`];void 0!==a&&null===r&&(r=a);const l=t?.[`${e}--focus`];void 0!==l&&null===i&&(i=l);const d=t?.[`${e}--checked`];void 0!==d&&null===s&&(s=d);const p=t?.[`${e}--active`];void 0!==p&&null===c&&(c=p);const f=t?.[`${e}--sticky`];void 0!==f&&null===u&&(u=f)}));const v={defaultStateData:o,hoverStateData:r,stickyStateData:u};return null!==i&&(v.focusStateData=i),null!==s&&(v.checkedStateData=s),null!==c&&(v.activeStateData=c),v},_=new WeakMap,k=({element:t,hoverElements:e,stateDataMap:n,onPseudoStateChange:a,listenerNamespace:o="default"})=>{e.forEach((e=>{const r=_.get(e)??new Map,i=r.get(o)??new WeakMap,s=i.get(t);s&&s();const c=[],d=(t,e,n)=>{t.addEventListener(e,n),c.push({target:t,eventName:e,handler:n})};if(u(t,e,(t=>a(e,t,"default")),(t=>a(e,t,"hover")),`${o}:hover`),null==n.focusStateData&&null==n.activeStateData||(d(e,"focusin",(t=>a(e,t,"focus"))),d(e,"focusout",(t=>a(e,t)))),null!=n.checkedStateData&&(d(e,"change",(t=>a(e,t))),e.querySelectorAll(l).forEach((t=>{d(t,"change",(t=>a(e,t)))}))),null!=n.activeStateData){["mousedown","mouseup","touchstart","touchend","touchcancel","pointerdown","pointerup"].forEach((t=>{d(e,t,(t=>a(e,t)))}))}i.set(t,(()=>
6343{c.forEach((({target:t,eventName:e,handler:n})=>{t.removeEventListener(e,n)}))})),r.set(o,i),_.set(e,r)}))},w=({stateData:t,item:e,element:n,breakpoint:a,state:o,originalEvent:r})=>{const i={};let s=!1;Object.keys(t).forEach((e=>{const a=n.getAttribute(e)??"",o=t[e];o!==a&&("src"===e&&n instanceof HTMLImageElement&&((t,e)=>{t?(e.classList.remove("et_multi_view_hidden_image"),e.classList.add("et_multi_view_image__loading"),e.classList.remove("et_multi_view_image__loaded"),e.addEventListener("load",(()=>{e.classList.remove("et_multi_view_image__loading"),e.classList.add("et_multi_view_image__loaded")}),{once:!0})):e.classList.add("et_multi_view_hidden_image")})(o,n),"href"===e&&n instanceof HTMLAnchorElement&&n.classList.contains("et_pb_lightbox_image--open")&&(t=>{const e=document.querySelector("img.mfp-img");e&&(e.src=t)})(o),n.setAttribute(e,o),s=!0,i[e]=o)})),s&&m({breakpoint:a,item:e,originalEvent:r,state:o,updatedData:i})},y=({stateData:t,item:e,element:n,breakpoint:a,state:o,originalEvent:r})=>{let i,s=!1;t?.add?.forEach((t=>{n.classList.contains(t)||(n.classList.add(t),s=!0,i={...i,add:[...i?.add??[]].concat(t)})})),t?.remove?.forEach((t=>{n.classList.contains(t)&&(n.classList.remove(t),s=!0,i={...i,remove:[...i?.remove??[]].concat(t)})})),s&&m({breakpoint:a,item:e,originalEvent:r,state:o,updatedData:i})},g=({stateData:t,item:e,element:n,breakpoint:a,state:o,originalEvent:r})=>{let i,s=!1;n.innerHTML!==t&&(((t,e,n,a)=>{""===t?"default"===a&&(n?.data&&"object"==typeof n.data&&Object.keys(n.data).some((t=>{if(/--(hover|focus|checked|active|sticky)$/.test(t)){const e=n.data[t];return e&&"string"==typeof e&&""!==e.trim()}return!1}))||e.classList.add("et_multi_view_hidden")):e.classList.contains("et_multi_view_hidden")&&e.classList.remove("et_multi_view_hidden")})(t,n,e,o),n.innerHTML=t,s=!0,i=t),s&&m({breakpoint:a,item:e,originalEvent:r,state:o,updatedData:i})},E=({stateData:t,item:e,element:n,breakpoint:a,state:o,originalEvent:r})=>{const i={};let s=!1;Object.keys(t).forEach((e=>{const a=n.style.getPropertyValue(e)??"",o=t[e];a!==o&&(n.style.setProperty(e,o),s=!0,i[e]=o)})),s&&m({breakpoint:a,item:e,originalEvent:r,state:o,updatedData:i})},D=({stateData:t,item:e,element:n,breakpoint:a,state:o,originalEvent:r})=>{let i,s=!1;"hidden"!==t||n.classList.contains("et_multi_view_hidden")||(n.classList.add("et_multi_view_hidden"),s=!0,i=t),"visible"===t&&n.classList.contains("et_multi_view_hidden")&&(n.classList.remove("et_multi_view_hidden"),s=!0,i=t),s&&m({breakpoint:a,item:e,originalEvent:r,state:o,updatedData:i})},S=/^et_pb_.+_\d+$/,x=(t,e)=>e.some((e=>{try{return t.matches(e)}catch{return!1}})),L=({items:t,breakpoint:e,isInit:n=!1,baseBreakpoint:a,breakpointNames:o=["desktop","tablet","phone"]})=>{t.forEach(((t,r)=>{const{action:i,data:s,moduleId:c,moduleName:l,selector:d,hoverSelector:p,switchOnLoad:f}=t,m=document.querySelectorAll(d);switch(i){case"setAttrs":m.forEach((t=>{(({item:t,listenerNamespace:e="update-data-attrs",breakpoint:n,isInit:a=!1,baseBreakpoint:o="desktop",breakpointNames:r=["desktop","tablet","phone"]})=>{const{element:i,hoverElements:s,data:c}=t,{defaultStateData:u,hoverStateData:l,focusStateData:d,checkedStateData:p,activeStateData:f}=b({data:c,breakpoint:n,baseBreakpoint:o,breakpointNames:r});if(null===u)return;const m=(e,a,o)=>{w({stateData:e,state:a,element:i,item:t,breakpoint:n,originalEvent:o})},_={defaultStateData:u,hoverStateData:l,focusStateData:d,checkedStateData:p,activeStateData:f},y=v({stateDataMap:_,setStateData:m});var g;h(_)&&k({element:i,hoverElements:s,stateDataMap:_,onPseudoStateChange:y,listenerNamespace:e}),("desktop"!==n||!a||t.switchOnLoad)&&m(u,"default",g)})({item:{action:i,data:s,moduleId:c,moduleName:l,element:t,hoverElements:p?document.querySelectorAll(p):[t],switchOnLoad:f},listenerNamespace:`update-data-attrs:${c}:${r}`,breakpoint:e,isInit:n,baseBreakpoint:a,breakpointNames:o})}));break;case"setClassName":m.forEach((t=>{(({item:t,breakpoint:e,isInit:n=!1,baseBreakpoint:a="desktop",breakpointNames:o=["desktop","tablet","phone"]})=>{const{element:r,hoverElements:i,data:s}=t,{defaultStateData:c,hoverStateData:l}=b({data:s,breakpoint:e,baseBreakpoint:a,breakpointNames:o});if(null===c)return;const d=n=>{y({stateData:c,state:"default",element:r,item:t,breakpoint:e,originalEvent:n})};if(null!==l){const n=n=>{y({stateData:l,state:"hover",element:r,item:t,breakpoint:e,originalEvent:n})};
6343i.forEach((t=>{u(r,t,d,n,"update-data-class-name")}))}"desktop"===e&&n&&!t.switchOnLoad||d()})({item:{action:i,data:s,moduleId:c,moduleName:l,element:t,hoverElements:p?document.querySelectorAll(p):[t],switchOnLoad:f},breakpoint:e,isInit:n,baseBreakpoint:a,breakpointNames:o})}));break;case"setContent":{const t=d.trim().split(/\s+/),r=t.length>1?Array.from(m).filter((e=>((t,e)=>{const n=e[0],a=t.closest(n);if(!a)return!1;const o=(t=>{const e=t.slice(1,-1),n=[];return e.forEach((t=>{t.split(",").forEach((t=>{const e=t.trim().replace(/,\s*$/,"");e&&n.push(e)}))})),n})(e);let r=t.parentElement;for(;r&&r!==a;){const t=r,{classList:e}=t,n=x(t,o);for(let t=0;t<e.length;t++){const a=e[t];if(S.test(a)){if(!n)return!1;break}}r=r.parentElement}return!0})(e,t))):m;r.forEach((t=>{(({item:t,breakpoint:e,isInit:n=!1,baseBreakpoint:a="desktop",breakpointNames:o=["desktop","tablet","phone"]})=>{const{element:r,hoverElements:i,data:s}=t,{defaultStateData:c,hoverStateData:u,focusStateData:l,checkedStateData:d,activeStateData:p}=b({data:s,breakpoint:e,baseBreakpoint:a,breakpointNames:o});if(null===c)return;const f=(n,a,o)=>{g({stateData:n,state:a,element:r,item:t,breakpoint:e,originalEvent:o})},m={defaultStateData:c,hoverStateData:u,focusStateData:l,checkedStateData:d,activeStateData:p},_=v({stateDataMap:m,setStateData:f});var w;h(m)&&k({element:r,hoverElements:i,stateDataMap:m,onPseudoStateChange:_,listenerNamespace:"update-data-content"}),("desktop"!==e||!n||t.switchOnLoad)&&f(c,"default",w)})({item:{action:i,data:s,moduleId:c,moduleName:l,element:t,hoverElements:p?document.querySelectorAll(p):[t],switchOnLoad:f},breakpoint:e,isInit:n,baseBreakpoint:a,breakpointNames:o})}));break}case"setStyle":m.forEach((t=>{(({item:t,breakpoint:e,isInit:n=!1,baseBreakpoint:a="desktop",breakpointNames:o=["desktop","tablet","phone"]})=>{const{element:r,hoverElements:i,data:s}=t,{defaultStateData:c,hoverStateData:l}=b({data:s,breakpoint:e,baseBreakpoint:a,breakpointNames:o});if(null===c)return;const d=n=>{E({stateData:c,state:"default",element:r,item:t,breakpoint:e,originalEvent:n})};if(null!==l){const n=n=>{E({stateData:l,state:"hover",element:r,item:t,breakpoint:e,originalEvent:n})};i.forEach((t=>{u(r,t,d,n,"update-data-style")}))}"desktop"===e&&n&&!t.switchOnLoad||d()})({item:{action:i,data:s,moduleId:c,moduleName:l,element:t,hoverElements:p?document.querySelectorAll(p):[t],switchOnLoad:f},breakpoint:e,isInit:n,baseBreakpoint:a,breakpointNames:o})}));break;case"setVisibility":m.forEach((t=>{(({item:t,breakpoint:e,isInit:n=!1,baseBreakpoint:a="desktop",breakpointNames:o=["desktop","tablet","phone"]})=>{const{element:r,hoverElements:i,data:s}=t,{defaultStateData:c,hoverStateData:l}=b({data:s,breakpoint:e,baseBreakpoint:a,breakpointNames:o});if(null===c)return;const d=n=>{D({stateData:c,state:"default",element:r,item:t,breakpoint:e,originalEvent:n})};if(null!==l){const n=n=>{D({stateData:l,state:"hover",element:r,item:t,breakpoint:e,originalEvent:n})};i.forEach((t=>{u(r,t,d,n,"update-data-visibility")}))}"desktop"===e&&n&&!t.switchOnLoad||d()})({item:{action:i,data:s,moduleId:c,moduleName:l,element:t,hoverElements:p?document.querySelectorAll(p):[t],switchOnLoad:f},breakpoint:e,isInit:n,baseBreakpoint:a,breakpointNames:o})}))}}))},O=(t,e=!1)=>{const n=window?.diviElementMultiViewData??[];if(!Array.isArray(n)||!n.length)return;const a={};n.forEach((t=>{Object.prototype.hasOwnProperty.call(a,t.moduleId)?a[t.moduleId]={moduleName:t.moduleName,actions:a[t.moduleId].actions.concat(t)}:a[t.moduleId]={moduleName:t.moduleName,actions:[t]}}));const o=window?.diviBreakpointData?.baseBreakpointName??"desktop",r=window?.diviBreakpointData?.enabledBreakpointNames??["desktop","tablet","phone"];Object.keys(a).forEach((n=>{const{actions:i}=a[n];L({items:i,breakpoint:t,isInit:e,baseBreakpoint:o,breakpointNames:r})}))};(()=>{let t,n=!1;const a=(0,r.getEnabledBreakpoints)(),i=()=>{const t=(0,r.getCurrentWindowMode)();n?O(t,!1):(O(t,!0),a.forEach((t=>{if(t.baseDevice)return;const e=t.name.toLowerCase();document.querySelectorAll(`[data-et-mv-hidden-${e}="true"]`).forEach((t=>{t.removeAttribute(`data-et-mv-hidden-${e}`)}))})),n=!0)},s=()=>{t&&clearTimeout(t),t=setTimeout(i,200)};document.addEventListener("DOMContentLoaded",(()=>{window?.screen?.orientation?window.screen.orientation.addEventListener("change",s):window.addEventListener("orientationchange",s),window.addEventListener("resize",s),window.addEventListener("divi:setPaginatedContent",s),o.isBuilder||window.addEventListener("divi:groupCarousel:init",s),e()(document).on("et_pb_after_init_modules",i)}))})()}(),((window.divi=window.divi||{}).scriptLibrary=window.divi.scriptLibrary||{}).scriptLibraryMultiView=a}(); 6344 6345 6346 6347 let cmplz_activated_divi_maps = false;
6348 document.addEventListener("cmplz_enable_category", function (e) { 6349 if (!cmplz_activated_divi_maps && (e.detail.category==='marketing' || e.detail.service === 'google-maps') ){ 6350 cmplz_divi_init_map(); 6351 } 6352 }); 6353 6354 function cmplz_divi_init_map() { 6355 if ('undefined' === typeof window.jQuery || 'undefined' === typeof window.et_pb_map_init ) { 6356 setTimeout(cmplz_divi_init_map, 1000); 6357 } else { 6358 let map_container = jQuery(".et_pb_map_container"); 6359 map_container.each(function () { 6360 window.et_pb_map_init(jQuery(this)); 6361 cmplz_activated_divi_maps = true; 6362 }) 6363 } 6364 } 6365 setTimeout(cmplz_divi_init_map, 300); 6366 6367 6368 6369 6370 function ensure_complianz_is_loaded() { 6371 let timeout = 30000000; // 30 seconds 6372 let start = Date.now(); 6373 return new Promise(wait_for_complianz); 6374 6375 function wait_for_complianz(resolve, reject) { 6376 if (window.cmplz_get_cookie) // if complianz is loaded, resolve the promise 6377 resolve(window.cmplz_get_cookie); 6378 else if (timeout && (Date.now() - start) >= timeout) 6379 reject(new Error("timeout")); 6380 else
6381 setTimeout(wait_for_complianz.bind(this, resolve, reject), 30); 6382 } 6383 } 6384 6385 // This runs the promise code 6386 ensure_complianz_is_loaded().then(function(){ 6387 6388 6389 document.addEventListener("burst_before_track_hit", function(burstData) { 6390 if ( cmplz_has_consent('statistics') ) { 6391 window.burst_enable_cookieless_tracking = 0; 6392 } 6393 }); 6394 document.addEventListener("cmplz_status_change", function (){ 6395 if ( cmplz_has_consent('statistics') ) { 6396 window.burst_enable_cookieless_tracking = 0; 6397 let event = new CustomEvent('burst_enable_cookies'); 6398 document.dispatchEvent( event ); 6399 } 6400 }); 6401 6402 }); 6403 6404
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.