1!(function (e, t) { 2 "object" == typeof exports && "object" == typeof module 3 ? (module.exports = t()) 4 : "function" == typeof define && define.amd 5 ? define([], t) 6 : "object" == typeof exports 7 ? (exports.AOS = t()) 8 : (e.AOS = t()); 9})(this, function () { 10 return (function (e) { 11 function t(o) { 12 if (n[o]) return n[o].exports; 13 var i = (n[o] = { exports: {}, id: o, loaded: !1 }); 14 return e[o].call(i.exports, i, i.exports, t), (i.loaded = !0), i.exports; 15 } 16 var n = {}; 17 return (t.m = e), (t.c = n), (t.p = "dist/"), t(0); 18 })([ 19 function (e, t, n) { 20 "use strict"; 21 function o(e) { 22 return e && e.__esModule ? e : { default: e }; 23 } 24 var i = 25 Object.assign || 26 function (e) { 27 for (var t = 1; t < arguments.length; t++) { 28 var n = arguments[t]; 29 for (var o in n) 30 Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]); 31 } 32 return e; 33 }, 34 r = n(1), 35 a = (o(r), n(6)), 36 u = o(a), 37 c = n(7), 38 f = o(c), 39 s = n(8), 40 d = o(s), 41 l = n(9), 42 p = o(l), 43 m = n(10), 44 b = o(m), 45 v = n(11), 46 y = o(v), 47 g = n(14), 48 h = o(g), 49 w = [], 50 k = !1, 51 x = document.all && !window.atob, 52 j = { 53 offset: 120, 54 delay: 0, 55 easing: "ease", 56 duration: 400, 57 disable: !1, 58 once: !1, 59 startEvent: "DOMContentLoaded", 60 throttleDelay: 99, 61 debounceDelay: 50, 62 disableMutationObserver: !1, 63 }, 64 O = function () { 65 var e = 66 arguments.length > 0 && void 0 !== arguments[0] && arguments[0]; 67 if ((e && (k = !0), k)) 68 return (w = (0, y.default)(w, j)), (0, b.default)(w, j.once), w; 69 }, 70 _ = function () { 71 (w = (0, h.default)()), O(); 72 }, 73 S = function () { 74 w.forEach(function (e, t) { 75 e.node.removeAttribute("data-aos"), 76 e.node.removeAttribute("data-aos-easing"), 77 e.node.removeAttribute("data-aos-duration"), 78 e.node.removeAttribute("data-aos-delay"); 79 }); 80 }, 81 z = function (e) { 82 return ( 83 e === !0 || 84 ("mobile" === e && p.default.mobile()) || 85 ("phone" === e && p.default.phone()) || 86 ("tablet" === e && p.default.tablet()) || 87 ("function" == typeof e && e() === !0) 88 ); 89 }, 90 A = function (e) { 91 return ( 92 (j = i(j, e)), 93 (w = (0, h.default)()), 94 z(j.disable) || x 95 ? S() 96 : (document 97 .querySelector("body") 98 .setAttribute("data-aos-easing", j.easing), 99 document 100 .querySelector("body") 101 .setAttribute("data-aos-duration", j.duration), 102 document 103 .querySelector("body") 104 .setAttribute("data-aos-delay", j.delay), 105 "DOMContentLoaded" === j.startEvent && 106 ["complete", "interactive"].indexOf(document.readyState) > -1 107 ? O(!0) 108 : "load" === j.startEvent 109 ? window.addEventListener(j.startEvent, function () { 110 O(!0); 111 }) 112 : document.addEventListener(j.startEvent, function () { 113 O(!0); 114 }), 115 window.addEventListener( 116 "resize", 117 (0, f.default)(O, j.debounceDelay, !0) 118 ), 119 window.addEventListener( 120 "orientationchange", 121 (0, f.default)(O, j.debounceDelay, !0) 122 ), 123 window.addEventListener( 124 "scroll", 125 (0, u.default)(function () { 126 (0, b.default)(w, j.once); 127 }, j.throttleDelay) 128 ), 129 j.disableMutationObserver || (0, d.default)("[data-aos]", _), 130 w) 131 ); 132 }; 133 e.exports = { init: A, refresh: O, refreshHard: _ }; 134 }, 135 function (e, t) {}, 136 , 137 , 138 , 139 , 140 function (e, t) { 141 (function (t) { 142 "use strict"; 143 function n(e, t, n) { 144 function o(t) { 145 var n = b, 146 o = v; 147 return (b = v = void 0), (k = t), (g = e.apply(o, n)); 148 } 149 function r(e) { 150 return (k = e), (h = setTimeout(s, t)), _ ? o(e) : g; 151 } 152 function a(e) { 153 var n = e - w, 154 o = e - k, 155 i = t - n; 156 return S ? j(i, y - o) : i; 157 } 158 function c(e) { 159 var n = e - w, 160 o = e - k; 161 return void 0 === w || n >= t || n < 0 || (S && o >= y); 162 } 163 function s() { 164 var e = O(); 165 return c(e) ? d(e) : void (h = setTimeout(s, a(e))); 166 } 167 function d(e) { 168 return (h = void 0), z && b ? o(e) : ((b = v = void 0), g); 169 } 170 function l() { 171 void 0 !== h && clearTimeout(h), (k = 0), (b = w = v = h = void 0); 172 } 173 function p() { 174 return void 0 === h ? g : d(O()); 175 } 176 function m() { 177 var e = O(), 178 n = c(e); 179 if (((b = arguments), (v = this), (w = e), n)) { 180 if (void 0 === h) return r(w); 181 if (S) return (h = setTimeout(s, t)), o(w); 182 } 183 return void 0 === h && (h = setTimeout(s, t)), g; 184 } 185 var b, 186 v, 187 y, 188 g, 189 h, 190 w, 191 k = 0, 192 _ = !1, 193 S = !1, 194 z = !0; 195 if ("function" != typeof e) throw new TypeError(f); 196 return ( 197 (t = u(t) || 0), 198 i(n) && 199 ((_ = !!n.leading), 200 (S = "maxWait" in n), 201 (y = S ? x(u(n.maxWait) || 0, t) : y), 202 (z = "trailing" in n ? !!n.trailing : z)), 203 (m.cancel = l), 204 (m.flush = p), 205 m 206 ); 207 } 208 function o(e, t, o) { 209 var r = !0, 210 a = !0; 211 if ("function" != typeof e) throw new TypeError(f); 212 return ( 213 i(o) && 214 ((r = "leading" in o ? !!o.leading : r), 215 (a = "trailing" in o ? !!o.trailing : a)), 216 n(e, t, { leading: r, maxWait: t, trailing: a }) 217 ); 218 } 219 function i(e) { 220 var t = "undefined" == typeof e ? "undefined" : c(e); 221 return !!e && ("object" == t || "function" == t); 222 } 223 function r(e) { 224 return ( 225 !!e && "object" == ("undefined" == typeof e ? "undefined" : c(e)) 226 ); 227 } 228 function a(e) { 229 return ( 230 "symbol" == ("undefined" == typeof e ? "undefined" : c(e)) || 231 (r(e) && k.call(e) == d) 232 ); 233 } 234 function u(e) { 235 if ("number" == typeof e) return e; 236 if (a(e)) return s; 237 if (i(e)) { 238 var t = "function" == typeof e.valueOf ? e.valueOf() : e; 239 e = i(t) ? t + "" : t; 240 } 241 if ("string" != typeof e) return 0 === e ? e : +e; 242 e = e.replace(l, ""); 243 var n = m.test(e); 244 return n || b.test(e) ? v(e.slice(2), n ? 2 : 8) : p.test(e) ? s : +e; 245 } 246 var c = 247 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 248 ? function (e) { 249 return typeof e; 250 } 251 : function (e) { 252 return e && 253 "function" == typeof Symbol && 254 e.constructor === Symbol && 255 e !== Symbol.prototype 256 ? "symbol" 257 : typeof e; 258 }, 259 f = "Expected a function", 260 s = NaN, 261 d = "[object Symbol]", 262 l = /^\s+|\s+$/g, 263 p = /^[-+]0x[0-9a-f]+$/i,
264 m = /^0b[01]+$/i, 265 b = /^0o[0-7]+$/i, 266 v = parseInt, 267 y = 268 "object" == ("undefined" == typeof t ? "undefined" : c(t)) && 269 t && 270 t.Object === Object && 271 t, 272 g = 273 "object" == ("undefined" == typeof self ? "undefined" : c(self)) && 274 self && 275 self.Object === Object && 276 self, 277 h = y || g || Function("return this")(), 278 w = Object.prototype, 279 k = w.toString, 280 x = Math.max, 281 j = Math.min, 282 O = function () { 283 return h.Date.now(); 284 }; 285 e.exports = o; 286 }).call( 287 t, 288 (function () { 289 return this; 290 })() 291 ); 292 }, 293 function (e, t) { 294 (function (t) { 295 "use strict"; 296 function n(e, t, n) { 297 function i(t) { 298 var n = b, 299 o = v; 300 return (b = v = void 0), (O = t), (g = e.apply(o, n)); 301 } 302 function r(e) { 303 return (O = e), (h = setTimeout(s, t)), _ ? i(e) : g; 304 } 305 function u(e) { 306 var n = e - w, 307 o = e - O, 308 i = t - n; 309 return S ? x(i, y - o) : i; 310 } 311 function f(e) { 312 var n = e - w, 313 o = e - O; 314 return void 0 === w || n >= t || n < 0 || (S && o >= y); 315 } 316 function s() { 317 var e = j(); 318 return f(e) ? d(e) : void (h = setTimeout(s, u(e))); 319 } 320 function d(e) { 321 return (h = void 0), z && b ? i(e) : ((b = v = void 0), g); 322 } 323 function l() { 324 void 0 !== h && clearTimeout(h), (O = 0), (b = w = v = h = void 0); 325 } 326 function p() { 327 return void 0 === h ? g : d(j()); 328 } 329 function m() { 330 var e = j(), 331 n = f(e); 332 if (((b = arguments), (v = this), (w = e), n)) { 333 if (void 0 === h) return r(w); 334 if (S) return (h = setTimeout(s, t)), i(w); 335 } 336 return void 0 === h && (h = setTimeout(s, t)), g; 337 } 338 var b, 339 v, 340 y, 341 g, 342 h, 343 w, 344 O = 0, 345 _ = !1, 346 S = !1, 347 z = !0; 348 if ("function" != typeof e) throw new TypeError(c); 349 return ( 350 (t = a(t) || 0), 351 o(n) && 352 ((_ = !!n.leading), 353 (S = "maxWait" in n), 354 (y = S ? k(a(n.maxWait) || 0, t) : y), 355 (z = "trailing" in n ? !!n.trailing : z)), 356 (m.cancel = l), 357 (m.flush = p), 358 m 359 ); 360 } 361 function o(e) { 362 var t = "undefined" == typeof e ? "undefined" : u(e); 363 return !!e && ("object" == t || "function" == t); 364 } 365 function i(e) { 366 return ( 367 !!e && "object" == ("undefined" == typeof e ? "undefined" : u(e)) 368 ); 369 } 370 function r(e) { 371 return ( 372 "symbol" == ("undefined" == typeof e ? "undefined" : u(e)) || 373 (i(e) && w.call(e) == s) 374 ); 375 } 376 function a(e) { 377 if ("number" == typeof e) return e; 378 if (r(e)) return f; 379 if (o(e)) { 380 var t = "function" == typeof e.valueOf ? e.valueOf() : e; 381 e = o(t) ? t + "" : t; 382 } 383 if ("string" != typeof e) return 0 === e ? e : +e; 384 e = e.replace(d, ""); 385 var n = p.test(e); 386 return n || m.test(e) ? b(e.slice(2), n ? 2 : 8) : l.test(e) ? f : +e; 387 } 388 var u = 389 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 390 ? function (e) { 391 return typeof e; 392 } 393 : function (e) { 394 return e && 395 "function" == typeof Symbol && 396 e.constructor === Symbol && 397 e !== Symbol.prototype 398 ? "symbol" 399 : typeof e; 400 }, 401 c = "Expected a function", 402 f = NaN, 403 s = "[object Symbol]", 404 d = /^\s+|\s+$/g, 405 l = /^[-+]0x[0-9a-f]+$/i,
406 p = /^0b[01]+$/i, 407 m = /^0o[0-7]+$/i, 408 b = parseInt, 409 v = 410 "object" == ("undefined" == typeof t ? "undefined" : u(t)) && 411 t && 412 t.Object === Object && 413 t, 414 y = 415 "object" == ("undefined" == typeof self ? "undefined" : u(self)) && 416 self && 417 self.Object === Object && 418 self, 419 g = v || y || Function("return this")(), 420 h = Object.prototype, 421 w = h.toString, 422 k = Math.max, 423 x = Math.min, 424 j = function () { 425 return g.Date.now(); 426 }; 427 e.exports = n; 428 }).call( 429 t, 430 (function () { 431 return this; 432 })() 433 ); 434 }, 435 function (e, t) { 436 "use strict"; 437 function n(e, t) { 438 var n = new r(o); 439 (a = t), 440 n.observe(i.documentElement, { 441 childList: !0, 442 subtree: !0, 443 removedNodes: !0, 444 }); 445 } 446 function o(e) { 447 e && 448 e.forEach(function (e) { 449 var t = Array.prototype.slice.call(e.addedNodes), 450 n = Array.prototype.slice.call(e.removedNodes), 451 o = t.concat(n).filter(function (e) { 452 return e.hasAttribute && e.hasAttribute("data-aos"); 453 }).length; 454 o && a(); 455 }); 456 } 457 Object.defineProperty(t, "__esModule", { value: !0 }); 458 var i = window.document, 459 r = 460 window.MutationObserver || 461 window.WebKitMutationObserver || 462 window.MozMutationObserver, 463 a = function () {}; 464 t.default = n; 465 }, 466 function (e, t) { 467 "use strict"; 468 function n(e, t) { 469 if (!(e instanceof t)) 470 throw new TypeError("Cannot call a class as a function"); 471 } 472 function o() { 473 return navigator.userAgent || navigator.vendor || window.opera || ""; 474 } 475 Object.defineProperty(t, "__esModule", { value: !0 }); 476 var i = (function () { 477 function e(e, t) { 478 for (var n = 0; n < t.length; n++) { 479 var o = t[n]; 480 (o.enumerable = o.enumerable || !1), 481 (o.configurable = !0), 482 "value" in o && (o.writable = !0), 483 Object.defineProperty(e, o.key, o); 484 } 485 } 486 return function (t, n, o) { 487 return n && e(t.prototype, n), o && e(t, o), t; 488 }; 489 })(), 490 r = 491 /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i, 492 a = 493 /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
493sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i, 494 u = 495 /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i, 496 c = 497 /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i, 498 f = (function () { 499 function e() { 500 n(this, e); 501 } 502 return ( 503 i(e, [ 504 { 505 key: "phone", 506 value: function () { 507 var e = o(); 508 return !(!r.test(e) && !a.test(e.substr(0, 4))); 509 }, 510 }, 511 { 512 key: "mobile", 513 value: function () { 514 var e = o(); 515 return !(!u.test(e) && !c.test(e.substr(0, 4))); 516 }, 517 }, 518 { 519 key: "tablet", 520 value: function () { 521 return this.mobile() && !this.phone(); 522 }, 523 }, 524 ]), 525 e 526 ); 527 })(); 528 t.default = new f(); 529 }, 530 function (e, t) { 531 "use strict"; 532 Object.defineProperty(t, "__esModule", { value: !0 }); 533 var n = function (e, t, n) { 534 var o = e.node.getAttribute("data-aos-once"); 535 t > e.position 536 ? e.node.classList.add("aos-animate") 537 : "undefined" != typeof o && 538 ("false" === o || (!n && "true" !== o)) && 539 e.node.classList.remove("aos-animate"); 540 }, 541 o = function (e, t) { 542 var o = window.pageYOffset, 543 i = window.innerHeight; 544 e.forEach(function (e, r) { 545 n(e, i + o, t); 546 }); 547 }; 548 t.default = o; 549 }, 550 function (e, t, n) { 551 "use strict"; 552 function o(e) { 553 return e && e.__esModule ? e : { default: e }; 554 } 555 Object.defineProperty(t, "__esModule", { value: !0 }); 556 var i = n(12), 557 r = o(i), 558 a = function (e, t) { 559 return ( 560 e.forEach(function (e, n) { 561 e.node.classList.add("aos-init"), 562 (e.position = (0, r.default)(e.node, t.offset)); 563 }), 564 e 565 ); 566 }; 567 t.default = a; 568 }, 569 function (e, t, n) { 570 "use strict"; 571 function o(e) {
572 return e && e.__esModule ? e : { default: e }; 573 } 574 Object.defineProperty(t, "__esModule", { value: !0 }); 575 var i = n(13), 576 r = o(i), 577 a = function (e, t) { 578 var n = 0, 579 o = 0, 580 i = window.innerHeight, 581 a = { 582 offset: e.getAttribute("data-aos-offset"), 583 anchor: e.getAttribute("data-aos-anchor"), 584 anchorPlacement: e.getAttribute("data-aos-anchor-placement"), 585 }; 586 switch ( 587 (a.offset && !isNaN(a.offset) && (o = parseInt(a.offset)), 588 a.anchor && 589 document.querySelectorAll(a.anchor) && 590 (e = document.querySelectorAll(a.anchor)[0]), 591 (n = (0, r.default)(e).top), 592 a.anchorPlacement) 593 ) { 594 case "top-bottom": 595 break; 596 case "center-bottom": 597 n += e.offsetHeight / 2; 598 break; 599 case "bottom-bottom": 600 n += e.offsetHeight; 601 break; 602 case "top-center": 603 n += i / 2; 604 break; 605 case "bottom-center": 606 n += i / 2 + e.offsetHeight; 607 break; 608 case "center-center": 609 n += i / 2 + e.offsetHeight / 2; 610 break; 611 case "top-top": 612 n += i; 613 break; 614 case "bottom-top": 615 n += e.offsetHeight + i; 616 break; 617 case "center-top": 618 n += e.offsetHeight / 2 + i; 619 } 620 return a.anchorPlacement || a.offset || isNaN(t) || (o = t), n + o; 621 }; 622 t.default = a; 623 }, 624 function (e, t) { 625 "use strict"; 626 Object.defineProperty(t, "__esModule", { value: !0 }); 627 var n = function (e) { 628 for ( 629 var t = 0, n = 0; 630 e && !isNaN(e.offsetLeft) && !isNaN(e.offsetTop); 631 632 ) 633 (t += e.offsetLeft - ("BODY" != e.tagName ? e.scrollLeft : 0)), 634 (n += e.offsetTop - ("BODY" != e.tagName ? e.scrollTop : 0)), 635 (e = e.offsetParent); 636 return { top: n, left: t }; 637 }; 638 t.default = n; 639 }, 640 function (e, t) { 641 "use strict"; 642 Object.defineProperty(t, "__esModule", { value: !0 }); 643 var n = function (e) { 644 return ( 645 (e = e || document.querySelectorAll("[data-aos]")), 646 Array.prototype.map.call(e, function (e) { 647 return { node: e }; 648 }) 649 ); 650 }; 651 t.default = n; 652 }, 653 ]); 654}); 655
vendor: 89,758 bytes, lines 656-3542
656/*! 657 * Bootstrap v5.0.2 (https://getbootstrap.com/) 658 * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 659 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 660 */ 661!(function (t, e) { 662 "object" == typeof exports && "undefined" != typeof module 663 ? (module.exports = e(require("@popperjs/core"))) 664 : "function" == typeof define && define.amd 665 ? define(["@popperjs/core"], e) 666 : ((t = 667 "undefined" != typeof globalThis ? globalThis : t || self).bootstrap = 668 e(t.Popper)); 669})(this, function (t) { 670 "use strict"; 671 function e(t) { 672 if (t && t.__esModule) return t; 673 var e = Object.create(null); 674 return ( 675 t && 676 Object.keys(t).forEach(function (s) { 677 if ("default" !== s) { 678 var i = Object.getOwnPropertyDescriptor(t, s); 679 Object.defineProperty( 680 e, 681 s, 682 i.get 683 ? i 684 : { 685 enumerable: !0, 686 get: function () { 687 return t[s]; 688 }, 689 } 690 ); 691 } 692 }), 693 (e.default = t), 694 Object.freeze(e) 695 ); 696 } 697 var s = e(t); 698 const i = { 699 find: (t, e = document.documentElement) => 700 [].concat(...Element.prototype.querySelectorAll.call(e, t)), 701 findOne: (t, e = document.documentElement) => 702 Element.prototype.querySelector.call(e, t), 703 children: (t, e) => [].concat(...t.children).filter((t) => t.matches(e)), 704 parents(t, e) { 705 const s = []; 706 let i = t.parentNode; 707 for (; i && i.nodeType === Node.ELEMENT_NODE && 3 !== i.nodeType; ) 708 i.matches(e) && s.push(i), (i = i.parentNode); 709 return s; 710 }, 711 prev(t, e) { 712 let s = t.previousElementSibling; 713 for (; s; ) { 714 if (s.matches(e)) return [s]; 715 s = s.previousElementSibling; 716 } 717 return []; 718 }, 719 next(t, e) { 720 let s = t.nextElementSibling; 721 for (; s; ) { 722 if (s.matches(e)) return [s]; 723 s = s.nextElementSibling; 724 } 725 return []; 726 }, 727 }, 728 n = (t) => { 729 do { 730 t += Math.floor(1e6 * Math.random()); 731 } while (document.getElementById(t)); 732 return t; 733 }, 734 o = (t) => { 735 let e = t.getAttribute("data-bs-target"); 736 if (!e || "#" === e) { 737 let s = t.getAttribute("href"); 738 if (!s || (!s.includes("#") && !s.startsWith("."))) return null; 739 s.includes("#") && !s.startsWith("#") && (s = "#" + s.split("#")[1]), 740 (e = s && "#" !== s ? s.trim() : null); 741 } 742 return e; 743 }, 744 r = (t) => { 745 const e = o(t); 746 return e && document.querySelector(e) ? e : null; 747 }, 748 a = (t) => { 749 const e = o(t); 750 return e ? document.querySelector(e) : null; 751 }, 752 l = (t) => { 753 t.dispatchEvent(new Event("transitionend")); 754 }, 755 c = (t) => 756 !(!t || "object" != typeof t) && 757 (void 0 !== t.jquery && (t = t[0]), void 0 !== t.nodeType), 758 h = (t) => 759 c(t) 760 ? t.jquery 761 ? t[0] 762 : t 763 : "string" == typeof t && t.length > 0 764 ? i.findOne(t) 765 : null, 766 d = (t, e, s) => { 767 Object.keys(s).forEach((i) => { 768 const n = s[i], 769 o = e[i], 770 r = 771 o && c(o) 772 ? "element" 773 : null == (a = o) 774 ? "" + a 775 : {}.toString 776 .call(a) 777 .match(/\s([a-z]+)/i)[1] 778 .toLowerCase(); 779 var a; 780 if (!new RegExp(n).test(r)) 781 throw new TypeError( 782 `${t.toUpperCase()}: Option "${i}" provided type "${r}" but expected type "${n}".` 783 ); 784 }); 785 }, 786 u = (t) => 787 !(!c(t) || 0 === t.getClientRects().length) && 788 "visible" === getComputedStyle(t).getPropertyValue("visibility"), 789 g = (t) => 790 !t || 791 t.nodeType !== Node.ELEMENT_NODE || 792 !!t.classList.contains("disabled") || 793 (void 0 !== t.disabled 794 ? t.disabled 795 : t.hasAttribute("disabled") && "false" !== t.getAttribute("disabled")), 796 p = (t) => { 797 if (!document.documentElement.attachShadow) return null; 798 if ("function" == typeof t.getRootNode) { 799 const e = t.getRootNode(); 800 return e instanceof ShadowRoot ? e : null; 801 } 802 return t instanceof ShadowRoot 803 ? t 804 : t.parentNode 805 ? p(t.parentNode) 806 : null; 807 }, 808 f = () => {}, 809 m = (t) => t.offsetHeight, 810 _ = () => { 811 const { jQuery: t } = window; 812 return t && !document.body.hasAttribute("data-bs-no-jquery") ? t : null; 813 }, 814 b = [], 815 v = () => "rtl" === document.documentElement.dir, 816 y = (t) => { 817 var e; 818 (e = () => { 819 const e = _(); 820 if (e) { 821 const s = t.NAME, 822 i = e.fn[s]; 823 (e.fn[s] = t.jQueryInterface), 824 (e.fn[s].Constructor = t), 825 (e.fn[s].noConflict = () => ((e.fn[s] = i), t.jQueryInterface)); 826 } 827 }), 828 "loading" === document.readyState 829 ? (b.length || 830 document.addEventListener("DOMContentLoaded", () => { 831 b.forEach((t) => t()); 832 }), 833 b.push(e)) 834 : e(); 835 }, 836 w = (t) => { 837 "function" == typeof t && t(); 838 }, 839 E = (t, e, s = !0) => { 840 if (!s) return void w(t); 841 const i = 842 ((t) => { 843 if (!t) return 0; 844 let { transitionDuration: e, transitionDelay: s } = 845 window.getComputedStyle(t); 846 const i = Number.parseFloat(e), 847 n = Number.parseFloat(s); 848 return i || n 849 ? ((e = e.split(",")[0]), 850 (s = s.split(",")[0]), 851 1e3 * (Number.parseFloat(e) + Number.parseFloat(s))) 852 : 0; 853 })(e) + 5; 854 let n = !1; 855 const o = ({ target: s }) => { 856 s === e && ((n = !0), e.removeEventListener("transitionend", o), w(t)); 857 }; 858 e.addEventListener("transitionend", o), 859 setTimeout(() => { 860 n || l(e); 861 }, i); 862 }, 863 A = (t, e, s, i) => { 864 let n = t.indexOf(e); 865 if (-1 === n) return t[!s && i ? t.length - 1 : 0]; 866 const o = t.length; 867 return ( 868 (n += s ? 1 : -1), 869 i && (n = (n + o) % o), 870 t[Math.max(0, Math.min(n, o - 1))] 871 ); 872 }, 873 T = /[^.]*(?=\..*)\.|.*/, 874 C = /\..*/, 875 k = /::\d+$/, 876 L = {}; 877 let O = 1; 878 const D = { mouseenter: "mouseover", mouseleave: "mouseout" }, 879 I = /^(mouseenter|mouseleave)/i, 880 N = new Set([ 881 "click", 882 "dblclick", 883 "mouseup", 884 "mousedown", 885 "contextmenu", 886 "mousewheel", 887 "DOMMouseScroll", 888 "mouseover", 889 "mouseout", 890 "mousemove", 891 "selectstart", 892 "selectend", 893 "keydown", 894 "keypress", 895 "keyup", 896 "orientationchange", 897 "touchstart", 898 "touchmove", 899 "touchend", 900 "touchcancel", 901 "pointerdown", 902 "pointermove", 903 "pointerup", 904 "pointerleave", 905 "pointercancel", 906 "gesturestart", 907 "gesturechange", 908 "gestureend", 909 "focus", 910 "blur", 911 "change", 912 "reset", 913 "select", 914 "submit", 915 "focusin", 916 "focusout", 917 "load", 918 "unload", 919 "beforeunload", 920 "resize", 921 "move", 922 "DOMContentLoaded", 923 "readystatechange", 924 "error", 925 "abort", 926 "scroll", 927 ]); 928 function S(t, e) { 929 return (e && `${e}::${O++}`) || t.uidEvent || O++; 930 } 931 function x(t) { 932 const e = S(t); 933 return (t.uidEvent = e), (L[e] = L[e] || {}), L[e]; 934 } 935 function M(t, e, s = null) { 936 const i = Object.keys(t); 937 for (let n = 0, o = i.length; n < o; n++) { 938 const o = t[i[n]]; 939 if (o.originalHandler === e && o.delegationSelector === s) return o; 940 } 941 return null; 942 } 943 function P(t, e, s) { 944 const i = "string" == typeof e, 945 n = i ? s : e; 946 let o = R(t); 947 return N.has(o) || (o = t), [i, n, o]; 948 } 949 function j(t, e, s, i, n) { 950 if ("string" != typeof e || !t) return; 951 if ((s || ((s = i), (i = null)), I.test(e))) { 952 const t = (t) => 953 function (e) { 954 if ( 955 !e.relatedTarget || 956 (e.relatedTarget !== e.delegateTarget && 957 !e.delegateTarget.contains(e.relatedTarget)) 958 ) 959 return t.call(this, e); 960 }; 961 i ? (i = t(i)) : (s = t(s)); 962 } 963 const [o, r, a] = P(e, s, i), 964 l = x(t), 965 c = l[a] || (l[a] = {}), 966 h = M(c, r, o ? s : null); 967 if (h) return void (h.oneOff = h.oneOff && n); 968 const d = S(r, e.replace(T, "")), 969 u = o 970 ? (function (t, e, s) { 971 return function i(n) { 972 const o = t.querySelectorAll(e); 973 for (let { target: r } = n; r && r !== this; r = r.parentNode) 974 for (let a = o.length; a--; ) 975 if (o[a] === r) 976 return ( 977 (n.delegateTarget = r), 978 i.oneOff && B.off(t, n.type, e, s), 979 s.apply(r, [n]) 980 ); 981 return null; 982 }; 983 })(t, s, i) 984 : (function (t, e) { 985 return function s(i) { 986 return ( 987 (i.delegateTarget = t), 988 s.oneOff && B.off(t, i.type, e), 989 e.apply(t, [i]) 990 ); 991 }; 992 })(t, s); 993 (u.delegationSelector = o ? s : null), 994 (u.originalHandler = r), 995 (u.oneOff = n), 996 (u.uidEvent = d), 997 (c[d] = u), 998 t.addEventListener(a, u, o); 999 } 1000 function H(t, e, s, i, n) { 1001 const o = M(e[s], i, n); 1002 o && (t.removeEventListener(s, o, Boolean(n)), delete e[s][o.uidEvent]); 1003 } 1004 function R(t) { 1005 return (t = t.replace(C, "")), D[t] || t; 1006 } 1007 const B = { 1008 on(t, e, s, i) { 1009 j(t, e, s, i, !1); 1010 }, 1011 one(t, e, s, i) { 1012 j(t, e, s, i, !0); 1013 }, 1014 off(t, e, s, i) { 1015 if ("string" != typeof e || !t) return; 1016 const [n, o, r] = P(e, s, i), 1017 a = r !== e, 1018 l = x(t), 1019 c = e.startsWith("."); 1020 if (void 0 !== o) { 1021 if (!l || !l[r]) return; 1022 return void H(t, l, r, o, n ? s : null); 1023 } 1024 c && 1025 Object.keys(l).forEach((s) => { 1026 !(function (t, e, s, i) { 1027 const n = e[s] || {}; 1028 Object.keys(n).forEach((o) => { 1029 if (o.includes(i)) { 1030 const i = n[o]; 1031 H(t, e, s, i.originalHandler, i.delegationSelector); 1032 } 1033 }); 1034 })(t, l, s, e.slice(1)); 1035 }); 1036 const h = l[r] || {}; 1037 Object.keys(h).forEach((s) => { 1038 const i = s.replace(k, ""); 1039 if (!a || e.includes(i)) { 1040 const e = h[s]; 1041 H(t, l, r, e.originalHandler, e.delegationSelector); 1042 } 1043 }); 1044 }, 1045 trigger(t, e, s) { 1046 if ("string" != typeof e || !t) return null; 1047 const i = _(), 1048 n = R(e), 1049 o = e !== n, 1050 r = N.has(n); 1051 let a, 1052 l = !0, 1053 c = !0, 1054 h = !1, 1055 d = null; 1056 return ( 1057 o && 1058 i && 1059 ((a = i.Event(e, s)), 1060 i(t).trigger(a), 1061 (l = !a.isPropagationStopped()), 1062 (c = !a.isImmediatePropagationStopped()), 1063 (h = a.isDefaultPrevented())), 1064 r 1065 ? ((d = document.createEvent("HTMLEvents")), d.initEvent(n, l, !0)) 1066 : (d = new CustomEvent(e, { bubbles: l, cancelable: !0 })), 1067 void 0 !== s && 1068 Object.keys(s).forEach((t) => { 1069 Object.defineProperty(d, t, { get: () => s[t] }); 1070 }), 1071 h && d.preventDefault(), 1072 c && t.dispatchEvent(d), 1073 d.defaultPrevented && void 0 !== a && a.preventDefault(), 1074 d 1075 ); 1076 }, 1077 }, 1078 $ = new Map(); 1079 var W = { 1080 set(t, e, s) { 1081 $.has(t) || $.set(t, new Map()); 1082 const i = $.get(t); 1083 i.has(e) || 0 === i.size 1084 ? i.set(e, s) 1085 : console.error( 1086 `Bootstrap doesn't allow more than one instance per element. Bound instance: ${ 1087 Array.from(i.keys())[0] 1088 }.` 1089 ); 1090 }, 1091 get: (t, e) => ($.has(t) && $.get(t).get(e)) || null, 1092 remove(t, e) { 1093 if (!$.has(t)) return; 1094 const s = $.get(t); 1095 s.delete(e), 0 === s.size && $.delete(t); 1096 }, 1097 }; 1098 class q { 1099 constructor(t) { 1100 (t = h(t)) && 1101 ((this._element = t), 1102 W.set(this._element, this.constructor.DATA_KEY, this)); 1103 } 1104 dispose() { 1105 W.remove(this._element, this.constructor.DATA_KEY), 1106 B.off(this._element, this.constructor.EVENT_KEY), 1107 Object.getOwnPropertyNames(this).forEach((t) => { 1108 this[t] = null; 1109 }); 1110 } 1111 _queueCallback(t, e, s = !0) { 1112 E(t, e, s); 1113 } 1114 static getInstance(t) { 1115 return W.get(t, this.DATA_KEY); 1116 } 1117 static getOrCreateInstance(t, e = {}) { 1118 return ( 1119 this.getInstance(t) || new this(t, "object" == typeof e ? e : null) 1120 ); 1121 } 1122 static get VERSION() { 1123 return "5.0.2"; 1124 } 1125 static get NAME() { 1126 throw new Error( 1127 'You have to implement the static method "NAME", for each component!' 1128 ); 1129 } 1130 static get DATA_KEY() { 1131 return "bs." + this.NAME; 1132 } 1133 static get EVENT_KEY() { 1134 return "." + this.DATA_KEY; 1135 } 1136 } 1137 class z extends q { 1138 static get NAME() { 1139 return "alert"; 1140 } 1141 close(t) { 1142 const e = t ? this._getRootElement(t) : this._element, 1143 s = this._triggerCloseEvent(e); 1144 null === s || s.defaultPrevented || this._removeElement(e); 1145 } 1146 _getRootElement(t) { 1147 return a(t) || t.closest(".alert"); 1148 } 1149 _triggerCloseEvent(t) { 1150 return B.trigger(t, "close.bs.alert"); 1151 } 1152 _removeElement(t) { 1153 t.classList.remove("show"); 1154 const e = t.classList.contains("fade"); 1155 this._queueCallback(() => this._destroyElement(t), t, e); 1156 } 1157 _destroyElement(t) { 1158 t.remove(), B.trigger(t, "closed.bs.alert"); 1159 } 1160 static jQueryInterface(t) { 1161 return this.each(function () { 1162 const e = z.getOrCreateInstance(this); 1163 "close" === t && e[t](this); 1164 }); 1165 } 1166 static handleDismiss(t) { 1167 return function (e) { 1168 e && e.preventDefault(), t.close(this); 1169 }; 1170 } 1171 } 1172 B.on( 1173 document, 1174 "click.bs.alert.data-api", 1175 '[data-bs-dismiss="alert"]', 1176 z.handleDismiss(new z()) 1177 ), 1178 y(z); 1179 class F extends q { 1180 static get NAME() { 1181 return "button"; 1182 } 1183 toggle() { 1184 this._element.setAttribute( 1185 "aria-pressed", 1186 this._element.classList.toggle("active") 1187 ); 1188 } 1189 static jQueryInterface(t) { 1190 return this.each(function () { 1191 const e = F.getOrCreateInstance(this); 1192 "toggle" === t && e[t](); 1193 }); 1194 } 1195 } 1196 function U(t) { 1197 return ( 1198 "true" === t || 1199 ("false" !== t && 1200 (t === Number(t).toString() 1201 ? Number(t) 1202 : "" === t || "null" === t 1203 ? null 1204 : t)) 1205 ); 1206 } 1207 function K(t) { 1208 return t.replace(/[A-Z]/g, (t) => "-" + t.toLowerCase()); 1209 } 1210 B.on( 1211 document, 1212 "click.bs.button.data-api", 1213 '[data-bs-toggle="button"]', 1214 (t) => { 1215 t.preventDefault(); 1216 const e = t.target.closest('[data-bs-toggle="button"]'); 1217 F.getOrCreateInstance(e).toggle(); 1218 } 1219 ), 1220 y(F); 1221 const V = { 1222 setDataAttribute(t, e, s) { 1223 t.setAttribute("data-bs-" + K(e), s); 1224 }, 1225 removeDataAttribute(t, e) { 1226 t.removeAttribute("data-bs-" + K(e)); 1227 }, 1228 getDataAttributes(t) { 1229 if (!t) return {}; 1230 const e = {}; 1231 return ( 1232 Object.keys(t.dataset) 1233 .filter((t) => t.startsWith("bs")) 1234 .forEach((s) => { 1235 let i = s.replace(/^bs/, ""); 1236 (i = i.charAt(0).toLowerCase() + i.slice(1, i.length)), 1237 (e[i] = U(t.dataset[s])); 1238 }), 1239 e 1240 ); 1241 }, 1242 getDataAttribute: (t, e) => U(t.getAttribute("data-bs-" + K(e))), 1243 offset(t) { 1244 const e = t.getBoundingClientRect(); 1245 return { 1246 top: e.top + document.body.scrollTop, 1247 left: e.left + document.body.scrollLeft, 1248 }; 1249 }, 1250 position: (t) => ({ top: t.offsetTop, left: t.offsetLeft }), 1251 }, 1252 Q = { 1253 interval: 5e3, 1254 keyboard: !0, 1255 slide: !1, 1256 pause: "hover", 1257 wrap: !0, 1258 touch: !0, 1259 }, 1260 X = { 1261 interval: "(number|boolean)", 1262 keyboard: "boolean", 1263 slide: "(boolean|string)", 1264 pause: "(string|boolean)", 1265 wrap: "boolean", 1266 touch: "boolean", 1267 }, 1268 Y = "next", 1269 G = "prev", 1270 Z = "left", 1271 J = "right", 1272 tt = { ArrowLeft: J, ArrowRight: Z }; 1273 class et extends q { 1274 constructor(t, e) { 1275 super(t), 1276 (this._items = null), 1277 (this._interval = null), 1278 (this._activeElement = null), 1279 (this._isPaused = !1), 1280 (this._isSliding = !1), 1281 (this.touchTimeout = null), 1282 (this.touchStartX = 0), 1283 (this.touchDeltaX = 0), 1284 (this._config = this._getConfig(e)), 1285 (this._indicatorsElement = i.findOne( 1286 ".carousel-indicators", 1287 this._element 1288 )), 1289 (this._touchSupported = 1290 "ontouchstart" in document.documentElement || 1291 navigator.maxTouchPoints > 0), 1292 (this._pointerEvent = Boolean(window.PointerEvent)), 1293 this._addEventListeners(); 1294 } 1295 static get Default() { 1296 return Q; 1297 } 1298 static get NAME() { 1299 return "carousel"; 1300 } 1301 next() { 1302 this._slide(Y); 1303 } 1304 nextWhenVisible() { 1305 !document.hidden && u(this._element) && this.next(); 1306 } 1307 prev() { 1308 this._slide(G); 1309 } 1310 pause(t) { 1311 t || (this._isPaused = !0), 1312 i.findOne(".carousel-item-next, .carousel-item-prev", this._element) && 1313 (l(this._element), this.cycle(!0)), 1314 clearInterval(this._interval), 1315 (this._interval = null); 1316 } 1317 cycle(t) { 1318 t || (this._isPaused = !1), 1319 this._interval && 1320 (clearInterval(this._interval), (this._interval = null)), 1321 this._config && 1322 this._config.interval && 1323 !this._isPaused && 1324 (this._updateInterval(), 1325 (this._interval = setInterval( 1326 (document.visibilityState ? this.nextWhenVisible : this.next).bind( 1327 this 1328 ), 1329 this._config.interval 1330 ))); 1331 } 1332 to(t) { 1333 this._activeElement = i.findOne(".active.carousel-item", this._element); 1334 const e = this._getItemIndex(this._activeElement); 1335 if (t > this._items.length - 1 || t < 0) return; 1336 if (this._isSliding) 1337 return void B.one(this._element, "slid.bs.carousel", () => this.to(t)); 1338 if (e === t) return this.pause(), void this.cycle(); 1339 const s = t > e ? Y : G; 1340 this._slide(s, this._items[t]); 1341 } 1342 _getConfig(t) { 1343 return ( 1344 (t = { 1345 ...Q, 1346 ...V.getDataAttributes(this._element), 1347 ...("object" == typeof t ? t : {}), 1348 }), 1349 d("carousel", t, X), 1350 t 1351 ); 1352 } 1353 _handleSwipe() { 1354 const t = Math.abs(this.touchDeltaX); 1355 if (t <= 40) return; 1356 const e = t / this.touchDeltaX; 1357 (this.touchDeltaX = 0), e && this._slide(e > 0 ? J : Z); 1358 } 1359 _addEventListeners() { 1360 this._config.keyboard && 1361 B.on(this._element, "keydown.bs.carousel", (t) => this._keydown(t)), 1362 "hover" === this._config.pause && 1363 (B.on(this._element, "mouseenter.bs.carousel", (t) => this.pause(t)), 1364 B.on(this._element, "mouseleave.bs.carousel", (t) => this.cycle(t))), 1365 this._config.touch && 1366 this._touchSupported && 1367 this._addTouchEventListeners(); 1368 } 1369 _addTouchEventListeners() { 1370 const t = (t) => { 1371 !this._pointerEvent || 1372 ("pen" !== t.pointerType && "touch" !== t.pointerType) 1373 ? this._pointerEvent || (this.touchStartX = t.touches[0].clientX) 1374 : (this.touchStartX = t.clientX); 1375 }, 1376 e = (t) => { 1377 this.touchDeltaX = 1378 t.touches && t.touches.length > 1 1379 ? 0 1380 : t.touches[0].clientX - this.touchStartX; 1381 }, 1382 s = (t) => { 1383 !this._pointerEvent || 1384 ("pen" !== t.pointerType && "touch" !== t.pointerType) || 1385 (this.touchDeltaX = t.clientX - this.touchStartX), 1386 this._handleSwipe(), 1387 "hover" === this._config.pause && 1388 (this.pause(), 1389 this.touchTimeout && clearTimeout(this.touchTimeout), 1390 (this.touchTimeout = setTimeout( 1391 (t) => this.cycle(t), 1392 500 + this._config.interval 1393 ))); 1394 }; 1395 i.find(".carousel-item img", this._element).forEach((t) => { 1396 B.on(t, "dragstart.bs.carousel", (t) => t.preventDefault()); 1397 }), 1398 this._pointerEvent 1399 ? (B.on(this._element, "pointerdown.bs.carousel", (e) => t(e)), 1400 B.on(this._element, "pointerup.bs.carousel", (t) => s(t)), 1401 this._element.classList.add("pointer-event")) 1402 : (B.on(this._element, "touchstart.bs.carousel", (e) => t(e)), 1403 B.on(this._element, "touchmove.bs.carousel", (t) => e(t)), 1404 B.on(this._element, "touchend.bs.carousel", (t) => s(t))); 1405 } 1406 _keydown(t) { 1407 if (/input|textarea/i.test(t.target.tagName)) return; 1408 const e = tt[t.key]; 1409 e && (t.preventDefault(), this._slide(e)); 1410 } 1411 _getItemIndex(t) { 1412 return ( 1413 (this._items = 1414 t && t.parentNode ? i.find(".carousel-item", t.parentNode) : []), 1415 this._items.indexOf(t) 1416 ); 1417 } 1418 _getItemByOrder(t, e) { 1419 const s = t === Y; 1420 return A(this._items, e, s, this._config.wrap); 1421 } 1422 _triggerSlideEvent(t, e) { 1423 const s = this._getItemIndex(t), 1424 n = this._getItemIndex( 1425 i.findOne(".active.carousel-item", this._element) 1426 ); 1427 return B.trigger(this._element, "slide.bs.carousel", { 1428 relatedTarget: t, 1429 direction: e, 1430 from: n, 1431 to: s, 1432 }); 1433 } 1434 _setActiveIndicatorElement(t) { 1435 if (this._indicatorsElement) { 1436 const e = i.findOne(".active", this._indicatorsElement); 1437 e.classList.remove("active"), e.removeAttribute("aria-current"); 1438 const s = i.find("[data-bs-target]", this._indicatorsElement); 1439 for (let e = 0; e < s.length; e++) 1440 if ( 1441 Number.parseInt(s[e].getAttribute("data-bs-slide-to"), 10) === 1442 this._getItemIndex(t) 1443 ) { 1444 s[e].classList.add("active"), 1445 s[e].setAttribute("aria-current", "true"); 1446 break; 1447 } 1448 } 1449 } 1450 _updateInterval() { 1451 const t = 1452 this._activeElement || 1453 i.findOne(".active.carousel-item", this._element); 1454 if (!t) return; 1455 const e = Number.parseInt(t.getAttribute("data-bs-interval"), 10); 1456 e 1457 ? ((this._config.defaultInterval = 1458 this._config.defaultInterval || this._config.interval), 1459 (this._config.interval = e)) 1460 : (this._config.interval = 1461 this._config.defaultInterval || this._config.interval); 1462 } 1463 _slide(t, e) { 1464 const s = this._directionToOrder(t), 1465 n = i.findOne(".active.carousel-item", this._element), 1466 o = this._getItemIndex(n), 1467 r = e || this._getItemByOrder(s, n), 1468 a = this._getItemIndex(r), 1469 l = Boolean(this._interval), 1470 c = s === Y, 1471 h = c ? "carousel-item-start" : "carousel-item-end", 1472 d = c ? "carousel-item-next" : "carousel-item-prev", 1473 u = this._orderToDirection(s); 1474 if (r && r.classList.contains("active")) 1475 return void (this._isSliding = !1); 1476 if (this._isSliding) return; 1477 if (this._triggerSlideEvent(r, u).defaultPrevented) return; 1478 if (!n || !r) return; 1479 (this._isSliding = !0), 1480 l && this.pause(), 1481 this._setActiveIndicatorElement(r), 1482 (this._activeElement = r); 1483 const g = () => { 1484 B.trigger(this._element, "slid.bs.carousel", { 1485 relatedTarget: r, 1486 direction: u, 1487 from: o, 1488 to: a, 1489 }); 1490 }; 1491 if (this._element.classList.contains("slide")) { 1492 r.classList.add(d), m(r), n.classList.add(h), r.classList.add(h); 1493 const t = () => { 1494 r.classList.remove(h, d), 1495 r.classList.add("active"), 1496 n.classList.remove("active", d, h), 1497 (this._isSliding = !1), 1498 setTimeout(g, 0); 1499 }; 1500 this._queueCallback(t, n, !0); 1501 } else n.classList.remove("active"), r.classList.add("active"), (this._isSliding = !1), g(); 1502 l && this.cycle(); 1503 } 1504 _directionToOrder(t) { 1505 return [J, Z].includes(t) 1506 ? v() 1507 ? t === Z 1508 ? G 1509 : Y 1510 : t === Z 1511 ? Y 1512 : G 1513 : t; 1514 } 1515 _orderToDirection(t) { 1516 return [Y, G].includes(t) 1517 ? v() 1518 ? t === G 1519 ? Z 1520 : J 1521 : t === G 1522 ? J 1523 : Z 1524 : t; 1525 } 1526 static carouselInterface(t, e) { 1527 const s = et.getOrCreateInstance(t, e); 1528 let { _config: i } = s; 1529 "object" == typeof e && (i = { ...i, ...e }); 1530 const n = "string" == typeof e ? e : i.slide; 1531 if ("number" == typeof e) s.to(e); 1532 else if ("string" == typeof n) { 1533 if (void 0 === s[n]) throw new TypeError(`No method named "${n}"`); 1534 s[n](); 1535 } else i.interval && i.ride && (s.pause(), s.cycle()); 1536 } 1537 static jQueryInterface(t) { 1538 return this.each(function () { 1539 et.carouselInterface(this, t); 1540 }); 1541 } 1542 static dataApiClickHandler(t) { 1543 const e = a(this); 1544 if (!e || !e.classList.contains("carousel")) return; 1545 const s = { ...V.getDataAttributes(e), ...V.getDataAttributes(this) }, 1546 i = this.getAttribute("data-bs-slide-to"); 1547 i && (s.interval = !1), 1548 et.carouselInterface(e, s), 1549 i && et.getInstance(e).to(i), 1550 t.preventDefault(); 1551 } 1552 } 1553 B.on( 1554 document, 1555 "click.bs.carousel.data-api", 1556 "[data-bs-slide], [data-bs-slide-to]", 1557 et.dataApiClickHandler 1558 ), 1559 B.on(window, "load.bs.carousel.data-api", () => { 1560 const t = i.find('[data-bs-ride="carousel"]'); 1561 for (let e = 0, s = t.length; e < s; e++) 1562 et.carouselInterface(t[e], et.getInstance(t[e])); 1563 }), 1564 y(et); 1565 const st = { toggle: !0, parent: "" }, 1566 it = { toggle: "boolean", parent: "(string|element)" }; 1567 class nt extends q { 1568 constructor(t, e) { 1569 super(t), 1570 (this._isTransitioning = !1), 1571 (this._config = this._getConfig(e)), 1572 (this._triggerArray = i.find( 1573 `[data-bs-toggle="collapse"][href="#${this._element.id}"],[data-bs-toggle="collapse"][data-bs-target="#${this._element.id}"]` 1574 )); 1575 const s = i.find('[data-bs-toggle="collapse"]'); 1576 for (let t = 0, e = s.length; t < e; t++) { 1577 const e = s[t], 1578 n = r(e), 1579 o = i.find(n).filter((t) => t === this._element); 1580 null !== n && 1581 o.length && 1582 ((this._selector = n), this._triggerArray.push(e)); 1583 } 1584 (this._parent = this._config.parent ? this._getParent() : null), 1585 this._config.parent || 1586 this._addAriaAndCollapsedClass(this._element, this._triggerArray), 1587 this._config.toggle && this.toggle(); 1588 } 1589 static get Default() { 1590 return st; 1591 } 1592 static get NAME() { 1593 return "collapse"; 1594 } 1595 toggle() { 1596 this._element.classList.contains("show") ? this.hide() : this.show(); 1597 } 1598 show() { 1599 if (this._isTransitioning || this._element.classList.contains("show")) 1600 return; 1601 let t, e; 1602 this._parent && 1603 ((t = i 1604 .find(".show, .collapsing", this._parent) 1605 .filter((t) => 1606 "string" == typeof this._config.parent 1607 ? t.getAttribute("data-bs-parent") === this._config.parent 1608 : t.classList.contains("collapse") 1609 )), 1610 0 === t.length && (t = null)); 1611 const s = i.findOne(this._selector); 1612 if (t) { 1613 const i = t.find((t) => s !== t); 1614 if (((e = i ? nt.getInstance(i) : null), e && e._isTransitioning)) 1615 return; 1616 } 1617 if (B.trigger(this._element, "show.bs.collapse").defaultPrevented) return; 1618 t && 1619 t.forEach((t) => { 1620 s !== t && nt.collapseInterface(t, "hide"), 1621 e || W.set(t, "bs.collapse", null); 1622 }); 1623 const n = this._getDimension(); 1624 this._element.classList.remove("collapse"), 1625 this._element.classList.add("collapsing"), 1626 (this._element.style[n] = 0), 1627 this._triggerArray.length && 1628 this._triggerArray.forEach((t) => { 1629 t.classList.remove("collapsed"), 1630 t.setAttribute("aria-expanded", !0); 1631 }), 1632 this.setTransitioning(!0); 1633 const o = "scroll" + (n[0].toUpperCase() + n.slice(1)); 1634 this._queueCallback( 1635 () => { 1636 this._element.classList.remove("collapsing"), 1637 this._element.classList.add("collapse", "show"), 1638 (this._element.style[n] = ""), 1639 this.setTransitioning(!1), 1640 B.trigger(this._element, "shown.bs.collapse"); 1641 }, 1642 this._element, 1643 !0 1644 ), 1645 (this._element.style[n] = this._element[o] + "px"); 1646 } 1647 hide() { 1648 if (this._isTransitioning || !this._element.classList.contains("show")) 1649 return; 1650 if (B.trigger(this._element, "hide.bs.collapse").defaultPrevented) return; 1651 const t = this._getDimension(); 1652 (this._element.style[t] = 1653 this._element.getBoundingClientRect()[t] + "px"), 1654 m(this._element), 1655 this._element.classList.add("collapsing"), 1656 this._element.classList.remove("collapse", "show"); 1657 const e = this._triggerArray.length; 1658 if (e > 0) 1659 for (let t = 0; t < e; t++) { 1660 const e = this._triggerArray[t], 1661 s = a(e); 1662 s && 1663 !s.classList.contains("show") && 1664 (e.classList.add("collapsed"), e.setAttribute("aria-expanded", !1)); 1665 } 1666 this.setTransitioning(!0), 1667 (this._element.style[t] = ""), 1668 this._queueCallback( 1669 () => { 1670 this.setTransitioning(!1), 1671 this._element.classList.remove("collapsing"), 1672 this._element.classList.add("collapse"), 1673 B.trigger(this._element, "hidden.bs.collapse"); 1674 }, 1675 this._element, 1676 !0 1677 ); 1678 } 1679 setTransitioning(t) { 1680 this._isTransitioning = t; 1681 } 1682 _getConfig(t) { 1683 return ( 1684 ((t = { ...st, ...t }).toggle = Boolean(t.toggle)), 1685 d("collapse", t, it), 1686 t 1687 ); 1688 } 1689 _getDimension() { 1690 return this._element.classList.contains("width") ? "width" : "height"; 1691 } 1692 _getParent() { 1693 let { parent: t } = this._config; 1694 t = h(t); 1695 const e = `[data-bs-toggle="collapse"][data-bs-parent="${t}"]`; 1696 return ( 1697 i.find(e, t).forEach((t) => { 1698 const e = a(t); 1699 this._addAriaAndCollapsedClass(e, [t]); 1700 }), 1701 t 1702 ); 1703 } 1704 _addAriaAndCollapsedClass(t, e) { 1705 if (!t || !e.length) return; 1706 const s = t.classList.contains("show"); 1707 e.forEach((t) => { 1708 s ? t.classList.remove("collapsed") : t.classList.add("collapsed"), 1709 t.setAttribute("aria-expanded", s); 1710 }); 1711 } 1712 static collapseInterface(t, e) { 1713 let s = nt.getInstance(t); 1714 const i = { 1715 ...st, 1716 ...V.getDataAttributes(t), 1717 ...("object" == typeof e && e ? e : {}), 1718 }; 1719 if ( 1720 (!s && 1721 i.toggle && 1722 "string" == typeof e && 1723 /show|hide/.test(e) && 1724 (i.toggle = !1), 1725 s || (s = new nt(t, i)), 1726 "string" == typeof e) 1727 ) { 1728 if (void 0 === s[e]) throw new TypeError(`No method named "${e}"`); 1729 s[e](); 1730 } 1731 } 1732 static jQueryInterface(t) { 1733 return this.each(function () { 1734 nt.collapseInterface(this, t); 1735 }); 1736 } 1737 } 1738 B.on( 1739 document, 1740 "click.bs.collapse.data-api", 1741 '[data-bs-toggle="collapse"]', 1742 function (t) { 1743 ("A" === t.target.tagName || 1744 (t.delegateTarget && "A" === t.delegateTarget.tagName)) && 1745 t.preventDefault(); 1746 const e = V.getDataAttributes(this), 1747 s = r(this); 1748 i.find(s).forEach((t) => { 1749 const s = nt.getInstance(t); 1750 let i; 1751 s 1752 ? (null === s._parent && 1753 "string" == typeof e.parent && 1754 ((s._config.parent = e.parent), (s._parent = s._getParent())), 1755 (i = "toggle")) 1756 : (i = e), 1757 nt.collapseInterface(t, i); 1758 }); 1759 } 1760 ), 1761 y(nt); 1762 const ot = new RegExp("ArrowUp|ArrowDown|Escape"), 1763 rt = v() ? "top-end" : "top-start", 1764 at = v() ? "top-start" : "top-end", 1765 lt = v() ? "bottom-end" : "bottom-start", 1766 ct = v() ? "bottom-start" : "bottom-end", 1767 ht = v() ? "left-start" : "right-start", 1768 dt = v() ? "right-start" : "left-start", 1769 ut = { 1770 offset: [0, 2], 1771 boundary: "clippingParents", 1772 reference: "toggle", 1773 display: "dynamic", 1774 popperConfig: null, 1775 autoClose: !0, 1776 }, 1777 gt = { 1778 offset: "(array|string|function)", 1779 boundary: "(string|element)", 1780 reference: "(string|element|object)", 1781 display: "string", 1782 popperConfig: "(null|object|function)", 1783 autoClose: "(boolean|string)", 1784 }; 1785 class pt extends q { 1786 constructor(t, e) { 1787 super(t), 1788 (this._popper = null), 1789 (this._config = this._getConfig(e)), 1790 (this._menu = this._getMenuElement()), 1791 (this._inNavbar = this._detectNavbar()), 1792 this._addEventListeners(); 1793 } 1794 static get Default() { 1795 return ut; 1796 } 1797 static get DefaultType() { 1798 return gt; 1799 } 1800 static get NAME() { 1801 return "dropdown"; 1802 } 1803 toggle() { 1804 g(this._element) || 1805 (this._element.classList.contains("show") ? this.hide() : this.show()); 1806 } 1807 show() { 1808 if (g(this._element) || this._menu.classList.contains("show")) return; 1809 const t = pt.getParentFromElement(this._element), 1810 e = { relatedTarget: this._element }; 1811 if (!B.trigger(this._element, "show.bs.dropdown", e).defaultPrevented) { 1812 if (this._inNavbar) V.setDataAttribute(this._menu, "popper", "none"); 1813 else { 1814 if (void 0 === s) 1815 throw new TypeError( 1816 "Bootstrap's dropdowns require Popper (https://popper.js.org)" 1817 ); 1818 let e = this._element; 1819 "parent" === this._config.reference 1820 ? (e = t) 1821 : c(this._config.reference) 1822 ? (e = h(this._config.reference)) 1823 : "object" == typeof this._config.reference && 1824 (e = this._config.reference); 1825 const i = this._getPopperConfig(), 1826 n = i.modifiers.find( 1827 (t) => "applyStyles" === t.name && !1 === t.enabled 1828 ); 1829 (this._popper = s.createPopper(e, this._menu, i)), 1830 n && V.setDataAttribute(this._menu, "popper", "static"); 1831 } 1832 "ontouchstart" in document.documentElement && 1833 !t.closest(".navbar-nav") && 1834 [] 1835 .concat(...document.body.children) 1836 .forEach((t) => B.on(t, "mouseover", f)), 1837 this._element.focus(), 1838 this._element.setAttribute("aria-expanded", !0), 1839 this._menu.classList.toggle("show"), 1840 this._element.classList.toggle("show"), 1841 B.trigger(this._element, "shown.bs.dropdown", e); 1842 } 1843 } 1844 hide() { 1845 if (g(this._element) || !this._menu.classList.contains("show")) return; 1846 const t = { relatedTarget: this._element }; 1847 this._completeHide(t); 1848 } 1849 dispose() { 1850 this._popper && this._popper.destroy(), super.dispose(); 1851 } 1852 update() { 1853 (this._inNavbar = this._detectNavbar()), 1854 this._popper && this._popper.update(); 1855 } 1856 _addEventListeners() { 1857 B.on(this._element, "click.bs.dropdown", (t) => { 1858 t.preventDefault(), this.toggle(); 1859 }); 1860 } 1861 _completeHide(t) { 1862 B.trigger(this._element, "hide.bs.dropdown", t).defaultPrevented || 1863 ("ontouchstart" in document.documentElement && 1864 [] 1865 .concat(...document.body.children) 1866 .forEach((t) => B.off(t, "mouseover", f)), 1867 this._popper && this._popper.destroy(), 1868 this._menu.classList.remove("show"), 1869 this._element.classList.remove("show"), 1870 this._element.setAttribute("aria-expanded", "false"), 1871 V.removeDataAttribute(this._menu, "popper"), 1872 B.trigger(this._element, "hidden.bs.dropdown", t)); 1873 } 1874 _getConfig(t) { 1875 if ( 1876 ((t = { 1877 ...this.constructor.Default, 1878 ...V.getDataAttributes(this._element), 1879 ...t, 1880 }), 1881 d("dropdown", t, this.constructor.DefaultType), 1882 "object" == typeof t.reference && 1883 !c(t.reference) && 1884 "function" != typeof t.reference.getBoundingClientRect) 1885 ) 1886 throw new TypeError( 1887 "dropdown".toUpperCase() + 1888 ': Option "reference" provided type "object" without a required "getBoundingClientRect" method.' 1889 ); 1890 return t; 1891 } 1892 _getMenuElement() { 1893 return i.next(this._element, ".dropdown-menu")[0]; 1894 } 1895 _getPlacement() { 1896 const t = this._element.parentNode; 1897 if (t.classList.contains("dropend")) return ht; 1898 if (t.classList.contains("dropstart")) return dt; 1899 const e = 1900 "end" === 1901 getComputedStyle(this._menu).getPropertyValue("--bs-position").trim(); 1902 return t.classList.contains("dropup") ? (e ? at : rt) : e ? ct : lt; 1903 } 1904 _detectNavbar() { 1905 return null !== this._element.closest(".navbar"); 1906 } 1907 _getOffset() { 1908 const { offset: t } = this._config; 1909 return "string" == typeof t 1910 ? t.split(",").map((t) => Number.parseInt(t, 10)) 1911 : "function" == typeof t 1912 ? (e) => t(e, this._element) 1913 : t; 1914 } 1915 _getPopperConfig() { 1916 const t = { 1917 placement: this._getPlacement(), 1918 modifiers: [ 1919 { 1920 name: "preventOverflow", 1921 options: { boundary: this._config.boundary }, 1922 }, 1923 { name: "offset", options: { offset: this._getOffset() } }, 1924 ], 1925 }; 1926 return ( 1927 "static" === this._config.display && 1928 (t.modifiers = [{ name: "applyStyles", enabled: !1 }]), 1929 { 1930 ...t, 1931 ...("function" == typeof this._config.popperConfig 1932 ? this._config.popperConfig(t) 1933 : this._config.popperConfig), 1934 } 1935 ); 1936 } 1937 _selectMenuItem({ key: t, target: e }) { 1938 const s = i 1939 .find( 1940 ".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)", 1941 this._menu 1942 ) 1943 .filter(u); 1944 s.length && A(s, e, "ArrowDown" === t, !s.includes(e)).focus(); 1945 } 1946 static dropdownInterface(t, e) { 1947 const s = pt.getOrCreateInstance(t, e); 1948 if ("string" == typeof e) { 1949 if (void 0 === s[e]) throw new TypeError(`No method named "${e}"`); 1950 s[e](); 1951 } 1952 } 1953 static jQueryInterface(t) { 1954 return this.each(function () { 1955 pt.dropdownInterface(this, t); 1956 }); 1957 } 1958 static clearMenus(t) { 1959 if (t && (2 === t.button || ("keyup" === t.type && "Tab" !== t.key))) 1960 return; 1961 const e = i.find('[data-bs-toggle="dropdown"]'); 1962 for (let s = 0, i = e.length; s < i; s++) { 1963 const i = pt.getInstance(e[s]); 1964 if (!i || !1 === i._config.autoClose) continue; 1965 if (!i._element.classList.contains("show")) continue; 1966 const n = { relatedTarget: i._element }; 1967 if (t) { 1968 const e = t.composedPath(), 1969 s = e.includes(i._menu); 1970 if ( 1971 e.includes(i._element) || 1972 ("inside" === i._config.autoClose && !s) || 1973 ("outside" === i._config.autoClose && s) 1974 ) 1975 continue; 1976 if ( 1977 i._menu.contains(t.target) && 1978 (("keyup" === t.type && "Tab" === t.key) || 1979 /input|select|option|textarea|form/i.test(t.target.tagName)) 1980 ) 1981 continue; 1982 "click" === t.type && (n.clickEvent = t); 1983 } 1984 i._completeHide(n); 1985 } 1986 } 1987 static getParentFromElement(t) { 1988 return a(t) || t.parentNode; 1989 } 1990 static dataApiKeydownHandler(t) { 1991 if ( 1992 /input|textarea/i.test(t.target.tagName) 1993 ? "Space" === t.key || 1994 ("Escape" !== t.key && 1995 (("ArrowDown" !== t.key && "ArrowUp" !== t.key) || 1996 t.target.closest(".dropdown-menu"))) 1997 : !ot.test(t.key) 1998 ) 1999 return; 2000 const e = this.classList.contains("show"); 2001 if (!e && "Escape" === t.key) return; 2002 if ((t.preventDefault(), t.stopPropagation(), g(this))) return; 2003 const s = () => 2004 this.matches('[data-bs-toggle="dropdown"]') 2005 ? this 2006 : i.prev(this, '[data-bs-toggle="dropdown"]')[0]; 2007 return "Escape" === t.key 2008 ? (s().focus(), void pt.clearMenus()) 2009 : "ArrowUp" === t.key || "ArrowDown" === t.key 2010 ? (e || s().click(), void pt.getInstance(s())._selectMenuItem(t)) 2011 : void ((e && "Space" !== t.key) || pt.clearMenus()); 2012 } 2013 } 2014 B.on( 2015 document, 2016 "keydown.bs.dropdown.data-api", 2017 '[data-bs-toggle="dropdown"]', 2018 pt.dataApiKeydownHandler 2019 ), 2020 B.on( 2021 document, 2022 "keydown.bs.dropdown.data-api", 2023 ".dropdown-menu", 2024 pt.dataApiKeydownHandler 2025 ), 2026 B.on(document, "click.bs.dropdown.data-api", pt.clearMenus), 2027 B.on(document, "keyup.bs.dropdown.data-api", pt.clearMenus), 2028 B.on( 2029 document, 2030 "click.bs.dropdown.data-api", 2031 '[data-bs-toggle="dropdown"]', 2032 function (t) { 2033 t.preventDefault(), pt.dropdownInterface(this); 2034 } 2035 ), 2036 y(pt); 2037 class ft { 2038 constructor() { 2039 this._element = document.body; 2040 } 2041 getWidth() { 2042 const t = document.documentElement.clientWidth; 2043 return Math.abs(window.innerWidth - t); 2044 } 2045 hide() { 2046 const t = this.getWidth(); 2047 this._disableOverFlow(), 2048 this._setElementAttributes(this._element, "paddingRight", (e) => e + t), 2049 this._setElementAttributes( 2050 ".fixed-top, .fixed-bottom, .is-fixed, .sticky-top", 2051 "paddingRight", 2052 (e) => e + t 2053 ), 2054 this._setElementAttributes(".sticky-top", "marginRight", (e) => e - t); 2055 } 2056 _disableOverFlow() { 2057 this._saveInitialAttribute(this._element, "overflow"), 2058 (this._element.style.overflow = "hidden"); 2059 } 2060 _setElementAttributes(t, e, s) { 2061 const i = this.getWidth(); 2062 this._applyManipulationCallback(t, (t) => { 2063 if (t !== this._element && window.innerWidth > t.clientWidth + i) 2064 return; 2065 this._saveInitialAttribute(t, e); 2066 const n = window.getComputedStyle(t)[e]; 2067 t.style[e] = s(Number.parseFloat(n)) + "px"; 2068 }); 2069 } 2070 reset() { 2071 this._resetElementAttributes(this._element, "overflow"), 2072 this._resetElementAttributes(this._element, "paddingRight"), 2073 this._resetElementAttributes( 2074 ".fixed-top, .fixed-bottom, .is-fixed, .sticky-top", 2075 "paddingRight" 2076 ), 2077 this._resetElementAttributes(".sticky-top", "marginRight"); 2078 } 2079 _saveInitialAttribute(t, e) { 2080 const s = t.style[e]; 2081 s && V.setDataAttribute(t, e, s); 2082 } 2083 _resetElementAttributes(t, e) { 2084 this._applyManipulationCallback(t, (t) => { 2085 const s = V.getDataAttribute(t, e); 2086 void 0 === s 2087 ? t.style.removeProperty(e) 2088 : (V.removeDataAttribute(t, e), (t.style[e] = s)); 2089 }); 2090 } 2091 _applyManipulationCallback(t, e) { 2092 c(t) ? e(t) : i.find(t, this._element).forEach(e); 2093 } 2094 isOverflowing() { 2095 return this.getWidth() > 0; 2096 } 2097 } 2098 const mt = { 2099 isVisible: !0, 2100 isAnimated: !1, 2101 rootElement: "body", 2102 clickCallback: null, 2103 }, 2104 _t = { 2105 isVisible: "boolean", 2106 isAnimated: "boolean", 2107 rootElement: "(element|string)", 2108 clickCallback: "(function|null)", 2109 }; 2110 class bt { 2111 constructor(t) { 2112 (this._config = this._getConfig(t)), 2113 (this._isAppended = !1), 2114 (this._element = null); 2115 } 2116 show(t) { 2117 this._config.isVisible 2118 ? (this._append(), 2119 this._config.isAnimated && m(this._getElement()), 2120 this._getElement().classList.add("show"), 2121 this._emulateAnimation(() => { 2122 w(t); 2123 })) 2124 : w(t); 2125 } 2126 hide(t) { 2127 this._config.isVisible 2128 ? (this._getElement().classList.remove("show"), 2129 this._emulateAnimation(() => { 2130 this.dispose(), w(t); 2131 })) 2132 : w(t); 2133 } 2134 _getElement() { 2135 if (!this._element) { 2136 const t = document.createElement("div"); 2137 (t.className = "modal-backdrop"), 2138 this._config.isAnimated && t.classList.add("fade"), 2139 (this._element = t); 2140 } 2141 return this._element; 2142 } 2143 _getConfig(t) { 2144 return ( 2145 ((t = { ...mt, ...("object" == typeof t ? t : {}) }).rootElement = h( 2146 t.rootElement 2147 )), 2148 d("backdrop", t, _t), 2149 t 2150 ); 2151 } 2152 _append() { 2153 this._isAppended || 2154 (this._config.rootElement.appendChild(this._getElement()), 2155 B.on(this._getElement(), "mousedown.bs.backdrop", () => { 2156 w(this._config.clickCallback); 2157 }), 2158 (this._isAppended = !0)); 2159 } 2160 dispose() { 2161 this._isAppended && 2162 (B.off(this._element, "mousedown.bs.backdrop"), 2163 this._element.remove(), 2164 (this._isAppended = !1)); 2165 } 2166 _emulateAnimation(t) { 2167 E(t, this._getElement(), this._config.isAnimated); 2168 } 2169 } 2170 const vt = { backdrop: !0, keyboard: !0, focus: !0 }, 2171 yt = { 2172 backdrop: "(boolean|string)", 2173 keyboard: "boolean", 2174 focus: "boolean", 2175 }; 2176 class wt extends q { 2177 constructor(t, e) { 2178 super(t), 2179 (this._config = this._getConfig(e)), 2180 (this._dialog = i.findOne(".modal-dialog", this._element)), 2181 (this._backdrop = this._initializeBackDrop()), 2182 (this._isShown = !1), 2183 (this._ignoreBackdropClick = !1), 2184 (this._isTransitioning = !1), 2185 (this._scrollBar = new ft()); 2186 } 2187 static get Default() { 2188 return vt; 2189 } 2190 static get NAME() { 2191 return "modal"; 2192 } 2193 toggle(t) { 2194 return this._isShown ? this.hide() : this.show(t); 2195 } 2196 show(t) { 2197 this._isShown || 2198 this._isTransitioning || 2199 B.trigger(this._element, "show.bs.modal", { relatedTarget: t }) 2200 .defaultPrevented || 2201 ((this._isShown = !0), 2202 this._isAnimated() && (this._isTransitioning = !0), 2203 this._scrollBar.hide(), 2204 document.body.classList.add("modal-open"), 2205 this._adjustDialog(), 2206 this._setEscapeEvent(), 2207 this._setResizeEvent(), 2208 B.on( 2209 this._element, 2210 "click.dismiss.bs.modal", 2211 '[data-bs-dismiss="modal"]', 2212 (t) => this.hide(t) 2213 ), 2214 B.on(this._dialog, "mousedown.dismiss.bs.modal", () => { 2215 B.one(this._element, "mouseup.dismiss.bs.modal", (t) => { 2216 t.target === this._element && (this._ignoreBackdropClick = !0); 2217 }); 2218 }), 2219 this._showBackdrop(() => this._showElement(t))); 2220 } 2221 hide(t) { 2222 if ( 2223 (t && ["A", "AREA"].includes(t.target.tagName) && t.preventDefault(), 2224 !this._isShown || this._isTransitioning) 2225 ) 2226 return; 2227 if (B.trigger(this._element, "hide.bs.modal").defaultPrevented) return; 2228 this._isShown = !1; 2229 const e = this._isAnimated(); 2230 e && (this._isTransitioning = !0), 2231 this._setEscapeEvent(), 2232 this._setResizeEvent(), 2233 B.off(document, "focusin.bs.modal"), 2234 this._element.classList.remove("show"), 2235 B.off(this._element, "click.dismiss.bs.modal"), 2236 B.off(this._dialog, "mousedown.dismiss.bs.modal"), 2237 this._queueCallback(() => this._hideModal(), this._element, e); 2238 } 2239 dispose() { 2240 [window, this._dialog].forEach((t) => B.off(t, ".bs.modal")), 2241 this._backdrop.dispose(), 2242 super.dispose(), 2243 B.off(document, "focusin.bs.modal"); 2244 } 2245 handleUpdate() { 2246 this._adjustDialog(); 2247 } 2248 _initializeBackDrop() { 2249 return new bt({ 2250 isVisible: Boolean(this._config.backdrop), 2251 isAnimated: this._isAnimated(), 2252 }); 2253 } 2254 _getConfig(t) { 2255 return ( 2256 (t = { 2257 ...vt, 2258 ...V.getDataAttributes(this._element), 2259 ...("object" == typeof t ? t : {}), 2260 }), 2261 d("modal", t, yt), 2262 t 2263 ); 2264 } 2265 _showElement(t) { 2266 const e = this._isAnimated(), 2267 s = i.findOne(".modal-body", this._dialog); 2268 (this._element.parentNode && 2269 this._element.parentNode.nodeType === Node.ELEMENT_NODE) || 2270 document.body.appendChild(this._element), 2271 (this._element.style.display = "block"), 2272 this._element.removeAttribute("aria-hidden"), 2273 this._element.setAttribute("aria-modal", !0), 2274 this._element.setAttribute("role", "dialog"), 2275 (this._element.scrollTop = 0), 2276 s && (s.scrollTop = 0), 2277 e && m(this._element), 2278 this._element.classList.add("show"), 2279 this._config.focus && this._enforceFocus(), 2280 this._queueCallback( 2281 () => { 2282 this._config.focus && this._element.focus(), 2283 (this._isTransitioning = !1), 2284 B.trigger(this._element, "shown.bs.modal", { relatedTarget: t }); 2285 }, 2286 this._dialog, 2287 e 2288 ); 2289 } 2290 _enforceFocus() { 2291 B.off(document, "focusin.bs.modal"), 2292 B.on(document, "focusin.bs.modal", (t) => { 2293 document === t.target || 2294 this._element === t.target || 2295 this._element.contains(t.target) || 2296 this._element.focus(); 2297 }); 2298 } 2299 _setEscapeEvent() { 2300 this._isShown 2301 ? B.on(this._element, "keydown.dismiss.bs.modal", (t) => { 2302 this._config.keyboard && "Escape" === t.key 2303 ? (t.preventDefault(), this.hide()) 2304 : this._config.keyboard || 2305 "Escape" !== t.key || 2306 this._triggerBackdropTransition(); 2307 }) 2308 : B.off(this._element, "keydown.dismiss.bs.modal"); 2309 } 2310 _setResizeEvent() { 2311 this._isShown 2312 ? B.on(window, "resize.bs.modal", () => this._adjustDialog()) 2313 : B.off(window, "resize.bs.modal"); 2314 } 2315 _hideModal() { 2316 (this._element.style.display = "none"), 2317 this._element.setAttribute("aria-hidden", !0), 2318 this._element.removeAttribute("aria-modal"), 2319 this._element.removeAttribute("role"), 2320 (this._isTransitioning = !1), 2321 this._backdrop.hide(() => { 2322 document.body.classList.remove("modal-open"), 2323 this._resetAdjustments(), 2324 this._scrollBar.reset(), 2325 B.trigger(this._element, "hidden.bs.modal"); 2326 }); 2327 } 2328 _showBackdrop(t) { 2329 B.on(this._element, "click.dismiss.bs.modal", (t) => { 2330 this._ignoreBackdropClick 2331 ? (this._ignoreBackdropClick = !1) 2332 : t.target === t.currentTarget && 2333 (!0 === this._config.backdrop 2334 ? this.hide() 2335 : "static" === this._config.backdrop && 2336 this._triggerBackdropTransition()); 2337 }), 2338 this._backdrop.show(t); 2339 } 2340 _isAnimated() { 2341 return this._element.classList.contains("fade"); 2342 } 2343 _triggerBackdropTransition() { 2344 if (B.trigger(this._element, "hidePrevented.bs.modal").defaultPrevented) 2345 return; 2346 const { classList: t, scrollHeight: e, style: s } = this._element, 2347 i = e > document.documentElement.clientHeight; 2348 (!i && "hidden" === s.overflowY) || 2349 t.contains("modal-static") || 2350 (i || (s.overflowY = "hidden"), 2351 t.add("modal-static"), 2352 this._queueCallback(() => { 2353 t.remove("modal-static"), 2354 i || 2355 this._queueCallback(() => { 2356 s.overflowY = ""; 2357 }, this._dialog); 2358 }, this._dialog), 2359 this._element.focus()); 2360 } 2361 _adjustDialog() { 2362 const t = 2363 this._element.scrollHeight > document.documentElement.clientHeight, 2364 e = this._scrollBar.getWidth(), 2365 s = e > 0; 2366 ((!s && t && !v()) || (s && !t && v())) && 2367 (this._element.style.paddingLeft = e + "px"), 2368 ((s && !t && !v()) || (!s && t && v())) && 2369 (this._element.style.paddingRight = e + "px"); 2370 } 2371 _resetAdjustments() { 2372 (this._element.style.paddingLeft = ""), 2373 (this._element.style.paddingRight = ""); 2374 } 2375 static jQueryInterface(t, e) { 2376 return this.each(function () { 2377 const s = wt.getOrCreateInstance(this, t); 2378 if ("string" == typeof t) { 2379 if (void 0 === s[t]) throw new TypeError(`No method named "${t}"`); 2380 s[t](e); 2381 } 2382 }); 2383 } 2384 } 2385 B.on( 2386 document, 2387 "click.bs.modal.data-api", 2388 '[data-bs-toggle="modal"]', 2389 function (t) { 2390 const e = a(this); 2391 ["A", "AREA"].includes(this.tagName) && t.preventDefault(), 2392 B.one(e, "show.bs.modal", (t) => { 2393 t.defaultPrevented || 2394 B.one(e, "hidden.bs.modal", () => { 2395 u(this) && this.focus(); 2396 }); 2397 }), 2398 wt.getOrCreateInstance(e).toggle(this); 2399 } 2400 ), 2401 y(wt); 2402 const Et = { backdrop: !0, keyboard: !0, scroll: !1 }, 2403 At = { backdrop: "boolean", keyboard: "boolean", scroll: "boolean" }; 2404 class Tt extends q { 2405 constructor(t, e) { 2406 super(t), 2407 (this._config = this._getConfig(e)), 2408 (this._isShown = !1), 2409 (this._backdrop = this._initializeBackDrop()), 2410 this._addEventListeners(); 2411 } 2412 static get NAME() { 2413 return "offcanvas"; 2414 } 2415 static get Default() { 2416 return Et; 2417 } 2418 toggle(t) { 2419 return this._isShown ? this.hide() : this.show(t); 2420 } 2421 show(t) { 2422 this._isShown || 2423 B.trigger(this._element, "show.bs.offcanvas", { relatedTarget: t }) 2424 .defaultPrevented || 2425 ((this._isShown = !0), 2426 (this._element.style.visibility = "visible"), 2427 this._backdrop.show(), 2428 this._config.scroll || 2429 (new ft().hide(), this._enforceFocusOnElement(this._element)), 2430 this._element.removeAttribute("aria-hidden"), 2431 this._element.setAttribute("aria-modal", !0), 2432 this._element.setAttribute("role", "dialog"), 2433 this._element.classList.add("show"), 2434 this._queueCallback( 2435 () => { 2436 B.trigger(this._element, "shown.bs.offcanvas", { 2437 relatedTarget: t, 2438 }); 2439 }, 2440 this._element, 2441 !0 2442 )); 2443 } 2444 hide() { 2445 this._isShown && 2446 (B.trigger(this._element, "hide.bs.offcanvas").defaultPrevented || 2447 (B.off(document, "focusin.bs.offcanvas"), 2448 this._element.blur(), 2449 (this._isShown = !1), 2450 this._element.classList.remove("show"), 2451 this._backdrop.hide(), 2452 this._queueCallback( 2453 () => { 2454 this._element.setAttribute("aria-hidden", !0), 2455 this._element.removeAttribute("aria-modal"), 2456 this._element.removeAttribute("role"), 2457 (this._element.style.visibility = "hidden"), 2458 this._config.scroll || new ft().reset(), 2459 B.trigger(this._element, "hidden.bs.offcanvas"); 2460 }, 2461 this._element, 2462 !0 2463 ))); 2464 } 2465 dispose() { 2466 this._backdrop.dispose(), 2467 super.dispose(), 2468 B.off(document, "focusin.bs.offcanvas"); 2469 } 2470 _getConfig(t) { 2471 return ( 2472 (t = { 2473 ...Et, 2474 ...V.getDataAttributes(this._element), 2475 ...("object" == typeof t ? t : {}), 2476 }), 2477 d("offcanvas", t, At), 2478 t 2479 ); 2480 } 2481 _initializeBackDrop() { 2482 return new bt({ 2483 isVisible: this._config.backdrop, 2484 isAnimated: !0, 2485 rootElement: this._element.parentNode, 2486 clickCallback: () => this.hide(), 2487 }); 2488 } 2489 _enforceFocusOnElement(t) { 2490 B.off(document, "focusin.bs.offcanvas"), 2491 B.on(document, "focusin.bs.offcanvas", (e) => { 2492 document === e.target || 2493 t === e.target || 2494 t.contains(e.target) || 2495 t.focus(); 2496 }), 2497 t.focus(); 2498 } 2499 _addEventListeners() { 2500 B.on( 2501 this._element, 2502 "click.dismiss.bs.offcanvas", 2503 '[data-bs-dismiss="offcanvas"]', 2504 () => this.hide() 2505 ), 2506 B.on(this._element, "keydown.dismiss.bs.offcanvas", (t) => { 2507 this._config.keyboard && "Escape" === t.key && this.hide(); 2508 }); 2509 } 2510 static jQueryInterface(t) { 2511 return this.each(function () { 2512 const e = Tt.getOrCreateInstance(this, t); 2513 if ("string" == typeof t) { 2514 if (void 0 === e[t] || t.startsWith("_") || "constructor" === t) 2515 throw new TypeError(`No method named "${t}"`); 2516 e[t](this); 2517 } 2518 }); 2519 } 2520 } 2521 B.on( 2522 document, 2523 "click.bs.offcanvas.data-api", 2524 '[data-bs-toggle="offcanvas"]', 2525 function (t) { 2526 const e = a(this); 2527 if ((["A", "AREA"].includes(this.tagName) && t.preventDefault(), g(this))) 2528 return; 2529 B.one(e, "hidden.bs.offcanvas", () => { 2530 u(this) && this.focus(); 2531 }); 2532 const s = i.findOne(".offcanvas.show"); 2533 s && s !== e && Tt.getInstance(s).hide(), 2534 Tt.getOrCreateInstance(e).toggle(this); 2535 } 2536 ), 2537 B.on(window, "load.bs.offcanvas.data-api", () => 2538 i.find(".offcanvas.show").forEach((t) => Tt.getOrCreateInstance(t).show()) 2539 ), 2540 y(Tt); 2541 const Ct = new Set([ 2542 "background", 2543 "cite", 2544 "href", 2545 "itemtype", 2546 "longdesc", 2547 "poster", 2548 "src", 2549 "xlink:href", 2550 ]), 2551 kt = /^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/i, 2552 Lt = 2553 /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i, 2554 Ot = (t, e) => { 2555 const s = t.nodeName.toLowerCase(); 2556 if (e.includes(s)) 2557 return ( 2558 !Ct.has(s) || Boolean(kt.test(t.nodeValue) || Lt.test(t.nodeValue)) 2559 ); 2560 const i = e.filter((t) => t instanceof RegExp); 2561 for (let t = 0, e = i.length; t < e; t++) if (i[t].test(s)) return !0; 2562 return !1; 2563 }; 2564 function Dt(t, e, s) { 2565 if (!t.length) return t; 2566 if (s && "function" == typeof s) return s(t); 2567 const i = new window.DOMParser().parseFromString(t, "text/html"), 2568 n = Object.keys(e), 2569 o = [].concat(...i.body.querySelectorAll("*")); 2570 for (let t = 0, s = o.length; t < s; t++) { 2571 const s = o[t], 2572 i = s.nodeName.toLowerCase(); 2573 if (!n.includes(i)) { 2574 s.remove(); 2575 continue; 2576 } 2577 const r = [].concat(...s.attributes), 2578 a = [].concat(e["*"] || [], e[i] || []); 2579 r.forEach((t) => { 2580 Ot(t, a) || s.removeAttribute(t.nodeName); 2581 }); 2582 } 2583 return i.body.innerHTML; 2584 } 2585 const It = new RegExp("(^|\\s)bs-tooltip\\S+", "g"), 2586 Nt = new Set(["sanitize", "allowList", "sanitizeFn"]), 2587 St = { 2588 animation: "boolean", 2589 template: "string", 2590 title: "(string|element|function)", 2591 trigger: "string", 2592 delay: "(number|object)", 2593 html: "boolean", 2594 selector: "(string|boolean)", 2595 placement: "(string|function)", 2596 offset: "(array|string|function)", 2597 container: "(string|element|boolean)", 2598 fallbackPlacements: "array", 2599 boundary: "(string|element)", 2600 customClass: "(string|function)", 2601 sanitize: "boolean", 2602 sanitizeFn: "(null|function)", 2603 allowList: "object", 2604 popperConfig: "(null|object|function)", 2605 }, 2606 xt = { 2607 AUTO: "auto", 2608 TOP: "top", 2609 RIGHT: v() ? "left" : "right", 2610 BOTTOM: "bottom", 2611 LEFT: v() ? "right" : "left", 2612 }, 2613 Mt = { 2614 animation: !0, 2615 template: 2616 '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>', 2617 trigger: "hover focus", 2618 title: "", 2619 delay: 0, 2620 html: !1, 2621 selector: !1, 2622 placement: "top", 2623 offset: [0, 0], 2624 container: !1, 2625 fallbackPlacements: ["top", "right", "bottom", "left"], 2626 boundary: "clippingParents", 2627 customClass: "", 2628 sanitize: !0, 2629 sanitizeFn: null, 2630 allowList: { 2631 "*": ["class", "dir", "id", "lang", "role", /^aria-[\w-]*$/i], 2632 a: ["target", "href", "title", "rel"], 2633 area: [], 2634 b: [], 2635 br: [], 2636 col: [], 2637 code: [], 2638 div: [], 2639 em: [], 2640 hr: [], 2641 h1: [], 2642 h2: [], 2643 h3: [], 2644 h4: [], 2645 h5: [], 2646 h6: [], 2647 i: [], 2648 img: ["src", "srcset", "alt", "title", "width", "height"], 2649 li: [], 2650 ol: [], 2651 p: [], 2652 pre: [], 2653 s: [], 2654 small: [], 2655 span: [], 2656 sub: [], 2657 sup: [], 2658 strong: [], 2659 u: [], 2660 ul: [], 2661 }, 2662 popperConfig: null, 2663 }, 2664 Pt = { 2665 HIDE: "hide.bs.tooltip", 2666 HIDDEN: "hidden.bs.tooltip", 2667 SHOW: "show.bs.tooltip", 2668 SHOWN: "shown.bs.tooltip", 2669 INSERTED: "inserted.bs.tooltip", 2670 CLICK: "click.bs.tooltip", 2671 FOCUSIN: "focusin.bs.tooltip", 2672 FOCUSOUT: "focusout.bs.tooltip", 2673 MOUSEENTER: "mouseenter.bs.tooltip", 2674 MOUSELEAVE: "mouseleave.bs.tooltip", 2675 }; 2676 class jt extends q { 2677 constructor(t, e) { 2678 if (void 0 === s) 2679 throw new TypeError( 2680 "Bootstrap's tooltips require Popper (https://popper.js.org)" 2681 ); 2682 super(t), 2683 (this._isEnabled = !0), 2684 (this._timeout = 0), 2685 (this._hoverState = ""), 2686 (this._activeTrigger = {}), 2687 (this._popper = null), 2688 (this._config = this._getConfig(e)), 2689 (this.tip = null), 2690 this._setListeners(); 2691 } 2692 static get Default() { 2693 return Mt; 2694 } 2695 static get NAME() { 2696 return "tooltip"; 2697 } 2698 static get Event() { 2699 return Pt; 2700 } 2701 static get DefaultType() { 2702 return St; 2703 } 2704 enable() { 2705 this._isEnabled = !0; 2706 } 2707 disable() { 2708 this._isEnabled = !1; 2709 } 2710 toggleEnabled() { 2711 this._isEnabled = !this._isEnabled; 2712 } 2713 toggle(t) { 2714 if (this._isEnabled) 2715 if (t) { 2716 const e = this._initializeOnDelegatedTarget(t); 2717 (e._activeTrigger.click = !e._activeTrigger.click), 2718 e._isWithActiveTrigger() ? e._enter(null, e) : e._leave(null, e); 2719 } else { 2720 if (this.getTipElement().classList.contains("show")) 2721 return void this._leave(null, this); 2722 this._enter(null, this); 2723 } 2724 } 2725 dispose() { 2726 clearTimeout(this._timeout), 2727 B.off( 2728 this._element.closest(".modal"), 2729 "hide.bs.modal", 2730 this._hideModalHandler 2731 ), 2732 this.tip && this.tip.remove(), 2733 this._popper && this._popper.destroy(), 2734 super.dispose(); 2735 } 2736 show() { 2737 if ("none" === this._element.style.display) 2738 throw new Error("Please use show on visible elements"); 2739 if (!this.isWithContent() || !this._isEnabled) return; 2740 const t = B.trigger(this._element, this.constructor.Event.SHOW), 2741 e = p(this._element), 2742 i = 2743 null === e 2744 ? this._element.ownerDocument.documentElement.contains( 2745 this._element 2746 ) 2747 : e.contains(this._element); 2748 if (t.defaultPrevented || !i) return; 2749 const o = this.getTipElement(), 2750 r = n(this.constructor.NAME); 2751 o.setAttribute("id", r), 2752 this._element.setAttribute("aria-describedby", r), 2753 this.setContent(), 2754 this._config.animation && o.classList.add("fade"); 2755 const a = 2756 "function" == typeof this._config.placement 2757 ? this._config.placement.call(this, o, this._element) 2758 : this._config.placement, 2759 l = this._getAttachment(a); 2760 this._addAttachmentClass(l); 2761 const { container: c } = this._config; 2762 W.set(o, this.constructor.DATA_KEY, this), 2763 this._element.ownerDocument.documentElement.contains(this.tip) || 2764 (c.appendChild(o), 2765 B.trigger(this._element, this.constructor.Event.INSERTED)), 2766 this._popper 2767 ? this._popper.update() 2768 : (this._popper = s.createPopper( 2769 this._element, 2770 o, 2771 this._getPopperConfig(l) 2772 )), 2773 o.classList.add("show"); 2774 const h = 2775 "function" == typeof this._config.customClass 2776 ? this._config.customClass() 2777 : this._config.customClass; 2778 h && o.classList.add(...h.split(" ")), 2779 "ontouchstart" in document.documentElement && 2780 [].concat(...document.body.children).forEach((t) => { 2781 B.on(t, "mouseover", f); 2782 }); 2783 const d = this.tip.classList.contains("fade"); 2784 this._queueCallback( 2785 () => { 2786 const t = this._hoverState; 2787 (this._hoverState = null), 2788 B.trigger(this._element, this.constructor.Event.SHOWN), 2789 "out" === t && this._leave(null, this); 2790 }, 2791 this.tip, 2792 d 2793 ); 2794 } 2795 hide() { 2796 if (!this._popper) return; 2797 const t = this.getTipElement(); 2798 if ( 2799 B.trigger(this._element, this.constructor.Event.HIDE).defaultPrevented 2800 ) 2801 return; 2802 t.classList.remove("show"), 2803 "ontouchstart" in document.documentElement && 2804 [] 2805 .concat(...document.body.children) 2806 .forEach((t) => B.off(t, "mouseover", f)), 2807 (this._activeTrigger.click = !1), 2808 (this._activeTrigger.focus = !1), 2809 (this._activeTrigger.hover = !1); 2810 const e = this.tip.classList.contains("fade"); 2811 this._queueCallback( 2812 () => { 2813 this._isWithActiveTrigger() || 2814 ("show" !== this._hoverState && t.remove(), 2815 this._cleanTipClass(), 2816 this._element.removeAttribute("aria-describedby"), 2817 B.trigger(this._element, this.constructor.Event.HIDDEN), 2818 this._popper && (this._popper.destroy(), (this._popper = null))); 2819 }, 2820 this.tip, 2821 e 2822 ), 2823 (this._hoverState = ""); 2824 } 2825 update() { 2826 null !== this._popper && this._popper.update(); 2827 } 2828 isWithContent() { 2829 return Boolean(this.getTitle()); 2830 } 2831 getTipElement() { 2832 if (this.tip) return this.tip; 2833 const t = document.createElement("div"); 2834 return ( 2835 (t.innerHTML = this._config.template), 2836 (this.tip = t.children[0]), 2837 this.tip 2838 ); 2839 } 2840 setContent() { 2841 const t = this.getTipElement(); 2842 this.setElementContent(i.findOne(".tooltip-inner", t), this.getTitle()), 2843 t.classList.remove("fade", "show"); 2844 } 2845 setElementContent(t, e) { 2846 if (null !== t) 2847 return c(e) 2848 ? ((e = h(e)), 2849 void (this._config.html 2850 ? e.parentNode !== t && ((t.innerHTML = ""), t.appendChild(e)) 2851 : (t.textContent = e.textContent))) 2852 : void (this._config.html 2853 ? (this._config.sanitize && 2854 (e = Dt(e, this._config.allowList, this._config.sanitizeFn)), 2855 (t.innerHTML = e)) 2856 : (t.textContent = e)); 2857 } 2858 getTitle() { 2859 let t = this._element.getAttribute("data-bs-original-title"); 2860 return ( 2861 t || 2862 (t = 2863 "function" == typeof this._config.title 2864 ? this._config.title.call(this._element) 2865 : this._config.title), 2866 t 2867 ); 2868 } 2869 updateAttachment(t) { 2870 return "right" === t ? "end" : "left" === t ? "start" : t; 2871 } 2872 _initializeOnDelegatedTarget(t, e) { 2873 const s = this.constructor.DATA_KEY; 2874 return ( 2875 (e = e || W.get(t.delegateTarget, s)) || 2876 ((e = new this.constructor( 2877 t.delegateTarget, 2878 this._getDelegateConfig() 2879 )), 2880 W.set(t.delegateTarget, s, e)), 2881 e 2882 ); 2883 } 2884 _getOffset() { 2885 const { offset: t } = this._config; 2886 return "string" == typeof t 2887 ? t.split(",").map((t) => Number.parseInt(t, 10)) 2888 : "function" == typeof t 2889 ? (e) => t(e, this._element) 2890 : t; 2891 } 2892 _getPopperConfig(t) { 2893 const e = { 2894 placement: t, 2895 modifiers: [ 2896 { 2897 name: "flip", 2898 options: { fallbackPlacements: this._config.fallbackPlacements }, 2899 }, 2900 { name: "offset", options: { offset: this._getOffset() } }, 2901 { 2902 name: "preventOverflow", 2903 options: { boundary: this._config.boundary }, 2904 }, 2905 { 2906 name: "arrow", 2907 options: { element: `.${this.constructor.NAME}-arrow` }, 2908 }, 2909 { 2910 name: "onChange", 2911 enabled: !0, 2912 phase: "afterWrite", 2913 fn: (t) => this._handlePopperPlacementChange(t), 2914 }, 2915 ], 2916 onFirstUpdate: (t) => { 2917 t.options.placement !== t.placement && 2918 this._handlePopperPlacementChange(t); 2919 }, 2920 }; 2921 return { 2922 ...e, 2923 ...("function" == typeof this._config.popperConfig 2924 ? this._config.popperConfig(e) 2925 : this._config.popperConfig), 2926 }; 2927 } 2928 _addAttachmentClass(t) { 2929 this.getTipElement().classList.add( 2930 "bs-tooltip-" + this.updateAttachment(t) 2931 ); 2932 } 2933 _getAttachment(t) { 2934 return xt[t.toUpperCase()]; 2935 } 2936 _setListeners() { 2937 this._config.trigger.split(" ").forEach((t) => { 2938 if ("click" === t) 2939 B.on( 2940 this._element, 2941 this.constructor.Event.CLICK, 2942 this._config.selector, 2943 (t) => this.toggle(t) 2944 ); 2945 else if ("manual" !== t) { 2946 const e = 2947 "hover" === t 2948 ? this.constructor.Event.MOUSEENTER 2949 : this.constructor.Event.FOCUSIN, 2950 s = 2951 "hover" === t 2952 ? this.constructor.Event.MOUSELEAVE 2953 : this.constructor.Event.FOCUSOUT; 2954 B.on(this._element, e, this._config.selector, (t) => this._enter(t)), 2955 B.on(this._element, s, this._config.selector, (t) => 2956 this._leave(t) 2957 ); 2958 } 2959 }), 2960 (this._hideModalHandler = () => { 2961 this._element && this.hide(); 2962 }), 2963 B.on( 2964 this._element.closest(".modal"), 2965 "hide.bs.modal", 2966 this._hideModalHandler 2967 ), 2968 this._config.selector 2969 ? (this._config = { 2970 ...this._config, 2971 trigger: "manual", 2972 selector: "", 2973 }) 2974 : this._fixTitle(); 2975 } 2976 _fixTitle() { 2977 const t = this._element.getAttribute("title"), 2978 e = typeof this._element.getAttribute("data-bs-original-title"); 2979 (t || "string" !== e) && 2980 (this._element.setAttribute("data-bs-original-title", t || ""), 2981 !t || 2982 this._element.getAttribute("aria-label") || 2983 this._element.textContent || 2984 this._element.setAttribute("aria-label", t), 2985 this._element.setAttribute("title", "")); 2986 } 2987 _enter(t, e) { 2988 (e = this._initializeOnDelegatedTarget(t, e)), 2989 t && (e._activeTrigger["focusin" === t.type ? "focus" : "hover"] = !0), 2990 e.getTipElement().classList.contains("show") || "show" === e._hoverState 2991 ? (e._hoverState = "show") 2992 : (clearTimeout(e._timeout), 2993 (e._hoverState = "show"), 2994 e._config.delay && e._config.delay.show 2995 ? (e._timeout = setTimeout(() => { 2996 "show" === e._hoverState && e.show(); 2997 }, e._config.delay.show)) 2998 : e.show()); 2999 } 3000 _leave(t, e) { 3001 (e = this._initializeOnDelegatedTarget(t, e)), 3002 t && 3003 (e._activeTrigger["focusout" === t.type ? "focus" : "hover"] = 3004 e._element.contains(t.relatedTarget)), 3005 e._isWithActiveTrigger() || 3006 (clearTimeout(e._timeout), 3007 (e._hoverState = "out"), 3008 e._config.delay && e._config.delay.hide 3009 ? (e._timeout = setTimeout(() => { 3010 "out" === e._hoverState && e.hide(); 3011 }, e._config.delay.hide)) 3012 : e.hide()); 3013 } 3014 _isWithActiveTrigger() { 3015 for (const t in this._activeTrigger) 3016 if (this._activeTrigger[t]) return !0; 3017 return !1; 3018 } 3019 _getConfig(t) { 3020 const e = V.getDataAttributes(this._element); 3021 return ( 3022 Object.keys(e).forEach((t) => { 3023 Nt.has(t) && delete e[t]; 3024 }), 3025 ((t = { 3026 ...this.constructor.Default, 3027 ...e, 3028 ...("object" == typeof t && t ? t : {}), 3029 }).container = !1 === t.container ? document.body : h(t.container)), 3030 "number" == typeof t.delay && 3031 (t.delay = { show: t.delay, hide: t.delay }), 3032 "number" == typeof t.title && (t.title = t.title.toString()), 3033 "number" == typeof t.content && (t.content = t.content.toString()), 3034 d("tooltip", t, this.constructor.DefaultType), 3035 t.sanitize && (t.template = Dt(t.template, t.allowList, t.sanitizeFn)), 3036 t 3037 ); 3038 } 3039 _getDelegateConfig() { 3040 const t = {}; 3041 if (this._config) 3042 for (const e in this._config) 3043 this.constructor.Default[e] !== this._config[e] && 3044 (t[e] = this._config[e]); 3045 return t; 3046 } 3047 _cleanTipClass() { 3048 const t = this.getTipElement(), 3049 e = t.getAttribute("class").match(It); 3050 null !== e && 3051 e.length > 0 && 3052 e.map((t) => t.trim()).forEach((e) => t.classList.remove(e)); 3053 } 3054 _handlePopperPlacementChange(t) { 3055 const { state: e } = t; 3056 e && 3057 ((this.tip = e.elements.popper), 3058 this._cleanTipClass(), 3059 this._addAttachmentClass(this._getAttachment(e.placement))); 3060 } 3061 static jQueryInterface(t) { 3062 return this.each(function () { 3063 const e = jt.getOrCreateInstance(this, t); 3064 if ("string" == typeof t) { 3065 if (void 0 === e[t]) throw new TypeError(`No method named "${t}"`); 3066 e[t](); 3067 } 3068 }); 3069 } 3070 } 3071 y(jt); 3072 const Ht = new RegExp("(^|\\s)bs-popover\\S+", "g"), 3073 Rt = { 3074 ...jt.Default, 3075 placement: "right", 3076 offset: [0, 8], 3077 trigger: "click", 3078 content: "", 3079 template: 3080 '<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>', 3081 }, 3082 Bt = { ...jt.DefaultType, content: "(string|element|function)" }, 3083 $t = { 3084 HIDE: "hide.bs.popover", 3085 HIDDEN: "hidden.bs.popover", 3086 SHOW: "show.bs.popover", 3087 SHOWN: "shown.bs.popover", 3088 INSERTED: "inserted.bs.popover", 3089 CLICK: "click.bs.popover", 3090 FOCUSIN: "focusin.bs.popover", 3091 FOCUSOUT: "focusout.bs.popover", 3092 MOUSEENTER: "mouseenter.bs.popover", 3093 MOUSELEAVE: "mouseleave.bs.popover", 3094 }; 3095 class Wt extends jt { 3096 static get Default() { 3097 return Rt; 3098 } 3099 static get NAME() { 3100 return "popover"; 3101 } 3102 static get Event() { 3103 return $t; 3104 } 3105 static get DefaultType() { 3106 return Bt; 3107 } 3108 isWithContent() { 3109 return this.getTitle() || this._getContent(); 3110 } 3111 getTipElement() { 3112 return ( 3113 this.tip || 3114 ((this.tip = super.getTipElement()), 3115 this.getTitle() || i.findOne(".popover-header", this.tip).remove(), 3116 this._getContent() || i.findOne(".popover-body", this.tip).remove()), 3117 this.tip 3118 ); 3119 } 3120 setContent() { 3121 const t = this.getTipElement(); 3122 this.setElementContent(i.findOne(".popover-header", t), this.getTitle()); 3123 let e = this._getContent(); 3124 "function" == typeof e && (e = e.call(this._element)), 3125 this.setElementContent(i.findOne(".popover-body", t), e), 3126 t.classList.remove("fade", "show"); 3127 } 3128 _addAttachmentClass(t) { 3129 this.getTipElement().classList.add( 3130 "bs-popover-" + this.updateAttachment(t) 3131 ); 3132 } 3133 _getContent() { 3134 return ( 3135 this._element.getAttribute("data-bs-content") || this._config.content 3136 ); 3137 } 3138 _cleanTipClass() { 3139 const t = this.getTipElement(), 3140 e = t.getAttribute("class").match(Ht); 3141 null !== e && 3142 e.length > 0 && 3143 e.map((t) => t.trim()).forEach((e) => t.classList.remove(e)); 3144 } 3145 static jQueryInterface(t) { 3146 return this.each(function () { 3147 const e = Wt.getOrCreateInstance(this, t); 3148 if ("string" == typeof t) { 3149 if (void 0 === e[t]) throw new TypeError(`No method named "${t}"`); 3150 e[t](); 3151 } 3152 }); 3153 } 3154 } 3155 y(Wt); 3156 const qt = { offset: 10, method: "auto", target: "" }, 3157 zt = { offset: "number", method: "string", target: "(string|element)" }; 3158 class Ft extends q { 3159 constructor(t, e) { 3160 super(t), 3161 (this._scrollElement = 3162 "BODY" === this._element.tagName ? window : this._element), 3163 (this._config = this._getConfig(e)), 3164 (this._selector = `${this._config.target} .nav-link, ${this._config.target} .list-group-item, ${this._config.target} .dropdown-item`), 3165 (this._offsets = []), 3166 (this._targets = []), 3167 (this._activeTarget = null), 3168 (this._scrollHeight = 0), 3169 B.on(this._scrollElement, "scroll.bs.scrollspy", () => this._process()), 3170 this.refresh(), 3171 this._process(); 3172 } 3173 static get Default() { 3174 return qt; 3175 } 3176 static get NAME() { 3177 return "scrollspy"; 3178 } 3179 refresh() { 3180 const t = 3181 this._scrollElement === this._scrollElement.window 3182 ? "offset" 3183 : "position", 3184 e = "auto" === this._config.method ? t : this._config.method, 3185 s = "position" === e ? this._getScrollTop() : 0; 3186 (this._offsets = []), 3187 (this._targets = []), 3188 (this._scrollHeight = this._getScrollHeight()), 3189 i 3190 .find(this._selector) 3191 .map((t) => { 3192 const n = r(t), 3193 o = n ? i.findOne(n) : null; 3194 if (o) { 3195 const t = o.getBoundingClientRect(); 3196 if (t.width || t.height) return [V[e](o).top + s, n]; 3197 } 3198 return null; 3199 }) 3200 .filter((t) => t) 3201 .sort((t, e) => t[0] - e[0]) 3202 .forEach((t) => { 3203 this._offsets.push(t[0]), this._targets.push(t[1]); 3204 }); 3205 } 3206 dispose() { 3207 B.off(this._scrollElement, ".bs.scrollspy"), super.dispose(); 3208 } 3209 _getConfig(t) { 3210 if ( 3211 "string" != 3212 typeof (t = { 3213 ...qt, 3214 ...V.getDataAttributes(this._element), 3215 ...("object" == typeof t && t ? t : {}), 3216 }).target && 3217 c(t.target) 3218 ) { 3219 let { id: e } = t.target; 3220 e || ((e = n("scrollspy")), (t.target.id = e)), (t.target = "#" + e); 3221 } 3222 return d("scrollspy", t, zt), t; 3223 } 3224 _getScrollTop() { 3225 return this._scrollElement === window 3226 ? this._scrollElement.pageYOffset 3227 : this._scrollElement.scrollTop; 3228 } 3229 _getScrollHeight() { 3230 return ( 3231 this._scrollElement.scrollHeight || 3232 Math.max( 3233 document.body.scrollHeight, 3234 document.documentElement.scrollHeight 3235 ) 3236 ); 3237 } 3238 _getOffsetHeight() { 3239 return this._scrollElement === window 3240 ? window.innerHeight 3241 : this._scrollElement.getBoundingClientRect().height; 3242 } 3243 _process() { 3244 const t = this._getScrollTop() + this._config.offset, 3245 e = this._getScrollHeight(), 3246 s = this._config.offset + e - this._getOffsetHeight(); 3247 if ((this._scrollHeight !== e && this.refresh(), t >= s)) { 3248 const t = this._targets[this._targets.length - 1]; 3249 this._activeTarget !== t && this._activate(t); 3250 } else { 3251 if (this._activeTarget && t < this._offsets[0] && this._offsets[0] > 0) 3252 return (this._activeTarget = null), void this._clear(); 3253 for (let e = this._offsets.length; e--; ) 3254 this._activeTarget !== this._targets[e] && 3255 t >= this._offsets[e] && 3256 (void 0 === this._offsets[e + 1] || t < this._offsets[e + 1]) && 3257 this._activate(this._targets[e]); 3258 } 3259 } 3260 _activate(t) { 3261 (this._activeTarget = t), this._clear(); 3262 const e = this._selector 3263 .split(",") 3264 .map((e) => `${e}[data-bs-target="${t}"],${e}[href="${t}"]`), 3265 s = i.findOne(e.join(",")); 3266 s.classList.contains("dropdown-item") 3267 ? (i 3268 .findOne(".dropdown-toggle", s.closest(".dropdown")) 3269 .classList.add("active"), 3270 s.classList.add("active")) 3271 : (s.classList.add("active"), 3272 i.parents(s, ".nav, .list-group").forEach((t) => { 3273 i 3274 .prev(t, ".nav-link, .list-group-item") 3275 .forEach((t) => t.classList.add("active")), 3276 i.prev(t, ".nav-item").forEach((t) => { 3277 i.children(t, ".nav-link").forEach((t) => 3278 t.classList.add("active") 3279 ); 3280 }); 3281 })), 3282 B.trigger(this._scrollElement, "activate.bs.scrollspy", { 3283 relatedTarget: t, 3284 }); 3285 } 3286 _clear() { 3287 i.find(this._selector) 3288 .filter((t) => t.classList.contains("active")) 3289 .forEach((t) => t.classList.remove("active")); 3290 } 3291 static jQueryInterface(t) { 3292 return this.each(function () { 3293 const e = Ft.getOrCreateInstance(this, t); 3294 if ("string" == typeof t) { 3295 if (void 0 === e[t]) throw new TypeError(`No method named "${t}"`); 3296 e[t](); 3297 } 3298 }); 3299 } 3300 } 3301 B.on(window, "load.bs.scrollspy.data-api", () => { 3302 i.find('[data-bs-spy="scroll"]').forEach((t) => new Ft(t)); 3303 }), 3304 y(Ft); 3305 class Ut extends q { 3306 static get NAME() { 3307 return "tab"; 3308 } 3309 show() { 3310 if ( 3311 this._element.parentNode && 3312 this._element.parentNode.nodeType === Node.ELEMENT_NODE && 3313 this._element.classList.contains("active") 3314 ) 3315 return; 3316 let t; 3317 const e = a(this._element), 3318 s = this._element.closest(".nav, .list-group"); 3319 if (s) { 3320 const e = 3321 "UL" === s.nodeName || "OL" === s.nodeName 3322 ? ":scope > li > .active" 3323 : ".active"; 3324 (t = i.find(e, s)), (t = t[t.length - 1]); 3325 } 3326 const n = t 3327 ? B.trigger(t, "hide.bs.tab", { relatedTarget: this._element }) 3328 : null; 3329 if ( 3330 B.trigger(this._element, "show.bs.tab", { relatedTarget: t }) 3331 .defaultPrevented || 3332 (null !== n && n.defaultPrevented) 3333 ) 3334 return; 3335 this._activate(this._element, s); 3336 const o = () => { 3337 B.trigger(t, "hidden.bs.tab", { relatedTarget: this._element }), 3338 B.trigger(this._element, "shown.bs.tab", { relatedTarget: t }); 3339 }; 3340 e ? this._activate(e, e.parentNode, o) : o(); 3341 } 3342 _activate(t, e, s) { 3343 const n = ( 3344 !e || ("UL" !== e.nodeName && "OL" !== e.nodeName) 3345 ? i.children(e, ".active") 3346 : i.find(":scope > li > .active", e) 3347 )[0], 3348 o = s && n && n.classList.contains("fade"), 3349 r = () => this._transitionComplete(t, n, s); 3350 n && o 3351 ? (n.classList.remove("show"), this._queueCallback(r, t, !0)) 3352 : r(); 3353 } 3354 _transitionComplete(t, e, s) { 3355 if (e) { 3356 e.classList.remove("active"); 3357 const t = i.findOne(":scope > .dropdown-menu .active", e.parentNode); 3358 t && t.classList.remove("active"), 3359 "tab" === e.getAttribute("role") && 3360 e.setAttribute("aria-selected", !1); 3361 } 3362 t.classList.add("active"), 3363 "tab" === t.getAttribute("role") && t.setAttribute("aria-selected", !0), 3364 m(t), 3365 t.classList.contains("fade") && t.classList.add("show"); 3366 let n = t.parentNode; 3367 if ( 3368 (n && "LI" === n.nodeName && (n = n.parentNode), 3369 n && n.classList.contains("dropdown-menu")) 3370 ) { 3371 const e = t.closest(".dropdown"); 3372 e && 3373 i 3374 .find(".dropdown-toggle", e) 3375 .forEach((t) => t.classList.add("active")), 3376 t.setAttribute("aria-expanded", !0); 3377 } 3378 s && s(); 3379 } 3380 static jQueryInterface(t) { 3381 return this.each(function () { 3382 const e = Ut.getOrCreateInstance(this); 3383 if ("string" == typeof t) { 3384 if (void 0 === e[t]) throw new TypeError(`No method named "${t}"`); 3385 e[t](); 3386 } 3387 }); 3388 } 3389 } 3390 B.on( 3391 document, 3392 "click.bs.tab.data-api", 3393 '[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]', 3394 function (t) { 3395 ["A", "AREA"].includes(this.tagName) && t.preventDefault(), 3396 g(this) || Ut.getOrCreateInstance(this).show(); 3397 } 3398 ), 3399 y(Ut); 3400 const Kt = { animation: "boolean", autohide: "boolean", delay: "number" }, 3401 Vt = { animation: !0, autohide: !0, delay: 5e3 }; 3402 class Qt extends q { 3403 constructor(t, e) { 3404 super(t), 3405 (this._config = this._getConfig(e)), 3406 (this._timeout = null), 3407 (this._hasMouseInteraction = !1), 3408 (this._hasKeyboardInteraction = !1), 3409 this._setListeners(); 3410 } 3411 static get DefaultType() { 3412 return Kt; 3413 } 3414 static get Default() { 3415 return Vt; 3416 } 3417 static get NAME() { 3418 return "toast"; 3419 } 3420 show() { 3421 B.trigger(this._element, "show.bs.toast").defaultPrevented || 3422 (this._clearTimeout(), 3423 this._config.animation && this._element.classList.add("fade"), 3424 this._element.classList.remove("hide"), 3425 m(this._element), 3426 this._element.classList.add("showing"), 3427 this._queueCallback( 3428 () => { 3429 this._element.classList.remove("showing"), 3430 this._element.classList.add("show"), 3431 B.trigger(this._element, "shown.bs.toast"), 3432 this._maybeScheduleHide(); 3433 }, 3434 this._element, 3435 this._config.animation 3436 )); 3437 } 3438 hide() { 3439 this._element.classList.contains("show") && 3440 (B.trigger(this._element, "hide.bs.toast").defaultPrevented || 3441 (this._element.classList.remove("show"), 3442 this._queueCallback( 3443 () => { 3444 this._element.classList.add("hide"), 3445 B.trigger(this._element, "hidden.bs.toast"); 3446 }, 3447 this._element, 3448 this._config.animation 3449 ))); 3450 } 3451 dispose() { 3452 this._clearTimeout(), 3453 this._element.classList.contains("show") && 3454 this._element.classList.remove("show"), 3455 super.dispose(); 3456 } 3457 _getConfig(t) { 3458 return ( 3459 (t = { 3460 ...Vt, 3461 ...V.getDataAttributes(this._element), 3462 ...("object" == typeof t && t ? t : {}), 3463 }), 3464 d("toast", t, this.constructor.DefaultType), 3465 t 3466 ); 3467 } 3468 _maybeScheduleHide() { 3469 this._config.autohide && 3470 (this._hasMouseInteraction || 3471 this._hasKeyboardInteraction || 3472 (this._timeout = setTimeout(() => { 3473 this.hide(); 3474 }, this._config.delay))); 3475 } 3476 _onInteraction(t, e) { 3477 switch (t.type) { 3478 case "mouseover": 3479 case "mouseout": 3480 this._hasMouseInteraction = e; 3481 break; 3482 case "focusin": 3483 case "focusout": 3484 this._hasKeyboardInteraction = e; 3485 } 3486 if (e) return void this._clearTimeout(); 3487 const s = t.relatedTarget; 3488 this._element === s || 3489 this._element.contains(s) || 3490 this._maybeScheduleHide(); 3491 } 3492 _setListeners() { 3493 B.on( 3494 this._element, 3495 "click.dismiss.bs.toast", 3496 '[data-bs-dismiss="toast"]', 3497 () => this.hide() 3498 ), 3499 B.on(this._element, "mouseover.bs.toast", (t) => 3500 this._onInteraction(t, !0) 3501 ), 3502 B.on(this._element, "mouseout.bs.toast", (t) => 3503 this._onInteraction(t, !1) 3504 ), 3505 B.on(this._element, "focusin.bs.toast", (t) => 3506 this._onInteraction(t, !0) 3507 ), 3508 B.on(this._element, "focusout.bs.toast", (t) => 3509 this._onInteraction(t, !1) 3510 ); 3511 } 3512 _clearTimeout() { 3513 clearTimeout(this._timeout), (this._timeout = null); 3514 } 3515 static jQueryInterface(t) { 3516 return this.each(function () { 3517 const e = Qt.getOrCreateInstance(this, t); 3518 if ("string" == typeof t) { 3519 if (void 0 === e[t]) throw new TypeError(`No method named "${t}"`); 3520 e[t](this); 3521 } 3522 }); 3523 } 3524 } 3525 return ( 3526 y(Qt), 3527 { 3528 Alert: z, 3529 Button: F, 3530 Carousel: et, 3531 Collapse: nt, 3532 Dropdown: pt, 3533 Modal: wt, 3534 Offcanvas: Tt, 3535 Popover: Wt, 3536 ScrollSpy: Ft, 3537 Tab: Ut, 3538 Toast: Qt, 3539 Tooltip: jt, 3540 } 3541 ); 3542});
3543 3544/*! jQuery v3.6.4 | (c) OpenJS Foundation and other contributors | jquery.org/license */ 3545!(function (e, t) { 3546 "use strict"; 3547 "object" == typeof module && "object" == typeof module.exports 3548 ? (module.exports = e.document 3549 ? t(e, !0) 3550 : function (e) { 3551 if (!e.document) 3552 throw new Error("jQuery requires a window with a document"); 3553 return t(e); 3554 }) 3555 : t(e); 3556})("undefined" != typeof window ? window : this, function (C, e) { 3557 "use strict"; 3558 var t = [], 3559 r = Object.getPrototypeOf, 3560 s = t.slice, 3561 g = t.flat 3562 ? function (e) { 3563 return t.flat.call(e); 3564 } 3565 : function (e) { 3566 return t.concat.apply([], e); 3567 }, 3568 u = t.push, 3569 i = t.indexOf, 3570 n = {}, 3571 o = n.toString, 3572 y = n.hasOwnProperty, 3573 a = y.toString, 3574 l = a.call(Object), 3575 v = {}, 3576 m = function (e) { 3577 return ( 3578 "function" == typeof e && 3579 "number" != typeof e.nodeType && 3580 "function" != typeof e.item 3581 ); 3582 }, 3583 x = function (e) { 3584 return null != e && e === e.window; 3585 }, 3586 E = C.document, 3587 c = { type: !0, src: !0, nonce: !0, noModule: !0 }; 3588 function b(e, t, n) { 3589 var r, 3590 i, 3591 o = (n = n || E).createElement("script"); 3592 if (((o.text = e), t)) 3593 for (r in c) 3594 (i = t[r] || (t.getAttribute && t.getAttribute(r))) && 3595 o.setAttribute(r, i); 3596 n.head.appendChild(o).parentNode.removeChild(o); 3597 } 3598 function w(e) { 3599 return null == e 3600 ? e + "" 3601 : "object" == typeof e || "function" == typeof e 3602 ? n[o.call(e)] || "object" 3603 : typeof e; 3604 } 3605 var f = "3.6.4", 3606 S = function (e, t) { 3607 return new S.fn.init(e, t); 3608 }; 3609 function p(e) { 3610 var t = !!e && "length" in e && e.length, 3611 n = w(e); 3612 return ( 3613 !m(e) && 3614 !x(e) && 3615 ("array" === n || 3616 0 === t || 3617 ("number" == typeof t && 0 < t && t - 1 in e)) 3618 ); 3619 } 3620 (S.fn = S.prototype = 3621 { 3622 jquery: f, 3623 constructor: S, 3624 length: 0, 3625 toArray: function () { 3626 return s.call(this); 3627 }, 3628 get: function (e) { 3629 return null == e 3630 ? s.call(this) 3631 : e < 0 3632 ? this[e + this.length] 3633 : this[e]; 3634 }, 3635 pushStack: function (e) { 3636 var t = S.merge(this.constructor(), e); 3637 return (t.prevObject = this), t; 3638 }, 3639 each: function (e) { 3640 return S.each(this, e); 3641 }, 3642 map: function (n) { 3643 return this.pushStack( 3644 S.map(this, function (e, t) { 3645 return n.call(e, t, e); 3646 }) 3647 ); 3648 }, 3649 slice: function () { 3650 return this.pushStack(s.apply(this, arguments)); 3651 }, 3652 first: function () { 3653 return this.eq(0); 3654 }, 3655 last: function () { 3656 return this.eq(-1); 3657 }, 3658 even: function () { 3659 return this.pushStack( 3660 S.grep(this, function (e, t) { 3661 return (t + 1) % 2; 3662 }) 3663 ); 3664 }, 3665 odd: function () { 3666 return this.pushStack( 3667 S.grep(this, function (e, t) { 3668 return t % 2; 3669 }) 3670 ); 3671 }, 3672 eq: function (e) { 3673 var t = this.length, 3674 n = +e + (e < 0 ? t : 0); 3675 return this.pushStack(0 <= n && n < t ? [this[n]] : []); 3676 }, 3677 end: function () { 3678 return this.prevObject || this.constructor(); 3679 }, 3680 push: u, 3681 sort: t.sort, 3682 splice: t.splice, 3683 }), 3684 (S.extend = S.fn.extend = 3685 function () { 3686 var e, 3687 t, 3688 n, 3689 r, 3690 i, 3691 o, 3692 a = arguments[0] || {}, 3693 s = 1, 3694 u = arguments.length, 3695 l = !1; 3696 for ( 3697 "boolean" == typeof a && ((l = a), (a = arguments[s] || {}), s++), 3698 "object" == typeof a || m(a) || (a = {}), 3699 s === u && ((a = this), s--); 3700 s < u; 3701 s++ 3702 ) 3703 if (null != (e = arguments[s])) 3704 for (t in e) 3705 (r = e[t]), 3706 "__proto__" !== t && 3707 a !== r && 3708 (l && r && (S.isPlainObject(r) || (i = Array.isArray(r))) 3709 ? ((n = a[t]), 3710 (o = 3711 i && !Array.isArray(n) 3712 ? [] 3713 : i || S.isPlainObject(n) 3714 ? n 3715 : {}), 3716 (i = !1), 3717 (a[t] = S.extend(l, o, r))) 3718 : void 0 !== r && (a[t] = r)); 3719 return a; 3720 }), 3721 S.extend({ 3722 expando: "jQuery" + (f + Math.random()).replace(/\D/g, ""), 3723 isReady: !0, 3724 error: function (e) { 3725 throw new Error(e); 3726 }, 3727 noop: function () {}, 3728 isPlainObject: function (e) { 3729 var t, n; 3730 return ( 3731 !(!e || "[object Object]" !== o.call(e)) && 3732 (!(t = r(e)) || 3733 ("function" ==
3734 typeof (n = y.call(t, "constructor") && t.constructor) && 3735 a.call(n) === l)) 3736 ); 3737 }, 3738 isEmptyObject: function (e) { 3739 var t; 3740 for (t in e) return !1; 3741 return !0; 3742 }, 3743 globalEval: function (e, t, n) { 3744 b(e, { nonce: t && t.nonce }, n); 3745 }, 3746 each: function (e, t) { 3747 var n, 3748 r = 0; 3749 if (p(e)) { 3750 for (n = e.length; r < n; r++) 3751 if (!1 === t.call(e[r], r, e[r])) break; 3752 } else for (r in e) if (!1 === t.call(e[r], r, e[r])) break; 3753 return e; 3754 }, 3755 makeArray: function (e, t) { 3756 var n = t || []; 3757 return ( 3758 null != e && 3759 (p(Object(e)) 3760 ? S.merge(n, "string" == typeof e ? [e] : e) 3761 : u.call(n, e)), 3762 n 3763 ); 3764 }, 3765 inArray: function (e, t, n) { 3766 return null == t ? -1 : i.call(t, e, n); 3767 }, 3768 merge: function (e, t) { 3769 for (var n = +t.length, r = 0, i = e.length; r < n; r++) e[i++] = t[r]; 3770 return (e.length = i), e; 3771 }, 3772 grep: function (e, t, n) { 3773 for (var r = [], i = 0, o = e.length, a = !n; i < o; i++) 3774 !t(e[i], i) !== a && r.push(e[i]); 3775 return r; 3776 }, 3777 map: function (e, t, n) { 3778 var r, 3779 i, 3780 o = 0, 3781 a = []; 3782 if (p(e)) 3783 for (r = e.length; o < r; o++) 3784 null != (i = t(e[o], o, n)) && a.push(i); 3785 else for (o in e) null != (i = t(e[o], o, n)) && a.push(i); 3786 return g(a); 3787 }, 3788 guid: 1, 3789 support: v, 3790 }), 3791 "function" == typeof Symbol && (S.fn[Symbol.iterator] = t[Symbol.iterator]), 3792 S.each( 3793 "Boolean Number String Function Array Date RegExp Object Error Symbol".split( 3794 " " 3795 ), 3796 function (e, t) { 3797 n["[object " + t + "]"] = t.toLowerCase(); 3798 } 3799 ); 3800 var d = (function (n) { 3801 var e, 3802 d, 3803 b, 3804 o, 3805 i, 3806 h, 3807 f, 3808 g, 3809 w, 3810 u, 3811 l, 3812 T, 3813 C, 3814 a, 3815 E, 3816 y, 3817 s, 3818 c, 3819 v, 3820 S = "sizzle" + 1 * new Date(), 3821 p = n.document, 3822 k = 0, 3823 r = 0, 3824 m = ue(), 3825 x = ue(), 3826 A = ue(), 3827 N = ue(), 3828 j = function (e, t) { 3829 return e === t && (l = !0), 0; 3830 }, 3831 D = {}.hasOwnProperty, 3832 t = [], 3833 q = t.pop, 3834 L = t.push, 3835 H = t.push, 3836 O = t.slice, 3837 P = function (e, t) { 3838 for (var n = 0, r = e.length; n < r; n++) if (e[n] === t) return n; 3839 return -1; 3840 }, 3841 R = 3842 "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", 3843 M = "[\\x20\\t\\r\\n\\f]", 3844 I = 3845 "(?:\\\\[\\da-fA-F]{1,6}" + 3846 M + 3847 "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", 3848 W = 3849 "\\[" + 3850 M + 3851 "*(" + 3852 I + 3853 ")(?:" + 3854 M + 3855 "*([*^$|!~]?=)" + 3856 M + 3857 "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + 3858 I + 3859 "))|)" + 3860 M + 3861 "*\\]", 3862 F = 3863 ":(" + 3864 I + 3865 ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + 3866 W + 3867 ")*)|.*)\\)|)", 3868 $ = new RegExp(M + "+", "g"), 3869 B = new RegExp("^" + M + "+|((?:^|[^\\\\])(?:\\\\.)*)" + M + "+$", "g"), 3870 _ = new RegExp("^" + M + "*," + M + "*"), 3871 z = new RegExp("^" + M + "*([>+~]|" + M + ")" + M + "*"), 3872 U = new RegExp(M + "|>"), 3873 X = new RegExp(F), 3874 V = new RegExp("^" + I + "$"), 3875 G = { 3876 ID: new RegExp("^#(" + I + ")"), 3877 CLASS: new RegExp("^\\.(" + I + ")"), 3878 TAG: new RegExp("^(" + I + "|[*])"), 3879 ATTR: new RegExp("^" + W), 3880 PSEUDO: new RegExp("^" + F), 3881 CHILD: new RegExp( 3882 "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + 3883 M + 3884 "*(even|odd|(([+-]|)(\\d*)n|)" + 3885 M + 3886 "*(?:([+-]|)" + 3887 M + 3888 "*(\\d+)|))" + 3889 M + 3890 "*\\)|)", 3891 "i" 3892 ), 3893 bool: new RegExp("^(?:" + R + ")$", "i"), 3894 needsContext: new RegExp( 3895 "^" + 3896 M + 3897 "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + 3898 M + 3899 "*((?:-\\d)?\\d*)" + 3900 M + 3901 "*\\)|)(?=[^-]|$)", 3902 "i" 3903 ), 3904 }, 3905 Y = /HTML$/i, 3906 Q = /^(?:input|select|textarea|button)$/i, 3907 J = /^h\d$/i, 3908 K = /^[^{]+\{\s*\[native \w/, 3909 Z = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, 3910 ee = /[+~]/, 3911 te = new RegExp("\\\\[\\da-fA-F]{1,6}" + M + "?|\\\\([^\\r\\n\\f])", "g"), 3912 ne = function (e, t) { 3913 var n = "0x" + e.slice(1) - 65536; 3914 return ( 3915 t || 3916 (n < 0 3917 ? String.fromCharCode(n + 65536) 3918 : String.fromCharCode((n >> 10) | 55296, (1023 & n) | 56320)) 3919 ); 3920 }, 3921 re = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, 3922 ie = function (e, t) { 3923 return t 3924 ? "\0" === e 3925 ? "\ufffd" 3926 : e.slice(0, -1) + 3927 "\\" + 3928 e.charCodeAt(e.length - 1).toString(16) + 3929 " " 3930 : "\\" + e; 3931 }, 3932 oe = function () { 3933 T(); 3934 }, 3935 ae = be( 3936 function (e) { 3937 return !0 === e.disabled && "fieldset" === e.nodeName.toLowerCase(); 3938 }, 3939 { dir: "parentNode", next: "legend" } 3940 ); 3941 try { 3942 H.apply((t = O.call(p.childNodes)), p.childNodes), 3943 t[p.childNodes.length].nodeType; 3944 } catch (e) { 3945 H = { 3946 apply: t.length 3947 ? function (e, t) { 3948 L.apply(e, O.call(t)); 3949 } 3950 : function (e, t) { 3951 var n = e.length, 3952 r = 0; 3953 while ((e[n++] = t[r++])); 3954 e.length = n - 1; 3955 }, 3956 }; 3957 } 3958 function se(t, e, n, r) { 3959 var i, 3960 o, 3961 a, 3962 s, 3963 u, 3964 l, 3965 c, 3966 f = e && e.ownerDocument, 3967 p = e ? e.nodeType : 9; 3968 if ( 3969 ((n = n || []), 3970 "string" != typeof t || !t || (1 !== p && 9 !== p && 11 !== p)) 3971 ) 3972 return n; 3973 if (!r && (T(e), (e = e || C), E)) { 3974 if (11 !== p && (u = Z.exec(t)))
3975 if ((i = u[1])) { 3976 if (9 === p) { 3977 if (!(a = e.getElementById(i))) return n; 3978 if (a.id === i) return n.push(a), n; 3979 } else if (f && (a = f.getElementById(i)) && v(e, a) && a.id === i) 3980 return n.push(a), n; 3981 } else { 3982 if (u[2]) return H.apply(n, e.getElementsByTagName(t)), n; 3983 if ( 3984 (i = u[3]) && 3985 d.getElementsByClassName && 3986 e.getElementsByClassName 3987 ) 3988 return H.apply(n, e.getElementsByClassName(i)), n; 3989 } 3990 if ( 3991 d.qsa && 3992 !N[t + " "] && 3993 (!y || !y.test(t)) && 3994 (1 !== p || "object" !== e.nodeName.toLowerCase()) 3995 ) { 3996 if (((c = t), (f = e), 1 === p && (U.test(t) || z.test(t)))) { 3997 ((f = (ee.test(t) && ve(e.parentNode)) || e) === e && d.scope) || 3998 ((s = e.getAttribute("id")) 3999 ? (s = s.replace(re, ie)) 4000 : e.setAttribute("id", (s = S))), 4001 (o = (l = h(t)).length); 4002 while (o--) l[o] = (s ? "#" + s : ":scope") + " " + xe(l[o]); 4003 c = l.join(","); 4004 } 4005 try { 4006 return H.apply(n, f.querySelectorAll(c)), n; 4007 } catch (e) { 4008 N(t, !0); 4009 } finally { 4010 s === S && e.removeAttribute("id"); 4011 } 4012 } 4013 } 4014 return g(t.replace(B, "$1"), e, n, r); 4015 } 4016 function ue() { 4017 var r = []; 4018 return function e(t, n) { 4019 return ( 4020 r.push(t + " ") > b.cacheLength && delete e[r.shift()], 4021 (e[t + " "] = n) 4022 ); 4023 }; 4024 } 4025 function le(e) { 4026 return (e[S] = !0), e; 4027 } 4028 function ce(e) { 4029 var t = C.createElement("fieldset"); 4030 try { 4031 return !!e(t); 4032 } catch (e) { 4033 return !1; 4034 } finally { 4035 t.parentNode && t.parentNode.removeChild(t), (t = null); 4036 } 4037 } 4038 function fe(e, t) { 4039 var n = e.split("|"), 4040 r = n.length; 4041 while (r--) b.attrHandle[n[r]] = t; 4042 } 4043 function pe(e, t) { 4044 var n = t && e, 4045 r = 4046 n && 4047 1 === e.nodeType && 4048 1 === t.nodeType && 4049 e.sourceIndex - t.sourceIndex; 4050 if (r) return r; 4051 if (n) while ((n = n.nextSibling)) if (n === t) return -1; 4052 return e ? 1 : -1; 4053 } 4054 function de(t) { 4055 return function (e) { 4056 return "input" === e.nodeName.toLowerCase() && e.type === t; 4057 }; 4058 } 4059 function he(n) { 4060 return function (e) { 4061 var t = e.nodeName.toLowerCase(); 4062 return ("input" === t || "button" === t) && e.type === n; 4063 }; 4064 } 4065 function ge(t) { 4066 return function (e) { 4067 return "form" in e 4068 ? e.parentNode && !1 === e.disabled 4069 ? "label" in e 4070 ? "label" in e.parentNode 4071 ? e.parentNode.disabled === t 4072 : e.disabled === t 4073 : e.isDisabled === t || (e.isDisabled !== !t && ae(e) === t) 4074 : e.disabled === t 4075 : "label" in e && e.disabled === t; 4076 }; 4077 } 4078 function ye(a) { 4079 return le(function (o) { 4080 return ( 4081 (o = +o), 4082 le(function (e, t) { 4083 var n, 4084 r = a([], e.length, o), 4085 i = r.length; 4086 while (i--) e[(n = r[i])] && (e[n] = !(t[n] = e[n])); 4087 }) 4088 ); 4089 }); 4090 } 4091 function ve(e) { 4092 return e && "undefined" != typeof e.getElementsByTagName && e; 4093 } 4094 for (e in ((d = se.support = {}), 4095 (i = se.isXML = 4096 function (e) { 4097 var t = e && e.namespaceURI, 4098 n = e && (e.ownerDocument || e).documentElement; 4099 return !Y.test(t || (n && n.nodeName) || "HTML"); 4100 }), 4101 (T = se.setDocument = 4102 function (e) { 4103 var t, 4104 n, 4105 r = e ? e.ownerDocument || e : p; 4106 return ( 4107 r != C && 4108 9 === r.nodeType && 4109 r.documentElement && 4110 ((a = (C = r).documentElement), 4111 (E = !i(C)), 4112 p != C && 4113 (n = C.defaultView) && 4114 n.top !== n && 4115 (n.addEventListener 4116 ? n.addEventListener("unload", oe, !1) 4117 : n.attachEvent && n.attachEvent("onunload", oe)), 4118 (d.scope = ce(function (e) { 4119 return ( 4120 a.appendChild(e).appendChild(C.createElement("div")), 4121 "undefined" != typeof e.querySelectorAll && 4122 !e.querySelectorAll(":scope fieldset div").length 4123 ); 4124 })), 4125 (d.cssHas = ce(function () { 4126 try { 4127 return C.querySelector(":has(*,:jqfake)"), !1; 4128 } catch (e) { 4129 return !0; 4130 } 4131 })), 4132 (d.attributes = ce(function (e) { 4133 return (e.className = "i"), !e.getAttribute("className"); 4134 })), 4135 (d.getElementsByTagName = ce(function (e) { 4136 return ( 4137 e.appendChild(C.createComment("")), 4138 !e.getElementsByTagName("*").length 4139 ); 4140 })), 4141 (d.getElementsByClassName = K.test(C.getElementsByClassName)), 4142 (d.getById = ce(function (e) { 4143 return ( 4144 (a.appendChild(e).id = S), 4145 !C.getElementsByName || !C.getElementsByName(S).length 4146 ); 4147 })), 4148 d.getById 4149 ? ((b.filter.ID = function (e) { 4150 var t = e.replace(te, ne); 4151 return function (e) { 4152 return e.getAttribute("id") === t; 4153 }; 4154 }), 4155 (b.find.ID = function (e, t) { 4156 if ("undefined" != typeof t.getElementById && E) { 4157 var n = t.getElementById(e); 4158 return n ? [n] : []; 4159 } 4160 })) 4161 : ((b.filter.ID = function (e) { 4162 var n = e.replace(te, ne); 4163 return function (e) { 4164 var t = 4165 "undefined" != typeof e.getAttributeNode && 4166 e.getAttributeNode("id"); 4167 return t && t.value === n; 4168 }; 4169 }), 4170 (b.find.ID = function (e, t) { 4171 if ("undefined" != typeof t.getElementById && E) { 4172 var n, 4173 r, 4174 i, 4175 o = t.getElementById(e); 4176 if (o) { 4177 if ((n = o.getAttributeNode("id")) && n.value === e) 4178 return [o]; 4179 (i = t.getElementsByName(e)), (r = 0); 4180 while ((o = i[r++])) 4181 if ((n = o.getAttributeNode("id")) && n.value === e) 4182 return [o]; 4183 } 4184 return []; 4185 } 4186 })), 4187 (b.find.TAG = d.getElementsByTagName 4188 ? function (e, t) { 4189 return "undefined" != typeof t.getElementsByTagName 4190 ? t.getElementsByTagName(e) 4191 : d.qsa 4192 ? t.querySelectorAll(e) 4193 : void 0; 4194 } 4195 : function (e, t) { 4196 var n, 4197 r = [], 4198 i = 0, 4199 o = t.getElementsByTagName(e); 4200 if ("*" === e) { 4201 while ((n = o[i++])) 1 === n.nodeType && r.push(n); 4202 return r; 4203 } 4204 return o; 4205 }), 4206 (b.find.CLASS = 4207 d.getElementsByClassName && 4208 function (e, t) { 4209 if ("undefined" != typeof t.getElementsByClassName && E) 4210 return t.getElementsByClassName(e); 4211 }), 4212 (s = []), 4213 (y = []),
4214 (d.qsa = K.test(C.querySelectorAll)) && 4215 (ce(function (e) { 4216 var t; 4217 (a.appendChild(e).innerHTML = 4218 "<a id='" + 4219 S + 4220 "'></a><select id='" + 4221 S + 4222 "-\r\\' msallowcapture=''><option selected=''></option></select>"), 4223 e.querySelectorAll("[msallowcapture^='']").length && 4224 y.push("[*^$]=" + M + "*(?:''|\"\")"), 4225 e.querySelectorAll("[selected]").length || 4226 y.push("\\[" + M + "*(?:value|" + R + ")"), 4227 e.querySelectorAll("[id~=" + S + "-]").length || y.push("~="), 4228 (t = C.createElement("input")).setAttribute("name", ""), 4229 e.appendChild(t), 4230 e.querySelectorAll("[name='']").length || 4231 y.push("\\[" + M + "*name" + M + "*=" + M + "*(?:''|\"\")"), 4232 e.querySelectorAll(":checked").length || y.push(":checked"), 4233 e.querySelectorAll("a#" + S + "+*").length || 4234 y.push(".#.+[+~]"), 4235 e.querySelectorAll("\\\f"), 4236 y.push("[\\r\\n\\f]"); 4237 }), 4238 ce(function (e) { 4239 e.innerHTML = 4240 "<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>"; 4241 var t = C.createElement("input"); 4242 t.setAttribute("type", "hidden"), 4243 e.appendChild(t).setAttribute("name", "D"), 4244 e.querySelectorAll("[name=d]").length && 4245 y.push("name" + M + "*[*^$|!~]?="), 4246 2 !== e.querySelectorAll(":enabled").length && 4247 y.push(":enabled", ":disabled"), 4248 (a.appendChild(e).disabled = !0), 4249 2 !== e.querySelectorAll(":disabled").length && 4250 y.push(":enabled", ":disabled"), 4251 e.querySelectorAll("*,:x"), 4252 y.push(",.*:"); 4253 })), 4254 (d.matchesSelector = K.test( 4255 (c = 4256 a.matches || 4257 a.webkitMatchesSelector || 4258 a.mozMatchesSelector || 4259 a.oMatchesSelector || 4260 a.msMatchesSelector) 4261 )) && 4262 ce(function (e) { 4263 (d.disconnectedMatch = c.call(e, "*")), 4264 c.call(e, "[s!='']:x"), 4265 s.push("!=", F); 4266 }), 4267 d.cssHas || y.push(":has"), 4268 (y = y.length && new RegExp(y.join("|"))), 4269 (s = s.length && new RegExp(s.join("|"))), 4270 (t = K.test(a.compareDocumentPosition)), 4271 (v = 4272 t || K.test(a.contains) 4273 ? function (e, t) { 4274 var n = (9 === e.nodeType && e.documentElement) || e, 4275 r = t && t.parentNode; 4276 return ( 4277 e === r || 4278 !( 4279 !r || 4280 1 !== r.nodeType || 4281 !(n.contains 4282 ? n.contains(r) 4283 : e.compareDocumentPosition && 4284 16 & e.compareDocumentPosition(r)) 4285 ) 4286 ); 4287 } 4288 : function (e, t) { 4289 if (t) while ((t = t.parentNode)) if (t === e) return !0; 4290 return !1; 4291 }), 4292 (j = t 4293 ? function (e, t) { 4294 if (e === t) return (l = !0), 0; 4295 var n = 4296 !e.compareDocumentPosition - !t.compareDocumentPosition; 4297 return ( 4298 n || 4299 (1 & 4300 (n = 4301 (e.ownerDocument || e) == (t.ownerDocument || t) 4302 ? e.compareDocumentPosition(t) 4303 : 1) || 4304 (!d.sortDetached && t.compareDocumentPosition(e) === n) 4305 ? e == C || (e.ownerDocument == p && v(p, e)) 4306 ? -1 4307 : t == C || (t.ownerDocument == p && v(p, t)) 4308 ? 1 4309 : u 4310 ? P(u, e) - P(u, t) 4311 : 0 4312 : 4 & n 4313 ? -1 4314 : 1) 4315 ); 4316 } 4317 : function (e, t) { 4318 if (e === t) return (l = !0), 0; 4319 var n, 4320 r = 0, 4321 i = e.parentNode, 4322 o = t.parentNode, 4323 a = [e], 4324 s = [t]; 4325 if (!i || !o) 4326 return e == C 4327 ? -1 4328 : t == C 4329 ? 1 4330 : i 4331 ? -1 4332 : o 4333 ? 1 4334 : u 4335 ? P(u, e) - P(u, t) 4336 : 0; 4337 if (i === o) return pe(e, t); 4338 n = e; 4339 while ((n = n.parentNode)) a.unshift(n); 4340 n = t; 4341 while ((n = n.parentNode)) s.unshift(n); 4342 while (a[r] === s[r]) r++; 4343 return r 4344 ? pe(a[r], s[r]) 4345 : a[r] == p 4346 ? -1 4347 : s[r] == p 4348 ? 1 4349 : 0; 4350 })), 4351 C 4352 ); 4353 }), 4354 (se.matches = function (e, t) { 4355 return se(e, null, null, t); 4356 }), 4357 (se.matchesSelector = function (e, t) { 4358 if ( 4359 (T(e), 4360 d.matchesSelector && 4361 E && 4362 !N[t + " "] && 4363 (!s || !s.test(t)) && 4364 (!y || !y.test(t))) 4365 ) 4366 try { 4367 var n = c.call(e, t); 4368 if ( 4369 n || 4370 d.disconnectedMatch || 4371 (e.document && 11 !== e.document.nodeType) 4372 ) 4373 return n; 4374 } catch (e) { 4375 N(t, !0); 4376 } 4377 return 0 < se(t, C, null, [e]).length; 4378 }), 4379 (se.contains = function (e, t) { 4380 return (e.ownerDocument || e) != C && T(e), v(e, t); 4381 }), 4382 (se.attr = function (e, t) { 4383 (e.ownerDocument || e) != C && T(e); 4384 var n = b.attrHandle[t.toLowerCase()], 4385 r = n && D.call(b.attrHandle, t.toLowerCase()) ? n(e, t, !E) : void 0; 4386 return void 0 !== r 4387 ? r 4388 : d.attributes || !E 4389 ? e.getAttribute(t) 4390 : (r = e.getAttributeNode(t)) && r.specified 4391 ? r.value 4392 : null; 4393 }), 4394 (se.escape = function (e) { 4395 return (e + "").replace(re, ie); 4396 }), 4397 (se.error = function (e) { 4398 throw new Error("Syntax error, unrecognized expression: " + e); 4399 }), 4400 (se.uniqueSort = function (e) { 4401 var t, 4402 n = [], 4403 r = 0, 4404 i = 0; 4405 if ( 4406 ((l = !d.detectDuplicates), 4407 (u = !d.sortStable && e.slice(0)), 4408 e.sort(j), 4409 l) 4410 ) { 4411 while ((t = e[i++])) t === e[i] && (r = n.push(i)); 4412 while (r--) e.splice(n[r], 1); 4413 } 4414 return (u = null), e; 4415 }), 4416 (o = se.getText = 4417 function (e) { 4418 var t, 4419 n = "", 4420 r = 0, 4421 i = e.nodeType; 4422 if (i) { 4423 if (1 === i || 9 === i || 11 === i) { 4424 if ("string" == typeof e.textContent) return e.textContent; 4425 for (e = e.firstChild; e; e = e.nextSibling) n += o(e); 4426 }
4426 else if (3 === i || 4 === i) return e.nodeValue; 4427 } else while ((t = e[r++])) n += o(t); 4428 return n; 4429 }), 4430 ((b = se.selectors = 4431 { 4432 cacheLength: 50, 4433 createPseudo: le, 4434 match: G, 4435 attrHandle: {}, 4436 find: {}, 4437 relative: { 4438 ">": { dir: "parentNode", first: !0 }, 4439 " ": { dir: "parentNode" }, 4440 "+": { dir: "previousSibling", first: !0 }, 4441 "~": { dir: "previousSibling" }, 4442 }, 4443 preFilter: { 4444 ATTR: function (e) { 4445 return ( 4446 (e[1] = e[1].replace(te, ne)), 4447 (e[3] = (e[3] || e[4] || e[5] || "").replace(te, ne)), 4448 "~=" === e[2] && (e[3] = " " + e[3] + " "), 4449 e.slice(0, 4) 4450 ); 4451 }, 4452 CHILD: function (e) { 4453 return ( 4454 (e[1] = e[1].toLowerCase()), 4455 "nth" === e[1].slice(0, 3) 4456 ? (e[3] || se.error(e[0]), 4457 (e[4] = +(e[4] 4458 ? e[5] + (e[6] || 1) 4459 : 2 * ("even" === e[3] || "odd" === e[3]))), 4460 (e[5] = +(e[7] + e[8] || "odd" === e[3]))) 4461 : e[3] && se.error(e[0]), 4462 e 4463 ); 4464 }, 4465 PSEUDO: function (e) { 4466 var t, 4467 n = !e[6] && e[2]; 4468 return G.CHILD.test(e[0]) 4469 ? null 4470 : (e[3] 4471 ? (e[2] = e[4] || e[5] || "") 4472 : n && 4473 X.test(n) && 4474 (t = h(n, !0)) && 4475 (t = n.indexOf(")", n.length - t) - n.length) && 4476 ((e[0] = e[0].slice(0, t)), (e[2] = n.slice(0, t))), 4477 e.slice(0, 3)); 4478 }, 4479 }, 4480 filter: { 4481 TAG: function (e) { 4482 var t = e.replace(te, ne).toLowerCase(); 4483 return "*" === e 4484 ? function () { 4485 return !0; 4486 } 4487 : function (e) { 4488 return e.nodeName && e.nodeName.toLowerCase() === t; 4489 }; 4490 }, 4491 CLASS: function (e) { 4492 var t = m[e + " "]; 4493 return ( 4494 t || 4495 ((t = new RegExp("(^|" + M + ")" + e + "(" + M + "|$)")) && 4496 m(e, function (e) { 4497 return t.test( 4498 ("string" == typeof e.className && e.className) || 4499 ("undefined" != typeof e.getAttribute && 4500 e.getAttribute("class")) || 4501 "" 4502 ); 4503 })) 4504 ); 4505 }, 4506 ATTR: function (n, r, i) { 4507 return function (e) { 4508 var t = se.attr(e, n); 4509 return null == t 4510 ? "!=" === r 4511 : !r || 4512 ((t += ""), 4513 "=" === r 4514 ? t === i 4515 : "!=" === r 4516 ? t !== i 4517 : "^=" === r 4518 ? i && 0 === t.indexOf(i) 4519 : "*=" === r 4520 ? i && -1 < t.indexOf(i) 4521 : "$=" === r 4522 ? i && t.slice(-i.length) === i 4523 : "~=" === r 4524 ? -1 < (" " + t.replace($, " ") + " ").indexOf(i) 4525 : "|=" === r && 4526 (t === i || t.slice(0, i.length + 1) === i + "-")); 4527 }; 4528 }, 4529 CHILD: function (h, e, t, g, y) { 4530 var v = "nth" !== h.slice(0, 3), 4531 m = "last" !== h.slice(-4), 4532 x = "of-type" === e; 4533 return 1 === g && 0 === y 4534 ? function (e) { 4535 return !!e.parentNode; 4536 } 4537 : function (e, t, n) { 4538 var r, 4539 i, 4540 o, 4541 a, 4542 s, 4543 u, 4544 l = v !== m ? "nextSibling" : "previousSibling", 4545 c = e.parentNode, 4546 f = x && e.nodeName.toLowerCase(), 4547 p = !n && !x, 4548 d = !1; 4549 if (c) { 4550 if (v) { 4551 while (l) { 4552 a = e; 4553 while ((a = a[l])) 4554 if ( 4555 x 4556 ? a.nodeName.toLowerCase() === f 4557 : 1 === a.nodeType 4558 ) 4559 return !1; 4560 u = l = "only" === h && !u && "nextSibling"; 4561 } 4562 return !0; 4563 } 4564 if (((u = [m ? c.firstChild : c.lastChild]), m && p)) { 4565 (d = 4566 (s = 4567 (r = 4568 (i = 4569 (o = (a = c)[S] || (a[S] = {}))[a.uniqueID] || 4570 (o[a.uniqueID] = {}))[h] || [])[0] === k && 4571 r[1]) && r[2]), 4572 (a = s && c.childNodes[s]); 4573 while ((a = (++s && a && a[l]) || (d = s = 0) || u.pop())
4573) 4574 if (1 === a.nodeType && ++d && a === e) { 4575 i[h] = [k, s, d]; 4576 break; 4577 } 4578 } else if ( 4579 (p && 4580 (d = s = 4581 (r = 4582 (i = 4583 (o = (a = e)[S] || (a[S] = {}))[a.uniqueID] || 4584 (o[a.uniqueID] = {}))[h] || [])[0] === k && r[1]), 4585 !1 === d) 4586 ) 4587 while ((a = (++s && a && a[l]) || (d = s = 0) || u.pop())) 4588 if ( 4589 (x 4590 ? a.nodeName.toLowerCase() === f 4591 : 1 === a.nodeType) && 4592 ++d && 4593 (p && 4594 ((i = 4595 (o = a[S] || (a[S] = {}))[a.uniqueID] || 4596 (o[a.uniqueID] = {}))[h] = [k, d]), 4597 a === e) 4598 ) 4599 break; 4600 return (d -= y) === g || (d % g == 0 && 0 <= d / g); 4601 } 4602 }; 4603 }, 4604 PSEUDO: function (e, o) { 4605 var t, 4606 a = 4607 b.pseudos[e] || 4608 b.setFilters[e.toLowerCase()] || 4609 se.error("unsupported pseudo: " + e); 4610 return a[S] 4611 ? a(o) 4612 : 1 < a.length 4613 ? ((t = [e, e, "", o]), 4614 b.setFilters.hasOwnProperty(e.toLowerCase()) 4615 ? le(function (e, t) { 4616 var n, 4617 r = a(e, o), 4618 i = r.length; 4619 while (i--) e[(n = P(e, r[i]))] = !(t[n] = r[i]); 4620 }) 4621 : function (e) { 4622 return a(e, 0, t); 4623 }) 4624 : a; 4625 }, 4626 }, 4627 pseudos: { 4628 not: le(function (e) { 4629 var r = [], 4630 i = [], 4631 s = f(e.replace(B, "$1")); 4632 return s[S] 4633 ? le(function (e, t, n, r) { 4634 var i, 4635 o = s(e, null, r, []), 4636 a = e.length; 4637 while (a--) (i = o[a]) && (e[a] = !(t[a] = i)); 4638 }) 4639 : function (e, t, n) { 4640 return (r[0] = e), s(r, null, n, i), (r[0] = null), !i.pop(); 4641 }; 4642 }), 4643 has: le(function (t) { 4644 return function (e) { 4645 return 0 < se(t, e).length; 4646 }; 4647 }), 4648 contains: le(function (t) { 4649 return ( 4650 (t = t.replace(te, ne)), 4651 function (e) { 4652 return -1 < (e.textContent || o(e)).indexOf(t); 4653 } 4654 ); 4655 }), 4656 lang: le(function (n) { 4657 return ( 4658 V.test(n || "") || se.error("unsupported lang: " + n), 4659 (n = n.replace(te, ne).toLowerCase()), 4660 function (e) { 4661 var t; 4662 do { 4663 if ( 4664 (t = E 4665 ? e.lang 4666 : e.getAttribute("xml:lang") || e.getAttribute("lang")) 4667 ) 4668 return ( 4669 (t = t.toLowerCase()) === n || 0 === t.indexOf(n + "-") 4670 ); 4671 } while ((e = e.parentNode) && 1 === e.nodeType); 4672 return !1; 4673 } 4674 ); 4675 }), 4676 target: function (e) { 4677 var t = n.location && n.location.hash; 4678 return t && t.slice(1) === e.id; 4679 }, 4680 root: function (e) { 4681 return e === a; 4682 }, 4683 focus: function (e) { 4684 return ( 4685 e === C.activeElement && 4686 (!C.hasFocus || C.hasFocus()) && 4687 !!(e.type || e.href || ~e.tabIndex) 4688 ); 4689 }, 4690 enabled: ge(!1), 4691 disabled: ge(!0), 4692 checked: function (e) { 4693 var t = e.nodeName.toLowerCase(); 4694 return ( 4695 ("input" === t && !!e.checked) || ("option" === t && !!e.selected) 4696 ); 4697 }, 4698 selected: function (e) { 4699 return ( 4700 e.parentNode && e.parentNode.selectedIndex, !0 === e.selected 4701 ); 4702 }, 4703 empty: function (e) { 4704 for (e = e.firstChild; e; e = e.nextSibling) 4705 if (e.nodeType < 6) return !1; 4706 return !0; 4707 }, 4708 parent: function (e) { 4709 return !b.pseudos.empty(e); 4710 }, 4711 header: function (e) { 4712 return J.test(e.nodeName); 4713 }, 4714 input: function (e) { 4715 return Q.test(e.nodeName); 4716 }, 4717 button: function (e) { 4718 var t = e.nodeName.toLowerCase(); 4719 return ("input" === t && "button" === e.type) || "button" === t; 4720 }, 4721 text: function (e) { 4722 var t; 4723 return ( 4724 "input" === e.nodeName.toLowerCase() && 4725 "text" === e.type && 4726 (null == (t = e.getAttribute("type")) || 4727 "text" === t.toLowerCase()) 4728 ); 4729 }, 4730 first: ye(function () { 4731 return [0]; 4732 }), 4733 last: ye(function (e, t) { 4734 return [t - 1]; 4735 }), 4736 eq: ye(function (e, t, n) { 4737 return [n < 0 ? n + t : n]; 4738 }), 4739 even: ye(function (e, t) { 4740 for (var n = 0; n < t; n += 2) e.push(n); 4741 return e; 4742 }), 4743 odd: ye(function (e, t) { 4744 for (var n = 1; n < t; n += 2) e.push(n); 4745 return e; 4746 }), 4747 lt: ye(function (e, t, n) { 4748 for (var r = n < 0 ? n + t : t < n ? t : n; 0 <= --r; ) e.push(r); 4749 return e; 4750 }), 4751 gt: ye(function (e, t, n) { 4752 for (var r = n < 0 ? n + t : n; ++r < t; ) e.push(r); 4753 return e; 4754 }), 4755 }, 4756 }).pseudos.nth = b.pseudos.eq), 4757 { radio: !0, checkbox: !0, file: !0, password: !0, image: !0 })) 4758 b.pseudos[e] = de(e); 4759 for (e in { submit: !0, reset: !0 }) b.pseudos[e] = he(e); 4760 function me() {} 4761 function xe(e) { 4762 for (var t = 0, n = e.length, r = ""; t < n; t++) r += e[t].value; 4763 return r; 4764 } 4765 function be(s, e, t) { 4766 var u = e.dir, 4767 l = e.next, 4768 c = l || u, 4769 f = t && "parentNode" === c, 4770 p = r++; 4771 return e.first 4772 ? function (e, t, n) { 4773 while ((e = e[u])) if (1 === e.nodeType || f) return s(e, t, n); 4774 return !1; 4775 } 4776 : function (e, t, n) { 4777 var r, 4778 i, 4779 o, 4780 a = [k, p]; 4781 if (n) { 4782 while ((e = e[u])) 4783 if ((1 === e.nodeType || f) && s(e, t, n)) return !0; 4784 } else 4785 while ((e = e[u])) 4786 if (1 === e.nodeType || f) 4787 if ( 4788 ((i = 4789 (o = e[S] || (e[S] = {}))[e.uniqueID] || 4790 (o[e.uniqueID] = {})),
4791 l && l === e.nodeName.toLowerCase()) 4792 ) 4793 e = e[u] || e; 4794 else { 4795 if ((r = i[c]) && r[0] === k && r[1] === p) 4796 return (a[2] = r[2]); 4797 if (((i[c] = a)[2] = s(e, t, n))) return !0; 4798 } 4799 return !1; 4800 }; 4801 } 4802 function we(i) { 4803 return 1 < i.length 4804 ? function (e, t, n) { 4805 var r = i.length; 4806 while (r--) if (!i[r](e, t, n)) return !1; 4807 return !0; 4808 } 4809 : i[0]; 4810 } 4811 function Te(e, t, n, r, i) { 4812 for (var o, a = [], s = 0, u = e.length, l = null != t; s < u; s++) 4813 (o = e[s]) && ((n && !n(o, r, i)) || (a.push(o), l && t.push(s))); 4814 return a; 4815 } 4816 function Ce(d, h, g, y, v, e) { 4817 return ( 4818 y && !y[S] && (y = Ce(y)), 4819 v && !v[S] && (v = Ce(v, e)), 4820 le(function (e, t, n, r) { 4821 var i, 4822 o, 4823 a, 4824 s = [], 4825 u = [], 4826 l = t.length, 4827 c = 4828 e || 4829 (function (e, t, n) { 4830 for (var r = 0, i = t.length; r < i; r++) se(e, t[r], n); 4831 return n; 4832 })(h || "*", n.nodeType ? [n] : n, []), 4833 f = !d || (!e && h) ? c : Te(c, s, d, n, r), 4834 p = g ? (v || (e ? d : l || y) ? [] : t) : f; 4835 if ((g && g(f, p, n, r), y)) { 4836 (i = Te(p, u)), y(i, [], n, r), (o = i.length); 4837 while (o--) (a = i[o]) && (p[u[o]] = !(f[u[o]] = a)); 4838 } 4839 if (e) { 4840 if (v || d) { 4841 if (v) { 4842 (i = []), (o = p.length); 4843 while (o--) (a = p[o]) && i.push((f[o] = a)); 4844 v(null, (p = []), i, r); 4845 } 4846 o = p.length; 4847 while (o--) 4848 (a = p[o]) && 4849 -1 < (i = v ? P(e, a) : s[o]) && 4850 (e[i] = !(t[i] = a)); 4851 } 4852 } else (p = Te(p === t ? p.splice(l, p.length) : p)), v ? v(null, t, p, r) : H.apply(t, p); 4853 }) 4854 ); 4855 } 4856 function Ee(e) { 4857 for ( 4858 var i, 4859 t, 4860 n, 4861 r = e.length, 4862 o = b.relative[e[0].type], 4863 a = o || b.relative[" "], 4864 s = o ? 1 : 0, 4865 u = be( 4866 function (e) { 4867 return e === i; 4868 }, 4869 a, 4870 !0 4871 ), 4872 l = be( 4873 function (e) { 4874 return -1 < P(i, e); 4875 }, 4876 a, 4877 !0 4878 ), 4879 c = [ 4880 function (e, t, n) { 4881 var r = 4882 (!o && (n || t !== w)) || 4883 ((i = t).nodeType ? u(e, t, n) : l(e, t, n)); 4884 return (i = null), r; 4885 }, 4886 ]; 4887 s < r; 4888 s++ 4889 ) 4890 if ((t = b.relative[e[s].type])) c = [be(we(c), t)]; 4891 else { 4892 if ((t = b.filter[e[s].type].apply(null, e[s].matches))[S]) { 4893 for (n = ++s; n < r; n++) if (b.relative[e[n].type]) break; 4894 return Ce( 4895 1 < s && we(c), 4896 1 < s && 4897 xe( 4898 e 4899 .slice(0, s - 1) 4900 .concat({ value: " " === e[s - 2].type ? "*" : "" }) 4901 ).replace(B, "$1"), 4902 t, 4903 s < n && Ee(e.slice(s, n)), 4904 n < r && Ee((e = e.slice(n))), 4905 n < r && xe(e) 4906 ); 4907 } 4908 c.push(t); 4909 } 4910 return we(c); 4911 } 4912 return ( 4913 (me.prototype = b.filters = b.pseudos), 4914 (b.setFilters = new me()), 4915 (h = se.tokenize = 4916 function (e, t) { 4917 var n, 4918 r, 4919 i, 4920 o, 4921 a, 4922 s, 4923 u, 4924 l = x[e + " "]; 4925 if (l) return t ? 0 : l.slice(0); 4926 (a = e), (s = []), (u = b.preFilter); 4927 while (a) { 4928 for (o in ((n && !(r = _.exec(a))) || 4929 (r && (a = a.slice(r[0].length) || a), s.push((i = []))), 4930 (n = !1), 4931 (r = z.exec(a)) && 4932 ((n = r.shift()), 4933 i.push({ value: n, type: r[0].replace(B, " ") }), 4934 (a = a.slice(n.length))), 4935 b.filter)) 4936 !(r = G[o].exec(a)) || 4937 (u[o] && !(r = u[o](r))) || 4938 ((n = r.shift()), 4939 i.push({ value: n, type: o, matches: r }), 4940 (a = a.slice(n.length))); 4941 if (!n) break; 4942 } 4943 return t ? a.length : a ? se.error(e) : x(e, s).slice(0); 4944 }), 4945 (f = se.compile = 4946 function (e, t) { 4947 var n, 4948 y, 4949 v, 4950 m, 4951 x, 4952 r, 4953 i = [], 4954 o = [], 4955 a = A[e + " "]; 4956 if (!a) { 4957 t || (t = h(e)), (n = t.length); 4958 while (n--) (a = Ee(t[n]))[S] ? i.push(a) : o.push(a); 4959 (a = A( 4960 e, 4961 ((y = o), 4962 (m = 0 < (v = i).length), 4963 (x = 0 < y.length), 4964 (r = function (e, t, n, r, i) { 4965 var o, 4966 a, 4967 s, 4968 u = 0, 4969 l = "0", 4970 c = e && [], 4971 f = [], 4972 p = w, 4973 d = e || (x && b.find.TAG("*", i)), 4974 h = (k += null == p ? 1 : Math.random() || 0.1), 4975 g = d.length; 4976 for ( 4977 i && (w = t == C || t || i); 4978 l !== g && null != (o = d[l]); 4979 l++ 4980 ) { 4981 if (x && o) { 4982 (a = 0), t || o.ownerDocument == C || (T(o), (n = !E)); 4983 while ((s = y[a++]))
4984 if (s(o, t || C, n)) { 4985 r.push(o); 4986 break; 4987 } 4988 i && (k = h); 4989 } 4990 m && ((o = !s && o) && u--, e && c.push(o)); 4991 } 4992 if (((u += l), m && l !== u)) { 4993 a = 0; 4994 while ((s = v[a++])) s(c, f, t, n); 4995 if (e) { 4996 if (0 < u) while (l--) c[l] || f[l] || (f[l] = q.call(r)); 4997 f = Te(f); 4998 } 4999 H.apply(r, f), 5000 i && 5001 !e && 5002 0 < f.length && 5003 1 < u + v.length && 5004 se.uniqueSort(r); 5005 } 5006 return i && ((k = h), (w = p)), c; 5007 }), 5008 m ? le(r) : r) 5009 )).selector = e; 5010 } 5011 return a; 5012 }), 5013 (g = se.select = 5014 function (e, t, n, r) { 5015 var i, 5016 o, 5017 a, 5018 s, 5019 u, 5020 l = "function" == typeof e && e, 5021 c = !r && h((e = l.selector || e)); 5022 if (((n = n || []), 1 === c.length)) { 5023 if ( 5024 2 < (o = c[0] = c[0].slice(0)).length && 5025 "ID" === (a = o[0]).type && 5026 9 === t.nodeType && 5027 E && 5028 b.relative[o[1].type] 5029 ) { 5030 if (!(t = (b.find.ID(a.matches[0].replace(te, ne), t) || [])[0])) 5031 return n; 5032 l && (t = t.parentNode), (e = e.slice(o.shift().value.length)); 5033 } 5034 i = G.needsContext.test(e) ? 0 : o.length; 5035 while (i--) { 5036 if (((a = o[i]), b.relative[(s = a.type)])) break; 5037 if ( 5038 (u = b.find[s]) && 5039 (r = u( 5040 a.matches[0].replace(te, ne), 5041 (ee.test(o[0].type) && ve(t.parentNode)) || t 5042 )) 5043 ) { 5044 if ((o.splice(i, 1), !(e = r.length && xe(o)))) 5045 return H.apply(n, r), n; 5046 break; 5047 } 5048 } 5049 } 5050 return ( 5051 (l || f(e, c))( 5052 r, 5053 t, 5054 !E, 5055 n, 5056 !t || (ee.test(e) && ve(t.parentNode)) || t 5057 ), 5058 n 5059 ); 5060 }), 5061 (d.sortStable = S.split("").sort(j).join("") === S), 5062 (d.detectDuplicates = !!l), 5063 T(), 5064 (d.sortDetached = ce(function (e) { 5065 return 1 & e.compareDocumentPosition(C.createElement("fieldset")); 5066 })), 5067 ce(function (e) { 5068 return ( 5069 (e.innerHTML = "<a href='#'></a>"), 5070 "#" === e.firstChild.getAttribute("href") 5071 ); 5072 }) || 5073 fe("type|href|height|width", function (e, t, n) { 5074 if (!n) return e.getAttribute(t, "type" === t.toLowerCase() ? 1 : 2); 5075 }), 5076 (d.attributes && 5077 ce(function (e) { 5078 return ( 5079 (e.innerHTML = "<input/>"), 5080 e.firstChild.setAttribute("value", ""), 5081 "" === e.firstChild.getAttribute("value") 5082 ); 5083 })) || 5084 fe("value", function (e, t, n) { 5085 if (!n && "input" === e.nodeName.toLowerCase()) return e.defaultValue; 5086 }), 5087 ce(function (e) { 5088 return null == e.getAttribute("disabled"); 5089 }) || 5090 fe(R, function (e, t, n) { 5091 var r; 5092 if (!n) 5093 return !0 === e[t] 5094 ? t.toLowerCase() 5095 : (r = e.getAttributeNode(t)) && r.specified 5096 ? r.value 5097 : null; 5098 }), 5099 se 5100 ); 5101 })(C); 5102 (S.find = d), 5103 (S.expr = d.selectors), 5104 (S.expr[":"] = S.expr.pseudos), 5105 (S.uniqueSort = S.unique = d.uniqueSort), 5106 (S.text = d.getText), 5107 (S.isXMLDoc = d.isXML), 5108 (S.contains = d.contains), 5109 (S.escapeSelector = d.escape); 5110 var h = function (e, t, n) { 5111 var r = [], 5112 i = void 0 !== n; 5113 while ((e = e[t]) && 9 !== e.nodeType) 5114 if (1 === e.nodeType) { 5115 if (i && S(e).is(n)) break; 5116 r.push(e); 5117 } 5118 return r; 5119 }, 5120 T = function (e, t) { 5121 for (var n = []; e; e = e.nextSibling) 5122 1 === e.nodeType && e !== t && n.push(e); 5123 return n; 5124 }, 5125 k = S.expr.match.needsContext; 5126 function A(e, t) {
5127 return e.nodeName && e.nodeName.toLowerCase() === t.toLowerCase(); 5128 } 5129 var N = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i; 5130 function j(e, n, r) { 5131 return m(n) 5132 ? S.grep(e, function (e, t) { 5133 return !!n.call(e, t, e) !== r; 5134 }) 5135 : n.nodeType 5136 ? S.grep(e, function (e) { 5137 return (e === n) !== r; 5138 }) 5139 : "string" != typeof n 5140 ? S.grep(e, function (e) { 5141 return -1 < i.call(n, e) !== r; 5142 }) 5143 : S.filter(n, e, r); 5144 } 5145 (S.filter = function (e, t, n) { 5146 var r = t[0]; 5147 return ( 5148 n && (e = ":not(" + e + ")"), 5149 1 === t.length && 1 === r.nodeType 5150 ? S.find.matchesSelector(r, e) 5151 ? [r] 5152 : [] 5153 : S.find.matches( 5154 e, 5155 S.grep(t, function (e) { 5156 return 1 === e.nodeType; 5157 }) 5158 ) 5159 ); 5160 }), 5161 S.fn.extend({ 5162 find: function (e) { 5163 var t, 5164 n, 5165 r = this.length, 5166 i = this; 5167 if ("string" != typeof e) 5168 return this.pushStack( 5169 S(e).filter(function () { 5170 for (t = 0; t < r; t++) if (S.contains(i[t], this)) return !0; 5171 }) 5172 ); 5173 for (n = this.pushStack([]), t = 0; t < r; t++) S.find(e, i[t], n); 5174 return 1 < r ? S.uniqueSort(n) : n; 5175 }, 5176 filter: function (e) { 5177 return this.pushStack(j(this, e || [], !1)); 5178 }, 5179 not: function (e) { 5180 return this.pushStack(j(this, e || [], !0)); 5181 }, 5182 is: function (e) { 5183 return !!j(this, "string" == typeof e && k.test(e) ? S(e) : e || [], !1) 5184 .length; 5185 }, 5186 }); 5187 var D, 5188 q = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/; 5189 ((S.fn.init = function (e, t, n) { 5190 var r, i; 5191 if (!e) return this; 5192 if (((n = n || D), "string" == typeof e)) { 5193 if ( 5194 !(r = 5195 "<" === e[0] && ">" === e[e.length - 1] && 3 <= e.length 5196 ? [null, e, null] 5197 : q.exec(e)) || 5198 (!r[1] && t) 5199 ) 5200 return !t || t.jquery ? (t || n).find(e) : this.constructor(t).find(e); 5201 if (r[1]) { 5202 if ( 5203 ((t = t instanceof S ? t[0] : t), 5204 S.merge( 5205 this, 5206 S.parseHTML(r[1], t && t.nodeType ? t.ownerDocument || t : E, !0) 5207 ), 5208 N.test(r[1]) && S.isPlainObject(t)) 5209 ) 5210 for (r in t) m(this[r]) ? this[r](t[r]) : this.attr(r, t[r]); 5211 return this; 5212 } 5213 return ( 5214 (i = E.getElementById(r[2])) && ((this[0] = i), (this.length = 1)), this 5215 ); 5216 } 5217 return e.nodeType 5218 ? ((this[0] = e), (this.length = 1), this) 5219 : m(e) 5220 ? void 0 !== n.ready 5221 ? n.ready(e) 5222 : e(S) 5223 : S.makeArray(e, this); 5224 }).prototype = S.fn), 5225 (D = S(E)); 5226 var L = /^(?:parents|prev(?:Until|All))/, 5227 H = { children: !0, contents: !0, next: !0, prev: !0 }; 5228 function O(e, t) { 5229 while ((e = e[t]) && 1 !== e.nodeType); 5230 return e; 5231 } 5232 S.fn.extend({ 5233 has: function (e) { 5234 var t = S(e, this), 5235 n = t.length; 5236 return this.filter(function () { 5237 for (var e = 0; e < n; e++) if (S.contains(this, t[e])) return !0; 5238 }); 5239 }, 5240 closest: function (e, t) { 5241 var n, 5242 r = 0, 5243 i = this.length, 5244 o = [], 5245 a = "string" != typeof e && S(e); 5246 if (!k.test(e)) 5247 for (; r < i; r++) 5248 for (n = this[r]; n && n !== t; n = n.parentNode) 5249 if ( 5250 n.nodeType < 11 && 5251 (a 5252 ? -1 < a.index(n) 5253 : 1 === n.nodeType && S.find.matchesSelector(n, e)) 5254 ) { 5255 o.push(n); 5256 break; 5257 } 5258 return this.pushStack(1 < o.length ? S.uniqueSort(o) : o); 5259 }, 5260 index: function (e) { 5261 return e 5262 ? "string" == typeof e 5263 ? i.call(S(e), this[0]) 5264 : i.call(this, e.jquery ? e[0] : e) 5265 : this[0] && this[0].parentNode 5266 ? this.first().prevAll().length 5267 : -1; 5268 }, 5269 add: function (e, t) { 5270 return this.pushStack(S.uniqueSort(S.merge(this.get(), S(e, t)))); 5271 }, 5272 addBack: function (e) { 5273 return this.add(null == e ? this.prevObject : this.prevObject.filter(e)); 5274 }, 5275 }), 5276 S.each( 5277 { 5278 parent: function (e) { 5279 var t = e.parentNode; 5280 return t && 11 !== t.nodeType ? t : null; 5281 }, 5282 parents: function (e) { 5283 return h(e, "parentNode"); 5284 }, 5285 parentsUntil: function (e, t, n) { 5286 return h(e, "parentNode", n); 5287 }, 5288 next: function (e) { 5289 return O(e, "nextSibling"); 5290 }, 5291 prev: function (e) { 5292 return O(e, "previousSibling"); 5293 }, 5294 nextAll: function (e) { 5295 return h(e, "nextSibling"); 5296 }, 5297 prevAll: function (e) { 5298 return h(e, "previousSibling"); 5299 }, 5300 nextUntil: function (e, t, n) { 5301 return h(e, "nextSibling", n); 5302 }, 5303 prevUntil: function (e, t, n) { 5304 return h(e, "previousSibling", n); 5305 }, 5306 siblings: function (e) { 5307 return T((e.parentNode || {}).firstChild, e); 5308 }, 5309 children: function (e) { 5310 return T(e.firstChild); 5311 }, 5312 contents: function (e) { 5313 return null != e.contentDocument && r(e.contentDocument) 5314 ? e.contentDocument 5315 : (A(e, "template") && (e = e.content || e), 5316 S.merge([], e.childNodes)); 5317 }, 5318 }, 5319 function (r, i) { 5320 S.fn[r] = function (e, t) { 5321 var n = S.map(this, i, e); 5322 return ( 5323 "Until" !== r.slice(-5) && (t = e), 5324 t && "string" == typeof t && (n = S.filter(t, n)), 5325 1 < this.length && 5326 (H[r] || S.uniqueSort(n), L.test(r) && n.reverse()), 5327 this.pushStack(n) 5328 ); 5329 }; 5330 } 5331 ); 5332 var P = /[^\x20\t\r\n\f]+/g; 5333 function R(e) { 5334 return e; 5335 } 5336 function M(e) { 5337 throw e; 5338 } 5339 function I(e, t, n, r) { 5340 var i; 5341 try {
5342 e && m((i = e.promise)) 5343 ? i.call(e).done(t).fail(n) 5344 : e && m((i = e.then)) 5345 ? i.call(e, t, n) 5346 : t.apply(void 0, [e].slice(r)); 5347 } catch (e) { 5348 n.apply(void 0, [e]); 5349 } 5350 } 5351 (S.Callbacks = function (r) { 5352 var e, n; 5353 r = 5354 "string" == typeof r 5355 ? ((e = r), 5356 (n = {}), 5357 S.each(e.match(P) || [], function (e, t) { 5358 n[t] = !0; 5359 }), 5360 n) 5361 : S.extend({}, r); 5362 var i, 5363 t, 5364 o, 5365 a, 5366 s = [], 5367 u = [], 5368 l = -1, 5369 c = function () { 5370 for (a = a || r.once, o = i = !0; u.length; l = -1) { 5371 t = u.shift(); 5372 while (++l < s.length) 5373 !1 === s[l].apply(t[0], t[1]) && 5374 r.stopOnFalse && 5375 ((l = s.length), (t = !1)); 5376 } 5377 r.memory || (t = !1), (i = !1), a && (s = t ? [] : ""); 5378 }, 5379 f = { 5380 add: function () { 5381 return ( 5382 s && 5383 (t && !i && ((l = s.length - 1), u.push(t)), 5384 (function n(e) { 5385 S.each(e, function (e, t) { 5386 m(t) 5387 ? (r.unique && f.has(t)) || s.push(t) 5388 : t && t.length && "string" !== w(t) && n(t); 5389 }); 5390 })(arguments), 5391 t && !i && c()), 5392 this 5393 ); 5394 }, 5395 remove: function () { 5396 return ( 5397 S.each(arguments, function (e, t) { 5398 var n; 5399 while (-1 < (n = S.inArray(t, s, n))) 5400 s.splice(n, 1), n <= l && l--; 5401 }), 5402 this 5403 ); 5404 }, 5405 has: function (e) { 5406 return e ? -1 < S.inArray(e, s) : 0 < s.length; 5407 }, 5408 empty: function () { 5409 return s && (s = []), this; 5410 }, 5411 disable: function () { 5412 return (a = u = []), (s = t = ""), this; 5413 }, 5414 disabled: function () { 5415 return !s; 5416 }, 5417 lock: function () { 5418 return (a = u = []), t || i || (s = t = ""), this; 5419 }, 5420 locked: function () { 5421 return !!a; 5422 }, 5423 fireWith: function (e, t) { 5424 return ( 5425 a || 5426 ((t = [e, (t = t || []).slice ? t.slice() : t]), 5427 u.push(t), 5428 i || c()), 5429 this 5430 ); 5431 }, 5432 fire: function () { 5433 return f.fireWith(this, arguments), this; 5434 }, 5435 fired: function () { 5436 return !!o; 5437 }, 5438 }; 5439 return f; 5440 }), 5441 S.extend({ 5442 Deferred: function (e) { 5443 var o = [ 5444 [ 5445 "notify", 5446 "progress", 5447 S.Callbacks("memory"), 5448 S.Callbacks("memory"), 5449 2, 5450 ], 5451 [ 5452 "resolve", 5453 "done", 5454 S.Callbacks("once memory"), 5455 S.Callbacks("once memory"), 5456 0, 5457 "resolved", 5458 ], 5459 [ 5460 "reject", 5461 "fail", 5462 S.Callbacks("once memory"), 5463 S.Callbacks("once memory"), 5464 1, 5465 "rejected", 5466 ], 5467 ], 5468 i = "pending", 5469 a = { 5470 state: function () { 5471 return i; 5472 }, 5473 always: function () { 5474 return s.done(arguments).fail(arguments), this; 5475 }, 5476 catch: function (e) { 5477 return a.then(null, e); 5478 }, 5479 pipe: function () { 5480 var i = arguments; 5481 return S.Deferred(function (r) { 5482 S.each(o, function (e, t) { 5483 var n = m(i[t[4]]) && i[t[4]]; 5484 s[t[1]](function () { 5485 var e = n && n.apply(this, arguments); 5486 e && m(e.promise) 5487 ? e 5488 .promise() 5489 .progress(r.notify) 5490 .done(r.resolve) 5491 .fail(r.reject) 5492 : r[t[0] + "With"](this, n ? [e] : arguments); 5493 }); 5494 }), 5495 (i = null); 5496 }).promise(); 5497 }, 5498 then: function (t, n, r) { 5499 var u = 0; 5500 function l(i, o, a, s) { 5501 return function () { 5502 var n = this, 5503 r = arguments, 5504 e = function () { 5505 var e, t; 5506 if (!(i < u)) { 5507 if ((e = a.apply(n, r)) === o.promise())
5508 throw new TypeError("Thenable self-resolution"); 5509 (t = 5510 e && 5511 ("object" == typeof e || "function" == typeof e) && 5512 e.then), 5513 m(t) 5514 ? s 5515 ? t.call(e, l(u, o, R, s), l(u, o, M, s)) 5516 : (u++, 5517 t.call( 5518 e, 5519 l(u, o, R, s), 5520 l(u, o, M, s), 5521 l(u, o, R, o.notifyWith) 5522 )) 5523 : (a !== R && ((n = void 0), (r = [e])), 5524 (s || o.resolveWith)(n, r)); 5525 } 5526 }, 5527 t = s 5528 ? e 5529 : function () { 5530 try { 5531 e(); 5532 } catch (e) { 5533 S.Deferred.exceptionHook && 5534 S.Deferred.exceptionHook(e, t.stackTrace), 5535 u <= i + 1 && 5536 (a !== M && ((n = void 0), (r = [e])), 5537 o.rejectWith(n, r)); 5538 } 5539 }; 5540 i 5541 ? t() 5542 : (S.Deferred.getStackHook && 5543 (t.stackTrace = S.Deferred.getStackHook()), 5544 C.setTimeout(t)); 5545 }; 5546 } 5547 return S.Deferred(function (e) { 5548 o[0][3].add(l(0, e, m(r) ? r : R, e.notifyWith)), 5549 o[1][3].add(l(0, e, m(t) ? t : R)), 5550 o[2][3].add(l(0, e, m(n) ? n : M)); 5551 }).promise(); 5552 }, 5553 promise: function (e) { 5554 return null != e ? S.extend(e, a) : a; 5555 }, 5556 }, 5557 s = {}; 5558 return ( 5559 S.each(o, function (e, t) { 5560 var n = t[2], 5561 r = t[5]; 5562 (a[t[1]] = n.add), 5563 r && 5564 n.add( 5565 function () { 5566 i = r; 5567 }, 5568 o[3 - e][2].disable, 5569 o[3 - e][3].disable, 5570 o[0][2].lock, 5571 o[0][3].lock 5572 ), 5573 n.add(t[3].fire), 5574 (s[t[0]] = function () { 5575 return ( 5576 s[t[0] + "With"](this === s ? void 0 : this, arguments), this 5577 ); 5578 }), 5579 (s[t[0] + "With"] = n.fireWith); 5580 }), 5581 a.promise(s), 5582 e && e.call(s, s), 5583 s 5584 ); 5585 }, 5586 when: function (e) { 5587 var n = arguments.length, 5588 t = n, 5589 r = Array(t), 5590 i = s.call(arguments), 5591 o = S.Deferred(), 5592 a = function (t) { 5593 return function (e) { 5594 (r[t] = this), 5595 (i[t] = 1 < arguments.length ? s.call(arguments) : e), 5596 --n || o.resolveWith(r, i); 5597 }; 5598 }; 5599 if ( 5600 n <= 1 && 5601 (I(e, o.done(a(t)).resolve, o.reject, !n), 5602 "pending" === o.state() || m(i[t] && i[t].then)) 5603 ) 5604 return o.then(); 5605 while (t--) I(i[t], a(t), o.reject); 5606 return o.promise(); 5607 }, 5608 }); 5609 var W = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; 5610 (S.Deferred.exceptionHook = function (e, t) { 5611 C.console && 5612 C.console.warn && 5613 e && 5614 W.test(e.name) && 5615 C.console.warn("jQuery.Deferred exception: " + e.message, e.stack, t); 5616 }), 5617 (S.readyException = function (e) { 5618 C.setTimeout(function () { 5619 throw e; 5620 }); 5621 }); 5622 var F = S.Deferred(); 5623 function $() { 5624 E.removeEventListener("DOMContentLoaded", $), 5625 C.removeEventListener("load", $), 5626 S.ready(); 5627 } 5628 (S.fn.ready = function (e) { 5629 return ( 5630 F.then(e)["catch"](function (e) { 5631 S.readyException(e); 5632 }), 5633 this 5634 ); 5635 }), 5636 S.extend({ 5637 isReady: !1, 5638 readyWait: 1, 5639 ready: function (e) {
5640 (!0 === e ? --S.readyWait : S.isReady) || 5641 ((S.isReady = !0) !== e && 0 < --S.readyWait) || 5642 F.resolveWith(E, [S]); 5643 }, 5644 }), 5645 (S.ready.then = F.then), 5646 "complete" === E.readyState || 5647 ("loading" !== E.readyState && !E.documentElement.doScroll) 5648 ? C.setTimeout(S.ready) 5649 : (E.addEventListener("DOMContentLoaded", $), 5650 C.addEventListener("load", $)); 5651 var B = function (e, t, n, r, i, o, a) { 5652 var s = 0, 5653 u = e.length, 5654 l = null == n; 5655 if ("object" === w(n)) 5656 for (s in ((i = !0), n)) B(e, t, s, n[s], !0, o, a); 5657 else if ( 5658 void 0 !== r && 5659 ((i = !0), 5660 m(r) || (a = !0), 5661 l && 5662 (a 5663 ? (t.call(e, r), (t = null)) 5664 : ((l = t), 5665 (t = function (e, t, n) { 5666 return l.call(S(e), n); 5667 }))), 5668 t) 5669 ) 5670 for (; s < u; s++) t(e[s], n, a ? r : r.call(e[s], s, t(e[s], n))); 5671 return i ? e : l ? t.call(e) : u ? t(e[0], n) : o; 5672 }, 5673 _ = /^-ms-/, 5674 z = /-([a-z])/g; 5675 function U(e, t) { 5676 return t.toUpperCase(); 5677 } 5678 function X(e) { 5679 return e.replace(_, "ms-").replace(z, U); 5680 } 5681 var V = function (e) {
5682 return 1 === e.nodeType || 9 === e.nodeType || !+e.nodeType; 5683 }; 5684 function G() { 5685 this.expando = S.expando + G.uid++; 5686 } 5687 (G.uid = 1), 5688 (G.prototype = { 5689 cache: function (e) { 5690 var t = e[this.expando]; 5691 return ( 5692 t || 5693 ((t = {}), 5694 V(e) && 5695 (e.nodeType 5696 ? (e[this.expando] = t) 5697 : Object.defineProperty(e, this.expando, { 5698 value: t, 5699 configurable: !0, 5700 }))), 5701 t 5702 ); 5703 }, 5704 set: function (e, t, n) { 5705 var r, 5706 i = this.cache(e); 5707 if ("string" == typeof t) i[X(t)] = n; 5708 else for (r in t) i[X(r)] = t[r]; 5709 return i; 5710 }, 5711 get: function (e, t) { 5712 return void 0 === t 5713 ? this.cache(e) 5714 : e[this.expando] && e[this.expando][X(t)]; 5715 }, 5716 access: function (e, t, n) { 5717 return void 0 === t || (t && "string" == typeof t && void 0 === n) 5718 ? this.get(e, t) 5719 : (this.set(e, t, n), void 0 !== n ? n : t); 5720 }, 5721 remove: function (e, t) { 5722 var n, 5723 r = e[this.expando]; 5724 if (void 0 !== r) { 5725 if (void 0 !== t) { 5726 n = (t = Array.isArray(t) 5727 ? t.map(X) 5728 : (t = X(t)) in r 5729 ? [t] 5730 : t.match(P) || []).length; 5731 while (n--) delete r[t[n]]; 5732 } 5733 (void 0 === t || S.isEmptyObject(r)) && 5734 (e.nodeType ? (e[this.expando] = void 0) : delete e[this.expando]); 5735 } 5736 }, 5737 hasData: function (e) { 5738 var t = e[this.expando]; 5739 return void 0 !== t && !S.isEmptyObject(t); 5740 }, 5741 }); 5742 var Y = new G(), 5743 Q = new G(), 5744 J = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, 5745 K = /[A-Z]/g; 5746 function Z(e, t, n) { 5747 var r, i; 5748 if (void 0 === n && 1 === e.nodeType) 5749 if ( 5750 ((r = "data-" + t.replace(K, "-$&").toLowerCase()), 5751 "string" == typeof (n = e.getAttribute(r))) 5752 ) { 5753 try { 5754 n = 5755 "true" === (i = n) || 5756 ("false" !== i && 5757 ("null" === i 5758 ? null 5759 : i === +i + "" 5760 ? +i 5761 : J.test(i) 5762 ? JSON.parse(i) 5763 : i)); 5764 } catch (e) {} 5765 Q.set(e, t, n); 5766 } else n = void 0; 5767 return n; 5768 } 5769 S.extend({ 5770 hasData: function (e) { 5771 return Q.hasData(e) || Y.hasData(e); 5772 }, 5773 data: function (e, t, n) { 5774 return Q.access(e, t, n); 5775 }, 5776 removeData: function (e, t) { 5777 Q.remove(e, t); 5778 }, 5779 _data: function (e, t, n) { 5780 return Y.access(e, t, n); 5781 }, 5782 _removeData: function (e, t) { 5783 Y.remove(e, t); 5784 }, 5785 }), 5786 S.fn.extend({ 5787 data: function (n, e) { 5788 var t, 5789 r, 5790 i, 5791 o = this[0], 5792 a = o && o.attributes; 5793 if (void 0 === n) { 5794 if ( 5795 this.length && 5796 ((i = Q.get(o)), 1 === o.nodeType && !Y.get(o, "hasDataAttrs")) 5797 ) { 5798 t = a.length; 5799 while (t--) 5800 a[t] && 5801 0 === (r = a[t].name).indexOf("data-") && 5802 ((r = X(r.slice(5))), Z(o, r, i[r])); 5803 Y.set(o, "hasDataAttrs", !0); 5804 } 5805 return i; 5806 } 5807 return "object" == typeof n 5808 ? this.each(function () { 5809 Q.set(this, n); 5810 }) 5811 : B( 5812 this, 5813 function (e) { 5814 var t; 5815 if (o && void 0 === e) 5816 return void 0 !== (t = Q.get(o, n)) 5817 ? t 5818 : void 0 !== (t = Z(o, n)) 5819 ? t 5820 : void 0; 5821 this.each(function () { 5822 Q.set(this, n, e); 5823 }); 5824 }, 5825 null, 5826 e, 5827 1 < arguments.length, 5828 null, 5829 !0 5830 ); 5831 }, 5832 removeData: function (e) { 5833 return this.each(function () { 5834 Q.remove(this, e); 5835 }); 5836 }, 5837 }), 5838 S.extend({ 5839 queue: function (e, t, n) { 5840 var r; 5841 if (e) 5842 return ( 5843 (t = (t || "fx") + "queue"), 5844 (r = Y.get(e, t)), 5845 n && 5846 (!r || Array.isArray(n) 5847 ? (r = Y.access(e, t, S.makeArray(n))) 5848 : r.push(n)), 5849 r || [] 5850 ); 5851 }, 5852 dequeue: function (e, t) { 5853 t = t || "fx"; 5854 var n = S.queue(e, t), 5855 r = n.length, 5856 i = n.shift(), 5857 o = S._queueHooks(e, t); 5858 "inprogress" === i && ((i = n.shift()), r--), 5859 i && 5860 ("fx" === t && n.unshift("inprogress"), 5861 delete o.stop, 5862 i.call( 5863 e, 5864 function () { 5865 S.dequeue(e, t); 5866 }, 5867 o 5868 )), 5869 !r && o && o.empty.fire(); 5870 }, 5871 _queueHooks: function (e, t) { 5872 var n = t + "queueHooks"; 5873 return ( 5874 Y.get(e, n) || 5875 Y.access(e, n, { 5876 empty: S.Callbacks("once memory").add(function () { 5877 Y.remove(e, [t + "queue", n]); 5878 }), 5879 }) 5880 ); 5881 }, 5882 }), 5883 S.fn.extend({ 5884 queue: function (t, n) { 5885 var e = 2; 5886 return ( 5887 "string" != typeof t && ((n = t), (t = "fx"), e--), 5888 arguments.length < e 5889 ? S.queue(this[0], t) 5890 : void 0 === n 5891 ? this 5892 : this.each(function () { 5893 var e = S.queue(this, t, n); 5894 S._queueHooks(this, t), 5895 "fx" === t && "inprogress" !== e[0] && S.dequeue(this, t); 5896 }) 5897 ); 5898 }, 5899 dequeue: function (e) { 5900 return this.each(function () { 5901 S.dequeue(this, e); 5902 }); 5903 }, 5904 clearQueue: function (e) { 5905 return this.queue(e || "fx", []); 5906 }, 5907 promise: function (e, t) { 5908 var n, 5909 r = 1, 5910 i = S.Deferred(), 5911 o = this, 5912 a = this.length, 5913 s = function () { 5914 --r || i.resolveWith(o, [o]); 5915 }; 5916 "string" != typeof e && ((t = e), (e = void 0)), (e = e || "fx"); 5917 while (a--) 5918 (n = Y.get(o[a], e + "queueHooks")) && 5919 n.empty && 5920 (r++, n.empty.add(s)); 5921 return s(), i.promise(t); 5922 }, 5923 }); 5924 var ee = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,
5925 te = new RegExp("^(?:([+-])=|)(" + ee + ")([a-z%]*)$", "i"), 5926 ne = ["Top", "Right", "Bottom", "Left"], 5927 re = E.documentElement, 5928 ie = function (e) { 5929 return S.contains(e.ownerDocument, e); 5930 }, 5931 oe = { composed: !0 }; 5932 re.getRootNode && 5933 (ie = function (e) { 5934 return ( 5935 S.contains(e.ownerDocument, e) || e.getRootNode(oe) === e.ownerDocument 5936 ); 5937 }); 5938 var ae = function (e, t) { 5939 return ( 5940 "none" === (e = t || e).style.display || 5941 ("" === e.style.display && ie(e) && "none" === S.css(e, "display")) 5942 ); 5943 }; 5944 function se(e, t, n, r) { 5945 var i, 5946 o, 5947 a = 20, 5948 s = r 5949 ? function () { 5950 return r.cur(); 5951 } 5952 : function () { 5953 return S.css(e, t, ""); 5954 }, 5955 u = s(), 5956 l = (n && n[3]) || (S.cssNumber[t] ? "" : "px"), 5957 c = 5958 e.nodeType && 5959 (S.cssNumber[t] || ("px" !== l && +u)) && 5960 te.exec(S.css(e, t)); 5961 if (c && c[3] !== l) { 5962 (u /= 2), (l = l || c[3]), (c = +u || 1); 5963 while (a--) 5964 S.style(e, t, c + l), 5965 (1 - o) * (1 - (o = s() / u || 0.5)) <= 0 && (a = 0), 5966 (c /= o); 5967 (c *= 2), S.style(e, t, c + l), (n = n || []); 5968 } 5969 return ( 5970 n && 5971 ((c = +c || +u || 0), 5972 (i = n[1] ? c + (n[1] + 1) * n[2] : +n[2]), 5973 r && ((r.unit = l), (r.start = c), (r.end = i))), 5974 i 5975 ); 5976 } 5977 var ue = {}; 5978 function le(e, t) { 5979 for (var n, r, i, o, a, s, u, l = [], c = 0, f = e.length; c < f; c++) 5980 (r = e[c]).style && 5981 ((n = r.style.display), 5982 t 5983 ? ("none" === n &&
5984 ((l[c] = Y.get(r, "display") || null), 5985 l[c] || (r.style.display = "")), 5986 "" === r.style.display && 5987 ae(r) && 5988 (l[c] = 5989 ((u = a = o = void 0), 5990 (a = (i = r).ownerDocument), 5991 (s = i.nodeName), 5992 (u = ue[s]) || 5993 ((o = a.body.appendChild(a.createElement(s))), 5994 (u = S.css(o, "display")), 5995 o.parentNode.removeChild(o), 5996 "none" === u && (u = "block"), 5997 (ue[s] = u))))) 5998 : "none" !== n && ((l[c] = "none"), Y.set(r, "display", n))); 5999 for (c = 0; c < f; c++) null != l[c] && (e[c].style.display = l[c]); 6000 return e; 6001 } 6002 S.fn.extend({ 6003 show: function () { 6004 return le(this, !0); 6005 }, 6006 hide: function () { 6007 return le(this); 6008 }, 6009 toggle: function (e) { 6010 return "boolean" == typeof e 6011 ? e 6012 ? this.show() 6013 : this.hide() 6014 : this.each(function () { 6015 ae(this) ? S(this).show() : S(this).hide(); 6016 }); 6017 }, 6018 }); 6019 var ce, 6020 fe, 6021 pe = /^(?:checkbox|radio)$/i, 6022 de = /<([a-z][^\/\0>\x20\t\r\n\f]*)/i, 6023 he = /^$|^module$|\/(?:java|ecma)script/i; 6024 (ce = E.createDocumentFragment().appendChild(E.createElement("div"))), 6025 (fe = E.createElement("input")).setAttribute("type", "radio"), 6026 fe.setAttribute("checked", "checked"), 6027 fe.setAttribute("name", "t"), 6028 ce.appendChild(fe), 6029 (v.checkClone = ce.cloneNode(!0).cloneNode(!0).lastChild.checked), 6030 (ce.innerHTML = "<textarea>x</textarea>"), 6031 (v.noCloneChecked = !!ce.cloneNode(!0).lastChild.defaultValue), 6032 (ce.innerHTML = "<option></option>"), 6033 (v.option = !!ce.lastChild); 6034 var ge = { 6035 thead: [1, "<table>", "</table>"], 6036 col: [2, "<table><colgroup>", "</colgroup></table>"], 6037 tr: [2, "<table><tbody>", "</tbody></table>"], 6038 td: [3, "<table><tbody><tr>", "</tr></tbody></table>"], 6039 _default: [0, "", ""], 6040 }; 6041 function ye(e, t) { 6042 var n; 6043 return ( 6044 (n = 6045 "undefined" != typeof e.getElementsByTagName 6046 ? e.getElementsByTagName(t || "*") 6047 : "undefined" != typeof e.querySelectorAll 6048 ? e.querySelectorAll(t || "*") 6049 : []), 6050 void 0 === t || (t && A(e, t)) ? S.merge([e], n) : n 6051 ); 6052 } 6053 function ve(e, t) { 6054 for (var n = 0, r = e.length; n < r; n++) 6055 Y.set(e[n], "globalEval", !t || Y.get(t[n], "globalEval")); 6056 } 6057 (ge.tbody = ge.tfoot = ge.colgroup = ge.caption = ge.thead), 6058 (ge.th = ge.td), 6059 v.option || 6060 (ge.optgroup = ge.option = 6061 [1, "<select multiple='multiple'>", "</select>"]); 6062 var me = /<|&#?\w+;/; 6063 function xe(e, t, n, r, i) { 6064 for ( 6065 var o, 6066 a, 6067 s, 6068 u, 6069 l, 6070 c, 6071 f = t.createDocumentFragment(), 6072 p = [], 6073 d = 0, 6074 h = e.length; 6075 d < h; 6076 d++ 6077 ) 6078 if ((o = e[d]) || 0 === o) 6079 if ("object" === w(o)) S.merge(p, o.nodeType ? [o] : o); 6080 else if (me.test(o)) { 6081 (a = a || f.appendChild(t.createElement("div"))), 6082 (s = (de.exec(o) || ["", ""])[1].toLowerCase()), 6083 (u = ge[s] || ge._default), 6084 (a.innerHTML = u[1] + S.htmlPrefilter(o) + u[2]), 6085 (c = u[0]); 6086 while (c--) a = a.lastChild; 6087 S.merge(p, a.childNodes), ((a = f.firstChild).textContent = ""); 6088 } else p.push(t.createTextNode(o)); 6089 (f.textContent = ""), (d = 0); 6090 while ((o = p[d++])) 6091 if (r && -1 < S.inArray(o, r)) i && i.push(o); 6092 else if ( 6093 ((l = ie(o)), (a = ye(f.appendChild(o), "script")), l && ve(a), n) 6094 ) { 6095 c = 0; 6096 while ((o = a[c++])) he.test(o.type || "") && n.push(o); 6097 } 6098 return f; 6099 } 6100 var be = /^([^.]*)(?:\.(.+)|)/; 6101 function we() { 6102 return !0; 6103 } 6104 function Te() { 6105 return !1; 6106 } 6107 function Ce(e, t) { 6108 return ( 6109 (e === 6110 (function () { 6111 try { 6112 return E.activeElement; 6113 } catch (e) {} 6114 })()) == 6115 ("focus" === t) 6116 ); 6117 } 6118 function Ee(e, t, n, r, i, o) { 6119 var a, s; 6120 if ("object" == typeof t) { 6121 for (s in ("string" != typeof n && ((r = r || n), (n = void 0)), t)) 6122 Ee(e, s, n, r, t[s], o); 6123 return e; 6124 } 6125 if ( 6126 (null == r && null == i 6127 ? ((i = n), (r = n = void 0)) 6128 : null == i && 6129 ("string" == typeof n 6130 ? ((i = r), (r = void 0)) 6131 : ((i = r), (r = n), (n = void 0))), 6132 !1 === i) 6133 ) 6134 i = Te; 6135 else if (!i) return e; 6136 return ( 6137 1 === o && 6138 ((a = i), 6139 ((i = function (e) { 6140 return S().off(e), a.apply(this, arguments); 6141 }).guid = a.guid || (a.guid = S.guid++))), 6142 e.each(function () { 6143 S.event.add(this, t, i, r, n); 6144 }) 6145 ); 6146 } 6147 function Se(e, i, o) { 6148 o 6149 ? (Y.set(e, i, !1), 6150 S.event.add(e, i, { 6151 namespace: !1, 6152 handler: function (e) { 6153 var t, 6154 n, 6155 r = Y.get(this, i); 6156 if (1 & e.isTrigger && this[i]) { 6157 if (r.length) 6158 (S.event.special[i] || {}).delegateType && e.stopPropagation(); 6159 else if ( 6160 ((r = s.call(arguments)), 6161 Y.set(this, i, r), 6162 (t = o(this, i)), 6163 this[i](), 6164 r !== (n = Y.get(this, i)) || t ? Y.set(this, i, !1) : (n = {}), 6165 r !== n) 6166 ) 6167 return ( 6168 e.stopImmediatePropagation(), e.preventDefault(), n && n.value 6169 ); 6170 } else 6171 r.length && 6172 (Y.set(this, i, { 6173 value: S.event.trigger( 6174 S.extend(r[0], S.Event.prototype), 6175 r.slice(1), 6176 this 6177 ), 6178 }), 6179 e.stopImmediatePropagation()); 6180 }, 6181 })) 6182 : void 0 === Y.get(e, i) && S.event.add(e, i, we); 6183 } 6184 (S.event = { 6185 global: {}, 6186 add: function (t, e, n, r, i) { 6187 var o, 6188 a, 6189 s, 6190 u, 6191 l, 6192 c, 6193 f, 6194 p, 6195 d, 6196 h, 6197 g, 6198 y = Y.get(t); 6199 if (V(t)) { 6200 n.handler && ((n = (o = n).handler), (i = o.selector)), 6201 i && S.find.matchesSelector(re, i), 6202 n.guid || (n.guid = S.guid++), 6203 (u = y.events) || (u = y.events = Object.create(null)), 6204 (a = y.handle) || 6205 (a = y.handle = 6206 function (e) { 6207 return "undefined" != typeof S && S.event.triggered !== e.type 6208 ? S.event.dispatch.apply(t, arguments) 6209 : void 0; 6210 }), 6211 (l = (e = (e || "").match(P) || [""]).length); 6212 while (l--) 6213 (d = g = (s = be.exec(e[l]) || [])[1]), 6214 (h = (s[2] || "").split(".").sort()), 6215 d && 6216 ((f = S.event.special[d] || {}), 6217 (d = (i ? f.delegateType : f.bindType) || d), 6218 (f = S.event.special[d] || {}), 6219 (c = S.extend( 6220 { 6221 type: d, 6222 origType: g, 6223 data: r, 6224 handler: n, 6225 guid: n.guid, 6226 selector: i, 6227 needsContext: i && S.expr.match.needsContext.test(i), 6228 namespace: h.join("."), 6229 }, 6230 o 6231 )), 6232 (p = u[d]) || 6233 (((p = u[d] = []).delegateCount = 0), 6234 (f.setup && !1 !== f.setup.call(t, r, h, a)) || 6235 (t.addEventListener && t.addEventListener(d, a))), 6236 f.add && 6237 (f.add.call(t, c), c.handler.guid || (c.handler.guid = n.guid)), 6238 i ? p.splice(p.delegateCount++, 0, c) : p.push(c), 6239 (S.event.global[d] = !0)); 6240 } 6241 }, 6242 remove: function (e, t, n, r, i) { 6243 var o, 6244 a, 6245 s, 6246 u, 6247 l, 6248 c, 6249 f, 6250 p, 6251 d, 6252 h, 6253 g, 6254 y = Y.hasData(e) && Y.get(e); 6255 if (y && (u = y.events)) { 6256 l = (t = (t || "").match(P) || [""]).length; 6257 while (l--) 6258 if ( 6259 ((d = g = (s = be.exec(t[l]) || [])[1]), 6260 (h = (s[2] || "").split(".").sort()), 6261 d) 6262 ) { 6263 (f = S.event.special[d] || {}), 6264 (p = u[(d = (r ? f.delegateType : f.bindType) || d)] || []), 6265 (s = 6266 s[2] && 6267 new RegExp("(^|\\.)" + h.join("\\.(?:.*\\.|)") + "(\\.|$)")), 6268 (a = o = p.length); 6269 while (o--) 6270 (c = p[o]), 6271 (!i && g !== c.origType) || 6272 (n && n.guid !== c.guid) || 6273 (s && !s.test(c.namespace)) || 6274 (r && r !== c.selector && ("**" !== r || !c.selector)) || 6275 (p.splice(o, 1), 6276 c.selector && p.delegateCount--, 6277 f.remove && f.remove.call(e, c)); 6278 a && 6279 !p.length && 6280 ((f.teardown && !1 !== f.teardown.call(e, h, y.handle)) || 6281 S.removeEvent(e, d, y.handle), 6282 delete u[d]); 6283 } else for (d in u) S.event.remove(e, d + t[l], n, r, !0); 6284 S.isEmptyObject(u) && Y.remove(e, "handle events"); 6285 } 6286 }, 6287 dispatch: function (e) { 6288 var t, 6289 n, 6290 r, 6291 i, 6292 o, 6293 a, 6294 s = new Array(arguments.length), 6295 u = S.event.fix(e), 6296 l = (Y.get(this, "events") || Object.create(null))[u.type] || [], 6297 c = S.event.special[u.type] || {}; 6298 for (s[0] = u, t = 1; t < arguments.length; t++) s[t] = arguments[t]; 6299 if ( 6300 ((u.delegateTarget = this), 6301 !c.preDispatch || !1 !== c.preDispatch.call(this, u)) 6302 ) { 6303 (a = S.event.handlers.call(this, u, l)), (t = 0); 6304 while ((i = a[t++]) && !u.isPropagationStopped()) { 6305 (u.currentTarget = i.elem), (n = 0); 6306 while ((o = i.handlers[n++]) && !u.isImmediatePropagationStopped()) 6307 (u.rnamespace && 6308 !1 !== o.namespace && 6309 !u.rnamespace.test(o.namespace)) || 6310 ((u.handleObj = o), 6311 (u.data = o.data), 6312 void 0 !== 6313 (r = ( 6314 (S.event.special[o.origType] || {}).handle || o.handler 6315 ).apply(i.elem, s)) && 6316 !1 === (u.result = r) && 6317 (u.preventDefault(), u.stopPropagation())); 6318 } 6319 return c.postDispatch && c.postDispatch.call(this, u), u.result; 6320 } 6321 }, 6322 handlers: function (e, t) { 6323 var n, 6324 r, 6325 i, 6326 o, 6327 a, 6328 s = [], 6329 u = t.delegateCount, 6330 l = e.target; 6331 if (u && l.nodeType && !("click" === e.type && 1 <= e.button)) 6332 for (; l !== this; l = l.parentNode || this) 6333 if (1 === l.nodeType && ("click" !== e.type || !0 !== l.disabled)) { 6334 for (o = [], a = {}, n = 0; n < u; n++) 6335 void 0 === a[(i = (r = t[n]).selector + " ")] && 6336 (a[i] = r.needsContext 6337 ? -1 < S(i, this).index(l) 6338 : S.find(i, this, null, [l]).length), 6339 a[i] && o.push(r); 6340 o.length && s.push({ elem: l, handlers: o }); 6341 } 6342 return ( 6343 (l = this), u < t.length && s.push({ elem: l, handlers: t.slice(u) }), s 6344 ); 6345 }, 6346 addProp: function (t, e) { 6347 Object.defineProperty(S.Event.prototype, t, { 6348 enumerable: !0, 6349 configurable: !0, 6350 get: m(e) 6351 ? function () { 6352 if (this.originalEvent) return e(this.originalEvent); 6353 } 6354 : function () { 6355 if (this.originalEvent) return this.originalEvent[t]; 6356 }, 6357 set: function (e) { 6358 Object.defineProperty(this, t, { 6359 enumerable: !0, 6360 configurable: !0, 6361 writable: !0, 6362 value: e, 6363 }); 6364 }, 6365 }); 6366 }, 6367 fix: function (e) { 6368 return e[S.expando] ? e : new S.Event(e); 6369 }, 6370 special: { 6371 load: { noBubble: !0 },
6372 click: { 6373 setup: function (e) { 6374 var t = this || e; 6375 return ( 6376 pe.test(t.type) && t.click && A(t, "input") && Se(t, "click", we), 6377 !1 6378 ); 6379 }, 6380 trigger: function (e) { 6381 var t = this || e; 6382 return ( 6383 pe.test(t.type) && t.click && A(t, "input") && Se(t, "click"), !0 6384 ); 6385 }, 6386 _default: function (e) { 6387 var t = e.target; 6388 return ( 6389 (pe.test(t.type) && 6390 t.click && 6391 A(t, "input") && 6392 Y.get(t, "click")) || 6393 A(t, "a") 6394 ); 6395 }, 6396 }, 6397 beforeunload: { 6398 postDispatch: function (e) { 6399 void 0 !== e.result && 6400 e.originalEvent && 6401 (e.originalEvent.returnValue = e.result); 6402 }, 6403 }, 6404 }, 6405 }), 6406 (S.removeEvent = function (e, t, n) { 6407 e.removeEventListener && e.removeEventListener(t, n); 6408 }), 6409 (S.Event = function (e, t) { 6410 if (!(this instanceof S.Event)) return new S.Event(e, t); 6411 e && e.type 6412 ? ((this.originalEvent = e), 6413 (this.type = e.type), 6414 (this.isDefaultPrevented = 6415 e.defaultPrevented || 6416 (void 0 === e.defaultPrevented && !1 === e.returnValue) 6417 ? we 6418 : Te), 6419 (this.target = 6420 e.target && 3 === e.target.nodeType 6421 ? e.target.parentNode 6422 : e.target), 6423 (this.currentTarget = e.currentTarget), 6424 (this.relatedTarget = e.relatedTarget)) 6425 : (this.type = e), 6426 t && S.extend(this, t), 6427 (this.timeStamp = (e && e.timeStamp) || Date.now()), 6428 (this[S.expando] = !0); 6429 }), 6430 (S.Event.prototype = { 6431 constructor: S.Event, 6432 isDefaultPrevented: Te, 6433 isPropagationStopped: Te, 6434 isImmediatePropagationStopped: Te, 6435 isSimulated: !1, 6436 preventDefault: function () { 6437 var e = this.originalEvent; 6438 (this.isDefaultPrevented = we), 6439 e && !this.isSimulated && e.preventDefault(); 6440 }, 6441 stopPropagation: function () { 6442 var e = this.originalEvent; 6443 (this.isPropagationStopped = we), 6444 e && !this.isSimulated && e.stopPropagation(); 6445 }, 6446 stopImmediatePropagation: function () { 6447 var e = this.originalEvent; 6448 (this.isImmediatePropagationStopped = we), 6449 e && !this.isSimulated && e.stopImmediatePropagation(), 6450 this.stopPropagation(); 6451 }, 6452 }), 6453 S.each( 6454 { 6455 altKey: !0, 6456 bubbles: !0, 6457 cancelable: !0, 6458 changedTouches: !0, 6459 ctrlKey: !0, 6460 detail: !0, 6461 eventPhase: !0, 6462 metaKey: !0, 6463 pageX: !0, 6464 pageY: !0, 6465 shiftKey: !0, 6466 view: !0, 6467 char: !0, 6468 code: !0, 6469 charCode: !0, 6470 key: !0, 6471 keyCode: !0, 6472 button: !0, 6473 buttons: !0, 6474 clientX: !0, 6475 clientY: !0, 6476 offsetX: !0, 6477 offsetY: !0, 6478 pointerId: !0, 6479 pointerType: !0, 6480 screenX: !0, 6481 screenY: !0, 6482 targetTouches: !0, 6483 toElement: !0, 6484 touches: !0, 6485 which: !0, 6486 }, 6487 S.event.addProp 6488 ), 6489 S.each({ focus: "focusin", blur: "focusout" }, function (t, e) { 6490 S.event.special[t] = { 6491 setup: function () { 6492 return Se(this, t, Ce), !1; 6493 }, 6494 trigger: function () { 6495 return Se(this, t), !0; 6496 }, 6497 _default: function (e) { 6498 return Y.get(e.target, t); 6499 }, 6500 delegateType: e, 6501 }; 6502 }), 6503 S.each( 6504 { 6505 mouseenter: "mouseover", 6506 mouseleave: "mouseout", 6507 pointerenter: "pointerover", 6508 pointerleave: "pointerout", 6509 }, 6510 function (e, i) { 6511 S.event.special[e] = { 6512 delegateType: i, 6513 bindType: i, 6514 handle: function (e) { 6515 var t, 6516 n = e.relatedTarget, 6517 r = e.handleObj; 6518 return ( 6519 (n && (n === this || S.contains(this, n))) || 6520 ((e.type = r.origType), 6521 (t = r.handler.apply(this, arguments)), 6522 (e.type = i)), 6523 t 6524 ); 6525 }, 6526 }; 6527 } 6528 ), 6529 S.fn.extend({ 6530 on: function (e, t, n, r) { 6531 return Ee(this, e, t, n, r); 6532 }, 6533 one: function (e, t, n, r) { 6534 return Ee(this, e, t, n, r, 1); 6535 }, 6536 off: function (e, t, n) { 6537 var r, i; 6538 if (e && e.preventDefault && e.handleObj) 6539 return ( 6540 (r = e.handleObj), 6541 S(e.delegateTarget).off( 6542 r.namespace ? r.origType + "." + r.namespace : r.origType, 6543 r.selector, 6544 r.handler 6545 ), 6546 this 6547 ); 6548 if ("object" == typeof e) { 6549 for (i in e) this.off(i, t, e[i]); 6550 return this; 6551 } 6552 return ( 6553 (!1 !== t && "function" != typeof t) || ((n = t), (t = void 0)), 6554 !1 === n && (n = Te), 6555 this.each(function () { 6556 S.event.remove(this, e, n, t); 6557 }) 6558 ); 6559 }, 6560 }); 6561 var ke = /<script|<style|<link/i, 6562 Ae = /checked\s*(?:[^=]|=\s*.checked.)/i, 6563 Ne = /^\s*<!\[CDATA\[|\]\]>\s*$/g; 6564 function je(e, t) { 6565 return ( 6566 (A(e, "table") && 6567 A(11 !== t.nodeType ? t : t.firstChild, "tr") && 6568 S(e).children("tbody")[0]) || 6569 e 6570 ); 6571 } 6572 function De(e) { 6573 return (e.type = (null !== e.getAttribute("type")) + "/" + e.type), e; 6574 } 6575 function qe(e) { 6576 return ( 6577 "true/" === (e.type || "").slice(0, 5) 6578 ? (e.type = e.type.slice(5)) 6579 : e.removeAttribute("type"), 6580 e 6581 ); 6582 } 6583 function Le(e, t) { 6584 var n, r, i, o, a, s; 6585 if (1 === t.nodeType) { 6586 if (Y.hasData(e) && (s = Y.get(e).events)) 6587 for (i in (Y.remove(t, "handle events"), s)) 6588 for (n = 0, r = s[i].length; n < r; n++) S.event.add(t, i, s[i][n]); 6589 Q.hasData(e) && ((o = Q.access(e)), (a = S.extend({}, o)), Q.set(t, a)); 6590 } 6591 } 6592 function He(n, r, i, o) { 6593 r = g(r); 6594 var e, 6595 t, 6596 a, 6597 s, 6598 u, 6599 l, 6600 c = 0, 6601 f = n.length, 6602 p = f - 1, 6603 d = r[0], 6604 h = m(d); 6605 if (h || (1 < f && "string" == typeof d && !v.checkClone && Ae.test(d))) 6606 return n.each(function (e) { 6607 var t = n.eq(e); 6608 h && (r[0] = d.call(this, e, t.html())), He(t, r, i, o); 6609 }); 6610 if ( 6611 f && 6612 ((t = (e = xe(r, n[0].ownerDocument, !1, n, o)).firstChild), 6613 1 === e.childNodes.length && (e = t), 6614 t || o) 6615 ) { 6616 for (s = (a = S.map(ye(e, "script"), De)).length; c < f; c++) 6617 (u = e), 6618 c !== p && 6619 ((u = S.clone(u, !0, !0)), s && S.merge(a, ye(u, "script"))), 6620 i.call(n[c], u, c); 6621 if (s) 6622 for (l = a[a.length - 1].ownerDocument, S.map(a, qe), c = 0; c < s; c++) 6623 (u = a[c]), 6624 he.test(u.type || "") && 6625 !Y.access(u, "globalEval") && 6626 S.contains(l, u) && 6627 (u.src && "module" !== (u.type || "").toLowerCase() 6628 ? S._evalUrl && 6629 !u.noModule && 6630 S._evalUrl( 6631 u.src, 6632 { nonce: u.nonce || u.getAttribute("nonce") }, 6633 l 6634 ) 6635 : b(u.textContent.replace(Ne, ""), u, l)); 6636 } 6637 return n; 6638 } 6639 function Oe(e, t, n) { 6640 for (var r, i = t ? S.filter(t, e) : e, o = 0; null != (r = i[o]); o++) 6641 n || 1 !== r.nodeType || S.cleanData(ye(r)), 6642 r.parentNode && 6643 (n && ie(r) && ve(ye(r, "script")), r.parentNode.removeChild(r)); 6644 return e; 6645 } 6646 S.extend({ 6647 htmlPrefilter: function (e) { 6648 return e; 6649 }, 6650 clone: function (e, t, n) { 6651 var r, 6652 i, 6653 o, 6654 a, 6655 s, 6656 u, 6657 l, 6658 c = e.cloneNode(!0), 6659 f = ie(e); 6660 if ( 6661 !( 6662 v.noCloneChecked ||
6663 (1 !== e.nodeType && 11 !== e.nodeType) || 6664 S.isXMLDoc(e) 6665 ) 6666 ) 6667 for (a = ye(c), r = 0, i = (o = ye(e)).length; r < i; r++) 6668 (s = o[r]), 6669 (u = a[r]), 6670 void 0, 6671 "input" === (l = u.nodeName.toLowerCase()) && pe.test(s.type) 6672 ? (u.checked = s.checked) 6673 : ("input" !== l && "textarea" !== l) || 6674 (u.defaultValue = s.defaultValue); 6675 if (t) 6676 if (n) 6677 for (o = o || ye(e), a = a || ye(c), r = 0, i = o.length; r < i; r++) 6678 Le(o[r], a[r]); 6679 else Le(e, c); 6680 return ( 6681 0 < (a = ye(c, "script")).length && ve(a, !f && ye(e, "script")), c 6682 ); 6683 }, 6684 cleanData: function (e) { 6685 for (var t, n, r, i = S.event.special, o = 0; void 0 !== (n = e[o]); o++) 6686 if (V(n)) { 6687 if ((t = n[Y.expando])) { 6688 if (t.events) 6689 for (r in t.events) 6690 i[r] ? S.event.remove(n, r) : S.removeEvent(n, r, t.handle); 6691 n[Y.expando] = void 0; 6692 } 6693 n[Q.expando] && (n[Q.expando] = void 0); 6694 } 6695 }, 6696 }), 6697 S.fn.extend({ 6698 detach: function (e) { 6699 return Oe(this, e, !0); 6700 }, 6701 remove: function (e) { 6702 return Oe(this, e); 6703 }, 6704 text: function (e) { 6705 return B( 6706 this, 6707 function (e) { 6708 return void 0 === e 6709 ? S.text(this) 6710 : this.empty().each(function () { 6711 (1 !== this.nodeType && 6712 11 !== this.nodeType && 6713 9 !== this.nodeType) || 6714 (this.textContent = e); 6715 }); 6716 }, 6717 null, 6718 e, 6719 arguments.length 6720 ); 6721 }, 6722 append: function () { 6723 return He(this, arguments, function (e) { 6724 (1 !== this.nodeType && 6725 11 !== this.nodeType && 6726 9 !== this.nodeType) || 6727 je(this, e).appendChild(e); 6728 }); 6729 }, 6730 prepend: function () { 6731 return He(this, arguments, function (e) { 6732 if ( 6733 1 === this.nodeType || 6734 11 === this.nodeType || 6735 9 === this.nodeType 6736 ) { 6737 var t = je(this, e); 6738 t.insertBefore(e, t.firstChild); 6739 } 6740 }); 6741 }, 6742 before: function () { 6743 return He(this, arguments, function (e) { 6744 this.parentNode && this.parentNode.insertBefore(e, this); 6745 }); 6746 }, 6747 after: function () { 6748 return He(this, arguments, function (e) { 6749 this.parentNode && this.parentNode.insertBefore(e, this.nextSibling); 6750 }); 6751 }, 6752 empty: function () { 6753 for (var e, t = 0; null != (e = this[t]); t++) 6754 1 === e.nodeType && (S.cleanData(ye(e, !1)), (e.textContent = "")); 6755 return this; 6756 }, 6757 clone: function (e, t) { 6758 return ( 6759 (e = null != e && e), 6760 (t = null == t ? e : t), 6761 this.map(function () { 6762 return S.clone(this, e, t); 6763 }) 6764 ); 6765 }, 6766 html: function (e) { 6767 return B( 6768 this, 6769 function (e) { 6770 var t = this[0] || {}, 6771 n = 0, 6772 r = this.length; 6773 if (void 0 === e && 1 === t.nodeType) return t.innerHTML; 6774 if ( 6775 "string" == typeof e && 6776 !ke.test(e) && 6777 !ge[(de.exec(e) || ["", ""])[1].toLowerCase()] 6778 ) { 6779 e = S.htmlPrefilter(e); 6780 try { 6781 for (; n < r; n++) 6782 1 === (t = this[n] || {}).nodeType && 6783 (S.cleanData(ye(t, !1)), (t.innerHTML = e)); 6784 t = 0; 6785 } catch (e) {} 6786 } 6787 t && this.empty().append(e); 6788 }, 6789 null, 6790 e, 6791 arguments.length 6792 ); 6793 }, 6794 replaceWith: function () { 6795 var n = []; 6796 return He( 6797 this, 6798 arguments, 6799 function (e) { 6800 var t = this.parentNode; 6801 S.inArray(this, n) < 0 && 6802 (S.cleanData(ye(this)), t && t.replaceChild(e, this)); 6803 }, 6804 n 6805 ); 6806 }, 6807 }), 6808 S.each( 6809 { 6810 appendTo: "append",
6811 prependTo: "prepend", 6812 insertBefore: "before", 6813 insertAfter: "after", 6814 replaceAll: "replaceWith", 6815 }, 6816 function (e, a) { 6817 S.fn[e] = function (e) { 6818 for (var t, n = [], r = S(e), i = r.length - 1, o = 0; o <= i; o++) 6819 (t = o === i ? this : this.clone(!0)), 6820 S(r[o])[a](t), 6821 u.apply(n, t.get()); 6822 return this.pushStack(n); 6823 }; 6824 } 6825 ); 6826 var Pe = new RegExp("^(" + ee + ")(?!px)[a-z%]+$", "i"), 6827 Re = /^--/, 6828 Me = function (e) { 6829 var t = e.ownerDocument.defaultView; 6830 return (t && t.opener) || (t = C), t.getComputedStyle(e); 6831 }, 6832 Ie = function (e, t, n) { 6833 var r, 6834 i, 6835 o = {}; 6836 for (i in t) (o[i] = e.style[i]), (e.style[i] = t[i]); 6837 for (i in ((r = n.call(e)), t)) e.style[i] = o[i]; 6838 return r; 6839 }, 6840 We = new RegExp(ne.join("|"), "i"), 6841 Fe = "[\\x20\\t\\r\\n\\f]", 6842 $e = new RegExp("^" + Fe + "+|((?:^|[^\\\\])(?:\\\\.)*)" + Fe + "+$", "g"); 6843 function Be(e, t, n) { 6844 var r, 6845 i, 6846 o, 6847 a, 6848 s = Re.test(t), 6849 u = e.style; 6850 return ( 6851 (n = n || Me(e)) && 6852 ((a = n.getPropertyValue(t) || n[t]), 6853 s && a && (a = a.replace($e, "$1") || void 0), 6854 "" !== a || ie(e) || (a = S.style(e, t)), 6855 !v.pixelBoxStyles() && 6856 Pe.test(a) && 6857 We.test(t) && 6858 ((r = u.width), 6859 (i = u.minWidth), 6860 (o = u.maxWidth), 6861 (u.minWidth = u.maxWidth = u.width = a), 6862 (a = n.width), 6863 (u.width = r), 6864 (u.minWidth = i), 6865 (u.maxWidth = o))), 6866 void 0 !== a ? a + "" : a 6867 ); 6868 } 6869 function _e(e, t) { 6870 return { 6871 get: function () { 6872 if (!e()) return (this.get = t).apply(this, arguments); 6873 delete this.get; 6874 }, 6875 }; 6876 } 6877 !(function () { 6878 function e() { 6879 if (l) { 6880 (u.style.cssText = 6881 "position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0"), 6882 (l.style.cssText = 6883 "position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%"), 6884 re.appendChild(u).appendChild(l); 6885 var e = C.getComputedStyle(l); 6886 (n = "1%" !== e.top), 6887 (s = 12 === t(e.marginLeft)), 6888 (l.style.right = "60%"), 6889 (o = 36 === t(e.right)), 6890 (r = 36 === t(e.width)), 6891 (l.style.position = "absolute"), 6892 (i = 12 === t(l.offsetWidth / 3)), 6893 re.removeChild(u), 6894 (l = null); 6895 } 6896 } 6897 function t(e) { 6898 return Math.round(parseFloat(e)); 6899 } 6900 var n, 6901 r, 6902 i, 6903 o, 6904 a, 6905 s, 6906 u = E.createElement("div"), 6907 l = E.createElement("div"); 6908 l.style && 6909 ((l.style.backgroundClip = "content-box"), 6910 (l.cloneNode(!0).style.backgroundClip = ""), 6911 (v.clearCloneStyle = "content-box" === l.style.backgroundClip), 6912 S.extend(v, { 6913 boxSizingReliable: function () { 6914 return e(), r; 6915 }, 6916 pixelBoxStyles: function () { 6917 return e(), o; 6918 }, 6919 pixelPosition: function () { 6920 return e(), n; 6921 }, 6922 reliableMarginLeft: function () { 6923 return e(), s; 6924 }, 6925 scrollboxSize: function () { 6926 return e(), i; 6927 }, 6928 reliableTrDimensions: function () { 6929 var e, t, n, r; 6930 return ( 6931 null == a && 6932 ((e = E.createElement("table")), 6933 (t = E.createElement("tr")), 6934 (n = E.createElement("div")), 6935 (e.style.cssText = 6936 "position:absolute;left:-11111px;border-collapse:separate"), 6937 (t.style.cssText = "border:1px solid"), 6938 (t.style.height = "1px"), 6939 (n.style.height = "9px"), 6940 (n.style.display = "block"), 6941 re.appendChild(e).appendChild(t).appendChild(n), 6942 (r = C.getComputedStyle(t)), 6943 (a = 6944 parseInt(r.height, 10) + 6945 parseInt(r.borderTopWidth, 10) + 6946 parseInt(r.borderBottomWidth, 10) === 6947 t.offsetHeight), 6948 re.removeChild(e)), 6949 a 6950 ); 6951 }, 6952 })); 6953 })(); 6954 var ze = ["Webkit", "Moz", "ms"], 6955 Ue = E.createElement("div").style, 6956 Xe = {}; 6957 function Ve(e) { 6958 var t = S.cssProps[e] || Xe[e]; 6959 return ( 6960 t || 6961 (e in Ue 6962 ? e 6963 : (Xe[e] = 6964 (function (e) { 6965 var t = e[0].toUpperCase() + e.slice(1), 6966 n = ze.length; 6967 while (n--) if ((e = ze[n] + t) in Ue) return e; 6968 })(e) || e)) 6969 ); 6970 } 6971 var Ge = /^(none|table(?!-c[ea]).+)/, 6972 Ye = { position: "absolute", visibility: "hidden", display: "block" }, 6973 Qe = { letterSpacing: "0", fontWeight: "400" }; 6974 function Je(e, t, n) { 6975 var r = te.exec(t); 6976 return r ? Math.max(0, r[2] - (n || 0)) + (r[3] || "px") : t; 6977 } 6978 function Ke(e, t, n, r, i, o) { 6979 var a = "width" === t ? 1 : 0, 6980 s = 0, 6981 u = 0; 6982 if (n === (r ? "border" : "content")) return 0; 6983 for (; a < 4; a += 2) 6984 "margin" === n && (u += S.css(e, n + ne[a], !0, i)), 6985 r 6986 ? ("content" === n && (u -= S.css(e, "padding" + ne[a], !0, i)), 6987 "margin" !== n && 6988 (u -= S.css(e, "border" + ne[a] + "Width", !0, i))) 6989 : ((u += S.css(e, "padding" + ne[a], !0, i)), 6990 "padding" !== n 6991 ? (u += S.css(e, "border" + ne[a] + "Width", !0, i)) 6992 : (s += S.css(e, "border" + ne[a] + "Width", !0, i))); 6993 return ( 6994 !r && 6995 0 <= o && 6996 (u += 6997 Math.max( 6998 0, 6999 Math.ceil( 7000 e["offset" + t[0].toUpperCase() + t.slice(1)] - o - u - s - 0.5 7001 ) 7002 ) || 0), 7003 u 7004 ); 7005 } 7006 function Ze(e, t, n) { 7007 var r = Me(e), 7008 i = 7009 (!v.boxSizingReliable() || n) && 7010 "border-box" === S.css(e, "boxSizing", !1, r), 7011 o = i, 7012 a = Be(e, t, r), 7013 s = "offset" + t[0].toUpperCase() + t.slice(1); 7014 if (Pe.test(a)) { 7015 if (!n) return a; 7016 a = "auto"; 7017 } 7018 return ( 7019 ((!v.boxSizingReliable() && i) || 7020 (!v.reliableTrDimensions() && A(e, "tr")) || 7021 "auto" === a || 7022 (!parseFloat(a) && "inline" === S.css(e, "display", !1, r))) && 7023 e.getClientRects().length && 7024 ((i = "border-box" === S.css(e, "boxSizing", !1, r)), 7025 (o = s in e) && (a = e[s])), 7026 (a = parseFloat(a) || 0) + 7027 Ke(e, t, n || (i ? "border" : "content"), o, r, a) + 7028 "px" 7029 ); 7030 } 7031 function et(e, t, n, r, i) { 7032 return new et.prototype.init(e, t, n, r, i); 7033 } 7034 S.extend({ 7035 cssHooks: { 7036 opacity: { 7037 get: function (e, t) { 7038 if (t) { 7039 var n = Be(e, "opacity"); 7040 return "" === n ? "1" : n; 7041 } 7042 }, 7043 }, 7044 }, 7045 cssNumber: { 7046 animationIterationCount: !0, 7047 columnCount: !0, 7048 fillOpacity: !0, 7049 flexGrow: !0, 7050 flexShrink: !0, 7051 fontWeight: !0, 7052 gridArea: !0, 7053 gridColumn: !0, 7054 gridColumnEnd: !0, 7055 gridColumnStart: !0, 7056 gridRow: !0, 7057 gridRowEnd: !0, 7058 gridRowStart: !0, 7059 lineHeight: !0, 7060 opacity: !0, 7061 order: !0, 7062 orphans: !0, 7063 widows: !0, 7064 zIndex: !0, 7065 zoom: !0, 7066 }, 7067 cssProps: {}, 7068 style: function (e, t, n, r) { 7069 if (e && 3 !== e.nodeType && 8 !== e.nodeType && e.style) { 7070 var i, 7071 o, 7072 a, 7073 s = X(t),
7074 u = Re.test(t), 7075 l = e.style; 7076 if ( 7077 (u || (t = Ve(s)), (a = S.cssHooks[t] || S.cssHooks[s]), void 0 === n) 7078 ) 7079 return a && "get" in a && void 0 !== (i = a.get(e, !1, r)) ? i : l[t]; 7080 "string" === (o = typeof n) && 7081 (i = te.exec(n)) && 7082 i[1] && 7083 ((n = se(e, t, i)), (o = "number")), 7084 null != n && 7085 n == n && 7086 ("number" !== o || 7087 u || 7088 (n += (i && i[3]) || (S.cssNumber[s] ? "" : "px")), 7089 v.clearCloneStyle || 7090 "" !== n || 7091 0 !== t.indexOf("background") || 7092 (l[t] = "inherit"), 7093 (a && "set" in a && void 0 === (n = a.set(e, n, r))) || 7094 (u ? l.setProperty(t, n) : (l[t] = n))); 7095 } 7096 }, 7097 css: function (e, t, n, r) { 7098 var i, 7099 o, 7100 a, 7101 s = X(t); 7102 return ( 7103 Re.test(t) || (t = Ve(s)), 7104 (a = S.cssHooks[t] || S.cssHooks[s]) && 7105 "get" in a && 7106 (i = a.get(e, !0, n)), 7107 void 0 === i && (i = Be(e, t, r)), 7108 "normal" === i && t in Qe && (i = Qe[t]), 7109 "" === n || n 7110 ? ((o = parseFloat(i)), !0 === n || isFinite(o) ? o || 0 : i) 7111 : i 7112 ); 7113 }, 7114 }), 7115 S.each(["height", "width"], function (e, u) { 7116 S.cssHooks[u] = { 7117 get: function (e, t, n) { 7118 if (t) 7119 return !Ge.test(S.css(e, "display")) || 7120 (e.getClientRects().length && e.getBoundingClientRect().width) 7121 ? Ze(e, u, n) 7122 : Ie(e, Ye, function () { 7123 return Ze(e, u, n); 7124 }); 7125 }, 7126 set: function (e, t, n) { 7127 var r, 7128 i = Me(e), 7129 o = !v.scrollboxSize() && "absolute" === i.position, 7130 a = (o || n) && "border-box" === S.css(e, "boxSizing", !1, i), 7131 s = n ? Ke(e, u, n, a, i) : 0; 7132 return ( 7133 a && 7134 o && 7135 (s -= Math.ceil( 7136 e["offset" + u[0].toUpperCase() + u.slice(1)] - 7137 parseFloat(i[u]) - 7138 Ke(e, u, "border", !1, i) - 7139 0.5 7140 )), 7141 s && 7142 (r = te.exec(t)) && 7143 "px" !== (r[3] || "px") && 7144 ((e.style[u] = t), (t = S.css(e, u))), 7145 Je(0, t, s) 7146 ); 7147 }, 7148 }; 7149 }), 7150 (S.cssHooks.marginLeft = _e(v.reliableMarginLeft, function (e, t) { 7151 if (t) 7152 return ( 7153 (parseFloat(Be(e, "marginLeft")) || 7154 e.getBoundingClientRect().left - 7155 Ie(e, { marginLeft: 0 }, function () { 7156 return e.getBoundingClientRect().left; 7157 })) + "px" 7158 ); 7159 })), 7160 S.each({ margin: "", padding: "", border: "Width" }, function (i, o) { 7161 (S.cssHooks[i + o] = { 7162 expand: function (e) { 7163 for ( 7164 var t = 0, n = {}, r = "string" == typeof e ? e.split(" ") : [e]; 7165 t < 4; 7166 t++ 7167 ) 7168 n[i + ne[t] + o] = r[t] || r[t - 2] || r[0]; 7169 return n; 7170 }, 7171 }), 7172 "margin" !== i && (S.cssHooks[i + o].set = Je); 7173 }), 7174 S.fn.extend({ 7175 css: function (e, t) { 7176 return B( 7177 this, 7178 function (e, t, n) { 7179 var r, 7180 i, 7181 o = {}, 7182 a = 0; 7183 if (Array.isArray(t)) { 7184 for (r = Me(e), i = t.length; a < i; a++) 7185 o[t[a]] = S.css(e, t[a], !1, r); 7186 return o; 7187 } 7188 return void 0 !== n ? S.style(e, t, n) : S.css(e, t); 7189 }, 7190 e, 7191 t, 7192 1 < arguments.length 7193 ); 7194 }, 7195 }), 7196 (((S.Tween = et).prototype = { 7197 constructor: et, 7198 init: function (e, t, n, r, i, o) { 7199 (this.elem = e), 7200 (this.prop = n), 7201 (this.easing = i || S.easing._default), 7202 (this.options = t), 7203 (this.start = this.now = this.cur()), 7204 (this.end = r), 7205 (this.unit = o || (S.cssNumber[n] ? "" : "px")); 7206 }, 7207 cur: function () { 7208 var e = et.propHooks[this.prop]; 7209 return e && e.get ? e.get(this) : et.propHooks._default.get(this); 7210 }, 7211 run: function (e) { 7212 var t, 7213 n = et.propHooks[this.prop]; 7214 return ( 7215 this.options.duration 7216 ? (this.pos = t = 7217 S.easing[this.easing]( 7218 e, 7219 this.options.duration * e, 7220 0, 7221 1, 7222 this.options.duration 7223 )) 7224 : (this.pos = t = e),
7225 (this.now = (this.end - this.start) * t + this.start), 7226 this.options.step && 7227 this.options.step.call(this.elem, this.now, this), 7228 n && n.set ? n.set(this) : et.propHooks._default.set(this), 7229 this 7230 ); 7231 }, 7232 }).init.prototype = et.prototype), 7233 ((et.propHooks = { 7234 _default: { 7235 get: function (e) { 7236 var t; 7237 return 1 !== e.elem.nodeType || 7238 (null != e.elem[e.prop] && null == e.elem.style[e.prop]) 7239 ? e.elem[e.prop] 7240 : (t = S.css(e.elem, e.prop, "")) && "auto" !== t 7241 ? t 7242 : 0; 7243 }, 7244 set: function (e) { 7245 S.fx.step[e.prop] 7246 ? S.fx.step[e.prop](e) 7247 : 1 !== e.elem.nodeType || 7248 (!S.cssHooks[e.prop] && null == e.elem.style[Ve(e.prop)]) 7249 ? (e.elem[e.prop] = e.now) 7250 : S.style(e.elem, e.prop, e.now + e.unit); 7251 }, 7252 }, 7253 }).scrollTop = et.propHooks.scrollLeft = 7254 { 7255 set: function (e) { 7256 e.elem.nodeType && e.elem.parentNode && (e.elem[e.prop] = e.now); 7257 }, 7258 }), 7259 (S.easing = { 7260 linear: function (e) { 7261 return e; 7262 }, 7263 swing: function (e) { 7264 return 0.5 - Math.cos(e * Math.PI) / 2; 7265 }, 7266 _default: "swing", 7267 }), 7268 (S.fx = et.prototype.init), 7269 (S.fx.step = {}); 7270 var tt, 7271 nt, 7272 rt, 7273 it, 7274 ot = /^(?:toggle|show|hide)$/, 7275 at = /queueHooks$/; 7276 function st() { 7277 nt && 7278 (!1 === E.hidden && C.requestAnimationFrame 7279 ? C.requestAnimationFrame(st) 7280 : C.setTimeout(st, S.fx.interval), 7281 S.fx.tick()); 7282 } 7283 function ut() { 7284 return ( 7285 C.setTimeout(function () { 7286 tt = void 0; 7287 }), 7288 (tt = Date.now()) 7289 ); 7290 } 7291 function lt(e, t) { 7292 var n, 7293 r = 0, 7294 i = { height: e }; 7295 for (t = t ? 1 : 0; r < 4; r += 2 - t) 7296 i["margin" + (n = ne[r])] = i["padding" + n] = e; 7297 return t && (i.opacity = i.width = e), i; 7298 } 7299 function ct(e, t, n) { 7300 for ( 7301 var r, 7302 i = (ft.tweeners[t] || []).concat(ft.tweeners["*"]), 7303 o = 0, 7304 a = i.length; 7305 o < a; 7306 o++ 7307 ) 7308 if ((r = i[o].call(n, t, e))) return r; 7309 } 7310 function ft(o, e, t) { 7311 var n, 7312 a, 7313 r = 0, 7314 i = ft.prefilters.length, 7315 s = S.Deferred().always(function () { 7316 delete u.elem; 7317 }), 7318 u = function () { 7319 if (a) return !1; 7320 for ( 7321 var e = tt || ut(), 7322 t = Math.max(0, l.startTime + l.duration - e), 7323 n = 1 - (t / l.duration || 0), 7324 r = 0, 7325 i = l.tweens.length; 7326 r < i; 7327 r++ 7328 ) 7329 l.tweens[r].run(n); 7330 return ( 7331 s.notifyWith(o, [l, n, t]), 7332 n < 1 && i 7333 ? t 7334 : (i || s.notifyWith(o, [l, 1, 0]), s.resolveWith(o, [l]), !1) 7335 ); 7336 }, 7337 l = s.promise({ 7338 elem: o, 7339 props: S.extend({}, e), 7340 opts: S.extend(!0, { specialEasing: {}, easing: S.easing._default }, t), 7341 originalProperties: e, 7342 originalOptions: t, 7343 startTime: tt || ut(), 7344 duration: t.duration, 7345 tweens: [], 7346 createTween: function (e, t) { 7347 var n = S.Tween( 7348 o, 7349 l.opts, 7350 e, 7351 t, 7352 l.opts.specialEasing[e] || l.opts.easing 7353 ); 7354 return l.tweens.push(n), n; 7355 }, 7356 stop: function (e) { 7357 var t = 0, 7358 n = e ? l.tweens.length : 0; 7359 if (a) return this; 7360 for (a = !0; t < n; t++) l.tweens[t].run(1); 7361 return ( 7362 e 7363 ? (s.notifyWith(o, [l, 1, 0]), s.resolveWith(o, [l, e])) 7364 : s.rejectWith(o, [l, e]), 7365 this 7366 ); 7367 }, 7368 }), 7369 c = l.props; 7370 for ( 7371 !(function (e, t) { 7372 var n, r, i, o, a; 7373 for (n in e) 7374 if ( 7375 ((i = t[(r = X(n))]), 7376 (o = e[n]), 7377 Array.isArray(o) && ((i = o[1]), (o = e[n] = o[0])), 7378 n !== r && ((e[r] = o), delete e[n]),
7379 (a = S.cssHooks[r]) && ("expand" in a)) 7380 ) 7381 for (n in ((o = a.expand(o)), delete e[r], o)) 7382 (n in e) || ((e[n] = o[n]), (t[n] = i)); 7383 else t[r] = i; 7384 })(c, l.opts.specialEasing); 7385 r < i; 7386 r++ 7387 ) 7388 if ((n = ft.prefilters[r].call(l, o, c, l.opts))) 7389 return ( 7390 m(n.stop) && 7391 (S._queueHooks(l.elem, l.opts.queue).stop = n.stop.bind(n)), 7392 n 7393 ); 7394 return ( 7395 S.map(c, ct, l), 7396 m(l.opts.start) && l.opts.start.call(o, l), 7397 l 7398 .progress(l.opts.progress) 7399 .done(l.opts.done, l.opts.complete) 7400 .fail(l.opts.fail) 7401 .always(l.opts.always), 7402 S.fx.timer(S.extend(u, { elem: o, anim: l, queue: l.opts.queue })), 7403 l 7404 ); 7405 } 7406 (S.Animation = S.extend(ft, { 7407 tweeners: { 7408 "*": [ 7409 function (e, t) { 7410 var n = this.createTween(e, t); 7411 return se(n.elem, e, te.exec(t), n), n; 7412 }, 7413 ], 7414 }, 7415 tweener: function (e, t) { 7416 m(e) ? ((t = e), (e = ["*"])) : (e = e.match(P)); 7417 for (var n, r = 0, i = e.length; r < i; r++) 7418 (n = e[r]), 7419 (ft.tweeners[n] = ft.tweeners[n] || []), 7420 ft.tweeners[n].unshift(t); 7421 }, 7422 prefilters: [ 7423 function (e, t, n) { 7424 var r, 7425 i, 7426 o, 7427 a, 7428 s, 7429 u, 7430 l, 7431 c, 7432 f = "width" in t || "height" in t, 7433 p = this, 7434 d = {}, 7435 h = e.style, 7436 g = e.nodeType && ae(e), 7437 y = Y.get(e, "fxshow"); 7438 for (r in (n.queue || 7439 (null == (a = S._queueHooks(e, "fx")).unqueued && 7440 ((a.unqueued = 0), 7441 (s = a.empty.fire), 7442 (a.empty.fire = function () { 7443 a.unqueued || s(); 7444 })), 7445 a.unqueued++, 7446 p.always(function () { 7447 p.always(function () { 7448 a.unqueued--, S.queue(e, "fx").length || a.empty.fire(); 7449 }); 7450 })), 7451 t)) 7452 if (((i = t[r]), ot.test(i))) { 7453 if ( 7454 (delete t[r], 7455 (o = o || "toggle" === i), 7456 i === (g ? "hide" : "show")) 7457 ) { 7458 if ("show" !== i || !y || void 0 === y[r]) continue; 7459 g = !0; 7460 } 7461 d[r] = (y && y[r]) || S.style(e, r); 7462 } 7463 if ((u = !S.isEmptyObject(t)) || !S.isEmptyObject(d)) 7464 for (r in (f && 7465 1 === e.nodeType && 7466 ((n.overflow = [h.overflow, h.overflowX, h.overflowY]), 7467 null == (l = y && y.display) && (l = Y.get(e, "display")), 7468 "none" === (c = S.css(e, "display")) && 7469 (l 7470 ? (c = l) 7471 : (le([e], !0), 7472 (l = e.style.display || l), 7473 (c = S.css(e, "display")), 7474 le([e]))), 7475 ("inline" === c || ("inline-block" === c && null != l)) && 7476 "none" === S.css(e, "float") && 7477 (u || 7478 (p.done(function () { 7479 h.display = l; 7480 }), 7481 null == l && ((c = h.display), (l = "none" === c ? "" : c))), 7482 (h.display = "inline-block"))), 7483 n.overflow && 7484 ((h.overflow = "hidden"), 7485 p.always(function () { 7486 (h.overflow = n.overflow[0]), 7487 (h.overflowX = n.overflow[1]), 7488 (h.overflowY = n.overflow[2]); 7489 })), 7490 (u = !1), 7491 d)) 7492 u || 7493 (y 7494 ? "hidden" in y && (g = y.hidden) 7495 : (y = Y.access(e, "fxshow", { display: l })), 7496 o && (y.hidden = !g), 7497 g && le([e], !0), 7498 p.done(function () { 7499 for (r in (g || le([e]), Y.remove(e, "fxshow"), d)) 7500 S.style(e, r, d[r]); 7501 })), 7502 (u = ct(g ? y[r] : 0, r, p)), 7503 r in y || 7504 ((y[r] = u.start), g && ((u.end = u.start), (u.start = 0))); 7505 }, 7506 ], 7507 prefilter: function (e, t) { 7508 t ? ft.prefilters.unshift(e) : ft.prefilters.push(e); 7509 }, 7510 })), 7511 (S.speed = function (e, t, n) { 7512 var r = 7513 e && "object" == typeof e 7514 ? S.extend({}, e) 7515 : { 7516 complete: n || (!n && t) || (m(e) && e), 7517 duration: e, 7518 easing: (n && t) || (t && !m(t) && t), 7519 }; 7520 return ( 7521 S.fx.off 7522 ? (r.duration = 0) 7523 : "number" != typeof r.duration && 7524 (r.duration in S.fx.speeds 7525 ? (r.duration = S.fx.speeds[r.duration]) 7526 : (r.duration = S.fx.speeds._default)), 7527 (null != r.queue && !0 !== r.queue) || (r.queue = "fx"), 7528 (r.old = r.complete), 7529 (r.complete = function () { 7530 m(r.old) && r.old.call(this), r.queue && S.dequeue(this, r.queue); 7531 }), 7532 r 7533 ); 7534 }), 7535 S.fn.extend({ 7536 fadeTo: function (e, t, n, r) { 7537 return this.filter(ae) 7538 .css("opacity", 0) 7539 .show() 7540 .end() 7541 .animate({ opacity: t }, e, n, r); 7542 }, 7543 animate: function (t, e, n, r) { 7544 var i = S.isEmptyObject(t), 7545 o = S.speed(e, n, r), 7546 a = function () { 7547 var e = ft(this, S.extend({}, t), o); 7548 (i || Y.get(this, "finish")) && e.stop(!0); 7549 }; 7550 return ( 7551 (a.finish = a), 7552 i || !1 === o.queue ? this.each(a) : this.queue(o.queue, a) 7553 ); 7554 }, 7555 stop: function (i, e, o) { 7556 var a = function (e) { 7557 var t = e.stop; 7558 delete e.stop, t(o); 7559 }; 7560 return ( 7561 "string" != typeof i && ((o = e), (e = i), (i = void 0)), 7562 e && this.queue(i || "fx", []), 7563 this.each(function () { 7564 var e = !0, 7565 t = null != i && i + "queueHooks", 7566 n = S.timers, 7567 r = Y.get(this); 7568 if (t) r[t] && r[t].stop && a(r[t]); 7569 else for (t in r) r[t] && r[t].stop && at.test(t) && a(r[t]); 7570 for (t = n.length; t--; ) 7571 n[t].elem !== this || 7572 (null != i && n[t].queue !== i) || 7573 (n[t].anim.stop(o), (e = !1), n.splice(t, 1)); 7574 (!e && o) || S.dequeue(this, i); 7575 }) 7576 ); 7577 }, 7578 finish: function (a) { 7579 return ( 7580 !1 !== a && (a = a || "fx"), 7581 this.each(function () { 7582 var e, 7583 t = Y.get(this), 7584 n = t[a + "queue"], 7585 r = t[a + "queueHooks"], 7586 i = S.timers, 7587 o = n ? n.length : 0; 7588 for ( 7589 t.finish = !0, 7590 S.queue(this, a, []), 7591 r && r.stop && r.stop.call(this, !0), 7592 e = i.length; 7593 e--; 7594 7595 ) 7596 i[e].elem === this && 7597 i[e].queue === a && 7598 (i[e].anim.stop(!0), i.splice(e, 1)); 7599 for (e = 0; e < o; e++) 7600 n[e] && n[e].finish && n[e].finish.call(this); 7601 delete t.finish; 7602 }) 7603 ); 7604 }, 7605 }), 7606 S.each(["toggle", "show", "hide"], function (e, r) { 7607 var i = S.fn[r]; 7608 S.fn[r] = function (e, t, n) { 7609 return null == e || "boolean" == typeof e 7610 ? i.apply(this, arguments) 7611 : this.animate(lt(r, !0), e, t, n); 7612 }; 7613 }), 7614 S.each( 7615 { 7616 slideDown: lt("show"), 7617 slideUp: lt("hide"), 7618 slideToggle: lt("toggle"), 7619 fadeIn: { opacity: "show" }, 7620 fadeOut: { opacity: "hide" }, 7621 fadeToggle: { opacity: "toggle" }, 7622 }, 7623 function (e, r) { 7624 S.fn[e] = function (e, t, n) { 7625 return this.animate(r, e, t, n); 7626 }; 7627 } 7628 ), 7629 (S.timers = []), 7630 (S.fx.tick = function () { 7631 var e, 7632 t = 0, 7633 n = S.timers; 7634 for (tt = Date.now(); t < n.length; t++) 7635 (e = n[t])() || n[t] !== e || n.splice(t--, 1); 7636 n.length || S.fx.stop(), (tt = void 0); 7637 }), 7638 (S.fx.timer = function (e) { 7639 S.timers.push(e), S.fx.start(); 7640 }), 7641 (S.fx.interval = 13), 7642 (S.fx.start = function () { 7643 nt || ((nt = !0), st()); 7644 }), 7645 (S.fx.stop = function () { 7646 nt = null; 7647 }), 7648 (S.fx.speeds = { slow: 600, fast: 200, _default: 400 }),
7649 (S.fn.delay = function (r, e) { 7650 return ( 7651 (r = (S.fx && S.fx.speeds[r]) || r), 7652 (e = e || "fx"), 7653 this.queue(e, function (e, t) { 7654 var n = C.setTimeout(e, r); 7655 t.stop = function () { 7656 C.clearTimeout(n); 7657 }; 7658 }) 7659 ); 7660 }), 7661 (rt = E.createElement("input")), 7662 (it = E.createElement("select").appendChild(E.createElement("option"))), 7663 (rt.type = "checkbox"), 7664 (v.checkOn = "" !== rt.value), 7665 (v.optSelected = it.selected), 7666 ((rt = E.createElement("input")).value = "t"), 7667 (rt.type = "radio"), 7668 (v.radioValue = "t" === rt.value); 7669 var pt, 7670 dt = S.expr.attrHandle; 7671 S.fn.extend({ 7672 attr: function (e, t) { 7673 return B(this, S.attr, e, t, 1 < arguments.length); 7674 }, 7675 removeAttr: function (e) { 7676 return this.each(function () { 7677 S.removeAttr(this, e); 7678 }); 7679 }, 7680 }), 7681 S.extend({ 7682 attr: function (e, t, n) { 7683 var r, 7684 i, 7685 o = e.nodeType; 7686 if (3 !== o && 8 !== o && 2 !== o) 7687 return "undefined" == typeof e.getAttribute 7688 ? S.prop(e, t, n) 7689 : ((1 === o && S.isXMLDoc(e)) || 7690 (i = 7691 S.attrHooks[t.toLowerCase()] || 7692 (S.expr.match.bool.test(t) ? pt : void 0)), 7693 void 0 !== n 7694 ? null === n 7695 ? void S.removeAttr(e, t) 7696 : i && "set" in i && void 0 !== (r = i.set(e, n, t)) 7697 ? r 7698 : (e.setAttribute(t, n + ""), n) 7699 : i && "get" in i && null !== (r = i.get(e, t)) 7700 ? r 7701 : null == (r = S.find.attr(e, t)) 7702 ? void 0 7703 : r); 7704 }, 7705 attrHooks: { 7706 type: { 7707 set: function (e, t) { 7708 if (!v.radioValue && "radio" === t && A(e, "input")) { 7709 var n = e.value; 7710 return e.setAttribute("type", t), n && (e.value = n), t; 7711 } 7712 }, 7713 }, 7714 }, 7715 removeAttr: function (e, t) { 7716 var n, 7717 r = 0, 7718 i = t && t.match(P); 7719 if (i && 1 === e.nodeType) while ((n = i[r++])) e.removeAttribute(n); 7720 }, 7721 }), 7722 (pt = { 7723 set: function (e, t, n) { 7724 return !1 === t ? S.removeAttr(e, n) : e.setAttribute(n, n), n; 7725 }, 7726 }), 7727 S.each(S.expr.match.bool.source.match(/\w+/g), function (e, t) { 7728 var a = dt[t] || S.find.attr; 7729 dt[t] = function (e, t, n) { 7730 var r, 7731 i, 7732 o = t.toLowerCase(); 7733 return ( 7734 n || 7735 ((i = dt[o]), 7736 (dt[o] = r), 7737 (r = null != a(e, t, n) ? o : null), 7738 (dt[o] = i)), 7739 r 7740 ); 7741 }; 7742 }); 7743 var ht = /^(?:input|select|textarea|button)$/i, 7744 gt = /^(?:a|area)$/i; 7745 function yt(e) { 7746 return (e.match(P) || []).join(" "); 7747 } 7748 function vt(e) { 7749 return (e.getAttribute && e.getAttribute("class")) || ""; 7750 } 7751 function mt(e) { 7752 return Array.isArray(e) ? e : ("string" == typeof e && e.match(P)) || []; 7753 } 7754 S.fn.extend({ 7755 prop: function (e, t) { 7756 return B(this, S.prop, e, t, 1 < arguments.length); 7757 }, 7758 removeProp: function (e) { 7759 return this.each(function () { 7760 delete this[S.propFix[e] || e]; 7761 }); 7762 }, 7763 }), 7764 S.extend({ 7765 prop: function (e, t, n) { 7766 var r, 7767 i, 7768 o = e.nodeType; 7769 if (3 !== o && 8 !== o && 2 !== o) 7770 return ( 7771 (1 === o && S.isXMLDoc(e)) || 7772 ((t = S.propFix[t] || t), (i = S.propHooks[t])), 7773 void 0 !== n 7774 ? i && "set" in i && void 0 !== (r = i.set(e, n, t)) 7775 ? r 7776 : (e[t] = n) 7777 : i && "get" in i && null !== (r = i.get(e, t)) 7778 ? r 7779 : e[t] 7780 ); 7781 }, 7782 propHooks: { 7783 tabIndex: { 7784 get: function (e) { 7785 var t = S.find.attr(e, "tabindex"); 7786 return t 7787 ? parseInt(t, 10) 7788 : ht.test(e.nodeName) || (gt.test(e.nodeName) && e.href) 7789 ? 0 7790 : -1; 7791 }, 7792 }, 7793 }, 7794 propFix: { for: "htmlFor", class: "className" }, 7795 }), 7796 v.optSelected || 7797 (S.propHooks.selected = { 7798 get: function (e) { 7799 var t = e.parentNode; 7800 return t && t.parentNode && t.parentNode.selectedIndex, null; 7801 }, 7802 set: function (e) { 7803 var t = e.parentNode; 7804 t && (t.selectedIndex, t.parentNode && t.parentNode.selectedIndex); 7805 }, 7806 }), 7807 S.each( 7808 [ 7809 "tabIndex", 7810 "readOnly", 7811 "maxLength", 7812 "cellSpacing", 7813 "cellPadding", 7814 "rowSpan", 7815 "colSpan", 7816 "useMap", 7817 "frameBorder", 7818 "contentEditable", 7819 ], 7820 function () { 7821 S.propFix[this.toLowerCase()] = this; 7822 } 7823 ), 7824 S.fn.extend({ 7825 addClass: function (t) { 7826 var e, n, r, i, o, a; 7827 return m(t) 7828 ? this.each(function (e) { 7829 S(this).addClass(t.call(this, e, vt(this))); 7830 }) 7831 : (e = mt(t)).length 7832 ? this.each(function () { 7833 if ( 7834 ((r = vt(this)), (n = 1 === this.nodeType && " " + yt(r) + " ")) 7835 ) { 7836 for (o = 0; o < e.length; o++) 7837 (i = e[o]), n.indexOf(" " + i + " ") < 0 && (n += i + " "); 7838 (a = yt(n)), r !== a && this.setAttribute("class", a); 7839 } 7840 }) 7841 : this; 7842 }, 7843 removeClass: function (t) { 7844 var e, n, r, i, o, a; 7845 return m(t) 7846 ? this.each(function (e) { 7847 S(this).removeClass(t.call(this, e, vt(this))); 7848 }) 7849 : arguments.length 7850 ? (e = mt(t)).length 7851 ? this.each(function () { 7852 if ( 7853 ((r = vt(this)), 7854 (n = 1 === this.nodeType && " " + yt(r) + " ")) 7855 ) { 7856 for (o = 0; o < e.length; o++) { 7857 i = e[o]; 7858 while (-1 < n.indexOf(" " + i + " ")) 7859 n = n.replace(" " + i + " ", " "); 7860 } 7861 (a = yt(n)), r !== a && this.setAttribute("class", a); 7862 } 7863 }) 7864 : this 7865 : this.attr("class", ""); 7866 }, 7867 toggleClass: function (t, n) { 7868 var e, 7869 r, 7870 i, 7871 o, 7872 a = typeof t, 7873 s = "string" === a || Array.isArray(t); 7874 return m(t) 7875 ? this.each(function (e) { 7876 S(this).toggleClass(t.call(this, e, vt(this), n), n); 7877 }) 7878 : "boolean" == typeof n && s 7879 ? n 7880 ? this.addClass(t) 7881 : this.removeClass(t) 7882 : ((e = mt(t)), 7883 this.each(function () { 7884 if (s) 7885 for (o = S(this), i = 0; i < e.length; i++) 7886 (r = e[i]), o.hasClass(r) ? o.removeClass(r) : o.addClass(r); 7887 else 7888 (void 0 !== t && "boolean" !== a) || 7889 ((r = vt(this)) && Y.set(this, "__className__", r), 7890 this.setAttribute && 7891 this.setAttribute( 7892 "class", 7893 r || !1 === t ? "" : Y.get(this, "__className__") || "" 7894 )); 7895 })); 7896 }, 7897 hasClass: function (e) { 7898 var t, 7899 n, 7900 r = 0; 7901 t = " " + e + " "; 7902 while ((n = this[r++])) 7903 if (1 === n.nodeType && -1 < (" " + yt(vt(n)) + " ").indexOf(t)) 7904 return !0; 7905 return !1; 7906 }, 7907 }); 7908 var xt = /\r/g; 7909 S.fn.extend({ 7910 val: function (n) { 7911 var r, 7912 e, 7913 i, 7914 t = this[0]; 7915 return arguments.length 7916 ? ((i = m(n)), 7917 this.each(function (e) { 7918 var t; 7919 1 === this.nodeType && 7920 (null == (t = i ? n.call(this, e, S(this).val()) : n) 7921 ? (t = "") 7922 : "number" == typeof t 7923 ? (t += "") 7924 : Array.isArray(t) && 7925 (t = S.map(t, function (e) { 7926 return null == e ? "" : e + ""; 7927 })), 7928 ((r = 7929 S.valHooks[this.type] || 7930 S.valHooks[this.nodeName.toLowerCase()]) && 7931 "set" in r && 7932 void 0 !== r.set(this, t, "value")) || 7933 (this.value = t)); 7934 })) 7935 : t 7936 ? (r = S.valHooks[t.type] || S.valHooks[t.nodeName.toLowerCase()]) && 7937 "get" in r && 7938 void 0 !== (e = r.get(t, "value")) 7939 ? e 7940 : "string" == typeof (e = t.value) 7941 ? e.replace(xt, "") 7942 : null == e 7943 ? "" 7944 : e 7945 : void 0; 7946 }, 7947 }), 7948 S.extend({ 7949 valHooks: { 7950 option: { 7951 get: function (e) { 7952 var t = S.find.attr(e, "value"); 7953 return null != t ? t : yt(S.text(e)); 7954 }, 7955 }, 7956 select: { 7957 get: function (e) { 7958 var t, 7959 n, 7960 r, 7961 i = e.options, 7962 o = e.selectedIndex, 7963 a = "select-one" === e.type, 7964 s = a ? null : [], 7965 u = a ? o + 1 : i.length; 7966 for (r = o < 0 ? u : a ? o : 0; r < u; r++) 7967 if ( 7968 ((n = i[r]).selected || r === o) && 7969 !n.disabled && 7970 (!n.parentNode.disabled || !A(n.parentNode, "optgroup")) 7971 ) { 7972 if (((t = S(n).val()), a)) return t; 7973 s.push(t); 7974 } 7975 return s; 7976 }, 7977 set: function (e, t) { 7978 var n, 7979 r, 7980 i = e.options, 7981 o = S.makeArray(t), 7982 a = i.length; 7983 while (a--) 7984 ((r = i[a]).selected = 7985 -1 < S.inArray(S.valHooks.option.get(r), o)) && (n = !0); 7986 return n || (e.selectedIndex = -1), o; 7987 }, 7988 }, 7989 }, 7990 }), 7991 S.each(["radio", "checkbox"], function () { 7992 (S.valHooks[this] = { 7993 set: function (e, t) { 7994 if (Array.isArray(t)) 7995 return (e.checked = -1 < S.inArray(S(e).val(), t)); 7996 }, 7997 }), 7998 v.checkOn || 7999 (S.valHooks[this].get = function (e) { 8000 return null === e.getAttribute("value") ? "on" : e.value; 8001 }); 8002 }), 8003 (v.focusin = "onfocusin" in C); 8004 var bt = /^(?:focusinfocus|focusoutblur)$/, 8005 wt = function (e) { 8006 e.stopPropagation(); 8007 }; 8008 S.extend(S.event, { 8009 trigger: function (e, t, n, r) { 8010 var i, 8011 o, 8012 a, 8013 s, 8014 u, 8015 l, 8016 c, 8017 f, 8018 p = [n || E],
8019 d = y.call(e, "type") ? e.type : e, 8020 h = y.call(e, "namespace") ? e.namespace.split(".") : []; 8021 if ( 8022 ((o = f = a = n = n || E), 8023 3 !== n.nodeType && 8024 8 !== n.nodeType && 8025 !bt.test(d + S.event.triggered) && 8026 (-1 < d.indexOf(".") && ((d = (h = d.split(".")).shift()), h.sort()), 8027 (u = d.indexOf(":") < 0 && "on" + d), 8028 ((e = e[S.expando] 8029 ? e 8030 : new S.Event(d, "object" == typeof e && e)).isTrigger = r ? 2 : 3), 8031 (e.namespace = h.join(".")), 8032 (e.rnamespace = e.namespace 8033 ? new RegExp("(^|\\.)" + h.join("\\.(?:.*\\.|)") + "(\\.|$)") 8034 : null), 8035 (e.result = void 0), 8036 e.target || (e.target = n), 8037 (t = null == t ? [e] : S.makeArray(t, [e])), 8038 (c = S.event.special[d] || {}), 8039 r || !c.trigger || !1 !== c.trigger.apply(n, t))) 8040 ) { 8041 if (!r && !c.noBubble && !x(n)) { 8042 for ( 8043 s = c.delegateType || d, bt.test(s + d) || (o = o.parentNode); 8044 o; 8045 o = o.parentNode 8046 ) 8047 p.push(o), (a = o); 8048 a === (n.ownerDocument || E) && 8049 p.push(a.defaultView || a.parentWindow || C); 8050 } 8051 i = 0; 8052 while ((o = p[i++]) && !e.isPropagationStopped()) 8053 (f = o), 8054 (e.type = 1 < i ? s : c.bindType || d), 8055 (l = 8056 (Y.get(o, "events") || Object.create(null))[e.type] && 8057 Y.get(o, "handle")) && l.apply(o, t), 8058 (l = u && o[u]) && 8059 l.apply && 8060 V(o) && 8061 ((e.result = l.apply(o, t)), 8062 !1 === e.result && e.preventDefault()); 8063 return ( 8064 (e.type = d), 8065 r || 8066 e.isDefaultPrevented() || 8067 (c._default && !1 !== c._default.apply(p.pop(), t)) || 8068 !V(n) || 8069 (u && 8070 m(n[d]) && 8071 !x(n) && 8072 ((a = n[u]) && (n[u] = null), 8073 (S.event.triggered = d), 8074 e.isPropagationStopped() && f.addEventListener(d, wt), 8075 n[d](), 8076 e.isPropagationStopped() && f.removeEventListener(d, wt), 8077 (S.event.triggered = void 0), 8078 a && (n[u] = a))), 8079 e.result 8080 ); 8081 } 8082 }, 8083 simulate: function (e, t, n) { 8084 var r = S.extend(new S.Event(), n, { type: e, isSimulated: !0 }); 8085 S.event.trigger(r, null, t); 8086 }, 8087 }), 8088 S.fn.extend({ 8089 trigger: function (e, t) { 8090 return this.each(function () { 8091 S.event.trigger(e, t, this); 8092 }); 8093 }, 8094 triggerHandler: function (e, t) { 8095 var n = this[0]; 8096 if (n) return S.event.trigger(e, t, n, !0); 8097 }, 8098 }), 8099 v.focusin || 8100 S.each({ focus: "focusin", blur: "focusout" }, function (n, r) { 8101 var i = function (e) { 8102 S.event.simulate(r, e.target, S.event.fix(e)); 8103 }; 8104 S.event.special[r] = { 8105 setup: function () { 8106 var e = this.ownerDocument || this.document || this, 8107 t = Y.access(e, r); 8108 t || e.addEventListener(n, i, !0), Y.access(e, r, (t || 0) + 1); 8109 }, 8110 teardown: function () { 8111 var e = this.ownerDocument || this.document || this, 8112 t = Y.access(e, r) - 1; 8113 t 8114 ? Y.access(e, r, t) 8115 : (e.removeEventListener(n, i, !0), Y.remove(e, r)); 8116 }, 8117 }; 8118 }); 8119 var Tt = C.location, 8120 Ct = { guid: Date.now() }, 8121 Et = /\?/; 8122 S.parseXML = function (e) { 8123 var t, n; 8124 if (!e || "string" != typeof e) return null; 8125 try { 8126 t = new C.DOMParser().parseFromString(e, "text/xml"); 8127 } catch (e) {} 8128 return ( 8129 (n = t && t.getElementsByTagName("parsererror")[0]), 8130 (t && !n) || 8131 S.error( 8132 "Invalid XML: " + 8133 (n 8134 ? S.map(n.childNodes, function (e) { 8135 return e.textContent; 8136 }).join("\n") 8137 : e) 8138 ), 8139 t 8140 ); 8141 }; 8142 var St = /\[\]$/, 8143 kt = /\r?\n/g, 8144 At = /^(?:submit|button|image|reset|file)$/i, 8145 Nt = /^(?:input|select|textarea|keygen)/i; 8146 function jt(n, e, r, i) { 8147 var t; 8148 if (Array.isArray(e)) 8149 S.each(e, function (e, t) { 8150 r || St.test(n) 8151 ? i(n, t) 8152 : jt( 8153 n + "[" + ("object" == typeof t && null != t ? e : "") + "]", 8154 t, 8155 r, 8156 i 8157 ); 8158 }); 8159 else if (r || "object" !== w(e)) i(n, e); 8160 else for (t in e) jt(n + "[" + t + "]", e[t], r, i); 8161 } 8162 (S.param = function (e, t) { 8163 var n, 8164 r = [], 8165 i = function (e, t) { 8166 var n = m(t) ? t() : t; 8167 r[r.length] = 8168 encodeURIComponent(e) + "=" + encodeURIComponent(null == n ? "" : n); 8169 }; 8170 if (null == e) return ""; 8171 if (Array.isArray(e) || (e.jquery && !S.isPlainObject(e))) 8172 S.each(e, function () { 8173 i(this.name, this.value); 8174 }); 8175 else for (n in e) jt(n, e[n], t, i); 8176 return r.join("&"); 8177 }), 8178 S.fn.extend({ 8179 serialize: function () { 8180 return S.param(this.serializeArray()); 8181 }, 8182 serializeArray: function () { 8183 return this.map(function () { 8184 var e = S.prop(this, "elements"); 8185 return e ? S.makeArray(e) : this; 8186 }) 8187 .filter(function () { 8188 var e = this.type; 8189 return ( 8190 this.name && 8191 !S(this).is(":disabled") && 8192 Nt.test(this.nodeName) && 8193 !At.test(e) && 8194 (this.checked || !pe.test(e)) 8195 ); 8196 }) 8197 .map(function (e, t) { 8198 var n = S(this).val(); 8199 return null == n 8200 ? null 8201 : Array.isArray(n) 8202 ? S.map(n, function (e) { 8203 return { name: t.name, value: e.replace(kt, "\r\n") }; 8204 }) 8205 : { name: t.name, value: n.replace(kt, "\r\n") }; 8206 }) 8207 .get(); 8208 }, 8209 }); 8210 var Dt = /%20/g, 8211 qt = /#.*$/, 8212 Lt = /([?&])_=[^&]*/, 8213 Ht = /^(.*?):[ \t]*([^\r\n]*)$/gm, 8214 Ot = /^(?:GET|HEAD)$/, 8215 Pt = /^\/\//, 8216 Rt = {}, 8217 Mt = {}, 8218 It = "*/".concat("*"), 8219 Wt = E.createElement("a"); 8220 function Ft(o) { 8221 return function (e, t) { 8222 "string" != typeof e && ((t = e), (e = "*")); 8223 var n, 8224 r = 0, 8225 i = e.toLowerCase().match(P) || []; 8226 if (m(t)) 8227 while ((n = i[r++])) 8228 "+" === n[0] 8229 ? ((n = n.slice(1) || "*"), (o[n] = o[n] || []).unshift(t)) 8230 : (o[n] = o[n] || []).push(t); 8231 }; 8232 } 8233 function $t(t, i, o, a) { 8234 var s = {}, 8235 u = t === Mt; 8236 function l(e) { 8237 var r; 8238 return ( 8239 (s[e] = !0), 8240 S.each(t[e] || [], function (e, t) { 8241 var n = t(i, o, a); 8242 return "string" != typeof n || u || s[n] 8243 ? u 8244 ? !(r = n) 8245 : void 0 8246 : (i.dataTypes.unshift(n), l(n), !1); 8247 }), 8248 r 8249 ); 8250 } 8251 return l(i.dataTypes[0]) || (!s["*"] && l("*")); 8252 } 8253 function Bt(e, t) { 8254 var n, 8255 r, 8256 i = S.ajaxSettings.flatOptions || {}; 8257 for (n in t) void 0 !== t[n] && ((i[n] ? e : r || (r = {}))[n] = t[n]); 8258 return r && S.extend(!0, e, r), e; 8259 } 8260 (Wt.href = Tt.href), 8261 S.extend({ 8262 active: 0, 8263 lastModified: {}, 8264 etag: {}, 8265 ajaxSettings: { 8266 url: Tt.href, 8267 type: "GET", 8268 isLocal: 8269 /^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test( 8270 Tt.protocol 8271 ), 8272 global: !0, 8273 processData: !0, 8274 async: !0, 8275 contentType: "application/x-www-form-urlencoded; charset=UTF-8", 8276 accepts: { 8277 "*": It, 8278 text: "text/plain", 8279 html: "text/html", 8280 xml: "application/xml, text/xml", 8281 json: "application/json, text/javascript", 8282 }, 8283 contents: { xml: /\bxml\b/, html: /\bhtml/, json: /\bjson\b/ }, 8284 responseFields: { 8285 xml: "responseXML", 8286 text: "responseText", 8287 json: "responseJSON", 8288 }, 8289 converters: { 8290 "* text": String, 8291 "text html": !0, 8292 "text json": JSON.parse, 8293 "text xml": S.parseXML, 8294 }, 8295 flatOptions: { url: !0, context: !0 },
8296 }, 8297 ajaxSetup: function (e, t) { 8298 return t ? Bt(Bt(e, S.ajaxSettings), t) : Bt(S.ajaxSettings, e); 8299 }, 8300 ajaxPrefilter: Ft(Rt), 8301 ajaxTransport: Ft(Mt), 8302 ajax: function (e, t) { 8303 "object" == typeof e && ((t = e), (e = void 0)), (t = t || {}); 8304 var c, 8305 f, 8306 p, 8307 n, 8308 d, 8309 r, 8310 h, 8311 g, 8312 i, 8313 o, 8314 y = S.ajaxSetup({}, t), 8315 v = y.context || y, 8316 m = y.context && (v.nodeType || v.jquery) ? S(v) : S.event, 8317 x = S.Deferred(), 8318 b = S.Callbacks("once memory"), 8319 w = y.statusCode || {}, 8320 a = {}, 8321 s = {}, 8322 u = "canceled", 8323 T = { 8324 readyState: 0, 8325 getResponseHeader: function (e) { 8326 var t; 8327 if (h) { 8328 if (!n) { 8329 n = {}; 8330 while ((t = Ht.exec(p))) 8331 n[t[1].toLowerCase() + " "] = ( 8332 n[t[1].toLowerCase() + " "] || [] 8333 ).concat(t[2]); 8334 } 8335 t = n[e.toLowerCase() + " "]; 8336 } 8337 return null == t ? null : t.join(", "); 8338 }, 8339 getAllResponseHeaders: function () { 8340 return h ? p : null; 8341 }, 8342 setRequestHeader: function (e, t) { 8343 return ( 8344 null == h && 8345 ((e = s[e.toLowerCase()] = s[e.toLowerCase()] || e), 8346 (a[e] = t)), 8347 this 8348 ); 8349 }, 8350 overrideMimeType: function (e) { 8351 return null == h && (y.mimeType = e), this; 8352 }, 8353 statusCode: function (e) { 8354 var t; 8355 if (e) 8356 if (h) T.always(e[T.status]); 8357 else for (t in e) w[t] = [w[t], e[t]]; 8358 return this; 8359 }, 8360 abort: function (e) { 8361 var t = e || u; 8362 return c && c.abort(t), l(0, t), this; 8363 }, 8364 }; 8365 if ( 8366 (x.promise(T), 8367 (y.url = ((e || y.url || Tt.href) + "").replace( 8368 Pt, 8369 Tt.protocol + "//" 8370 )), 8371 (y.type = t.method || t.type || y.method || y.type), 8372 (y.dataTypes = (y.dataType || "*").toLowerCase().match(P) || [""]), 8373 null == y.crossDomain) 8374 ) { 8375 r = E.createElement("a"); 8376 try { 8377 (r.href = y.url), 8378 (r.href = r.href), 8379 (y.crossDomain = 8380 Wt.protocol + "//" + Wt.host != r.protocol + "//" + r.host); 8381 } catch (e) { 8382 y.crossDomain = !0; 8383 } 8384 } 8385 if ( 8386 (y.data && 8387 y.processData && 8388 "string" != typeof y.data && 8389 (y.data = S.param(y.data, y.traditional)), 8390 $t(Rt, y, t, T), 8391 h) 8392 ) 8393 return T; 8394 for (i in ((g = S.event && y.global) && 8395 0 == S.active++ && 8396 S.event.trigger("ajaxStart"), 8397 (y.type = y.type.toUpperCase()), 8398 (y.hasContent = !Ot.test(y.type)), 8399 (f = y.url.replace(qt, "")), 8400 y.hasContent 8401 ? y.data && 8402 y.processData && 8403 0 === 8404 (y.contentType || "").indexOf( 8405 "application/x-www-form-urlencoded" 8406 ) && 8407 (y.data = y.data.replace(Dt, "+")) 8408 : ((o = y.url.slice(f.length)), 8409 y.data && 8410 (y.processData || "string" == typeof y.data) && 8411 ((f += (Et.test(f) ? "&" : "?") + y.data), delete y.data), 8412 !1 === y.cache && 8413 ((f = f.replace(Lt, "$1")), 8414 (o = (Et.test(f) ? "&" : "?") + "_=" + Ct.guid++ + o)), 8415 (y.url = f + o)), 8416 y.ifModified && 8417 (S.lastModified[f] && 8418 T.setRequestHeader("If-Modified-Since", S.lastModified[f]), 8419 S.etag[f] && T.setRequestHeader("If-None-Match", S.etag[f])), 8420 ((y.data && y.hasContent && !1 !== y.contentType) || t.contentType) && 8421 T.setRequestHeader("Content-Type", y.contentType), 8422 T.setRequestHeader( 8423 "Accept", 8424 y.dataTypes[0] && y.accepts[y.dataTypes[0]] 8425 ? y.accepts[y.dataTypes[0]] + 8426 ("*" !== y.dataTypes[0] ? ", " + It + "; q=0.01" : "") 8427 : y.accepts["*"] 8428 ), 8429 y.headers)) 8430 T.setRequestHeader(i, y.headers[i]);
8431 if (y.beforeSend && (!1 === y.beforeSend.call(v, T, y) || h)) 8432 return T.abort(); 8433 if ( 8434 ((u = "abort"), 8435 b.add(y.complete), 8436 T.done(y.success), 8437 T.fail(y.error), 8438 (c = $t(Mt, y, t, T))) 8439 ) { 8440 if (((T.readyState = 1), g && m.trigger("ajaxSend", [T, y]), h)) 8441 return T; 8442 y.async && 8443 0 < y.timeout && 8444 (d = C.setTimeout(function () { 8445 T.abort("timeout"); 8446 }, y.timeout)); 8447 try { 8448 (h = !1), c.send(a, l); 8449 } catch (e) { 8450 if (h) throw e; 8451 l(-1, e); 8452 } 8453 } else l(-1, "No Transport"); 8454 function l(e, t, n, r) { 8455 var i, 8456 o, 8457 a, 8458 s, 8459 u, 8460 l = t; 8461 h || 8462 ((h = !0), 8463 d && C.clearTimeout(d), 8464 (c = void 0), 8465 (p = r || ""), 8466 (T.readyState = 0 < e ? 4 : 0), 8467 (i = (200 <= e && e < 300) || 304 === e), 8468 n && 8469 (s = (function (e, t, n) { 8470 var r, 8471 i, 8472 o, 8473 a, 8474 s = e.contents, 8475 u = e.dataTypes; 8476 while ("*" === u[0]) 8477 u.shift(), 8478 void 0 === r && 8479 (r = e.mimeType || t.getResponseHeader("Content-Type")); 8480 if (r) 8481 for (i in s) 8482 if (s[i] && s[i].test(r)) { 8483 u.unshift(i); 8484 break; 8485 } 8486 if (u[0] in n) o = u[0]; 8487 else { 8488 for (i in n) { 8489 if (!u[0] || e.converters[i + " " + u[0]]) { 8490 o = i; 8491 break; 8492 } 8493 a || (a = i); 8494 } 8495 o = o || a; 8496 } 8497 if (o) return o !== u[0] && u.unshift(o), n[o]; 8498 })(y, T, n)), 8499 !i && 8500 -1 < S.inArray("script", y.dataTypes) && 8501 S.inArray("json", y.dataTypes) < 0 && 8502 (y.converters["text script"] = function () {}), 8503 (s = (function (e, t, n, r) { 8504 var i, 8505 o, 8506 a, 8507 s, 8508 u, 8509 l = {}, 8510 c = e.dataTypes.slice(); 8511 if (c[1]) 8512 for (a in e.converters) l[a.toLowerCase()] = e.converters[a]; 8513 o = c.shift(); 8514 while (o) 8515 if ( 8516 (e.responseFields[o] && (n[e.responseFields[o]] = t), 8517 !u && r && e.dataFilter && (t = e.dataFilter(t, e.dataType)), 8518 (u = o), 8519 (o = c.shift())) 8520 ) 8521 if ("*" === o) o = u; 8522 else if ("*" !== u && u !== o) { 8523 if (!(a = l[u + " " + o] || l["* " + o])) 8524 for (i in l) 8525 if ( 8526 (s = i.split(" "))[1] === o && 8527 (a = l[u + " " + s[0]] || l["* " + s[0]]) 8528 ) { 8529 !0 === a 8530 ? (a = l[i]) 8531 : !0 !== l[i] && ((o = s[0]), c.unshift(s[1])); 8532 break; 8533 } 8534 if (!0 !== a) 8535 if (a && e["throws"]) t = a(t); 8536 else 8537 try { 8538 t = a(t); 8539 } catch (e) { 8540 return { 8541 state: "parsererror", 8542 error: a 8543 ? e 8544 : "No conversion from " + u + " to " + o, 8545 }; 8546 } 8547 } 8548 return { state: "success", data: t }; 8549 })(y, s, T, i)), 8550 i 8551 ? (y.ifModified && 8552 ((u = T.getResponseHeader("Last-Modified")) && 8553 (S.lastModified[f] = u), 8554 (u = T.getResponseHeader("etag")) && (S.etag[f] = u)), 8555 204 === e || "HEAD" === y.type 8556 ? (l = "nocontent") 8557 : 304 === e 8558 ? (l = "notmodified") 8559 : ((l = s.state), (o = s.data), (i = !(a = s.error)))) 8560 : ((a = l), (!e && l) || ((l = "error"), e < 0 && (e = 0))), 8561 (T.status = e), 8562 (T.statusText = (t || l) + ""), 8563 i ? x.resolveWith(v, [o, l, T]) : x.rejectWith(v, [T, l, a]), 8564 T.statusCode(w), 8565 (w = void 0), 8566 g && m.trigger(i ? "ajaxSuccess" : "ajaxError", [T, y, i ? o : a
8566]), 8567 b.fireWith(v, [T, l]), 8568 g && 8569 (m.trigger("ajaxComplete", [T, y]), 8570 --S.active || S.event.trigger("ajaxStop"))); 8571 } 8572 return T; 8573 }, 8574 getJSON: function (e, t, n) { 8575 return S.get(e, t, n, "json"); 8576 }, 8577 getScript: function (e, t) { 8578 return S.get(e, void 0, t, "script"); 8579 }, 8580 }), 8581 S.each(["get", "post"], function (e, i) { 8582 S[i] = function (e, t, n, r) { 8583 return ( 8584 m(t) && ((r = r || n), (n = t), (t = void 0)), 8585 S.ajax( 8586 S.extend( 8587 { url: e, type: i, dataType: r, data: t, success: n }, 8588 S.isPlainObject(e) && e 8589 ) 8590 ) 8591 ); 8592 }; 8593 }), 8594 S.ajaxPrefilter(function (e) { 8595 var t; 8596 for (t in e.headers) 8597 "content-type" === t.toLowerCase() && 8598 (e.contentType = e.headers[t] || ""); 8599 }), 8600 (S._evalUrl = function (e, t, n) { 8601 return S.ajax({ 8602 url: e, 8603 type: "GET", 8604 dataType: "script", 8605 cache: !0, 8606 async: !1, 8607 global: !1, 8608 converters: { "text script": function () {} }, 8609 dataFilter: function (e) { 8610 S.globalEval(e, t, n); 8611 }, 8612 }); 8613 }), 8614 S.fn.extend({ 8615 wrapAll: function (e) { 8616 var t; 8617 return ( 8618 this[0] && 8619 (m(e) && (e = e.call(this[0])), 8620 (t = S(e, this[0].ownerDocument).eq(0).clone(!0)), 8621 this[0].parentNode && t.insertBefore(this[0]), 8622 t 8623 .map(function () { 8624 var e = this; 8625 while (e.firstElementChild) e = e.firstElementChild; 8626 return e; 8627 }) 8628 .append(this)), 8629 this 8630 ); 8631 }, 8632 wrapInner: function (n) { 8633 return m(n) 8634 ? this.each(function (e) { 8635 S(this).wrapInner(n.call(this, e)); 8636 }) 8637 : this.each(function () { 8638 var e = S(this), 8639 t = e.contents(); 8640 t.length ? t.wrapAll(n) : e.append(n); 8641 }); 8642 }, 8643 wrap: function (t) { 8644 var n = m(t); 8645 return this.each(function (e) { 8646 S(this).wrapAll(n ? t.call(this, e) : t); 8647 }); 8648 }, 8649 unwrap: function (e) { 8650 return ( 8651 this.parent(e) 8652 .not("body") 8653 .each(function () { 8654 S(this).replaceWith(this.childNodes); 8655 }), 8656 this 8657 ); 8658 }, 8659 }), 8660 (S.expr.pseudos.hidden = function (e) { 8661 return !S.expr.pseudos.visible(e); 8662 }), 8663 (S.expr.pseudos.visible = function (e) { 8664 return !!(e.offsetWidth || e.offsetHeight || e.getClientRects().length); 8665 }), 8666 (S.ajaxSettings.xhr = function () { 8667 try { 8668 return new C.XMLHttpRequest(); 8669 } catch (e) {} 8670 }); 8671 var _t = { 0: 200, 1223: 204 }, 8672 zt = S.ajaxSettings.xhr(); 8673 (v.cors = !!zt && "withCredentials" in zt), 8674 (v.ajax = zt = !!zt), 8675 S.ajaxTransport(function (i) { 8676 var o, a; 8677 if (v.cors || (zt && !i.crossDomain)) 8678 return { 8679 send: function (e, t) { 8680 var n, 8681 r = i.xhr(); 8682 if ( 8683 (r.open(i.type, i.url, i.async, i.username, i.password), 8684 i.xhrFields) 8685 ) 8686 for (n in i.xhrFields) r[n] = i.xhrFields[n]; 8687 for (n in (i.mimeType && 8688 r.overrideMimeType && 8689 r.overrideMimeType(i.mimeType), 8690 i.crossDomain || 8691 e["X-Requested-With"] || 8692 (e["X-Requested-With"] = "XMLHttpRequest"), 8693 e)) 8694 r.setRequestHeader(n, e[n]); 8695 (o = function (e) { 8696 return function () { 8697 o && 8698 ((o = 8699 a = 8700 r.onload = 8701 r.onerror = 8702 r.onabort = 8703 r.ontimeout = 8704 r.onreadystatechange = 8705 null), 8706 "abort" === e 8707 ? r.abort() 8708 : "error" === e 8709 ? "number" != typeof r.status 8710 ? t(0, "error") 8711 : t(r.status, r.statusText) 8712 : t( 8713 _t[r.status] || r.status, 8714 r.statusText, 8715 "text" !== (r.responseType || "text") || 8716 "string" != typeof r.responseText 8717 ? { binary: r.response } 8718 : { text: r.responseText }, 8719 r.getAllResponseHeaders() 8720 )); 8721 }; 8722 }), 8723 (r.onload = o()), 8724 (a = r.onerror = r.ontimeout = o("error")), 8725 void 0 !== r.onabort 8726 ? (r.onabort = a) 8727 : (r.onreadystatechange = function () { 8728 4 === r.readyState && 8729 C.setTimeout(function () { 8730 o && a(); 8731 }); 8732 }), 8733 (o = o("abort")); 8734 try { 8735 r.send((i.hasContent && i.data) || null); 8736 } catch (e) { 8737 if (o) throw e; 8738 } 8739 }, 8740 abort: function () { 8741 o && o(); 8742 }, 8743 }; 8744 }), 8745 S.ajaxPrefilter(function (e) { 8746 e.crossDomain && (e.contents.script = !1); 8747 }), 8748 S.ajaxSetup({ 8749 accepts: { 8750 script: 8751 "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript", 8752 }, 8753 contents: { script: /\b(?:java|ecma)script\b/ }, 8754 converters: { 8755 "text script": function (e) { 8756 return S.globalEval(e), e; 8757 }, 8758 }, 8759 }), 8760 S.ajaxPrefilter("script", function (e) { 8761 void 0 === e.cache && (e.cache = !1), e.crossDomain && (e.type = "GET"); 8762 }), 8763 S.ajaxTransport("script", function (n) { 8764 var r, i; 8765 if (n.crossDomain || n.scriptAttrs) 8766 return { 8767 send: function (e, t) { 8768 (r = S("<script>") 8769 .attr(n.scriptAttrs || {}) 8770 .prop({ charset: n.scriptCharset, src: n.url }) 8771 .on( 8772 "load error", 8773 (i = function (e) { 8774 r.remove(), 8775 (i = null),
8776 e && t("error" === e.type ? 404 : 200, e.type); 8777 }) 8778 )), 8779 E.head.appendChild(r[0]); 8780 }, 8781 abort: function () { 8782 i && i(); 8783 }, 8784 }; 8785 }); 8786 var Ut, 8787 Xt = [], 8788 Vt = /(=)\?(?=&|$)|\?\?/; 8789 S.ajaxSetup({ 8790 jsonp: "callback", 8791 jsonpCallback: function () { 8792 var e = Xt.pop() || S.expando + "_" + Ct.guid++; 8793 return (this[e] = !0), e; 8794 }, 8795 }), 8796 S.ajaxPrefilter("json jsonp", function (e, t, n) { 8797 var r, 8798 i, 8799 o, 8800 a = 8801 !1 !== e.jsonp && 8802 (Vt.test(e.url) 8803 ? "url" 8804 : "string" == typeof e.data && 8805 0 === 8806 (e.contentType || "").indexOf( 8807 "application/x-www-form-urlencoded" 8808 ) && 8809 Vt.test(e.data) && 8810 "data"); 8811 if (a || "jsonp" === e.dataTypes[0]) 8812 return ( 8813 (r = e.jsonpCallback = 8814 m(e.jsonpCallback) ? e.jsonpCallback() : e.jsonpCallback), 8815 a 8816 ? (e[a] = e[a].replace(Vt, "$1" + r)) 8817 : !1 !== e.jsonp && 8818 (e.url += (Et.test(e.url) ? "&" : "?") + e.jsonp + "=" + r), 8819 (e.converters["script json"] = function () { 8820 return o || S.error(r + " was not called"), o[0]; 8821 }), 8822 (e.dataTypes[0] = "json"), 8823 (i = C[r]), 8824 (C[r] = function () { 8825 o = arguments; 8826 }), 8827 n.always(function () { 8828 void 0 === i ? S(C).removeProp(r) : (C[r] = i), 8829 e[r] && ((e.jsonpCallback = t.jsonpCallback), Xt.push(r)), 8830 o && m(i) && i(o[0]), 8831 (o = i = void 0); 8832 }), 8833 "script" 8834 ); 8835 }), 8836 (v.createHTMLDocument = 8837 (((Ut = E.implementation.createHTMLDocument("").body).innerHTML = 8838 "<form></form><form></form>"), 8839 2 === Ut.childNodes.length)), 8840 (S.parseHTML = function (e, t, n) { 8841 return "string" != typeof e 8842 ? [] 8843 : ("boolean" == typeof t && ((n = t), (t = !1)), 8844 t || 8845 (v.createHTMLDocument 8846 ? (((r = (t = 8847 E.implementation.createHTMLDocument("")).createElement( 8848 "base" 8849 )).href = E.location.href), 8850 t.head.appendChild(r)) 8851 : (t = E)), 8852 (o = !n && []), 8853 (i = N.exec(e)) 8854 ? [t.createElement(i[1])] 8855 : ((i = xe([e], t, o)), 8856 o && o.length && S(o).remove(), 8857 S.merge([], i.childNodes))); 8858 var r, i, o; 8859 }), 8860 (S.fn.load = function (e, t, n) { 8861 var r, 8862 i, 8863 o, 8864 a = this, 8865 s = e.indexOf(" "); 8866 return ( 8867 -1 < s && ((r = yt(e.slice(s))), (e = e.slice(0, s))), 8868 m(t) 8869 ? ((n = t), (t = void 0)) 8870 : t && "object" == typeof t && (i = "POST"), 8871 0 < a.length && 8872 S.ajax({ url: e, type: i || "GET", dataType: "html", data: t }) 8873 .done(function (e) { 8874 (o = arguments), 8875 a.html(r ? S("<div>").append(S.parseHTML(e)).find(r) : e); 8876 }) 8877 .always( 8878 n && 8879 function (e, t) { 8880 a.each(function () { 8881 n.apply(this, o || [e.responseText, t, e]); 8882 }); 8883 } 8884 ), 8885 this 8886 ); 8887 }), 8888 (S.expr.pseudos.animated = function (t) { 8889 return S.grep(S.timers, function (e) { 8890 return t === e.elem; 8891 }).length; 8892 }), 8893 (S.offset = { 8894 setOffset: function (e, t, n) { 8895 var r, 8896 i, 8897 o, 8898 a, 8899 s, 8900 u, 8901 l = S.css(e, "position"), 8902 c = S(e), 8903 f = {}; 8904 "static" === l && (e.style.position = "relative"), 8905 (s = c.offset()), 8906 (o = S.css(e, "top")), 8907 (u = S.css(e, "left")), 8908 ("absolute" === l || "fixed" === l) && -1 < (o + u).indexOf("auto") 8909 ? ((a = (r = c.position()).top), (i = r.left)) 8910 : ((a = parseFloat(o) || 0), (i = parseFloat(u) || 0)), 8911 m(t) && (t = t.call(e, n, S.extend({}, s))), 8912 null != t.top && (f.top = t.top - s.top + a), 8913 null != t.left && (f.left = t.left - s.left + i), 8914 "using" in t ? t.using.call(e, f) : c.css(f); 8915 }, 8916 }), 8917 S.fn.extend({ 8918 offset: function (t) { 8919 if (arguments.length) 8920 return void 0 === t 8921 ? this 8922 : this.each(function (e) { 8923 S.offset.setOffset(this, t, e); 8924 }); 8925 var e, 8926 n, 8927 r = this[0]; 8928 return r 8929 ? r.getClientRects().length 8930 ? ((e = r.getBoundingClientRect()), 8931 (n = r.ownerDocument.defaultView), 8932 { top: e.top + n.pageYOffset, left: e.left + n.pageXOffset }) 8933 : { top: 0, left: 0 } 8934 : void 0; 8935 }, 8936 position: function () { 8937 if (this[0]) { 8938 var e, 8939 t, 8940 n, 8941 r = this[0], 8942 i = { top: 0, left: 0 }; 8943 if ("fixed" === S.css(r, "position")) t = r.getBoundingClientRect(); 8944 else { 8945 (t = this.offset()), 8946 (n = r.ownerDocument), 8947 (e = r.offsetParent || n.documentElement); 8948 while ( 8949 e && 8950 (e === n.body || e === n.documentElement) && 8951 "static" === S.css(e, "position") 8952 ) 8953 e = e.parentNode; 8954 e && 8955 e !== r && 8956 1 === e.nodeType && 8957 (((i = S(e).offset()).top += S.css(e, "borderTopWidth", !0)), 8958 (i.left += S.css(e, "borderLeftWidth", !0))); 8959 } 8960 return { 8961 top: t.top - i.top - S.css(r, "marginTop", !0),
8962 left: t.left - i.left - S.css(r, "marginLeft", !0), 8963 }; 8964 } 8965 }, 8966 offsetParent: function () { 8967 return this.map(function () { 8968 var e = this.offsetParent; 8969 while (e && "static" === S.css(e, "position")) e = e.offsetParent; 8970 return e || re; 8971 }); 8972 }, 8973 }), 8974 S.each( 8975 { scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, 8976 function (t, i) { 8977 var o = "pageYOffset" === i; 8978 S.fn[t] = function (e) { 8979 return B( 8980 this, 8981 function (e, t, n) { 8982 var r; 8983 if ( 8984 (x(e) ? (r = e) : 9 === e.nodeType && (r = e.defaultView), 8985 void 0 === n) 8986 ) 8987 return r ? r[i] : e[t]; 8988 r 8989 ? r.scrollTo(o ? r.pageXOffset : n, o ? n : r.pageYOffset) 8990 : (e[t] = n); 8991 }, 8992 t, 8993 e, 8994 arguments.length 8995 ); 8996 }; 8997 } 8998 ), 8999 S.each(["top", "left"], function (e, n) { 9000 S.cssHooks[n] = _e(v.pixelPosition, function (e, t) { 9001 if (t) 9002 return (t = Be(e, n)), Pe.test(t) ? S(e).position()[n] + "px" : t; 9003 }); 9004 }), 9005 S.each({ Height: "height", Width: "width" }, function (a, s) { 9006 S.each( 9007 { padding: "inner" + a, content: s, "": "outer" + a }, 9008 function (r, o) { 9009 S.fn[o] = function (e, t) { 9010 var n = arguments.length && (r || "boolean" != typeof e), 9011 i = r || (!0 === e || !0 === t ? "margin" : "border"); 9012 return B( 9013 this, 9014 function (e, t, n) { 9015 var r; 9016 return x(e) 9017 ? 0 === o.indexOf("outer") 9018 ? e["inner" + a] 9019 : e.document.documentElement["client" + a] 9020 : 9 === e.nodeType 9021 ? ((r = e.documentElement), 9022 Math.max( 9023 e.body["scroll" + a], 9024 r["scroll" + a], 9025 e.body["offset" + a], 9026 r["offset" + a], 9027 r["client" + a] 9028 )) 9029 : void 0 === n 9030 ? S.css(e, t, i) 9031 : S.style(e, t, n, i); 9032 }, 9033 s, 9034 n ? e : void 0, 9035 n 9036 ); 9037 }; 9038 } 9039 ); 9040 }), 9041 S.each( 9042 [ 9043 "ajaxStart", 9044 "ajaxStop", 9045 "ajaxComplete", 9046 "ajaxError", 9047 "ajaxSuccess", 9048 "ajaxSend", 9049 ], 9050 function (e, t) { 9051 S.fn[t] = function (e) { 9052 return this.on(t, e); 9053 }; 9054 } 9055 ), 9056 S.fn.extend({ 9057 bind: function (e, t, n) { 9058 return this.on(e, null, t, n); 9059 }, 9060 unbind: function (e, t) { 9061 return this.off(e, null, t); 9062 }, 9063 delegate: function (e, t, n, r) { 9064 return this.on(t, e, n, r); 9065 }, 9066 undelegate: function (e, t, n) { 9067 return 1 === arguments.length 9068 ? this.off(e, "**") 9069 : this.off(t, e || "**", n); 9070 }, 9071 hover: function (e, t) { 9072 return this.mouseenter(e).mouseleave(t || e); 9073 }, 9074 }), 9075 S.each( 9076 "blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split( 9077 " " 9078 ), 9079 function (e, n) { 9080 S.fn[n] = function (e, t) { 9081 return 0 < arguments.length 9082 ? this.on(n, null, e, t) 9083 : this.trigger(n); 9084 }; 9085 } 9086 ); 9087 var Gt = /^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g; 9088 (S.proxy = function (e, t) { 9089 var n, r, i; 9090 if (("string" == typeof t && ((n = e[t]), (t = e), (e = n)), m(e))) 9091 return ( 9092 (r = s.call(arguments, 2)), 9093 ((i = function () { 9094 return e.apply(t || this, r.concat(s.call(arguments))); 9095 }).guid = e.guid = 9096 e.guid || S.guid++), 9097 i 9098 ); 9099 }), 9100 (S.holdReady = function (e) { 9101 e ? S.readyWait++ : S.ready(!0); 9102 }), 9103 (S.isArray = Array.isArray), 9104 (S.parseJSON = JSON.parse), 9105 (S.nodeName = A), 9106 (S.isFunction = m), 9107 (S.isWindow = x), 9108 (S.camelCase = X), 9109 (S.type = w), 9110 (S.now = Date.now), 9111 (S.isNumeric = function (e) { 9112 var t = S.type(e); 9113 return ("number" === t || "string" === t) && !isNaN(e - parseFloat(e)); 9114 }), 9115 (S.trim = function (e) { 9116 return null == e ? "" : (e + "").replace(Gt, "$1"); 9117 }), 9118 "function" == typeof define && 9119 define.amd && 9120 define("jquery", [], function () { 9121 return S; 9122 }); 9123 var Yt = C.jQuery, 9124 Qt = C.$; 9125 return ( 9126 (S.noConflict = function (e) { 9127 return C.$ === S && (C.$ = Qt), e && C.jQuery === S && (C.jQuery = Yt), S; 9128 }), 9129 "undefined" == typeof e && (C.jQuery = C.$ = S), 9130 S 9131 ); 9132});
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.