1window.NREUM || (NREUM = {}) 2NREUM.init = { 3 session_replay: { 4 enabled: true, 5 block_selector: "", 6 mask_text_selector: "*", 7 sampling_rate: 10.0, 8 error_sampling_rate: 100.0, 9 mask_all_inputs: true, 10 collect_fonts: true, 11 inline_images: false, 12 inline_stylesheet: true, 13 fix_stylesheets: true, 14 preload: false, 15 mask_input_options: {}, 16 }, 17 distributed_tracing: { enabled: true }, 18 performance: { capture_measures: true }, 19 browser_consent_mode: { enabled: false }, 20 privacy: { cookies_enabled: true }, 21 ajax: { deny_list: ["bam.nr-data.net"] }, 22} 23 24NREUM.loader_config = { 25 accountID: "2698403", 26 trustKey: "2698403", 27 agentID: "1103150886", 28 licenseKey: "NRBR-8c045dd252a4decb1d4", 29 applicationID: "1103150886", 30} 31NREUM.info = { 32 beacon: "bam.nr-data.net", 33 errorBeacon: "bam.nr-data.net", 34 licenseKey: "NRBR-8c045dd252a4decb1d4", 35 applicationID: "1103150886", 36 sa: 1, 37} /*! For license information please see nr-loader-spa-1.304.0.min.js.LICENSE.txt */ 38;(() => { 39 var e, 40 t, 41 r = { 42 384: (e, t, r) => { 43 "use strict" 44 r.d(t, { NT: () => o, US: () => u, Zm: () => a, bQ: () => d, dV: () => c, pV: () => l }) 45 var n = r(6154), 46 i = r(1863), 47 s = r(1910) 48 const o = { beacon: "bam.nr-data.net", errorBeacon: "bam.nr-data.net" } 49 function a() { 50 return ( 51 n.gm.NREUM || (n.gm.NREUM = {}), 52 void 0 === n.gm.newrelic && (n.gm.newrelic = n.gm.NREUM), 53 n.gm.NREUM 54 ) 55 } 56 function c() { 57 let e = a() 58 return ( 59 e.o || 60 ((e.o = { 61 ST: n.gm.setTimeout, 62 SI: n.gm.setImmediate || n.gm.setInterval, 63 CT: n.gm.clearTimeout, 64 XHR: n.gm.XMLHttpRequest, 65 REQ: n.gm.Request, 66 EV: n.gm.Event, 67 PR: n.gm.Promise, 68 MO: n.gm.MutationObserver, 69 FETCH: n.gm.fetch, 70 WS: n.gm.WebSocket, 71 }), 72 (0, s.i)(...Object.values(e.o))), 73 e 74 ) 75 } 76 function d(e, t) { 77 let r = a() 78 ;(r.initializedAgents ??= {}), 79 (t.initializedAt = { ms: (0, i.t)(), date: new Date() }), 80 (r.initializedAgents[e] = t) 81 } 82 function u(e, t) { 83 a()[e] = t 84 } 85 function l() { 86 return ( 87 (function () { 88 let e = a() 89 const t = e.info || {} 90 e.info = { beacon: o.beacon, errorBeacon: o.errorBeacon, ...t } 91 })(), 92 (function () { 93 let e = a() 94 const t = e.init || {} 95 e.init = { ...t } 96 })(), 97 c(), 98 (function () { 99 let e = a() 100 const t = e.loader_config || {} 101 e.loader_config = { ...t } 102 })(), 103 a() 104 ) 105 } 106 }, 107 782: (e, t, r) => { 108 "use strict" 109 r.d(t, { T: () => n }) 110 const n = r(860).K7.pageViewTiming 111 }, 112 860: (e, t, r) => { 113 "use strict" 114 r.d(t, { 115 $J: () => u, 116 K7: () => c, 117 P3: () => d, 118 XX: () => i, 119 Yy: () => a, 120 df: () => s, 121 qY: () => n, 122 v4: () => o, 123 }) 124 const n = "events", 125 i = "jserrors", 126 s = "browser/blobs", 127 o = "rum", 128 a = "browser/logs", 129 c = { 130 ajax: "ajax", 131 genericEvents: "generic_events", 132 jserrors: i, 133 logging: "logging", 134 metrics: "metrics", 135 pageAction: "page_action", 136 pageViewEvent: "page_view_event", 137 pageViewTiming: "page_view_timing", 138 sessionReplay: "session_replay", 139 sessionTrace: "session_trace", 140 softNav: "soft_navigations", 141 spa: "spa", 142 }, 143 d = { 144 [c.pageViewEvent]: 1, 145 [c.pageViewTiming]: 2, 146 [c.metrics]: 3, 147 [c.jserrors]: 4, 148 [c.spa]: 5, 149 [c.ajax]: 6, 150 [c.sessionTrace]: 7, 151 [c.softNav]: 8, 152 [c.sessionReplay]: 9, 153 [c.logging]: 10, 154 [c.genericEvents]: 11, 155 }, 156 u = { 157 [c.pageViewEvent]: o, 158 [c.pageViewTiming]: n, 159 [c.ajax]: n, 160 [c.spa]: n, 161 [c.softNav]: n, 162 [c.metrics]: i, 163 [c.jserrors]: i, 164 [c.sessionTrace]: s, 165 [c.sessionReplay]: s, 166 [c.logging]: a, 167 [c.genericEvents]: "ins", 168 } 169 }, 170 944: (e, t, r) => { 171 "use strict" 172 r.d(t, { R: () => i }) 173 var n = r(3241) 174 function i(e, t) { 175 "function" == typeof console.debug && 176 (console.debug( 177 "New Relic Warning: https://github.com/newrelic/newrelic-browser-agent/blob/main/docs/warning-codes.md#".concat( 178 e 179 ), 180 t 181 ), 182 (0, n.W)({ 183 agentIdentifier: null, 184 drained: null, 185 type: "data",
186 name: "warn", 187 feature: "warn", 188 data: { code: e, secondary: t }, 189 })) 190 } 191 }, 192 993: (e, t, r) => { 193 "use strict" 194 r.d(t, { A$: () => s, ET: () => o, TZ: () => a, p_: () => i }) 195 var n = r(860) 196 const i = { ERROR: "ERROR", WARN: "WARN", INFO: "INFO", DEBUG: "DEBUG", TRACE: "TRACE" }, 197 s = { OFF: 0, ERROR: 1, WARN: 2, INFO: 3, DEBUG: 4, TRACE: 5 }, 198 o = "log", 199 a = n.K7.logging 200 }, 201 1687: (e, t, r) => { 202 "use strict" 203 r.d(t, { Ak: () => d, Ze: () => f, x3: () => u }) 204 var n = r(3241), 205 i = r(7836), 206 s = r(3606), 207 o = r(860), 208 a = r(2646) 209 const c = {} 210 function d(e, t) { 211 const r = { staged: !1, priority: o.P3[t] || 0 } 212 l(e), c[e].get(t) || c[e].set(t, r) 213 } 214 function u(e, t) { 215 e && c[e] && (c[e].get(t) && c[e].delete(t), p(e, t, !1), c[e].size && h(e)) 216 } 217 function l(e) { 218 if (!e) throw new Error("agentIdentifier required") 219 c[e] || (c[e] = new Map()) 220 } 221 function f(e = "", t = "feature", r = !1) { 222 if ((l(e), !e || !c[e].get(t) || r)) return p(e, t) 223 ;(c[e].get(t).staged = !0), h(e) 224 } 225 function h(e) { 226 const t = Array.from(c[e]) 227 t.every(([e, t]) => t.staged) && 228 (t.sort((e, t) => e[1].priority - t[1].priority), 229 t.forEach(([t]) => { 230 c[e].delete(t), p(e, t) 231 })) 232 } 233 function p(e, t, r = !0) { 234 const o = e ? i.ee.get(e) : i.ee, 235 c = s.i.handlers 236 if (!o.aborted && o.backlog && c) { 237 if ( 238 ((0, n.W)({ agentIdentifier: e, type: "lifecycle", name: "drain", feature: t }), r) 239 ) { 240 const e = o.backlog[t], 241 r = c[t] 242 if (r) { 243 for (let t = 0; e && t < e.length; ++t) g(e[t], r) 244 Object.entries(r).forEach(([e, t]) => { 245 Object.values(t || {}).forEach((t) => { 246 t[0]?.on && t[0]?.context() instanceof a.y && t[0].on(e, t[1]) 247 }) 248 }) 249 } 250 } 251 o.isolatedBacklog || delete c[t], (o.backlog[t] = null), o.emit("drain-" + t, []) 252 } 253 } 254 function g(e, t) { 255 var r = e[1] 256 Object.values(t[r] || {}).forEach((t) => { 257 var r = e[0] 258 if (t[0] === r) { 259 var n = t[1], 260 i = e[3], 261 s = e[2] 262 n.apply(i, s) 263 } 264 }) 265 } 266 }, 267 1741: (e, t, r) => { 268 "use strict" 269 r.d(t, { W: () => s }) 270 var n = r(944), 271 i = r(4261) 272 class s { 273 #e(e, ...t) { 274 if (this[e] !== s.prototype[e]) return this[e](...t) 275 ;(0, n.R)(35, e) 276 } 277 addPageAction(e, t) { 278 return this.#e(i.hG, e, t) 279 } 280 register(e) { 281 return this.#e(i.eY, e) 282 } 283 recordCustomEvent(e, t) { 284 return this.#e(i.fF, e, t) 285 } 286 setPageViewName(e, t) { 287 return this.#e(i.Fw, e, t) 288 } 289 setCustomAttribute(e, t, r) { 290 return this.#e(i.cD, e, t, r) 291 } 292 noticeError(e, t) { 293 return this.#e(i.o5, e, t) 294 } 295 setUserId(e) { 296 return this.#e(i.Dl, e) 297 } 298 setApplicationVersion(e) { 299 return this.#e(i.nb, e) 300 } 301 setErrorHandler(e) { 302 return this.#e(i.bt, e) 303 } 304 addRelease(e, t) { 305 return this.#e(i.k6, e, t) 306 } 307 log(e, t) { 308 return this.#e(i.$9, e, t) 309 } 310 start() { 311 return this.#e(i.d3) 312 } 313 finished(e) { 314 return this.#e(i.BL, e) 315 } 316 recordReplay() { 317 return this.#e(i.CH) 318 } 319 pauseReplay() { 320 return this.#e(i.Tb) 321 } 322 addToTrace(e) { 323 return this.#e(i.U2, e) 324 } 325 setCurrentRouteName(e) { 326 return this.#e(i.PA, e) 327 } 328 interaction(e) { 329 return this.#e(i.dT, e) 330 } 331 wrapLogger(e, t, r) { 332 return this.#e(i.Wb, e, t, r) 333 } 334 measure(e, t) { 335 return this.#e(i.V1, e, t) 336 } 337 consent(e) { 338 return this.#e(i.Pv, e) 339 } 340 } 341 }, 342 1863: (e, t, r) => { 343 "use strict" 344 function n() { 345 return Math.floor(performance.now()) 346 } 347 r.d(t, { t: () => n }) 348 }, 349 1910: (e, t, r) => { 350 "use strict" 351 r.d(t, { i: () => s }) 352 var n = r(944) 353 const i = new Map() 354 function s(...e) { 355 return e.every((e) => { 356 if (i.has(e)) return i.get(e) 357 const t = "function" == typeof e ? e.toString() : "", 358 r = t.includes("[native code]"), 359 s = t.includes("nrWrapper") 360 return r || s || (0, n.R)(64, e?.name || t), i.set(e, r), r 361 }) 362 } 363 }, 364 2555: (e, t, r) => { 365 "use strict" 366 r.d(t, { D: () => a, f: () => o }) 367 var n = r(384), 368 i = r(8122) 369 const s = { 370 beacon: n.NT.beacon, 371 errorBeacon: n.NT.errorBeacon, 372 licenseKey: void 0, 373 applicationID: void 0, 374 sa: void 0, 375 queueTime: void 0, 376 applicationTime: void 0, 377 ttGuid: void 0, 378 user: void 0, 379 account: void 0, 380 product: void 0, 381 extra: void 0, 382 jsAttributes: {}, 383 userAttributes: void 0, 384 atts: void 0, 385 transactionName: void 0, 386 tNamePlain: void 0, 387 } 388 function o(e) { 389 try { 390 return !!e.licenseKey && !!e.errorBeacon && !!e.applicationID 391 } catch (e) { 392 return !1 393 } 394 } 395 const a = (e) => (0, i.a)(e, s) 396 }, 397 2614: (e, t, r) => { 398 "use strict" 399 r.d(t, { 400 BB: () => o, 401 H3: () => n, 402 g: () => d, 403 iL: () => c, 404 tS: () => a, 405 uh: () => i, 406 wk: () => s, 407 }) 408 const n = "NRBA", 409 i = "SESSION", 410 s = 144e5, 411 o = 18e5, 412 a = { 413 STARTED: "session-started", 414 PAUSE: "session-pause", 415 RESET: "session-reset", 416 RESUME: "session-resume", 417 UPDATE: "session-update", 418 }, 419 c = { SAME_TAB: "same-tab", CROSS_TAB: "cross-tab" }, 420 d = { OFF: 0, FULL: 1, ERROR: 2 } 421 }, 422 2646: (e, t, r) => { 423 "use strict" 424 r.d(t, { y: () => n }) 425 class n { 426 constructor(e) { 427 this.contextId = e 428 } 429 } 430 }, 431 2843: (e, t, r) => { 432 "use strict" 433 r.d(t, { G: () => s, u: () => i }) 434 var n = r(3878) 435 function i(e, t = !1, r, i) { 436 ;(0, n.DD)( 437 "visibilitychange", 438 function () { 439 if (t) return void ("hidden" === document.visibilityState && e()) 440 e(document.visibilityState) 441 }, 442 r, 443 i 444 ) 445 } 446 function s(e, t, r) { 447 ;(0, n.sp)("pagehide", e, t, r) 448 } 449 }, 450 3241: (e, t, r) => { 451 "use strict" 452 r.d(t, { W: () => s }) 453 var n = r(6154) 454 const i = "newrelic" 455 function s(e = {}) { 456 try { 457 n.gm.dispatchEvent(new CustomEvent(i, { detail: e })) 458 } catch (e) {} 459 } 460 }, 461 3304: (e, t, r) => { 462 "use strict" 463 r.d(t, { A: () => s }) 464 var n = r(7836) 465 const i = () => { 466 const e = new WeakSet() 467 return (t, r) => { 468 if ("object" == typeof r && null !== r) { 469 if (e.has(r)) return 470 e.add(r) 471 } 472 return r 473 } 474 } 475 function s(e) { 476 try { 477 return JSON.stringify(e, i()) ?? "" 478 } catch (e) { 479 try { 480 n.ee.emit("internal-error", [e]) 481 } catch (e) {} 482 return "" 483 } 484 } 485 }, 486 3333: (e, t, r) => { 487 "use strict" 488 r.d(t, { 489 $v: () => u, 490 TZ: () => n, 491 Xh: () => c, 492 Zp: () => i, 493 kd: () => d, 494 mq: () => a, 495 nf: () => o, 496 qN: () => s, 497 }) 498 const n = r(860).K7.genericEvents, 499 i = ["auxclick", "click", "copy", "keydown", "paste", "scrollend"], 500 s = ["focus", "blur"], 501 o = 4, 502 a = 1e3, 503 c = 2e3, 504 d = ["PageAction", "UserAction", "BrowserPerformance"], 505 u = { RESOURCES: "experimental.resources", REGISTER: "register" } 506 }, 507 3434: (e, t, r) => { 508 "use strict" 509 r.d(t, { Jt: () => s, YM: () => d }) 510 var n = r(7836), 511 i = r(5607) 512 const s = "nr@original:".concat(i.W), 513 o = 50 514 var a = Object.prototype.hasOwnProperty, 515 c = !1 516 function d(e, t) { 517 return ( 518 e || (e = n.ee), 519 (r.inPlace = function (e, t, n, i, s) { 520 n || (n = "") 521 const o = "-" === n.charAt(0) 522 for (let a = 0; a < t.length; a++) { 523 const c = t[a], 524 d = e[c] 525 l(d) || (e[c] = r(d, o ? c + n : n, i, c, s)) 526 } 527 }), 528 (r.flag = s), 529 r 530 ) 531 function r(t, r, n, c, d) { 532 return l(t) 533 ? t 534 : (r || (r = ""), 535 (nrWrapper[s] = t), 536 (function (e, t, r) { 537 if (Object.defineProperty && Object.keys) 538 try { 539 return ( 540 Object.keys(e).forEach(function (r) { 541 Object.defineProperty(t, r, { 542 get: function () { 543 return e[r] 544 }, 545 set: function (t) { 546 return (e[r] = t), t 547 }, 548 }) 549 }), 550 t 551 ) 552 } catch (e) { 553 u([e], r) 554 } 555 for (var n in e) a.call(e, n) && (t[n] = e[n]) 556 })(t, nrWrapper, e), 557 nrWrapper) 558 function nrWrapper() { 559 var s, a, l, f 560 let h 561 try { 562 ;(a = this), (s = [...arguments]), (l = "function" == typeof n ? n(s, a) : n || {}) 563 } catch (t) { 564 u([t, "", [s, a, c], l], e) 565 } 566 i(r + "start", [s, a, c], l, d) 567 const p = performance.now() 568 let g 569 try { 570 return (f = t.apply(a, s)), (g = performance.now()), f 571 } catch (e) { 572 throw ((g = performance.now()), i(r + "err", [s, a, e], l, d), (h = e), h) 573 } finally { 574 const e = g - p, 575 t = { 576 start: p, 577 end: g, 578 duration: e, 579 isLongTask: e >= o, 580 methodName: c, 581 thrownError: h, 582 } 583 t.isLongTask && i("long-task", [t, a], l, d), i(r + "end", [s, a, f], l, d) 584 } 585 } 586 } 587 function i(r, n, i, s) { 588 if (!c || t) { 589 var o = c 590 c = !0 591 try { 592 e.emit(r, n, i, t, s) 593 } catch (t) { 594 u([t, r, n, i], e) 595 } 596 c = o 597 } 598 } 599 } 600 function u(e, t) { 601 t || (t = n.ee) 602 try { 603 t.emit("internal-error", e) 604 } catch (e) {} 605 } 606 function l(e) { 607 return !(e && "function" == typeof e && e.apply && !e[s]) 608 } 609 }, 610 3606: (e, t, r) => { 611 "use strict" 612 r.d(t, { i: () => s }) 613 var n = r(9908) 614 s.on = o 615 var i = (s.handlers = {}) 616 function s(e, t, r, s) { 617 o(s || n.d, i, e, t, r) 618 } 619 function o(e, t, r, i, s) { 620 s || (s = "feature"), e || (e = n.d) 621 var o = (t[s] = t[s] || {}) 622 ;(o[r] = o[r] || []).push([e, i]) 623 } 624 }, 625 3738: (e, t, r) => { 626 "use strict" 627 r.d(t, { 628 He: () => i, 629 Kp: () => a, 630 Lc: () => d, 631 Rz: () => u, 632 TZ: () => n, 633 bD: () => s, 634 d3: () => o, 635 jx: () => l, 636 sl: () => f, 637 uP: () => c, 638 }) 639 const n = r(860).K7.sessionTrace, 640 i = "bstResource", 641 s = "resource", 642 o = "-start", 643 a = "-end", 644 c = "fn" + o, 645 d = "fn" + a, 646 u = "pushState", 647 l = 1e3, 648 f = 3e4 649 }, 650 3785: (e, t, r) => { 651 "use strict" 652 r.d(t, { R: () => c, b: () => d }) 653 var n = r(9908), 654 i = r(1863), 655 s = r(860), 656 o = r(3969), 657 a = r(993) 658 function c(e, t, r = {}, c = a.p_.INFO, d, u = (0, i.t)()) { 659 ;(0, n.p)( 660 o.xV, 661 ["API/logging/".concat(c.toLowerCase(), "/called")], 662 void 0, 663 s.K7.metrics, 664 e 665 ), 666 (0, n.p)(a.ET, [u, t, r, c, d], void 0, s.K7.logging, e) 667 } 668 function d(e) { 669 return ( 670 "string" == typeof e && Object.values(a.p_).some((t) => t === e.toUpperCase().trim()) 671 ) 672 } 673 }, 674 3878: (e, t, r) => { 675 "use strict" 676 function n(e, t) { 677 return { capture: e, passive: !1, signal: t } 678 } 679 function i(e, t, r = !1, i) { 680 window.addEventListener(e, t, n(r, i)) 681 } 682 function s(e, t, r = !1, i) { 683 document.addEventListener(e, t, n(r, i)) 684 } 685 r.d(t, { DD: () => s, jT: () => n, sp: () => i }) 686 }, 687 3962: (e, t, r) => { 688 "use strict" 689 r.d(t, { 690 AM: () => o, 691 O2: () => l, 692 OV: () => s, 693 Qu: () => f, 694 TZ: () => c, 695 ih: () => h,
696 pP: () => a, 697 t1: () => u, 698 tC: () => i, 699 wD: () => d, 700 }) 701 var n = r(860) 702 const i = ["click", "keydown", "submit"], 703 s = "popstate", 704 o = "api", 705 a = "initialPageLoad", 706 c = n.K7.softNav, 707 d = 5e3, 708 u = 500, 709 l = { INITIAL_PAGE_LOAD: "", ROUTE_CHANGE: 1, UNSPECIFIED: 2 }, 710 f = { INTERACTION: 1, AJAX: 2, CUSTOM_END: 3, CUSTOM_TRACER: 4 }, 711 h = { IP: "in progress", PF: "pending finish", FIN: "finished", CAN: "cancelled" } 712 }, 713 3969: (e, t, r) => { 714 "use strict" 715 r.d(t, { TZ: () => n, XG: () => a, rs: () => i, xV: () => o, z_: () => s }) 716 const n = r(860).K7.metrics, 717 i = "sm", 718 s = "cm", 719 o = "storeSupportabilityMetrics", 720 a = "storeEventMetrics" 721 }, 722 4234: (e, t, r) => { 723 "use strict" 724 r.d(t, { W: () => s }) 725 var n = r(7836), 726 i = r(1687) 727 class s { 728 constructor(e, t) { 729 ;(this.agentIdentifier = e), 730 (this.ee = n.ee.get(e)), 731 (this.featureName = t), 732 (this.blocked = !1) 733 } 734 deregisterDrain() { 735 ;(0, i.x3)(this.agentIdentifier, this.featureName) 736 } 737 } 738 }, 739 4261: (e, t, r) => { 740 "use strict" 741 r.d(t, { 742 $9: () => u, 743 BL: () => c, 744 CH: () => p, 745 Dl: () => x, 746 Fw: () => w, 747 PA: () => v, 748 Pl: () => n, 749 Pv: () => A, 750 Tb: () => f, 751 U2: () => o, 752 V1: () => E, 753 Wb: () => T, 754 bt: () => y, 755 cD: () => b, 756 d3: () => R, 757 dT: () => d, 758 eY: () => g, 759 fF: () => h, 760 hG: () => s, 761 hw: () => i, 762 k6: () => a, 763 nb: () => m, 764 o5: () => l, 765 }) 766 const n = "api-", 767 i = n + "ixn-", 768 s = "addPageAction", 769 o = "addToTrace", 770 a = "addRelease", 771 c = "finished", 772 d = "interaction", 773 u = "log", 774 l = "noticeError", 775 f = "pauseReplay", 776 h = "recordCustomEvent", 777 p = "recordReplay", 778 g = "register", 779 m = "setApplicationVersion", 780 v = "setCurrentRouteName", 781 b = "setCustomAttribute", 782 y = "setErrorHandler", 783 w = "setPageViewName", 784 x = "setUserId", 785 R = "start", 786 T = "wrapLogger", 787 E = "measure", 788 A = "consent" 789 }, 790 4387: (e, t, r) => { 791 "use strict" 792 function n(e = {}) { 793 return !(!e.id || !e.name) 794 } 795 function i(e) { 796 return ("string" == typeof e && e.trim().length < 501) || "number" == typeof e 797 } 798 function s(e, t) { 799 if (2 !== t?.harvestEndpointVersion) return {} 800 const r = t.agentRef.runtime.appMetadata.agents[0].entityGuid 801 return n(e) 802 ? { 803 "mfe.id": e.id, 804 "mfe.name": e.name, 805 eventSource: e.eventSource, 806 "parent.id": e.parent?.id || r, 807 } 808 : { "entity.guid": r, appId: t.agentRef.info.applicationID } 809 } 810 r.d(t, { Ux: () => s, c7: () => n, yo: () => i }) 811 }, 812 5205: (e, t, r) => { 813 "use strict" 814 r.d(t, { j: () => _ }) 815 var n = r(384), 816 i = r(1741) 817 var s = r(2555), 818 o = r(3333) 819 const a = (e) => { 820 if (!e || "string" != typeof e) return !1 821 try { 822 document.createDocumentFragment().querySelector(e) 823 } catch { 824 return !1 825 } 826 return !0 827 } 828 var c = r(2614), 829 d = r(944), 830 u = r(8122) 831 const l = "[data-nr-mask]", 832 f = (e) => 833 (0, u.a)( 834 e, 835 (() => { 836 const e = { 837 feature_flags: [], 838 experimental: { allow_registered_children: !1, resources: !1 }, 839 mask_selector: "*", 840 block_selector: "[data-nr-block]", 841 mask_input_options: { 842 color: !1, 843 date: !1, 844 "datetime-local": !1, 845 email: !1, 846 month: !1, 847 number: !1, 848 range: !1, 849 search: !1, 850 tel: !1, 851 text: !1, 852 time: !1, 853 url: !1, 854 week: !1, 855 textarea: !1, 856 select: !1, 857 password: !0, 858 }, 859 } 860 return { 861 ajax: { deny_list: void 0, block_internal: !0, enabled: !0, autoStart: !0 }, 862 api: { 863 get allow_registered_children() { 864 return (
865 e.feature_flags.includes(o.$v.REGISTER) || 866 e.experimental.allow_registered_children 867 ) 868 }, 869 set allow_registered_children(t) { 870 e.experimental.allow_registered_children = t 871 }, 872 duplicate_registered_data: !1, 873 }, 874 browser_consent_mode: { enabled: !1 }, 875 distributed_tracing: { 876 enabled: void 0, 877 exclude_newrelic_header: void 0, 878 cors_use_newrelic_header: void 0, 879 cors_use_tracecontext_headers: void 0, 880 allowed_origins: void 0, 881 }, 882 get feature_flags() { 883 return e.feature_flags 884 }, 885 set feature_flags(t) { 886 e.feature_flags = t 887 }, 888 generic_events: { enabled: !0, autoStart: !0 }, 889 harvest: { interval: 30 }, 890 jserrors: { enabled: !0, autoStart: !0 }, 891 logging: { enabled: !0, autoStart: !0 }, 892 metrics: { enabled: !0, autoStart: !0 }, 893 obfuscate: void 0, 894 page_action: { enabled: !0 }, 895 page_view_event: { enabled: !0, autoStart: !0 }, 896 page_view_timing: { enabled: !0, autoStart: !0 }, 897 performance: { 898 capture_marks: !1, 899 capture_measures: !1, 900 capture_detail: !0, 901 resources: { 902 get enabled() { 903 return e.feature_flags.includes(o.$v.RESOURCES) || e.experimental.resources 904 }, 905 set enabled(t) { 906 e.experimental.resources = t 907 }, 908 asset_types: [], 909 first_party_domains: [], 910 ignore_newrelic: !0, 911 }, 912 }, 913 privacy: { cookies_enabled: !0 }, 914 proxy: { assets: void 0, beacon: void 0 }, 915 session: { expiresMs: c.wk, inactiveMs: c.BB }, 916 session_replay: { 917 autoStart: !0, 918 enabled: !1, 919 preload: !1, 920 sampling_rate: 10, 921 error_sampling_rate: 100, 922 collect_fonts: !1, 923 inline_images: !1, 924 fix_stylesheets: !0, 925 mask_all_inputs: !0, 926 get mask_text_selector() { 927 return e.mask_selector 928 }, 929 set mask_text_selector(t) { 930 a(t) 931 ? (e.mask_selector = "".concat(t, ",").concat(l)) 932 : "" === t || null === t 933 ? (e.mask_selector = l) 934 : (0, d.R)(5, t) 935 }, 936 get block_class() { 937 return "nr-block" 938 }, 939 get ignore_class() { 940 return "nr-ignore" 941 }, 942 get mask_text_class() { 943 return "nr-mask" 944 }, 945 get block_selector() { 946 return e.block_selector 947 }, 948 set block_selector(t) { 949 a(t) ? (e.block_selector += ",".concat(t)) : "" !== t && (0, d.R)(6, t) 950 }, 951 get mask_input_options() { 952 return e.mask_input_options 953 }, 954 set mask_input_options(t) { 955 t && "object" == typeof t 956 ? (e.mask_input_options = { ...t, password: !0 }) 957 : (0, d.R)(7, t) 958 }, 959 }, 960 session_trace: { enabled: !0, autoStart: !0 }, 961 soft_navigations: { enabled: !0, autoStart: !0 }, 962 spa: { enabled: !0, autoStart: !0 }, 963 ssl: void 0, 964 user_actions: { 965 enabled: !0, 966 elementAttributes: ["id", "className", "tagName", "type"], 967 }, 968 } 969 })() 970 ) 971 var h = r(6154), 972 p = r(9324) 973 let g = 0 974 const m = { buildEnv: p.F3, distMethod: p.Xs, version: p.xv, originTime: h.WN }, 975 v = { consented: !1 }, 976 b = { 977 appMetadata: {}, 978 get consented() { 979 return this.session?.state?.consent || v.consented 980 }, 981 set consented(e) { 982 v.consented = e 983 }, 984 customTransaction: void 0, 985 denyList: void 0, 986 disabled: !1, 987 harvester: void 0, 988 isolatedBacklog: !1, 989 isRecording: !1, 990 loaderType: void 0, 991 maxBytes: 3e4, 992 obfuscator: void 0, 993 onerror: void 0, 994 ptid: void 0, 995 releaseIds: {}, 996 session: void 0, 997 timeKeeper: void 0, 998 registeredEntities: [], 999 jsAttributesMetadata: { bytes: 0 }, 1000 get harvestCount() { 1001 return ++g 1002 }, 1003 }, 1004 y = (e) => { 1005 const t = (0, u.a)(e, b), 1006 r = Object.keys(m).reduce( 1007 (e, t) => ( 1008 (e[t] = { value: m[t], writable: !1, configurable: !0, enumerable: !0 }), e 1009 ), 1010 {} 1011 ) 1012 return Object.defineProperties(t, r) 1013 } 1014 var w = r(5701) 1015 const x = (e) => { 1016 const t = e.startsWith("http") 1017 ;(e += "/"), (r.p = t ? e : "https://" + e) 1018 } 1019 var R = r(7836), 1020 T = r(3241) 1021 const E = { 1022 accountID: void 0, 1023 trustKey: void 0, 1024 agentID: void 0, 1025 licenseKey: void 0, 1026 applicationID: void 0, 1027 xpid: void 0, 1028 }, 1029 A = (e) => (0, u.a)(e, E), 1030 S = new Set() 1031 function _(e, t = {}, r, o) { 1032 let { init: a, info: c, loader_config: d, runtime: u = {}, exposed: l = !0 } = t 1033 if (!c) { 1034 const e = (0, n.pV)() 1035 ;(a = e.init), (c = e.info), (d = e.loader_config) 1036 } 1037 ;(e.init = f(a || {})), 1038 (e.loader_config = A(d || {})), 1039 (c.jsAttributes ??= {}), 1040 h.bv && (c.jsAttributes.isWorker = !0), 1041 (e.info = (0, s.D)(c)) 1042 const p = e.init, 1043 g = [c.beacon, c.errorBeacon] 1044 S.has(e.agentIdentifier) || 1045 (p.proxy.assets && (x(p.proxy.assets), g.push(p.proxy.assets)), 1046 p.proxy.beacon && g.push(p.proxy.beacon), 1047 (e.beacons = [...g]), 1048 (function (e) { 1049 const t = (0, n.pV)() 1050 Object.getOwnPropertyNames(i.W.prototype).forEach((r) => { 1051 const n = i.W.prototype[r] 1052 if ("function" != typeof n || "constructor" === n) return 1053 let s = t[r] 1054 e[r] && 1055 !1 !== e.exposed && 1056 "micro-agent" !== e.runtime?.loaderType && 1057 (t[r] = (...t) => { 1058 const n = e[r](...t) 1059 return s ? s(...t) : n 1060 }) 1061 }) 1062 })(e), 1063 (0, n.US)("activatedFeatures", w.B), 1064 (e.runSoftNavOverSpa &&= 1065 !0 === p.soft_navigations.enabled && p.feature_flags.includes("soft_nav"))), 1066 (u.denyList = [...(p.ajax.deny_list || []), ...(p.ajax.block_internal ? g : [])]), 1067 (u.ptid = e.agentIdentifier), 1068 (u.loaderType = r), 1069 (e.runtime = y(u)), 1070 S.has(e.agentIdentifier) || 1071 ((e.ee = R.ee.get(e.agentIdentifier)), 1072 (e.exposed = l), 1073 (0, T.W)({ 1074 agentIdentifier: e.agentIdentifier, 1075 drained: !!w.B?.[e.agentIdentifier], 1076 type: "lifecycle", 1077 name: "initialize", 1078 feature: void 0, 1079 data: e.config, 1080 })), 1081 S.add(e.agentIdentifier) 1082 } 1083 }, 1084 5270: (e, t, r) => { 1085 "use strict" 1086 r.d(t, { Aw: () => o, SR: () => s, rF: () => a }) 1087 var n = r(384), 1088 i = r(7767) 1089 function s(e) { 1090 return !!(0, n.dV)().o.MO && (0, i.V)(e) && !0 === e?.session_trace.enabled 1091 } 1092 function o(e) { 1093 return !0 === e?.session_replay.preload && s(e) 1094 } 1095 function a(e, t) { 1096 try { 1097 if ("string" == typeof t?.type) { 1098 if ("password" === t.type.toLowerCase()) return "*".repeat(e?.length || 0) 1099 if (void 0 !== t?.dataset?.nrUnmask || t?.classList?.contains("nr-unmask")) return e 1100 } 1101 } catch (e) {} 1102 return "string" == typeof e ? e.replace(/[\S]/g, "*") : "*".repeat(e?.length || 0) 1103 } 1104 }, 1105 5289: (e, t, r) => { 1106 "use strict" 1107 r.d(t, { GG: () => s, Qr: () => a, sB: () => o }) 1108 var n = r(3878) 1109 function i() { 1110 return "undefined" == typeof document || "complete" === document.readyState 1111 } 1112 function s(e, t) { 1113 if (i()) return e() 1114 ;(0, n.sp)("load", e, t) 1115 } 1116 function o(e) { 1117 if (i()) return e() 1118 ;(0, n.DD)("DOMContentLoaded", e) 1119 } 1120 function a(e) { 1121 if (i()) return e() 1122 ;(0, n.sp)("popstate", e) 1123 } 1124 }, 1125 5607: (e, t, r) => { 1126 "use strict" 1127 r.d(t, { W: () => n }) 1128 const n = (0, r(9566).bz)() 1129 }, 1130 5701: (e, t, r) => { 1131 "use strict" 1132 r.d(t, { B: () => s, t: () => o }) 1133 var n = r(3241) 1134 const i = new Set(), 1135 s = {} 1136 function o(e, t) { 1137 const r = t.agentIdentifier 1138 ;(s[r] ??= {}), 1139 e && 1140 "object" == typeof e && 1141 (i.has(r) || 1142 (t.ee.emit("rumresp", [e]), 1143 (s[r] = e), 1144 i.add(r), 1145 (0, n.W)({ 1146 agentIdentifier: r, 1147 loaded: !0, 1148 drained: !0, 1149 type: "lifecycle", 1150 name: "load", 1151 feature: void 0, 1152 data: e, 1153 }))) 1154 } 1155 }, 1156 6154: (e, t, r) => { 1157 "use strict" 1158 r.d(t, { 1159 A4: () => a, 1160 OF: () => u, 1161 RI: () => i, 1162 WN: () => h,
1163 bv: () => s, 1164 gm: () => o, 1165 lR: () => f, 1166 m: () => d, 1167 mw: () => c, 1168 sb: () => l, 1169 }) 1170 var n = r(1863) 1171 const i = "undefined" != typeof window && !!window.document, 1172 s = 1173 "undefined" != typeof WorkerGlobalScope && 1174 (("undefined" != typeof self && 1175 self instanceof WorkerGlobalScope && 1176 self.navigator instanceof WorkerNavigator) || 1177 ("undefined" != typeof globalThis && 1178 globalThis instanceof WorkerGlobalScope && 1179 globalThis.navigator instanceof WorkerNavigator)), 1180 o = i 1181 ? window 1182 : "undefined" != typeof WorkerGlobalScope && 1183 (("undefined" != typeof self && self instanceof WorkerGlobalScope && self) || 1184 ("undefined" != typeof globalThis && 1185 globalThis instanceof WorkerGlobalScope && 1186 globalThis)), 1187 a = "complete" === o?.document?.readyState, 1188 c = Boolean("hidden" === o?.document?.visibilityState), 1189 d = "" + o?.location, 1190 u = /iPad|iPhone|iPod/.test(o.navigator?.userAgent), 1191 l = u && "undefined" == typeof SharedWorker, 1192 f = (() => { 1193 const e = o.navigator?.userAgent?.match(/Firefox[/\s](\d+\.\d+)/) 1194 return Array.isArray(e) && e.length >= 2 ? +e[1] : 0 1195 })(), 1196 h = Date.now() - (0, n.t)() 1197 }, 1198 6344: (e, t, r) => { 1199 "use strict" 1200 r.d(t, { 1201 BB: () => u, 1202 Qb: () => l, 1203 TZ: () => i, 1204 Ug: () => o, 1205 Vh: () => s, 1206 _s: () => a, 1207 bc: () => d, 1208 yP: () => c, 1209 }) 1210 var n = r(2614) 1211 const i = r(860).K7.sessionReplay, 1212 s = "errorDuringReplay", 1213 o = 0.12, 1214 a = { 1215 DomContentLoaded: 0, 1216 Load: 1, 1217 FullSnapshot: 2, 1218 IncrementalSnapshot: 3, 1219 Meta: 4, 1220 Custom: 5, 1221 }, 1222 c = { [n.g.ERROR]: 15e3, [n.g.FULL]: 3e5, [n.g.OFF]: 0 }, 1223 d = { 1224 RESET: { message: "Session was reset", sm: "Reset" }, 1225 IMPORT: { message: "Recorder failed to import", sm: "Import" }, 1226 TOO_MANY: { message: "429: Too Many Requests", sm: "Too-Many" }, 1227 TOO_BIG: { message: "Payload was too large", sm: "Too-Big" }, 1228 CROSS_TAB: { message: "Session Entity was set to OFF on another tab", sm: "Cross-Tab" }, 1229 ENTITLEMENTS: { 1230 message: "Session Replay is not allowed and will not be started", 1231 sm: "Entitlement", 1232 }, 1233 }, 1234 u = 5e3, 1235 l = { 1236 API: "api", 1237 RESUME: "resume", 1238 SWITCH_TO_FULL: "switchToFull", 1239 INITIALIZE: "initialize", 1240 PRELOAD: "preload", 1241 } 1242 }, 1243 6389: (e, t, r) => { 1244 "use strict" 1245 function n(e, t = 500, r = {}) { 1246 const n = r?.leading || !1 1247 let i 1248 return (...r) => { 1249 n && 1250 void 0 === i && 1251 (e.apply(this, r), 1252 (i = setTimeout(() => { 1253 i = clearTimeout(i) 1254 }, t))), 1255 n || 1256 (clearTimeout(i), 1257 (i = setTimeout(() => { 1258 e.apply(this, r) 1259 }, t))) 1260 } 1261 } 1262 function i(e) { 1263 let t = !1 1264 return (...r) => { 1265 t || ((t = !0), e.apply(this, r)) 1266 } 1267 } 1268 r.d(t, { J: () => i, s: () => n }) 1269 }, 1270 6630: (e, t, r) => { 1271 "use strict" 1272 r.d(t, { T: () => n }) 1273 const n = r(860).K7.pageViewEvent 1274 }, 1275 6774: (e, t, r) => { 1276 "use strict" 1277 r.d(t, { T: () => n }) 1278 const n = r(860).K7.jserrors 1279 }, 1280 7295: (e, t, r) => { 1281 "use strict" 1282 r.d(t, { Xv: () => o, gX: () => i, iW: () => s }) 1283 var n = [] 1284 function i(e) { 1285 if (!e || s(e)) return !1 1286 if (0 === n.length) return !0 1287 for (var t = 0; t < n.length; t++) { 1288 var r = n[t] 1289 if ("*" === r.hostname) return !1 1290 if (a(r.hostname, e.hostname) && c(r.pathname, e.pathname)) return !1 1291 } 1292 return !0 1293 } 1294 function s(e) { 1295 return void 0 === e.hostname 1296 } 1297 function o(e) { 1298 if (((n = []), e && e.length)) 1299 for (var t = 0; t < e.length; t++) { 1300 let r = e[t] 1301 if (!r) continue 1302 0 === r.indexOf("http://") 1303 ? (r = r.substring(7)) 1304 : 0 === r.indexOf("https://") && (r = r.substring(8)) 1305 const i = r.indexOf("/") 1306 let s, o 1307 i > 0 ? ((s = r.substring(0, i)), (o = r.substring(i))) : ((s = r), (o = "")) 1308 let [a] = s.split(":") 1309 n.push({ hostname: a, pathname: o }) 1310 } 1311 } 1312 function a(e, t) { 1313 return !(e.length > t.length) && t.indexOf(e) === t.length - e.length 1314 } 1315 function c(e, t) { 1316 return ( 1317 0 === e.indexOf("/") && (e = e.substring(1)), 1318 0 === t.indexOf("/") && (t = t.substring(1)), 1319 "" === e || e === t 1320 ) 1321 } 1322 }, 1323 7378: (e, t, r) => { 1324 "use strict" 1325 r.d(t, { 1326 $p: () => R, 1327 BR: () => b, 1328 Kp: () => x, 1329 L3: () => y, 1330 Lc: () => c, 1331 NC: () => s, 1332 SG: () => u, 1333 TZ: () => i, 1334 U6: () => p, 1335 UT: () => m, 1336 d3: () => w, 1337 dT: () => f, 1338 e5: () => E, 1339 gx: () => v, 1340 l9: () => l, 1341 oW: () => h,
1342 op: () => g, 1343 rw: () => d, 1344 tH: () => A, 1345 uP: () => a, 1346 wW: () => T, 1347 xq: () => o, 1348 }) 1349 var n = r(384) 1350 const i = r(860).K7.spa, 1351 s = ["click", "submit", "keypress", "keydown", "keyup", "change"], 1352 o = 999, 1353 a = "fn-start", 1354 c = "fn-end", 1355 d = "cb-start", 1356 u = "api-ixn-", 1357 l = "remaining", 1358 f = "interaction", 1359 h = "spaNode", 1360 p = "jsonpNode", 1361 g = "fetch-start", 1362 m = "fetch-done", 1363 v = "fetch-body-", 1364 b = "jsonp-end", 1365 y = (0, n.dV)().o.ST, 1366 w = "-start", 1367 x = "-end", 1368 R = "-body", 1369 T = "cb" + x, 1370 E = "jsTime", 1371 A = "fetch" 1372 }, 1373 7485: (e, t, r) => { 1374 "use strict" 1375 r.d(t, { D: () => i }) 1376 var n = r(6154) 1377 function i(e) { 1378 if (0 === (e || "").indexOf("data:")) return { protocol: "data" } 1379 try { 1380 const t = new URL(e, location.href), 1381 r = { 1382 port: t.port, 1383 hostname: t.hostname, 1384 pathname: t.pathname, 1385 search: t.search, 1386 protocol: t.protocol.slice(0, t.protocol.indexOf(":")), 1387 sameOrigin: 1388 t.protocol === n.gm?.location?.protocol && t.host === n.gm?.location?.host, 1389 } 1390 return ( 1391 (r.port && "" !== r.port) || 1392 ("http:" === t.protocol && (r.port = "80"), 1393 "https:" === t.protocol && (r.port = "443")), 1394 r.pathname && "" !== r.pathname 1395 ? r.pathname.startsWith("/") || (r.pathname = "/".concat(r.pathname)) 1396 : (r.pathname = "/"), 1397 r 1398 ) 1399 } catch (e) { 1400 return {} 1401 } 1402 } 1403 }, 1404 7699: (e, t, r) => { 1405 "use strict" 1406 r.d(t, { It: () => s, KC: () => a, No: () => i, qh: () => o }) 1407 var n = r(860) 1408 const i = 16e3, 1409 s = 1e6, 1410 o = "SESSION_ERROR", 1411 a = { [n.K7.logging]: !0, [n.K7.genericEvents]: !1, [n.K7.jserrors]: !1, [n.K7.ajax]: !1 } 1412 }, 1413 7767: (e, t, r) => { 1414 "use strict" 1415 r.d(t, { V: () => i }) 1416 var n = r(6154) 1417 const i = (e) => n.RI && !0 === e?.privacy.cookies_enabled 1418 }, 1419 7836: (e, t, r) => { 1420 "use strict" 1421 r.d(t, { P: () => a, ee: () => c }) 1422 var n = r(384), 1423 i = r(8990), 1424 s = r(2646), 1425 o = r(5607) 1426 const a = "nr@context:".concat(o.W), 1427 c = (function e(t, r) { 1428 var n = {}, 1429 o = {}, 1430 u = {}, 1431 l = !1 1432 try { 1433 l = 16 === r.length && d.initializedAgents?.[r]?.runtime.isolatedBacklog 1434 } catch (e) {} 1435 var f = { 1436 on: p, 1437 addEventListener: p, 1438 removeEventListener: function (e, t) { 1439 var r = n[e] 1440 if (!r) return 1441 for (var i = 0; i < r.length; i++) r[i] === t && r.splice(i, 1) 1442 }, 1443 emit: function (e, r, n, i, s) { 1444 !1 !== s && (s = !0) 1445 if (c.aborted && !i) return 1446 t && s && t.emit(e, r, n) 1447 var a = h(n) 1448 g(e).forEach((e) => { 1449 e.apply(a, r) 1450 }) 1451 var d = v()[o[e]] 1452 d && d.push([f, e, r, a]) 1453 return a 1454 }, 1455 get: m, 1456 listeners: g, 1457 context: h, 1458 buffer: function (e, t) { 1459 const r = v() 1460 if (((t = t || "feature"), f.aborted)) return 1461 Object.entries(e || {}).forEach(([e, n]) => { 1462 ;(o[n] = t), t in r || (r[t] = []) 1463 }) 1464 }, 1465 abort: function () { 1466 ;(f._aborted = !0), 1467 Object.keys(f.backlog).forEach((e) => { 1468 delete f.backlog[e] 1469 }) 1470 }, 1471 isBuffering: function (e) { 1472 return !!v()[o[e]] 1473 }, 1474 debugId: r, 1475 backlog: l ? {} : t && "object" == typeof t.backlog ? t.backlog : {}, 1476 isolatedBacklog: l, 1477 } 1478 return ( 1479 Object.defineProperty(f, "aborted", { 1480 get: () => { 1481 let e = f._aborted || !1 1482 return e || (t && (e = t.aborted), e) 1483 }, 1484 }), 1485 f 1486 ) 1487 function h(e) { 1488 return e && e instanceof s.y ? e : e ? (0, i.I)(e, a, () => new s.y(a)) : new s.y(a) 1489 } 1490 function p(e, t) { 1491 n[e] = g(e).concat(t) 1492 } 1493 function g(e) { 1494 return n[e] || [] 1495 } 1496 function m(t) { 1497 return (u[t] = u[t] || e(f, t)) 1498 } 1499 function v() { 1500 return f.backlog 1501 } 1502 })(void 0, "globalEE"), 1503 d = (0, n.Zm)() 1504 d.ee || (d.ee = c) 1505 }, 1506 8122: (e, t, r) => { 1507 "use strict" 1508 r.d(t, { a: () => i }) 1509 var n = r(944) 1510 function i(e, t) { 1511 try { 1512 if (!e || "object" != typeof e) return (0, n.R)(3) 1513 if (!t || "object" != typeof t) return (0, n.R)(4) 1514 const r = Object.create(Object.getPrototypeOf(t), Object.getOwnPropertyDescriptors(t)), 1515 s = 0 === Object.keys(r).length ? e : r 1516 for (let o in s) 1517 if (void 0 !== e[o]) 1518 try { 1519 if (null === e[o]) { 1520 r[o] = null 1521 continue 1522 } 1523 Array.isArray(e[o]) && Array.isArray(t[o]) 1524 ? (r[o] = Array.from(new Set([...e[o], ...t[o]]))) 1525 : "object" == typeof e[o] && "object" == typeof t[o] 1526 ? (r[o] = i(e[o], t[o])) 1527 : (r[o] = e[o]) 1528 } catch (e) { 1529 r[o] || (0, n.R)(1, e) 1530 } 1531 return r 1532 } catch (e) { 1533 ;(0, n.R)(2, e) 1534 } 1535 } 1536 }, 1537 8139: (e, t, r) => { 1538 "use strict" 1539 r.d(t, { u: () => f }) 1540 var n = r(7836), 1541 i = r(3434), 1542 s = r(8990), 1543 o = r(6154) 1544 const a = {}, 1545 c = o.gm.XMLHttpRequest, 1546 d = "addEventListener", 1547 u = "removeEventListener", 1548 l = "nr@wrapped:".concat(n.P) 1549 function f(e) { 1550 var t = (function (e) { 1551 return (e || n.ee).get("events") 1552 })(e) 1553 if (a[t.debugId]++) return t 1554 a[t.debugId] = 1 1555 var r = (0, i.YM)(t, !0) 1556 function f(e) { 1557 r.inPlace(e, [d, u], "-", p) 1558 } 1559 function p(e, t) { 1560 return e[1] 1561 } 1562 return ( 1563 "getPrototypeOf" in Object && 1564 (o.RI && h(document, f), c && h(c.prototype, f), h(o.gm, f)), 1565 t.on(d + "-start", function (e, t) { 1566 var n = e[1] 1567 if ( 1568 null !== n && 1569 ("function" == typeof n || "object" == typeof n) && 1570 "newrelic" !== e[0] 1571 ) { 1572 var i = (0, s.I)(n, l, function () { 1573 var e = { 1574 object: function () { 1575 if ("function" != typeof n.handleEvent) return 1576 return n.handleEvent.apply(n, arguments) 1577 }, 1578 function: n, 1579 }[typeof n] 1580 return e ? r(e, "fn-", null, e.name || "anonymous") : n 1581 }) 1582 this.wrapped = e[1] = i 1583 } 1584 }), 1585 t.on(u + "-start", function (e) { 1586 e[1] = this.wrapped || e[1] 1587 }), 1588 t 1589 ) 1590 } 1591 function h(e, t, ...r) { 1592 let n = e 1593 for (; "object" == typeof n && !Object.prototype.hasOwnProperty.call(n, d); ) 1594 n = Object.getPrototypeOf(n) 1595 n && t(n, ...r) 1596 } 1597 }, 1598 8374: (e, t, r) => { 1599 r.nc = (() => { 1600 try { 1601 return document?.currentScript?.nonce 1602 } catch (e) {} 1603 return "" 1604 })() 1605 }, 1606 8990: (e, t, r) => { 1607 "use strict" 1608 r.d(t, { I: () => i }) 1609 var n = Object.prototype.hasOwnProperty 1610 function i(e, t, r) { 1611 if (n.call(e, t)) return e[t] 1612 var i = r() 1613 if (Object.defineProperty && Object.keys) 1614 try { 1615 return Object.defineProperty(e, t, { value: i, writable: !0, enumerable: !1 }), i 1616 } catch (e) {} 1617 return (e[t] = i), i 1618 } 1619 }, 1620 9300: (e, t, r) => { 1621 "use strict" 1622 r.d(t, { T: () => n }) 1623 const n = r(860).K7.ajax 1624 }, 1625 9324: (e, t, r) => { 1626 "use strict" 1627 r.d(t, { AJ: () => o, F3: () => i, Xs: () => s, Yq: () => a, xv: () => n }) 1628 const n = "1.304.0", 1629 i = "PROD", 1630 s = "CDN", 1631 o = "@newrelic/rrweb", 1632 a = "1.0.1" 1633 }, 1634 9566: (e, t, r) => { 1635 "use strict" 1636 r.d(t, { LA: () => a, ZF: () => c, bz: () => o, el: () => d }) 1637 var n = r(6154) 1638 const i = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx" 1639 function s(e, t) { 1640 return e ? 15 & e[t] : (16 * Math.random()) | 0 1641 } 1642 function o() { 1643 const e = n.gm?.crypto || n.gm?.msCrypto 1644 let t, 1645 r = 0 1646 return ( 1647 e && e.getRandomValues && (t = e.getRandomValues(new Uint8Array(30))), 1648 i 1649 .split("") 1650 .map((e) => 1651 "x" === e ? s(t, r++).toString(16) : "y" === e ? ((3 & s()) | 8).toString(16) : e 1652 ) 1653 .join("") 1654 ) 1655 } 1656 function a(e) { 1657 const t = n.gm?.crypto || n.gm?.msCrypto 1658 let r, 1659 i = 0 1660 t && t.getRandomValues && (r = t.getRandomValues(new Uint8Array(e))) 1661 const o = [] 1662 for (var a = 0; a < e; a++) o.push(s(r, i++).toString(16)) 1663 return o.join("") 1664 } 1665 function c() { 1666 return a(16) 1667 } 1668 function d() { 1669 return a(32) 1670 } 1671 }, 1672 9908: (e, t, r) => { 1673 "use strict" 1674 r.d(t, { d: () => n, p: () => i }) 1675 var n = r(7836).ee.get("handle") 1676 function i(e, t, r, i, s) { 1677 s ? (s.buffer([e], i), s.emit(e, t, r)) : (n.buffer([e], i), n.emit(e, t, r)) 1678 } 1679 }, 1680 }, 1681 n = {} 1682 function i(e) { 1683 var t = n[e] 1684 if (void 0 !== t) return t.exports 1685 var s = (n[e] = { exports: {} }) 1686 return r[e](s, s.exports, i), s.exports 1687 } 1688 ;(i.m = r), 1689 (i.d = (e, t) => { 1690 for (var r in t) 1691 i.o(t, r) && !i.o(e, r) && Object.defineProperty(e, r, { enumerable: !0, get: t[r] }) 1692 }), 1693 (i.f = {}), 1694 (i.e = (e) => Promise.all(Object.keys(i.f).reduce((t, r) => (i.f[r](e, t), t), []))), 1695 (i.u = (e) => 1696 ({ 212: "nr-spa-compressor", 249: "nr-spa-recorder", 478: "nr-spa" })[e] + "-1.304.0.min.js"), 1697 (i.o = (e, t) => Object.prototype.hasOwnProperty.call(e, t)), 1698 (e = {}), 1699 (t = "NRBA-1.304.0.PROD:"), 1700 (i.l = (r, n, s, o) => { 1701 if (e[r]) e[r].push(n) 1702 else { 1703 var a, c 1704 if (void 0 !== s) 1705 for (var d = document.getElementsByTagName("script"), u = 0; u < d.length; u++) { 1706 var l = d[u] 1707 if (l.getAttribute("src") == r || l.getAttribute("data-webpack") == t + s) { 1708 a = l
1709 break 1710 } 1711 } 1712 if (!a) { 1713 c = !0 1714 var f = { 1715 478: "sha512-RTX1722u4cl/rMYZr+vtp+36TC5RwDasO7jklt/msIxzcZj/gfUl9hzC/jaBnAllxHgvRvJ5SJ33aSBOMtuaag==", 1716 249: "sha512-3fqjXJ9y2oW00IQqrWKpunw45WllfhCoIc9R+z44xBS5mVX1jPU8+FueB1iRPRewPt2nfExoVAoFV7P89MLeHQ==", 1717 212: "sha512-FtGgydg7Wdmk+4LTHCjqzMbEYbuqF0VzaLxmT6aRd6mWkGkyXrbkegzFrqUu+xo9z5OyivpR6njOh+u3uZvx6w==", 1718 } 1719 ;((a = document.createElement("script")).charset = "utf-8"), 1720 i.nc && a.setAttribute("nonce", i.nc), 1721 a.setAttribute("data-webpack", t + s), 1722 (a.src = r), 1723 0 !== a.src.indexOf(window.location.origin + "/") && (a.crossOrigin = "anonymous"), 1724 f[o] && (a.integrity = f[o]) 1725 } 1726 e[r] = [n] 1727 var h = (t, n) => { 1728 ;(a.onerror = a.onload = null), clearTimeout(p) 1729 var i = e[r] 1730 if ( 1731 (delete e[r], 1732 a.parentNode && a.parentNode.removeChild(a), 1733 i && i.forEach((e) => e(n)), 1734 t) 1735 ) 1736 return t(n) 1737 }, 1738 p = setTimeout(h.bind(null, void 0, { type: "timeout", target: a }), 12e4) 1739 ;(a.onerror = h.bind(null, a.onerror)), 1740 (a.onload = h.bind(null, a.onload)), 1741 c && document.head.appendChild(a) 1742 } 1743 }), 1744 (i.r = (e) => { 1745 "undefined" != typeof Symbol && 1746 Symbol.toStringTag && 1747 Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), 1748 Object.defineProperty(e, "__esModule", { value: !0 }) 1749 }), 1750 (i.p = "https://js-agent.newrelic.com/"), 1751 (() => { 1752 var e = { 38: 0, 788: 0 } 1753 i.f.j = (t, r) => { 1754 var n = i.o(e, t) ? e[t] : void 0 1755 if (0 !== n) 1756 if (n) r.push(n[2]) 1757 else { 1758 var s = new Promise((r, i) => (n = e[t] = [r, i])) 1759 r.push((n[2] = s)) 1760 var o = i.p + i.u(t), 1761 a = new Error() 1762 i.l( 1763 o, 1764 (r) => { 1765 if (i.o(e, t) && (0 !== (n = e[t]) && (e[t] = void 0), n)) { 1766 var s = r && ("load" === r.type ? "missing" : r.type), 1767 o = r && r.target && r.target.src 1768 ;(a.message = "Loading chunk " + t + " failed.\n(" + s + ": " + o + ")"), 1769 (a.name = "ChunkLoadError"), 1770 (a.type = s), 1771 (a.request = o), 1772 n[1](a) 1773 } 1774 }, 1775 "chunk-" + t, 1776 t 1777 ) 1778 } 1779 } 1780 var t = (t, r) => { 1781 var n, 1782 s, 1783 [o, a, c] = r, 1784 d = 0 1785 if (o.some((t) => 0 !== e[t])) { 1786 for (n in a) i.o(a, n) && (i.m[n] = a[n]) 1787 if (c) c(i) 1788 } 1789 for (t && t(r); d < o.length; d++) (s = o[d]), i.o(e, s) && e[s] && e[s][0](), (e[s] = 0) 1790 }, 1791 r = (self["webpackChunk:NRBA-1.304.0.PROD"] = self["webpackChunk:NRBA-1.304.0.PROD"] || []) 1792 r.forEach(t.bind(null, 0)), (r.push = t.bind(null, r.push.bind(r))) 1793 })(), 1794 (() => { 1795 "use strict" 1796 i(8374) 1797 var e = i(9566), 1798 t = i(1741) 1799 class r extends t.W { 1800 agentIdentifier = (0, e.LA)(16) 1801 } 1802 var n = i(860) 1803 const s = Object.values(n.K7) 1804 var o = i(5205) 1805 var a = i(9908), 1806 c = i(1863), 1807 d = i(4261), 1808 u = i(3241), 1809 l = i(944), 1810 f = i(5701), 1811 h = i(3969) 1812 function p(e, t, i, s) { 1813 const o = s || i 1814 !o || 1815 (o[e] && o[e] !== r.prototype[e]) || 1816 (o[e] = function () { 1817 ;(0, a.p)(h.xV, ["API/" + e + "/called"], void 0, n.K7.metrics, i.ee), 1818 (0, u.W)({ 1819 agentIdentifier: i.agentIdentifier, 1820 drained: !!f.B?.[i.agentIdentifier], 1821 type: "data", 1822 name: "api", 1823 feature: d.Pl + e, 1824 data: {}, 1825 }) 1826 try { 1827 return t.apply(this, arguments) 1828 } catch (e) { 1829 ;(0, l.R)(23, e) 1830 } 1831 }) 1832 } 1833 function g(e, t, r, n, i) { 1834 const s = e.info 1835 null === r ? delete s.jsAttributes[t] : (s.jsAttributes[t] = r), 1836 (i || null === r) && (0, a.p)(d.Pl + n, [(0, c.t)(), t, r], void 0, "session", e.ee) 1837 } 1838 var m = i(1687), 1839 v = i(4234), 1840 b = i(5289), 1841 y = i(6154), 1842 w = i(5270), 1843 x = i(7767), 1844 R = i(6389), 1845 T = i(7699) 1846 class E extends v.W { 1847 constructor(e, t) { 1848 super(e.agentIdentifier, t), 1849 (this.agentRef = e), 1850 (this.abortHandler = void 0), 1851 (this.featAggregate = void 0), 1852 (this.loadedSuccessfully = void 0), 1853 (this.onAggregateImported = new Promise((e) => { 1854 this.loadedSuccessfully = e 1855 })), 1856 (this.deferred = Promise.resolve()), 1857 !1 === e.init[this.featureName].autoStart 1858 ? (this.deferred = new Promise((t, r) => { 1859 this.ee.on( 1860 "manual-start-all", 1861 (0, R.J)(() => { 1862 ;(0, m.Ak)(e.agentIdentifier, this.featureName), t() 1863 }) 1864 ) 1865 })) 1866 : (0, m.Ak)(e.agentIdentifier, t) 1867 } 1868 importAggregator(e, t, r = {}) { 1869 if (this.featAggregate) return 1870 const n = async () => { 1871 let n 1872 await this.deferred 1873 try { 1874 if ((0, x.V)(e.init)) { 1875 const { setupAgentSession: t } = await i.e(478).then(i.bind(i, 8766)) 1876 n = t(e) 1877 } 1878 } catch (e) { 1879 ;(0, l.R)(20, e), 1880 this.ee.emit("internal-error", [e]), 1881 (0, a.p)(T.qh, [e], void 0, this.featureName, this.ee) 1882 } 1883 try { 1884 if (!this.#t(this.featureName, n, e.init)) 1885 return ( 1886 (0, m.Ze)(this.agentIdentifier, this.featureName), 1887 void this.loadedSuccessfully(!1) 1888 ) 1889 const { Aggregate: i } = await t() 1890 ;(this.featAggregate = new i(e, r)), 1891 e.runtime.harvester.initializedAggregates.push(this.featAggregate), 1892 this.loadedSuccessfully(!0) 1893 } catch (e) { 1894 ;(0, l.R)(34, e), 1895 this.abortHandler?.(), 1896 (0, m.Ze)(this.agentIdentifier, this.featureName, !0), 1897 this.loadedSuccessfully(!1), 1898 this.ee && this.ee.abort() 1899 } 1900 } 1901 y.RI ? (0, b.GG)(() => n(), !0) : n() 1902 } 1903 #t(e, t, r) { 1904 if (this.blocked) return !1 1905 switch (e) { 1906 case n.K7.sessionReplay: 1907 return (0, w.SR)(r) && !!t 1908 case n.K7.sessionTrace: 1909 return !!t 1910 default: 1911 return !0 1912 } 1913 } 1914 } 1915 var A = i(6630), 1916 S = i(2614)
1917 class _ extends E { 1918 static featureName = A.T 1919 constructor(e) { 1920 var t 1921 super(e, A.T), 1922 this.setupInspectionEvents(e.agentIdentifier), 1923 (t = e), 1924 p( 1925 d.Fw, 1926 function (e, r) { 1927 "string" == typeof e && 1928 ("/" !== e.charAt(0) && (e = "/" + e), 1929 (t.runtime.customTransaction = (r || "http://custom.transaction") + e), 1930 (0, a.p)(d.Pl + d.Fw, [(0, c.t)()], void 0, void 0, t.ee)) 1931 }, 1932 t 1933 ), 1934 this.importAggregator(e, () => i.e(478).then(i.bind(i, 1983))) 1935 } 1936 setupInspectionEvents(e) { 1937 const t = (t, r) => { 1938 t && 1939 (0, u.W)({ 1940 agentIdentifier: e, 1941 timeStamp: t.timeStamp, 1942 loaded: "complete" === t.target.readyState, 1943 type: "window", 1944 name: r, 1945 data: t.target.location + "", 1946 }) 1947 } 1948 ;(0, b.sB)((e) => { 1949 t(e, "DOMContentLoaded") 1950 }), 1951 (0, b.GG)((e) => { 1952 t(e, "load") 1953 }), 1954 (0, b.Qr)((e) => { 1955 t(e, "navigate") 1956 }), 1957 this.ee.on(S.tS.UPDATE, (t, r) => { 1958 ;(0, u.W)({ agentIdentifier: e, type: "lifecycle", name: "session", data: r }) 1959 }) 1960 } 1961 } 1962 var O = i(384) 1963 var N = i(2843), 1964 I = i(782) 1965 class P extends E { 1966 static featureName = I.T 1967 constructor(e) { 1968 super(e, I.T), 1969 y.RI && 1970 ((0, N.u)(() => (0, a.p)("docHidden", [(0, c.t)()], void 0, I.T, this.ee), !0), 1971 (0, N.G)(() => (0, a.p)("winPagehide", [(0, c.t)()], void 0, I.T, this.ee)), 1972 this.importAggregator(e, () => i.e(478).then(i.bind(i, 9917)))) 1973 } 1974 } 1975 class j extends E { 1976 static featureName = h.TZ 1977 constructor(e) { 1978 super(e, h.TZ), 1979 y.RI && 1980 document.addEventListener("securitypolicyviolation", (e) => { 1981 ;(0, a.p)( 1982 h.xV, 1983 ["Generic/CSPViolation/Detected"], 1984 void 0, 1985 this.featureName, 1986 this.ee 1987 ) 1988 }), 1989 this.importAggregator(e, () => i.e(478).then(i.bind(i, 6555))) 1990 } 1991 } 1992 var k = i(6774), 1993 C = i(3878), 1994 D = i(3304) 1995 class L { 1996 constructor(e, t, r, n, i) { 1997 ;(this.name = "UncaughtError"), 1998 (this.message = "string" == typeof e ? e : (0, D.A)(e)), 1999 (this.sourceURL = t), 2000 (this.line = r), 2001 (this.column = n), 2002 (this.__newrelic = i) 2003 } 2004 } 2005 function M(e) { 2006 return K(e) 2007 ? e 2008 : new L( 2009 void 0 !== e?.message ? e.message : e, 2010 e?.filename || e?.sourceURL, 2011 e?.lineno || e?.line, 2012 e?.colno || e?.col, 2013 e?.__newrelic, 2014 e?.cause 2015 ) 2016 } 2017 function H(e) { 2018 const t = "Unhandled Promise Rejection: " 2019 if (!e?.reason) return 2020 if (K(e.reason)) { 2021 try { 2022 e.reason.message.startsWith(t) || (e.reason.message = t + e.reason.message) 2023 } catch (e) {} 2024 return M(e.reason) 2025 } 2026 const r = M(e.reason) 2027 return (r.message || "").startsWith(t) || (r.message = t + r.message), r 2028 } 2029 function B(e) { 2030 if (e.error instanceof SyntaxError && !/:\d+$/.test(e.error.stack?.trim())) { 2031 const t = new L(e.message, e.filename, e.lineno, e.colno, e.error.__newrelic, e.cause) 2032 return (t.name = SyntaxError.name), t 2033 } 2034 return K(e.error) ? e.error : M(e) 2035 } 2036 function K(e) { 2037 return e instanceof Error && !!e.stack 2038 } 2039 function W(e, t, r, i, s = (0, c.t)()) { 2040 "string" == typeof e && (e = new Error(e)), 2041 (0, a.p)( 2042 "err", 2043 [e, s, !1, t, r.runtime.isRecording, void 0, i], 2044 void 0, 2045 n.K7.jserrors, 2046 r.ee 2047 ), 2048 (0, a.p)("uaErr", [], void 0, n.K7.genericEvents, r.ee) 2049 } 2050 var U = i(4387), 2051 F = i(993), 2052 V = i(3785) 2053 function G(e, { customAttributes: t = {}, level: r = F.p_.INFO } = {}, n, i, s = (0, c.t)()) { 2054 ;(0, V.R)(n.ee, e, t, r, i, s) 2055 } 2056 function z(e, t, r, i, s = (0, c.t)()) { 2057 ;(0, a.p)(d.Pl + d.hG, [s, e, t, i], void 0, n.K7.genericEvents, r.ee) 2058 } 2059 function Z(e, t, r, i, s = (0, c.t)()) { 2060 const { start: o, end: u, customAttributes: f } = t || {}, 2061 h = { customAttributes: f || {} } 2062 if ("object" != typeof h.customAttributes || "string" != typeof e || 0 === e.length) 2063 return void (0, l.R)(57) 2064 const p = (e, t) => 2065 null == e 2066 ? t 2067 : "number" == typeof e 2068 ? e 2069 : e instanceof PerformanceMark 2070 ? e.startTime 2071 : Number.NaN 2072 if (((h.start = p(o, 0)), (h.end = p(u, s)), Number.isNaN(h.start) || Number.isNaN(h.end))) 2073 (0, l.R)(57) 2074 else { 2075 if (((h.duration = h.end - h.start), !(h.duration < 0))) 2076 return (0, a.p)(d.Pl + d.V1, [h, e, i], void 0, n.K7.genericEvents, r.ee), h 2077 ;(0, l.R)(58) 2078 } 2079 } 2080 function q(e, t = {}, r, i, s = (0, c.t)()) { 2081 ;(0, a.p)(d.Pl + d.fF, [s, e, t, i], void 0, n.K7.genericEvents, r.ee) 2082 } 2083 function X(e) { 2084 p( 2085 d.eY, 2086 function (t) { 2087 return Y(e, t) 2088 }, 2089 e 2090 ) 2091 } 2092 function Y(e, t, r) { 2093 const i = {} 2094 ;(0, l.R)(54, "newrelic.register"), 2095 (t ||= {}),
2096 (t.eventSource = "MicroFrontendBrowserAgent"), 2097 (t.licenseKey ||= e.info.licenseKey), 2098 (t.blocked = !1), 2099 (t.parent = r || {}) 2100 let s = () => {} 2101 const o = e.runtime.registeredEntities, 2102 d = o.find( 2103 ({ 2104 metadata: { 2105 target: { id: e, name: r }, 2106 }, 2107 }) => e === t.id 2108 ) 2109 if (d) return d.metadata.target.name !== t.name && (d.metadata.target.name = t.name), d 2110 const u = (e) => { 2111 ;(t.blocked = !0), (s = e) 2112 } 2113 e.init.api.allow_registered_children || u((0, R.J)(() => (0, l.R)(55))), 2114 (0, U.c7)(t) || u((0, R.J)(() => (0, l.R)(48, t))), 2115 ((0, U.yo)(t.id) && (0, U.yo)(t.name)) || u((0, R.J)(() => (0, l.R)(48, t))) 2116 const f = { 2117 addPageAction: (r, n = {}) => m(z, [r, { ...i, ...n }, e], t), 2118 log: (r, n = {}) => 2119 m(G, [r, { ...n, customAttributes: { ...i, ...(n.customAttributes || {}) } }, e], t), 2120 measure: (r, n = {}) => 2121 m(Z, [r, { ...n, customAttributes: { ...i, ...(n.customAttributes || {}) } }, e], t), 2122 noticeError: (r, n = {}) => m(W, [r, { ...i, ...n }, e], t), 2123 register: (t = {}) => m(Y, [e, t], f.metadata.target), 2124 recordCustomEvent: (r, n = {}) => m(q, [r, { ...i, ...n }, e], t), 2125 setApplicationVersion: (e) => g("application.version", e), 2126 setCustomAttribute: (e, t) => g(e, t), 2127 setUserId: (e) => g("enduser.id", e), 2128 metadata: { customAttributes: i, target: t }, 2129 }, 2130 p = () => (t.blocked && s(), t.blocked) 2131 p() || o.push(f) 2132 const g = (e, t) => { 2133 p() || (i[e] = t) 2134 }, 2135 m = (t, r, i) => { 2136 if (p()) return 2137 const s = (0, c.t)() 2138 ;(0, a.p)(h.xV, ["API/register/".concat(t.name, "/called")], void 0, n.K7.metrics, e.ee) 2139 try { 2140 return ( 2141 e.init.api.duplicate_registered_data && "register" !== t.name && t(...r, void 0, s), 2142 t(...r, i, s) 2143 ) 2144 } catch (e) { 2145 ;(0, l.R)(50, e) 2146 } 2147 } 2148 return f 2149 } 2150 class J extends E { 2151 static featureName = k.T 2152 constructor(e) { 2153 var t 2154 super(e, k.T), 2155 (t = e), 2156 p(d.o5, (e, r) => W(e, r, t), t), 2157 (function (e) { 2158 p( 2159 d.bt, 2160 function (t) { 2161 e.runtime.onerror = t 2162 }, 2163 e 2164 ) 2165 })(e), 2166 (function (e) { 2167 let t = 0 2168 p( 2169 d.k6, 2170 function (e, r) { 2171 ++t > 10 || (this.runtime.releaseIds[e.slice(-200)] = ("" + r).slice(-200)) 2172 }, 2173 e 2174 ) 2175 })(e), 2176 X(e) 2177 try { 2178 this.removeOnAbort = new AbortController() 2179 } catch (e) {} 2180 this.ee.on("internal-error", (t, r) => { 2181 this.abortHandler && 2182 (0, a.p)( 2183 "ierr", 2184 [M(t), (0, c.t)(), !0, {}, e.runtime.isRecording, r], 2185 void 0, 2186 this.featureName, 2187 this.ee 2188 ) 2189 }), 2190 y.gm.addEventListener( 2191 "unhandledrejection", 2192 (t) => { 2193 this.abortHandler && 2194 (0, a.p)( 2195 "err", 2196 [H(t), (0, c.t)(), !1, { unhandledPromiseRejection: 1 }, e.runtime.isRecording], 2197 void 0, 2198 this.featureName, 2199 this.ee 2200 ) 2201 }, 2202 (0, C.jT)(!1, this.removeOnAbort?.signal) 2203 ), 2204 y.gm.addEventListener( 2205 "error", 2206 (t) => { 2207 this.abortHandler && 2208 (0, a.p)( 2209 "err", 2210 [B(t), (0, c.t)(), !1, {}, e.runtime.isRecording], 2211 void 0, 2212 this.featureName, 2213 this.ee 2214 ) 2215 }, 2216 (0, C.jT)(!1, this.removeOnAbort?.signal) 2217 ), 2218 (this.abortHandler = this.#r), 2219 this.importAggregator(e, () => i.e(478).then(i.bind(i, 2176))) 2220 } 2221 #r() { 2222 this.removeOnAbort?.abort(), (this.abortHandler = void 0) 2223 } 2224 } 2225 var Q = i(8990) 2226 let ee = 1 2227 function te(e) { 2228 const t = typeof e 2229 return !e || ("object" !== t && "function" !== t) 2230 ? -1 2231 : e === y.gm 2232 ? 0 2233 : (0, Q.I)(e, "nr@id", function () { 2234 return ee++ 2235 }) 2236 } 2237 function re(e) { 2238 if ("string" == typeof e && e.length) return e.length 2239 if ("object" == typeof e) { 2240 if ("undefined" != typeof ArrayBuffer && e instanceof ArrayBuffer && e.byteLength) 2241 return e.byteLength 2242 if ("undefined" != typeof Blob && e instanceof Blob && e.size) return e.size 2243 if (!("undefined" != typeof FormData && e instanceof FormData)) 2244 try { 2245 return (0, D.A)(e).length 2246 } catch (e) { 2247 return 2248 } 2249 } 2250 } 2251 var ne = i(8139), 2252 ie = i(7836), 2253 se = i(3434) 2254 const oe = {}, 2255 ae = ["open", "send"] 2256 function ce(e) { 2257 var t = e || ie.ee 2258 const r = (function (e) { 2259 return (e || ie.ee).get("xhr") 2260 })(t) 2261 if (void 0 === y.gm.XMLHttpRequest) return r 2262 if (oe[r.debugId]++) return r 2263 ;(oe[r.debugId] = 1), (0, ne.u)(t) 2264 var n = (0, se.YM)(r),
2265 i = y.gm.XMLHttpRequest, 2266 s = y.gm.MutationObserver, 2267 o = y.gm.Promise, 2268 a = y.gm.setInterval, 2269 c = "readystatechange", 2270 d = [ 2271 "onload", 2272 "onerror", 2273 "onabort", 2274 "onloadstart", 2275 "onloadend", 2276 "onprogress", 2277 "ontimeout", 2278 ], 2279 u = [], 2280 f = (y.gm.XMLHttpRequest = function (e) { 2281 const t = new i(e), 2282 s = r.context(t) 2283 try { 2284 r.emit("new-xhr", [t], s), 2285 t.addEventListener( 2286 c, 2287 ((o = s), 2288 function () { 2289 var e = this 2290 e.readyState > 3 && 2291 !o.resolved && 2292 ((o.resolved = !0), r.emit("xhr-resolved", [], e)), 2293 n.inPlace(e, d, "fn-", b) 2294 }), 2295 (0, C.jT)(!1) 2296 ) 2297 } catch (e) { 2298 ;(0, l.R)(15, e) 2299 try { 2300 r.emit("internal-error", [e]) 2301 } catch (e) {} 2302 } 2303 var o 2304 return t 2305 }) 2306 function h(e, t) { 2307 n.inPlace(t, ["onreadystatechange"], "fn-", b) 2308 } 2309 if ( 2310 ((function (e, t) { 2311 for (var r in e) t[r] = e[r] 2312 })(i, f), 2313 (f.prototype = i.prototype), 2314 n.inPlace(f.prototype, ae, "-xhr-", b), 2315 r.on("send-xhr-start", function (e, t) { 2316 h(e, t), 2317 (function (e) { 2318 u.push(e), s && (p ? p.then(v) : a ? a(v) : ((g = -g), (m.data = g))) 2319 })(t) 2320 }), 2321 r.on("open-xhr-start", h), 2322 s) 2323 ) { 2324 var p = o && o.resolve() 2325 if (!a && !o) { 2326 var g = 1, 2327 m = document.createTextNode(g) 2328 new s(v).observe(m, { characterData: !0 }) 2329 } 2330 } else 2331 t.on("fn-end", function (e) { 2332 ;(e[0] && e[0].type === c) || v() 2333 }) 2334 function v() { 2335 for (var e = 0; e < u.length; e++) h(0, u[e]) 2336 u.length && (u = []) 2337 } 2338 function b(e, t) { 2339 return t 2340 } 2341 return r 2342 } 2343 var de = "fetch-", 2344 ue = de + "body-", 2345 le = ["arrayBuffer", "blob", "json", "text", "formData"], 2346 fe = y.gm.Request, 2347 he = y.gm.Response, 2348 pe = "prototype" 2349 const ge = {} 2350 function me(e) { 2351 const t = (function (e) { 2352 return (e || ie.ee).get("fetch") 2353 })(e) 2354 if (!(fe && he && y.gm.fetch)) return t 2355 if (ge[t.debugId]++) return t 2356 function r(e, r, n) { 2357 var i = e[r] 2358 "function" == typeof i && 2359 (e[r] = function () { 2360 var e, 2361 r = [...arguments], 2362 s = {} 2363 t.emit(n + "before-start", [r], s), s[ie.P] && s[ie.P].dt && (e = s[ie.P].dt) 2364 var o = i.apply(this, r) 2365 return ( 2366 t.emit(n + "start", [r, e], o), 2367 o.then( 2368 function (e) { 2369 return t.emit(n + "end", [null, e], o), e 2370 }, 2371 function (e) { 2372 throw (t.emit(n + "end", [e], o), e) 2373 } 2374 ) 2375 ) 2376 }) 2377 } 2378 return ( 2379 (ge[t.debugId] = 1), 2380 le.forEach((e) => { 2381 r(fe[pe], e, ue), r(he[pe], e, ue) 2382 }), 2383 r(y.gm, "fetch", de), 2384 t.on(de + "end", function (e, r) { 2385 var n = this 2386 if (r) { 2387 var i = r.headers.get("content-length") 2388 null !== i && (n.rxSize = i), t.emit(de + "done", [null, r], n) 2389 } else t.emit(de + "done", [e], n) 2390 }), 2391 t 2392 ) 2393 } 2394 var ve = i(7485) 2395 class be { 2396 constructor(e) { 2397 this.agentRef = e 2398 } 2399 generateTracePayload(t) { 2400 const r = this.agentRef.loader_config 2401 if (!this.shouldGenerateTrace(t) || !r) return null 2402 var n = (r.accountID || "").toString() || null, 2403 i = (r.agentID || "").toString() || null, 2404 s = (r.trustKey || "").toString() || null 2405 if (!n || !i) return null 2406 var o = (0, e.ZF)(), 2407 a = (0, e.el)(), 2408 c = Date.now(), 2409 d = { spanId: o, traceId: a, timestamp: c } 2410 return ( 2411 (t.sameOrigin || (this.isAllowedOrigin(t) && this.useTraceContextHeadersForCors())) && 2412 ((d.traceContextParentHeader = this.generateTraceContextParentHeader(o, a)), 2413 (d.traceContextStateHeader = this.generateTraceContextStateHeader(o, c, n, i, s))), 2414 ((t.sameOrigin && !this.excludeNewrelicHeader()) || 2415 (!t.sameOrigin && this.isAllowedOrigin(t) && this.useNewrelicHeaderForCors())) && 2416 (d.newrelicHeader = this.generateTraceHeader(o, a, c, n, i, s)), 2417 d 2418 ) 2419 } 2420 generateTraceContextParentHeader(e, t) { 2421 return "00-" + t + "-" + e + "-01" 2422 } 2423 generateTraceContextStateHeader(e, t, r, n, i) {
2424 return i + "@nr=0-1-" + r + "-" + n + "-" + e + "----" + t 2425 } 2426 generateTraceHeader(e, t, r, n, i, s) { 2427 if (!("function" == typeof y.gm?.btoa)) return null 2428 var o = { v: [0, 1], d: { ty: "Browser", ac: n, ap: i, id: e, tr: t, ti: r } } 2429 return s && n !== s && (o.d.tk = s), btoa((0, D.A)(o)) 2430 } 2431 shouldGenerateTrace(e) { 2432 return this.agentRef.init?.distributed_tracing?.enabled && this.isAllowedOrigin(e) 2433 } 2434 isAllowedOrigin(e) { 2435 var t = !1 2436 const r = this.agentRef.init?.distributed_tracing 2437 if (e.sameOrigin) t = !0 2438 else if (r?.allowed_origins instanceof Array) 2439 for (var n = 0; n < r.allowed_origins.length; n++) { 2440 var i = (0, ve.D)(r.allowed_origins[n]) 2441 if (e.hostname === i.hostname && e.protocol === i.protocol && e.port === i.port) { 2442 t = !0 2443 break 2444 } 2445 } 2446 return t 2447 } 2448 excludeNewrelicHeader() { 2449 var e = this.agentRef.init?.distributed_tracing 2450 return !!e && !!e.exclude_newrelic_header 2451 } 2452 useNewrelicHeaderForCors() { 2453 var e = this.agentRef.init?.distributed_tracing 2454 return !!e && !1 !== e.cors_use_newrelic_header 2455 } 2456 useTraceContextHeadersForCors() { 2457 var e = this.agentRef.init?.distributed_tracing 2458 return !!e && !!e.cors_use_tracecontext_headers 2459 } 2460 } 2461 var ye = i(9300), 2462 we = i(7295) 2463 function xe(e) { 2464 return "string" == typeof e 2465 ? e 2466 : e instanceof (0, O.dV)().o.REQ 2467 ? e.url 2468 : y.gm?.URL && e instanceof URL 2469 ? e.href 2470 : void 0 2471 } 2472 var Re = ["load", "error", "abort", "timeout"], 2473 Te = Re.length, 2474 Ee = (0, O.dV)().o.REQ, 2475 Ae = (0, O.dV)().o.XHR 2476 const Se = "X-NewRelic-App-Data" 2477 class _e extends E { 2478 static featureName = ye.T 2479 constructor(e) { 2480 super(e, ye.T), 2481 (this.dt = new be(e)), 2482 (this.handler = (e, t, r, n) => (0, a.p)(e, t, r, n, this.ee)) 2483 try { 2484 const e = { xmlhttprequest: "xhr", fetch: "fetch", beacon: "beacon" } 2485 y.gm?.performance?.getEntriesByType("resource").forEach((t) => { 2486 if (t.initiatorType in e && 0 !== t.responseStatus) { 2487 const r = { status: t.responseStatus }, 2488 i = { rxSize: t.transferSize, duration: Math.floor(t.duration), cbTime: 0 } 2489 Oe(r, t.name), 2490 this.handler( 2491 "xhr", 2492 [r, i, t.startTime, t.responseEnd, e[t.initiatorType]], 2493 void 0, 2494 n.K7.ajax 2495 ) 2496 } 2497 }) 2498 } catch (e) {} 2499 me(this.ee), 2500 ce(this.ee), 2501 (function (e, t, r, i) { 2502 function s(e) { 2503 var t = this 2504 ;(t.totalCbs = 0), 2505 (t.called = 0), 2506 (t.cbTime = 0), 2507 (t.end = E), 2508 (t.ended = !1), 2509 (t.xhrGuids = {}), 2510 (t.lastSize = null), 2511 (t.loadCaptureCalled = !1), 2512 (t.params = this.params || {}), 2513 (t.metrics = this.metrics || {}), 2514 (t.latestLongtaskEnd = 0), 2515 e.addEventListener( 2516 "load", 2517 function (r) { 2518 A(t, e) 2519 }, 2520 (0, C.jT)(!1) 2521 ), 2522 y.lR || 2523 e.addEventListener( 2524 "progress", 2525 function (e) { 2526 t.lastSize = e.loaded 2527 }, 2528 (0, C.jT)(!1) 2529 ) 2530 } 2531 function o(e) { 2532 ;(this.params = { method: e[0] }), Oe(this, e[1]), (this.metrics = {}) 2533 } 2534 function d(t, r) { 2535 e.loader_config.xpid && 2536 this.sameOrigin && 2537 r.setRequestHeader("X-NewRelic-ID", e.loader_config.xpid) 2538 var n = i.generateTracePayload(this.parsedOrigin) 2539 if (n) { 2540 var s = !1 2541 n.newrelicHeader && (r.setRequestHeader("newrelic", n.newrelicHeader), (s = !0)), 2542 n.traceContextParentHeader && 2543 (r.setRequestHeader("traceparent", n.traceContextParentHeader), 2544 n.traceContextStateHeader && 2545 r.setRequestHeader("tracestate", n.traceContextStateHeader), 2546 (s = !0)), 2547 s && (this.dt = n) 2548 } 2549 } 2550 function u(e, r) { 2551 var n = this.metrics, 2552 i = e[0], 2553 s = this 2554 if (n && i) { 2555 var o = re(i) 2556 o && (n.txSize = o) 2557 } 2558 ;(this.startTime = (0, c.t)()), 2559 (this.body = i), 2560 (this.listener = function (e) { 2561 try { 2562 "abort" !== e.type || s.loadCaptureCalled || (s.params.aborted = !0), 2563 ("load" !== e.type || 2564 (s.called === s.totalCbs && 2565 (s.onloadCalled || "function" != typeof r.onload) && 2566 "function" == typeof s.end)) && 2567 s.end(r) 2568 } catch (e) { 2569 try { 2570 t.emit("internal-error", [e]) 2571 } catch (e) {} 2572 } 2573 }) 2574 for (var a = 0; a < Te; a++) r.addEventListener(Re[a], this.listener, (0, C.jT)(!1)) 2575 } 2576 function l(e, t, r) { 2577 ;(this.cbTime += e), 2578 t ? (this.onloadCalled = !0) : (this.called += 1), 2579 this.called !== this.totalCbs || 2580 (!this.onloadCalled && "function" == typeof r.onload) || 2581 "function" != typeof this.end || 2582 this.end(r) 2583 } 2584 function f(e, t) { 2585 var r = "" + te(e) + !!t 2586 this.xhrGuids && 2587 !this.xhrGuids[r] && 2588 ((this.xhrGuids[r] = !0), (this.totalCbs += 1)) 2589 } 2590 function p(e, t) { 2591 var r = "" + te(e) + !!t 2592 this.xhrGuids && this.xhrGuids[r] && (delete this.xhrGuids[r], (this.totalCbs -= 1)) 2593 } 2594 function g() { 2595 this.endTime = (0, c.t)() 2596 } 2597 function m(e, r) { 2598 r instanceof Ae && "load" === e[0] && t.emit("xhr-load-added", [e[1], e[2]], r) 2599 } 2600 function v(e, r) { 2601 r instanceof Ae && "load" === e[0] && t.emit("xhr-load-removed", [e[1], e[2]], r) 2602 } 2603 function b(e, t, r) { 2604 t instanceof Ae && 2605 ("onload" === r && (this.onload = !0), 2606 ("load" === (e[0] && e[0].type) || this.onload) && (this.xhrCbStart = (0, c.t)())) 2607 } 2608 function w(e, r) { 2609 this.xhrCbStart && 2610 t.emit("xhr-cb-time", [(0, c.t)() - this.xhrCbStart, this.onload, r], r) 2611 } 2612 function x(e) { 2613 var t, 2614 r = e[1] || {} 2615 if ( 2616 ("string" == typeof e[0] 2617 ? 0 === (t = e[0]).length && y.RI && (t = "" + y.gm.location.href) 2618 : e[0] && e[0].url 2619 ? (t = e[0].url) 2620 : y.gm?.URL && e[0] && e[0] instanceof URL 2621 ? (t = e[0].href) 2622 : "function" == typeof e[0].toString && (t = e[0].toString()), 2623 "string" == typeof t && 0 !== t.length) 2624 ) { 2625 t && 2626 ((this.parsedOrigin = (0, ve.D)(t)), 2627 (this.sameOrigin = this.parsedOrigin.sameOrigin)) 2628 var n = i.generateTracePayload(this.parsedOrigin) 2629 if (n && (n.newrelicHeader || n.traceContextParentHeader)) 2630 if (e[0] && e[0].headers) a(e[0].headers, n) && (this.dt = n) 2631 else { 2632 var s = {} 2633 for (var o in r) s[o] = r[o] 2634 ;(s.headers = new Headers(r.headers || {})), 2635 a(s.headers, n) && (this.dt = n), 2636 e.length > 1 ? (e[1] = s) : e.push(s) 2637 } 2638 } 2639 function a(e, t) { 2640 var r = !1 2641 return ( 2642 t.newrelicHeader && (e.set("newrelic", t.newrelicHeader), (r = !0)), 2643 t.traceContextParentHeader && 2644 (e.set("traceparent", t.traceContextParentHeader), 2645 t.traceContextStateHeader && e.set("tracestate", t.traceContextStateHeader), 2646 (r = !0)), 2647 r 2648 ) 2649 } 2650 } 2651 function R(e, t) { 2652 ;(this.params = {}), 2653 (this.metrics = {}), 2654 (this.startTime = (0, c.t)()), 2655 (this.dt = t), 2656 e.length >= 1 && (this.target = e[0]), 2657 e.length >= 2 && (this.opts = e[1]) 2658 var r = this.opts || {}, 2659 n = this.target 2660 Oe(this, xe(n)) 2661 var i = ( 2662 "" + ((n && n instanceof Ee && n.method) || r.method || "GET") 2663 ).toUpperCase() 2664 ;(this.params.method = i), (this.body = r.body), (this.txSize = re(r.body) || 0) 2665 } 2666 function T(e, t) { 2667 if ( 2668 ((this.endTime = (0, c.t)()), 2669 this.params || (this.params = {}), 2670 (0, we.iW)(this.params)) 2671 ) 2672 return 2673 let i 2674 ;(this.params.status = t ? t.status : 0), 2675 "string" == typeof this.rxSize && this.rxSize.length > 0 && (i = +this.rxSize) 2676 const s = { txSize: this.txSize, rxSize: i, duration: (0, c.t)() - this.startTime } 2677 r("xhr", [this.params, s, this.startTime, this.endTime, "fetch"], this, n.K7.ajax) 2678 } 2679 function E(e) { 2680 const t = this.params, 2681 i = this.metrics 2682 if (!this.ended) { 2683 this.ended = !0 2684 for (let t = 0; t < Te; t++) e.removeEventListener(Re[t], this.listener, !1) 2685 t.aborted || 2686 (0, we.iW)(t) || 2687 ((i.duration = (0, c.t)() - this.startTime), 2688 this.loadCaptureCalled || 4 !== e.readyState 2689 ? null == t.status && (t.status = 0) 2690 : A(this, e), 2691 (i.cbTime = this.cbTime), 2692 r("xhr", [t, i, this.startTime, this.endTime, "xhr"], this, n.K7.ajax)) 2693 } 2694 } 2695 function A(e, r) { 2696 e.params.status = r.status 2697 var i = (function (e, t) { 2698 var r = e.responseType 2699 return "json" === r && null !== t 2700 ? t 2701 : "arraybuffer" === r || "blob" === r || "json" === r 2702 ? re(e.response) 2703 : "text" === r || "" === r || void 0 === r 2704 ? re(e.responseText) 2705 : void 0 2706 })(r, e.lastSize) 2707 if ( 2708 (i && (e.metrics.rxSize = i), 2709 e.sameOrigin && r.getAllResponseHeaders().indexOf(Se) >= 0) 2710 ) { 2711 var s = r.getResponseHeader(Se) 2712 s && 2713 ((0, a.p)( 2714 h.rs, 2715 ["Ajax/CrossApplicationTracing/Header/Seen"], 2716 void 0, 2717 n.K7.metrics, 2718 t 2719 ), 2720 (e.params.cat = s.split(", ").pop())) 2721 } 2722 e.loadCaptureCalled = !0 2723 } 2724 t.on("new-xhr", s), 2725 t.on("open-xhr-start", o), 2726 t.on("open-xhr-end", d), 2727 t.on("send-xhr-start", u), 2728 t.on("xhr-cb-time", l),
2729 t.on("xhr-load-added", f), 2730 t.on("xhr-load-removed", p), 2731 t.on("xhr-resolved", g), 2732 t.on("addEventListener-end", m), 2733 t.on("removeEventListener-end", v), 2734 t.on("fn-end", w), 2735 t.on("fetch-before-start", x), 2736 t.on("fetch-start", R), 2737 t.on("fn-start", b), 2738 t.on("fetch-done", T) 2739 })(e, this.ee, this.handler, this.dt), 2740 this.importAggregator(e, () => i.e(478).then(i.bind(i, 3845))) 2741 } 2742 } 2743 function Oe(e, t) { 2744 var r = (0, ve.D)(t), 2745 n = e.params || e 2746 ;(n.hostname = r.hostname), 2747 (n.port = r.port), 2748 (n.protocol = r.protocol), 2749 (n.host = r.hostname + ":" + r.port), 2750 (n.pathname = r.pathname), 2751 (e.parsedOrigin = r), 2752 (e.sameOrigin = r.sameOrigin) 2753 } 2754 const Ne = {}, 2755 Ie = ["pushState", "replaceState"] 2756 function Pe(e) { 2757 const t = (function (e) { 2758 return (e || ie.ee).get("history") 2759 })(e) 2760 return ( 2761 !y.RI || 2762 Ne[t.debugId]++ || 2763 ((Ne[t.debugId] = 1), (0, se.YM)(t).inPlace(window.history, Ie, "-")), 2764 t 2765 ) 2766 } 2767 var je = i(3738) 2768 function ke(e) { 2769 p( 2770 d.BL, 2771 function (t = Date.now()) { 2772 const r = t - y.WN 2773 r < 0 && (0, l.R)(62, t), 2774 (0, a.p)(h.XG, [d.BL, { time: r }], void 0, n.K7.metrics, e.ee), 2775 e.addToTrace({ name: d.BL, start: t, origin: "nr" }), 2776 (0, a.p)(d.Pl + d.hG, [r, d.BL], void 0, n.K7.genericEvents, e.ee) 2777 }, 2778 e 2779 ) 2780 } 2781 const { He: Ce, bD: De, d3: Le, Kp: Me, TZ: He, Lc: Be, uP: Ke, Rz: We } = je 2782 class Ue extends E { 2783 static featureName = He 2784 constructor(e) { 2785 var t 2786 super(e, He), 2787 (t = e), 2788 p( 2789 d.U2, 2790 function (e) { 2791 if (!(e && "object" == typeof e && e.name && e.start)) return 2792 const r = { 2793 n: e.name, 2794 s: e.start - y.WN, 2795 e: (e.end || e.start) - y.WN, 2796 o: e.origin || "", 2797 t: "api", 2798 } 2799 r.s < 0 || r.e < 0 || r.e < r.s 2800 ? (0, l.R)(61, { start: r.s, end: r.e }) 2801 : (0, a.p)("bstApi", [r], void 0, n.K7.sessionTrace, t.ee) 2802 }, 2803 t 2804 ), 2805 ke(e) 2806 if (!(0, x.V)(e.init)) return void this.deregisterDrain() 2807 const r = this.ee 2808 let s 2809 Pe(r), 2810 (this.eventsEE = (0, ne.u)(r)), 2811 this.eventsEE.on(Ke, function (e, t) { 2812 this.bstStart = (0, c.t)() 2813 }), 2814 this.eventsEE.on(Be, function (e, t) { 2815 ;(0, a.p)("bst", [e[0], t, this.bstStart, (0, c.t)()], void 0, n.K7.sessionTrace, r) 2816 }), 2817 r.on(We + Le, function (e) { 2818 ;(this.time = (0, c.t)()), (this.startPath = location.pathname + location.hash) 2819 }), 2820 r.on(We + Me, function (e) { 2821 ;(0, a.p)( 2822 "bstHist", 2823 [location.pathname + location.hash, this.startPath, this.time], 2824 void 0, 2825 n.K7.sessionTrace, 2826 r 2827 ) 2828 }) 2829 try { 2830 ;(s = new PerformanceObserver((e) => { 2831 const t = e.getEntries() 2832 ;(0, a.p)(Ce, [t], void 0, n.K7.sessionTrace, r) 2833 })), 2834 s.observe({ type: De, buffered: !0 }) 2835 } catch (e) {} 2836 this.importAggregator(e, () => i.e(478).then(i.bind(i, 6974)), { resourceObserver: s }) 2837 } 2838 } 2839 var Fe = i(6344) 2840 class Ve extends E { 2841 static featureName = Fe.TZ 2842 #n 2843 recorder 2844 constructor(e) { 2845 var t 2846 let r 2847 super(e, Fe.TZ), 2848 (t = e), 2849 p( 2850 d.CH, 2851 function () { 2852 ;(0, a.p)(d.CH, [], void 0, n.K7.sessionReplay, t.ee) 2853 }, 2854 t 2855 ), 2856 (function (e) { 2857 p( 2858 d.Tb, 2859 function () { 2860 ;(0, a.p)(d.Tb, [], void 0, n.K7.sessionReplay, e.ee) 2861 }, 2862 e 2863 ) 2864 })(e) 2865 try { 2866 r = JSON.parse(localStorage.getItem("".concat(S.H3, "_").concat(S.uh))) 2867 } catch (e) {} 2868 ;(0, w.SR)(e.init) && this.ee.on(d.CH, () => this.#i()), 2869 this.#s(r) && 2870 this.importRecorder().then((e) => { 2871 e.startRecording(Fe.Qb.PRELOAD, r?.sessionReplayMode) 2872 }), 2873 this.importAggregator(this.agentRef, () => i.e(478).then(i.bind(i, 6167)), this), 2874 this.ee.on("err", (e) => { 2875 this.blocked || 2876 (this.agentRef.runtime.isRecording && 2877 ((this.errorNoticed = !0), 2878 (0, a.p)(Fe.Vh, [e], void 0, this.featureName, this.ee))) 2879 }) 2880 } 2881 #s(e) { 2882 return ( 2883 (e && (e.sessionReplayMode === S.g.FULL || e.sessionReplayMode === S.g.ER
2883ROR)) || 2884 (0, w.Aw)(this.agentRef.init) 2885 ) 2886 } 2887 importRecorder() { 2888 return this.recorder 2889 ? Promise.resolve(this.recorder) 2890 : ((this.#n ??= Promise.all([i.e(478), i.e(249)]) 2891 .then(i.bind(i, 4866)) 2892 .then(({ Recorder: e }) => ((this.recorder = new e(this)), this.recorder)) 2893 .catch((e) => { 2894 throw (this.ee.emit("internal-error", [e]), (this.blocked = !0), e) 2895 })), 2896 this.#n) 2897 } 2898 #i() { 2899 this.blocked || 2900 (this.featAggregate 2901 ? this.featAggregate.mode !== S.g.FULL && 2902 this.featAggregate.initializeRecording(S.g.FULL, !0, Fe.Qb.API) 2903 : this.importRecorder().then(() => { 2904 this.recorder.startRecording(Fe.Qb.API, S.g.FULL) 2905 })) 2906 } 2907 } 2908 var Ge = i(3962) 2909 function ze(e) { 2910 const t = e.ee.get("tracer") 2911 function r() {} 2912 p( 2913 d.dT, 2914 function (e) { 2915 return new r().get("object" == typeof e ? e : {}) 2916 }, 2917 e 2918 ) 2919 const i = (r.prototype = { 2920 createTracer: function (r, i) { 2921 var s = {}, 2922 o = this, 2923 u = "function" == typeof i 2924 return ( 2925 (0, a.p)(h.xV, ["API/createTracer/called"], void 0, n.K7.metrics, e.ee), 2926 e.runSoftNavOverSpa || 2927 (0, a.p)(d.hw + "tracer", [(0, c.t)(), r, s], o, n.K7.spa, e.ee), 2928 function () { 2929 if ((t.emit((u ? "" : "no-") + "fn-start", [(0, c.t)(), o, u], s), u)) 2930 try { 2931 return i.apply(this, arguments) 2932 } catch (e) { 2933 const r = "string" == typeof e ? new Error(e) : e 2934 throw (t.emit("fn-err", [arguments, this, r], s), r) 2935 } finally { 2936 t.emit("fn-end", [(0, c.t)()], s) 2937 } 2938 } 2939 ) 2940 }, 2941 }) 2942 ;[ 2943 "actionText", 2944 "setName", 2945 "setAttribute", 2946 "save", 2947 "ignore", 2948 "onEnd", 2949 "getContext", 2950 "end", 2951 "get", 2952 ].forEach((t) => { 2953 p.apply(this, [ 2954 t, 2955 function () { 2956 return ( 2957 (0, a.p)( 2958 d.hw + t, 2959 [(0, c.t)(), ...arguments], 2960 this, 2961 e.runSoftNavOverSpa ? n.K7.softNav : n.K7.spa, 2962 e.ee 2963 ), 2964 this 2965 ) 2966 }, 2967 e, 2968 i, 2969 ]) 2970 }), 2971 p( 2972 d.PA, 2973 function () { 2974 e.runSoftNavOverSpa 2975 ? (0, a.p)( 2976 d.hw + "routeName", 2977 [performance.now(), ...arguments], 2978 void 0, 2979 n.K7.softNav, 2980 e.ee 2981 ) 2982 : (0, a.p)(d.Pl + "routeName", [(0, c.t)(), ...arguments], this, n.K7.spa, e.ee) 2983 }, 2984 e 2985 ) 2986 } 2987 class Ze extends E { 2988 static featureName = Ge.TZ 2989 constructor(e) { 2990 if ((super(e, Ge.TZ), ze(e), !y.RI || !(0, O.dV)().o.MO)) return 2991 const t = Pe(this.ee) 2992 try { 2993 this.removeOnAbort = new AbortController() 2994 } catch (e) {} 2995 Ge.tC.forEach((e) => { 2996 ;(0, C.sp)( 2997 e, 2998 (e) => { 2999 o(e) 3000 }, 3001 !0, 3002 this.removeOnAbort?.signal 3003 ) 3004 }) 3005 const r = () => 3006 (0, a.p)( 3007 "newURL", 3008 [(0, c.t)(), "" + window.location], 3009 void 0, 3010 this.featureName, 3011 this.ee 3012 ) 3013 t.on("pushState-end", r), 3014 t.on("replaceState-end", r), 3015 (0, C.sp)( 3016 Ge.OV, 3017 (e) => { 3018 o(e), 3019 (0, a.p)( 3020 "newURL", 3021 [e.timeStamp, "" + window.location], 3022 void 0, 3023 this.featureName, 3024 this.ee 3025 ) 3026 }, 3027 !0, 3028 this.removeOnAbort?.signal 3029 ) 3030 let n = !1 3031 const s = new ((0, O.dV)().o.MO)((e, t) => { 3032 n || 3033 ((n = !0), 3034 requestAnimationFrame(() => { 3035 ;(0, a.p)("newDom", [(0, c.t)()], void 0, this.featureName, this.ee), (n = !1) 3036 })) 3037 }), 3038 o = (0, R.s)( 3039 (e) => { 3040 "loading" !== document.readyState && 3041 ((0, a.p)("newUIEvent", [e], void 0, this.featureName, this.ee), 3042 s.observe(document.body, { 3043 attributes: !0, 3044 childList: !0, 3045 subtree: !0, 3046 characterData: !0, 3047 })) 3048 }, 3049 100, 3050 { leading: !0 } 3051 ) 3052 ;(this.abortHandler = function () { 3053 this.removeOnAbort?.abort(), s.disconnect(), (this.abortHandler = void 0) 3054 }), 3055 this.importAggregator(e, () => i.e(478).then(i.bind(i, 4393)), { domObserver: s }) 3056 } 3057 } 3058 var qe = i(7378) 3059 const Xe = {}, 3060 Ye = ["appendChild", "insertBefore", "replaceChild"] 3061 function Je(e) { 3062 const t = (function (e) { 3063 return (e || ie.ee).get("jsonp") 3064 })(e) 3065 if (!y.RI || Xe[t.debugId]) return t 3066 Xe[t.debugId] = !0 3067 var r = (0, se.YM)(t),
3068 n = /[?&](?:callback|cb)=([^&#]+)/, 3069 i = /(.*)\.([^.]+)/, 3070 s = /^(\w+)(\.|$)(.*)$/ 3071 function o(e, t) { 3072 if (!e) return t 3073 const r = e.match(s), 3074 n = r[1] 3075 return o(r[3], t[n]) 3076 } 3077 return ( 3078 r.inPlace(Node.prototype, Ye, "dom-"), 3079 t.on("dom-start", function (e) { 3080 !(function (e) { 3081 if (!e || "string" != typeof e.nodeName || "script" !== e.nodeName.toLowerCase()) 3082 return 3083 if ("function" != typeof e.addEventListener) return 3084 var s = ((a = e.src), (c = a.match(n)), c ? c[1] : null) 3085 var a, c 3086 if (!s) return 3087 var d = (function (e) { 3088 var t = e.match(i) 3089 if (t && t.length >= 3) return { key: t[2], parent: o(t[1], window) } 3090 return { key: e, parent: window } 3091 })(s) 3092 if ("function" != typeof d.parent[d.key]) return 3093 var u = {} 3094 function l() { 3095 t.emit("jsonp-end", [], u), 3096 e.removeEventListener("load", l, (0, C.jT)(!1)), 3097 e.removeEventListener("error", f, (0, C.jT)(!1)) 3098 } 3099 function f() { 3100 t.emit("jsonp-error", [], u), 3101 t.emit("jsonp-end", [], u), 3102 e.removeEventListener("load", l, (0, C.jT)(!1)), 3103 e.removeEventListener("error", f, (0, C.jT)(!1)) 3104 } 3105 r.inPlace(d.parent, [d.key], "cb-", u), 3106 e.addEventListener("load", l, (0, C.jT)(!1)), 3107 e.addEventListener("error", f, (0, C.jT)(!1)), 3108 t.emit("new-jsonp", [e.src], u) 3109 })(e[0]) 3110 }), 3111 t 3112 ) 3113 } 3114 const $e = {} 3115 function Qe(e) { 3116 const t = (function (e) { 3117 return (e || ie.ee).get("promise") 3118 })(e) 3119 if ($e[t.debugId]) return t 3120 $e[t.debugId] = !0 3121 var r = t.context, 3122 n = (0, se.YM)(t), 3123 i = y.gm.Promise 3124 return ( 3125 i && 3126 (function () { 3127 function e(r) { 3128 var s = t.context(), 3129 o = n(r, "executor-", s, null, !1) 3130 const a = Reflect.construct(i, [o], e) 3131 return ( 3132 (t.context(a).getCtx = function () { 3133 return s 3134 }), 3135 a 3136 ) 3137 } 3138 ;(y.gm.Promise = e), 3139 Object.defineProperty(e, "name", { value: "Promise" }), 3140 (e.toString = function () { 3141 return i.toString() 3142 }), 3143 Object.setPrototypeOf(e, i), 3144 ["all", "race"].forEach(function (r) { 3145 const n = i[r] 3146 e[r] = function (e) { 3147 let i = !1 3148 ;
3148[...(e || [])].forEach((e) => { 3149 this.resolve(e).then(o("all" === r), o(!1)) 3150 }) 3151 const s = n.apply(this, arguments) 3152 return s 3153 function o(e) { 3154 return function () { 3155 t.emit("propagate", [null, !i], s, !1, !1), (i = i || !e) 3156 } 3157 } 3158 } 3159 }), 3160 ["resolve", "reject"].forEach(function (r) { 3161 const n = i[r] 3162 e[r] = function (e) { 3163 const r = n.apply(this, arguments) 3164 return e !== r && t.emit("propagate", [e, !0], r, !1, !1), r 3165 } 3166 }), 3167 (e.prototype = i.prototype) 3168 const s = i.prototype.then 3169 ;(i.prototype.then = function (...e) { 3170 var i = this, 3171 o = r(i) 3172 ;(o.promise = i), 3173 (e[0] = n(e[0], "cb-", o, null, !1)), 3174 (e[1] = n(e[1], "cb-", o, null, !1)) 3175 const a = s.apply(this, e) 3176 return (o.nextPromise = a), t.emit("propagate", [i, !0], a, !1, !1), a 3177 }), 3178 (i.prototype.then[se.Jt] = s), 3179 t.on("executor-start", function (e) { 3180 ;(e[0] = n(e[0], "resolve-", this, null, !1)), 3181 (e[1] = n(e[1], "resolve-", this, null, !1)) 3182 }), 3183 t.on("executor-err", function (e, t, r) { 3184 e[1](r) 3185 }), 3186 t.on("cb-end", function (e, r, n) { 3187 t.emit("propagate", [n, !0], this.nextPromise, !1, !1) 3188 }), 3189 t.on("propagate", function (e, r, n) { 3190 if (!this.getCtx || r) { 3191 const r = this, 3192 n = e instanceof Promise ? t.context(e) : null 3193 let i 3194 this.getCtx = function () { 3195 return ( 3196 i || 3197 ((i = n && n !== r ? ("function" == typeof n.getCtx ? n.getCtx() : n) : r), 3198 i) 3199 ) 3200 } 3201 } 3202 }) 3203 })(), 3204 t 3205 ) 3206 } 3207 const et = {}, 3208 tt = "setTimeout", 3209 rt = "setInterval", 3210 nt = "clearTimeout", 3211 it = "-start", 3212 st = [tt, "setImmediate", rt, nt, "clearImmediate"] 3213 function ot(e) { 3214 const t = (function (e) { 3215 return (e || ie.ee).get("timer") 3216 })(e) 3217 if (et[t.debugId]++) return t 3218 et[t.debugId] = 1 3219 var r = (0, se.YM)(t) 3220 return ( 3221 r.inPlace(y.gm, st.slice(0, 2), tt + "-"), 3222 r.inPlace(y.gm, st.slice(2, 3), rt + "-"), 3223 r.inPlace(y.gm, st.slice(3), nt + "-"), 3224 t.on(rt + it, function (e, t, n) { 3225 e[0] = r(e[0], "fn-", null, n) 3226 }), 3227 t.on(tt + it, function (e, t, n) { 3228 ;(this.method = n), 3229 (this.timerDuration = isNaN(e[1]) ? 0 : +e[1]), 3230 (e[0] = r(e[0], "fn-", this, n)) 3231 }), 3232 t 3233 ) 3234 } 3235 const at = {} 3236 function ct(e) { 3237 const t = (function (e) { 3238 return (e || ie.ee).get("mutation") 3239 })(e) 3240 if (!y.RI || at[t.debugId]) return t 3241 at[t.debugId] = !0 3242 var r = (0, se.YM)(t), 3243 n = y.gm.MutationObserver 3244 return ( 3245 n && 3246 ((window.MutationObserver = function (e) { 3247 return this instanceof n ? new n(r(e, "fn-")) : n.apply(this, arguments) 3248 }), 3249 (MutationObserver.prototype = n.prototype)), 3250 t 3251 ) 3252 } 3253 const { TZ: dt, d3: ut, Kp: lt, $p: ft, wW: ht, e5: pt, tH: gt, uP: mt, rw: vt, Lc: bt } = qe 3254 class yt extends E { 3255 static featureName = dt 3256 constructor(e) { 3257 if ((super(e, dt), ze(e), !y.RI)) return 3258 try { 3259 this.removeOnAbort = new AbortController() 3260 } catch (e) {} 3261 let t, 3262 r = 0 3263 const n = this.ee.get("tracer"), 3264 s = Je(this.ee), 3265 o = Qe(this.ee), 3266 d = ot(this.ee), 3267 u = ce(this.ee), 3268 l = this.ee.get("events"), 3269 f = me(this.ee), 3270 h = Pe(this.ee), 3271 p = ct(this.ee) 3272 function g(e, t) { 3273 h.emit("newURL", ["" + window.location, t]) 3274 } 3275 function m() { 3276 r++, (t = window.location.hash), (this[mt] = (0, c.t)()) 3277 } 3278 function v() { 3279 r--, window.location.hash !== t && g(0, !0) 3280 var e = (0, c.t)() 3281 ;(this[pt] = ~~this[pt] + e - this[mt]), (this[bt] = e) 3282 } 3283 function b(e, t) { 3284 e.on(t, function () { 3285 this[t] = (0, c.t)() 3286 }) 3287 } 3288 this.ee.on(mt, m), 3289 o.on(vt, m), 3290 s.on(vt, m), 3291 this.ee.on(bt, v),
3292 o.on(ht, v), 3293 s.on(ht, v), 3294 this.ee.on("fn-err", (...t) => { 3295 t[2]?.__newrelic?.[e.agentIdentifier] || 3296 (0, a.p)("function-err", [...t], void 0, this.featureName, this.ee) 3297 }), 3298 this.ee.buffer([mt, bt, "xhr-resolved"], this.featureName), 3299 l.buffer([mt], this.featureName), 3300 d.buffer(["setTimeout" + lt, "clearTimeout" + ut, mt], this.featureName), 3301 u.buffer([mt, "new-xhr", "send-xhr" + ut], this.featureName), 3302 f.buffer([gt + ut, gt + "-done", gt + ft + ut, gt + ft + lt], this.featureName), 3303 h.buffer(["newURL"], this.featureName), 3304 p.buffer([mt], this.featureName), 3305 o.buffer(["propagate", vt, ht, "executor-err", "resolve" + ut], this.featureName), 3306 n.buffer([mt, "no-" + mt], this.featureName), 3307 s.buffer(["new-jsonp", "cb-start", "jsonp-error", "jsonp-end"], this.featureName), 3308 b(f, gt + ut), 3309 b(f, gt + "-done"), 3310 b(s, "new-jsonp"), 3311 b(s, "jsonp-end"), 3312 b(s, "cb-start"), 3313 h.on("pushState-end", g), 3314 h.on("replaceState-end", g), 3315 window.addEventListener("hashchange", g, (0, C.jT)(!0, this.removeOnAbort?.signal)), 3316 window.addEventListener("load", g, (0, C.jT)(!0, this.removeOnAbort?.signal)), 3317 window.addEventListener( 3318 "popstate", 3319 function () { 3320 g(0, r > 1) 3321 }, 3322 (0, C.jT)(!0, this.removeOnAbort?.signal) 3323 ), 3324 (this.abortHandler = this.#r), 3325 this.importAggregator(e, () => i.e(478).then(i.bind(i, 5592))) 3326 } 3327 #r() { 3328 this.removeOnAbort?.abort(), (this.abortHandler = void 0) 3329 } 3330 } 3331 var wt = i(3333) 3332 const xt = {}, 3333 Rt = new Set() 3334 function Tt(e) { 3335 return "string" == typeof e 3336 ? { type: "string", size: new TextEncoder().encode(e).length } 3337 : e instanceof ArrayBuffer 3338 ? { type: "ArrayBuffer", size: e.byteLength } 3339 : e instanceof Blob 3340 ? { type: "Blob", size: e.size } 3341 : e instanceof DataView 3342 ? { type: "DataView", size: e.byteLength } 3343 : ArrayBuffer.isView(e) 3344 ? { type: "TypedArray", size: e.byteLength } 3345 : { type: "unknown", size: 0 } 3346 } 3347 class Et { 3348 constructor(t, r) { 3349 ;(this.timestamp = (0, c.t)()), 3350 (this.currentUrl = window.location.href), 3351 (this.socketId = (0, e.LA)(8)), 3352 (this.requestedUrl = t), 3353 (this.requestedProtocols = Array.isArray(r) ? r.join(",") : r || ""), 3354 (this.openedAt = void 0), 3355 (this.protocol = void 0), 3356 (this.extensions = void 0), 3357 (this.binaryType = void 0), 3358 (this.messageOrigin = void 0), 3359 (this.messageCount = void 0), 3360 (this.messageBytes = void 0), 3361 (this.messageBytesMin = void 0), 3362 (this.messageBytesMax = void 0), 3363 (this.messageTypes = void 0), 3364 (this.sendCount = void 0), 3365 (this.sendBytes = void 0), 3366 (this.sendBytesMin = void 0), 3367 (this.sendBytesMax = void 0), 3368 (this.sendTypes = void 0), 3369 (this.closedAt = void 0), 3370 (this.closeCode = void 0), 3371 (this.closeReason = void 0), 3372 (this.closeWasClean = void 0), 3373 (this.connectedDuration = void 0), 3374 (this.hasErrors = void 0) 3375 } 3376 } 3377 class At extends E { 3378 static featureName = wt.TZ 3379 constructor(e) { 3380 super(e, wt.TZ) 3381 const t = e.init.feature_flags.includes("websockets"), 3382 r = e.init.feature_flags.includes("user_frustrations"), 3383 s = [ 3384 e.init.page_action.enabled, 3385 e.init.performance.capture_marks, 3386 e.init.performance.capture_measures, 3387 e.init.performance.resources.enabled, 3388 e.init.user_actions.enabled, 3389 t, 3390 ] 3391 var o 3392 let u, l 3393 if ( 3394 ((o = e), 3395 p(d.hG, (e, t) => z(e, t, o), o), 3396 (function (e) { 3397 p(d.fF, (t, r) => q(t, r, e), e) 3398 })(e), 3399 ke(e), 3400 X(e), 3401 (function (e) { 3402 p(d.V1, (t, r) => Z(t, r, e), e) 3403 })(e), 3404 y.RI && r && (me(this.ee), ce(this.ee), (u = Pe(this.ee))), 3405 t && 3406 (l = (function (e) { 3407 if (!(0, O.dV)().o.WS) return e 3408 const t = e.get("websockets") 3409 if (xt[t.debugId]++) return t 3410 ;(xt[t.debugId] = 1), 3411 (0, N.G)(() => { 3412 const e = (0, c.t)() 3413 Rt.forEach((r) => { 3414 ;(r.nrData.closedAt = e), 3415 (r.nrData.closeCode = 1001), 3416 (r.nrData.closeReason = "Page navigating away"), 3417 (r.nrData.closeWasClean = !1), 3418 r.nrData.openedAt && (r.nrData.connectedDuration = e - r.nrData.openedAt), 3419 t.emit("ws", [r.nrData], r) 3420 }) 3421 }) 3422 class r extends WebSocket { 3423 static name = "WebSocket" 3424 static toString() { 3425 return "function WebSocket() { [native code] }" 3426 } 3427 toString() { 3428 return "[object WebSocket]" 3429 } 3430 get [Symbol.toStringTag]() { 3431 return r.name 3432 } 3433 #o(e) { 3434 ;((e.__newrelic ??= {}).socketId = this.nrData.socketId), 3435 (this.nrData.hasErrors ??= !0) 3436 } 3437 constructor(...e) { 3438 super(...e), 3439 (this.nrData = new Et(e[0], e[1])), 3440 this.addEventListener("open", () => { 3441 ;(this.nrData.openedAt = (0, c.t)()), 3442 ["protocol", "extensions", "binaryType"].forEach((e) => { 3443 this.nrData[e] = this[e] 3444 }), 3445 Rt.add(this) 3446 }), 3447 this.addEventListener("message", (e) => { 3448 const { type: t, size: r } = Tt(e.data) 3449 ;(this.nrData.messageOrigin ??= e.origin), 3450 (this.nrData.messageCount = (this.nrData.messageCount ?? 0) + 1), 3451 (this.nrData.messageBytes = (this.nrData.messageBytes ?? 0) + r), 3452 (this.nrData.messageBytesMin = Math.min( 3453 this.nrData.messageBytesMin ?? 1 / 0, 3454 r 3455 )), 3456 (this.nrData.messageBytesMax = Math.max( 3457 this.nrData.messageBytesMax ?? 0, 3458 r 3459 )), 3460 (this.nrData.messageTypes ?? "").includes(t) || 3461 (this.nrData.messageTypes = this.nrData.messageTypes 3462 ? "".concat(this.nrData.messageTypes, ",").concat(t) 3463 : t) 3464 }), 3465 this.addEventListener("close", (e) => { 3466 ;(this.nrData.closedAt = (0, c.t)()), 3467 (this.nrData.closeCode = e.code), 3468 (this.nrData.closeReason = e.reason), 3469 (this.nrData.closeWasClean = e.wasClean), 3470 (this.nrData.connectedDuration = 3471 this.nrData.closedAt - this.nrData.openedAt), 3472 Rt.delete(this), 3473 t.emit("ws", [this.nrData], this) 3474 }) 3475 } 3476 addEventListener(e, t, ...r) { 3477 const n = this, 3478 i = 3479 "function" == typeof t 3480 ? function (...e) { 3481 try { 3482 return t.apply(this, e) 3483 } catch (e) { 3484 throw (n.#o(e), e) 3485 } 3486 } 3487 : t?.handleEvent 3488 ? { 3489 handleEvent: function (...e) { 3490 try { 3491 return t.handleEvent.apply(t, e) 3492 } catch (e) { 3493 throw (n.#o(e), e) 3494 } 3495 }, 3496 } 3497 : t 3498 return super.addEventListener(e, i, ...r) 3499 } 3500 send(e) { 3501 if (this.readyState === WebSocket.OPEN) { 3502 const { type: t, size: r } = Tt(e) 3503 ;(this.nrData.sendCount = (this.nrData.sendCount ?? 0) + 1), 3504 (this.nrData.sendBytes = (this.nrData.sendBytes ?? 0) + r), 3505 (this.nrData.sendBytesMin = Math.min(this.nrData.sendBytesMin ?? 1 / 0, r)), 3506 (this.nrData.sendBytesMax = Math.max(this.nrData.sendBytesMax ?? 0, r)), 3507 (this.nrData.sendTypes ?? "").includes(t) || 3508 (this.nrData.sendTypes = this.nrData.sendTypes 3509 ? "".concat(this.nrData.sendTypes, ",").concat(t) 3510 : t) 3511 } 3512 try { 3513 return super.send(e) 3514 } catch (e) { 3515 throw (this.#o(e), e) 3516 } 3517 } 3518 close(...e) { 3519 try { 3520 super.close(...e) 3521 } catch (e) { 3522 throw (this.#o(e), e) 3523 } 3524 } 3525 } 3526 return (y.gm.WebSocket = r), t 3527 })(this.ee)), 3528 y.RI) 3529 ) { 3530 if ( 3531 e.init.user_actions.enabled &&
3532 (wt.Zp.forEach((e) => 3533 (0, C.sp)(e, (e) => (0, a.p)("ua", [e], void 0, this.featureName, this.ee), !0) 3534 ), 3535 wt.qN.forEach((e) => { 3536 const t = (0, R.s)( 3537 (e) => { 3538 ;(0, a.p)("ua", [e], void 0, this.featureName, this.ee) 3539 }, 3540 500, 3541 { leading: !0 } 3542 ) 3543 ;(0, C.sp)(e, t) 3544 }), 3545 r) 3546 ) { 3547 function f(t) { 3548 const r = (0, ve.D)(t) 3549 return e.beacons.includes(r.hostname + ":" + r.port) 3550 } 3551 function h() { 3552 u.emit("navChange") 3553 } 3554 y.gm.addEventListener( 3555 "error", 3556 () => { 3557 ;(0, a.p)("uaErr", [], void 0, n.K7.genericEvents, this.ee) 3558 }, 3559 (0, C.jT)(!1, this.removeOnAbort?.signal) 3560 ), 3561 this.ee.on("open-xhr-start", (e, t) => { 3562 f(e[1]) || 3563 t.addEventListener("readystatechange", () => { 3564 2 === t.readyState && 3565 (0, a.p)("uaXhr", [], void 0, n.K7.genericEvents, this.ee) 3566 }) 3567 }), 3568 this.ee.on("fetch-start", (e) => { 3569 e.length >= 1 && 3570 !f(xe(e[0])) && 3571 (0, a.p)("uaXhr", [], void 0, n.K7.genericEvents, this.ee) 3572 }), 3573 u.on("pushState-end", h), 3574 u.on("replaceState-end", h), 3575 window.addEventListener("hashchange", h, (0, C.jT)(!0, this.removeOnAbort?.signal)), 3576 window.addEventListener("popstate", h, (0, C.jT)(!0, this.removeOnAbort?.signal)) 3577 } 3578 if ( 3579 e.init.performance.resources.enabled && 3580 y.gm.PerformanceObserver?.supportedEntryTypes.includes("resource") 3581 ) { 3582 new PerformanceObserver((e) => { 3583 e.getEntries().forEach((e) => { 3584 ;(0, a.p)("browserPerformance.resource", [e], void 0, this.featureName, this.ee) 3585 }) 3586 }).observe({ type: "resource", buffered: !0 }) 3587 } 3588 } 3589 t && 3590 l.on("ws", (e) => { 3591 ;(0, a.p)("ws-complete", [e], void 0, this.featureName, this.ee) 3592 }) 3593 try { 3594 this.removeOnAbort = new AbortController() 3595 } catch (g) {} 3596 ;(this.abortHandler = () => { 3597 this.removeOnAbort?.abort(), (this.abortHandler = void 0) 3598 }), 3599 s.some((e) => e) 3600 ? this.importAggregator(e, () => i.e(478).then(i.bind(i, 8019))) 3601 : this.deregisterDrain() 3602 } 3603 } 3604 var St = i(2646) 3605 const _t = new Map() 3606 function Ot(e, t, r, n) { 3607 if ("object" != typeof t || !t || "string" != typeof r || !r || "function" != typeof t[r]) 3608 return (0, l.R)(29) 3609 const i = (function (e) { 3610 return (e || ie.ee).get("logger") 3611 })(e), 3612 s = (0, se.YM)(i), 3613 o = new St.y(ie.P) 3614 ;(o.level = n.level), (o.customAttributes = n.customAttributes) 3615 const a = t[r]?.[se.Jt] || t[r] 3616 return _t.set(a, o), s.inPlace(t, [r], "wrap-logger-", () => _t.get(a)), i 3617 } 3618 var Nt = i(1910) 3619 class It extends E { 3620 static featureName = F.TZ 3621 constructor(e) { 3622 var t 3623 super(e, F.TZ), 3624 (t = e), 3625 p(d.$9, (e, r) => G(e, r, t), t), 3626 (function (e) { 3627 p( 3628 d.Wb, 3629 (t, r, { customAttributes: n = {}, level: i = F.p_.INFO } = {}) => { 3630 Ot(e.ee, t, r, { customAttributes: n, level: i }) 3631 }, 3632 e 3633 ) 3634 })(e), 3635 X(e) 3636 const r = this.ee 3637 ;["log", "error", "warn", "info", "debug", "trace"].forEach((e) => { 3638 ;(0, Nt.i)(y.gm.console[e]), Ot(r, y.gm.console, e, { level: "log" === e ? "info" : e }) 3639 }), 3640 this.ee.on("wrap-logger-end", function ([e]) { 3641 const { level: t, customAttributes: n } = this 3642 ;(0, V.R)(r, e, n, t) 3643 }), 3644 this.importAggregator(e, () => i.e(478).then(i.bind(i, 5288))) 3645 } 3646 } 3647 new (class extends r { 3648 constructor(e) { 3649 var t 3650 ;(super(), y.gm) 3651 ? ((this.features = {}), 3652 (0, O.bQ)(this.agentIdentifier, this), 3653 (this.desiredFeatures = new Set(e.features || [])), 3654 this.desiredFeatures.add(_), 3655 (this.runSoftNavOverSpa = [...this.desiredFeatures].some( 3656 (e) => e.featureName === n.K7.softNav 3657 )), 3658 (0, o.j)(this, e, e.loaderType || "agent"), 3659 (t = this), 3660 p( 3661 d.cD, 3662 function (e, r, n = !1) { 3663 if ("string" == typeof e) { 3664 if (["string", "number", "boolean"].includes(typeof r) || null === r) 3665 return g(t, e, r, d.cD, n) 3666 ;
3666(0, l.R)(40, typeof r) 3667 } else (0, l.R)(39, typeof e) 3668 }, 3669 t 3670 ), 3671 (function (e) { 3672 p( 3673 d.Dl, 3674 function (t) { 3675 if ("string" == typeof t || null === t) return g(e, "enduser.id", t, d.Dl, !0) 3676 ;(0, l.R)(41, typeof t) 3677 }, 3678 e 3679 ) 3680 })(this), 3681 (function (e) { 3682 p( 3683 d.nb, 3684 function (t) { 3685 if ("string" == typeof t || null === t) 3686 return g(e, "application.version", t, d.nb, !1) 3687 ;(0, l.R)(42, typeof t) 3688 }, 3689 e 3690 ) 3691 })(this), 3692 (function (e) { 3693 p( 3694 d.d3, 3695 function () { 3696 e.ee.emit("manual-start-all") 3697 }, 3698 e 3699 ) 3700 })(this), 3701 (function (e) { 3702 p( 3703 d.Pv, 3704 function (t = !0) { 3705 if ("boolean" == typeof t) { 3706 if ( 3707 ((0, a.p)(d.Pl + d.Pv, [t], void 0, "session", e.ee), 3708 (e.runtime.consented = t), 3709 t) 3710 ) { 3711 const t = e.features.page_view_event 3712 t.onAggregateImported.then((e) => { 3713 const r = t.featAggregate 3714 e && !r.sentRum && r.sendRum() 3715 }) 3716 } 3717 } else (0, l.R)(65, typeof t) 3718 }, 3719 e 3720 ) 3721 })(this), 3722 this.run()) 3723 : (0, l.R)(21) 3724 } 3725 get config() { 3726 return { 3727 info: this.info, 3728 init: this.init, 3729 loader_config: this.loader_config, 3730 runtime: this.runtime, 3731 } 3732 } 3733 get api() { 3734 return this 3735 } 3736 run() { 3737 try { 3738 const e = (function (e) { 3739 const t = {} 3740 return (
3741 s.forEach((r) => { 3742 t[r] = !!e[r]?.enabled 3743 }), 3744 t 3745 ) 3746 })(this.init), 3747 t = [...this.desiredFeatures] 3748 t.sort((e, t) => n.P3[e.featureName] - n.P3[t.featureName]), 3749 t.forEach((t) => { 3750 if (!e[t.featureName] && t.featureName !== n.K7.pageViewEvent) return 3751 if (this.runSoftNavOverSpa && t.featureName === n.K7.spa) return 3752 if (!this.runSoftNavOverSpa && t.featureName === n.K7.softNav) return 3753 const r = (function (e) { 3754 switch (e) { 3755 case n.K7.ajax: 3756 return [n.K7.jserrors] 3757 case n.K7.sessionTrace: 3758 return [n.K7.ajax, n.K7.pageViewEvent] 3759 case n.K7.sessionReplay: 3760 return [n.K7.sessionTrace] 3761 case n.K7.pageViewTiming: 3762 return [n.K7.pageViewEvent] 3763 default: 3764 return [] 3765 } 3766 })(t.featureName).filter((e) => !(e in this.features)) 3767 r.length > 0 && 3768 (0, l.R)(36, { targetFeature: t.featureName, missingDependencies: r }), 3769 (this.features[t.featureName] = new t(this)) 3770 }) 3771 } catch (e) { 3772 ;(0, l.R)(22, e) 3773 for (const e in this.features) this.features[e].abortHandler?.() 3774 const t = (0, O.Zm)() 3775 delete t.initializedAgents[this.agentIdentifier]?.features, delete this.sharedAggregator 3776 return t.ee.get(this.agentIdentifier).abort(), !1 3777 } 3778 } 3779 })({ features: [_e, _, P, Ue, Ve, j, J, At, It, Ze, yt], loaderType: "spa" }) 3780 })() 3781})()
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.