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