1/** 2 * @description JavaScript tracker for Snowplow 3 * @version 2.18.2 4 * @copyright Anthon Pang, Snowplow Analytics Ltd 5 * @license Simplified BSD 6 * 7 * Documentation: http://bit.ly/sp-js 8 */ 9 10"use strict"; 11(function () { 12 function y(a) { 13 "@babel/helpers - typeof"; 14 y = 15 "function" === typeof Symbol && "symbol" === typeof Symbol.iterator 16 ? function (a) { 17 return typeof a; 18 } 19 : function (a) { 20 return a && 21 "function" === typeof Symbol && 22 a.constructor === Symbol && 23 a !== Symbol.prototype 24 ? "symbol" 25 : typeof a; 26 }; 27 return y(a); 28 } 29 function Gb(a, b) { 30 var c = Object.keys(a); 31 if (Object.getOwnPropertySymbols) { 32 var e = Object.getOwnPropertySymbols(a); 33 b && 34 (e = e.filter(function (b) { 35 return Object.getOwnPropertyDescriptor(a, b).enumerable; 36 })); 37 c.push.apply(c, e); 38 } 39 return c; 40 } 41 function md(a) { 42 for (var b = 1; b < arguments.length; b++) { 43 var c = null != arguments[b] ? arguments[b] : {}; 44 b % 2 45 ? Gb(Object(c), !0).forEach(function (b) { 46 var d = c[b]; 47 b in a 48 ? Object.defineProperty(a, b, { 49 value: d, 50 enumerable: !0, 51 configurable: !0, 52 writable: !0, 53 }) 54 : (a[b] = d); 55 }) 56 : Object.getOwnPropertyDescriptors 57 ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(c)) 58 : Gb(Object(c)).forEach(function (b) { 59 Object.defineProperty( 60 a, 61 b, 62 Object.getOwnPropertyDescriptor(c, b), 63 ); 64 }); 65 } 66 return a; 67 } 68 function na(a) { 69 var b = Array.isArray(a) ? Ea(a) : void 0; 70 b || 71 (b = 72 "undefined" !== typeof Symbol && Symbol.iterator in Object(a) 73 ? Array.from(a) 74 : void 0); 75 if (!(a = b || Hb(a))) 76 throw new TypeError( 77 "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.", 78 ); 79 return a; 80 } 81 function Hb(a, b) { 82 if (a) { 83 if ("string" === typeof a) return Ea(a, b); 84 var c = Object.prototype.toString.call(a).slice(8, -1); 85 "Object" === c && a.constructor && (c = a.constructor.name); 86 if ("Map" === c || "Set" === c) return Array.from(a); 87 if ( 88 "Arguments" === c || 89 /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c) 90 ) 91 return Ea(a, b); 92 } 93 } 94 function Ea(a, b) { 95 if (null == b || b > a.length) b = a.length; 96 for (var c = 0, e = Array(b); c < b; c++) e[c] = a[c]; 97 return e; 98 } 99 function lb(a, b) { 100 var c; 101 if ("undefined" === typeof Symbol || null == a[Symbol.iterator]) { 102 if ( 103 Array.isArray(a) || 104 (c = Hb(a)) || 105 (b && a && "number" === typeof a.length) 106 ) { 107 c && (a = c); 108 var e = 0; 109 b = function () {}; 110 return { 111 s: b, 112 n: function () { 113 return e >= a.length ? { done: !0 } : { done: !1, value: a[e++] }; 114 }, 115 e: function (a) { 116 throw a; 117 }, 118 f: b, 119 }; 120 } 121 throw new TypeError( 122 "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.", 123 ); 124 } 125 var d = !0, 126 f = !1, 127 h; 128 return { 129 s: function () { 130 c = a[Symbol.iterator](); 131 }, 132 n: function () { 133 var a = c.next(); 134 d = a.done; 135 return a; 136 }, 137 e: function (a) { 138 f = !0; 139 h = a; 140 }, 141 f: function () { 142 try { 143 d || null == c.return || c.return(); 144 } finally { 145 if (f) throw h; 146 } 147 }, 148 }; 149 } 150 function oa(a) { 151 var b = { exports: {} }; 152 return a(b, b.exports), b.exports; 153 } 154 function pa(a) { 155 var b = -1, 156 c = null == a ? 0 : a.length; 157 for (this.clear(); ++b < c; ) { 158 var e = a[b]; 159 this.set(e[0], e[1]); 160 } 161 } 162 function V(a) { 163 var b = -1, 164 c = null == a ? 0 : a.length; 165 for (this.clear(); ++b < c; ) { 166 var e = a[b]; 167 this.set(e[0], e[1]); 168 } 169 } 170 function qa(a) { 171 var b = -1, 172 c = null == a ? 0 : a.length; 173 for (this.clear(); ++b < c; ) { 174 var e = a[b]; 175 this.set(e[0], e[1]); 176 } 177 } 178 function ra(a) { 179 this.size = (this.__data__ = new Fa(a)).size; 180 } 181 function mb(a) { 182 var b = -1, 183 c = null == a ? 0 : a.length; 184 for (this.__data__ = new Ga(); ++b < c; ) this.add(a[b]); 185 } 186 function Ha(a, b, c, e, d) { 187 if (a === b) b = !0; 188 else if (null == a || null == b || (!W(a) && !W(b))) b = a !== a && b !== b; 189 else 190 a: { 191 var f = z(a), 192 h = z(b), 193 g = f ? "[object Array]" : Tb(a), 194 k = h ? "[object Array]" : Tb(b); 195 g = "[object Arguments]" == g ? "[object Object]" : g; 196 k = "[object Arguments]" == k ? "[object Object]" : k; 197 var p = "[object Object]" == g; 198 h = "[object Object]" == k; 199 if ((k = g == k) && nb(a)) { 200 if (!nb(b)) { 201 b = !1; 202 break a; 203 } 204 f = !0; 205 p = !1; 206 } 207 if (k && !p) 208 d || (d = new sa()), 209 (b = f || gc(a) ? hc(a, b, c, e, Ha, d) : nd(a, b, g, c, e, Ha, d)); 210 else { 211 if ( 212 !(c & 1) && 213 ((f = p && ic.call(a, "__wrapped__")), 214 (g = h && ic.call(b, "__wrapped__")), 215 f || g) 216 ) { 217 a = f ? a.value() : a; 218 b = g ? b.value() : b; 219 d || (d = new sa()); 220 b = Ha(a, b, c, e, d); 221 break a; 222 } 223 if (k) 224 b: if ( 225 (d || (d = new sa()), 226 (f = c & 1), 227 (g = jc(a, Ia, kc)), 228 (h = g.length), 229 (k = jc(b, Ia, kc).length), 230 h == k || f) 231 ) { 232 for (k = h; k--; ) { 233 var v = g[k]; 234 if (!(f ? v in b : od.call(b, v))) { 235 b = !1; 236 break b; 237 } 238 } 239 p = d.get(a); 240 v = d.get(b); 241 if (p && v) b = p == b && v == a; 242 else { 243 p = !0; 244 d.set(a, b); 245 d.set(b, a); 246 for (var I = f; ++k < h; ) { 247 v = g[k]; 248 var m = a[v], 249 r = b[v]; 250 if (e) var M = f ? e(r, m, v, b, a, d) : e(m, r, v, a, b, d); 251 if (void 0 === M ? m !== r && !Ha(m, r, c, e, d) : !M) { 252 p = !1; 253 break; 254 } 255 I || (I = "constructor" == v); 256 } 257 p && 258 !I && 259 ((c = a.constructor), 260 (e = b.constructor), 261 c != e && 262 "constructor" in a && 263 "constructor" in b && 264 !( 265 "function" == typeof c && 266 c instanceof c && 267 "function" == typeof e && 268 e instanceof e 269 ) && 270 (p = !1)); 271 d["delete"](a); 272 d["delete"](b); 273 b = p; 274 } 275 } else b = !1; 276 else b = !1; 277 } 278 } 279 return b; 280 } 281 function Ja(a, b) { 282 if ("function" != typeof a || (null != b && "function" != typeof b)) 283 throw new TypeError("Expected a function"); 284 var c = function d() { 285 var c = arguments, 286 h = b ? b.apply(this, c) : c[0], 287 g = d.cache; 288 if (g.has(h)) return g.get(h); 289 c = a.apply(this, c); 290 d.cache = g.set(h, c) || g; 291 return c; 292 }; 293 c.cache = new (Ja.Cache || Ga)(); 294 return c; 295 } 296 function lc(a) { 297 if ("string" == typeof a) return a;
298 if (z(a)) return mc(a, lc) + ""; 299 if (Ka(a)) return nc ? nc.call(a) : ""; 300 var b = a + ""; 301 return "0" == b && 1 / a == -pd ? "-0" : b; 302 } 303 function oc(a) { 304 if (!pc(a)) { 305 a = a.text || ""; 306 var b = La.getElementsByTagName("title"); 307 b && void 0 !== b[0] && (a = b[0].text); 308 } 309 return a; 310 } 311 function Ub(a) { 312 var b = /^(?:(?:https?|ftp):)\/*(?:[^@]+@)?([^:/#]+)/.exec(a); 313 return b ? b[1] : a; 314 } 315 function dc(a) { 316 var b = a.length; 317 "." === a.charAt(--b) && (a = a.slice(0, b)); 318 "*." === a.slice(0, 2) && (a = a.slice(1)); 319 return a; 320 } 321 function ec(a) { 322 var b = "", 323 c = Ib("referrer", ca.location.href) || Ib("referer", ca.location.href); 324 if (c) return c; 325 if (a) return a; 326 try { 327 b = ca.top.document.referrer; 328 } catch (e) { 329 if (ca.parent) 330 try { 331 b = ca.parent.document.referrer; 332 } catch (d) { 333 b = ""; 334 } 335 } 336 "" === b && (b = La.referrer); 337 return b; 338 } 339 function u(a, b, c, e) { 340 if (a.addEventListener) return a.addEventListener(b, c, e), !0; 341 if (a.attachEvent) return a.attachEvent("on" + b, c); 342 a["on" + b] = c; 343 } 344 function Ib(a, b) { 345 return (a = new RegExp("^[^#]*[?&]" + a + "=([^&#]*)").exec(b)) 346 ? decodeURIComponent(a[1].replace(/\+/g, " ")) 347 : null; 348 } 349 function Jb(a) { 350 var b = Array.prototype.slice.call(arguments, 1); 351 return qd( 352 da(a, function (a) { 353 if ("function" === typeof a) 354 try { 355 return a.apply(null, b); 356 } catch (e) {} 357 else return a; 358 }), 359 ); 360 } 361 function A(a) { 362 "undefined" !== typeof console && console.warn("Snowplow: " + a); 363 } 364 function Ma(a) { 365 return a.className.match(/\S+/g) || []; 366 } 367 function ob(a, b) { 368 if (Array.isArray(a) || !P(a)) 369 return function () { 370 return !0; 371 }; 372 if (a.hasOwnProperty("filter")) return a.filter; 373 var c = a.hasOwnProperty("whitelist"); 374 a = a.whitelist || a.blacklist; 375 Array.isArray(a) || (a = [a]); 376 for (var e = {}, d = 0; d < a.length; d++) e[a[d]] = !0; 377 return b 378 ? function (a) { 379 a: { 380 a = Ma(a); 381 var b; 382 for (b = 0; b < a.length; b++) 383 if (e[a[b]]) { 384 a = !0; 385 break a; 386 } 387 a = !1; 388 } 389 return a === c; 390 } 391 : function (a) { 392 return a.name in e === c; 393 }; 394 } 395 function rd(a) { 396 return P(a) 397 ? a.hasOwnProperty("transform") 398 ? a.transform 399 : function (a) { 400 return a; 401 } 402 : function (a) { 403 return a; 404 }; 405 } 406 function Vb(a, b) { 407 var c = 408 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : 63072e3; 409 try { 410 var e = Date.now() + 1e3 * c; 411 ta.setItem("".concat(a, ".expires"), e); 412 ta.setItem(a, b); 413 return !0; 414 } catch (d) { 415 return !1; 416 } 417 } 418 function qc(a) { 419 try { 420 return ta.removeItem(a), ta.removeItem(a + ".expires"), !0; 421 } catch (b) { 422 return !1; 423 } 424 } 425 function sd(a, b) { 426 for ( 427 var c = "_sp_root_domain_test_" + new Date().getTime(), 428 e = "_test_value_" + new Date().getTime(), 429 d = ca.location.hostname.split("."), 430 f = d.length - 1; 431 0 <= f; 432 ) { 433 var h = d.slice(f, d.length).join("."); 434 N(c, e, 0, "/", h, a, b); 435 if (N(c) === e) { 436 N(c, "", -1, "/", h, a, b); 437 c = La.cookie.split("; "); 438 e = []; 439 for (d = 0; d < c.length; d++) 440 "_sp_root_domain_test_" === c[d].substring(0, 21) && e.push(c[d]); 441 c = e; 442 for (e = 0; e < c.length; e++) N(c[e], "", -1, "/", h, a, b); 443 return h; 444 } 445 --f; 446 } 447 return ca.location.hostname; 448 } 449 function rc(a, b) { 450 for (var c = 0; c < b.length; c++) if (b[c] === a) return !0; 451 return !1; 452 } 453 function N(a, b, c, e, d, f, h) { 454 return 1 < arguments.length 455 ? (La.cookie = 456 a + 457 "=" + 458 encodeURIComponent(b) + 459 (c 460 ? "; Expires=" + new Date(+new Date() + 1e3 * c).toUTCString() 461 : "") + 462 (e ? "; Path=" + e : "") + 463 (d ? "; Domain=" + d : "") + 464 (f ? "; SameSite=" + f : "") + 465 (h ? "; Secure" : "")) 466 : decodeURIComponent( 467 ((";
467 " + La.cookie).split("; " + a + "=")[1] || "").split(";")[0], 468 ); 469 } 470 function pb(a) { 471 a = parseInt(a); 472 return isNaN(a) ? void 0 : a; 473 } 474 function Kb(a) { 475 a = parseFloat(a); 476 return isNaN(a) ? void 0 : a; 477 } 478 function ea(a) { 479 return a && "function" === typeof a ? !0 : !1; 480 } 481 function td(a, b, c, e, d) { 482 function f(e, f, h) { 483 h = h || {}; 484 g.hasOwnProperty(e) 485 ? A("Tracker namespace " + e + " already exists.") 486 : ((g[e] = new a(d, e, b, c, h)), g[e].setCollectorUrl(f)); 487 } 488 function h() { 489 var a; 490 for (a = 0; a < arguments.length; a += 1) { 491 var b = arguments[a]; 492 var c = Array.prototype.shift.call(b); 493 if (ea(c)) 494 try { 495 c.apply(g, b); 496 } catch (F) { 497 A("Custom callback error - ".concat(F)); 498 } finally { 499 continue; 500 } 501 var d = c.split(":"); 502 c = d[0]; 503 d = 1 < d.length ? d[1].split(";") : []; 504 d = [c, d]; 505 c = d[0]; 506 d = d[1]; 507 if ("newTracker" === c) f(b[0], b[1], b[2]); 508 else if ( 509 ("setCollectorCf" !== c && "setCollectorUrl" !== c) || 510 (d && 0 !== d.length) 511 ) { 512 var e = []; 513 if (d && 0 !== d.length) 514 for (var h = 0; h < d.length; h++) 515 g.hasOwnProperty(d[h]) 516 ? e.push(g[d[h]]) 517 : A('Warning: Tracker namespace "' + d[h] + '" not configured'); 518 else e = da(g); 519 0 === e.length && A("Warning: No tracker configured"); 520 for (d = 0; d < e.length; d++) e[d][c].apply(e[d], b); 521 } else 522 (d = b[0]), 523 (b = b[1]), 524 A( 525 c + 526 " is deprecated. Set the collector when a new tracker instance using newTracker.", 527 ), 528 (b = void 0 === b ? "sp" : b), 529 f(b), 530 g[b][c](d); 531 } 532 } 533 for (var g = {}, k = 0; k < e.length; k++) h(e[k]); 534 return { push: h }; 535 } 536 function sc(a, b, c) { 537 if ("translate.googleusercontent.com" === a) 538 "" === c && (c = b), 539 (a = /^(?:https?|ftp)(?::\/*(?:[^?]+))([?][^#]+)/.exec(b)), 540 (b = Ib("u", a[1])), 541 (a = Ub(b)); 542 else { 543 var e; 544 if (!(e = "cc.bingj.com" === a || "webcache.googleusercontent.com" === a)) 545 a: { 546 if ( 547 /^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/.test( 548 a, 549 ) 550 ) 551 try { 552 var d = 553 document.body.children[0].children[0].children[0].children[0] 554 .children[0].children[0].innerHTML; 555 e = "You have reached the cached page for" === d.slice(0, 36); 556 break a; 557 } catch (f) { 558 e = !1; 559 break a; 560 } 561 e = void 0; 562 } 563 e && ((b = document.links[0].href), (a = Ub(b))); 564 } 565 return [a, b, c]; 566 } 567 function ud() { 568 try { 569 var a = !!ua.localStorage; 570 } catch (b) { 571 a = !0; 572 } 573 if (!a) return !1; 574 try { 575 return ( 576 ua.localStorage.setItem("modernizr", "modernizr"), 577 ua.localStorage.removeItem("modernizr"), 578 !0 579 ); 580 } catch (b) { 581 return !1; 582 } 583 } 584 function vd() { 585 var a = ua, 586 b = "inner"; 587 "innerWidth" in ua || ((b = "client"), (a = qb.documentElement || qb.body)); 588 var c = a[b + "Width"]; 589 a = a[b + "Height"]; 590 return 0 <= c && 0 <= a ? c + "x" + a : null; 591 } 592 function wd() { 593 var a = qb.documentElement, 594 b = qb.body, 595 c = Math.max(a.clientWidth, a.offsetWidth, a.scrollWidth); 596 a = Math.max( 597 a.clientHeight, 598 a.offsetHeight, 599 a.scrollHeight, 600 b ? Math.max(b.offsetHeight, b.scrollHeight) : 0, 601 ); 602 return isNaN(c) || isNaN(a) ? "" : c + "x" + a; 603 } 604 function xd() { 605 var a, 606 b = { 607 pdf: "application/pdf", 608 qt: "video/quicktime", 609 realp: "audio/x-pn-realaudio-plugin", 610 wma: "application/x-mplayer2", 611 dir: "application/x-director", 612 fla: "application/x-shockwave-flash", 613 java: "application/x-java-vm", 614 gears: "application/x-googlegears", 615 ag: "application/x-silverlight", 616 }, 617 c = {}; 618 if (X.mimeTypes && X.mimeTypes.length) 619 for (a in b) 620 if (Object.prototype.hasOwnProperty.call(b, a)) { 621 var e = X.mimeTypes[b[a]]; 622 c[a] = e && e.enabledPlugin ? "1" : "0"; 623 } 624 X.constructor === window.Navigator && 625 "unknown" !== typeof X.javaEnabled && 626 void 0 !== X.javaEnabled && 627 X.javaEnabled() && 628 (c.java = "1"); 629 ea(ua.GearsFactory) && (c.gears = "1"); 630 c.res = Lb.width + "x" + Lb.height; 631 c.cd = Lb.colorDepth; 632 c.cookie = X.cookieEnabled ? "1" : "0"; 633 return c; 634 } 635 function yd(a, b, c) { 636 function e(b, d) { 637 for ( 638 var e, f, h, k; 639 null !== (e = b.parentNode) && 640 void 0 !== e && 641 "A" !== (f = b.tagName.toUpperCase()) && 642 "AREA" !== f; 643 ) 644 b = e; 645 if (void 0 !== b.href) { 646 e = b.hostname || Ub(b.href); 647 f = e.toLowerCase(); 648 var p = b.href.replace(e, f); 649 /^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto):/i.test( 650 p, 651 ) || 652 ((e = b.id), 653 (f = Ma(b)), 654 (h = b.target), 655 (k = g ? b.innerHTML : null),
656 (p = unescape(p)), 657 a.trackLinkClick(p, e, f, h, k, c(Jb(d, b)))); 658 } 659 } 660 function d(a) { 661 return function (b) { 662 b = b || window.event; 663 var c = b.which || b.button; 664 var d = b.target || b.srcElement; 665 "click" === b.type 666 ? d && e(d, a) 667 : "mousedown" === b.type 668 ? (1 !== c && 2 !== c) || !d 669 ? (p = v = null) 670 : ((p = c), (v = d)) 671 : "mouseup" === b.type && 672 (c === p && d === v && e(d, a), (p = v = null)); 673 }; 674 } 675 var f, h, g, k, p, v; 676 return { 677 configureLinkClickTracking: function (a, b, c, d) { 678 g = c; 679 k = d; 680 h = b; 681 f = ob(a, !0); 682 }, 683 addClickListeners: function () { 684 var a = document.links, 685 c; 686 for (c = 0; c < a.length; c++) 687 if (f(a[c]) && !a[c][b]) { 688 var e = a[c]; 689 h 690 ? (u(e, "mouseup", d(k), !1), u(e, "mousedown", d(k), !1)) 691 : u(e, "click", d(k), !1); 692 a[c][b] = !0; 693 } 694 }, 695 }; 696 } 697 function zd(a, b, c) { 698 function e(a) { 699 return a[ 700 Ad(["name", "id", "type", "nodeName"], function (b) { 701 return a[b] && "string" === typeof a[b]; 702 }) 703 ]; 704 } 705 function d(a) { 706 for ( 707 ; 708 a && 709 a.nodeName && 710 "HTML" !== a.nodeName.toUpperCase() && 711 "FORM" !== a.nodeName.toUpperCase(); 712 ) 713 a = a.parentNode; 714 if (a && a.nodeName && "FORM" === a.nodeName.toUpperCase()) return e(a); 715 } 716 function f(a) { 717 var b = []; 718 O(k, function (c) { 719 c = Array.prototype.filter.call( 720 a.getElementsByTagName(c), 721 function (a) { 722 return a.hasOwnProperty(p); 723 }, 724 ); 725 O(c, function (a) { 726 if ("submit" !== a.type) { 727 var c = { name: e(a), value: a.value, nodeName: a.nodeName }; 728 a.type && "INPUT" === a.nodeName.toUpperCase() && (c.type = a.type); 729 ("checkbox" !== a.type && "radio" !== a.type) || 730 a.checked || 731 (c.value = null); 732 b.push(c); 733 } 734 }); 735 }); 736 return b; 737 } 738 function h(b, f) { 739 return function (g) { 740 g = g.target; 741 var h = 742 g.nodeName && "INPUT" === g.nodeName.toUpperCase() ? g.type : null, 743 k = "checkbox" !== g.type || g.checked ? m(g.value, g) : null; 744 ("change_form" === b || ("checkbox" !== h && "radio" !== h)) && 745 a.trackFormFocusOrChange( 746 b, 747 d(g), 748 e(g), 749 g.nodeName, 750 h, 751 Ma(g), 752 k, 753 c(Jb(f, g, h, k)), 754 ); 755 }; 756 } 757 function g(b) { 758 return function (d) { 759 d = d.target; 760 var g = f(d); 761 O(g, function (a) { 762 a.value = m(a.value, a); 763 }); 764 a.trackFormSubmission(e(d), Ma(d), g, c(Jb(b, d, g))); 765 }; 766 } 767 var k = ["textarea", "input", "select"], 768 p = b + "form", 769 v = function () { 770 return !0; 771 }, 772 I = function () { 773 return !0; 774 }, 775 m = function (a) { 776 return a; 777 }; 778 return { 779 configureFormTracking: function (a) { 780 a && 781 ((v = ob(a.forms, !0)), (I = ob(a.fields, !1)), (m = rd(a.fields))); 782 }, 783 addFormListeners: function (a) { 784 O(document.getElementsByTagName("form"), function (b) { 785 v(b) && 786 !b[p] && 787 (O(k, function (c) { 788 O(b.getElementsByTagName(c), function (b) { 789 I(b) && 790 !b[p] && 791 "password" !== b.type.toLowerCase() && 792 (u(b, "focus", h("focus_form", a), !1), 793 u(b, "change", h("change_form", a), !1), 794 (b[p] = !0)); 795 }); 796 }), 797 u(b, "submit", g(a)), 798 (b[p] = !0)); 799 }); 800 }, 801 }; 802 } 803 function Bd(a) { 804 function b(b, e, d, f, h, g) { 805 a.trackSelfDescribingEvent( 806 { 807 schema: 808 "iglu:com.snowplowanalytics.snowplow/application_error/jsonschema/1-0-1", 809 data: { 810 programmingLanguage: "JAVASCRIPT", 811 message: 812 b || "JS Exception. Browser doesn't support ErrorEvent API", 813 stackTrace: h && h.stack ? h.stack : null, 814 lineNumber: d, 815 lineColumn: f, 816 fileName: e, 817 }, 818 }, 819 g, 820 ); 821 } 822 return { 823 trackError: b, 824 enableErrorTracking: function (a, e, d) { 825 u( 826 Cd, 827 "error", 828 function (c) { 829 if ((ea(a) && a(c)) || null == a) { 830 var f = ea(e) ? d.concat(e(c)) : d; 831 b(c.message, c.filename, c.lineno, c.colno, c.error, f); 832 } 833 }, 834 !0, 835 ); 836 }, 837 }; 838 } 839 function Dd(a, b, c, e, d, f, h, g, k, p, v, I) { 840 function m(a) { 841 var b = "?", 842 c = { co: !0, cx: !0 }, 843 d = !0, 844 e; 845 for (e in a) 846 a.hasOwnProperty(e) && 847 !c.hasOwnProperty(e) && 848 (d ? (d = !1) : (b += "&"), 849 (b += encodeURIComponent(e) + "=" + encodeURIComponent(a[e]))); 850 for (var g in c) 851 a.hasOwnProperty(g) && 852 c.hasOwnProperty(g) && 853 (b += "&" + g + "=" + encodeURIComponent(a[g])); 854 return b; 855 } 856 function r(a) { 857 a = Ed(a, function (a) { 858 return a.toString(); 859 }); 860 return { evt: a, bytes: M(JSON.stringify(a)) }; 861 } 862 function M(a) { 863 for (var b = 0, c = 0; c < a.length; c++) { 864 var d = a.charCodeAt(c); 865 127 >= d 866 ? (b += 1) 867 : 2047 >= d 868 ? (b += 2) 869 : 55296 <= d && 57343 >= d 870 ? ((b += 4), c++) 871 : (b = 65535 > d ? b + 3 : b + 4); 872 } 873 return b; 874 } 875 function F() { 876 for (; E.length && "string" !== typeof E[0] && "object" !== y(E[0]); ) 877 E.shift(); 878 if (1 > E.length) q = !1; 879 else { 880 if (!pc(u)) throw "No collector configured"; 881 q = !0; 882 var a = E[0]; 883 if (x) { 884 var b = function (a) { 885 for ( 886 var b = 0, c = 0; 887 b < a.length && !((c += a[b].bytes), c >= g); 888 ) 889 b += 1; 890 return b; 891 }, 892 c = function (a) { 893 for (var b = 0; b < a; b++) E.shift(); 894 e && Vb(L, JSON.stringify(E.slice(0, p))); 895 F(); 896 }; 897 if (O) { 898 a = uc(a); 899 var d = n(a, !1); 900 var f = 1; 901 } else (a = u), (d = n(a, !0)), (f = b(E)); 902 var h = setTimeout(function () { 903 d.abort(); 904 q = !1; 905 }, v); 906 d.onreadystatechange = function () { 907 if (4 === d.readyState && 200 <= d.status && 400 > d.status) { 908 clearTimeout(h); 909 if (N && !z) 910 try { 911 vc.setItem(U, !0); 912 } catch (tc) {} 913 c(f); 914 } else 915 4 === d.readyState && 916 400 <= d.status && 917 (clearTimeout(h), (q = !1)); 918 }; 919 if (O) d.send(); 920 else if (((b = E.slice(0, f)), 0 < b.length)) { 921 var k; 922 if (!(k = z) && (k = N)) 923 try { 924 k = vc.getItem(U); 925 } catch (tc) { 926 k = void 0; 927 } 928 z = k; 929 b = da(b, function (a) { 930 return a.evt; 931 }); 932 if (z) { 933 k = new Blob([Mb(w(b))], { type: "application/json" }); 934 try { 935 var m = navigator.sendBeacon(a, k); 936 } catch (tc) { 937 m = !1; 938 } 939 } 940 !0 === m && c(f); 941 (N && m) || d.send(Mb(w(b))); 942 } 943 } else if (I) q = !1; 944 else { 945 m = new Image(1, 1); 946 var r = !0; 947 m.onload = function () { 948 r && 949 ((r = !1), 950 E.shift(), 951 e && Vb(L, JSON.stringify(E.slice(0, p))), 952 F()); 953 }; 954 m.onerror = function () { 955 r && (q = r = !1); 956 }; 957 m.src = uc(a); 958 setTimeout(function () { 959 r && q && ((r = !1), F()); 960 }, v); 961 } 962 } 963 } 964 function n(a, b) { 965 var c = new XMLHttpRequest(); 966 b 967 ? (c.open("POST", a, !0), 968 c.setRequestHeader("Content-Type", "application/json; charset=UTF-8")) 969 : c.open("GET", a, !0); 970 c.withCredentials = !0; 971 I && c.setRequestHeader("SP-Anonymous", "*"); 972 return c; 973 } 974 function Mb(a) { 975 return JSON.stringify({ 976 schema: 977 "iglu:com.snowplowanalytics.snowplow/payload_data/jsonschema/1-0-4", 978 data: a, 979 }); 980 } 981 function w(a) { 982 for (var b = new Date().getTime().toString(), c = 0; c < a.length; c++) 983 a[c].stm = b; 984 return a; 985 } 986 function uc(a) { 987 return k 988 ? u + a.replace("?", "?stm=" + new Date().getTime() + "&") 989 : u + a; 990 } 991 var q = !1, 992 u, 993 z; 994 d = d.toLowerCase ? d.toLowerCase() : d; 995 var J = null === d || !0 === d || "beacon" === d || "true" === d, 996 N = !!(J && navigator && navigator.sendBeacon) && J, 997 O = "get" === d, 998 x = !!( 999 window.XMLHttpRequest && "withCredentials" in new XMLHttpRequest() 1000 ), 1001 D = !O && x && ("post" === d || J),
1002 P = D ? f : "/i"; 1003 h = (e && ud() && D && h) || 1; 1004 var L = "snowplowOutQueue_" 1005 .concat(a, "_") 1006 .concat(b, "_") 1007 .concat(D ? "post2" : "get"); 1008 var U = "spBeaconPreflight_".concat(a, "_").concat(b); 1009 if (e) 1010 try { 1011 var E = JSON.parse(window.localStorage.getItem(L)); 1012 } catch (cf) {} 1013 Array.isArray(E) || (E = []); 1014 c.outQueues.push(E); 1015 x && 1016 1 < h && 1017 c.bufferFlushers.push(function () { 1018 q || F(); 1019 }); 1020 return { 1021 enqueueRequest: function (a, b) { 1022 u = b + P; 1023 if (D) { 1024 a = r(a); 1025 if (a.bytes >= g) { 1026 A("Event (" + a.bytes + "B) too big, max is " + g); 1027 n(u, !0).send(Mb(w([a.evt]))); 1028 return; 1029 } 1030 E.push(a); 1031 } else E.push(m(a)); 1032 a = !1; 1033 e && (a = Vb(L, JSON.stringify(E.slice(0, p)))); 1034 q || (a && !(E.length >= h)) || F(); 1035 }, 1036 executeQueue: function () { 1037 q || F(); 1038 }, 1039 setUseLocalStorage: function (a) { 1040 e = a; 1041 }, 1042 setAnonymousTracking: function (a) { 1043 I = a; 1044 }, 1045 setCollectorUrl: function (a) { 1046 u = a + P; 1047 }, 1048 }; 1049 } 1050 function Fd(a) { 1051 var b = {}; 1052 "object" === y(a) && 1053 null !== a && 1054 Object.getOwnPropertyNames(a).forEach(function (c, e, d) { 1055 "function" === typeof a[c] && (b[c] = Gd(a[c])); 1056 }); 1057 return b; 1058 } 1059 function Hd(a) { 1060 if (!a) return a; 1061 switch (4 - (a.length % 4)) { 1062 case 2: 1063 a += "=="; 1064 break; 1065 case 3: 1066 a += "="; 1067 } 1068 a = a.replace(/-/g, "+").replace(/_/g, "/"); 1069 return Id(a); 1070 } 1071 function Id(a) { 1072 var b = 0, 1073 c = 0; 1074 var e = ""; 1075 var d = []; 1076 if (!a) return a; 1077 a += ""; 1078 do { 1079 var f = 1080 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf( 1081 a.charAt(b++), 1082 ); 1083 var h = 1084 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf( 1085 a.charAt(b++), 1086 ); 1087 e = 1088 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf( 1089 a.charAt(b++), 1090 ); 1091 var g = 1092 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf( 1093 a.charAt(b++), 1094 ); 1095 var k = (f << 18) | (h << 12) | (e << 6) | g; 1096 f = (k >> 16) & 255; 1097 h = (k >> 8) & 255; 1098 k &= 255; 1099 64 === e 1100 ? (d[c++] = String.fromCharCode(f)) 1101 : 64 === g 1102 ? (d[c++] = String.fromCharCode(f, h)) 1103 : (d[c++] = String.fromCharCode(f, h, k)); 1104 } while (b < a.length); 1105 e = d.join(""); 1106 return (function (a) { 1107 return decodeURIComponent( 1108 a 1109 .split("") 1110 .map(function (a) { 1111 return "%" + ("00" + a.charCodeAt(0).toString(16)).slice(-2); 1112 }) 1113 .join(""), 1114 ); 1115 })(e.replace(/\0+$/, "")); 1116 } 1117 function Na(a) { 1118 if (!wc(a)) return !1; 1119 for (var b in a) if (Object.prototype.hasOwnProperty.call(a, b)) return !0; 1120 return !1; 1121 } 1122 function wc(a) { 1123 return ( 1124 "undefined" !== typeof a && 1125 null !== a && 1126 (a.constructor === {}.constructor || a.constructor === [].constructor) 1127 ); 1128 } 1129 function va(a) { 1130 var b = {}, 1131 c = function (a, c) { 1132 null != c && "" !== c && (b[a] = c); 1133 }; 1134 return { 1135 add: c, 1136 addDict: function (a) { 1137 for (var b in a) 1138 Object.prototype.hasOwnProperty.call(a, b) && c(b, a[b]); 1139 }, 1140 addJson: function (b, d, f) { 1141 if (f && Na(f)) 1142 if (((f = JSON.stringify(f)), a)) { 1143 if (f) { 1144 d = f; 1145 var e = (f = 0), 1146 g = []; 1147 if (d) { 1148 d = unescape(encodeURIComponent(d)); 1149 do { 1150 var k = d.charCodeAt(f++); 1151 var p = d.charCodeAt(f++); 1152 var v = d.charCodeAt(f++); 1153 var I = (k << 16) | (p << 8) | v; 1154 k = (I >> 18) & 63; 1155 p = (I >> 12) & 63; 1156 v = (I >> 6) & 63; 1157 I &= 63; 1158 g[e++] = 1159 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1159+/=".charAt( 1160 k, 1161 ) + 1162 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt( 1163 p, 1164 ) + 1165 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt( 1166 v, 1167 ) + 1168 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt( 1169 I, 1170 ); 1171 } while (f < d.length); 1172 f = g.join(""); 1173 d = d.length % 3; 1174 d = (d ? f.slice(0, d - 3) : f) + "===".slice(d || 3); 1175 } 1176 d = d.replace(/=/g, "").replace(/\+/g, "-").replace(/\//g, "_"); 1177 } else d = f; 1178 c(b, d); 1179 } else c(d, f); 1180 }, 1181 build: function () { 1182 return b; 1183 }, 1184 }; 1185 } 1186 function Jd() { 1187 var a = [], 1188 b = []; 1189 return { 1190 getGlobalPrimitives: function () { 1191 return a; 1192 }, 1193 getConditionalProviders: function () { 1194 return b; 1195 }, 1196 addGlobalContexts: function (c) { 1197 var e = [], 1198 d = []; 1199 c = lb(c); 1200 var f; 1201 try { 1202 for (c.s(); !(f = c.n()).done; ) { 1203 var h = f.value; 1204 xc(h) ? e.push(h) : wa(h) && d.push(h); 1205 } 1206 } catch (g) { 1207 c.e(g); 1208 } finally { 1209 c.f(); 1210 } 1211 a = a.concat(d); 1212 b = b.concat(e); 1213 }, 1214 clearGlobalContexts: function () { 1215 b = []; 1216 a = []; 1217 }, 1218 removeGlobalContexts: function (c) { 1219 c = lb(c); 1220 var e; 1221 try { 1222 var d = function () { 1223 var c = e.value; 1224 xc(c) 1225 ? (b = b.filter(function (a) { 1226 return !rb(a, c); 1227 })) 1228 : wa(c) && 1229 (a = a.filter(function (a) { 1230 return !rb(a, c); 1231 })); 1232 }; 1233 for (c.s(); !(e = c.n()).done; ) d(); 1234 } catch (f) { 1235 c.e(f); 1236 } finally { 1237 c.f(); 1238 } 1239 }, 1240 getApplicableContexts: function (c) { 1241 c = c.build(); 1242 var e = Na(c) && "e" in c ? "string" === typeof c.e : !1; 1243 if (e) { 1244 c = md({}, c); 1245 try { 1246 null != c && 1247 sb(c, "ue_px", tb) && 1248 (c.ue_px = JSON.parse(Hd(D(c, ["ue_px"])))); 1249 var d = c; 1250 } catch (g) { 1251 d = c; 1252 } 1253 c = d; 1254 e = 1255 "string" === typeof D(c, "ue_px.data.schema") 1256 ? D(c, "ue_px.data.schema") 1257 : "string" === typeof D(c, "ue_pr.data.schema") 1258 ? D(c, "ue_pr.data.schema") 1259 : "string" === typeof D(c, "schema") 1260 ? D(c, "schema") 1261 : ""; 1262 var f = D(c, "e", ""); 1263 d = []; 1264 var h = Oa(a, c, f, e); 1265 d.push.apply(d, na(h)); 1266 c = Kd(b, c, f, e); 1267 d.push.apply(d, na(c)); 1268 return d; 1269 } 1270 return []; 1271 }, 1272 }; 1273 } 1274 function Ld(a) { 1275 if ("*" === a[0] || "*" === a[1]) return !1; 1276 if (0 < a.slice(2).length) { 1277 var b = !1; 1278 a = lb(a.slice(2)); 1279 var c; 1280 try { 1281 for (a.s(); !(c = a.n()).done; ) 1282 if ("*" === c.value) b = !0; 1283 else if (b) return !1; 1284 } catch (e) { 1285 a.e(e); 1286 } finally { 1287 a.f(); 1288 } 1289 return !0; 1290 } 1291 return 2 == a.length ? !0 : !1; 1292 } 1293 function yc(a) { 1294 return (a = a.split(".")) && 1 < a.length ? Ld(a) : !1; 1295 } 1296 function zc(a) { 1297 a = 1298 /^iglu:((?:(?:[a-zA-Z0-9-_]+|\*).)+(?:[a-zA-Z0-9-_]+|\*))\/([a-zA-Z0-9-_.]+|\*)\/jsonschema\/([1-9][0-9]*|\*)-(0|[1-9][0-9]*|\*)-(0|[1-9][0-9]*|\*)$/.exec( 1299 a, 1300 ); 1301 if (null !== a && yc(a[1])) return a.slice(1, 6); 1302 } 1303 function Nb(a) { 1304 if ((a = zc(a))) { 1305 var b = a[0]; 1306 return 5 === a.length && yc(b); 1307 } 1308 return !1; 1309 } 1310 function Md(a) { 1311 return ( 1312 Array.isArray(a) && 1313 a.every(function (a) { 1314 return "string" === typeof a; 1315 }) 1316 ); 1317 } 1318 function Ac(a) { 1319 return Md(a) 1320 ? a.every(function (a) { 1321 return Nb(a); 1322 }) 1323 : "string" === typeof a 1324 ? Nb(a) 1325 : !1; 1326 } 1327 function xa(a) { 1328 return Na(a) && "schema" in a && "data" in a 1329 ? "string" === typeof a.schema && "object" === y(a.data) 1330 : !1; 1331 } 1332 function Nd(a) { 1333 var b = 0; 1334 if (W(a) && "[object Object]" == Q(a)) { 1335 var c = Od(a); 1336 null === c 1337 ? (c = !0) 1338 : ((c = Pd.call(c, "constructor") && c.constructor), 1339 (c = "function" == typeof c && c instanceof c && Bc.call(c) == Qd)); 1340 } else c = !1; 1341 if (c) { 1342 if (null != a && sb(a, "accept", tb)) 1343 if (Ac(a.accept)) b += 1; 1344 else return !1; 1345 if (null != a && sb(a, "reject", tb)) 1346 if (Ac(a.reject)) b += 1; 1347 else return !1; 1348 return 0 < b && 2 >= b; 1349 } 1350 return !1; 1351 } 1352 function Cc(a) { 1353 return "function" === typeof a && 1 >= a.length; 1354 } 1355 function wa(a) { 1356 return ("function" === typeof a && 1 >= a.length) || xa(a); 1357 } 1358 function Dc(a) { 1359 return Array.isArray(a) && 2 === a.length 1360 ? Array.isArray(a[1]) 1361 ? Cc(a[0]) && ub(a[1], wa) 1362 : Cc(a[0]) && wa(a[1]) 1363 : !1; 1364 } 1365 function Ec(a) { 1366 return Array.isArray(a) && 2 === a.length 1367 ? Nd(a[0]) 1368 ? Array.isArray(a[1]) 1369 ? ub(a[1], wa) 1370 : wa(a[1]) 1371 : !1 1372 : !1; 1373 } 1374 function xc(a) { 1375 return Dc(a) || Ec(a); 1376 } 1377 function Rd(a, b) { 1378 var c = 0, 1379 e = 0, 1380 d = D(a, "accept"); 1381 Array.isArray(d) 1382 ? a.accept.some(function (a) { 1383 return vb(a, b); 1384 }) && e++ 1385 : "string" === typeof d && vb(d, b) && e++; 1386 d = D(a, "reject"); 1387 Array.isArray(d) 1388 ? a.reject.some(function (a) { 1389 return vb(a, b); 1390 }) && c++ 1391 : "string" === typeof d && vb(d, b) && c++; 1392 return 0 < e && 0 === c ? !0 : !1; 1393 } 1394 function vb(a, b) { 1395 if (!Nb(a)) return !1; 1396 a = zc(a); 1397 b = 1398 /^iglu:([a-zA-Z0-9-_.]+)\/([a-zA-Z0-9-_]+)\/jsonschema\/([1-9][0-9]*)-(0|[1-9][0-9]*)-(0|[1-9][0-9]*)$/.exec( 1399 b, 1400 ); 1401 b = null !== b ? b.slice(1, 6) : void 0; 1402 if (a && b) { 1403 if (!Sd(a[0], b[0])) return !1; 1404 for (var c = 1; 5 > c; c++) if (!Fc(a[c], b[c])) return !1; 1405 return !0; 1406 } 1407 return !1; 1408 } 1409 function Sd(a, b) { 1410 b = b.split("."); 1411 a = a.split("."); 1412 if (b && a) { 1413 if (b.length !== a.length) return !1; 1414 for (var c = 0; c < a.length; c++) if (!Fc(b[c], a[c])) return !1; 1415 return !0; 1416 } 1417 return !1; 1418 } 1419 function Fc(a, b) { 1420 return (a && b && "*" === a) || a === b; 1421 } 1422 function Gc(a) { 1423 return Array.isArray(a) ? a : [a]; 1424 } 1425 function Oa(a, b, c, e) { 1426 var d; 1427 a = Gc(a); 1428 a = da(a, function (a) { 1429 a: if (xa(a)) a = [a]; 1430 else { 1431 if ("function" === typeof a && 1 >= a.length) { 1432 b: { 1433 var d = void 0; 1434 try { 1435 d = a({ event: b, eventType: c, eventSchema: e }); 1436 if (xa(d) || (Array.isArray(d) && ub(d, xa))) { 1437 var g = d; 1438 break b; 1439 } 1440 g = void 0; 1441 break b; 1442 } catch (k) {} 1443 g = void 0; 1444 } 1445 if (xa(g)) { 1446 a = [g]; 1447 break a; 1448 } else if (Array.isArray(g)) { 1449 a = g; 1450 break a; 1451 } 1452 } 1453 a = void 0; 1454 } 1455 if (a && 0 !== a.length) return a; 1456 });
1457 return (d = []).concat.apply(d, na(Hc(a))); 1458 } 1459 function Kd(a, b, c, e) { 1460 var d; 1461 a = Gc(a); 1462 a = da(a, function (a) { 1463 a: { 1464 if (Dc(a)) { 1465 var d = a[0], 1466 g = !1; 1467 try { 1468 g = d({ event: b, eventType: c, eventSchema: e }); 1469 } catch (k) { 1470 g = !1; 1471 } 1472 if (!0 === g) { 1473 a = Oa(a[1], b, c, e); 1474 break a; 1475 } 1476 } else if (Ec(a) && Rd(a[0], e)) { 1477 a = Oa(a[1], b, c, e); 1478 break a; 1479 } 1480 a = []; 1481 } 1482 if (a && 0 !== a.length) return a; 1483 }); 1484 return (d = []).concat.apply(d, na(Hc(a))); 1485 } 1486 function Td(a, b) { 1487 var c = Jd(), 1488 e = {}; 1489 "undefined" === typeof a && (a = !0); 1490 var d = function (a, b) { 1491 var c = {}; 1492 b = b || {}; 1493 for (var d in a) 1494 if (b[d] || (null !== a[d] && "undefined" !== typeof a[d])) 1495 c[d] = a[d]; 1496 return c; 1497 }, 1498 f = function (a, d, f, h) { 1499 a.addDict(e); 1500 a.add("eid", Ud.v4()); 1501 f = 1502 null == f 1503 ? { type: "dtm", value: new Date().getTime() } 1504 : "number" === typeof f 1505 ? { type: "dtm", value: f } 1506 : "ttm" === f.type 1507 ? { type: "ttm", value: f.value } 1508 : { type: "dtm", value: f.value || new Date().getTime() }; 1509 a.add(f.type, f.value.toString()); 1510 f = c.getApplicableContexts(a); 1511 var g = []; 1512 d && d.length && g.push.apply(g, na(d)); 1513 f && f.length && g.push.apply(g, na(f)); 1514 d = 1515 g && g.length 1516 ? { 1517 schema: 1518 "iglu:com.snowplowanalytics.snowplow/contexts/jsonschema/1-0-0", 1519 data: g, 1520 } 1521 : void 0; 1522 void 0 !== d && a.addJson("cx", "co", d); 1523 "function" === typeof b && b(a); 1524 try { 1525 h && h(a.build()); 1526 } catch (m) { 1527 console.warn("Snowplow: error running custom callback"); 1528 } 1529 return a; 1530 }, 1531 h = function (b, c, d, e) { 1532 var g = va(a); 1533 b = { 1534 schema: 1535 "iglu:com.snowplowanalytics.snowplow/unstruct_event/jsonschema/1-0-0", 1536 data: b, 1537 }; 1538 g.add("e", "ue"); 1539 g.addJson("ue_px", "ue_pr", b); 1540 return f(g, c, d, e); 1541 }; 1542 return { 1543 addPayloadPair: function (a, b) { 1544 e[a] = b; 1545 }, 1546 setBase64Encoding: function (b) { 1547 a = b; 1548 }, 1549 addPayloadDict: function (a) { 1550 for (var b in a) 1551 Object.prototype.hasOwnProperty.call(a, b) && (e[b] = a[b]); 1552 }, 1553 resetPayloadPairs: function (a) { 1554 e = wc(a) ? a : {}; 1555 }, 1556 setTrackerVersion: function (a) { 1557 e.tv = a; 1558 }, 1559 setTrackerNamespace: function (a) { 1560 e.tna = a; 1561 }, 1562 setAppId: function (a) { 1563 e.aid = a; 1564 }, 1565 setPlatform: function (a) { 1566 e.p = a; 1567 }, 1568 setUserId: function (a) { 1569 e.uid = a; 1570 }, 1571 setScreenResolution: function (a, b) { 1572 e.res = a + "x" + b; 1573 }, 1574 setViewport: function (a, b) { 1575 e.vp = a + "x" + b; 1576 }, 1577 setColorDepth: function (a) { 1578 e.cd = a; 1579 }, 1580 setTimezone: function (a) { 1581 e.tz = a; 1582 }, 1583 setLang: function (a) { 1584 e.lang = a; 1585 }, 1586 setIpAddress: function (a) { 1587 e.ip = a; 1588 }, 1589 setUseragent: function (a) { 1590 e.ua = a; 1591 }, 1592 trackUnstructEvent: h, 1593 trackSelfDescribingEvent: h, 1594 trackPageView: function (b, c, d, e, h, m) { 1595 var g = va(a); 1596 g.add("e", "pv"); 1597 g.add("url", b); 1598 g.add("page", c); 1599 g.add("refr", d); 1600 return f(g, e, h, m); 1601 }, 1602 trackPagePing: function (b, c, d, e, h, m, r, M, F, n) { 1603 var g = va(a); 1604 g.add("e", "pp"); 1605 g.add("url", b); 1606 g.add("page", c); 1607 g.add("refr", d); 1608 g.add("pp_mix", e.toString()); 1609 g.add("pp_max", h.toString()); 1610 g.add("pp_miy", m.toString()); 1611 g.add("pp_may", r.toString()); 1612 return f(g, M, F, n); 1613 }, 1614 trackStructEvent: function (b, c, d, e, h, m, r, M) { 1615 var g = va(a); 1616 g.add("e", "se"); 1617 g.add("se_ca", b); 1618 g.add("se_ac", c); 1619 g.add("se_la", d); 1620 g.add("se_pr", e); 1621 g.add("se_va", null == h ? void 0 : h.toString()); 1622 return f(g, m, r, M); 1623 }, 1624 trackEcommerceTransaction: function ( 1625 b, 1626 c, 1627 d, 1628 e, 1629 h, 1630 m, 1631 r, 1632 M, 1633 F, 1634 n, 1635 Mb, 1636 w, 1637 ) { 1638 var g = va(a); 1639 g.add("e", "tr"); 1640 g.add("tr_id", b); 1641 g.add("tr_af", c); 1642 g.add("tr_tt", d); 1643 g.add("tr_tx", e); 1644 g.add("tr_sh", h); 1645 g.add("tr_ci", m); 1646 g.add("tr_st", r); 1647 g.add("tr_co", M); 1648 g.add("tr_cu", F); 1649 return f(g, n, Mb, w); 1650 }, 1651 trackEcommerceTransactionItem: function (b, c, d, e, h, m, r, M, F, n) { 1652 var g = va(a); 1653 g.add("e", "ti"); 1654 g.add("ti_id", b); 1655 g.add("ti_sk", c); 1656 g.add("ti_nm", d); 1657 g.add("ti_ca", e); 1658 g.add("ti_pr", h); 1659 g.add("ti_qu", m); 1660 g.add("ti_cu", r); 1661 return f(g, M, F, n); 1662 }, 1663 trackScreenView: function (a, b, c, e, f) { 1664 return h( 1665 { 1666 schema: 1667 "iglu:com.snowplowanalytics.snowplow/screen_view/jsonschema/1-0-0", 1668 data: d({ name: a, id: b }), 1669 }, 1670 c, 1671 e, 1672 f, 1673 ); 1674 }, 1675 trackLinkClick: function (a, b, c, e, f, m, r, M) { 1676 a = { 1677 schema: 1678 "iglu:com.snowplowanalytics.snowplow/link_click/jsonschema/1-0-1", 1679 data: d({ 1680 targetUrl: a, 1681 elementId: b, 1682 elementClasses: c, 1683 elementTarget: e, 1684 elementContent: f, 1685 }), 1686 }; 1687 return h(a, m, r, M); 1688 }, 1689 trackAdImpression: function (a, b, c, e, f, m, r, M, n, q, u) { 1690 a = { 1691 schema: 1692 "iglu:com.snowplowanalytics.snowplow/ad_impression/jsonschema/1-0-0", 1693 data: d({ 1694 impressionId: a, 1695 costModel: b, 1696 cost: c, 1697 targetUrl: e, 1698 bannerId: f, 1699 zoneId: m, 1700 advertiserId: r, 1701 campaignId: M, 1702 }), 1703 }; 1704 return h(a, n, q, u); 1705 }, 1706 trackAdClick: function (a, b, c, e, f, m, r, n, F, q, u, w) { 1707 a = { 1708 schema: 1709 "iglu:com.snowplowanalytics.snowplow/ad_click/jsonschema/1-0-0", 1710 data: d({ 1711 targetUrl: a, 1712 clickId: b, 1713 costModel: c, 1714 cost: e, 1715 bannerId: f, 1716 zoneId: m, 1717 impressionId: r, 1718 advertiserId: n, 1719 campaignId: F, 1720 }), 1721 }; 1722 return h(a, q, u, w); 1723 }, 1724 trackAdConversion: function (a, b, c, e, f, m, r, n, q, u, A, w) { 1725 a = { 1726 schema: 1727 "iglu:com.snowplowanalytics.snowplow/ad_conversion/jsonschema/1-0-0", 1728 data: d({ 1729 conversionId: a, 1730 costModel: b, 1731 cost: c, 1732 category: e, 1733 action: f, 1734 property: m, 1735 initialValue: r, 1736 advertiserId: n, 1737 campaignId: q, 1738 }), 1739 }; 1740 return h(a, u, A, w); 1741 }, 1742 trackSocialInteraction: function (a, b, c, e, f, m) { 1743 a = { 1744 schema: 1745 "iglu:com.snowplowanalytics.snowplow/social_interaction/jsonschema/1-0-0", 1746 data: d({ action: a, network: b, target: c }), 1747 }; 1748 return h(a, e, f, m); 1749 }, 1750 trackAddToCart: function (a, b, c, e, f, m, r, n, q) { 1751 return h( 1752 { 1753 schema: 1754 "iglu:com.snowplowanalytics.snowplow/add_to_cart/jsonschema/1-0-0", 1755 data: d({ 1756 sku: a, 1757 name: b, 1758 category: c, 1759 unitPrice: e, 1760 quantity: f, 1761 currency: m, 1762 }), 1763 }, 1764 r, 1765 n, 1766 q, 1767 ); 1768 }, 1769 trackRemoveFromCart: function (a, b, c, e, f, m, r, n, q) { 1770 return h( 1771 { 1772 schema: 1773 "iglu:com.snowplowanalytics.snowplow/remove_from_cart/jsonschema/1-0-0", 1774 data: d({ 1775 sku: a, 1776 name: b, 1777 category: c, 1778 unitPrice: e, 1779 quantity: f, 1780 currency: m, 1781 }), 1782 }, 1783 r, 1784 n, 1785 q, 1786 ); 1787 }, 1788 trackFormFocusOrChange: function (a, b, c, e, f, m, r, n, q, u) { 1789 var g = ""; 1790 b = { 1791 formId: b, 1792 elementId: c, 1793 nodeName: e, 1794 elementClasses: m, 1795 value: r, 1796 }; 1797 "change_form" === a 1798 ? ((g = 1799 "iglu:com.snowplowanalytics.snowplow/change_form/jsonschema/1-0-0"),
1800 (b.type = f)) 1801 : "focus_form" === a && 1802 ((g = 1803 "iglu:com.snowplowanalytics.snowplow/focus_form/jsonschema/1-0-0"), 1804 (b.elementType = f)); 1805 return h({ schema: g, data: d(b, { value: !0 }) }, n, q, u); 1806 }, 1807 trackFormSubmission: function (a, b, c, e, f, m) { 1808 return h( 1809 { 1810 schema: 1811 "iglu:com.snowplowanalytics.snowplow/submit_form/jsonschema/1-0-0", 1812 data: d({ formId: a, formClasses: b, elements: c }), 1813 }, 1814 e, 1815 f, 1816 m, 1817 ); 1818 }, 1819 trackSiteSearch: function (a, b, c, e, f, m, r) { 1820 return h( 1821 { 1822 schema: 1823 "iglu:com.snowplowanalytics.snowplow/site_search/jsonschema/1-0-0", 1824 data: d({ terms: a, filters: b, totalResults: c, pageResults: e }), 1825 }, 1826 f, 1827 m, 1828 r, 1829 ); 1830 }, 1831 trackConsentWithdrawn: function (a, b, c, e, f, m, r, n) { 1832 b = { 1833 schema: 1834 "iglu:com.snowplowanalytics.snowplow/consent_document/jsonschema/1-0-0", 1835 data: d({ id: b, version: c, name: e, description: f }), 1836 }; 1837 return h( 1838 { 1839 schema: 1840 "iglu:com.snowplowanalytics.snowplow/consent_withdrawn/jsonschema/1-0-0", 1841 data: d({ all: a }), 1842 }, 1843 b.data && m ? m.concat([b]) : m, 1844 r, 1845 n, 1846 ); 1847 }, 1848 trackConsentGranted: function (a, b, c, e, f, m, r, n) { 1849 a = { 1850 schema: 1851 "iglu:com.snowplowanalytics.snowplow/consent_document/jsonschema/1-0-0", 1852 data: d({ id: a, version: b, name: c, description: e }), 1853 }; 1854 return h( 1855 { 1856 schema: 1857 "iglu:com.snowplowanalytics.snowplow/consent_granted/jsonschema/1-0-0", 1858 data: d({ expiry: f }), 1859 }, 1860 m ? m.concat([a]) : [a], 1861 r, 1862 n, 1863 ); 1864 }, 1865 addGlobalContexts: function (a) { 1866 c.addGlobalContexts(a); 1867 }, 1868 clearGlobalContexts: function () { 1869 c.clearGlobalContexts(); 1870 }, 1871 removeGlobalContexts: function (a) { 1872 c.removeGlobalContexts(a); 1873 }, 1874 }; 1875 } 1876 function wb(a, b, c, e, d) { 1877 function f(a) { 1878 return ( 1879 -1 < 1880 Tb.map(function (a) { 1881 return a.toLowerCase(); 1882 }).indexOf(a.toLowerCase()) 1883 ); 1884 } 1885 function h() { 1886 Pa = sc(B.domain, C.location.href, ec()); 1887 Pa[1] !== ya && (Ob = ec(ya)); 1888 Ma = dc(Pa[0]); 1889 ya = Pa[1]; 1890 } 1891 function g() { 1892 var a = new Date().getTime(); 1893 if (this.href) { 1894 a = "_sp=" + (xb + "." + a); 1895 var b = this.href.split("#"), 1896 c = b[0].split("?"), 1897 d = c.shift(); 1898 if ((c = c.join("?"))) { 1899 for (var e = !0, f = c.split("&"), g = 0; g < f.length; g++) 1900 if ("_sp=" === f[g].substr(0, 4)) { 1901 e = !1; 1902 f[g] = a; 1903 c = f.join("&"); 1904 break; 1905 } 1906 e && (c = a + "&" + c); 1907 } else c = a; 1908 b[0] = d + "?" + c; 1909 this.href = b.join("#"); 1910 } 1911 } 1912 function k(a) { 1913 for (var b = 0; b < B.links.length; b++) { 1914 var c = B.links[b]; 1915 !c.spDecorationEnabled && 1916 a(c) && 1917 (u(c, "click", g, !0), 1918 u(c, "mousedown", g, !0), 1919 (c.spDecorationEnabled = !0)); 1920 } 1921 } 1922 function p(a) { 1923 if (Va) { 1924 var b = /#.*/; 1925 a = a.replace(b, ""); 1926 } 1927 Ya && ((b = /[{}]/g), (a = a.replace(b, ""))); 1928 return a; 1929 } 1930 function v(a) { 1931 return (a = /^([a-z]+):/.exec(a)) ? a[1] : null; 1932 } 1933 function n(a) { 1934 a = Qa + a + "." + Ra; 1935 if ("localStorage" == G) { 1936 a: { 1937 try { 1938 var b = ta.getItem(a + ".expires"); 1939 if (null === b || +b > Date.now()) { 1940 var c = ta.getItem(a); 1941 break a; 1942 } else ta.removeItem(a), ta.removeItem(a + ".expires"); 1943 c = void 0; 1944 break a; 1945 } catch (df) {} 1946 c = void 0; 1947 } 1948 return c; 1949 } 1950 if ("cookie" == G || "cookieAndLocalStorage" == G) return N(a); 1951 } 1952 function m() { 1953 h(); 1954 Ra = Sb((yb || Ma) + (Ba || "/")).slice(0, 4); 1955 } 1956 function r() { 1957 Wb = new Date().getTime(); 1958 } 1959 function q() { 1960 var a = F(), 1961 b = a[0]; 1962 b < Xb ? (Xb = b) : b > Yb && (Yb = b); 1963 a = a[1]; 1964 a < Zb ? (Zb = a) : a > $b && ($b = a); 1965 r(); 1966 } 1967 function F() { 1968 var a = 1969 B.compatMode && "BackCompat" !== B.compatMode 1970 ? B.documentElement 1971 : B.body; 1972 return [a.scrollLeft || C.pageXOffset, a.scrollTop || C.pageYOffset]; 1973 } 1974 function z() { 1975 var a = F(), 1976 b = a[0]; 1977 Yb = Xb = b; 1978 $b = Zb = a = a[1]; 1979 } 1980 function D(a) { 1981 a = Math.round(a); 1982 if (!isNaN(a)) return a; 1983 } 1984 function w() { 1985 L(Qa + "ses." + Ra, "*", Ja); 1986 } 1987 function y(a, b, c, d, e, f) { 1988 L( 1989 Qa + "id." + Ra, 1990 a + "." + b + "." + c + "." + d + "." + e + "." + f, 1991 nb, 1992 ); 1993 } 1994 function L(a, b, c) { 1995 if (!za || zb) 1996 "localStorage" == G 1997 ? Vb(a, b, c) 1998 : ("cookie" == G || "cookieAndLocalStorage" == G) && 1999 N(a, b, c, Ba, yb, ja, la); 2000 } 2001 function P(a) { 2002 a && ((d.stateStorageStrategy = a), (G = Ca(d))); 2003 za = !!d.anonymousTracking; 2004 zb = Da(d); 2005 Na = Fa(d); 2006 Sa.setUseLocalStorage( 2007 "localStorage" == G || "cookieAndLocalStorage" == G, 2008 ); 2009 Sa.setAnonymousTracking(Na); 2010 } 2011 function W(a, b) { 2012 var c = Qa + "id." + Ra, 2013 d = Qa + "ses." + Ra; 2014 qc(c); 2015 qc(d); 2016 N(c, "", -1, "/", yb, ja, la); 2017 N(d, "", -1, "/", yb, ja, la); 2018 a || ((R = J()), (aa = 0)); 2019 b || ((xb = J()), (Ta = null)); 2020 } 2021 function X() { 2022 if (!za || zb) { 2023 var a = "none" != G && !!n("ses"), 2024 b = Q(); 2025 b[1] ? (xb = b[1]) : ((xb = za ? "" : J()), (b[1] = xb)); 2026 R = b[6]; 2027 a || (b[3]++, (R = J()), (b[6] = R), (b[5] = b[4])); 2028 "none" != G && 2029 (w(), 2030 (b[4] = Math.round(new Date().getTime() / 1e3)), 2031 b.shift(), 2032 y.apply(null, b)); 2033 } 2034 } 2035 function Q() { 2036 if ("none" == G) return []; 2037 var a = Math.round(new Date().getTime() / 1e3), 2038 b = n("id"); 2039 b ? ((a = b.split(".")), a.unshift("0")) : (a = ["1", xb, a, 0, a, ""]); 2040 (a[6] && "undefined" !== a[6]) || (a[6] = J()); 2041 return a; 2042 } 2043 function Y(a) { 2044 return ob 2045 ? "https://" + a 2046 : Lb 2047 ? "http://" + a 2048 : ("https:" === B.location.protocol ? "https" : "http") + "://" + a; 2049 } 2050 function x(a) { 2051 var b = kb.concat(a || []); 2052 H.webPage && 2053 b.push({ 2054 schema: 2055 "iglu:com.snowplowanalytics.snowplow/web_page/jsonschema/1-0-0", 2056 data: { id: V() }, 2057 }); 2058 H.performanceTiming && (a = ca()) && b.push(a); 2059 if (C.optimizely) { 2060 H.optimizelySummary && 2061 ((a = ua()), 2062 O(a, function (a) { 2063 b.push(a); 2064 })); 2065 H.optimizelyXSummary && 2066 ((a = va()), 2067 O(a, function (a) { 2068 b.push(a); 2069 })); 2070 if (H.optimizelyExperiments) { 2071 var c = ka(); 2072 for (a = 0; a < c.length; a++) b.push(c[a]); 2073 } 2074 if (H.optimizelyStates) 2075 for (c = na(), a = 0; a < c.length; a++) b.push(c[a]); 2076 if (H.optimizelyVariations) 2077 for (c = oa(), a = 0; a < c.length; a++) b.push(c[a]); 2078 H.optimizelyVisitor && (a = pa()) && b.push(a); 2079 if (H.optimizelyAudiences) 2080 for (c = qa(), a = 0; a < c.length; a++) b.push(c[a]); 2081 if (H.optimizelyDimensions) 2082 for (c = ra(), a = 0; a < c.length; a++) b.push(c[a]); 2083 } 2084 H.parrable && (a = wa()) && b.push(a); 2085 H.gdprBasis && 2086 Ua.gdprBasis && 2087 ((a = Ua.gdprBasis 2088 ? { 2089 schema: 2090 "iglu:com.snowplowanalytics.snowplow/gdpr/jsonschema/1-0-0", 2091 data: { 2092 basisForProcessing: Ua.gdprBasis,
2093 documentId: Ua.gdprDocId || null, 2094 documentVersion: Ua.gdprDocVer || null, 2095 documentDescription: Ua.gdprDocDesc || null, 2096 }, 2097 } 2098 : void 0), 2099 a && b.push(a)); 2100 H.clientHints && 2101 Aa && 2102 b.push({ 2103 schema: "iglu:org.ietf/http_client_hints/jsonschema/1-0-0", 2104 data: Aa, 2105 }); 2106 return b; 2107 } 2108 function Z() { 2109 (Gb && null != e.pageViewId) || (e.pageViewId = J()); 2110 } 2111 function V() { 2112 null == e.pageViewId && (e.pageViewId = J()); 2113 return e.pageViewId; 2114 } 2115 function ca() { 2116 var a = 2117 "navigationStart redirectStart redirectEnd fetchStart domainLookupStart domainLookupEnd connectStart secureConnectionStart connectEnd requestStart responseStart responseEnd unloadEventStart unloadEventEnd domLoading domInteractive domContentLoadedEventStart domContentLoadedEventEnd domComplete loadEventStart loadEventEnd msFirstPaint chromeFirstPaint requestEnd proxyStart proxyEnd".split( 2118 " ", 2119 ), 2120 b = 2121 C.performance || 2122 C.mozPerformance || 2123 C.msPerformance || 2124 C.webkitPerformance; 2125 if (b) { 2126 var c = {}, 2127 d; 2128 for (d in b.timing) 2129 rc(d, a) && null !== b.timing[d] && (c[d] = b.timing[d]); 2130 delete c.requestEnd; 2131 return { 2132 schema: "iglu:org.w3/PerformanceTiming/jsonschema/1-0-0", 2133 data: c, 2134 }; 2135 } 2136 } 2137 function U(a, b) { 2138 if (C.optimizely && C.optimizely.data) { 2139 var c = C.optimizely.data[a]; 2140 "undefined" !== typeof b && void 0 !== c && (c = c[b]); 2141 } 2142 return c; 2143 } 2144 function E(a, b) { 2145 if (C.optimizely && "function" === typeof C.optimizely.get) { 2146 var c = C.optimizely.get(a); 2147 "undefined" !== typeof b && void 0 !== c && (c = c[b]); 2148 } 2149 return c; 2150 } 2151 function ha() { 2152 var a = U("state"), 2153 b = U("experiments"); 2154 return da(a && b && a.activeExperiments, function (c) { 2155 var d = b[c]; 2156 return { 2157 activeExperimentId: c.toString(), 2158 variation: a.variationIdsMap[c][0].toString(), 2159 conditional: d && d.conditional, 2160 manual: d && d.manual, 2161 name: d && d.name, 2162 }; 2163 }); 2164 } 2165 function ia() { 2166 var a = E("state"), 2167 b = a && a.getActiveExperimentIds(), 2168 c = a && a.getVariationMap(), 2169 d = E("visitor"); 2170 return da(b, function (a) { 2171 var b = c[a], 2172 e = (b && b.name && b.name.toString()) || null; 2173 b = b && b.id; 2174 var f = (d && d.visitorId && d.visitorId.toString()) || null; 2175 return { 2176 experimentId: pb(a) || null, 2177 variationName: e, 2178 variation: pb(b) || null, 2179 visitorId: f, 2180 }; 2181 }); 2182 } 2183 function ka() { 2184 var a = U("experiments"); 2185 if (a) { 2186 var b = [], 2187 c; 2188 for (c in a) 2189 if (a.hasOwnProperty(c)) { 2190 var d = {}; 2191 d.id = c; 2192 var e = a[c]; 2193 d.code = e.code; 2194 d.manual = e.manual; 2195 d.conditional = e.conditional; 2196 d.name = e.name; 2197 d.variationIds = e.variation_ids; 2198 b.push({ 2199 schema: "iglu:com.optimizely/experiment/jsonschema/1-0-0", 2200 data: d, 2201 }); 2202 } 2203 return b; 2204 } 2205 return []; 2206 } 2207 function na() { 2208 var a = [], 2209 b = U("experiments"); 2210 if (b) for (var c in b) b.hasOwnProperty(c) && a.push(c); 2211 if ((b = U("state"))) { 2212 c = []; 2213 for (var d = b.activeExperiments || [], e = 0; e < a.length; e++) { 2214 var f = a[e], 2215 g = {}; 2216 g.experimentId = f; 2217 g.isActive = rc(a[e], d); 2218 g.variationIndex = (b.variationMap || {})[f]; 2219 g.variationName = (b.variationNamesMap || {})[f]; 2220 var h = b.variationIdsMap || {}; 2221 h[f] && 1 === h[f].length && (g.variationId = h[f][0]); 2222 c.push({ 2223 schema: "iglu:com.optimizely/state/jsonschema/1-0-0", 2224 data: g, 2225 }); 2226 } 2227 return c; 2228 } 2229 return []; 2230 } 2231 function oa() { 2232 var a = U("variations"); 2233 if (a) { 2234 var b = [], 2235 c; 2236 for (c in a) 2237 if (a.hasOwnProperty(c)) { 2238 var d = {}; 2239 d.id = c; 2240 var e = a[c]; 2241 d.name = e.name; 2242 d.code = e.code; 2243 b.push({ 2244 schema: "iglu:com.optimizely/variation/jsonschema/1-0-0", 2245 data: d, 2246 }); 2247 } 2248 return b; 2249 } 2250 return []; 2251 } 2252 function pa() { 2253 var a = U("visitor"); 2254 if (a) { 2255 var b = {}; 2256 b.browser = a.browser; 2257 b.browserVersion = a.browserVersion; 2258 b.device = a.device; 2259 b.deviceType = a.deviceType; 2260 b.ip = a.ip; 2261 var c = a.platform || {}; 2262 b.platformId = c.id; 2263 b.platformVersion = c.version; 2264 c = a.location || {}; 2265 b.locationCity = c.city; 2266 b.locationRegion = c.region; 2267 b.locationCountry = c.country; 2268 b.mobile = a.mobile; 2269 b.mobileId = a.mobileId; 2270 b.referrer = a.referrer; 2271 b.os = a.os; 2272 return { 2273 schema: "iglu:com.optimizely/visitor/jsonschema/1-0-0", 2274 data: b, 2275 }; 2276 } 2277 } 2278 function qa() { 2279 var a = U("visitor", "audiences"); 2280 if (a) { 2281 var b = [], 2282 c; 2283 for (c in a) 2284 a.hasOwnProperty(c) && 2285 b.push({ 2286 schema: "iglu:com.optimizely/visitor_audience/jsonschema/1-0-0", 2287 data: { id: c, isMember: a[c] }, 2288 }); 2289 return b; 2290 } 2291 return []; 2292 } 2293 function ra() { 2294 var a = U("visitor", "dimensions"); 2295 if (a) { 2296 var b = [], 2297 c; 2298 for (c in a) 2299 a.hasOwnProperty(c) && 2300 b.push({ 2301 schema: "iglu:com.optimizely/visitor_dimension/jsonschema/1-0-0", 2302 data: { id: c, value: a[c] }, 2303 }); 2304 return b; 2305 } 2306 return []; 2307 } 2308 function ua() { 2309 return da(ha(), function (a) { 2310 return { 2311 schema: 2312 "iglu:com.optimizely.snowplow/optimizely_summary/jsonschema/1-0-0", 2313 data: a, 2314 }; 2315 }); 2316 } 2317 function va() { 2318 return da(ia(), function (a) { 2319 return { 2320 schema: "iglu:com.optimizely.optimizelyx/summary/jsonschema/1-0-0", 2321 data: a, 2322 }; 2323 }); 2324 } 2325 function wa() { 2326 var a = window._hawk; 2327 if (a) { 2328 var b = { encryptedId: null, optout: null }; 2329 b.encryptedId = a.browserid; 2330 a = new RegExp( 2331 "(?:^|;)\\s?" + 2332 "_parrable_hawk_optout".replace( 2333 /([.*+?^=!:${}()|[\]\/\\])/g, 2334 "\\$1", 2335 ) + 2336 "=(.*?)(?:;|$)", 2337 "i", 2338 ); 2339 a = document.cookie.match(a); 2340 b.optout = 2341 a && decodeURIComponent(a[1]) 2342 ? a && decodeURIComponent(a[1]) 2343 : "false"; 2344 return { 2345 schema: "iglu:com.parrable/encrypted_payload/jsonschema/1-0-0", 2346 data: b, 2347 }; 2348 } 2349 } 2350 function ma() { 2351 !Fb && 2352 S.geolocation && 2353 S.geolocation.getCurrentPosition && 2354 ((Fb = !0), 2355 S.geolocation.getCurrentPosition(function (a) { 2356 var b = a.coords; 2357 kb.push({ 2358 schema: 2359 "iglu:com.snowplowanalytics.snowplow/geolocation_context/jsonschema/1-1-0", 2360 data: { 2361 latitude: b.latitude, 2362 longitude: b.longitude, 2363 latitudeLongitudeAccuracy: b.accuracy, 2364 altitude: b.altitude, 2365 altitudeAccuracy: b.altitudeAccuracy, 2366 bearing: b.heading, 2367 speed: b.speed, 2368 timestamp: Math.round(a.timestamp), 2369 }, 2370 }); 2371 })); 2372 } 2373 function Ha() { 2374 var a = {}; 2375 O("__utma __utmb __utmc __utmv __utmz _ga".split(" "), function (b) { 2376 var c = N(b); 2377 c && (a[b] = c); 2378 }); 2379 return { 2380 schema: "iglu:com.google.analytics/cookies/jsonschema/1-0-0", 2381 data: a, 2382 }; 2383 } 2384 function Ia(a, b, c, d, e) { 2385 h(); 2386 Hb && Z(); 2387 Hb = !0; 2388 Ab = B.title; 2389 Pb = a; 2390 a = oc(Pb || Ab); 2391 t.trackPageView( 2392 p(Bb || ya), 2393 a, 2394 p(ea || Ob), 2395 x((b || []).concat(c ? c() : [])), 2396 d, 2397 e, 2398 ); 2399 d = new Date(); 2400 e = !1; 2401 if (T.enabled && !T.installed) { 2402 e = T.installed = !0; 2403 var f = { 2404 update: function () { 2405 if ( 2406 "undefined" !== typeof window && 2407 "function" === typeof window.addEventListener 2408 ) { 2409 var a = !1, 2410 b = Object.defineProperty({}, "passive", { 2411 get: function () { 2412 a = !0; 2413 }, 2414 set: function () {}, 2415 }), 2416 c = function () {}; 2417 window.addEventListener("testPassiveEventSupport", c, b); 2418 window.removeEventListener("testPassiveEventSupport", c, b); 2419 f.hasSupport = a; 2420 } 2421 }, 2422 };
2423 f.update(); 2424 a = 2425 "onwheel" in document.createElement("div") 2426 ? "wheel" 2427 : void 0 !== document.onmousewheel 2428 ? "mousewheel" 2429 : "DOMMouseScroll"; 2430 Object.prototype.hasOwnProperty.call(f, "hasSupport") 2431 ? u(B, a, r, { passive: !0 }) 2432 : u(B, a, r); 2433 z(); 2434 a = function (a) { 2435 var b = 2436 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : r; 2437 return function (a) { 2438 return u(B, a, b); 2439 }; 2440 }; 2441 O( 2442 "click mouseup mousedown mousemove keypress keydown keyup".split(" "), 2443 a(B), 2444 ); 2445 O(["resize", "focus", "blur"], a(C)); 2446 a(C, q)("scroll"); 2447 } 2448 if (T.enabled && (wb || e)) { 2449 Wb = d.getTime(); 2450 for (var g in T.configurations) 2451 T.configurations.hasOwnProperty(g) && 2452 ((d = T.configurations[g]), 2453 clearInterval(d.activityInterval), 2454 La(d, b, c)); 2455 } 2456 } 2457 function La(a, b, c) { 2458 var d = function (a, b) { 2459 h(); 2460 a({ 2461 context: b, 2462 pageViewId: V(), 2463 minXOffset: Xb, 2464 minYOffset: Zb, 2465 maxXOffset: Yb, 2466 maxYOffset: $b, 2467 }); 2468 z(); 2469 }, 2470 e = function () { 2471 Wb + a.configHeartBeatTimer > new Date().getTime() && 2472 d(a.callback, (b || []).concat(c ? c() : [])); 2473 }; 2474 a.activityInterval = 2475 0 != a.configMinimumVisitLength 2476 ? setTimeout(function () { 2477 Wb + a.configMinimumVisitLength > new Date().getTime() && 2478 d(a.callback, (b || []).concat(c ? c() : [])); 2479 a.activityInterval = setInterval(e, a.configHeartBeatTimer); 2480 }, a.configMinimumVisitLength) 2481 : setInterval(e, a.configHeartBeatTimer); 2482 } 2483 function xa(a, b, c) { 2484 if ( 2485 "number" == typeof a && 2486 a == fc(a) && 2487 "number" == typeof b && 2488 b == fc(b) 2489 ) 2490 return { 2491 configMinimumVisitLength: 1e3 * a, 2492 configHeartBeatTimer: 1e3 * b, 2493 activityInterval: null, 2494 callback: c, 2495 }; 2496 A( 2497 "Activity tracking minimumVisitLength & heartbeatDelay must be integers", 2498 ); 2499 return {}; 2500 } 2501 function Wa(a) { 2502 var b = a.context, 2503 c = a.minXOffset, 2504 d = a.minYOffset, 2505 e = a.maxXOffset; 2506 a = a.maxYOffset; 2507 var f = B.title; 2508 f !== Ab && ((Ab = f), (Pb = null)); 2509 t.trackPagePing( 2510 p(Bb || ya), 2511 oc(Pb || Ab), 2512 p(ea || Ob), 2513 D(c), 2514 D(e), 2515 D(d), 2516 D(a), 2517 x(b), 2518 ); 2519 } 2520 function fa(a, b) { 2521 return "" !== a ? a + b.charAt(0).toUpperCase() + b.slice(1) : b; 2522 } 2523 function K(a) { 2524 var b, 2525 c, 2526 d = ["", "webkit", "ms", "moz"]; 2527 if (!lb) 2528 for (c = 0; c < d.length; c++) { 2529 var e = d[c]; 2530 if (B[fa(e, "hidden")]) { 2531 "prerender" === B[fa(e, "visibilityState")] && (b = !0); 2532 break; 2533 } else if (!1 === B[fa(e, "hidden")]) break; 2534 } 2535 b 2536 ? u(B, e + "visibilitychange", function Wd() { 2537 B.removeEventListener(e + "visibilitychange", Wd, !1); 2538 a(); 2539 }) 2540 : a(); 2541 } 2542 d = d || {}; 2543 d.hasOwnProperty("post") 2544 ? (d.eventMethod = !0 === d.post ? "post" : "get") 2545 : (d.eventMethod = d.eventMethod || "post"); 2546 d.hasOwnProperty("useStm") || (d.useStm = !0); 2547 var Ca = function (a) { 2548 return a.hasOwnProperty("stateStorageStrategy") 2549 ? a.stateStorageStrategy 2550 : Oa || tb 2551 ? Oa && tb 2552 ? "cookieAndLocalStorage" 2553 : Oa 2554 ? "cookie" 2555 : "localStorage" 2556 : "none"; 2557 }, 2558 Da = function (a) { 2559 return a.hasOwnProperty("anonymousTracking") 2560 ? !0 === a.anonymousTracking.withSessionTracking 2561 : !1; 2562 }, 2563 Fa = function (a) { 2564 return a.hasOwnProperty("anonymousTracking") 2565 ? !0 === a.anonymousTracking.withServerAnonymisation 2566 : !1; 2567 }, 2568 mb = Object.freeze({ 2569 consent: "consent", 2570 contract: "contract", 2571 legalObligation: "legal_obligation", 2572 vitalInterests: "vital_interests", 2573 publicTask: "public_task", 2574 legitimateInterests: "legitimate_interests", 2575 }), 2576 t = Td(!0, function (a) { 2577 var b = Math.round(new Date().getTime() / 1e3), 2578 c = n("ses"), 2579 d = Q(), 2580 f = d[0], 2581 g = d[1], 2582 Vd = d[2], 2583 k = d[3], 2584 l = d[4], 2585 m = d[5]; 2586 d = d[6]; 2587 var v = Qb ? !!N(Qb) : !1; 2588 Ea || v 2589 ? W() 2590 : ("0" === f 2591 ? ((R = d), 2592 c || "none" == G || (k++, (m = l), (R = J())), 2593 (aa = k)) 2594 : new Date().getTime() - Xa > 1e3 * Ja && ((R = J()), aa++), 2595 a.add("vp", vd()), 2596 a.add("ds", wd()), 2597 a.add("vid", zb ? aa : za ? null : aa), 2598 a.add("sid", zb ? R : za ? null : R), 2599 a.add("duid", za ? null : g), 2600 a.add("uid", za ? null : Ta), 2601 h(), 2602 a.add("refr", p(ea || Ob)), 2603 a.add("url", p(Bb || ya)), 2604 "none" != G && (y(g, Vd, aa, b, m, R), w()), 2605 (Xa = new Date().getTime())); 2606 b = vb; 2607 c = new Date(); 2608 f = Qb ? !!N(Qb) : !1; 2609 Ea || 2610 f || 2611 (Sa.enqueueRequest(a.build(), Rb),
2612 (e.expireDateTime = c.getTime() + b)); 2613 }), 2614 Ga = !1, 2615 l = {}, 2616 sa = {}, 2617 Ka = {}, 2618 B = document, 2619 C = window, 2620 S = navigator, 2621 Pa = sc(B.domain, C.location.href, ec()), 2622 Ma = dc(Pa[0]), 2623 ya = Pa[1], 2624 Ob = Pa[2], 2625 ea, 2626 qb = d.hasOwnProperty("platform") ? d.platform : "web", 2627 Rb, 2628 rb = d.hasOwnProperty("postPath") 2629 ? d.postPath 2630 : "/com.snowplowanalytics.snowplow/tp2", 2631 sb = d.hasOwnProperty("appId") ? d.appId : "", 2632 Bb, 2633 Ab = B.title, 2634 Pb, 2635 vb = d.hasOwnProperty("pageUnloadTimer") ? d.pageUnloadTimer : 500, 2636 wb = d.hasOwnProperty("resetActivityTrackingOnPageView") 2637 ? d.resetActivityTrackingOnPageView 2638 : !0, 2639 Va, 2640 Ya, 2641 Qa = d.hasOwnProperty("cookieName") ? d.cookieName : "_sp_", 2642 yb = d.hasOwnProperty("cookieDomain") ? d.cookieDomain : null, 2643 Ba = "/", 2644 ja = d.hasOwnProperty("cookieSameSite") ? d.cookieSameSite : "None", 2645 la = d.hasOwnProperty("cookieSecure") ? d.cookieSecure : !0, 2646 ib = S.doNotTrack || S.msDoNotTrack || C.doNotTrack, 2647 Ea = d.hasOwnProperty("respectDoNotTrack") 2648 ? d.respectDoNotTrack && ("yes" === ib || "1" === ib) 2649 : !1, 2650 Qb, 2651 lb, 2652 nb = d.hasOwnProperty("cookieLifetime") ? d.cookieLifetime : 63072e3, 2653 Ja = d.hasOwnProperty("sessionCookieTimeout") 2654 ? d.sessionCookieTimeout 2655 : 1800, 2656 Jb = B.characterSet || B.charset, 2657 ob = d.hasOwnProperty("forceSecureTracker") 2658 ? !0 === d.forceSecureTracker 2659 : !1, 2660 Lb = 2661 !ob && d.hasOwnProperty("forceUnsecureTracker") 2662 ? !0 === d.forceUnsecureTracker 2663 : !1, 2664 zb = Da(d), 2665 Na = Fa(d), 2666 za = !!d.anonymousTracking, 2667 tb = d.hasOwnProperty("useLocalStorage") 2668 ? (A( 2669 "argmap.useLocalStorage is deprecated. Use argmap.stateStorageStrategy instead.", 2670 ), 2671 d.useLocalStorage) 2672 : !0, 2673 Oa = d.hasOwnProperty("useCookies") 2674 ? (A( 2675 "argmap.useCookies is deprecated. Use argmap.stateStorageStrategy instead.", 2676 ), 2677 d.useCookies) 2678 : !0, 2679 G = Ca(d), 2680 Nb = S.userLanguage || S.language, 2681 ac = xd(), 2682 ub = a + "_" + b, 2683 Wb, 2684 Xa = new Date().getTime(), 2685 Xb, 2686 Yb, 2687 Zb, 2688 $b, 2689 Sb = Xd, 2690 Ra, 2691 xb, 2692 R, 2693 aa = 1, 2694 Ta, 2695 Za, 2696 $a, 2697 ab, 2698 bb, 2699 cb, 2700 db, 2701 eb, 2702 fb, 2703 gb, 2704 hb, 2705 jb, 2706 bc = [], 2707 Cb = new yd(t, ub, x), 2708 cc = new zd(t, ub, x), 2709 Eb = new Bd(t), 2710 Sa = new Dd( 2711 a, 2712 b, 2713 e, 2714 "localStorage" == G || "cookieAndLocalStorage" == G, 2715 d.eventMethod, 2716 rb, 2717 d.bufferSize, 2718 d.maxPostBytes || 4e4, 2719 d.useStm, 2720 d.maxLocalStorageQueueSize || 1e3, 2721 d.connectionTimeout || 5e3, 2722 Na, 2723 ), 2724 Fb = !1, 2725 H = d.contexts || {}, 2726 kb = [], 2727 Db = [], 2728 Gb = !1, 2729 Hb = !1, 2730 T = { enabled: !1, installed: !1, configurations: {} }, 2731 Aa = null; 2732 H.clientHints && 2733 S.userAgentData && 2734 ((Aa = { 2735 isMobile: S.userAgentData.mobile, 2736 brands: S.userAgentData.brands, 2737 }), 2738 H.clientHints.includeHighEntropy && 2739 S.userAgentData.getHighEntropyValues && 2740 S.userAgentData 2741 .getHighEntropyValues([ 2742 "platform", 2743 "platformVersion", 2744 "architecture", 2745 "model", 2746 "uaFullVersion", 2747 ]) 2748 .then(function (a) { 2749 Aa.architecture = a.architecture; 2750 Aa.model = a.model; 2751 Aa.platform = a.platform; 2752 Aa.uaFullVersion = a.uaFullVersion; 2753 Aa.platformVersion = a.platformVersion; 2754 })); 2755 var Tb = d.skippedBrowserFeatures || [], 2756 Ua = {}; 2757 d.hasOwnProperty("discoverRootDomain") && 2758 d.discoverRootDomain && 2759 (yb = sd(ja, la)); 2760 H.gaCookies && kb.push(Ha()); 2761 H.geolocation && ma(); 2762 t.setBase64Encoding(d.hasOwnProperty("encodeBase64") ? d.encodeBase64 : !0); 2763 t.setTrackerVersion(c); 2764 t.setTrackerNamespace(b); 2765 t.setAppId(sb); 2766 t.setPlatform(qb); 2767 t.setTimezone(Yd.jstz.determine().name()); 2768 t.addPayloadPair("lang", Nb); 2769 t.addPayloadPair("cs", Jb); 2770 for (var ba in ac) 2771 Object.prototype.hasOwnProperty.call(ac, ba) && 2772 (("res" !== ba && "cd" !== ba && "cookie" !== ba) || f(ba) 2773 ? f(ba) || t.addPayloadPair("f_" + ba, ac[ba]) 2774 : t.addPayloadPair(ba, ac[ba]));
2775 m(); 2776 X(); 2777 d.crossDomainLinker && k(d.crossDomainLinker); 2778 l.getDomainSessionIndex = function () { 2779 return aa; 2780 }; 2781 l.getPageViewId = function () { 2782 return V(); 2783 }; 2784 l.newSession = function () { 2785 var a = Math.round(new Date().getTime() / 1e3), 2786 b = Q(), 2787 c = b[1], 2788 d = b[2], 2789 e = b[3], 2790 f = b[4], 2791 g = b[5], 2792 h = b[6]; 2793 "0" === b[0] 2794 ? ((R = h), "none" != G && (e++, (g = f), (R = J())), (aa = e), w()) 2795 : ((R = J()), aa++); 2796 "none" != G && (y(c, d, aa, a, g, R), w()); 2797 Xa = new Date().getTime(); 2798 }; 2799 l.getCookieName = function (a) { 2800 return Qa + a + "." + Ra; 2801 }; 2802 l.getUserId = function () { 2803 return Ta; 2804 }; 2805 l.getDomainUserId = function () { 2806 return Q()[1]; 2807 }; 2808 l.getDomainUserInfo = function () { 2809 return Q(); 2810 }; 2811 l.getUserFingerprint = function () { 2812 A( 2813 "User Fingerprinting is no longer supported. This function will be removed in a future release.", 2814 ); 2815 return 0; 2816 }; 2817 l.setAppId = function (a) { 2818 A( 2819 "setAppId is deprecated. Instead use the argmap argument on tracker initialisation: appId", 2820 ); 2821 t.setAppId(a); 2822 }; 2823 l.setReferrerUrl = function (a) { 2824 ea = a; 2825 }; 2826 l.setCustomUrl = function (a) { 2827 h(); 2828 var b = ya, 2829 c; 2830 v(a) 2831 ? (Bb = a) 2832 : "/" === a.slice(0, 1) 2833 ? (Bb = v(b) + "://" + Ub(b) + a) 2834 : ((b = p(b)), 2835 0 <= (c = b.indexOf("?")) && (b = b.slice(0, c)), 2836 (c = b.lastIndexOf("/")) !== b.length - 1 && 2837 (b = b.slice(0, c + 1)), 2838 (Bb = b + a)); 2839 }; 2840 l.setDocumentTitle = function (a) { 2841 Ab = B.title; 2842 Pb = a; 2843 }; 2844 l.discardHashTag = function (a) { 2845 Va = a; 2846 }; 2847 l.discardBrace = function (a) { 2848 Ya = a; 2849 }; 2850 l.setCookieNamePrefix = function (a) { 2851 A( 2852 "setCookieNamePrefix is deprecated. Instead use the argmap argument on tracker initialisation: cookieName", 2853 ); 2854 Qa = a; 2855 }; 2856 l.setCookieDomain = function (a) { 2857 A( 2858 "setCookieDomain is deprecated. Instead use the argmap argument on tracker initialisation: cookieDomain", 2859 ); 2860 yb = dc(a); 2861 m(); 2862 }; 2863 l.setCookiePath = function (a) { 2864 Ba = a; 2865 m(); 2866 }; 2867 l.setVisitorCookieTimeout = function (a) { 2868 nb = a; 2869 }; 2870 l.setSessionCookieTimeout = function (a) { 2871 A( 2872 "setSessionCookieTimeout is deprecated. Instead use the argmap argument on tracker initialisation: sessionCookieTimeout", 2873 ); 2874 Ja = a; 2875 }; 2876 l.setUserFingerprintSeed = function () { 2877 A( 2878 "User Fingerprinting is no longer supported. This function will be removed in a future release.", 2879 ); 2880 }; 2881 l.enableUserFingerprint = function () { 2882 A( 2883 "User Fingerprinting is no longer supported. This function will be removed in a future release.", 2884 ); 2885 }; 2886 l.respectDoNotTrack = function (a) { 2887 A( 2888 "respectDoNotTrack is deprecated. Instead use the argmap argument on tracker initialisation: respectDoNotTrack", 2889 ); 2890 var b = S.doNotTrack || S.msDoNotTrack; 2891 Ea = a && ("yes" === b || "1" === b); 2892 }; 2893 l.crossDomainLinker = function (a) { 2894 k(a); 2895 }; 2896 l.enableLinkClickTracking = function (a, b, c, d) { 2897 e.hasLoaded 2898 ? (Cb.configureLinkClickTracking(a, b, c, d), Cb.addClickListeners()) 2899 : e.registeredOnLoadHandlers.push(function () { 2900 Cb.configureLinkClickTracking(a, b, c, d); 2901 Cb.addClickListeners(); 2902 }); 2903 }; 2904 l.refreshLinkClickTracking = function () { 2905 e.hasLoaded 2906 ? Cb.addClickListeners() 2907 : e.registeredOnLoadHandlers.push(function () { 2908 Cb.addClickListeners(); 2909 }); 2910 }; 2911 l.enableActivityTracking = function (a, b) { 2912 T.configurations.pagePing || 2913 ((T.enabled = !0), (T.configurations.pagePing = xa(a, b, Wa))); 2914 }; 2915 l.enableActivityTrackingCallback = function (a, b, c) { 2916 T.configurations.callback || 2917 ((T.enabled = !0), (T.configurations.callback = xa(a, b, c))); 2918 }; 2919 l.updatePageActivity = function () { 2920 r(); 2921 }; 2922 l.enableFormTracking = function (a, b) { 2923 e.hasLoaded 2924 ? (cc.configureFormTracking(a), cc.addFormListeners(b)) 2925 : e.registeredOnLoadHandlers.push(function () { 2926 cc.configureFormTracking(a); 2927 cc.addFormListeners(b); 2928 }); 2929 }; 2930 l.killFrame = function () { 2931 C.location !== C.top.location && (C.top.location = C.location); 2932 }; 2933 l.redirectFile = function (a) { 2934 "file:" === C.location.protocol && (C.location = a); 2935 }; 2936 l.setOptOutCookie = function (a) { 2937 Qb = a; 2938 }; 2939 l.setCountPreRendered = function (a) { 2940 lb = a; 2941 }; 2942 l.setUserId = function (a) { 2943 Ta = a; 2944 }; 2945 l.identifyUser = function (a) { 2946 l.setUserId(a); 2947 }; 2948 l.setUserIdFromLocation = function (a) { 2949 h(); 2950 Ta = Ib(a, ya); 2951 }; 2952 l.setUserIdFromReferrer = function (a) { 2953 h(); 2954 Ta = Ib(a, Ob); 2955 }; 2956 l.setUserIdFromCookie = function (a) { 2957 Ta = N(a); 2958 }; 2959 l.setCollectorCf = function (a) { 2960 Rb = Y(a + ".cloudfront.net"); 2961 Sa.setCollectorUrl(Rb); 2962 }; 2963 l.setCollectorUrl = function (a) { 2964 Rb = Y(a); 2965 Sa.setCollectorUrl(Rb); 2966 }; 2967 l.setPlatform = function (a) { 2968 A( 2969 "setPlatform is deprecated. Instead use the argmap argument on tracker initialisation: platform", 2970 ); 2971 t.setPlatform(a); 2972 }; 2973 l.encodeBase64 = function (a) { 2974 A( 2975 "encodeBase64 is deprecated. Instead use the argmap argument on tracker initialisation: encodeBase64", 2976 ); 2977 t.setBase64Encoding(a); 2978 }; 2979 l.flushBuffer = function () { 2980 Sa.executeQueue(); 2981 }; 2982 l.enableGeolocationContext = ma; 2983 l.trackPageView = function (a, b, c, d, e) { 2984 K(function () { 2985 Ia(a, b, c, d, e); 2986 }); 2987 }; 2988 l.trackStructEvent = function (a, b, c, d, e, f, g, h) { 2989 K(function () { 2990 t.trackStructEvent(a, b, c, d, e, x(f), g, h); 2991 }); 2992 }; 2993 l.trackSelfDescribingEvent = function (a, b, c, d) { 2994 K(function () { 2995 t.trackSelfDescribingEvent(a, x(b), c, d); 2996 }); 2997 }; 2998 l.trackUnstructEvent = function (a, b, c) { 2999 K(function () { 3000 t.trackSelfDescribingEvent(a, x(b), c); 3001 }); 3002 }; 3003 l.addTrans = function (a, b, c, d, e, f, g, h, k, l, p) { 3004 Za = a; 3005 $a = b; 3006 ab = c; 3007 bb = d; 3008 cb = e; 3009 db = f; 3010 eb = g; 3011 fb = h; 3012 gb = k; 3013 hb = l; 3014 jb = p; 3015 }; 3016 l.addItem = function (a, b, c, d, e, f, g, h, k) { 3017 bc.push({ 3018 orderId: a, 3019 sku: b, 3020 name: c, 3021 category: d, 3022 price: e, 3023 quantity: f, 3024 currency: g, 3025 context: h, 3026 tstamp: k, 3027 }); 3028 }; 3029 l.trackTrans = function () { 3030 K(function () { 3031 var a = jb; 3032 t.trackEcommerceTransaction( 3033 Za, 3034 $a, 3035 ab, 3036 bb, 3037 cb, 3038 db, 3039 eb, 3040 fb, 3041 gb, 3042 x(hb), 3043 a, 3044 ); 3045 for (a = 0; a < bc.length; a++) { 3046 var b = bc[a], 3047 c = b.tstamp; 3048 t.trackEcommerceTransactionItem( 3049 b.orderId, 3050 b.sku, 3051 b.name, 3052 b.category, 3053 b.price, 3054 b.quantity, 3055 b.currency, 3056 x(b.context), 3057 c, 3058 ); 3059 }
3060 jb = hb = gb = fb = eb = db = cb = bb = ab = $a = Za = void 0; 3061 bc = []; 3062 }); 3063 }; 3064 l.trackLinkClick = function (a, b, c, d, e, f, g) { 3065 K(function () { 3066 t.trackLinkClick(a, b, c, d, e, x(f), g); 3067 }); 3068 }; 3069 l.trackAdImpression = function (a, b, c, d, e, f, g, h, k, l) { 3070 K(function () { 3071 t.trackAdImpression(a, b, c, d, e, f, g, h, x(k), l); 3072 }); 3073 }; 3074 l.trackAdClick = function (a, b, c, d, e, f, g, h, k, l, p) { 3075 K(function () { 3076 t.trackAdClick(a, b, c, d, e, f, g, h, k, x(l), p); 3077 }); 3078 }; 3079 l.trackAdConversion = function (a, b, c, d, e, f, g, h, k, l, p) { 3080 K(function () { 3081 t.trackAdConversion(a, b, c, d, e, f, g, h, k, x(l), p); 3082 }); 3083 }; 3084 l.trackSocialInteraction = function (a, b, c, d, e) { 3085 K(function () { 3086 t.trackSocialInteraction(a, b, c, x(d), e); 3087 }); 3088 }; 3089 l.trackAddToCart = function (a, b, c, d, e, f, g, h) { 3090 K(function () { 3091 t.trackAddToCart(a, b, c, d, e, f, x(g), h); 3092 }); 3093 }; 3094 l.trackRemoveFromCart = function (a, b, c, d, e, f, g, h) { 3095 K(function () { 3096 t.trackRemoveFromCart(a, b, c, d, e, f, x(g), h); 3097 }); 3098 }; 3099 l.trackSiteSearch = function (a, b, c, d, e, f) { 3100 K(function () { 3101 t.trackSiteSearch(a, b, c, d, x(e), f); 3102 }); 3103 }; 3104 l.trackTiming = function (a, b, c, d, e, f) { 3105 K(function () { 3106 t.trackSelfDescribingEvent( 3107 { 3108 schema: 3109 "iglu:com.snowplowanalytics.snowplow/timing/jsonschema/1-0-0", 3110 data: { category: a, variable: b, timing: c, label: d }, 3111 }, 3112 x(e), 3113 f, 3114 ); 3115 }); 3116 }; 3117 l.trackConsentWithdrawn = function (a, b, c, d, e, f, g) { 3118 K(function () { 3119 t.trackConsentWithdrawn(a, b, c, d, e, x(f), g); 3120 }); 3121 }; 3122 l.trackConsentGranted = function (a, b, c, d, e, f, g) { 3123 K(function () { 3124 t.trackConsentGranted(a, b, c, d, e, x(f), g); 3125 }); 3126 }; 3127 l.trackEnhancedEcommerceAction = function (a, b, c) { 3128 var d = Db.concat(b || []); 3129 Db.length = 0; 3130 K(function () { 3131 t.trackSelfDescribingEvent( 3132 { 3133 schema: 3134 "iglu:com.google.analytics.enhanced-ecommerce/action/jsonschema/1-0-0", 3135 data: { action: a }, 3136 }, 3137 x(d), 3138 c, 3139 ); 3140 }); 3141 }; 3142 l.addEnhancedEcommerceActionContext = function ( 3143 a, 3144 b, 3145 c, 3146 d, 3147 e, 3148 f, 3149 g, 3150 h, 3151 k, 3152 l, 3153 ) { 3154 Db.push({ 3155 schema: 3156 "iglu:com.google.analytics.enhanced-ecommerce/actionFieldObject/jsonschema/1-0-0", 3157 data: { 3158 id: a, 3159 affiliation: b, 3160 revenue: Kb(c), 3161 tax: Kb(d), 3162 shipping: Kb(e), 3163 coupon: f, 3164 list: g, 3165 step: pb(h), 3166 option: k, 3167 currency: l, 3168 }, 3169 }); 3170 }; 3171 l.addEnhancedEcommerceImpressionContext = function ( 3172 a, 3173 b, 3174 c, 3175 d, 3176 e, 3177 f, 3178 g, 3179 h, 3180 k, 3181 ) { 3182 Db.push({ 3183 schema: 3184 "iglu:com.google.analytics.enhanced-ecommerce/impressionFieldObject/jsonschema/1-0-0", 3185 data: { 3186 id: a, 3187 name: b, 3188 list: c, 3189 brand: d, 3190 category: e, 3191 variant: f, 3192 position: pb(g), 3193 price: Kb(h), 3194 currency: k, 3195 }, 3196 }); 3197 }; 3198 l.addEnhancedEcommerceProductContext = function ( 3199 a, 3200 b, 3201 c, 3202 d, 3203 e, 3204 f, 3205 g, 3206 h, 3207 k, 3208 l, 3209 p, 3210 ) { 3211 Db.push({ 3212 schema: 3213 "iglu:com.google.analytics.enhanced-ecommerce/productFieldObject/jsonschema/1-0-0", 3214 data: { 3215 id: a, 3216 name: b, 3217 list: c, 3218 brand: d, 3219 category: e, 3220 variant: f, 3221 price: Kb(g), 3222 quantity: pb(h), 3223 coupon: k, 3224 position: pb(l), 3225 currency: p, 3226 }, 3227 }); 3228 }; 3229 l.addEnhancedEcommercePromoContext = function (a, b, c, d, e) { 3230 Db.push({ 3231 schema: 3232 "iglu:com.google.analytics.enhanced-ecommerce/promoFieldObject/jsonschema/1-0-0", 3233 data: { id: a, name: b, creative: c, position: d, currency: e }, 3234 }); 3235 }; 3236 l.enableGdprContext = function (a) { 3237 var b = 3238 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : null, 3239 c = 3240 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null, 3241 d = 3242 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null, 3243 e = mb[a]; 3244 e 3245 ? ((H.gdprBasis = !0), 3246 (Ua = { gdprBasis: e, gdprDocId: b, gdprDocVer: c, gdprDocDesc: d })) 3247 : A( 3248 "enableGdprContext failed. basisForProcessing must be set to one of: consent, legalObligation, vitalInterests publicTask, legitimateInterests", 3249 ); 3250 }; 3251 l.addGlobalContexts = function (a) { 3252 t.addGlobalContexts(a); 3253 }; 3254 l.removeGlobalContexts = function (a) { 3255 t.removeGlobalContexts(a); 3256 }; 3257 l.clearGlobalContexts = function () { 3258 t.clearGlobalContexts(); 3259 }; 3260 l.enableErrorTracking = function (a, b) { 3261 Eb.enableErrorTracking(a, b, x()); 3262 }; 3263 l.trackError = function (a, b, c, d, e, f) { 3264 f = x(f); 3265 Eb.trackError(a, b, c, d, e, f); 3266 }; 3267 l.preservePageViewId = function () { 3268 Gb = !0; 3269 }; 3270 l.disableAnonymousTracking = function (a) { 3271 d.anonymousTracking = !1; 3272 P(a); 3273 X(); 3274 Sa.executeQueue(); 3275 }; 3276 l.enableAnonymousTracking = function (a, b) { 3277 d.anonymousTracking = a || !0; 3278 P(b); 3279 zb || Z(); 3280 }; 3281 l.clearUserData = W; 3282 l.setDebug = function (a) { 3283 Ka = (Ga = (!!a).valueOf()) ? l : sa; 3284 }; 3285 sa = Fd(l); 3286 return (Ka = Ga ? l : sa); 3287 } 3288 function Ic(a, b) { 3289 function c() { 3290 var a; 3291 if (!h.hasLoaded) 3292 for ( 3293 h.hasLoaded = !0, a = 0; 3294 a < h.registeredOnLoadHandlers.length; 3295 a++ 3296 ) 3297 h.registeredOnLoadHandlers[a](); 3298 return !0; 3299 } 3300 function e() { 3301 var a; 3302 d.addEventListener 3303 ? u(d, "DOMContentLoaded", function p() { 3304 d.removeEventListener("DOMContentLoaded", p, !1); 3305 c(); 3306 }) 3307 : d.attachEvent && 3308 (d.attachEvent("onreadystatechange", function p() { 3309 "complete" === d.readyState && 3310 (d.detachEvent("onreadystatechange", p), c()); 3311 }), 3312 d.documentElement.doScroll && 3313 f === f.top && 3314 (function v() { 3315 if (!h.hasLoaded) { 3316 try { 3317 d.documentElement.doScroll("left"); 3318 } catch (I) { 3319 setTimeout(v, 0); 3320 return; 3321 } 3322 c(); 3323 } 3324 })()); 3325 /WebKit/.test(navigator.userAgent) && 3326 (a = setInterval(function () { 3327 if (h.hasLoaded || /loaded|complete/.test(d.readyState)) 3328 clearInterval(a), c(); 3329 }, 10)); 3330 u(f, "load", c, !1); 3331 } 3332 var d = document, 3333 f = window, 3334 h = { 3335 outQueues: [], 3336 bufferFlushers: [], 3337 expireDateTime: null, 3338 hasLoaded: !1, 3339 registeredOnLoadHandlers: [], 3340 pageViewId: null, 3341 }; 3342 f.Snowplow = { 3343 getTrackerCf: function (a) { 3344 var c = new wb(b, "", "js-2.18.2", h, {}); 3345 c.setCollectorCf(a); 3346 return c; 3347 }, 3348 getTrackerUrl: function (a) { 3349 var c = new wb(b, "", "js-2.18.2", h, {}); 3350 c.setCollectorUrl(a); 3351 return c; 3352 }, 3353 getAsyncTracker: function () { 3354 return new wb(b, "", "js-2.18.2", h, {}); 3355 }, 3356 }; 3357 u( 3358 f, 3359 "beforeunload", 3360 function () { 3361 O(h.bufferFlushers, function (a) { 3362 a(); 3363 }); 3364 if (h.expireDateTime) { 3365 do { 3366 var a = new Date(); 3367 if ( 3368 0 === 3369 Array.prototype.filter.call(h.outQueues, function (a) { 3370 return 0 < a.length; 3371 }).length 3372 ) 3373 break; 3374 } while (a.getTime() < h.expireDateTime); 3375 } 3376 }, 3377 !1, 3378 ); 3379 "loading" === document.readyState ? e() : c(); 3380 return new td(wb, "js-2.18.2", h, a, b); 3381 } 3382 var Zd = function (a, b) { 3383 for ( 3384 var c = -1, e = null == a ? 0 : a.length; 3385 ++c < e && !1 !== b(a[c], c, a); 3386 ); 3387 return a; 3388 }, 3389 $d = (function (a) { 3390 return function (b, c, e) { 3391 var d = -1, 3392 f = Object(b); 3393 e = e(b); 3394 for (var h = e.length; h--; ) { 3395 var g = e[a ? h : ++d]; 3396 if (!1 === c(f[g], g, f)) break; 3397 } 3398 return b; 3399 }; 3400 })(), 3401 Va = 3402 "undefined" !== typeof globalThis 3403 ? globalThis 3404 : "undefined" !== typeof window 3405 ? window 3406 : "undefined" !== typeof global 3407 ? global 3408 : "undefined" !== typeof self 3409 ? self 3410 : {}, 3411 Jc = "object" == y(Va) && Va && Va.Object === Object && Va, 3412 ae = 3413 "object" == ("undefined" === typeof self ? "undefined" : y(self)) && 3414 self && 3415 self.Object === Object && 3416 self, 3417 L = Jc || ae || Function("return this")(), 3418 Y = L.Symbol, 3419 Kc = Object.prototype, 3420 be = Kc.hasOwnProperty, 3421 ce = Kc.toString, 3422 Wa = Y ? Y.toStringTag : void 0, 3423 de = Object.prototype.toString, 3424 Lc = Y ? Y.toStringTag : void 0, 3425 Q = function (a) {
3426 if (null == a) a = void 0 === a ? "[object Undefined]" : "[object Null]"; 3427 else if (Lc && Lc in Object(a)) { 3428 var b = be.call(a, Wa), 3429 c = a[Wa]; 3430 try { 3431 a[Wa] = void 0; 3432 var e = !0; 3433 } catch (f) {} 3434 var d = ce.call(a); 3435 e && (b ? (a[Wa] = c) : delete a[Wa]); 3436 a = d; 3437 } else a = de.call(a); 3438 return a; 3439 }, 3440 W = function (a) { 3441 return null != a && "object" == y(a); 3442 }, 3443 Mc = function (a) { 3444 return W(a) && "[object Arguments]" == Q(a); 3445 }, 3446 Nc = Object.prototype, 3447 ee = Nc.hasOwnProperty, 3448 fe = Nc.propertyIsEnumerable, 3449 Oc = Mc( 3450 (function () { 3451 return arguments; 3452 })(), 3453 ) 3454 ? Mc 3455 : function (a) { 3456 return W(a) && ee.call(a, "callee") && !fe.call(a, "callee"); 3457 }, 3458 z = Array.isArray, 3459 ge = function () { 3460 return !1; 3461 }, 3462 nb = oa(function (a, b) { 3463 var c = (b = b && !b.nodeType && b) && a && !a.nodeType && a; 3464 b = c && c.exports === b ? L.Buffer : void 0; 3465 a.exports = (b ? b.isBuffer : void 0) || ge; 3466 }), 3467 he = /^(?:0|[1-9]\d*)$/, 3468 Xa = function (a, b) { 3469 var c = y(a); 3470 b = null == b ? 9007199254740991 : b; 3471 return ( 3472 !!b && 3473 ("number" == c || ("symbol" != c && he.test(a))) && 3474 -1 < a && 3475 0 == a % 1 && 3476 a < b 3477 ); 3478 }, 3479 Sb = function (a) { 3480 return ( 3481 "number" == typeof a && -1 < a && 0 == a % 1 && 9007199254740991 >= a 3482 ); 3483 }, 3484 n = {}; 3485 n["[object Float32Array]"] = 3486 n["[object Float64Array]"] = 3487 n["[object Int8Array]"] = 3488 n["[object Int16Array]"] = 3489 n["[object Int32Array]"] = 3490 n["[object Uint8Array]"] = 3491 n["[object Uint8ClampedArray]"] = 3492 n["[object Uint16Array]"] = 3493 n["[object Uint32Array]"] = 3494 !0; 3495 n["[object Arguments]"] = 3496 n["[object Array]"] = 3497 n["[object ArrayBuffer]"] = 3498 n["[object Boolean]"] = 3499 n["[object DataView]"] = 3500 n["[object Date]"] = 3501 n["[object Error]"] = 3502 n["[object Function]"] = 3503 n["[object Map]"] = 3504 n["[object Number]"] = 3505 n["[object Object]"] = 3506 n["[object RegExp]"] = 3507 n["[object Set]"] = 3508 n["[object String]"] = 3509 n["[object WeakMap]"] = 3510 !1; 3511 var ie = function (a) { 3512 return W(a) && Sb(a.length) && !!n[Q(a)]; 3513 }, 3514 je = function (a) { 3515 return function (b) { 3516 return a(b); 3517 }; 3518 }, 3519 Pc = oa(function (a, b) { 3520 var c = b && !b.nodeType && b; 3521 c = (b = c && a && !a.nodeType && a) && b.exports === c && Jc.process; 3522 a: { 3523 try { 3524 var e = b && b.require && b.require("util").types; 3525 if (e) { 3526 var d = e; 3527 break a; 3528 } 3529 d = c && c.binding && c.binding("util"); 3530 break a; 3531 } catch (f) {} 3532 d = void 0; 3533 } 3534 a.exports = d; 3535 }), 3536 Qc = Pc && Pc.isTypedArray, 3537 gc = Qc ? je(Qc) : ie, 3538 ke = Object.prototype.hasOwnProperty, 3539 le = Object.prototype, 3540 Rc = function (a, b) { 3541 return function (c) { 3542 return a(b(c)); 3543 }; 3544 }, 3545 me = Rc(Object.keys, Object), 3546 ne = Object.prototype.hasOwnProperty, 3547 P = function (a) { 3548 var b = y(a); 3549 return null != a && ("object" == b || "function" == b); 3550 }, 3551 Sc = function (a) { 3552 if (!P(a)) return !1; 3553 a = Q(a); 3554 return ( 3555 "[object Function]" == a || 3556 "[object GeneratorFunction]" == a || 3557 "[object AsyncFunction]" == a || 3558 "[object Proxy]" == a 3559 ); 3560 }, 3561 fa = function (a) { 3562 return null != a && Sb(a.length) && !Sc(a); 3563 }, 3564 Ia = function (a) { 3565 if (fa(a)) { 3566 var b = z(a), 3567 c = !b && Oc(a), 3568 e = !b && !c && nb(a), 3569 d = !b && !c && !e && gc(a); 3570 if ((b = b || c || e || d)) { 3571 c = a.length; 3572 for (var f = String, h = -1, g = Array(c); ++h < c; ) g[h] = f(h); 3573 c = g; 3574 } else c = []; 3575 f = c.length; 3576 for (var k in a) 3577 !ke.call(a, k) || 3578 (b && 3579 ("length" == k || 3580 (e && ("offset" == k || "parent" == k)) || 3581 (d && 3582 ("buffer" == k || "byteLength" == k || "byteOffset" == k)) || 3583 Xa(k, f))) || 3584 c.push(k); 3585 a = c; 3586 } else if ( 3587 ((k = a && a.constructor), 3588 a === (("function" == typeof k && k.prototype) || le)) 3589 ) { 3590 k = []; 3591 for (e in Object(a)) ne.call(a, e) && "constructor" != e && k.push(e); 3592 a = k; 3593 } else a = me(a); 3594 return a; 3595 }, 3596 Tc = function (a, b) { 3597 return a && $d(a, b, Ia); 3598 }, 3599 Ya = (function (a, b) { 3600 return function (c, e) { 3601 if (null == c) return c; 3602 if (!fa(c)) return a(c, e); 3603 for ( 3604 var d = c.length, f = b ? d : -1, h = Object(c); 3605 (b ? f-- : ++f < d) && !1 !== e(h[f], f, h); 3606 ); 3607 return c; 3608 }; 3609 })(Tc), 3610 Uc = function (a) { 3611 return a; 3612 }, 3613 O = function (a, b) { 3614 return (z(a) ? Zd : Ya)(a, "function" == typeof b ? b : Uc); 3615 }, 3616 Vc = function (a, b) { 3617 for (var c = -1, e = null == a ? 0 : a.length, d = 0, f = []; ++c < e; ) { 3618 var h = a[c]; 3619 b(h, c, a) && (f[d++] = h); 3620 } 3621 return f; 3622 }, 3623 oe = function (a, b) { 3624 var c = []; 3625 Ya(a, function (a, d, f) { 3626 b(a, d, f) && c.push(a); 3627 }); 3628 return c; 3629 }, 3630 Za = function (a, b) { 3631 return a === b || (a !== a && b !== b); 3632 }, 3633 Ba = function (a, b) { 3634 for (var c = a.length; c--; ) if (Za(a[c][0], b)) return c; 3635 return -1; 3636 }, 3637 pe = Array.prototype.splice; 3638 pa.prototype.clear = function () { 3639 this.__data__ = []; 3640 this.size = 0; 3641 }; 3642 pa.prototype["delete"] = function (a) { 3643 var b = this.__data__; 3644 a = Ba(b, a); 3645 if (0 > a) return !1; 3646 a == b.length - 1 ? b.pop() : pe.call(b, a, 1); 3647 --this.size; 3648 return !0; 3649 }; 3650 pa.prototype.get = function (a) { 3651 var b = this.__data__; 3652 a = Ba(b, a); 3653 return 0 > a ? void 0 : b[a][1]; 3654 }; 3655 pa.prototype.has = function (a) { 3656 return -1 < Ba(this.__data__, a); 3657 }; 3658 pa.prototype.set = function (a, b) { 3659 var c = this.__data__, 3660 e = Ba(c, a); 3661 0 > e ? (++this.size, c.push([a, b])) : (c[e][1] = b); 3662 return this; 3663 }; 3664 var Fa = pa, 3665 $a = L["__core-js_shared__"], 3666 Wc = (function () { 3667 var a = /[^.]+$/.exec(($a && $a.keys && $a.keys.IE_PROTO) || "");
3668 return a ? "Symbol(src)_1." + a : ""; 3669 })(), 3670 qe = Function.prototype.toString, 3671 ha = function (a) { 3672 if (null != a) { 3673 try { 3674 return qe.call(a); 3675 } catch (b) {} 3676 return a + ""; 3677 } 3678 return ""; 3679 }, 3680 re = /^\[object .+?Constructor\]$/, 3681 se = RegExp( 3682 "^" + 3683 Function.prototype.toString 3684 .call(Object.prototype.hasOwnProperty) 3685 .replace(/[\\^$.*+?()[\]{}|]/g, "\\$&") 3686 .replace( 3687 /hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, 3688 "$1.*?", 3689 ) + 3690 "$", 3691 ), 3692 ia = function (a, b) { 3693 a = null == a ? void 0 : a[b]; 3694 return (!P(a) || (Wc && Wc in a) ? 0 : (Sc(a) ? se : re).test(ha(a))) 3695 ? a 3696 : void 0; 3697 }, 3698 Ca = ia(L, "Map"), 3699 Da = ia(Object, "create"), 3700 te = Object.prototype.hasOwnProperty, 3701 ue = Object.prototype.hasOwnProperty; 3702 V.prototype.clear = function () { 3703 this.__data__ = Da ? Da(null) : {}; 3704 this.size = 0; 3705 }; 3706 V.prototype["delete"] = function (a) { 3707 a = this.has(a) && delete this.__data__[a]; 3708 this.size -= a ? 1 : 0; 3709 return a; 3710 }; 3711 V.prototype.get = function (a) { 3712 var b = this.__data__; 3713 return Da 3714 ? ((a = b[a]), "__lodash_hash_undefined__" === a ? void 0 : a) 3715 : te.call(b, a) 3716 ? b[a] 3717 : void 0; 3718 }; 3719 V.prototype.has = function (a) { 3720 var b = this.__data__; 3721 return Da ? void 0 !== b[a] : ue.call(b, a); 3722 }; 3723 V.prototype.set = function (a, b) { 3724 var c = this.__data__; 3725 this.size += this.has(a) ? 0 : 1; 3726 c[a] = Da && void 0 === b ? "__lodash_hash_undefined__" : b; 3727 return this; 3728 }; 3729 var ja = function (a, b) { 3730 a = a.__data__; 3731 var c = y(b); 3732 return ( 3733 "string" == c || "number" == c || "symbol" == c || "boolean" == c 3734 ? "__proto__" !== b 3735 : null === b 3736 ) 3737 ? a["string" == typeof b ? "string" : "hash"] 3738 : a.map; 3739 }; 3740 qa.prototype.clear = function () { 3741 this.size = 0; 3742 this.__data__ = { hash: new V(), map: new (Ca || Fa)(), string: new V() }; 3743 }; 3744 qa.prototype["delete"] = function (a) { 3745 a = ja(this, a)["delete"](a); 3746 this.size -= a ? 1 : 0; 3747 return a; 3748 }; 3749 qa.prototype.get = function (a) { 3750 return ja(this, a).get(a); 3751 }; 3752 qa.prototype.has = function (a) { 3753 return ja(this, a).has(a); 3754 }; 3755 qa.prototype.set = function (a, b) { 3756 var c = ja(this, a), 3757 e = c.size; 3758 c.set(a, b); 3759 this.size += c.size == e ? 0 : 1; 3760 return this; 3761 }; 3762 var Ga = qa; 3763 ra.prototype.clear = function () { 3764 this.__data__ = new Fa(); 3765 this.size = 0; 3766 }; 3767 ra.prototype["delete"] = function (a) { 3768 var b = this.__data__; 3769 a = b["delete"](a); 3770 this.size = b.size; 3771 return a; 3772 }; 3773 ra.prototype.get = function (a) { 3774 return this.__data__.get(a); 3775 }; 3776 ra.prototype.has = function (a) { 3777 return this.__data__.has(a); 3778 }; 3779 ra.prototype.set = function (a, b) { 3780 var c = this.__data__; 3781 if (c instanceof Fa) { 3782 var e = c.__data__; 3783 if (!Ca || 199 > e.length) 3784 return e.push([a, b]), (this.size = ++c.size), this; 3785 c = this.__data__ = new Ga(e); 3786 } 3787 c.set(a, b); 3788 this.size = c.size; 3789 return this; 3790 }; 3791 var sa = ra; 3792 mb.prototype.add = mb.prototype.push = function (a) { 3793 this.__data__.set(a, "__lodash_hash_undefined__"); 3794 return this; 3795 }; 3796 mb.prototype.has = function (a) { 3797 return this.__data__.has(a); 3798 }; 3799 var ve = function (a, b) { 3800 for (var c = -1, e = null == a ? 0 : a.length; ++c < e; ) 3801 if (b(a[c], c, a)) return !0; 3802 return !1; 3803 }, 3804 hc = function (a, b, c, e, d, f) { 3805 var h = c & 1, 3806 g = a.length, 3807 k = b.length; 3808 if (g != k && !(h && k > g)) return !1; 3809 k = f.get(a); 3810 var p = f.get(b); 3811 if (k && p) return k == b && p == a; 3812 k = -1; 3813 p = !0; 3814 var n = c & 2 ? new mb() : void 0; 3815 f.set(a, b); 3816 for (f.set(b, a); ++k < g; ) { 3817 var q = a[k], 3818 m = b[k]; 3819 if (e) var r = h ? e(m, q, k, b, a, f) : e(q, m, k, a, b, f); 3820 if (void 0 !== r) { 3821 if (r) continue; 3822 p = !1; 3823 break; 3824 } 3825 if (n) { 3826 if ( 3827 !ve(b, function (a, b) { 3828 if (!n.has(b) && (q === a || d(q, a, c, e, f))) return n.push(b); 3829 }) 3830 ) { 3831 p = !1; 3832 break; 3833 } 3834 } else if (q !== m && !d(q, m, c, e, f)) { 3835 p = !1; 3836 break; 3837 } 3838 } 3839 f["delete"](a); 3840 f["delete"](b); 3841 return p; 3842 }, 3843 Xc = L.Uint8Array, 3844 we = function (a) { 3845 var b = -1, 3846 c = Array(a.size); 3847 a.forEach(function (a, d) { 3848 c[++b] = [d, a]; 3849 }); 3850 return c; 3851 }, 3852 xe = function (a) { 3853 var b = -1, 3854 c = Array(a.size); 3855 a.forEach(function (a) { 3856 c[++b] = a; 3857 }); 3858 return c; 3859 }, 3860 Yc = Y ? Y.prototype : void 0, 3861 ab = Yc ? Yc.valueOf : void 0, 3862 nd = function (a, b, c, e, d, f, h) { 3863 switch (c) { 3864 case "[object DataView]": 3865 if (a.byteLength != b.byteLength || a.byteOffset != b.byteOffset) 3866 break; 3867 a = a.buffer; 3868 b = b.buffer; 3869 case "[object ArrayBuffer]": 3870 if (a.byteLength != b.byteLength || !f(new Xc(a), new Xc(b))) break; 3871 return !0; 3872 case "[object Boolean]": 3873 case "[object Date]": 3874 case "[object Number]": 3875 return Za(+a, +b); 3876 case "[object Error]": 3877 return a.name == b.name && a.message == b.message; 3878 case "[object RegExp]": 3879 case "[object String]": 3880 return a == b + ""; 3881 case "[object Map]": 3882 var g = we; 3883 case "[object Set]": 3884 g || (g = xe);
3885 if (a.size != b.size && !(e & 1)) break; 3886 if ((c = h.get(a))) return c == b; 3887 e |= 2; 3888 h.set(a, b); 3889 b = hc(g(a), g(b), e, d, f, h); 3890 h["delete"](a); 3891 return b; 3892 case "[object Symbol]": 3893 if (ab) return ab.call(a) == ab.call(b); 3894 } 3895 return !1; 3896 }, 3897 jc = function (a, b, c) { 3898 b = b(a); 3899 if (!z(a)) { 3900 a = c(a); 3901 c = -1; 3902 for (var e = a.length, d = b.length; ++c < e; ) b[d + c] = a[c]; 3903 } 3904 return b; 3905 }, 3906 ye = function () { 3907 return []; 3908 }, 3909 ze = Object.prototype.propertyIsEnumerable, 3910 Zc = Object.getOwnPropertySymbols, 3911 kc = Zc 3912 ? function (a) { 3913 if (null == a) return []; 3914 a = Object(a); 3915 return Vc(Zc(a), function (b) { 3916 return ze.call(a, b); 3917 }); 3918 } 3919 : ye, 3920 od = Object.prototype.hasOwnProperty, 3921 bb = ia(L, "DataView"), 3922 cb = ia(L, "Promise"), 3923 db = ia(L, "Set"), 3924 eb = ia(L, "WeakMap"), 3925 Ae = ha(bb), 3926 Be = ha(Ca), 3927 Ce = ha(cb), 3928 De = ha(db), 3929 Ee = ha(eb), 3930 ka = Q; 3931 if ( 3932 (bb && "[object DataView]" != ka(new bb(new ArrayBuffer(1)))) || 3933 (Ca && "[object Map]" != ka(new Ca())) || 3934 (cb && "[object Promise]" != ka(cb.resolve())) || 3935 (db && "[object Set]" != ka(new db())) || 3936 (eb && "[object WeakMap]" != ka(new eb())) 3937 ) 3938 ka = function (a) { 3939 var b = Q(a); 3940 if ( 3941 (a = (a = "[object Object]" == b ? a.constructor : void 0) ? ha(a) : "") 3942 ) 3943 switch (a) { 3944 case Ae: 3945 return "[object DataView]"; 3946 case Be: 3947 return "[object Map]"; 3948 case Ce: 3949 return "[object Promise]"; 3950 case De: 3951 return "[object Set]"; 3952 case Ee: 3953 return "[object WeakMap]"; 3954 } 3955 return b; 3956 }; 3957 var Tb = ka, 3958 ic = Object.prototype.hasOwnProperty, 3959 rb = Ha, 3960 Fe = function (a, b, c, e) { 3961 var d = c.length, 3962 f = d, 3963 h = !e; 3964 if (null == a) return !f; 3965 for (a = Object(a); d--; ) { 3966 var g = c[d]; 3967 if (h && g[2] ? g[1] !== a[g[0]] : !(g[0] in a)) return !1; 3968 } 3969 for (; ++d < f; ) { 3970 g = c[d]; 3971 var k = g[0], 3972 p = a[k], 3973 n = g[1]; 3974 if (h && g[2]) { 3975 if (void 0 === p && !(k in a)) return !1; 3976 } else { 3977 g = new sa(); 3978 if (e) var q = e(p, n, k, a, b, g); 3979 if (void 0 === q ? !rb(n, p, 3, e, g) : !q) return !1; 3980 } 3981 } 3982 return !0; 3983 }, 3984 Ge = function (a) { 3985 for (var b = Ia(a), c = b.length; c--; ) { 3986 var e = b[c], 3987 d = a[e]; 3988 b[c] = [e, d, d === d && !P(d)]; 3989 } 3990 return b; 3991 }, 3992 $c = function (a, b) { 3993 return function (c) { 3994 return null == c ? !1 : c[a] === b && (void 0 !== b || a in Object(c)); 3995 }; 3996 }, 3997 He = function (a) { 3998 var b = Ge(a); 3999 return 1 == b.length && b[0][2] 4000 ? $c(b[0][0], b[0][1]) 4001 : function (c) { 4002 return c === a || Fe(c, a, b); 4003 }; 4004 }, 4005 Ka = function (a) { 4006 return "symbol" == y(a) || (W(a) && "[object Symbol]" == Q(a)); 4007 }, 4008 Ie = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, 4009 Je = /^\w*$/, 4010 fb = function (a, b) { 4011 if (z(a)) return !1; 4012 var c = y(a); 4013 return "number" == c || 4014 "symbol" == c || 4015 "boolean" == c || 4016 null == a || 4017 Ka(a) 4018 ? !0 4019 : Je.test(a) || !Ie.test(a) || (null != b && a in Object(b)); 4020 }; 4021 Ja.Cache = Ga; 4022 var Ke = 4023 /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, 4024 Le = /\\(\\)?/g, 4025 Me = (function (a) { 4026 a = Ja(a, function (a) { 4027 500 === b.size && b.clear(); 4028 return a; 4029 }); 4030 var b = a.cache; 4031 return a; 4032 })(function (a) { 4033 var b = []; 4034 46 === a.charCodeAt(0) && b.push(""); 4035 a.replace(Ke, function (a, e, d, f) { 4036 b.push(d ? f.replace(Le, "$1") : e || a); 4037 }); 4038 return b; 4039 }), 4040 mc = function (a, b) { 4041 for (var c = -1, e = null == a ? 0 : a.length, d = Array(e); ++c < e; ) 4042 d[c] = b(a[c], c, a); 4043 return d; 4044 }, 4045 pd = 1 / 0, 4046 ad = Y ? Y.prototype : void 0, 4047 nc = ad ? ad.toString : void 0, 4048 bd = function (a, b) { 4049 return z(a) ? a : fb(a, b) ? [a] : Me(null == a ? "" : lc(a)); 4050 }, 4051 Ne = 1 / 0, 4052 la = function (a) { 4053 if ("string" == typeof a || Ka(a)) return a; 4054 var b = a + ""; 4055 return "0" == b && 1 / a == -Ne ? "-0" : b; 4056 }, 4057 cd = function (a, b) { 4058 b = bd(b, a); 4059 for (var c = 0, e = b.length; null != a && c < e; ) a = a[la(b[c++])]; 4060 return c && c == e ? a : void 0; 4061 }, 4062 D = function (a, b, c) { 4063 a = null == a ? void 0 : cd(a, b); 4064 return void 0 === a ? c : a; 4065 }, 4066 Oe = function (a, b) { 4067 return null != a && b in Object(a); 4068 }, 4069 sb = function (a, b, c) { 4070 b = bd(b, a); 4071 for (var e = -1, d = b.length, f = !1; ++e < d; ) { 4072 var h = la(b[e]); 4073 if (!(f = null != a && c(a, h))) break; 4074 a = a[h]; 4075 } 4076 if (f || ++e != d) return f; 4077 d = null == a ? 0 : a.length;
4078 return !!d && Sb(d) && Xa(h, d) && (z(a) || Oc(a)); 4079 }, 4080 Pe = function (a, b) { 4081 return fb(a) && b === b && !P(b) 4082 ? $c(la(a), b) 4083 : function (c) { 4084 var e = D(c, a); 4085 return void 0 === e && e === b 4086 ? null != c && sb(c, a, Oe) 4087 : rb(b, e, 3); 4088 }; 4089 }, 4090 Qe = function (a) { 4091 return function (b) { 4092 return null == b ? void 0 : b[a]; 4093 }; 4094 }, 4095 Re = function (a) { 4096 return function (b) { 4097 return cd(b, a); 4098 }; 4099 }, 4100 ma = function (a) { 4101 return "function" == typeof a 4102 ? a 4103 : null == a 4104 ? Uc 4105 : "object" == y(a) 4106 ? z(a) 4107 ? Pe(a[0], a[1]) 4108 : He(a) 4109 : fb(a) 4110 ? Qe(la(a)) 4111 : Re(a); 4112 }, 4113 qd = function (a, b) { 4114 return (z(a) ? Vc : oe)(a, ma(b)); 4115 }, 4116 pc = function (a) { 4117 return ( 4118 "string" == typeof a || (!z(a) && W(a) && "[object String]" == Q(a)) 4119 ); 4120 }, 4121 Se = function (a, b) { 4122 var c = -1, 4123 e = fa(a) ? Array(a.length) : []; 4124 Ya(a, function (a, f, h) { 4125 e[++c] = b(a, f, h); 4126 }); 4127 return e; 4128 }, 4129 da = function (a, b) { 4130 return (z(a) ? mc : Se)(a, ma(b)); 4131 }, 4132 ca = window, 4133 La = document, 4134 ta = window.localStorage, 4135 vc = window.sessionStorage, 4136 dd = 0 / 0, 4137 Te = /^\s+|\s+$/g, 4138 Ue = /^[-+]0x[0-9a-f]+$/i, 4139 Ve = /^0b[01]+$/i, 4140 We = /^0o[0-7]+$/i, 4141 Xe = parseInt, 4142 Ye = function (a) { 4143 if ("number" == typeof a) return a; 4144 if (Ka(a)) return dd; 4145 P(a) && 4146 ((a = "function" == typeof a.valueOf ? a.valueOf() : a), 4147 (a = P(a) ? a + "" : a)); 4148 if ("string" != typeof a) return 0 === a ? a : +a; 4149 a = a.replace(Te, ""); 4150 var b = Ve.test(a); 4151 return b || We.test(a) ? Xe(a.slice(2), b ? 2 : 8) : Ue.test(a) ? dd : +a; 4152 }, 4153 ed = 1 / 0, 4154 fc = function (a) { 4155 a 4156 ? ((a = Ye(a)), 4157 (a = 4158 a === ed || a === -ed 4159 ? 1.7976931348623157e308 * (0 > a ? -1 : 1) 4160 : a === a 4161 ? a 4162 : 0)) 4163 : (a = 0 === a ? a : 0); 4164 var b = a % 1; 4165 return a === a ? (b ? a - b : a) : 0; 4166 }, 4167 Yd = oa(function (a, b) { 4168 (function (a) { 4169 var c = (function () { 4170 var a = function (a) { 4171 a = -a.getTimezoneOffset(); 4172 return null !== a ? a : 0; 4173 }, 4174 b = function (a, b, c) { 4175 var d = new Date(); 4176 void 0 !== a && d.setFullYear(a); 4177 d.setMonth(b); 4178 d.setDate(c); 4179 return d; 4180 }; 4181 return { 4182 determine: function () { 4183 var d = a(b(void 0, 0, 2)), 4184 e = a(b(void 0, 5, 2)), 4185 f = d - e; 4186 return new c.TimeZone( 4187 c.olson.timezones[ 4188 0 > f ? d + ",1" : 0 < f ? e + ",1,s" : d + ",0" 4189 ], 4190 ); 4191 }, 4192 date_is_dst: function (c) { 4193 var d = 7 < c.getMonth(), 4194 e = d 4195 ? a(b(c.getFullYear(), 5, 2)) 4196 : a(b(c.getFullYear(), 0, 2)); 4197 c = a(c); 4198 c = e - c; 4199 return 0 > e || d ? 0 !== c : 0 > c; 4200 }, 4201 dst_start_for: function (a) { 4202 var b = new Date(2010, 6, 15, 1, 0, 0, 0); 4203 return { 4204 "America/Denver": new Date(2011, 2, 13, 3, 0, 0, 0), 4205 "America/Mazatlan": new Date(2011, 3, 3, 3, 0, 0, 0), 4206 "America/Chicago": new Date(2011, 2, 13, 3, 0, 0, 0), 4207 "America/Mexico_City": new Date(2011, 3, 3, 3, 0, 0, 0), 4208 "America/Asuncion": new Date(2012, 9, 7, 3, 0, 0, 0), 4209 "America/Santiago": new Date(2012, 9, 3, 3, 0, 0, 0), 4210 "America/Campo_Grande": new Date(2012, 9, 21, 5, 0, 0, 0), 4211 "America/Montevideo": new Date(2011, 9, 2, 3, 0, 0, 0), 4212 "America/Sao_Paulo": new Date(2011, 9, 16, 5, 0, 0, 0), 4213 "America/Los_Angeles": new Date(2011, 2, 13, 8, 0, 0, 0), 4214 "America/Santa_Isabel": new Date(2011, 3, 5, 8, 0, 0, 0), 4215 "America/Havana": new Date(2012, 2, 10, 2, 0, 0, 0),
4216 "America/New_York": new Date(2012, 2, 10, 7, 0, 0, 0), 4217 "Europe/Helsinki": new Date(2013, 2, 31, 5, 0, 0, 0), 4218 "Pacific/Auckland": new Date(2011, 8, 26, 7, 0, 0, 0), 4219 "America/Halifax": new Date(2011, 2, 13, 6, 0, 0, 0), 4220 "America/Goose_Bay": new Date(2011, 2, 13, 2, 1, 0, 0), 4221 "America/Miquelon": new Date(2011, 2, 13, 5, 0, 0, 0), 4222 "America/Godthab": new Date(2011, 2, 27, 1, 0, 0, 0), 4223 "Europe/Moscow": b, 4224 "Asia/Amman": new Date(2013, 2, 29, 1, 0, 0, 0), 4225 "Asia/Beirut": new Date(2013, 2, 31, 2, 0, 0, 0), 4226 "Asia/Damascus": new Date(2013, 3, 6, 2, 0, 0, 0), 4227 "Asia/Jerusalem": new Date(2013, 2, 29, 5, 0, 0, 0), 4228 "Asia/Yekaterinburg": b, 4229 "Asia/Omsk": b, 4230 "Asia/Krasnoyarsk": b, 4231 "Asia/Irkutsk": b, 4232 "Asia/Yakutsk": b, 4233 "Asia/Vladivostok": b, 4234 "Asia/Baku": new Date(2013, 2, 31, 4, 0, 0), 4235 "Asia/Yerevan": new Date(2013, 2, 31, 3, 0, 0), 4236 "Asia/Kamchatka": b, 4237 "Asia/Gaza": new Date(2010, 2, 27, 4, 0, 0), 4238 "Africa/Cairo": new Date(2010, 4, 1, 3, 0, 0), 4239 "Europe/Minsk": b, 4240 "Pacific/Apia": new Date(2010, 10, 1, 1, 0, 0, 0), 4241 "Pacific/Fiji": new Date(2010, 11, 1, 0, 0, 0), 4242 "Australia/Perth": new Date(2008, 10, 1, 1, 0, 0, 0), 4243 }[a]; 4244 }, 4245 }; 4246 })(); 4247 c.TimeZone = function (a) { 4248 var b = { 4249 "America/Denver": ["America/Denver", "America/Mazatlan"], 4250 "America/Chicago": ["America/Chicago", "America/Mexico_City"], 4251 "America/Santiago": [ 4252 "America/Santiago", 4253 "America/Asuncion", 4254 "America/Campo_Grande", 4255 ], 4256 "America/Montevideo": ["America/Montevideo", "America/Sao_Paulo"], 4257 "Asia/Beirut": [ 4258 "Asia/Amman", 4259 "Asia/Jerusalem", 4260 "Asia/Beirut", 4261 "Europe/Helsinki", 4262 "Asia/Damascus", 4263 ], 4264 "Pacific/Auckland": ["Pacific/Auckland", "Pacific/Fiji"], 4265 "America/Los_Angeles": [ 4266 "America/Los_Angeles", 4267 "America/Santa_Isabel", 4268 ], 4269 "America/New_York": ["America/Havana", "America/New_York"], 4270 "America/Halifax": ["America/Goose_Bay", "America/Halifax"], 4271 "America/Godthab": ["America/Miquelon", "America/Godthab"], 4272 "Asia/Dubai": ["Europe/Moscow"], 4273 "Asia/Dhaka": ["Asia/Yekaterinburg"], 4274 "Asia/Jakarta": ["Asia/Omsk"], 4275 "Asia/Shanghai": ["Asia/Krasnoyarsk", "Australia/Perth"], 4276 "Asia/Tokyo": ["Asia/Irkutsk"], 4277 "Australia/Brisbane": ["Asia/Yakutsk"], 4278 "Pacific/Noumea": ["Asia/Vladivostok"], 4279 "Pacific/Tarawa": ["Asia/Kamchatka", "Pacific/Fiji"], 4280 "Pacific/Tongatapu": ["Pacific/Apia"], 4281 "Asia/Baghdad": ["Europe/Minsk"], 4282 "Asia/Baku": ["Asia/Yerevan", "Asia/Baku"], 4283 "Africa/Johannesburg": ["Asia/Gaza", "Africa/Cairo"], 4284 }, 4285 d = a; 4286 a = function () { 4287 for (var a = b[d], e = a.length, f = 0, h; f < e; f += 1) 4288 if (((h = a[f]), c.date_is_dst(c.dst_start_for(h)))) { 4289 d = h; 4290 break; 4291 } 4292 }; 4293 "undefined" !== typeof b[d] && a(); 4294 return { 4295 name: function () { 4296 return d; 4297 }, 4298 }; 4299 }; 4300 c.olson = {}; 4301 c.olson.timezones = { 4302 "-720,0": "Pacific/Majuro", 4303 "-660,0": "Pacific/Pago_Pago", 4304 "-600,1": "America/Adak", 4305 "-600,0": "Pacific/Honolulu", 4306 "-570,0": "Pacific/Marquesas", 4307 "-540,0": "Pacific/Gambier", 4308 "-540,1": "America/Anchorage", 4309 "-480,1": "America/Los_Angeles", 4310 "-480,0": "Pacific/Pitcairn", 4311 "-420,0": "America/Phoenix", 4312 "-420,1": "America/Denver", 4313 "-360,0": "America/Guatemala", 4314 "-360,1": "America/Chicago", 4315 "-360,1,s": "Pacific/Easter", 4316 "-300,0": "America/Bogota",
4317 "-300,1": "America/New_York", 4318 "-270,0": "America/Caracas", 4319 "-240,1": "America/Halifax", 4320 "-240,0": "America/Santo_Domingo", 4321 "-240,1,s": "America/Santiago", 4322 "-210,1": "America/St_Johns", 4323 "-180,1": "America/Godthab", 4324 "-180,0": "America/Argentina/Buenos_Aires", 4325 "-180,1,s": "America/Montevideo", 4326 "-120,0": "America/Noronha", 4327 "-120,1": "America/Noronha", 4328 "-60,1": "Atlantic/Azores", 4329 "-60,0": "Atlantic/Cape_Verde", 4330 "0,0": "UTC", 4331 "0,1": "Europe/London", 4332 "60,1": "Europe/Berlin", 4333 "60,0": "Africa/Lagos", 4334 "60,1,s": "Africa/Windhoek", 4335 "120,1": "Asia/Beirut", 4336 "120,0": "Africa/Johannesburg", 4337 "180,0": "Asia/Baghdad", 4338 "180,1": "Europe/Moscow", 4339 "210,1": "Asia/Tehran", 4340 "240,0": "Asia/Dubai", 4341 "240,1": "Asia/Baku", 4342 "270,0": "Asia/Kabul", 4343 "300,1": "Asia/Yekaterinburg", 4344 "300,0": "Asia/Karachi", 4345 "330,0": "Asia/Kolkata", 4346 "345,0": "Asia/Kathmandu", 4347 "360,0": "Asia/Dhaka", 4348 "360,1": "Asia/Omsk", 4349 "390,0": "Asia/Rangoon", 4350 "420,1": "Asia/Krasnoyarsk", 4351 "420,0": "Asia/Jakarta", 4352 "480,0": "Asia/Shanghai", 4353 "480,1": "Asia/Irkutsk", 4354 "525,0": "Australia/Eucla", 4355 "525,1,s": "Australia/Eucla", 4356 "540,1": "Asia/Yakutsk", 4357 "540,0": "Asia/Tokyo", 4358 "570,0": "Australia/Darwin", 4359 "570,1,s": "Australia/Adelaide", 4360 "600,0": "Australia/Brisbane", 4361 "600,1": "Asia/Vladivostok", 4362 "600,1,s": "Australia/Sydney", 4363 "630,1,s": "Australia/Lord_Howe", 4364 "660,1": "Asia/Kamchatka", 4365 "660,0": "Pacific/Noumea", 4366 "690,0": "Pacific/Norfolk", 4367 "720,1,s": "Pacific/Auckland", 4368 "720,0": "Pacific/Tarawa", 4369 "765,1,s": "Pacific/Chatham", 4370 "780,0": "Pacific/Tongatapu", 4371 "780,1,s": "Pacific/Apia", 4372 "840,0": "Pacific/Kiritimati", 4373 }; 4374 b.jstz = c; 4375 })(); 4376 }), 4377 ua = window, 4378 X = navigator, 4379 Lb = screen, 4380 qb = document, 4381 gb = oa(function (a) { 4382 (function () { 4383 var b = { 4384 rotl: function (a, b) { 4385 return (a << b) | (a >>> (32 - b)); 4386 }, 4387 rotr: function (a, b) { 4388 return (a << (32 - b)) | (a >>> b); 4389 }, 4390 endian: function (a) { 4391 if (a.constructor == Number) 4392 return (b.rotl(a, 8) & 16711935) | (b.rotl(a, 24) & 4278255360); 4393 for (var c = 0; c < a.length; c++) a[c] = b.endian(a[c]); 4394 return a; 4395 }, 4396 randomBytes: function (a) { 4397 for (var b = []; 0 < a; a--) 4398 b.push(Math.floor(256 * Math.random())); 4399 return b; 4400 }, 4401 bytesToWords: function (a) { 4402 for (var b = [], c = 0, f = 0; c < a.length; c++, f += 8) 4403 b[f >>> 5] |= a[c] << (24 - (f % 32)); 4404 return b; 4405 }, 4406 wordsToBytes: function (a) { 4407 for (var b = [], c = 0; c < 32 * a.length; c += 8) 4408 b.push((a[c >>> 5] >>> (24 - (c % 32))) & 255); 4409 return b; 4410 }, 4411 bytesToHex: function (a) { 4412 for (var b = [], c = 0; c < a.length; c++) 4413 b.push((a[c] >>> 4).toString(16)), 4414 b.push((a[c] & 15).toString(16)); 4415 return b.join(""); 4416 }, 4417 hexToBytes: function (a) { 4418 for (var b = [], c = 0; c < a.length; c += 2) 4419 b.push(parseInt(a.substr(c, 2), 16)); 4420 return b; 4421 }, 4422 bytesToBase64: function (a) { 4423 for (var b = [], c = 0; c < a.length; c += 3) 4424 for ( 4425 var f = (a[c] << 16) | (a[c + 1] << 8) | a[c + 2], h = 0; 4426 4 > h; 4427 h++ 4428 ) 4429 8 * c + 6 * h <= 8 * a.length 4430 ? b.push( 4431 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
4431+/".charAt( 4432 (f >>> (6 * (3 - h))) & 63, 4433 ), 4434 ) 4435 : b.push("="); 4436 return b.join(""); 4437 }, 4438 base64ToBytes: function (a) { 4439 a = a.replace(/[^A-Z0-9+\/]/gi, ""); 4440 for (var b = [], c = 0, f = 0; c < a.length; f = ++c % 4) 4441 0 != f && 4442 b.push( 4443 (("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf( 4444 a.charAt(c - 1), 4445 ) & 4446 (Math.pow(2, -2 * f + 8) - 1)) << 4447 (2 * f)) | 4448 ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf( 4449 a.charAt(c), 4450 ) >>> 4451 (6 - 2 * f)), 4452 ); 4453 return b; 4454 }, 4455 }; 4456 a.exports = b; 4457 })(); 4458 }), 4459 hb = { 4460 utf8: { 4461 stringToBytes: function (a) { 4462 return hb.bin.stringToBytes(unescape(encodeURIComponent(a))); 4463 }, 4464 bytesToString: function (a) { 4465 return decodeURIComponent(escape(hb.bin.bytesToString(a))); 4466 }, 4467 }, 4468 bin: { 4469 stringToBytes: function (a) { 4470 for (var b = [], c = 0; c < a.length; c++) 4471 b.push(a.charCodeAt(c) & 255); 4472 return b; 4473 }, 4474 bytesToString: function (a) { 4475 for (var b = [], c = 0; c < a.length; c++) 4476 b.push(String.fromCharCode(a[c])); 4477 return b.join(""); 4478 }, 4479 }, 4480 }, 4481 fd = hb, 4482 Xd = oa(function (a) { 4483 (function () { 4484 var b = fd.utf8, 4485 c = fd.bin, 4486 e = function (a) { 4487 a.constructor == String && (a = b.stringToBytes(a)); 4488 var c = gb.bytesToWords(a), 4489 d = 8 * a.length; 4490 a = []; 4491 var e = 1732584193, 4492 f = -271733879, 4493 n = -1732584194, 4494 q = 271733878, 4495 m = -1009589776; 4496 c[d >> 5] |= 128 << (24 - (d % 32)); 4497 c[(((d + 64) >>> 9) << 4) + 15] = d; 4498 for (d = 0; d < c.length; d += 16) { 4499 for (var r = e, u = f, z = n, A = q, D = m, w = 0; 80 > w; w++) { 4500 if (16 > w) a[w] = c[d + w]; 4501 else { 4502 var y = a[w - 3] ^ a[w - 8] ^ a[w - 14] ^ a[w - 16]; 4503 a[w] = (y << 1) | (y >>> 31); 4504 } 4505 y = 4506 ((e << 5) | (e >>> 27)) + 4507 m + 4508 (a[w] >>> 0) + 4509 (20 > w 4510 ? ((f & n) | (~f & q)) + 1518500249 4511 : 40 > w 4512 ? (f ^ n ^ q) + 1859775393 4513 : 60 > w 4514 ? ((f & n) | (f & q) | (n & q)) - 1894007588 4515 : (f ^ n ^ q) - 899497514); 4516 m = q; 4517 q = n; 4518 n = (f << 30) | (f >>> 2); 4519 f = e; 4520 e = y; 4521 } 4522 e += r; 4523 f += u; 4524 n += z; 4525 q += A; 4526 m += D; 4527 } 4528 return [e, f, n, q, m]; 4529 }, 4530 d = function (a, b) { 4531 a = gb.wordsToBytes(e(a)); 4532 return b && b.asBytes 4533 ? a 4534 : b && b.asString 4535 ? c.bytesToString(a) 4536 : gb.bytesToHex(a); 4537 }; 4538 d._blocksize = 16; 4539 d._digestsize = 20; 4540 a.exports = d; 4541 })(); 4542 }), 4543 Ze = Math.max, 4544 Ad = (function (a) { 4545 return function (b, c, e) { 4546 var d = Object(b); 4547 if (!fa(b)) { 4548 var f = ma(c); 4549 b = Ia(b); 4550 c = function (a) { 4551 return f(d[a], a, d); 4552 }; 4553 } 4554 c = a(b, c, e); 4555 return -1 < c ? d[f ? b[c] : c] : void 0; 4556 }; 4557 })(function (a, b, c) { 4558 var e = null == a ? 0 : a.length; 4559 if (!e) return -1; 4560 c = null == c ? 0 : fc(c); 4561 0 > c && (c = Ze(e + c, 0)); 4562 a: { 4563 b = ma(b); 4564 e = a.length; 4565 for (c += -1; ++c < e; ) 4566 if (b(a[c], c, a)) { 4567 a = c; 4568 break a; 4569 } 4570 a = -1; 4571 } 4572 return a; 4573 }), 4574 Cd = window, 4575 gd = (function () {
4576 try { 4577 var a = ia(Object, "defineProperty"); 4578 a({}, "", {}); 4579 return a; 4580 } catch (b) {} 4581 })(), 4582 Ed = function (a, b) { 4583 var c = {}; 4584 b = ma(b); 4585 Tc(a, function (a, d, f) { 4586 a = b(a, d, f); 4587 "__proto__" == d && gd 4588 ? gd(c, d, { 4589 configurable: !0, 4590 enumerable: !0, 4591 value: a, 4592 writable: !0, 4593 }) 4594 : (c[d] = a); 4595 }); 4596 return c; 4597 }, 4598 Gd = function (a) { 4599 return function () { 4600 try { 4601 return a.apply(this, arguments); 4602 } catch (b) {} 4603 }; 4604 }, 4605 hd = oa(function (a) { 4606 var b = 4607 ("undefined" != typeof crypto && 4608 crypto.getRandomValues && 4609 crypto.getRandomValues.bind(crypto)) || 4610 ("undefined" != typeof msCrypto && 4611 "function" == typeof window.msCrypto.getRandomValues && 4612 msCrypto.getRandomValues.bind(msCrypto)); 4613 if (b) { 4614 var c = new Uint8Array(16); 4615 a.exports = function () { 4616 b(c); 4617 return c; 4618 }; 4619 } else { 4620 var e = Array(16); 4621 a.exports = function () { 4622 for (var a = 0, b; 16 > a; a++) 4623 0 === (a & 3) && (b = 4294967296 * Math.random()), 4624 (e[a] = (b >>> ((a & 3) << 3)) & 255); 4625 return e; 4626 }; 4627 } 4628 }), 4629 q = [], 4630 ib = 0; 4631 for (; 256 > ib; ++ib) q[ib] = (ib + 256).toString(16).substr(1); 4632 var id = function (a, b) { 4633 b = b || 0; 4634 return [ 4635 q[a[b++]], 4636 q[a[b++]], 4637 q[a[b++]], 4638 q[a[b++]], 4639 "-", 4640 q[a[b++]], 4641 q[a[b++]], 4642 "-", 4643 q[a[b++]], 4644 q[a[b++]], 4645 "-", 4646 q[a[b++]], 4647 q[a[b++]], 4648 "-", 4649 q[a[b++]], 4650 q[a[b++]], 4651 q[a[b++]], 4652 q[a[b++]], 4653 q[a[b++]], 4654 q[a[b++]], 4655 ].join(""); 4656 }, 4657 jd, 4658 jb, 4659 Eb = 0, 4660 Fb = 0, 4661 J = function (a, b, c) { 4662 c = (b && c) || 0; 4663 "string" == typeof a && 4664 ((b = "binary" === a ? Array(16) : null), (a = null)); 4665 a = a || {}; 4666 a = a.random || (a.rng || hd)(); 4667 a[6] = (a[6] & 15) | 64; 4668 a[8] = (a[8] & 63) | 128; 4669 if (b) for (var e = 0; 16 > e; ++e) b[c + e] = a[e]; 4670 return b || id(a); 4671 }, 4672 kb = J; 4673 kb.v1 = function (a, b, c) { 4674 c = (b && c) || 0; 4675 var e = b || []; 4676 a = a || {}; 4677 var d = a.node || jd, 4678 f = void 0 !== a.clockseq ? a.clockseq : jb; 4679 if (null == d || null == f) { 4680 var h = hd(); 4681 null == d && (d = jd = [h[0] | 1, h[1], h[2], h[3], h[4], h[5]]); 4682 null == f && (f = jb = ((h[6] << 8) | h[7]) & 16383); 4683 } 4684 h = void 0 !== a.msecs ? a.msecs : new Date().getTime(); 4685 var g = void 0 !== a.nsecs ? a.nsecs : Fb + 1, 4686 k = h - Eb + (g - Fb) / 1e4; 4687 0 > k && void 0 === a.clockseq && (f = (f + 1) & 16383); 4688 (0 > k || h > Eb) && void 0 === a.nsecs && (g = 0); 4689 if (1e4 <= g) 4690 throw Error("uuid.v1(): Can't create more than 10M uuids/sec"); 4691 Eb = h; 4692 Fb = g; 4693 jb = f; 4694 h += 122192928e5; 4695 a = (1e4 * (h & 268435455) + g) % 4294967296; 4696 e[c++] = (a >>> 24) & 255; 4697 e[c++] = (a >>> 16) & 255; 4698 e[c++] = (a >>> 8) & 255; 4699 e[c++] = a & 255; 4700 a = ((h / 4294967296) * 1e4) & 268435455; 4701 e[c++] = (a >>> 8) & 255; 4702 e[c++] = a & 255; 4703 e[c++] = ((a >>> 24) & 15) | 16; 4704 e[c++] = (a >>> 16) & 255; 4705 e[c++] = (f >>> 8) | 128; 4706 e[c++] = f & 255; 4707 for (f = 0; 6 > f; ++f) e[c + f] = d[f]; 4708 return b ? b : id(e); 4709 }; 4710 kb.v4 = J; 4711 var Ud = kb, 4712 $e = Object.prototype.hasOwnProperty, 4713 tb = function (a, b) { 4714 return null != a && $e.call(a, b); 4715 }, 4716 af = function (a, b) { 4717 for (var c = -1, e = null == a ? 0 : a.length; ++c < e; ) 4718 if (!b(a[c], c, a)) return !1; 4719 return !0; 4720 }, 4721 bf = function (a, b) { 4722 var c = !0; 4723 Ya(a, function (a, d, f) { 4724 return (c = !!b(a, d, f)); 4725 }); 4726 return c; 4727 }, 4728 ub = function (a, b, c) { 4729 var e = z(a) ? af : bf, 4730 d; 4731 if ((d = c)) 4732 if (((d = b), P(c))) { 4733 var f = y(d); 4734 d = ( 4735 "number" == f 4736 ? fa(c) && Xa(d, c.length) 4737 : "string" == f && d in c 4738 ) 4739 ? Za(c[d], a) 4740 : !1; 4741 } else d = !1; 4742 d && (b = void 0); 4743 return e(a, ma(b)); 4744 }, 4745 Hc = function (a) { 4746 for (var b = -1, c = null == a ? 0 : a.length, e = 0, d = []; ++b < c; ) { 4747 var f = a[b]; 4748 f && (d[e++] = f); 4749 } 4750 return d; 4751 }, 4752 Od = Rc(Object.getPrototypeOf, Object), 4753 Bc = Function.prototype.toString, 4754 Pd = Object.prototype.hasOwnProperty, 4755 Qd = Bc.call(Object), 4756 Z = window; 4757 if (Z.GlobalSnowplowNamespace && 0 < Z.GlobalSnowplowNamespace.length) { 4758 var kd = Z.GlobalSnowplowNamespace.shift(); 4759 var ld = Z[kd]; 4760 ld.q = new Ic(ld.q, kd); 4761 } else (Z._snaq = Z._snaq || []), (Z._snaq = new Ic(Z._snaq, "_snaq")); 4762})();
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.