vendor: 38,652 bytes, lines 1-912
1/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ ! function (e, t) { 2 "use strict"; 3 "object" == typeof module && "object" == typeof module.exports ? module.exports = e.document ? t(e, !0) : function (e) { 4 if (!e.document) throw new Error("jQuery requires a window with a document"); 5 return t(e) 6 } : t(e) 7}("undefined" != typeof window ? window : this, function (ie, e) { 8 "use strict"; 9 var oe = [], 10 r = Object.getPrototypeOf, 11 ae = oe.slice, 12 g = oe.flat ? function (e) { 13 return oe.flat.call(e) 14 } : function (e) { 15 return oe.concat.apply([], e) 16 }, 17 s = oe.push, 18 se = oe.indexOf, 19 n = {}, 20 i = n.toString, 21 ue = n.hasOwnProperty, 22 o = ue.toString, 23 a = o.call(Object), 24 le = {}, 25 v = function (e) { 26 return "function" == typeof e && "number" != typeof e.nodeType && "function" != typeof e.item 27 }, 28 y = function (e) { 29 return null != e && e === e.window 30 }, 31 C = ie.document, 32 u = { 33 type: !0, 34 src: !0, 35 nonce: !0, 36 noModule: !0 37 }; 38 39 function m(e, t, n) { 40 var r, i, o = (n = n || C).createElement("script"); 41 if (o.text = e, t) 42 for (r in u)(i = t[r] || t.getAttribute && t.getAttribute(r)) && o.setAttribute(r, i); 43 n.head.appendChild(o).parentNode.removeChild(o) 44 } 45 46 function x(e) { 47 return null == e ? e + "" : "object" == typeof e || "function" == typeof e ? n[i.call(e)] || "object" : typeof e 48 } 49 var t = "3.7.1", 50 l = /HTML$/i, 51 ce = function (e, t) { 52 return new ce.fn.init(e, t) 53 }; 54 55 function c(e) { 56 var t = !!e && "length" in e && e.length, 57 n = x(e); 58 return !v(e) && !y(e) && ("array" === n || 0 === t || "number" == typeof t && 0 < t && t - 1 in e) 59 } 60 61 function fe(e, t) { 62 return e.nodeName && e.nodeName.toLowerCase() === t.toLowerCase() 63 } 64 ce.fn = ce.prototype = { 65 jquery: t, 66 constructor: ce, 67 length: 0, 68 toArray: function () { 69 return ae.call(this) 70 }, 71 get: function (e) { 72 return null == e ? ae.call(this) : e < 0 ? this[e + this.length] : this[e] 73 }, 74 pushStack: function (e) { 75 var t = ce.merge(this.constructor(), e); 76 return t.prevObject = this, t 77 }, 78 each: function (e) { 79 return ce.each(this, e) 80 }, 81 map: function (n) { 82 return this.pushStack(ce.map(this, function (e, t) { 83 return n.call(e, t, e) 84 })) 85 }, 86 slice: function () { 87 return this.pushStack(ae.apply(this, arguments)) 88 }, 89 first: function () { 90 return this.eq(0) 91 }, 92 last: function () { 93 return this.eq(-1) 94 }, 95 even: function () { 96 return this.pushStack(ce.grep(this, function (e, t) { 97 return (t + 1) % 2 98 })) 99 }, 100 odd: function () { 101 return this.pushStack(ce.grep(this, function (e, t) { 102 return t % 2 103 })) 104 }, 105 eq: function (e) { 106 var t = this.length, 107 n = +e + (e < 0 ? t : 0); 108 return this.pushStack(0 <= n && n < t ? [this[n]] : []) 109 }, 110 end: function () { 111 return this.prevObject || this.constructor() 112 }, 113 push: s, 114 sort: oe.sort, 115 splice: oe.splice 116 }, ce.extend = ce.fn.extend = function () { 117 var e, t, n, r, i, o, a = arguments[0] || {}, 118 s = 1, 119 u = arguments.length, 120 l = !1; 121 for ("boolean" == typeof a && (l = a, a = arguments[s] || {}, s++), "object" == typeof a || v(a) || (a = {}), s === u && (a = this, s--); s < u; s++) 122 if (null != (e = arguments[s])) 123 for (t in e) r = e[t], "__proto__" !== t && a !== r && (l && r && (ce.isPlainObject(r) || (i = Array.isArray(r))) ? (n = a[t], o = i && !Array.isArray(n) ? [] : i || ce.isPlainObject(n) ? n : {}, i = !1, a[t] = ce.extend(l, o, r)) : void 0 !== r && (a[t] = r)); 124 return a 125 }, ce.extend({ 126 expando: "jQuery" + (t + Math.random()).replace(/\D/g, ""), 127 isReady: !0, 128 error: function (e) { 129 throw new Error(e) 130 }, 131 noop: function () {}, 132 isPlainObject: function (e) { 133 var t, n; 134 return !(!e || "[object Object]" !== i.call(e)) && (!(t = r(e)) || "function" == typeof (n = ue.call(t, "constructor") && t.constructor) && o.call(n) === a) 135 }, 136 isEmptyObject: function (e) { 137 var t; 138 for (t in e) return !1; 139 return !0 140 }, 141 globalEval: function (e, t, n) { 142 m(e, { 143 nonce: t && t.nonce 144 }, n) 145 }, 146 each: function (e, t) { 147 var n, r = 0; 148 if (c(e)) { 149 for (n = e.length; r < n; r++) 150 if (!1 === t.call(e[r], r, e[r])) break 151 } else 152 for (r in e) 153 if (!1 === t.call(e[r], r, e[r])) break; 154 return e 155 }, 156 text: function (e) { 157 var t, n = "", 158 r = 0, 159 i = e.nodeType; 160 if (!i) 161 while (t = e[r++]) n += ce.text(t); 162 return 1 === i || 11 === i ? e.textContent : 9 === i ? e.documentElement.textContent : 3 === i || 4 === i ? e.nodeValue : n 163 }, 164 makeArray: function (e, t) { 165 var n = t || []; 166 return null != e && (c(Object(e)) ? ce.merge(n, "string" == typeof e ? [e] : e) : s.call(n, e)), n 167 }, 168 inArray: function (e, t, n) { 169 return null == t ? -1 : se.call(t, e, n) 170 }, 171 isXMLDoc: function (e) { 172 var t = e && e.namespaceURI, 173 n = e && (e.ownerDocument || e).documentElement; 174 return !l.test(t || n && n.nodeName || "HTML") 175 }, 176 merge: function (e, t) { 177 for (var n = +t.length, r = 0, i = e.length; r < n; r++) e[i++] = t[r]; 178 return e.length = i, e 179 }, 180 grep: function (e, t, n) { 181 for (var r = [], i = 0, o = e.length, a = !n; i < o; i++) !t(e[i], i) !== a && r.push(e[i]); 182 return r 183 }, 184 map: function (e, t, n) { 185 var r, i, o = 0, 186 a = []; 187 if (c(e)) 188 for (r = e.length; o < r; o++) null != (i = t(e[o], o, n)) && a.push(i); 189 else 190 for (o in e) null != (i = t(e[o], o, n)) && a.push(i); 191 return g(a) 192 }, 193 guid: 1, 194 support: le 195 }), "function" == typeof Symbol && (ce.fn[Symbol.iterator] = oe[Symbol.iterator]), ce.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "), function (e, t) { 196 n["[object " + t + "]"] = t.toLowerCase() 197 }); 198 var pe = oe.pop, 199 de = oe.sort, 200 he = oe.splice, 201 ge = "[\\x20\\t\\r\\n\\f]", 202 ve = new RegExp("^" + ge + "+|((?:^|[^\\\\])(?:\\\\.)*)" + ge + "+$", "g"); 203 ce.contains = function (e, t) { 204 var n = t && t.parentNode; 205 return e === n || !(!n || 1 !== n.nodeType || !(e.contains ? e.contains(n) : e.compareDocumentPosition && 16 & e.compareDocumentPosition(n))) 206 }; 207 var f = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g; 208 209 function p(e, t) { 210 return t ? "\0" === e ? "\ufffd" : e.slice(0, -1) + "\\" + e.charCodeAt(e.length - 1).toString(16) + " " : "\\" + e 211 } 212 ce.escapeSelector = function (e) { 213 return (e + "").replace(f, p) 214 }; 215 var ye = C, 216 me = s; 217 ! function () { 218 var e, b, w, o, a, T, r, C, d, i, k = me, 219 S = ce.expando, 220 E = 0, 221 n = 0, 222 s = W(), 223 c = W(), 224 u = W(), 225 h = W(), 226 l = function (e, t) { 227 return e === t && (a = !0), 0 228 }, 229 f = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", 230 t = "(?:\\\\[\\da-fA-F]{1,6}" + ge + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", 231 p = "\\[" + ge + "*(" + t + ")(?:" + ge + "*([*^$|!~]?=)" + ge + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + t + "))|)" + ge + "*\\]", 232 g = ":(" + t + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + p + ")*)|.*)\\)|)", 233 v = new RegExp(ge + "+", "g"), 234 y = new RegExp("^" + ge + "*," + ge + "*"), 235 m = new RegExp("^" + ge + "*([>+~]|" + ge + ")" + ge + "*"), 236 x = new RegExp(ge + "|>"), 237 j = new RegExp(g), 238 A = new RegExp("^" + t + "$"), 239 D = { 240 ID: new RegExp("^#(" + t + ")"), 241 CLASS: new RegExp("^\\.(" + t + ")"), 242 TAG: new RegExp("^(" + t + "|[*])"), 243 ATTR: new RegExp("^" + p), 244 PSEUDO: new RegExp("^" + g), 245 CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + ge + "*(even|odd|(([+-]|)(\\d*)n|)" + ge + "*(?:([+-]|)" + ge + "*(\\d+)|))" + ge + "*\\)|)", "i"), 246 bool: new RegExp("^(?:" + f + ")$", "i"), 247 needsContext: new RegExp("^" + ge + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + ge + "*((?:-\\d)?\\d*)" + ge + "*\\)|)(?=[^-]|$)", "i") 248 }, 249 N = /^(?:input|select|textarea|button)$/i, 250 q = /^h\d$/i, 251 L = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, 252 H = /[+~]/, 253 O = new RegExp("\\\\[\\da-fA-F]{1,6}" + ge + "?|\\\\([^\\r\\n\\f])", "g"), 254 P = function (e, t) { 255 var n = "0x" + e.slice(1) - 65536; 256 return t || (n < 0 ? String.fromCharCode(n + 65536) : String.fromCharCode(n >> 10 | 55296, 1023 & n | 56320)) 257 }, 258 M = function () { 259 V() 260 }, 261 R = J(function (e) { 262 return !0 === e.disabled && fe(e, "fieldset") 263 }, { 264 dir: "parentNode", 265 next: "legend" 266 }); 267 try { 268 k.apply(oe = ae.call(ye.childNodes), ye.childNodes), oe[ye.childNodes.length].nodeType 269 } catch (e) { 270 k = { 271 apply: function (e, t) { 272 me.apply(e, ae.call(t)) 273 }, 274 call: function (e) { 275 me.apply(e, ae.call(arguments, 1)) 276 } 277 } 278 } 279 280 function I(t, e, n, r) { 281 var i, o, a, s, u, l, c, f = e && e.ownerDocument, 282 p = e ? e.nodeType : 9; 283 if (n = n || [], "string" != typeof t || !t || 1 !== p && 9 !== p && 11 !== p) return n; 284 if (!r && (V(e), e = e || T, C)) { 285 if (11 !== p && (u = L.exec(t))) 286 if (i = u[1]) { 287 if (9 === p) { 288 if (!(a = e.getElementById(i))) return n; 289 if (a.id === i) return k.call(n, a), n 290 } else if (f && (a = f.getElementById(i)) && I.contains(e, a) && a.id === i) return k.call(n, a), n 291 } else { 292 if (u[2]) return k.apply(n, e.getElementsByTagName(t)), n; 293 if ((i = u[3]) && e.getElementsByClassName) return k.apply(n, e.getElementsByClassName(i)), n 294 } if (!(h[t + " "] || d && d.test(t))) { 295 if (c = t, f = e, 1 === p && (x.test(t) || m.test(t))) { 296 (f = H.test(t) && U(e.parentNode) || e) == e && le.scope || ((s = e.getAttribute("id")) ? s = ce.escapeSelector(s) : e.setAttribute("id", s = S)), o = (l = Y(t)).length; 297 while (o--) l[o] = (s ? "#" + s : ":scope") + " " + Q(l[o]); 298 c = l.join(",") 299 } 300 try { 301 return k.apply(n, f.querySelectorAll(c)), n 302 } catch (e) { 303 h(t, !0) 304 } finally { 305 s === S && e.removeAttribute("id") 306 } 307 } 308 } 309 return re(t.replace(ve, "$1"), e, n, r) 310 } 311 312 function W() { 313 var r = []; 314 return function e(t, n) { 315 return r.push(t + " ") > b.cacheLength && delete e[r.shift()], e[t + " "] = n 316 } 317 } 318 319 function F(e) { 320 return e[S] = !0, e 321 } 322 323 function $(e) { 324 var t = T.createElement("fieldset"); 325 try { 326 return !!e(t) 327 } catch (e) { 328 return !1 329 } finally { 330 t.parentNode && t.parentNode.removeChild(t), t = null 331 } 332 } 333 334 function B(t) { 335 return function (e) { 336 return fe(e, "input") && e.type === t 337 } 338 } 339 340 function _(t) { 341 return function (e) { 342 return (fe(e, "input") || fe(e, "button")) && e.type === t 343 } 344 } 345 346 function z(t) { 347 return function (e) { 348 return "form" in e ? e.parentNode && !1 === e.disabled ? "label" in e ? "label" in e.parentNode ? e.parentNode.disabled === t : e.disabled === t : e.isDisabled === t || e.isDisabled !== !t && R(e) === t : e.disabled === t : "label" in e && e.disabled === t 349 } 350 } 351 352 function X(a) { 353 return F(function (o) { 354 return o = +o, F(function (e, t) { 355 var n, r = a([], e.length, o), 356 i = r.length; 357 while (i--) e[n = r[i]] && (e[n] = !(t[n] = e[n])) 358 }) 359 }) 360 } 361 362 function U(e) { 363 return e && "undefined" != typeof e.getElementsByTagName && e 364 } 365 366 function V(e) { 367 var t, n = e ? e.ownerDocument || e : ye; 368 return n != T && 9 === n.nodeType && n.documentElement && (r = (T = n).documentElement, C = !ce.isXMLDoc(T), i = r.matches || r.webkitMatchesSelector || r.msMatchesSelector, r.msMatchesSelector && ye != T && (t = T.defaultView) && t.top !== t && t.addEventListener("unload", M), le.getById = $(function (e) { 369 return r.appendChild(e).id = ce.expando, !T.getElementsByName || !T.getElementsByName(ce.expando).length 370 }), le.disconnectedMatch = $(function (e) { 371 return i.call(e, "*") 372 }), le.scope = $(function () { 373 return T.querySelectorAll(":scope") 374 }), le.cssHas = $(function () { 375 try { 376 return T.querySelector(":has(*,:jqfake)"), !1 377 } catch (e) { 378 return !0 379 } 380 }), le.getById ? (b.filter.ID = function (e) { 381 var t = e.replace(O, P); 382 return function (e) { 383 return e.getAttribute("id") === t 384 } 385 }, b.find.ID = function (e, t) { 386 if ("undefined" != typeof t.getElementById && C) { 387 var n = t.getElementById(e); 388 return n ? [n] : [] 389 } 390 }) : (b.filter.ID = function (e) { 391 var n = e.replace(O, P); 392 return function (e) { 393 var t = "undefined" != typeof e.getAttributeNode && e.getAttributeNode("id"); 394 return t && t.value === n 395 } 396 }, b.find.ID = function (e, t) { 397 if ("undefined" != typeof t.getElementById && C) { 398 var n, r, i, o = t.getElementById(e); 399 if (o) { 400 if ((n = o.getAttributeNode("id")) && n.value === e) return [o]; 401 i = t.getElementsByName(e), r = 0; 402 while (o = i[r++]) 403 if ((n = o.getAttributeNode("id")) && n.value === e) return [o] 404 } 405 return [] 406 } 407 }), b.find.TAG = function (e, t) { 408 return "undefined" != typeof t.getElementsByTagName ? t.getElementsByTagName(e) : t.querySelectorAll(e) 409 }, b.find.CLASS = function (e, t) { 410 if ("undefined" != typeof t.getElementsByClassName && C) return t.getElementsByClassName(e) 411 }, d = [], $(function (e) { 412 var t; 413 r.appendChild(e).innerHTML = "<a id='" + S + "' href='' disabled='disabled'></a><select id='" + S + "-\r\\' disabled='disabled'><option selected=''></option></select>", e.querySelectorAll("[selected]").length || d.push("\\[" + ge + "*(?:value|" + f + ")"), e.querySelectorAll("[id~=" + S + "-]").length || d.push("~="), e.querySelectorAll("a#" + S + "+*").length || d.push(".#.+[+~]"), e.querySelectorAll(":checked").length || d.push(":checked"), (t = T.createElement("input")).setAttribute("type", "hidden"), e.appendChild(t).setAttribute("name", "D"), r.appendChild(e).disabled = !0, 2 !== e.querySelectorAll(":disabled").length && d.push(":enabled", ":disabled"), (t = T.createElement("input")).setAttribute("name", ""), e.appendChild(t), e.querySelectorAll("[name='']").length || d.push("\\[" + ge + "*name" + ge + "*=" + ge + "*(?:''|\"\")") 414 }), le.cssHas || d.push(":has"), d = d.length && new RegExp(d.join("|")), l = function (e, t) { 415 if (e === t) return a = !0, 0; 416 var n = !e.compareDocumentPosition - !t.compareDocumentPosition; 417 return n || (1 & (n = (e.ownerDocument || e) == (t.ownerDocument || t) ? e.compareDocumentPosition(t) : 1) || !le.sortDetached && t.compareDocumentPosition(e) === n ? e === T || e.ownerDocument == ye && I.contains(ye, e) ? -1 : t === T || t.ownerDocument == ye && I.contains(ye, t) ? 1 : o ? se.call(o, e) - se.call(o, t) : 0 : 4 & n ? -1 : 1) 418 }), T 419 } 420 for (e in I.matches = function (e, t) { 421 return I(e, null, null, t) 422 }, I.matchesSelector = function (e, t) { 423 if (V(e), C && !h[t + " "] && (!d || !d.test(t))) try { 424 var n = i.call(e, t); 425 if (n || le.disconnectedMatch || e.document && 11 !== e.document.nodeType) return n 426 } catch (e) { 427 h(t, !0) 428 } 429 return 0 < I(t, T, null, [e]).length 430 }, I.contains = function (e, t) { 431 return (e.ownerDocument || e) != T && V(e), ce.contains(e, t) 432 }, I.attr = function (e, t) { 433 (e.ownerDocument || e) != T && V(e); 434 var n = b.attrHandle[t.toLowerCase()], 435 r = n && ue.call(b.attrHandle, t.toLowerCase()) ? n(e, t, !C) : void 0; 436 return void 0 !== r ? r : e.getAttribute(t) 437 }, I.error = function (e) { 438 throw new Error("Syntax error, unrecognized expression: " + e) 439 }, ce.uniqueSort = function (e) { 440 var t, n = [], 441 r = 0, 442 i = 0; 443 if (a = !le.sortStable, o = !le.sortStable && ae.call(e, 0), de.call(e, l), a) { 444 while (t = e[i++]) t === e[i] && (r = n.push(i)); 445 while (r--) he.call(e, n[r], 1) 446 } 447 return o = null, e 448 }, ce.fn.uniqueSort = function () { 449 return this.pushStack(ce.uniqueSort(ae.apply(this))) 450 }, (b = ce.expr = { 451 cacheLength: 50, 452 createPseudo: F, 453 match: D, 454 attrHandle: {}, 455 find: {}, 456 relative: { 457 ">": { 458 dir: "parentNode", 459 first: !0 460 }, 461 " ": { 462 dir: "parentNode" 463 }, 464 "+": { 465 dir: "previousSibling", 466 first: !0 467 }, 468 "~": { 469 dir: "previousSibling" 470 } 471 }, 472 preFilter: { 473 ATTR: function (e) { 474 return e[1] = e[1].replace(O, P), e[3] = (e[3] || e[4] || e[5] || "").replace(O, P), "~=" === e[2] && (e[3] = " " + e[3] + " "), e.slice(0, 4) 475 }, 476 CHILD: function (e) { 477 return e[1] = e[1].toLowerCase(), "nth" === e[1].slice(0, 3) ? (e[3] || I.error(e[0]), e[4] = +(e[4] ? e[5] + (e[6] || 1) : 2 * ("even" === e[3] || "odd" === e[3])), e[5] = +(e[7] + e[8] || "odd" === e[3])) : e[3] && I.error(e[0]), e 478 }, 479 PSEUDO: function (e) { 480 var t, n = !e[6] && e[2]; 481 return D.CHILD.test(e[0]) ? null : (e[3] ? e[2] = e[4] || e[5] || "" : n && j.test(n) && (t = Y(n, !0)) && (t = n.indexOf(")", n.length - t) - n.length) && (e[0] = e[0].slice(0, t), e[2] = n.slice(0, t)), e.slice(0, 3)) 482 } 483 }, 484 filter: { 485 TAG: function (e) { 486 var t = e.replace(O, P).toLowerCase(); 487 return "*" === e ? function () { 488 return !0 489 } : function (e) { 490 return fe(e, t) 491 } 492 }, 493 CLASS: function (e) { 494 var t = s[e + " "]; 495 return t || (t = new RegExp("(^|" + ge + ")" + e + "(" + ge + "|$)")) && s(e, function (e) { 496 return t.test("string" == typeof e.className && e.className || "undefined" != typeof e.getAttribute && e.getAttribute("class") || "") 497 }) 498 }, 499 ATTR: function (n, r, i) { 500 return function (e) { 501 var t = I.attr(e, n); 502 return null == t ? "!=" === r : !r || (t += "", "=" === r ? t === i : "!=" === r ? t !== i : "^=" === r ? i && 0 === t.indexOf(i) : "*=" === r ? i && -1 < t.indexOf(i) : "$=" === r ? i && t.slice(-i.length) === i : "~=" === r ? -1 < (" " + t.replace(v, " ") + " ").indexOf(i) : "|=" === r && (t === i || t.slice(0, i.length + 1) === i + "-")) 503 } 504 }, 505 CHILD: function (d, e, t, h, g) { 506 var v = "nth" !== d.slice(0, 3), 507 y = "last" !== d.slice(-4), 508 m = "of-type" === e; 509 return 1 === h && 0 === g ? function (e) { 510 return !!e.parentNode 511 } : function (e, t, n) { 512 var r, i, o, a, s, u = v !== y ? "nextSibling" : "previousSibling", 513 l = e.parentNode, 514 c = m && e.nodeName.toLowerCase(), 515 f = !n && !m, 516 p = !1; 517 if (l) { 518 if (v) { 519 while (u) { 520 o = e; 521 while (o = o[u]) 522 if (m ? fe(o, c) : 1 === o.nodeType) return !1; 523 s = u = "only" === d && !s && "nextSibling" 524 } 525 return !0 526 } 527 if (s = [y ? l.firstChild : l.lastChild], y && f) { 528 p = (a = (r = (i = l[S] || (l[S] = {}))[d] || [])[0] === E && r[1]) && r[2], o = a && l.childNodes[a]; 529 while (o = ++a && o && o[u] || (p = a = 0) || s.pop()) 530 if (1 === o.nodeType && ++p && o === e) { 531 i[d] = [E, a, p]; 532 break 533 } 534 } else if (f && (p = a = (r = (i = e[S] || (e[S] = {}))[d] || [])[0] === E && r[1]), !1 === p) 535 while (o = ++a && o && o[u] || (p = a = 0) || s.pop()) 536 if ((m ? fe(o, c) : 1 === o.nodeType) && ++p && (f && ((i = o[S] || (o[S] = {}))[d] = [E, p]), o === e)) break; 537 return (p -= g) === h || p % h == 0 && 0 <= p / h 538 } 539 } 540 }, 541 PSEUDO: function (e, o) { 542 var t, a = b.pseudos[e] || b.setFilters[e.toLowerCase()] || I.error("unsupported pseudo: " + e); 543 return a[S] ? a(o) : 1 < a.length ? (t = [e, e, "", o], b.setFilters.hasOwnProperty(e.toLowerCase()) ? F(function (e, t) { 544 var n, r = a(e, o), 545 i = r.length; 546 while (i--) e[n = se.call(e, r[i])] = !(t[n] = r[i]) 547 }) : function (e) { 548 return a(e, 0, t) 549 }) : a 550 } 551 }, 552 pseudos: { 553 not: F(function (e) { 554 var r = [], 555 i = [], 556 s = ne(e.replace(ve, "$1")); 557 return s[S] ? F(function (e, t, n, r) { 558 var i, o = s(e, null, r, []), 559 a = e.length; 560 while (a--)(i = o[a]) && (e[a] = !(t[a] = i)) 561 }) : function (e, t, n) { 562 return r[0] = e, s(r, null, n, i), r[0] = null, !i.pop() 563 } 564 }), 565 has: F(function (t) { 566 return function (e) { 567 return 0 < I(t, e).length 568 } 569 }), 570 contains: F(function (t) { 571 return t = t.replace(O, P), 572 function (e) { 573 return -1 < (e.textContent || ce.text(e)).indexOf(t) 574 } 575 }), 576 lang: F(function (n) { 577 return A.test(n || "") || I.error("unsupported lang: " + n), n = n.replace(O, P).toLowerCase(), 578 function (e) { 579 var t; 580 do { 581 if (t = C ? e.lang : e.getAttribute("xml:lang") || e.getAttribute("lang")) return (t = t.toLowerCase()) === n || 0 === t.indexOf(n + "-") 582 } while ((e = e.parentNode) && 1 === e.nodeType); 583 return !1 584 } 585 }), 586 target: function (e) { 587 var t = ie.location && ie.location.hash; 588 return t && t.slice(1) === e.id 589 }, 590 root: function (e) { 591 return e === r 592 }, 593 focus: function (e) { 594 return e === function () { 595 try { 596 return T.activeElement 597 } catch (e) {} 598 }() && T.hasFocus() && !!(e.type || e.href || ~e.tabIndex) 599 }, 600 enabled: z(!1), 601 disabled: z(!0), 602 checked: function (e) { 603 return fe(e, "input") && !!e.checked || fe(e, "option") && !!e.selected 604 }, 605 selected: function (e) { 606 return e.parentNode && e.parentNode.selectedIndex, !0 === e.selected 607 }, 608 empty: function (e) { 609 for (e = e.firstChild; e; e = e.nextSibling) 610 if (e.nodeType < 6) return !1; 611 return !0 612 }, 613 parent: function (e) { 614 return !b.pseudos.empty(e) 615 }, 616 header: function (e) { 617 return q.test(e.nodeName) 618 }, 619 input: function (e) { 620 return N.test(e.nodeName) 621 }, 622 button: function (e) { 623 return fe(e, "input") && "button" === e.type || fe(e, "button") 624 }, 625 text: function (e) { 626 var t; 627 return fe(e, "input") && "text" === e.type && (null == (t = e.getAttribute("type")) || "text" === t.toLowerCase()) 628 }, 629 first: X(function () { 630 return [0] 631 }), 632 last: X(function (e, t) { 633 return [t - 1] 634 }), 635 eq: X(function (e, t, n) { 636 return [n < 0 ? n + t : n] 637 }), 638 even: X(function (e, t) { 639 for (var n = 0; n < t; n += 2) e.push(n); 640 return e 641 }), 642 odd: X(function (e, t) { 643 for (var n = 1; n < t; n += 2) e.push(n); 644 return e 645 }), 646 lt: X(function (e, t, n) { 647 var r; 648 for (r = n < 0 ? n + t : t < n ? t : n; 0 <= --r;) e.push(r); 649 return e 650 }), 651 gt: X(function (e, t, n) { 652 for (var r = n < 0 ? n + t : n; ++r < t;) e.push(r); 653 return e 654 }) 655 } 656 }).pseudos.nth = b.pseudos.eq, { 657 radio: !0, 658 checkbox: !0, 659 file: !0, 660 password: !0, 661 image: !0 662 }) b.pseudos[e] = B(e); 663 for (e in { 664 submit: !0, 665 reset: !0 666 }) b.pseudos[e] = _(e); 667 668 function G() {} 669 670 function Y(e, t) { 671 var n, r, i, o, a, s, u, l = c[e + " "]; 672 if (l) return t ? 0 : l.slice(0); 673 a = e, s = [], u = b.preFilter; 674 while (a) { 675 for (o in n && !(r = y.exec(a)) || (r && (a = a.slice(r[0].length) || a), s.push(i = [])), n = !1, (r = m.exec(a)) && (n = r.shift(), i.push({ 676 value: n, 677 type: r[0].replace(ve, " ") 678 }), a = a.slice(n.length)), b.filter) !(r = D[o].exec(a)) || u[o] && !(r = u[o](r)) || (n = r.shift(), i.push({ 679 value: n, 680 type: o, 681 matches: r 682 }), a = a.slice(n.length)); 683 if (!n) break 684 } 685 return t ? a.length : a ? I.error(e) : c(e, s).slice(0) 686 } 687 688 function Q(e) { 689 for (var t = 0, n = e.length, r = ""; t < n; t++) r += e[t].value; 690 return r 691 } 692 693 function J(a, e, t) { 694 var s = e.dir, 695 u = e.next, 696 l = u || s, 697 c = t && "parentNode" === l, 698 f = n++; 699 return e.first ? function (e, t, n) { 700 while (e = e[s]) 701 if (1 === e.nodeType || c) return a(e, t, n); 702 return !1 703 } : function (e, t, n) { 704 var r, i, o = [E, f]; 705 if (n) { 706 while (e = e[s]) 707 if ((1 === e.nodeType || c) && a(e, t, n)) return !0 708 } else 709 while (e = e[s]) 710 if (1 === e.nodeType || c) 711 if (i = e[S] || (e[S] = {}), u && fe(e, u)) e = e[s] || e; 712 else { 713 if ((r = i[l]) && r[0] === E && r[1] === f) return o[2] = r[2]; 714 if ((i[l] = o)[2] = a(e, t, n)) return !0 715 } return !1 716 } 717 } 718 719 function K(i) { 720 return 1 < i.length ? function (e, t, n) { 721 var r = i.length; 722 while (r--) 723 if (!i[r](e, t, n)) return !1; 724 return !0 725 } : i[0] 726 } 727 728 function Z(e, t, n, r, i) { 729 for (var o, a = [], s = 0, u = e.length, l = null != t; s < u; s++)(o = e[s]) && (n && !n(o, r, i) || (a.push(o), l && t.push(s))); 730 return a 731 } 732 733 function ee(d, h, g, v, y, e) { 734 return v && !v[S] && (v = ee(v)), y && !y[S] && (y = ee(y, e)), F(function (e, t, n, r) { 735 var i, o, a, s, u = [], 736 l = [], 737 c = t.length, 738 f = e || function (e, t, n) { 739 for (var r = 0, i = t.length; r < i; r++) I(e, t[r], n); 740 return n 741 }(h || "*", n.nodeType ? [n] : n, []), 742 p = !d || !e && h ? f : Z(f, u, d, n, r); 743 if (g ? g(p, s = y || (e ? d : c || v) ? [] : t, n, r) : s = p, v) { 744 i = Z(s, l), v(i, [], n, r), o = i.length; 745 while (o--)(a = i[o]) && (s[l[o]] = !(p[l[o]] = a)) 746 } 747 if (e) { 748 if (y || d) { 749 if (y) { 750 i = [], o = s.length; 751 while (o--)(a = s[o]) && i.push(p[o] = a); 752 y(null, s = [], i, r) 753 } 754 o = s.length; 755 while (o--)(a = s[o]) && -1 < (i = y ? se.call(e, a) : u[o]) && (e[i] = !(t[i] = a)) 756 } 757 } else s = Z(s === t ? s.splice(c, s.length) : s), y ? y(null, t, s, r) : k.apply(t, s) 758 }) 759 } 760 761 function te(e) { 762 for (var i, t, n, r = e.length, o = b.relative[e[0].type], a = o || b.relative[" "], s = o ? 1 : 0, u = J(function (e) { 763 return e === i 764 }, a, !0), l = J(function (e) { 765 return -1 < se.call(i, e) 766 }, a, !0), c = [function (e, t, n) { 767 var r = !o && (n || t != w) || ((i = t).nodeType ? u(e, t, n) : l(e, t, n)); 768 return i = null, r 769 }]; s < r; s++) 770 if (t = b.relative[e[s].type]) c = [J(K(c), t)]; 771 else { 772 if ((t = b.filter[e[s].type].apply(null, e[s].matches))[S]) { 773 for (n = ++s; n < r; n++) 774 if (b.relative[e[n].type]) break; 775 return ee(1 < s && K(c), 1 < s && Q(e.slice(0, s - 1).concat({ 776 value: " " === e[s - 2].type ? "*" : "" 777 })).replace(ve, "$1"), t, s < n && te(e.slice(s, n)), n < r && te(e = e.slice(n)), n < r && Q(e)) 778 } 779 c.push(t) 780 } return K(c) 781 } 782 783 function ne(e, t) { 784 var n, v, y, m, x, r, i = [], 785 o = [], 786 a = u[e + " "]; 787 if (!a) { 788 t || (t = Y(e)), n = t.length; 789 while (n--)(a = te(t[n]))[S] ? i.push(a) : o.push(a); 790 (a = u(e, (v = o, m = 0 < (y = i).length, x = 0 < v.length, r = function (e, t, n, r, i) { 791 var o, a, s, u = 0, 792 l = "0", 793 c = e && [], 794 f = [], 795 p = w, 796 d = e || x && b.find.TAG("*", i), 797 h = E += null == p ? 1 : Math.random() || .1, 798 g = d.length; 799 for (i && (w = t == T || t || i); l !== g && null != (o = d[l]); l++) { 800 if (x && o) { 801 a = 0, t || o.ownerDocument == T || (V(o), n = !C); 802 while (s = v[a++]) 803 if (s(o, t || T, n)) { 804 k.call(r, o); 805 break 806 } i && (E = h) 807 } 808 m && ((o = !s && o) && u--, e && c.push(o)) 809 } 810 if (u += l, m && l !== u) { 811 a = 0; 812 while (s = y[a++]) s(c, f, t, n); 813 if (e) { 814 if (0 < u) 815 while (l--) c[l] || f[l] || (f[l] = pe.call(r)); 816 f = Z(f) 817 } 818 k.apply(r, f), i && !e && 0 < f.length && 1 < u + y.length && ce.uniqueSort(r) 819 } 820 return i && (E = h, w = p), c 821 }, m ? F(r) : r))).selector = e 822 } 823 return a 824 } 825 826 function re(e, t, n, r) { 827 var i, o, a, s, u, l = "function" == typeof e && e, 828 c = !r && Y(e = l.selector || e); 829 if (n = n || [], 1 === c.length) { 830 if (2 < (o = c[0] = c[0].slice(0)).length && "ID" === (a = o[0]).type && 9 === t.nodeType && C && b.relative[o[1].type]) { 831 if (!(t = (b.find.ID(a.matches[0].replace(O, P), t) || [])[0])) return n; 832 l && (t = t.parentNode), e = e.slice(o.shift().value.length) 833 } 834 i = D.needsContext.test(e) ? 0 : o.length; 835 while (i--) { 836 if (a = o[i], b.relative[s = a.type]) break; 837 if ((u = b.find[s]) && (r = u(a.matches[0].replace(O, P), H.test(o[0].type) && U(t.parentNode) || t))) { 838 if (o.splice(i, 1), !(e = r.length && Q(o))) return k.apply(n, r), n; 839 break 840 } 841 } 842 } 843 return (l || ne(e, c))(r, t, !C, n, !t || H.test(e) && U(t.parentNode) || t), n 844 } 845 G.prototype = b.filters = b.pseudos, b.setFilters = new G, le.sortStable = S.split("").sort(l).join("") === S, V(), le.sortDetached = $(function (e) { 846 return 1 & e.compareDocumentPosition(T.createElement("fieldset")) 847 }), ce.find = I, ce.expr[":"] = ce.expr.pseudos, ce.unique = ce.uniqueSort, I.compile = ne, I.select = re, I.setDocument = V, I.tokenize = Y, I.escape = ce.escapeSelector, I.getText = ce.text, I.isXML = ce.isXMLDoc, I.selectors = ce.expr, I.support = ce.support, I.uniqueSort = ce.uniqueSort 848 }(); 849 var d = function (e, t, n) { 850 var r = [], 851 i = void 0 !== n; 852 while ((e = e[t]) && 9 !== e.nodeType) 853 if (1 === e.nodeType) { 854 if (i && ce(e).is(n)) break; 855 r.push(e) 856 } return r 857 }, 858 h = function (e, t) { 859 for (var n = []; e; e = e.nextSibling) 1 === e.nodeType && e !== t && n.push(e); 860 return n 861 }, 862 b = ce.expr.match.needsContext, 863 w = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i; 864 865 function T(e, n, r) { 866 return v(n) ? ce.grep(e, function (e, t) { 867 return !!n.call(e, t, e) !== r 868 }) : n.nodeType ? ce.grep(e, function (e) { 869 return e === n !== r 870 }) : "string" != typeof n ? ce.grep(e, function (e) { 871 return -1 < se.call(n, e) !== r 872 }) : ce.filter(n, e, r) 873 } 874 ce.filter = function (e, t, n) { 875 var r = t[0]; 876 return n && (e = ":not(" + e + ")"), 1 === t.length && 1 === r.nodeType ? ce.find.matchesSelector(r, e) ? [r] : [] : ce.find.matches(e, ce.grep(t, function (e) { 877 return 1 === e.nodeType 878 })) 879 }, ce.fn.extend({ 880 find: function (e) { 881 var t, n, r = this.length, 882 i = this; 883 if ("string" != typeof e) return this.pushStack(ce(e).filter(function () { 884 for (t = 0; t < r; t++) 885 if (ce.contains(i[t], this)) return !0 886 })); 887 for (n = this.pushStack([]), t = 0; t < r; t++) ce.find(e, i[t], n); 888 return 1 < r ? ce.uniqueSort(n) : n 889 }, 890 filter: function (e) { 891 return this.pushStack(T(this, e || [], !1)) 892 }, 893 not: function (e) { 894 return this.pushStack(T(this, e || [], !0)) 895 }, 896 is: function (e) { 897 return !!T(this, "string" == typeof e && b.test(e) ? ce(e) : e || [], !1).length 898 } 899 }); 900 var k, S = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/; 901 (ce.fn.init = function (e, t, n) { 902 var r, i; 903 if (!e) return this; 904 if (n = n || k, "string" == typeof e) { 905 if (!(r = "<" === e[0] && ">" === e[e.length - 1] && 3 <= e.length ? [null, e, null] : S.exec(e)) || !r[1] && t) return !t || t.jquery ? (t || n).find(e) : this.constructor(t).find(e); 906 if (r[1]) { 907 if (t = t instanceof ce ? t[0] : t, ce.merge(this, ce.parseHTML(r[1], t && t.nodeType ? t.ownerDocument || t : C, !0)), w.test(r[1]) && ce.isPlainObject(t)) 908 for (r in t) v(this[r]) ? this[r](t[r]) : this.attr(r, t[r]); 909 return this 910 } 911 return (i = C.getElementById(r[2])) && (this[0] = i, this.length = 1), this 912 }
vendor: 7,392 bytes, lines 913-1118
913 return e.nodeType ? (this[0] = e, this.length = 1, this) : v(e) ? void 0 !== n.ready ? n.ready(e) : e(ce) : ce.makeArray(e, this) 914 }).prototype = ce.fn, k = ce(C); 915 var E = /^(?:parents|prev(?:Until|All))/, 916 j = { 917 children: !0, 918 contents: !0, 919 next: !0, 920 prev: !0 921 }; 922 923 function A(e, t) { 924 while ((e = e[t]) && 1 !== e.nodeType); 925 return e 926 } 927 ce.fn.extend({ 928 has: function (e) { 929 var t = ce(e, this), 930 n = t.length; 931 return this.filter(function () { 932 for (var e = 0; e < n; e++) 933 if (ce.contains(this, t[e])) return !0 934 }) 935 }, 936 closest: function (e, t) { 937 var n, r = 0, 938 i = this.length, 939 o = [], 940 a = "string" != typeof e && ce(e); 941 if (!b.test(e)) 942 for (; r < i; r++) 943 for (n = this[r]; n && n !== t; n = n.parentNode) 944 if (n.nodeType < 11 && (a ? -1 < a.index(n) : 1 === n.nodeType && ce.find.matchesSelector(n, e))) { 945 o.push(n); 946 break 947 } return this.pushStack(1 < o.length ? ce.uniqueSort(o) : o) 948 }, 949 index: function (e) { 950 return e ? "string" == typeof e ? se.call(ce(e), this[0]) : se.call(this, e.jquery ? e[0] : e) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1 951 }, 952 add: function (e, t) { 953 return this.pushStack(ce.uniqueSort(ce.merge(this.get(), ce(e, t)))) 954 }, 955 addBack: function (e) { 956 return this.add(null == e ? this.prevObject : this.prevObject.filter(e)) 957 } 958 }), ce.each({ 959 parent: function (e) { 960 var t = e.parentNode; 961 return t && 11 !== t.nodeType ? t : null 962 }, 963 parents: function (e) { 964 return d(e, "parentNode") 965 }, 966 parentsUntil: function (e, t, n) { 967 return d(e, "parentNode", n) 968 }, 969 next: function (e) { 970 return A(e, "nextSibling") 971 }, 972 prev: function (e) { 973 return A(e, "previousSibling") 974 }, 975 nextAll: function (e) { 976 return d(e, "nextSibling") 977 }, 978 prevAll: function (e) { 979 return d(e, "previousSibling") 980 }, 981 nextUntil: function (e, t, n) { 982 return d(e, "nextSibling", n) 983 }, 984 prevUntil: function (e, t, n) { 985 return d(e, "previousSibling", n) 986 }, 987 siblings: function (e) { 988 return h((e.parentNode || {}).firstChild, e) 989 }, 990 children: function (e) { 991 return h(e.firstChild) 992 }, 993 contents: function (e) { 994 return null != e.contentDocument && r(e.contentDocument) ? e.contentDocument : (fe(e, "template") && (e = e.content || e), ce.merge([], e.childNodes)) 995 } 996 }, function (r, i) { 997 ce.fn[r] = function (e, t) { 998 var n = ce.map(this, i, e); 999 return "Until" !== r.slice(-5) && (t = e), t && "string" == typeof t && (n = ce.filter(t, n)), 1 < this.length && (j[r] || ce.uniqueSort(n), E.test(r) && n.reverse()), this.pushStack(n) 1000 } 1001 }); 1002 var D = /[^\x20\t\r\n\f]+/g; 1003 1004 function N(e) { 1005 return e 1006 } 1007 1008 function q(e) { 1009 throw e 1010 } 1011 1012 function L(e, t, n, r) { 1013 var i; 1014 try { 1015 e && v(i = e.promise) ? i.call(e).done(t).fail(n) : e && v(i = e.then) ? i.call(e, t, n) : t.apply(void 0, [e].slice(r)) 1016 } catch (e) { 1017 n.apply(void 0, [e]) 1018 } 1019 } 1020 ce.Callbacks = function (r) { 1021 var e, n; 1022 r = "string" == typeof r ? (e = r, n = {}, ce.each(e.match(D) || [], function (e, t) { 1023 n[t] = !0 1024 }), n) : ce.extend({}, r); 1025 var i, t, o, a, s = [], 1026 u = [], 1027 l = -1, 1028 c = function () { 1029 for (a = a || r.once, o = i = !0; u.length; l = -1) { 1030 t = u.shift(); 1031 while (++l < s.length) !1 === s[l].apply(t[0], t[1]) && r.stopOnFalse && (l = s.length, t = !1) 1032 } 1033 r.memory || (t = !1), i = !1, a && (s = t ? [] : "") 1034 }, 1035 f = { 1036 add: function () { 1037 return s && (t && !i && (l = s.length - 1, u.push(t)), function n(e) { 1038 ce.each(e, function (e, t) { 1039 v(t) ? r.unique && f.has(t) || s.push(t) : t && t.length && "string" !== x(t) && n(t) 1040 }) 1041 }(arguments), t && !i && c()), this 1042 }, 1043 remove: function () { 1044 return ce.each(arguments, function (e, t) { 1045 var n; 1046 while (-1 < (n = ce.inArray(t, s, n))) s.splice(n, 1), n <= l && l-- 1047 }), this 1048 }, 1049 has: function (e) { 1050 return e ? -1 < ce.inArray(e, s) : 0 < s.length 1051 }, 1052 empty: function () { 1053 return s && (s = []), this 1054 }, 1055 disable: function () { 1056 return a = u = [], s = t = "", this 1057 }, 1058 disabled: function () { 1059 return !s 1060 }, 1061 lock: function () { 1062 return a = u = [], t || i || (s = t = ""), this 1063 }, 1064 locked: function () { 1065 return !!a 1066 }, 1067 fireWith: function (e, t) { 1068 return a || (t = [e, (t = t || []).slice ? t.slice() : t], u.push(t), i || c()), this 1069 }, 1070 fire: function () { 1071 return f.fireWith(this, arguments), this 1072 }, 1073 fired: function () { 1074 return !!o 1075 } 1076 }; 1077 return f 1078 }, ce.extend({ 1079 Deferred: function (e) { 1080 var o = [ 1081 ["notify", "progress", ce.Callbacks("memory"), ce.Callbacks("memory"), 2], 1082 ["resolve", "done", ce.Callbacks("once memory"), ce.Callbacks("once memory"), 0, "resolved"], 1083 ["reject", "fail", ce.Callbacks("once memory"), ce.Callbacks("once memory"), 1, "rejected"] 1084 ], 1085 i = "pending", 1086 a = { 1087 state: function () { 1088 return i 1089 }, 1090 always: function () { 1091 return s.done(arguments).fail(arguments), this 1092 }, 1093 "catch": function (e) { 1094 return a.then(null, e) 1095 }, 1096 pipe: function () { 1097 var i = arguments; 1098 return ce.Deferred(function (r) { 1099 ce.each(o, function (e, t) { 1100 var n = v(i[t[4]]) && i[t[4]]; 1101 s[t[1]](function () { 1102 var e = n && n.apply(this, arguments); 1103 e && v(e.promise) ? e.promise().progress(r.notify).done(r.resolve).fail(r.reject) : r[t[0] + "With"](this, n ? [e] : arguments) 1104 }) 1105 }), i = null 1106 }).promise() 1107 }, 1108 then: function (t, n, r) { 1109 var u = 0; 1110 1111 function l(i, o, a, s) { 1112 return function () { 1113 var n = this, 1114 r = arguments, 1115 e = function () { 1116 var e, t; 1117 if (!(i < u)) { 1118 if ((e = a.apply(n, r)) === o.promise()) throw new TypeError("Thenable self
vendor: 4,305 bytes, lines 1118-1213
1118-resolution"); 1119 t = e && ("object" == typeof e || "function" == typeof e) && e.then, v(t) ? s ? t.call(e, l(u, o, N, s), l(u, o, q, s)) : (u++, t.call(e, l(u, o, N, s), l(u, o, q, s), l(u, o, N, o.notifyWith))) : (a !== N && (n = void 0, r = [e]), (s || o.resolveWith)(n, r)) 1120 } 1121 }, 1122 t = s ? e : function () { 1123 try { 1124 e() 1125 } catch (e) { 1126 ce.Deferred.exceptionHook && ce.Deferred.exceptionHook(e, t.error), u <= i + 1 && (a !== q && (n = void 0, r = [e]), o.rejectWith(n, r)) 1127 } 1128 }; 1129 i ? t() : (ce.Deferred.getErrorHook ? t.error = ce.Deferred.getErrorHook() : ce.Deferred.getStackHook && (t.error = ce.Deferred.getStackHook()), ie.setTimeout(t)) 1130 } 1131 } 1132 return ce.Deferred(function (e) { 1133 o[0][3].add(l(0, e, v(r) ? r : N, e.notifyWith)), o[1][3].add(l(0, e, v(t) ? t : N)), o[2][3].add(l(0, e, v(n) ? n : q)) 1134 }).promise() 1135 }, 1136 promise: function (e) { 1137 return null != e ? ce.extend(e, a) : a 1138 } 1139 }, 1140 s = {}; 1141 return ce.each(o, function (e, t) { 1142 var n = t[2], 1143 r = t[5]; 1144 a[t[1]] = n.add, r && n.add(function () { 1145 i = r 1146 }, o[3 - e][2].disable, o[3 - e][3].disable, o[0][2].lock, o[0][3].lock), n.add(t[3].fire), s[t[0]] = function () { 1147 return s[t[0] + "With"](this === s ? void 0 : this, arguments), this 1148 }, s[t[0] + "With"] = n.fireWith 1149 }), a.promise(s), e && e.call(s, s), s 1150 }, 1151 when: function (e) { 1152 var n = arguments.length, 1153 t = n, 1154 r = Array(t), 1155 i = ae.call(arguments), 1156 o = ce.Deferred(), 1157 a = function (t) { 1158 return function (e) { 1159 r[t] = this, i[t] = 1 < arguments.length ? ae.call(arguments) : e, --n || o.resolveWith(r, i) 1160 } 1161 }; 1162 if (n <= 1 && (L(e, o.done(a(t)).resolve, o.reject, !n), "pending" === o.state() || v(i[t] && i[t].then))) return o.then(); 1163 while (t--) L(i[t], a(t), o.reject); 1164 return o.promise() 1165 } 1166 }); 1167 var H = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; 1168 ce.Deferred.exceptionHook = function (e, t) { 1169 ie.console && ie.console.warn && e && H.test(e.name) && ie.console.warn("jQuery.Deferred exception: " + e.message, e.stack, t) 1170 }, ce.readyException = function (e) { 1171 ie.setTimeout(function () { 1172 throw e 1173 }) 1174 }; 1175 var O = ce.Deferred(); 1176 1177 function P() { 1178 C.removeEventListener("DOMContentLoaded", P), ie.removeEventListener("load", P), ce.ready() 1179 } 1180 ce.fn.ready = function (e) { 1181 return O.then(e)["catch"](function (e) { 1182 ce.readyException(e) 1183 }), this 1184 }, ce.extend({ 1185 isReady: !1, 1186 readyWait: 1, 1187 ready: function (e) { 1188 (!0 === e ? --ce.readyWait : ce.isReady) || (ce.isReady = !0) !== e && 0 < --ce.readyWait || O.resolveWith(C, [ce]) 1189 } 1190 }), ce.ready.then = O.then, "complete" === C.readyState || "loading" !== C.readyState && !C.documentElement.doScroll ? ie.setTimeout(ce.ready) : (C.addEventListener("DOMContentLoaded", P), ie.addEventListener("load", P)); 1191 var M = function (e, t, n, r, i, o, a) { 1192 var s = 0, 1193 u = e.length, 1194 l = null == n; 1195 if ("object" === x(n)) 1196 for (s in i = !0, n) M(e, t, s, n[s], !0, o, a); 1197 else if (void 0 !== r && (i = !0, v(r) || (a = !0), l && (a ? (t.call(e, r), t = null) : (l = t, t = function (e, t, n) { 1198 return l.call(ce(e), n) 1199 })), t)) 1200 for (; s < u; s++) t(e[s], n, a ? r : r.call(e[s], s, t(e[s], n))); 1201 return i ? e : l ? t.call(e) : u ? t(e[0], n) : o 1202 }, 1203 R = /^-ms-/, 1204 I = /-([a-z])/g; 1205 1206 function W(e, t) { 1207 return t.toUpperCase() 1208 } 1209 1210 function F(e) { 1211 return e.replace(R, "ms-").replace(I, W) 1212 } 1213 var $ = function (e) {
vendor: 9,137 bytes, lines 1214-1440
1214 return 1 === e.nodeType || 9 === e.nodeType || !+e.nodeType 1215 }; 1216 1217 function B() { 1218 this.expando = ce.expando + B.uid++ 1219 } 1220 B.uid = 1, B.prototype = { 1221 cache: function (e) { 1222 var t = e[this.expando]; 1223 return t || (t = {}, $(e) && (e.nodeType ? e[this.expando] = t : Object.defineProperty(e, this.expando, { 1224 value: t, 1225 configurable: !0 1226 }))), t 1227 }, 1228 set: function (e, t, n) { 1229 var r, i = this.cache(e); 1230 if ("string" == typeof t) i[F(t)] = n; 1231 else 1232 for (r in t) i[F(r)] = t[r]; 1233 return i 1234 }, 1235 get: function (e, t) { 1236 return void 0 === t ? this.cache(e) : e[this.expando] && e[this.expando][F(t)] 1237 }, 1238 access: function (e, t, n) { 1239 return void 0 === t || t && "string" == typeof t && void 0 === n ? this.get(e, t) : (this.set(e, t, n), void 0 !== n ? n : t) 1240 }, 1241 remove: function (e, t) { 1242 var n, r = e[this.expando]; 1243 if (void 0 !== r) { 1244 if (void 0 !== t) { 1245 n = (t = Array.isArray(t) ? t.map(F) : (t = F(t)) in r ? [t] : t.match(D) || []).length; 1246 while (n--) delete r[t[n]] 1247 }(void 0 === t || ce.isEmptyObject(r)) && (e.nodeType ? e[this.expando] = void 0 : delete e[this.expando]) 1248 } 1249 }, 1250 hasData: function (e) { 1251 var t = e[this.expando]; 1252 return void 0 !== t && !ce.isEmptyObject(t) 1253 } 1254 }; 1255 var _ = new B, 1256 z = new B, 1257 X = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, 1258 U = /[A-Z]/g; 1259 1260 function V(e, t, n) { 1261 var r, i; 1262 if (void 0 === n && 1 === e.nodeType) 1263 if (r = "data-" + t.replace(U, "-$&").toLowerCase(), "string" == typeof (n = e.getAttribute(r))) { 1264 try { 1265 n = "true" === (i = n) || "false" !== i && ("null" === i ? null : i === +i + "" ? +i : X.test(i) ? JSON.parse(i) : i) 1266 } catch (e) {} 1267 z.set(e, t, n) 1268 } else n = void 0; 1269 return n 1270 } 1271 ce.extend({ 1272 hasData: function (e) { 1273 return z.hasData(e) || _.hasData(e) 1274 }, 1275 data: function (e, t, n) { 1276 return z.access(e, t, n) 1277 }, 1278 removeData: function (e, t) { 1279 z.remove(e, t) 1280 }, 1281 _data: function (e, t, n) { 1282 return _.access(e, t, n) 1283 }, 1284 _removeData: function (e, t) { 1285 _.remove(e, t) 1286 } 1287 }), ce.fn.extend({ 1288 data: function (n, e) { 1289 var t, r, i, o = this[0], 1290 a = o && o.attributes; 1291 if (void 0 === n) { 1292 if (this.length && (i = z.get(o), 1 === o.nodeType && !_.get(o, "hasDataAttrs"))) { 1293 t = a.length; 1294 while (t--) a[t] && 0 === (r = a[t].name).indexOf("data-") && (r = F(r.slice(5)), V(o, r, i[r])); 1295 _.set(o, "hasDataAttrs", !0) 1296 } 1297 return i 1298 } 1299 return "object" == typeof n ? this.each(function () { 1300 z.set(this, n) 1301 }) : M(this, function (e) { 1302 var t; 1303 if (o && void 0 === e) return void 0 !== (t = z.get(o, n)) ? t : void 0 !== (t = V(o, n)) ? t : void 0; 1304 this.each(function () { 1305 z.set(this, n, e) 1306 }) 1307 }, null, e, 1 < arguments.length, null, !0) 1308 }, 1309 removeData: function (e) { 1310 return this.each(function () { 1311 z.remove(this, e) 1312 }) 1313 } 1314 }), ce.extend({ 1315 queue: function (e, t, n) { 1316 var r; 1317 if (e) return t = (t || "fx") + "queue", r = _.get(e, t), n && (!r || Array.isArray(n) ? r = _.access(e, t, ce.makeArray(n)) : r.push(n)), r || [] 1318 }, 1319 dequeue: function (e, t) { 1320 t = t || "fx"; 1321 var n = ce.queue(e, t), 1322 r = n.length, 1323 i = n.shift(), 1324 o = ce._queueHooks(e, t); 1325 "inprogress" === i && (i = n.shift(), r--), i && ("fx" === t && n.unshift("inprogress"), delete o.stop, i.call(e, function () { 1326 ce.dequeue(e, t) 1327 }, o)), !r && o && o.empty.fire() 1328 }, 1329 _queueHooks: function (e, t) { 1330 var n = t + "queueHooks"; 1331 return _.get(e, n) || _.access(e, n, { 1332 empty: ce.Callbacks("once memory").add(function () { 1333 _.remove(e, [t + "queue", n]) 1334 }) 1335 }) 1336 } 1337 }), ce.fn.extend({ 1338 queue: function (t, n) { 1339 var e = 2; 1340 return "string" != typeof t && (n = t, t = "fx", e--), arguments.length < e ? ce.queue(this[0], t) : void 0 === n ? this : this.each(function () { 1341 var e = ce.queue(this, t, n); 1342 ce._queueHooks(this, t), "fx" === t && "inprogress" !== e[0] && ce.dequeue(this, t) 1343 }) 1344 }, 1345 dequeue: function (e) { 1346 return this.each(function () { 1347 ce.dequeue(this, e) 1348 }) 1349 }, 1350 clearQueue: function (e) { 1351 return this.queue(e || "fx", []) 1352 }, 1353 promise: function (e, t) { 1354 var n, r = 1, 1355 i = ce.Deferred(), 1356 o = this, 1357 a = this.length, 1358 s = function () { 1359 --r || i.resolveWith(o, [o]) 1360 }; 1361 "string" != typeof e && (t = e, e = void 0), e = e || "fx"; 1362 while (a--)(n = _.get(o[a], e + "queueHooks")) && n.empty && (r++, n.empty.add(s)); 1363 return s(), i.promise(t) 1364 } 1365 }); 1366 var G = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, 1367 Y = new RegExp("^(?:([+-])=|)(" + G + ")([a-z%]*)$", "i"), 1368 Q = ["Top", "Right", "Bottom", "Left"], 1369 J = C.documentElement, 1370 K = function (e) { 1371 return ce.contains(e.ownerDocument, e) 1372 }, 1373 Z = { 1374 composed: !0 1375 }; 1376 J.getRootNode && (K = function (e) { 1377 return ce.contains(e.ownerDocument, e) || e.getRootNode(Z) === e.ownerDocument 1378 }); 1379 var ee = function (e, t) { 1380 return "none" === (e = t || e).style.display || "" === e.style.display && K(e) && "none" === ce.css(e, "display") 1381 }; 1382 1383 function te(e, t, n, r) { 1384 var i, o, a = 20, 1385 s = r ? function () { 1386 return r.cur() 1387 } : function () { 1388 return ce.css(e, t, "") 1389 }, 1390 u = s(), 1391 l = n && n[3] || (ce.cssNumber[t] ? "" : "px"), 1392 c = e.nodeType && (ce.cssNumber[t] || "px" !== l && +u) && Y.exec(ce.css(e, t)); 1393 if (c && c[3] !== l) { 1394 u /= 2, l = l || c[3], c = +u || 1; 1395 while (a--) ce.style(e, t, c + l), (1 - o) * (1 - (o = s() / u || .5)) <= 0 && (a = 0), c /= o; 1396 c *= 2, ce.style(e, t, c + l), n = n || [] 1397 } 1398 return n && (c = +c || +u || 0, i = n[1] ? c + (n[1] + 1) * n[2] : +n[2], r && (r.unit = l, r.start = c, r.end = i)), i 1399 } 1400 var ne = {}; 1401 1402 function re(e, t) { 1403 for (var n, r, i, o, a, s, u, l = [], c = 0, f = e.length; c < f; c++)(r = e[c]).style && (n = r.style.display, t ? ("none" === n && (l[c] = _.get(r, "display") || null, l[c] || (r.style.display = "")), "" === r.style.display && ee(r) && (l[c] = (u = a = o = void 0, a = (i = r).ownerDocument, s = i.nodeName, (u = ne[s]) || (o = a.body.appendChild(a.createElement(s)), u = ce.css(o, "display"), o.parentNode.removeChild(o), "none" === u && (u = "block"), ne[s] = u)))) : "none" !== n && (l[c] = "none", _.set(r, "display", n))); 1404 for (c = 0; c < f; c++) null != l[c] && (e[c].style.display = l[c]); 1405 return e 1406 } 1407 ce.fn.extend({ 1408 show: function () { 1409 return re(this, !0) 1410 }, 1411 hide: function () { 1412 return re(this) 1413 }, 1414 toggle: function (e) { 1415 return "boolean" == typeof e ? e ? this.show() : this.hide() : this.each(function () { 1416 ee(this) ? ce(this).show() : ce(this).hide() 1417 }) 1418 } 1419 }); 1420 var xe, be, we = /^(?:checkbox|radio)$/i, 1421 Te = /<([a-z][^\/\0>\x20\t\r\n\f]*)/i, 1422 Ce = /^$|^module$|\/(?:java|ecma)script/i; 1423 xe = C.createDocumentFragment().appendChild(C.createElement("div")), (be = C.createElement("input")).setAttribute("type", "radio"), be.setAttribute("checked", "checked"), be.setAttribute("name", "t"), xe.appendChild(be), le.checkClone = xe.cloneNode(!0).cloneNode(!0).lastChild.checked, xe.innerHTML = "<textarea>x</textarea>", le.noCloneChecked = !!xe.cloneNode(!0).lastChild.defaultValue, xe.innerHTML = "<option></option>", le.option = !!xe.lastChild; 1424 var ke = { 1425 thead: [1, "<table>", "</table>"], 1426 col: [2, "<table><colgroup>", "</colgroup></table>"], 1427 tr: [2, "<table><tbody>", "</tbody></table>"], 1428 td: [3, "<table><tbody><tr>", "</tr></tbody></table>"], 1429 _default: [0, "", ""] 1430 }; 1431 1432 function Se(e, t) { 1433 var n; 1434 return n = "undefined" != typeof e.getElementsByTagName ? e.getElementsByTagName(t || "*") : "undefined" != typeof e.querySelectorAll ? e.querySelectorAll(t || "*") : [], void 0 === t || t && fe(e, t) ? ce.merge([e], n) : n 1435 } 1436 1437 function Ee(e, t) { 1438 for (var n = 0, r = e.length; n < r; n++) _.set(e[n], "globalEval", !t || _.get(t[n], "globalEval")) 1439 } 1440 ke.tbody = ke.tfoot = ke.colgroup = ke.caption = ke.thead, ke.th = ke.td, le.option || (ke.optgroup = ke.option = [1, "<select multiple='multiple'>", "</select>"]);
vendor: 27,154 bytes, lines 1441-2070
1441 var je = /<|&#?\w+;/; 1442 1443 function Ae(e, t, n, r, i) { 1444 for (var o, a, s, u, l, c, f = t.createDocumentFragment(), p = [], d = 0, h = e.length; d < h; d++) 1445 if ((o = e[d]) || 0 === o) 1446 if ("object" === x(o)) ce.merge(p, o.nodeType ? [o] : o); 1447 else if (je.test(o)) { 1448 a = a || f.appendChild(t.createElement("div")), s = (Te.exec(o) || ["", ""])[1].toLowerCase(), u = ke[s] || ke._default, a.innerHTML = u[1] + ce.htmlPrefilter(o) + u[2], c = u[0]; 1449 while (c--) a = a.lastChild; 1450 ce.merge(p, a.childNodes), (a = f.firstChild).textContent = "" 1451 } else p.push(t.createTextNode(o)); 1452 f.textContent = "", d = 0; 1453 while (o = p[d++]) 1454 if (r && -1 < ce.inArray(o, r)) i && i.push(o); 1455 else if (l = K(o), a = Se(f.appendChild(o), "script"), l && Ee(a), n) { 1456 c = 0; 1457 while (o = a[c++]) Ce.test(o.type || "") && n.push(o) 1458 } 1459 return f 1460 } 1461 var De = /^([^.]*)(?:\.(.+)|)/; 1462 1463 function Ne() { 1464 return !0 1465 } 1466 1467 function qe() { 1468 return !1 1469 } 1470 1471 function Le(e, t, n, r, i, o) { 1472 var a, s; 1473 if ("object" == typeof t) { 1474 for (s in "string" != typeof n && (r = r || n, n = void 0), t) Le(e, s, n, r, t[s], o); 1475 return e 1476 } 1477 if (null == r && null == i ? (i = n, r = n = void 0) : null == i && ("string" == typeof n ? (i = r, r = void 0) : (i = r, r = n, n = void 0)), !1 === i) i = qe; 1478 else if (!i) return e; 1479 return 1 === o && (a = i, (i = function (e) { 1480 return ce().off(e), a.apply(this, arguments) 1481 }).guid = a.guid || (a.guid = ce.guid++)), e.each(function () { 1482 ce.event.add(this, t, i, r, n) 1483 }) 1484 } 1485 1486 function He(e, r, t) { 1487 t ? (_.set(e, r, !1), ce.event.add(e, r, { 1488 namespace: !1, 1489 handler: function (e) { 1490 var t, n = _.get(this, r); 1491 if (1 & e.isTrigger && this[r]) { 1492 if (n)(ce.event.special[r] || {}).delegateType && e.stopPropagation(); 1493 else if (n = ae.call(arguments), _.set(this, r, n), this[r](), t = _.get(this, r), _.set(this, r, !1), n !== t) return e.stopImmediatePropagation(), e.preventDefault(), t 1494 } else n && (_.set(this, r, ce.event.trigger(n[0], n.slice(1), this)), e.stopPropagation(), e.isImmediatePropagationStopped = Ne) 1495 } 1496 })) : void 0 === _.get(e, r) && ce.event.add(e, r, Ne) 1497 } 1498 ce.event = { 1499 global: {}, 1500 add: function (t, e, n, r, i) { 1501 var o, a, s, u, l, c, f, p, d, h, g, v = _.get(t); 1502 if ($(t)) { 1503 n.handler && (n = (o = n).handler, i = o.selector), i && ce.find.matchesSelector(J, i), n.guid || (n.guid = ce.guid++), (u = v.events) || (u = v.events = Object.create(null)), (a = v.handle) || (a = v.handle = function (e) { 1504 return "undefined" != typeof ce && ce.event.triggered !== e.type ? ce.event.dispatch.apply(t, arguments) : void 0 1505 }), l = (e = (e || "").match(D) || [""]).length; 1506 while (l--) d = g = (s = De.exec(e[l]) || [])[1], h = (s[2] || "").split(".").sort(), d && (f = ce.event.special[d] || {}, d = (i ? f.delegateType : f.bindType) || d, f = ce.event.special[d] || {}, c = ce.extend({ 1507 type: d, 1508 origType: g, 1509 data: r, 1510 handler: n, 1511 guid: n.guid, 1512 selector: i, 1513 needsContext: i && ce.expr.match.needsContext.test(i), 1514 namespace: h.join(".") 1515 }, o), (p = u[d]) || ((p = u[d] = []).delegateCount = 0, f.setup && !1 !== f.setup.call(t, r, h, a) || t.addEventListener && t.addEventListener(d, a)), f.add && (f.add.call(t, c), c.handler.guid || (c.handler.guid = n.guid)), i ? p.splice(p.delegateCount++, 0, c) : p.push(c), ce.event.global[d] = !0) 1516 } 1517 }, 1518 remove: function (e, t, n, r, i) { 1519 var o, a, s, u, l, c, f, p, d, h, g, v = _.hasData(e) && _.get(e); 1520 if (v && (u = v.events)) { 1521 l = (t = (t || "").match(D) || [""]).length; 1522 while (l--) 1523 if (d = g = (s = De.exec(t[l]) || [])[1], h = (s[2] || "").split(".").sort(), d) { 1524 f = ce.event.special[d] || {}, p = u[d = (r ? f.delegateType : f.bindType) || d] || [], s = s[2] && new RegExp("(^|\\.)" + h.join("\\.(?:.*\\.|)") + "(\\.|$)"), a = o = p.length; 1525 while (o--) c = p[o], !i && g !== c.origType || n && n.guid !== c.guid || s && !s.test(c.namespace) || r && r !== c.selector && ("**" !== r || !c.selector) || (p.splice(o, 1), c.selector && p.delegateCount--, f.remove && f.remove.call(e, c)); 1526 a && !p.length && (f.teardown && !1 !== f.teardown.call(e, h, v.handle) || ce.removeEvent(e, d, v.handle), delete u[d]) 1527 } else 1528 for (d in u) ce.event.remove(e, d + t[l], n, r, !0); 1529 ce.isEmptyObject(u) && _.remove(e, "handle events") 1530 } 1531 }, 1532 dispatch: function (e) { 1533 var t, n, r, i, o, a, s = new Array(arguments.length), 1534 u = ce.event.fix(e), 1535 l = (_.get(this, "events") || Object.create(null))[u.type] || [], 1536 c = ce.event.special[u.type] || {}; 1537 for (s[0] = u, t = 1; t < arguments.length; t++) s[t] = arguments[t]; 1538 if (u.delegateTarget = this, !c.preDispatch || !1 !== c.preDispatch.call(this, u)) { 1539 a = ce.event.handlers.call(this, u, l), t = 0; 1540 while ((i = a[t++]) && !u.isPropagationStopped()) { 1541 u.currentTarget = i.elem, n = 0; 1542 while ((o = i.handlers[n++]) && !u.isImmediatePropagationStopped()) u.rnamespace && !1 !== o.namespace && !u.rnamespace.test(o.namespace) || (u.handleObj = o, u.data = o.data, void 0 !== (r = ((ce.event.special[o.origType] || {}).handle || o.handler).apply(i.elem, s)) && !1 === (u.result = r) && (u.preventDefault(), u.stopPropagation())) 1543 } 1544 return c.postDispatch && c.postDispatch.call(this, u), u.result 1545 } 1546 }, 1547 handlers: function (e, t) { 1548 var n, r, i, o, a, s = [], 1549 u = t.delegateCount, 1550 l = e.target; 1551 if (u && l.nodeType && !("click" === e.type && 1 <= e.button)) 1552 for (; l !== this; l = l.parentNode || this) 1553 if (1 === l.nodeType && ("click" !== e.type || !0 !== l.disabled)) { 1554 for (o = [], a = {}, n = 0; n < u; n++) void 0 === a[i = (r = t[n]).selector + " "] && (a[i] = r.needsContext ? -1 < ce(i, this).index(l) : ce.find(i, this, null, [l]).length), a[i] && o.push(r); 1555 o.length && s.push({ 1556 elem: l, 1557 handlers: o 1558 }) 1559 } return l = this, u < t.length && s.push({ 1560 elem: l, 1561 handlers: t.slice(u) 1562 }), s 1563 }, 1564 addProp: function (t, e) { 1565 Object.defineProperty(ce.Event.prototype, t, { 1566 enumerable: !0, 1567 configurable: !0, 1568 get: v(e) ? function () { 1569 if (this.originalEvent) return e(this.originalEvent) 1570 } : function () { 1571 if (this.originalEvent) return this.originalEvent[t] 1572 }, 1573 set: function (e) { 1574 Object.defineProperty(this, t, { 1575 enumerable: !0, 1576 configurable: !0, 1577 writable: !0, 1578 value: e 1579 }) 1580 } 1581 }) 1582 }, 1583 fix: function (e) { 1584 return e[ce.expando] ? e : new ce.Event(e) 1585 }, 1586 special: { 1587 load: { 1588 noBubble: !0 1589 }, 1590 click: { 1591 setup: function (e) { 1592 var t = this || e; 1593 return we.test(t.type) && t.click && fe(t, "input") && He(t, "click", !0), !1 1594 }, 1595 trigger: function (e) { 1596 var t = this || e; 1597 return we.test(t.type) && t.click && fe(t, "input") && He(t, "click"), !0 1598 }, 1599 _default: function (e) { 1600 var t = e.target; 1601 return we.test(t.type) && t.click && fe(t, "input") && _.get(t, "click") || fe(t, "a") 1602 } 1603 }, 1604 beforeunload: { 1605 postDispatch: function (e) { 1606 void 0 !== e.result && e.originalEvent && (e.originalEvent.returnValue = e.result) 1607 } 1608 } 1609 } 1610 }, ce.removeEvent = function (e, t, n) { 1611 e.removeEventListener && e.removeEventListener(t, n) 1612 }, ce.Event = function (e, t) { 1613 if (!(this instanceof ce.Event)) return new ce.Event(e, t); 1614 e && e.type ? (this.originalEvent = e, this.type = e.type, this.isDefaultPrevented = e.defaultPrevented || void 0 === e.defaultPrevented && !1 === e.returnValue ? Ne : qe, this.target = e.target && 3 === e.target.nodeType ? e.target.parentNode : e.target, this.currentTarget = e.currentTarget, this.relatedTarget = e.relatedTarget) : this.type = e, t && ce.extend(this, t), this.timeStamp = e && e.timeStamp || Date.now(), this[ce.expando] = !0 1615 }, ce.Event.prototype = { 1616 constructor: ce.Event, 1617 isDefaultPrevented: qe, 1618 isPropagationStopped: qe, 1619 isImmediatePropagationStopped: qe, 1620 isSimulated: !1, 1621 preventDefault: function () { 1622 var e = this.originalEvent; 1623 this.isDefaultPrevented = Ne, e && !this.isSimulated && e.preventDefault() 1624 }, 1625 stopPropagation: function () { 1626 var e = this.originalEvent; 1627 this.isPropagationStopped = Ne, e && !this.isSimulated && e.stopPropagation() 1628 }, 1629 stopImmediatePropagation: function () { 1630 var e = this.originalEvent; 1631 this.isImmediatePropagationStopped = Ne, e && !this.isSimulated && e.stopImmediatePropagation(), this.stopPropagation() 1632 } 1633 }, ce.each({ 1634 altKey: !0, 1635 bubbles: !0, 1636 cancelable: !0, 1637 changedTouches: !0, 1638 ctrlKey: !0, 1639 detail: !0, 1640 eventPhase: !0, 1641 metaKey: !0, 1642 pageX: !0, 1643 pageY: !0, 1644 shiftKey: !0, 1645 view: !0, 1646 "char": !0, 1647 code: !0, 1648 charCode: !0, 1649 key: !0, 1650 keyCode: !0, 1651 button: !0, 1652 buttons: !0, 1653 clientX: !0, 1654 clientY: !0, 1655 offsetX: !0, 1656 offsetY: !0, 1657 pointerId: !0, 1658 pointerType: !0, 1659 screenX: !0, 1660 screenY: !0, 1661 targetTouches: !0, 1662 toElement: !0, 1663 touches: !0, 1664 which: !0 1665 }, ce.event.addProp), ce.each({ 1666 focus: "focusin", 1667 blur: "focusout" 1668 }, function (r, i) { 1669 function o(e) { 1670 if (C.documentMode) { 1671 var t = _.get(this, "handle"), 1672 n = ce.event.fix(e); 1673 n.type = "focusin" === e.type ? "focus" : "blur", n.isSimulated = !0, t(e), n.target === n.currentTarget && t(n) 1674 } else ce.event.simulate(i, e.target, ce.event.fix(e)) 1675 } 1676 ce.event.special[r] = { 1677 setup: function () { 1678 var e; 1679 if (He(this, r, !0), !C.documentMode) return !1; 1680 (e = _.get(this, i)) || this.addEventListener(i, o), _.set(this, i, (e || 0) + 1) 1681 }, 1682 trigger: function () { 1683 return He(this, r), !0 1684 }, 1685 teardown: function () { 1686 var e; 1687 if (!C.documentMode) return !1; 1688 (e = _.get(this, i) - 1) ? _.set(this, i, e): (this.removeEventListener(i, o), _.remove(this, i)) 1689 }, 1690 _default: function (e) { 1691 return _.get(e.target, r) 1692 }, 1693 delegateType: i 1694 }, ce.event.special[i] = { 1695 setup: function () { 1696 var e = this.ownerDocument || this.document || this, 1697 t = C.documentMode ? this : e, 1698 n = _.get(t, i); 1699 n || (C.documentMode ? this.addEventListener(i, o) : e.addEventListener(r, o, !0)), _.set(t, i, (n || 0) + 1) 1700 }, 1701 teardown: function () { 1702 var e = this.ownerDocument || this.document || this, 1703 t = C.documentMode ? this : e, 1704 n = _.get(t, i) - 1; 1705 n ? _.set(t, i, n) : (C.documentMode ? this.removeEventListener(i, o) : e.removeEventListener(r, o, !0), _.remove(t, i)) 1706 } 1707 } 1708 }), ce.each({ 1709 mouseenter: "mouseover", 1710 mouseleave: "mouseout", 1711 pointerenter: "pointerover", 1712 pointerleave: "pointerout" 1713 }, function (e, i) { 1714 ce.event.special[e] = { 1715 delegateType: i, 1716 bindType: i, 1717 handle: function (e) { 1718 var t, n = e.relatedTarget, 1719 r = e.handleObj; 1720 return n && (n === this || ce.contains(this, n)) || (e.type = r.origType, t = r.handler.apply(this, arguments), e.type = i), t 1721 } 1722 } 1723 }), ce.fn.extend({ 1724 on: function (e, t, n, r) { 1725 return Le(this, e, t, n, r) 1726 }, 1727 one: function (e, t, n, r) { 1728 return Le(this, e, t, n, r, 1) 1729 }, 1730 off: function (e, t, n) { 1731 var r, i; 1732 if (e && e.preventDefault && e.handleObj) return r = e.handleObj, ce(e.delegateTarget).off(r.namespace ? r.origType + "." + r.namespace : r.origType, r.selector, r.handler), this; 1733 if ("object" == typeof e) { 1734 for (i in e) this.off(i, t, e[i]); 1735 return this 1736 } 1737 return !1 !== t && "function" != typeof t || (n = t, t = void 0), !1 === n && (n = qe), this.each(function () { 1738 ce.event.remove(this, e, n, t) 1739 }) 1740 } 1741 }); 1742 var Oe = /<script|<style|<link/i, 1743 Pe = /checked\s*(?:[^=]|=\s*.checked.)/i, 1744 Me = /^\s*<!\[CDATA\[|\]\]>\s*$/g; 1745 1746 function Re(e, t) { 1747 return fe(e, "table") && fe(11 !== t.nodeType ? t : t.firstChild, "tr") && ce(e).children("tbody")[0] || e 1748 } 1749 1750 function Ie(e) { 1751 return e.type = (null !== e.getAttribute("type")) + "/" + e.type, e 1752 } 1753 1754 function We(e) { 1755 return "true/" === (e.type || "").slice(0, 5) ? e.type = e.type.slice(5) : e.removeAttribute("type"), e 1756 } 1757 1758 function Fe(e, t) { 1759 var n, r, i, o, a, s; 1760 if (1 === t.nodeType) { 1761 if (_.hasData(e) && (s = _.get(e).events)) 1762 for (i in _.remove(t, "handle events"), s) 1763 for (n = 0, r = s[i].length; n < r; n++) ce.event.add(t, i, s[i][n]); 1764 z.hasData(e) && (o = z.access(e), a = ce.extend({}, o), z.set(t, a)) 1765 } 1766 } 1767 1768 function $e(n, r, i, o) { 1769 r = g(r); 1770 var e, t, a, s, u, l, c = 0, 1771 f = n.length, 1772 p = f - 1, 1773 d = r[0], 1774 h = v(d); 1775 if (h || 1 < f && "string" == typeof d && !le.checkClone && Pe.test(d)) return n.each(function (e) { 1776 var t = n.eq(e); 1777 h && (r[0] = d.call(this, e, t.html())), $e(t, r, i, o) 1778 }); 1779 if (f && (t = (e = Ae(r, n[0].ownerDocument, !1, n, o)).firstChild, 1 === e.childNodes.length && (e = t), t || o)) { 1780 for (s = (a = ce.map(Se(e, "script"), Ie)).length; c < f; c++) u = e, c !== p && (u = ce.clone(u, !0, !0), s && ce.merge(a, Se(u, "script"))), i.call(n[c], u, c); 1781 if (s) 1782 for (l = a[a.length - 1].ownerDocument, ce.map(a, We), c = 0; c < s; c++) u = a[c], Ce.test(u.type || "") && !_.access(u, "globalEval") && ce.contains(l, u) && (u.src && "module" !== (u.type || "").toLowerCase() ? ce._evalUrl && !u.noModule && ce._evalUrl(u.src, { 1783 nonce: u.nonce || u.getAttribute("nonce") 1784 }, l) : m(u.textContent.replace(Me, ""), u, l)) 1785 } 1786 return n 1787 } 1788 1789 function Be(e, t, n) { 1790 for (var r, i = t ? ce.filter(t, e) : e, o = 0; null != (r = i[o]); o++) n || 1 !== r.nodeType || ce.cleanData(Se(r)), r.parentNode && (n && K(r) && Ee(Se(r, "script")), r.parentNode.removeChild(r)); 1791 return e 1792 } 1793 ce.extend({ 1794 htmlPrefilter: function (e) { 1795 return e 1796 }, 1797 clone: function (e, t, n) { 1798 var r, i, o, a, s, u, l, c = e.cloneNode(!0), 1799 f = K(e); 1800 if (!(le.noCloneChecked || 1 !== e.nodeType && 11 !== e.nodeType || ce.isXMLDoc(e))) 1801 for (a = Se(c), r = 0, i = (o = Se(e)).length; r < i; r++) s = o[r], u = a[r], void 0, "input" === (l = u.nodeName.toLowerCase()) && we.test(s.type) ? u.checked = s.checked : "input" !== l && "textarea" !== l || (u.defaultValue = s.defaultValue); 1802 if (t) 1803 if (n) 1804 for (o = o || Se(e), a = a || Se(c), r = 0, i = o.length; r < i; r++) Fe(o[r], a[r]); 1805 else Fe(e, c); 1806 return 0 < (a = Se(c, "script")).length && Ee(a, !f && Se(e, "script")), c 1807 }, 1808 cleanData: function (e) { 1809 for (var t, n, r, i = ce.event.special, o = 0; void 0 !== (n = e[o]); o++) 1810 if ($(n)) { 1811 if (t = n[_.expando]) { 1812 if (t.events) 1813 for (r in t.events) i[r] ? ce.event.remove(n, r) : ce.removeEvent(n, r, t.handle); 1814 n[_.expando] = void 0 1815 } 1816 n[z.expando] && (n[z.expando] = void 0) 1817 } 1818 } 1819 }), ce.fn.extend({ 1820 detach: function (e) { 1821 return Be(this, e, !0) 1822 }, 1823 remove: function (e) { 1824 return Be(this, e) 1825 }, 1826 text: function (e) { 1827 return M(this, function (e) { 1828 return void 0 === e ? ce.text(this) : this.empty().each(function () { 1829 1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType || (this.textContent = e) 1830 }) 1831 }, null, e, arguments.length) 1832 }, 1833 append: function () { 1834 return $e(this, arguments, function (e) { 1835 1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType || Re(this, e).appendChild(e) 1836 }) 1837 }, 1838 prepend: function () { 1839 return $e(this, arguments, function (e) { 1840 if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) { 1841 var t = Re(this, e); 1842 t.insertBefore(e, t.firstChild) 1843 } 1844 }) 1845 }, 1846 before: function () { 1847 return $e(this, arguments, function (e) { 1848 this.parentNode && this.parentNode.insertBefore(e, this) 1849 }) 1850 }, 1851 after: function () { 1852 return $e(this, arguments, function (e) { 1853 this.parentNode && this.parentNode.insertBefore(e, this.nextSibling) 1854 }) 1855 }, 1856 empty: function () { 1857 for (var e, t = 0; null != (e = this[t]); t++) 1 === e.nodeType && (ce.cleanData(Se(e, !1)), e.textContent = ""); 1858 return this 1859 }, 1860 clone: function (e, t) { 1861 return e = null != e && e, t = null == t ? e : t, this.map(function () { 1862 return ce.clone(this, e, t) 1863 }) 1864 }, 1865 html: function (e) { 1866 return M(this, function (e) { 1867 var t = this[0] || {}, 1868 n = 0, 1869 r = this.length; 1870 if (void 0 === e && 1 === t.nodeType) return t.innerHTML; 1871 if ("string" == typeof e && !Oe.test(e) && !ke[(Te.exec(e) || ["", ""])[1].toLowerCase()]) { 1872 e = ce.htmlPrefilter(e); 1873 try { 1874 for (; n < r; n++) 1 === (t = this[n] || {}).nodeType && (ce.cleanData(Se(t, !1)), t.innerHTML = e); 1875 t = 0 1876 } catch (e) {} 1877 } 1878 t && this.empty().append(e) 1879 }, null, e, arguments.length) 1880 }, 1881 replaceWith: function () { 1882 var n = []; 1883 return $e(this, arguments, function (e) { 1884 var t = this.parentNode; 1885 ce.inArray(this, n) < 0 && (ce.cleanData(Se(this)), t && t.replaceChild(e, this)) 1886 }, n) 1887 } 1888 }), ce.each({ 1889 appendTo: "append", 1890 prependTo: "prepend", 1891 insertBefore: "before", 1892 insertAfter: "after", 1893 replaceAll: "replaceWith" 1894 }, function (e, a) { 1895 ce.fn[e] = function (e) { 1896 for (var t, n = [], r = ce(e), i = r.length - 1, o = 0; o <= i; o++) t = o === i ? this : this.clone(!0), ce(r[o])[a](t), s.apply(n, t.get()); 1897 return this.pushStack(n) 1898 } 1899 }); 1900 var _e = new RegExp("^(" + G + ")(?!px)[a-z%]+$", "i"), 1901 ze = /^--/, 1902 Xe = function (e) { 1903 var t = e.ownerDocument.defaultView; 1904 return t && t.opener || (t = ie), t.getComputedStyle(e) 1905 }, 1906 Ue = function (e, t, n) { 1907 var r, i, o = {}; 1908 for (i in t) o[i] = e.style[i], e.style[i] = t[i]; 1909 for (i in r = n.call(e), t) e.style[i] = o[i]; 1910 return r 1911 }, 1912 Ve = new RegExp(Q.join("|"), "i"); 1913 1914 function Ge(e, t, n) { 1915 var r, i, o, a, s = ze.test(t), 1916 u = e.style; 1917 return (n = n || Xe(e)) && (a = n.getPropertyValue(t) || n[t], s && a && (a = a.replace(ve, "$1") || void 0), "" !== a || K(e) || (a = ce.style(e, t)), !le.pixelBoxStyles() && _e.test(a) && Ve.test(t) && (r = u.width, i = u.minWidth, o = u.maxWidth, u.minWidth = u.maxWidth = u.width = a, a = n.width, u.width = r, u.minWidth = i, u.maxWidth = o)), void 0 !== a ? a + "" : a 1918 } 1919 1920 function Ye(e, t) { 1921 return { 1922 get: function () { 1923 if (!e()) return (this.get = t).apply(this, arguments); 1924 delete this.get 1925 } 1926 } 1927 }! function () { 1928 function e() { 1929 if (l) { 1930 u.style.cssText = "position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0", l.style.cssText = "position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%", J.appendChild(u).appendChild(l); 1931 var e = ie.getComputedStyle(l); 1932 n = "1%" !== e.top, s = 12 === t(e.marginLeft), l.style.right = "60%", o = 36 === t(e.right), r = 36 === t(e.width), l.style.position = "absolute", i = 12 === t(l.offsetWidth / 3), J.removeChild(u), l = null 1933 } 1934 } 1935 1936 function t(e) { 1937 return Math.round(parseFloat(e)) 1938 } 1939 var n, r, i, o, a, s, u = C.createElement("div"), 1940 l = C.createElement("div"); 1941 l.style && (l.style.backgroundClip = "content-box", l.cloneNode(!0).style.backgroundClip = "", le.clearCloneStyle = "content-box" === l.style.backgroundClip, ce.extend(le, { 1942 boxSizingReliable: function () { 1943 return e(), r 1944 }, 1945 pixelBoxStyles: function () { 1946 return e(), o 1947 }, 1948 pixelPosition: function () { 1949 return e(), n 1950 }, 1951 reliableMarginLeft: function () { 1952 return e(), s 1953 }, 1954 scrollboxSize: function () { 1955 return e(), i 1956 }, 1957 reliableTrDimensions: function () { 1958 var e, t, n, r; 1959 return null == a && (e = C.createElement("table"), t = C.createElement("tr"), n = C.createElement("div"), e.style.cssText = "position:absolute;left:-11111px;border-collapse:separate", t.style.cssText = "box-sizing:content-box;border:1px solid", t.style.height = "1px", n.style.height = "9px", n.style.display = "block", J.appendChild(e).appendChild(t).appendChild(n), r = ie.getComputedStyle(t), a = parseInt(r.height, 10) + parseInt(r.borderTopWidth, 10) + parseInt(r.borderBottomWidth, 10) === t.offsetHeight, J.removeChild(e)), a 1960 } 1961 })) 1962 }(); 1963 var Qe = ["Webkit", "Moz", "ms"], 1964 Je = C.createElement("div").style, 1965 Ke = {}; 1966 1967 function Ze(e) { 1968 var t = ce.cssProps[e] || Ke[e]; 1969 return t || (e in Je ? e : Ke[e] = function (e) { 1970 var t = e[0].toUpperCase() + e.slice(1), 1971 n = Qe.length; 1972 while (n--) 1973 if ((e = Qe[n] + t) in Je) return e 1974 }(e) || e) 1975 } 1976 var et = /^(none|table(?!-c[ea]).+)/, 1977 tt = { 1978 position: "absolute", 1979 visibility: "hidden", 1980 display: "block" 1981 }, 1982 nt = { 1983 letterSpacing: "0", 1984 fontWeight: "400" 1985 }; 1986 1987 function rt(e, t, n) { 1988 var r = Y.exec(t); 1989 return r ? Math.max(0, r[2] - (n || 0)) + (r[3] || "px") : t 1990 } 1991 1992 function it(e, t, n, r, i, o) { 1993 var a = "width" === t ? 1 : 0, 1994 s = 0, 1995 u = 0, 1996 l = 0; 1997 if (n === (r ? "border" : "content")) return 0; 1998 for (; a < 4; a += 2) "margin" === n && (l += ce.css(e, n + Q[a], !0, i)), r ? ("content" === n && (u -= ce.css(e, "padding" + Q[a], !0, i)), "margin" !== n && (u -= ce.css(e, "border" + Q[a] + "Width", !0, i))) : (u += ce.css(e, "padding" + Q[a], !0, i), "padding" !== n ? u += ce.css(e, "border" + Q[a] + "Width", !0, i) : s += ce.css(e, "border" + Q[a] + "Width", !0, i)); 1999 return !r && 0 <= o && (u += Math.max(0, Math.ceil(e["offset" + t[0].toUpperCase() + t.slice(1)] - o - u - s - .5)) || 0), u + l 2000 } 2001 2002 function ot(e, t, n) { 2003 var r = Xe(e), 2004 i = (!le.boxSizingReliable() || n) && "border-box" === ce.css(e, "boxSizing", !1, r), 2005 o = i, 2006 a = Ge(e, t, r), 2007 s = "offset" + t[0].toUpperCase() + t.slice(1); 2008 if (_e.test(a)) { 2009 if (!n) return a; 2010 a = "auto" 2011 } 2012 return (!le.boxSizingReliable() && i || !le.reliableTrDimensions() && fe(e, "tr") || "auto" === a || !parseFloat(a) && "inline" === ce.css(e, "display", !1, r)) && e.getClientRects().length && (i = "border-box" === ce.css(e, "boxSizing", !1, r), (o = s in e) && (a = e[s])), (a = parseFloat(a) || 0) + it(e, t, n || (i ? "border" : "content"), o, r, a) + "px" 2013 } 2014 2015 function at(e, t, n, r, i) { 2016 return new at.prototype.init(e, t, n, r, i) 2017 } 2018 ce.extend({ 2019 cssHooks: { 2020 opacity: { 2021 get: function (e, t) { 2022 if (t) { 2023 var n = Ge(e, "opacity"); 2024 return "" === n ? "1" : n 2025 } 2026 } 2027 } 2028 }, 2029 cssNumber: { 2030 animationIterationCount: !0, 2031 aspectRatio: !0, 2032 borderImageSlice: !0, 2033 columnCount: !0, 2034 flexGrow: !0, 2035 flexShrink: !0, 2036 fontWeight: !0, 2037 gridArea: !0, 2038 gridColumn: !0, 2039 gridColumnEnd: !0, 2040 gridColumnStart: !0, 2041 gridRow: !0, 2042 gridRowEnd: !0, 2043 gridRowStart: !0, 2044 lineHeight: !0, 2045 opacity: !0, 2046 order: !0, 2047 orphans: !0, 2048 scale: !0, 2049 widows: !0, 2050 zIndex: !0, 2051 zoom: !0, 2052 fillOpacity: !0, 2053 floodOpacity: !0, 2054 stopOpacity: !0, 2055 strokeMiterlimit: !0, 2056 strokeOpacity: !0 2057 }, 2058 cssProps: {}, 2059 style: function (e, t, n, r) { 2060 if (e && 3 !== e.nodeType && 8 !== e.nodeType && e.style) { 2061 var i, o, a, s = F(t), 2062 u = ze.test(t), 2063 l = e.style; 2064 if (u || (t = Ze(s)), a = ce.cssHooks[t] || ce.cssHooks[s], void 0 === n) return a && "get" in a && void 0 !== (i = a.get(e, !1, r)) ? i : l[t]; 2065 "string" === (o = typeof n) && (i = Y.exec(n)) && i[1] && (n = te(e, t, i), o = "number"), null != n && n == n && ("number" !== o || u || (n += i && i[3] || (ce.cssNumber[s] ? "" : "px")), le.clearCloneStyle || "" !== n || 0 !== t.indexOf("background") || (l[t] = "inherit"), a && "set" in a && void 0 === (n = a.set(e, n, r)) || (u ? l.setProperty(t, n) : l[t] = n)) 2066 } 2067 }, 2068 css: function (e, t, n, r) { 2069 var i, o, a, s = F(t); 2070 return ze.test(t) || (t = Ze(s)), (a = ce.cssHooks[t] || ce.cssHooks[s]) && "get" in a && (i = a.get(e, !0, n)), void 0 === i && (i = Ge(e, t, r)), "n
vendor: 13,291 bytes, lines 2070-2364
2070ormal" === i && t in nt && (i = nt[t]), "" === n || n ? (o = parseFloat(i), !0 === n || isFinite(o) ? o || 0 : i) : i 2071 } 2072 }), ce.each(["height", "width"], function (e, u) { 2073 ce.cssHooks[u] = { 2074 get: function (e, t, n) { 2075 if (t) return !et.test(ce.css(e, "display")) || e.getClientRects().length && e.getBoundingClientRect().width ? ot(e, u, n) : Ue(e, tt, function () { 2076 return ot(e, u, n) 2077 }) 2078 }, 2079 set: function (e, t, n) { 2080 var r, i = Xe(e), 2081 o = !le.scrollboxSize() && "absolute" === i.position, 2082 a = (o || n) && "border-box" === ce.css(e, "boxSizing", !1, i), 2083 s = n ? it(e, u, n, a, i) : 0; 2084 return a && o && (s -= Math.ceil(e["offset" + u[0].toUpperCase() + u.slice(1)] - parseFloat(i[u]) - it(e, u, "border", !1, i) - .5)), s && (r = Y.exec(t)) && "px" !== (r[3] || "px") && (e.style[u] = t, t = ce.css(e, u)), rt(0, t, s) 2085 } 2086 } 2087 }), ce.cssHooks.marginLeft = Ye(le.reliableMarginLeft, function (e, t) { 2088 if (t) return (parseFloat(Ge(e, "marginLeft")) || e.getBoundingClientRect().left - Ue(e, { 2089 marginLeft: 0 2090 }, function () { 2091 return e.getBoundingClientRect().left 2092 })) + "px" 2093 }), ce.each({ 2094 margin: "", 2095 padding: "", 2096 border: "Width" 2097 }, function (i, o) { 2098 ce.cssHooks[i + o] = { 2099 expand: function (e) { 2100 for (var t = 0, n = {}, r = "string" == typeof e ? e.split(" ") : [e]; t < 4; t++) n[i + Q[t] + o] = r[t] || r[t - 2] || r[0]; 2101 return n 2102 } 2103 }, "margin" !== i && (ce.cssHooks[i + o].set = rt) 2104 }), ce.fn.extend({ 2105 css: function (e, t) { 2106 return M(this, function (e, t, n) { 2107 var r, i, o = {}, 2108 a = 0; 2109 if (Array.isArray(t)) { 2110 for (r = Xe(e), i = t.length; a < i; a++) o[t[a]] = ce.css(e, t[a], !1, r); 2111 return o 2112 } 2113 return void 0 !== n ? ce.style(e, t, n) : ce.css(e, t) 2114 }, e, t, 1 < arguments.length) 2115 } 2116 }), ((ce.Tween = at).prototype = { 2117 constructor: at, 2118 init: function (e, t, n, r, i, o) { 2119 this.elem = e, this.prop = n, this.easing = i || ce.easing._default, this.options = t, this.start = this.now = this.cur(), this.end = r, this.unit = o || (ce.cssNumber[n] ? "" : "px") 2120 }, 2121 cur: function () { 2122 var e = at.propHooks[this.prop]; 2123 return e && e.get ? e.get(this) : at.propHooks._default.get(this) 2124 }, 2125 run: function (e) { 2126 var t, n = at.propHooks[this.prop]; 2127 return this.options.duration ? this.pos = t = ce.easing[this.easing](e, this.options.duration * e, 0, 1, this.options.duration) : this.pos = t = e, this.now = (this.end - this.start) * t + this.start, this.options.step && this.options.step.call(this.elem, this.now, this), n && n.set ? n.set(this) : at.propHooks._default.set(this), this 2128 } 2129 }).init.prototype = at.prototype, (at.propHooks = { 2130 _default: { 2131 get: function (e) { 2132 var t; 2133 return 1 !== e.elem.nodeType || null != e.elem[e.prop] && null == e.elem.style[e.prop] ? e.elem[e.prop] : (t = ce.css(e.elem, e.prop, "")) && "auto" !== t ? t : 0 2134 }, 2135 set: function (e) { 2136 ce.fx.step[e.prop] ? ce.fx.step[e.prop](e) : 1 !== e.elem.nodeType || !ce.cssHooks[e.prop] && null == e.elem.style[Ze(e.prop)] ? e.elem[e.prop] = e.now : ce.style(e.elem, e.prop, e.now + e.unit) 2137 } 2138 } 2139 }).scrollTop = at.propHooks.scrollLeft = { 2140 set: function (e) { 2141 e.elem.nodeType && e.elem.parentNode && (e.elem[e.prop] = e.now) 2142 } 2143 }, ce.easing = { 2144 linear: function (e) { 2145 return e 2146 }, 2147 swing: function (e) { 2148 return .5 - Math.cos(e * Math.PI) / 2 2149 }, 2150 _default: "swing" 2151 }, ce.fx = at.prototype.init, ce.fx.step = {}; 2152 var st, ut, lt, ct, ft = /^(?:toggle|show|hide)$/, 2153 pt = /queueHooks$/; 2154 2155 function dt() { 2156 ut && (!1 === C.hidden && ie.requestAnimationFrame ? ie.requestAnimationFrame(dt) : ie.setTimeout(dt, ce.fx.interval), ce.fx.tick()) 2157 } 2158 2159 function ht() { 2160 return ie.setTimeout(function () { 2161 st = void 0 2162 }), st = Date.now() 2163 } 2164 2165 function gt(e, t) { 2166 var n, r = 0, 2167 i = { 2168 height: e 2169 }; 2170 for (t = t ? 1 : 0; r < 4; r += 2 - t) i["margin" + (n = Q[r])] = i["padding" + n] = e; 2171 return t && (i.opacity = i.width = e), i 2172 } 2173 2174 function vt(e, t, n) { 2175 for (var r, i = (yt.tweeners[t] || []).concat(yt.tweeners["*"]), o = 0, a = i.length; o < a; o++) 2176 if (r = i[o].call(n, t, e)) return r 2177 } 2178 2179 function yt(o, e, t) { 2180 var n, a, r = 0, 2181 i = yt.prefilters.length, 2182 s = ce.Deferred().always(function () { 2183 delete u.elem 2184 }), 2185 u = function () { 2186 if (a) return !1; 2187 for (var e = st || ht(), t = Math.max(0, l.startTime + l.duration - e), n = 1 - (t / l.duration || 0), r = 0, i = l.tweens.length; r < i; r++) l.tweens[r].run(n); 2188 return s.notifyWith(o, [l, n, t]), n < 1 && i ? t : (i || s.notifyWith(o, [l, 1, 0]), s.resolveWith(o, [l]), !1) 2189 }, 2190 l = s.promise({ 2191 elem: o, 2192 props: ce.extend({}, e), 2193 opts: ce.extend(!0, { 2194 specialEasing: {}, 2195 easing: ce.easing._default 2196 }, t), 2197 originalProperties: e, 2198 originalOptions: t, 2199 startTime: st || ht(), 2200 duration: t.duration, 2201 tweens: [], 2202 createTween: function (e, t) { 2203 var n = ce.Tween(o, l.opts, e, t, l.opts.specialEasing[e] || l.opts.easing); 2204 return l.tweens.push(n), n 2205 }, 2206 stop: function (e) { 2207 var t = 0, 2208 n = e ? l.tweens.length : 0; 2209 if (a) return this; 2210 for (a = !0; t < n; t++) l.tweens[t].run(1); 2211 return e ? (s.notifyWith(o, [l, 1, 0]), s.resolveWith(o, [l, e])) : s.rejectWith(o, [l, e]), this 2212 } 2213 }), 2214 c = l.props; 2215 for (! function (e, t) { 2216 var n, r, i, o, a; 2217 for (n in e) 2218 if (i = t[r = F(n)], o = e[n], Array.isArray(o) && (i = o[1], o = e[n] = o[0]), n !== r && (e[r] = o, delete e[n]), (a = ce.cssHooks[r]) && "expand" in a) 2219 for (n in o = a.expand(o), delete e[r], o) n in e || (e[n] = o[n], t[n] = i); 2220 else t[r] = i 2221 }(c, l.opts.specialEasing); r < i; r++) 2222 if (n = yt.prefilters[r].call(l, o, c, l.opts)) return v(n.stop) && (ce._queueHooks(l.elem, l.opts.queue).stop = n.stop.bind(n)), n; 2223 return ce.map(c, vt, l), v(l.opts.start) && l.opts.start.call(o, l), l.progress(l.opts.progress).done(l.opts.done, l.opts.complete).fail(l.opts.fail).always(l.opts.always), ce.fx.timer(ce.extend(u, { 2224 elem: o, 2225 anim: l, 2226 queue: l.opts.queue 2227 })), l 2228 } 2229 ce.Animation = ce.extend(yt, { 2230 tweeners: { 2231 "*": [function (e, t) { 2232 var n = this.createTween(e, t); 2233 return te(n.elem, e, Y.exec(t), n), n 2234 }] 2235 }, 2236 tweener: function (e, t) { 2237 v(e) ? (t = e, e = ["*"]) : e = e.match(D); 2238 for (var n, r = 0, i = e.length; r < i; r++) n = e[r], yt.tweeners[n] = yt.tweeners[n] || [], yt.tweeners[n].unshift(t) 2239 }, 2240 prefilters: [function (e, t, n) { 2241 var r, i, o, a, s, u, l, c, f = "width" in t || "height" in t, 2242 p = this, 2243 d = {}, 2244 h = e.style, 2245 g = e.nodeType && ee(e), 2246 v = _.get(e, "fxshow"); 2247 for (r in n.queue || (null == (a = ce._queueHooks(e, "fx")).unqueued && (a.unqueued = 0, s = a.empty.fire, a.empty.fire = function () { 2248 a.unqueued || s() 2249 }), a.unqueued++, p.always(function () { 2250 p.always(function () { 2251 a.unqueued--, ce.queue(e, "fx").length || a.empty.fire() 2252 }) 2253 })), t) 2254 if (i = t[r], ft.test(i)) { 2255 if (delete t[r], o = o || "toggle" === i, i === (g ? "hide" : "show")) { 2256 if ("show" !== i || !v || void 0 === v[r]) continue; 2257 g = !0 2258 } 2259 d[r] = v && v[r] || ce.style(e, r) 2260 } if ((u = !ce.isEmptyObject(t)) || !ce.isEmptyObject(d)) 2261 for (r in f && 1 === e.nodeType && (n.overflow = [h.overflow, h.overflowX, h.overflowY], null == (l = v && v.display) && (l = _.get(e, "display")), "none" === (c = ce.css(e, "display")) && (l ? c = l : (re([e], !0), l = e.style.display || l, c = ce.css(e, "display"), re([e]))), ("inline" === c || "inline-block" === c && null != l) && "none" === ce.css(e, "float") && (u || (p.done(function () { 2262 h.display = l 2263 }), null == l && (c = h.display, l = "none" === c ? "" : c)), h.display = "inline-block")), n.overflow && (h.overflow = "hidden", p.always(function () { 2264 h.overflow = n.overflow[0], h.overflowX = n.overflow[1], h.overflowY = n.overflow[2] 2265 })), u = !1, d) u || (v ? "hidden" in v && (g = v.hidden) : v = _.access(e, "fxshow", { 2266 display: l 2267 }), o && (v.hidden = !g), g && re([e], !0), p.done(function () { 2268 for (r in g || re([e]), _.remove(e, "fxshow"), d) ce.style(e, r, d[r]) 2269 })), u = vt(g ? v[r] : 0, r, p), r in v || (v[r] = u.start, g && (u.end = u.start, u.start = 0)) 2270 }], 2271 prefilter: function (e, t) { 2272 t ? yt.prefilters.unshift(e) : yt.prefilters.push(e) 2273 } 2274 }), ce.speed = function (e, t, n) { 2275 var r = e && "object" == typeof e ? ce.extend({}, e) : { 2276 complete: n || !n && t || v(e) && e, 2277 duration: e, 2278 easing: n && t || t && !v(t) && t 2279 }; 2280 return ce.fx.off ? r.duration = 0 : "number" != typeof r.duration && (r.duration in ce.fx.speeds ? r.duration = ce.fx.speeds[r.duration] : r.duration = ce.fx.speeds._default), null != r.queue && !0 !== r.queue || (r.queue = "fx"), r.old = r.complete, r.complete = function () { 2281 v(r.old) && r.old.call(this), r.queue && ce.dequeue(this, r.queue) 2282 }, r 2283 }, ce.fn.extend({ 2284 fadeTo: function (e, t, n, r) { 2285 return this.filter(ee).css("opacity", 0).show().end().animate({ 2286 opacity: t 2287 }, e, n, r) 2288 }, 2289 animate: function (t, e, n, r) { 2290 var i = ce.isEmptyObject(t), 2291 o = ce.speed(e, n, r), 2292 a = function () { 2293 var e = yt(this, ce.extend({}, t), o); 2294 (i || _.get(this, "finish")) && e.stop(!0) 2295 }; 2296 return a.finish = a, i || !1 === o.queue ? this.each(a) : this.queue(o.queue, a) 2297 }, 2298 stop: function (i, e, o) { 2299 var a = function (e) { 2300 var t = e.stop; 2301 delete e.stop, t(o) 2302 }; 2303 return "string" != typeof i && (o = e, e = i, i = void 0), e && this.queue(i || "fx", []), this.each(function () { 2304 var e = !0, 2305 t = null != i && i + "queueHooks", 2306 n = ce.timers, 2307 r = _.get(this); 2308 if (t) r[t] && r[t].stop && a(r[t]); 2309 else 2310 for (t in r) r[t] && r[t].stop && pt.test(t) && a(r[t]); 2311 for (t = n.length; t--;) n[t].elem !== this || null != i && n[t].queue !== i || (n[t].anim.stop(o), e = !1, n.splice(t, 1)); 2312 !e && o || ce.dequeue(this, i) 2313 }) 2314 }, 2315 finish: function (a) { 2316 return !1 !== a && (a = a || "fx"), this.each(function () { 2317 var e, t = _.get(this), 2318 n = t[a + "queue"], 2319 r = t[a + "queueHooks"], 2320 i = ce.timers, 2321 o = n ? n.length : 0; 2322 for (t.finish = !0, ce.queue(this, a, []), r && r.stop && r.stop.call(this, !0), e = i.length; e--;) i[e].elem === this && i[e].queue === a && (i[e].anim.stop(!0), i.splice(e, 1)); 2323 for (e = 0; e < o; e++) n[e] && n[e].finish && n[e].finish.call(this); 2324 delete t.finish 2325 }) 2326 } 2327 }), ce.each(["toggle", "show", "hide"], function (e, r) { 2328 var i = ce.fn[r]; 2329 ce.fn[r] = function (e, t, n) { 2330 return null == e || "boolean" == typeof e ? i.apply(this, arguments) : this.animate(gt(r, !0), e, t, n) 2331 } 2332 }), ce.each({ 2333 slideDown: gt("show"), 2334 slideUp: gt("hide"), 2335 slideToggle: gt("toggle"), 2336 fadeIn: { 2337 opacity: "show" 2338 }, 2339 fadeOut: { 2340 opacity: "hide" 2341 }, 2342 fadeToggle: { 2343 opacity: "toggle" 2344 } 2345 }, function (e, r) { 2346 ce.fn[e] = function (e, t, n) { 2347 return this.animate(r, e, t, n) 2348 } 2349 }), ce.timers = [], ce.fx.tick = function () { 2350 var e, t = 0, 2351 n = ce.timers; 2352 for (st = Date.now(); t < n.length; t++)(e = n[t])() || n[t] !== e || n.splice(t--, 1); 2353 n.length || ce.fx.stop(), st = void 0 2354 }, ce.fx.timer = function (e) { 2355 ce.timers.push(e), ce.fx.start() 2356 }, ce.fx.interval = 13, ce.fx.start = function () { 2357 ut || (ut = !0, dt()) 2358 }, ce.fx.stop = function () { 2359 ut = null 2360 }, ce.fx.speeds = { 2361 slow: 600, 2362 fast: 200, 2363 _default: 400 2364 }
vendor: 18,667 bytes, lines 2364-2804
2364, ce.fn.delay = function (r, e) { 2365 return r = ce.fx && ce.fx.speeds[r] || r, e = e || "fx", this.queue(e, function (e, t) { 2366 var n = ie.setTimeout(e, r); 2367 t.stop = function () { 2368 ie.clearTimeout(n) 2369 } 2370 }) 2371 }, lt = C.createElement("input"), ct = C.createElement("select").appendChild(C.createElement("option")), lt.type = "checkbox", le.checkOn = "" !== lt.value, le.optSelected = ct.selected, (lt = C.createElement("input")).value = "t", lt.type = "radio", le.radioValue = "t" === lt.value; 2372 var mt, xt = ce.expr.attrHandle; 2373 ce.fn.extend({ 2374 attr: function (e, t) { 2375 return M(this, ce.attr, e, t, 1 < arguments.length) 2376 }, 2377 removeAttr: function (e) { 2378 return this.each(function () { 2379 ce.removeAttr(this, e) 2380 }) 2381 } 2382 }), ce.extend({ 2383 attr: function (e, t, n) { 2384 var r, i, o = e.nodeType; 2385 if (3 !== o && 8 !== o && 2 !== o) return "undefined" == typeof e.getAttribute ? ce.prop(e, t, n) : (1 === o && ce.isXMLDoc(e) || (i = ce.attrHooks[t.toLowerCase()] || (ce.expr.match.bool.test(t) ? mt : void 0)), void 0 !== n ? null === n ? void ce.removeAttr(e, t) : i && "set" in i && void 0 !== (r = i.set(e, n, t)) ? r : (e.setAttribute(t, n + ""), n) : i && "get" in i && null !== (r = i.get(e, t)) ? r : null == (r = ce.find.attr(e, t)) ? void 0 : r) 2386 }, 2387 attrHooks: { 2388 type: { 2389 set: function (e, t) { 2390 if (!le.radioValue && "radio" === t && fe(e, "input")) { 2391 var n = e.value; 2392 return e.setAttribute("type", t), n && (e.value = n), t 2393 } 2394 } 2395 } 2396 }, 2397 removeAttr: function (e, t) { 2398 var n, r = 0, 2399 i = t && t.match(D); 2400 if (i && 1 === e.nodeType) 2401 while (n = i[r++]) e.removeAttribute(n) 2402 } 2403 }), mt = { 2404 set: function (e, t, n) { 2405 return !1 === t ? ce.removeAttr(e, n) : e.setAttribute(n, n), n 2406 } 2407 }, ce.each(ce.expr.match.bool.source.match(/\w+/g), function (e, t) { 2408 var a = xt[t] || ce.find.attr; 2409 xt[t] = function (e, t, n) { 2410 var r, i, o = t.toLowerCase(); 2411 return n || (i = xt[o], xt[o] = r, r = null != a(e, t, n) ? o : null, xt[o] = i), r 2412 } 2413 }); 2414 var bt = /^(?:input|select|textarea|button)$/i, 2415 wt = /^(?:a|area)$/i; 2416 2417 function Tt(e) { 2418 return (e.match(D) || []).join(" ") 2419 } 2420 2421 function Ct(e) { 2422 return e.getAttribute && e.getAttribute("class") || "" 2423 } 2424 2425 function kt(e) { 2426 return Array.isArray(e) ? e : "string" == typeof e && e.match(D) || [] 2427 } 2428 ce.fn.extend({ 2429 prop: function (e, t) { 2430 return M(this, ce.prop, e, t, 1 < arguments.length) 2431 }, 2432 removeProp: function (e) { 2433 return this.each(function () { 2434 delete this[ce.propFix[e] || e] 2435 }) 2436 } 2437 }), ce.extend({ 2438 prop: function (e, t, n) { 2439 var r, i, o = e.nodeType; 2440 if (3 !== o && 8 !== o && 2 !== o) return 1 === o && ce.isXMLDoc(e) || (t = ce.propFix[t] || t, i = ce.propHooks[t]), void 0 !== n ? i && "set" in i && void 0 !== (r = i.set(e, n, t)) ? r : e[t] = n : i && "get" in i && null !== (r = i.get(e, t)) ? r : e[t] 2441 }, 2442 propHooks: { 2443 tabIndex: { 2444 get: function (e) { 2445 var t = ce.find.attr(e, "tabindex"); 2446 return t ? parseInt(t, 10) : bt.test(e.nodeName) || wt.test(e.nodeName) && e.href ? 0 : -1 2447 } 2448 } 2449 }, 2450 propFix: { 2451 "for": "htmlFor", 2452 "class": "className" 2453 } 2454 }), le.optSelected || (ce.propHooks.selected = { 2455 get: function (e) { 2456 var t = e.parentNode; 2457 return t && t.parentNode && t.parentNode.selectedIndex, null 2458 }, 2459 set: function (e) { 2460 var t = e.parentNode; 2461 t && (t.selectedIndex, t.parentNode && t.parentNode.selectedIndex) 2462 } 2463 }), ce.each(["tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable"], function () { 2464 ce.propFix[this.toLowerCase()] = this 2465 }), ce.fn.extend({ 2466 addClass: function (t) { 2467 var e, n, r, i, o, a; 2468 return v(t) ? this.each(function (e) { 2469 ce(this).addClass(t.call(this, e, Ct(this))) 2470 }) : (e = kt(t)).length ? this.each(function () { 2471 if (r = Ct(this), n = 1 === this.nodeType && " " + Tt(r) + " ") { 2472 for (o = 0; o < e.length; o++) i = e[o], n.indexOf(" " + i + " ") < 0 && (n += i + " "); 2473 a = Tt(n), r !== a && this.setAttribute("class", a) 2474 } 2475 }) : this 2476 }, 2477 removeClass: function (t) { 2478 var e, n, r, i, o, a; 2479 return v(t) ? this.each(function (e) { 2480 ce(this).removeClass(t.call(this, e, Ct(this))) 2481 }) : arguments.length ? (e = kt(t)).length ? this.each(function () { 2482 if (r = Ct(this), n = 1 === this.nodeType && " " + Tt(r) + " ") { 2483 for (o = 0; o < e.length; o++) { 2484 i = e[o]; 2485 while (-1 < n.indexOf(" " + i + " ")) n = n.replace(" " + i + " ", " ") 2486 } 2487 a = Tt(n), r !== a && this.setAttribute("class", a) 2488 } 2489 }) : this : this.attr("class", "") 2490 }, 2491 toggleClass: function (t, n) { 2492 var e, r, i, o, a = typeof t, 2493 s = "string" === a || Array.isArray(t); 2494 return v(t) ? this.each(function (e) { 2495 ce(this).toggleClass(t.call(this, e, Ct(this), n), n) 2496 }) : "boolean" == typeof n && s ? n ? this.addClass(t) : this.removeClass(t) : (e = kt(t), this.each(function () { 2497 if (s) 2498 for (o = ce(this), i = 0; i < e.length; i++) r = e[i], o.hasClass(r) ? o.removeClass(r) : o.addClass(r); 2499 else void 0 !== t && "boolean" !== a || ((r = Ct(this)) && _.set(this, "__className__", r), this.setAttribute && this.setAttribute("class", r || !1 === t ? "" : _.get(this, "__className__") || "")) 2500 })) 2501 }, 2502 hasClass: function (e) { 2503 var t, n, r = 0; 2504 t = " " + e + " "; 2505 while (n = this[r++]) 2506 if (1 === n.nodeType && -1 < (" " + Tt(Ct(n)) + " ").indexOf(t)) return !0; 2507 return !1 2508 } 2509 }); 2510 var St = /\r/g; 2511 ce.fn.extend({ 2512 val: function (n) { 2513 var r, e, i, t = this[0]; 2514 return arguments.length ? (i = v(n), this.each(function (e) { 2515 var t; 2516 1 === this.nodeType && (null == (t = i ? n.call(this, e, ce(this).val()) : n) ? t = "" : "number" == typeof t ? t += "" : Array.isArray(t) && (t = ce.map(t, function (e) { 2517 return null == e ? "" : e + "" 2518 })), (r = ce.valHooks[this.type] || ce.valHooks[this.nodeName.toLowerCase()]) && "set" in r && void 0 !== r.set(this, t, "value") || (this.value = t)) 2519 })) : t ? (r = ce.valHooks[t.type] || ce.valHooks[t.nodeName.toLowerCase()]) && "get" in r && void 0 !== (e = r.get(t, "value")) ? e : "string" == typeof (e = t.value) ? e.replace(St, "") : null == e ? "" : e : void 0 2520 } 2521 }), ce.extend({ 2522 valHooks: { 2523 option: { 2524 get: function (e) { 2525 var t = ce.find.attr(e, "value"); 2526 return null != t ? t : Tt(ce.text(e)) 2527 } 2528 }, 2529 select: { 2530 get: function (e) { 2531 var t, n, r, i = e.options, 2532 o = e.selectedIndex, 2533 a = "select-one" === e.type, 2534 s = a ? null : [], 2535 u = a ? o + 1 : i.length; 2536 for (r = o < 0 ? u : a ? o : 0; r < u; r++) 2537 if (((n = i[r]).selected || r === o) && !n.disabled && (!n.parentNode.disabled || !fe(n.parentNode, "optgroup"))) { 2538 if (t = ce(n).val(), a) return t; 2539 s.push(t) 2540 } return s 2541 }, 2542 set: function (e, t) { 2543 var n, r, i = e.options, 2544 o = ce.makeArray(t), 2545 a = i.length; 2546 while (a--)((r = i[a]).selected = -1 < ce.inArray(ce.valHooks.option.get(r), o)) && (n = !0); 2547 return n || (e.selectedIndex = -1), o 2548 } 2549 } 2550 } 2551 }), ce.each(["radio", "checkbox"], function () { 2552 ce.valHooks[this] = { 2553 set: function (e, t) { 2554 if (Array.isArray(t)) return e.checked = -1 < ce.inArray(ce(e).val(), t) 2555 } 2556 }, le.checkOn || (ce.valHooks[this].get = function (e) { 2557 return null === e.getAttribute("value") ? "on" : e.value 2558 }) 2559 }); 2560 var Et = ie.location, 2561 jt = { 2562 guid: Date.now() 2563 }, 2564 At = /\?/; 2565 ce.parseXML = function (e) { 2566 var t, n; 2567 if (!e || "string" != typeof e) return null; 2568 try { 2569 t = (new ie.DOMParser).parseFromString(e, "text/xml") 2570 } catch (e) {} 2571 return n = t && t.getElementsByTagName("parsererror")[0], t && !n || ce.error("Invalid XML: " + (n ? ce.map(n.childNodes, function (e) { 2572 return e.textContent 2573 }).join("\n") : e)), t 2574 }; 2575 var Dt = /^(?:focusinfocus|focusoutblur)$/, 2576 Nt = function (e) { 2577 e.stopPropagation() 2578 }; 2579 ce.extend(ce.event, { 2580 trigger: function (e, t, n, r) { 2581 var i, o, a, s, u, l, c, f, p = [n || C], 2582 d = ue.call(e, "type") ? e.type : e, 2583 h = ue.call(e, "namespace") ? e.namespace.split(".") : []; 2584 if (o = f = a = n = n || C, 3 !== n.nodeType && 8 !== n.nodeType && !Dt.test(d + ce.event.triggered) && (-1 < d.indexOf(".") && (d = (h = d.split(".")).shift(), h.sort()), u = d.indexOf(":") < 0 && "on" + d, (e = e[ce.expando] ? e : new ce.Event(d, "object" == typeof e && e)).isTrigger = r ? 2 : 3, e.namespace = h.join("."), e.rnamespace = e.namespace ? new RegExp("(^|\\.)" + h.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, e.result = void 0, e.target || (e.target = n), t = null == t ? [e] : ce.makeArray(t, [e]), c = ce.event.special[d] || {}, r || !c.trigger || !1 !== c.trigger.apply(n, t))) { 2585 if (!r && !c.noBubble && !y(n)) { 2586 for (s = c.delegateType || d, Dt.test(s + d) || (o = o.parentNode); o; o = o.parentNode) p.push(o), a = o; 2587 a === (n.ownerDocument || C) && p.push(a.defaultView || a.parentWindow || ie) 2588 } 2589 i = 0; 2590 while ((o = p[i++]) && !e.isPropagationStopped()) f = o, e.type = 1 < i ? s : c.bindType || d, (l = (_.get(o, "events") || Object.create(null))[e.type] && _.get(o, "handle")) && l.apply(o, t), (l = u && o[u]) && l.apply && $(o) && (e.result = l.apply(o, t), !1 === e.result && e.preventDefault()); 2591 return e.type = d, r || e.isDefaultPrevented() || c._default && !1 !== c._default.apply(p.pop(), t) || !$(n) || u && v(n[d]) && !y(n) && ((a = n[u]) && (n[u] = null), ce.event.triggered = d, e.isPropagationStopped() && f.addEventListener(d, Nt), n[d](), e.isPropagationStopped() && f.removeEventListener(d, Nt), ce.event.triggered = void 0, a && (n[u] = a)), e.result 2592 } 2593 }, 2594 simulate: function (e, t, n) { 2595 var r = ce.extend(new ce.Event, n, { 2596 type: e, 2597 isSimulated: !0 2598 }); 2599 ce.event.trigger(r, null, t) 2600 } 2601 }), ce.fn.extend({ 2602 trigger: function (e, t) { 2603 return this.each(function () { 2604 ce.event.trigger(e, t, this) 2605 }) 2606 }, 2607 triggerHandler: function (e, t) { 2608 var n = this[0]; 2609 if (n) return ce.event.trigger(e, t, n, !0) 2610 } 2611 }); 2612 var qt = /\[\]$/, 2613 Lt = /\r?\n/g, 2614 Ht = /^(?:submit|button|image|reset|file)$/i, 2615 Ot = /^(?:input|select|textarea|keygen)/i; 2616 2617 function Pt(n, e, r, i) { 2618 var t; 2619 if (Array.isArray(e)) ce.each(e, function (e, t) { 2620 r || qt.test(n) ? i(n, t) : Pt(n + "[" + ("object" == typeof t && null != t ? e : "") + "]", t, r, i) 2621 }); 2622 else if (r || "object" !== x(e)) i(n, e); 2623 else 2624 for (t in e) Pt(n + "[" + t + "]", e[t], r, i) 2625 } 2626 ce.param = function (e, t) { 2627 var n, r = [], 2628 i = function (e, t) { 2629 var n = v(t) ? t() : t; 2630 r[r.length] = encodeURIComponent(e) + "=" + encodeURIComponent(null == n ? "" : n) 2631 }; 2632 if (null == e) return ""; 2633 if (Array.isArray(e) || e.jquery && !ce.isPlainObject(e)) ce.each(e, function () { 2634 i(this.name, this.value) 2635 }); 2636 else 2637 for (n in e) Pt(n, e[n], t, i); 2638 return r.join("&") 2639 }, ce.fn.extend({ 2640 serialize: function () { 2641 return ce.param(this.serializeArray()) 2642 }, 2643 serializeArray: function () { 2644 return this.map(function () { 2645 var e = ce.prop(this, "elements"); 2646 return e ? ce.makeArray(e) : this 2647 }).filter(function () { 2648 var e = this.type; 2649 return this.name && !ce(this).is(":disabled") && Ot.test(this.nodeName) && !Ht.test(e) && (this.checked || !we.test(e)) 2650 }).map(function (e, t) { 2651 var n = ce(this).val(); 2652 return null == n ? null : Array.isArray(n) ? ce.map(n, function (e) { 2653 return { 2654 name: t.name, 2655 value: e.replace(Lt, "\r\n") 2656 } 2657 }) : { 2658 name: t.name, 2659 value: n.replace(Lt, "\r\n") 2660 } 2661 }).get() 2662 } 2663 }); 2664 var Mt = /%20/g, 2665 Rt = /#.*$/, 2666 It = /([?&])_=[^&]*/, 2667 Wt = /^(.*?):[ \t]*([^\r\n]*)$/gm, 2668 Ft = /^(?:GET|HEAD)$/, 2669 $t = /^\/\//, 2670 Bt = {}, 2671 _t = {}, 2672 zt = "*/".concat("*"), 2673 Xt = C.createElement("a"); 2674 2675 function Ut(o) { 2676 return function (e, t) { 2677 "string" != typeof e && (t = e, e = "*"); 2678 var n, r = 0, 2679 i = e.toLowerCase().match(D) || []; 2680 if (v(t)) 2681 while (n = i[r++]) "+" === n[0] ? (n = n.slice(1) || "*", (o[n] = o[n] || []).unshift(t)) : (o[n] = o[n] || []).push(t) 2682 } 2683 } 2684 2685 function Vt(t, i, o, a) { 2686 var s = {}, 2687 u = t === _t; 2688 2689 function l(e) { 2690 var r; 2691 return s[e] = !0, ce.each(t[e] || [], function (e, t) { 2692 var n = t(i, o, a); 2693 return "string" != typeof n || u || s[n] ? u ? !(r = n) : void 0 : (i.dataTypes.unshift(n), l(n), !1) 2694 }), r 2695 } 2696 return l(i.dataTypes[0]) || !s["*"] && l("*") 2697 } 2698 2699 function Gt(e, t) { 2700 var n, r, i = ce.ajaxSettings.flatOptions || {}; 2701 for (n in t) void 0 !== t[n] && ((i[n] ? e : r || (r = {}))[n] = t[n]); 2702 return r && ce.extend(!0, e, r), e 2703 } 2704 Xt.href = Et.href, ce.extend({ 2705 active: 0, 2706 lastModified: {}, 2707 etag: {}, 2708 ajaxSettings: { 2709 url: Et.href, 2710 type: "GET", 2711 isLocal: /^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol), 2712 global: !0, 2713 processData: !0, 2714 async: !0, 2715 contentType: "application/x-www-form-urlencoded; charset=UTF-8", 2716 accepts: { 2717 "*": zt, 2718 text: "text/plain", 2719 html: "text/html", 2720 xml: "application/xml, text/xml", 2721 json: "application/json, text/javascript" 2722 }, 2723 contents: { 2724 xml: /\bxml\b/, 2725 html: /\bhtml/, 2726 json: /\bjson\b/ 2727 }, 2728 responseFields: { 2729 xml: "responseXML", 2730 text: "responseText", 2731 json: "responseJSON" 2732 }, 2733 converters: { 2734 "* text": String, 2735 "text html": !0, 2736 "text json": JSON.parse, 2737 "text xml": ce.parseXML 2738 }, 2739 flatOptions: { 2740 url: !0, 2741 context: !0 2742 } 2743 }, 2744 ajaxSetup: function (e, t) { 2745 return t ? Gt(Gt(e, ce.ajaxSettings), t) : Gt(ce.ajaxSettings, e) 2746 }, 2747 ajaxPrefilter: Ut(Bt), 2748 ajaxTransport: Ut(_t), 2749 ajax: function (e, t) { 2750 "object" == typeof e && (t = e, e = void 0), t = t || {}; 2751 var c, f, p, n, d, r, h, g, i, o, v = ce.ajaxSetup({}, t), 2752 y = v.context || v, 2753 m = v.context && (y.nodeType || y.jquery) ? ce(y) : ce.event, 2754 x = ce.Deferred(), 2755 b = ce.Callbacks("once memory"), 2756 w = v.statusCode || {}, 2757 a = {}, 2758 s = {}, 2759 u = "canceled", 2760 T = { 2761 readyState: 0, 2762 getResponseHeader: function (e) { 2763 var t; 2764 if (h) { 2765 if (!n) { 2766 n = {}; 2767 while (t = Wt.exec(p)) n[t[1].toLowerCase() + " "] = (n[t[1].toLowerCase() + " "] || []).concat(t[2]) 2768 } 2769 t = n[e.toLowerCase() + " "] 2770 } 2771 return null == t ? null : t.join(", ") 2772 }, 2773 getAllResponseHeaders: function () { 2774 return h ? p : null 2775 }, 2776 setRequestHeader: function (e, t) { 2777 return null == h && (e = s[e.toLowerCase()] = s[e.toLowerCase()] || e, a[e] = t), this 2778 }, 2779 overrideMimeType: function (e) { 2780 return null == h && (v.mimeType = e), this 2781 }, 2782 statusCode: function (e) { 2783 var t; 2784 if (e) 2785 if (h) T.always(e[T.status]); 2786 else 2787 for (t in e) w[t] = [w[t], e[t]]; 2788 return this 2789 }, 2790 abort: function (e) { 2791 var t = e || u; 2792 return c && c.abort(t), l(0, t), this 2793 } 2794 }; 2795 if (x.promise(T), v.url = ((e || v.url || Et.href) + "").replace($t, Et.protocol + "//"), v.type = t.method || t.type || v.method || v.type, v.dataTypes = (v.dataType || "*").toLowerCase().match(D) || [""], null == v.crossDomain) { 2796 r = C.createElement("a"); 2797 try { 2798 r.href = v.url, r.href = r.href, v.crossDomain = Xt.protocol + "//" + Xt.host != r.protocol + "//" + r.host 2799 } catch (e) { 2800 v.crossDomain = !0 2801 } 2802 } 2803 if (v.data && v.processData && "string" != typeof v.data && (v.data = ce.param(v.data, v.traditional)), Vt(Bt, v, t, T), h) return T; 2804 for (i in (g = ce.event && v.global) && 0 == ce.active++ && ce.event.trigger("ajaxStart"), v.type = v.type.toUpperCase(), v.hasContent = !Ft.test(v.type), f = v.url.replace(Rt, ""), v.hasContent ? v.data && v.processData && 0 === (v.contentType || "").indexOf("application/x-www-form-urlencoded") && (v.data = v.data.replace(Mt, "+")) : (o = v.url.
vendor: 14,859 bytes, lines 2804-3109
2804slice(f.length), v.data && (v.processData || "string" == typeof v.data) && (f += (At.test(f) ? "&" : "?") + v.data, delete v.data), !1 === v.cache && (f = f.replace(It, "$1"), o = (At.test(f) ? "&" : "?") + "_=" + jt.guid++ + o), v.url = f + o), v.ifModified && (ce.lastModified[f] && T.setRequestHeader("If-Modified-Since", ce.lastModified[f]), ce.etag[f] && T.setRequestHeader("If-None-Match", ce.etag[f])), (v.data && v.hasContent && !1 !== v.contentType || t.contentType) && T.setRequestHeader("Content-Type", v.contentType), T.setRequestHeader("Accept", v.dataTypes[0] && v.accepts[v.dataTypes[0]] ? v.accepts[v.dataTypes[0]] + ("*" !== v.dataTypes[0] ? ", " + zt + "; q=0.01" : "") : v.accepts["*"]), v.headers) T.setRequestHeader(i, v.headers[i]); 2805 if (v.beforeSend && (!1 === v.beforeSend.call(y, T, v) || h)) return T.abort(); 2806 if (u = "abort", b.add(v.complete), T.done(v.success), T.fail(v.error), c = Vt(_t, v, t, T)) { 2807 if (T.readyState = 1, g && m.trigger("ajaxSend", [T, v]), h) return T; 2808 v.async && 0 < v.timeout && (d = ie.setTimeout(function () { 2809 T.abort("timeout") 2810 }, v.timeout)); 2811 try { 2812 h = !1, c.send(a, l) 2813 } catch (e) { 2814 if (h) throw e; 2815 l(-1, e) 2816 } 2817 } else l(-1, "No Transport"); 2818 2819 function l(e, t, n, r) { 2820 var i, o, a, s, u, l = t; 2821 h || (h = !0, d && ie.clearTimeout(d), c = void 0, p = r || "", T.readyState = 0 < e ? 4 : 0, i = 200 <= e && e < 300 || 304 === e, n && (s = function (e, t, n) { 2822 var r, i, o, a, s = e.contents, 2823 u = e.dataTypes; 2824 while ("*" === u[0]) u.shift(), void 0 === r && (r = e.mimeType || t.getResponseHeader("Content-Type")); 2825 if (r) 2826 for (i in s) 2827 if (s[i] && s[i].test(r)) { 2828 u.unshift(i); 2829 break 2830 } if (u[0] in n) o = u[0]; 2831 else { 2832 for (i in n) { 2833 if (!u[0] || e.converters[i + " " + u[0]]) { 2834 o = i; 2835 break 2836 } 2837 a || (a = i) 2838 } 2839 o = o || a 2840 } 2841 if (o) return o !== u[0] && u.unshift(o), n[o] 2842 }(v, T, n)), !i && -1 < ce.inArray("script", v.dataTypes) && ce.inArray("json", v.dataTypes) < 0 && (v.converters["text script"] = function () {}), s = function (e, t, n, r) { 2843 var i, o, a, s, u, l = {}, 2844 c = e.dataTypes.slice(); 2845 if (c[1]) 2846 for (a in e.converters) l[a.toLowerCase()] = e.converters[a]; 2847 o = c.shift(); 2848 while (o) 2849 if (e.responseFields[o] && (n[e.responseFields[o]] = t), !u && r && e.dataFilter && (t = e.dataFilter(t, e.dataType)), u = o, o = c.shift()) 2850 if ("*" === o) o = u; 2851 else if ("*" !== u && u !== o) { 2852 if (!(a = l[u + " " + o] || l["* " + o])) 2853 for (i in l) 2854 if ((s = i.split(" "))[1] === o && (a = l[u + " " + s[0]] || l["* " + s[0]])) { 2855 !0 === a ? a = l[i] : !0 !== l[i] && (o = s[0], c.unshift(s[1])); 2856 break 2857 } if (!0 !== a) 2858 if (a && e["throws"]) t = a(t); 2859 else try { 2860 t = a(t) 2861 } catch (e) { 2862 return { 2863 state: "parsererror", 2864 error: a ? e : "No conversion from " + u + " to " + o 2865 } 2866 } 2867 } 2868 return { 2869 state: "success", 2870 data: t 2871 } 2872 }(v, s, T, i), i ? (v.ifModified && ((u = T.getResponseHeader("Last-Modified")) && (ce.lastModified[f] = u), (u = T.getResponseHeader("etag")) && (ce.etag[f] = u)), 204 === e || "HEAD" === v.type ? l = "nocontent" : 304 === e ? l = "notmodified" : (l = s.state, o = s.data, i = !(a = s.error))) : (a = l, !e && l || (l = "error", e < 0 && (e = 0))), T.status = e, T.statusText = (t || l) + "", i ? x.resolveWith(y, [o, l, T]) : x.rejectWith(y, [T, l, a]), T.statusCode(w), w = void 0, g && m.trigger(i ? "ajaxSuccess" : "ajaxError", [T, v, i ? o : a]), b.fireWith(y, [T, l]), g && (m.trigger("ajaxComplete", [T, v]), --ce.active || ce.event.trigger("ajaxStop"))) 2873 } 2874 return T 2875 }, 2876 getJSON: function (e, t, n) { 2877 return ce.get(e, t, n, "json") 2878 }, 2879 getScript: function (e, t) { 2880 return ce.get(e, void 0, t, "script") 2881 } 2882 }), ce.each(["get", "post"], function (e, i) { 2883 ce[i] = function (e, t, n, r) { 2884 return v(t) && (r = r || n, n = t, t = void 0), ce.ajax(ce.extend({ 2885 url: e, 2886 type: i, 2887 dataType: r, 2888 data: t, 2889 success: n 2890 }, ce.isPlainObject(e) && e)) 2891 } 2892 }), ce.ajaxPrefilter(function (e) { 2893 var t; 2894 for (t in e.headers) "content-type" === t.toLowerCase() && (e.contentType = e.headers[t] || "") 2895 }), ce._evalUrl = function (e, t, n) { 2896 return ce.ajax({ 2897 url: e, 2898 type: "GET", 2899 dataType: "script", 2900 cache: !0, 2901 async: !1, 2902 global: !1, 2903 converters: { 2904 "text script": function () {} 2905 }, 2906 dataFilter: function (e) { 2907 ce.globalEval(e, t, n) 2908 } 2909 }) 2910 }, ce.fn.extend({ 2911 wrapAll: function (e) { 2912 var t; 2913 return this[0] && (v(e) && (e = e.call(this[0])), t = ce(e, this[0].ownerDocument).eq(0).clone(!0), this[0].parentNode && t.insertBefore(this[0]), t.map(function () { 2914 var e = this; 2915 while (e.firstElementChild) e = e.firstElementChild; 2916 return e 2917 }).append(this)), this 2918 }, 2919 wrapInner: function (n) { 2920 return v(n) ? this.each(function (e) { 2921 ce(this).wrapInner(n.call(this, e)) 2922 }) : this.each(function () { 2923 var e = ce(this), 2924 t = e.contents(); 2925 t.length ? t.wrapAll(n) : e.append(n) 2926 }) 2927 }, 2928 wrap: function (t) { 2929 var n = v(t); 2930 return this.each(function (e) { 2931 ce(this).wrapAll(n ? t.call(this, e) : t) 2932 }) 2933 }, 2934 unwrap: function (e) { 2935 return this.parent(e).not("body").each(function () { 2936 ce(this).replaceWith(this.childNodes) 2937 }), this 2938 } 2939 }), ce.expr.pseudos.hidden = function (e) { 2940 return !ce.expr.pseudos.visible(e) 2941 }, ce.expr.pseudos.visible = function (e) { 2942 return !!(e.offsetWidth || e.offsetHeight || e.getClientRects().length) 2943 }, ce.ajaxSettings.xhr = function () { 2944 try { 2945 return new ie.XMLHttpRequest 2946 } catch (e) {} 2947 }; 2948 var Yt = { 2949 0: 200, 2950 1223: 204 2951 }, 2952 Qt = ce.ajaxSettings.xhr(); 2953 le.cors = !!Qt && "withCredentials" in Qt, le.ajax = Qt = !!Qt, ce.ajaxTransport(function (i) { 2954 var o, a; 2955 if (le.cors || Qt && !i.crossDomain) return { 2956 send: function (e, t) { 2957 var n, r = i.xhr(); 2958 if (r.open(i.type, i.url, i.async, i.username, i.password), i.xhrFields) 2959 for (n in i.xhrFields) r[n] = i.xhrFields[n]; 2960 for (n in i.mimeType && r.overrideMimeType && r.overrideMimeType(i.mimeType), i.crossDomain || e["X-Requested-With"] || (e["X-Requested-With"] = "XMLHttpRequest"), e) r.setRequestHeader(n, e[n]); 2961 o = function (e) { 2962 return function () { 2963 o && (o = a = r.onload = r.onerror = r.onabort = r.ontimeout = r.onreadystatechange = null, "abort" === e ? r.abort() : "error" === e ? "number" != typeof r.status ? t(0, "error") : t(r.status, r.statusText) : t(Yt[r.status] || r.status, r.statusText, "text" !== (r.responseType || "text") || "string" != typeof r.responseText ? { 2964 binary: r.response 2965 } : { 2966 text: r.responseText 2967 }, r.getAllResponseHeaders())) 2968 } 2969 }, r.onload = o(), a = r.onerror = r.ontimeout = o("error"), void 0 !== r.onabort ? r.onabort = a : r.onreadystatechange = function () { 2970 4 === r.readyState && ie.setTimeout(function () { 2971 o && a() 2972 }) 2973 }, o = o("abort"); 2974 try { 2975 r.send(i.hasContent && i.data || null) 2976 } catch (e) { 2977 if (o) throw e 2978 } 2979 }, 2980 abort: function () { 2981 o && o() 2982 } 2983 } 2984 }), ce.ajaxPrefilter(function (e) { 2985 e.crossDomain && (e.contents.script = !1) 2986 }), ce.ajaxSetup({ 2987 accepts: { 2988 script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript" 2989 }, 2990 contents: { 2991 script: /\b(?:java|ecma)script\b/ 2992 }, 2993 converters: { 2994 "text script": function (e) { 2995 return ce.globalEval(e), e 2996 } 2997 } 2998 }), ce.ajaxPrefilter("script", function (e) { 2999 void 0 === e.cache && (e.cache = !1), e.crossDomain && (e.type = "GET") 3000 }), ce.ajaxTransport("script", function (n) { 3001 var r, i; 3002 if (n.crossDomain || n.scriptAttrs) return { 3003 send: function (e, t) { 3004 r = ce("<script>").attr(n.scriptAttrs || {}).prop({ 3005 charset: n.scriptCharset, 3006 src: n.url 3007 }).on("load error", i = function (e) { 3008 r.remove(), i = null, e && t("error" === e.type ? 404 : 200, e.type) 3009 }), C.head.appendChild(r[0]) 3010 }, 3011 abort: function () { 3012 i && i() 3013 } 3014 } 3015 }); 3016 var Jt, Kt = [], 3017 Zt = /(=)\?(?=&|$)|\?\?/; 3018 ce.ajaxSetup({ 3019 jsonp: "callback", 3020 jsonpCallback: function () { 3021 var e = Kt.pop() || ce.expando + "_" + jt.guid++; 3022 return this[e] = !0, e 3023 } 3024 }), ce.ajaxPrefilter("json jsonp", function (e, t, n) { 3025 var r, i, o, a = !1 !== e.jsonp && (Zt.test(e.url) ? "url" : "string" == typeof e.data && 0 === (e.contentType || "").indexOf("application/x-www-form-urlencoded") && Zt.test(e.data) && "data"); 3026 if (a || "jsonp" === e.dataTypes[0]) return r = e.jsonpCallback = v(e.jsonpCallback) ? e.jsonpCallback() : e.jsonpCallback, a ? e[a] = e[a].replace(Zt, "$1" + r) : !1 !== e.jsonp && (e.url += (At.test(e.url) ? "&" : "?") + e.jsonp + "=" + r), e.converters["script json"] = function () { 3027 return o || ce.error(r + " was not called"), o[0] 3028 }, e.dataTypes[0] = "json", i = ie[r], ie[r] = function () { 3029 o = arguments 3030 }, n.always(function () { 3031 void 0 === i ? ce(ie).removeProp(r) : ie[r] = i, e[r] && (e.jsonpCallback = t.jsonpCallback, Kt.push(r)), o && v(i) && i(o[0]), o = i = void 0 3032 }), "script" 3033 }), le.createHTMLDocument = ((Jt = C.implementation.createHTMLDocument("").body).innerHTML = "<form></form><form></form>", 2 === Jt.childNodes.length), ce.parseHTML = function (e, t, n) { 3034 return "string" != typeof e ? [] : ("boolean" == typeof t && (n = t, t = !1), t || (le.createHTMLDocument ? ((r = (t = C.implementation.createHTMLDocument("")).createElement("base")).href = C.location.href, t.head.appendChild(r)) : t = C), o = !n && [], (i = w.exec(e)) ? [t.createElement(i[1])] : (i = Ae([e], t, o), o && o.length && ce(o).remove(), ce.merge([], i.childNodes))); 3035 var r, i, o 3036 }, ce.fn.load = function (e, t, n) { 3037 var r, i, o, a = this, 3038 s = e.indexOf(" "); 3039 return -1 < s && (r = Tt(e.slice(s)), e = e.slice(0, s)), v(t) ? (n = t, t = void 0) : t && "object" == typeof t && (i = "POST"), 0 < a.length && ce.ajax({ 3040 url: e, 3041 type: i || "GET", 3042 dataType: "html", 3043 data: t 3044 }).done(function (e) { 3045 o = arguments, a.html(r ? ce("<div>").append(ce.parseHTML(e)).find(r) : e) 3046 }).always(n && function (e, t) { 3047 a.each(function () { 3048 n.apply(this, o || [e.responseText, t, e]) 3049 }) 3050 }), this 3051 }, ce.expr.pseudos.animated = function (t) { 3052 return ce.grep(ce.timers, function (e) { 3053 return t === e.elem 3054 }).length 3055 }, ce.offset = { 3056 setOffset: function (e, t, n) { 3057 var r, i, o, a, s, u, l = ce.css(e, "position"), 3058 c = ce(e), 3059 f = {}; 3060 "static" === l && (e.style.position = "relative"), s = c.offset(), o = ce.css(e, "top"), u = ce.css(e, "left"), ("absolute" === l || "fixed" === l) && -1 < (o + u).indexOf("auto") ? (a = (r = c.position()).top, i = r.left) : (a = parseFloat(o) || 0, i = parseFloat(u) || 0), v(t) && (t = t.call(e, n, ce.extend({}, s))), null != t.top && (f.top = t.top - s.top + a), null != t.left && (f.left = t.left - s.left + i), "using" in t ? t.using.call(e, f) : c.css(f) 3061 } 3062 }, ce.fn.extend({ 3063 offset: function (t) { 3064 if (arguments.length) return void 0 === t ? this : this.each(function (e) { 3065 ce.offset.setOffset(this, t, e) 3066 }); 3067 var e, n, r = this[0]; 3068 return r ? r.getClientRects().length ? (e = r.getBoundingClientRect(), n = r.ownerDocument.defaultView, { 3069 top: e.top + n.pageYOffset, 3070 left: e.left + n.pageXOffset 3071 }) : { 3072 top: 0, 3073 left: 0 3074 } : void 0 3075 }, 3076 position: function () { 3077 if (this[0]) { 3078 var e, t, n, r = this[0], 3079 i = { 3080 top: 0, 3081 left: 0 3082 }; 3083 if ("fixed" === ce.css(r, "position")) t = r.getBoundingClientRect(); 3084 else { 3085 t = this.offset(), n = r.ownerDocument, e = r.offsetParent || n.documentElement; 3086 while (e && (e === n.body || e === n.documentElement) && "static" === ce.css(e, "position")) e = e.parentNode; 3087 e && e !== r && 1 === e.nodeType && ((i = ce(e).offset()).top += ce.css(e, "borderTopWidth", !0), i.left += ce.css(e, "borderLeftWidth", !0)) 3088 } 3089 return { 3090 top: t.top - i.top - ce.css(r, "marginTop", !0), 3091 left: t.left - i.left - ce.css(r, "marginLeft", !0) 3092 } 3093 } 3094 }, 3095 offsetParent: function () { 3096 return this.map(function () { 3097 var e = this.offsetParent; 3098 while (e && "static" === ce.css(e, "position")) e = e.offsetParent; 3099 return e || J 3100 }) 3101 } 3102 }), ce.each({ 3103 scrollLeft: "pageXOffset", 3104 scrollTop: "pageYOffset" 3105 }, function (t, i) { 3106 var o = "pageYOffset" === i; 3107 ce.fn[t] = function (e) { 3108 return M(this, function (e, t, n) { 3109 var r;
3110 if (y(e) ? r = e : 9 === e.nodeType && (r = e.defaultView), void 0 === n) return r ? r[i] : e[t]; 3111 r ? r.scrollTo(o ? r.pageXOffset : n, o ? n : r.pageYOffset) : e[t] = n 3112 }, t, e, arguments.length) 3113 } 3114 }), ce.each(["top", "left"], function (e, n) { 3115 ce.cssHooks[n] = Ye(le.pixelPosition, function (e, t) { 3116 if (t) return t = Ge(e, n), _e.test(t) ? ce(e).position()[n] + "px" : t 3117 }) 3118 }), ce.each({ 3119 Height: "height", 3120 Width: "width" 3121 }, function (a, s) { 3122 ce.each({ 3123 padding: "inner" + a, 3124 content: s, 3125 "": "outer" + a 3126 }, function (r, o) { 3127 ce.fn[o] = function (e, t) { 3128 var n = arguments.length && (r || "boolean" != typeof e), 3129 i = r || (!0 === e || !0 === t ? "margin" : "border"); 3130 return M(this, function (e, t, n) { 3131 var r; 3132 return y(e) ? 0 === o.indexOf("outer") ? e["inner" + a] : e.document.documentElement["client" + a] : 9 === e.nodeType ? (r = e.documentElement, Math.max(e.body["scroll" + a], r["scroll" + a], e.body["offset" + a], r["offset" + a], r["client" + a])) : void 0 === n ? ce.css(e, t, i) : ce.style(e, t, n, i) 3133 }, s, n ? e : void 0, n) 3134 } 3135 }) 3136 }), ce.each(["ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend"], function (e, t) { 3137 ce.fn[t] = function (e) { 3138 return this.on(t, e) 3139 } 3140 }), ce.fn.extend({ 3141 bind: function (e, t, n) { 3142 return this.on(e, null, t, n) 3143 }, 3144 unbind: function (e, t) { 3145 return this.off(e, null, t) 3146 }, 3147 delegate: function (e, t, n, r) { 3148 return this.on(t, e, n, r) 3149 }, 3150 undelegate: function (e, t, n) { 3151 return 1 === arguments.length ? this.off(e, "**") : this.off(t, e || "**", n) 3152 }, 3153 hover: function (e, t) { 3154 return this.on("mouseenter", e).on("mouseleave", t || e) 3155 } 3156 }), ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "), function (e, n) { 3157 ce.fn[n] = function (e, t) { 3158 return 0 < arguments.length ? this.on(n, null, e, t) : this.trigger(n) 3159 } 3160 }); 3161 var en = /^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g; 3162 ce.proxy = function (e, t) { 3163 var n, r, i; 3164 if ("string" == typeof t && (n = e[t], t = e, e = n), v(e)) return r = ae.call(arguments, 2), (i = function () { 3165 return e.apply(t || this, r.concat(ae.call(arguments))) 3166 }).guid = e.guid = e.guid || ce.guid++, i 3167 }, ce.holdReady = function (e) { 3168 e ? ce.readyWait++ : ce.ready(!0) 3169 }, ce.isArray = Array.isArray, ce.parseJSON = JSON.parse, ce.nodeName = fe, ce.isFunction = v, ce.isWindow = y, ce.camelCase = F, ce.type = x, ce.now = Date.now, ce.isNumeric = function (e) { 3170 var t = ce.type(e); 3171 return ("number" === t || "string" === t) && !isNaN(e - parseFloat(e)) 3172 }, ce.trim = function (e) { 3173 return null == e ? "" : (e + "").replace(en, "$1") 3174 }, "function" == typeof define && define.amd && define("jquery", [], function () { 3175 return ce 3176 }); 3177 var tn = ie.jQuery, 3178 nn = ie.$; 3179 return ce.noConflict = function (e) { 3180 return ie.$ === ce && (ie.$ = nn), e && ie.jQuery === ce && (ie.jQuery = tn), ce 3181 }, "undefined" == typeof e && (ie.jQuery = ie.$ = ce), ce 3182}); 3183jQuery.noConflict(); 3184/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ 3185"undefined" == typeof jQuery.migrateMute && (jQuery.migrateMute = !0), 3186 function (t) { 3187 "use strict"; 3188 "function" == typeof define && define.amd ? define(["jquery"], function (e) { 3189 return t(e, window) 3190 }) : "object" == typeof module && module.exports ? module.exports = t(require("jquery"), window) : t(jQuery, window) 3191 }(function (s, n) { 3192 "use strict"; 3193 3194 function e(e) { 3195 return 0 <= function (e, t) { 3196 for (var r = /^(\d+)\.(\d+)\.(\d+)/, n = r.exec(e) || [], o = r.exec(t) || [], a = 1; a <= 3; a++) { 3197 if (+o[a] < +n[a]) return 1; 3198 if (+n[a] < +o[a]) return -1 3199 } 3200 return 0 3201 }(s.fn.jquery, e) 3202 } 3203 s.migrateVersion = "3.4.1"; 3204 var t = Object.create(null); 3205 s.migrateDisablePatches = function () { 3206 for (var e = 0; e < arguments.length; e++) t[arguments[e]] = !0 3207 }, s.migrateEnablePatches = function () { 3208 for (var e = 0; e < arguments.length; e++) delete t[arguments[e]] 3209 }, s.migrateIsPatchEnabled = function (e) { 3210 return !t[e] 3211 }, n.console && n.console.log && (s && e("3.0.0") && !e("5.0.0") || n.console.log("JQMIGRATE: jQuery 3.x-4.x REQUIRED"), s.migrateWarnings && n.console.log("JQMIGRATE: Migrate plugin loaded multiple times"), n.console.log("JQMIGRATE: Migrate is installed" + (s.migrateMute ? "" : " with logging active") + ", version " + s.migrateVersion)); 3212 var o = {}; 3213 3214 function u(e, t) { 3215 var r = n.console; 3216 !s.migrateIsPatchEnabled(e) || s.migrateDeduplicateWarnings && o[t] || (o[t] = !0, s.migrateWarnings.push(t + " [" + e + "]"), r && r.warn && !s.migrateMute && (r.warn("JQMIGRATE: " + t), s.migrateTrace && r.trace && r.trace())) 3217 } 3218 3219 function r(e, t, r, n, o) { 3220 Object.defineProperty(e, t, { 3221 configurable: !0, 3222 enumerable: !0, 3223 get: function () { 3224 return u(n, o), r 3225 }, 3226 set: function (e) { 3227 u(n, o), r = e 3228 } 3229 }) 3230 } 3231 3232 function a(e, t, r, n, o) { 3233 var a = e[t]; 3234 e[t] = function () { 3235 return o && u(n, o), (s.migrateIsPatchEnabled(n) ? r : a || s.noop).apply(this, arguments) 3236 } 3237 } 3238 3239 function c(e, t, r, n, o) { 3240 if (!o) throw new Error("No warning message provided"); 3241 return a(e, t, r, n, o), 0 3242 } 3243 3244 function i(e, t, r, n) { 3245 return a(e, t, r, n), 0 3246 } 3247 s.migrateDeduplicateWarnings = !0, s.migrateWarnings = [], void 0 === s.migrateTrace && (s.migrateTrace = !0), s.migrateReset = function () { 3248 o = {}, s.migrateWarnings.length = 0 3249 }, "BackCompat" === n.document.compatMode && u("quirks", "jQuery is not compatible with Quirks Mode"); 3250 var d, l, p, f = {}, 3251 m = s.fn.init, 3252 y = s.find, 3253 h = /\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/, 3254 g = /\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g, 3255 v = /^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g; 3256 for (d in i(s.fn, "init", function (e) { 3257 var t = Array.prototype.slice.call(arguments); 3258 return s.migrateIsPatchEnabled("selector-empty-id") && "string" == typeof e && "#" === e && (u("selector-empty-id", "jQuery( '#' ) is not a valid selector"), t[0] = []), m.apply(this, t) 3259 }, "selector-empty-id"), s.fn.init.prototype = s.fn, i(s, "find", function (t) { 3260 var r = Array.prototype.slice.call(arguments); 3261 if ("string" == typeof t && h.test(t)) try { 3262 n.document.querySelector(t) 3263 } catch (e) { 3264 t = t.replace(g, function (e, t, r, n) { 3265 return "[" + t + r + '"' + n + '"]' 3266 }); 3267 try { 3268 n.document.querySelector(t), u("selector-hash", "Attribute selector with '#' must be quoted: " + r[0]), r[0] = t 3269 } catch (e) { 3270 u("selector-hash", "Attribute selector with '#' was not fixed: " + r[0]) 3271 } 3272 } 3273 return y.apply(this, r) 3274 }, "selector-hash"), y) Object.prototype.hasOwnProperty.call(y, d) && (s.find[d] = y[d]); 3275 c(s.fn, "size", function () { 3276 return this.length 3277 }, "size", "jQuery.fn.size() is deprecated and removed; use the .length property"), c(s, "parseJSON", function () { 3278 return JSON.parse.apply(null, arguments) 3279 }, "parseJSON", "jQuery.parseJSON is deprecated; use JSON.parse"), c(s, "holdReady", s.holdReady, "holdReady", "jQuery.holdReady is deprecated"), c(s, "unique", s.uniqueSort, "unique", "jQuery.unique is deprecated; use jQuery.uniqueSort"), r(s.expr, "filters", s.expr.pseudos, "expr-pre-pseudos", "jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"), r(s.expr, ":", s.expr.pseudos, "expr-pre-pseudos", "jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"), e("3.1.1") && c(s, "trim", function (e) { 3280 return null == e ? "" : (e + "").replace(v, "$1") 3281 }, "trim", "jQuery.trim is deprecated; use String.prototype.trim"), e("3.2.0") && (c(s, "nodeName", function (e, t) {
3282 return e.nodeName && e.nodeName.toLowerCase() === t.toLowerCase() 3283 }, "nodeName", "jQuery.nodeName is deprecated"), c(s, "isArray", Array.isArray, "isArray", "jQuery.isArray is deprecated; use Array.isArray")), e("3.3.0") && (c(s, "isNumeric", function (e) { 3284 var t = typeof e; 3285 return ("number" == t || "string" == t) && !isNaN(e - parseFloat(e)) 3286 }, "isNumeric", "jQuery.isNumeric() is deprecated"), s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "), function (e, t) { 3287 f["[object " + t + "]"] = t.toLowerCase() 3288 }), c(s, "type", function (e) { 3289 return null == e ? e + "" : "object" == typeof e || "function" == typeof e ? f[Object.prototype.toString.call(e)] || "object" : typeof e 3290 }, "type", "jQuery.type is deprecated"), c(s, "isFunction", function (e) { 3291 return "function" == typeof e 3292 }, "isFunction", "jQuery.isFunction() is deprecated"), c(s, "isWindow", function (e) { 3293 return null != e && e === e.window 3294 }, "isWindow", "jQuery.isWindow() is deprecated")), s.ajax && (l = s.ajax, p = /(=)\?(?=&|$)|\?\?/, i(s, "ajax", function () { 3295 var e = l.apply(this, arguments); 3296 return e.promise && (c(e, "success", e.done, "jqXHR-methods", "jQXHR.success is deprecated and removed"), c(e, "error", e.fail, "jqXHR-methods", "jQXHR.error is deprecated and removed"), c(e, "complete", e.always, "jqXHR-methods", "jQXHR.complete is deprecated and removed")), e 3297 }, "jqXHR-methods"), e("4.0.0") || s.ajaxPrefilter("+json", function (e) { 3298 !1 !== e.jsonp && (p.test(e.url) || "string" == typeof e.data && 0 === (e.contentType || "").indexOf("application/x-www-form-urlencoded") && p.test(e.data)) && u("jsonp-promotion", "JSON-to-JSONP auto-promotion is deprecated") 3299 })); 3300 var j = s.fn.removeAttr, 3301 b = s.fn.toggleClass, 3302 w = /\S+/g; 3303 3304 function x(e) { 3305 return e.replace(/-([a-z])/g, function (e, t) { 3306 return t.toUpperCase() 3307 }) 3308 } 3309 i(s.fn, "removeAttr", function (e) { 3310 var r = this, 3311 n = !1; 3312 return s.each(e.match(w), function (e, t) { 3313 s.expr.match.bool.test(t) && r.each(function () { 3314 if (!1 !== s(this).prop(t)) return !(n = !0) 3315 }), n && (u("removeAttr-bool", "jQuery.fn.removeAttr no longer sets boolean properties: " + t), r.prop(t, !1)) 3316 }), j.apply(this, arguments) 3317 }, "removeAttr-bool"), i(s.fn, "toggleClass", function (t) { 3318 return void 0 !== t && "boolean" != typeof t ? b.apply(this, arguments) : (u("toggleClass-bool", "jQuery.fn.toggleClass( boolean ) is deprecated"), this.each(function () { 3319 var e = this.getAttribute && this.getAttribute("class") || ""; 3320 e && s.data(this, "__className__", e), this.setAttribute && this.setAttribute("class", !e && !1 !== t && s.data(this, "__className__") || "") 3321 })) 3322 }, "toggleClass-bool"); 3323 var Q, A, R = !1, 3324 C = /^[a-z]/, 3325 N = /^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/; 3326 s.swap && s.each(["height", "width", "reliableMarginRight"], function (e, t) { 3327 var r = s.cssHooks[t] && s.cssHooks[t].get; 3328 r && (s.cssHooks[t].get = function () { 3329 var e; 3330 return R = !0, e = r.apply(this, arguments), R = !1, e 3331 }) 3332 }), i(s, "swap", function (e, t, r, n) { 3333 var o, a, i = {}; 3334 for (a in R || u("swap", "jQuery.swap() is undocumented and deprecated"), t) i[a] = e.style[a], e.style[a] = t[a]; 3335 for (a in o = r.apply(e, n || []), t) e.style[a] = i[a]; 3336 return o 3337 }, "swap"), e("3.4.0") && "undefined" != typeof Proxy && (s.cssProps = new Proxy(s.cssProps || {}, { 3338 set: function () { 3339 return u("cssProps", "jQuery.cssProps is deprecated"), Reflect.set.apply(this, arguments) 3340 } 3341 })), e("4.0.0") ? (A = { 3342 animationIterationCount: !0, 3343 columnCount: !0, 3344 fillOpacity: !0, 3345 flexGrow: !0, 3346 flexShrink: !0, 3347 fontWeight: !0, 3348 gridArea: !0, 3349 gridColumn: !0, 3350 gridColumnEnd: !0, 3351 gridColumnStart: !0, 3352 gridRow: !0, 3353 gridRowEnd: !0, 3354 gridRowStart: !0, 3355 lineHeight: !0, 3356 opacity: !0, 3357 order: !0, 3358 orphans: !0, 3359 widows: !0, 3360 zIndex: !0, 3361 zoom: !0 3362 }, "undefined" != typeof Proxy ? s.cssNumber = new Proxy(A, { 3363 get: function () { 3364 return u("css-number", "jQuery.cssNumber is deprecated"), Reflect.get.apply(this, arguments) 3365 }, 3366 set: function () { 3367 return u("css-number", "jQuery.cssNumber is deprecated"), Reflect.set.apply(this, arguments) 3368 } 3369 }) : s.cssNumber = A) : A = s.cssNumber, Q = s.fn.css, i(s.fn, "css", function (e, t) { 3370 var r, n, o = this; 3371 return e && "object" == typeof e && !Array.isArray(e) ? (s.each(e, function (e, t) { 3372 s.fn.css.call(o, e, t) 3373 }), this) : ("number" == typeof t && (r = x(e), n = r, C.test(n) && N.test(n[0].toUpperCase() + n.slice(1)) || A[r] || u("css-number", 'Number-typed values are deprecated for jQuery.fn.css( "' + e + '", value )')), Q.apply(this, arguments)) 3374 }, "css-number"); 3375 var S, P, k, H, E = s.data; 3376 i(s, "data", function (e, t, r) { 3377 var n, o, a; 3378 if (t && "object" == typeof t && 2 === arguments.length) { 3379 for (a in n = s.hasData(e) && E.call(this, e), o = {}, t) a !== x(a) ? (u("data-camelCase", "jQuery.data() always sets/gets camelCased names: " + a), n[a] = t[a]) : o[a] = t[a]; 3380 return E.call(this, e, o), t 3381 } 3382 return t && "string" == typeof t && t !== x(t) && (n = s.hasData(e) && E.call(this, e)) && t in n ? (u("data-camelCase", "jQuery.data() always sets/gets camelCased names: " + t), 2 < arguments.length && (n[t] = r), n[t]) : E.apply(this, arguments) 3383 }, "data-camelCase"), s.fx && (k = s.Tween.prototype.run, H = function (e) { 3384 return e 3385 }, i(s.Tween.prototype, "run", function () { 3386 1 < s.easing[this.easing].length && (u("easing-one-arg", "'jQuery.easing." + this.easing.toString() + "' should use only one argument"), s.easing[this.easing] = H), k.apply(this, arguments) 3387 }, "easing-one-arg"), S = s.fx.interval, P = "jQuery.fx.interval is deprecated", n.requestAnimationFrame && Ob
3387ject.defineProperty(s.fx, "interval", { 3388 configurable: !0, 3389 enumerable: !0, 3390 get: function () { 3391 return n.document.hidden || u("fx-interval", P), s.migrateIsPatchEnabled("fx-interval") && void 0 === S ? 13 : S 3392 }, 3393 set: function (e) { 3394 u("fx-interval", P), S = e 3395 } 3396 })); 3397 var M = s.fn.load, 3398 q = s.event.add, 3399 O = s.event.fix; 3400 s.event.props = [], s.event.fixHooks = {}, r(s.event.props, "concat", s.event.props.concat, "event-old-patch", "jQuery.event.props.concat() is deprecated and removed"), i(s.event, "fix", function (e) { 3401 var t, r = e.type, 3402 n = this.fixHooks[r], 3403 o = s.event.props; 3404 if (o.length) { 3405 u("event-old-patch", "jQuery.event.props are deprecated and removed: " + o.join()); 3406 while (o.length) s.event.addProp(o.pop()) 3407 } 3408 if (n && !n._migrated_ && (n._migrated_ = !0, u("event-old-patch", "jQuery.event.fixHooks are deprecated and removed: " + r), (o = n.props) && o.length)) 3409 while (o.length) s.event.addProp(o.pop()); 3410 return t = O.call(this, e), n && n.filter ? n.filter(t, e) : t 3411 }, "event-old-patch"), i(s.event, "add", function (e, t) { 3412 return e === n && "load" === t && "complete" === n.document.readyState && u("load-after-event", "jQuery(window).on('load'...) called after load event occurred"), q.apply(this, arguments) 3413 }, "load-after-event"), s.each(["load", "unload", "error"], function (e, t) { 3414 i(s.fn, t, function () { 3415 var e = Array.prototype.slice.call(arguments, 0); 3416 return "load" === t && "string" == typeof e[0] ? M.apply(this, e) : (u("shorthand-removed-v3", "jQuery.fn." + t + "() is deprecated"), e.splice(0, 0, t), arguments.length ? this.on.apply(this, e) : (this.triggerHandler.apply(this, e), this)) 3417 }, "shorthand-removed-v3") 3418 }), s.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "), function (e, r) { 3419 c(s.fn, r, function (e, t) { 3420 return 0 < arguments.length ? this.on(r, null, e, t) : this.trigger(r) 3421 }, "shorthand-deprecated-v3", "jQuery.fn." + r + "() event shorthand is deprecated") 3422 }), s(function () { 3423 s(n.document).triggerHandler("ready") 3424 }), s.event.special.ready = { 3425 setup: function () { 3426 this === n.document && u("ready-event", "'ready' event is deprecated") 3427 } 3428 }, c(s.fn, "bind", function (e, t, r) { 3429 return this.on(e, null, t, r) 3430 }, "pre-on-methods", "jQuery.fn.bind() is deprecated"), c(s.fn, "unbind", function (e, t) { 3431 return this.off(e, null, t) 3432 }, "pre-on-methods", "jQuery.fn.unbind() is deprecated"), c(s.fn, "delegate", function (e, t, r, n) { 3433 return this.on(t, e, r, n) 3434 }, "pre-on-methods", "jQuery.fn.delegate() is deprecated"), c(s.fn, "undelegate", function (e, t, r) { 3435 return 1 === arguments.length ? this.off(e, "**") : this.off(t, e || "**", r) 3436 }, "pre-on-methods", "jQuery.fn.undelegate() is deprecated"), c(s.fn, "hover", function (e, t) { 3437 return this.on("mouseenter", e).on("mouseleave", t || e) 3438 }, "pre-on-methods", "jQuery.fn.hover() is deprecated"); 3439 3440 function T(e) { 3441 var t = n.document.implementation.createHTMLDocument(""); 3442 return t.body.innerHTML = e, t.body && t.body.innerHTML 3443 } 3444 var F = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi; 3445 s.UNSAFE_restoreLegacyHtmlPrefilter = function () { 3446 s.migrateEnablePatches("self-closed-tags") 3447 }, i(s, "htmlPrefilter", function (e) { 3448 var t, r; 3449 return (r = (t = e).replace(F, "<$1></$2>")) !== t && T(t) !== T(r) && u("self-closed-tags", "HTML tags must be properly nested and closed: " + t), e.replace(F, "<$1></$2>") 3450 }, "self-closed-tags"), s.migrateDisablePatches("self-closed-tags"); 3451 var D, W, _, I = s.fn.offset; 3452 return i(s.fn, "offset", function () { 3453 var e = this[0]; 3454 return !e || e.nodeType && e.getBoundingClientRect ? I.apply(this, arguments) : (u("offset-valid-elem", "jQuery.fn.offset() requires a valid DOM element"), arguments.length ? this
3454: void 0) 3455 }, "offset-valid-elem"), s.ajax && (D = s.param, i(s, "param", function (e, t) { 3456 var r = s.ajaxSettings && s.ajaxSettings.traditional; 3457 return void 0 === t && r && (u("param-ajax-traditional", "jQuery.param() no longer uses jQuery.ajaxSettings.traditional"), t = r), D.call(this, e, t) 3458 }, "param-ajax-traditional")), c(s.fn, "andSelf", s.fn.addBack, "andSelf", "jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"), s.Deferred && (W = s.Deferred, _ = [ 3459 ["resolve", "done", s.Callbacks("once memory"), s.Callbacks("once memory"), "resolved"], 3460 ["reject", "fail", s.Callbacks("once memory"), s.Callbacks("once memory"), "rejected"], 3461 ["notify", "progress", s.Callbacks("memory"), s.Callbacks("memory")] 3462 ], i(s, "Deferred", function (e) { 3463 var a = W(), 3464 i = a.promise(); 3465 3466 function t() { 3467 var o = arguments; 3468 return s.Deferred(function (n) { 3469 s.each(_, function (e, t) { 3470 var r = "function" == typeof o[e] && o[e]; 3471 a[t[1]](function () { 3472 var e = r && r.apply(this, arguments); 3473 e && "function" == typeof e.promise ? e.promise().done(n.resolve).fail(n.reject).progress(n.notify) : n[t[0] + "With"](this === i ? n.promise() : this, r ? [e] : arguments) 3474 }) 3475 }), o = null 3476 }).promise() 3477 } 3478 return c(a, "pipe", t, "deferred-pipe", "deferred.pipe() is deprecated"), c(i, "pipe", t, "deferred-pipe", "deferred.pipe() is deprecated"), e && e.call(a, a), a 3479 }, "deferred-pipe"), s.Deferred.exceptionHook = W.exceptionHook), s 3480 }); 3481jQuery(document).ready(function () { 3482 jQuery('.slider').flexslider(); 3483 jQuery("<select />").appendTo(".topmenu"); 3484 jQuery("<option />", { 3485 "selected": "selected", 3486 "value": "", 3487 "text": "Menu Selection" 3488 }).appendTo(".topmenu select"); 3489 jQuery(".topmenu a").each(function () { 3490 var el = jQuery(this); 3491 jQuery("<option />", { 3492 "value": el.attr("href"), 3493 "text": el.text() 3494 }).appendTo(".topmenu select"); 3495 }); 3496 jQuery(".topmenu select").change(function () { 3497 window.location = jQuery(this).find("option:selected").val(); 3498 }); 3499}); 3500(function () { 3501 var c = document.body.className; 3502 c = c.replace(/woocommerce-no-js/, 'woocommerce-js'); 3503 document.body.className = c; 3504})(); 3505var demo_data = { 3506 "loaded_skin": "grey-white", 3507 "loaded_transition": "shift" 3508}; 3509jQuery(document).ready(function ($) { 3510 $('.plop-inner').each(function () { 3511 $(this).height($(this).find('.plop-header').outerHeight() + $(this).find('.plop-content').outerHeight()); 3512 }); 3513 $('.plop-trigger').on('click', function (e) { 3514 e.preventDefault(); 3515 e.stopPropagation(); 3516 var $target = $('#plop-' + $(this).data('plop-target')); 3517 if (!$target.hasClass('plop-active')) { 3518 $target.find('.plop-inner').height($target.find('.plop-header').outerHeight() + $target.find('.plop-content').outerHeight()); 3519 } 3520 $target.toggleClass('plop-active'); 3521 }); 3522 $('.plop').on('click', function (e) { 3523 $(this).removeClass('plop-active'); 3524 }); 3525 $('.plop').on('click', '.plop-inner', function (e) { 3526 e.stopPropagation(); 3527 }); 3528}); 3529jQuery(document).ready(function ($) { 3530 if (!window.demo_data) return; 3531 var current_skin = window.demo_data.loaded_skin; 3532 var current_transition = window.demo_data.loaded_transition; 3533 var skin_prefix = 'gcmenu-skin-'; 3534 var trans_prefix = 'gcmenu-transition-'; 3535 var $menu = $('.gcmenu-main, .gcmenu-responsive-toggle-main'); 3536 $('.gcmenu-demo-switcher').on('click', '.gcmenu-demo-skin', function () { 3537 $menu.removeClass(skin_prefix + current_skin); 3538 $(this).siblings().removeClass('gcmenu-demo-op-selected'); 3539 $(this).addClass('gcmenu-demo-op-selected'); 3540 current_skin = $(this).data('skin'); 3541 $menu.addClass(skin_prefix + current_skin); 3542 }); 3543 $('.gcmenu-demo-switcher').on('click', '.gcmenu-demo-transition', function () { 3544 $menu.removeClass(trans_prefix + current_transition); 3545 $(this).siblings().removeClass('gcmenu-demo-op-selected'); 3546 $(this).addClass('gcmenu-demo-op-selected'); 3547 current_transition = $(this).data('transition'); 3548 console.log(current_transition); 3549 $menu.addClass(trans_prefix + current_transition); 3550 }); 3551 $('.gcmenu-demo-tabs').on('click', 'h5', function () { 3552 $(this).siblings().removeClass('demo-tab-active'); 3553 $(this).addClass('demo-tab-active'); 3554 $('.gcmenu-demo-tab-panels').find('.gcmenu-demo-tab-panel').hide(); 3555 $('#' + $(this).data('target')).fadeIn(); 3556 }); 3557 $('.gcmenu-demo-tabs > h5:first').click(); 3558}); 3559/*! This file is auto-generated */ 3560window.addComment = function (v) { 3561 var I, C, h, E = v.document, 3562 b = { 3563 commentReplyClass: "comment-reply-link", 3564 commentReplyTitleId: "reply-title", 3565 cancelReplyId: "cancel-comment-reply-link", 3566 commentFormId: "commentform", 3567 temporaryFormId: "wp-temp-form-div", 3568 parentIdFieldId: "comment_parent", 3569 postIdFieldId: "comment_post_ID" 3570 }, 3571 e = v.MutationObserver || v.WebKitMutationObserver || v.MozMutationObserver, 3572 r = "querySelector" in E && "addEventListener" in v, 3573 n = !!E.documentElement.dataset; 3574 3575 function t() { 3576 d(), e && new e(o).observe(E.body, { 3577 childList: !0, 3578 subtree: !0 3579 }) 3580 } 3581 3582 function d(e) { 3583 if (r && (I = g(b.cancelReplyId), C = g(b.commentFormId), I)) { 3584 I.addEventListener("touchstart", l), I.addEventListener("click", l); 3585 3586 function t(e) { 3587 if ((e.metaKey || e.ctrlKey) && 13 === e.keyCode) return C.removeEventListener("keydown", t), e.preventDefault(), C.submit.click(), !1 3588 } 3589 C && C.addEventListener("keydown", t); 3590 for (var n, d = function (e) { 3591 var t = b.commentReplyClass; 3592 e && e.childNodes || (e = E); 3593 e = E.getElementsByClassName ? e.getElementsByClassName(t) : e.querySelectorAll("." + t); 3594 return e 3595 }(e), o = 0, i = d.length; o < i; o++)(n = d[o]).addEventListener("touchstart", a), n.addEventListener("click", a) 3596 } 3597 } 3598 3599 function l(e) { 3600 var t, n, d = g(b.temporaryFormId); 3601 d && h && (g(b.parentIdFieldId).value = "0", t = d.textContent, d.parentNode.replaceChild(h, d), this.style.display = "none", n = (d = (d = g(b.commentReplyTitleId)) && d.firstChild) && d.nextSibling, d && d.nodeType === Node.TEXT_NODE && t && (n && "A" === n.nodeName && n.id !== b.cancelReplyId && (n.style.display = ""), d.textContent = t), e.preventDefault()) 3602 } 3603 3604 function a(e) { 3605 var t = g(b.commentReplyTitleId), 3606 t = t && t.firstChild.textContent, 3607 n = this, 3608 d = m(n, "belowelement"), 3609 o = m(n, "commentid"), 3610 i = m(n, "respondelement"), 3611 r = m(n, "postid"), 3612 n = m(n, "replyto") || t; 3613 d && o && i && r && !1 === v.addComment.moveForm(d, o, i, r, n) && e.preventDefault() 3614 } 3615 3616 function o(e) { 3617 for (var t = e.length; t--;) 3618 if (e[t].addedNodes.length) return void d() 3619 } 3620 3621 function m(e, t) { 3622 return n ? e.dataset[t] : e.getAttribute("data-" + t) 3623 } 3624 3625 function g(e) { 3626 return E.getElementById(e) 3627 } 3628 return r && "loading" !== E.readyState ? t() : r && v.addEventListener("DOMContentLoaded", t, !1), { 3629 init: d, 3630 moveForm: function (e, t, n, d, o) { 3631 var i, r, l, a, m, c, s, e = g(e), 3632 n = (h = g(n), g(b.parentIdFieldId)), 3633 y = g(b.postIdFieldId), 3634 p = g(b.commentReplyTitleId), 3635 u = (p = p && p.firstChild) && p.nextSibling; 3636 if (e && h && n) { 3637 void 0 === o && (o = p && p.textContent), a = h, m = b.temporaryFormId, c = g(m), s = (s = g(b.commentReplyTitleId)) ? s.firstChild.textContent : "", c || ((c = E.createElement("div")).id = m, c.style.display = "none", c.textContent = s, a.parentNode.insertBefore(c, a)), d && y && (y.value = d), n.value = t, I.style.display = "", e.parentNode.insertBefore(h, e.nextSibling), p && p.nodeType === Node.TEXT_NODE && (u && "A" === u.no
3637deName && u.id !== b.cancelReplyId && (u.style.display = "none"), p.textContent = o), I.onclick = function () { 3638 return !1 3639 }; 3640 try { 3641 for (var f = 0; f < C.elements.length; f++) 3642 if (i = C.elements[f], r = !1, "getComputedStyle" in v ? l = v.getComputedStyle(i) : E.documentElement.currentStyle && (l = i.currentStyle), (i.offsetWidth <= 0 && i.offsetHeight <= 0 || "hidden" === l.visibility) && (r = !0), "hidden" !== i.type && !i.disabled && !r) { 3643 i.focus(); 3644 break 3645 } 3646 } catch (e) {} 3647 return !1 3648 } 3649 } 3650 } 3651}(window); 3652(() => { 3653 "use strict"; 3654 var t = { 3655 d: (e, s) => { 3656 for (var i in s) t.o(s, i) && !t.o(e, i) && Object.defineProperty(e, i, { 3657 enumerable: !0, 3658 get: s[i] 3659 }) 3660 }, 3661 o: (t, e) => Object.prototype.hasOwnProperty.call(t, e), 3662 r: t => { 3663 "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, { 3664 value: "Module" 3665 }), Object.defineProperty(t, "__esModule", { 3666 value: !0 3667 }) 3668 } 3669 }, 3670 e = {}; 3671 3672 function s(t) { 3673 if (this.formData = {}, this.tree = {}, !(t instanceof FormData)) return this; 3674 this.formData = t; 3675 const e = () => { 3676 const t = new Map; 3677 return t.largestIndex = 0, t.set = function (e, s) { 3678 "" === e ? e = t.largestIndex++ : /^[0-9]+$/.test(e) && (e = parseInt(e), t.largestIndex <= e && (t.largestIndex = e + 1)), Map.prototype.set.call(t, e, s) 3679 }, t 3680 }; 3681 this.tree = e(); 3682 const s = /^(?<name>[a-z][-a-z0-9_:]*)(?<array>(?:\[(?:[a-z][-a-z0-9_:]*|[0-9]*)\])*)/i; 3683 for (const [t, i] of this.formData) { 3684 const n = t.match(s); 3685 if (n) 3686 if ("" === n.groups.array) this.tree.set(n.groups.name, i); 3687 else { 3688 const t = [...n.groups.array.matchAll(/\[([a-z][-a-z0-9_:]*|[0-9]*)\]/gi)].map((([t, e]) => e)); 3689 t.unshift(n.groups.name); 3690 const s = t.pop(); 3691 t.reduce(((t, s) => { 3692 if (/^[0-9]+$/.test(s) && (s = parseInt(s)), t.get(s) instanceof Map) return t.get(s); 3693 const i = e(); 3694 return t.set(s, i), i 3695 }), this.tree).set(s, i) 3696 } 3697 } 3698 } 3699 t.r(e), t.d(e, { 3700 date: () => d, 3701 dayofweek: () => u, 3702 email: () => r, 3703 enum: () => h, 3704 file: () => f, 3705 maxdate: () => z, 3706 maxfilesize: () => I, 3707 maxitems: () => v, 3708 maxlength: () => x, 3709 maxnumber: () => b, 3710 mindate: () => A, 3711 minfilesize: () => $, 3712 minitems: () => g, 3713 minlength: () => w, 3714 minnumber: () => y, 3715 number: () => c, 3716 required: () => o, 3717 requiredfile: () => a, 3718 tel: () => l, 3719 time: () => m, 3720 url: () => p 3721 }), s.prototype.entries = function () { 3722 return this.tree.entries() 3723 }, s.prototype.get = function (t) { 3724 return this.tree.get(t) 3725 }, s.prototype.getAll = function (t) { 3726 if (!this.has(t)) return []; 3727 const e = t => { 3728 const s = []; 3729 if (t instanceof Map) 3730 for (const [i, n] of t) s.push(...e(n)); 3731 else "" !== t && s.push(t); 3732 return s 3733 }; 3734 return e(this.get(t)) 3735 }, s.prototype.has = function (t) { 3736 return this.tree.has(t) 3737 }, s.prototype.keys = function () { 3738 return this.tree.keys() 3739 }, s.prototype.values = function () { 3740 return this.tree.values() 3741 }; 3742 const i = s; 3743 3744 function n({ 3745 rule: t, 3746 field: e, 3747 error: s, 3748 ...i 3749 }) { 3750 this.rule = t, this.field = e, this.error = s, this.properties = i 3751 } 3752 const o = function (t) { 3753 if (0 === t.getAll(this.field).length) throw new n(this) 3754 }, 3755 a = function (t) { 3756 if (0 === t.getAll(this.field).length) throw new n(this) 3757 }, 3758 r = function (t) { 3759 if (!t.getAll(this.field).every((t => { 3760 if ((t = t.trim()).length < 6) return !1; 3761 if (-1 === t.indexOf("@", 1)) return !1; 3762 if (t.indexOf("@") !== t.lastIndexOf("@")) return !1; 3763 const [e, s] = t.split("@", 2); 3764 if (!/^[a-zA-Z0-9!#$%&\'*+\/=?^_`{|}~\.-]+$/.test(e)) return !1; 3765 if (/\.{2,}/.test(s)) return !1; 3766 if (/(?:^[ \t\n\r\0\x0B.]|[ \t\n\r\0\x0B.]$)/.test(s)) return !1; 3767 const i = s.split("."); 3768 if (i.length < 2) return !1; 3769 for (const t of i) { 3770 if (/(?:^[ \t\n\r\0\x0B-]|[ \t\n\r\0\x0B-]$)/.test(t)) return !1; 3771 if (!/^[a-z0-9-]+$/i.test(t)) return !1 3772 } 3773 return !0 3774 }))) throw new n(this) 3775 }, 3776 p = function (t) { 3777 const e = t.getAll(this.field); 3778 if (!e.every((t => { 3779 if ("" === (t = t.trim())) return !1; 3780 try { 3781 return (t => -1 !== ["http", "https", "ftp", "ftps", "mailto", "news", "irc", "irc6", "ircs", "gopher", "nntp", "feed", "telnet", "mms", "rtsp", "sms", "svn", "tel", "fax", "xmpp", "webcal", "urn"].indexOf(t))(new URL(t).protocol.replace(/:$/, "")) 3782 } catch { 3783 return !1 3784 } 3785 }))) throw new n(this) 3786 }, 3787 l = function (t) { 3788 if (!t.getAll(this.field).every((t => (t = (t = t.trim()).replaceAll(/[()/.*#\s-]+/g, ""), /^[+]?[0-9]+$/.test(t))))) throw new n(this) 3789 }, 3790 c = function (t) { 3791 if (!t.getAll(this.field).every((t => (t = t.trim(), !!/^[-]?[0-9]+(?:[eE][+-]?[0-9]+)?$/.test(t) || !!/^[-]?(?:[0-9]+)?[.][0-9]+(?:[eE][+-]?[0-9]+)?$/.test(t))))) throw new n(this) 3792 }, 3793 d = function (t) { 3794 if (!t.getAll(this.field).every((t => { 3795 if (t = t.trim(), !/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t)) return !1; 3796 const e = new Date(t); 3797 return !Number.isNaN(e.valueOf()) 3798 }))) throw new n(this) 3799 }, 3800 m = function (t) { 3801 if (!t.getAll(this.field).every((t => { 3802 const e = t.trim().match(/^([0-9]{2})\:([0-9]{2})(?:\:([0-9]{2}))?$/); 3803 if (!e) return !1; 3804 const s = parseInt(e[1]), 3805 i = parseInt(e[2]), 3806 n = e[3] ? parseInt(e[3]) : 0; 3807 return 0 <= s && s <= 23 && 0 <= i && i <= 59 && 0 <= n && n <= 59 3808 }))) throw new n(this) 3809 }, 3810 f = function (t) { 3811 if (!t.getAll(this.field).every((t => t instanceof File && this.accept?.some((e => /^\.[a-z0-9]+$/i.test(e) ? t.name.toLowerCase().endsWith(e.toLowerCase()) : (t => { 3812 const e = [], 3813 s = t.match(/^(?<toplevel>[a-z]+)\/(?<sub>[*]|[a-z0-9.+-]+)$/i); 3814 if (s) { 3815 const t = s.groups.toplevel.toLowerCase(), 3816 i = s.groups.sub.toLowerCase(); 3817 for (const [n, o] of (() => { 3818 const t = new Map; 3819 return t.set("jpg|jpeg|jpe", "image/jpeg"), t.set("gif", "image/gif"), t.set("png", "image/png"), t.set("bmp", "image/bmp"), t.set("tiff|tif", "image/tiff"), t.set("webp", "image/webp"), t.set("ico", "image/x-icon"), t.set("heic", "image/heic"), t.set("asf|asx", "video/x-ms-asf"), t.set("wmv", "video/x-ms-wmv"), t.set("wmx", "video/x-ms-wmx"), t.set("wm", "video/x-ms-wm"), t.set("avi", "video/avi"), t.set("divx", "video/divx"), t.set("flv", "video/x-flv"), t.set("mov|qt", "video/quicktime"), t.set("mpeg|mpg|mpe", "video/mpeg"), t.set("mp4|m4v", "video/mp4"), t.set("ogv", "video/ogg"), t.set("webm", "video/webm"), t.set("mkv", "video/x-matroska"), t.set("3gp|3gpp", "video/3gpp"), t.set("3g2|3gp2", "video/3gpp2"), t.set("txt|asc|c|cc|h|srt", "text/plain"), t.set("csv", "text/csv"), t.set("tsv", "text/tab-separated-values"), t.set("ics", "text/calendar"), t.set("rtx", "text/richtext"), t.set("css", "text/css"), t.set("htm|html", "text/html"), t.set("vtt", "text/vtt"), t.set("dfxp", "application/ttaf+xml"), t.set("mp3|m4a|m4b", "audio/mpeg"), t.set("aac", "audio/aac"), t.set("ra|ram", "audio/x-realaudio"), t.set("wav", "audio/wav"), t.set("ogg|oga", "audio/ogg"), t.set("flac", "audio/flac"), t.set("mid|midi", "audio/midi"), t.set("wma", "audio/x-ms-wma"), t.set("wax", "audio/x-ms-wax"), t.set("mka", "audio/x-matroska"), t.set("rtf", "application/rtf"), t.set("js", "application/javascript"), t.set("pdf", "application/pdf"), t.set("swf", "application/x-shockwave-flash"), t.set("class", "application/java"), t.set("tar", "application/x-tar"), t.set("zip", "application/zip"), t.set("gz|gzip", "application/x-gzip"), t.set("rar", "application/rar"), t.set("7z", "application/x-7z-compressed"), t.set("exe", "application/x-msdownload"), t.set("psd", "application/octet-stream"), t.set("xcf", "application/octet-stream"), t.set("doc", "application/msword"), t.set("pot|pps|ppt", "application/vnd.ms-powerpoint"), t.set("wri", "application/vnd.ms-write"), t.set("xla|xls|xlt|xlw", "application/vnd.ms-excel"), t.set("mdb", "application/vnd.ms-access"), t.set("mpp", "application/vnd.ms-project"), t.set("docx", "application/vnd.openxmlformats-officedocument.wordprocessingml.document"), t.set("docm", "application/vnd.ms-word.document.macroEnabled.12"), t.set("dotx", "application/vnd.openxmlformats-officedocument.wordprocessingml.template"), t.set("dotm", "application/vnd.ms-word.template.macroEnabled.12"), t.set("xlsx", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"), t.set("xlsm", "application/vnd.ms-excel.sheet.macroEnabled.12"), t.set("xlsb", "application/vnd.ms-excel.sheet.binary.macroEnabled.12"), t.set("xltx", "application/vnd.openxmlformats-officedocument.spreadsheetml.template"), t.set("xltm", "application/vnd.ms-excel.template.macroEnabled.12"), t.set("xlam", "application/vnd.ms-excel.addin.macroEnabled.12"), t.set("pptx", "application/vnd.openxmlformats-officedocument.presentationml.presentation"), t.set("pptm", "application/vnd.ms-powerpoint.presentation.macroEnabled.12"), t.set("ppsx", "application/vnd.openxmlformats-officedocument.presentationml.slideshow"), t.set("ppsm", "application/vnd.ms-powerpoint.slideshow.macroEnabled.12"), t.set("potx", "application/vnd.openxmlformats-officedocument.presentationml.template"), t.set("potm", "application/vnd.ms-powerpoint.template.macroEnabled.12"), t.set("ppam", "application/vnd.ms-powerpoint.addin.macroEnabled.12"), t.set("sldx", "application/vnd.openxmlformats-officedocument.presentationml.slide"), t.set("sldm", "application/vnd.ms-powerpoint.slide.macroEnabled.12"), t.set("onetoc|onetoc2|onetmp|onepkg", "application/onenote"), t.set("oxps", "application/oxps"), t.set("xps", "application/vnd.ms-xpsdocument"), t.set("odt", "application/vnd.oasis.opendocument.text"), t.set("odp", "application/vnd.oasis.opendocument.presentation"), t.set("ods", "application/vnd.oasis.opendocument.spreadsheet"), t.set("odg", "application/vnd.oasis.opendocument.graphics"), t.set("odc", "application/vnd.oasis.opendocument.chart"), t.set("odb", "application/vnd.oasis.opendocument.database"), t.set("odf", "application/vnd.oasis.opendocument.formula"), t.set("wp|wpd", "application/wordperfect"), t.set("key", "application/vnd.apple.keynote"), t.set("numbers", "application/vnd.apple.numbers"), t.set("pages", "application/vnd.apple.pages"), t 3820 }
3820)())("*" === i && o.startsWith(t + "/") || o === s[0]) && e.push(...n.split("|")) 3821 } 3822 return e 3823 })(e).some((e => (e = "." + e.trim(), t.name.toLowerCase().endsWith(e.toLowerCase()))))))))) throw new n(this) 3824 }, 3825 h = function (t) { 3826 if (!t.getAll(this.field).every((t => this.accept?.some((e => t === String(e)))))) throw new n(this) 3827 }, 3828 u = function (t) { 3829 if (!t.getAll(this.field).every((t => { 3830 const e = 0 === (s = new Date(t).getDay()) ? 7 : s; 3831 var s; 3832 return this.accept?.some((t => e === parseInt(t))) 3833 }))) throw new n(this) 3834 }, 3835 g = function (t) { 3836 if (t.getAll(this.field).length < parseInt(this.threshold)) throw new n(this) 3837 }, 3838 v = function (t) { 3839 const e = t.getAll(this.field); 3840 if (parseInt(this.threshold) < e.length) throw new n(this) 3841 }, 3842 w = function (t) { 3843 const e = t.getAll(this.field); 3844 let s = 0; 3845 if (e.forEach((t => { 3846 "string" == typeof t && (s += t.length) 3847 })), 0 !== s && s < parseInt(this.threshold)) throw new n(this) 3848 }, 3849 x = function (t) { 3850 const e = t.getAll(this.field); 3851 let s = 0; 3852 if (e.forEach((t => { 3853 "string" == typeof t && (s += t.length) 3854 })), parseInt(this.threshold) < s) throw new n(this) 3855 }, 3856 y = function (t) { 3857 if (!t.getAll(this.field).every((t => !(parseFloat(t) < parseFloat(this.threshold))))) throw new n(this) 3858 }, 3859 b = function (t) { 3860 if (!t.getAll(this.field).every((t => !(parseFloat(this.threshold) < parseFloat(t))))) throw new n(this) 3861 }, 3862 A = function (t) { 3863 if (!t.getAll(this.field).every((t => (t = t.trim(), !(/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t) && /^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(this.threshold) && t < this.threshold))))) throw new n(this) 3864 }, 3865 z = function (t) { 3866 if (!t.getAll(this.field).every((t => (t = t.trim(), !(/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t) && /^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(this.threshold) && this.threshold < t))))) throw new n(this) 3867 }, 3868 $ = function (t) { 3869 const e = t.getAll(this.field); 3870 let s = 0; 3871 if (e.forEach((t => { 3872 t instanceof File && (s += t.size) 3873 })), s < parseInt(this.threshold)) throw new n(this) 3874 }, 3875 I = function (t) { 3876 const e = t.getAll(this.field); 3877 let s = 0; 3878 if (e.forEach((t => { 3879 t instanceof File && (s += t.size) 3880 })), parseInt(this.threshold) < s) throw new n(this) 3881 }; 3882 var E; 3883 window.swv = { 3884 validators: e, 3885 validate: (t, s, o = {}) => { 3886 const a = (t.rules ?? []).filter((({ 3887 rule: t, 3888 ...s 3889 }) => "function" == typeof e[t] && ("function" != typeof e[t].matches || e[t].matches(s, o)))); 3890 if (!a.length) return new Map; 3891 const r = new i(s), 3892 p = a.reduce(((t, s) => { 3893 const { 3894 rule: i, 3895 ...o 3896 } = s; 3897 if (t.get(o.field)?.error) return t; 3898 try { 3899 e[i].call({ 3900 rule: i, 3901 ...o 3902 }, r) 3903 } catch (e) { 3904 if (e instanceof n) return t.set(o.field, e) 3905 } 3906 return t 3907 }), new Map); 3908 for (const t of r.keys()) p.has(t) || p.set(t, { 3909 validInputs: r.getAll(t) 3910 }); 3911 return p 3912 }, 3913 ...null !== (E = window.swv) && void 0 !== E ? E : {} 3914 } 3915})(); 3916 3917/*! 3918 * jQuery blockUI plugin 3919 * Version 2.70.0-2014.11.23 3920 * Requires jQuery v1.7 or later 3921 * 3922 * Examples at: http://malsup.com/jquery/block/ 3923 * Copyright (c) 2007-2013 M. Alsup 3924 * Dual licensed under the MIT and GPL licenses: 3925 * http://www.opensource.org/licenses/mit-license.php 3926 * http://www.gnu.org/licenses/gpl.html 3927 * 3928 * Thanks to Amir-Hossein Sobhi for some excellent contributions! 3929 */ 3930! function () { 3931 "use strict"; 3932 3933 function e(e) { 3934 e.fn._fadeIn = e.fn.fadeIn; 3935 var t = e.noop || function () {}, 3936 o = /MSIE/.test(navigator.userAgent), 3937 n = /MSIE 6.0/.test(navigator.userAgent) && !/MSIE 8.0/.test(navigator.userAgent), 3938 i = (document.documentMode, "function" == typeof document.createElement("div").style.setExpression && document.createElement("div").style.setExpression); 3939 e.blockUI = function (e) { 3940 d(window, e) 3941 }, e.unblockUI = function (e) { 3942 a(window, e) 3943 }, e.growlUI = function (t, o, n, i) { 3944 var s = e('<div class="growlUI"></div>'); 3945 t && s.append("<h1>" + t + "</h1>"), o && s.append("<h2>" + o + "</h2>"), n === undefined && (n = 3e3); 3946 var l = function (t) { 3947 t = t || {}, e.blockUI({ 3948 message: s, 3949 fadeIn: "undefined" != typeof t.fadeIn ? t.fadeIn : 700, 3950 fadeOut: "undefined" != typeof t.fadeOut ? t.fadeOut : 1e3, 3951 timeout: "undefined" != typeof t.timeout ? t.timeout : n, 3952 centerY: !1, 3953 showOverlay: !1, 3954 onUnblock: i, 3955 css: e.blockUI.defaults.growlCSS 3956 }) 3957 }; 3958 l(); 3959 s.css("opacity"); 3960 s.on("mouseover", function () { 3961 l({ 3962 fadeIn: 0, 3963 timeout: 3e4 3964 }); 3965 var t = e(".blockMsg"); 3966 t.stop(), t.fadeTo(300, 1) 3967 }).on("mouseout", function () { 3968 e(".blockMsg").fadeOut(1e3) 3969 }) 3970 }, e.fn.block = function (t) { 3971 if (this[0] === window) return e.blockUI(t), this; 3972 var o = e.extend({}, e.blockUI.defaults, t || {}); 3973 return this.each(function () { 3974 var t = e(this); 3975 o.ignoreIfBlocked && t.data("blockUI.isBlocked") || t.unblock({ 3976 fadeOut: 0 3977 }) 3978 }), this.each(function () { 3979 "static" == e.css(this, "position") && (this.style.position = "relative", e(this).data("blockUI.static", !0)), this.style.zoom = 1, d(this, t) 3980 }) 3981 }, e.fn.unblock = function (t) { 3982 return this[0] === window ? (e.unblockUI(t), this) : this.each(function () { 3983 a(this, t) 3984 }) 3985 }, e.blockUI.version = 2.7, e.blockUI.defaults = { 3986 message: "<h1>Please wait...</h1>", 3987 title: null, 3988 draggable: !0, 3989 theme: !1, 3990 css: { 3991 padding: 0, 3992 margin: 0, 3993 width: "30%", 3994 top: "40%", 3995 left: "35%", 3996 textAlign: "center", 3997 color: "#000", 3998 border: "3px solid #aaa", 3999 backgroundColor: "#fff", 4000 cursor: "wait" 4001 }, 4002 themedCSS: { 4003 width: "30%", 4004 top: "40%", 4005 left: "35%" 4006 }, 4007 overlayCSS: { 4008 backgroundColor: "#000", 4009 opacity: .6, 4010 cursor: "wait" 4011 }, 4012 cursorReset: "default", 4013 growlCSS: { 4014 width: "350px", 4015 top: "10px", 4016 left: "", 4017 right: "10px", 4018 border: "none", 4019 padding: "5px", 4020 opacity: .6, 4021 cursor: "default", 4022 color: "#fff", 4023 backgroundColor: "#000", 4024 "-webkit-border-radius": "10px", 4025 "-moz-border-radius": "10px", 4026 "border-radius": "10px" 4027 }, 4028 iframeSrc: /^https/i.test(window.location.href || "") ? "javascript:false" : "about:blank", 4029 forceIframe: !1, 4030 baseZ: 1e3, 4031 centerX: !0, 4032 centerY: !0, 4033 allowBodyStretch: !0, 4034 bindEvents: !0, 4035 constrainTabKey: !0, 4036 fadeIn: 200, 4037 fadeOut: 400, 4038 timeout: 0, 4039 showOverlay: !0, 4040 focusInput: !0, 4041 focusableElements: ":input:enabled:visible", 4042 onBlock: null, 4043 onUnblock: null, 4044 onOverlayClick: null, 4045 quirksmodeOffsetHack: 4, 4046 blockMsgClass: "blockMsg", 4047 ignoreIfBlocked: !1 4048 }; 4049 var s = null, 4050 l = []; 4051 4052 function d(d, c) { 4053 var u, b, h = d == window, 4054 k = c && c.message !== undefined ? c.message : undefined; 4055 if (!(c = e.extend({}, e.blockUI.defaults, c || {})).ignoreIfBlocked || !e(d).data("blockUI.isBlocked")) { 4056 if (c.overlayCSS = e.extend({}, e.blockUI.defaults.overlayCSS, c.overlayCSS || {}), u = e.extend({}, e.blockUI.defaults.css, c.css || {}), c.onOverlayClick && (c.overlayCSS.cursor = "pointer"), b = e.extend({}, e.blockUI.defaults.themedCSS, c.themedCSS || {}), k = k === undefined ? c.message : k, h && s && a(window, { 4057 fadeOut: 0 4058 }), k && "string" != typeof k && (k.parentNode || k.jquery)) { 4059 var y = k.jquery ? k[0] : k, 4060 m = {}; 4061 e(d).data("blockUI.history", m), m.el = y, m.parent =
vendor: 5,156 bytes, lines 4061-4104
4061y.parentNode, m.display = y.style.display, m.position = y.style.position, m.parent && m.parent.removeChild(y) 4062 } 4063 e(d).data("blockUI.onUnblock", c.onUnblock); 4064 var g, v, I, w, U = c.baseZ; 4065 g = o || c.forceIframe ? e('<iframe class="blockUI" style="z-index:' + U++ + ';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="' + c.iframeSrc + '"></iframe>') : e('<div class="blockUI" style="display:none"></div>'), v = c.theme ? e('<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:' + U++ + ';display:none"></div>') : e('<div class="blockUI blockOverlay" style="z-index:' + U++ + ';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>'), c.theme && h ? (w = '<div class="blockUI ' + c.blockMsgClass + ' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:' + (U + 10) + ';display:none;position:fixed">', c.title && (w += '<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">' + (c.title || " ") + "</div>"), w += '<div class="ui-widget-content ui-dialog-content"></div>', w += "</div>") : c.theme ? (w = '<div class="blockUI ' + c.blockMsgClass + ' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:' + (U + 10) + ';display:none;position:absolute">', c.title && (w += '<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">' + (c.title || " ") + "</div>"), w += '<div class="ui-widget-content ui-dialog-content"></div>', w += "</div>") : w = h ? '<div class="blockUI ' + c.blockMsgClass + ' blockPage" style="z-index:' + (U + 10) + ';display:none;position:fixed"></div>' : '<div class="blockUI ' + c.blockMsgClass + ' blockElement" style="z-index:' + (U + 10) + ';display:none;position:absolute"></div>', I = e(w), k && (c.theme ? (I.css(b), I.addClass("ui-widget-content")) : I.css(u)), c.theme || v.css(c.overlayCSS), v.css("position", h ? "fixed" : "absolute"), (o || c.forceIframe) && g.css("opacity", 0); 4066 var x = [g, v, I], 4067 C = e(h ? "body" : d); 4068 e.each(x, function () { 4069 this.appendTo(C) 4070 }), c.theme && c.draggable && e.fn.draggable && I.draggable({ 4071 handle: ".ui-dialog-titlebar", 4072 cancel: "li" 4073 }); 4074 var S = i && (!e.support.boxModel || e("object,embed", h ? null : d).length > 0); 4075 if (n || S) { 4076 if (h && c.allowBodyStretch && e.support.boxModel && e("html,body").css("height", "100%"), (n || !e.support.boxModel) && !h) var E = p(d, "borderTopWidth"), 4077 O = p(d, "borderLeftWidth"), 4078 T = E ? "(0 - " + E + ")" : 0, 4079 M = O ? "(0 - " + O + ")" : 0; 4080 e.each(x, function (e, t) { 4081 var o = t[0].style; 4082 if (o.position = "absolute", e < 2) h ? o.setExpression("height", "Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:" + c.quirksmodeOffsetHack + ') + "px"') : o.setExpression("height", 'this.parentNode.offsetHeight + "px"'), h ? o.setExpression("width", 'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"') : o.setExpression("width", 'this.parentNode.offsetWidth + "px"'), M && o.setExpression("left", M), T && o.setExpression("top", T); 4083 else if (c.centerY) h && o.setExpression("top", '(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'), o.marginTop = 0; 4084 else if (!c.centerY && h) { 4085 var n = "((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + " + (c.css && c.css.top ? parseInt(c.css.top, 10) : 0) + ') + "px"'; 4086 o.setExpression("top", n) 4087 } 4088 }) 4089 } 4090 if (k && (c.theme ? I.find(".ui-widget-content").append(k) : I.append(k), (k.jquery || k.nodeType) && e(k).show()), (o || c.forceIframe) && c.showOverlay && g.show(), c.fadeIn) { 4091 var B = c.onBlock ? c.onBlock : t, 4092 j = c.showOverlay && !k ? B : t, 4093 H = k ? B : t; 4094 c.showOverlay && v._fadeIn(c.fadeIn, j), k && I._fadeIn(c.fadeIn, H) 4095 } else c.showOverlay && v.show(), k && I.show(), c.onBlock && c.onBlock.bind(I)(); 4096 if (r(1, d, c), h ? (s = I[0], l = e(c.focusableElements, s), c.focusInput && setTimeout(f, 20)) : function (e, t, o) { 4097 var n = e.parentNode, 4098 i = e.style, 4099 s = (n.offsetWidth - e.offsetWidth) / 2 - p(n, "borderLeftWidth"), 4100 l = (n.offsetHeight - e.offsetHeight) / 2 - p(n, "borderTopWidth"); 4101 t && (i.left = s > 0 ? s + "px" : "0"); 4102 o && (i.top = l > 0 ? l + "px" : "0") 4103 }(I[0], c.centerX, c.centerY), c.timeout) { 4104 var z = setTimeout(function () {
4105 h ? e.unblockUI(c) : e(d).unblock(c) 4106 }, c.timeout); 4107 e(d).data("blockUI.timeout", z) 4108 } 4109 } 4110 } 4111 4112 function a(t, o) { 4113 var n, i, d = t == window, 4114 a = e(t), 4115 u = a.data("blockUI.history"), 4116 f = a.data("blockUI.timeout"); 4117 f && (clearTimeout(f), a.removeData("blockUI.timeout")), o = e.extend({}, e.blockUI.defaults, o || {}), r(0, t, o), null === o.onUnblock && (o.onUnblock = a.data("blockUI.onUnblock"), a.removeData("blockUI.onUnblock")), i = d ? e(document.body).children().filter(".blockUI").add("body > .blockUI") : a.find(">.blockUI"), o.cursorReset && (i.length > 1 && (i[1].style.cursor = o.cursorReset), i.length > 2 && (i[2].style.cursor = o.cursorReset)), d && (s = l = null), o.fadeOut ? (n = i.length, i.stop().fadeOut(o.fadeOut, function () { 4118 0 == --n && c(i, u, o, t) 4119 })) : c(i, u, o, t) 4120 } 4121 4122 function c(t, o, n, i) { 4123 var s = e(i); 4124 if (!s.data("blockUI.isBlocked")) { 4125 t.each(function (e, t) { 4126 this.parentNode && this.parentNode.removeChild(this) 4127 }), o && o.el && (o.el.style.display = o.display, o.el.style.position = o.position, o.el.style.cursor = "default", o.parent && o.parent.appendChild(o.el), s.removeData("blockUI.history")), s.data("blockUI.static") && s.css("position", "static"), "function" == typeof n.onUnblock && n.onUnblock(i, n); 4128 var l = e(document.body), 4129 d = l.width(), 4130 a = l[0].style.width; 4131 l.width(d - 1).width(d), l[0].style.width = a 4132 } 4133 } 4134 4135 function r(t, o, n) { 4136 var i = o == window, 4137 l = e(o); 4138 if ((t || (!i || s) && (i || l.data("blockUI.isBlocked"))) && (l.data("blockUI.isBlocked", t), i && n.bindEvents && (!t || n.showOverlay))) { 4139 var d = "mousedown mouseup keydown keypress keyup touchstart touchend touchmove"; 4140 t ? e(document).on(d, n, u) : e(document).off(d, u) 4141 } 4142 } 4143 4144 function u(t) { 4145 if ("keydown" === t.type && t.keyCode && 9 == t.keyCode && s && t.data.constrainTabKey) { 4146 var o = l, 4147 n = !t.shiftKey && t.target === o[o.length - 1], 4148 i = t.shiftKey && t.target === o[0]; 4149 if (n || i) return setTimeout(function () { 4150 f(i) 4151 }, 10), !1 4152 } 4153 var d = t.data, 4154 a = e(t.target); 4155 return a.hasClass("blockOverlay") && d.onOverlayClick && d.onOverlayClick(t), a.parents("div." + d.blockMsgClass).length > 0 || 0 === a.parents().children().filter("div.blockUI").length 4156 } 4157 4158 function f(e) { 4159 if (l) { 4160 var t = l[!0 === e ? l.length - 1 : 0]; 4161 t && t.trigger("focus") 4162 } 4163 } 4164 4165 function p(t, o) { 4166 return parseInt(e.css(t, o), 10) || 0 4167 } 4168 } 4169 "function" == typeof define && define.amd && define.amd.jQuery ? define(["jquery"], e) : e(jQuery) 4170}(); 4171var wc_add_to_cart_params = { 4172 "ajax_url": "\/wp-admin\/admin-ajax.php", 4173 "wc_ajax_url": "\/?wc-ajax=%%endpoint%%", 4174 "i18n_view_cart": "View cart", 4175 "cart_url": "https:\/\/wpmegamenu.com\/cart\/", 4176 "is_cart": "", 4177 "cart_redirect_after_add": "no" 4178}; 4179jQuery(function (t) { 4180 if ("undefined" == typeof wc_add_to_cart_params) return !1; 4181 var a = function () { 4182 this.requests = [], this.addRequest = this.addRequest.bind(this), this.run = this.run.bind(this), t(document.body).on("click", ".add_to_cart_button", { 4183 addToCartHandler: this 4184 }, this.onAddToCart).on("click", ".remove_from_cart_button", { 4185 addToCartHandler: this 4186 }, this.onRemoveFromCart).on("added_to_cart", this.updateButton).on("ajax_request_not_sent.adding_to_cart", this.updateButton).on("added_to_cart removed_from_cart", { 4187 addToCartHandler: this 4188 }, this.updateFragments) 4189 }; 4190 a.prototype.addRequest = function (t) { 4191 this.requests.push(t), 1 === this.requests.length && this.run() 4192 }, a.prototype.run = function () { 4193 var a = this, 4194 e = a.requests[0].complete; 4195 a.requests[0].complete = function () { 4196 "function" == typeof e && e(), a.requests.shift(), a.requests.length > 0 && a.run() 4197 }, t.ajax(this.requests[0]) 4198 }, a.prototype.onAddToCart = function (a) { 4199 var e = t(this); 4200 if (e.is(".ajax_add_to_cart")) { 4201 if (!e.attr("data-product_id")) return !0; 4202 if (a.preventDefault(), e.removeClass("added"), e.addClass("loading"), !1 === t(document.body).triggerHandler("should_send_ajax_request.adding_to_cart", [e])) return t(document.body).trigger("ajax_request_not_sent.adding_to_cart", [!1, !1, e]), !0; 4203 var r = {}; 4204 t.each(e.data(), function (t, a) { 4205 r[t] = a 4206 }), t.each(e[0].dataset, function (t, a) { 4207 r[t] = a 4208 }), t(document.body).trigger("adding_to_cart", [e, r]), a.data.addToCartHandler.addRequest({ 4209 type: "POST", 4210 url: wc_add_to_cart_params.wc_ajax_url.toString().replace("%%endpoint%%", "add_to_cart"), 4211 data: r, 4212 success: function (a) { 4213 a && (a.error && a.product_url ? window.location = a.product_url : "yes" !== wc_add_to_cart_params.cart_redirect_after_add ? t(document.body).trigger("added_to_cart", [a.fragments, a.cart_hash, e]) : window.location = wc_add_to_cart_params.cart_url) 4214 }, 4215 dataType: "json" 4216 }) 4217 } 4218 }, a.prototype.onRemoveFromCart = function (a) { 4219 var e = t(this), 4220 r = e.closest(".woocommerce-mini-cart-item"); 4221 a.preventDefault(), r.block({ 4222 message: null, 4223 overlayCSS: { 4224 opacity: .6 4225 } 4226 }), a.data.addToCartHandler.addRequest({ 4227 type: "POST", 4228 url: wc_add_to_cart_params.wc_ajax_url.toString().replace("%%endpoint%%", "remove_from_cart"), 4229 data: { 4230 cart_item_key: e.data("cart_item_key") 4231 }, 4232 success: function (a) { 4233 a && a.fragments ? t(document.body).trigger("removed_from_cart", [a.fragments, a.cart_hash, e]) : window.location = e.attr("href") 4234 }, 4235 error: function () { 4236 window.location = e.attr("href") 4237 }, 4238 dataType: "json" 4239 }) 4240 }, a.prototype.updateButton = function (a, e, r, d) { 4241 (d = void 0 !== d && d) && (d.removeClass("loading"), e && d.addClass("added"), e && !wc_add_to_cart_params.is_cart && 0 === d.parent().find(".added_to_cart").length && d.after('<a href="' + wc_add_to_cart_params.cart_url + '" class="added_to_cart wc-forward" title="' + wc_add_to_cart_params.i18n_view_cart + '">' + wc_add_to_cart_params.i18n_view_cart + "</a>"), t(document.body).trigger("wc_cart_button_updated", [d])) 4242 }, a.prototype.updateFragments = function (a, e) { 4243 e && (t.each(e, function (a) { 4244 t(a).addClass("updating").fadeTo("400", "0.6").block({ 4245 message: null, 4246 overlayCSS: { 4247 opacity: .6 4248 } 4249 }) 4250 }), t.each(e, function (a, e) { 4251 t(a).replaceWith(e), t(a).stop(!0).css("opacity", "1").unblock() 4252 }), t(document.body).trigger("wc_fragments_loaded")) 4253 }, new a 4254}); 4255/*! 4256 * JavaScript Cookie v2.1.4 4257 * https://github.com/js-cookie/js-cookie 4258 * 4259 * Copyright 2006, 2015 Klaus Hartl & Fagner Brack 4260 * Released under the MIT license 4261 */ 4262! function (e) { 4263 var n = !1; 4264 if ("function" == typeof define && define.amd && (define(e), n = !0), "object" == typeof exports && (module.exports = e(), n = !0), !n) { 4265 var o = window.Cookies, 4266 t = window.Cookies = e(); 4267 t.noConflict = function () { 4268 return window.Cookies = o, t 4269 } 4270 } 4271}(function () { 4272 function e() { 4273 for (var e = 0, n = {}; e < arguments.length; e++) { 4274 var o = arguments[e]; 4275 for (var t in o) n[t] = o[t] 4276 } 4277 return n 4278 } 4279 return function n(o) { 4280 function t(n, r, i) { 4281 var c; 4282 if ("undefined" != typeof document) { 4283 if (arguments.length > 1) { 4284 if ("number" == typeof (i = e({ 4285 path: "/" 4286 }, t.defaults, i)).expires) { 4287 var a = new Date; 4288 a.setMilliseconds(a.getMilliseconds() + 864e5 * i.expires), i.expires = a 4289 } 4290 i.expires = i.expires ? i.expires.toUTCString() : ""; 4291 try { 4292 c = JSON.stringify(r), /^[\{\[]/.test(c) && (r = c) 4293 } catch (m) {} 4294 r = o.write ? o.write(r, n) : encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent), n = (n = (n = encodeURIComponent(String(n))).replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent)).replace(/[\(\)]/g, escape); 4295 var f = ""; 4296 for (var s in i) i[s] && (f += "; " + s, !0 !== i[s] && (f += "=" + i[s])); 4297 return document.cookie = n + "=" + r + f 4298 } 4299 n || (c = {}); 4300 for (var p = document.cookie ? document.cookie.split("; ") : [], d = /(%[0-9A-Z]{2})+/g, u = 0; u < p.length; u++) { 4301 var l = p[u].split("="), 4302 C = l.slice(1).join("="); 4303 '"' === C.charAt(0) && (C = C.slice(1, -1)); 4304 try { 4305 var g = l[0].replace(d, decodeURIComponent); 4306 if (C = o.read ? o.read(C, g) : o(C, g) || C.replace(d, decodeURIComponent), this.json) try { 4307 C = JSON.parse(C) 4308 } catch (m) {} 4309 if (n === g) { 4310 c = C; 4311 break 4312 } 4313 n || (c[g] = C) 4314 } catch (m) {} 4315 } 4316 return c 4317 } 4318 } 4319 return t.set = t, t.get = function (e) { 4320 return t.call(t, e) 4321 }, t.getJSON = function () { 4322 return t.apply({ 4323 json: !0 4324 }, [].slice.call(arguments)) 4325 }, t.defaults = {}, t.remove = function (n, o) { 4326 t(n, "", e(o, { 4327 expires: -1 4328 })) 4329 }, t.withConverter = n, t 4330 }(function () {}) 4331}); 4332var woocommerce_params = { 4333 "ajax_url": "\/wp-admin\/admin-ajax.php", 4334 "wc_ajax_url": "\/?wc-ajax=%%endpoint%%" 4335}; 4336jQuery(function (o) { 4337 o(".woocommerce-ordering").on("change", "select.orderby", function () { 4338 o(this).closest("form").trigger("submit") 4339 }
4339), o("input.qty:not(.product-quantity input.qty)").each(function () { 4340 var e = parseFloat(o(this).attr("min")); 4341 e >= 0 && parseFloat(o(this).val()) < e && o(this).val(e) 4342 }); 4343 var e = "store_notice" + (o(".woocommerce-store-notice").data("noticeId") || ""); 4344 "hidden" === Cookies.get(e) ? o(".woocommerce-store-notice").hide() : o(".woocommerce-store-notice").show(), o(".woocommerce-store-notice__dismiss-link").on("click", function (s) { 4345 Cookies.set(e, "hidden", { 4346 path: "/" 4347 }), o(".woocommerce-store-notice").hide(), s.preventDefault() 4348 }), o(".woocommerce-input-wrapper span.description").length && o(document.body).on("click", function () { 4349 o(".woocommerce-input-wrapper span.description:visible").prop("aria-hidden", !0).slideUp(250) 4350 }), o(".woocommerce-input-wrapper").on("click", function (o) { 4351 o.stopPropagation() 4352 }), o(".woocommerce-input-wrapper :input").on("keydown", function (e) { 4353 var s = o(this).parent().find("span.description"); 4354 if (27 === e.which && s.length && s.is(":visible")) return s.prop("aria-hidden", !0).slideUp(250), e.preventDefault(), !1 4355 }).on("click focus", function () { 4356 var e = o(this).parent(), 4357 s = e.find("span.description"); 4358 e.addClass("currentTarget"), o(".woocommerce-input-wrapper:not(.currentTarget) span.description:visible").prop("aria-hidden", !0).slideUp(250), s.length && s.is(":hidden") && s.prop("aria-hidden", !1).slideDown(250), e.removeClass("currentTarget") 4359 }), o.scroll_to_notices = function (e) { 4360 e.length && o("html, body").animate({ 4361 scrollTop: e.offset().top - 100 4362 }, 1e3) 4363 }, o('.woocommerce form .woocommerce-Input[type="password"]').wrap('<span class="password-input"></span>'), o(".woocommerce form input").filter(":password").parent("span").addClass("password-input"), o(".password-input").append('<span class="show-password-input"></span>'), o(".show-password-input").on("click", function () { 4364 o(this).hasClass("display-password") ? o(this).removeClass("display-password") : o(this).addClass("display-password"), o(this).hasClass("display-password") ? o(this).siblings(['input[type="password"]']).prop("type", "text") : o(this).siblings('input[type="text"]').prop("type", "password") 4365 }) 4366}); 4367(function () { 4368 function t(e) { 4369 this.path = e; 4370 var t = this.path.split("."), 4371 n = t.slice(0, t.length - 1).join("."), 4372 r = t[t.length - 1]; 4373 this.at_2x_path = n + "@2x." + r 4374 } 4375 4376 function n(e) { 4377 this.el = e, this.path = new t(this.el.getAttribute("src")); 4378 var n = this; 4379 this.path.check_2x_variant(function (e) { 4380 e && n.swap() 4381 }) 4382 } 4383 var e = typeof exports == "undefined" ? window : exports; 4384 e.RetinaImagePath = t, t.confirmed_paths = [], t.prototype.is_external = function () { 4385 return !!this.path.match(/^https?\:/i) && !this.path.match("//" + document.domain) 4386 }, t.prototype.check_2x_variant = function (e) { 4387 var n, r = this; 4388 if (this.is_external()) return e(!1); 4389 if (this.at_2x_path in t.confirmed_paths) return e(!0); 4390 n = new XMLHttpRequest, n.open("HEAD", this.at_2x_path), n.onreadystatechange = function () { 4391 return n.readyState != 4 ? e(!1) : n.status >= 200 && n.status <= 399 ? (t.confirmed_paths.push(r.at_2x_path), e(!0)) : e(!1) 4392 }, n.send() 4393 }, e.RetinaImage = n, n.prototype.swap = function (e) { 4394 function n() { 4395 t.el.complete ? (t.el.setAttribute("width", t.el.offsetWidth), t.el.setAttribute("height", t.el.offsetHeight), t.el.setAttribute("src", e)) : setTimeout(n, 5) 4396 } 4397 typeof e == "undefined" && (e = this.path.at_2x_path); 4398 var t = this; 4399 n() 4400 }, e.devicePixelRatio > 1 && (window.onload = function () { 4401 var e = document.getElementsByTagName("img"), 4402 t = [], 4403 r, i; 4404 for (r = 0; r < e.length; r++) i = e[r], t.push(new n(i)) 4405 }) 4406})(); 4407jQuery.easing['jswing'] = jQuery.easing['swing']; 4408jQuery.extend(jQuery.easing, { 4409 def: 'easeOutQuad', 4410 swing: function (x, t, b, c, d) { 4411 return jQuery.easing[jQuery.easing.def](x, t, b, c, d); 4412 }, 4413 easeInQuad: function (x, t, b, c, d) { 4414 return c * (t /= d) * t + b; 4415 }, 4416 easeOutQuad: function (x, t, b, c, d) { 4417 return -c * (t /= d) * (t - 2) + b; 4418 }, 4419 easeInOutQuad: function (x, t, b, c, d) { 4420 if ((t /= d / 2) < 1) return c / 2 * t * t + b; 4421 return -c / 2 * ((--t) * (t - 2) - 1) + b; 4422 }, 4423 easeInCubic: function (x, t, b, c, d) { 4424 return c * (t /= d) * t * t + b; 4425 }, 4426 easeOutCubic: function (x, t, b, c, d) { 4427 return c * ((t = t / d - 1) * t * t + 1) + b; 4428 }, 4429 easeInOutCubic: function (x, t, b, c, d) { 4430 if ((t /= d / 2) < 1) return c / 2 * t * t * t + b; 4431 return c / 2 * ((t -= 2) * t * t + 2) + b; 4432 }, 4433 easeInQuart: function (x, t, b, c, d) { 4434 return c * (t /= d) * t * t * t + b; 4435 }, 4436 easeOutQuart: function (x, t, b, c, d) { 4437 return -c * ((t = t / d - 1) * t * t * t - 1) + b; 4438 }, 4439 easeInOutQuart: function (x, t, b, c, d) { 4440 if ((t /= d / 2) < 1) return c / 2 * t * t * t * t + b; 4441 return -c / 2 * ((t -= 2) * t * t * t - 2) + b; 4442 }, 4443 easeInQuint: function (x, t, b, c, d) { 4444 return c * (t /= d) * t * t * t * t + b; 4445 }, 4446 easeOutQuint: function (x, t, b, c, d) { 4447 return c * ((t = t / d - 1) * t * t * t * t + 1) + b; 4448 }, 4449 easeInOutQuint: function (x, t, b, c, d) { 4450 if ((t /= d / 2) < 1) return c / 2 * t * t * t * t * t + b; 4451 return c / 2 * ((t -= 2) * t * t * t * t + 2) + b; 4452 }, 4453 easeInSine: function (x, t, b, c, d) { 4454 return -c * Math.cos(t / d * (Math.PI / 2)) + c + b; 4455 }, 4456 easeOutSine: function (x, t, b, c, d) { 4457 return c * Math.sin(t / d * (Math.PI / 2)) + b; 4458 }, 4459 easeInOutSine: function (x, t, b, c, d) { 4460 return -c / 2 * (Math.cos(Math.PI * t / d) - 1) + b; 4461 }, 4462 easeInExpo: function (x, t, b, c, d) { 4463 return (t == 0) ? b : c * Math.pow(2, 10 * (t / d - 1)) + b; 4464 }, 4465 easeOutExpo: function (x, t, b, c, d) { 4466 return (t == d) ? b + c : c * (-Math.pow(2, -10 * t / d) + 1) + b; 4467 }, 4468 easeInOutExpo: function (x, t, b, c, d) { 4469 if (t == 0) return b; 4470 if (t == d) return b + c; 4471 if ((t /= d / 2) < 1) return c / 2 * Math.pow(2, 10 * (t - 1)) + b; 4472 return c / 2 * (-Math.pow(2, -10 * --t) + 2) + b; 4473 }, 4474 easeInCirc: function (x, t, b, c, d) { 4475 return -c * (Math.sqrt(1 - (t /= d) * t) - 1) + b; 4476 }, 4477 easeOutCirc: function (x, t, b, c, d) { 4478 return c * Math.sqrt(1 - (t = t / d - 1) * t) + b; 4479 }, 4480 easeInOutCirc: function (x, t, b, c, d) { 4481 if ((t /= d / 2) < 1) return -c / 2 * (Math.sqrt(1 - t * t) - 1) + b; 4482 return c / 2 * (Math.sqrt(1 - (t -= 2) * t) + 1) + b; 4483 }, 4484 easeInElastic: function (x, t, b, c, d) { 4485 var s = 1.70158; 4486 var p = 0; 4487 var a = c; 4488 if (t == 0) return b; 4489 if ((t /= d) == 1) return b + c; 4490 if (!p) p = d * .3; 4491 if (a < Math.abs(c)) { 4492 a = c; 4493 var s = p / 4; 4494 } else var s = p / (2 * Math.PI) * Math.asin(c / a); 4495 return -(a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t * d - s) * (2 * Math.PI) / p)) + b; 4496 }, 4497 easeOutElastic: function (x, t, b, c, d) { 4498 var s = 1.70158; 4499 var p = 0; 4500 var a = c; 4501 if (t == 0) return b; 4502 if ((t /= d) == 1) return b + c; 4503 if (!p) p = d * .3; 4504 if (a < Math.abs(c)) { 4505 a = c; 4506 var s = p / 4; 4507 } else var s = p / (2 * Math.PI) * Math.asin(c / a); 4508 return a * Math.pow(2, -10 * t) * Math.sin((t * d - s) * (2 * Math.PI) / p) + c + b; 4509 }, 4510 easeInOutElastic: function (x, t, b, c, d) { 4511 var s = 1.70158; 4512 var p = 0; 4513 var a = c; 4514 if (t == 0) return b; 4515 if ((t /= d / 2) == 2) return b + c; 4516 if (!p) p = d * (.3 * 1.5); 4517 if (a < Math.abs(c)) { 4518 a = c; 4519 var s = p / 4; 4520 } else var s = p / (2 * Math.PI) * Math.asin(c / a); 4521 if (t < 1) return -.5 * (a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t * d - s) * (2 * Math.PI) / p)) + b; 4522 return a * Math.pow(2, -10 * (t -= 1)) * Math.sin((t * d - s) * (2 * Math.PI) / p) * .5 + c + b; 4523 }, 4524 easeInBack: function (x, t, b, c, d, s) { 4525 if (s == undefined) s = 1.70158; 4526 return c * (t /= d) * t * ((s + 1) * t - s) + b; 4527 }, 4528 easeOutBack: function (x, t, b, c, d, s) { 4529 if (s == undefined) s = 1.70158;
4530 return c * ((t = t / d - 1) * t * ((s + 1) * t + s) + 1) + b; 4531 }, 4532 easeInOutBack: function (x, t, b, c, d, s) { 4533 if (s == undefined) s = 1.70158; 4534 if ((t /= d / 2) < 1) return c / 2 * (t * t * (((s *= (1.525)) + 1) * t - s)) + b; 4535 return c / 2 * ((t -= 2) * t * (((s *= (1.525)) + 1) * t + s) + 2) + b; 4536 }, 4537 easeInBounce: function (x, t, b, c, d) { 4538 return c - jQuery.easing.easeOutBounce(x, d - t, 0, c, d) + b; 4539 }, 4540 easeOutBounce: function (x, t, b, c, d) { 4541 if ((t /= d) < (1 / 2.75)) { 4542 return c * (7.5625 * t * t) + b; 4543 } else if (t < (2 / 2.75)) { 4544 return c * (7.5625 * (t -= (1.5 / 2.75)) * t + .75) + b; 4545 } else if (t < (2.5 / 2.75)) { 4546 return c * (7.5625 * (t -= (2.25 / 2.75)) * t + .9375) + b; 4547 } else { 4548 return c * (7.5625 * (t -= (2.625 / 2.75)) * t + .984375) + b; 4549 } 4550 }, 4551 easeInOutBounce: function (x, t, b, c, d) { 4552 if (t < d / 2) return jQuery.easing.easeInBounce(x, t * 2, 0, c, d) * .5 + b; 4553 return jQuery.easing.easeOutBounce(x, t * 2 - d, 0, c, d) * .5 + c * .5 + b; 4554 } 4555});; 4556(function ($) { 4557 $.fn.hoverIntent = function (f, g) { 4558 var cfg = { 4559 sensitivity: 7, 4560 interval: 100, 4561 timeout: 0 4562 }; 4563 cfg = $.extend(cfg, g ? { 4564 over: f, 4565 out: g 4566 } : f); 4567 var cX, cY, pX, pY; 4568 var track = function (ev) { 4569 cX = ev.pageX; 4570 cY = ev.pageY; 4571 }; 4572 var compare = function (ev, ob) { 4573 ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); 4574 if ((Math.abs(pX - cX) + Math.abs(pY - cY)) < cfg.sensitivity) { 4575 $(ob).unbind("mousemove", track); 4576 ob.hoverIntent_s = 1; 4577 return cfg.over.apply(ob, [ev]); 4578 } else { 4579 pX = cX; 4580 pY = cY; 4581 ob.hoverIntent_t = setTimeout(function () { 4582 compare(ev, ob); 4583 }, cfg.interval); 4584 } 4585 }; 4586 var delay = function (ev, ob) { 4587 ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); 4588 ob.hoverIntent_s = 0; 4589 return cfg.out.apply(ob, [ev]); 4590 }; 4591 var handleHover = function (e) { 4592 var p = (e.type == "mouseover" ? e.fromElement : e.toElement) || e.relatedTarget; 4593 while (p && p != this) { 4594 try { 4595 p = p.parentNode; 4596 } catch (e) { 4597 p = this; 4598 } 4599 } 4600 if (p == this) { 4601 return false; 4602 } 4603 var ev = jQuery.extend({}, e); 4604 var ob = this; 4605 if (ob.hoverIntent_t) { 4606 ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); 4607 } 4608 if (e.type == "mouseover") { 4609 pX = ev.pageX; 4610 pY = ev.pageY; 4611 $(ob).bind("mousemove", track); 4612 if (ob.hoverIntent_s != 1) { 4613 ob.hoverIntent_t = setTimeout(function () { 4614 compare(ev, ob); 4615 }, cfg.interval); 4616 } 4617 } else { 4618 $(ob).unbind("mousemove", track); 4619 if (ob.hoverIntent_s == 1) { 4620 ob.hoverIntent_t = setTimeout(function () { 4621 delay(ev, ob); 4622 }, cfg.timeout); 4623 } 4624 } 4625 }; 4626 return this.mouseover(handleHover).mouseout(handleHover); 4627 }; 4628})(jQuery); 4629eval(function (p, a, c, k, e, r) { 4630 e = function (c) { 4631 return (c < a ? '' : e(parseInt(c / a))) + ((c = c % a) > 35 ? String.fromCharCode(c + 29) : c.toString(36)) 4632 }; 4633 if (!''.replace(/^/, String)) { 4634 while (c--) r[e(c)] = k[c] || e(c); 4635 k = [function (e) { 4636 return r[e] 4637 }]; 4638 e = function () { 4639 return '\\w+' 4640 }; 4641 c = 1 4642 }; 4643 while (c--) 4644 if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); 4645 return p 4646}('(7($){$.H($.2L,{17:7(d){l(!6.F){d&&d.2q&&2T.1z&&1z.52("3y 3p, 4L\'t 17, 64 3y");8}p c=$.19(6[0],\'v\');l(c){8 c}c=2w $.v(d,6[0]);$.19(6[0],\'v\',c);l(c.q.3x){6.3s("1w, 3i").1o(".4E").3e(7(){c.3b=w});l(c.q.35){6.3s("1w, 3i").1o(":2s").3e(7(){c.1Z=6})}6.2s(7(b){l(c.q.2q)b.5J();7 1T(){l(c.q.35){l(c.1Z){p a=$("<1w 1V=\'5r\'/>").1s("u",c.1Z.u).33(c.1Z.Z).51(c.U)}c.q.35.V(c,c.U);l(c.1Z){a.3D()}8 N}8 w}l(c.3b){c.3b=N;8 1T()}l(c.L()){l(c.1b){c.1l=w;8 N}8 1T()}12{c.2l();8 N}})}8 c},J:7(){l($(6[0]).2W(\'L\')){8 6.17().L()}12{p b=w;p a=$(6[0].L).17();6.P(7(){b&=a.I(6)});8 b}},4D:7(c){p d={},$I=6;$.P(c.1I(/\\s/),7(a,b){d[b]=$I.1s(b);$I.6d(b)});8 d},1i:7(h,k){p f=6[0];l(h){p i=$.19(f.L,\'v\').q;p d=i.1i;p c=$.v.36(f);23(h){1e"1d":$.H(c,$.v.1X(k));d[f.u]=c;l(k.G)i.G[f.u]=$.H(i.G[f.u],k.G);31;1e"3D":l(!k){T d[f.u];8 c}p e={};$.P(k.1I(/\\s/),7(a,b){e[b]=c[b];T c[b]});8 e}}p g=$.v.41($.H({},$.v.3Y(f),$.v.3V(f),$.v.3T(f),$.v.36(f)),f);l(g.15){p j=g.15;T g.15;g=$.H({15:j},g)}8 g}});$.H($.5p[":"],{5n:7(a){8!$.1p(""+a.Z)},5g:7(a){8!!$.1p(""+a.Z)},5f:7(a){8!a.4h}});$.v=7(b,a){6.q=$.H(w,{},$.v.3d,b);6.U=a;6.3I()};$.v.W=7(c,b){l(R.F==1)8 7(){p a=$.3F(R);a.4V(c);8 $.v.W.1Q(6,a)};l(R.F>2&&b.2c!=3B){b=$.3F(R).4Q(1)}l(b.2c!=3B){b=[b]}$.P(b,7(i,n){c=c.1u(2w 3t("\\\\{"+i+"\\\\}","g"),n)});8 c};$.H($.v,{3d:{G:{},2a:{},1i:{},1c:"3r",28:"J",2F:"4P",2l:w,3o:$([]),2D:$([]),3x:w,3l:[],3k:N,4O:7(a){6.3U=a;l(6.q.4K&&!6.4J){6.q.1K&&6.q.1K.V(6,a,6.q.1c,6.q.28);6.1M(a).2A()}}
4646,4C:7(a){l(!6.1E(a)&&(a.u 11 6.1a||!6.K(a))){6.I(a)}},6c:7(a){l(a.u 11 6.1a||a==6.4A){6.I(a)}},68:7(a){l(a.u 11 6.1a)6.I(a);12 l(a.4x.u 11 6.1a)6.I(a.4x)},39:7(a,c,b){$(a).22(c).2v(b)},1K:7(a,c,b){$(a).2v(c).22(b)}},63:7(a){$.H($.v.3d,a)},G:{15:"61 4r 2W 15.",1q:"M 2O 6 4r.",1J:"M O a J 1J 5X.",1B:"M O a J 5W.",1A:"M O a J 1A.",2j:"M O a J 1A (5Q).",1G:"M O a J 1G.",1P:"M O 5O 1P.",2f:"M O a J 5L 5I 1G.",2o:"M O 47 5F Z 5B.",43:"M O a Z 5z a J 5x.",18:$.v.W("M O 3K 5v 2X {0} 2V."),1y:$.v.W("M O 5t 5s {0} 2V."),2i:$.v.W("M O a Z 3W {0} 3O {1} 2V 5o."),2r:$.v.W("M O a Z 3W {0} 3O {1}."),1C:$.v.W("M O a Z 5j 2X 46 3M 3L {0}."),1t:$.v.W("M O a Z 5d 2X 46 3M 3L {0}.")},3J:N,5a:{3I:7(){6.24=$(6.q.2D);6.4t=6.24.F&&6.24||$(6.U);6.2x=$(6.q.3o).1d(6.q.2D);6.1a={};6.54={};6.1b=0;6.1h={};6.1f={};6.21();p f=(6.2a={});$.P(6.q.2a,7(d,c){$.P(c.1I(/\\s/),7(a,b){f[b]=d})});p e=6.q.1i;$.P(e,7(b,a){e[b]=$.v.1X(a)});7 2N(a){p b=$.19(6[0].L,"v"),3c="4W"+a.1V.1u(/^17/,"");b.q[3c]&&b.q[3c].V(b,6[0])}$(6.U).2K(":3E, :4U, :4T, 2e, 4S","2d 2J 4R",2N).2K(":3C, :3A, 2e, 3z","3e",2N);l(6.q.3w)$(6.U).2I("1f-L.17",6.q.3w)},L:7(){6.3v();$.H(6.1a,6.1v);6.1f=$.H({},6.1v);l(!6.J())$(6.U).3u("1f-L",[6]);6.1m();8 6.J()},3v:7(){6.2H();Q(p i=0,14=(6.2b=6.14());14[i];i++){6.29(14[i])}8 6.J()},I:7(a){a=6.2G(a);6.4A=a;6.2P(a);6.2b=$(a);p b=6.29(a);l(b){T 6.1f[a.u]}12{6.1f[a.u]=w}l(!6.3q()){6.13=6.13.1d(6.2x)}6.1m();8 b},1m:7(b){l(b){$.H(6.1v,b);6.S=[];Q(p c 11 b){6.S.27({1j:b[c],I:6.26(c)[0]})}6.1n=$.3n(6.1n,7(a){8!(a.u 11 b)})}6.q.1m?6.q.1m.V(6,6.1v,6.S):6.3m()},2S:7(){l($.2L.2S)$(6.U).2S();6.1a={};6.2H();6.2Q();6.14().2v(6.q.1c)},3q:7(){8 6.2k(6.1f)},2k:7(a){p b=0;Q(p i 11 a)b++;8 b},2Q:7(){6.2C(6.13).2A()},J:7(){8 6.3j()==0},3j:7(){8 6.S.F},2l:7(){l(6.q.2l){3Q{$(6.3h()||6.S.F&&6.S[0].I||[]).1o(":4N").3g().4M("2d")}3f(e){}}},3h:7(){p a=6.3U;8 a&&$.3n(6.S,7(n){8 n.I.u==a.u}).F==1&&a},14:7(){p a=6,2B={};8 $([]).1d(6.U.14).1o(":1w").1L(":2s, :21, :4I, [4H]").1L(6.q.3l).1o(7(){!6.u&&a.q.2q&&2T.1z&&1z.3r("%o 4G 3K u 4F",6);l(6.u 11 2B||!a.2k($(6).1i()))8 N;2B[6.u]=w;8 w})},2G:7(a){8 $(a)[0]},2z:7(){8 $(6.q.2F+"."+6.q.1c,6.4t)},21:7(){6.1n=[];6.S=[];6.1v={};6.1k=$([]);6.13=$([]);6.2b=$([])},2H:7(){6.21();6.13=6.2z().1d(6.2x)},2P:7(a){6.21();6.13=6.1M(a)},29:7(d){d=6.2G(d);l(6.1E(d)){d=6.26(d.u)[0]}p a=$(d).1i();p c=N;Q(Y 11 a){p b={Y:Y,2n:a[Y]};3Q{p f=$.v.1N[Y].V(6,d.Z.1u(/\\r/g,""),d,b.2n);l(f=="1S-1Y"){c=w;6g}c=N;l(f=="1h"){6.13=6.13.1L(6.1M(d));8}l(!f){6.4B(d,b);8 N}}3f(e){6.q.2q&&2T.1z&&1z.6f("6e 6b 6a 69 I "+d.4z+", 29 47 \'"+b.Y+"\' Y",e);67 e;}}l(c)8;l(6.2k(a))6.1n.27(d);8 w},4y:7(a,b){l(!$.1H)8;p c=6.q.3a?$(a).1H()[6.q.3a]:$(a).1H();8 c&&c.G&&c.G[b]},4w:7(a,b){p m=6.q.G[a];8 m&&(m.2c==4v?m:m[b])},4u:7(){Q(p i=0;i<R.F;i++){l(R[i]!==20)8 R[i]}8 20},2u:7(a,b){8 6.4u(6.4w(a.u,b),6.4y(a,b),!6.q.3k&&a.62||20,$.v.G[b],"<4s>60: 5Z 1j 5Y Q "+a.u+"</4s>")},4B:7(b,a){p c=6.2u(b,a.Y),37=/\\$?\\{(\\d+)\\}/g;l(1g c=="7"){c=c.V(6,a.2n,b)}12 l(37.16(c)){c=1F.W(c.1u(37,\'{$1}\'),a.2n)}6.S.27({1j:c,I:b});6.1v[b.u]=c;6.1a[b.u]=c},2C:7(a){l(6.q.2t)a=a.1d(a.4q(6.q.2t));8 a},3m:7(){Q(p i=0;6.S[i];i++){p a=6.S[i];6.q.39&&6.q.39.V(6,a.I,6.q.1c,6.q.28);6.2E(a.I,a.1j)}l(6.S.F){6.1k=6.1k.1d(6.2x)}l(6.q.1x){Q(p i=0;6.1n[i];i++){6.2E(6.1n[i])}}l(6.q.1K){Q(p i=0,14=6.4p();14[i];i++){6.q.1K.V(6,14[i],6.q.1c,6.q.28)}}6.13=6.13.1L(6.1k);6.2Q();6.2C(6.1k).4o()},4p:7(){8 6.2b.1L(6.4n())},4n:7(){8 $(6.S).4m(7(){8 6.I})},2E:7(a,c){p b=6.1M(a);l(b.F){b.2v().22(6.q.1c);b.1s("4l")&&b.4k(c)}12{b=$("<"+6.q.2F+"/>").1s({"Q":6.34(a),4l:w}).22(6.q.1c).4k(c||"");l(6.q.2t){b=b.2A().4o().5V("<"+6.q.2t+"/>").4q()}l(!6.24.5S(b).F)6.q.4j?6.q.4j(b,$(a)):b.5R(a)}l(!c&&6.q.1x){b.3E("");1g 6.q.1x=="1D"?b.22(6.q.1x):6.q.1x(b)}6.1k=6.1k.1d(b)},1M:7(a){p b=6.34(a);8 6.2z().1o(7(){8 $(6).1s(\'Q\')==b})},34:7(a){8 6.2a[a.u]||(6.1E(a)?a.u:a.4z||a.u)},1E:7(a){8/3C|3A/i.16(a.1V)},26:7(d){p c=6.U;8 $(4i.5P(d)).4m(7(a,b){8 b.L==c&&b.u==d&&b||4g})},1O:7(a,b){23(b.4f.4e()){1e\'2e\':8 $("3z:3p",b).F;1e\'1w\':l(6.1E(b))8 6.26(b.u).1o(\':4h\').F}8 a.F},4d:7(b,a){8 6.32[1g b]?6.32[1g b](b,a):w},32:{"5N":7(b,a){8 b},"1D":7(b,a){8!!$(b,a.L).F},"7":7(b,a){8 b(a)}},K:7(a){8!$.v.1N.15.V(6,$.1p(a.Z),a)&&"1S-1Y"},4c:7(a){l(!6.1h[a.u]){6.1b++;6.1h[a.u]=w}},4b:7(a,b){6.1b--;
4646l(6.1b<0)6.1b=0;T 6.1h[a.u];l(b&&6.1b==0&&6.1l&&6.L()){$(6.U).2s();6.1l=N}12 l(!b&&6.1b==0&&6.1l){$(6.U).3u("1f-L",[6]);6.1l=N}},2h:7(a){8 $.19(a,"2h")||$.19(a,"2h",{2M:4g,J:w,1j:6.2u(a,"1q")})}},1R:{15:{15:w},1J:{1J:w},1B:{1B:w},1A:{1A:w},2j:{2j:w},4a:{4a:w},1G:{1G:w},49:{49:w},1P:{1P:w},2f:{2f:w}},48:7(a,b){a.2c==4v?6.1R[a]=b:$.H(6.1R,a)},3V:7(b){p a={};p c=$(b).1s(\'5H\');c&&$.P(c.1I(\' \'),7(){l(6 11 $.v.1R){$.H(a,$.v.1R[6])}});8 a},3T:7(c){p a={};p d=$(c);Q(Y 11 $.v.1N){p b=d.1s(Y);l(b){a[Y]=b}}l(a.18&&/-1|5G|5C/.16(a.18)){T a.18}8 a},3Y:7(a){l(!$.1H)8{};p b=$.19(a.L,\'v\').q.3a;8 b?$(a).1H()[b]:$(a).1H()},36:7(b){p a={};p c=$.19(b.L,\'v\');l(c.q.1i){a=$.v.1X(c.q.1i[b.u])||{}}8 a},41:7(d,e){$.P(d,7(c,b){l(b===N){T d[c];8}l(b.2R||b.2p){p a=w;23(1g b.2p){1e"1D":a=!!$(b.2p,e.L).F;31;1e"7":a=b.2p.V(e,e);31}l(a){d[c]=b.2R!==20?b.2R:w}12{T d[c]}}});$.P(d,7(a,b){d[a]=$.44(b)?b(e):b});$.P([\'1y\',\'18\',\'1t\',\'1C\'],7(){l(d[6]){d[6]=2Z(d[6])}});$.P([\'2i\',\'2r\'],7(){l(d[6]){d[6]=[2Z(d[6][0]),2Z(d[6][1])]}});l($.v.3J){l(d.1t&&d.1C){d.2r=[d.1t,d.1C];T d.1t;T d.1C}l(d.1y&&d.18){d.2i=[d.1y,d.18];T d.1y;T d.18}}l(d.G){T d.G}8 d},1X:7(a){l(1g a=="1D"){p b={};$.P(a.1I(/\\s/),7(){b[6]=w});a=b}8 a},5A:7(c,a,b){$.v.1N[c]=a;$.v.G[c]=b!=20?b:$.v.G[c];l(a.F<3){$.v.48(c,$.v.1X(c))}},1N:{15:7(c,d,a){l(!6.4d(a,d))8"1S-1Y";23(d.4f.4e()){1e\'2e\':p b=$(d).33();8 b&&b.F>0;1e\'1w\':l(6.1E(d))8 6.1O(c,d)>0;5y:8 $.1p(c).F>0}},1q:7(f,h,j){l(6.K(h))8"1S-1Y";p g=6.2h(h);l(!6.q.G[h.u])6.q.G[h.u]={};g.40=6.q.G[h.u].1q;6.q.G[h.u].1q=g.1j;j=1g j=="1D"&&{1B:j}||j;l(g.2M!==f){g.2M=f;p k=6;6.4c(h);p i={};i[h.u]=f;$.2U($.H(w,{1B:j,3Z:"2Y",3X:"17"+h.u,5w:"5u",19:i,1x:7(d){k.q.G[h.u].1q=g.40;p b=d===w;l(b){p e=k.1l;k.2P(h);k.1l=e;k.1n.27(h);k.1m()}12{p a={};p c=(g.1j=d||k.2u(h,"1q"));a[h.u]=$.44(c)?c(f):c;k.1m(a)}g.J=b;k.4b(h,b)}},j));8"1h"}12 l(6.1h[h.u]){8"1h"}8 g.J},1y:7(b,c,a){8 6.K(c)||6.1O($.1p(b),c)>=a},18:7(b,c,a){8 6.K(c)||6.1O($.1p(b),c)<=a},2i:7(b,d,a){p c=6.1O($.1p(b),d);8 6.K(d)||(c>=a[0]&&c<=a[1])},1t:7(b,c,a){8 6.K(c)||b>=a},1C:7(b,c,a){8 6.K(c)||b<=a},2r:7(b,c,a){8 6.K(c)||(b>=a[0]&&b<=a[1])},1J:7(a,b){8 6.K(b)||/^((([a-z]|\\d|[!#\\$%&\'\\*\\+\\-\\/=\\?\\^X`{\\|}~]|[\\E-\\B\\C-\\x\\A-\\y])+(\\.([a-z]|\\d|[!#\\$%&\'\\*\\+\\-\\/=\\?\\^X`{\\|}~]|[\\E-\\B\\C-\\x\\A-\\y])+)*)|((\\3S)((((\\2m|\\1W)*(\\30\\3R))?(\\2m|\\1W)+)?(([\\3P-\\5q\\45\\42\\5D-\\5E\\3N]|\\5m|[\\5l-\\5k]|[\\5i-\\5K]|[\\E-\\B\\C-\\x\\A-\\y])|(\\\\([\\3P-\\1W\\45\\42\\30-\\3N]|[\\E-\\B\\C-\\x\\A-\\y]))))*(((\\2m|\\1W)*(\\30\\3R))?(\\2m|\\1W)+)?(\\3S)))@((([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])|(([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])*([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])))\\.)+(([a-z]|[\\E-\\B\\C-\\x\\A-\\y])|(([a-z]|[\\E-\\B\\C-\\x\\A-\\y])([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])*([a-z]|[\\E-\\B\\C-\\x\\A-\\y])))\\.?$/i.16(a)},1B:7(a,b){8 6.K(b)||/^(5h?|5M):\\/\\/(((([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:)*@)?(((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5]))|((([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])|(([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])*([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])))\\.)+(([a-z]|[\\E-\\B\\C-\\x\\A-\\y])|(([a-z]|[\\E-\\B\\C-\\x\\A-\\y])([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])*([a-z]|[\\E-\\B\\C-\\x\\A-\\y])))\\.?)(:\\d*)?)(\\/((([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:|@)+(\\/(([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:|@)*)*)?)?(\\?((([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:|@)|[\\5e-\\5T]|\\/|\\?)*)?(\\#((([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:|@)|\\/|\\?)*)?$/i.16(a)},1A:7(a,b){8 6.K(b)||!/5U|5c/.16(2w 5b(a))},2j:7(a,b){8 6.K(b)||/^\\d{4}[\\/-]\\d{1,2}[\\/-]\\d{1,2}$/.16(a)},1G:7(a,b){8 6.K(b)||/^-?(?:\\d+|\\d{1,3}(?:,\\d{3})+)(?:\\.\\d+)?$/.16(a)},1P:7(a,b){8 6.K(b)||/^\\d+$/.16(a)},2f:7(b,e){l(6.K(e))8"1S-1Y";l(/[^0-9-]+/.16(b))8 N;p a=0,d=0,2g=N;b=b.1u(/\\D/g,"");Q(p n=b.F-1;n>=0;n--){p c=b.59(n);p d=58(c,10);l(2g){l((d*=2)>9)d-=9}a+=d;2g=!2g}8(a%10)==0},43:7(b,c,a){a=1g a=="1D"?a.1u(/,/g,\'|\'):"57|56?g|55";8 6.K(c)||b.65(2w 3t(".("+a+")$","i"))},2o:7(c,d,a){p b=$(a).66(".17-2o").2I("3H.17-2o",7(){$(d).J()});8 c==b.33()}}});$.W=$.v.W})(1F);(7($){p c=$.2U;p d={};$.2U=7(a){a=$.H(a,$.H({},$.53,a));p b=a.3X;l(a.3Z=="2Y"){l(d[b]){d[b].2Y()}8(d[b]=c.1Q(6,R))}8 c.1Q(6,R)}})(1F);(7($){l(!1F.1r.38.2d&&!1F.1r.38.2J&&4i.3G){$.P({3g:\'2d\',3H:\'2J\'},7(b,a){$.1r.38[a]={50:7(){6.3G(b,2y,w)},4Z:7(){6.4Y(b,2y,w)},2y:7(e){R[0]=$.1r.2O(e);R[0].1V=a;8 $.1r.1T.1Q(6,R)}};7 2y(e){e=$.1r.2O(e);e.1V=a;8 $.1r.1T.V(6,e)}})};$.H($.2L,{2K:7(d,e,c){8 6.2I(e,7(a){p b=$(a.4X);l(b.2W(d)){8 c.1Q(b,R)}})}})})(1F);', 62, 389, '||||||this|function|return|||||||||||||if||||var|settings||||name|validator|true|uFDCF|uFFEF||uFDF0|uD7FF|uF900||u00A0|length|messages|extend|element|valid|optional|form|Please|false|enter|each|for|arguments|errorList|delete|currentForm|call|format|_|method|value||in|else|toHide|elements|required|test|validate|maxlength|data|submitted|pendingRequest|errorClass|add|case|invalid|typeof|pending|rules|message|toShow|formSubmitted|showErrors|successList|filter|trim|remote|event|attr|min|replace|errorMap|input|success|minlength|console|date|url|max|string|checkable|jQuery|number|metadata|split|email|unhighlight|not|errorsFor|methods|getLength|digits|apply|classRuleSettings|depen
4646dency|handle|da|type|x09|normalizeRule|mismatch|submitButton|undefined|reset|addClass|switch|labelContainer||findByName|push|validClass|check|groups|currentElements|constructor|focusin|select|creditcard|bEven|previousValue|rangelength|dateISO|objectLength|focusInvalid|x20|parameters|equalTo|depends|debug|range|submit|wrapper|defaultMessage|removeClass|new|containers|handler|errors|hide|rulesCache|addWrapper|errorLabelContainer|showLabel|errorElement|clean|prepareForm|bind|focusout|validateDelegate|fn|old|delegate|fix|prepareElement|hideErrors|param|resetForm|window|ajax|characters|is|than|abort|Number|x0d|break|dependTypes|val|idOrName|submitHandler|staticRules|theregex|special|highlight|meta|cancelSubmit|eventType|defaults|click|catch|focus|findLastActive|button|size|ignoreTitle|ignore|defaultShowErrors|grep|errorContainer|selected|numberOfInvalids|error|find|RegExp|triggerHandler|checkForm|invalidHandler|onsubmit|nothing|option|checkbox|Array|radio|remove|text|makeArray|addEventListener|blur|init|autoCreateRanges|no|to|equal|x7f|and|x01|try|x0a|x22|attributeRules|lastActive|classRules|between|port|metadataRules|mode|originalMessage|normalizeRules|x0c|accept|isFunction|x0b|or|the|addClassRules|numberDE|dateDE|stopRequest|startRequest|depend|toLowerCase|nodeName|null|checked|document|errorPlacement|html|generated|map|invalidElements|show|validElements|parent|field|strong|errorContext|findDefined|String|customMessage|parentNode|customMetaMessage|id|lastElement|formatAndAdd|onfocusout|removeAttrs|cancel|assigned|has|disabled|image|blockFocusCleanup|focusCleanup|can|trigger|visible|onfocusin|label|slice|keyup|textarea|file|password|unshift|on|target|removeEventListener|teardown|setup|appendTo|warn|ajaxSettings|valueCache|gif|jpe|png|parseInt|charAt|prototype|Date|NaN|greater|uE000|unchecked|filled|https|x5d|less|x5b|x23|x21|blank|long|expr|x08|hidden|least|at|json|more|dataType|extension|default|with|addMethod|again|524288|x0e|x1f|same|2147483647|class|card|preventDefault|x7e|credit|ftp|boolean|only|getElementsByName|ISO|insertAfter|append|uF8FF|Invalid|wrap|URL|address|defined|No|Warning|This|title|setDefaults|returning|match|unbind|throw|onclick|checking|when|occured|onkeyup|removeAttr|exception|log|continue'.split('|'), 0, {})); 4647jQuery(function ($) { 4648 var errorContainer = $("<div class='error'>Validation errors occurred. Please confirm the fields and submit it again.</div>").appendTo("#commentform").hide(); 4649 var errorLabelContainer = $("<div class='error errorlabels'></div>").appendTo("#commentform").hide(); 4650 $("#commentform").validate({ 4651 rules: { 4652 author: "required", 4653 email: { 4654 required: true, 4655 email: true 4656 }, 4657 url: "url", 4658 comment: "required" 4659 }, 4660 errorContainer: errorContainer, 4661 errorLabelContainer: errorLabelContainer, 4662 ignore: ":hidden" 4663 }); 4664 $.validator.messages.required = ""; 4665 $.validator.messages.email = "» " + $.validator.messages.email; 4666 $.validator.messages.url = "» " + $.validator.messages.url; 4667});; 4668(function ($) { 4669 $.fn.superfish = function (op) { 4670 var sf = $.fn.superfish, 4671 c = sf.c, 4672 $arrow = $(['<span class="', c.arrowClass, '"> »</span>'].join('')), 4673 over = function () { 4674 var $$ = $(this), 4675 menu = getMenu($$); 4676 clearTimeout(menu.sfTimer); 4677 $$.showSuperfishUl().siblings().hideSuperfishUl(); 4678 }, 4679 out = function () { 4680 var $$ = $(this), 4681 menu = getMenu($$), 4682 o = sf.op; 4683 clearTimeout(menu.sfTimer); 4684 menu.sfTimer = setTimeout(function () { 4685 o.retainPath = ($.inArray($$[0], o.$path) > -1); 4686 $$.hideSuperfishUl(); 4687 if (o.$path.length && $$.parents(['li.', o.hoverClass].join('')).length < 1) { 4688 over.call(o.$path); 4689 } 4690 }, o.delay); 4691 }, 4692 getMenu = function ($menu) { 4693 var menu = $menu.parents(['ul.', c.menuClass, ':first'].join(''))[0]; 4694 sf.op = sf.o[menu.serial]; 4695 return menu; 4696 }, 4697 addArrow = function ($a) { 4698 $a.addClass(c.anchorClass).append($arrow.clone()); 4699 }; 4700 return this.each(function () { 4701 var s = this.serial = sf.o.length; 4702 var o = $.extend({}, sf.defaults, op); 4703 o.$path = $('li.' + o.pathClass, this).slice(0, o.pathLevels).each(function () { 4704 $(this).addClass([o.hoverClass, c.bcClass].join(' ')).filter('li:has(ul)').removeClass(o.pathClass); 4705 }); 4706 sf.o[s] = sf.op = o; 4707 $('li:has(ul)', this)[($.fn.hoverIntent && !o.disableHI) ? 'hoverIntent' : 'hover'](over, out).each(function () { 4708 if (o.autoArrows) addArrow($('>a:first-child', this)); 4709 }).not('.' + c.bcClass).hideSuperfishUl(); 4710 var $a = $('a', this); 4711 $a.each(function (i) { 4712 var $li = $a.eq(i).parents('li'); 4713 $a.eq(i).focus(function () { 4714 over.call($li); 4715 }).blur(function () { 4716 out.call($li); 4717 }); 4718 }); 4719 o.onInit.call(this); 4720 }).each(function () { 4721 var menuClasses = [c.menuClass]; 4722 if (sf.op.dropShadows && !($.browser.msie && $.browser.version < 7)) menuClasses.push(c.shadowClass); 4723 $(this).addClass(menuClasses.join(' ')); 4724 }); 4725 }; 4726 var sf = $.fn.superfish; 4727 sf.o = []; 4728 sf.op = {}; 4729 sf.IE7fix = function () { 4730 var o = sf.op; 4731 if ($.browser.msie && $.browser.version > 6 && o.dropShadows && o.animation.opacity != undefined)
4732 this.toggleClass(sf.c.shadowClass + '-off'); 4733 }; 4734 sf.c = { 4735 bcClass: 'sf-breadcrumb', 4736 menuClass: 'sf-js-enabled', 4737 anchorClass: 'sf-with-ul', 4738 arrowClass: 'sf-sub-indicator', 4739 shadowClass: 'sf-shadow' 4740 }; 4741 sf.defaults = { 4742 hoverClass: 'sfHover', 4743 pathClass: 'overideThisToUse', 4744 pathLevels: 1, 4745 delay: 800, 4746 animation: { 4747 opacity: 'show', 4748 height: 'show' 4749 }, 4750 speed: 'normal', 4751 autoArrows: true, 4752 dropShadows: true, 4753 disableHI: false, 4754 onInit: function () {}, 4755 onBeforeShow: function () {}, 4756 onShow: function () {}, 4757 onHide: function () {} 4758 }; 4759 $.fn.extend({ 4760 hideSuperfishUl: function () { 4761 var o = sf.op, 4762 not = (o.retainPath === true) ? o.$path : ''; 4763 o.retainPath = false; 4764 var $ul = $(['li.', o.hoverClass].join(''), this).add(this).not(not).removeClass(o.hoverClass).find('>ul').hide().css('visibility', 'hidden'); 4765 o.onHide.call($ul); 4766 return this; 4767 }, 4768 showSuperfishUl: function () { 4769 var o = sf.op, 4770 sh = sf.c.shadowClass + '-off', 4771 $ul = this.addClass(o.hoverClass).find('>ul:hidden').css('visibility', 'visible'); 4772 sf.IE7fix.call($ul); 4773 o.onBeforeShow.call($ul); 4774 $ul.animate(o.animation, o.speed, function () { 4775 sf.IE7fix.call($ul); 4776 o.onShow.call($ul); 4777 }); 4778 return this; 4779 } 4780 }); 4781})(jQuery);; 4782(function ($) { 4783 $.fn.supersubs = function (options) { 4784 var opts = $.extend({}, $.fn.supersubs.defaults, options); 4785 return this.each(function () { 4786 var $$ = $(this); 4787 var o = $.meta ? $.extend({}, opts, $$.data()) : opts; 4788 var fontsize = $('<li id="menu-fontsize">—</li>').css({ 4789 'padding': 0, 4790 'position': 'absolute', 4791 'top': '-999em', 4792 'width': 'auto' 4793 }).appendTo($$).width(); 4794 $('#menu-fontsize').remove(); 4795 $ULs = $$.find('ul'); 4796 $ULs.each(function (i) { 4797 var $ul = $ULs.eq(i); 4798 var $LIs = $ul.children(); 4799 var $As = $LIs.children('a'); 4800 var liFloat = $LIs.css('white-space', 'nowrap').css('float'); 4801 var emWidth = $ul.add($LIs).add($As).css({ 4802 'float': 'none', 4803 'width': 'auto' 4804 }).end().end()[0].clientWidth / fontsize; 4805 emWidth += o.extraWidth; 4806 if (emWidth > o.maxWidth) { 4807 emWidth = o.maxWidth; 4808 } else if (emWidth < o.minWidth) { 4809 emWidth = o.minWidth; 4810 } 4811 emWidth += 'em'; 4812 $ul.css('width', emWidth); 4813 $LIs.css({ 4814 'float': liFloat, 4815 'width': '100%', 4816 'white-space': 'normal' 4817 }).each(function () { 4818 var $childUl = $('>ul', this); 4819 var offsetDirection = $childUl.css('left') !== undefined ? 'left' : 'right'; 4820 $childUl.css(offsetDirection, emWidth); 4821 }); 4822 }); 4823 }); 4824 }; 4825 $.fn.supersubs.defaults = { 4826 minWidth: 9, 4827 maxWidth: 25, 4828 extraWidth: 0 4829 }; 4830})(jQuery); 4831jQuery(document).ready(function () { 4832 jQuery("ul.sf-menu").supersubs({ 4833 minWidth: 10, 4834 maxWidth: 45, 4835 extraWidth: 1 4836 }).superfish(); 4837});; 4838 4839/* 4840 * jQuery FlexSlider v1.8 4841 * http://www.woothemes.com/flexslider/ 4842 * 4843 * Copyright 2012 WooThemes 4844 * Free to use under the MIT license. 4845 * http://www.opensource.org/licenses/mit-license.php 4846 * 4847 * Contrib: Darin Richardson 4848 */ 4849; 4850(function ($) { 4851 $.flexslider = function (el, options) { 4852 var slider = el; 4853 slider.init = function () { 4854 slider.vars = $.extend({}, $.flexslider.defaults, options); 4855 slider.data('flexslider', true); 4856 slider.container = $('.slides', slider).first(); 4857 slider.slides = $('.slides:first > li', slider); 4858 slider.count = slider.slides.length; 4859 slider.animating = false; 4860 slider.currentSlide = slider.vars.slideToStart; 4861 slider.animatingTo = slider.currentSlide; 4862 slider.atEnd = (slider.currentSlide == 0) ? true : false;
4863 slider.eventType = ('ontouchstart' in document.documentElement) ? 'touchstart' : 'click'; 4864 slider.cloneCount = 0; 4865 slider.cloneOffset = 0; 4866 slider.manualPause = false; 4867 slider.vertical = (slider.vars.slideDirection == "vertical"); 4868 slider.prop = (slider.vertical) ? "top" : "marginLeft"; 4869 slider.args = {}; 4870 slider.transitions = "webkitTransition" in document.body.style; 4871 if (slider.transitions) slider.prop = "-webkit-transform"; 4872 if (slider.vars.controlsContainer != "") { 4873 slider.controlsContainer = $(slider.vars.controlsContainer).eq($('.slides').index(slider.container)); 4874 slider.containerExists = slider.controlsContainer.length > 0; 4875 } 4876 if (slider.vars.manualControls != "") { 4877 slider.manualControls = $(slider.vars.manualControls, ((slider.containerExists) ? slider.controlsContainer : slider)); 4878 slider.manualExists = slider.manualControls.length > 0; 4879 } 4880 if (slider.vars.randomize) { 4881 slider.slides.sort(function () { 4882 return (Math.round(Math.random()) - 0.5); 4883 }); 4884 slider.container.empty().append(slider.slides); 4885 } 4886 if (slider.vars.animation.toLowerCase() == "slide") { 4887 if (slider.transitions) { 4888 slider.setTransition(0); 4889 } 4890 slider.css({ 4891 "overflow": "hidden" 4892 }); 4893 if (slider.vars.animationLoop) { 4894 slider.cloneCount = 2; 4895 slider.cloneOffset = 1; 4896 slider.container.append(slider.slides.filter(':first').clone().addClass('clone')).prepend(slider.slides.filter(':last').clone().addClass('clone')); 4897 } 4898 slider.newSlides = $('.slides:first > li', slider); 4899 var sliderOffset = (-1 * (slider.currentSlide + slider.cloneOffset)); 4900 if (slider.vertical) { 4901 slider.newSlides.css({ 4902 "display": "block", 4903 "width": "100%", 4904 "float": "left" 4905 }); 4906 slider.container.height((slider.count + slider.cloneCount) * 200 + "%").css("position", "absolute").width("100%"); 4907 setTimeout(function () { 4908 slider.css({ 4909 "position": "relative" 4910 }).height(slider.slides.filter(':first').height()); 4911 slider.args[slider.prop] = (slider.transitions) ? "translate3d(0," + sliderOffset * slider.height() + "px,0)" : sliderOffset * slider.height() + "px"; 4912 slider.container.css(slider.args); 4913 }, 100); 4914 } else { 4915 slider.args[slider.prop] = (slider.transitions) ? "translate3d(" + sliderOffset * slider.width() + "px,0,0)" : sliderOffset * slider.width() + "px"; 4916 slider.container.width((slider.count + slider.cloneCount) * 200 + "%").css(slider.args); 4917 setTimeout(function () { 4918 slider.newSlides.width(slider.width()).css({ 4919 "float": "left", 4920 "display": "block" 4921 }); 4922 }, 100); 4923 } 4924 } else { //Default to fade 4925 slider.transitions = false; 4926 slider.slides.css({ 4927 "width": "100%", 4928 "float": "left", 4929 "marginRight": "-100%" 4930 }).eq(slider.currentSlide).fadeIn(slider.vars.animationDuration); 4931 } 4932 if (slider.vars.controlNav) { 4933 if (slider.manualExists) { 4934 slider.controlNav = slider.manualControls; 4935 } else { 4936 var controlNavScaffold = $('<ol class="flex-control-nav"></ol>'); 4937 var j = 1; 4938 for (var i = 0; i < slider.count; i++) { 4939 controlNavScaffold.append('<li><a>' + j + '</a></li>'); 4940 j++; 4941 } 4942 if (slider.containerExists) { 4943 $(slider.controlsContainer).append(controlNavScaffold); 4944 slider.controlNav = $('.flex-control-nav li a', slider.controlsContainer); 4945 } else { 4946 slider.append(controlNavScaffold); 4947 slider.controlNav = $('.flex-control-nav li a', slider); 4948 } 4949 } 4950 slider.controlNav.eq(slider.currentSlide).addClass('active'); 4951 slider.controlNav.bind(slider.eventType, function (event) { 4952 event.preventDefault(); 4953 if (!$(this).hasClass('active')) { 4954 (slider.controlNav.index($(this)) > slider.currentSlide) ? slider.direction = "next": slider.direction = "prev"; 4955 slider.flexAnimate(slider.controlNav.index($(this)), slider.vars.pauseOnAction); 4956 } 4957 }); 4958 } 4959 if (slider.vars.directionNav) { 4960 var directionNavScaffold = $('<ul class="flex-direction-nav"><li><a class="prev" href="#">
4960' + slider.vars.prevText + '</a></li><li><a class="next" href="#">' + slider.vars.nextText + '</a></li></ul>'); 4961 if (slider.containerExists) { 4962 $(slider.controlsContainer).append(directionNavScaffold); 4963 slider.directionNav = $('.flex-direction-nav li a', slider.controlsContainer); 4964 } else { 4965 slider.append(directionNavScaffold); 4966 slider.directionNav = $('.flex-direction-nav li a', slider); 4967 } 4968 if (!slider.vars.animationLoop) { 4969 if (slider.currentSlide == 0) { 4970 slider.directionNav.filter('.prev').addClass('disabled'); 4971 } else if (slider.currentSlide == slider.count - 1) { 4972 slider.directionNav.filter('.next').addClass('disabled'); 4973 } 4974 } 4975 slider.directionNav.bind(slider.eventType, function (event) { 4976 event.preventDefault(); 4977 var target = ($(this).hasClass('next')) ? slider.getTarget('next') : slider.getTarget('prev'); 4978 if (slider.canAdvance(target)) { 4979 slider.flexAnimate(target, slider.vars.pauseOnAction); 4980 } 4981 }); 4982 } 4983 if (slider.vars.keyboardNav && $('ul.slides').length == 1) { 4984 function keyboardMove(event) { 4985 if (slider.animating) { 4986 return; 4987 } else if (event.keyCode != 39 && event.keyCode != 37) { 4988 return; 4989 } else { 4990 if (event.keyCode == 39) { 4991 var target = slider.getTarget('next'); 4992 } else if (event.keyCode == 37) { 4993 var target = slider.getTarget('prev'); 4994 } 4995 if (slider.canAdvance(target)) { 4996 slider.flexAnimate(target, slider.vars.pauseOnAction); 4997 } 4998 } 4999 } 5000 $(document).bind('keyup', keyboardMove); 5001 } 5002 if (slider.vars.mousewheel) { 5003 slider.mousewheelEvent = (/Firefox/i.test(navigator.userAgent)) ? "DOMMouseScroll" : "mousewheel"; 5004 slider.bind(slider.mousewheelEvent, function (e) { 5005 e.preventDefault(); 5006 e = e ? e : window.event; 5007 var wheelData = e.detail ? e.detail * -1 : e.wheelDelta / 40, 5008 target = (wheelData < 0) ? slider.getTarget('next') : slider.getTarget('prev'); 5009 if (slider.canAdvance(target)) { 5010 slider.flexAnimate(target, slider.vars.pauseOnAction); 5011 } 5012 }); 5013 } 5014 if (slider.vars.slideshow) { 5015 if (slider.vars.pauseOnHover && slider.vars.slideshow) { 5016 slider.hover(function () { 5017 slider.pause(); 5018 }, function () { 5019 if (!slider.manualPause) { 5020 slider.resume(); 5021 } 5022 }); 5023 } 5024 slider.animatedSlides = setInterval(slider.animateSlides, slider.vars.slideshowSpeed); 5025 } 5026 if (slider.vars.pausePlay) { 5027 var pausePlayScaffold = $('<div class="flex-pauseplay"><span></span></div>'); 5028 if (slider.containerExists) { 5029 slider.controlsContainer.append(pausePlayScaffold); 5030 slider.pausePlay = $('.flex-pauseplay span', slider.controlsContainer); 5031 } else { 5032 slider.append(pausePlayScaffold); 5033 slider.pausePlay = $('.flex-pauseplay span', slider); 5034 } 5035 var pausePlayState = (slider.vars.slideshow) ? 'pause' : 'play'; 5036 slider.pausePlay.addClass(pausePlayState).text((pausePlayState == 'pause') ? slider.vars.pauseText : slider.vars.playText); 5037 slider.pausePlay.bind(slider.eventType, function (event) { 5038 event.preventDefault(); 5039 if ($(this).hasClass('pause')) { 5040 slider.pause(); 5041 slider.manualPause = true; 5042 } else { 5043 slider.resume(); 5044 slider.manualPause = false;
5045 } 5046 }); 5047 } 5048 if ('ontouchstart' in document.documentElement) { 5049 var startX, 5050 startY, 5051 offset, 5052 cwidth, 5053 dx, 5054 startT, 5055 scrolling = false; 5056 slider.each(function () { 5057 if ('ontouchstart' in document.documentElement) { 5058 this.addEventListener('touchstart', onTouchStart, false); 5059 } 5060 }); 5061 5062 function onTouchStart(e) { 5063 if (slider.animating) { 5064 e.preventDefault(); 5065 } else if (e.touches.length == 1) { 5066 slider.pause(); 5067 cwidth = (slider.vertical) ? slider.height() : slider.width(); 5068 startT = Number(new Date()); 5069 offset = (slider.vertical) ? (slider.currentSlide + slider.cloneOffset) * slider.height() : (slider.currentSlide + slider.cloneOffset) * slider.width(); 5070 startX = (slider.vertical) ? e.touches[0].pageY : e.touches[0].pageX; 5071 startY = (slider.vertical) ? e.touches[0].pageX : e.touches[0].pageY; 5072 slider.setTransition(0); 5073 this.addEventListener('touchmove', onTouchMove, false); 5074 this.addEventListener('touchend', onTouchEnd, false); 5075 } 5076 } 5077 5078 function onTouchMove(e) { 5079 dx = (slider.vertical) ? startX - e.touches[0].pageY : startX - e.touches[0].pageX; 5080 scrolling = (slider.vertical) ? (Math.abs(dx) < Math.abs(e.touches[0].pageX - startY)) : (Math.abs(dx) < Math.abs(e.touches[0].pageY - startY)); 5081 if (!scrolling) { 5082 e.preventDefault(); 5083 if (slider.vars.animation == "slide" && slider.transitions) { 5084 if (!slider.vars.animationLoop) { 5085 dx = dx / ((slider.currentSlide == 0 && dx < 0 || slider.currentSlide == slider.count - 1 && dx > 0) ? (Math.abs(dx) / cwidth + 2) : 1); 5086 } 5087 slider.args[slider.prop] = (slider.vertical) ? "translate3d(0," + (-offset - dx) + "px,0)" : "translate3d(" + (-offset - dx) + "px,0,0)"; 5088 slider.container.css(slider.args); 5089 } 5090 } 5091 } 5092 5093 function onTouchEnd(e) { 5094 slider.animating = false; 5095 if (slider.animatingTo == slider.currentSlide && !scrolling && !(dx == null)) { 5096 var target = (dx > 0) ? slider.getTarget('next') : slider.getTarget('prev'); 5097 if (slider.canAdvance(target) && Number(new Date()) - startT < 550 && Math.abs(dx) > 20 || Math.abs(dx) > cwidth / 2) { 5098 slider.flexAnimate(target, slider.vars.pauseOnAction); 5099 } else { 5100 slider.flexAnimate(slider.currentSlide, slider.vars.pauseOnAction); 5101 } 5102 } 5103 this.removeEventListener('touchmove', onTouchMove, false); 5104 this.removeEventListener('touchend', onTouchEnd, false); 5105 startX = null; 5106 startY = null; 5107 dx = null; 5108 offset = null; 5109 } 5110 } 5111 if (slider.vars.animation.toLowerCase() == "slide") { 5112 $(window).resize(function () { 5113 if (!slider.animating) { 5114 if (slider.vertical) { 5115 slider.height(slider.slides.filter(':first').height()); 5116 slider.args[slider.prop] = (-1 * (slider.currentSlide + slider.cloneOffset)) * slider.slides.filter(':first').height() + "px"; 5117 if (slider.transitions) { 5118 slider.setTransition(0); 5119 slider.args[slider.prop] = (slider.vertical) ? "translate3d(0," + slider.args[slider.prop] + ",0)" : "translate3d(" + slider.args[slider.prop] + ",0,0)"; 5120 } 5121 slider.container.css(slider.args); 5122 } else { 5123 slider.newSlides.width(slider.width()); 5124 slider.args[slider.prop] = (-1 * (slider.currentSlide + slider.cloneOffset)) * slider.width() + "px"; 5125 if (slider.transitions) { 5126 slider.setTransition(0); 5127 slider.args[slider.prop] = (slider.vertical) ? "translate3d(0," + slider.args[slider.prop] + ",0)" : "translate3d(" + slider.args[slider.prop] + ",0,0)"; 5128 } 5129 slider.container.css(slider.args); 5130 } 5131 } 5132 }); 5133 } 5134 /* 5135 slider.destroy = function() { 5136 slider.pause(); 5137 if (slider.controlNav && slider.vars.manualControls == "") slider.controlNav.closest('.flex-control-nav').remove(); 5138 if (slider.directionNav) slider.directionNav.closest('.flex-direction-nav').remove(); 5139 if (slider.vars.pausePlay) slider.pausePlay.closest('.flex-pauseplay').remove(); 5140 if (slider.vars.keyboardNav && $('ul.slides').length == 1) $(document).unbind('keyup', keyboardMove); 5141 if (slider.vars.mousewheel) slider.unbind(slider.mousewheelEvent); 5142 if (slider.transitions) slider.each(function(){this.removeEventListener('touchstart', onTouchStart, false);}); 5143 if (slider.vars.animation == "slide" && slider.vars.animationLoop) slider.newSlides.filter('.clone').remove(); 5144 if (slider.vertical) slider.height("auto"); 5145 slider.slides.hide(); 5146 slider.removeData('flexslider'); 5147 } 5148 */ 5149 slider.vars.start(slider); 5150 } 5151 slider.flexAnimate = function (target, pause) { 5152 if (!slider.animating) { 5153 slider.animating = true; 5154 slider.animatingTo = target; 5155 slider.vars.before(slider); 5156 if (pause) { 5157 slider.pause(); 5158 } 5159 if (slider.vars.controlNav) { 5160 slider.controlNav.removeClass('active').eq(target).addClass('active'); 5161 } 5162 slider.atEnd = (target == 0 || target == slider.count - 1) ? true : false;
5163 if (!slider.vars.animationLoop && slider.vars.directionNav) { 5164 if (target == 0) { 5165 slider.directionNav.removeClass('disabled').filter('.prev').addClass('disabled'); 5166 } else if (target == slider.count - 1) { 5167 slider.directionNav.removeClass('disabled').filter('.next').addClass('disabled'); 5168 } else { 5169 slider.directionNav.removeClass('disabled'); 5170 } 5171 } 5172 if (!slider.vars.animationLoop && target == slider.count - 1) { 5173 slider.pause(); 5174 slider.vars.end(slider); 5175 } 5176 if (slider.vars.animation.toLowerCase() == "slide") { 5177 var dimension = (slider.vertical) ? slider.slides.filter(':first').height() : slider.slides.filter(':first').width(); 5178 if (slider.currentSlide == 0 && target == slider.count - 1 && slider.vars.animationLoop && slider.direction != "next") { 5179 slider.slideString = "0px"; 5180 } else if (slider.currentSlide == slider.count - 1 && target == 0 && slider.vars.animationLoop && slider.direction != "prev") { 5181 slider.slideString = (-1 * (slider.count + 1)) * dimension + "px"; 5182 } else { 5183 slider.slideString = (-1 * (target + slider.cloneOffset)) * dimension + "px"; 5184 } 5185 slider.args[slider.prop] = slider.slideString; 5186 if (slider.transitions) { 5187 slider.setTransition(slider.vars.animationDuration); 5188 slider.args[slider.prop] = (slider.vertical) ? "translate3d(0," + slider.slideString + ",0)" : "translate3d(" + slider.slideString + ",0,0)"; 5189 slider.container.css(slider.args).one("webkitTransitionEnd transitionend", function () { 5190 slider.wrapup(dimension); 5191 }); 5192 } else { 5193 slider.container.animate(slider.args, slider.vars.animationDuration, function () { 5194 slider.wrapup(dimension); 5195 }); 5196 } 5197 } else { //Default to Fade 5198 slider.slides.eq(slider.currentSlide).fadeOut(slider.vars.animationDuration); 5199 slider.slides.eq(target).fadeIn(slider.vars.animationDuration, function () { 5200 slider.wrapup(); 5201 }); 5202 } 5203 } 5204 } 5205 slider.wrapup = function (dimension) { 5206 if (slider.vars.animation == "slide") { 5207 if (slider.currentSlide == 0 && slider.animatingTo == slider.count - 1 && slider.vars.animationLoop) { 5208 slider.args[slider.prop] = (-1 * slider.count) * dimension + "px"; 5209 if (slider.transitions) { 5210 slider.setTransition(0); 5211 slider.args[slider.prop] = (slider.vertical) ? "translate3d(0," + slider.args[slider.prop] + ",0)" : "translate3d(" + slider.args[slider.prop] + ",0,0)"; 5212 } 5213 slider.container.css(slider.args); 5214 } else if (slider.currentSlide == slider.count - 1 && slider.animatingTo == 0 && slider.vars.animationLoop) { 5215 slider.args[slider.prop] = -1 * dimension + "px"; 5216 if (slider.transitions) { 5217 slider.setTransition(0); 5218 slider.args[slider.prop] = (slider.vertical) ? "translate3d(0," + slider.args[slider.prop] + ",0)" : "translate3d(" + slider.args[slider.prop] + ",0,0)"; 5219 } 5220 slider.container.css(slider.args); 5221 } 5222 } 5223 slider.animating = false; 5224 slider.currentSlide = slider.animatingTo; 5225 slider.vars.after(slider); 5226 } 5227 slider.animateSlides = function () { 5228 if (!slider.animating) { 5229 slider.flexAnimate(slider.getTarget("next")); 5230 } 5231 } 5232 slider.pause = function () { 5233 clearInterval(slider.animatedSlides); 5234 if (slider.vars.pausePlay) { 5235 slider.pausePlay.removeClass('pause').addClass('play').text(slider.vars.playText); 5236 } 5237 } 5238 slider.resume = function () { 5239 slider.animatedSlides = setInterval(slider.animateSlides, slider.vars.slideshowSpeed); 5240 if (slider.vars.pausePlay) { 5241 slider.pausePlay.removeClass('play').addClass('pause').text(slider.vars.pauseText); 5242 } 5243 } 5244 slider.canAdvance = function (target) { 5245 if (!slider.vars.animationLoop && slider.atEnd) { 5246 if (slider.currentSlide == 0 && target == slider.count - 1 && slider.direction != "next") { 5247 return false;
5248 } else if (slider.currentSlide == slider.count - 1 && target == 0 && slider.direction == "next") { 5249 return false; 5250 } else { 5251 return true; 5252 } 5253 } else { 5254 return true; 5255 } 5256 } 5257 slider.getTarget = function (dir) { 5258 slider.direction = dir; 5259 if (dir == "next") { 5260 return (slider.currentSlide == slider.count - 1) ? 0 : slider.currentSlide + 1; 5261 } else { 5262 return (slider.currentSlide == 0) ? slider.count - 1 : slider.currentSlide - 1; 5263 } 5264 } 5265 slider.setTransition = function (dur) { 5266 slider.container.css({ 5267 '-webkit-transition-duration': (dur / 1000) + "s" 5268 }); 5269 } 5270 slider.init(); 5271 } 5272 $.flexslider.defaults = { 5273 animation: "slide", //String: Select your animation type, "fade" or "slide" 5274 slideDirection: "horizontal", //String: Select the sliding direction, "horizontal" or "vertical" 5275 slideshow: false, //Boolean: Animate slider automatically 5276 slideshowSpeed: 7000, //Integer: Set the speed of the slideshow cycling, in milliseconds 5277 animationDuration: 600, //Integer: Set the speed of animations, in milliseconds 5278 directionNav: true, //Boolean: Create navigation for previous/next navigation? (true/false) 5279 controlNav: true, //Boolean: Create navigation for paging control of each clide? Note: Leave true for manualControls usage 5280 keyboardNav: true, //Boolean: Allow slider navigating via keyboard left/right keys 5281 mousewheel: false, //Boolean: Allow slider navigating via mousewheel 5282 prevText: "Prev", //String: Set the text for the "previous" directionNav item 5283 nextText: "Next", //String: Set the text for the "next" directionNav item 5284 pausePlay: false, //Boolean: Create pause/play dynamic element 5285 pauseText: 'Pause', //String: Set the text for the "pause" pausePlay item 5286 playText: 'Play', //String: Set the text for the "play" pausePlay item 5287 randomize: false, //Boolean: Randomize slide order 5288 slideToStart: 0, //Integer: The slide that the slider should start on. Array notation (0 = first slide) 5289 animationLoop: true, //Boolean: Should the animation loop? If false, directionNav will received "disable" classes at either end 5290 pauseOnAction: true, //Boolean: Pause the slideshow when interacting with control elements, highly recommended. 5291 pauseOnHover: false, //Boolean: Pause the slideshow when hovering over slider, then resume when no longer hovering 5292 controlsContainer: "", //Selector: Declare which container the navigation elements should be appended too. Default container is the flexSlider element. Example use would be ".flexslider-container", "#container", etc. If the given element is not found, the default action will be taken. 5293 manualControls: "", //Selector: Declare custom control navigation. Example would be ".flex-control-nav li" or "#tabs-nav li img", etc. The number of elements in your controlNav should match the number of slides/tabs. 5294 start: function () {}, //Callback: function(slider) - Fires when the slider loads the first slide 5295 before: function () {}, //Callback: function(slider) - Fires asynchronously with each slider animation 5296 after: function () {}, //Callback: function(slider) - Fires after each slider animation completes 5297 end: function () {} //Callback: function(slider) - Fires when the slider reaches the last slide (asynchronous) 5298 } 5299 $.fn.flexslider = function (options) { 5300 return this.each(function () { 5301 if ($(this).find('.slides li').length == 1) { 5302 $(this).find('.slides li').fadeIn(400); 5303 } else if ($(this).data('flexslider') != true) { 5304 new $.flexslider($(this), options); 5305 } 5306 }); 5307 } 5308})(jQuery); 5309var gcmenu_data = { 5310 "remove_conflicts": "off", 5311 "reposition_on_load": "off", 5312 "intent_delay": "300", 5313 "intent_interval": "100", 5314 "intent_threshold": "7", 5315 "scrollto_offset": "50", 5316 "scrollto_duration": "1000", 5317 "responsive_breakpoint": "959", 5318 "accessible": "on", 5319 "mobile_menu_collapse_on_navigate": "on", 5320 "retractor_display_strategy": "responsive", 5321 "touch_off_close": "on", 5322 "submenu_indicator_close_mobile": "on", 5323 "collapse_after_scroll": "on", 5324 "v": "3.8.1", 5325 "configurations": ["vertical", "main"], 5326 "ajax_url": "https:\/\/wpmegamenu.com\/wp-admin\/admin-ajax.php", 5327 "plugin_url": "https:\/\/wpmegamenu.com\/wp-content\/plugins\/gcmenu\/", 5328 "disable_mobile": "off", 5329 "prefix_boost": "", 5330 "use_core_svgs": "on", 5331 "aria_role_navigation": "off", 5332 "aria_nav_label": "on", 5333 "aria_expanded": "on", 5334 "aria_hidden": "on", 5335 "aria_controls": "", 5336 "aria_responsive_toggle": "on", 5337 "icon_tag": "i", 5338 "esc_close_mobile": "on", 5339 "keyboard_submenu_trigger": "enter", 5340 "theme_locations": { 5341 "primary": "Primary Navigation", 5342 "topsub": "Top Sub Menu Navigation", 5343 "sidebarone": "Sidebar Menu", 5344 "rsm": "Responsive Select Menu" 5345 } 5346}; 5347'use strict'; 5348var uber_supports = function () { 5349 var d = document.createElement("div"), 5350 e = ["Khtml", "Ms", "O", "Moz", "Webkit"]; 5351 return function (g) { 5352 var l = e.length; 5353 if (g in d.style) return !0; 5354 for (g = g.replace(/^[a-z]/, function (d) { 5355 return d.toUpperCase() 5356 }); l--;) 5357 if (e[l] + g in d.style) return !0; 5358 return !1 5359 } 5360}(); 5361 5362function uber_op(d, e, g) { 5363 if (!gcmenu_data.hasOwnProperty(d)) return g; 5364 d = gcmenu_data[d]; 5365 if (e.hasOwnProperty("datatype")) switch (e.datatype) { 5366 case "numeric": 5367 d = parseInt(d); 5368 break; 5369 case "boolean": 5370 d = "on" == d || 1 == d || "1" == d ? !0 : !1 5371 } 5372 return d 5373}(function (d, e) { 5374 var g = function (d, e, g) { 5375 var l; 5376 return function () { 5377 var m = this, 5378 k = arguments; 5379 l ? clearTimeout(l) : g && d.apply(m, k); 5380 l = setTimeout(function () { 5381 g || d.apply(m, k); 5382 l = null 5383 }, e || 100) 5384 } 5385 }; 5386 jQuery.fn[e] = function (d) { 5387 return d ? this.on("resize", g(d)) : this.trigger(e) 5388 } 5389})(jQuery, "ubersmartresize"); 5390(function (d, e, g, l) { 5391 function t(a, c) { 5392 var b = this; 5393 this.element = a; 5394 this.$gcmenu = d(this.element); 5395 this.orientation = this.$gcmenu.hasClass("gcmenu-vertical") ? "v" : "h"; 5396 this.mobileAccordion = this.$gcmenu.hasClass("gcmenu-mobile-accordion"); 5397 this.mobileAccordionFolding = this.$gcmenu.hasClass("gcmenu-mobile-accordion-single") ? "single" : "multiple"; 5398 this.modalMobile = this.$gcmenu.hasClass("gcmenu-mobile-modal"); 5399 this.interactionMode = null; 5400 this.vstretch = this.$gcmenu.hasClass("gcmenu-items-vstretch"); 5401 this.inverted = this.$gcmenu.hasClass("gcmenu-invert"); 5402 this.settings = d.extend({}, p, c); 5403 this._defaults = p; 5404 this._name = "gcmenu"; 5405 this.settings.responsive = this.$gcmenu.hasClass("gcmenu-responsive") ? !0 : !1; 5406 this.settings.debug && this.settings.debug_onscreen && (d("body").append('<div id="uber-onscreen-debug" style="color:#eee;z-index:10000;background:#222;position:fixed;left:0; bottom:0; width:100%; height:50%; padding:10px;overflow:scroll;"> '), this.debug_target = d("#uber-onscreen-debug"), this.debug_target.on("click", 5407 function () { 5408 100 > d(this).height() ? d(this).height("50%") : d(this).height("50px") 5409 })); 5410 this.log("-- START gcmenu DEBUG --"); 5411 this.suppress_clicks = this.events_disabled = !1; 5412 (this.touchenabled = "ontouchstart" in e || 0 < navigator.maxTouchPoints || 0 < navigator.msMaxTouchPoints) ? this.$gcmenu.addClass("gcmenu-touch"): this.$gcmenu.addClass("gcmenu-notouch"); 5413 e.navigator.pointerEnabled ? (this.touchStart = "pointerdown", this.touchEnd = "pointerup", this.touchMove = "pointermove", this.suppress_clicks = !0) : e.navigator.msPointerEnabled ? 5414 (this.touchStart = "MSPointerDown", this.touchEnd = "MSPointerUp", this.touchMove = "MSPointerMove", this.suppress_clicks = !0) : (this.touchStart = "touchstart", this.touchEnd = "touchend", this.touchMove = "touchmove"); 5415 this.toggleevent = "click"; 5416 this.transitionend = "transitionend.gcmenu webkitTransitionEnd.gcmenu msTransitionEnd.gcmenu oTransitionEnd.gcmenu"; 5417 (this.transitions = uber_supports("transition") && !this.$gcmenu.hasClass("gcmenu-transition-none")) || this.$gcmenu.addClass("gcmenu-no-transitions"); 5418 a = 5419 navigator.userAgent.toLowerCase(); 5420 this.log(a); 5421 this.allow_trigger_overrides = !0; 5422 this.noTouchEnd = !1; 5423 c = this.settings.android = /android/.test(a); 5424 var f = this.settings.windowsmobile = /iemobile/.test(a); 5425 if (c || f) 5426 if (c && !(/chrome/.test(a) || /firefox/.test(a) || /opera/.test(a)) || f) this.settings.touchOffClose = !1, this.disableTransitions(), c && !f && (this.$gcmenu.removeClass("gcmenu-trigger-hover_intent").removeClass("gcmenu-trigger-hover").addClass("gcmenu-trigger-click"), this.allow_trigger_overrides = this.settings.touchEvents = !1); 5427 f && (this.log("disable touchoff close and accessibility"), this.settings.touchOffClose = !1, this.settings.accessible = !1, this.settings.mouseEvents = !1); 5428 !/chrome/.test(a) && /safari/.test(a) && /version\/5/.test(a) && this.disableTransitions(); 5429 var h = this.last_width = e.innerWidth, 5430 q = b.$gcmenu.find(".gcmenu-item-level-0.gcmenu-align-right"); 5431 q.length && d(e).ubersmartresize(function () { 5432 h = e.innerWidth; 5433 b.last_width <= b.settings.breakpoint && h >= b.settings.breakpoint && (q.hide(), q[0].offsetHeight, q.css("display", "")); 5434 b.last_width = h 5435 }); 5436 this.settings.clicktest && (this.touchEnd = "click"); 5437 this.init() 5438 } 5439 var p = { 5440 breakpoint: uber_op("responsive_breakpoint", { 5441 datatype: "numeric" 5442 }, 959), 5443 touchEvents: !0, 5444 mouseEvents: !0, 5445 retractors: !0, 5446 touchOffClose: uber_op("touch_off_close", { 5447 datatype: "boolean" 5448 }, !0), 5449 submenuIndicatorCloseMobile: uber_op("submenu_indicator_close_mobile", { 5450 datatype: "boolean" 5451 }, !0), 5452 moveThreshold: 10, 5453 submenuAnimationDuration: 500, 5454 ignoreDummies: !0, 5455 clicktest: !1, 5456 windowstest: !1, 5457 debug: !1, 5458 debug_onscreen: !1, 5459 remove_conflicts: uber_op("remove_conflicts", { 5460 datatype: "boolean" 5461 }, !0), 5462 reposition_on_load: uber_op("reposition_on_load", { 5463 datatype: "boolean" 5464 }, !1), 5465 accessible: uber_op("accessible", { 5466 datatype: "boolean" 5467 }, !0), 5468 retractor_display_strategy: uber_op("retractor_display_strategy", { 5469 datatype: "string" 5470 }, "responsive"), 5471 mobile_menu_collapse_on_navigate: uber_op("mobile_menu_collapse_on_navigate", { 5472 datatype: "boolean" 5473 }, !0), 5474 intent_delay: uber_op("intent_delay", { 5475 datatype: "numeric" 5476 }, 300), 5477 intent_interval: uber_op("intent_interval", { 5478 datatype: "numeric" 5479 }, 100), 5480 intent_threshold: uber_op("intent_threshold", { 5481 datatype: "numeric" 5482 }, 300), 5483 scrollto_offset: uber_op("scrollto_offset", { 5484 datatype: "numeric" 5485 }, 0), 5486 scrollto_duration: uber_op("scrollto_duration", { 5487 datatype: "numeric" 5488 }, 1E3), 5489 collapse_after_scroll: uber_op("collapse_after_scroll", { 5490 datatype: "boolean" 5491 }, !0), 5492 aria_role_navigation: uber_op("aria_role_navigation", { 5493 datatype: "boolean" 5494 }, !1), 5495 aria_nav_label: uber_op("aria_nav_label", { 5496 datatype: "boolean" 5497 }, !1), 5498 aria_expanded: uber_op("aria_expanded", { 5499 datatype: "boolean" 5500 }, !1), 5501 aria_hidden: uber_op("aria_hidden", { 5502 datatype: "boolean" 5503 }, 5504 !1), 5505 aria_responsive_toggle: uber_op("aria_responsive_toggle", { 5506 datatype: "boolean" 5507 }, !1), 5508 icon_tag: uber_op("icon_tag", { 5509 datatype: "string" 5510 }, "i"), 5511 use_core_svgs: uber_op("use_core_svgs", { 5512 datatype: "boolean" 5513 }, !1), 5514 esc_close_mobile: uber_op("esc_close_mobile", { 5515 datatype: "boolean" 5516 }, !0), 5517 keyboardSubmenuTrigger: uber_op("keyboard_submenu_trigger", { 5518 datatype: "string" 5519 }, "enter") 5520 }, 5521 n, m, k, r; 5522 t.prototype = { 5523 init: function () { 5524 this.log("Initializing gcmenu"); 5525 this.$gcmenu.removeClass("gcmenu-nojs"); 5526 this.removeConflicts(); 5527 this.initializeSubmenuToggleTouchEvents(); 5528 this.initializeSubmenuToggleMouseEvents(); 5529 this.initializeRetractors(); 5530 this.initializeResponsiveToggle(); 5531 this.initializeMobileViewClasses(); 5532 this.initializeMobileModal(); 5533 this.initializeTouchoffClose(); 5534 this.initializeTabs(); 5535 this.initializeSubmenuPositioning(); 5536 this.initializeSegmentCurrentStates(); 5537 this.initializeAccessibilityOnTab(); 5538 this.initializeAccessibilityStates(); 5539 this.initializeImageLazyLoad(); 5540 this.initializeImagePortal() 5541 }, 5542 removeConflicts: function () { 5543 this.settings.remove_conflicts && this.$gcmenu.find(".gcmenu-item, .gcmenu-target, .gcmenu-submenu").add(this.$gcmenu).removeAttr("style").unbind().off() 5544 }, 5545 initializeAccessibilityStates: function () { 5546 this.settings.aria_role_navigation && this.$gcmenu.attr("role", "navigation"); 5547 this.settings.aria_nav_label && this.$gcmenu.attr("aria-label", this.$gcmenu.find("> .gcmenu-nav").attr("data-title")); 5548 this.settings.aria_expanded && this.$gcmenu.find(".gcmenu-item.gcmenu-has-submenu-drop > .gcmenu-target").attr("aria-expanded", !1); 5549 this.settings.aria_hidden && this.$gcmenu.find(".gcmenu-submenu-drop").attr("aria-hidden", !0); 5550 var a = this.$gcmenu.find(".gcmenu-mobile-header, .gcmenu-mobile-footer"); 5551 a.attr("aria-hidden", !this.isMobile()); 5552 d(e).on("gcmenu-resize-mobile", function () { 5553 a.attr("aria-hidden", !1) 5554 }); 5555 d(e).on("gcmenu-resize-desktop", function () { 5556 a.attr("aria-hidden", !0) 5557 }) 5558 }, 5559 initializeAccessibilityOnTab: function () { 5560 if (this.settings.accessible) { 5561 var a = this; 5562 d("body").on("keydown.gcmenu", function (c) { 5563 9 == (c.keyCode || c.which) && (d("body").off("keydown.gcmenu"), a.initializeAccessibility()) 5564 }); 5565 if (a.settings.esc_close_mobile) d(e).on("keyup", function (c) { 5566 a.isMobile() && !a.$gcmenu.hasClass("gcmenu-responsive-collapse") && 5567 27 === c.which && a.toggleMenuCollapse() 5568 }) 5569 } 5570 }, 5571 initializeImageLazyLoad: function () { 5572 var a = this; 5573 a.$gcmenu.find(".gcmenu-item-level-0").one("gcmenuopen", function () { 5574 d(this).find(".gcmenu-image-lazyload").each(function () { 5575 d(this).data("srcset") && d(this).attr("srcset", d(this).data("srcset")).attr("sizes", d(this).data("sizes")); 5576 d(this).attr("src", d(this).data("src")).removeClass("gcmenu-image-lazyload") 5577 }); 5578 setTimeout(function () { 5579 a.clearTabSizes(); 5580 a.sizeTabs() 5581 }, 300) 5582 }) 5583 }, 5584 initializeImagePortal: function () { 5585 this.$gcmenu.find(".gcmenu-image-portal").each(function () { 5586 var a = 5587 d(this), 5588 c = a.data("gcmenu-portal-select"), 5589 b = []; 5590 d(c).each(function () { 5591 var a = d(this), 5592 c = a.find("> .gcmenu-target > .gcmenu-image"); 5593 c.addClass("gcmenu-image-portal-hidden");
5594 c.attr("data-gcmenu-item-ref", a.attr("id")); 5595 a.find("> .gcmenu-target").on("mouseenter", function () { 5596 c.removeClass("gcmenu-image-portal-hidden") 5597 }).on("mouseleave", function () { 5598 c.addClass("gcmenu-image-portal-hidden") 5599 }); 5600 b.push(c) 5601 }); 5602 a.append(b) 5603 }) 5604 }, 5605 initializeAccessibility: function () { 5606 var a = this; 5607 a.$current_focus = !1; 5608 a.mousedown = !1; 5609 a.$gcmenu.addClass("gcmenu-accessible"); 5610 a.$gcmenu.on("focus", ".gcmenu-target, a, input, select, textarea", function () { 5611 if (!a.mousedown) { 5612 var b = d(this); 5613 a.$current_focus = b; 5614 var c = b.parent(".gcmenu-item"); 5615 c.length && (c.is(".gcmenu-item-level-0") && a.closeAllSubmenus(), "focus" === a.settings.keyboardSubmenuTrigger && c.is(".gcmenu-has-submenu-drop") && setTimeout(function () { 5616 b.is(":focus") && (c.siblings(".gcmenu-has-submenu-drop").each(function () { 5617 a.closeSubmenu(d(this), "umac", a) 5618 }), a.openSubmenu(c, 5619 "umac", a)) 5620 }, 500), b.on("blur.gcmenu", ".gcmenu-target, a, input, select, textarea", function (b) { 5621 a.mousedown || (a.$current_focus = !1, d(this).off("blur.gcmenu"), setTimeout(function () { 5622 a.$current_focus || a.closeAllSubmenus() 5623 }, 500)); 5624 a.mousedown = !1 5625 })) 5626 } 5627 a.mousedown = !1 5628 }); 5629 a.$gcmenu.on("focusout", function () { 5630 setTimeout(function () { 5631 d(g.activeElement).closest(a.$gcmenu).length || a.closeAllSubmenus() 5632 }, 10) 5633 }); 5634 var c = "spacebar" === a.settings.keyboardSubmenuTrigger, 5635 b = "enter" === a.settings.keyboardSubmenuTrigger; 5636 if (c || 5637 b) a.$gcmenu.find(".gcmenu-item").on("keydown", function (f) { 5638 var h = d(this), 5639 e = h.hasClass("gcmenu-has-submenu-drop"), 5640 k = h.hasClass("gcmenu-active"); 5641 if (9 === f.which && e && !k) 5642 if (f.shiftKey) { 5643 var g = h.prev(".gcmenu-item"); 5644 g.length && (console.log(g), f.preventDefault(), g.find(">.gcmenu-target").focus()) 5645 } else g = h.next(".gcmenu-item"), g.length && (f.preventDefault(), g.find(">.gcmenu-target").focus()); 5646 if (b) switch (f.which) { 5647 case 13: 5648 e && !k && (f.preventDefault(), f.stopPropagation(), h.siblings(".gcmenu-has-submenu-drop").each(function () { 5649 a.closeSubmenu(d(this), 5650 "umac", a) 5651 }), a.openSubmenu(d(this))) 5652 } 5653 if (c) switch (f.which) { 5654 case 32: 5655 f.preventDefault(), f.stopPropagation(), h.siblings(".gcmenu-has-submenu-drop").each(function () { 5656 a.closeSubmenu(d(this), "umac", a) 5657 }), k ? a.closeSubmenu(d(this)) : e && a.openSubmenu(d(this)) 5658 } 5659 }); 5660 a.$gcmenu.find(".gcmenu-item-level-0").on("keyup", function (b) { 5661 switch (b.which) { 5662 case 39: 5663 a.closeAllSubmenus(); 5664 d(this).next().find(">.gcmenu-target").focus(); 5665 break; 5666 case 37: 5667 a.closeAllSubmenus(); 5668 d(this).prev().find(">.gcmenu-target").focus(); 5669 break; 5670 case 27: 5671 d(this).hasClass("gcmenu-active") && b.stopPropagation(), a.closeAllSubmenus(), d(this).find(">.gcmenu-target").focus() 5672 } 5673 }); 5674 a.$gcmenu.find(".gcmenu-tab-layout-left > .gcmenu-tabs-group > .gcmenu-tab").on("keydown", function (a) { 5675 switch (a.which) { 5676 case 40: 5677 a.preventDefault(); 5678 d(this).next().find(">.gcmenu-target").focus(); 5679 break; 5680 case 38: 5681 a.preventDefault(), d(this).prev().find(">.gcmenu-target").focus() 5682 } 5683 }); 5684 a.$gcmenu.on("mousedown", function (b) { 5685 a.mousedown = !0; 5686 setTimeout(function () { 5687 a.mousedown = !1 5688 }, 100) 5689 }) 5690 }, 5691 initializeSubmenuPositioning: function () { 5692 var a = this; 5693 a.positionSubmenus(); 5694 d(e).ubersmartresize(function () { 5695 a.positionSubmenus() 5696 }); 5697 if (this.settings.reposition_on_load) d(e).on("load", function () { 5698 a.positionSubmenus() 5699 }); 5700 "ResizeObserver" in e && (new ResizeObserver(function () { 5701 a.positionSubmenus() 5702 })).observe(a.$gcmenu[0]) 5703 }, 5704 initializeSubmenuToggleTouchEvents: function () { 5705 if (this.settings.touchEvents) { 5706 var a = this; 5707 this.$gcmenu.on(this.touchStart, ".gcmenu-target:not(.shiftn
5707av-toggle)", function (c) { 5708 a.handleTouchInteraction(c, 5709 this, a) 5710 }); 5711 this.$gcmenu.on("click", ".gcmenu-has-submenu-drop > .gcmenu-target, .gcmenu-tab.gcmenu-item-has-children > .gcmenu-target", function (c) { 5712 a.handleClicks(c, this, a) 5713 }) 5714 } 5715 }, 5716 initializeSubmenuToggleMouseEvents: function (a) { 5717 a = a || this; 5718 if (a.settings.mouseEvents && !a.settings.clicktest && !a.settings.windowstest) { 5719 a.log("initializeSubmenuToggleMouseEvents"); 5720 var c = "hover"; 5721 a.$gcmenu.hasClass("gcmenu-trigger-click") ? c = "click" : a.$gcmenu.hasClass("gcmenu-trigger-hover_intent") && (c = "hover_intent"); 5722 "click" == c ? this.suppress_clicks || (this.$gcmenu.on("click.gcmenu-submenu-toggle", ".gcmenu-item.gcmenu-has-submenu-drop:not([data-gcmenu-trigger]) > .gcmenu-target", function (b) { 5723 a.handleMouseClick(b, this, a) 5724 }), this.$gcmenu.on("click.gcmenu-click-target", ".gcmenu-item:not(.gcmenu-has-submenu-drop):not([data-gcmenu-trigger]) > .gcmenu-target", function (b) { 5725 a.handleLink(b, this, a) 5726 })) : "hover_intent" == c ? (this.$gcmenu.on("mouseenter.mouse_intent", ".gcmenu-item.gcmenu-has-submenu-drop:not([data-gcmenu-trigger])", 5727 function (b) { 5728 a.handleMouseIntent(b, this, a) 5729 }), this.$gcmenu.on("click.gcmenu-click-target", ".gcmenu-item:not([data-gcmenu-trigger]) > .gcmenu-target", function (b) { 5730 a.handleLink(b, this, a) 5731 })) : (this.$gcmenu.on("mouseenter.gcmenu-submenu-toggle", ".gcmenu-item.gcmenu-has-submenu-drop:not([data-gcmenu-trigger]) > .gcmenu-target", function (b) { 5732 a.handleMouseover(b, this, a) 5733 }), this.$gcmenu.on("click.gcmenu-click-target", ".gcmenu-item:not([data-gcmenu-trigger]) > .gcmenu-target", function (b) { 5734 a.handleLink(b, 5735 this, a) 5736 })); 5737 if (this.allow_trigger_overrides) a.$gcmenu.find(".gcmenu-item[data-gcmenu-trigger]").each(function () { 5738 var b = d(this); 5739 c = b.data("gcmenu-trigger"); 5740 if ("click" == c) { 5741 if (!this.suppress_clicks) b.on("click.gcmenu-submenu-toggle", "> .gcmenu-target", function (b) { 5742 a.handleMouseClick(b, this, a) 5743 }) 5744 } else if ("hover_intent" == c) b.on("mouseenter.mouse_intent", function (b) { 5745 a.handleMouseIntent(b, this, a) 5746 }); 5747 else b.on("mouseenter.gcmenu-submenu-toggle", "> .gcmenu-target", function (b) { 5748 a.handleMouseover(b, 5749 this, a) 5750 }) 5751 }); 5752 else a.$gcmenu.find(".gcmenu-tab").on("click.gcmenu-submenu-toggle", ".gcmenu-target", function (b) { 5753 a.handleMouseClick(b, this, a) 5754 }) 5755 } 5756 }, 5757 disableSubmenuToggleMouseEvents: function () { 5758 this.log("disableSubmenuToggleMouseEvents"); 5759 this.events_disabled = !0 5760 }, 5761 reenableSubmenuToggleMouseEvents: function (a) { 5762 a = a || this; 5763 a.log("reenableSubmenuToggleMouseEvents"); 5764 a.events_disabled = !1 5765 }, 5766 initializeRetractors: function () { 5767 if (this.settings.retractors) { 5768 var a = this; 5769 this.$gcmenu.on("click", ".gcmenu-retractor", 5770 function (b) { 5771 a.handleSubmenuRetractorEnd(b, this, a) 5772 }); 5773 if (this.settings.touchEvents) this.$gcmenu.on(this.touchStart, ".gcmenu-retractor", function (b) { 5774 a.handleSubmenuRetractorStart(b, this, a) 5775 }); 5776 this.touchenabled || "touch" != a.settings.retractor_display_strategy || (this.$gcmenu.find(".gcmenu-retractor-mobile").remove(), this.$gcmenu.find(".gcmenu-submenu-retractor-top").removeClass("gcmenu-submenu-retractor-top").removeClass("gcmenu-submenu-retractor-top-2")); 5777 if (this.settings.submenuIndicatorCloseMobile) { 5778 var c = 5779 a.settings.use_core_svgs ? '<span class="gcmenu-icon gcmenu-icon-essential gcmenu-icon-essential-times"><svg class="gcmenu-icon-svg-times"><use xlink:href="#gcmenu-icon-times"></use></svg></span>' : "<" + a.settings.icon_tag + ' class="fas fa-times"></' + a.settings.icon_tag + ">", 5780 c = this.$gcmenu.find(".gcmenu-has-submenu-drop > .gcmenu-target").append('<span class="gcmenu-sub-indicator-close">' + c + "</span>").find(">.gcmenu-sub-indicator-close"); 5781 c.on("click", function (b) { 5782 b.preventDefault(); 5783 b.stopPropagation(); 5784 a.closeSubmenuInstantly(d(this).closest(".gcmenu-item"), "togglegcmenuSubmenuClosed", a); 5785 return !1 5786 }); 5787 if (this.settings.touchEvents) c.on(this.touchStart, function (b) { 5788 b.preventDefault(); 5789 b.stopPropagation(); 5790 a.closeSubmenuInstantly(d(this).closest(".gcmenu-item"), "togglegcmenuSubmenuClosed", a); 5791 return !1 5792 }) 5793 } 5794 } 5795 }, 5796 initializeResponsiveToggle: function () { 5797 var a = this,
5798 c = ".gcmenu-responsive-toggle[data-gcmenu-target=" + a.$gcmenu.attr("id") + "], .gcmenu-responsive-toggle[data-gcmenu-target=_any_], #" + a.$gcmenu.attr("id") + 5799 " .gcmenu-mobile-close-button", 5800 b = d(c); 5801 a.log("initializeResponsiveToggle " + this.toggleevent); 5802 if (a.settings.aria_responsive_toggle) { 5803 b.attr("aria-hidden", e.innerWidth > a.settings.breakpoint); 5804 d(e).ubersmartresize(function () { 5805 b.attr("aria-hidden", e.innerWidth > a.settings.breakpoint) 5806 }); 5807 var f = b.hasClass("gcmenu-responsive-toggle-open"); 5808 b.attr("aria-expanded", f) 5809 } 5810 d(g).on(this.toggleevent, c, function (b) { 5811 a.handleResponsiveToggle(b, this, a) 5812 }); 5813 if (a.settings.mobile_menu_collapse_on_navigate && !a.$gcmenu.hasClass("gcmenu-responsive-nocollapse")) d(e).on("pageshow", 5814 function () { 5815 a.$gcmenu.hasClass("gcmenu-responsive-collapse") || a.toggleMenuCollapse("close", !1, a) 5816 }); 5817 if (/Trident.*rv[ :]*11\./.test(navigator.userAgent)) b.on("keypress", function (b) { 5818 13 !== b.keyCode && 32 !== b.keyCode || a.handleResponsiveToggle(b, this, a) 5819 }) 5820 }, 5821 initializeMobileViewClasses: function () { 5822 var a = this; 5823 a.toggleMobileClass(); 5824 d(e).on("gcmenu-resize-mobile", function () { 5825 a.toggleMobileClass(!0) 5826 }); 5827 d(e).on("gcmenu-resize-desktop", function () { 5828 a.toggleMobileClass(!1) 5829 }) 5830 }, 5831 initializeMobileModal: function () { 5832 var a = 5833 this; 5834 a.modalMobile && (e.innerWidth <= a.settings.breakpoint && a.swapModal(!0), d(e).on("gcmenu-resize-mobile", function () { 5835 a.swapModal(!0) 5836 }), d(e).on("gcmenu-resize-desktop", function () { 5837 a.swapModal(!1) 5838 })) 5839 }, 5840 swapModal: function (a) { 5841 a ? (this.$placeholder = d('<span class="gcmenu-swap-placeholder">'), this.$gcmenu.after(this.$placeholder), this.$gcmenu.appendTo("body")) : this.$placeholder && (this.$placeholder.replaceWith(this.$gcmenu), this.$placeholder = !1) 5842 }, 5843 initializeTouchoffClose: function () { 5844 if (this.settings.touchOffClose) { 5845 var a = 5846 this; 5847 d(g).on(this.touchStart + ".gcmenu_touchoff", function (c) { 5848 a.handleTouchoffCloseStart(c, this, a) 5849 }); 5850 d(g).on(this.touchEnd + ".gcmenu_touchoff", function (c) { 5851 a.handleTouchoffClose(c, this, "touch", a) 5852 }); 5853 if (!this.suppress_clicks) d(g).on("mouseup.gcmenu_clickoff", function (c) { 5854 a.handleTouchoffClose(c, this, "click", a) 5855 }) 5856 } 5857 }, 5858 initializeTabs: function () { 5859 var a = this, 5860 c = a.settings.responsive && e.innerWidth <= a.settings.breakpoint ? !0 : !1; 5861 a.$tab_blocks = a.$gcmenu.find(".gcmenu-tabs"); 5862 a.$tab_blocks = d(a.$tab_blocks.get().reverse()); 5863 d(e).on("load", function () { 5864 a.sizeTabs() 5865 }); 5866 a.windowwidth = e.innerWidth; 5867 d(e).ubersmartresize(function () { 5868 a.oldwindowwidth = a.windowwidth; 5869 a.windowwidth = e.innerWidth; 5870 a.windowwidth != a.oldwindowwidth && (a.clearTabSizes(a), a.sizeTabs(), a.checkActiveTabs(a)) 5871 }); 5872 a.$gcmenu.find(".gcmenu-item-level-0.gcmenu-has-submenu-drop").on("gcmenuopen.sizetabs", function () { 5873 d(this).off("gcmenuopen.sizetabs"); 5874 a.sizeTabs() 5875 }); 5876 a.$gcmenu.find(".gcmenu-tabs.gcmenu-tabs-dynamic-sizing").on("gcmenuopen", "> .gcmenu-tabs-group > .gcmenu-tab", 5877 function () { 5878 a.sizeTabsDynamic(d(this).closest(".gcmenu-tabs")) 5879 }); 5880 c || a.initializeActiveTab(a); 5881 a.$gcmenu.find(".gcmenu-tabs-group:not(.gcmenu-tabs-group--trigger-click) > .gcmenu-tab:not(.gcmenu-has-submenu-drop):not(.gcmenu-ignore-empty-tab)").on("mouseenter", function () { 5882 a.closeSubmenuInstantly(d(this).siblings(".gcmenu-active")) 5883 }) 5884 }, 5885 checkActiveTabs: function (a) { 5886 e.innerWidth <= a.settings.breakpoint ? a.$tab_blocks.find(".gcmenu-tab.gcmenu-active").removeClass("gcmenu-active") : a.initializeActiveTab(a) 5887 }, 5888 initializeActiveTab: function (a) { 5889 a.$tab_blocks.each(function () { 5890 var c = d(this).hasClass("gcmenu-tabs-show-default"), 5891 b = d(this).hasClass("gcmenu-tabs-show-current"), 5892 f = d(this).find("> .gcmenu-tabs-group"); 5893 if (!f.find("> .gcmenu-tab.gcmenu-active").length) { 5894 var h = !1; 5895 b && (f.find(".gcmenu-current-menu-item").parentsUntil(f, ".gcmenu-tab:not( .gcmenu-nocurrent )").addClass("gcmenu-current-menu-ancestor"), b = f.find("> .gcmenu-tab.gcmenu-current-menu-ancestor, > .gcmenu-tab.gcmenu-current-menu-item"), 5896 b.length && (a.openSubmenu(b.first(), "tab current", a), h = !0)); 5897 c && !h && 0 === f.find("> .gcmenu-tab.gcmenu-active").length && a.openSubmenu(f.find("> .gcmenu-tab").first(), "tab default", a) 5898 } 5899 }) 5900 }, 5901 clearTabSizes: function (a) { 5902 (a || this).$gcmenu.find(".gcmenu-submenu , .gcmenu-tabs , .gcmenu-tab-content-panel , .gcmenu-tabs-group").css("min-height", "") 5903 }, 5904 sizeTabs: function () { 5905 var a = this, 5906 c = a.settings.responsive && e.innerWidth <= a.settings.breakpoint ? !0 : !1; 5907 c || (a.initializeActiveTab(a), a.$tab_blocks.each(function () { 5908 var b = !1; 5909 !d(this).hasClass("gcmenu-tab-layout-top") && !d(this).hasClass("gcmenu-tab-layout-bottom") || c || (b = !0); 5910 d(this).data("um-stacked", b); 5911 var f = 0, 5912 b = c ? d(this).parentsUntil(".gcmenu").add(d(this).parents(".gcmenu")) : d(this).parentsUntil(".gcmenu-item-level-0"); 5913 b.addClass("gcmenu-test-dimensions"); 5914 var h; 5915 d(this).find(" > .gcmenu-tabs-group > .gcmenu-tab > .gcmenu-tab-content-panel").each(function () { 5916 d(this).addClass("gcmenu-test-dimensions"); 5917 h = d(this).outerHeight(); 5918 h > f && (f = h); 5919 d(this).data("um-oh", 5920 h); 5921 d(this).removeClass("gcmenu-test-dimensions") 5922 }); 5923 d(this).data("um-max-panel-height", f); 5924 d(this).hasClass("gcmenu-tabs-dynamic-sizing") ? a.sizeTabsDynamic(d(this), !1) : a.sizeTabsMax(d(this)); 5925 b.removeClass("gcmenu-test-dimensions") 5926 })) 5927 }, 5928 sizeTabsMax: function (a) { 5929 var c = a.data("um-max-panel-height"), 5930 b = a.data("um-stacked"), 5931 d = a.find("> .gcmenu-tabs-group"); 5932 b ? a.css("min-height", c + d.outerHeight()) : (d.outerHeight() > c && (c = a.outerHeight()), d.css("min-height", c)); 5933 d.find("> .gcmenu-tab > .gcmenu-tab-content-panel").css("min-height", 5934 c) 5935 }, 5936 sizeTabsDynamic: function (a, c) { 5937 c === l && (c = !0); 5938 c && (c = a.hasClass("gcmenu-tabs-dynamic-sizing-animate")); 5939 if (!(this.settings.responsive && e.innerWidth <= this.settings.breakpoint)) { 5940 var b = a.data("um-stacked"), 5941 d = a.find("> .gcmenu-tabs-group"), 5942 h = d.outerHeight(); 5943 d.css("min-height", "0"); 5944 var k = d.find("> .gcmenu-active > .gcmenu-tab-content-panel"), 5945 g = k.data("um-oh"), 5946 g = d.outerHeight() > g ? a.outerHeight() : g; 5947 b ? c ? a.stop().animate({ 5948 "min-height": g + d.outerHeight() 5949 }, 300, "swing", function () { 5950 k.css("overflow", "auto") 5951 }) : 5952 a.css("min-height", g + d.outerHeight()) : c ? (d.css("min-height", h), d.stop().animate({ 5953 "min-height": g 5954 }, 300, "swing", function () { 5955 k.css("overflow", "auto") 5956 })) : d.css("min-height", g) 5957 } 5958 }, 5959 initializeSegmentCurrentStates: function () { 5960 this.$gcmenu.find(".gcmenu-current-menu-item").first().parents(".gcmenu-item:not( .gcmenu-nocurrent )").addClass("gcmenu-current-menu-ancestor") 5961 }, 5962 disableTransitions: function () { 5963 this.transitions = !1;
5964 this.$gcmenu.removeClass("gcmenu-transition-slide").removeClass("gcmenu-transition-fade").removeClass("gcmenu-transition-shift").addClass("gcmenu-no-transitions").addClass("gcmenu-transition-none") 5965 }, 5966 toggleMobileClass: function (a) { 5967 a === l && (a = this.isMobile()); 5968 a ? this.$gcmenu.removeClass("gcmenu-desktop-view").addClass("gcmenu-mobile-view") : this.$gcmenu.removeClass("gcmenu-mobile-view").addClass("gcmenu-desktop-view") 5969 }, 5970 handleClicks: function (a, c, b) { 5971 d(c).data("gcmenu-killClick") && (a.preventDefault(), b.log("killed click after touchend ", a)) 5972 }, 5973 handleTouchInteraction: function (a, c, b) { 5974 a.stopPropagation(); 5975 0 <= a.type.indexOf("pointer") && b.disableTransitions(); 5976 c = d(c); 5977 c.parent().off("mouseleave.mouse_intent_none"); 5978 b.log("touchstart " + a.type + " " + c.text(), a); 5979 c.on(b.touchEnd, function (a) { 5980 b.handleTap(a, this, b) 5981 }); 5982 c.on(b.touchMove, function (a) { 5983 b.preventInteractionOnScroll(a, this, b) 5984 }); 5985 a.originalEvent.touches ? (c.data("gcmenu-startX", a.originalEvent.touches[0].clientX), c.data("gcmenu-startY", a.originalEvent.touches[0].clientY)) : a.originalEvent.clientY && (c.offset(), c.data("gcmenu-startX", a.originalEvent.clientX), c.data("gcmenu-startY", a.originalEvent.clientY)) 5986 }, 5987 preventInteractionOnScroll: function (a, c, b) { 5988 b.log("touchmove interaction " + 5989 a.type, a); 5990 c = d(c); 5991 if (a.originalEvent.touches) Math.abs(a.originalEvent.touches[0].clientX - c.data("gcmenu-startX")) > b.settings.moveThreshold || Math.abs(a.originalEvent.touches[0].clientY - c.data("gcmenu-startY")) > b.settings.moveThreshold ? (b.log("Preventing interaction on scroll, reset handlers (standard)"), b.resetHandlers(c, "preventScroll touches", b)) : b.log("diff = " + Math.abs(a.originalEvent.touches[0].clientY - c.data("gcmenu-startY"))); 5992 else if (a.originalEvent.clientY) { 5993 var f = c.data(f); 5994 Math.abs(a.originalEvent.clientX - 5995 c.data("gcmenu-startX")) > b.settings.moveThreshold || Math.abs(a.originalEvent.clientY - c.data("gcmenu-startY")) > b.settings.moveThreshold ? (b.log("Preventing interaction on scroll, reset handlers (standard)"), b.resetHandlers(c, "preventScroll client", b)) : b.log("diff = " + a.originalEvent.clientY + " - " + c.data("gcmenu-startY") + " = " + Math.abs(a.originalEvent.clientY - c.data("gcmenu-startY"))) 5996 } else b.log("no touch points found!") 5997 }, 5998 handleTap: function (a, c, b) { 5999 a.preventDefault(); 6000 a.stopPropagation(); 6001 var f = 6002 d(c); 6003 b.setInteractionMode("press"); 6004 if (f.data("gcmenu-killTouch")) b.log("kill tap"), a.preventDefault(), a.stopPropagation(); 6005 else { 6006 var h = f.parent(); 6007 b.log("handleTap [" + f.text() + "]", a.type); 6008 f.data("gcmenu-killClick", !0); 6009 f.data("gcmenu-killHover", !0); 6010 setTimeout(function () { 6011 f.data("gcmenu-killClick", !1).data("gcmenu-killHover", !1) 6012 }, 1E3); 6013 b.isAccordion() && !b.isAccordionFoldingSingle() || b.closeSubmenuInstantly(h.siblings(".gcmenu-active")); 6014 h.hasClass("gcmenu-has-submenu-drop") ? h.hasClass("gcmenu-active") ? 6015 (h.hasClass("gcmenu-tab") && !b.isMobile() || b.closeSubmenu(h, "togglegcmenuActive", b), b.handleLink(a, c, b, !0)) : b.openSubmenu(h, "toggle", b) : b.handleLink(a, c, b, !0) 6016 } 6017 f.data("gcmenu-killTouch", !1); 6018 b.resetHandlers(f, "handleTap", b) 6019 }, 6020 handleLink: function (a, c, b, f) { 6021 f = f || !1; 6022 b.log("handleLink"); 6023 var h = d(c); 6024 if (h.is("a")) { 6025 var g = h.attr("href"), 6026 k = h.data("gcmenu-scrolltarget"); 6027 if (k) { 6028 c = d(k).first(); 6029 if (0 < c.length) { 6030 a.preventDefault(); 6031 h.trigger("gcmenuscrollto"); 6032 a = h.parent(".gcmenu-item"); 6033 a.addClass("gcmenu-current-menu-item"); 6034 a.siblings().removeClass("gcmenu-current-menu-item").removeClass("gcmenu-current-menu-parent").removeClass("uberemnu-current-menu-ancestor"); 6035 var l = !1; 6036 d("html,body").animate({ 6037 scrollTop: c.offset().top - b.settings.scrollto_offset 6038 }, b.settings.scrollto_duration, "swing", function () { 6039 l || (b.closeSubmenu(h.closest(".gcmenu-item-level-0"), "handeLink", b), b.settings.collapse_after_scroll && !b.$gcmenu.hasClass("gcmenu-responsive-nocollapse") && b.toggleMenuCollapse("toggle", !1, b), h.trigger("gcmenuscrollto_complete"), 6040 l = !0) 6041 }); 6042 return !1 6043 } 6044 if (g && -1 == g.indexOf("#")) return -1 == k.indexOf("#") && (k = "#" + k), e.location = g + k, a.preventDefault(), !1 6045 } 6046 g ? f && a.isDefaultPrevented() && (b.log("default prevented, follow link"), "_blank" == h.attr("target") ? e.open(g, "_blank") : e.location = g) : a.preventDefault() 6047 } 6048 }, 6049 handleMouseClick: function (a, c, b) { 6050 b.log("handleMouseClick", a); 6051 var f = d(c); 6052 if (f.data("gcmenu-killClick")) b.log("handleMouseClick: killClick"); 6053 else { 6054 var h = f.parent(".gcmenu-item"); 6055 h.length && (h.hasClass("gcmenu-active") ? (f.is("a") && b.handleLink(a, 6056 c, b), h.hasClass("gcmenu-tab") || b.closeSubmenu(h, "retract")) : (b.setInteractionMode("press"), h.hasClass("gcmenu-has-submenu-drop") && (a.preventDefault(), b.isAccordion() && !b.isAccordionFoldingSingle() || b.closeSubmenuInstantly(h.siblings(".gcmenu-active")), b.openSubmenu(h, "click", b)))) 6057 } 6058 }, 6059 handleMouseIntent: function (a, c, b) { 6060 b.log("handleMouseIntent"); 6061 b.setInteractionMode("hover"); 6062 var f = d(c); 6063 f.data("mouse_intent_timer") && f.data("mouse_intent_timer", clearTimeout(f.data("mouse_intent_timer")));
6064 var h = f.find(".gcmenu-target"); 6065 h.data("gcmenu-killHover") ? (b.log("killHover MouseIntent"), a.preventDefault(), a.stopPropagation()) : (k = a.pageX, r = a.pageY, f.on("mousemove.mouse_intent", b.trackMouse), f.data("mouse_intent_timer", setTimeout(function () { 6066 b.compare(a, f, b.handleMouseIntentSuccess, b) 6067 }, b.settings.intent_interval)), f.on("mouseleave.mouse_intent_none", function () { 6068 d(this).data("mouse_intent_timer", clearTimeout(d(this).data("mouse_intent_timer"))); 6069 f.data("mouse_intent_state", 0); 6070 f.off("mouseleave.mouse_intent_none"); 6071 h.data("gcmenu-killHover") ? 6072 (b.log("killHover MouseIntent_Cancel"), a.preventDefault(), a.stopPropagation()) : b.closeSubmenu(f, "mouse_intent_cancel", b) 6073 })) 6074 }, 6075 handleMouseIntentSuccess: function (a, c, b) { 6076 b.log("handleMouseIntentSuccess"); 6077 c.off("mouseleave.mouse_intent_none"); 6078 var d = c.find(".gcmenu-target"); 6079 if (d.data("gcmenu-killHover")) b.log("Kill hover on IntentSuccess"), a.preventDefault(), a.stopPropagation(); 6080 else if (d.data("gcmenu-killHover", !1), b.triggerSubmenu(a, c, b), !c.hasClass("gcmenu-tab") || e.innerWidth <= b.settings.breakpoint) c.on("mouseleave.mouse_intent", 6081 function (a) { 6082 b.handleMouseIntentLeave(a, this, b) 6083 }) 6084 }, 6085 handleMouseIntentLeave: function (a, c, b) { 6086 var f = d(c); 6087 f.data("mouse_intent_timer") && f.data("mouse_intent_timer", clearTimeout(f.data("mouse_intent_timer"))); 6088 f.off("mousemove.mouse_intent", b.trackMouse); 6089 1 == f.data("mouse_intent_state") && f.data("mouse_intent_timer", setTimeout(function () { 6090 b.delayMouseLeave(a, f, b.handleMouseIntentLeaveSuccess, b) 6091 }, b.settings.intent_delay)) 6092 }, 6093 handleMouseIntentLeaveSuccess: function (a, c, b) { 6094 c.off("mouseleave.mouse_intent"); 6095 c.find("> .gcmenu-target").data("gcmenu-killHover") || 6096 b.closeSubmenu(c, "mouse_intent_leave", b) 6097 }, 6098 delayMouseLeave: function (a, c, b, d) { 6099 c.data("mouse_intent_timer", clearTimeout(c.data("mouse_intent_timer"))); 6100 c.data("mouse_intent_state", 0); 6101 return b.apply(c, [a, c, d]) 6102 }, 6103 trackMouse: function (a) { 6104 n = a.pageX; 6105 m = a.pageY 6106 }, 6107 compare: function (a, c, b, d) { 6108 c.data("mouse_intent_timer", clearTimeout(c.data("mouse_intent_timer"))); 6109 if (Math.abs(k - n) + Math.abs(r - m) < d.settings.intent_threshold) return c.off("mousemove.mouse_intent", d.track), c.data("mouse_intent_state", 1), b.apply(c, [a, c, d]); 6110 k = n; 6111 r = m; 6112 c.data("mouse_intent_timer", setTimeout(function () { 6113 d.compare(a, c, b, d) 6114 }, d.settings.intent_interval)) 6115 }, 6116 triggerSubmenu: function (a, c, b) { 6117 b.closeSubmenuInstantly(c.siblings(".gcmenu-active, .gcmenu-in-transition")); 6118 b.openSubmenu(c, "mouseenter", b) 6119 }, 6120 handleMouseover: function (a, c, b) { 6121 if (!b.events_disabled) { 6122 b.setInteractionMode("hover"); 6123 var f = d(c); 6124 f.data("gcmenu-killTouch", !0); 6125 setTimeout(function () { 6126 f.data("gcmenu-killTouch", !1) 6127 }, 1E3); 6128 b.log("handleMouseenter, add mouseleave", a); 6129 c = f.parent(".gcmenu-item"); 6130 if (c.length && !c.hasClass("gcmenu-active") && (b.triggerSubmenu(a, c, b), !c.hasClass("gcmenu-tab") || e.innerWidth <= b.settings.breakpoint)) c.on("mouseleave.gcmenu-submenu-toggle", function (a) { 6131 b.handleMouseleave(a, this, b) 6132 }) 6133 } 6134 }, 6135 handleMouseleave: function (a, c, b) { 6136 b.log("handleMouseleave, remove mouseleave", a); 6137 d(c).off("mouseleave.gcmenu-submenu-toggle"); 6138 b.closeSubmenu(d(c), "mouseout") 6139 }, 6140 handleSubmenuRetractorStart: function (a, c, b) { 6141 a.preventDefault(); 6142 a.stopPropagation(); 6143 d(c).on(b.touchEnd, function (a) { 6144 b.handleSubmenuRetractorEnd(a, 6145 this, b) 6146 }); 6147 b.log("handleSubmenuRetractorStart " + d(c).text()) 6148 }, 6149 handleSubmenuRetractorEnd: function (a, c, b) { 6150 a.preventDefault(); 6151 a.stopPropagation(); 6152 a = d(c).closest(".gcmenu-item"); 6153 b.closeSubmenu(a, "handleSubmenuRetractor"); 6154 d(c).off(b.touchEnd); 6155 b.log("handleSubmenuRetractorEnd " + a.find("> .gcmenu-target").text()); 6156 return !1 6157 }, 6158 handleResponsiveToggle: function (a, c, b) { 6159 b.log("handleResponsiveToggle " + a.type, a); 6160 a.preventDefault(); 6161 a.stopPropagation(); 6162 if ("touchend" == a.type) b.$gcmenu.data("gcmenu-prevent-click", 6163 !0), setTimeout(function () { 6164 b.$gcmenu.data("gcmenu-prevent-click", !1) 6165 }, 500); 6166 else if ("click" == a.type && b.$gcmenu.data("gcmenu-prevent-click")) { 6167 b.$gcmenu.data("gcmenu-prevent-click", !1); 6168 return 6169 } 6170 b.toggleMenuCollapse("toggle", c, b) 6171 }, 6172 handleTouchoffCloseStart: function (a, c, b) { 6173 b.touchoffclosestart = d(e).scrollTop() 6174 }, 6175 handleTouchoffClose: function (a, c, b, f) { 6176 d(a.target).closest(".gcmenu").length || "click" != b && f.touchoffclosestart != d(e).scrollTop() || (f.log("touchoff close ", a), f.closeAllSubmenus() && (f.disableSubmenuToggleMouseEvents(), 6177 e.setTimeout(function () { 6178 f.reenableSubmenuToggleMouseEvents(f) 6179 }, f.settings.submenuAnimationDuration))) 6180 }, 6181 toggleMenuCollapse: function (a, c, b) { 6182 b = b || this; 6183 c = c || ".gcmenu-resposive-toggle";
6184 c = "object" == typeof c ? d(c) : d(c + '[data-gcmenu-target="' + b.$gcmenu.attr("id") + '"]'); 6185 a = a || "toggle"; 6186 "toggle" == a && (a = b.$gcmenu.hasClass("gcmenu-responsive-collapse") ? "open" : "close"); 6187 var f = d(".gcmenu-responsive-toggle[data-gcmenu-target=" + b.$gcmenu.attr("id") + "]"); 6188 "open" == a ? (b.$gcmenu.removeClass("gcmenu-responsive-collapse").trigger("gcmenutoggledopen"), 6189 f.trigger("gcmenutoggledopen"), f.toggleClass("gcmenu-responsive-toggle-open"), b.modalMobile && b.trapModalFocus(c), b.settings.aria_responsive_toggle && f.attr("aria-expanded", !0)) : (b.$gcmenu.addClass("gcmenu-responsive-collapse").trigger("gcmenutoggledclose"), f.trigger("gcmenutoggledclose"), f.toggleClass("gcmenu-responsive-toggle-open"), b.settings.aria_responsive_toggle && f.attr("aria-expanded", !1)); 6190 b.transitions && !b.$gcmenu.hasClass("gcmenu-responsive-nocollapse") && (b.$gcmenu.addClass("gcmenu-in-transition"), 6191 b.$gcmenu.on(b.transitionend + "_togglegcmenu", function () { 6192 b.$gcmenu.removeClass("gcmenu-in-transition"); 6193 b.$gcmenu.off(b.transitionend + "_togglegcmenu") 6194 })) 6195 }, 6196 trapModalFocus: function (a) { 6197 var c = this, 6198 b = this.$gcmenu.find('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'); 6199 this.firstFocus = b.first()[0]; 6200 this.lastFocus = b.last()[0]; 6201 var d = this.checkModalFocusTab.bind(this); 6202 g.addEventListener("keydown", d); 6203 setTimeout(function () { 6204 c.firstFocus.focus() 6205 }, 100); 6206 c.$gcmenu.on("gcmenutoggledclose", 6207 function () { 6208 g.removeEventListener("keydown", d); 6209 this.lastFocus = this.firstFocus = !1; 6210 a[0].focus() 6211 }) 6212 }, 6213 checkModalFocusTab: function (a) { 6214 if ("Tab" === a.key || 9 === a.keyCode) a.shiftKey ? g.activeElement === this.firstFocus && (this.lastFocus.focus(), console.log("focus force to last"), a.preventDefault()) : g.activeElement === this.lastFocus && (this.firstFocus.focus(), console.log("focus force to first"), a.preventDefault()) 6215 }, 6216 positionSubmenus: function () { 6217 var a = this; 6218 if ("h" == a.orientation) { 6219 if (a.vstretch) 6220 if ("static" !== a.$gcmenu.css("position") || 6221 "static" !== a.$gcmenu.find("> .gcmenu-nav").css("position") || a.isMobile()) a.inverted ? a.$gcmenu.find(".gcmenu-item-level-0 > .gcmenu-submenu-drop").css({ 6222 transform: "", 6223 marginTop: "", 6224 bottom: "" 6225 }) : a.$gcmenu.find(".gcmenu-item-level-0 > .gcmenu-submenu-drop").css({ 6226 marginTop: "", 6227 top: "" 6228 }); 6229 else { 6230 var c = "0px" !== a.$gcmenu.css(a.inverted ? "border-top-width" : "border-bottom-width"); 6231 a.$gcmenu.find(".gcmenu-item-level-0 > .gcmenu-submenu-drop").each(function () { 6232 if (a.inverted) d(this).css({ 6233 transform: "translateY(-100%)", 6234 bottom: "auto", 6235 marginTop: c ? "-1px" : 0 6236 }); 6237 else { 6238 var b = d(this).parent().outerHeight(); 6239 c && b++; 6240 d(this).css({ 6241 top: "auto", 6242 marginTop: b 6243 }) 6244 } 6245 }) 6246 } a.$gcmenu.find(".gcmenu-submenu-drop.gcmenu-submenu-align-center").each(function () { 6247 var b = d(this).parent(".gcmenu-item"), 6248 c = d(this); 6249 if (a.$gcmenu.hasClass("gcmenu-bound")) var h = b.closest(".gcmenu , .gcmenu-submenu"); 6250 else if (a.$gcmenu.hasClass("gcmenu-bound-inner")) h = b.closest(".gcmenu-nav , .gcmenu-submenu"); 6251 else { 6252 var e = b.closest(".gcmenu-submenu"); 6253 0 === 6254 e.length ? (h = a.$gcmenu.offsetParent()) || (h = d("body")) : h = e 6255 } 6256 var e = c.outerWidth(), 6257 g = b.outerWidth(), 6258 k = b.offset().left, 6259 b = h.width(); 6260 h = h.offset().left; 6261 g = k + g / 2 - (h + e / 2); 6262 g = 0 < g ? g : 0; 6263 e > b ? g = (e - b) / -2 : g + e > b && (c.css({ 6264 right: 0, 6265 left: "auto" 6266 }), g = !1); 6267 !1 !== g && c.css("left", g) 6268 }) 6269 } 6270 }, 6271 openSubmenu: function (a, c, b) { 6272 b = b || this; 6273 b.log("Open Submenu " + c); 6274 a.hasClass("gcmenu-active") || (a.addClass("gcmenu-active"), b.settings.aria_expanded && a.find(">.gcmenu-target").attr("aria-expanded", "true"), b.settings.aria_hidden && a.find(">.gcmenu-submenu").attr("aria-hidden", 6275 "false"), b.transitions && (a.addClass("gcmenu-in-transition"), a.find("> .gcmenu-submenu").on(b.transitionend + "_opensubmenu", function () { 6276 b.log("finished submenu open transition"); 6277 a.removeClass("gcmenu-in-transition"); 6278 d(this).off(b.transitionend + "_opensubmenu") 6279 })), a.trigger("gcmenuopen")) 6280 }, 6281 closeSubmenu: function (a, c, b) { 6282 b = b || this; 6283 b.log("closeSubmenu " + a.find(">a").text() + " [" + c + "]"); 6284 a.hasClass("gcmenu-item-has-children") && a.hasClass("gcmenu-active") && (b.transitions && a.addClass("gcmenu-in-transition"), 6285 a.each(function () { 6286 var a = d(this), 6287 c = a.find("> .gcmenu-submenu"); 6288 if (b.transitions) c.on(b.transitionend + "_closesubmenu", function () {
6289 b.log("finished submenu close transition"); 6290 a.removeClass("gcmenu-in-transition"); 6291 c.off(b.transitionend + "_closesubmenu") 6292 }) 6293 })); 6294 a.removeClass("gcmenu-active"); 6295 a.trigger("gcmenuclose"); 6296 b.settings.aria_expanded && a.find(">.gcmenu-target").attr("aria-expanded", "false"); 6297 b.settings.aria_hidden && a.find(">.gcmenu-submenu").attr("aria-hidden", "true") 6298 }, 6299 closeSubmenuInstantly: function (a) { 6300 0 !== 6301 a.length && (a.addClass("gcmenu-notransition"), a.removeClass("gcmenu-active").removeClass("gcmenu-in-transition"), a[0].offsetHeight, a.removeClass("gcmenu-notransition"), a.trigger("gcmenuclose"), this.settings.aria_expanded && a.find(">.gcmenu-target,>.gcmenu-submenu").attr("aria-expanded", "false"), this.settings.aria_hidden && a.find(">.gcmenu-submenu").attr("aria-hidden", "true")) 6302 }, 6303 closeAllSubmenus: function () { 6304 var a = this.$gcmenu.find(".gcmenu-item-level-0.gcmenu-active"); 6305 a.length && this.closeSubmenuInstantly(a); 6306 return a.length 6307 }, 6308 resetHandlers: function (a, c, b) { 6309 b.log("ResetHandlers: " + c); 6310 a.off(this.touchEnd); 6311 a.off(this.touchMove); 6312 a = a.parent(); 6313 a.off("mousemove.mouse_intent"); 6314 a.off("mouseleave.mouse_intent_none"); 6315 a.data("mouse_intent_timer", clearTimeout(a.data("mouse_intent_timer"))); 6316 a.data("mouse_intent_state", 0) 6317 }, 6318 isMobile: function () { 6319 return e.innerWidth <= this.settings.breakpoint 6320 }, 6321 isTablet: function () { 6322 return e.innerWidth <= this.settings.breakpoint && 480 < e.innerWidth 6323 }, 6324 isAccordion: function () { 6325 return this.mobileAccordion && 6326 (480 >= e.innerWidth || this.isTablet() && this.$gcmenu.hasClass("gcmenu-responsive-single-column")) 6327 }, 6328 isAccordionFoldingSingle: function () { 6329 return "single" === this.mobileAccordionFolding 6330 }, 6331 setInteractionMode: function (a) { 6332 this.interactionMode !== a && (this.$gcmenu.removeClass("gcmenu-interaction-" + this.interactionMode).addClass("gcmenu-interaction-" + a), this.interactionMode = a) 6333 }, 6334 log: function (a, c, b) { 6335 b = b || this; 6336 b.settings.debug && (b.settings.debug_onscreen ? this.debug_target.prepend('<div class="um-debug-content">' + 6337 a + "</div>") : console.log(a, c)) 6338 } 6339 }; 6340 d.fn.gcmenu = function (a) { 6341 var c = arguments; 6342 if (a === l || "object" === typeof a) return this.each(function () { 6343 d.data(this, "plugin_gcmenu") || d.data(this, "plugin_gcmenu", new t(this, a)) 6344 }); 6345 if ("string" === typeof a && "_" !== a[0] && "init" !== a) { 6346 var b; 6347 this.each(function () { 6348 var f = d.data(this, "plugin_gcmenu"); 6349 f instanceof t && "function" === typeof f[a] && (b = f[a].apply(f, Array.prototype.slice.call(c, 1))); 6350 "destroy" === a && d.data(this, "plugin_gcmenu", null) 6351 }); 6352 return b !== l ? b : this 6353 } 6354 } 6355})(jQuery, window, 6356 document); 6357(function (d) { 6358 function e(e) { 6359 if (!g) { 6360 g = !0; 6361 "." == window.location.hash.substring(1, 2) ? (e = d("body").find(window.location.hash.substring(1)), e.length && (window.scrollTo(0, e.offset().top - gcmenu_data.scrollto_offset), d(".gcmenu").find('.gcmenu-target[data-gcmenu-scrolltarget="' + window.location.hash.substring(1) + '"]').parent().addClass("gcmenu-current-menu-item"))) : window.location.hash.length && setTimeout(function () { 6362 try { 6363 var e = d("body").find(window.location.hash); 6364 e.length && (window.scrollTo(0, e.offset().top - 6365 gcmenu_data.scrollto_offset), d(".gcmenu").find('.gcmenu-target[data-gcmenu-scrolltarget="' + window.location.hash + '"]').parent().addClass("gcmenu-current-menu-item")) 6366 } catch (r) {} 6367 }, 100); 6368 d(".gcmenu-item:empty").each(function () { 6369 var e = d(this).parent(); 6370 d(this).remove(); 6371 0 == e.find(".gcmenu-item").length && (e.parent().removeClass("gcmenu-has-submenu-drop").removeClass("gcmenu-has-submenu-flyout").off().find(".gcmenu-target > .gcmenu-sub-indicator").remove(), e.remove()) 6372 }); 6373 d(".gcmenu-submenu:empty").each(function () { 6374 var e = 6375 d(this).parent("li"); 6376 e.removeClass("gcmenu-has-submenu-drop"); 6377 e.find(".gcmenu-sub-indicator").remove() 6378 }); 6379 d("#wp-admin-bar-gcmenu_loading").remove(); 6380 d(".gcmenu").gcmenu({}).trigger("gcmenuinit"); 6381 d(".gcmenu-submenu .gcmenu-search-input-autofocus").closest(".gcmenu-has-submenu-drop").on("gcmenuopen", function () { 6382 var e = d(this).find(".gcmenu-submenu .gcmenu-search-input"); 6383 e.length && setTimeout(function () { 6384 e[0].focus() 6385 }, 250) 6386 }); 6387 var l, p = window.innerWidth, 6388 n = window.innerWidth, 6389 m = gcmenu_data.hasOwnProperty("responsive_breakpoint") ? 6390 parseInt(gcmenu_data.responsive_breakpoint) : 959; 6391 window.addEventListener("resize", function () { 6392 document.body.classList.add("um-window-resizing"); 6393 clearTimeout(l); 6394 l = setTimeout(function () { 6395 document.body.classList.remove("um-window-resizing") 6396 }, 400); 6397 n = window.innerWidth; 6398 p <= m && n > m ? d(window).trigger("gcmenu-resize-desktop") : p > m && n <= m && d(window).trigger("gcmenu-resize-mobile"); 6399 p = n 6400 }); 6401 "undefined" !== typeof google && "undefined" !== typeof google.maps && "undefined" !== typeof google.maps.LatLng && d(".gcmenu-map-canvas").each(function () { 6402 var e = 6403 d(this), 6404 g = e.attr("data-zoom") ? parseInt(e.attr("data-zoom")) : 8, 6405 a = e.attr("data-lat") ? new google.maps.LatLng(e.attr("data-lat"), e.attr("data-lng")) : new google.maps.LatLng(40.7143528, -74.0059731), 6406 c = new google.maps.Map(this, { 6407 zoom: g, 6408 mapTypeId: google.maps.MapTypeId.ROADMAP, 6409 center: a 6410 }); 6411 e.attr("data-address") ? (new google.maps.Geocoder).geocode({ 6412 address: e.attr("data-address") 6413 }, function (b, d) { 6414 d == google.maps.GeocoderStatus.OK && (c.setCenter(b[0].geometry.location), a = b[0].geometry.location, new google.maps.Marker({ 6415 map: c, 6416 position: b[0].geometry.location, 6417 title: e.attr("data-mapTitle") 6418 })) 6419 }) : new google.maps.Marker({ 6420 map: c, 6421 position: a, 6422 title: e.attr("data-mapTitle") 6423 }); 6424 var b = d(this).closest(".gcmenu-has-submenu-drop"), 6425 f = function () { 6426 google.maps.event.trigger(c, "resize"); 6427 c.setCenter(a); 6428 c.setZoom(g); 6429 b.off("gcmenuopen", f) 6430 }; 6431 b.on("gcmenuopen", f) 6432 }) 6433 } 6434 } 6435 var g = !1; 6436 jQuery(function (d) { 6437 e("document.ready") 6438 }); 6439 d(window).on("load", function () { 6440 e("window.load") 6441 }) 6442})(jQuery); 6443 6444function gcmenu_openMega(d) { 6445 jQuery(".gcmenu").gcmenu("openSubmenu", jQuery(d)) 6446} 6447
6448function gcmenu_openFlyout(d) { 6449 jQuery(".gcmenu").gcmenu("openSubmenu", jQuery(d)) 6450} 6451 6452function gcmenu_close(d) { 6453 jQuery(".gcmenu").gcmenu("closeSubmenu", jQuery(d)) 6454} 6455 6456function gcmenu_redrawSubmenus() { 6457 jQuery(".gcmenu").gcmenu("positionSubmenus") 6458}; 6459var gcmenu_sticky_settings = []; 6460'use strict'; 6461jQuery(document).ready(function (b) { 6462 if (gcmenu_sticky_settings) 6463 for (var a in gcmenu_sticky_settings) 6464 if (gcmenu_sticky_settings.hasOwnProperty(a)) { 6465 var f = 1 == gcmenu_sticky_settings[a].is_sticky ? !0 : !1, 6466 g = b(".gcmenu-" + a), 6467 e = b(".gcmenu-responsive-toggle-" + a); 6468 g.find("> .gcmenu-nav"); 6469 g.add(e); 6470 1 == gcmenu_sticky_settings[a].is_mobile && g.addClass("gcmenu-is-mobile"); 6471 if (f) { 6472 if (f = "on" == gcmenu_sticky_settings[a].full_width_menu_bar ? !0 : !1) g.addClass("gcmenu-sticky-full-width"), e.addClass("gcmenu-sticky-full-width"); 6473 if (!f) { 6474 var l = g.filter(".gcmenu-bar-align-full"); 6475 l.each(function () { 6476 b(this).css("width", b(this).parent().width()) 6477 }); 6478 e.each(function () { 6479 b(this).css("width", b(this).parent().width()) 6480 }); 6481 b(window).ubersmartresize(function () { 6482 l.each(function () { 6483 b(this).css("width", b(this).parent().width()) 6484 }); 6485 e.each(function () { 6486 b(this).css("width", b(this).parent().width()) 6487 }) 6488 }) 6489 } 6490 e.css("height", e.outerHeight()); 6491 gcmenu_sticky_settings[a].permanent || (f = gcmenu_sticky_settings[a].sticky_offset ? gcmenu_sticky_settings[a].sticky_offset : 6492 0, g.sticky({ 6493 topSpacing: f, 6494 className: "gcmenu-sticky", 6495 wrapperClassName: "gcmenu-sticky-wrapper" 6496 }), g.on("sticky-start sticky-end", function () { 6497 setTimeout(function () { 6498 g.gcmenu("positionSubmenus") 6499 }, 100) 6500 }), e.sticky({ 6501 topSpacing: f, 6502 className: "gcmenu-sticky", 6503 wrapperClassName: "gcmenu-sticky-toggle-wrapper" 6504 })) 6505 } 6506 } 6507}); 6508(function (b) { 6509 var a = { 6510 topSpacing: 0, 6511 bottomSpacing: 0, 6512 className: "is-sticky", 6513 wrapperClassName: "sticky-wrapper", 6514 center: !1, 6515 getWidthFrom: "" 6516 }, 6517 f = b(window), 6518 g = b(document), 6519 e = [], 6520 l = f.height(), 6521 p = function () { 6522 for (var b = f.scrollTop(), h = g.height(), n = h - l, n = b > n ? n - b : 0, d = 0; d < e.length; d++) { 6523 var c = e[d], 6524 a = c.stickyWrapper.offset().top - c.topSpacing - n; 6525 b <= a ? null !== c.currentTop && (c.stickyElement.css("position", "").css("top", ""), c.stickyElement.removeClass(c.className), c.stickyElement.trigger("sticky-end", [c]).parent().removeClass(c.className), 6526 c.currentTop = null) : (a = h - c.stickyElement.outerHeight() - c.topSpacing - c.bottomSpacing - b - n, a = 0 > a ? a + c.topSpacing : c.topSpacing, c.currentTop != a && (c.stickyElement.css("position", "fixed").css("top", a), c.stickyElement.trigger("sticky-start", [c]).parent().addClass(c.className), c.stickyElement.addClass(c.className), c.currentTop = a)) 6527 } 6528 }, 6529 q = function () { 6530 l = f.height() 6531 }, 6532 k = { 6533 init: function (m) { 6534 var h = b.extend({}, a, m); 6535 return this.each(function () { 6536 var a = b(this), 6537 d = a.attr("id"); 6538 d || (d = a.data("gcmenu-target") + "-toggle"); 6539 d = b("<div></div>").attr("id", 6540 d + "-sticky-wrapper").addClass(h.wrapperClassName); 6541 a.wrapAll(d); 6542 h.center && a.parent().css({ 6543 width: a.outerWidth(), 6544 marginLeft: "auto", 6545 marginRight: "auto" 6546 }); 6547 "right" == a.css("float") && a.css({ 6548 "float": "none" 6549 }).parent().css({ 6550 "float": "right" 6551 }); 6552 d = a.parent(); 6553 d.css("min-height", a.outerHeight()); 6554 e.push({ 6555 topSpacing: h.topSpacing, 6556 bottomSpacing: h.bottomSpacing, 6557 stickyElement: a, 6558 currentTop: null, 6559 stickyWrapper: d, 6560 className: h.className, 6561 getWidthFrom: h.getWidthFrom 6562 }) 6563 }) 6564 }, 6565 update: p, 6566 unstick: function (a) { 6567 return this.each(function () { 6568 for (var a = 6569 b(this), m = -1, d = 0; d < e.length; d++) e[d].stickyElement.get(0) == a.get(0) && (m = d); - 1 != m && (e.splice(m, 1), a.unwrap(), a.removeAttr("style")) 6570 }) 6571 } 6572 }; 6573 window.addEventListener ? (window.addEventListener("scroll", p, !1), window.addEventListener("resize", q, !1)) : window.attachEvent && (window.attachEvent("onscroll", p), window.attachEvent("onresize", q)); 6574 b.fn.sticky = function (a) { 6575 if (k[a]) return k[a].apply(this, Array.prototype.slice.call(arguments, 1)); 6576 if ("object" !== typeof a && a) b.error("Method " + a + " does not exist on jQuery.sticky"); 6577 else return k.init.apply(this, arguments) 6578 }; 6579 b.fn.unstick = function (a) { 6580 if (k[a]) return k[a].apply(this, Array.prototype.slice.call(arguments, 1)); 6581 if ("object" !== typeof a && a) b.error("Method " + a + " does not exist on jQuery.sticky"); 6582 else return k.unstick.apply(this, arguments) 6583 }; 6584 b(function () { 6585 setTimeout(p, 0) 6586 }) 6587})(jQuery); 6588var wc_cart_fragments_params = { 6589 "ajax_url": "\/wp-admin\/admin-ajax.php", 6590 "wc_ajax_url": "\/?wc-ajax=%%endpoint%%", 6591 "cart_hash_key": "wc_cart_hash_8ea7e2dc8395b2e61f96d092b5bc96dc", 6592 "fragment_name": "wc_fragments_8ea7e2dc8395b2e61f96d092b5bc96dc", 6593 "request_timeout": "5000" 6594}; 6595jQuery(function (e) { 6596 if ("undefined" == typeof wc_cart_fragments_params) return !1; 6597 var t = !0, 6598 r = wc_cart_fragments_params.cart_hash_key; 6599 try { 6600 t = "sessionStorage" in window && null !== window.sessionStorage, window.sessionStorage.setItem("wc", "test"), window.sessionStorage.removeItem("wc"), window.localStorage.setItem("wc", "test"), window.localStorage.removeItem("wc") 6601 } catch (f) { 6602 t = !1 6603 } 6604 6605 function n() { 6606 t && sessionStorage.setItem("wc_cart_created", (new Date).getTime()) 6607 } 6608 6609 function o(e) { 6610 t && (localStorage.setItem(r, e), sessionStorage.setItem(r, e)) 6611 } 6612 var a = { 6613 url: wc_cart_fragments_params.wc_ajax_url.toString().replace("%%endpoint%%", "get_refreshed_fragments"), 6614 type: "POST", 6615 data: { 6616 time: (new Date).getTime() 6617 }, 6618 timeout: wc_cart_fragments_params.request_timeout, 6619 success: function (r) { 6620 r && r.fragments && (e.each(r.fragments, function (t, r) { 6621 e(t).replaceWith(r) 6622 }), t && (sessionStorage.setItem(wc_cart_fragments_params.fragment_name, JSON.stringify(r.fragments)), o(r.cart_hash), r.cart_hash && n()), e(document.body).trigger("wc_fragments_refreshed")) 6623 }, 6624 error: function () { 6625 e(document.body).trigger("wc_fragments_ajax_error") 6626 } 6627 }; 6628 6629 function s() { 6630 e.ajax(a) 6631 } 6632 if (t) { 6633 var i = null; 6634 e(document.body).on("wc_fragment_refresh updated_wc_div", function () { 6635 s() 6636 }), e(document.body).on("added_to_cart removed_from_cart", function (e, t, a) { 6637 var s = sessionStorage.getItem(r); 6638 null !== s && s !== undefined && "" !== s || n(), sessionStorage.setItem(wc_cart_fragments_params.fragment_name, JSON.stringify(t)), o(a) 6639 }), e(document.body).on("wc_fragments_refreshed", function () { 6640 clearTimeout(i), i = setTimeout(s, 864e5) 6641 }), e(window).on("storage onstorage", function (e) { 6642 r === e.originalEvent.key && localStorage.getItem(r) !== sessionStorage.getItem(r) && s() 6643 }), e(window).on("pageshow", function (t) { 6644 t.originalEvent.persisted && (e(".widget_shopping_cart_content").empty(), e(document.body).trigger("wc_fragment_refresh")) 6645 });
6646 try { 6647 var c = JSON.parse(sessionStorage.getItem(wc_cart_fragments_params.fragment_name)), 6648 _ = sessionStorage.getItem(r), 6649 g = Cookies.get("woocommerce_cart_hash"), 6650 m = sessionStorage.getItem("wc_cart_created"); 6651 if (null !== _ && _ !== undefined && "" !== _ || (_ = ""), null !== g && g !== undefined && "" !== g || (g = ""), _ && (null === m || m === undefined || "" === m)) throw "No cart_created"; 6652 if (m) { 6653 var d = 1 * m + 864e5, 6654 w = (new Date).getTime(); 6655 if (d < w) throw "Fragment expired"; 6656 i = setTimeout(s, d - w) 6657 } 6658 if (!c || !c["div.widget_shopping_cart_content"] || _ !== g) throw "No fragment"; 6659 e.each(c, function (t, r) { 6660 e(t).replaceWith(r) 6661 }), e(document.body).trigger("wc_fragments_loaded") 6662 } catch (f) { 6663 s() 6664 } 6665 } else s(); 6666 Cookies.get("woocommerce_items_in_cart") > 0 ? e(".hide_cart_widget_if_empty").closest(".widget_shopping_cart").show() : e(".hide_cart_widget_if_empty").closest(".widget_shopping_cart").hide(), e(document.body).on("adding_to_cart", function () { 6667 e(".hide_cart_widget_if_empty").closest(".widget_shopping_cart").show() 6668 }), "undefined" != typeof wp && wp.customize && wp.customize.selectiveRefresh && wp.customize.widgetsPreview && wp.customize.widgetsPreview.WidgetPartial && wp.customize.selectiveRefresh.bind("partial-content-rendered", function () { 6669 s() 6670 }) 6671});
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.