1/** 2 * Copyright (c) 2017-present, Facebook, Inc. All rights reserved. 3 * 4 * You are hereby granted a non-exclusive, worldwide, royalty-free license to use, 5 * copy, modify, and distribute this software in source code or binary form for use 6 * in connection with the web services and APIs provided by Facebook. 7 * 8 * As with any software that integrates with the Facebook platform, your use of 9 * this software is subject to the Facebook Platform Policy 10 * [http://developers.facebook.com/policy/]. This copyright notice shall be 11 * included in all copies or substantial portions of the software. 12 * 13 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 15 * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 16 * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 17 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 18 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 19 */ 20/* eslint-disable */ 21fbq.version = '2.9.231'; 22fbq._releaseSegment = 'stable'; 23fbq.pendingConfigs = ['global_config']; 24fbq.__openBridgeRollout = 1.0; 25(function (a, b, c, d) { 26 var e = { exports: {} }; 27 e.exports; 28 (function () { 29 var f = a.fbq; 30 f.execStart = a.performance && a.performance.now && a.performance.now(); 31 if ( 32 !(function () { 33 var b = a.postMessage || function () {}; 34 if (!f) { 35 b( 36 { 37 action: 'FB_LOG', 38 logType: 'Facebook Pixel Error', 39 logMessage: 'Pixel code is not installed correctly on this page', 40 }, 41 '*', 42 ); 43 'error' in console && 44 console.error('Facebook Pixel Error: Pixel code is not installed correctly on this page'); 45 return !1; 46 } 47 return !0; 48 })() 49 ) 50 return; 51 function g(a, b, c) { 52 return ((b = p(b)), h(a, m() ? Reflect.construct(b, c || [], p(a).constructor) : b.apply(a, c))); 53 } 54 function h(a, b) { 55 if (b && ('object' == G(b) || 'function' == typeof b)) return b; 56 if (void 0 !== b) throw new TypeError('Derived constructors may only return object or undefined'); 57 return i(a); 58 } 59 function i(a) { 60 if (void 0 === a) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); 61 return a; 62 } 63 function j(a, b) { 64 if ('function' != typeof b && null !== b) 65 throw new TypeError('Super expression must either be null or a function'); 66 ((a.prototype = Object.create(b && b.prototype, { constructor: { value: a, writable: !0, configurable: !0 } })), 67 Object.defineProperty(a, 'prototype', { writable: !1 }), 68 b && o(a, b)); 69 } 70 function k(a) { 71 var b = 'function' == typeof Map ? new Map() : void 0; 72 return ( 73 (k = function (a) { 74 if (null === a || !n(a)) return a; 75 if ('function' != typeof a) throw new TypeError('Super expression must either be null or a function'); 76 if (void 0 !== b) { 77 if (b.has(a)) return b.get(a); 78 b.set(a, c); 79 } 80 function c() { 81 return l(a, arguments, p(this).constructor); 82 } 83 return ( 84 (c.prototype = Object.create(a.prototype, { 85 constructor: { value: c, enumerable: !1, writable: !0, configurable: !0 }, 86 })), 87 o(c, a) 88 ); 89 }), 90 k(a) 91 ); 92 } 93 function l(a, b, c) { 94 if (m()) return Reflect.construct.apply(null, arguments); 95 var d = [null]; 96 d.push.apply(d, b); 97 var e = new (a.bind.apply(a, d))(); 98 return (c && o(e, c.prototype), e); 99 } 100 function m() { 101 try { 102 var a = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); 103 } catch (a) {} 104 return (m = function () { 105 return !!a; 106 })(); 107 } 108 function n(a) { 109 try { 110 return -1 !== Function.toString.call(a).indexOf('[native code]'); 111 } catch (b) { 112 return 'function' == typeof a; 113 } 114 } 115 function o(a, b) { 116 return ( 117 (o = Object.setPrototypeOf 118 ? Object.setPrototypeOf.bind() 119 : function (a, b) { 120 return ((a.__proto__ = b), a); 121 }), 122 o(a, b) 123 ); 124 } 125 function p(a) { 126 return ( 127 (p = Object.setPrototypeOf 128 ? Object.getPrototypeOf.bind() 129 : function (a) { 130 return a.__proto__ || Object.getPrototypeOf(a); 131 }), 132 p(a) 133 ); 134 } 135 function q(a, b) { 136 return t(a) || s(a, b) || I(a, b) || r(); 137 } 138 function r() { 139 throw new TypeError(
140 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.', 141 ); 142 } 143 function s(a, b) { 144 var c = 145 null == a 146 ? null 147 : ('undefined' != typeof Symbol && a[typeof Symbol === 'function' ? Symbol.iterator : '@@iterator']) || 148 a['@@iterator']; 149 if (null != c) { 150 var d, 151 e, 152 f = [], 153 g = !0, 154 h = !1; 155 try { 156 if (((a = (c = c.call(a)).next), 0 === b)) { 157 if (Object(c) !== c) return; 158 g = !1; 159 } else for (; !(g = (d = a.call(c)).done) && (f.push(d.value), f.length !== b); g = !0); 160 } catch (a) { 161 ((h = !0), (e = a)); 162 } finally { 163 try { 164 if (!g && null != c['return'] && ((d = c['return']()), Object(d) !== d)) return; 165 } finally { 166 if (h) throw e; 167 } 168 } 169 return f; 170 } 171 } 172 function t(a) { 173 if (Array.isArray(a)) return a; 174 } 175 function u(a, b) { 176 var c = Object.keys(a); 177 if (Object.getOwnPropertySymbols) { 178 var d = Object.getOwnPropertySymbols(a); 179 (b && 180 (d = d.filter(function (b) { 181 return Object.getOwnPropertyDescriptor(a, b).enumerable; 182 })), 183 c.push.apply(c, d)); 184 } 185 return c; 186 } 187 function v(a) { 188 for (var b = 1; b < arguments.length; b++) { 189 var c = null != arguments[b] ? arguments[b] : {}; 190 b % 2 191 ? u(Object(c), !0).forEach(function (b) { 192 z(a, b, c[b]); 193 }) 194 : Object.getOwnPropertyDescriptors 195 ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(c)) 196 : u(Object(c)).forEach(function (b) { 197 Object.defineProperty(a, b, Object.getOwnPropertyDescriptor(c, b)); 198 }); 199 } 200 return a; 201 } 202 function w(a, b) { 203 if (!(a instanceof b)) throw new TypeError('Cannot call a class as a function'); 204 } 205 function x(a, b) { 206 for (var c = 0; c < b.length; c++) { 207 var d = b[c]; 208 ((d.enumerable = d.enumerable || !1), 209 (d.configurable = !0), 210 'value' in d && (d.writable = !0), 211 Object.defineProperty(a, A(d.key), d)); 212 } 213 } 214 function y(a, b, c) { 215 return (b && x(a.prototype, b), c && x(a, c), Object.defineProperty(a, 'prototype', { writable: !1 }), a); 216 } 217 function z(a, b, c) { 218 return ( 219 (b = A(b)) in a 220 ? Object.defineProperty(a, b, { value: c, enumerable: !0, configurable: !0, writable: !0 }) 221 : (a[b] = c), 222 a 223 ); 224 } 225 function A(a) { 226 a = B(a, 'string'); 227 return 'symbol' == G(a) ? a : a + ''; 228 } 229 function B(a, b) { 230 if ('object' != G(a) || !a) return a; 231 var c = a[typeof Symbol === 'function' ? Symbol.toPrimitive : '@@toPrimitive']; 232 if (void 0 !== c) { 233 c = c.call(a, b || 'default'); 234 if ('object' != G(c)) return c; 235 throw new TypeError('@@toPrimitive must return a primitive value.'); 236 } 237 return ('string' === b ? String : Number)(a); 238 } 239 function C(a) { 240 return F(a) || E(a) || I(a) || D(); 241 } 242 function D() { 243 throw new TypeError( 244 'Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.', 245 ); 246 } 247 function E(a) { 248 if ( 249 ('undefined' != typeof Symbol && null != a[typeof Symbol === 'function' ? Symbol.iterator : '@@iterator']) || 250 null != a['@@iterator'] 251 ) 252 return Array.from(a); 253 } 254 function F(a) { 255 if (Array.isArray(a)) return J(a); 256 } 257 function G(a) { 258 return ( 259 (G = 260 'function' == typeof Symbol && 261 'symbol' == typeof (typeof Symbol === 'function' ? Symbol.iterator : '@@iterator') 262 ? function (a) { 263 return typeof a; 264 } 265 : function (a) { 266 return a && 267 'function' == typeof Symbol && 268 a.constructor === Symbol && 269 a !== (typeof Symbol === 'function' ? Symbol.prototype : '@@prototype') 270 ? 'symbol' 271 : typeof a; 272 }), 273 G(a) 274 ); 275 } 276 function H(a, b) { 277 var c = 278 ('undefined' != typeof Symbol && a[typeof Symbol === 'function' ? Symbol.iterator : '@@iterator']) || 279 a['@@iterator']; 280 if (!c) { 281 if (Array.isArray(a) || (c = I(a)) || (b && a && 'number' == typeof a.length)) { 282 c && (a = c); 283 var d = 0; 284 b = function () {}; 285 return { 286 s: b, 287 n: function () { 288 return d >= a.length ? { done: !0 } : { done: !1, value: a[d++] }; 289 }, 290 e: function (a) { 291 throw a; 292 }, 293 f: b, 294 }; 295 } 296 throw new TypeError( 297 'Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.', 298 ); 299 } 300 var e, 301 f = !0, 302 g = !1; 303 return { 304 s: function () { 305 c = c.call(a); 306 }, 307 n: function () { 308 var a = c.next(); 309 return ((f = a.done), a); 310 }, 311 e: function (a) { 312 ((g = !0), (e = a)); 313 }, 314 f: function () { 315 try { 316 f || null == c['return'] || c['return'](); 317 } finally { 318 if (g) throw e; 319 } 320 }, 321 }; 322 } 323 function I(a, b) { 324 if (a) { 325 if ('string' == typeof a) return J(a, b); 326 var c = {}.toString.call(a).slice(8, -1); 327 return ( 328 'Object' === c && a.constructor && (c = a.constructor.name), 329 'Map' === c || 'Set' === c 330 ? Array.from(a) 331 : 'Arguments' === c || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)
332 ? J(a, b) 333 : void 0 334 ); 335 } 336 } 337 function J(a, b) { 338 (null == b || b > a.length) && (b = a.length); 339 for (var c = 0, d = Array(b); c < b; c++) d[c] = a[c]; 340 return d; 341 } 342 f.__fbeventsModules || 343 ((f.__fbeventsModules = {}), 344 (f.__fbeventsResolvedModules = {}), 345 (f.getFbeventsModules = function (a) { 346 f.__fbeventsResolvedModules[a] || (f.__fbeventsResolvedModules[a] = f.__fbeventsModules[a]()); 347 return f.__fbeventsResolvedModules[a]; 348 }), 349 (f.fbIsModuleLoaded = function (a) { 350 return !!f.__fbeventsModules[a]; 351 }), 352 (f.ensureModuleRegistered = function (b, a) { 353 f.fbIsModuleLoaded(b) || (f.__fbeventsModules[b] = a); 354 })); 355 f.ensureModuleRegistered('generateEventId', function () { 356 return (function (f, g, h, i) { 357 var j = { exports: {} }; 358 j.exports; 359 (function () { 360 'use strict'; 361 function a() { 362 var a = new Date().getTime(), 363 b = 'xxxxxxxsx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (b) { 364 var c = (a + Math.random() * 16) % 16 | 0; 365 a = Math.floor(a / 16); 366 return (b == 'x' ? c : (c & 3) | 8).toString(16); 367 }); 368 return b; 369 } 370 function b(b, c) { 371 var d = a(); 372 return (c != null ? c : 'none') + '.' + (b != null ? b : 'none') + '.' + d; 373 } 374 j.exports = b; 375 })(); 376 return j.exports; 377 })(a, b, c, d); 378 }); 379 f.ensureModuleRegistered('handleEventIdOverride', function () { 380 return (function (g, h, i, j) { 381 var k = { exports: {} }; 382 k.exports; 383 (function () { 384 'use strict'; 385 var a = f.getFbeventsModules('SignalsFBEventsLogging'); 386 function b(b, c, d) { 387 if (b != null && (b.eventID != null || b.event_id != null)) { 388 var e = b.eventID; 389 b = b.event_id; 390 e = e != null ? e : b; 391 e == null && 392 (c.event_id != null || c.eventID != null) && 393 a.consoleWarn('eventID is being sent in the 3rd parameter, it should be in the 4th parameter.'); 394 d.containsKey('eid') 395 ? e == null || e.length == 0 396 ? a.logError(new Error('got null or empty eventID from 4th parameter')) 397 : d.replaceEntry('eid', e) 398 : d.append('eid', e); 399 } 400 } 401 k.exports = b; 402 })(); 403 return k.exports; 404 })(a, b, c, d); 405 }); 406 f.ensureModuleRegistered('normalizeSignalsFBEventsDOBType', function () { 407 return (function (g, h, i, j) { 408 var k = { exports: {} }; 409 k.exports; 410 (function () { 411 'use strict'; 412 f.getFbeventsModules('SignalsFBEventsQE'); 413 var a = f.getFbeventsModules('normalizeSignalsFBEventsStringType'), 414 b = a.normalize; 415 a = f.getFbeventsModules('SignalsFBEventsValidationUtils'); 416 var c = a.looksLikeHashed, 417 d = a.trim; 418 a = f.getFbeventsModules('SignalsFBEventsLogging'); 419 var e = a.logError; 420 function g(a, b, c) { 421 var d = new Date().getFullYear(); 422 if (a < 1800 || a > d + 1) return !1; 423 if (b < 1 || b > 12) return !1; 424 return c < 1 || c > 31 ? !1 : !0; 425 } 426 function h(a) { 427 return a.replace(/\D/g, ' '); 428 } 429 function i(a, b, c) { 430 var d = 0, 431 e = 0, 432 f = 0; 433 a > 31 434 ? ((d = a), (e = b > 12 ? c : b), (f = b > 12 ? b : c)) 435 : b > 31 436 ? ((d = b), (e = c > 12 ? a : c), (f = c > 12 ? c : a)) 437 : ((d = c), (e = a > 12 ? b : a), (f = a > 12 ? a : b)); 438 return g(d, e, f) 439 ? String(d).padStart(4, '0') + String(e).padStart(2, '0') + String(f).padStart(2, '0') 440 : null; 441 } 442 function j(a) { 443 var b = d(h(a)); 444 b = b.split(' ').filter(function (a) { 445 return a.length > 0; 446 }); 447 if (b.length >= 3) { 448 var c = parseInt(b[0]), 449 e = parseInt(b[1]), 450 f = parseInt(b[2]); 451 c = i(c, e, f); 452 if (c != null) return c; 453 } 454 return b.length === 1 && b[0].length === 8 ? b[0] : a; 455 } 456 function l(a) { 457 return c(a) ? a : j(a); 458 } 459 function m(a, c, d) { 460 if (a == null) return null; 461 if (typeof a !== 'string') return a; 462 try { 463 return !d ? l(a) : b(a, { lowercase: !0, strip: 'whitespace_only' }); 464 } catch (a) { 465 ((a.message = '[normalizeDOB]: '.concat(a.message)), e(a)); 466 } 467 return a; 468 } 469 k.exports = m; 470 })(); 471 return k.exports; 472 })(a, b, c, d); 473 }); 474 f.ensureModuleRegistered('normalizeSignalsFBEventsEmailType', function () { 475 return (function (g, h, i, j) { 476 var k = { exports: {} }; 477 k.exports; 478 (function () { 479 'use strict'; 480 var a = f.getFbeventsModules('SignalsFBEventsValidationUtils'), 481 b = a.looksLikeHashed, 482 c = a.trim, 483 d = 484 /^[\w!#\$%&\'\*\+\/\=\?\^`\{\|\}~\-]+(:?\.[\w!#\$%&\'\*\+\/\=\?\^`\{\|\}~\-]+)*@(?:[a-z0-9](?:[a-z0-9\-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9\-]*[a-z0-9])?$/i; 485 function e(a) { 486 return d.test(a); 487 }
488 function g(a) { 489 var d = null; 490 if (a != null) 491 if (b(a)) d = a; 492 else { 493 a = c(a.toLowerCase()); 494 d = e(a) ? a : null; 495 } 496 return d; 497 } 498 k.exports = g; 499 })(); 500 return k.exports; 501 })(a, b, c, d); 502 }); 503 f.ensureModuleRegistered('normalizeSignalsFBEventsEnumType', function () { 504 return (function (g, h, i, j) { 505 var k = { exports: {} }; 506 k.exports; 507 (function () { 508 'use strict'; 509 var a = f.getFbeventsModules('SignalsFBEventsShared'), 510 b = a.unicodeSafeTruncate; 511 a = f.getFbeventsModules('SignalsFBEventsValidationUtils'); 512 var c = a.looksLikeHashed, 513 d = a.trim; 514 function e(a) { 515 var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, 516 f = null, 517 g = e.caseInsensitive, 518 h = e.lowercase, 519 i = e.options, 520 j = e.truncate, 521 k = e.uppercase; 522 if (a != null && i != null && Array.isArray(i) && i.length) 523 if (typeof a === 'string' && c(a)) f = a; 524 else { 525 var l = d(String(a)); 526 h === !0 && (l = l.toLowerCase()); 527 k === !0 && (l = l.toUpperCase()); 528 j != null && j !== 0 && (l = b(l, j)); 529 if (g === !0) { 530 var m = l.toLowerCase(); 531 for (var n = 0; n < i.length; ++n) 532 if (m === i[n].toLowerCase()) { 533 l = i[n]; 534 break; 535 } 536 } 537 f = i.indexOf(l) > -1 ? l : null; 538 } 539 return f; 540 } 541 k.exports = e; 542 })(); 543 return k.exports; 544 })(a, b, c, d); 545 }); 546 f.ensureModuleRegistered('normalizeSignalsFBEventsPhoneNumberType', function () { 547 return (function (g, h, i, j) { 548 var k = { exports: {} }; 549 k.exports; 550 (function () { 551 'use strict'; 552 var a = f.getFbeventsModules('SignalsFBEventsLogging'), 553 b = a.logError; 554 f.getFbeventsModules('SignalsFBEventsQE'); 555 a = f.getFbeventsModules('SignalsFBEventsValidationUtils'); 556 var c = a.looksLikeHashed, 557 d = /^0*/, 558 e = /[\-@#<>\'\",; ]|\(|\)|\+|[a-z]/gi, 559 g = /(?:(?![0-9\uD800-\uDFFF])[^]|[\uD800-\uDBFF][\uDC00-\uDFFF])/gi; 560 function h(a, c, d) { 561 if (!d) 562 try { 563 return j(a); 564 } catch (a) { 565 ((a.message = '[normalizePhoneNumber]: '.concat(a.message)), b(a)); 566 } 567 return i(a); 568 } 569 function i(a) { 570 var b = null; 571 if (a != null) 572 if (c(a)) b = a; 573 else { 574 a = String(a); 575 b = a.replace(e, '').replace(d, ''); 576 } 577 return b; 578 } 579 function j(a) { 580 if (a == null) return null; 581 return c(a) ? a : String(a).replace(g, '').replace(d, ''); 582 } 583 k.exports = h; 584 })(); 585 return k.exports; 586 })(a, b, c, d); 587 }); 588 f.ensureModuleRegistered('normalizeSignalsFBEventsPostalCodeType', function () { 589 return (function (g, h, i, j) { 590 var k = { exports: {} }; 591 k.exports; 592 (function () { 593 'use strict'; 594 var a = f.getFbeventsModules('SignalsFBEventsValidationUtils'), 595 b = a.looksLikeHashed, 596 c = a.trim; 597 function d(a) { 598 var d = null; 599 if (a != null && typeof a === 'string') 600 if (b(a)) d = a; 601 else { 602 a = c(String(a).toLowerCase().split('-', 1)[0]); 603 a.length >= 2 && (d = a); 604 } 605 return d; 606 } 607 k.exports = d; 608 })(); 609 return k.exports; 610 })(a, b, c, d); 611 }); 612 f.ensureModuleRegistered('normalizeSignalsFBEventsStringType', function () { 613 return (function (g, h, i, j) { 614 var k = { exports: {} }; 615 k.exports; 616 (function () { 617 'use strict'; 618 var a = f.getFbeventsModules('SignalsFBEventsUtils'), 619 b = a.keys; 620 a = f.getFbeventsModules('SignalsFBEventsShared'); 621 var c = a.unicodeSafeTruncate; 622 a = f.getFbeventsModules('SignalsFBEventsValidationUtils'); 623 var d = a.looksLikeHashed, 624 e = a.strip; 625 f.getFbeventsModules('SignalsFBEventsQE'); 626 a = f.getFbeventsModules('SignalsPixelPIIConstants'); 627 var g = a.STATE_MAPPINGS, 628 h = a.COUNTRY_MAPPINGS; 629 a = f.getFbeventsModules('SignalsFBEventsLogging'); 630 var i = a.logError; 631 function j(a) { 632 var b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, 633 f = null; 634 if (a != null) 635 if (d(a) && typeof a === 'string') b.rejectHashed !== !0 && (f = a); 636 else { 637 var g = String(a); 638 b.strip != null && (g = e(g, b.strip)); 639 b.lowercase === !0 ? (g = g.toLowerCase()) : b.uppercase === !0 && (g = g.toUpperCase()); 640 b.truncate != null && b.truncate !== 0 && (g = c(g, b.truncate)); 641 b.test != null && b.test !== '' ? (f = new RegExp(b.test).test(g) ? g : null) : (f = g); 642 } 643 return f; 644 } 645 function l(a) { 646 return j(a, { strip: 'whitespace_and_punctuation' }); 647 } 648 function m(a, c) { 649 if (a.length === 2) return a; 650 if (c[a] != null) return c[a]; 651 var d = H(b(c)), 652 e; 653 try { 654 for (d.s(); !(e = d.n()).done; ) { 655 e = e.value; 656 if (a.includes(e)) { 657 e = c[e]; 658 return e; 659 } 660 } 661 } catch (a) { 662 d.e(a); 663 } finally { 664 d.f(); 665 } 666 return a.toLowerCase(); 667 } 668 function n(a, b) { 669 if (d(a) || typeof a !== 'string') return a; 670 a = a; 671 a = a.toLowerCase().trim(); 672 a = a.replace(/[^a-z]/g, ''); 673 a = m(a, b); 674 switch (a.length) { 675 case 0: 676 return null; 677 case 1: 678 return a; 679 default: 680 return a.substring(0, 2); 681 } 682 } 683 function o(a, b, c) { 684 if (a == null) return null; 685 b = a; 686 if (!c) 687 try { 688 b = n(b, h); 689 } catch (a) { 690 ((a.message = '[NormalizeCountry]: ' + a.message), i(a)); 691 } 692 return j(b, { truncate: 2, strip: 'all_non_latin_alpha_numeric', test: '^[a-z]+', lowercase: !0 }); 693 } 694 function p(a, b, c) { 695 if (a == null) return null; 696 b = a; 697 if (!c) 698 try { 699 b = n(b, g); 700 } catch (a) { 701 ((a.message = '[NormalizeState]: ' + a.message), i(a)); 702 } 703 return j(b, { truncate: 2, strip: 'all_non_latin_alpha_numeric', test: '^[a-z]+', lowercase: !0 }); 704 } 705 function q(a) { 706 return j(a, { strip: 'all_non_latin_alpha_numeric', test: '^[a-z]+' }); 707 } 708 k.exports = { normalize: j, normalizeName: l, normalizeCity: q, normalizeState: p, normalizeCountry: o }; 709 })(); 710 return k.exports; 711 })(a, b, c, d); 712 }); 713 f.ensureModuleRegistered('SignalsConvertNodeToHTMLElement', function () { 714 return (function (f, g, h, i) { 715 var j = { exports: {} }; 716 j.exports; 717 (function () { 718 'use strict'; 719 function a(a) { 720 if ((typeof HTMLElement === 'undefined' ? 'undefined' : G(HTMLElement)) === 'object') 721 return a instanceof HTMLElement; 722 else 723 return ( 724 a !== null && G(a) === 'object' && a.nodeType === Node.ELEMENT_NODE && typeof a.nodeName === 'string' 725 ); 726 } 727 function b(b) { 728 return !a(b) ? null : b; 729 } 730 j.exports = b; 731 })(); 732 return j.exports; 733 })(a, b, c, d); 734 }); 735 f.ensureModuleRegistered('SignalsEventValidation', function () { 736 return (function (g, h, i, j) { 737 var k = { exports: {} }; 738 k.exports; 739 (function () { 740 'use strict'; 741 var a = f.getFbeventsModules('SignalsFBEventsLogging'), 742 b = a.logUserError, 743 c = /^[+-]?\d+(\.\d+)?$/, 744 d = 'number', 745 e = 'currency_code', 746 g = { 747 AED: 1, 748 ARS: 1, 749 AUD: 1, 750 BOB: 1, 751 BRL: 1, 752 CAD: 1, 753 CHF: 1, 754 CLP: 1, 755 CNY: 1, 756 COP: 1, 757 CRC: 1, 758 CZK: 1, 759 DKK: 1, 760 EUR: 1, 761 GBP: 1, 762 GTQ: 1, 763 HKD: 1, 764 HNL: 1, 765 HUF: 1, 766 IDR: 1, 767 ILS: 1, 768 INR: 1, 769 ISK: 1, 770 JPY: 1, 771 KRW: 1, 772 MOP: 1, 773 MXN: 1, 774 MYR: 1, 775 NIO: 1, 776 NOK: 1, 777 NZD: 1, 778 PEN: 1, 779 PHP: 1, 780 PLN: 1, 781 PYG: 1, 782 QAR: 1, 783 RON: 1, 784 RUB: 1, 785 SAR: 1, 786 SEK: 1, 787 SGD: 1, 788 THB: 1, 789 TRY: 1, 790 TWD: 1, 791 USD: 1, 792 UYU: 1, 793 VEF: 1, 794 VND: 1, 795 ZAR: 1, 796 }; 797 a = { value: { isRequired: !0, type: d }, currency: { isRequired: !0, type: e } }; 798 var h = { 799 AddPaymentInfo: {}, 800 AddToCart: {}, 801 AddToWishlist: {}, 802 CompleteRegistration: {}, 803 Contact: {}, 804 CustomEvent: { validationSchema: { event: { isRequired: !0 } } }, 805 CustomizeProduct: {}, 806 Donate: {}, 807 FindLocation: {}, 808 InitiateCheckout: {}, 809 Lead: {}, 810 PageView: {}, 811 PixelInitialized: {}, 812 Purchase: { validationSchema: a }, 813 Schedule: {}, 814 Search: {}, 815 StartTrial: {}, 816 SubmitApplication: {}, 817 Subscribe: {}, 818 ViewContent: {}, 819 }, 820 i = { agent: !0, automaticmatchingconfig: !0, codeless: !0, tracksingleonly: !0, 'cbdata.onetrustid': !0 },
821 j = Object.prototype.hasOwnProperty; 822 function l() { 823 return { error: null, warnings: [] }; 824 } 825 function m(a) { 826 return { error: a, warnings: [] }; 827 } 828 function n(a) { 829 return { error: null, warnings: a }; 830 } 831 function o(a) { 832 if (a) { 833 a = a.toLowerCase(); 834 var b = i[a]; 835 if (b !== !0) return m({ metadata: a, type: 'UNSUPPORTED_METADATA_ARGUMENT' }); 836 } 837 return l(); 838 } 839 function p(a) { 840 var b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; 841 if (!a) return m({ type: 'NO_EVENT_NAME' }); 842 var c = h[a]; 843 return !c ? n([{ eventName: a, type: 'NONSTANDARD_EVENT' }]) : q(a, b, c); 844 } 845 function q(a, b, f) { 846 f = f.validationSchema; 847 var h = []; 848 for (var i in f) 849 if (j.call(f, i)) { 850 var k = f[i], 851 l = b[i]; 852 if (k) { 853 if (k.isRequired != null && !j.call(b, i)) 854 return m({ eventName: a, param: i, type: 'REQUIRED_PARAM_MISSING' }); 855 if (k.type != null && typeof k.type === 'string') { 856 var o = !0; 857 switch (k.type) { 858 case d: 859 k = (typeof l === 'string' || typeof l === 'number') && c.test(''.concat(l)); 860 k && 861 Number(l) < 0 && 862 h.push({ eventName: a ? a : 'null', param: i, type: 'NEGATIVE_EVENT_PARAM' }); 863 o = k; 864 break; 865 case e: 866 o = typeof l === 'string' && !!g[l.toUpperCase()]; 867 break; 868 } 869 if (!o) return m({ eventName: a, param: i, type: 'INVALID_PARAM' }); 870 } 871 } 872 } 873 return n(h); 874 } 875 function r(a, c) { 876 a = p(a, c); 877 a.error && b(a.error); 878 if (a.warnings) for (c = 0; c < a.warnings.length; c++) b(a.warnings[c]); 879 return a; 880 } 881 k.exports = { validateEvent: p, validateEventAndLog: r, validateMetadata: o }; 882 })(); 883 return k.exports; 884 })(a, b, c, d); 885 }); 886 f.ensureModuleRegistered('SignalsFBEventsAddGmailSuffixToEmail', function () { 887 return (function (g, h, i, j) { 888 var k = { exports: {} }; 889 k.exports; 890 (function () { 891 'use strict'; 892 var a = f.getFbeventsModules('SignalsFBEventsValidationUtils'), 893 b = a.looksLikeHashed; 894 a = f.getFbeventsModules('SignalsFBEventsLogging'); 895 var c = a.logError; 896 a = f.getFbeventsModules('SignalsFBEventsUtils'); 897 a.each; 898 a.keys; 899 a = f.getFbeventsModules('SignalsPixelPIIUtils'); 900 a.isEmail; 901 a.isPhoneNumber; 902 a.getGenderCharacter; 903 f.getFbeventsModules('SignalsFBEventsQE'); 904 function d(a) { 905 try { 906 if (a == null || G(a) !== 'object') return a; 907 a.em != null && 908 a.em.trim() !== '' && 909 !b(a.em) && 910 typeof a.em === 'string' && 911 !a.em.includes('@') && 912 (a.em = a.em + '@gmail.com'); 913 a.email != null && 914 a.email.trim() !== '' && 915 !b(a.email) && 916 typeof a.email === 'string' && 917 !a.email.includes('@') && 918 (a.email = a.email + '@gmail.com'); 919 } catch (a) { 920 ((a.message = '[NormalizeAddSuffix]:' + a.message), c(a)); 921 } 922 return a; 923 } 924 k.exports = d; 925 })(); 926 return k.exports; 927 })(a, b, c, d); 928 }); 929 f.ensureModuleRegistered('SignalsFBEventsAsyncParamUtils', function () { 930 return (function (g, h, i, j) { 931 var k = { exports: {} }; 932 k.exports; 933 (function () { 934 'use strict'; 935 f.getFbeventsModules('SignalsParamList'); 936 var a = f.getFbeventsModules('signalsFBEventsSendEventImpl'); 937 function b(a) { 938 a.asyncParamPromisesAllSettled = !0; 939 while (a.eventQueue.length > 0) { 940 var b = a.eventQueue.shift(); 941 c(a, b); 942 } 943 } 944 function c(b, c) { 945 var d = C(b.asyncParamFetchers.values()); 946 d = H(d); 947 var e; 948 try { 949 for (d.s(); !(e = d.n()).done; ) { 950 e = e.value; 951 var f = e.callback; 952 f != null && f(e.result, c, b); 953 } 954 } catch (a) { 955 d.e(a); 956 } finally { 957 d.f(); 958 } 959 a(c, b); 960 } 961 function d(a) { 962 var c = C(a.asyncParamFetchers.keys()); 963 Promise.allSettled( 964 C(a.asyncParamFetchers.values()).map(function (a) { 965 return a.request; 966 }), 967 ).then(function (d) { 968 ((a.asyncParamPromisesAllSettled = !0), 969 d.forEach(function (b, d) { 970 if (b.status === 'fulfilled') { 971 d = c[d]; 972 var e = a.asyncParamFetchers.get(d); 973 e != null && e.result == null && ((e.result = b.value), a.asyncParamFetchers.set(d, e)); 974 } 975 }), 976 b(a)); 977 }); 978 } 979 k.exports = { 980 flushAsyncParamEventQueue: b, 981 registerAsyncParamAllSettledListener: d, 982 appendAsyncParamsAndSendEvent: c, 983 }; 984 })(); 985 return k.exports; 986 })(a, b, c, d); 987 }); 988 f.ensureModuleRegistered('SignalsFBEventsAutomaticPageViewEvent', function () { 989 return (function (g, h, i, j) { 990 var k = { exports: {} }; 991 k.exports; 992 (function () { 993 'use strict'; 994 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'); 995 function b() { 996 return []; 997 } 998 k.exports = new a(b); 999 })(); 1000 return k.exports; 1001 })(a, b, c, d); 1002 }); 1003 f.ensureModuleRegistered('SignalsFBEventsBaseEvent', function () { 1004 return (function (g, h, i, j) { 1005 var k = { exports: {} }; 1006 k.exports; 1007 (function () { 1008 'use strict'; 1009 var a = f.getFbeventsModules('SignalsFBEventsUtils'), 1010 b = a.map, 1011 c = a.keys; 1012 a = (function () { 1013 function a(b) { 1014 (w(this, a), z(this, '_regKey', 0), z(this, '_subscriptions', {}), (this._coerceArgs = b || null)); 1015 } 1016 return y(a, [ 1017 { 1018 key: 'listen', 1019 value: function (a) { 1020 var b = this, 1021 c = ''.concat(this._regKey++); 1022 this._subscriptions[c] = a; 1023 return function () { 1024 delete b._subscriptions[c]; 1025 }; 1026 }, 1027 }, 1028 { 1029 key: 'listenOnce', 1030 value: function (a) { 1031 var b = null, 1032 c = function () { 1033 b && b(); 1034 b = null; 1035 return a.apply(void 0, arguments); 1036 }; 1037 b = this.listen(c); 1038 return b; 1039 }, 1040 }, 1041 { 1042 key: 'trigger', 1043 value: function () { 1044 var a = this; 1045 for (var d = arguments.length, e = new Array(d), f = 0; f < d; f++) e[f] = arguments[f]; 1046 return b(c(this._subscriptions), function (b) { 1047 if (b in a._subscriptions && a._subscriptions[b] != null) { 1048 var c; 1049 return (c = a._subscriptions)[b].apply(c, e); 1050 } else return null; 1051 }); 1052 }, 1053 }, 1054 { 1055 key: 'triggerWeakly', 1056 value: function () { 1057 var a = this._coerceArgs != null ? this._coerceArgs.apply(this, arguments) : null; 1058 return a == null ? [] : this.trigger.apply(this, C(a)); 1059 }, 1060 }, 1061 ]); 1062 })(); 1063 k.exports = a; 1064 })(); 1065 return k.exports; 1066 })(a, b, c, d); 1067 }); 1068 f.ensureModuleRegistered('SignalsFBEventsBatcher', function () { 1069 return (function (g, h, i, j) { 1070 var k = { exports: {} }; 1071 k.exports; 1072 (function () { 1073 'use strict'; 1074 var a = f.getFbeventsModules('SignalsFBEventsConfigStore'), 1075 b = 1e3, 1076 c = 10; 1077 function d() { 1078 var b = a.get(null, 'batching'); 1079 return b != null ? b.maxBatchSize : c; 1080 } 1081 function e() { 1082 var c = a.get(null, 'batching'); 1083 return c != null ? c.batchWaitTimeMs : b; 1084 } 1085 var h = (function () { 1086 function a(b) { 1087 (w(this, a), z(this, '_waitHandle', null), z(this, '_data', []), (this._cb = b)); 1088 } 1089 return y(a, [ 1090 { 1091 key: 'addToBatch', 1092 value: function (a) { 1093 var b = this; 1094 this._waitHandle == null && 1095 (this._waitHandle = g.setTimeout(function () { 1096 ((b._waitHandle = null), b.forceEndBatch()); 1097 }, e())); 1098 this._data.push(a); 1099 this._data.length >= d() && this.forceEndBatch(); 1100 }, 1101 }, 1102 { 1103 key: 'forceEndBatch', 1104 value: function () { 1105 (this._waitHandle != null && (g.clearTimeout(this._waitHandle), (this._waitHandle = null)), 1106 this._data.length > 0 && this._cb(this._data), 1107 (this._data = [])); 1108 }, 1109 }, 1110 ]); 1111 })(); 1112 k.exports = h; 1113 })(); 1114 return k.exports; 1115 })(a, b, c, d); 1116 }); 1117 f.ensureModuleRegistered('SignalsFBEventsBotBlockingConfigTypedef', function () { 1118 return (function (g, h, i, j) { 1119 var k = { exports: {} }; 1120 k.exports; 1121 (function () { 1122 'use strict'; 1123 var a = f.getFbeventsModules('SignalsFBEventsTyped'); 1124 a = a.Typed; 1125 a = a.objectWithFields({ 1126 rules: a.objectWithFields({ spider_bot_rules: a.string(), browser_patterns: a.string() }), 1127 }); 1128 k.exports = a; 1129 })(); 1130 return k.exports; 1131 })(a, b, c, d); 1132 }); 1133 f.ensureModuleRegistered('SignalsFBEventsBrowserPropertiesConfigTypedef', function () { 1134 return (function (g, h, i, j) { 1135 var k = { exports: {} }; 1136 k.exports; 1137 (function () { 1138 'use strict'; 1139 var a = f.getFbeventsModules('SignalsFBEventsTyped'), 1140 b = a.Typed; 1141 a.coerce; 1142 a = b.objectWithFields({ 1143 delayInMs: b.allowNull(b.number()), 1144 enableEventSuppression: b.allowNull(b['boolean']()), 1145 enableBackupTimeout: b.allowNull(b['boolean']()), 1146 experiment: b.allowNull(b.string()), 1147 fbcParamsConfig: b.allowNull( 1148 b.objectWithFields({ 1149 params: b.arrayOf(b.objectWithFields({ ebp_path: b.string(), prefix: b.string(), query: b.string() })), 1150 }), 1151 ), 1152 enableFbcParamSplit: b.allowNull(b['boolean']()), 1153 }); 1154 k.exports = a; 1155 })(); 1156 return k.exports; 1157 })(a, b, c, d); 1158 }); 1159 f.ensureModuleRegistered('SignalsFBEventsBufferConfigTypedef', function () { 1160 return (function (g, h, i, j) { 1161 var k = { exports: {} }; 1162 k.exports; 1163 (function () { 1164 'use strict'; 1165 var a = f.getFbeventsModules('SignalsFBEventsTyped'), 1166 b = a.Typed; 1167 a.coerce; 1168 a = b.objectWithFields({ 1169 delayInMs: b.number(), 1170 experimentName: b.allowNull(b.string()), 1171 enableMultiEid: b.allowNull(b['boolean']()), 1172 onlyBufferPageView: b.allowNull(b['boolean']()), 1173 }); 1174 k.exports = a; 1175 })(); 1176 return k.exports; 1177 })(a, b, c, d); 1178 }); 1179 f.ensureModuleRegistered('SignalsFBEventsCCRuleEvaluatorConfigTypedef', function () { 1180 return (function (g, h, i, j) { 1181 var k = { exports: {} }; 1182 k.exports; 1183 (function () { 1184 'use strict'; 1185 var a = f.getFbeventsModules('SignalsFBEventsTyped'), 1186 b = a.Typed; 1187 a.coerce; 1188 a = b.objectWithFields({ 1189 ccRules: b.allowNull( 1190 b.arrayOf( 1191 b.allowNull( 1192 b.objectWithFields({ id: b.allowNull(b.stringOrNumber()), rule: b.allowNull(b.objectOrString()) }), 1193 ), 1194 ), 1195 ), 1196 wcaRules: b.allowNull( 1197 b.arrayOf( 1198 b.allowNull( 1199 b.objectWithFields({ id: b.allowNull(b.stringOrNumber()), rule: b.allowNull(b.objectOrString()) }), 1200 ), 1201 ), 1202 ), 1203 valueRules: b.allowNull( 1204 b.arrayOf( 1205 b.allowNull(b.objectWithFields({ id: b.allowNull(b.string()), rule: b.allowNull(b.object()) })), 1206 ), 1207 ), 1208 blacklistedIframeReferrers: b.allowNull(b.mapOf(b['boolean']())), 1209 }); 1210 k.exports = a; 1211 })(); 1212 return k.exports; 1213 })(a, b, c, d); 1214 }); 1215 f.ensureModuleRegistered('SignalsFBEventsCensor', function () { 1216 return (function (g, h, i, j) { 1217 var k = { exports: {} }; 1218 k.exports; 1219 (function () { 1220 'use strict'; 1221 var a = f.getFbeventsModules('SignalsFBEventsUtils'), 1222 b = a.each; 1223 a = a.map; 1224 function c(a) { 1225 if (a == null) return null; 1226 if (a === '') return ''; 1227 if (typeof a === 'number') a = a.toString(); 1228 else if (typeof a !== 'string') return null; 1229 var b = /[A-Z]/g, 1230 c = /[a-z]/g, 1231 d = /[0-9]/g, 1232 e = 1233 /(?:[\0-\x1F0-9A-Za-z\x7F-\u201C\u201E-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g; 1234 a = a.replace(b, '^'); 1235 a = a.replace(c, '*'); 1236 a = a.replace(d, '#'); 1237 a = a.replace(e, '~'); 1238 return a; 1239 } 1240 var d = [ 1241 'ph', 1242 'phone', 1243 'em', 1244 'email', 1245 'fn', 1246 'ln', 1247 'f_name', 1248 'l_name', 1249 'external_id', 1250 'gender', 1251 'db', 1252 'dob', 1253 'ct', 1254 'st', 1255 'zp', 1256 'country', 1257 'city', 1258 'state', 1259 'zip', 1260 'zip_code', 1261 'zp', 1262 'cn', 1263 'firstName', 1264 'surname', 1265 'pn', 1266 'gender', 1267 'name', 1268 'lastName', 1269 'bd', 1270 'first_name', 1271 'address', 1272 'last_name', 1273 'birthday', 1274 'email_preferences_token', 1275 'consent_global_email_nl', 1276 'consent_global_email_drip', 1277 'consent_fide_email_nl', 1278 'consent_fide_email_drip', 1279 '$country', 1280 '$city', 1281 '$gender', 1282 'dOB', 1283 'user_email', 1284 'email_sha256', 1285 'primaryPhone', 1286 'lastNameEng', 1287 'firstNameEng', 1288 'eMailAddress', 1289 'pp', 1290 'postcode', 1291 'profile_name', 1292 'account_name', 1293 'email_paypal', 1294 'zip_code', 1295 'fbq_custom_name', 1296 ]; 1297 a = a(d, function (a) { 1298 return 'ud['.concat(a, ']'); 1299 }).concat( 1300 a(d, fu
1300nction (a) { 1301 return 'udff['.concat(a, ']'); 1302 }), 1303 ); 1304 function e(a) { 1305 var e = {}; 1306 b(d, function (b) { 1307 var d = c(a[b]); 1308 d != null && (e[b] = d); 1309 }); 1310 return e; 1311 } 1312 k.exports = { censoredIneligibleKeysWithUD: a, getCensoredPayload: e, censorPII: c }; 1313 })(); 1314 return k.exports; 1315 })(a, b, c, d); 1316 }); 1317 f.ensureModuleRegistered('SignalsFBEventsClientHintConfigTypedef', function () { 1318 return (function (g, h, i, j) { 1319 var k = { exports: {} }; 1320 k.exports; 1321 (function () { 1322 'use strict'; 1323 var a = f.getFbeventsModules('SignalsFBEventsTyped'), 1324 b = a.Typed; 1325 a.coerce; 1326 a = b.objectWithFields({ 1327 delayInMs: b.allowNull(b.number()), 1328 disableBackupTimeout: b.allowNull(b['boolean']()), 1329 }); 1330 k.exports = a; 1331 })(); 1332 return k.exports; 1333 })(a, b, c, d); 1334 }); 1335 f.ensureModuleRegistered('SignalsFBEventsClientSidePixelForkingConfigTypedef', function () { 1336 return (function (g, h, i, j) { 1337 var k = { exports: {} }; 1338 k.exports; 1339 (function () { 1340 'use strict'; 1341 var a = f.getFbeventsModules('SignalsFBEventsTyped'); 1342 a.coerce; 1343 a = a.Typed; 1344 a = a.objectWithFields({ 1345 forkedPixelIds: a.allowNull(a.arrayOf(a.string())), 1346 forkedPixelIdsInBrowserChannel: a.allowNull(a.arrayOf(a.string())), 1347 forkedPixelIdsInServerChannel: a.allowNull(a.arrayOf(a.string())), 1348 forkedPixelsInBrowserChannel: a.arrayOf( 1349 a.objectWithFields({ destination_pixel_id: a.string(), domains: a.allowNull(a.arrayOf(a.string())) }), 1350 ), 1351 forkedPixelsInServerChannel: a.arrayOf( 1352 a.objectWithFields({ destination_pixel_id: a.string(), domains: a.allowNull(a.arrayOf(a.string())) }), 1353 ), 1354 }); 1355 k.exports = a; 1356 })(); 1357 return k.exports; 1358 })(a, b, c, d); 1359 }); 1360 f.ensureModuleRegistered('signalsFBEventsCoerceAutomaticMatchingConfig', function () { 1361 return (function (g, h, i, j) { 1362 var k = { exports: {} }; 1363 k.exports; 1364 (function () { 1365 'use strict'; 1366 var a = f.getFbeventsModules('SignalsFBEventsTyped'), 1367 b = a.coerce; 1368 a = a.Typed; 1369 var c = a.objectWithFields({ selectedMatchKeys: a.arrayOf(a.string()) }); 1370 k.exports = function (a) { 1371 return b(a, c); 1372 }; 1373 })(); 1374 return k.exports; 1375 })(a, b, c, d); 1376 }); 1377 f.ensureModuleRegistered('signalsFBEventsCoerceBatchingConfig', function () { 1378 return (function (g, h, i, j) { 1379 var k = { exports: {} }; 1380 k.exports; 1381 (function () { 1382 'use strict'; 1383 var a = f.getFbeventsModules('SignalsFBEventsTyped'), 1384 b = a.Typed, 1385 c = a.coerce, 1386 d = a.enforce, 1387 e = function (a) { 1388 var e = c(a, b.objectWithFields({ max_batch_size: b.number(), wait_time_ms: b.number() })); 1389 return e != null 1390 ? { batchWaitTimeMs: e.wait_time_ms, maxBatchSize: e.max_batch_size } 1391 : d(a, b.objectWithFields({ batchWaitTimeMs: b.number(), maxBatchSize: b.number() })); 1392 }; 1393 k.exports = function (a) { 1394 return c(a, e); 1395 }; 1396 })(); 1397 return k.exports; 1398 })(a, b, c, d); 1399 }); 1400 f.ensureModuleRegistered('signalsFBEventsCoerceInferedEventsConfig', function () { 1401 return (function (g, h, i, j) { 1402 var k = { exports: {} }; 1403 k.exports; 1404 (function () { 1405 'use strict'; 1406 var a = f.getFbeventsModules('SignalsFBEventsTyped'), 1407 b = a.coerce; 1408 a = a.Typed; 1409 var c = a.objectWithFields({ 1410 buttonSelector: a.allowNull(a.string()), 1411 disableRestrictedData: a.allowNull(a['boolean']()), 1412 }); 1413 k.exports = function (a) { 1414 return b(a, c); 1415 }; 1416 })(); 1417 return k.exports; 1418 })(a, b, c, d); 1419 }); 1420 f.ensureModuleRegistered('signalsFBEventsCoerceParameterExtractors', function () { 1421 return (function (g, h, i, j) { 1422 var k = { exports: {} }; 1423 k.exports; 1424 (function () { 1425 'use strict'; 1426 var a = f.getFbeventsModules('SignalsFBEventsUtils'), 1427 b = a.filter, 1428 c = a.map, 1429 d = f.getFbeventsModules('signalsFBEventsCoerceStandardParameter'); 1430 function e(a) { 1431 if (a == null || G(a) !== 'object') return null; 1432 var b = a.domain_uri, 1433 c = a.event_type, 1434 d = a.extractor_type; 1435 a = a.id; 1436 b = typeof b === 'string' ? b : null; 1437 c = c != null && typeof c === 'string' && c !== '' ? c : null; 1438 a = a != null && typeof a === 'string' && a !== '' ? a : null; 1439 d = 1440 d === 'CONSTANT_VALUE' || 1441 d === 'CSS' || 1442 d === 'GLOBAL_VARIABLE' || 1443 d === 'GTM' || 1444 d === 'JSON_LD' || 1445 d === 'META_TAG' || 1446 d === 'OPEN_GRAPH' || 1447 d === 'RDFA' || 1448 d === 'SCHEMA_DOT_ORG' || 1449 d === 'URI' 1450 ? d 1451 : null; 1452 return b != null && c != null && a != null && d != null 1453 ? { domain_uri: b, event_type: c, extractor_type: d, id: a } 1454 : null; 1455 }
1456 function g(a) { 1457 if (a == null || G(a) !== 'object') return null; 1458 a = a.extractor_config; 1459 if (a == null || G(a) !== 'object') return null; 1460 var b = a.parameter_type; 1461 a = a.value; 1462 b = d(b); 1463 a = a != null && typeof a === 'string' && a !== '' ? a : null; 1464 return b != null && a != null ? { parameter_type: b, value: a } : null; 1465 } 1466 function h(a) { 1467 if (a == null || G(a) !== 'object') return null; 1468 var b = a.parameter_type; 1469 a = a.selector; 1470 b = d(b); 1471 a = a != null && typeof a === 'string' && a !== '' ? a : null; 1472 return b != null && a != null ? { parameter_type: b, selector: a } : null; 1473 } 1474 function i(a) { 1475 if (a == null || G(a) !== 'object') return null; 1476 a = a.extractor_config; 1477 if (a == null || G(a) !== 'object') return null; 1478 a = a.parameter_selectors; 1479 if (Array.isArray(a)) { 1480 a = c(a, h); 1481 var d = b(a, Boolean); 1482 if (a.length === d.length) return { parameter_selectors: d }; 1483 } 1484 return null; 1485 } 1486 function j(a) { 1487 if (a == null || G(a) !== 'object') return null; 1488 a = a.extractor_config; 1489 if (a == null || G(a) !== 'object') return null; 1490 var b = a.context, 1491 c = a.parameter_type; 1492 a = a.value; 1493 b = b != null && typeof b === 'string' && b !== '' ? b : null; 1494 c = d(c); 1495 a = a != null && typeof a === 'string' && a !== '' ? a : null; 1496 return b != null && c != null && a != null ? { context: b, parameter_type: c, value: a } : null; 1497 } 1498 function l(a) { 1499 var b = e(a); 1500 if (b == null || a == null || G(a) !== 'object') return null; 1501 var c = b.domain_uri, 1502 d = b.event_type, 1503 f = b.extractor_type; 1504 b = b.id; 1505 if (f === 'CSS') { 1506 var h = i(a); 1507 if (h != null) return { domain_uri: c, event_type: d, extractor_config: h, extractor_type: 'CSS', id: b }; 1508 } 1509 if (f === 'CONSTANT_VALUE') { 1510 h = g(a); 1511 if (h != null) 1512 return { domain_uri: c, event_type: d, extractor_config: h, extractor_type: 'CONSTANT_VALUE', id: b }; 1513 } 1514 if (f === 'GLOBAL_VARIABLE') 1515 return { domain_uri: c, event_type: d, extractor_type: 'GLOBAL_VARIABLE', id: b }; 1516 if (f === 'GTM') return { domain_uri: c, event_type: d, extractor_type: 'GTM', id: b }; 1517 if (f === 'JSON_LD') return { domain_uri: c, event_type: d, extractor_type: 'JSON_LD', id: b }; 1518 if (f === 'META_TAG') return { domain_uri: c, event_type: d, extractor_type: 'META_TAG', id: b }; 1519 if (f === 'OPEN_GRAPH') return { domain_uri: c, event_type: d, extractor_type: 'OPEN_GRAPH', id: b }; 1520 if (f === 'RDFA') return { domain_uri: c, event_type: d, extractor_type: 'RDFA', id: b }; 1521 if (f === 'SCHEMA_DOT_ORG') 1522 return { domain_uri: c, event_type: d, extractor_type: 'SCHEMA_DOT_ORG', id: b }; 1523 if (f === 'URI') { 1524 h = j(a); 1525 if (h != null) return { domain_uri: c, event_type: d, extractor_config: h, extractor_type: 'URI', id: b }; 1526 } 1527 return null; 1528 } 1529 k.exports = l; 1530 })(); 1531 return k.exports; 1532 })(a, b, c, d); 1533 }); 1534 f.ensureModuleRegistered('signalsFBEventsCoercePixelID', function () { 1535 return (function (g, h, i, j) { 1536 var k = { exports: {} }; 1537 k.exports; 1538 (function () { 1539 'use strict'; 1540 var a = f.getFbeventsModules('SignalsFBEventsLogging'), 1541 b = a.logUserError; 1542 a = f.getFbeventsModules('SignalsFBEventsTyped'); 1543 var c = a.Typed, 1544 d = a.coerce; 1545 function e(a) { 1546 a = d(a, c.fbid()); 1547 if (a == null) { 1548 var e = JSON.stringify(a); 1549 b({ pixelID: e != null ? e : 'undefined', type: 'INVALID_PIXEL_ID' }); 1550 return null; 1551 } 1552 return a; 1553 } 1554 k.exports = e; 1555 })(); 1556 return k.exports; 1557 })(a, b, c, d); 1558 }); 1559 f.ensureModuleRegistered('SignalsFBEventsCoercePrimitives', function () { 1560 return (function (g, h, i, j) { 1561 var k = { exports: {} }; 1562 k.exports; 1563 (function () { 1564 'use strict'; 1565 var a = f.getFbeventsModules('SignalsFBEventsUtils'), 1566 b = a.filter, 1567 c = a.map, 1568 d = a.reduce; 1569 function e(a) { 1570 return Object.values(a); 1571 }
1572 function g(a) { 1573 return typeof a === 'boolean' ? a : null; 1574 } 1575 function h(a) { 1576 return typeof a === 'number' ? a : null; 1577 } 1578 function i(a) { 1579 return typeof a === 'string' ? a : null; 1580 } 1581 function j(a) { 1582 return G(a) === 'object' && !Array.isArray(a) && a != null ? a : null; 1583 } 1584 function l(a) { 1585 return Array.isArray(a) ? a : null; 1586 } 1587 function m(a, b) { 1588 return e(a).includes(b) ? b : null; 1589 } 1590 function n(a, d) { 1591 a = l(a); 1592 return a == null 1593 ? null 1594 : b(c(a, d), function (a) { 1595 return a != null; 1596 }); 1597 } 1598 function o(a, b) { 1599 var c = l(a); 1600 if (c == null) return null; 1601 a = n(a, b); 1602 return a == null ? null : a.length === c.length ? a : null; 1603 } 1604 function p(a, b) { 1605 var c = j(a); 1606 if (c == null) return null; 1607 a = d( 1608 Object.keys(c), 1609 function (a, d) { 1610 var e = b(c[d]); 1611 return e == null ? a : v(v({}, a), {}, z({}, d, e)); 1612 }, 1613 {}, 1614 ); 1615 return Object.keys(c).length === Object.keys(a).length ? a : null; 1616 } 1617 function q(a) { 1618 var b = function (b) { 1619 return a(b); 1620 }; 1621 b.nullable = !0; 1622 return b; 1623 } 1624 function r(a, b) { 1625 var c = j(a); 1626 if (c == null) return null; 1627 a = Object.keys(b).reduce(function (a, d) { 1628 if (a == null) return null; 1629 var e = b[d], 1630 f = c[d]; 1631 if (e.nullable === !0 && f == null) return v(v({}, a), {}, z({}, d, null)); 1632 e = e(f); 1633 return e == null ? null : v(v({}, a), {}, z({}, d, e)); 1634 }, {}); 1635 return a != null ? Object.freeze(a) : null; 1636 } 1637 k.exports = { 1638 coerceArray: l, 1639 coerceArrayFilteringNulls: n, 1640 coerceArrayOf: o, 1641 coerceBoolean: g, 1642 coerceEnum: m, 1643 coerceMapOf: p, 1644 coerceNullableField: q, 1645 coerceNumber: h, 1646 coerceObject: j, 1647 coerceObjectWithFields: r, 1648 coerceString: i, 1649 }; 1650 })(); 1651 return k.exports; 1652 })(a, b, c, d); 1653 }); 1654 f.ensureModuleRegistered('signalsFBEventsCoerceStandardParameter', function () { 1655 return (function (g, h, i, j) { 1656 var k = { exports: {} }; 1657 k.exports; 1658 (function () { 1659 'use strict'; 1660 var a = f.getFbeventsModules('SignalsFBEventsUtils'); 1661 a = a.FBSet; 1662 var b = new a([ 1663 'content_category', 1664 'content_ids', 1665 'content_name', 1666 'content_type', 1667 'currency', 1668 'contents', 1669 'num_items', 1670 'order_id', 1671 'predicted_ltv', 1672 'search_string', 1673 'status', 1674 'subscription_id', 1675 'value', 1676 'id', 1677 'item_price', 1678 'quantity', 1679 'ct', 1680 'db', 1681 'em', 1682 'external_id', 1683 'fn', 1684 'ge', 1685 'ln', 1686 'namespace', 1687 'ph', 1688 'st', 1689 'zp', 1690 ]); 1691 function c(a) { 1692 return typeof a === 'string' && b.has(a) ? a : null; 1693 } 1694 k.exports = c; 1695 })(); 1696 return k.exports; 1697 })(a, b, c, d); 1698 }); 1699 f.ensureModuleRegistered('SignalsFBEventsConfigLoadedEvent', function () { 1700 return (function (g, h, i, j) { 1701 var k = { exports: {} }; 1702 k.exports; 1703 (function () { 1704 'use strict'; 1705 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'), 1706 b = f.getFbeventsModules('signalsFBEventsCoercePixelID'); 1707 function c(a) { 1708 a = b(a); 1709 return a != null ? [a] : null; 1710 } 1711 a = new a(c); 1712 k.exports = a; 1713 })(); 1714 return k.exports; 1715 })(a, b, c, d); 1716 }); 1717 f.ensureModuleRegistered('SignalsFBEventsConfigStore', function () { 1718 return (function (g, h, i, j) { 1719 var k = { exports: {} }; 1720 k.exports; 1721 (function () { 1722 'use strict'; 1723 var a = f.getFbeventsModules('signalsFBEventsCoerceAutomaticMatchingConfig'), 1724 b = f.getFbeventsModules('signalsFBEventsCoerceBatchingConfig'), 1725 c = f.getFbeventsModules('signalsFBEventsCoerceInferedEventsConfig'), 1726 d = f.getFbeventsModules('signalsFBEventsCoercePixelID'), 1727 e = f.getFbeventsModules('SignalsFBEventsLogging'), 1728 g = e.logError, 1729 h = f.getFbeventsModules('SignalsFBEventsQE'); 1730 e = f.getFbeventsModules('SignalsFBEventsBrowserPropertiesConfigTypedef'); 1731 var i = f.getFbeventsModules('SignalsFBEventsBufferConfigTypedef'), 1732 j = f.getFbeventsModules('SignalsFBEventsESTRuleEngineConfigTypedef'), 1733 l = f.getFbeventsModules('SignalsFBEventsDataProcessingOptionsConfigTypedef'), 1734 m = f.getFbeventsModules('SignalsFBEventsDisabledExtensionsConfigTypedef'), 1735 n = f.getFbeventsModules('SignalsFBEventsDefaultCustomDataConfigTypedef'), 1736 o = f.getFbeventsModules('SignalsFBEventsMicrodataConfigTypedef'), 1737 p = f.getFbeventsModules('SignalsFBEventsOpenBridgeConfigTypedef'), 1738 q = f.getFbeventsModules('SignalsFBEventsParallelFireConfigTypedef'), 1739 r = f.getFbeventsModules('SignalsFBEventsProhibitedSourcesTypedef'), 1740 s = f.getFbeventsModules('SignalsFBEventsTriggerSgwPixelTrackCommandConfigTypedef'), 1741 t = f.getFbeventsModules('SignalsFBEventsTyped'), 1742 u = t.Typed, 1743 v = t.coerce; 1744 t = f.getFbeventsModules('SignalsFBEventsUnwantedDataTypedef'); 1745 var x = f.getFbeventsModules('SignalsFBEventsEventValidationConfigTypedef'), 1746 A = f.getFbeventsModules('SignalsFBEventsProtectedDataModeConfigTypedef'), 1747 B = f.getFbeventsModules('SignalsFBEventsClientHintConfigTypedef'), 1748 C = f.getFbeventsModules('SignalsFBEventsCCRuleEvaluatorConfigTypedef'), 1749 D = f.getFbeventsModules('SignalsFBEventsRestrictedDomainsConfigTypedef'), 1750 E = f.getFbeventsModules('SignalsFBEventsIABPCMAEBridgeConfigTypedef'), 1751 F = f.getFbeventsModules('SignalsFBEventsCookieDeprecationLabelConfigTypedef'), 1752 G = f.getFbeventsModules('SignalsFBEventsUnwantedEventsConfigTypedef'), 1753 H = f.getFbeventsModules('SignalsFBEventsUnwantedEventNamesConfigTypedef'), 1754 I = f.getFbeventsModules('SignalsFBEventsUnwantedParamsConfigTypedef'), 1755 J = f.getFbeventsModules('SignalsFBEventsStandardParamChecksConfigTypedef'), 1756 K = f.getFbeventsModules('SignalsFBEventsClientSidePixelForkingConfigTypedef'), 1757 L = f.getFbeventsModules('SignalsFBEventsCookieConfigTypedef'), 1758 M = f.getFbeventsModules('SignalsFBEventsGatingConfigTypedef'), 1759 N = f.getFbeventsModules('SignalsFBEventsProhibitedPixelConfigTypedef'), 1760 O = f.getFbeventsModules('SignalsFBEventsWebchatConfigTypedef'), 1761 P = f.getFbeventsModules('SignalsFBEventsImagePixelOpenBridgeConfigTypedef'), 1762 aa = f.getFbeventsModules('SignalsFBEventsBotBlockingConfigTypedef'), 1763 Q = 'global', 1764 R = { 1765 automaticMatching: a, 1766 openbridge: p, 1767 batching: b, 1768 inferredEvents: c, 1769 microdata: o, 1770 prohibitedSources: r, 1771 unwantedData: t, 1772 dataProcessingOptions: l, 1773 parallelfire: q, 1774 buffer: i, 1775 browserProperties: e, 1776 defaultCustomData: n, 1777 estRuleEngine: j, 1778 eventValidation: x, 1779 protectedDataMode: A, 1780 clientHint: B, 1781 ccRuleEvaluator: C, 1782 restrictedDomains: D, 1783 IABPCMAEBridge: E, 1784 cookieDeprecationLabel: F, 1785 unwantedEvents: G, 1786 unwantedEventNames: H, 1787 unwantedParams: I, 1788 standardParamChecks: J, 1789 clientSidePixelForking: K, 1790 cookie: L, 1791 gating: M, 1792 prohibitedPixels: N, 1793 triggersgwpixeltrackcommand: s, 1794 webchat: O, 1795 imagepixelopenbridge: P, 1796 botblocking: aa, 1797 disabledExtensions: m, 1798 }; 1799 a = (function () { 1800 function a() { 1801 var b; 1802 w(this, a); 1803 z( 1804 this, 1805 '_configStore', 1806 ((b = { 1807 automaticMatching: {}, 1808 batching: {}, 1809 inferredEvents: {}, 1810 microdata: {}, 1811 prohibitedSources: {}, 1812 unwantedData: {}, 1813 dataProcessingOptions: {}, 1814 openbridge: {}, 1815 parallelfire: {}, 1816 buffer: {}, 1817 defaultCustomData: {}, 1818 estRuleEngine: {}, 1819 }), 1820 z( 1821 z( 1822 z( 1823 z( 1824 z( 1825 z( 1826 z( 1827 z(z(z(b, 'defaultCustomData', {}), 'browserProperties', {}), 'eventValidation', {}), 1828 'protectedDataMode', 1829 {}, 1830 ), 1831 'clientHint', 1832 {}, 1833 ), 1834 'ccRuleEvaluator', 1835 {}, 1836 ), 1837 'restrictedDomains', 1838 {}, 1839 ), 1840 'IABPCMAEBridge', 1841 {}, 1842 ),
1843 'cookieDeprecationLabel', 1844 {}, 1845 ), 1846 'unwantedEvents', 1847 {}, 1848 ), 1849 z( 1850 z( 1851 z( 1852 z( 1853 z( 1854 z( 1855 z( 1856 z(z(z(b, 'unwantedParams', {}), 'standardParamChecks', {}), 'unwantedEventNames', {}), 1857 'clientSidePixelForking', 1858 {}, 1859 ), 1860 'cookie', 1861 {}, 1862 ), 1863 'gating', 1864 {}, 1865 ), 1866 'prohibitedPixels', 1867 {}, 1868 ), 1869 'triggersgwpixeltrackcommand', 1870 {}, 1871 ), 1872 'webchat', 1873 {}, 1874 ), 1875 'imagepixelopenbridge', 1876 {}, 1877 ), 1878 z(z(b, 'botblocking', {}), 'disabledExtensions', {})), 1879 ); 1880 } 1881 return y(a, [ 1882 { 1883 key: 'set', 1884 value: function (a, b, c) { 1885 a = a == null ? Q : d(a); 1886 if (a == null) return; 1887 b = v(b, u.string()); 1888 if (b == null) return; 1889 if (this._configStore[b] == null) return; 1890 this._configStore[b][a] = R[b] != null ? R[b](c) : c; 1891 }, 1892 }, 1893 { 1894 key: 'setExperimental', 1895 value: function (a) { 1896 a = v( 1897 a, 1898 u.objectWithFields({ 1899 config: u.object(), 1900 experimentName: u.string(), 1901 pixelID: d, 1902 pluginName: u.string(), 1903 }), 1904 ); 1905 if (a == null) return; 1906 var b = a.config, 1907 c = a.experimentName, 1908 e = a.pixelID; 1909 a = a.pluginName; 1910 h.isInTest(c) && this.set(e, a, b); 1911 }, 1912 }, 1913 { 1914 key: 'get', 1915 value: function (a, b) { 1916 return this._configStore[b][a != null ? a : Q]; 1917 }, 1918 }, 1919 { 1920 key: 'getWithGlobalFallback', 1921 value: function (a, b) { 1922 var c = Q; 1923 b = this._configStore[b]; 1924 a != null && Object.prototype.hasOwnProperty.call(b, a) && (c = a); 1925 return b[c]; 1926 }, 1927 }, 1928 { 1929 key: 'getAutomaticMatchingConfig', 1930 value: function (a) { 1931 g(new Error('Calling legacy api getAutomaticMatchingConfig')); 1932 return this.get(a, 'automaticMatching'); 1933 }, 1934 }, 1935 { 1936 key: 'getInferredEventsConfig', 1937 value: function (a) { 1938 g(new Error('Calling legacy api getInferredEventsConfig')); 1939 return this.get(a, 'inferredEvents'); 1940 }, 1941 }, 1942 ]); 1943 })(); 1944 k.exports = new a(); 1945 })(); 1946 return k.exports; 1947 })(a, b, c, d); 1948 }); 1949 f.ensureModuleRegistered('SignalsFBEventsCookieConfigTypedef', function () { 1950 return (function (g, h, i, j) { 1951 var k = { exports: {} }; 1952 k.exports; 1953 (function () { 1954 'use strict'; 1955 var a = f.getFbeventsModules('SignalsFBEventsTyped'), 1956 b = a.Typed; 1957 a.coerce; 1958 a = b.objectWithFields({ 1959 fbcParamsConfig: b.allowNull( 1960 b.objectWithFields({ 1961 params: b.arrayOf(b.objectWithFields({ ebp_path: b.string(), prefix: b.string(), query: b.string() })), 1962 }), 1963 ), 1964 enableFbcParamSplit: b.allowNull(b['boolean']()), 1965 maxMultiFbcQueueSize: b.allowNull(b.number()), 1966 }); 1967 k.exports = a; 1968 })(); 1969 return k.exports; 1970 })(a, b, c, d); 1971 }); 1972 f.ensureModuleRegistered('SignalsFBEventsCookieDeprecationLabelConfigTypedef', function () { 1973 return (function (g, h, i, j) { 1974 var k = { exports: {} }; 1975 k.exports; 1976 (function () { 1977 'use strict'; 1978 var a = f.getFbeventsModules('SignalsFBEventsTyped'), 1979 b = a.Typed; 1980 a.coerce; 1981 a = b.objectWithFields({ 1982 delayInMs: b.allowNull(b.number()), 1983 disableBackupTimeout: b.allowNull(b['boolean']()), 1984 }); 1985 k.exports = a; 1986 })(); 1987 return k.exports; 1988 })(a, b, c, d); 1989 }); 1990 f.ensureModuleRegistered('SignalsFBEventsCorrectPIIPlacement', function () { 1991 return (function (g, h, i, j) { 1992 var k = { exports: {} }; 1993 k.exports; 1994 (function () { 1995 'use strict'; 1996 var a = f.getFbeventsModules('SignalsFBEventsLogging'), 1997 b = a.logError; 1998 a = f.getFbeventsModules('SignalsFBEventsUtils'); 1999 var c = a.each, 2000 d = a.keys; 2001 a = f.getFbeventsModules('SignalsPixelPIIUtils'); 2002 var e = a.isZipCode; 2003 a = f.getFbeventsModules('SignalsPixelPIIUtils'); 2004 var g = a.isEmail, 2005 h = a.isPhoneNumber, 2006 i = a.getGenderCharacter; 2007 f.getFbeventsModules('SignalsFBEventsQE'); 2008 a = f.getFbeventsModules('SignalsPixelPIIConstants'); 2009 var j = a.PII_KEYS_TO_ALIASES_EXPANDED; 2010 function l(a) { 2011 try { 2012 if (a == null || G(a) !== 'object') return a; 2013 var f = {}; 2014 c(d(a), function (b) { 2015 typeof b === 'string' && typeof b.toLowerCase === 'function' 2016 ? (f[b.toLowerCase()] = a[b]) 2017 : (f[b] = a[b]); 2018 }); 2019 c(d(j), function (b) { 2020 if (a[b] != null) return; 2021 var d = j[b]; 2022 c(d, function (c) { 2023 a[b] == null && c in f && f[c] != null && (a[b] = f[c]); 2024 }); 2025 }); 2026 c(d(a), function (b) { 2027 b = a[b]; 2028 if (b == null) return; 2029 if (a.em == null && g(b)) { 2030 a.em = b; 2031 return; 2032 } 2033 if (a.ph == null && h(b)) { 2034 a.ph = b; 2035 return; 2036 } 2037 if (a.zp == null && e(b)) { 2038 a.zp = b; 2039 return; 2040 } 2041 if ( 2042 a.ge == null && 2043 typeof b === 'string' && 2044 typeof b.toLowerCase === 'function' && 2045 (i(b.toLowerCase()) == 'm' || i(b.toLowerCase()) == 'f') 2046 ) { 2047 a.ge = i(b); 2048 return; 2049 } 2050 }); 2051 } catch (a) { 2052 ((a.message = '[Placement Fix]:' + a.message), b(a)); 2053 } 2054 return a; 2055 } 2056 k.exports = l; 2057 })(); 2058 return k.exports; 2059 })(a, b, c, d); 2060 }); 2061 f.ensureModuleRegistered('SignalsFBEventsDataProcessingOptionsConfigTypedef', function () { 2062 return (function (g, h, i, j) { 2063 var k = { exports: {} }; 2064 k.exports; 2065 (function () { 2066 'use strict'; 2067 var a = f.getFbeventsModules('SignalsFBEventsTyped'); 2068 a = a.Typed; 2069 a = a.objectWithFields({ 2070 dataProcessingOptions: a.withValidation({ 2071 def: a.arrayOf(a.string()), 2072 validators: [ 2073 function (a) { 2074 return a.reduce(function (a, b) { 2075 return a === !0 && b === 'LDU'; 2076 }, !0); 2077 }, 2078 ], 2079 }), 2080 dataProcessingCountry: a.withValidation({ 2081 def: a.allowNull(a.number()), 2082 validators: [ 2083 function (a) { 2084 return a === null || a === 0 || a === 1; 2085 }, 2086 ], 2087 }), 2088 dataProcessingState: a.withValidation({ 2089 def: a.allowNull(a.number()), 2090 validators: [ 2091 function (a) { 2092 return a === null || a === 0 || a === 1e3; 2093 }, 2094 ], 2095 }), 2096 }); 2097 k.exports = a; 2098 })(); 2099 return k.exports; 2100 })(a, b, c, d); 2101 }); 2102 f.ensureModuleRegistered('SignalsFBEventsDefaultCustomDataConfigTypedef', function () { 2103 return (function (g, h, i, j) { 2104 var k = { exports: {} }; 2105 k.exports; 2106 (function () { 2107 'use strict'; 2108 var a = f.getFbeventsModules('SignalsFBEventsTyped'), 2109 b = a.Typed; 2110 a.coerce; 2111 a = b.objectWithFields({ 2112 enable_order_id: b['boolean'](), 2113 enable_value: b['boolean'](), 2114 enable_currency: b['boolean'](), 2115 enable_contents: b['boolean'](), 2116 enable_content_ids: b['boolean'](), 2117 enable_content_type: b['boolean'](), 2118 experiment: b.allowNull(b.string()), 2119 }); 2120 k.exports = a; 2121 })(); 2122 return k.exports; 2123 })(a, b, c, d); 2124 }); 2125 f.ensureModuleRegistered('SignalsFBEventsDisabledExtensionsConfigTypedef', function () { 2126 return (function (g, h, i, j) { 2127 var k = { exports: {} }; 2128 k.exports; 2129 (function () { 2130 'use strict'; 2131 var a = f.getFbeventsModules('SignalsFBEventsTyped'); 2132 a = a.Typed; 2133 a = a.objectWithFields({ 2134 disabledExtensions: a.withValidation({ 2135 def: a.arrayOf(a.string()), 2136 validators: [ 2137 function (a) { 2138 return a.reduce(function (a, b) { 2139 return a === !0 && b === 'whatsapp_marketing_messaging_customer_subscription'; 2140 }, !0); 2141 }, 2142 ], 2143 }), 2144 }); 2145 k.exports = a; 2146 })(); 2147 return k.exports; 2148 })(a, b, c, d); 2149 }); 2150 f.ensureModuleRegistered('signalsFBEventsDoAutomaticMatching', function () { 2151 return (function (g, h, i, j) { 2152 var k = { exports: {} }; 2153 k.exports; 2154 (function () { 2155 'use strict'; 2156 var a = f.getFbeventsModules('SignalsFBEventsUtils'), 2157 b = a.keys, 2158 c = f.getFbeventsModules('SignalsFBEventsConfigStore'); 2159 a = f.getFbeventsModules('SignalsFBEventsEvents'); 2160 var d = a.piiAutomatched; 2161 function e(a, e, f, g, h, i) { 2162 a = i != null ? i : c.get(e.id, 'automaticMatching'); 2163 if (b(f).length > 0 && a != null) { 2164 i = a.selectedMatchKeys; 2165 for (a in f) 2166 i.indexOf(a) >= 0 && 2167 ((e.userDataFormFields[a] = f[a]), 2168 h != null && a in h && (e.censoredUserDataFormatFormFields[a] = h[a]), 2169 g != null && a in g && (e.alternateUserDataFormFields[a] = g[a])); 2170 d.trigger(e); 2171 } 2172 } 2173 k.exports = e; 2174 })(); 2175 return k.exports; 2176 })(a, b, c, d); 2177 }); 2178 f.ensureModuleRegistered('SignalsFBEventsESTRuleEngineConfigTypedef', function () { 2179 return (function (g, h, i, j) { 2180 var k = { exports: {} }; 2181 k.exports; 2182 (function () { 2183 'use strict'; 2184 var a = f.getFbeventsModules('SignalsFBEventsTyped'), 2185 b = a.Typed; 2186 a.coerce; 2187 a = b.objectWithFields({ experimentName: b.allowNull(b.string()) }); 2188 k.exports = a; 2189 })(); 2190 return k.exports; 2191 })(a, b, c, d); 2192 }); 2193 f.ensureModuleRegistered('SignalsFBEventsEvents', function () { 2194 return (function (g, h, i, j) { 2195 var k = { exports: {} }; 2196 k.exports; 2197 (function () { 2198 'use strict'; 2199 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'), 2200 b = f.getFbeventsModules('SignalsFBEventsConfigLoadedEvent'), 2201 c = f.getFbeventsModules('SignalsFBEventsFiredEvent'), 2202 d = f.getFbeventsModules('SignalsFBEventsGetCustomParametersEvent'), 2203 e = f.getFbeventsModules('SignalsFBEventsGetIWLParametersEvent'), 2204 g = f.getFbeventsModules('SignalsFBEventsIWLBootStrapEvent'), 2205 h = f.getFbeventsModules('SignalsFBEventsPIIAutomatchedEvent'), 2206 i = f.getFbeventsModules('SignalsFBEventsPIIConflictingEvent'),
2207 j = f.getFbeventsModules('SignalsFBEventsPIIInvalidatedEvent'), 2208 l = f.getFbeventsModules('SignalsFBEventsPluginLoadedEvent'), 2209 m = f.getFbeventsModules('SignalsFBEventsSetEventIDEvent'), 2210 n = f.getFbeventsModules('SignalsFBEventsSetIWLExtractorsEvent'), 2211 o = f.getFbeventsModules('SignalsFBEventsSetESTRules'), 2212 p = f.getFbeventsModules('SignalsFBEventsSetCCRules'), 2213 q = f.getFbeventsModules('SignalsFBEventsValidateCustomParametersEvent'), 2214 r = f.getFbeventsModules('SignalsFBEventsLateValidateCustomParametersEvent'), 2215 s = f.getFbeventsModules('SignalsFBEventsValidateUrlParametersEvent'), 2216 t = f.getFbeventsModules('SignalsFBEventsValidateGetClickIDFromBrowserProperties'), 2217 u = f.getFbeventsModules('SignalsFBEventsExtractPII'), 2218 v = f.getFbeventsModules('SignalsFBEventsSetFBPEvent'), 2219 w = f.getFbeventsModules('SignalsFBEventsGetAutomaticParametersEvent'), 2220 x = f.getFbeventsModules('SignalsFBEventsSendEventEvent'), 2221 y = f.getFbeventsModules('SignalsFBEventsAutomaticPageViewEvent'), 2222 z = f.getFbeventsModules('SignalsFBEventsWebChatEvent'); 2223 b = { 2224 configLoaded: b, 2225 execEnd: new a(), 2226 fired: c, 2227 getCustomParameters: d, 2228 getIWLParameters: e, 2229 iwlBootstrap: g, 2230 piiAutomatched: h, 2231 piiConflicting: i, 2232 piiInvalidated: j, 2233 pluginLoaded: l, 2234 setEventId: m, 2235 setIWLExtractors: n, 2236 setESTRules: o, 2237 setCCRules: p, 2238 validateCustomParameters: q, 2239 lateValidateCustomParameters: r, 2240 validateUrlParameters: s, 2241 getClickIDFromBrowserProperties: t, 2242 extractPii: u, 2243 setFBP: v, 2244 getAutomaticParameters: w, 2245 SendEventEvent: x, 2246 automaticPageView: y, 2247 webchatEvent: z, 2248 }; 2249 k.exports = b; 2250 })(); 2251 return k.exports; 2252 })(a, b, c, d); 2253 }); 2254 f.ensureModuleRegistered('SignalsFBEventsEventValidationConfigTypedef', function () { 2255 return (function (g, h, i, j) { 2256 var k = { exports: {} }; 2257 k.exports; 2258 (function () { 2259 'use strict'; 2260 var a = f.getFbeventsModules('SignalsFBEventsTyped'), 2261 b = a.Typed; 2262 a.coerce; 2263 a = b.objectWithFields({ 2264 unverifiedEventNames: b.allowNull(b.arrayOf(b.string())), 2265 enableEventSanitization: b.allowNull(b['boolean']()), 2266 restrictedEventNames: b.allowNull(b.arrayOf(b.string())), 2267 }); 2268 k.exports = a; 2269 })(); 2270 return k.exports; 2271 })(a, b, c, d); 2272 }); 2273 f.ensureModuleRegistered('SignalsFBEventsExperimentNames', function () { 2274 return (function (f, g, h, i) { 2275 var j = { exports: {} }; 2276 j.exports; 2277 (function () { 2278 'use strict'; 2279 j.exports = { 2280 NO_OP_EXPERIMENT: 'no_op_exp', 2281 PROCESS_AUTOMATIC_PARAMETERS: 'process_automatic_parameters', 2282 AUTOMATIC_PARAMETERS_QUALITY: 'automatic_parameters_quality', 2283 BUTTON_CLICK_OPTIMIZE_EXPERIMENT_V2: 'button_click_optimize_experiment_v2', 2284 PROCESS_ADDITIONAL_SHOPIFY_EVENTS: 'process_additional_shopify_events', 2285 }; 2286 })(); 2287 return j.exports; 2288 })(a, b, c, d); 2289 }); 2290 f.ensureModuleRegistered('SignalsFBEventsExperimentsTypedef', function () { 2291 return (function (g, h, i, j) { 2292 var k = { exports: {} }; 2293 k.exports; 2294 (function () { 2295 'use strict'; 2296 var a = f.getFbeventsModules('SignalsFBEventsTyped'), 2297 b = a.Typed; 2298 a.coerce; 2299 a.enforce; 2300 a = b.arrayOf( 2301 b.objectWithFields({ allocation: b.number(), code: b.string(), name: b.string(), passRate: b.number() }), 2302 ); 2303 k.exports = a; 2304 })(); 2305 return k.exports; 2306 })(a, b, c, d); 2307 }); 2308 f.ensureModuleRegistered('SignalsFBEventsExperimentsV2Typedef', function () { 2309 return (function (g, h, i, j) { 2310 var k = { exports: {} }; 2311 k.exports; 2312 (function () { 2313 'use strict'; 2314 var a = f.getFbeventsModules('SignalsFBEventsTyped'), 2315 b = a.Typed; 2316 a.coerce; 2317 a.enforce; 2318 a = b.arrayOf( 2319 b.objectWithFields({ 2320 evaluationType: b.enumeration({ eventlevel: 'EVENT_LEVEL', pageloadlevel: 'PAGE_LOAD_LEVEL' }), 2321 universe: b.string(), 2322 allocation: b.number(), 2323 code: b.string(), 2324 name: b.string(), 2325 passRate: b.number(), 2326 }), 2327 ); 2328 k.exports = a; 2329 })(); 2330 return k.exports; 2331 })(a, b, c, d); 2332 }); 2333 f.ensureModuleRegistered('SignalsFBEventsExtractPII', function () { 2334 return (function (g, h, i, j) { 2335 var k = { exports: {} }; 2336 k.exports; 2337 (function () { 2338 'use strict'; 2339 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'), 2340 b = f.getFbeventsModules('SignalsFBEventsPixelTypedef'), 2341 c = f.getFbeventsModules('SignalsFBEventsTyped'), 2342 d = c.Typed, 2343 e = c.coerce; 2344 function g(a, c, f) { 2345 c = e(a, b); 2346 f = d.allowNull(d.object()); 2347 a = d.allowNull(d.object()); 2348 return c != null ? [{ pixel: c, form: f, button: a }] : null; 2349 } 2350 c = new a(g); 2351 k.exports = c; 2352 })(); 2353 return k.exports; 2354 })(a, b, c, d); 2355 }); 2356 f.ensureModuleRegistered('SignalsFBEventsFBQ', function () { 2357 return (function (g, h, i, j) { 2358 var k = { exports: {} }; 2359 k.exports; 2360 (function () { 2361 'use strict'; 2362 var a = f.getFbeventsModules('SignalsEventValidation'), 2363 b = f.getFbeventsModules('handleEventIdOverride'), 2364 c = f.getFbeventsModules('SignalsFBEventsConfigStore'), 2365 d = f.getFbeventsModules('SignalsFBEventsEvents'), 2366 e = d.configLoaded, 2367 j = f.getFbeventsModules('SignalsFBEventsFireLock'), 2368 l = f.getFbeventsModules('SignalsFBEventsJSLoader'); 2369 d = f.getFbeventsModules('SignalsFBEventsLogging'); 2370 var m = f.getFbeventsModules('SignalsFBEventsOptIn'), 2371 n = f.getFbeventsModules('SignalsFBEventsUtils'); 2372 f.getFbeventsModules('signalsFBEventsGetIsIosInAppBrowser'); 2373 var o = f.getFbeventsModules('SignalsFBEventsURLUtil'); 2374 o.getURLParameter; 2375 var p = f.getFbeventsModules('SignalsFBEventsGetValidUrl'), 2376 q = f.getFbeventsModules('SignalsFBEventsResolveLink'); 2377 o = f.getFbeventsModules('SignalsPixelCookieUtils'); 2378 o.CLICK_ID_PARAMETER; 2379 o.readPackedCookie; 2380 o.CLICKTHROUGH_COOKIE_NAME; 2381 f.getFbeventsModules('SignalsFBEventsQE'); 2382 var r = f.getFbeventsModules('SignalsFBEventsModuleEncodings'), 2383 s = f.getFbeventsModules('SignalsParamList'); 2384 o = f.getFbeventsModules('signalsFBEventsSendEvent'); 2385 var t = o.sendEvent; 2386 o = f.getFbeventsModules('SignalsFBEventsAsyncParamUtils'); 2387 var u = o.registerAsyncParamAllSettledListener, 2388 x = o.flushAsyncParamEventQueue, 2389 A = n.each, 2390 B = n.keys, 2391 D = n.map, 2392 E = n.some, 2393 F = d.logError, 2394 G = d.logUserError, 2395 H = { 2396 AutomaticMatching: !0, 2397 AutomaticMatchingForPartnerIntegrations: !0, 2398 DefaultCustomData: !0, 2399 Buffer: !0, 2400 CommonIncludes: !0, 2401 FirstPartyCookies: !0, 2402 IWLBootstrapper: !0, 2403 IWLParameters: !0, 2404 IdentifyIntegration: !0, 2405 InferredEvents: !0, 2406 Microdata: !0, 2407 MicrodataJsonLd: !0, 2408 OpenBridge: !0, 2409 ParallelFire: !0, 2410 ProhibitedSources: !0, 2411 Timespent: !0, 2412 UnwantedData: !0, 2413 LocalComputation: !0, 2414 IABPCMAEBridge: !0, 2415 BrowserProperties: !0, 2416 ESTRuleEngine: !0, 2417 EventValidation: !0, 2418 ProtectedDataMode: !0, 2419 PrivacySandbox: !0, 2420 ClientHint: !0, 2421 CCRuleEvaluator: !0, 2422 ProhibitedPixels: !0, 2423 LastExternalReferrer: !0, 2424 CookieDeprecationLabel: !0, 2425 UnwantedEvents: !0, 2426 UnwantedEventNames: !0, 2427 UnwantedParams: !0, 2428 StandardParamChecks: !0, 2429 ShopifyAppIntegratedPixel: !0, 2430 clientSidePixelForking: !0, 2431 ShadowTest: !0, 2432 TopicsAPI: !0, 2433 Gating: !0, 2434 AutomaticParameters: !0, 2435 LeadEventId: !0, 2436 EngagementData: !0, 2437 TriggerSgwPixelTrackCommand: !0, 2438 DomainBlocking: !0, 2439 WebChat: !0, 2440 ScrollDepth: !0, 2441 PageMetadata: !0, 2442 WebsitePerformance: !0, 2443 PdpDataPrototype: !0, 2444 ImagePixelOpenBridge: !0,
2445 WebpageContentExtractor: !0, 2446 BotBlocking: !0, 2447 }, 2448 I = { 2449 Track: 0, 2450 TrackCustom: 4, 2451 TrackSingle: 1, 2452 TrackSingleCustom: 2, 2453 TrackSingleSystem: 3, 2454 TrackSystem: 5, 2455 }, 2456 J = 'global_config', 2457 K = 200; 2458 o = [ 2459 'InferredEvents', 2460 'Microdata', 2461 'AutomaticParameters', 2462 'EngagementData', 2463 'PageMetadata', 2464 'ScrollDepth', 2465 'WebChat', 2466 ]; 2467 var L = { AutomaticSetup: o }, 2468 M = { 2469 AutomaticMatching: ['inferredevents', 'identity'], 2470 AutomaticMatchingForPartnerIntegrations: ['automaticmatchingforpartnerintegrations'], 2471 CommonIncludes: ['commonincludes'], 2472 DefaultCustomData: ['defaultcustomdata'], 2473 FirstPartyCookies: ['cookie'], 2474 IWLBootstrapper: ['iwlbootstrapper'], 2475 IWLParameters: ['iwlparameters'], 2476 ESTRuleEngine: ['estruleengine'], 2477 IdentifyIntegration: ['identifyintegration'], 2478 Buffer: ['buffer'], 2479 InferredEvents: ['inferredevents', 'identity'], 2480 Microdata: ['microdata', 'identity'], 2481 MicrodataJsonLd: ['jsonld_microdata'], 2482 ParallelFire: ['parallelfire'], 2483 ProhibitedSources: ['prohibitedsources'], 2484 Timespent: ['timespent'], 2485 UnwantedData: ['unwanteddata'], 2486 LocalComputation: ['localcomputation'],
2487 IABPCMAEBridge: ['iabpcmaebridge'], 2488 BrowserProperties: ['browserproperties'], 2489 EventValidation: ['eventvalidation'], 2490 ProtectedDataMode: ['protecteddatamode'], 2491 PrivacySandbox: ['privacysandbox'], 2492 ClientHint: ['clienthint'], 2493 CCRuleEvaluator: ['ccruleevaluator'], 2494 ProhibitedPixels: ['prohibitedpixels'], 2495 LastExternalReferrer: ['lastexternalreferrer'], 2496 CookieDeprecationLabel: ['cookiedeprecationlabel'], 2497 UnwantedEvents: ['unwantedevents'], 2498 UnwantedEventNames: ['unwantedeventnames'], 2499 UnwantedParams: ['unwantedparams'], 2500 ShopifyAppIntegratedPixel: ['shopifyappintegratedpixel'], 2501 clientSidePixelForking: ['clientsidepixelforking'], 2502 TopicsAPI: ['topicsapi'], 2503 Gating: ['gating'], 2504 AutomaticParameters: ['automaticparameters'], 2505 LeadEventId: ['leadeventid'], 2506 EngagementData: ['engagementdata'], 2507 TriggerSgwPixelTrackCommand: ['triggersgwpixeltrackcommand'], 2508 DomainBlocking: ['domainblocking'], 2509 WebChat: ['webchat'], 2510 ScrollDepth: ['scrolldepth'], 2511 PageMetadata: ['pagemetadata'], 2512 WebsitePerformance: ['websiteperformance'], 2513 PdpDataPrototype: ['pdpdataprototype'],
2514 ImagePixelOpenBridge: ['imagepixelopenbridge'], 2515 WebpageContentExtractor: ['webpagecontentextractor'], 2516 BotBlocking: ['botblocking'], 2517 }; 2518 function N(a) { 2519 return !!(H[a] || L[a]); 2520 } 2521 var O = function (a, b, c, d, e) { 2522 var f = new s(function (a) { 2523 return { finalValue: a }; 2524 }); 2525 f.append('v', b); 2526 f.append('r', c); 2527 d === !0 && f.append('no_min', !0); 2528 e != null && e != '' && f.append('domain', e); 2529 r.addEncodings(f); 2530 return ''.concat(l.CONFIG.CDN_BASE_URL, 'signals/config/').concat(a, '?').concat(f.toQueryString()); 2531 }; 2532 function P(a, b, c, d, e) { 2533 l.loadJSFile(O(a, b, c, e, d)); 2534 } 2535 n = (function () { 2536 function d(a, b) { 2537 var e = this; 2538 w(this, d); 2539 z(this, 'VALID_FEATURES', H); 2540 z(this, 'optIns', new m(L)); 2541 z(this, 'configsLoaded', {}); 2542 z(this, 'locks', j.global); 2543 z(this, 'pluginConfig', c); 2544 z(this, 'disableFirstPartyCookies', !1); 2545 z(this, 'disableAutoConfig', !1); 2546 z(this, 'disableErrorLogging', !1); 2547 z(this, 'asyncParamFetchers', new Map()); 2548 z(this, 'eventQueue', []); 2549 z(this, 'asyncParamPromisesAllSettled', !0); 2550 z(this, 'disableAsyncParamBackupTimeout', !1); 2551 this.VERSION = a.version; 2552 this.RELEASE_SEGMENT = a._releaseSegment; 2553 this.pixelsByID = b; 2554 this.fbq = a; 2555 A(a.pendingConfigs || [], function (a) { 2556 return e.locks.lockConfig(a); 2557 }); 2558 } 2559 return y(d, [ 2560 { 2561 key: 'optIn', 2562 value: function (a, b) { 2563 var c = this, 2564 d = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1; 2565 if (typeof b !== 'string' || !N(b)) 2566 throw new Error('Invalid Argument: "' + b + '" is not a valid opt-in feature'); 2567 N(b) && 2568 (this.optIns.optIn(a, b, d), 2569 A([b].concat(C(L[b] || [])), function (a) { 2570 M[a] && 2571 A(M[a], function (a) { 2572 return c.fbq.loadPlugin(a); 2573 }); 2574 })); 2575 return this; 2576 }, 2577 }, 2578 { 2579 key: 'optOut', 2580 value: function (a, b) { 2581 this.optIns.optOut(a, b); 2582 return this; 2583 }, 2584 }, 2585 { 2586 key: 'consent', 2587 value: function (a) { 2588 a === 'revoke' 2589 ? this.locks.lockConsent() 2590 : a === 'grant' 2591 ? this.locks.unlockConsent() 2592 : G({ action: a, type: 'INVALID_CONSENT_ACTION' }); 2593 return this; 2594 }, 2595 }, 2596 { 2597 key: 'setUserProperties', 2598 value: function (a, b) { 2599 var c = this.pluginConfig.get(null, 'dataProcessingOptions'); 2600 if (c != null && c.dataProcessingOptions.includes('LDU')) return; 2601 if (!Object.prototype.hasOwnProperty.call(this.pixelsByID, a)) { 2602 G({ pixelID: a, type: 'PIXEL_NOT_INITIALIZED' }); 2603 return; 2604 } 2605 this.trackSingleSystem('user_properties', a, 'UserProperties', v({}, b)); 2606 }, 2607 }, 2608 { 2609 key: 'trackSingle', 2610 value: function (b, c, d, e) { 2611 a.validateEventAndLog(c, d); 2612 return this.trackSingleGeneric(b, c, d, I.TrackSingle, e); 2613 }, 2614 }, 2615 { 2616 key: 'trackSingleCustom', 2617 value: function (a, b, c, d) { 2618 return this.trackSingleGeneric(a, b, c, I.TrackSingleCustom, d); 2619 }, 2620 }, 2621 { 2622 key: 'trackSingleSystem', 2623 value: function (a, b, c, d, e, f) { 2624 return this.trackSingleGeneric(b, c, d, I.TrackSingleSystem, e || null, a, f); 2625 }, 2626 }, 2627 { 2628 key: 'trackSingleGeneric', 2629 value: function (a, b, c, d, e, f, g) { 2630 a = typeof a === 'string' ? a : a.id; 2631 var h = Date.now().toString(); 2632 if (!Object.prototype.hasOwnProperty.call(this.pixelsByID, a)) { 2633 var i = { pixelID: a, type: 'PIXEL_NOT_INITIALIZED' }; 2634 f == null ? G(i) : F(new Error(i.type + ' ' + i.pixelID)); 2635 return this; 2636 } 2637 i = this.getDefaultSendData(a, b, e, h); 2638 i.customData = c; 2639 f != null && (i.customParameters = { es: f }); 2640 g != null && (i.customParameters = v(v({}, i.customParameters), g)); 2641 i.customParameters = v(v({}, i.customParameters), {}, { tm: ''.concat(d) }); 2642 this.fire(i, !1); 2643 return this; 2644 }, 2645 }, 2646 { 2647 key: '_validateSend', 2648 value: function (b, c) { 2649 if (!b.eventName || !b.eventName.length) throw new Error('Event name not specified'); 2650 if (!b.pixelId || !b.pixelId.length) throw new Error('PixelId not specified'); 2651 b.set && 2652 A( 2653 D(B(b.set), function (b) { 2654 return a.validateMetadata(b); 2655 }), 2656 function (a) { 2657 if (a.error) throw new Error(a.error); 2658 a.warnings.length && A(a.warnings, G); 2659 }, 2660 ); 2661 if (c) { 2662 c = a.validateEvent(b.eventName, b.customData || {}); 2663 if (c.error) throw new Error(c.error); 2664 c.warnings && c.warnings.length && A(c.warnings, G); 2665 } 2666 return this; 2667 }, 2668 }, 2669 { 2670 key: '_argsHasAnyUserData', 2671 value: function (a) { 2672 var b = a.userData != null && B(a.userData).length > 0; 2673 a = a.userDataFormFields != null && B(a.userDataFormFields).length > 0; 2674 return b || a; 2675 }, 2676 }, 2677 { 2678 key: 'fire', 2679 value: function (a) { 2680 var c = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
2681 this._validateSend(a, c); 2682 if ((this._argsHasAnyUserData(a) && !this.fbq.loadPlugin('identity')) || this.locks.isLocked()) { 2683 g.fbq('fire', a); 2684 return this; 2685 } 2686 var d = a.customParameters, 2687 e = ''; 2688 d && d.es && typeof d.es === 'string' && (e = d.es); 2689 a.customData = a.customData || {}; 2690 var f = this.fbq.getEventCustomParameters( 2691 this.getPixel(a.pixelId), 2692 a.eventName, 2693 a.customData, 2694 e, 2695 a.eventData, 2696 ); 2697 b(a.eventData, a.customData || {}, f); 2698 d && 2699 A(B(d), function (a) { 2700 if (f.containsKey(a)) throw new Error('Custom parameter '.concat(a, ' already specified.')); 2701 f.append(a, d[a]); 2702 }); 2703 t( 2704 { 2705 customData: a.customData, 2706 customParams: f, 2707 eventName: a.eventName, 2708 eventData: a.eventData, 2709 id: a.pixelId, 2710 piiTranslator: null, 2711 experimentId: a.experimentId, 2712 }, 2713 this, 2714 ); 2715 return this; 2716 }, 2717 }, 2718 { 2719 key: 'callMethod', 2720 value: function (a) { 2721 var b = a[0]; 2722 a = Array.prototype.slice.call(a, 1); 2723 if (typeof b !== 'string') { 2724 G({ type: 'FBQ_NO_METHOD_NAME' }); 2725 return; 2726 } 2727 if (typeof this[b] === 'function') 2728 try { 2729 this[b].apply(this, a); 2730 } catch (a) { 2731 F(a); 2732 } 2733 else G({ method: b, type: 'INVALID_FBQ_METHOD' }); 2734 }, 2735 }, 2736 { 2737 key: 'getDefaultSendData', 2738 value: function (a, b, c, d) { 2739 var e = this.getPixel(a); 2740 c = { eventData: c || {}, eventName: b, pixelId: a, experimentId: d }; 2741 e && 2742 (e.userData && (c.userData = e.userData), 2743 e.agent != null && e.agent !== '' 2744 ? (c.set = { agent: e.agent }) 2745 : this.fbq.agent != null && this.fbq.agent !== '' && (c.set = { agent: this.fbq.agent })); 2746 return c; 2747 }, 2748 }, 2749 { 2750 key: 'getOptedInPixels', 2751 value: function (a) { 2752 var b = this; 2753 return this.optIns.listPixelIds(a).map(function (a) { 2754 return b.pixelsByID[a]; 2755 }); 2756 }, 2757 }, 2758 { 2759 key: 'getPixel', 2760 value: function (a) { 2761 return this.pixelsByID[a]; 2762 }, 2763 }, 2764 { 2765 key: 'loadConfig', 2766 value: function (a) { 2767 if ( 2768 this.fbq.disableConfigLoading === !0 || 2769 Object.prototype.hasOwnProperty.call(this.configsLoaded, a) 2770 ) 2771 return; 2772 this.locks.lockConfig(a); 2773 if ( 2774 !this.fbq.pendingConfigs || 2775 E(this.fbq.pendingConfigs, function (b) { 2776 return b === a; 2777 }) === !1 2778 ) { 2779 var b = i.href, 2780 c = h.referrer; 2781 b = q(b, c, { google: !0 }); 2782 c = p(b); 2783 b = ''; 2784 c != null && (b = c.hostname); 2785 P( 2786 a, 2787 this.VERSION, 2788 this.RELEASE_SEGMENT != null ? this.RELEASE_SEGMENT : 'stable', 2789 b, 2790 this.fbq._no_min, 2791 ); 2792 } 2793 }, 2794 }, 2795 { 2796 key: 'configLoaded', 2797 value: function (a) { 2798 var b = this; 2799 this.configsLoaded[a] = !0; 2800 e.trigger(a); 2801 this.locks.releaseConfig(a); 2802 a !== J && 2803 (u(this), 2804 this.disableAsyncParamBackupTimeout || 2805 setTimeout(function () { 2806 x(b); 2807 }, K)); 2808 }, 2809 }, 2810 ]); 2811 })(); 2812 k.exports = n; 2813 })(); 2814 return k.exports; 2815 })(a, b, c, d); 2816 }); 2817 f.ensureModuleRegistered('signalsFBEventsFeatureGate', function () { 2818 return (function (g, h, i, j) { 2819 var k = { exports: {} }; 2820 k.exports; 2821 (function () { 2822 'use strict'; 2823 var a = f.getFbeventsModules('SignalsFBEventsConfigStore'); 2824 function b(a, b) { 2825 return isNaN(b) ? !1 : c(a, b.toString()); 2826 } 2827 function c(b, c) { 2828 c = a.get(c, 'gating'); 2829 if (c == null || c.gatings == null) return !1; 2830 c = c.gatings.find(function (a) { 2831 return a != null && a.name === b; 2832 }); 2833 return c != null && c.passed === !0; 2834 } 2835 k.exports = b; 2836 })(); 2837 return k.exports; 2838 })(a, b, c, d); 2839 }); 2840 f.ensureModuleRegistered('signalsFBEventsFillParamList', function () { 2841 return (function (g, h, i, j) { 2842 var k = { exports: {} }; 2843 k.exports; 2844 (function () { 2845 'use strict'; 2846 var a = f.getFbeventsModules('SignalsParamList'), 2847 b = f.getFbeventsModules('SignalsFBEventsQE'), 2848 c = f.getFbeventsModules('SignalsFBEventsQEV2'), 2849 d = f.getFbeventsModules('SignalsFBEventsLogging'), 2850 e = d.logError; 2851 d = f.getFbeventsModules('SignalsFBEventsUtils'); 2852 var j = d.each, 2853 l = g.top !== g; 2854 function m(d) { 2855 var f = d.customData, 2856 k = d.customParams, 2857 m = d.eventName, 2858 n = d.id, 2859 o = d.piiTranslator, 2860 p = d.documentLink, 2861 q = d.referrerLink, 2862 r = d.timestamp, 2863 s = d.experimentId; 2864 f = f != null ? v({}, f) : null; 2865 var t = i.href; 2866 Object.prototype.hasOwnProperty.call(d, 'documentLink') ? (t = p) : (d.documentLink = t); 2867 p = h.referrer; 2868 Object.prototype.hasOwnProperty.call(d, 'referrerLink') ? (p = q) : (d.referrerLink = p); 2869 q = new a(o); 2870 q.append('id', n); 2871 q.append('ev', m); 2872 q.append('dl', t); 2873 q.append('rl', p); 2874 q.append('if', l); 2875 q.append('ts', r); 2876 q.append('cd', f); 2877 q.append('sw', g.screen.width); 2878 q.append('sh', g.screen.height); 2879 k && q.addRange(k); 2880 d = b.get(); 2881 d != null && q.append('exp', b.getCode(n)); 2882 c.isInTest('event_level_no_op_experiment', s); 2883 if (s != null) { 2884 o = c.getExperimentResultParams(s); 2885 if (o != null && o.length > 0) { 2886 var u = ''; 2887 q.append('expv2', o); 2888 j(o, function (a) { 2889 u += a + '_'; 2890 }); 2891 u.length > 0 && (u = u.slice(0, -1)); 2892 q.append('expv2c', u); 2893 } 2894 } else e('expid is null'); 2895 return q; 2896 } 2897 k.exports = m; 2898 })(); 2899 return k.exports; 2900 })(a, b, c, d); 2901 }); 2902 f.ensureModuleRegistered('SignalsFBEventsFilterProtectedModeEvent', function () { 2903 return (function (g, h, i, j) { 2904 var k = { exports: {} }; 2905 k.exports; 2906 (function () { 2907 'use strict'; 2908 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'); 2909 f.getFbeventsModules('SignalsFBEventsPixelTypedef'); 2910 var b = f.getFbeventsModules('SignalsFBEventsTyped'); 2911 b = b.Typed; 2912 var c = f.getFbeventsModules('SignalsFBEventsMessageParamsTypedef'); 2913 a = new a(b.tuple([c])); 2914 k.exports = a; 2915 })(); 2916 return k.exports; 2917 })(a, b, c, d); 2918 }); 2919 f.ensureModuleRegistered('SignalsFBEventsFiredEvent', function () { 2920 return (function (g, h, i, j) { 2921 var k = { exports: {} }; 2922 k.exports; 2923 (function () { 2924 'use strict'; 2925 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'), 2926 b = f.getFbeventsModules('SignalsParamList'); 2927 function c(a, c) { 2928 var d = null; 2929 (a === 'GET' || a === 'POST' || a === 'BEACON') && (d = a); 2930 a = c instanceof b ? c : null; 2931 return d != null && a != null ? [d, a] : null; 2932 } 2933 a = new a(c); 2934 k.exports = a; 2935 })(); 2936 return k.exports; 2937 })(a, b, c, d); 2938 }); 2939 f.ensureModuleRegistered('signalsFBEventsFireEvent', function () { 2940 return (function (g, h, i, j) { 2941 var k = { exports: {} }; 2942 k.exports; 2943 (function () { 2944 'use strict'; 2945 var a = f.getFbeventsModules('SignalsFBEventsEvents'), 2946 b = a.fired; 2947 a.setEventId; 2948 var c = f.getFbeventsModules('SignalsFBEventsQE'); 2949 a = f.getFbeventsModules('SignalsFBEventsExperimentNames'); 2950 var d = a.NO_OP_EXPERIMENT, 2951 e = f.getFbeventsModules('signalsFBEventsSendBeacon'); 2952 f.getFbeventsModules('signalsFBEventsSendBeaconWithParamsInURL'); 2953 var g = f.getFbeventsModules('signalsFBEventsSendGET'), 2954 h = f.getFbeventsModules('signalsFBEventsSendFormPOST'), 2955 i = f.getFbeventsModules('SignalsFBEventsForkEvent');
2956 f.getFbeventsModules('signalsFBEventsSendBatch'); 2957 var j = f.getFbeventsModules('SignalsFBEventsGetTimingsEvent'), 2958 l = f.getFbeventsModules('signalsFBEventsGetIsChrome'), 2959 m = f.getFbeventsModules('signalsFBEventsFillParamList'), 2960 n = 'SubscribedButtonClick'; 2961 function o(a) { 2962 i.trigger(a); 2963 var f = a.eventName; 2964 a = m(a); 2965 j.trigger(a); 2966 var k = !l(); 2967 c.isInTest(d); 2968 if (k && f === n && e(a)) { 2969 b.trigger('BEACON', a); 2970 return; 2971 } 2972 if (g(a)) { 2973 b.trigger('GET', a); 2974 return; 2975 } 2976 if (k && e(a)) { 2977 b.trigger('BEACON', a); 2978 return; 2979 } 2980 h(a); 2981 b.trigger('POST', a); 2982 } 2983 k.exports = o; 2984 })(); 2985 return k.exports; 2986 })(a, b, c, d); 2987 }); 2988 f.ensureModuleRegistered('SignalsFBEventsFireLock', function () { 2989 return (function (g, h, i, j) { 2990 var k = { exports: {} }; 2991 k.exports; 2992 (function (a) { 2993 'use strict'; 2994 var b = f.getFbeventsModules('SignalsFBEventsUtils'), 2995 c = b.each, 2996 d = b.keys; 2997 b = (function () { 2998 function a() { 2999 (w(this, a), z(this, '_locks', {}), z(this, '_callbacks', [])); 3000 } 3001 return y(a, [ 3002 { 3003 key: 'lock', 3004 value: function (a) { 3005 this._locks[a] = !0; 3006 }, 3007 }, 3008 { 3009 key: 'release', 3010 value: function (a) { 3011 Object.prototype.hasOwnProperty.call(this._locks, a) && 3012 (delete this._locks[a], 3013 d(this._locks).length === 0 && 3014 c(this._callbacks, function (b) { 3015 return b(a); 3016 })); 3017 }, 3018 }, 3019 { 3020 key: 'onUnlocked', 3021 value: function (a) { 3022 this._callbacks.push(a); 3023 }, 3024 }, 3025 { 3026 key: 'isLocked', 3027 value: function () { 3028 return d(this._locks).length > 0; 3029 }, 3030 }, 3031 { 3032 key: 'lockPlugin', 3033 value: function (a) { 3034 this.lock('plugin:'.concat(a)); 3035 }, 3036 }, 3037 { 3038 key: 'releasePlugin', 3039 value: function (a) { 3040 this.release('plugin:'.concat(a)); 3041 }, 3042 }, 3043 { 3044 key: 'lockConfig', 3045 value: function (a) { 3046 this.lock('config:'.concat(a)); 3047 }, 3048 }, 3049 { 3050 key: 'releaseConfig', 3051 value: function (a) { 3052 this.release('config:'.concat(a)); 3053 }, 3054 }, 3055 { 3056 key: 'lockConsent', 3057 value: function () { 3058 this.lock('consent'); 3059 }, 3060 }, 3061 { 3062 key: 'unlockConsent', 3063 value: function () { 3064 this.release('consent'); 3065 }, 3066 }, 3067 ]); 3068 })(); 3069 a = b; 3070 z(b, 'global', new a()); 3071 k.exports = b; 3072 })(); 3073 return k.exports; 3074 })(a, b, c, d); 3075 }); 3076 f.ensureModuleRegistered('SignalsFBEventsForkEvent', function () { 3077 return (function (g, h, i, j) { 3078 var k = { exports: {} }; 3079 k.exports; 3080 (function () { 3081 'use strict'; 3082 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'), 3083 b = f.getFbeventsModules('SignalsParamList'); 3084 f.getFbeventsModules('SignalsFBEventsPixelTypedef'); 3085 var c = f.getFbeventsModules('SignalsFBEventsTyped'), 3086 d = c.Typed; 3087 c.coerce; 3088 c = d.objectWithFields({ 3089 customData: d.allowNull(d.object()), 3090 customParams: function (a) { 3091 return a instanceof b ? a : void 0; 3092 }, 3093 eventName: d.string(), 3094 id: d.string(), 3095 piiTranslator: function (a) { 3096 return typeof a === 'function' ? a : void 0; 3097 }, 3098 documentLink: d.allowNull(d.string()), 3099 referrerLink: d.allowNull(d.string()), 3100 }); 3101 a = new a(d.tuple([c])); 3102 k.exports = a; 3103 })(); 3104 return k.exports; 3105 })(a, b, c, d); 3106 }); 3107 f.ensureModuleRegistered('SignalsFBEventsGatingConfigTypedef', function () { 3108 return (function (g, h, i, j) { 3109 var k = { exports: {} }; 3110 k.exports; 3111 (function () { 3112 'use strict'; 3113 var a = f.getFbeventsModules('SignalsFBEventsTyped'); 3114 a.coerce; 3115 a = a.Typed; 3116 a = a.objectWithFields({ 3117 gatings: a.arrayOf( 3118 a.allowNull(a.objectWithFields({ name: a.allowNull(a.str
3118ing()), passed: a.allowNull(a['boolean']()) })), 3119 ), 3120 }); 3121 k.exports = a; 3122 })(); 3123 return k.exports; 3124 })(a, b, c, d); 3125 }); 3126 f.ensureModuleRegistered('SignalsFBEventsGetAutomaticParametersEvent', function () { 3127 return (function (g, h, i, j) { 3128 var k = { exports: {} }; 3129 k.exports; 3130 (function () { 3131 'use strict'; 3132 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'), 3133 b = f.getFbeventsModules('SignalsFBEventsTyped'), 3134 c = b.Typed, 3135 d = b.coerce; 3136 function e(a, b) { 3137 a = d(a, c.string()); 3138 b = d(b, c.string()); 3139 return a != null && b != null ? [a, b] : null; 3140 } 3141 b = new a(e); 3142 k.exports = b; 3143 })(); 3144 return k.exports; 3145 })(a, b, c, d); 3146 }); 3147 f.ensureModuleRegistered('SignalsFBEventsGetCustomParametersEvent', function () { 3148 return (function (g, h, i, j) { 3149 var k = { exports: {} }; 3150 k.exports; 3151 (function () { 3152 'use strict'; 3153 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'), 3154 b = f.getFbeventsModules('SignalsFBEventsPixelTypedef'), 3155 c = f.getFbeventsModules('SignalsFBEventsTyped'), 3156 d = c.Typed, 3157 e = c.coerce; 3158 function g(a, c, f, g, h) { 3159 a = e(a, b); 3160 c = e(c, d.string()); 3161 var i = {}; 3162 f != null && G(f) === 'object' && (i = f); 3163 f = g != null && typeof g === 'string' ? g : null; 3164 g = {}; 3165 h != null && G(h) === 'object' && (g = h); 3166 return a != null && c != null ? [a, c, i, f, g] : null; 3167 } 3168 c = new a(g); 3169 k.exports = c; 3170 })(); 3171 return k.exports; 3172 })(a, b, c, d); 3173 }); 3174 f.ensureModuleRegistered('signalsFBEventsGetIsChrome', function () { 3175 return (function (f, g, h, i) { 3176 var j = { exports: {} }; 3177 j.exports; 3178 (function () { 3179 'use strict'; 3180 function a() { 3181 var a = f.chrome, 3182 b = f.navigator, 3183 c = b.vendor, 3184 d = f.opr !== void 0, 3185 e = b.userAgent.indexOf('Edg') > -1; 3186 b = b.userAgent.match('CriOS'); 3187 return !b && a !== null && a !== void 0 && c === 'Google Inc.' && d === !1 && e === !1; 3188 } 3189 j.exports = a; 3190 })(); 3191 return j.exports; 3192 })(a, b, c, d); 3193 }); 3194 f.ensureModuleRegistered('signalsFBEventsGetIsIosInAppBrowser', function () { 3195 return (function (f, g, h, i) { 3196 var j = { exports: {} }; 3197 j.exports; 3198 (function () { 3199 'use strict'; 3200 function a() { 3201 var a = f.navigator, 3202 b = a.userAgent.indexOf('AppleWebKit'), 3203 c = a.userAgent.indexOf('FBIOS'), 3204 d = a.userAgent.indexOf('Instagram'); 3205 a = a.userAgent.indexOf('MessengerLiteForiOS'); 3206 return b !== null && (c != -1 || d != -1 || a != -1); 3207 } 3208 function b(b) { 3209 return a(); 3210 } 3211 j.exports = b; 3212 })(); 3213 return j.exports; 3214 })(a, b, c, d); 3215 }); 3216 f.ensureModuleRegistered('SignalsFBEventsGetIWLParametersEvent', function () { 3217 return (function (g, h, i, j) { 3218 var k = { exports: {} }; 3219 k.exports; 3220 (function () { 3221 'use strict'; 3222 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'), 3223 b = f.getFbeventsModules('SignalsConvertNodeToHTMLElement'), 3224 c = f.getFbeventsModules('SignalsFBEventsPixelTypedef'), 3225 d = f.getFbeventsModules('SignalsFBEventsTyped'), 3226 e = d.coerce; 3227 function g() { 3228 for (var a = arguments.length, d = new Array(a), f = 0; f < a; f++) d[f] = arguments[f]; 3229 var g = d[0]; 3230 if (g == null || G(g) !== 'object') return null; 3231 var h = g.unsafePixel, 3232 i = g.unsafeTarget, 3233 j = e(h, c), 3234 k = i instanceof Node ? b(i) : null; 3235 return j != null && k != null ? [{ pixel: j, target: k }] : null; 3236 } 3237 k.exports = new a(g); 3238 })(); 3239 return k.exports; 3240 })(a, b, c, d); 3241 }); 3242 f.ensureModuleRegistered('SignalsFBEventsGetTimingsEvent', function () { 3243 return (function (g, h, i, j) { 3244 var k = { exports: {} }; 3245 k.exports; 3246 (function () { 3247 'use strict'; 3248 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'), 3249 b = f.getFbeventsModules('SignalsParamList'); 3250 function c(a) { 3251 a = a instanceof b ? a : null; 3252 return a != null ? [a] : null; 3253 } 3254 a = new a(c); 3255 k.exports = a; 3256 })(); 3257 return k.exports; 3258 })(a, b, c, d); 3259 }); 3260 f.ensureModuleRegistered('SignalsFBEventsGetValidUrl', function () { 3261 return (function (f, g, h, i) { 3262 var j = { exports: {} }; 3263 j.exports; 3264 (function () { 3265 'use strict'; 3266 j.exports = function (a) { 3267 if (a == null) return null; 3268 try { 3269 a = new URL(a); 3270 return a; 3271 } catch (a) { 3272 return null; 3273 } 3274 }; 3275 })(); 3276 return j.exports; 3277 })(a, b, c, d); 3278 }); 3279 f.ensureModuleRegistered('SignalsFBEventsGuardrail', function () { 3280 return (function (g, h, i, j) { 3281 var k = { exports: {} }; 3282 k.exports; 3283 (function () { 3284 'use strict'; 3285 var a = f.getFbeventsModules('SignalsFBEventsGuardrailTypedef'); 3286 f.getFbeventsModules('SignalsFBEventsExperimentsTypedef'); 3287 f.getFbeventsModules('SignalsFBEventsLegacyExperimentGroupsTypedef'); 3288 f.getFbeventsModules('SignalsFBEventsTypeVersioning'); 3289 var b = f.getFbeventsModules('SignalsFBEventsTyped'), 3290 c = b.coerce; 3291 b = f.getFbeventsModules('SignalsFBEventsUtils'); 3292 b.reduce; 3293 var d = function () { 3294 return Math.random(); 3295 }, 3296 e = {};
3297 function g(a) { 3298 var b = a.passRate; 3299 a.name; 3300 b != null && (a.passed = d() < b); 3301 } 3302 b = (function () { 3303 function b() { 3304 w(this, b); 3305 } 3306 return y(b, [ 3307 { 3308 key: 'setGuardrails', 3309 value: function (b) { 3310 b = c(b, a); 3311 if (b != null) { 3312 this._guardrails = b; 3313 b = H(this._guardrails); 3314 var d; 3315 try { 3316 for (b.s(); !(d = b.n()).done; ) { 3317 d = d.value; 3318 if (d.name != null) { 3319 var f = d.name, 3320 g = { passed: null }; 3321 g = v(v({}, g), d); 3322 e[f] = g; 3323 } 3324 } 3325 } catch (a) { 3326 b.e(a); 3327 } finally { 3328 b.f(); 3329 } 3330 } 3331 }, 3332 }, 3333 { 3334 key: 'eval', 3335 value: function (a, b) { 3336 a = e[a]; 3337 if (!a) return !1; 3338 if (a.enableForPixels && a.enableForPixels.includes(b)) return !0; 3339 if (a.passed != null) return a.passed; 3340 g(a); 3341 return a.passed != null ? a.passed : !1; 3342 }, 3343 }, 3344 { 3345 key: 'enable', 3346 value: function (a) { 3347 var b = e[a]; 3348 if (b != null) b.passed = !0; 3349 else { 3350 b = { passed: !0 }; 3351 e[a] = b; 3352 } 3353 }, 3354 }, 3355 { 3356 key: 'disable', 3357 value: function (a) { 3358 var b = e[a]; 3359 if (b != null) b.passed = !1; 3360 else { 3361 b = { passed: !1 }; 3362 e[a] = b; 3363 } 3364 }, 3365 }, 3366 ]); 3367 })(); 3368 k.exports = new b(); 3369 })(); 3370 return k.exports; 3371 })(a, b, c, d); 3372 }); 3373 f.ensureModuleRegistered('SignalsFBEventsGuardrailTypedef', function () { 3374 return (function (g, h, i, j) { 3375 var k = { exports: {} }; 3376 k.exports; 3377 (function () { 3378 'use strict'; 3379 var a = f.getFbeventsModules('SignalsFBEventsTyped'), 3380 b = a.Typed; 3381 a.coerce; 3382 a.enforce; 3383 a = b.arrayOf( 3384 b.objectWithFields({ 3385 name: b.allowNull(b.string()), 3386 passRate: b.allowNull(b.number()), 3387 enableForPixels: b.allowNull(b.arrayOf(b.string())), 3388 code: b.allowNull(b.string()), 3389 passed: b.allowNull(b['boolean']()), 3390 }), 3391 ); 3392 k.exports = a; 3393 })(); 3394 return k.exports; 3395 })(a, b, c, d); 3396 }); 3397 f.ensureModuleRegistered('SignalsFBEventsIABPCMAEBridgeConfigTypedef', function () { 3398 return (function (g, h, i, j) { 3399 var k = { exports: {} }; 3400 k.exports; 3401 (function () { 3402 'use strict'; 3403 var a = f.getFbeventsModules('SignalsFBEventsTyped'), 3404 b = a.Typed; 3405 a.coerce; 3406 a = b.objectWithFields({ enableAutoEventId: b.allowNull(b['boolean']()) }); 3407 k.exports = a; 3408 })(); 3409 return k.exports; 3410 })(a, b, c, d); 3411 }); 3412 f.ensureModuleRegistered('SignalsFBEventsImagePixelOpenBridgeConfigTypedef', function () { 3413 return (function (g, h, i, j) { 3414 var k = { exports: {} }; 3415 k.exports; 3416 (function () { 3417 'use strict'; 3418 var a = f.getFbeventsModules('SignalsFBEventsTyped'); 3419 a = a.Typed; 3420 a = a.objectWithFields({ enabled: a['boolean']() }); 3421 k.exports = a; 3422 })(); 3423 return k.exports; 3424 })(a, b, c, d); 3425 }); 3426 f.ensureModuleRegistered('signalsFBEventsInjectMethod', function () { 3427 return (function (g, h, i, j) { 3428 var k = { exports: {} }; 3429 k.exports; 3430 (function () { 3431 'use strict'; 3432 var a = f.getFbeventsModules('signalsFBEventsMakeSafe'); 3433 function b(b, c, d) { 3434 var e = b[c], 3435 f = a(d); 3436 b[c] = function () { 3437 for (var a = arguments.length, b = new Array(a), c = 0; c < a; c++) b[c] = arguments[c]; 3438 var d = e.apply(this, b); 3439 f.apply(this, b); 3440 return d; 3441 }; 3442 } 3443 k.exports = b; 3444 })(); 3445 return k.exports; 3446 })(a, b, c, d); 3447 }); 3448 f.ensureModuleRegistered('SignalsFBEventsIWLBootStrapEvent', function () { 3449 return (function (g, h, i, j) { 3450 var k = { exports: {} }; 3451 k.exports; 3452 (function () { 3453 'use strict'; 3454 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'), 3455 b = f.getFbeventsModules('signalsFBEventsCoercePixelID'); 3456 function c() { 3457 for (var a = arguments.length, c = new Array(a), d = 0; d < a; d++) c[d] = arguments[d]; 3458 var e = c[0]; 3459 if (e == null || G(e) !== 'object') return null; 3460 var f = e.graphToken, 3461 g = e.pixelID, 3462 h = b(g); 3463 return f != null && typeof f === 'string' && h != null ? [{ graphToken: f, pixelID: h }] : null; 3464 } 3465 a = new a(c); 3466 k.exports = a; 3467 })(); 3468 return k.exports; 3469 })(a, b, c, d); 3470 }); 3471 f.ensureModuleRegistered('SignalsFBEventsJSLoader', function () { 3472 return (function (f, g, h, i) { 3473 var j = { exports: {} }; 3474 j.exports; 3475 (function () { 3476 'use strict'; 3477 var a = { 3478 CDN_BASE_URL: 'https://connect.facebook.net/', 3479 SGW_INSTANCE_FRL: 'https://gw.conversionsapigateway.com', 3480 }; 3481 function b() { 3482 var b = g.getElementsByTagName('script'); 3483 for (var c = 0; c < b.length; c++) { 3484 var d = b[c]; 3485 if (d && d.src && d.src.indexOf(a.CDN_BASE_URL) !== -1) return d; 3486 } 3487 return null; 3488 } 3489 var c = d(); 3490 function d() { 3491 try { 3492 if (f.trustedTypes && f.trustedTypes.createPolicy) { 3493 var b = f.trustedTypes; 3494 return b.createPolicy('connect.facebook.net/fbevents', { 3495 createScriptURL: function (b) { 3496 if (!b.startsWith(a.CDN_BASE_URL) && !b.startsWith(a.SGW_INSTANCE_FRL)) 3497 throw new Error('Disallowed script URL'); 3498 return b; 3499 }, 3500 }); 3501 } 3502 } catch (a) {} 3503 return null; 3504 } 3505 function e(a) { 3506 var d = g.createElement('script'); 3507 c != null ? (d.src = c.createScriptURL(a)) : (d.src = a); 3508 d.async = !0; 3509 a = b(); 3510 a && a.parentNode ? a.parentNode.insertBefore(d, a) : g.head && g.head.firstChild && g.head.appendChild(d); 3511 } 3512 j.exports = { CONFIG: a, loadJSFile: e }; 3513 })(); 3514 return j.exports; 3515 })(a, b, c, d); 3516 }); 3517 f.ensureModuleRegistered('SignalsFBEventsLateValidateCustomParametersEvent', function () { 3518 return (function (g, h, i, j) { 3519 var k = { exports: {} }; 3520 k.exports; 3521 (function () { 3522 'use strict'; 3523 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'), 3524 b = f.getFbeventsModules('SignalsFBEventsTyped'), 3525 c = b.coerce, 3526 d = b.Typed; 3527 f.getFbeventsModules('SignalsFBEventsPixelTypedef'); 3528 b = f.getFbeventsModules('SignalsFBEventsCoercePrimitives'); 3529 b.coerceString; 3530 function e() { 3531 for (var a = arguments.length, b = new Array(a), e = 0; e < a; e++) b[e] = arguments[e]; 3532 return c(b, d.tuple([d.string(), d.object(), d.string()])); 3533 } 3534 b = new a(e); 3535 k.exports = b; 3536 })(); 3537 return k.exports; 3538 })(a, b, c, d); 3539 }); 3540 f.ensureModuleRegistered('SignalsFBEventsLegacyExperimentGroupsTypedef', function () { 3541 return (function (g, h, i, j) { 3542 var k = { exports: {} }; 3543 k.exports; 3544 (function () { 3545 'use strict'; 3546 var a = f.getFbeventsModules('SignalsFBEventsTyped'), 3547 b = a.Typed; 3548 a.coerce; 3549 var c = a.enforce; 3550 a = f.getFbeventsModules('SignalsFBEventsTypeVersioning'); 3551 a = a.upgrade; 3552 function d(a) { 3553 return a != null && G(a) === 'object' ? Object.values(a) : null; 3554 } 3555 var e = function (a) { 3556 a = Array.isArray(a) ? a : d(a); 3557 return c( 3558 a, 3559 b.arrayOf( 3560 b.objectWithFields({ 3561 code: b.string(), 3562 name: b.string(), 3563 passRate: b.number(), 3564 range: b.tuple([b.number(), b.number()]), 3565 }), 3566 ), 3567 ); 3568 };
3569 function g(a) { 3570 var b = a.name, 3571 c = a.code, 3572 d = a.range; 3573 a = a.passRate; 3574 return { allocation: d[1] - d[0], code: c, name: b, passRate: a }; 3575 } 3576 k.exports = a(e, function (a) { 3577 return a.map(g); 3578 }); 3579 })(); 3580 return k.exports; 3581 })(a, b, c, d); 3582 }); 3583 f.ensureModuleRegistered('SignalsFBEventsLogging', function () { 3584 return (function (g, h, i, j) { 3585 var k = { exports: {} }; 3586 k.exports; 3587 (function () { 3588 'use strict'; 3589 var a = f.getFbeventsModules('SignalsFBEventsUtils'), 3590 b = a.isArray, 3591 c = a.isInstanceOf, 3592 d = a.map, 3593 e = f.getFbeventsModules('SignalsParamList'), 3594 h = f.getFbeventsModules('signalsFBEventsSendGET'), 3595 i = f.getFbeventsModules('SignalsFBEventsJSLoader'), 3596 j = !1; 3597 function l() { 3598 j = !0; 3599 } 3600 var m = !0; 3601 function n() { 3602 m = !1; 3603 } 3604 var o = !1; 3605 function p() { 3606 o = !0; 3607 } 3608 var q = 'console', 3609 r = 'warn', 3610 s = []; 3611 function t(a) { 3612 g[q] && g[q][r] && (g[q][r](a), o && s.push(a)); 3613 } 3614 var u = !1; 3615 function v() { 3616 u = !0; 3617 } 3618 function w(a) { 3619 if (u) return; 3620 t('[Meta Pixel] - '.concat(a)); 3621 } 3622 var x = 'Meta Pixel Error', 3623 y = function () { 3624 g.postMessage != null && g.postMessage.apply(g, arguments); 3625 }, 3626 z = {}; 3627 function A(a) { 3628 switch (a.type) { 3629 case 'FBQ_NO_METHOD_NAME': 3630 return 'You must provide an argument to fbq().'; 3631 case 'INVALID_FBQ_METHOD': 3632 var b = a.method; 3633 return '"fbq(\''.concat(b, '\', ...);" is not a valid fbq command.'); 3634 case 'INVALID_FBQ_METHOD_PARAMETER': 3635 b = a.invalidParamName; 3636 var c = a.invalidParamValue, 3637 d = a.method, 3638 e = a.params; 3639 return 'Call to "fbq(\'' 3640 .concat(d, "', ") 3641 .concat(C(e), ');" with parameter "') 3642 .concat(b, '" has an invalid value of "') 3643 .concat(B(c), '"'); 3644 case 'INVALID_PIXEL_ID': 3645 d = a.pixelID; 3646 return 'Invalid PixelID: '.concat(d, '.'); 3647 case 'DUPLICATE_PIXEL_ID': 3648 e = a.pixelID; 3649 return 'Duplicate Pixel ID: '.concat(e, '.'); 3650 case 'SET_METADATA_ON_UNINITIALIZED_PIXEL_ID': 3651 b = a.metadataValue; 3652 c = a.pixelID; 3653 return 'Trying to set argument '.concat(b, ' for uninitialized Pixel ID ').concat(c, '.'); 3654 case 'CONFLICTING_VERSIONS': 3655 return 'Multiple pixels with conflicting versions were detected on this page.'; 3656 case 'MULTIPLE_PIXELS': 3657 return 'Multiple pixels were detected on this page.'; 3658 case 'UNSUPPORTED_METADATA_ARGUMENT': 3659 d = a.metadata; 3660 return 'Unsupported metadata argument: '.concat(d, '.'); 3661 case 'REQUIRED_PARAM_MISSING': 3662 e = a.param; 3663 b = a.eventName; 3664 return "Required parameter '".concat(e, "' is missing for event '").concat(b, "'."); 3665 case 'INVALID_PARAM': 3666 c = a.param; 3667 d = a.eventName; 3668 return "Parameter '".concat(c, "' is invalid for event '").concat(d, "'."); 3669 case 'NO_EVENT_NAME': 3670 return 'Missing event name. Track events must be logged with an event name fbq("track", eventName)'; 3671 case 'NONSTANDARD_EVENT': 3672 e = a.eventName; 3673 return ( 3674 "You are sending a non-standard event '".concat(e, "'. ") + 3675 "The preferred way to send these events is using trackCustom. See 'https://developers.facebook.com/docs/ads-for-websites/pixel-events/#events' for more information." 3676 ); 3677 case 'NEGATIVE_EVENT_PARAM': 3678 b = a.param; 3679 c = a.eventName; 3680 return "Parameter '".concat(b, "' is negative for event '").concat(c, "'."); 3681 case 'PII_INVALID_TYPE': 3682 d = a.key_type; 3683 e = a.key_val; 3684 return 'An invalid ' 3685 .concat(d, " was specified for '") 3686 .concat(e, "'. This data will not be sent with any events for this Pixel."); 3687 case 'PII_UNHASHED_PII': 3688 b = a.key; 3689 return "The value for the '".concat( 3690 b, 3691 "' key appeared to be PII. This data will not be sent with any events for this Pixel.", 3692 );
3693 case 'INVALID_CONSENT_ACTION': 3694 c = a.action; 3695 return '"fbq(\''.concat( 3696 c, 3697 "', ...);\" is not a valid fbq('consent', ...) action. Valid actions are 'revoke' and 'grant'.", 3698 ); 3699 case 'INVALID_JSON_LD': 3700 d = a.jsonLd; 3701 return "Unable to parse JSON-LD tag. Malformed JSON found: '".concat(d, "'."); 3702 case 'SITE_CODELESS_OPT_OUT': 3703 e = a.pixelID; 3704 return 'Unable to open Codeless events interface for pixel as the site has opted out. Pixel ID: '.concat( 3705 e, 3706 '.', 3707 ); 3708 case 'PIXEL_NOT_INITIALIZED': 3709 b = a.pixelID; 3710 return 'Pixel '.concat(b, ' not found'); 3711 case 'UNWANTED_CUSTOM_DATA': 3712 return 'Removed parameters from custom data due to potential violations. Go to Events Manager to learn more.'; 3713 case 'UNWANTED_URL_DATA': 3714 return 'Removed URL query parameters due to potential violations.'; 3715 case 'UNWANTED_EVENT_NAME': 3716 return 'Blocked Event due to potential violations.'; 3717 case 'UNVERIFIED_EVENT': 3718 return 'You are attempting to send an unverified event. The event was suppressed. Go to Events Manager to learn more.'; 3719 case 'RESTRICTED_EVENT': 3720 return 'You are attempting to send a restricted event. The event was suppressed. Go to Events Manager to learn more.'; 3721 case 'INVALID_PARAM_FORMAT': 3722 c = a.invalidParamName; 3723 return 'Invalid parameter format for '.concat( 3724 c, 3725 '. Please refer https://developers.facebook.com/docs/meta-pixel/reference/ for valid parameter specifications.', 3726 ); 3727 default: 3728 J(new Error('INVALID_USER_ERROR - '.concat(a.type, ' - ').concat(JSON.stringify(a)))); 3729 return 'Invalid User Error.'; 3730 } 3731 } 3732 var B = function (a) { 3733 if (typeof a === 'string') return "'".concat(a, "'"); 3734 else if (typeof a == 'undefined') return 'undefined'; 3735 else if (a === null) return 'null'; 3736 else if (!b(a) && a.constructor != null && a.constructor.name != null) return a.constructor.name; 3737 try { 3738 return JSON.stringify(a) || 'undefined'; 3739 } catch (a) { 3740 return 'undefined'; 3741 } 3742 }, 3743 C = function (a) { 3744 return d(a, B).join(', '); 3745 }; 3746 function D(a) { 3747 var b = a.toString(), 3748 d = null, 3749 e = null; 3750 c(a, Error) && ((d = a.fileName), (e = a.stackTrace || a.stack)); 3751 return { str: b, fileName: d, stack: e }; 3752 } 3753 function E() { 3754 var a = g.fbq.instance.pluginConfig.get(null, 'dataProcessingOptions'); 3755 return a != null && a.dataPrivacyOptions.includes('LDU') ? !0 : !1; 3756 } 3757 function F() { 3758 return g.fbq && g.fbq._releaseSegment ? g.fbq._releaseSegment : 'unknown'; 3759 } 3760 function G() { 3761 var a = Math.random(), 3762 b = F(); 3763 return (m && a < 0.01) || b === 'canary' || g.fbq.alwaysLogErrors; 3764 } 3765 function H(a, b, c, d, f) { 3766 try { 3767 if (E()) return; 3768 if (g.fbq && g.fbq.disableErrorLogging) return; 3769 if (!G()) return; 3770 var j = new e(null); 3771 d != null && d !== '' ? j.append('p', d) : j.append('p', 'pixel'); 3772 f != null && f !== '' && j.append('pn', f); 3773 j.append('sl', c.toString()); 3774 j.append('v', g.fbq && g.fbq.version ? g.fbq.version : 'unknown'); 3775 j.append('e', a.str); 3776 a.fileName != null && a.fileName !== '' && j.append('f', a.fileName); 3777 a.stack != null && a.stack !== '' && j.append('s', a.stack); 3778 j.append('ue', b ? '1' : '0'); 3779 j.append('rs', F()); 3780 h(j, { url: i.CONFIG.CDN_BASE_URL + '/log/error', ignoreRequestLengthCheck: !0 }); 3781 } catch (a) {} 3782 } 3783 function I(a) { 3784 var b = JSON.stringify(a); 3785 if (!Object.prototype.hasOwnProperty.call(z, b)) z[b] = !0; 3786 else return; 3787 b = A(a); 3788 w(b); 3789 y({ action: 'FB_LOG', logMessage: b, logType: x }, '*'); 3790 H({ str: b, fileName: null, stack: null }, !0, 0); 3791 } 3792 function J(a, b, c) { 3793 (H(D(a), !1, 0, b, c), j && w(a.toString())); 3794 } 3795 function K(a, b, c) { 3796 (H(D(a), !1, 1, b, c), j && w(a.toString())); 3797 } 3798 function L(a, b, c) { 3799 (H(D(a), !1, 2, b, c), j && w(a.toString())); 3800 } 3801 function M(a, b, c) { 3802 (H({ str: a, fileName: null, stack: null }
3802, !1, 2, b, c), j && w(a)); 3803 } 3804 a = { 3805 consoleWarn: t, 3806 disableAllLogging: v, 3807 disableSampling: n, 3808 enableVerboseDebugLogging: l, 3809 logError: J, 3810 logUserError: I, 3811 logWarning: K, 3812 logInfoString: M, 3813 logInfo: L, 3814 enableBufferedLoggedWarnings: p, 3815 bufferedLoggedWarnings: s, 3816 }; 3817 k.exports = a; 3818 })(); 3819 return k.exports; 3820 })(a, b, c, d); 3821 }); 3822 f.ensureModuleRegistered('signalsFBEventsMakeSafe', function () { 3823 return (function (g, h, i, j) { 3824 var k = { exports: {} }; 3825 k.exports; 3826 (function () { 3827 'use strict'; 3828 var a = f.getFbeventsModules('SignalsFBEventsLogging'), 3829 b = a.logError; 3830 function c(a) { 3831 return function () { 3832 try { 3833 for (var c = arguments.length, d = new Array(c), e = 0; e < c; e++) d[e] = arguments[e]; 3834 a.apply(this, d); 3835 } catch (a) { 3836 b(a); 3837 } 3838 return; 3839 }; 3840 } 3841 k.exports = c; 3842 })(); 3843 return k.exports; 3844 })(a, b, c, d); 3845 }); 3846 f.ensureModuleRegistered('SignalsFBEventsMessageParamsTypedef', function () { 3847 return (function (g, h, i, j) { 3848 var k = { exports: {} }; 3849 k.exports; 3850 (function () { 3851 'use strict'; 3852 var a = f.getFbeventsModules('SignalsFBEventsTyped'); 3853 a = a.Typed; 3854 var b = f.getFbeventsModules('SignalsParamList'); 3855 a = a.objectWithFields({ 3856 customData: a.allowNull(a.object()), 3857 customParams: function (a) { 3858 return a instanceof b ? a : void 0; 3859 }, 3860 eventName: a.string(), 3861 id: a.string(), 3862 piiTranslator: function (a) { 3863 return typeof a === 'function' ? a : void 0; 3864 }, 3865 documentLink: a.allowNull(a.string()), 3866 referrerLink: a.allowNull(a.string()), 3867 }); 3868 k.exports = a; 3869 })(); 3870 return k.exports; 3871 })(a, b, c, d); 3872 }); 3873 f.ensureModuleRegistered('SignalsFBEventsMicrodataConfigTypedef', function () { 3874 return (function (g, h, i, j) { 3875 var k = { exports: {} }; 3876 k.exports; 3877 (function () { 3878 'use strict'; 3879 var a = f.getFbeventsModules('SignalsFBEventsTyped'); 3880 a = a.Typed; 3881 a = a.objectWithFields({ 3882 waitTimeMs: a.allowNull( 3883 a.withValidation({ 3884 def: a.number(), 3885 validators: [ 3886 function (a) { 3887 return a > 0 && a < 1e4; 3888 }, 3889 ], 3890 }), 3891 ), 3892 enablePageHash: a.allowNull(a['boolean']()), 3893 }); 3894 k.exports = a; 3895 })(); 3896 return k.exports; 3897 })(a, b, c, d); 3898 }); 3899 f.ensureModuleRegistered('SignalsFBEventsMobileAppBridge', function () { 3900 return (function (g, h, i, j) { 3901 var k = { exports: {} }; 3902 k.exports; 3903 (function () { 3904 'use strict'; 3905 var a = f.getFbeventsModules('SignalsFBEventsTelemetry'), 3906 b = f.getFbeventsModules('SignalsFBEventsUtils'), 3907 c = b.each, 3908 d = 'fbmq-0.1', 3909 e = { 3910 AddPaymentInfo: 'fb_mobile_add_payment_info', 3911 AddToCart: 'fb_mobile_add_to_cart', 3912 AddToWishlist: 'fb_mobile_add_to_wishlist', 3913 CompleteRegistration: 'fb_mobile_complete_registration', 3914 InitiateCheckout: 'fb_mobile_initiated_checkout', 3915 Other: 'other', 3916 Purchase: 'fb_mobile_purchase', 3917 Search: 'fb_mobile_search', 3918 ViewContent: 'fb_mobile_content_view', 3919 }, 3920 h = { 3921 content_ids: 'fb_content_id', 3922 content_type: 'fb_content_type', 3923 currency: 'fb_currency', 3924 num_items: 'fb_num_items', 3925 search_string: 'fb_search_string', 3926 value: '_valueToSum', 3927 contents: 'fb_content', 3928 }, 3929 i = {}; 3930 function j(a) { 3931 return 'fbmq_' + a[1]; 3932 } 3933 function l(a) { 3934 if (Object.prototype.hasOwnProperty.call(i, [0]) && Object.prototype.hasOwnProperty.call(i[a[0]], a[1])) 3935 return !0; 3936 var b = g[j(a)]; 3937 b = b && b.getProtocol.call && b.getProtocol() === d ? b : null; 3938 b !== null && ((i[a[0]] = i[a[0]] || {}), (i[a[0]][a[1]] = b)); 3939 return b !== null; 3940 } 3941 function m(a) { 3942 var b = []; 3943 a = i[a.id] || {}; 3944 for (var c in a) Object.prototype.hasOwnProperty.call(a, c) && b.push(a[c]); 3945 return b; 3946 } 3947 function n(a) { 3948 return m(a).length > 0; 3949 } 3950 function o(a) { 3951 return Object.prototype.hasOwnProperty.call(e, a) ? e[a] : a; 3952 } 3953 function p(a) { 3954 return Object.prototype.hasOwnProperty.call(h, a) ? h[a] : a; 3955 } 3956 function q(a) { 3957 if (typeof a === 'string') return a; 3958 if (typeof a === 'number') return isNaN(a) ? void 0 : a; 3959 try { 3960 return JSON.stringify(a); 3961 } catch (a) {} 3962 return a.toString && a.toString.call ? a.toString() : void 0; 3963 } 3964 function r(a) { 3965 var b = {}; 3966 if (a != null && G(a) === 'object') 3967 for (var c in a) 3968 if (Object.prototype.hasOwnProperty.call(a, c)) { 3969 var d = q(a[c]); 3970 d != null && (b[p(c)] = d); 3971 } 3972 return b; 3973 } 3974 var s = 0; 3975 function t() { 3976 var b = s; 3977 s = 0; 3978 a.logMobileNativeForwarding(b); 3979 } 3980 function u(a, b, d) { 3981 (c(m(a), function (c) { 3982 return c.sendEvent(a.id, o(b), JSON.stringify(r(d))); 3983 }), 3984 s++, 3985 setTimeout(t, 0)); 3986 } 3987 k.exports = { pixelHasActiveBridge: n, registerBridge: l, sendEvent: u }; 3988 })(); 3989 return k.exports; 3990 })(a, b, c, d); 3991 }); 3992 f.ensureModuleRegistered('SignalsFBEventsModuleEncodings', function () { 3993 return (function (g, h, i, j) { 3994 var k = { exports: {} }; 3995 k.exports; 3996 (function () { 3997 'use strict'; 3998 var a = f.getFbeventsModules('SignalsFBEventsTyped'), 3999 b = a.coerce, 4000 c = f.getFbeventsModules('SignalsFBEventsModuleEncodingsTypedef'); 4001 f.getFbeventsModules('SignalsParamList'); 4002 a = f.getFbeventsModules('SignalsFBEventsTyped'); 4003 var d = a.Typed; 4004 a = f.getFbeventsModules('SignalsFBEventsUtils'); 4005 var h = a.map, 4006 i = a.keys, 4007 j = a.filter; 4008 f.getFbeventsModules('SignalsFBEventsQE'); 4009 f.getFbeventsModules('SignalsFBEventsGuardrail'); 4010 a = (function () { 4011 function a() { 4012 w(this, a); 4013 } 4014 return y(a, [ 4015 { 4016 key: 'setModuleEncodings', 4017 value: function (a) { 4018 a = b(a, c); 4019 a != null && (this.moduleEncodings = a); 4020 }, 4021 }, 4022 { 4023 key: 'addEncodings', 4024 value: function (a) { 4025 var c = this; 4026 if (g.fbq == null || g.fbq.__fbeventsResolvedModules == null) return; 4027 if (this.moduleEncodings == null) return; 4028 var f = b(g.fbq.__fbeventsResolvedModules, d.object()); 4029 if (f == null) return; 4030 f = j( 4031 h(i(f), function (a) { 4032 return c.moduleEncodings.map != null && a in c.moduleEncodings.map 4033 ? c.moduleEncodings.map[a] 4034 : null; 4035 }), 4036 function (a) { 4037 return a != null; 4038 }, 4039 ); 4040 f.length > 0 && 4041 (this.moduleEncodings.hash != null && a.append('hme', this.moduleEncodings.hash), 4042 a.append('ex_m', f.join(','))); 4043 }, 4044 }, 4045 ]); 4046 })(); 4047 k.exports = new a(); 4048 })(); 4049 return k.exports; 4050 })(a, b, c, d); 4051 }); 4052 f.ensureModuleRegistered('SignalsFBEventsModuleEncodingsTypedef', function () { 4053 return (function (g, h, i, j) { 4054 var k = { exports: {} }; 4055 k.exports; 4056 (function () { 4057 'use strict'; 4058 var a = f.getFbeventsModules('SignalsFBEventsTyped'); 4059 a = a.Typed; 4060 a = a.objectWithFields({ map: a.allowNull(a.object()), hash: a.allowNull(a.str
4060ing()) }); 4061 k.exports = a; 4062 })(); 4063 return k.exports; 4064 })(a, b, c, d); 4065 }); 4066 f.ensureModuleRegistered('SignalsFBEventsNetworkConfig', function () { 4067 return (function (f, g, h, i) { 4068 var j = { exports: {} }; 4069 j.exports; 4070 (function () { 4071 'use strict'; 4072 var a = { 4073 ENDPOINT: 'https://www.facebook.com/tr/', 4074 INSTAGRAM_TRIGGER_ATTRIBUTION: 'https://www.instagram.com/tr/', 4075 GPS_ENDPOINT: 'https://www.facebook.com/privacy_sandbox/pixel/register/trigger/', 4076 TOPICS_API_ENDPOINT: 'https://www.facebook.com/privacy_sandbox/topics/registration/', 4077 }; 4078 j.exports = a; 4079 })(); 4080 return j.exports; 4081 })(a, b, c, d); 4082 }); 4083 f.ensureModuleRegistered('SignalsFBEventsNormalizers', function () { 4084 return (function (g, h, i, j) { 4085 var k = { exports: {} }; 4086 k.exports; 4087 (function () { 4088 'use strict'; 4089 var a = f.getFbeventsModules('normalizeSignalsFBEventsStringType'), 4090 b = a.normalize, 4091 c = a.normalizeState; 4092 a = a.normalizeCountry; 4093 k.exports = { 4094 email: f.getFbeventsModules('normalizeSignalsFBEventsEmailType'), 4095 enum: f.getFbeventsModules('normalizeSignalsFBEventsEnumType'), 4096 postal_code: f.getFbeventsModules('normalizeSignalsFBEventsPostalCodeType'), 4097 phone_number: f.getFbeventsModules('normalizeSignalsFBEventsPhoneNumberType'), 4098 dob: f.getFbeventsModules('normalizeSignalsFBEventsDOBType'), 4099 normalize_state: c, 4100 normalize_country: a, 4101 string: b, 4102 }; 4103 })(); 4104 return k.exports; 4105 })(a, b, c, d); 4106 }); 4107 f.ensureModuleRegistered('SignalsFBEventsOpenBridgeConfigTypedef', function () { 4108 return (function (g, h, i, j) { 4109 var k = { exports: {} }; 4110 k.exports; 4111 (function () { 4112 'use strict'; 4113 var a = f.getFbeventsModules('SignalsFBEventsTyped'), 4114 b = a.Typed; 4115 a.coerce; 4116 a = b.objectWithFields({ 4117 endpoints: b.arrayOf( 4118 b.objectWithFields({ 4119 targetDomain: b.allowNull(b.string()), 4120 endpoint: b.allowNull(b.string()), 4121 usePathCookie: b.allowNull(b['boolean']()), 4122 fallbackDomain: b.allowNull(b.string()), 4123 }), 4124 ), 4125 eventsFilter: b.allowNull( 4126 b.objectWithFields({ 4127 filteringMode: b.allowNull(b.string()), 4128 eventNames: b.allowNull(b.arrayOf(b.string())), 4129 }), 4130 ), 4131 additionalUserData: b.allowNull( 4132 b.objectWithFields({ 4133 sendFBLoginID: b.allowNull(b['boolean']()), 4134 useSGWUserData: b.allowNull(b['boolean']()), 4135 }), 4136 ), 4137 }); 4138 k.exports = a; 4139 })(); 4140 return k.exports; 4141 })(a, b, c, d); 4142 }); 4143 f.ensureModuleRegistered('SignalsFBEventsOptIn', function () { 4144 return (function (g, h, i, j) { 4145 var k = { exports: {} }; 4146 k.exports; 4147 (function () { 4148 'use strict'; 4149 var a = f.getFbeventsModules('SignalsFBEventsUtils'), 4150 b = a.each, 4151 c = a.filter, 4152 d = a.keys, 4153 e = a.some; 4154 function g(a) { 4155 b(d(a), function (b) { 4156 if ( 4157 e(a[b], function (b) { 4158 return Object.prototype.hasOwnProperty.call(a, b); 4159 }) 4160 ) 4161 throw new Error('Circular subOpts are not allowed. ' + b + ' depends on another subOpt'); 4162 }); 4163 } 4164 a = (function () { 4165 function a() { 4166 var b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; 4167 w(this, a); 4168 z(this, '_opts', {}); 4169 this._subOpts = b; 4170 g(this._subOpts); 4171 } 4172 return y(a, [ 4173 { 4174 key: '_getOpts', 4175 value: function (a) { 4176 return [].concat(C(Object.prototype.hasOwnProperty.call(this._subOpts, a) ? this._subOpts[a] : []), [ 4177 a, 4178 ]); 4179 }, 4180 }, 4181 { 4182 key: '_setOpt', 4183 value: function (a, b, c) { 4184 b = this._opts[b] || (this._opts[b] = {}); 4185 b[a] = c; 4186 }, 4187 }, 4188 { 4189 key: 'optIn', 4190 value: function (a, c) { 4191 var d = this, 4192 e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1; 4193 b(this._getOpts(c), function (b) { 4194 var f = e == !0 && d.isOptedOut(a, c); 4195 f || d._setOpt(a, b, !0); 4196 }); 4197 return this; 4198 }, 4199 }, 4200 { 4201 key: 'optOut', 4202 value: function (a, c) { 4203 var d = this; 4204 b(this._getOpts(c), function (b) { 4205 return d._setOpt(a, b, !1); 4206 }); 4207 return this; 4208 }, 4209 }, 4210 { 4211 key: 'isOptedIn', 4212 value: function (a, b) { 4213 return this._opts[b] != null && this._opts[b][a] === !0; 4214 }, 4215 }, 4216 { 4217 key: 'isOptedOut', 4218 value: function (a, b) { 4219 return this._opts[b] != null && this._opts[b][a] === !1; 4220 }, 4221 }, 4222 { 4223 key: 'listPixelIds', 4224 value: function (a) { 4225 var b = this._opts[a]; 4226 return b != null 4227 ? c(d(b), function (a) { 4228 return b[a] === !0; 4229 }) 4230 : []; 4231 }, 4232 }, 4233 ]); 4234 })(); 4235 k.exports = a; 4236 })(); 4237 return k.exports; 4238 })(a, b, c, d); 4239 }); 4240 f.ensureModuleRegistered('SignalsFBEventsParallelFireConfigTypedef', function () { 4241 return (function (g, h, i, j) { 4242 var k = { exports: {} }; 4243 k.exports; 4244 (function () { 4245 'use strict'; 4246 var a = f.getFbeventsModules('SignalsFBEventsTyped'); 4247 a = a.Typed; 4248 a = a.objectWithFields({ target: a.string() }); 4249 k.exports = a; 4250 })(); 4251 return k.exports; 4252 })(a, b, c, d); 4253 }); 4254 f.ensureModuleRegistered('SignalsFBEventsPIIAutomatchedEvent', function () { 4255 return (function (g, h, i, j) { 4256 var k = { exports: {} }; 4257 k.exports; 4258 (function () { 4259 'use strict'; 4260 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'), 4261 b = f.getFbeventsModules('SignalsFBEventsPixelTypedef'), 4262 c = f.getFbeventsModules('SignalsFBEventsTyped'), 4263 d = c.coerce; 4264 function e(a) { 4265 a = d(a, b); 4266 return a != null ? [a] : null; 4267 } 4268 c = new a(e); 4269 k.exports = c; 4270 })(); 4271 return k.exports; 4272 })(a, b, c, d); 4273 }); 4274 f.ensureModuleRegistered('SignalsFBEventsPIIConflictingEvent', function () { 4275 return (function (g, h, i, j) { 4276 var k = { exports: {} }; 4277 k.exports; 4278 (function () { 4279 'use strict'; 4280 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'), 4281 b = f.getFbeventsModules('SignalsFBEventsPixelTypedef'), 4282 c = f.getFbeventsModules('SignalsFBEventsTyped'), 4283 d = c.coerce; 4284 function e(a) { 4285 a = d(a, b); 4286 return a != null ? [a] : null; 4287 } 4288 c = new a(e); 4289 k.exports = c; 4290 })(); 4291 return k.exports; 4292 })(a, b, c, d); 4293 });
4294 f.ensureModuleRegistered('SignalsFBEventsPIIInvalidatedEvent', function () { 4295 return (function (g, h, i, j) { 4296 var k = { exports: {} }; 4297 k.exports; 4298 (function () { 4299 'use strict'; 4300 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'), 4301 b = f.getFbeventsModules('SignalsFBEventsPixelTypedef'), 4302 c = f.getFbeventsModules('SignalsFBEventsTyped'), 4303 d = c.coerce; 4304 function e(a) { 4305 a = d(a, b); 4306 return a != null ? [a] : null; 4307 } 4308 k.exports = new a(e); 4309 })(); 4310 return k.exports; 4311 })(a, b, c, d); 4312 }); 4313 f.ensureModuleRegistered('SignalsFBEventsPixelCookie', function () { 4314 return (function (g, h, i, j) { 4315 var k = { exports: {} }; 4316 k.exports; 4317 (function () { 4318 'use strict'; 4319 var a = f.getFbeventsModules('SignalsFBEventsLogging'), 4320 b = a.logError, 4321 c = 'fb', 4322 d = 4, 4323 e = 5, 4324 g = ['AQ', 'Ag', 'Aw', 'BA', 'BQ', 'Bg'], 4325 h = 2, 4326 i = 8, 4327 j = '__DOT__', 4328 l = new RegExp(j, 'g'), 4329 m = /\./g; 4330 a = (function () { 4331 function a(b) { 4332 (w(this, a), 4333 typeof b === 'string' 4334 ? this.maybeUpdatePayload(b) 4335 : ((this.subdomainIndex = b.subdomainIndex), 4336 (this.creationTime = b.creationTime), 4337 (this.payload = b.payload), 4338 (this.paramBuilderToken = b.paramBuilderToken))); 4339 } 4340 return y( 4341 a, 4342 [ 4343 { 4344 key: 'pack', 4345 value: function () { 4346 var a = this.payload != null ? this.payload.replace(m, j) : ''; 4347 a = [c, this.subdomainIndex, this.creationTime, a, this.paramBuilderToken].filter(function (a) { 4348 return a != null; 4349 }); 4350 return a.join('.'); 4351 }, 4352 }, 4353 { 4354 key: 'maybeUpdatePayload', 4355 value: function (a) { 4356 if (this.payload === null || this.payload !== a) { 4357 this.payload = a; 4358 a = Date.now(); 4359 this.creationTime = typeof a === 'number' ? a : new Date().getTime(); 4360 } 4361 }, 4362 }, 4363 ], 4364 [ 4365 { 4366 key: 'unpack', 4367 value: function (f) { 4368 try { 4369 f = f.split('.'); 4370 if (f.length !== d && f.length !== e) return null; 4371 var j = q(f, 5), 4372 k = j[0], 4373 m = j[1], 4374 n = j[2], 4375 o = j[3]; 4376 j = j[4]; 4377 if (j != null) { 4378 if (j.length !== h && j.length !== i) throw new Error('Illegal param builder token length'); 4379 if (j.length === h && !g.includes(j)) throw new Error('Illegal param builder token'); 4380 } 4381 if (k !== c) throw new Error("Unexpected version number '".concat(f[0], "'")); 4382 k = parseInt(m, 10); 4383 if (isNaN(k)) throw new Error("Illegal subdomain index '".concat(f[1], "'")); 4384 m = parseInt(n, 10); 4385 if (isNaN(m)) throw new Error("Illegal creation time '".concat(f[2], "'")); 4386 if (o == null || o === '') throw new Error('Empty cookie payload'); 4387 n = o.replace(l, '.'); 4388 return new a({ creationTime: m, payload: n, subdomainIndex: k, paramBuilderToken: j }); 4389 } catch (a) { 4390 b(a); 4391 return null; 4392 } 4393 }, 4394 }, 4395 ], 4396 ); 4397 })(); 4398 k.exports = a; 4399 })(); 4400 return k.exports; 4401 })(a, b, c, d); 4402 }); 4403 f.ensureModuleRegistered('SignalsFBEventsPixelPIISchema', function () { 4404 return (function (f, g, h, i) { 4405 var j = { exports: {} }; 4406 j.exports; 4407 (function () { 4408 'use strict'; 4409 j.exports = { 4410 default: { type: 'string', typeParams: { lowercase: !0, strip: 'whitespace_only' } }, 4411 ph: { type: 'phone_number' }, 4412 em: { type: 'email' }, 4413 fn: { type: 'string', typeParams: { lowercase: !0, strip: 'whitespace_and_punctuation' } },
4414 ln: { type: 'string', typeParams: { lowercase: !0, strip: 'whitespace_and_punctuation' } }, 4415 zp: { type: 'postal_code' }, 4416 ct: { 4417 type: 'string', 4418 typeParams: { lowercase: !0, strip: 'all_non_latin_alpha_numeric', test: '^[a-z]+' }, 4419 }, 4420 st: { type: 'normalize_state' }, 4421 country: { type: 'normalize_country' }, 4422 db: { type: 'dob' }, 4423 dob: { type: 'date' }, 4424 doby: { type: 'string', typeParams: { test: '^[0-9]{4,4}$' } }, 4425 ge: { type: 'enum', typeParams: { lowercase: !0, options: ['f', 'm'] } }, 4426 dobm: { 4427 type: 'string', 4428 typeParams: { test: '^(0?[1-9]|1[012])$|^jan|^feb|^mar|^apr|^may|^jun|^jul|^aug|^sep|^oct|^nov|^dec' }, 4429 }, 4430 dobd: { type: 'string', typeParams: { test: '^(([0]?[1-9])|([1-2][0-9])|(3[01]))$' } }, 4431 }; 4432 })(); 4433 return j.exports; 4434 })(a, b, c, d); 4435 }); 4436 f.ensureModuleRegistered('SignalsFBEventsPixelTypedef', function () { 4437 return (function (g, h, i, j) { 4438 var k = { exports: {} }; 4439 k.exports; 4440 (function () { 4441 'use strict'; 4442 var a = f.getFbeventsModules('SignalsFBEventsTyped'); 4443 a = a.Typed; 4444 a = a.objectWithFields({ 4445 eventCount: a.number(), 4446 id: a.fbid(), 4447 userData: a.mapOf(a.string()), 4448 userDataFormFields: a.mapOf(a.string()), 4449 }); 4450 k.exports = a; 4451 })(); 4452 return k.exports; 4453 })(a, b, c, d); 4454 }); 4455 f.ensureModuleRegistered('SignalsFBEventsPlugin', function () { 4456 return (function (f, g, h, i) { 4457 var j = { exports: {} }; 4458 j.exports; 4459 (function () { 4460 'use strict'; 4461 var a = y(function a(b) { 4462 (w(this, a), z(this, '__fbEventsPlugin', 1), (this.plugin = b), (this.__fbEventsPlugin = 1)); 4463 }); 4464 j.exports = a; 4465 })(); 4466 return j.exports; 4467 })(a, b, c, d); 4468 }); 4469 f.ensureModuleRegistered('SignalsFBEventsPluginLoadedEvent', function () { 4470 return (function (g, h, i, j) { 4471 var k = { exports: {} }; 4472 k.exports; 4473 (function () { 4474 'use strict'; 4475 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'); 4476 function b(a) { 4477 a = a != null && typeof a === 'string' ? a : null; 4478 return a != null ? [a] : null; 4479 } 4480 k.exports = new a(b); 4481 })(); 4482 return k.exports; 4483 })(a, b, c, d); 4484 }); 4485 f.ensureModuleRegistered('SignalsFBEventsPluginManager', function () { 4486 return (function (g, h, i, j) { 4487 var k = { exports: {} }; 4488 k.exports; 4489 (function () { 4490 'use strict'; 4491 var a = f.getFbeventsModules('SignalsFBEventsConfigStore'), 4492 b = f.getFbeventsModules('SignalsFBEventsEvents'), 4493 c = b.pluginLoaded, 4494 d = f.getFbeventsModules('SignalsFBEventsJSLoader'); 4495 b = f.getFbeventsModules('SignalsFBEventsLogging'); 4496 var e = b.logError, 4497 g = f.getFbeventsModules('SignalsFBEventsPlugin'); 4498 function h(a) { 4499 return 'fbevents.plugins.'.concat(a); 4500 } 4501 function i(a, b) { 4502 if (a === 'fbevents') return new g(function () {}); 4503 if (b instanceof g) return b; 4504 if (b == null || G(b) !== 'object') { 4505 e(new Error('Invalid plugin registered '.concat(a))); 4506 return new g(function () {}); 4507 } 4508 var c = b.__fbEventsPlugin; 4509 b = b.plugin; 4510 if (c !== 1 || typeof b !== 'function') { 4511 e(new Error('Invalid plugin registered '.concat(a))); 4512 return new g(function () {}); 4513 } 4514 return new g(b); 4515 } 4516 b = (function () { 4517 function b(a, c) { 4518 (w(this, b), z(this, '_loadedPlugins', {}), (this._instance = a), (this._lock = c)); 4519 } 4520 return y(b, [ 4521 { 4522 key: 'registerPlugin', 4523 value: function (b, d) { 4524 if (Object.prototype.hasOwnProperty.call(this._loadedPlugins, b)) return; 4525 this._loadedPlugins[b] = i(b, d); 4526 this._loadedPlugins[b].plugin(f, this._instance, a); 4527 c.trigger(b); 4528 this._lock.releasePlugin(b); 4529 }, 4530 }, 4531 { 4532 key: 'loadPlugin', 4533 value: function (a) { 4534 if (/^[a-zA-Z]\w+$/.test(a) === !1) throw new Error('Invalid plugin name: '.concat(a)); 4535 var b = h(a); 4536 if (this._loadedPlugins[b]) return !0; 4537 if (f.fbIsModuleLoaded(b)) { 4538 this.registerPlugin(b, f.getFbeventsModules(b)); 4539 return !0; 4540 } 4541 a = ''.concat(d.CONFIG.CDN_BASE_URL, 'signals/plugins/').concat(a, '.js?v=').concat(f.version); 4542 if (!this._loadedPlugins[b]) { 4543 this._lock.lockPlugin(b); 4544 d.loadJSFile(a); 4545 return !0; 4546 } 4547 return !1; 4548 }, 4549 }, 4550 ]); 4551 })(); 4552 k.exports = b; 4553 })(); 4554 return k.exports; 4555 })(a, b, c, d); 4556 }); 4557 f.ensureModuleRegistered('SignalsFBEventsProcessCCRulesEvent', function () { 4558 return (function (g, h, i, j) { 4559 var k = { exports: {} }; 4560 k.exports; 4561 (function () { 4562 'use strict'; 4563 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'), 4564 b = f.getFbeventsModules('SignalsParamList'); 4565 function c(a, c) { 4566 a = a instanceof b ? a : null; 4567 c = G(c) === 'object' ? v({}, c) : null; 4568 return a != null ? [a, c] : null; 4569 } 4570 a = new a(c); 4571 k.exports = a; 4572 })(); 4573 return k.exports; 4574 })(a, b, c, d); 4575 }); 4576 f.ensureModuleRegistered('SignalsFBEventsProcessEmailAddress', function () { 4577 return (function (g, h, i, j) { 4578 var k = { exports: {} }; 4579 k.exports; 4580 (function () { 4581 'use strict'; 4582 var a = f.getFbeventsModules('SignalsFBEventsValidationUtils'), 4583 b = a.looksLikeHashed; 4584 a = f.getFbeventsModules('SignalsFBEventsLogging'); 4585 var c = a.logError; 4586 a = f.getFbeventsModules('SignalsFBEventsUtils'); 4587 var d = a.each, 4588 e = a.keys; 4589 a = f.getFbeventsModules('SignalsFBEventsValidationUtils'); 4590 var g = a.trim; 4591 f.getFbeventsModules('SignalsFBEventsQE'); 4592 var h = ['em', 'email']; 4593 function i(a) { 4594 try { 4595 if (a == null || G(a) !== 'object') return a; 4596 d(e(a), function (c) { 4597 var d = a[c]; 4598 if (b(d)) return; 4599 if ((typeof h.includes === 'function' && !h.includes(c)) || d == null || typeof d != 'string') return; 4600 d = g(d); 4601 if (d.length === 0) return; 4602 d[d.length - 1] === ',' && (d = d.slice(0, d.length - 1)); 4603 a[c] = d; 4604 }); 4605 } catch (a) { 4606 ((a.message = '[NormalizeEmailAddress]: ' + a.message), c(a)); 4607 } 4608 return a; 4609 } 4610 k.exports = i; 4611 })(); 4612 return k.exports; 4613 })(a, b, c, d); 4614 }); 4615 f.ensureModuleRegistered('SignalsFBEventsProhibitedPixelConfigTypedef', function () { 4616 return (function (g, h, i, j) { 4617 var k = { exports: {} }; 4618 k.exports; 4619 (function () { 4620 'use strict'; 4621 var a = f.getFbeventsModules('SignalsFBEventsTyped'); 4622 a.coerce; 4623 a = a.Typed; 4624 a = a.objectWithFields({ lockWebpage: a.allowNull(a['boolean']()), blockReason: a.allowNull(a.str
4624ing()) }); 4625 k.exports = a; 4626 })(); 4627 return k.exports; 4628 })(a, b, c, d); 4629 }); 4630 f.ensureModuleRegistered('SignalsFBEventsProhibitedSourcesTypedef', function () { 4631 return (function (g, h, i, j) { 4632 var k = { exports: {} }; 4633 k.exports; 4634 (function () { 4635 'use strict'; 4636 var a = f.getFbeventsModules('SignalsFBEventsTyped'), 4637 b = a.Typed; 4638 a.coerce; 4639 a = b.objectWithFields({ 4640 prohibitedSources: b.arrayOf(b.objectWithFields({ domain: b.allowNull(b.string()) })), 4641 }); 4642 k.exports = a; 4643 })(); 4644 return k.exports; 4645 })(a, b, c, d); 4646 }); 4647 f.ensureModuleRegistered('SignalsFBEventsProtectedDataModeConfigTypedef', function () { 4648 return (function (g, h, i, j) { 4649 var k = { exports: {} }; 4650 k.exports; 4651 (function () { 4652 'use strict'; 4653 var a = f.getFbeventsModules('SignalsFBEventsTyped'), 4654 b = a.Typed; 4655 a.coerce; 4656 a = b.objectWithFields({ standardParams: b.mapOf(b['boolean']()) }); 4657 k.exports = a; 4658 })(); 4659 return k.exports; 4660 })(a, b, c, d); 4661 }); 4662 f.ensureModuleRegistered('SignalsFBEventsQE', function () { 4663 return (function (g, h, i, j) { 4664 var k = { exports: {} }; 4665 k.exports; 4666 (function () { 4667 'use strict'; 4668 var a = f.getFbeventsModules('SignalsFBEventsGuardrail'), 4669 b = f.getFbeventsModules('SignalsFBEventsExperimentsTypedef'), 4670 c = f.getFbeventsModules('SignalsFBEventsLegacyExperimentGroupsTypedef'), 4671 d = f.getFbeventsModules('SignalsFBEventsTypeVersioning'), 4672 e = f.getFbeventsModules('SignalsFBEventsTyped'), 4673 g = e.coerce; 4674 e = f.getFbeventsModules('SignalsFBEventsUtils'); 4675 var h = e.reduce; 4676 e = f.getFbeventsModules('SignalsFBEventsLogging'); 4677 var i = e.logWarning, 4678 j = function () { 4679 return Math.random(); 4680 }, 4681 l = 'pixel', 4682 m = 'FBEventsQE'; 4683 function n(a) { 4684 var b = h( 4685 a, 4686 function (b, c, a) { 4687 if (a === 0) { 4688 b.push([0, c.allocation]); 4689 return b; 4690 } 4691 a = q(b[a - 1], 2); 4692 a[0]; 4693 a = a[1]; 4694 b.push([a, a + c.allocation]); 4695 return b; 4696 }, 4697 [], 4698 ), 4699 c = j(); 4700 for (var d = 0; d < a.length; d++) { 4701 var e = a[d], 4702 f = e.passRate, 4703 g = e.code; 4704 e = e.name; 4705 var i = q(b[d], 2), 4706 k = i[0]; 4707 i = i[1]; 4708 if (c >= k && c < i) { 4709 k = j() < f; 4710 return { code: g, isInExperimentGroup: k, name: e }; 4711 } 4712 } 4713 return null; 4714 } 4715 e = (function () { 4716 function e() { 4717 (w(this, e), 4718 z(this, '_result', null), 4719 z(this, '_hasRolled', !1), 4720 z(this, '_isExposed', !1), 4721 z(this, 'CONTROL', 'CONTROL'), 4722 z(this, 'TEST', 'TEST'), 4723 z(this, 'UNASSIGNED', 'UNASSIGNED')); 4724 } 4725 return y(e, [ 4726 { 4727 key: 'setExperiments', 4728 value: function (a) { 4729 a = g(a, d.waterfall([c, b])); 4730 a != null && 4731 ((this._experiments = a), (this._hasRolled = !1), (this._result = null), (this._isExposed = !1)); 4732 }, 4733 }, 4734 { 4735 key: 'get', 4736 value: function (a) { 4737 if (!this._hasRolled) { 4738 var b = this._experiments; 4739 if (b == null) return null; 4740 b = n(b); 4741 b != null && (this._result = b); 4742 this._hasRolled = !0; 4743 } 4744 if (a == null || a === '') return this._result; 4745 return this._result != null && this._result.name === a ? this._result : null; 4746 }, 4747 }, 4748 { 4749 key: 'getCode', 4750 value: function (a) { 4751 try { 4752 if (a != null && a.toString() === '3615875995349958') return 'm1'; 4753 } catch (b) { 4754 a = new Error('QE override failed'); 4755 i(a, l, m); 4756 } 4757 a = this.get(); 4758 if (a == null) return ''; 4759 var b = 0; 4760 a.isInExperimentGroup && (b |= 1); 4761 this._isExposed && (b |= 2); 4762 return a.code + b.toString(); 4763 }, 4764 }, 4765 { 4766 key: 'getAssignmentFor', 4767 value: function (a) { 4768 var b = this.get(); 4769 if (b != null && b.name === a) { 4770 this._isExposed = !0; 4771 return b.isInExperimentGroup ? this.TEST : this.CONTROL; 4772 } 4773 return this.UNASSIGNED; 4774 }, 4775 }, 4776 { 4777 key: 'isInTest', 4778 value: function (b) { 4779 if (a.eval('release_' + b)) return !0; 4780 var c = this.get(); 4781 if (c != null && c.name === b) { 4782 this._isExposed = !0; 4783 return c.isInExperimentGroup; 4784 } 4785 return !1; 4786 }, 4787 }, 4788 { 4789 key: 'clearExposure', 4790 value: function () { 4791 this._isExposed = !1; 4792 }, 4793 }, 4794 ]); 4795 })(); 4796 k.exports = new e(); 4797 })(); 4798 return k.exports; 4799 })(a, b, c, d); 4800 }); 4801 f.ensureModuleRegistered('SignalsFBEventsQEV2', function () { 4802 return (function (g, h, i, j) { 4803 var k = { exports: {} }; 4804 k.exports; 4805 (function () { 4806 'use strict'; 4807 var a = f.getFbeventsModules('SignalsFBEventsExperimentsV2Typedef'), 4808 b = f.getFbeventsModules('SignalsFBEventsTyped'), 4809 c = b.coerce; 4810 b = f.getFbeventsModules('SignalsFBEventsUtils'); 4811 b.reduce; 4812 var d = function () { 4813 return Math.random(); 4814 }; 4815 function e(a) { 4816 var b = d(), 4817 c = 0; 4818 for (var e = 0; e < a.length; e++) { 4819 var f = a[e], 4820 g = f.passRate, 4821 h = f.code, 4822 i = f.name; 4823 f = f.allocation; 4824 f = c + f; 4825 if (b >= c && b < f) { 4826 g = d() < g; 4827 return { isExposed: !1, isInTest: g, code: h, name: i }; 4828 } 4829 c = f; 4830 } 4831 return null; 4832 } 4833 b = (function () { 4834 function b() { 4835 (w(this, b), 4836 z(this, '_experiments', []), 4837 z(this, '_pageLoadLevelEvaluationExperimentResults', new Map()), 4838 z(this, '_eventLevelEvaluationExperimentResults', new Map()), 4839 z(this, 'PAGE_LOAD_LEVEL', 'PAGE_LOAD_LEVEL'), 4840 z(this, 'EVENT_LEVEL', 'EVENT_LEVEL')); 4841 } 4842 return y(b, [ 4843 { 4844 key: 'setExperiments', 4845 value: function (b) { 4846 b = c(b, a); 4847 if (b == null) return; 4848 this._experiments = b; 4849 }, 4850 }, 4851 { 4852 key: '_reset', 4853 value: function () { 4854 (this._pageLoadLevelEvaluationExperimentResults.clear(), 4855 this._eventLevelEvaluationExperimentResults.clear()); 4856 }, 4857 }, 4858 { 4859 key: 'clearExposure', 4860 value: function (a) { 4861 this._eventLevelEvaluationExperimentResults.has(a) && 4862 this._eventLevelEvaluationExperimentResults['delete'](a); 4863 }, 4864 }, 4865 { 4866 key: 'isInTest', 4867 value: function (a, b) { 4868 var c = this._getExperimentByName(a); 4869 if (c == null) return !1; 4870 c = this._getExperimentResultForUniverse(c.universe, c.evaluationType, b); 4871 if (c == null || c.name !== a) return !1; 4872 c.isExposed = !0; 4873 return c.isInTest; 4874 }, 4875 }, 4876 { 4877 key: 'isInTestPageLoadLevelExperiment', 4878 value: function (a) { 4879 var b = this._getExperimentByName(a); 4880 if (b == null || b.evaluationType != this.PAGE_LOAD_LEVEL) return !1; 4881 b = this._getPageLoadLevelExperimentResult(b.universe); 4882 if (b == null || b.name !== a) return !1; 4883 b.isExposed = !0; 4884 return b.isInTest; 4885 }, 4886 }, 4887 { 4888 key: 'getExperimentResultParams', 4889 value: function (a) { 4890 var b = []; 4891 for (var c = 0; c < this._experiments.length; c++) { 4892 var d = this._experiments[c]; 4893 d = this._getExperimentResultForUniverse(d.universe, d.evaluationType, a); 4894 if (d == null) continue; 4895 d = this._getParamByResult(d); 4896 b.includes(d) || b.push(d); 4897 } 4898 return b; 4899 }, 4900 }, 4901 { 4902 key: '_getParamByResult', 4903 value: function (a) { 4904 var b = 0; 4905 a.isInTest && (b |= 1); 4906 a.isExposed && (b |= 2); 4907 return a.code + b.toString(); 4908 }, 4909 }, 4910 { 4911 key: '_getExperimentResultForUniverse', 4912 value: function (a, b, c) { 4913 return b === this.PAGE_LOAD_LEVEL 4914 ? this._getPageLoadLevelExperimentResult(a) 4915 : this._getEventLevelExperimentResult(a, c); 4916 }, 4917 }, 4918 { 4919 key: '_getPageLoadLevelExperimentResult', 4920 value: function (a) { 4921 if (this._pageLoadLevelEvaluationExperimentResults.has(a)) 4922 return this._pageLoadLevelEvaluationExperimentResults.get(a); 4923 var b = this._getExperimentsByUniverse(a); 4924 b = e(b); 4925 this._pageLoadLevelEvaluationExperimentResults.set(a, b); 4926 return b; 4927 }, 4928 }, 4929 { 4930 key: '_getEventLevelExperimentResult', 4931 value: function (a, b) { 4932 if (this._eventLevelEvaluationExperimentResults.has(b)) { 4933 var c = this._eventLevelEvaluationExperimentResults.get(b); 4934 if (c && c.has(a)) return c.get(a); 4935 } 4936 c = this._getExperimentsByUniverse(a); 4937 c = e(c); 4938 this._eventLevelEvaluationExperimentResults.has(b) || 4939 this._eventLevelEvaluationExperimentResults.set(b, new Map()); 4940 b = this._eventLevelEvaluationExperimentResults.get(b); 4941 b && b.set(a, c); 4942 return c; 4943 }, 4944 }, 4945 { 4946 key: '_getExperimentByName', 4947 value: function (a) { 4948 for (var b = 0; b < this._experiments.length; b++) { 4949 var c = this._experiments[b]; 4950 if (c.name === a) return c; 4951 } 4952 return null; 4953 }, 4954 }, 4955 { 4956 key: '_getExperimentsByUniverse', 4957 value: function (a) { 4958 var b = []; 4959 for (var c = 0; c < this._experiments.length; c++) { 4960 var d = this._experiments[c]; 4961 d.universe === a && b.push(d); 4962 } 4963 return b; 4964 }, 4965 }, 4966 ]); 4967 })(); 4968 k.exports = new b(); 4969 })(); 4970 return k.exports; 4971 })(a, b, c, d); 4972 }); 4973 f.ensureModuleRegistered('signalsFBEventsResolveLegacyArguments', function () { 4974 return (function (f, g, h, i) { 4975 var j = { exports: {} }; 4976 j.exports; 4977 (function () { 4978 'use strict'; 4979 var a = 'report'; 4980 function b(a) { 4981 var b = q(a, 1); 4982 b = b[0]; 4983 return a.length === 1 && Array.isArray(b) 4984 ? { args: b, isLegacySyntax: !0 } 4985 : { args: a, isLegacySyntax: !1 }; 4986 } 4987 function c(b) { 4988 var c = q(b, 2), 4989 d = c[0]; 4990 c = c[1]; 4991 if (typeof d === 'string' && d.slice(0, a.length) === a) { 4992 d = d.slice(a.length); 4993 if (d === 'CustomEvent') { 4994 c != null && G(c) === 'object' && typeof c.event === 'string' && (d = c.event); 4995 return ['trackCustom', d].concat(b.slice(1)); 4996 } 4997 return ['track', d].concat(b.slice(1)); 4998 } 4999 return b; 5000 } 5001 function d(a) { 5002 a = b(a); 5003 var d = a.args; 5004 a = a.isLegacySyntax; 5005 d = c(d); 5006 return { args: d, isLegacySyntax: a }; 5007 } 5008 j.exports = d; 5009 })(); 5010 return j.exports; 5011 })(a, b, c, d); 5012 }); 5013 f.ensureModuleRegistered('SignalsFBEventsResolveLink', function () { 5014 return (function (g, h, i, j) { 5015 var k = { exports: {} }; 5016 k.exports; 5017 (function () { 5018 'use strict'; 5019 var a = f.getFbeventsModules('SignalsFBEventsGetValidUrl'), 5020 b = f.getFbeventsModules('SignalsFBEventsUtils'); 5021 b.each; 5022 var c = b.keys; 5023 function d(b, d, e) { 5024 var f = g.top !== g; 5025 if (!f) return (b === null || b === void 0 ? void 0 : b.length) > 0 ? b : d; 5026 if (!d || d.length === 0) return b; 5027 if (e != null) { 5028 f = a(d); 5029 if (!f) return b; 5030 var h = f.origin; 5031 f = c(e).some(function (a) { 5032 return a != null && h.includes(a); 5033 }); 5034 if (f) return b; 5035 } 5036 return d; 5037 } 5038 k.exports = d; 5039 })(); 5040 return k.exports; 5041 })(a, b, c, d); 5042 }); 5043 f.ensureModuleRegistered('SignalsFBEventsRestrictedDomainsConfigTypedef', function () { 5044 return (function (g, h, i, j) { 5045 var k = { exports: {} }; 5046 k.exports; 5047 (function () { 5048 'use strict'; 5049 var a = f.getFbeventsModules('SignalsFBEventsTyped'), 5050 b = a.Typed; 5051 a.coerce; 5052 a = b.objectWithFields({ 5053 restrictedDomains: b.allowNull(b.arrayOf(b.allowNull(b.string()))), 5054 blacklistedIframeReferrers: b.allowNull(b.mapOf(b['boolean']())), 5055 }); 5056 k.exports = a; 5057 })(); 5058 return k.exports; 5059 })(a, b, c, d); 5060 });
5061 f.ensureModuleRegistered('signalsFBEventsSendBatch', function () { 5062 return (function (g, h, i, j) { 5063 var k = { exports: {} }; 5064 k.exports; 5065 (function () { 5066 'use strict'; 5067 var a = f.getFbeventsModules('SignalsFBEventsBatcher'), 5068 b = f.getFbeventsModules('SignalsFBEventsLogging'), 5069 c = b.logError; 5070 b = f.getFbeventsModules('SignalsFBEventsUtils'); 5071 var d = b.map, 5072 e = f.getFbeventsModules('SignalsParamList'), 5073 h = f.getFbeventsModules('signalsFBEventsSendBeacon'), 5074 i = f.getFbeventsModules('signalsFBEventsSendGET'); 5075 f.getFbeventsModules('signalsFBEventsSendXHR'); 5076 var j = f.getFbeventsModules('signalsFBEventsSendFormPOST'); 5077 b = f.getFbeventsModules('SignalsFBEventsEvents'); 5078 var l = b.fired, 5079 m = f.getFbeventsModules('signalsFBEventsGetIsChrome'); 5080 function n(a, b) { 5081 b = H(b); 5082 var c; 5083 try { 5084 for (b.s(); !(c = b.n()).done; ) { 5085 c = c.value; 5086 l.trigger(a, c); 5087 } 5088 } catch (a) { 5089 b.e(a); 5090 } finally { 5091 b.f(); 5092 } 5093 } 5094 function o(a) { 5095 var b = d(a, function (a) { 5096 return a.toQueryString(); 5097 }); 5098 b = new e().appendHash({ batch: 1, events: b }); 5099 var f = !m(); 5100 if (f && h(b)) { 5101 n('BEACON', a); 5102 return; 5103 } 5104 if (i(b)) { 5105 n('GET', a); 5106 return; 5107 } 5108 if (f && h(b)) { 5109 n('BEACON', a); 5110 return; 5111 } 5112 j(b); 5113 n('POST', a); 5114 c(new Error('could not send batch')); 5115 } 5116 var p = new a(o); 5117 function q(a) { 5118 p.addToBatch(a); 5119 } 5120 g.addEventListener('onpagehide' in g ? 'pagehide' : 'unload', function () { 5121 return p.forceEndBatch(); 5122 }); 5123 k.exports = q; 5124 })(); 5125 return k.exports; 5126 })(a, b, c, d); 5127 }); 5128 f.ensureModuleRegistered('signalsFBEventsSendBeacon', function () { 5129 return (function (g, h, i, j) { 5130 var k = { exports: {} }; 5131 k.exports; 5132 (function () { 5133 'use strict'; 5134 f.getFbeventsModules('SignalsFBEventsQE'); 5135 var a = f.getFbeventsModules('SignalsFBEventsNetworkConfig'), 5136 b = f.getFbeventsModules('SignalsFBEventsLogging'), 5137 c = b.logError; 5138 function d(b, d) { 5139 try { 5140 if (!g.navigator || !g.navigator.sendBeacon) return !1; 5141 d = d || {}; 5142 d = d.url; 5143 d = d === void 0 ? a.ENDPOINT : d; 5144 b.replaceEntry('rqm', 'SB'); 5145 return g.navigator.sendBeacon(d, b.toFormData()); 5146 } catch (a) { 5147 a instanceof Error && c(new Error('[SendBeacon]:' + a.message)); 5148 return !1; 5149 } 5150 } 5151 k.exports = d; 5152 })(); 5153 return k.exports; 5154 })(a, b, c, d); 5155 }); 5156 f.ensureModuleRegistered('signalsFBEventsSendBeaconWithParamsInURL', function () { 5157 return (function (g, h, i, j) { 5158 var k = { exports: {} }; 5159 k.exports; 5160 (function () { 5161 'use strict'; 5162 var a = f.getFbeventsModules('SignalsFBEventsNetworkConfig'), 5163 b = f.getFbeventsModules('SignalsFBEventsLogging'), 5164 c = b.logError, 5165 d = 2048; 5166 function e(b, e) { 5167 try { 5168 if (!g.navigator || !g.navigator.sendBeacon) return !1; 5169 e = e || {}; 5170 e = e.url; 5171 e = e === void 0 ? a.ENDPOINT : e; 5172 b.replaceEntry('rqm', 'SB'); 5173 b = b.toQueryString(); 5174 e = e + '?' + b; 5175 return e.length > d ? !1 : g.navigator.sendBeacon(e); 5176 } catch (a) { 5177 a instanceof Error && c(new Error('[SendBeaconWithParamsInURL]:' + a.message)); 5178 return !1; 5179 } 5180 } 5181 k.exports = e; 5182 })(); 5183 return k.exports; 5184 })(a, b, c, d); 5185 }); 5186 f.ensureModuleRegistered('SignalsFBEventsSendCloudbridgeEvent', function () { 5187 return (function (g, h, i, j) { 5188 var k = { exports: {} }; 5189 k.exports; 5190 (function () { 5191 'use strict'; 5192 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'); 5193 f.getFbeventsModules('SignalsFBEventsPixelTypedef'); 5194 var b = f.getFbeventsModules('SignalsFBEventsTyped'); 5195 b = b.Typed; 5196 var c = f.getFbeventsModules('SignalsFBEventsMessageParamsTypedef'); 5197 a = new a(b.tuple([c])); 5198 k.exports = a; 5199 })(); 5200 return k.exports; 5201 })(a, b, c, d); 5202 }); 5203 f.ensureModuleRegistered('signalsFBEventsSendEvent', function () { 5204 return (function (g, h, i, j) { 5205 var k = { exports: {} }; 5206 k.exports; 5207 (function () { 5208 'use strict'; 5209 var a = f.getFbeventsModules('SignalsFBEventsEvents'); 5210 a.fired; 5211 var b = a.setEventId, 5212 c = f.getFbeventsModules('SignalsParamList'), 5213 d = f.getFbeventsModules('SignalsFBEventsProcessCCRulesEvent'), 5214 e = f.getFbeventsModules('SignalsFBEventsLateValidateCustomParametersEvent'); 5215 a = f.getFbeventsModules('SignalsFBEventsUtils'); 5216 var h = a.each, 5217 i = a.keys; 5218 f.getFbeventsModules('SignalsFBEventsNetworkConfig'); 5219 var j = f.getFbeventsModules('SignalsFBEventsSetFilteredEventName'); 5220 a = f.getFbeventsModules('SignalsFBEventsAsyncParamUtils'); 5221 var l = a.appendAsyncParamsAndSendEvent, 5222 m = f.getFbeventsModules('SignalsFBEventsGuardrail'), 5223 n = f.getFbeventsModules('signalsFBEventsFillParamList'); 5224 g.top !== g; 5225 function o(a, f) { 5226 a.customData = v({}, a.customData); 5227 a.timestamp = new Date().valueOf(); 5228 var g = null; 5229 a.customParams != null && 5230 (g = m.eval('multi_eid_fix') ? a.customParams.getEventId() : a.customParams.get('eid')); 5231 if (g == null || g === '') { 5232 a.customParams = a.customParams || new c(); 5233 g = a.customParams; 5234 a.id != null && b.trigger(String(a.id), g, a.eventName); 5235 } 5236 g = d.trigger(n(a), a.customData); 5237 g != null && 5238 h(g, function (b) { 5239 b != null && 5240 h(i(b), function (d) { 5241 ((a.customParams = a.customParams || new c()), a.customParams.append(d, b[d])); 5242 }); 5243 }); 5244 g = e.trigger(String(a.id), a.customData || {}, a.eventName); 5245 g && 5246 h(g, function (b) { 5247 b && 5248 h(i(b), function (d) { 5249 ((a.customParams = a.customParams || new c()), a.customParams.append(d, b[d])); 5250 }); 5251 }); 5252 g = j.trigger(n(a)); 5253 g != null && 5254 h(g, function (b) { 5255 b != null && 5256 h(i(b), function (d) { 5257 ((a.customParams = a.customParams || new c()), a.customParams.append(d, b[d])); 5258 }); 5259 }); 5260 f.asyncParamPromisesAllSettled ? l(f, a) : f.eventQueue.push(a); 5261 } 5262 k.exports = { sendEvent: o }; 5263 })(); 5264 return k.exports; 5265 })(a, b, c, d); 5266 }); 5267 f.ensureModuleRegistered('SignalsFBEventsSendEventEvent', function () { 5268 return (function (g, h, i, j) { 5269 var k = { exports: {} }; 5270 k.exports; 5271 (function () { 5272 'use strict'; 5273 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'), 5274 b = f.getFbeventsModules('SignalsParamList'); 5275 f.getFbeventsModules('SignalsFBEventsPixelTypedef'); 5276 var c = f.getFbeventsModules('SignalsFBEventsTyped'), 5277 d = c.Typed; 5278 c.coerce; 5279 c = d.objectWithFields({ 5280 customData: d.allowNull(d.object()), 5281 customParams: function (a) { 5282 return a instanceof b ? a : void 0; 5283 }, 5284 eventName: d.string(), 5285 id: d.string(), 5286 piiTranslator: function (a) { 5287 return typeof a === 'function' ? a : void 0; 5288 }, 5289 documentLink: d.allowNull(d.string()), 5290 referrerLink: d.allowNull(d.string()), 5291 }); 5292 a = new a(d.tuple([c])); 5293 k.exports = a; 5294 })(); 5295 return k.exports; 5296 })(a, b, c, d); 5297 }); 5298 f.ensureModuleRegistered('signalsFBEventsSendEventImpl', function () { 5299 return (function (g, h, i, j) { 5300 var k = { exports: {} }; 5301 k.exports; 5302 (function () { 5303 'use strict'; 5304 var a = f.getFbeventsModules('SignalsFBEventsSendEventEvent'), 5305 b = f.getFbeventsModules('SignalsFBEventsSendCloudbridgeEvent'), 5306 c = f.getFbeventsModules('SignalsFBEventsFilterProtectedModeEvent'), 5307 d = f.getFbeventsModules('SignalsFBEventsGetAutomaticParametersEvent'), 5308 e = f.getFbeventsModules('SignalsFBEventsUtils'), 5309 g = e.some, 5310 j = f.getFbeventsModules('signalsFBEventsFireEvent'); 5311 e = f.getFbeventsModules('SignalsFBEventsUtils'); 5312 var l = e.each, 5313 m = e.keys, 5314 n = f.getFbeventsModules('SignalsParamList'), 5315 o = f.getFbeventsModules('signalsFBEventsFeatureGate'); 5316 e = f.getFbeventsModules('SignalsPixelCookieUtils'); 5317 var p = e.writeNewCookie, 5318 q = e.CLICKTHROUGH_COOKIE_PARAM; 5319 e.NINETY_DAYS_IN_MS; 5320 var r = '_fbleid', 5321 s = 7 * 24 * 60 * 60 * 1e3, 5322 t = f.getFbeventsModules('generateEventId'); 5323 function u(a, b) { 5324 if ( 5325 a.id != null && 5326 o('offsite_clo_beta_event_id_coverage', a.id) && 5327 a.eventName === 'Lead' && 5328 a.customParams != null 5329 ) { 5330 var c = a.customParams.get(q), 5331 d = a.customParams != null ? a.customParams.get('eid') : null; 5332 if (c != null && c.trim() != '') { 5333 c = d != null ? d : t((b && b.VERSION) || 'undefined', 'LCP'); 5334 d == null && a.customParams != null && a.customParams.append('eid', c); 5335 p(r, c, s); 5336 } 5337 } 5338 } 5339 function v(a) { 5340 var b = d.trigger(String(a.id), a.eventName); 5341 b != null && 5342 l(b, function (b) { 5343 b != null && 5344 l(m(b), function (c) { 5345 ((a.customParams = a.customParams || new n()), a.customParams.append(c, b[c])); 5346 }); 5347 }); 5348 } 5349 function w(a) { 5350 if (a.customParams != null) { 5351 var b = a.documentLink; 5352 b !== i.href && a.customParams.append('dlc', '1'); 5353 b = a.referrerLink; 5354 b !== h.referrer && a.customParams.append('rlc', '1'); 5355 } 5356 } 5357 function x(d, e) { 5358 var f = a.trigger(d); 5359 if ( 5360 g(f, function (a) { 5361 return a; 5362 }) 5363 ) 5364 return; 5365 u(d, e); 5366 v(d); 5367 c.trigger(d); 5368 w(d); 5369 f = b.trigger(d); 5370 if ( 5371 g(f, function (a) { 5372 return a; 5373 }) 5374 ) 5375 return; 5376 e = 5377 Object.prototype.hasOwnProperty.call(d, 'customData') && 5378 typeof d.customData !== 'undefined' && 5379 d.customData !== null; 5380 e || (d.customData = {}); 5381 j(d); 5382 } 5383 k.exports = x; 5384 })(); 5385 return k.exports; 5386 })(a, b, c, d); 5387 }); 5388 f.ensureModuleRegistered('signalsFBEventsSendFormPOST', function () { 5389 return (function (g, h, i, j) { 5390 var k = { exports: {} }; 5391 k.exports; 5392 (function () { 5393 'use strict'; 5394 var a = f.getFbeventsModules('SignalsFBEventsNetworkConfig'), 5395 b = f.getFbeventsModules('SignalsFBEventsUtils'), 5396 c = b.listenOnce; 5397 b = f.getFbeventsModules('SignalsFBEventsLogging'); 5398 var d = b.logError; 5399 function e(b, e) { 5400 try { 5401 b.replaceEntry('rqm', 'formPOST'); 5402 var f = 'fb' + Math.random().toString().replace('.', ''), 5403 i = h.createElement('form'); 5404 i.method = 'post'; 5405 i.action = e != null ? e : a.ENDPOINT; 5406 i.target = f; 5407 i.acceptCharset = 'utf-8'; 5408 i.style.display = 'none'; 5409 e = !!(g.attachEvent && !g.addEventListener); 5410 var j = h.createElement('iframe'); 5411 e && (j.name = f); 5412 j.src = 'about:blank'; 5413 j.id = f; 5414 j.name = f; 5415 i.appendChild(j); 5416 c(j, 'load', function () { 5417 (b.each(function (a, b) { 5418 var c = h.createElement('input'); 5419 c.name = decodeURIComponent(a); 5420 c.value = b; 5421 i.appendChild(c); 5422 }), 5423 c(j, 'load', function () { 5424 i.parentNode && i.parentNode.removeChild(i); 5425 }), 5426 i.submit()); 5427 }); 5428 h.body != null && h.body.appendChild(i); 5429 return !0; 5430 } catch (a) { 5431 a instanceof Error && d(new Error('[POST]:' + a.message)); 5432 return !0; 5433 } 5434 } 5435 k.exports = e; 5436 })(); 5437 return k.exports; 5438 })(a, b, c, d); 5439 }); 5440 f.ensureModuleRegistered('signalsFBEventsSendGET', function () { 5441 return (function (g, h, i, j) { 5442 var k = { exports: {} }; 5443 k.exports; 5444 (function () { 5445 'use strict'; 5446 var a = f.getFbeventsModules('SignalsFBEventsNetworkConfig'), 5447 b = f.getFbeventsModules('SignalsFBEventsShouldRestrictReferrerEvent'), 5448 c = f.getFbeventsModules('SignalsFBEventsUtils'), 5449 d = c.some, 5450 e = 2048; 5451 function g(c, f) { 5452 try { 5453 var g = f || {}, 5454 h = g.ignoreRequestLengthCheck; 5455 h = h === void 0 ? !1 : h; 5456 var i = g.url; 5457 i = i === void 0 ? a.ENDPOINT : i; 5458 g = g.attributionReporting; 5459 g = g === void 0 ? !1 : g; 5460 c.replaceEntry('rqm', h ? 'FGET' : 'GET'); 5461 var j = c.toQueryString(); 5462 i = i + '?' + j; 5463 if (h || i.length < e) { 5464 j = new Image(); 5465 f != null && f.errorHandler != null && (j.onerror = f.errorHandler); 5466 h = b.trigger(c); 5467 d(h, function (a) { 5468 return a; 5469 }) && (j.referrerPolicy = 'origin'); 5470 g && j.setAttribute('attributionsrc', ''); 5471 j.src = i; 5472 return !0; 5473 } 5474 return !1; 5475 } catch (a) { 5476 return !1; 5477 } 5478 } 5479 k.exports = g; 5480 })(); 5481 return k.exports; 5482 })(a, b, c, d); 5483 }); 5484 f.ensureModuleRegistered('signalsFBEventsSendXHR', function () { 5485 return (function (g, h, i, j) { 5486 var k = { exports: {} }; 5487 k.exports; 5488 (function () { 5489 'use strict'; 5490 var a = f.getFbeventsModules('SignalsFBEventsNetworkConfig'), 5491 b = f.getFbeventsModules('SignalsParamList'), 5492 c = f.getFbeventsModules('SignalsFBEventsLogging'), 5493 d = c.logError, 5494 e = { UNSENT: 0, OPENED: 1, HEADERS_RECEIVED: 2, LOADING: 3, DONE: 4 }, 5495 g = typeof XMLHttpRequest !== 'undefined' && 'withCredentials' in new XMLHttpRequest(); 5496 function h(a, b, c) { 5497 var f = new XMLHttpRequest(); 5498 f.withCredentials = !0; 5499 f.open('POST', b); 5500 f.onreadystatechange = function () { 5501 if (f.readyState !== e.DONE) retu
5501rn; 5502 f.status !== 200 && 5503 (c != null ? c() : d(new Error('Error sending XHR '.concat(f.status, ' - ').concat(f.statusText)))); 5504 }; 5505 f.send(a); 5506 } 5507 function i(c) { 5508 var d = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : a.ENDPOINT, 5509 e = arguments.length > 2 ? arguments[2] : void 0; 5510 if (!g) return !1; 5511 c instanceof b && c.replaceEntry('rqm', 'xhr'); 5512 var f = c instanceof b ? c.toFormData() : c; 5513 h(f, d, e); 5514 return !0; 5515 } 5516 k.exports = i; 5517 })(); 5518 return k.exports; 5519 })(a, b, c, d); 5520 }); 5521 f.ensureModuleRegistered('SignalsFBEventsSetCCRules', function () { 5522 return (function (g, h, i, j) { 5523 var k = { exports: {} }; 5524 k.exports; 5525 (function () { 5526 'use strict'; 5527 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'), 5528 b = f.getFbeventsModules('SignalsFBEventsUtils'); 5529 b.filter; 5530 b.map; 5531 b = f.getFbeventsModules('SignalsFBEventsTyped'); 5532 var c = b.coerce; 5533 b = b.Typed; 5534 f.getFbeventsModules('signalsFBEventsCoerceParameterExtractors'); 5535 var d = f.getFbeventsModules('signalsFBEventsCoercePixelID'), 5536 e = b.arrayOf(b.objectWithFields({ id: b.number(), rule: b.string() })); 5537 function g() { 5538 for (var a = arguments.length, b = new Array(a), f = 0; f < a; f++) b[f] = arguments[f]; 5539 var g = b[0]; 5540 if (g == null || G(g) !== 'object') return null; 5541 var h = g.pixelID, 5542 i = g.rules, 5543 j = d(h); 5544 if (j == null) return null; 5545 var k = c(i, e); 5546 return [{ rules: k, pixelID: j }]; 5547 } 5548 b = new a(g); 5549 k.exports = b; 5550 })(); 5551 return k.exports; 5552 })(a, b, c, d); 5553 }); 5554 f.ensureModuleRegistered('SignalsFBEventsSetESTRules', function () { 5555 return (function (g, h, i, j) { 5556 var k = { exports: {} }; 5557 k.exports; 5558 (function () { 5559 'use strict'; 5560 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'), 5561 b = f.getFbeventsModules('SignalsFBEventsUtils'); 5562 b.filter; 5563 b.map; 5564 b = f.getFbeventsModules('SignalsFBEventsTyped'); 5565 var c = b.coerce; 5566 b = b.Typed; 5567 f.getFbeventsModules('signalsFBEventsCoerceParameterExtractors'); 5568 var d = f.getFbeventsModules('signalsFBEventsCoercePixelID'), 5569 e = b.arrayOf( 5570 b.objectWithFields({ 5571 condition: b.objectOrString(), 5572 derived_event_name: b.string(), 5573 rule_status: b.allowNull(b.string()), 5574 transformations: b.allowNull(b.array()), 5575 rule_id: b.allowNull(b.string()), 5576 }), 5577 ); 5578 function g() { 5579 for (var a = arguments.length, b = new Array(a), f = 0; f < a; f++) b[f] = arguments[f]; 5580 var g = b[0]; 5581 if (g == null || G(g) !== 'object') return null; 5582 var h = g.pixelID, 5583 i = g.rules, 5584 j = d(h); 5585 if (j == null) return null; 5586 var k = c(i, e); 5587 return [{ rules: k, pixelID: j }]; 5588 } 5589 b = new a(g); 5590 k.exports = b; 5591 })(); 5592 return k.exports; 5593 })(a, b, c, d); 5594 }); 5595 f.ensureModuleRegistered('SignalsFBEventsSetEventIDEvent', function () { 5596 return (function (g, h, i, j) { 5597 var k = { exports: {} }; 5598 k.exports; 5599 (function () { 5600 'use strict'; 5601 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'), 5602 b = f.getFbeventsModules('SignalsParamList'); 5603 f.getFbeventsModules('SignalsFBEventsPixelTypedef'); 5604 var c = f.getFbeventsModules('SignalsFBEventsTyped'), 5605 d = c.coerce, 5606 e = f.getFbeventsModules('signalsFBEventsCoercePixelID'); 5607 function g(a, c, f) { 5608 a = e(a); 5609 c = c instanceof b ? c : null; 5610 f = d(f, String); 5611 return a != null && c != null && f != null ? [a, c, f] : null; 5612 } 5613 c = new a(g); 5614 k.exports = c; 5615 })(); 5616 return k.exports; 5617 })(a, b, c, d); 5618 }); 5619 f.ensureModuleRegistered('SignalsFBEventsSetFBPEvent', function () { 5620 return (function (g, h, i, j) { 5621 var k = { exports: {} }; 5622 k.exports; 5623 (function () { 5624 'use strict'; 5625 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'), 5626 b = f.getFbeventsModules('signalsFBEventsCoercePixelID'); 5627 function c(a, c) { 5628 a = b(a); 5629 c = c != null && typeof c === 'string' && c !== '' ? c : null; 5630 return [a, c]; 5631 } 5632 a = new a(c); 5633 k.exports = a; 5634 })(); 5635 return k.exports; 5636 })(a, b, c, d); 5637 }); 5638 f.ensureModuleRegistered('SignalsFBEventsSetFilteredEventName', function () { 5639 return (function (g, h, i, j) { 5640 var k = { exports: {} }; 5641 k.exports; 5642 (function () { 5643 'use strict'; 5644 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'), 5645 b = f.getFbeventsModules('SignalsParamList'); 5646 f.getFbeventsModules('SignalsFBEventsPixelTypedef'); 5647 var c = f.getFbeventsModules('SignalsFBEventsTyped'); 5648 c.Typed; 5649 c.coerce; 5650 function d(a) { 5651 a = a instanceof b ? a : null; 5652 return a != null ? [a] : null; 5653 } 5654 c = new a(d); 5655 k.exports = c; 5656 })(); 5657 return k.exports; 5658 })(a, b, c, d); 5659 }); 5660 f.ensureModuleRegistered('SignalsFBEventsSetIWLExtractorsEvent', function () { 5661 return (function (g, h, i, j) { 5662 var k = { exports: {} }; 5663 k.exports; 5664 (function () { 5665 'use strict'; 5666 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'), 5667 b = f.getFbeventsModules('SignalsFBEventsUtils'), 5668 c = b.filter, 5669 d = b.map, 5670 e = f.getFbeventsModules('signalsFBEventsCoerceParameterExtractors'), 5671 g = f.getFbeventsModules('signalsFBEventsCoercePixelID'); 5672 function h() { 5673 for (var a = arguments.length, b = new Array(a), f = 0; f < a; f++) b[f] = arguments[f]; 5674 var h = b[0]; 5675 if (h == null || G(h) !== 'object') return null; 5676 var i = h.pixelID, 5677 j = h.extractors, 5678 k = g(i), 5679 l = Array.isArray(j) ? d(j, e) : null, 5680 m = l != null ? c(l, Boolean) : null; 5681 return m != null && l != null && m.length === l.length && k != null 5682 ? [{ extractors: m, pixelID: k }] 5683 : null; 5684 } 5685 b = new a(h); 5686 k.exports = b; 5687 })(); 5688 return k.exports; 5689 })(a, b, c, d); 5690 }); 5691 f.ensureModuleRegistered('SignalsFBEventsShared', function () { 5692 return (function (f, h, i, l) { 5693 var m = { exports: {} }; 5694 m.exports; 5695 (function () { 5696 m.exports = (function (a) { 5697 var b = {}; 5698 function c(d) { 5699 if (b[d]) return b[d].exports; 5700 var e = (b[d] = { i: d, l: !1, exports: {} }); 5701 return (a[d].call(e.exports, e, e.exports, c), (e.l = !0), e.exports); 5702 } 5703 return ( 5704 (c.m = a), 5705 (c.c = b), 5706 (c.d = function (a, b, d) { 5707 c.o(a, b) || Object.defineProperty(a, b, { enumerable: !0, get: d }); 5708 }), 5709 (c.r = function (a) { 5710 ('undefined' != typeof Symbol && 5711 (typeof Symbol === 'function' ? Symbol.toStringTag : '@@toStringTag') && 5712 Object.defineProperty(a, typeof Symbol === 'function' ? Symbol.toStringTag : '@@toStringTag', { 5713 value: 'Module', 5714 }), 5715 Object.defineProperty(a, '__esModule', { value: !0 })); 5716 }), 5717 (c.t = function (a, b) { 5718 if ((1 & b && (a = c(a)), 8 & b)) return a; 5719 if (4 & b && 'object' == G(a) && a && a.__esModule) return a; 5720 var d = Object.create(null); 5721 if ( 5722 (c.r(d), 5723 Object.defineProperty(d, 'default', { enumerable: !0, value: a }), 5724 2 & b && 'string' != typeof a) 5725 ) 5726 for (b in a) 5727 c.d( 5728 d, 5729 b, 5730 function (b) { 5731 return a[b]; 5732 }.bind(null, b), 5733 ); 5734 return d; 5735 }), 5736 (c.n = function (a) { 5737 var b = 5738 a && a.__esModule 5739 ? function () { 5740 return a['default']; 5741 } 5742 : function () { 5743 return a; 5744 }; 5745 return (c.d(b, 'a', b), b); 5746 }), 5747 (c.o = function (a, b) { 5748 return Object.prototype.hasOwnProperty.call(a, b); 5749 }), 5750 (c.p = ''), 5751 c((c.s = 77)) 5752 ); 5753 })([ 5754 function (a, b, c) { 5755 'use strict'; 5756 a.exports = c(80); 5757 }, 5758 function (a, b, c) { 5759 'use strict'; 5760 a.exports = function (a) { 5761 if (null != a) return a; 5762 throw new Error('Got unexpected null or undefined'); 5763 }; 5764 }, 5765 function (a, b, c) { 5766 'use strict'; 5767 a.exports = c(134); 5768 }, 5769 function (a, b, c) { 5770 'use strict'; 5771 b = c(53); 5772 var d = b.all; 5773 a.exports = b.IS_HTMLDDA 5774 ? function (a) { 5775 return 'function' == typeof a || a === d; 5776 } 5777 : function (a) { 5778 return 'function' == typeof a; 5779 }; 5780 }, 5781 function (a, b, c) { 5782 'use strict'; 5783 a.exports = c(99); 5784 }, 5785 function (a, b, c) { 5786 'use strict'; 5787 a.exports = function (a) { 5788 try { 5789 return !!a(); 5790 } catch (a) { 5791 return !0; 5792 } 5793 }; 5794 }, 5795 function (a, b, c) { 5796 'use strict'; 5797 b = c(8); 5798 var d = c(59), 5799 e = c(14), 5800 f = c(60), 5801 g = c(57); 5802 c = c(56); 5803 var h = b.Symbol, 5804 i = d('wks'),
5805 j = c ? h['for'] || h : (h && h.withoutSetter) || f; 5806 a.exports = function (a) { 5807 return (e(i, a) || (i[a] = g && e(h, a) ? h[a] : j('Symbol.' + a)), i[a]); 5808 }; 5809 }, 5810 function (a, b, c) { 5811 'use strict'; 5812 b = c(25); 5813 c = Function.prototype; 5814 var d = c.call; 5815 c = b && c.bind.bind(d, d); 5816 a.exports = b 5817 ? c 5818 : function (a) { 5819 return function () { 5820 return d.apply(a, arguments); 5821 }; 5822 }; 5823 }, 5824 function (a, b, c) { 5825 'use strict'; 5826 (function (b) { 5827 var c = function (a) { 5828 return a && a.Math === Math && a; 5829 }; 5830 a.exports = 5831 c('object' == (typeof globalThis === 'undefined' ? 'undefined' : G(globalThis)) && globalThis) || 5832 c('object' == G(f) && f) || 5833 c('object' == (typeof self === 'undefined' ? 'undefined' : G(self)) && self) || 5834 c('object' == G(b) && b) || 5835 (function () { 5836 return this; 5837 })() || 5838 this || 5839 Function('return this')(); 5840 }).call(this, c(85)); 5841 }, 5842 function (a, b, c) { 5843 'use strict'; 5844 a.exports = c(139); 5845 }, 5846 function (a, b, c) { 5847 'use strict'; 5848 var d = c(8), 5849 e = c(86), 5850 f = c(26), 5851 g = c(3), 5852 h = c(54).f, 5853 i = c(93), 5854 j = c(40), 5855 k = c(44), 5856 l = c(23), 5857 m = c(14), 5858 n = function (a) { 5859 var b = function (c, d, f) { 5860 if (this instanceof b) { 5861 switch (arguments.length) { 5862 case 0: 5863 return new a(); 5864 case 1: 5865 return new a(c); 5866 case 2: 5867 return new a(c, d); 5868 } 5869 return new a(c, d, f); 5870 } 5871 return e(a, this, arguments); 5872 }; 5873 return ((b.prototype = a.prototype), b); 5874 }; 5875 a.exports = function (a, b) { 5876 var c, 5877 e, 5878 o, 5879 p, 5880 q, 5881 r, 5882 s = a.target, 5883 t = a.global, 5884 u = a.stat, 5885 v = a.proto, 5886 w = t ? d : u ? d[s] : (d[s] || {}).prototype, 5887 x = t ? j : j[s] || l(j, s, {})[s], 5888 y = x.prototype; 5889 for (o in b) 5890 ((e = !(c = i(t ? o : s + (u ? '.' : '#') + o, a.forced)) && w && m(w, o)), 5891 (p = x[o]), 5892 e && (q = a.dontCallGetSet ? (r = h(w, o)) && r.value : w[o]), 5893 (r = e && q ? q : b[o]), 5894 (e && G(p) == G(r)) || 5895 ((e = a.bind && e ? k(r, d) : a.wrap && e ? n(r) : v && g(r) ? f(r) : r), 5896 (a.sham || (r && r.sham) || (p && p.sham)) && l(e, 'sham', !0), 5897 l(x, o, e), 5898 v && 5899 (m(j, (p = s + 'Prototype')) || l(j, p, {}), 5900 l(j[p], o, r), 5901 a.real && y && (c || !y[o]) && l(y, o, r)))); 5902 }; 5903 }, 5904 function (a, b, c) { 5905 'use strict'; 5906 var d = c(78); 5907 a.exports = function a(b, c) { 5908 return ( 5909 !(!b || !c) && 5910 (b === c || 5911 (!d(b) && 5912 (d(c) 5913 ? a(b, c.parentNode) 5914 : 'contains' in b 5915 ? b.contains(c) 5916 : !!b.compareDocumentPosition && !!(16 & b.compareDocumentPosition(c))))) 5917 ); 5918 }; 5919 }, 5920 function (a, b, c) { 5921 'use strict'; 5922 a.exports = c(129); 5923 }, 5924 function (a, b, c) { 5925 'use strict'; 5926 var d = c(3); 5927 b = c(53); 5928 var e = b.all; 5929 a.exports = b.IS_HTMLDDA 5930 ? function (a) { 5931 return 'object' == G(a) ? null !== a : d(a) || a === e; 5932 } 5933 : function (a) { 5934 return 'object' == G(a) ? null !== a : d(a); 5935 }; 5936 }, 5937 function (a, b, c) { 5938 'use strict'; 5939 b = c(7); 5940 var d = c(22), 5941 e = b({}.hasOwnProperty); 5942 a.exports = 5943 Object.hasOwn || 5944 function (a, b) { 5945 return e(d(a), b); 5946 }; 5947 }, 5948 function (a, b, c) { 5949 'use strict'; 5950 b = c(5); 5951 a.exports = !b(function () { 5952 return ( 5953 7 !== 5954 Object.defineProperty({}, 1, { 5955 get: function () { 5956 return 7; 5957 }, 5958 })[1] 5959 ); 5960 }); 5961 }, 5962 function (a, b, c) { 5963 'use strict'; 5964 b = c(25); 5965 var d = Function.prototype.call; 5966 a.exports = b 5967 ? d.bind(d) 5968 : function () { 5969 return d.apply(d, arguments); 5970 }; 5971 }, 5972 function (a, b, c) { 5973 'use strict'; 5974 var d = c(13), 5975 e = String, 5976 f = TypeError; 5977 a.exports = function (a) { 5978 if (d(a)) return a; 5979 throw f(e(a) + ' is not an object'); 5980 }; 5981 }, 5982 function (a, b, c) { 5983 'use strict'; 5984 b = c(30); 5985 a.exports = b; 5986 }, 5987 function (a, b, c) { 5988 'use strict'; 5989 a.exports = c(159); 5990 }, 5991 function (a, b, c) { 5992 'use strict'; 5993 b = c(7); 5994 var d = b({}.toString), 5995 e = b(''.slice); 5996 a.exports = function (a) { 5997 return e(d(a), 8, -1); 5998 }; 5999 }, 6000 function (a, b, c) { 6001 'use strict'; 6002 var d = c(3), 6003 e = c(58), 6004 f = TypeError; 6005 a.exports = function (a) { 6006 if (d(a)) return a; 6007 throw f(e(a) + ' is not a function'); 6008 }; 6009 }, 6010 function (a, b, c) { 6011 'use strict'; 6012 var d = c(29), 6013 e = Object; 6014 a.exports = function (a) { 6015 return e(d(a)); 6016 }; 6017 }, 6018 function (a, b, c) { 6019 'use strict'; 6020 b = c(15); 6021 var d = c(32), 6022 e = c(27); 6023 a.exports = b 6024 ? function (a, b, c) { 6025 return d.f(a, b, e(1, c)); 6026 } 6027 : function (a, b, c) { 6028 return ((a[b] = c), a); 6029 }; 6030 }, 6031 function (a, b, c) { 6032 'use strict'; 6033 a.exports = c(146); 6034 }, 6035 function (a, b, c) { 6036 'use strict'; 6037 b = c(5); 6038 a.exports = !b(function () { 6039 var a = function () {}.bind(); 6040 return 'function' != typeof a || Object.prototype.hasOwnProperty.call(a, 'prototype'); 6041 }); 6042 }, 6043 function (a, b, c) { 6044 'use strict'; 6045 var d = c(20), 6046 e = c(7); 6047 a.exports = function (a) { 6048 if ('Function' === d(a)) return e(a); 6049 }; 6050 }, 6051 function (a, b, c) { 6052 'use strict'; 6053 a.exports = function (a, b) { 6054 return { enumerable: !(1 & a), configurable: !(2 & a), writable: !(4 & a), value: b }; 6055 }; 6056 }, 6057 function (a, b, c) { 6058 'use strict'; 6059 var d = c(37), 6060 e = c(29); 6061 a.exports = function (a) { 6062 return d(e(a)); 6063 }; 6064 }, 6065 function (a, b, c) { 6066 'use strict'; 6067 var d = c(38), 6068 e = TypeError; 6069 a.exports = function (a) { 6070 if (d(a)) throw e("Can't call method on " + a); 6071 return a; 6072 }; 6073 }, 6074 function (a, b, c) { 6075 'use strict'; 6076 var d = c(40), 6077 e = c(8), 6078 f = c(3), 6079 g = function (a) { 6080 return f(a) ? a : void 0; 6081 }; 6082 a.exports = function (a, b) { 6083 return arguments.length < 2 ? g(d[a]) || g(e[a]) : (d[a] && d[a][b]) || (e[a] && e[a][b]); 6084 }; 6085 }, 6086 function (a, b, c) { 6087 'use strict'; 6088 a.exports = !0; 6089 }, 6090 function (a, b, c) { 6091 'use strict'; 6092 a = c(15); 6093 var d = c(61), 6094 e = c(63), 6095 f = c(17), 6096 g = c(39), 6097 h = TypeError, 6098 i = Object.defineProperty, 6099 j = Object.getOwnPropertyDescriptor; 6100 b.f = a 6101 ? e 6102 ? function (a, b, c) { 6103 if ( 6104 (f(a), 6105 (b = g(b)), 6106 f(c), 6107 'function' == typeof a && 'prototype' === b && 'value' in c && 'writable' in c && !c.writable) 6108 ) { 6109 var d = j(a, b); 6110 d && 6111 d.writable && 6112 ((a[b] = c.value), 6113 (c = { 6114 configurable: 'configurable' in c ? c.configurable : d.configurable, 6115 enumerable: 'enumerable' in c ? c.enumerable : d.enumerable, 6116 writable: !1, 6117 })); 6118 } 6119 return i(a, b, c); 6120 } 6121 : i 6122 : function (a, b, c) { 6123 if ((f(a), (b = g(b)), f(c), d)) 6124 try { 6125 return i(a, b, c); 6126 } catch (a) {} 6127 if ('get' in c || 'set' in c) throw h('Accessors not supported'); 6128 return ('value' in c && (a[b] = c.value), a); 6129 }; 6130 }, 6131 function (a, b, c) { 6132 'use strict'; 6133 var d = c(64); 6134 a.exports = function (a) { 6135 return d(a.length); 6136 }; 6137 }, 6138 function (a, b, c) { 6139 'use strict'; 6140 b = c(47); 6141 var d = c(3), 6142 e = c(20), 6143 f = c(6)('toStringTag'), 6144 g = Object, 6145 h = 6146 'Arguments' === 6147 e( 6148 (function () { 6149 return arguments; 6150 })(), 6151 ); 6152 a.exports = b 6153 ? e 6154 : function (a) { 6155 var b; 6156 return void 0 === a 6157 ? 'Undefined' 6158 : null === a 6159 ? 'Null' 6160 : 'string' == 6161 typeof (b = (function (a, b) { 6162 try { 6163 return a[b]; 6164 } catch (a) {} 6165 })((a = g(a)), f)) 6166 ? b 6167 : h 6168 ? e(a) 6169 : 'Object' === (b = e(a)) && d(a.callee) 6170 ? 'Arguments' 6171 : b; 6172 }; 6173 }, 6174 function (a, b, c) { 6175 'use strict'; 6176 a.exports = {}; 6177 }, 6178 function (a, b, c) { 6179 'use strict'; 6180 a.exports = function (a) { 6181 var b = []; 6182 return ( 6183 (function a(b, c) { 6184 var d = b.length, 6185 e = 0; 6186 for (; d--; ) { 6187 var f = b[e++]; 6188 Array.isArray(f) ? a(f, c) : c.push(f); 6189 } 6190 })(a, b), 6191 b 6192 ); 6193 }; 6194 }, 6195 function (a, b, c) { 6196 'use strict'; 6197 b = c(7); 6198 var d = c(5), 6199 e = c(20), 6200 f = Object, 6201 g = b(''.split); 6202 a.exports = d(function () { 6203 return !f('z').propertyIsEnumerable(0); 6204 }) 6205 ? function (a) { 6206 return 'String' === e(a) ? g(a, '') : f(a); 6207 } 6208 : f; 6209 }, 6210 function (a, b, c) { 6211 'use strict'; 6212 a.exports = function (a) { 6213 return null == a; 6214 }; 6215 }, 6216 function (a, b, c) { 6217 'use strict'; 6218 var d = c(88), 6219 e = c(55); 6220 a.exports = function (a) { 6221 a = d(a, 'string'); 6222 return e(a) ? a : a + ''; 6223 }; 6224 }, 6225 function (a, b, c) { 6226 'use strict'; 6227 a.exports = {}; 6228 }, 6229 function (a, b, c) { 6230 'use strict'; 6231 var d, e; 6232 b = c(8); 6233 c = c(90); 6234 var f = b.process;
6235 b = b.Deno; 6236 f = (f && f.versions) || (b && b.version); 6237 b = f && f.v8; 6238 (b && (e = (d = b.split('.'))[0] > 0 && d[0] < 4 ? 1 : +(d[0] + d[1])), 6239 !e && 6240 c && 6241 (!(d = c.match(/Edge\/(\d+)/)) || d[1] >= 74) && 6242 (d = c.match(/Chrome\/(\d+)/)) && 6243 (e = +d[1]), 6244 (a.exports = e)); 6245 }, 6246 function (a, b, c) { 6247 'use strict'; 6248 var d = c(21), 6249 e = c(38); 6250 a.exports = function (a, b) { 6251 a = a[b]; 6252 return e(a) ? void 0 : d(a); 6253 }; 6254 }, 6255 function (a, b, c) { 6256 'use strict'; 6257 b = c(8); 6258 c = c(92); 6259 b = b['__core-js_shared__'] || c('__core-js_shared__', {}); 6260 a.exports = b; 6261 }, 6262 function (a, b, c) { 6263 'use strict'; 6264 b = c(26); 6265 var d = c(21), 6266 e = c(25), 6267 f = b(b.bind); 6268 a.exports = function (a, b) { 6269 return ( 6270 d(a), 6271 void 0 === b 6272 ? a 6273 : e 6274 ? f(a, b) 6275 : function () { 6276 return a.apply(b, arguments); 6277 } 6278 ); 6279 }; 6280 }, 6281 function (a, b, c) { 6282 'use strict'; 6283 var d = c(44); 6284 b = c(7); 6285 var e = c(37), 6286 f = c(22), 6287 g = c(33), 6288 h = c(95), 6289 i = b([].push); 6290 c = function (a) { 6291 var b = 1 === a, 6292 c = 2 === a, 6293 j = 3 === a, 6294 k = 4 === a, 6295 l = 6 === a, 6296 m = 7 === a, 6297 n = 5 === a || l; 6298 return function (o, p, q, r) { 6299 for ( 6300 var s, 6301 t, 6302 u = f(o), 6303 v = e(u), 6304 p = d(p, q), 6305 q = g(v), 6306 w = 0, 6307 r = r || h, 6308 r = b ? r(o, q) : c || m ? r(o, 0) : void 0; 6309 q > w; 6310 w++ 6311 ) 6312 if ((n || w in v) && ((t = p((s = v[w]), w, u)), a)) 6313 if (b) r[w] = t; 6314 else if (t) 6315 switch (a) { 6316 case 3: 6317 return !0; 6318 case 5: 6319 return s; 6320 case 6: 6321 return w; 6322 case 2: 6323 i(r, s); 6324 } 6325 else 6326 switch (a) { 6327 case 4: 6328 return !1; 6329 case 7: 6330 i(r, s); 6331 } 6332 return l ? -1 : j || k ? k : r; 6333 }; 6334 }; 6335 a.exports = { 6336 forEach: c(0), 6337 map: c(1), 6338 filter: c(2), 6339 some: c(3), 6340 every: c(4), 6341 find: c(5), 6342 findIndex: c(6), 6343 filterReject: c(7), 6344 }; 6345 }, 6346 function (a, b, c) { 6347 'use strict'; 6348 var d = c(94); 6349 a.exports = function (a) { 6350 a = +a; 6351 return a != a || 0 === a ? 0 : d(a); 6352 }; 6353 }, 6354 function (a, b, c) { 6355 'use strict'; 6356 b = {}; 6357 ((b[c(6)('toStringTag')] = 'z'), (a.exports = '[object z]' === String(b))); 6358 }, 6359 function (a, b, c) { 6360 'use strict'; 6361 var d = c(34), 6362 e = String; 6363 a.exports = function (a) { 6364 if ('Symbol' === d(a)) throw TypeError('Cannot convert a Symbol value to a string'); 6365 return e(a); 6366 }; 6367 }, 6368 function (a, b, c) { 6369 'use strict'; 6370 b = c(59); 6371 var d = c(60), 6372 e = b('keys'); 6373 a.exports = function (a) { 6374 return e[a] || (e[a] = d(a)); 6375 }; 6376 }, 6377 function (a, b, c) { 6378 'use strict'; 6379 a.exports = {}; 6380 }, 6381 function (a, b, c) { 6382 'use strict'; 6383 var d = c(28), 6384 e = c(113), 6385 f = c(33); 6386 b = function (a) { 6387 return function (b, c, g) { 6388 var h; 6389 b = d(b); 6390 var i = f(b); 6391 g = e(g, i); 6392 if (a && c != c) { 6393 for (; i > g; ) if ((h = b[g++]) != h) return !0; 6394 } else for (; i > g; g++) if ((a || g in b) && b[g] === c) return a || g || 0; 6395 return !a && -1; 6396 }; 6397 }; 6398 a.exports = { includes: b(!0), indexOf: b(!1) }; 6399 }, 6400 function (a, b, c) { 6401 'use strict'; 6402 a.exports = c(154); 6403 }, 6404 function (a, b, c) { 6405 'use strict'; 6406 b = 'object' == G(h) && h.all; 6407 c = void 0 === b && void 0 !== b; 6408 a.exports = { all: b, IS_HTMLDDA: c }; 6409 }, 6410 function (a, b, c) { 6411 'use strict'; 6412 a = c(15); 6413 var d = c(16), 6414 e = c(87), 6415 f = c(27), 6416 g = c(28), 6417 h = c(39), 6418 i = c(14), 6419 j = c(61), 6420 k = Object.getOwnPropertyDescriptor; 6421 b.f = a 6422 ? k 6423 : function (a, b) { 6424 if (((a = g(a)), (b = h(b)), j)) 6425 try { 6426 return k(a, b); 6427 } catch (a) {} 6428 if (i(a, b)) return f(!d(e.f, a, b), a[b]); 6429 }; 6430 }, 6431 function (a, b, c) { 6432 'use strict'; 6433 var d = c(30), 6434 e = c(3), 6435 f = c(89); 6436 b = c(56); 6437 var g = Object; 6438 a.exports = b 6439 ? function (a) { 6440 return 'symbol' == G(a); 6441 } 6442 : function (a) { 6443 var b = d('Symbol'); 6444 return e(b) && f(b.prototype, g(a)); 6445 }; 6446 }, 6447 function (a, b, c) { 6448 'use strict'; 6449 b = c(57); 6450 a.exports = 6451 b && 6452 !(typeof Symbol === 'function' ? Symbol.sham : '@@
6452sham') && 6453 'symbol' == G(typeof Symbol === 'function' ? Symbol.iterator : '@@iterator'); 6454 }, 6455 function (a, b, c) { 6456 'use strict'; 6457 var d = c(41); 6458 b = c(5); 6459 var e = c(8).String; 6460 a.exports = 6461 !!Object.getOwnPropertySymbols && 6462 !b(function () { 6463 var a = Symbol('symbol detection'); 6464 return ( 6465 !e(a) || 6466 !(Object(a) instanceof Symbol) || 6467 (!(typeof Symbol === 'function' ? Symbol.sham : '@@sham') && d && d < 41) 6468 ); 6469 }); 6470 }, 6471 function (a, b, c) { 6472 'use strict'; 6473 var d = String; 6474 a.exports = function (a) { 6475 try { 6476 return d(a); 6477 } catch (a) { 6478 return 'Object'; 6479 } 6480 }; 6481 }, 6482 function (a, b, c) { 6483 'use strict'; 6484 b = c(31); 6485 var d = c(43); 6486 (a.exports = function (a, b) { 6487 return d[a] || (d[a] = void 0 !== b ? b : {}); 6488 })('versions', []).push({ 6489 version: '3.32.2', 6490 mode: b ? 'pure' : 'global', 6491 copyright: '\xa9 2014-2023 Denis Pushkarev (zloirock.ru)', 6492 license: 'https://github.com/zloirock/core-js/blob/v3.32.2/LICENSE', 6493 source: 'https://github.com/zloirock/core-js', 6494 }); 6495 }, 6496 function (a, b, c) { 6497 'use strict'; 6498 b = c(7); 6499 var d = 0, 6500 e = Math.random(), 6501 f = b((1).toString); 6502 a.exports = function (a) { 6503 return 'Symbol(' + (void 0 === a ? '' : a) + ')_' + f(++d + e, 36); 6504 }; 6505 }, 6506 function (a, b, c) { 6507 'use strict'; 6508 b = c(15); 6509 var d = c(5), 6510 e = c(62); 6511 a.exports = 6512 !b && 6513 !d(function () { 6514 return ( 6515 7 !== 6516 Object.defineProperty(e('div'), 'a', { 6517 get: function () { 6518 return 7; 6519 }, 6520 }).a 6521 ); 6522 }); 6523 }, 6524 function (a, b, c) { 6525 'use strict'; 6526 b = c(8); 6527 c = c(13); 6528 var d = b.document, 6529 e = c(d) && c(d.createElement); 6530 a.exports = function (a) { 6531 return e ? d.createElement(a) : {}; 6532 }; 6533 }, 6534 function (a, b, c) { 6535 'use strict'; 6536 b = c(15); 6537 c = c(5); 6538 a.exports = 6539 b && 6540 c(function () { 6541 return ( 6542 42 !== Object.defineProperty(function () {}, 'prototype', { value: 42, writable: !1 }).prototype 6543 ); 6544 }); 6545 }, 6546 function (a, b, c) { 6547 'use strict'; 6548 var d = c(46), 6549 e = Math.min; 6550 a.exports = function (a) { 6551 return a > 0 ? e(d(a), 9007199254740991) : 0; 6552 }; 6553 }, 6554 function (a, b, c) { 6555 'use strict'; 6556 b = c(7); 6557 var d = c(5), 6558 e = c(3), 6559 f = c(34), 6560 g = c(30), 6561 h = c(98), 6562 i = function () {}, 6563 j = [], 6564 k = g('Reflect', 'construct'), 6565 l = /^\s*(?:class|function)\b/, 6566 m = b(l.exec), 6567 n = !l.exec(i), 6568 o = function (a) { 6569 if (!e(a)) return !1; 6570 try { 6571 return (k(i, j, a), !0); 6572 } catch (a) { 6573 return !1; 6574 } 6575 }; 6576 c = function (a) { 6577 if (!e(a)) return !1; 6578 switch (f(a)) { 6579 case 'AsyncFunction': 6580 case 'GeneratorFunction': 6581 case 'AsyncGeneratorFunction': 6582 return !1; 6583 } 6584 try { 6585 return n || !!m(l, h(a)); 6586 } catch (a) { 6587 return !0; 6588 } 6589 }; 6590 ((c.sham = !0), 6591 (a.exports = 6592 !k || 6593 d(function () { 6594 var a; 6595 return ( 6596 o(o.call) || 6597 !o(Object) || 6598 !o(function () { 6599 a = !0; 6600 }) || 6601 a 6602 ); 6603 }) 6604 ? c 6605 : o)); 6606 }, 6607 function (a, b, c) { 6608 'use strict'; 6609 var d = c(5); 6610 b = c(6); 6611 var e = c(41), 6612 f = b('species'); 6613 a.exports = function (a) { 6614 return ( 6615 e >= 51 || 6616 !d(function () { 6617 var b = []; 6618 return ( 6619 ((b.constructor = {})[f] = function () { 6620 return { foo: 1 }; 6621 }), 6622 1 !== b[a](Boolean).foo 6623 ); 6624 }) 6625 ); 6626 }; 6627 }, 6628 function (a, b, c) { 6629 'use strict'; 6630 var d, e; 6631 b = c(5); 6632 var f = c(3), 6633 g = c(13), 6634 h = c(68), 6635 i = c(70), 6636 j = c(71), 6637 k = c(6); 6638 c = c(31); 6639 var l = k('iterator'); 6640 k = !1; 6641 ([].keys && ('next' in (e = [].keys()) ? (i = i(i(e))) !== Object.prototype && (d = i) : (k
6641= !0)), 6642 !g(d) || 6643 b(function () { 6644 var a = {}; 6645 return d[l].call(a) !== a; 6646 }) 6647 ? (d = {}) 6648 : c && (d = h(d)), 6649 f(d[l]) || 6650 j(d, l, function () { 6651 return this; 6652 }), 6653 (a.exports = { IteratorPrototype: d, BUGGY_SAFARI_ITERATORS: k })); 6654 }, 6655 function (a, b, c) { 6656 'use strict'; 6657 var d, 6658 e = c(17), 6659 f = c(110), 6660 g = c(69); 6661 b = c(50); 6662 var i = c(114), 6663 j = c(62); 6664 c = c(49); 6665 var k = c('IE_PROTO'), 6666 l = function () {}, 6667 m = function (a) { 6668 return '<script>' + a + '</script>'; 6669 }, 6670 n = function (a) { 6671 (a.write(m('')), a.close()); 6672 var b = a.parentWindow.Object; 6673 return ((a = null), b); 6674 }, 6675 o = function () { 6676 try { 6677 d = new ActiveXObject('htmlfile'); 6678 } catch (a) {} 6679 var a; 6680 o = 6681 'undefined' != typeof h 6682 ? h.domain && d 6683 ? n(d) 6684 : (((a = j('iframe')).style.display = 'none'), 6685 i.appendChild(a), 6686 (a.src = String('javascript:')), 6687 (a = a.contentWindow.document).open(), 6688 a.write(m('document.F=Object')), 6689 a.close(), 6690 a.F) 6691 : n(d); 6692 for (a = g.length; a--; ) delete o.prototype[g[a]]; 6693 return o(); 6694 }; 6695 ((b[k] = !0), 6696 (a.exports = 6697 Object.create || 6698 function (a, b) { 6699 var c; 6700 return ( 6701 null !== a ? ((l.prototype = e(a)), (c = new l()), (l.prototype = null), (c[k] = a)) : (c = o()), 6702 void 0 === b ? c : f.f(c, b) 6703 ); 6704 })); 6705 }, 6706 function (a, b, c) { 6707 'use strict'; 6708 a.exports = [ 6709 'constructor', 6710 'hasOwnProperty', 6711 'isPrototypeOf', 6712 'propertyIsEnumerable', 6713 'toLocaleString', 6714 'toString', 6715 'valueOf', 6716 ]; 6717 }, 6718 function (a, b, c) { 6719 'use strict'; 6720 var d = c(14), 6721 e = c(3), 6722 f = c(22); 6723 b = c(49); 6724 c = c(115); 6725 var g = b('IE_PROTO'), 6726 h = Object, 6727 i = h.prototype; 6728 a.exports = c 6729 ? h.getPrototypeOf 6730 : function (a) { 6731 a = f(a); 6732 if (d(a, g)) return a[g]; 6733 var b = a.constructor; 6734 return e(b) && a instanceof b ? b.prototype : a instanceof h ? i : null; 6735 }; 6736 }, 6737 function (a, b, c) { 6738 'use strict'; 6739 var d = c(23); 6740 a.exports = function (a, b, c, e) { 6741 return (e && e.enumerable ? (a[b] = c) : d(a, b, c), a); 6742 }; 6743 }, 6744 function (a, b, c) { 6745 'use strict'; 6746 var d = c(47), 6747 e = c(32).f, 6748 f = c(23), 6749 g = c(14), 6750 h = c(116), 6751 i = c(6)('toStringTag'); 6752 a.exports = function (a, b, c, j) { 6753 if (a) { 6754 c = c ? a : a.prototype; 6755 (g(c, i) || e(c, i, { configurable: !0, value: b }), j && !d && f(c, 'toString', h)); 6756 } 6757 }; 6758 }, 6759 function (a, b, c) { 6760 'use strict'; 6761 var d = c(34), 6762 e = c(42), 6763 f = c(38), 6764 g = c(35), 6765 h = c(6)('iterator'); 6766 a.exports = function (a) { 6767 if (!f(a)) return e(a, h) || e(a, '@@iterator') || g[d(a)]; 6768 }; 6769 }, 6770 function (a, b, c) { 6771 'use strict'; 6772 a.exports = function () {}; 6773 }, 6774 function (a, b, c) { 6775 'use strict'; 6776 var d = c(5); 6777 a.exports = function (a, b) { 6778 var c = [][a]; 6779 return ( 6780 !!c && 6781 d(function () { 6782 c.call( 6783 null, 6784 b || 6785 function () { 6786 return 1; 6787 }, 6788 1, 6789 ); 6790 }) 6791 ); 6792 }; 6793 }, 6794 function (a, b, c) { 6795 !(function (a) { 6796 var c = (function (b) { 6797 function a(b, c) { 6798 w(this, a); 6799 ((b = g(this, a, [b + ' at position ' + c])), (b.position = c)); 6800 return b; 6801 } 6802 j(a, b); 6803 return y(a); 6804 })(k(Error)); 6805 function b(a) { 6806 return '0' <= a && a <= '9'; 6807 } 6808 function d(a) { 6809 return ',:[]/{}()\n+'.includes(a); 6810 } 6811 function e(a) { 6812 return ('a' <= a && a <= 'z') || ('A' <= a && a <= 'Z') || '_' === a || '$' === a; 6813 } 6814 function f(a) { 6815 return ( 6816 ('a' <= a && a <= 'z') || ('A' <= a && a <= 'Z') || '_' === a || '$' === a || ('0' <= a && a <= '9') 6817 ); 6818 } 6819 var h = /^(http|https|ftp|mailto|file|data|irc):\/\/$/, 6820 i = /^[A-Za-z0-9-._~:/?#@!$&\'()*+;=]$/; 6821 function l(a) { 6822 return ',[]/{}\n+'.includes(a); 6823 } 6824 function m(a) { 6825 return q(a) || n.test(a); 6826 } 6827 var n = /^[[{\w-]$/; 6828 function o(a, b) { 6829 return 32 === (a = a.charCodeAt(b)) || 10 === a || 9 === a || 13 === a; 6830 } 6831 function p(a, b) { 6832 return 32 === (a = a.charCodeAt(b)) || 9 === a || 13 === a; 6833 } 6834 function q(a) { 6835 return r(a) || t(a); 6836 } 6837 function r(a) { 6838 return '"' === a || '\u201c' === a || '\u201d' === a; 6839 } 6840 function s(a) { 6841 return '"' === a; 6842 } 6843 function t(a) { 6844 return "'" === a || '\u2018' === a || '\u2019' === a || '`' === a || '\xb4' === a; 6845 } 6846 function u(a) { 6847 return "'" === a; 6848 } 6849 function v(a, b, c) { 6850 return ( 6851 (c = 2 < arguments.length && void 0 !== c && c), 6852 -1 !== (b = a.lastIndexOf(b)) ? a.substring(0, b) + (c ? '' : a.substring(b + 1)) : a 6853 ); 6854 } 6855 function x(a, b) { 6856 var c = a.length; 6857 if (!o(a, c - 1)) return a + b; 6858 for (; o(a, c - 1); ) c--; 6859 return a.substring(0, c) + b + a.substring(c); 6860 } 6861 var z = { '\b': '\\b', '\f': '\\f', '\n': '\\n', '\r': '\\r', '\t': '\\t' }, 6862 A = { '"': '"', '\\': '\\', '/': '/', b: '\b', f: '\f', n: '\n', r: '\r', t: '\t' }; 6863 ((a.JSONRepairError = c), 6864 (a.jsonrepair = function (a) { 6865 var g = 0, 6866 j = ''; 6867 if ((C(['```', '[```', '{```']), !w())) throw new c('Unexpected end of json string', a.length); 6868 C(['```', '```]', '```}']); 6869 C = D(','); 6870 if ((C && y(), m(a[g]) && /[,\n][ \t\r]*$/.test(j))) { 6871 C || (j = x(j, ',')); 6872 var k = !0, 6873 n = !0; 6874 for (; n; ) (k ? (k = !1) : D(',') || (j = x(j, ',')), (n = w())); 6875 j = '[\n'.concat((j = n ? j : v(j, ',')), '\n]'); 6876 } else C && (j = v(j, ',')); 6877 for (; '}' === a[g] || ']' === a[g]; ) (g++, y()); 6878 if (g >= a.length) return j; 6879 throw new c('Unexpected character ' + JSON.stringify(a[g]), g); 6880 function w() { 6881 y(); 6882 var d = 6883 (function () { 6884 if ('{' !== a[g]) return !1; 6885 ((j += '{'), g++, y(), E(',') && y()); 6886 var e = !0; 6887 for (; g < a.length && '}' !== a[g]; ) { 6888 if ((e ? (!0, (e = !1)) : (D(',') || (j = x(j, ',')), y()), F(), !G() && !K(!0))) { 6889 '}' === a[g] || '{' === a[g] || ']' === a[g] || '[' === a[g] || void 0 === a[g] 6890 ? (j = v(j, ',')) 6891 : (function () { 6892 throw new c('Object key expected', g); 6893 })(); 6894 break; 6895 } 6896 y(); 6897 var b = D(':'), 6898 d = g >= a.length; 6899 (b || (m(a[g]) || d ? (j = x(j, ':')) : O()), w() || (b || d ? (j += 'null') : O())); 6900 } 6901 return ('}' === a[g] ? ((j += '}'), g++) : (j = x(j, '}')), !0); 6902 })() || 6903 (function () { 6904 if ('[' !== a[g]) return !1; 6905 ((j += '['), g++, y(), E(',') && y()); 6906 var b = !0; 6907 for (; g < a.length && ']' !== a[g]; ) 6908 if ((b ? (b = !1) : D(',') || (j = x(j, ',')), F(), !w())) { 6909 j = v(j, ','); 6910 break; 6911 } 6912 return (']' === a[g] ? ((j += ']'), g++) : (j = x(j, ']')), !0); 6913 })() || 6914 G() || 6915 (function () { 6916 var c, 6917 d, 6918 e = g; 6919 if ('-' === a[g]) { 6920 if ((g++, M())) return (N(e), !0); 6921 if (!b(a[g])) return ((g = e), !1); 6922 } 6923 for (; b(a[g]); ) g++; 6924 if ('.' === a[g]) { 6925 if ((g++, M())) return (N(e), !0); 6926 if (!b(a[g])) return ((g = e), !1); 6927 for (; b(a[g]); ) g++; 6928 } 6929 if ('e' === a[g] || 'E' === a[g]) { 6930 if ((g++, ('-' !== a[g] && '+' !== a[g]) || g++, M())) return (N(e), !0); 6931 if (!b(a[g])) return ((g = e), !1); 6932 for (; b(a[g]); ) g++; 6933 } 6934 if (M()) { 6935 if (g > e) 6936 return ((c = a.slice(e, g)), (d = /^0\d/.test(c)), (j += d ? '"'.concat(c, '"') : c), !0); 6937 } else g = e; 6938 return !1; 6939 })() || 6940 J('true', 'true') || 6941 J('false', 'false') || 6942 J('null', 'null') || 6943 J('True', 'true') || 6944 J('False', 'false') || 6945 J('None', 'null') || 6946 K(!1) || 6947 (function () { 6948 if ('/' === a[g]) { 6949 var b = g; 6950 for (g++; g < a.length && ('/' !== a[g] || '\\' === a[g - 1]); ) g++; 6951 return (g++, (j += '"'.concat(a.substring(b, g), '"')), !0); 6952 } 6953 })(); 6954 return (y(), d); 6955 } 6956 function y(b) { 6957 var c = !(0 < arguments.length && void 0 !== b) || b; 6958 B(c); 6959 for ( 6960 ; 6961 (function () { 6962 if ('/' === a[g] && '*' === a[g + 1]) { 6963 for ( 6964 ; 6965 g < a.length && 6966 !(function (a, b) { 6967 return '*' === a[b] && '/' === a[b + 1]; 6968 })(a, g); 6969 6970 ) 6971 g++; 6972 g += 2; 6973 } else { 6974 if ('/' !== a[g] || '/' !== a[g + 1]) return !1; 6975 for (; g < a.length && '\n' !== a[g]; ) g++; 6976 } 6977 return !0; 6978 })() && B(c); 6979 6980 ); 6981 } 6982 function B(b) { 6983 var c; 6984 b = b ? o : p; 6985 var d = ''; 6986 for (;;) { 6987 if (b(a, g)) d += a[g]; 6988 else { 6989 if ( 6990 ((c = g), 6991 !( 6992 160 === (c = a.charCodeAt(c)) || 6993 (c >= 8192 && c <= 8202) || 6994 8239 === c || 6995 8287 === c || 6996 12288 === c 6997 )) 6998 ) 6999 break; 7000 d += ' '; 7001 } 7002 g++; 7003 } 7004 return 0 < d.length && ((j += d), !0); 7005 } 7006 function C(b) { 7007 if ( 7008 (function (b) { 7009 b = H(b); 7010 var d; 7011 try {
7012 for (b.s(); !(d = b.n()).done; ) { 7013 d = d.value; 7014 var c = g + d.length; 7015 if (a.slice(g, c) === d) return ((g = c), 1); 7016 } 7017 } catch (a) { 7018 b.e(a); 7019 } finally { 7020 b.f(); 7021 } 7022 })(b) 7023 ) { 7024 if (e(a[g])) for (; g < a.length && f(a[g]); ) g++; 7025 y(); 7026 } 7027 } 7028 function D(b) { 7029 return a[g] === b && ((j += a[g]), g++, !0); 7030 } 7031 function E(b) { 7032 return a[g] === b && (g++, !0); 7033 } 7034 function F() { 7035 (y(), '.' === a[g] && '.' === a[g + 1] && '.' === a[g + 2] && ((g += 3), y(), E(','))); 7036 } 7037 function G(e, f) { 7038 var k = 0 < arguments.length && void 0 !== e && e, 7039 m = 1 < arguments.length && void 0 !== f ? f : -1, 7040 n = '\\' === a[g]; 7041 if ((n && (g++, (n = !0)), q(a[g]))) { 7042 var o = s(a[g]) ? s : u(a[g]) ? u : t(a[g]) ? t : r, 7043 F = g, 7044 p = j.length, 7045 H = '"'; 7046 for (g++; ; ) { 7047 if (g >= a.length) 7048 return ( 7049 (v = L(g - 1)), 7050 !k && d(a.charAt(v)) 7051 ? ((g = F), (j = j.substring(0, p)), G(!0)) 7052 : ((H = x(H, '"')), (j += H), !0) 7053 ); 7054 if (g === m) return ((H = x(H, '"')), (j += H), !0); 7055 if (o(a[g])) { 7056 var v = g, 7057 w = H.length; 7058 if (((H += '"'), g++, (j += H), y(!1), k || g >= a.length || d(a[g]) || q(a[g]) || b(a[g]))) 7059 return (I(), !0); 7060 var B = L(v - 1), 7061 C = a.charAt(B); 7062 if (',' === C) return ((g = F), (j = j.substring(0, p)), G(!1, B)); 7063 if (d(C)) return ((g = F), (j = j.substring(0, p)), G(!0)); 7064 ((j = j.substring(0, p)), (g = v + 1), (H = H.substring(0, w) + '\\' + H.substring(w))); 7065 } else { 7066 if (k && l(a[g])) { 7067 if (':' === a[g - 1] && h.test(a.substring(F + 1, g + 2))) 7068 for (; g < a.length && i.test(a[g]); ) ((H += a[g]), g++); 7069 return ((H = x(H, '"')), (j += H), I(), !0); 7070 } 7071 if ('\\' === a[g]) 7072 if (((B = a.charAt(g + 1)), void 0 !== A[B])) ((H += a.slice(g, g + 2)), (g += 2)); 7073 else if ('u' === B) { 7074 var J = 2; 7075 for (; J < 6 && /^[0-9A-Fa-f]$/.test(a[g + J]); ) J++; 7076 if (6 === J) ((H += a.slice(g, g + 6)), (g += 6)); 7077 else { 7078 if (!(g + J >= a.length)) 7079 throw ( 7080 void 0, 7081 (C = a.slice(g, g + 6)), 7082 new c('Invalid unicode character "'.concat(C, '"'), g) 7083 ); 7084 g = a.length; 7085 } 7086 } else ((H += B), (g += 2)); 7087 else { 7088 var D; 7089 if ('"' === (w = a.charAt(g)) && '\\' !== a[g - 1]) H += '\\' + w; 7090 else if ('\n' === (D = w) || '\r' === D || '\t' === D || '\b' === D || '\f' === D) 7091 H += z[w]; 7092 else { 7093 if (!(' ' <= w)) 7094 throw (void 0, (D = w), new c('Invalid character ' + JSON.stringify(D), g)); 7095 H += w; 7096 } 7097 g++; 7098 } 7099 } 7100 n && E('\\'); 7101 } 7102 } 7103 return !1; 7104 } 7105 function I() { 7106 for (y(); '+' === a[g]; ) { 7107 (!0, g++, y()); 7108 var b = (j = v(j, '"', !0)).length, 7109 c = G(); 7110 j = c ? ((b = b), (c = j).substring(0, b) + c.substring(b + 1)) : x(j, '"'); 7111 } 7112 } 7113 function J(b, c) { 7114 return a.slice(g, g + b.length) === b && ((j += c), (g += b.length), !0); 7115 } 7116 function K(b) { 7117 var c = g; 7118 if (e(a[g])) { 7119 for (; g < a.length && f(a[g]); ) g++; 7120 var d = g; 7121 for (; o(a, d); ) d++; 7122 if ('(' === a[d]) return ((g = d + 1), w(), ')' === a[g] && (g++, ';' === a[g]) && g++, !0); 7123 } 7124 for (; g < a.length && !l(a[g]) && !q(a[g]) && (!b || ':' !== a[g]); ) g++; 7125 if (':' === a[g - 1] && h.test(a.substring(c, g + 2))) for (; g < a.length && i.test(a[g]); ) g++; 7126 if (g > c) { 7127 for (; o(a, g - 1) && 0 < g; ) g--; 7128 return ( 7129 (c = a.slice(c, g)), 7130 (j += 'undefined' === c ? 'null' : JSON.stringify(c)), 7131 '"' === a[g] && g++, 7132 !0 7133 ); 7134 } 7135 } 7136 function L(b) { 7137 b = b; 7138 for (; 0 < b && o(a, b); ) b--; 7139 return b; 7140 } 7141 function M() { 7142 return g >= a.length || d(a[g]) || o(a, g); 7143 } 7144 function N(b) { 7145 j += a.slice(b, g) + '0'; 7146 } 7147 function O() { 7148 throw new c('Colon expected', g); 7149 } 7150 })); 7151 })(b); 7152 }, 7153 function (a, b, c) { 7154 a.exports = c(164); 7155 }, 7156 function (a, b, c) { 7157 'use strict'; 7158 var d = c(79); 7159 a.exports = function (a) { 7160 return d(a) && 3 == a.nodeType; 7161 }; 7162 }, 7163 function (a, b, c) { 7164 'use strict'; 7165 a.exports = function (a) { 7166 var b = (a ? a.ownerDocument || a : h).defaultView || f; 7167 return !( 7168 !a || 7169 !('function' == typeof b.Node 7170 ? a instanceof b.Node 7171 : 'object' == G(a) && 'number' == typeof a.nodeType && 'string' == typeof a.nodeName) 7172 ); 7173 }; 7174 }, 7175 function (a, b, c) { 7176 'use strict'; 7177 b = c(81); 7178 a.exports = b; 7179 }, 7180 function (a, b, c) { 7181 'use strict'; 7182 b = c(82); 7183 a.exports = b; 7184 }, 7185 function (a, b, c) { 7186 'use strict'; 7187 b = c(83); 7188 a.exports = b; 7189 }, 7190 function (a, b, c) { 7191 'use strict'; 7192 c(84); 7193 b = c(18); 7194 a.exports = b('Array', 'map'); 7195 }, 7196 function (a, b, c) { 7197 'use strict'; 7198 a = c(10); 7199 var d = c(45).map; 7200 a( 7201 { target: 'Array', proto: !0, forced: !c(66)('map') }, 7202 { 7203 map: function (a) { 7204 return d(this, a, arguments.length > 1 ? arguments[1] : void 0); 7205 }, 7206 }, 7207 ); 7208 }, 7209 function (a, b) { 7210 b = (function () { 7211 return this; 7212 })(); 7213 try { 7214 b = b || new Function('return this')(); 7215 } catch (a) { 7216 'object' == G(f) && (b = f); 7217 } 7218 a.exports = b; 7219 }, 7220 function (a, b, c) { 7221 'use strict'; 7222 b = c(25); 7223 c = Function.prototype; 7224 var d = c.apply, 7225 e = c.call; 7226 a.exports = 7227 ('object' == (typeof Reflect === 'undefined' ? 'undefined' : G(Reflect)) && Reflect.apply) || 7228 (b 7229 ? e.bind(d) 7230 : function () { 7231 return e.apply(d, arguments); 7232 }); 7233 }, 7234 function (a, b, c) { 7235 'use strict'; 7236 a = {}.propertyIsEnumerable; 7237 var d = Object.getOwnPropertyDescriptor; 7238 c = d && !a.call({ 1: 2 }, 1); 7239 b.f = c 7240 ? function (a) { 7241 a = d(this, a); 7242 return !!a && a.enumerable; 7243 } 7244 : a; 7245 }, 7246 function (a, b, c) { 7247 'use strict'; 7248 var d = c(16), 7249 e = c(13), 7250 f = c(55), 7251 g = c(42), 7252 h = c(91); 7253 b = c(6); 7254 var i = TypeError, 7255 j = b('toPrimitive'); 7256 a.exports = function (a, b) { 7257 if (!e(a) || f(a)) return a; 7258 var c = g(a, j); 7259 if (c) { 7260 if ((void 0 === b && (b = 'default'), (c = d(c, a, b)), !e(c) || f(c))) return c; 7261 throw i("Can't convert object to primitive value"); 7262 } 7263 return (void 0 === b && (b = 'number'), h(a, b)); 7264 }; 7265 }, 7266 function (a, b, c) { 7267 'use strict'; 7268 b = c(7); 7269 a.exports = b({}.isPrototypeOf); 7270 }, 7271 function (a, b, c) { 7272 'use strict'; 7273 a.exports = ('undefined' != typeof navigator && String(navigator.userAgent)) || ''; 7274 }, 7275 function (a, b, c) { 7276 'use strict'; 7277 var d = c(16), 7278 e = c(3), 7279 f = c(13), 7280 g = TypeError; 7281 a.exports = function (a, b) { 7282 var c, h; 7283 if ('string' === b && e((c = a.toString)) && !f((h = d(c, a)))) return h; 7284 if (e((c = a.valueOf)) && !f((h = d(c, a)))) return h; 7285 if ('string' !== b && e((c = a.toString)) && !f((h = d(c, a)))) return h; 7286 throw g("Can't convert object to primitive value"); 7287 }; 7288 }, 7289 function (a, b, c) { 7290 'use strict'; 7291 var d = c(8), 7292 e = Object.defineProperty; 7293 a.exports = function (a, b) { 7294 try { 7295 e(d, a, { value: b, configurable: !0, writable: !0 }); 7296 } catch (c) { 7297 d[a] = b; 7298 } 7299 return b; 7300 }; 7301 }, 7302 function (a, b, c) { 7303 'use strict'; 7304 var d = c(5), 7305 e = c(3), 7306 f = /#|\.prototype\./; 7307 b = function (a, b) { 7308 a = h[g(a)]; 7309 return a === j || (a !== i && (e(b) ? d(b) : !!b)); 7310 }; 7311 var g = (b.normalize = function (a) { 7312 return String(a).replace(f, '.').toLowerCase(); 7313 }), 7314 h = (b.data = {}), 7315 i = (b.NATIVE = 'N'), 7316 j = (b.POLYFILL = 'P'); 7317 a.exports = b; 7318 }, 7319 function (a, b, c) { 7320 'use strict'; 7321 var d = Math.ceil, 7322 e = Math.floor; 7323 a.exports = 7324 Math.trunc || 7325 function (a) { 7326 a = +a; 7327 return (a > 0 ? e : d)(a); 7328 }; 7329 }, 7330 function (a, b, c) { 7331 'use strict'; 7332 var d = c(96); 7333 a.exports = function (a, b) { 7334 return new (d(a))(0 === b ? 0 : b); 7335 }; 7336 }, 7337 function (a, b, c) { 7338 'use strict'; 7339 var d = c(97), 7340 e = c(65), 7341 f = c(13), 7342 g = c(6)('species'), 7343 h = Array; 7344 a.exports = function (a) { 7345 var b; 7346 return ( 7347 d(a) && 7348 ((b = a.constructor), 7349 ((e(b) && (b === h || d(b.prototype))) || (f(b) && null === (b = b[g]))) && (b = void 0)), 7350 void 0 === b ? h : b 7351 ); 7352 }; 7353 }, 7354 function (a, b, c) { 7355 'use strict'; 7356 var d = c(20); 7357 a.exports = 7358 Array.isArray || 7359 function (a) { 7360 return 'Array' === d(a); 7361 }; 7362 }, 7363 function (a, b, c) { 7364 'use strict'; 7365 b = c(7); 7366 var d = c(3); 7367 c = c(43); 7368 var e = b(Function.toString); 7369 (d(c.inspectSource) || 7370 (c.inspectSource = function (a) { 7371 return e(a); 7372 }), 7373 (a.exports = c.inspectSource)); 7374 }, 7375 function (a, b, c) { 7376 'use strict'; 7377 b = c(100); 7378 a.exports = b; 7379 }, 7380 function (a, b, c) { 7381 'use strict'; 7382 b = c(101); 7383 a.exports = b; 7384 }, 7385 function (a, b, c) { 7386 'use strict'; 7387 b = c(102); 7388 a.exports = b; 7389 }, 7390 function (a, b, c) { 7391 'use strict'; 7392 (c(103), c(121)); 7393 b = c(40); 7394 a.exports = b.Array.from; 7395 }, 7396 function (a, b, c) { 7397 'use strict'; 7398 var d = c(104).charAt, 7399 e = c(48); 7400 a = c(105); 7401 b = c(107);
7402 var f = c(120), 7403 g = a.set, 7404 h = a.getterFor('String Iterator'); 7405 b( 7406 String, 7407 'String', 7408 function (a) { 7409 g(this, { type: 'String Iterator', string: e(a), index: 0 }); 7410 }, 7411 function () { 7412 var a = h(this), 7413 b = a.string, 7414 c = a.index; 7415 return c >= b.length ? f(void 0, !0) : ((b = d(b, c)), (a.index += b.length), f(b, !1)); 7416 }, 7417 ); 7418 }, 7419 function (a, b, c) { 7420 'use strict'; 7421 b = c(7); 7422 var d = c(46), 7423 e = c(48), 7424 f = c(29), 7425 g = b(''.charAt), 7426 h = b(''.charCodeAt), 7427 i = b(''.slice); 7428 c = function (a) { 7429 return function (b, c) { 7430 var j, k; 7431 b = e(f(b)); 7432 c = d(c); 7433 var l = b.length; 7434 return c < 0 || c >= l 7435 ? a 7436 ? '' 7437 : void 0 7438 : (j = h(b, c)) < 55296 || j > 56319 || c + 1 === l || (k = h(b, c + 1)) < 56320 || k > 57343 7439 ? a 7440 ? g(b, c) 7441 : j 7442 : a 7443 ? i(b, c, c + 2) 7444 : k - 56320 + ((j - 55296) << 10) + 65536; 7445 }; 7446 }; 7447 a.exports = { codeAt: c(!1), charAt: c(!0) }; 7448 }, 7449 function (a, b, c) { 7450 'use strict'; 7451 var d, e, f; 7452 b = c(106); 7453 var g = c(8), 7454 h = c(13), 7455 i = c(23), 7456 j = c(14), 7457 k = c(43), 7458 l = c(49); 7459 c = c(50); 7460 var m = g.TypeError; 7461 g = g.WeakMap; 7462 if (b || k.state) { 7463 var n = k.state || (k.state = new g()); 7464 ((n.get = n.get), 7465 (n.has = n.has), 7466 (n.set = n.set), 7467 (d = function (a, b) { 7468 if (n.has(a)) throw m('Object already initialized'); 7469 return ((b.facade = a), n.set(a, b), b); 7470 }), 7471 (e = function (a) { 7472 return n.get(a) || {}; 7473 }), 7474 (f = function (a) { 7475 return n.has(a); 7476 })); 7477 } else { 7478 var o = l('state'); 7479 ((c[o] = !0), 7480 (d = function (a, b) { 7481 if (j(a, o)) throw m('Object already initialized'); 7482 return ((b.facade = a), i(a, o, b), b); 7483 }), 7484 (e = function (a) { 7485 return j(a, o) ? a[o] : {}; 7486 }), 7487 (f = function (a) { 7488 return j(a, o); 7489 })); 7490 } 7491 a.exports = { 7492 set: d, 7493 get: e, 7494 has: f, 7495 enforce: function (a) { 7496 return f(a) ? e(a) : d(a, {}); 7497 }, 7498 getterFor: function (a) { 7499 return function (b) { 7500 var c; 7501 if (!h(b) || (c = e(b)).type !== a) throw m('Incompatible receiver, ' + a + ' required'); 7502 return c; 7503 }; 7504 }, 7505 }; 7506 }, 7507 function (a, b, c) { 7508 'use strict'; 7509 b = c(8); 7510 c = c(3); 7511 b = b.WeakMap; 7512 a.exports = c(b) && /native code/.test(String(b)); 7513 }, 7514 function (a, b, c) { 7515 'use strict'; 7516 var d = c(10), 7517 e = c(16), 7518 f = c(31); 7519 b = c(108); 7520 var g = c(3), 7521 h = c(109), 7522 i = c(70), 7523 j = c(117), 7524 k = c(72), 7525 l = c(23), 7526 m = c(71), 7527 n = c(6), 7528 o = c(35); 7529 c = c(67); 7530 var p = b.PROPER, 7531 q = b.CONFIGURABLE, 7532 r = c.IteratorPrototype, 7533 s = c.BUGGY_SAFARI_ITERATORS, 7534 t = n('iterator'), 7535 u = function () { 7536 return this; 7537 }; 7538 a.exports = function (a, b, c, v, n, w, x) { 7539 h(c, b, v); 7540 var y, z; 7541 v = function (a) { 7542 if (a === n && E) return E; 7543 if (!s && a && a in C) return C[a]; 7544 switch (a) { 7545 case 'keys': 7546 case 'values': 7547 case 'entries': 7548 return function () { 7549 return new c(this, a); 7550 }; 7551 } 7552 return function () { 7553 return new c(this); 7554 }; 7555 }; 7556 var A = b + ' Iterator', 7557 B = !1, 7558 C = a.prototype, 7559 D = C[t] || C['@@iterator'] || (n && C[n]), 7560 E = (!s && D) || v(n),
7561 F = ('Array' === b && C.entries) || D; 7562 if ( 7563 (F && 7564 (y = i(F.call(new a()))) !== Object.prototype && 7565 y.next && 7566 (f || i(y) === r || (j ? j(y, r) : g(y[t]) || m(y, t, u)), k(y, A, !0, !0), f && (o[A] = u)), 7567 p && 7568 'values' === n && 7569 D && 7570 'values' !== D.name && 7571 (!f && q 7572 ? l(C, 'name', 'values') 7573 : ((B = !0), 7574 (E = function () { 7575 return e(D, this); 7576 }))), 7577 n) 7578 ) 7579 if (((z = { values: v('values'), keys: w ? E : v('keys'), entries: v('entries') }), x)) 7580 for (F in z) (s || B || !(F in C)) && m(C, F, z[F]); 7581 else d({ target: b, proto: !0, forced: s || B }, z); 7582 return ((f && !x) || C[t] === E || m(C, t, E, { name: n }), (o[b] = E), z); 7583 }; 7584 }, 7585 function (a, b, c) { 7586 'use strict'; 7587 b = c(15); 7588 c = c(14); 7589 var d = Function.prototype, 7590 e = b && Object.getOwnPropertyDescriptor; 7591 c = c(d, 'name'); 7592 var f = c && 'something' === function () {}.name; 7593 b = c && (!b || (b && e(d, 'name').configurable)); 7594 a.exports = { EXISTS: c, PROPER: f, CONFIGURABLE: b }; 7595 }, 7596 function (a, b, c) { 7597 'use strict'; 7598 var d = c(67).IteratorPrototype, 7599 e = c(68), 7600 f = c(27), 7601 g = c(72), 7602 h = c(35), 7603 i = function () { 7604 return this; 7605 }; 7606 a.exports = function (a, b, c, j) { 7607 b = b + ' Iterator'; 7608 return ((a.prototype = e(d, { next: f(+!j, c) })), g(a, b, !1, !0), (h[b] = i), a); 7609 }; 7610 }, 7611 function (a, b, c) { 7612 'use strict'; 7613 a = c(15); 7614 var d = c(63), 7615 e = c(32), 7616 f = c(17), 7617 g = c(28), 7618 h = c(111); 7619 b.f = 7620 a && !d 7621 ? Object.defineProperties 7622 : function (a, b) { 7623 f(a); 7624 for (var c, d = g(b), b = h(b), i = b.length, j = 0; i > j; ) e.f(a, (c = b[j++]), d[c]); 7625 return a; 7626 }; 7627 }, 7628 function (a, b, c) { 7629 'use strict'; 7630 var d = c(112), 7631 e = c(69); 7632 a.exports = 7633 Object.keys || 7634 function (a) { 7635 return d(a, e); 7636 }; 7637 }, 7638 function (a, b, c) { 7639 'use strict'; 7640 b = c(7); 7641 var d = c(14), 7642 e = c(28), 7643 f = c(51).indexOf, 7644 g = c(50), 7645 h = b([].push); 7646 a.exports = function (a, b) { 7647 var c; 7648 a = e(a); 7649 var i = 0, 7650 j = []; 7651 for (c in a) !d(g, c) && d(a, c) && h(j, c); 7652 for (; b.length > i; ) d(a, (c = b[i++])) && (~f(j, c) || h(j, c)); 7653 return j; 7654 }; 7655 }, 7656 function (a, b, c) { 7657 'use strict'; 7658 var d = c(46), 7659 e = Math.max, 7660 f = Math.min; 7661 a.exports = function (a, b) { 7662 a = d(a); 7663 return a < 0 ? e(a + b, 0) : f(a, b); 7664 }; 7665 }, 7666 function (a, b, c) { 7667 'use strict'; 7668 b = c(30); 7669 a.exports = b('document', 'documentElement'); 7670 }, 7671 function (a, b, c) { 7672 'use strict'; 7673 b = c(5); 7674 a.exports = !b(function () { 7675 function a() {} 7676 return ((a.prototype.constructor = null), Object.getPrototypeOf(new a()) !== a.prototype); 7677 }); 7678 }, 7679 function (a, b, c) { 7680 'use strict'; 7681 b = c(47); 7682 var d = c(34); 7683 a.exports = b 7684 ? {}.toString 7685 : function () { 7686 return '[object ' + d(this) + ']'; 7687 }; 7688 }, 7689 function (a, b, c) { 7690 'use strict'; 7691 var d = c(118), 7692 e = c(17), 7693 f = c(119); 7694 a.exports = 7695 Object.setPrototypeOf || 7696 ('__proto__' in {} 7697 ? (function () { 7698 var a, 7699 b = !1, 7700 c = {}; 7701 try { 7702 ((a = d(Object.prototype, '__proto__', 'set'))(c, []), (b = c instanceof Array)); 7703 } catch (a) {} 7704 return function (c, d) { 7705 return (e(c), f(d), b ? a(c, d) : (c.__proto__ = d), c); 7706 }; 7707 })() 7708 : void 0); 7709 }, 7710 function (a, b, c) { 7711 'use strict'; 7712 var d = c(7), 7713 e = c(21); 7714 a.exports = function (a, b, c) { 7715 try { 7716 return d(e(Object.getOwnPropertyDescriptor(a, b)[c])); 7717 } catch (a) {} 7718 }; 7719 }, 7720 function (a, b, c) { 7721 'use strict'; 7722 var d = c(3), 7723 e = String, 7724 f = TypeError; 7725 a.exports = function (a) { 7726 if ('object' == G(a) || d(a)) return a; 7727 throw f("Can't set " + e(a) + ' as a prototype'); 7728 }; 7729 }, 7730 function (a, b, c) { 7731 'use strict'; 7732 a.exports = function (a, b) { 7733 return { value: a, done: b }; 7734 }; 7735 }, 7736 function (a, b, c) { 7737 'use strict'; 7738 a = c(10); 7739 b = c(122); 7740 a( 7741 { 7742 target: 'Array', 7743 stat: !0, 7744 forced: !c(128)(function (a) { 7745 Array.from(a); 7746 }), 7747 }, 7748 { from: b }, 7749 ); 7750 }, 7751 function (a, b, c) { 7752 'use strict'; 7753 var d = c(44), 7754 e = c(16), 7755 f = c(22), 7756 g = c(123), 7757 h = c(125), 7758 i = c(65), 7759 j = c(33), 7760 k = c(126), 7761 l = c(127), 7762 m = c(73), 7763 n = Array; 7764 a.exports = function (a) { 7765 var b = f(a), 7766 c = i(this), 7767 o = arguments.length, 7768 p = o > 1 ? arguments[1] : void 0, 7769 q = void 0 !== p; 7770 q && (p = d(p, o > 2 ? arguments[2] : void 0)); 7771 var r, 7772 s, 7773 t, 7774 u, 7775 v, 7776 w, 7777 x = m(b), 7778 y = 0; 7779 if (!x || (this === n && h(x))) 7780 for (r = j(b), s = c ? new this(r) : n(r); r > y; y++) ((w = q ? p(b[y], y) : b[y]), k(s, y, w)); 7781 else 7782 for (v = (u = l(b, x)).next, s = c ? new this() : []; !(t = e(v, u)).done; y++) 7783 ((w = q ? g(u, p, [t.value, y], !0) : t.value), k(s, y, w)); 7784 return ((s.length = y), s); 7785 }; 7786 }, 7787 function (a, b, c) { 7788 'use strict'; 7789 var d = c(17), 7790 e = c(124); 7791 a.exports = function (a, b, c, f) { 7792 try { 7793 return f ? b(d(c)[0], c[1]) : b(c); 7794 } catch (b) { 7795 e(a, 'throw', b); 7796 } 7797 }; 7798 }, 7799 function (a, b, c) { 7800 'use strict'; 7801 var d = c(16), 7802 e = c(17), 7803 f = c(42); 7804 a.exports = function (a, b, c) { 7805 var g, h; 7806 e(a); 7807 try { 7808 if (!(g = f(a, 'return'))) { 7809 if ('throw' === b) throw c; 7810 return c; 7811 } 7812 g = d(g, a); 7813 } catch (a) { 7814 ((h = !0), (g = a)); 7815 } 7816 if ('throw' === b) throw c; 7817 if (h) throw g; 7818 return (e(g), c); 7819 }; 7820 }, 7821 function (a, b, c) { 7822 'use strict'; 7823 b = c(6); 7824 var d = c(35), 7825 e = b('iterator'), 7826 f = Array.prototype; 7827 a.exports = function (a) { 7828 return void 0 !== a && (d.Array === a || f[e] === a); 7829 }; 7830 }, 7831 function (a, b, c) { 7832 'use strict'; 7833 var d = c(39), 7834 e = c(32), 7835 f = c(27); 7836 a.exports = function (a, b, c) { 7837 b = d(b); 7838 b in a ? e.f(a, b, f(0, c)) : (a[b] = c); 7839 }; 7840 }, 7841 function (a, b, c) { 7842 'use strict'; 7843 var d = c(16), 7844 e = c(21), 7845 f = c(17), 7846 g = c(58), 7847 h = c(73), 7848 i = TypeError; 7849 a.exports = function (a, b) { 7850 var c = arguments.length < 2 ? h(a) : b; 7851 if (e(c)) return f(d(c, a)); 7852 throw i(g(a) + ' is not iterable'); 7853 }; 7854 }, 7855 function (a, b, c) { 7856 'use strict'; 7857 var d = c(6)('iterator'), 7858 e = !1; 7859 try { 7860 var f = 0; 7861 b = { 7862 next: function () { 7863 return { done: !!f++ }; 7864 }, 7865 return: function () { 7866 e = !0; 7867 }, 7868 }; 7869 ((b[d] = function () { 7870 return this; 7871 }), 7872 Array.from(b, function () { 7873 throw 2; 7874 })); 7875 } catch (a) {} 7876 a.exports = function (a, b) { 7877 try { 7878 if (!b && !e) return !1; 7879 } catch (a) { 7880 return !1; 7881 } 7882 b = !1; 7883 try { 7884 var c = {}; 7885 ((c[d] = function () { 7886 return { 7887 next: function () { 7888 return { done: (b = !0) }; 7889 }, 7890 }; 7891 }), 7892 a(c)); 7893 } catch (a) {} 7894 return b; 7895 }; 7896 }, 7897 function (a, b, c) { 7898 'use strict'; 7899 b = c(130); 7900 a.exports = b; 7901 }, 7902 function (a, b, c) { 7903 'use strict'; 7904 b = c(131); 7905 a.exports = b; 7906 }, 7907 function (a, b, c) { 7908 'use strict'; 7909 b = c(132); 7910 a.exports = b; 7911 }, 7912 function (a, b, c) { 7913 'use strict'; 7914 c(133); 7915 b = c(18); 7916 a.exports = b('Array', 'includes'); 7917 }, 7918 function (a, b, c) { 7919 'use strict'; 7920 a = c(10); 7921 var d = c(51).includes; 7922 b = c(5); 7923 c = c(74); 7924 (a( 7925 { 7926 target: 'Array', 7927 proto: !0, 7928 forced: b(function () { 7929 return !Array(1).includes(); 7930 }), 7931 }, 7932 { 7933 includes: function (a) { 7934 return d(this, a, arguments.length > 1 ? arguments[1] : void 0); 7935 }, 7936 }, 7937 ), 7938 c('includes')); 7939 }, 7940 function (a, b, c) { 7941 'use strict'; 7942 b = c(135); 7943 a.exports = b; 7944 }, 7945 function (a, b, c) { 7946 'use strict'; 7947 b = c(136); 7948 a.exports = b; 7949 }, 7950 function (a, b, c) { 7951 'use strict'; 7952 b = c(137); 7953 a.exports = b; 7954 }, 7955 function (a, b, c) { 7956 'use strict'; 7957 c(138); 7958 b = c(18); 7959 a.exports = b('Array', 'filter'); 7960 }, 7961 function (a, b, c) { 7962 'use strict'; 7963 a = c(10); 7964 var d = c(45).filter; 7965 a( 7966 { target: 'Array', proto: !0, forced: !c(66)('filter') }, 7967 { 7968 filter: function (a) { 7969 return d(this, a, arguments.length > 1 ? arguments[1] : void 0); 7970 }, 7971 }, 7972 ); 7973 }, 7974 function (a, b, c) { 7975 'use strict'; 7976 b = c(140); 7977 a.exports = b; 7978 }, 7979 function (a, b, c) { 7980 'use strict'; 7981 b = c(141); 7982 a.exports = b; 7983 }, 7984 function (a, b, c) { 7985 'use strict'; 7986 b = c(142); 7987 a.exports = b; 7988 }, 7989 function (a, b, c) { 7990 'use strict'; 7991 c(143); 7992 b = c(18); 7993 a.exports = b('Array', 'reduce'); 7994 }, 7995 function (a, b, c) { 7996 'use strict'; 7997 a = c(10); 7998 var d = c(144).left; 7999 b = c(75); 8000 var e = c(41); 8001 a( 8002 { target: 'Array', proto: !0, forced: (!c(145) && e > 79 && e < 83) || !b('reduce') }, 8003 { 8004 reduce: function (a) { 8005 var b = arguments.length; 8006 return d(this, a, b, b > 1 ? arguments[1] : void 0); 8007 }, 8008 }, 8009 ); 8010 }, 8011 function (a, b, c) { 8012 'use strict'; 8013 var d = c(21), 8014 e = c(22), 8015 f = c(37), 8016 g = c(33), 8017 h = TypeError; 8018 b = function (a) { 8019 return function (b, c, i, j) { 8020 d(c); 8021 b = e(b); 8022 var k = f(b), 8023 l = g(b), 8024 m = a ? l - 1 : 0, 8025 n = a ? -1 : 1; 8026 if (i < 2) 8027 for (;;) { 8028 if (m in k) { 8029 ((j = k[m]), (m += n)); 8030 break; 8031 } 8032 if (((m += n), a ? m < 0 : l <= m)) throw h('Reduce of empty array with
8032no initial value'); 8033 } 8034 for (; a ? m >= 0 : l > m; m += n) m in k && (j = c(j, k[m], m, b)); 8035 return j; 8036 }; 8037 }; 8038 a.exports = { left: b(!1), right: b(!0) }; 8039 }, 8040 function (a, b, c) { 8041 'use strict'; 8042 b = c(8); 8043 c = c(20); 8044 a.exports = 'process' === c(b.process); 8045 }, 8046 function (a, b, c) { 8047 'use strict'; 8048 b = c(147); 8049 a.exports = b; 8050 }, 8051 function (a, b, c) { 8052 'use strict'; 8053 b = c(148); 8054 a.exports = b; 8055 }, 8056 function (a, b, c) { 8057 'use strict'; 8058 b = c(149); 8059 a.exports = b; 8060 }, 8061 function (a, b, c) { 8062 'use strict'; 8063 c(150); 8064 b = c(18); 8065 a.exports = b('String', 'startsWith'); 8066 }, 8067 function (a, b, c) { 8068 'use strict'; 8069 a = c(10); 8070 b = c(26); 8071 var d = c(54).f, 8072 e = c(64), 8073 f = c(48), 8074 g = c(151), 8075 h = c(29), 8076 i = c(153); 8077 c = c(31); 8078 var j = b(''.startsWith), 8079 k = b(''.slice), 8080 l = Math.min; 8081 b = i('startsWith'); 8082 a( 8083 { 8084 target: 'String', 8085 proto: !0, 8086 forced: !!(c || b || ((i = d(String.prototype, 'startsWith')), !i || i.writable)) && !b, 8087 }, 8088 { 8089 startsWith: function (a) { 8090 var b = f(h(this)); 8091 g(a); 8092 var c = e(l(arguments.length > 1 ? arguments[1] : void 0, b.length)), 8093 d = f(a); 8094 return j ? j(b, d, c) : k(b, c, c + d.length) === d; 8095 }, 8096 }, 8097 ); 8098 }, 8099 function (a, b, c) { 8100 'use strict'; 8101 var d = c(152), 8102 e = TypeError; 8103 a.exports = function (a) { 8104 if (d(a)) throw e("The method doesn't accept regular expressions"); 8105 return a; 8106 }; 8107 }, 8108 function (a, b, c) { 8109 'use strict'; 8110 var d = c(13), 8111 e = c(20), 8112 f = c(6)('match'); 8113 a.exports = function (a) { 8114 var b; 8115 return d(a) && (void 0 !== (b = a[f]) ? !!b : 'RegExp' === e(a)); 8116 }; 8117 }, 8118 function (a, b, c) { 8119 'use strict'; 8120 var d = c(6)('match'); 8121 a.exports = function (a) { 8122 var b = /./; 8123 try { 8124 '/./'[a](b); 8125 } catch (c) { 8126 try { 8127 return ((b[d] = !1), '/./'[a](b)); 8128 } catch (a) {} 8129 } 8130 return !1; 8131 }; 8132 }, 8133 function (a, b, c) { 8134 'use strict'; 8135 b = c(155); 8136 a.exports = b; 8137 }, 8138 function (a, b, c) { 8139 'use strict'; 8140 b = c(156); 8141 a.exports = b; 8142 }, 8143 function (a, b, c) { 8144 'use strict'; 8145 b = c(157); 8146 a.exports = b; 8147 }, 8148 function (a, b, c) { 8149 'use strict'; 8150 c(158); 8151 b = c(18); 8152 a.exports = b('Array', 'indexOf'); 8153 }, 8154 function (a, b, c) { 8155 'use strict'; 8156 a = c(10); 8157 b = c(26); 8158 var d = c(51).indexOf; 8159 c = c(75); 8160 var e = b([].indexOf), 8161 f = !!e && 1 / e([1], 1, -0) < 0; 8162 a( 8163 { target: 'Array', proto: !0, forced: f || !c('indexOf') }, 8164 { 8165 indexOf: function (a) { 8166 var b = arguments.length > 1 ? arguments[1] : void 0; 8167 return f ? e(this, a, b) || 0 : d(this, a, b); 8168 }, 8169 }, 8170 ); 8171 }, 8172 function (a, b, c) { 8173 'use strict'; 8174 b = c(160); 8175 a.exports = b; 8176 }, 8177 function (a, b, c) { 8178 'use strict'; 8179 b = c(161); 8180 a.exports = b; 8181 }, 8182 function (a, b, c) { 8183 'use strict'; 8184 b = c(162); 8185 a.exports = b; 8186 }, 8187 function (a, b, c) { 8188 'use strict'; 8189 c(163); 8190 b = c(18); 8191 a.exports = b('Array', 'find'); 8192 }, 8193 function (a, b, c) { 8194 'use strict'; 8195 a = c(10); 8196 var d = c(45).find; 8197 b = c(74); 8198 c = !0; 8199 ('find' in [] && 8200 Array(1).find(function () { 8201 c = !1; 8202 }), 8203 a( 8204 { target: 'Array', proto: !0, forced: c }, 8205 { 8206 find: function (a) { 8207 return d(this, a, arguments.length > 1 ? arguments[1] : void 0); 8208 }, 8209 }, 8210 ), 8211 b('find')); 8212 }, 8213 function (a, b, c) { 8214 'use strict'; 8215 c.r(b); 8216 var d = {}; 8217 (c.r(d), 8218 c.d(d, 'BUTTON_SELECTOR_SEPARATOR', function () { 8219 return Ia; 8220 }), 8221 c.d(d, 'BUTTON_SELECTORS', function () { 8222 return Ja; 8223 }), 8224 c.d(d, 'LINK_TARGET_SELECTORS', function () { 8225 return Ka; 8226 }), 8227 c.d(d, 'BUTTON_SELECTOR_FORM_BLACKLIST', function () { 8228 return La; 8229 }), 8230 c.d(d, 'EXTENDED_BUTTON_SELECTORS', function () { 8231 return Ma; 8232 }), 8233 c.d(d, 'EXPLICIT_BUTTON_SELECTORS', function () { 8234 return Na; 8235 })); 8236 var e = {};
8237 function g(a) { 8238 if (null == a) return null; 8239 if (null != a.innerText && 0 !== a.innerText.length) return a.innerText; 8240 var b = a.text; 8241 return null != b && 'string' == typeof b && 0 !== b.length 8242 ? b 8243 : null != a.textContent && a.textContent.length > 0 8244 ? a.textContent 8245 : null; 8246 } 8247 (c.r(e), 8248 c.d(e, 'mergeProductMetadata', function () { 8249 return id; 8250 }), 8251 c.d(e, 'extractSchemaOrg', function () { 8252 return od; 8253 }), 8254 c.d(e, 'extractJsonLd', function () { 8255 return xd; 8256 }), 8257 c.d(e, 'extractOpenGraph', function () { 8258 return Id; 8259 }), 8260 c.d(e, 'extractMetaTagData', function () { 8261 return Ld; 8262 }), 8263 c.d(e, 'stripJsonComments', function () { 8264 return Md; 8265 }), 8266 c.d(e, 'jsonRepair', function () { 8267 return Nd; 8268 })); 8269 function i(a) { 8270 var b = a.tagName.toLowerCase(), 8271 c = void 0; 8272 switch (b) { 8273 case 'meta': 8274 c = a.getAttribute('content'); 8275 break; 8276 case 'audio': 8277 case 'embed': 8278 case 'iframe': 8279 case 'img': 8280 case 'source': 8281 case 'track': 8282 case 'video': 8283 c = a.getAttribute('src'); 8284 break; 8285 case 'a': 8286 case 'area': 8287 case 'link': 8288 c = a.getAttribute('href'); 8289 break; 8290 case 'object': 8291 c = a.getAttribute('data'); 8292 break; 8293 case 'data': 8294 case 'meter': 8295 c = a.getAttribute('value'); 8296 break; 8297 case 'time': 8298 c = a.getAttribute('datetime'); 8299 break; 8300 default: 8301 c = g(a) || ''; 8302 } 8303 return ( 8304 'span' === b && (null == c || ('string' == typeof c && '' === c)) && (c = a.getAttribute('content')), 8305 'string' == typeof c ? c.substr(0, 500) : '' 8306 ); 8307 } 8308 var j = [ 8309 'Order', 8310 'AggregateOffer', 8311 'CreativeWork', 8312 'Event', 8313 'MenuItem', 8314 'Product', 8315 'Service', 8316 'Trip', 8317 'ActionAccessSpecification', 8318 'ConsumeAction', 8319 'MediaSubscription', 8320 'Organization', 8321 'Person', 8322 ], 8323 k = c(11), 8324 l = c.n(k); 8325 k = c(1); 8326 var m = c.n(k); 8327 k = c(2); 8328 var n = c.n(k); 8329 k = c(4); 8330 var o = c.n(k); 8331 k = c(12); 8332 var p = c.n(k); 8333 k = c(0); 8334 var q = c.n(k), 8335 r = function (a) { 8336 for ( 8337 var b = q()(j, function (a) { 8338 return '[vocab$="'.concat('http://schema.org/', '"][typeof$="').concat(a, '"]'); 8339 }).join(', '), 8340 c = [], 8341 b = o()(h.querySelectorAll(b)), 8342 d = []; 8343 b.length > 0; 8344 8345 ) { 8346 var e = b.pop(); 8347 if (!p()(c, e)) { 8348 var f = { '@context': 'http://schema.org' }; 8349 d.push({ htmlElement: e, jsonLD: f }); 8350 for (e = [{ element: e, workingNode: f }]; e.length; ) { 8351 f = e.pop(); 8352 var r = f.element; 8353 f = f.workingNode; 8354 var s = m()(r.getAttribute('typeof')); 8355 f['@type'] = s; 8356 for (s = o()(r.querySelectorAll('[property]')).reverse(); s.length; ) { 8357 var g = s.pop(); 8358 if (!p()(c, g)) { 8359 c.push(g); 8360 var k = m()(g.getAttribute('property')); 8361 if (g.hasAttribute('typeof')) { 8362 var t = {}; 8363 ((f[k] = t), 8364 e.push({ element: r, workingNode: f }), 8365 e.push({ element: g, workingNode: t })); 8366 break; 8367 } 8368 f[k] = i(g); 8369 } 8370 } 8371 } 8372 } 8373 } 8374 return n()(d, function (b) { 8375 return l()(b.htmlElement, a); 8376 }); 8377 }; 8378 function s(a) { 8379 return (s = 8380 'function' == typeof Symbol && 8381 'symbol' == G(typeof Symbol === 'function' ? Symbol.iterator : '@@iterator') 8382 ? function (a) { 8383 return G(a); 8384 } 8385 : function (a) { 8386 return a && 8387 'function' == typeof Symbol && 8388 a.constructor === Symbol && 8389 a !== (typeof Symbol === 'function' ? Symbol.prototype : '@@prototype') 8390 ? 'symbol' 8391 : G(a); 8392 })(a); 8393 } 8394 function t(a) { 8395 return ( 8396 'object' === ('undefined' == typeof HTMLElement ? 'undefined' : s(HTMLElement)) 8397 ? a instanceof HTMLElement 8398 : null != a && 'object' === s(a) && null !== a && 1 === a.nodeType && 'string' == typeof a.nodeName 8399 ) 8400 ? a 8401 : null; 8402 } 8403 k = c(9); 8404 var u = c.n(k); 8405 function v(a) { 8406 return (v = 8407 'function' == typeof Symbol && 8408 'symbol' == G(typeof Symbol === 'function' ? Symbol.iterator : '@@iterator') 8409 ? function (a) { 8410 return G(a); 8411 } 8412 : function (a) { 8413 return a && 8414 'function' == typeof Symbol && 8415 a.constructor === Symbol && 8416 a !== (typeof Symbol === 'function' ? Symbol.prototype : '@@prototype') 8417 ? 'symbol' 8418 : G(a); 8419 })(a); 8420 } 8421 function w(a, b) { 8422 var c = Object.keys(a); 8423 if (Object.getOwnPropertySymbols) { 8424 var d = Object.getOwnPropertySymbols(a); 8425 (b && 8426 (d = d.filter(function (b) { 8427 return Object.getOwnPropertyDescriptor(a, b).enumerable; 8428 })), 8429 c.push.apply(c, d)); 8430 } 8431 return c; 8432 } 8433 function x(a) { 8434 for (var b = 1; b < arguments.length; b++) { 8435 var c = null != arguments[b] ? arguments[b] : {}; 8436 b % 2
8437 ? w(Object(c), !0).forEach(function (b) { 8438 z(a, b, c[b]); 8439 }) 8440 : Object.getOwnPropertyDescriptors 8441 ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(c)) 8442 : w(Object(c)).forEach(function (b) { 8443 Object.defineProperty(a, b, Object.getOwnPropertyDescriptor(c, b)); 8444 }); 8445 } 8446 return a; 8447 } 8448 function y(a, b) { 8449 for (var c = 0; c < b.length; c++) { 8450 var d = b[c]; 8451 ((d.enumerable = d.enumerable || !1), 8452 (d.configurable = !0), 8453 'value' in d && (d.writable = !0), 8454 Object.defineProperty(a, A(d.key), d)); 8455 } 8456 } 8457 function z(a, b, c) { 8458 return ( 8459 (b = A(b)) in a 8460 ? Object.defineProperty(a, b, { value: c, enumerable: !0, configurable: !0, writable: !0 }) 8461 : (a[b] = c), 8462 a 8463 ); 8464 } 8465 function A(a) { 8466 a = (function (a, b) { 8467 if ('object' !== v(a) || null === a) return a; 8468 var c = a[typeof Symbol === 'function' ? Symbol.toPrimitive : '@@toPrimitive']; 8469 if (void 0 !== c) { 8470 c = c.call(a, b || 'default'); 8471 if ('object' !== v(c)) return c; 8472 throw new TypeError('@@toPrimitive must return a primitive value.'); 8473 } 8474 return ('string' === b ? String : Number)(a); 8475 })(a, 'string'); 8476 return 'symbol' === v(a) ? a : String(a); 8477 } 8478 var B = (function () { 8479 function a(b) { 8480 (!(function (a, b) { 8481 if (!(a instanceof b)) throw new TypeError('Cannot call a class as a function'); 8482 })(this, a), 8483 z(this, '_anchorElement', void 0), 8484 z(this, '_parsedQuery', void 0), 8485 (this._anchorElement = h.createElement('a')), 8486 (this._anchorElement.href = b)); 8487 } 8488 var b, c, d; 8489 return ( 8490 (b = a), 8491 (c = [ 8492 { 8493 key: 'hash', 8494 get: function () { 8495 return this._anchorElement.hash; 8496 }, 8497 }, 8498 { 8499 key: 'host', 8500 get: function () { 8501 return this._anchorElement.host; 8502 }, 8503 }, 8504 { 8505 key: 'hostname', 8506 get: function () { 8507 return this._anchorElement.hostname; 8508 }, 8509 }, 8510 { 8511 key: 'pathname', 8512 get: function () { 8513 return this._anchorElement.pathname.replace(/(^\/?)/, '/'); 8514 }, 8515 }, 8516 { 8517 key: 'port', 8518 get: function () { 8519 return this._anchorElement.port; 8520 }, 8521 }, 8522 { 8523 key: 'protocol', 8524 get: function () { 8525 return this._anchorElement.protocol; 8526 }, 8527 }, 8528 { 8529 key: 'searchParams', 8530 get: function () { 8531 var a = this; 8532 return { 8533 get: function (b) { 8534 if (null != a._parsedQuery) return a._parsedQuery[b] || null; 8535 var c = a._anchorElement.search; 8536 if ('' === c || null == c) return ((a._parsedQuery = {}), null); 8537 c = '?' === c[0] ? c.substring(1) : c; 8538 return ( 8539 (a._parsedQuery = u()( 8540 c.split('&'), 8541 function (a, b) { 8542 b = b.split('='); 8543 return null == b || 2 !== b.length 8544 ? a 8545 : x(x({}, a), {}, z({}, decodeURIComponent(b[0]), decodeURIComponent(b[1]))); 8546 }, 8547 {}, 8548 )), 8549 a._parsedQuery[b] || null 8550 ); 8551 }, 8552 }; 8553 }, 8554 }, 8555 { 8556 key: 'toString', 8557 value: function () { 8558 return this._anchorElement.href; 8559 }, 8560 }, 8561 { 8562 key: 'toJSON', 8563 value: function () { 8564 return this._anchorElement.href; 8565 }, 8566 }, 8567 ]) && y(b.prototype, c), 8568 d && y(b, d), 8569 Object.defineProperty(b, 'prototype', { writable: !1 }), 8570 a 8571 ); 8572 })(), 8573 C = /^\s*:scope/gi; 8574 k = function a(b, c) { 8575 if ('>' === c[c.length - 1]) return []; 8576 var d = '>' === c[0]; 8577 if ((a.CAN_USE_SCOPE || !c.match(C)) && !d) return b.querySelectorAll(c); 8578 var e = c; 8579 d && (e = ':scope '.concat(c)); 8580 d = !1; 8581 b.id || ((b.id = '__fb_scoped_query_selector_' + Date.now()), (d = !0)); 8582 c = b.querySelectorAll(e.replace(C, '#' + b.id)); 8583 return (d && (b.id = ''), c); 8584 }; 8585 k.CAN_USE_SCOPE = !0; 8586 var D = h.createElement('div'); 8587 try { 8588 D.querySelectorAll(':scope *'); 8589 } catch (a) { 8590 k.CAN_USE_SCOPE = !1; 8591 } 8592 var E = k; 8593 D = c(36); 8594 var F = c.n(D); 8595 k = c(19); 8596 var H = c.n(k); 8597 D = (c(52), c(24)); 8598 var I = c.n(D); 8599 function J(a) { 8600 return ( 8601 (function (a) { 8602 if (Array.isArray(a)) return M(a); 8603 })(a) || 8604 (function (a) { 8605 if ( 8606 ('undefined' != typeof Symbol && 8607 null != a[typeof Symbol === 'function' ? Symbol.iterator : '@@iterator']) || 8608 null != a['@@iterator'] 8609 ) 8610 return Array.from(a); 8611 })(a) || 8612 L(a) || 8613 (function () { 8614 throw new TypeError( 8615 'Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.', 8616 ); 8617 })() 8618 ); 8619 } 8620 function K(a, b) { 8621 return ( 8622 (function (a) { 8623 if (Array.isArray(a)) return a; 8624 })(a) || 8625 (function (a, b) { 8626 var c = 8627 null == a 8628 ? null 8629 : ('undefined' != typeof Symbol && 8630 a[typeof Symbol === 'function' ? Symbol.iterator : '@@iterator']) || 8631 a['@@iterator']; 8632 if (null != c) { 8633 var d, 8634 e, 8635 f = [], 8636 g = !0, 8637 h = !1; 8638 try { 8639 if (((a = (c = c.call(a)).next), 0 === b)) { 8640 if (Object(c) !== c) return; 8641 g = !1; 8642 } else for (; !(g = (d = a.call(c)).done) && (f.push(d.value), f.length !== b); g = !0); 8643 } catch (a) { 8644 ((h = !0), (e = a)); 8645 } finally { 8646 try { 8647 if (!g && null != c['return'] && ((d = c['return']()), Object(d) !== d)) return; 8648 } finally { 8649 if (h) throw e; 8650 } 8651 } 8652 return f; 8653 } 8654 })(a, b) || 8655 L(a, b) || 8656 (function () { 8657 throw new TypeError(
8658 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.', 8659 ); 8660 })() 8661 ); 8662 } 8663 function L(a, b) { 8664 if (a) { 8665 if ('string' == typeof a) return M(a, b); 8666 var c = Object.prototype.toString.call(a).slice(8, -1); 8667 return ( 8668 'Object' === c && a.constructor && (c = a.constructor.name), 8669 'Map' === c || 'Set' === c 8670 ? Array.from(a) 8671 : 'Arguments' === c || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c) 8672 ? M(a, b) 8673 : void 0 8674 ); 8675 } 8676 } 8677 function M(a, b) { 8678 (null == b || b > a.length) && (b = a.length); 8679 for (var c = 0, d = new Array(b); c < b; c++) d[c] = a[c]; 8680 return d; 8681 } 8682 function N(a, b) { 8683 return O( 8684 a, 8685 n()( 8686 q()(b.split(/((?:closest|children)\([^)]+\))/), function (a) { 8687 return a.trim(); 8688 }), 8689 Boolean, 8690 ), 8691 ); 8692 } 8693 function O(a, b) { 8694 var c = function (a, b) { 8695 return b.substring(a.length, b.length - 1).trim(); 8696 }; 8697 b = q()(b, function (a) { 8698 return I()(a, 'closest(') 8699 ? { selector: c('closest(', a), type: 'closest' } 8700 : I()(a, 'children(') 8701 ? { selector: c('children(', a), type: 'children' } 8702 : { selector: a, type: 'standard' }; 8703 }); 8704 b = u()( 8705 b, 8706 function (a, b) { 8707 if ('standard' !== b.type) return [].concat(J(a), [b]); 8708 var c = a[a.length - 1]; 8709 return c && 'standard' === c.type ? ((c.selector += ' ' + b.selector), a) : [].concat(J(a), [b]); 8710 }, 8711 [], 8712 ); 8713 return u()( 8714 b, 8715 function (a, b) { 8716 return n()( 8717 F()( 8718 q()(a, function (a) { 8719 return P(a, b); 8720 }), 8721 ), 8722 Boolean, 8723 ); 8724 }, 8725 [a], 8726 ); 8727 } 8728 var P = function (a, b) { 8729 var c = b.selector; 8730 switch (b.type) { 8731 case 'children': 8732 if (null == a) return []; 8733 b = K(c.split(','), 2); 8734 var d = b[0], 8735 e = b[1]; 8736 return [ 8737 o()( 8738 n()(o()(a.childNodes), function (a) { 8739 return null != t(a) && a.matches(e); 8740 }), 8741 )[parseInt(d, 0)], 8742 ]; 8743 case 'closest': 8744 return a.parentNode ? [a.parentNode.closest(c)] : []; 8745 default: 8746 return o()(E(a, c)); 8747 } 8748 }; 8749 if ( 8750 (Element.prototype.matches || 8751 (Element.prototype.matches = 8752 Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector), 8753 !Element.prototype.closest) 8754 ) { 8755 var aa = h.documentElement; 8756 Element.prototype.closest = function (a) { 8757 var b = this; 8758 if (!aa.contains(b)) return null; 8759 do { 8760 if (b.matches(a)) return b; 8761 b = b.parentElement || b.parentNode; 8762 } while (null !== b && 1 === b.nodeType); 8763 return null; 8764 }; 8765 } 8766 var Q = ['og', 'product', 'music', 'video', 'article', 'book', 'profile', 'website', 'twitter']; 8767 function R(a) { 8768 return (R = 8769 'function' == typeof Symbol && 8770 'symbol' == G(typeof Symbol === 'function' ? Symbol.iterator : '@@iterator') 8771 ? function (a) { 8772 return G(a); 8773 } 8774 : function (a) { 8775 return a && 8776 'function' == typeof Symbol && 8777 a.constructor === Symbol && 8778 a !== (typeof Symbol === 'function' ? Symbol.prototype : '@@prototype') 8779 ? 'symbol' 8780 : G(a); 8781 })(a); 8782 } 8783 function ba(a, b) { 8784 var c = Object.keys(a); 8785 if (Object.getOwnPropertySymbols) { 8786 var d = Object.getOwnPropertySymbols(a); 8787 (b && 8788 (d = d.filter(function (b) { 8789 return Object.getOwnPropertyDescriptor(a, b).enumerable; 8790 })), 8791 c.push.apply(c, d)); 8792 } 8793 return c; 8794 } 8795 function ca(a) { 8796 for (var b = 1; b < arguments.length; b++) { 8797 var c = null != arguments[b] ? arguments[b] : {}; 8798 b % 2
8799 ? ba(Object(c), !0).forEach(function (b) { 8800 da(a, b, c[b]); 8801 }) 8802 : Object.getOwnPropertyDescriptors 8803 ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(c)) 8804 : ba(Object(c)).forEach(function (b) { 8805 Object.defineProperty(a, b, Object.getOwnPropertyDescriptor(c, b)); 8806 }); 8807 } 8808 return a; 8809 } 8810 function da(a, b, c) { 8811 return ( 8812 (b = (function (a) { 8813 a = (function (a, b) { 8814 if ('object' !== R(a) || null === a) return a; 8815 var c = a[typeof Symbol === 'function' ? Symbol.toPrimitive : '@@toPrimitive']; 8816 if (void 0 !== c) { 8817 c = c.call(a, b || 'default'); 8818 if ('object' !== R(c)) return c; 8819 throw new TypeError('@@toPrimitive must return a primitive value.'); 8820 } 8821 return ('string' === b ? String : Number)(a); 8822 })(a, 'string'); 8823 return 'symbol' === R(a) ? a : String(a); 8824 })(b)) in a 8825 ? Object.defineProperty(a, b, { value: c, enumerable: !0, configurable: !0, writable: !0 }) 8826 : (a[b] = c), 8827 a 8828 ); 8829 } 8830 var ea = function () { 8831 var a = u()( 8832 n()( 8833 q()(o()(h.querySelectorAll('meta[property]')), function (a) { 8834 var b = a.getAttribute('property'); 8835 a = a.getAttribute('content'); 8836 return 'string' == typeof b && 8837 -1 !== b.indexOf(':') && 8838 'string' == typeof a && 8839 p()(Q, b.split(':')[0]) 8840 ? { key: b, value: a.substr(0, 500) } 8841 : null; 8842 }), 8843 Boolean, 8844 ), 8845 function (a, b) { 8846 return ca(ca({}, a), {}, da({}, b.key, a[b.key] || b.value)); 8847 }, 8848 {}, 8849 ); 8850 return 'product.item' !== a['og:type'] 8851 ? null 8852 : { 8853 '@context': 'http://schema.org', 8854 '@type': 'Product', 8855 offers: { price: a['product:price:amount'], priceCurrency: a['product:price:currency'] }, 8856 productID: a['product:retailer_item_id'], 8857 }; 8858 }, 8859 fa = 'PATH', 8860 ga = 'QUERY_STRING'; 8861 function ha(a) { 8862 return ( 8863 (function (a) { 8864 if (Array.isArray(a)) return ja(a); 8865 })(a) || 8866 (function (a) { 8867 if ( 8868 ('undefined' != typeof Symbol && 8869 null != a[typeof Symbol === 'function' ? Symbol.iterator : '@@iterator']) || 8870 null != a['@@iterator'] 8871 ) 8872 return Array.from(a); 8873 })(a) || 8874 ia(a) || 8875 (function () { 8876 throw new TypeError( 8877 'Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.', 8878 ); 8879 })() 8880 ); 8881 } 8882 function ia(a, b) { 8883 if (a) { 8884 if ('string' == typeof a) return ja(a, b); 8885 var c = Object.prototype.toString.call(a).slice(8, -1); 8886 return ( 8887 'Object' === c && a.constructor && (c = a.constructor.name), 8888 'Map' === c || 'Set' === c 8889 ? Array.from(a) 8890 : 'Arguments' === c || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c) 8891 ? ja(a, b) 8892 : void 0 8893 ); 8894 } 8895 } 8896 function ja(a, b) { 8897 (null == b || b > a.length) && (b = a.length); 8898 for (var c = 0, d = new Array(b); c < b; c++) d[c] = a[c]; 8899 return d; 8900 } 8901 function ka(a, b) { 8902 a = m()(t(a)).className; 8903 b = m()(t(b)).className; 8904 a = a.split(' '); 8905 var c = b.split(' '); 8906 return a 8907 .filter(function (a) { 8908 return c.includes(a); 8909 }) 8910 .toString(); 8911 } 8912 var S = 0, 8913 la = 1, 8914 ma = 2; 8915 function na(a, b) { 8916 if ( 8917 (a && !b) || 8918 (!a && b) || 8919 void 0 === a || 8920 void 0 === b || 8921 a.nodeType !== b.nodeType || 8922 a.nodeName !== b.nodeName 8923 ) 8924 return S; 8925 a = t(a); 8926 b = t(b); 8927 if ((a && !b) || (!a && b)) return S; 8928 if (a && b) { 8929 if (a.tagName !== b.tagName) return S; 8930 if (a.className === b.className) return la; 8931 } 8932 return ma; 8933 } 8934 function oa(a, b, c, d) { 8935 var e = na(a, d.node); 8936 return e === S 8937 ? e 8938 : c > 0 && b !== d.index 8939 ? S 8940 : 1 === e 8941 ? la 8942 : 0 === d.relativeClass.length 8943 ? S 8944 : (ka(a, d.node), d.relativeClass, la); 8945 } 8946 function pa(a, b, c, d) { 8947 if (d === c.length - 1) { 8948 if (!oa(a, b, d, c[d])) return null; 8949 var e = t(a); 8950 if (e) return [e]; 8951 } 8952 if (!a || !oa(a, b, d, c[d])) return null; 8953 for (e = [], b = a.firstChild, a = 0; b; ) { 8954 var f = pa(b, a, c, d + 1); 8955 (f && e.push.apply(e, ha(f)), (b = b.nextSibling), (a += 1)); 8956 } 8957 return e; 8958 } 8959 function qa(a, b) { 8960 var c = [], 8961 d = (function (a, b) { 8962 var c = 8963 ('undefined' != typeof Symbol && 8964 a[typeof Symbol === 'function' ? Symbol.iterator : '@@iterator']) || 8965 a['@@iterator']; 8966 if (!c) { 8967 if (Array.isArray(a) || (c = ia(a)) || (b && a && 'number' == typeof a.length)) { 8968 c && (a = c); 8969 var g = 0; 8970 b = function () {}; 8971 return { 8972 s: b, 8973 n: function () { 8974 return g >= a.length ? { done: !0 } : { done: !1, value: a[g++] }; 8975 }, 8976 e: function (a) { 8977 throw a; 8978 }, 8979 f: b, 8980 }; 8981 } 8982 throw new TypeError( 8983 'Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.', 8984 ); 8985 } 8986 var d, 8987 e = !0, 8988 f = !1; 8989 return { 8990 s: function () { 8991 c = c.call(a); 8992 }, 8993 n: function () { 8994 var a = c.next(); 8995 return ((e = a.done), a); 8996 }, 8997 e: function (a) { 8998 ((f = !0), (d = a)); 8999 }, 9000 f: function () { 9001 try { 9002 e || null == c['return'] || c['return'](); 9003 } finally { 9004 if (f) throw d; 9005 } 9006 }, 9007 }; 9008 })(a); 9009 try { 9010 for (d.s(); !(a = d.n()).done; ) { 9011 a = pa(a.value, 0, b, 0);
9012 a && c.push.apply(c, ha(a)); 9013 } 9014 } catch (a) { 9015 d.e(a); 9016 } finally { 9017 d.f(); 9018 } 9019 return c; 9020 } 9021 function ra(a, b) { 9022 a = (function (a, b) { 9023 for ( 9024 var c = function (a) { 9025 var b = a.parentNode; 9026 if (!b) return -1; 9027 for (var b = b.firstChild, c = 0; b && b !== a; ) ((b = b.nextSibling), (c += 1)); 9028 return b === a ? c : -1; 9029 }, 9030 a = a, 9031 b = b, 9032 d = [], 9033 e = []; 9034 !a.isSameNode(b); 9035 9036 ) { 9037 var f = na(a, b); 9038 if (f === S) return null; 9039 var g = ''; 9040 if (f === ma && 0 === (g = ka(a, b)).length) return null; 9041 if ( 9042 (d.push({ node: a, relativeClass: g, index: c(a) }), 9043 e.push(b), 9044 (a = a.parentNode), 9045 (b = b.parentNode), 9046 !a || !b) 9047 ) 9048 return null; 9049 } 9050 return a && b && a.isSameNode(b) && d.length > 0 9051 ? { parentNode: a, node1Tree: d.reverse(), node2Tree: e.reverse() } 9052 : null; 9053 })(a, b); 9054 if (!a) return null; 9055 b = (function (a, b, c) { 9056 for (var d = [], a = a.firstChild; a; ) 9057 (a.isSameNode(b.node) || a.isSameNode(c) || !na(b.node, a) || d.push(a), (a = a.nextSibling)); 9058 return d; 9059 })(a.parentNode, a.node1Tree[0], a.node2Tree[0]); 9060 return b && 0 !== b.length ? qa(b, a.node1Tree) : null; 9061 } 9062 function sa(a) { 9063 return (sa = 9064 'function' == typeof Symbol && 9065 'symbol' == G(typeof Symbol === 'function' ? Symbol.iterator : '@@iterator') 9066 ? function (a) { 9067 return G(a); 9068 } 9069 : function (a) { 9070 return a && 9071 'function' == typeof Symbol && 9072 a.constructor === Symbol && 9073 a !== (typeof Symbol === 'function' ? Symbol.prototype : '@@prototype') 9074 ? 'symbol' 9075 : G(a); 9076 })(a); 9077 } 9078 function ta(a, b) { 9079 return ( 9080 (function (a) { 9081 if (Array.isArray(a)) return a; 9082 })(a) || 9083 (function (a, b) { 9084 var c = 9085 null == a 9086 ? null 9087 : ('undefined' != typeof Symbol && 9088 a[typeof Symbol === 'function' ? Symbol.iterator : '@@iterator']) || 9089 a['@@iterator']; 9090 if (null != c) { 9091 var d, 9092 e, 9093 f = [], 9094 g = !0, 9095 h = !1; 9096 try { 9097 if (((a = (c = c.call(a)).next), 0 === b)) { 9098 if (Object(c) !== c) return; 9099 g = !1; 9100 } else for (; !(g = (d = a.call(c)).done) && (f.push(d.value), f.length !== b); g = !0); 9101 } catch (a) { 9102 ((h = !0), (e = a)); 9103 } finally { 9104 try { 9105 if (!g && null != c['return'] && ((d = c['return']()), Object(d) !== d)) return; 9106 } finally { 9107 if (h) throw e; 9108 } 9109 } 9110 return f; 9111 } 9112 })(a, b) || 9113 (function (a, b) { 9114 if (!a) return; 9115 if ('string' == typeof a) return ua(a, b); 9116 var c = Object.prototype.toString.call(a).slice(8, -1); 9117 'Object' === c && a.constructor && (c = a.constructor.name); 9118 if ('Map' === c || 'Set' === c) return Array.from(a); 9119 if ('Arguments' === c || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)) return ua(a, b); 9120 })(a, b) || 9121 (function () { 9122 throw new TypeError(
9123 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.', 9124 ); 9125 })() 9126 ); 9127 } 9128 function ua(a, b) { 9129 (null == b || b > a.length) && (b = a.length); 9130 for (var c = 0, d = new Array(b); c < b; c++) d[c] = a[c]; 9131 return d; 9132 } 9133 function va(a, b) { 9134 var c = Object.keys(a); 9135 if (Object.getOwnPropertySymbols) { 9136 var d = Object.getOwnPropertySymbols(a); 9137 (b && 9138 (d = d.filter(function (b) { 9139 return Object.getOwnPropertyDescriptor(a, b).enumerable; 9140 })), 9141 c.push.apply(c, d)); 9142 } 9143 return c; 9144 } 9145 function wa(a) { 9146 for (var b = 1; b < arguments.length; b++) { 9147 var c = null != arguments[b] ? arguments[b] : {}; 9148 b % 2 9149 ? va(Object(c), !0).forEach(function (b) { 9150 xa(a, b, c[b]); 9151 }) 9152 : Object.getOwnPropertyDescriptors 9153 ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(c)) 9154 : va(Object(c)).forEach(function (b) { 9155 Object.defineProperty(a, b, Object.getOwnPropertyDescriptor(c, b)); 9156 }); 9157 } 9158 return a; 9159 } 9160 function xa(a, b, c) { 9161 return ( 9162 (b = (function (a) { 9163 a = (function (a, b) { 9164 if ('object' !== sa(a) || null === a) return a; 9165 var c = a[typeof Symbol === 'function' ? Symbol.toPrimitive : '@@toPrimitive']; 9166 if (void 0 !== c) { 9167 c = c.call(a, b || 'default'); 9168 if ('object' !== sa(c)) return c; 9169 throw new TypeError('@@toPrimitive must return a primitive value.'); 9170 } 9171 return ('string' === b ? String : Number)(a); 9172 })(a, 'string'); 9173 return 'symbol' === sa(a) ? a : String(a); 9174 })(b)) in a 9175 ? Object.defineProperty(a, b, { value: c, enumerable: !0, configurable: !0, writable: !0 }) 9176 : (a[b] = c), 9177 a 9178 ); 9179 } 9180 var ya = u()( 9181 [ 9182 'CONSTANT_VALUE', 9183 'CSS', 9184 'URI', 9185 'SCHEMA_DOT_ORG', 9186 'JSON_LD', 9187 'RDFA', 9188 'OPEN_GRAPH', 9189 'GTM', 9190 'META_TAG', 9191 'GLOBAL_VARIABLE', 9192 ], 9193 function (a, b, c) { 9194 return wa(wa({}, a), {}, xa({}, b, c)); 9195 }, 9196 {}, 9197 ), 9198 za = { 9199 '@context': 'http://schema.org', 9200 '@type': 'Product', 9201 additionalType: void 0, 9202 offers: { price: void 0, priceCurrency: void 0 }, 9203 productID: void 0, 9204 }, 9205 Aa = function (a, b, c) { 9206 if (null == c) return a; 9207 var d = m()(a.offers); 9208 return { 9209 '@context': 'http://schema.org', 9210 '@type': 'Product', 9211 additionalType: null != a.additionalType ? a.additionalType : 'content_type' === b ? c : void 0, 9212 offers: { 9213 price: null != d.price ? d.price : 'value' === b ? c : void 0, 9214 priceCurrency: null != d.priceCurrency ? d.priceCurrency : 'currency' === b ? c : void 0, 9215 }, 9216 productID: null != a.productID ? a.productID : 'content_ids' === b ? c : void 0, 9217 }; 9218 }; 9219 function a(a, b) { 9220 b = b.sort(function (a, b) { 9221 return ya[a.extractorType] > ya[b.extractorType] ? 1 : -1; 9222 }); 9223 return n()( 9224 F()( 9225 q()(b, function (b) { 9226 switch (b.extractorType) { 9227 case 'SCHEMA_DOT_ORG': 9228 return q()( 9229 (function (a) { 9230 for ( 9231 var b = q()(j, function (a) { 9232 return '[itemtype$="'.concat('schema.org/').concat(a, '"]'); 9233 }).join(', '), 9234 c = [], 9235 b = o()(h.querySelectorAll(b)), 9236 d = []; 9237 b.length > 0; 9238 9239 ) { 9240 var e = b.pop(); 9241 if (!p()(c, e)) { 9242 var f = { '@context': 'http://schema.org' }; 9243 d.push({ htmlElement: e, jsonLD: f }); 9244 for (e = [{ element: e, workingNode: f }]; e.length; ) { 9245 f = e.pop(); 9246 var r = f.element; 9247 f = f.workingNode; 9248 var s = m()(r.getAttribute('itemtype')); 9249 f['@type'] = s.substr(s.indexOf('schema.org/') + 'schema.org/'.length); 9250 for (s = o()(r.querySelectorAll('[itemprop]')).reverse(); s.length; ) { 9251 var g = s.pop(); 9252 if (!p()(c, g)) { 9253 c.push(g); 9254 var k = m()(g.getAttribute('itemprop')); 9255 if (g.hasAttribute('itemscope')) { 9256 var t = {}; 9257 ((f[k] = t), 9258 e.push({ element: r, workingNode: f }), 9259 e.push({ element: g, workingNode: t })); 9260 break; 9261 } 9262 f[k] = i(g); 9263 } 9264 } 9265 } 9266 } 9267 } 9268 return n()(d, function (b) { 9269 return l()(b.htmlElement, a); 9270 }); 9271 })(a), 9272 function (a) { 9273 return { extractorID: b.id, jsonLD: a.jsonLD }; 9274 }, 9275 ); 9276 case 'RDFA': 9277 return q()(r(a), function (a) { 9278 return { extractorID: b.id, jsonLD: a.jsonLD }; 9279 }); 9280 case 'OPEN_GRAPH': 9281 return { extractorID: b.id, jsonLD: ea() }; 9282 case 'CSS': 9283 var c = q()(b.extractorConfig.parameterSelectors, function (b) { 9284 return null === (b = N(a, b.selector)) || void 0 === b ? void 0 : b[0]; 9285 }); 9286 if (null == c) return null; 9287 if (2 === c.length) { 9288 var d = c[0], 9289 e = c[1]; 9290 if (null != d && null != e) { 9291 d = ra(d, e); 9292 d && c.push.apply(c, d); 9293 } 9294 } 9295 var g = b.extractorConfig.parameterSelectors[0].parameterType;
9296 e = q()(c, function (a) { 9297 a = (null == a ? void 0 : a.innerText) || (null == a ? void 0 : a.textContent); 9298 return [g, a]; 9299 }); 9300 d = q()( 9301 n()(e, function (a) { 9302 return 'totalPrice' !== ta(a, 1)[0]; 9303 }), 9304 function (a) { 9305 a = ta(a, 2); 9306 var b = a[0]; 9307 a = a[1]; 9308 return Aa(za, b, a); 9309 }, 9310 ); 9311 if ('InitiateCheckout' === b.eventType || 'Purchase' === b.eventType) { 9312 c = H()(e, function (a) { 9313 return 'totalPrice' === ta(a, 1)[0]; 9314 }); 9315 c && 9316 (d = [ 9317 { 9318 '@context': 'http://schema.org', 9319 '@type': 'ItemList', 9320 itemListElement: q()(d, function (a, b) { 9321 return { '@type': 'ListItem', item: a, position: b + 1 }; 9322 }), 9323 totalPrice: null != c[1] ? c[1] : void 0, 9324 }, 9325 ]); 9326 } 9327 return q()(d, function (a) { 9328 return { extractorID: b.id, jsonLD: a }; 9329 }); 9330 case 'CONSTANT_VALUE': 9331 e = b.extractorConfig; 9332 c = e.parameterType; 9333 d = e.value; 9334 return { extractorID: b.id, jsonLD: Aa(za, c, d) }; 9335 case 'URI': 9336 e = b.extractorConfig.parameterType; 9337 c = (function (a, b, c) { 9338 a = new B(a); 9339 switch (b) { 9340 case fa: 9341 b = n()( 9342 q()(a.pathname.split('/'), function (a) { 9343 return a.trim(); 9344 }), 9345 Boolean, 9346 ); 9347 var d = parseInt(c, 10); 9348 return d < b.length ? b[d] : null; 9349 case ga: 9350 return a.searchParams.get(c); 9351 } 9352 return null; 9353 })(f.location.href, b.extractorConfig.context, b.extractorConfig.value); 9354 return { extractorID: b.id, jsonLD: Aa(za, e, c) }; 9355 default: 9356 throw new Error('Extractor '.concat(b.extractorType, ' not mapped')); 9357 } 9358 }), 9359 ), 9360 function (a) { 9361 a = a.jsonLD; 9362 return Boolean(a); 9363 }, 9364 ); 9365 } 9366 a.EXTRACTOR_PRECEDENCE = ya; 9367 var Ba = a; 9368 function Ca(a) { 9369 switch (a.extractor_type) { 9370 case 'CSS': 9371 if (null == a.extractor_config) throw new Error('extractor_config must be set'); 9372 var b = a.extractor_config; 9373 if (b.parameter_type) throw new Error('extractor_config must be set'); 9374 return { 9375 domainURI: new B(a.domain_uri), 9376 eventType: a.event_type, 9377 extractorConfig: 9378 ((b = b), 9379 { 9380 parameterSelectors: q()(b.parameter_selectors, function (a) { 9381 return { parameterType: a.parameter_type, selector: a.selector }; 9382 }), 9383 }), 9384 extractorType: 'CSS', 9385 id: m()(a.id), 9386 ruleId: null === (b = a.event_rule) || void 0 === b ? void 0 : b.id, 9387 }; 9388 case 'CONSTANT_VALUE': 9389 if (null == a.extractor_config) throw new Error('extractor_config must be set'); 9390 b = a.extractor_config; 9391 if (b.parameter_selectors) throw new Error('extractor_config must be set'); 9392 return { 9393 domainURI: new B(a.domain_uri), 9394 eventType: a.event_type, 9395 extractorConfig: Da(b), 9396 extractorType: 'CONSTANT_VALUE', 9397 id: m()(a.id), 9398 ruleId: null === (b = a.event_rule) || void 0 === b ? void 0 : b.id, 9399 }; 9400 case 'URI': 9401 if (null == a.extractor_config) throw new Error('extractor_config must be set'); 9402 b = a.extractor_config; 9403 if (b.parameter_selectors) throw new Error('extractor_config must be set'); 9404 return { 9405 domainURI: new B(a.domain_uri), 9406 eventType: a.event_type, 9407 extractorConfig: Ea(b), 9408 extractorType: 'URI', 9409 id: m()(a.id), 9410 ruleId: null === (b = a.event_rule) || void 0 === b ? void 0 : b.id, 9411 }; 9412 default: 9413 return { 9414 domainURI: new B(a.domain_uri), 9415 eventType: a.event_type, 9416 extractorType: a.extractor_type, 9417 id: m()(a.id), 9418 ruleId: null === (b = a.event_rule) || void 0 === b ? void 0 : b.id, 9419 }; 9420 } 9421 } 9422 function Da(a) { 9423 return { parameterType: a.parameter_type, value: a.value }; 9424 } 9425 function Ea(a) { 9426 return { context: a.context, parameterType: a.parameter_type, value: a.value }; 9427 } 9428 a.EXTRACTOR_PRECEDENCE = ya; 9429 var Fa = function (a, b, c) { 9430 return 'string' != typeof a 9431 ? '' 9432 : a.length < c && 0 === b 9433 ? a 9434 : [] 9435 .concat(o()(a)) 9436 .slice(b, b + c) 9437 .join(''); 9438 }, 9439 T = function (a, b) { 9440 return Fa(a, 0, b); 9441 }, 9442 Ga = ['button', 'submit', 'input', 'li', 'option', 'progress', 'param']; 9443 function Ha(a) { 9444 var b = g(a); 9445 if (null != b && '' !== b) return T(b, 120); 9446 b = a.type; 9447 a = a.value; 9448 return null != b && p()(Ga, b) && null != a && '' !== a ? T(a, 120) : T('', 120); 9449 } 9450 var Ia = ', ', 9451 Ja = [ 9452 "input[type='button']", 9453 "input[type='image']", 9454 "input[type='submit']", 9455 'button', 9456 '[class*=btn]', 9457 '[class*=Btn]', 9458 '[class*=submit]', 9459 '[class*=Submit]', 9460 '[class*=button]', 9461 '[class*=Button]', 9462 '[role*=button]', 9463 "[href^='tel:']", 9464 "[href^='callto:']", 9465 "[href^='mailto:']", 9466 "[href^='sms:']", 9467 "[href^='skype:']", 9468 "[href^='whatsapp:']", 9469 '[id*=btn]', 9470 '[id*=Btn]', 9471 '[id*=button]', 9472 '[id*=Button]', 9473 'a', 9474 ].join(Ia), 9475 Ka = ["[href^='http://']", "[href^='https://']"].join(Ia), 9476 La = [ 9477 "[href^='tel:']", 9478 "[href^='callto:']", 9479 "[href^='sms:']", 9480 "[href^='skype:']", 9481 "[href^='whatsapp:']", 9482 ].join(Ia), 9483 Ma = Ja, 9484 Na = ["input[type='button']", "input[type='submit']", 'button', 'a'].join(Ia); 9485 function Oa(a) { 9486 var b = ''; 9487 if ('IMG' === a.tagName) return a.getAttribute('src') || ''; 9488 if (f.getComputedStyle) { 9489 var c = f.getComputedStyle(a).getPropertyValue('background-image'); 9490 if (null != c && 'none' !== c && c.length > 0) return c; 9491 } 9492 if ('INPUT' === a.tagName && 'image' === a.getAttribute('type')) { 9493 c = a.getAttribute('src'); 9494 if (null != c) return c; 9495 } 9496 c = a.getElementsByTagName('img'); 9497 if (0 !== c.length) { 9498 a = c.item(0); 9499 b = (a ? a.getAttribute('src') : null) || ''; 9500 } 9501 return b; 9502 } 9503 var Pa = ['sms:', 'mailto:', 'tel:', 'whatsapp:', 'https://wa.me/', 'skype:', 'callto:'], 9504 Qa = /[\-!$><-==&_\/\?\.,0-9:; \]\[%~\"\{\}\)\(\+\@\^\`]/g, 9505 Ra = /((([a-z])(?=[A-Z]))|(([A-Z])(?=[A-Z][a-z])))/g,
9506 Sa = /(^\S{1}(?!\S))|((\s)\S{1}(?!\S))/g, 9507 Ta = /\s+/g; 9508 function Ua(a) { 9509 return ( 9510 !!(function (a) { 9511 var b = Pa; 9512 if (!a.hasAttribute('href')) return !1; 9513 var c = a.getAttribute('href'); 9514 return ( 9515 null != c && 9516 !!H()(b, function (a) { 9517 return I()(c, a); 9518 }) 9519 ); 9520 })(a) || 9521 !!Ha(a) 9522 .replace(Qa, ' ') 9523 .replace(Ra, function (a) { 9524 return a + ' '; 9525 }) 9526 .replace(Sa, function (a) { 9527 return T(a, a.length - 1) + ' '; 9528 }) 9529 .replace(Ta, ' ') 9530 .trim() 9531 .toLowerCase() || 9532 !!Oa(a) 9533 ); 9534 } 9535 function Va(a) { 9536 if (null == a || a === h.body || !Ua(a)) return !1; 9537 a = 9538 ('function' == typeof a.getBoundingClientRect && a.getBoundingClientRect().height) || a.offsetHeight; 9539 return !isNaN(a) && a < 600 && a > 10; 9540 } 9541 function Wa(a, b) { 9542 for (var c = 0; c < b.length; c++) { 9543 var d = b[c]; 9544 ((d.enumerable = d.enumerable || !1), 9545 (d.configurable = !0), 9546 'value' in d && (d.writable = !0), 9547 Object.defineProperty(a, Xa(d.key), d)); 9548 } 9549 } 9550 function Xa(a) { 9551 a = (function (a, b) { 9552 if ('object' !== Ya(a) || null === a) return a; 9553 var c = a[typeof Symbol === 'function' ? Symbol.toPrimitive : '@@toPrimitive']; 9554 if (void 0 !== c) { 9555 c = c.call(a, b || 'default'); 9556 if ('object' !== Ya(c)) return c; 9557 throw new TypeError('@@toPrimitive must return a primitive value.'); 9558 } 9559 return ('string' === b ? String : Number)(a); 9560 })(a, 'string'); 9561 return 'symbol' === Ya(a) ? a : String(a); 9562 } 9563 function Ya(a) { 9564 return (Ya = 9565 'function' == typeof Symbol && 9566 'symbol' == G(typeof Symbol === 'function' ? Symbol.iterator : '@@iterator') 9567 ? function (a) { 9568 return G(a); 9569 } 9570 : function (a) { 9571 return a && 9572 'function' == typeof Symbol && 9573 a.constructor === Symbol && 9574 a !== (typeof Symbol === 'function' ? Symbol.prototype : '@@prototype') 9575 ? 'symbol' 9576 : G(a); 9577 })(a); 9578 } 9579 var Za = Object.prototype.toString, 9580 $a = !('addEventListener' in h); 9581 function ab(a) { 9582 return Array.isArray ? Array.isArray(a) : '[object Array]' === Za.call(a); 9583 } 9584 function bb(a) { 9585 return null != a && 'object' === Ya(a) && !1 === ab(a); 9586 } 9587 function cb(a) { 9588 return !0 === bb(a) && '[object Object]' === Object.prototype.toString.call(a); 9589 } 9590 var db = 9591 Number.isInteger || 9592 function (a) { 9593 return 'number' == typeof a && isFinite(a) && Math.floor(a) === a; 9594 }, 9595 eb = Object.prototype.hasOwnProperty, 9596 fb = !{ toString: null }.propertyIsEnumerable('toString'), 9597 gb = [ 9598 'toString', 9599 'toLocaleString', 9600 'valueOf', 9601 'hasOwnProperty', 9602 'isPrototypeOf', 9603 'propertyIsEnumerable', 9604 'constructor', 9605 ], 9606 hb = gb.length; 9607 function ib(a) { 9608 if ('object' !== Ya(a) && ('function' != typeof a || null === a)) 9609 throw new TypeError('Object.keys called on non-object'); 9610 var b = []; 9611 for (var c in a) eb.call(a, c) && b.push(c); 9612 if (fb) for (c = 0; c < hb; c++) eb.call(a, gb[c]) && b.push(gb[c]); 9613 return b; 9614 } 9615 function jb(a, b) { 9616 if (null == a) throw new TypeError(' array is null or not defined'); 9617 a = Object(a); 9618 var c = a.length >>> 0; 9619 if ('function' != typeof b) throw new TypeError(b + ' is not a function'); 9620 for (var d = new Array(c), e = 0; e < c; ) { 9621 var f; 9622 (e in a && ((f = b(a[e], e, a)), (d[e] = f)), e++); 9623 } 9624 return d; 9625 } 9626 function kb(a) { 9627 if ('function' != typeof a) throw new TypeError(); 9628 for ( 9629 var b = Object(this), c = b.length >>> 0, d = arguments.length >= 2 ? arguments[1] : void 0, e = 0; 9630 e < c; 9631 e++ 9632 )
9633 if (e in b && a.call(d, b[e], e, b)) return !0; 9634 return !1; 9635 } 9636 function lb(a) { 9637 if (null == this) throw new TypeError(); 9638 var b = Object(this), 9639 c = b.length >>> 0; 9640 if ('function' != typeof a) throw new TypeError(); 9641 for (var d = [], e = arguments.length >= 2 ? arguments[1] : void 0, f = 0; f < c; f++) 9642 if (f in b) { 9643 var g = b[f]; 9644 a.call(e, g, f, b) && d.push(g); 9645 } 9646 return d; 9647 } 9648 function mb(a, b) { 9649 try { 9650 return b(a); 9651 } catch (a) { 9652 if (a instanceof TypeError) { 9653 if (nb.test(a)) return null; 9654 if (ob.test(a)) return; 9655 } 9656 throw a; 9657 } 9658 } 9659 var nb = /^null | null$|^[^(]* null /i, 9660 ob = /^undefined | undefined$|^[^(]* undefined /i; 9661 mb['default'] = mb; 9662 k = { 9663 FBSet: (function () { 9664 function a(b) { 9665 var c, d, e; 9666 (!(function (a, b) { 9667 if (!(a instanceof b)) throw new TypeError('Cannot call a class as a function'); 9668 })(this, a), 9669 (c = this), 9670 (e = void 0), 9671 (d = Xa('items')) in c 9672 ? Object.defineProperty(c, d, { value: e, enumerable: !0, configurable: !0, writable: !0 }) 9673 : (c[d] = e), 9674 (this.items = b || [])); 9675 } 9676 var b, c, d; 9677 return ( 9678 (b = a), 9679 (c = [ 9680 { 9681 key: 'has', 9682 value: function (a) { 9683 return kb.call(this.items, function (b) { 9684 return b === a; 9685 }); 9686 }, 9687 }, 9688 { 9689 key: 'add', 9690 value: function (a) { 9691 this.items.push(a); 9692 }, 9693 }, 9694 ]) && Wa(b.prototype, c), 9695 d && Wa(b, d), 9696 Object.defineProperty(b, 'prototype', { writable: !1 }), 9697 a 9698 ); 9699 })(), 9700 castTo: function (a) { 9701 return a; 9702 }, 9703 each: function (a, b) { 9704 jb.call(this, a, b); 9705 }, 9706 filter: function (a, b) { 9707 return lb.call(a, b); 9708 }, 9709 idx: mb, 9710 isArray: ab, 9711 isEmptyObject: function (a) { 9712 return 0 === ib(a).length; 9713 }, 9714 isInstanceOf: function (a, b) { 9715 return null != b && a instanceof b; 9716 }, 9717 isInteger: db, 9718 isNumber: function (a) { 9719 return 'number' == typeof a || ('string' == typeof a && /^\d+$/.test(a)); 9720 }, 9721 isObject: bb, 9722 isPlainObject: function (a) { 9723 if (!1 === cb(a)) return !1; 9724 a = a.constructor; 9725 if ('function' != typeof a) return !1; 9726 a = a.prototype; 9727 return !1 !== cb(a) && !1 !== Object.prototype.hasOwnProperty.call(a, 'isPrototypeOf'); 9728 }, 9729 isSafeInteger: function (a) { 9730 return db(a) && a >= 0 && a <= Number.MAX_SAFE_INTEGER; 9731 }, 9732 keys: ib, 9733 listenOnce: function (a, b, c) { 9734 var d = $a ? 'on' + b : b; 9735 b = $a ? a.attachEvent : a.addEventListener; 9736 var e = $a ? a.detachEvent : a.removeEventListener; 9737 b && 9738 b.call( 9739 a, 9740 d, 9741 function b() { 9742 (e && e.call(a, d, b, !1), c()); 9743 }, 9744 !1, 9745 ); 9746 }, 9747 map: jb, 9748 reduce: function (a, b, c, d) { 9749 if (null == a) throw new TypeError(' array is null or not defined'); 9750 if ('function' != typeof b) throw new TypeError(b + ' is not a function'); 9751 var e = Object(a), 9752 f = e.length >>> 0, 9753 g = 0; 9754 if (null != c || !0 === d) d = c; 9755 else { 9756 for (; g < f && !(g in e); ) g++; 9757 if (g >
9757= f) throw new TypeError('Reduce of empty array with no initial value'); 9758 d = e[g++]; 9759 } 9760 for (; g < f; ) (g in e && (d = b(d, e[g], g, a)), g++); 9761 return d; 9762 }, 9763 some: function (a, b) { 9764 return kb.call(a, b); 9765 }, 9766 stringIncludes: function (a, b) { 9767 return null != a && null != b && a.indexOf(b) >= 0; 9768 }, 9769 stringStartsWith: function (a, b) { 9770 return null != a && null != b && 0 === a.indexOf(b); 9771 }, 9772 }; 9773 function pb(a, b) { 9774 var c = Object.keys(a); 9775 if (Object.getOwnPropertySymbols) { 9776 var d = Object.getOwnPropertySymbols(a); 9777 (b && 9778 (d = d.filter(function (b) { 9779 return Object.getOwnPropertyDescriptor(a, b).enumerable; 9780 })), 9781 c.push.apply(c, d)); 9782 } 9783 return c; 9784 } 9785 function qb(a) { 9786 for (var b = 1; b < arguments.length; b++) { 9787 var c = null != arguments[b] ? arguments[b] : {}; 9788 b % 2 9789 ? pb(Object(c), !0).forEach(function (b) { 9790 rb(a, b, c[b]); 9791 }) 9792 : Object.getOwnPropertyDescriptors 9793 ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(c)) 9794 : pb(Object(c)).forEach(function (b) { 9795 Object.defineProperty(a, b, Object.getOwnPropertyDescriptor(c, b)); 9796 }); 9797 } 9798 return a; 9799 } 9800 function rb(a, b, c) { 9801 return ( 9802 (b = ub(b)) in a 9803 ? Object.defineProperty(a, b, { value: c, enumerable: !0, configurable: !0, writable: !0 }) 9804 : (a[b] = c), 9805 a 9806 ); 9807 } 9808 function sb(a) { 9809 return (sb = 9810 'function' == typeof Symbol && 9811 'symbol' == G(typeof Symbol === 'function' ? Symbol.iterator : '@@iterator') 9812 ? function (a) { 9813 return G(a); 9814 } 9815 : function (a) { 9816 return a && 9817 'function' == typeof Symbol && 9818 a.constructor === Symbol && 9819 a !== (typeof Symbol === 'function' ? Symbol.prototype : '@@prototype') 9820 ? 'symbol' 9821 : G(a); 9822 })(a); 9823 } 9824 function tb(a, b) { 9825 for (var c = 0; c < b.length; c++) { 9826 var d = b[c]; 9827 ((d.enumerable = d.enumerable || !1), 9828 (d.configurable = !0), 9829 'value' in d && (d.writable = !0), 9830 Object.defineProperty(a, ub(d.key), d)); 9831 } 9832 } 9833 function ub(a) { 9834 a = (function (a, b) { 9835 if ('object' !== sb(a) || null === a) return a; 9836 var c = a[typeof Symbol === 'function' ? Symbol.toPrimitive : '@@toPrimitive']; 9837 if (void 0 !== c) { 9838 c = c.call(a, b || 'default'); 9839 if ('object' !== sb(c)) return c; 9840 throw new TypeError('@@toPrimitive must return a primitive value.'); 9841 } 9842 return ('string' === b ? String : Number)(a); 9843 })(a, 'string'); 9844 return 'symbol' === sb(a) ? a : String(a); 9845 } 9846 function vb(a, b) { 9847 if (!(a instanceof b)) throw new TypeError('Cannot call a class as a function'); 9848 } 9849 function wb(a, b) { 9850 if (b && ('object' === sb(b) || 'function' == typeof b)) return b; 9851 if (void 0 !== b) throw new TypeError('Derived constructors may only return object or undefined'); 9852 return (function (a) { 9853 if (void 0 === a) 9854 throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); 9855 return a; 9856 })(a); 9857 } 9858 function xb(a) { 9859 var b = 'function' == typeof Map ? new Map() : void 0; 9860 return (xb = function (a) { 9861 if (null === a || ((c = a), -1 === Function.toString.call(c).indexOf('[native code]'))) return a; 9862 var c; 9863 if ('function' != typeof a) throw new TypeError('Super expression must either be null or a function'); 9864 if (void 0 !== b) { 9865 if (b.has(a)) return b.get(a); 9866 b.set(a, d); 9867 } 9868 function d() {
9869 return yb(a, arguments, Bb(this).constructor); 9870 } 9871 return ( 9872 (d.prototype = Object.create(a.prototype, { 9873 constructor: { value: d, enumerable: !1, writable: !0, configurable: !0 }, 9874 })), 9875 Ab(d, a) 9876 ); 9877 })(a); 9878 } 9879 function yb(a, b, c) { 9880 return (yb = zb() 9881 ? Reflect.construct.bind() 9882 : function (a, b, c) { 9883 var d = [null]; 9884 d.push.apply(d, b); 9885 b = new (Function.bind.apply(a, d))(); 9886 return (c && Ab(b, c.prototype), b); 9887 }).apply(null, arguments); 9888 } 9889 function zb() { 9890 if ('undefined' == typeof Reflect || !Reflect.construct) return !1; 9891 if (Reflect.construct.sham) return !1; 9892 if ('function' == typeof Proxy) return !0; 9893 try { 9894 return (Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0); 9895 } catch (a) { 9896 return !1; 9897 } 9898 } 9899 function Ab(a, b) { 9900 return (Ab = Object.setPrototypeOf 9901 ? Object.setPrototypeOf.bind() 9902 : function (a, b) { 9903 return ((a.__proto__ = b), a); 9904 })(a, b); 9905 } 9906 function Bb(a) { 9907 return (Bb = Object.setPrototypeOf 9908 ? Object.getPrototypeOf.bind() 9909 : function (a) { 9910 return a.__proto__ || Object.getPrototypeOf(a); 9911 })(a); 9912 } 9913 var Cb = k.isSafeInteger, 9914 Db = k.reduce, 9915 U = (function (a) { 9916 !(function (a, b) { 9917 if ('function' != typeof b && null !== b) 9918 throw new TypeError('Super expression must either be null or a function'); 9919 ((a.prototype = Object.create(b && b.prototype, { 9920 constructor: { value: a, writable: !0, configurable: !0 }, 9921 })), 9922 Object.defineProperty(a, 'prototype', { writable: !1 }), 9923 b && Ab(a, b)); 9924 })(g, a); 9925 var b, 9926 c, 9927 d, 9928 e, 9929 f = 9930 ((b = g), 9931 (c = zb()), 9932 function () { 9933 var a, 9934 d = Bb(b); 9935 if (c) { 9936 var e = Bb(this).constructor; 9937 a = Reflect.construct(d, arguments, e); 9938 } else a = d.apply(this, arguments); 9939 return wb(this, a); 9940 }); 9941 function g() { 9942 var a, 9943 b = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : ''; 9944 return (vb(this, g), ((a = f.call(this, b)).name = 'PixelCoercionError'), a); 9945 } 9946 return ( 9947 (a = g), 9948 d && tb(a.prototype, d), 9949 e && tb(a, e), 9950 Object.defineProperty(a, 'prototype', { writable: !1 }), 9951 a 9952 ); 9953 })(xb(Error)); 9954 function Eb() { 9955 return function (a) { 9956 if (null == a || !Array.isArray(a)) throw new U(); 9957 return a; 9958 }; 9959 } 9960 function Fb(a, b) { 9961 try { 9962 return b(a); 9963 } catch (a) { 9964 if ('PixelCoercionError' === a.name) return null; 9965 throw a; 9966 } 9967 } 9968 function V(a, b) { 9969 return b(a); 9970 }
9971 function Gb(a) { 9972 if (!a) throw new U(); 9973 } 9974 function Hb(a) { 9975 var b = a.def, 9976 c = a.validators; 9977 return function (a) { 9978 var d = V(a, b); 9979 return ( 9980 c.forEach(function (a) { 9981 if (!a(d)) throw new U(); 9982 }), 9983 d 9984 ); 9985 }; 9986 } 9987 var Ib = /^[1-9][0-9]{0,25}$/, 9988 W = { 9989 allowNull: function (a) { 9990 return function (b) { 9991 return null == b ? null : a(b); 9992 }; 9993 }, 9994 array: Eb, 9995 arrayOf: function (a) { 9996 return function (b) { 9997 return V(b, W.array()).map(a); 9998 }; 9999 }, 10000 assert: Gb, 10001 boolean: function () { 10002 return function (a) { 10003 if ('boolean' != typeof a) throw new U(); 10004 return a; 10005 }; 10006 }, 10007 enumeration: function (a) { 10008 return function (b) { 10009 if (((c = a), Object.values(c)).includes(b)) return b; 10010 var c; 10011 throw new U(); 10012 }; 10013 }, 10014 fbid: function () { 10015 return Hb({ 10016 def: function (a) { 10017 var b = Fb(a, W.number()); 10018 return null != b ? (W.assert(Cb(b)), ''.concat(b)) : V(a, W.string()); 10019 }, 10020 validators: [ 10021 function (a) { 10022 return Ib.test(a); 10023 }, 10024 ], 10025 }); 10026 }, 10027 mapOf: function (a) { 10028 return function (b) { 10029 var c = V(b, W.object()); 10030 return Db( 10031 Object.keys(c), 10032 function (b, d) { 10033 return qb(qb({}, b), {}, rb({}, d, a(c[d]))); 10034 }, 10035 {}, 10036 ); 10037 }; 10038 }, 10039 matches: function (a) { 10040 return function (b) { 10041 b = V(b, W.string()); 10042 if (a.test(b)) return b; 10043 throw new U(); 10044 }; 10045 }, 10046 number: function () { 10047 return function (a) { 10048 if ('number' != typeof a) throw new U(); 10049 return a; 10050 }; 10051 }, 10052 object: function () { 10053 return function (a) { 10054 if ('object' !== sb(a) || Array.isArray(a) || null == a) throw new U(); 10055 return a; 10056 }; 10057 }, 10058 objectOrString: function () { 10059 return function (a) { 10060 if (('object' !== sb(a) && 'string' != typeof a) || Array.isArray(a) || null == a) throw new U(); 10061 return a; 10062 }; 10063 }, 10064 objectWithFields: function (a) { 10065 return function (b) { 10066 var c = V(b, W.object()); 10067 return Db( 10068 Object.keys(a), 10069 function (b, d) { 10070 if (null == b) return null; 10071 var e = a[d](c[d]); 10072 return qb(qb({}, b), {}, rb({}, d, e)); 10073 }, 10074 {}, 10075 ); 10076 }; 10077 }, 10078 string: function () { 10079 return function (a) { 10080 if ('string' != typeof a) throw new U(); 10081 return a; 10082 }; 10083 },
10084 stringOrNumber: function () { 10085 return function (a) { 10086 if ('string' != typeof a && 'number' != typeof a) throw new U(); 10087 return a; 10088 }; 10089 }, 10090 tuple: function (a) { 10091 return function (b) { 10092 b = V(b, Eb()); 10093 return ( 10094 Gb(b.length === a.length), 10095 b.map(function (b, c) { 10096 return V(b, a[c]); 10097 }) 10098 ); 10099 }; 10100 }, 10101 withValidation: Hb, 10102 func: function () { 10103 return function (a) { 10104 if ('function' != typeof a || null == a) throw new U(); 10105 return a; 10106 }; 10107 }, 10108 }; 10109 D = { Typed: W, coerce: Fb, enforce: V, PixelCoercionError: U }; 10110 a = D.Typed; 10111 var Jb = a.objectWithFields({ 10112 type: a.withValidation({ 10113 def: a.number(), 10114 validators: [ 10115 function (a) { 10116 return a >= 1 && a <= 3; 10117 }, 10118 ], 10119 }), 10120 conditions: a.arrayOf( 10121 a.objectWithFields({ 10122 targetType: a.withValidation({ 10123 def: a.number(), 10124 validators: [ 10125 function (a) { 10126 return a >= 1 && a <= 6; 10127 }, 10128 ], 10129 }), 10130 extractor: a.allowNull( 10131 a.withValidation({ 10132 def: a.number(), 10133 validators: [ 10134 function (a) { 10135 return a >= 1 && a <= 11; 10136 }, 10137 ], 10138 }), 10139 ), 10140 operator: a.withValidation({ 10141 def: a.number(), 10142 validators: [ 10143 function (a) { 10144 return a >= 1 && a <= 4; 10145 }, 10146 ], 10147 }), 10148 action: a.withValidation({ 10149 def: a.number(), 10150 validators: [ 10151 function (a) { 10152 return a >= 1 && a <= 4; 10153 }, 10154 ], 10155 }), 10156 value: a.allowNull(a.string()), 10157 }), 10158 ), 10159 }); 10160 function Kb(a) { 10161 var b = []; 10162 a = a; 10163 do { 10164 var c = a.indexOf('*'); 10165 c < 0 10166 ? (b.push(a), (a = '')) 10167 : 0 === c 10168 ? (b.push('*'), (a = a.slice(1))) 10169 : (b.push(a.slice(0, c)), (a = a.slice(c))); 10170 } while (a.length > 0); 10171 return b; 10172 } 10173 mb = function (a, b) { 10174 for (var a = Kb(a), b = b, c = 0; c < a.length; c++) { 10175 var d = a[c]; 10176 if ('*' !== d) { 10177 if (0 !== b.indexOf(d)) return !1; 10178 b = b.slice(d.length); 10179 } else { 10180 if (c === a.length - 1) return !0; 10181 d = a[c + 1]; 10182 if ('*' === d) continue; 10183 d = b.indexOf(d); 10184 if (d < 0) return !1; 10185 b = b.slice(d); 10186 } 10187 } 10188 return '' === b; 10189 }; 10190 function Lb(a, b) { 10191 return ( 10192 (function (a) { 10193 if (Array.isArray(a)) return a; 10194 })(a) || 10195 (function (a, b) { 10196 var c = 10197 null == a 10198 ? null 10199 : ('undefined' != typeof Symbol && 10200 a[typeof Symbol === 'function' ? Symbol.iterator : '@@iterator']) || 10201 a['@@iterator']; 10202 if (null != c) { 10203 var d, 10204 e, 10205 f = [], 10206 g = !0, 10207 h = !1; 10208 try { 10209 if (((a = (c = c.call(a)).next), 0 === b)) { 10210 if (Object(c) !== c) return; 10211 g = !1; 10212 } else for (; !(g = (d = a.call(c)).done) && (f.push(d.value), f.length !== b); g = !0); 10213 } catch (a) { 10214 ((h = !0), (e = a)); 10215 } finally { 10216 try { 10217 if (!g && null != c['return'] && ((d = c['return']()), Object(d) !== d)) return; 10218 } finally { 10219 if (h) throw e; 10220 } 10221 } 10222 return f; 10223 } 10224 })(a, b) || 10225 (function (a, b) { 10226 if (!a) return; 10227 if ('string' == typeof a) return Mb(a, b); 10228 var c = Object.prototype.toString.call(a).slice(8, -1); 10229 'Object' === c && a.constructor && (c = a.constructor.name); 10230 if ('Map' === c || 'Set' === c) return Array.from(a); 10231 if ('Arguments' === c || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)) return Mb(a, b); 10232 })(a, b) || 10233 (function () { 10234 throw new TypeError(
10235 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.', 10236 ); 10237 })() 10238 ); 10239 } 10240 function Mb(a, b) { 10241 (null == b || b > a.length) && (b = a.length); 10242 for (var c = 0, d = new Array(b); c < b; c++) d[c] = a[c]; 10243 return d; 10244 } 10245 var Nb = D.enforce, 10246 Ob = mb, 10247 Pb = Object.freeze({ CLICK: 1, LOAD: 2, BECOME_VISIBLE: 3, TRACK: 4 }), 10248 Qb = Object.freeze({ BUTTON: 1, PAGE: 2, JS_VARIABLE: 3, EVENT: 4, ELEMENT: 6 }), 10249 Rb = Object.freeze({ CONTAINS: 1, EQUALS: 2, DOMAIN_MATCHES: 3, STRING_MATCHES: 4 }), 10250 X = Object.freeze({ 10251 URL: 1, 10252 TOKENIZED_TEXT_V1: 2, 10253 TOKENIZED_TEXT_V2: 3, 10254 TEXT: 4, 10255 CLASS_NAME: 5, 10256 ELEMENT_ID: 6, 10257 EVENT_NAME: 7, 10258 DESTINATION_URL: 8, 10259 DOMAIN: 9, 10260 PAGE_TITLE: 10, 10261 IMAGE_URL: 11, 10262 }), 10263 Sb = Object.freeze({ ALL: 1, ANY: 2, NONE: 3 }); 10264 function Tb(a, b) { 10265 switch (a) { 10266 case Pb.LOAD: 10267 return 'PageView' === b.event; 10268 case Pb.CLICK: 10269 return 'SubscribedButtonClick' === b.event; 10270 case Pb.TRACK: 10271 return !0; 10272 case Pb.BECOME_VISIBLE: 10273 default: 10274 return !1; 10275 } 10276 } 10277 function Ub(a, b, c) { 10278 if (null == b) return null; 10279 switch (a) { 10280 case Qb.PAGE: 10281 return (function (a, b) { 10282 switch (a) { 10283 case X.URL: 10284 return b.resolvedLink; 10285 case X.DOMAIN: 10286 return new URL(b.resolvedLink).hostname; 10287 case X.PAGE_TITLE: 10288 if (null != b.pageFeatures) return JSON.parse(b.pageFeatures).title.toLowerCase(); 10289 break; 10290 default: 10291 return null; 10292 } 10293 })(b, c); 10294 case Qb.BUTTON: 10295 return (function (a, b) { 10296 var c; 10297 null != b.buttonText && (c = b.buttonText.toLowerCase()); 10298 var d = {}; 10299 switch ((null != b.buttonFeatures && (d = JSON.parse(b.buttonFeatures)), a)) { 10300 case X.DESTINATION_URL: 10301 return d.destination; 10302 case X.TEXT: 10303 return c; 10304 case X.TOKENIZED_TEXT_V1: 10305 return null == c ? null : Xb(c); 10306 case X.TOKENIZED_TEXT_V2: 10307 return null == c ? null : Yb(c); 10308 case X.ELEMENT_ID: 10309 return d.id; 10310 case X.CLASS_NAME: 10311 return d.classList; 10312 case X.IMAGE_URL: 10313 return d.imageUrl; 10314 default: 10315 return null; 10316 } 10317 })(b, c); 10318 case Qb.EVENT: 10319 return (function (a, b) { 10320 switch (a) { 10321 case X.EVENT_NAME: 10322 return b.event; 10323 default: 10324 return null; 10325 } 10326 })(b, c); 10327 default: 10328 return null; 10329 } 10330 } 10331 function Vb(a) { 10332 return null != a ? a.split('#')[0] : a; 10333 } 10334 function Wb(a, b) { 10335 a = a.replace(/[\-!$><-==&_\/\?\.,0-9:; \]\[%~\"\{\}\)\(\+\@\^\`]/g, ' '); 10336 var c = a.replace(/([A-Z])/g, ' $1').split(' '); 10337 if (null == c || 0 === c.length) return ''; 10338 a = Lb(c, 1)[0]; 10339 for (var d = 1; d < c.length; d++) 10340 null != c[d - 1] && 10341 null != c[d] && 10342 1 === c[d - 1].length && 10343 1 === c[d].length && 10344 c[d - 1] === c[d - 1].toUpperCase() && 10345 c[d] === c[d].toUpperCase() 10346 ? (a += c[d]) 10347 : (a += ' ' + c[d]); 10348 c = a.split(' '); 10349 if (null == c || 0 === c.length) return a; 10350 a = ''; 10351 for (d = b ? 1 : 2, b = 0; b < c.length; b++) null != c[b] && c[b].length > d && (a += c[b] + ' '); 10352 return a.replace(/\s+/g, ' '); 10353 } 10354 function Xb(a) { 10355 var b = Wb(a, !0).toLowerCase().split(' '); 10356 return b 10357 .filter(function (a, c) { 10358 return b.indexOf(a) === c; 10359 }) 10360 .join(' ') 10361 .trim(); 10362 } 10363 function Yb(a) { 10364 return Wb(a, !1).toLowerCase().trim(); 10365 } 10366 function Zb(a, b) { 10367 if (b.startsWith('*.')) { 10368 var c = b.slice(2).split('.').reverse(), 10369 d = a.split('.').reverse(); 10370 if (c.length !== d.length) return !1; 10371 for (var e = 0; e < c.length; e++) if (c[e] !== d[e]) return !1; 10372 return !0; 10373 } 10374 return a === b; 10375 }
10376 function $b(a) { 10377 try { 10378 var b = new URL(a), 10379 c = b.searchParams; 10380 return ( 10381 c['delete']('utm_source'), 10382 c['delete']('utm_medium'), 10383 c['delete']('utm_campaign'), 10384 c['delete']('utm_content'), 10385 c['delete']('utm_term'), 10386 c['delete']('utm_id'), 10387 c['delete']('utm_name'), 10388 c['delete']('fbclid'), 10389 c['delete']('fb_action_ids'), 10390 c['delete']('fb_action_types'), 10391 c['delete']('fb_source'), 10392 c['delete']('fb_aggregation_id'), 10393 c.sort(), 10394 b.origin + b.pathname + '?' + c.toString() 10395 ); 10396 } catch (b) { 10397 return a; 10398 } 10399 } 10400 function ac(a, b) { 10401 var c = arguments.length > 2 && void 0 !== arguments[2] && arguments[2], 10402 d = 10403 a === b || 10404 a.toLowerCase() === unescape(encodeURIComponent(b)).toLowerCase() || 10405 Xb(a) === b || 10406 Vb(a) === Vb(b); 10407 if (!c || d) return d; 10408 var e = b.toLowerCase(), 10409 f = a.toLowerCase(); 10410 return ( 10411 (d = 10412 (d = d || f === e) || 10413 unescape(encodeURIComponent(f)).toLowerCase() === unescape(encodeURIComponent(e)).toLowerCase()), 10414 (d = (d = (d = Xb(f) === e) || Vb(f) === Vb(e)) || $b(f) === $b(e)) 10415 ); 10416 } 10417 function bc(a, b, c) { 10418 var d = arguments.length > 3 && void 0 !== arguments[3] && arguments[3]; 10419 switch (a) { 10420 case Rb.EQUALS: 10421 return ac(b, c, d); 10422 case Rb.CONTAINS: 10423 return null != c && c.includes(b); 10424 case Rb.DOMAIN_MATCHES: 10425 return Zb(c, b); 10426 case Rb.STRING_MATCHES: 10427 return null != c && Ob(b, c); 10428 default: 10429 return !1; 10430 } 10431 } 10432 function cc(a, b) { 10433 var c = arguments.length > 2 && void 0 !== arguments[2] && arguments[2]; 10434 if (!Tb(a.action, b)) return !1; 10435 var d = Ub(a.targetType, a.extractor, b); 10436 if (null == d) return !1; 10437 var e = a.value; 10438 return ( 10439 null != e && 10440 ((a.extractor !== X.TOKENIZED_TEXT_V1 && a.extractor !== X.TOKENIZED_TEXT_V2) || 10441 (e = e.toLowerCase()), 10442 bc(a.operator, e, d, c)) 10443 ); 10444 } 10445 var dc = { 10446 isMatchESTRule: function (a, b) { 10447 var c = arguments.length > 2 && void 0 !== arguments[2] && arguments[2], 10448 d = a; 10449 'string' == typeof a && (d = JSON.parse(a)); 10450 for (var e = Nb(d, Jb), f = [], g = 0; g < e.conditions.length; g++) 10451 f.push(cc(e.conditions[g], b, c)); 10452 switch (e.type) { 10453 case Sb.ALL: 10454 return !f.includes(!1); 10455 case Sb.ANY: 10456 return f.includes(!0); 10457 case Sb.NONE: 10458 return !f.includes(!0); 10459 } 10460 return !1; 10461 }, 10462 getKeywordsStringFromTextV1: Xb, 10463 getKeywordsStringFromTextV2: Yb, 10464 domainMatches: Zb, 10465 }, 10466 ec = D.coerce; 10467 a = D.Typed; 10468 var fc = k.each, 10469 gc = k.filter, 10470 hc = k.reduce, 10471 ic = ['product', 'product_group', 'vehicle', 'automotive_model'], 10472 jc = a.objectWithFields({ 10473 '@context': a.string(),
10474 additionalType: a.allowNull(a.string()), 10475 offers: a.allowNull( 10476 a.objectWithFields({ priceCurrency: a.allowNull(a.string()), price: a.allowNull(a.string()) }), 10477 ), 10478 productID: a.allowNull(a.string()), 10479 sku: a.allowNull(a.string()), 10480 '@type': a.string(), 10481 }), 10482 kc = a.objectWithFields({ '@context': a.string(), '@type': a.string(), item: jc }), 10483 lc = a.objectWithFields({ 10484 '@context': a.string(), 10485 '@type': a.string(), 10486 itemListElement: a.array(), 10487 totalPrice: a.allowNull(a.string()), 10488 }); 10489 function mc(a) { 10490 a = ec(a, jc); 10491 if (null == a) return null; 10492 var b = 'string' == typeof a.productID ? a.productID : null, 10493 c = 'string' == typeof a.sku ? a.sku : null, 10494 d = a.offers, 10495 e = null, 10496 f = null; 10497 null != d && ((e = qc(d.price)), (f = d.priceCurrency)); 10498 d = 'string' == typeof a.additionalType && ic.includes(a.additionalType) ? a.additionalType : null; 10499 a = [b, c]; 10500 b = {}; 10501 return ( 10502 (a = gc(a, function (a) { 10503 return null != a; 10504 })).length && (b.content_ids = a), 10505 null != f && (b.currency = f), 10506 null != e && (b.value = e), 10507 null != d && (b.content_type = d), 10508 [b] 10509 ); 10510 } 10511 function nc(a) { 10512 a = ec(a, kc); 10513 return null == a ? null : pc([a.item]); 10514 } 10515 function oc(a) { 10516 a = ec(a, lc); 10517 if (null == a) return null; 10518 var b = 'string' == typeof a.totalPrice ? a.totalPrice : null; 10519 b = qc(b); 10520 a = pc(a.itemListElement); 10521 var c = null; 10522 return ( 10523 null != a && 10524 a.length > 0 && 10525 (c = hc( 10526 a, 10527 function (a, b) { 10528 b = b.value; 10529 if (null == b) return a; 10530 try { 10531 b = parseFloat(b); 10532 return null == a ? b : a + b; 10533 } catch (b) { 10534 return a; 10535 } 10536 }, 10537 null, 10538 !0, 10539 )), 10540 (a = [{ value: b }, { value: null != c ? c.toString() : null }].concat(a)) 10541 ); 10542 } 10543 function pc(a) { 10544 var b = []; 10545 return ( 10546 fc(a, function (c) { 10547 if (null != a) { 10548 var d = 'string' == typeof c['@type'] ? c['@type'] : null; 10549 if (null !== d) { 10550 var e = null; 10551 switch (d) { 10552 case 'Product': 10553 e = mc(c); 10554 break; 10555 case 'ItemList': 10556 e = oc(c); 10557 break; 10558 case 'ListItem': 10559 e = nc(c); 10560 } 10561 null != e && (b = b.concat(e)); 10562 } 10563 } 10564 }), 10565 (b = gc(b, function (a) { 10566 return null != a; 10567 })), 10568 fc(b, function (a) { 10569 fc(Object.keys(a), function (b) { 10570 var c = a[b]; 10571 (Array.isArray(c) && c.length > 0) || ('string' == typeof c && '' !== c) || delete a[b]; 10572 }); 10573 }), 10574 (b = gc(b, function (a) { 10575 return Object.keys(a).length > 0; 10576 })) 10577 ); 10578 } 10579 function qc(a) { 10580 if (null == a) return null; 10581 a = a.replace(/\\u[\dA-F]{4}/gi, function (a) { 10582 a = a.replace(/\\u/g, ''); 10583 a = parseInt(a, 16); 10584 return String.fromCharCode(a); 10585 }); 10586 if ( 10587 !rc( 10588 (a = (function (a) { 10589 a = a; 10590 if (a.length >= 3) { 10591 var b = a.substring(a.length - 3); 10592 if (/((\.)(\d)(0)|(\,)(0)(0))/.test(b)) { 10593 var c = b.charAt(0), 10594 d = b.charAt(1); 10595 b = b.charAt(2); 10596 ('0' !== d && (c += d), 10597 '0' !== b && (c += b), 10598 1 === c.length && (c = ''), 10599 (a = a.substring(0, a.length - 3) + c)); 10600 } 10601 } 10602 return a; 10603 })((a = (a = (a = a.replace(/[^\d,\.]/g, '')).replace(/(\.){2,}/g, '')).replace(/(\,){2,}/g, '')))), 10604 ) 10605 ) 10606 return null; 10607 var b = (function (a) { 10608 a = a; 10609 if (null == a) return null; 10610 var b = (function (a) { 10611 a = a.replace(/\,/g, ''); 10612 return tc(sc(a), !1); 10613 })(a); 10614 a = (function (a) { 10615 a = a.replace(/\./g, ''); 10616 return tc(sc(a.replace(/\,/g, '.')), !0); 10617 })(a); 10618 if (null == b || null == a) return null != b ? b : null != a ? a : null; 10619 var c = a.length; 10620 c > 0 && '0' !== a.charAt(c - 1) && (c -= 1); 10621 return b.length >= c ? b : a; 10622 })(a); 10623 return null == b ? null : rc((a = b)) ? a : null; 10624 } 10625 function rc(a) { 10626 return /\d/.test(a); 10627 } 10628 function sc(a) { 10629 a = a; 10630 var b = a.indexOf('.'); 10631 return b < 0 ? a : (a = a.substring(0, b + 1) + a.substring(b + 1).replace(/\./g, '')); 10632 } 10633 function tc(a, b) { 10634 try { 10635 a = parseFloat(a); 10636 if ('number' != typeof (c = a) || Number.isNaN(c)) return null; 10637 c = b ? 3 : 2; 10638 return parseFloat(a.toFixed(c)).toString(); 10639 } catch (a) { 10640 return null; 10641 } 10642 var c; 10643 } 10644 var uc = { 10645 genCustomData: pc, 10646 reduceCustomData: function (a) { 10647 if (0 === a.length) return {}; 10648 var b = hc( 10649 a, 10650 function (a, b) { 10651 return ( 10652 fc(Object.keys(b), function (c) { 10653 var d = b[c], 10654 e = a[c]; 10655 if (null == e) a[c] = d; 10656 else if (Array.isArray(e)) { 10657 d = Array.isArray(d) ? d : [d]; 10658 a[c] = e.concat(d); 10659 } 10660 }), 10661 a 10662 ); 10663 }, 10664 {}, 10665 ); 10666 return ( 10667 fc(Object.keys(b), function (a) { 10668 (b[a], null == b[a] && delete b[a]); 10669 }), 10670 b 10671 ); 10672 }, 10673 getProductData: mc, 10674 getItemListData: oc, 10675 getListItemData: nc, 10676 genNormalizePrice: qc, 10677 }, 10678 vc = function (a, b) { 10679 var c = a.id, 10680 d = a.tagName, 10681 e = g(a); 10682 d = d.toLowerCase(); 10683 var f = a.className, 10684 h = a.querySelectorAll(Ja).length, 10685 i = null; 10686 ('A' === a.tagName && a instanceof HTMLAnchorElement && a.href 10687 ? (i = a.href) 10688 : null != b && b instanceof HTMLFormElement && b.action && (i = b.action), 10689 'string' != typeof i && (i = '')); 10690 b = { 10691 classList: f, 10692 destination: i, 10693 id: c, 10694 imageUrl: Oa(a), 10695 innerText: e || '', 10696 numChildButtons: h, 10697 tag: d, 10698 type: a.getAttribute('type'), 10699 }; 10700 return ( 10701 (a instanceof HTMLInputElement || 10702 a instanceof HTMLSelectElement || 10703 a instanceof HTMLTextAreaElement || 10704 a instanceof HTMLButtonElement) && 10705 ((b.name = a.name), (b.value = a.value)), 10706 a instanceof HTMLAnchorElement && (b.name = a.name), 10707 b 10708 ); 10709 }, 10710 wc = function () { 10711 var a = h.querySelector('title'); 10712 return { title: T(a && a.text, 500) }; 10713 }, 10714 xc = function (a, b) { 10715 var c = a; 10716 c = 10717 a.matches || 10718 c.matchesSelector || 10719 c.mozMatchesSelector || 10720 c.msMatchesSelector || 10721 c.oMatchesSelector || 10722 c.webkitMatchesSelector || 10723 null; 10724 return null !== c && c.bind(a)(b); 10725 }, 10726 yc = function (a) { 10727 if (a instanceof HTMLInputElement) return a.form; 10728 if (xc(a, La)) return null; 10729 for (a = t(a); 'FORM' !== a.nodeName; ) { 10730 var b = t(a.parentElement); 10731 if (null == b) return null; 10732 a = b; 10733 } 10734 return a; 10735 }, 10736 zc = function (a) { 10737 return Ha(a).substring(0, 200); 10738 }, 10739 Ac = function (a) { 10740 if ( 10741 null != f.FacebookIWL && 10742 null != f.FacebookIWL.getIWLRoot && 10743 'function' == typeof f.FacebookIWL.getIWLRoot 10744 ) { 10745 var b = f.FacebookIWL.getIWLRoot(); 10746 return b && b.contains(a); 10747 } 10748 return !1; 10749 }, 10750 Bc = 'Outbound', 10751 Cc = 'Download', 10752 Dc = [ 10753 '.pdf', 10754 '.docx', 10755 '.doc', 10756 '.txt', 10757 '.jpg', 10758 '.jpeg', 10759 '.png', 10760 '.gif', 10761 '.mp3', 10762 '.wav', 10763 '.ogg', 10764 '.zip', 10765 '.rar', 10766 '.7z', 10767 '.exe', 10768 '.msi', 10769 '.xlsx', 10770 '.xls', 10771 '.pptx', 10772 '.ppt', 10773 ], 10774 Ec = function (a) { 10775 var b = [], 10776 c = f.location.hostname, 10777 d = a.getAttribute('href'); 10778 return ( 10779 null !== d && 10780 '' !== d && 10781 'string' == typeof d && 10782 (d.startsWith('http://') || d.startsWith('https://')) && 10783 (new URL(d).host !== c && b.push(Bc), 10784 Dc.some(function (a) { 10785 return d.endsWith(a); 10786 }) && b.push(Cc)), 10787 b 10788 ); 10789 }, 10790 Fc = k 10791 .filter(Ja.split(Ia), function (a) { 10792 return 'a' !== a; 10793 }) 10794 .join(Ia), 10795 Gc = function a(b, c, d) { 10796 if (null == b || !Va(b)) return null; 10797 if (xc(b, c ? Ja : Fc)) return b; 10798 if (d && xc(b, Ka)) { 10799 var e = Ec(b); 10800 if (null != e && e.length > 0) return b; 10801 } 10802 e = t(b.parentNode); 10803 return null != e ? a(e, c, d) : null; 10804 }, 10805 Hc = c(76); 10806 function Ic(a) { 10807 return (Ic = 10808 'function' == typeof Symbol && 10809 'symbol' == G(typeof Symbol === 'function' ? Symbol.iterator : '@@iterator') 10810 ? function (a) { 10811 return G(a); 10812 } 10813 : function (a) { 10814 return a && 10815 'function' == typeof Symbol && 10816 a.constructor === Symbol && 10817 a !== (typeof Symbol === 'function' ? Symbol.prototype : '@@prototype') 10818 ? 'symbol' 10819 : G(a); 10820 })(a); 10821 }
10822 function Jc(a) { 10823 return ( 10824 (function (a) { 10825 if (Array.isArray(a)) return Kc(a); 10826 })(a) || 10827 (function (a) { 10828 if ( 10829 ('undefined' != typeof Symbol && 10830 null != a[typeof Symbol === 'function' ? Symbol.iterator : '@@iterator']) || 10831 null != a['@@iterator'] 10832 ) 10833 return Array.from(a); 10834 })(a) || 10835 (function (a, b) { 10836 if (!a) return; 10837 if ('string' == typeof a) return Kc(a, b); 10838 var c = Object.prototype.toString.call(a).slice(8, -1); 10839 'Object' === c && a.constructor && (c = a.constructor.name); 10840 if ('Map' === c || 'Set' === c) return Array.from(a); 10841 if ('Arguments' === c || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)) return Kc(a, b); 10842 })(a) || 10843 (function () { 10844 throw new TypeError( 10845 'Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.', 10846 ); 10847 })() 10848 ); 10849 } 10850 function Kc(a, b) { 10851 (null == b || b > a.length) && (b = a.length); 10852 for (var c = 0, d = new Array(b); c < b; c++) d[c] = a[c]; 10853 return d; 10854 } 10855 function Lc(a, b) { 10856 var c = Object.keys(a); 10857 if (Object.getOwnPropertySymbols) { 10858 var d = Object.getOwnPropertySymbols(a); 10859 (b && 10860 (d = d.filter(function (b) { 10861 return Object.getOwnPropertyDescriptor(a, b).enumerable; 10862 })), 10863 c.push.apply(c, d)); 10864 } 10865 return c; 10866 } 10867 function Mc(a, b, c) { 10868 return ( 10869 (b = (function (a) { 10870 a = (function (a, b) { 10871 if ('object' !== Ic(a) || null === a) return a; 10872 var c = a[typeof Symbol === 'function' ? Symbol.toPrimitive : '@@toPrimitive']; 10873 if (void 0 !== c) { 10874 c = c.call(a, b || 'default'); 10875 if ('object' !== Ic(c)) return c; 10876 throw new TypeError('@@toPrimitive must return a primitive value.'); 10877 } 10878 return ('string' === b ? String : Number)(a); 10879 })(a, 'string'); 10880 return 'symbol' === Ic(a) ? a : String(a); 10881 })(b)) in a 10882 ? Object.defineProperty(a, b, { value: c, enumerable: !0, configurable: !0, writable: !0 }) 10883 : (a[b] = c), 10884 a 10885 ); 10886 } 10887 var Nc = k.each, 10888 Oc = k.filter, 10889 Pc = k.FBSet, 10890 Qc = ['og:image'], 10891 Rc = [{ property: 'image', type: 'Product' }], 10892 Y = ['gtin', 'gtin8', 'gtin12', 'gtin13', 'gtin14', 'isbn'], 10893 Sc = ['product', 'https://schema.org/product', 'http://schema.org/product'], 10894 Tc = ['offer', 'https://schema.org/offer', 'http://schema.org/offer'], 10895 Uc = ['aggregateoffer', 'https://schema.org/aggregateoffer', 'http://schema.org/aggregateoffer'], 10896 Vc = ['aggregaterating', 'https://schema.org/aggregaterating', 'http://schema.org/aggregaterating'], 10897 Wc = ['mpn'], 10898 Xc = ['name'], 10899 Yc = ['description'], 10900 Zc = ['aggregaterating'], 10901 $c = ['availability'], 10902 ad = ['price', 'lowprice'], 10903 bd = ['pricecurrency'], 10904 cd = ['sku', 'productid', '@id'], 10905 dd = ['offers', 'offer'], 10906 ed = ['pricespecification']; 10907 function fd(a) { 10908 return ( 10909 null != 10910 Oc(Qc, function (b) { 10911 return b === a; 10912 })[0] 10913 ); 10914 } 10915 function gd(a, b) { 10916 return ( 10917 null != 10918 Oc(Rc, function (c) { 10919 return ( 10920 (a === 'https://schema.org/'.concat(c.type) || a === 'http://schema.org/'.concat(c.type)) && 10921 c.property === b 10922 ); 10923 })[0] 10924 ); 10925 } 10926 function hd(a) { 10927 return 0 === Object.keys(a).length; 10928 } 10929 function id(a) { 10930 for ( 10931 var b = { automaticParameters: {}
10931, productID: null, productUrl: null, productContent: {} }, c = 0; 10932 c < a.length; 10933 c++ 10934 ) { 10935 var d = a[c]; 10936 ((b.automaticParameters = jd(b.automaticParameters, d.automaticParameters)), 10937 (b.productContent = kd(b.productContent, d.productContent)), 10938 null != d.productID && null == b.productID && (b.productID = d.productID), 10939 null != d.productUrl && null == b.productUrl && (b.productUrl = d.productUrl)); 10940 } 10941 return b; 10942 } 10943 function jd(a, b) { 10944 return ( 10945 null != b.currency && (a.currency = b.currency), 10946 null != b.contents && 10947 Array.isArray(b.contents) && 10948 (null == a.contents ? (a.contents = b.contents) : (a.contents = a.contents.concat(b.contents))), 10949 a 10950 ); 10951 } 10952 function kd(a, b) { 10953 return null == a 10954 ? b 10955 : (null == b || 10956 (null != b.name && (Array.isArray(a.name) || (a.name = []), (a.name = a.name.concat(b.name))), 10957 null != b.description && 10958 (Array.isArray(a.description) || (a.description = []), 10959 (a.description = a.description.concat(b.description))), 10960 null != b.aggregate_rating && 10961 (Array.isArray(a.aggregate_rating) || (a.aggregate_rating = []), 10962 (a.aggregate_rating = a.aggregate_rating.concat(b.aggregate_rating)))), 10963 a); 10964 } 10965 function ld(a, b) { 10966 a = a.getAttribute(b); 10967 return null == a || 'string' != typeof a ? '' : a; 10968 } 10969 function md(a, b) { 10970 var c = []; 10971 return ( 10972 b.forEach(function (b) { 10973 if (null != b) { 10974 var d = (function (a) { 10975 for (var b = 1; b < arguments.length; b++) { 10976 var c = null != arguments[b] ? arguments[b] : {}; 10977 b % 2 10978 ? Lc(Object(c), !0).forEach(function (b) { 10979 Mc(a, b, c[b]); 10980 }) 10981 : Object.getOwnPropertyDescriptors 10982 ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(c)) 10983 : Lc(Object(c)).forEach(function (b) { 10984 Object.defineProperty(a, b, Object.getOwnPropertyDescriptor(c, b)); 10985 }); 10986 } 10987 return a; 10988 })({}, a); 10989 ((d.id = b), c.push(d)); 10990 } 10991 }), 10992 0 !== c.length || hd(a) || c.push(a), 10993 c 10994 ); 10995 }
10996 function nd() { 10997 var a = h.querySelectorAll('[itemscope]'); 10998 if (0 === a.length) return {}; 10999 a = Oc(a, function (a) { 11000 return Sc.includes(ld(a, 'itemtype').toLowerCase()); 11001 }); 11002 if (0 === a.length) return {}; 11003 var b = {}; 11004 return ( 11005 a.forEach(function (a) { 11006 b = jd( 11007 b, 11008 (function (a) { 11009 var b = null, 11010 c = null, 11011 d = null, 11012 e = null, 11013 f = [ 11014 { 11015 itempropsLowerCase: ['price'], 11016 property: 'item_price', 11017 apply: function (a) { 11018 return Ed(a); 11019 }, 11020 getDefualt: function () { 11021 return null; 11022 }, 11023 setDefault: function (a) {}, 11024 }, 11025 { 11026 itempropsLowerCase: ['availability'], 11027 property: 'availability', 11028 apply: function (a) { 11029 return Jd(a); 11030 }, 11031 getDefualt: function () { 11032 return null; 11033 }, 11034 setDefault: function (a) {}, 11035 }, 11036 { 11037 itempropsLowerCase: ['mpn'], 11038 property: 'mpn', 11039 apply: function (a) { 11040 return a; 11041 }, 11042 getDefualt: function () { 11043 return c; 11044 }, 11045 setDefault: function (a) { 11046 c = a; 11047 }, 11048 }, 11049 { 11050 itempropsLowerCase: Y, 11051 property: 'gtin', 11052 apply: function (a) { 11053 return a; 11054 }, 11055 getDefualt: function () { 11056 return d; 11057 }, 11058 setDefault: function (a) { 11059 d = a; 11060 }, 11061 }, 11062 { 11063 itempropsLowerCase: ['productid', 'sku', 'product_id'], 11064 property: 'id', 11065 apply: function (a) { 11066 return a; 11067 }, 11068 getDefualt: function () { 11069 return b; 11070 }, 11071 setDefault: function (a) { 11072 b = a; 11073 }, 11074 }, 11075 { 11076 itempropsLowerCase: ['pricecurrency'], 11077 property: 'currency', 11078 apply: function (a) { 11079 return null; 11080 }, 11081 getDefualt: function () { 11082 return e; 11083 }, 11084 setDefault: function (a) { 11085 e = a; 11086 }, 11087 }, 11088 ]; 11089 a.querySelectorAll('[itemprop]').forEach(function (a) { 11090 var b = a.getAttribute('itemprop'); 11091 if ('string' == typeof b && '' !== b) { 11092 var c = i(a); 11093 null != c && 11094 '' !== c && 11095 f.forEach(function (a) { 11096 var d = a.setDefault, 11097 e = a.itempropsLowerCase; 11098 null == a.getDefualt() && e.includes(b.toLowerCase()) && d(c); 11099 }); 11100 } 11101 }); 11102 a = Oc(a.querySelectorAll('[itemscope]'), function (a) { 11103 return Tc.includes(ld(a, 'itemtype').toLowerCase()); 11104 }); 11105 var g = [];
11106 (a.forEach(function (a) { 11107 var b = {}; 11108 (a.querySelectorAll('[itemprop]').forEach(function (a) { 11109 var c = a.getAttribute('itemprop'); 11110 if ('string' == typeof c && '' !== c) { 11111 var d = i(a); 11112 null != d && 11113 '' !== d && 11114 f.forEach(function (a) { 11115 var e = a.apply, 11116 f = a.property; 11117 if (a.itempropsLowerCase.includes(c.toLowerCase())) { 11118 a = e(d); 11119 Z(b, f, a); 11120 } 11121 }); 11122 } 11123 }), 11124 g.push(b)); 11125 }), 11126 g.forEach(function (a) { 11127 (Z(a, 'mpn', a.mpn ? a.mpn : c), 11128 Z(a, 'gtin', a.gtin ? a.gtin : d), 11129 Z(a, 'id', a.id ? a.id : b)); 11130 })); 11131 a = { currency: e }; 11132 return (Dd(a, !0, g), a); 11133 })(a), 11134 ); 11135 }), 11136 b 11137 ); 11138 } 11139 function od() { 11140 var a = arguments.length > 0 && void 0 !== arguments[0] && arguments[0], 11141 b = arguments.length > 2 && void 0 !== arguments[2] && arguments[2], 11142 c = h.querySelectorAll('[itemscope]'), 11143 d = [], 11144 e = pd(c), 11145 f = {}, 11146 g = { automaticParameters: {}, productID: null, productUrl: null, productContent: {} }, 11147 i = a ? nd() : {}, 11148 j = qd({ 11149 scopes: c, 11150 seenProperties: e, 11151 scopeSchemas: d, 11152 productMetadata: g, 11153 contentData: f, 11154 includeAutomaticParameters: a, 11155 includeProductContent: b, 11156 }), 11157 k = j.localProductID, 11158 m = j.SKU; 11159 (td(g, k, m), 11160 null == i.contents && (i.contents = []), 11161 i.contents.push(f), 11162 Dd(g.automaticParameters, a, i.contents)); 11163 var l = ud(d); 11164 return { extractedProperties: l, productMetadata: g }; 11165 } 11166 function pd(a) { 11167 for (var b = new Pc(), c = 0; c < a.length; c++) b.add(a[c]); 11168 return b; 11169 } 11170 function qd(a) { 11171 for ( 11172 var b = a.scopes, 11173 c = a.seenProperties, 11174 d = a.scopeSchemas, 11175 e = a.productMetadata, 11176 f = a.contentData, 11177 g = a.includeAutomaticParameters, 11178 a = a.includeProductContent, 11179 h = null, 11180 o = null, 11181 j = b.length - 1; 11182 j >= 0; 11183 j-- 11184 ) { 11185 var p = b[j], 11186 k = p.getAttribute('itemtype'); 11187 if ('string' == typeof k && '' !== k) { 11188 for (var q = {}, l = p.querySelectorAll('[itemprop]'), r = 0; r < l.length; r++) { 11189 var m = l[r]; 11190 if (!c.has(m)) { 11191 c.add(m); 11192 var s = m.getAttribute('itemprop'); 11193 if ('string' == typeof s && '' !== s) { 11194 m = i(m); 11195 if (null != m && '' !== m) { 11196 var n = q[s]; 11197 null != n && gd(k, s) 11198 ? Array.isArray(n) 11199 ? q[s].push(m) 11200 : (q[s] = [n, m]) 11201 : (null == e.productID && ('productID' === s ? (h = m) : 'sku' === s && (o = m)), 11202 null == e.productUrl && 'url' === s && (e.productUrl = m), 11203 a && rd(e, k, s, m), 11204 g && sd(f, e, s, m),
11205 (q[s] = m)); 11206 } 11207 } 11208 } 11209 } 11210 d.unshift({ 11211 schema: { 11212 dimensions: { h: p.clientHeight, w: p.clientWidth }, 11213 properties: q, 11214 subscopes: [], 11215 type: k, 11216 }, 11217 scope: p, 11218 }); 11219 } 11220 } 11221 return { localProductID: h, SKU: o }; 11222 } 11223 function rd(a, b, c, d) { 11224 if ( 11225 (Sc.includes(b.toLowerCase()) && 11226 'name' === c && 11227 (null == a.productContent.name && (a.productContent.name = []), a.productContent.name.push(d)), 11228 Sc.includes(b.toLowerCase()) && 11229 'description' === c && 11230 (null == a.productContent.description && (a.productContent.description = []), 11231 a.productContent.description.push(d)), 11232 Vc.includes(b.toLowerCase())) 11233 ) 11234 if ( 11235 (null == a.productContent.aggregate_rating && (a.productContent.aggregate_rating = []), 11236 'ratingValue' === c) 11237 ) 11238 a.productContent.aggregate_rating.push({ ratingValue: d }); 11239 else if ('reviewCount' === c) { 11240 b = a.productContent.aggregate_rating.at(-1); 11241 b && !b.reviewCount 11242 ? (b.reviewCount = d) 11243 : a.productContent.aggregate_rating.push({ reviewCount: d }); 11244 } else if ('bestRating' === c) { 11245 b = a.productContent.aggregate_rating.at(-1); 11246 b && !b.bestRating ? (b.bestRating = d) : a.productContent.aggregate_rating.push({ bestRating: d }); 11247 } else if ('worstRating' === c) { 11248 b = a.productContent.aggregate_rating.at(-1); 11249 b && !b.worstRating 11250 ? (b.worstRating = d) 11251 : a.productContent.aggregate_rating.push({ worstRating: d }); 11252 } 11253 } 11254 function sd(a, b, c, d) { 11255 (null == b.automaticParameters.currency && 11256 'priceCurrency' === c && 11257 (b.automaticParameters.currency = d), 11258 null != a.id || ('productID' !== c && 'sku' !== c) || (a.id = d), 11259 null == a.mpn && 'mpn' === c && (a.mpn = d), 11260 null == a.gtin && Y.includes(c) && (a.gtin = d), 11261 null == a.item_price && 'price' === c && Z(a, 'item_price', Ed(d)), 11262 null == a.availability && 'availability' === c && (a.availability = Jd(d))); 11263 } 11264 function td(a, b, c) { 11265 null != b ? (a.productID = b) : null != c && (a.productID = c); 11266 } 11267 function ud(a) { 11268 for (var b = [], c = [], d = 0; d < a.length; d++) { 11269 for (var e = a[d], f = e.scope, e = e.schema, g = c.length - 1; g >= 0; g--) { 11270 if (c[g].scope.contains(f)) { 11271 c[g].schema.subscopes.push(e); 11272 break; 11273 } 11274 c.pop(); 11275 } 11276 (0 === c.length && b.push(e), c.push({ schema: e, scope: f })); 11277 } 11278 return b; 11279 } 11280 function vd(a, b) { 11281 if (null == a) return { content: {}, currency: null }; 11282 var c = {}, 11283 d = (function (a) { 11284 var b = { price: null, currency: null }; 11285 if (null == a) return b; 11286 ((b.price = Ed($(a, ad))), (b.currency = $(a, bd))); 11287 a = (function (a) { 11288 var b = { price: null, currency: null }; 11289 if (null == a) return b; 11290 if (!Array.isArray(a)) return ((b.price = Ed($(a, ad))), (b.currency = $(a, bd)), b); 11291 return 0 === a.length 11292 ? b 11293 : (Nc(a, function (a) { 11294 (null != a.priceCurrency && (b.currency = $(a, bd)), 11295 (b.price = (function (a, b) { 11296 if (null == a) return b; 11297 return null == b ? a : a > b ? b : a; 11298 })(Ed($(a, ad)), b.price))); 11299 }), 11300 b); 11301 })($(a, ed)); 11302 null == b.price && (b.price = a.price); 11303 null == b.currency && (b.currency = a.currency); 11304 return b; 11305 })(a), 11306 e = $(a, Wc, b.mpn), 11307 f = $(a, Y, b.gtin); 11308 return ( 11309 Z(c, 'mpn', e), 11310 Z(c, 'gtin', f), 11311 Z(c, 'item_price', d.price), 11312 Z(c, 'availability', Jd($(a, $c))), 11313 { 11314 content: md( 11315 c, 11316 (function (a, b) { 11317 var c = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : null, 11318 d = []; 11319 c && d.push(c); 11320 if ('object' !== Ic(a)) return d; 11321 var e = []; 11322 return ( 11323 Nc(Object.keys(a), function (c) { 11324 b.includes(c.toLowerCase()) && a[c] && e.push(a[c]); 11325 }), 11326 e.length > 0 ? e : d 11327 ); 11328 })(a, cd, b.id), 11329 ), 11330 currency: d.currency, 11331 } 11332 ); 11333 } 11334 function wd(a, b) { 11335 if (null != b) { 11336 for (var c = [], d = null, e = 0; e < Y.length; e++) { 11337 var f = $(a, [Y[e]]); 11338 null != f && (null == d && ((d = f), c.push(Y[e])), d !== f && c.push(Y[e])); 11339 } 11340 c.length > 1 && b('Multiple GTIN values found in offer: ' + JSON.stringify(c), 'json_ld'); 11341 } 11342 } 11343 function xd() { 11344 for ( 11345 var a = arguments.length > 0 && void 0 !== arguments[0] && arguments[0], 11346 b = arguments.length > 2 ? arguments[2] : void 0, 11347 c = arguments.length > 3 && void 0 !== arguments[3] && arguments[3], 11348 d = { automaticParameters: {}
11348, productID: null, productUrl: null, productContent: {} }, 11349 e = [], 11350 f = [], 11351 g = h.querySelectorAll('script[type="application/ld+json"]'), 11352 i = 0, 11353 j = [], 11354 k = 0; 11355 k < g.length; 11356 k++ 11357 ) { 11358 var q = g[k], 11359 l = q.innerText; 11360 if (null != l && '' !== l) 11361 try { 11362 if ((i += l.length) > 12e4) 11363 return ( 11364 Dd(d.automaticParameters, a, j), 11365 { extractedProperties: e, invalidInnerTexts: f, productMetadata: d } 11366 ); 11367 for (var r = yd(l), m = 0; m < r.length; m++) { 11368 var s = r[m]; 11369 (Bd(r, $(s, ['mainentity'])), Bd(r, $(s, ['@graph'])), Bd(r, $(s, ['hasvariant']))); 11370 var n = {}, 11371 t = zd({ 11372 json: s, 11373 productMetadata: d, 11374 contentData: n, 11375 includeAutomaticParameters: a, 11376 includeProductContent: c, 11377 logInfo: b, 11378 }), 11379 o = t.isTypeProduct, 11380 u = t.offers; 11381 if ((null == d.productUrl || o) && null != u) { 11382 var p = Ad({ 11383 offers: u, 11384 productMetadata: d, 11385 contentData: n, 11386 includeAutomaticParameters: a, 11387 logInfo: b, 11388 }); 11389 j = j.concat(p); 11390 } 11391 e.push(s); 11392 } 11393 } catch (a) { 11394 f.push(l); 11395 } 11396 } 11397 return ( 11398 Dd(d.automaticParameters, a, j), 11399 { extractedProperties: e, invalidInnerTexts: f, productMetadata: d } 11400 ); 11401 } 11402 function yd(a) { 11403 var b = null; 11404 return ((b = Md(a)), (b = JSON.parse(b.replace(/[\n\r\t]+/g, ' '))), Array.isArray(b) || (b = [b]), b); 11405 } 11406 function zd(a) { 11407 var b = a.json, 11408 c = a.productMetadata, 11409 d = a.contentData, 11410 e = a.includeAutomaticParameters, 11411 f = a.includeProductContent; 11412 a = a.logInfo; 11413 var g = Cd(b); 11414 g = Sc.includes(g); 11415 if (g) { 11416 var h = $(b, cd); 11417 if (((null != c.productID && '' !== c.productID) || (c.productID = h), f)) { 11418 f = $(b, Xc); 11419 null != f && 11420 (null == c.productContent.name && (c.productContent.name = []), c.productContent.name.push(f)); 11421 f = $(b, Yc); 11422 null != f && 11423 (null == c.productContent.description && (c.productContent.description = []), 11424 c.productContent.description.push(f)); 11425 f = $(b, Zc); 11426 null != f && 11427 (null == c.productContent.aggregate_rating && (c.productContent.aggregate_rating = []), 11428 c.productContent.aggregate_rating.push(f)); 11429 } 11430 (e && (Z(d, 'id', h), Z(d, 'mpn', $(b, Wc)), wd(b, a), Z(d, 'gtin', $(b, Y))), 11431 (null != c.productUrl && '' !== c.productUrl) || !b.url || (c.productUrl = b.url)); 11432 } 11433 return { isTypeProduct: g, offers: $(b, dd) }; 11434 } 11435 function Ad(a) { 11436 var b = a.offers, 11437 c = a.productMetadata, 11438 d = a.contentData, 11439 e = a.includeAutomaticParameters, 11440 f = a.logInfo, 11441 g = []; 11442 if (Array.isArray(b) && b.length > 0) 11443 Nc(b, function (a) { 11444 if ((null == c.productUrl && a.url && (c.productUrl = a.url), e)) { 11445 var b = vd(a, d); 11446 (wd(a, f), 11447 null == c.automaticParameters.currency && (c.automaticParameters.currency = b.currency), 11448 (g = g.concat(b.content))); 11449 } 11450 }); 11451 else { 11452 a = Cd(b); 11453 var h = Tc.includes(a); 11454 a = Uc.includes(a); 11455 if ((null == c.productUrl && h && b.url && (c.productUrl = b.url), (h || a) && e)) { 11456 h = vd(b, d); 11457 (wd(b, f), 11458 null == c.automaticParameters.currency && (c.automaticParameters.currency = h.currency), 11459 (g = g.concat(h.content))); 11460 } 11461 } 11462 return g; 11463 } 11464 function Bd(a, b) { 11465 if (null != b) { 11466 var c = b; 11467 (Array.isArray(b) || (c = [b]), a.push.apply(a, Jc(c))); 11468 } 11469 } 11470 function Cd(a) { 11471 return null == a 11472 ? '' 11473 : 'string' == typeof a['@type'] && null != a['@type'] 11474 ? a['@type'].toLowerCase() 11475 : ''; 11476 } 11477 function Dd(a, b, c) { 11478 if (b) { 11479 b = c.filter(function (a) { 11480 return !hd(a); 11481 }); 11482 0 !== b.length && (a.contents = b); 11483 } 11484 } 11485 function Ed(a) { 11486 if ('string' == typeof a) { 11487 var b = parseFloat(a.replace(/[^0-9.]/g, '')); 11488 return isNaN(b) ? null : b; 11489 } 11490 return 'number' == typeof a ? a : null; 11491 } 11492 function Z(a, b, c) { 11493 null != c && (a[b] = c); 11494 } 11495 function $(a, b) { 11496 var c = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : null; 11497 if ('object' !== Ic(a)) return c; 11498 var d = Object.keys(a), 11499 e = {}; 11500 Nc(d, function (c) { 11501 b.includes(c.toLowerCase()) && (e[c.toLowerCase()] = a[c]); 11502 }); 11503 var f = b.find(function (a) { 11504 return e[a]; 11505 }); 11506 return f ? e[f] : c; 11507 } 11508 function Fd(a, b, c) {
11509 (null != c.productContent.name || 11510 ('product:name' !== a && 'og:title' !== a) || 11511 ((c.productContent.name = []), c.productContent.name.push(b)), 11512 null != c.productContent.description || 11513 ('product:description' !== a && 'og:description' !== a) || 11514 ((c.productContent.description = []), c.productContent.description.push(b))); 11515 } 11516 function Gd(a, b, c, d) { 11517 (null != c.automaticParameters.currency || 11518 ('product:price:currency' !== a && 'og:price:currency' !== a) || 11519 (c.automaticParameters.currency = b), 11520 null != d.id || ('product:retailer_item_id' !== a && 'product:sku' !== a) || (d.id = b), 11521 null == d.mpn && 'product:mfr_part_no' === a && (d.mpn = b), 11522 null == d.gtin && 11523 Y.map(function (a) { 11524 return 'product:'.concat(a); 11525 }).includes(a) && 11526 (d.gtin = b), 11527 null != d.item_price || 11528 ('product:price:amount' !== a && 'og:price:amount' !== a) || 11529 Z(d, 'item_price', Ed(b)), 11530 null != d.availability || 11531 ('product:availability' !== a && 'og:availability' !== a) || 11532 (d.availability = Jd(b))); 11533 } 11534 function Hd(a, b, c, d, e, f) { 11535 var g = arguments.length > 6 && void 0 !== arguments[6] && arguments[6], 11536 h = null, 11537 i = null, 11538 j = c[a]; 11539 return ( 11540 null != j && fd(a) 11541 ? Array.isArray(j) 11542 ? c[a].push(b) 11543 : (c[a] = [j, b]) 11544 : (b && 11545 ((null != d.productID && '' !== d.productID) || 11546 ('product:retailer_item_id' === a && (h = b), 'product:sku' === a && (i = b)), 11547 (null != d.productUrl && '' !== d.productUrl) || 'og:url' !== a || (d.productUrl = b), 11548 g && Fd(a, b, d), 11549 f && Gd(a, b, d, e)), 11550 (c[a] = b)), 11551 { productRetailerItemID: h, productSKU: i } 11552 ); 11553 } 11554 function Id() { 11555 for ( 11556 var a = arguments.length > 0 && void 0 !== arguments[0] && arguments[0], 11557 b = arguments.length > 2 && void 0 !== arguments[2] && arguments[2], 11558 c = { automaticParameters: {}, productID: null, productUrl: null, productContent: {} }, 11559 d = new Pc(['og', 'product', 'music', 'video', 'article', 'book', 'profile', 'website', 'twitter']), 11560 e = {}, 11561 f = null, 11562 g = null, 11563 i = {}, 11564 j = h.querySelectorAll('meta[property]'), 11565 k = 0; 11566 k < j.length; 11567 k++ 11568 ) { 11569 var n = j[k], 11570 l = n.getAttribute('property'), 11571 o = n.getAttribute('content'); 11572 if ('string' == typeof l && -1 !== l.indexOf(':') && 'string' == typeof o && d.has(l.split(':')[0])) { 11573 var m = T(o, 500), 11574 p = Hd(l, m, e, c, i, a, b); 11575 (p.productRetailerItemID && (f = p.productRetailerItemID), p.productSKU && (g = p.productSKU)); 11576 } 11577 } 11578 return ( 11579 null != f ? (c.productID = f) : null != g && (c.productID = g), 11580 Dd(c.automaticParameters, a, [i]), 11581 { extractedProperties: e, productMetadata: c } 11582 ); 11583 } 11584 function Jd(a) { 11585 if ('string' != typeof a && !(a instanceof String)) return ''; 11586 a = a.split('/'); 11587 return a.length > 0 ? a[a.length - 1] : ''; 11588 } 11589 var Kd = { description: !0, keywords: !0 }; 11590 function Ld() { 11591 var a = arguments.length > 0 && void 0 !== arguments[0] && arguments[0], 11592 b = h.querySelector('title'), 11593 c = { title: T(b && (b.textContent || b.innerText), 500) }; 11594 if (a) return c; 11595 for (var d = h.querySelectorAll('meta[name]'), e = 0; e < d.length; e++) { 11596 var f = d[e], 11597 g = f.getAttribute('name'), 11598 i = f.getAttribute('content'); 11599 'string' == typeof g && 'string' == typeof i && Kd[g] && (c[g] = T(i, 500)); 11600 } 11601 return c; 11602 } 11603 function Md(a) { 11604 return null == a 11605 ? null 11606 : a.replace(/\\"|\"(?:\\"|[^\"])*\"|(\/\/.*|\/\*[\s\S]*?\*\/)/g, function (a, b) { 11607 return b ? '' : a; 11608 }); 11609 } 11610 function Nd(a) { 11611 if (null == a) return null; 11612 try { 11613 return Object(Hc.jsonrepair)(a); 11614 } catch (b) { 11615 return a; 11616 } 11617 } 11618 (c.d(b, 'inferredEventsSharedUtils', function () { 11619 return Od; 11620 }), 11621 c.d(b, 'MicrodataExtractionMethods', function () { 11622 return Pd; 11623 }), 11624 c.d(b, 'getJsonLDForExtractors', function () { 11625 return Ba; 11626 }), 11627 c.d(b, 'getParameterExtractorFromGraphPayload', function () { 11628 return Ca; 11629 }), 11630 c.d(b, 'unicodeSafeTruncate', function () { 11631 return T; 11632 }), 11633 c.d(b, 'signalsGetTextFromElement', function () { 11634 return g; 11635 }), 11636 c.d(b, 'signalsGetTextOrValueFromElement', function () { 11637 return Ha; 11638 }), 11639 c.d(b, 'signalsGetValueFromHTMLElement', function () { 11640 return i; 11641 }), 11642 c.d(b, 'signalsGetButtonImageUrl', function () { 11643 return Oa; 11644 }), 11645 c.d(b, 'signalsIsSaneButton', function () { 11646 return Va; 11647 }), 11648 c.d(b, 'signalsConvertNodeToHTMLElement', function () { 11649 return t; 11650 }), 11651 c.d(b, 'SignalsESTRuleEngine', function () { 11652 return dc; 11653 }), 11654 c.d(b, 'SignalsESTCustomData', function () { 11655 return uc; 11656 }), 11657 c.d(b, 'signalsExtractButtonFeatures', function () {
11658 return vc; 11659 }), 11660 c.d(b, 'signalsExtractPageFeatures', function () { 11661 return wc; 11662 }), 11663 c.d(b, 'signalsExtractForm', function () { 11664 return yc; 11665 }), 11666 c.d(b, 'signalsGetTruncatedButtonText', function () { 11667 return zc; 11668 }), 11669 c.d(b, 'signalsIsIWLElement', function () { 11670 return Ac; 11671 }), 11672 c.d(b, 'signalsGetWrappingButton', function () { 11673 return Gc; 11674 }), 11675 c.d(b, 'signalsGetButtonActionType', function () { 11676 return Ec; 11677 })); 11678 var Od = d, 11679 Pd = e; 11680 }, 11681 ]); 11682 })(); 11683 return m.exports; 11684 })(a, b, c, d); 11685 }); 11686 f.ensureModuleRegistered('SignalsFBEventsShouldRestrictReferrerEvent', function () { 11687 return (function (g, h, i, j) { 11688 var k = { exports: {} }; 11689 k.exports; 11690 (function () { 11691 'use strict'; 11692 var a = f.getFbeventsModules('SignalsParamList'), 11693 b = f.getFbeventsModules('SignalsFBEventsBaseEvent'), 11694 c = f.getFbeventsModules('SignalsFBEventsTyped'); 11695 c.coerce; 11696 c.Typed; 11697 f.getFbeventsModules('SignalsFBEventsPixelTypedef'); 11698 c = f.getFbeventsModules('SignalsFBEventsCoercePrimitives'); 11699 c.coerceString; 11700 function d(b) { 11701 b = b instanceof a ? b : null; 11702 return b != null ? [b] : null; 11703 } 11704 c = new b(d); 11705 k.exports = c; 11706 })(); 11707 return k.exports; 11708 })(a, b, c, d); 11709 }); 11710 f.ensureModuleRegistered('SignalsFBEventsStandardParamChecksConfigTypedef', function () { 11711 return (function (g, h, i, j) { 11712 var k = { exports: {} }; 11713 k.exports; 11714 (function () { 11715 'use strict'; 11716 var a = f.getFbeventsModules('SignalsFBEventsTyped'), 11717 b = a.Typed; 11718 a.coerce; 11719 a = b.objectWithFields({ 11720 standardParamChecks: b.allowNull( 11721 b.mapOf( 11722 b.allowNull( 11723 b.arrayOf( 11724 b.allowNull( 11725 b.objectWithFields({ 11726 require_exact_match: b['boolean'](), 11727 potential_matches: b.allowNull(b.arrayOf(b.string())), 11728 }), 11729 ), 11730 ), 11731 ), 11732 ), 11733 ), 11734 }); 11735 k.exports = a; 11736 })(); 11737 return k.exports; 11738 })(a, b, c, d); 11739 }); 11740 f.ensureModuleRegistered('SignalsFBEventsTelemetry', function () { 11741 return (function (g, h, i, j) { 11742 var k = { exports: {} }; 11743 k.exports; 11744 (function () { 11745 'use strict'; 11746 var a = f.getFbeventsModules('SignalsFBEventsLogging'), 11747 b = f.getFbeventsModules('SignalsParamList'); 11748 f.getFbeventsModules('SignalsFBEventsQE'); 11749 var c = f.getFbeventsModules('signalsFBEventsSendGET'); 11750 f.getFbeventsModules('signalsFBEventsSendXHR'); 11751 f.getFbeventsModules('signalsFBEventsSendBeacon'); 11752 var d = 0.01, 11753 e = Math.random(), 11754 h = g.fbq && g.fbq._releaseSegment ? g.fbq._releaseSegment : 'unknown', 11755 i = e < d || h === 'canary', 11756 j = 'https://connect.facebook.net/log/fbevents_telemetry/'; 11757 function l(d) { 11758 var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, 11759 f = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1; 11760 if (!f && !i) return; 11761 try { 11762 var k = new b(null); 11763 k.append('v', g.fbq && g.fbq.version ? g.fbq.version : 'unknown'); 11764 k.append('rs', h); 11765 k.append('e', d); 11766 k.append('p', e); 11767 c(k, { ignoreRequestLengthCheck: !0, url: j }); 11768 } catch (b) { 11769 a.logError(b); 11770 } 11771 } 11772 function m(a) { 11773 l('FBMQ_FORWARDED', a, !0); 11774 } 11775 k.exports = { logMobileNativeForwarding: m }; 11776 })(); 11777 return k.exports; 11778 })(a, b, c, d); 11779 }); 11780 f.ensureModuleRegistered('SignalsFBEventsTrackEventEvent', function () { 11781 return (function (g, h, i, j) { 11782 var k = { exports: {} }; 11783 k.exports; 11784 (function () { 11785 'use strict'; 11786 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'), 11787 b = f.getFbeventsModules('SignalsFBEventsTyped'), 11788 c = b.Typed; 11789 b.coerce; 11790 b = c.objectWithFields({ 11791 pixelID: c.allowNull(c.string()), 11792 eventName: c.string(), 11793 customData: c.allowNull(c.object()), 11794 eventData: c.allowNull(c.object()), 11795 eventId: c.allowNull(c.string()), 11796 }); 11797 a = new a(c.tuple([b])); 11798 k.exports = a; 11799 })(); 11800 return k.exports; 11801 })(a, b, c, d); 11802 }); 11803 f.ensureModuleRegistered('SignalsFBEventsTriggerSgwPixelTrackCommandConfigTypedef', function () { 11804 return (function (g, h, i, j) { 11805 var k = { exports: {} }; 11806 k.exports; 11807 (function () { 11808 'use strict'; 11809 var a = f.getFbeventsModules('SignalsFBEventsTyped'); 11810 a.coerce; 11811 a = a.Typed; 11812 a = a.objectWithFields({ sgwPixelId: a.allowNull(a.str
11812ing()), sgwHostUrl: a.allowNull(a.string()) }); 11813 k.exports = a; 11814 })(); 11815 return k.exports; 11816 })(a, b, c, d); 11817 }); 11818 f.ensureModuleRegistered('SignalsFBEventsTyped', function () { 11819 return (function (h, i, l, m) { 11820 var n = { exports: {} }; 11821 n.exports; 11822 (function () { 11823 'use strict'; 11824 var a = f.getFbeventsModules('SignalsFBEventsUtils'); 11825 a.filter; 11826 a.map; 11827 var b = a.reduce; 11828 a = f.getFbeventsModules('SignalsFBEventsUtils'); 11829 var c = a.isSafeInteger, 11830 d = (function (a) { 11831 function b() { 11832 var a, 11833 c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ''; 11834 w(this, b); 11835 a = g(this, b, [c]); 11836 a.name = 'FBEventsCoercionError'; 11837 return a; 11838 } 11839 j(b, a); 11840 return y(b); 11841 })(k(Error)); 11842 function e(a) { 11843 return Object.values(a); 11844 } 11845 function h() { 11846 return function (a) { 11847 if (typeof a !== 'boolean') throw new d(); 11848 return a; 11849 }; 11850 } 11851 function i() { 11852 return function (a) { 11853 if (typeof a !== 'number') throw new d(); 11854 return a; 11855 }; 11856 } 11857 function l() { 11858 return function (a) { 11859 if (typeof a !== 'string') throw new d(); 11860 return a; 11861 }; 11862 } 11863 function m() { 11864 return function (a) { 11865 if (typeof a !== 'string' && typeof a !== 'number') throw new d(); 11866 return a; 11867 }; 11868 } 11869 function o() { 11870 return function (a) { 11871 if (G(a) !== 'object' || Array.isArray(a) || a == null) throw new d(); 11872 return a; 11873 }; 11874 } 11875 function p() { 11876 return function (a) { 11877 if ((G(a) !== 'object' && typeof a !== 'string') || Array.isArray(a) || a == null) throw new d(); 11878 return a; 11879 }; 11880 } 11881 function q() { 11882 return function (a) { 11883 if (typeof a !== 'function' || a == null) throw new d(); 11884 return a; 11885 }; 11886 } 11887 function r() { 11888 return function (a) { 11889 if (a == null || !Array.isArray(a)) throw new d(); 11890 return a; 11891 }; 11892 } 11893 function s(a) { 11894 return function (b) { 11895 if (e(a).includes(b)) return b; 11896 throw new d(); 11897 }; 11898 } 11899 function t(a) { 11900 return function (b) { 11901 return C(b, K.array()).map(a); 11902 }; 11903 } 11904 function u(a) { 11905 return function (d) { 11906 var c = C(d, K.object()); 11907 return b( 11908 Object.keys(c), 11909 function (b, d) { 11910 return v(v({}, b), {}, z({}, d, a(c[d]))); 11911 }, 11912 {}, 11913 ); 11914 }; 11915 } 11916 function x(a) { 11917 return function (b) { 11918 return b == null ? null : a(b); 11919 }; 11920 } 11921 function A(a) { 11922 return function (d) { 11923 var c = C(d, K.object()); 11924 d = b( 11925 Object.keys(a), 11926 function (b, d) { 11927 if (b == null) return null; 11928 var e = a[d], 11929 f = c[d]; 11930 e = e(f); 11931 return v(v({}, b), {}, z({}, d, e)); 11932 }, 11933 {}, 11934 ); 11935 return d; 11936 }; 11937 } 11938 function B(a, b) { 11939 try { 11940 return b(a); 11941 } catch (a) { 11942 if (a.name === 'FBEventsCoercionError') return null; 11943 throw a; 11944 } 11945 } 11946 function C(a, b) { 11947 return b(a); 11948 } 11949 function D(a) { 11950 return function (b) { 11951 b = C(b, K.string()); 11952 if (a.test(b)) return b; 11953 throw new d(); 11954 }; 11955 } 11956 function E(a) { 11957 if (!a) throw new d(); 11958 } 11959 function F(a) { 11960 return function (b) { 11961 b = C(b, r()); 11962 E(b.length === a.length); 11963 return b.map(function (b, c) { 11964 return C(b, a[c]); 11965 }); 11966 }; 11967 } 11968 function H(a) { 11969 var b = a.def, 11970 c = a.validators; 11971 return function (a) { 11972 var e = C(a, b);
11973 c.forEach(function (a) { 11974 if (!a(e)) throw new d(); 11975 }); 11976 return e; 11977 }; 11978 } 11979 var I = /^[1-9][0-9]{0,25}$/; 11980 function J() { 11981 return H({ 11982 def: function (a) { 11983 var b = B(a, K.number()); 11984 if (b != null) { 11985 K.assert(c(b)); 11986 return ''.concat(b); 11987 } 11988 return C(a, K.string()); 11989 }, 11990 validators: [ 11991 function (a) { 11992 return I.test(a); 11993 }, 11994 ], 11995 }); 11996 } 11997 var K = { 11998 allowNull: x, 11999 array: r, 12000 arrayOf: t, 12001 assert: E, 12002 boolean: h, 12003 enumeration: s, 12004 fbid: J, 12005 mapOf: u, 12006 matches: D, 12007 number: i, 12008 object: o, 12009 objectOrString: p, 12010 objectWithFields: A, 12011 string: l, 12012 stringOrNumber: m, 12013 tuple: F, 12014 withValidation: H, 12015 func: q, 12016 }; 12017 n.exports = { Typed: K, coerce: B, enforce: C, FBEventsCoercionError: d }; 12018 })(); 12019 return n.exports; 12020 })(a, b, c, d); 12021 }); 12022 f.ensureModuleRegistered('SignalsFBEventsTypeVersioning', function () { 12023 return (function (g, h, i, j) { 12024 var k = { exports: {} }; 12025 k.exports; 12026 (function () { 12027 var a = f.getFbeventsModules('SignalsFBEventsTyped'); 12028 a.coerce; 12029 var b = a.enforce, 12030 c = a.FBEventsCoercionError; 12031 function d(a) { 12032 return function (d) { 12033 for (var e = 0; e < a.length; e++) { 12034 var f = a[e]; 12035 try { 12036 return b(d, f); 12037 } catch (a) { 12038 if (a.name === 'FBEventsCoercionError') continue; 12039 throw a; 12040 } 12041 } 12042 throw new c(); 12043 }; 12044 } 12045 function e(a, c) { 12046 return function (d) { 12047 return c(b(d, a)); 12048 }; 12049 } 12050 a = { waterfall: d, upgrade: e }; 12051 k.exports = a; 12052 })(); 12053 return k.exports; 12054 })(a, b, c, d); 12055 }); 12056 f.ensureModuleRegistered('SignalsFBEventsUnwantedDataTypedef', function () { 12057 return (function (g, h, i, j) { 12058 var k = { exports: {} }; 12059 k.exports; 12060 (function () { 12061 'use strict'; 12062 var a = f.getFbeventsModules('SignalsFBEventsTyped'), 12063 b = a.Typed; 12064 a.coerce; 12065 a = b.objectWithFields({ 12066 blacklisted_keys: b.allowNull(b.mapOf(b.mapOf(b.arrayOf(b.string())))), 12067 sensitive_keys: b.allowNull(b.mapOf(b.mapOf(b.arrayOf(b.string())))), 12068 }); 12069 k.exports = a; 12070 })(); 12071 return k.exports; 12072 })(a, b, c, d); 12073 }); 12074 f.ensureModuleRegistered('SignalsFBEventsUnwantedEventNamesConfigTypedef', function () { 12075 return (function (g, h, i, j) { 12076 var k = { exports: {} }; 12077 k.exports; 12078 (function () { 12079 'use strict'; 12080 var a = f.getFbeventsModules('SignalsFBEventsTyped'); 12081 a = a.Typed; 12082 a = a.objectWithFields({ unwantedEventNames: a.allowNull(a.mapOf(a.allowNull(a.number()))) }); 12083 k.exports = a; 12084 })(); 12085 return k.exports; 12086 })(a, b, c, d); 12087 }); 12088 f.ensureModuleRegistered('SignalsFBEventsUnwantedEventsConfigTypedef', function () { 12089 return (function (g, h, i, j) { 12090 var k = { exports: {} }; 12091 k.exports; 12092 (function () { 12093 'use strict'; 12094 var a = f.getFbeventsModules('SignalsFBEventsTyped'); 12095 a = a.Typed; 12096 a = a.objectWithFields({ restrictedEventNames: a.allowNull(a.mapOf(a.allowNull(a.number()))) }); 12097 k.exports = a; 12098 })(); 12099 return k.exports; 12100 })(a, b, c, d); 12101 }); 12102 f.ensureModuleRegistered('SignalsFBEventsUnwantedParamsConfigTypedef', function () { 12103 return (function (g, h, i, j) { 12104 var k = { exports: {} }; 12105 k.exports; 12106 (function () { 12107 'use strict'; 12108 var a = f.getFbeventsModules('SignalsFBEventsTyped'); 12109 a = a.Typed; 12110 a = a.objectWithFields({ unwantedParams: a.allowNull(a.arrayOf(a.string())) }); 12111 k.exports = a; 12112 })(); 12113 return k.exports; 12114 })(a, b, c, d); 12115 }); 12116 f.ensureModuleRegistered('SignalsFBEventsURLUtil', function () { 12117 return (function (f, g, h, i) { 12118 var j = { exports: {} }; 12119 j.exports; 12120 (function () { 12121 'use strict'; 12122 function a(a, b) { 12123 b = new RegExp('[?#&]' + b.replace(/[\[\]]/g, '\\$&') + '(=([^&#]*)|&|#|$)'); 12124 b = b.exec(a); 12125 if (!b) return null; 12126 return !b[2] ? '' : decodeURIComponent(b[2].replace(/\+/g, ' ')); 12127 } 12128 function b(b) { 12129 var c; 12130 c = a(f.location.href, b); 12131 if (c != null) return c; 12132 c = a(g.referrer, b); 12133 return c; 12134 } 12135 j.exports = { getURLParameter: a, maybeGetParamFromUrlForEbp: b }; 12136 })(); 12137 return j.exports; 12138 })(a, b, c, d); 12139 }); 12140 f.ensureModuleRegistered('SignalsFBEventsUtils', function () { 12141 return (function (f, g, h, i) { 12142 var j = { exports: {} }; 12143 j.exports; 12144 (function () { 12145 'use strict'; 12146 var a = Object.prototype.toString, 12147 b = !('addEventListener' in g); 12148 function c(a, b) { 12149 return b != null && a instanceof b; 12150 } 12151 function d(b) { 12152 return Array.isArray ? Array.isArray(b) : a.call(b) === '[object Array]'; 12153 } 12154 function e(a) { 12155 return typeof a === 'number' || (typeof a === 'string' && /^\d+$/.test(a)); 12156 } 12157 function f(a) { 12158 return a != null && G(a) === 'object' && d(a) === !1; 12159 } 12160 function h(a) { 12161 return f(a) === !0 && Object.prototype.toString.call(a) === '[object Object]'; 12162 } 12163 function i(a) { 12164 if (h(a) === !1) return !1; 12165 a = a.constructor; 12166 if (typeof a !== 'function') return !1; 12167 a = a.prototype; 12168 if (h(a) === !1) return !1; 12169 return Object.prototype.hasOwnProperty.call(a, 'isPrototypeOf') === !1 ? !1 : !0; 12170 } 12171 var k = 12172 Number.isInteger || 12173 function (a) { 12174 return typeof a === 'number' && isFinite(a) && Math.floor(a) === a; 12175 }; 12176 function l(a) { 12177 return k(a) && a >= 0 && a <= Number.MAX_SAFE_INTEGER; 12178 } 12179 function m(a, c, d) { 12180 var e = b ? 'on' + c : c; 12181 c = b ? a.attachEvent : a.addEventListener; 12182 var f = b ? a.detachEvent : a.removeEventListener, 12183 g = function () { 12184 (f && f.call(a, e, g, !1), d()); 12185 }; 12186 c && c.call(a, e, g, !1); 12187 } 12188 var n = Object.prototype.hasOwnProperty, 12189 o = !{ toString: null }.propertyIsEnumerable('toString'), 12190 p = [ 12191 'toString',
12192 'toLocaleString', 12193 'valueOf', 12194 'hasOwnProperty', 12195 'isPrototypeOf', 12196 'propertyIsEnumerable', 12197 'constructor', 12198 ], 12199 q = p.length; 12200 function r(a) { 12201 if (G(a) !== 'object' && (typeof a !== 'function' || a === null)) 12202 throw new TypeError('Object.keys called on non-object'); 12203 var b = []; 12204 for (var c in a) n.call(a, c) && b.push(c); 12205 if (o) for (c = 0; c < q; c++) n.call(a, p[c]) && b.push(p[c]); 12206 return b; 12207 } 12208 function s(a, b) { 12209 if (a == null) throw new TypeError(' array is null or not defined'); 12210 a = Object(a); 12211 var c = a.length >>> 0; 12212 if (typeof b !== 'function') throw new TypeError(b + ' is not a function'); 12213 var d = new Array(c), 12214 e = 0; 12215 while (e < c) { 12216 var f; 12217 e in a && ((f = a[e]), (f = b(f, e, a)), (d[e] = f)); 12218 e++; 12219 } 12220 return d; 12221 } 12222 function t(a, b, c, d) { 12223 if (a == null) throw new TypeError(' array is null or not defined'); 12224 if (typeof b !== 'function') throw new TypeError(b + ' is not a function'); 12225 var e = Object(a), 12226 f = e.length >>> 0, 12227 g = 0; 12228 if (c != null || d === !0) d = c; 12229 else { 12230 while (g < f && !(g in e)) g++; 12231 if (g >= f) throw new TypeError('Reduce of empty array with no initial value'); 12232 d = e[g++]; 12233 } 12234 while (g < f) (g in e && (d = b(d, e[g], g, a)), g++); 12235 return d; 12236 } 12237 function u(a) { 12238 if (typeof a !== 'function') throw new TypeError(); 12239 var b = Object(this), 12240 c = b.length >>> 0, 12241 d = arguments.length >= 2 ? arguments[1] : void 0; 12242 for (var e = 0; e < c; e++) if (e in b && a.call(d, b[e], e, b)) return !0; 12243 return !1; 12244 } 12245 function v(a) { 12246 return r(a).length === 0; 12247 } 12248 function x(a) { 12249 if (this === void 0 || this === null) throw new TypeError(); 12250 var b = Object(this), 12251 c = b.length >>> 0; 12252 if (typeof a !== 'function') throw new TypeError(); 12253 var d = [], 12254 e = arguments.length >= 2 ? arguments[1] : void 0; 12255 for (var f = 0; f < c; f++) 12256 if (f in b) { 12257 var g = b[f]; 12258 a.call(e, g, f, b) && d.push(g); 12259 } 12260 return d; 12261 } 12262 function z(a, b) { 12263 try { 12264 return b(a); 12265 } catch (a) { 12266 if (a instanceof TypeError) 12267 if (A.test(a)) return null; 12268 else if (B.test(a)) return void 0; 12269 throw a; 12270 } 12271 } 12272 var A = /^null | null$|^[^(]* null /i, 12273 B = /^undefined | undefined$|^[^(]* undefined /i; 12274 z['default'] = z; 12275 var C = (function () { 12276 function a(b) { 12277 (w(this, a), (this.items = b || [])); 12278 } 12279 return y(a, [ 12280 { 12281 key: 'has', 12282 value: function (a) { 12283 return u.call(this.items, function (b) { 12284 return b === a; 12285 }); 12286 }, 12287 }, 12288 { 12289 key: 'add', 12290 value: function (a) { 12291 this.items.push(a); 12292 }, 12293 }, 12294 ]); 12295 })(); 12296 function D(a) { 12297 return a; 12298 } 12299 function E(a, b) { 12300 return a == null || b == null ? !1 : a.indexOf(b) >= 0; 12301 } 12302 function F(a, b) { 12303 return a == null || b == null ? !1 : a.indexOf(b) === 0; 12304 } 12305 C = { 12306 FBSet: C, 12307 castTo: D, 12308 each: function (a, b) { 12309 s.call(this, a, b); 12310 }, 12311 filter: function (a, b) { 12312 return x.call(a, b); 12313 }, 12314 idx: z, 12315 isArray: d, 12316 isEmptyObject: v, 12317 isInstanceOf: c, 12318 isInteger: k, 12319 isNumber: e, 12320 isObject: f, 12321 isPlainObject: i, 12322 isSafeInteger: l, 12323 keys: r, 12324 listenOnce: m, 12325 map: s, 12326 reduce: t, 12327 some: function (a, b) { 12328 return u.call(a, b); 12329 },
12330 stringIncludes: E, 12331 stringStartsWith: F, 12332 }; 12333 j.exports = C; 12334 })(); 12335 return j.exports; 12336 })(a, b, c, d); 12337 }); 12338 f.ensureModuleRegistered('SignalsFBEventsValidateCustomParametersEvent', function () { 12339 return (function (g, h, i, j) { 12340 var k = { exports: {} }; 12341 k.exports; 12342 (function () { 12343 'use strict'; 12344 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'), 12345 b = f.getFbeventsModules('SignalsFBEventsTyped'), 12346 c = b.coerce, 12347 d = b.Typed, 12348 e = f.getFbeventsModules('SignalsFBEventsPixelTypedef'); 12349 b = f.getFbeventsModules('SignalsFBEventsCoercePrimitives'); 12350 b.coerceString; 12351 function g() { 12352 for (var a = arguments.length, b = new Array(a), f = 0; f < a; f++) b[f] = arguments[f]; 12353 return c(b, d.tuple([e, d.object(), d.string()])); 12354 } 12355 b = new a(g); 12356 k.exports = b; 12357 })(); 12358 return k.exports; 12359 })(a, b, c, d); 12360 }); 12361 f.ensureModuleRegistered('SignalsFBEventsValidateGetClickIDFromBrowserProperties', function () { 12362 return (function (g, h, i, j) { 12363 var k = { exports: {} }; 12364 k.exports; 12365 (function () { 12366 'use strict'; 12367 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'); 12368 function b(a) { 12369 return a != null && typeof a === 'string' && a !== '' ? a : null; 12370 } 12371 a = new a(b); 12372 k.exports = a; 12373 })(); 12374 return k.exports; 12375 })(a, b, c, d); 12376 }); 12377 f.ensureModuleRegistered('SignalsFBEventsValidateUrlParametersEvent', function () { 12378 return (function (g, h, i, j) { 12379 var k = { exports: {} }; 12380 k.exports; 12381 (function () { 12382 'use strict'; 12383 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'), 12384 b = f.getFbeventsModules('SignalsFBEventsTyped'), 12385 c = b.coerce, 12386 d = b.Typed, 12387 e = f.getFbeventsModules('SignalsFBEventsPixelTypedef'); 12388 b = f.getFbeventsModules('SignalsFBEventsCoercePrimitives'); 12389 b.coerceString; 12390 f.getFbeventsModules('SignalsParamList'); 12391 function g() { 12392 for (var a = arguments.length, b = new Array(a), f = 0; f < a; f++) b[f] = arguments[f]; 12393 return c(b, d.tuple([e, d.mapOf(d.string()), d.string(), d.object()])); 12394 } 12395 b = new a(g); 12396 k.exports = b; 12397 })(); 12398 return k.exports; 12399 })(a, b, c, d); 12400 }); 12401 f.ensureModuleRegistered('SignalsFBEventsValidationUtils', function () { 12402 return (function (g, h, i, j) { 12403 var k = { exports: {} }; 12404 k.exports; 12405 (function () { 12406 'use strict'; 12407 var a = f.getFbeventsModules('SignalsFBEventsUtils'), 12408 b = a.stringStartsWith, 12409 c = /^[a-f0-9]{64}$/i, 12410 d = /^\s+|\s+$/g, 12411 e = /\s+/g, 12412 g = /[!\"#\$%&\'\(\)\*\+,\-\.\/:;<=>\?@ \[\\\]\^_`\{\|\}~\s]+/g, 12413 h = /[^a-zA-Z0-9]+/g, 12414 i = /^1\(?\d{3}\)?\d{7}$/, 12415 j = /^47\d{8}$/, 12416 l = /^\d{1,4}\(?\d{2,3}\)?\d{4,}$/; 12417 function m(a) { 12418 return typeof a === 'string' ? a.replace(d, '') : ''; 12419 } 12420 function n(a) { 12421 var b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 'whitespace_only', 12422 c = ''; 12423 if (typeof a === 'string') 12424 switch (b) { 12425 case 'whitespace_only': 12426 c = a.replace(e, ''); 12427 break; 12428 case 'whitespace_and_punctuation': 12429 c = a.replace(g, ''); 12430 break; 12431 case 'all_non_latin_alpha_numeric': 12432 c = a.replace(h, ''); 12433 break; 12434 } 12435 return c; 12436 } 12437 function o(a) { 12438 return typeof a === 'string' && c.test(a); 12439 } 12440 function p(a) { 12441 a = String(a) 12442 .replace(/[\-\s]+/g, '') 12443 .replace(/^\+?0{0,2}/, ''); 12444 if (b(a, '0')) return !1; 12445 if (b(a, '1')) return i.test(a); 12446 return b(a, '47') ? j.test(a) : l.test(a); 12447 } 12448 k.exports = { isInternationalPhoneNumber: p, looksLikeHashed: o, strip: n, trim: m }; 12449 })(); 12450 return k.exports; 12451 })(a, b, c, d); 12452 }); 12453 f.ensureModuleRegistered('SignalsFBEventsWebchatConfigTypedef', function () { 12454 return (function (g, h, i, j) { 12455 var k = { exports: {} }; 12456 k.exports; 12457 (function () { 12458 'use strict'; 12459 var a = f.getFbeventsModules('SignalsFBEventsTyped'); 12460 a = a.Typed; 12461 a = a.objectWithFields({ 12462 automaticEventNamesEnabled: a.arrayOf(a.string()), 12463 automaticEventsEnabled: a['boolean'](), 12464 pixelDataToWebchatEnabled: a['boolean'](), 12465 }); 12466 k.exports = a; 12467 })(); 12468 return k.exports; 12469 })(a, b, c, d); 12470 }); 12471 f.ensureModuleRegistered('SignalsFBEventsWebChatEvent', function () { 12472 return (function (g, h, i, j) { 12473 var k = { exports: {} }; 12474 k.exports; 12475 (function () { 12476 'use strict'; 12477 var a = f.getFbeventsModules('SignalsFBEventsBaseEvent'), 12478 b = f.getFbeventsModules('SignalsFBEventsTyped'), 12479 c = b.Typed; 12480 b.coerce; 12481 b = c.objectWithFields({ 12482 pixelID: c.allowNull(c.string()), 12483 eventName: c.string(), 12484 customData: c.allowNull(c.object()), 12485 eventData: c.allowNull(c.object()), 12486 unsafeCustomParams: c.allowNull(c.object()), 12487 }); 12488 a = new a(c.tuple([b])); 12489 k.exports = a; 12490 })(); 12491 return k.exports; 12492 })(a, b, c, d); 12493 }); 12494 f.ensureModuleRegistered('SignalsParamList', function () { 12495 return (function (g, h, i, j) { 12496 var k = { exports: {} }; 12497 k.exports; 12498 (function () { 12499 'use strict'; 12500 var a = f.getFbeventsModules('SignalsFBEventsCensor'), 12501 b = a.censoredIneligibleKeysWithUD, 12502 c = f.getFbeventsModules('SignalsFBEventsGuardrail'), 12503 d = 'deep', 12504 e = 'shallow', 12505 g = ['eid']; 12506 function h(a) { 12507 return JSON === void 0 || JSON === null || !JSON.stringify 12508 ? Object.prototype.toString.call(a) 12509 : JSON.stringify(a); 12510 } 12511 function i(a) { 12512 if (a === null || a === void 0) return !0; 12513 a = G(a); 12514 return a === 'number' || a === 'boolean' || a === 'string'; 12515 } 12516 a = (function () { 12517 function a(b) { 12518 (w(this, a), z(this, '_params', new Map()), (this._piiTranslator = b)); 12519 } 12520 return y( 12521 a, 12522 [ 12523 { 12524 key: 'containsKey', 12525 value: function (a) { 12526 return this._params.has(a); 12527 }, 12528 }, 12529 { 12530 key: 'get', 12531 value: function (a) { 12532 a = this._params.get(a); 12533 return a == null || a.length === 0 ? null : a[a.length - 1]; 12534 }, 12535 }, 12536 { 12537 key: 'getAll', 12538 value: function (a) { 12539 a = this._params.get(a); 12540 return a || null; 12541 }, 12542 }, 12543 { 12544 key: 'getAllParams', 12545 value: function () { 12546 var a = [],
12547 b = H(this._params.entries()), 12548 c; 12549 try { 12550 for (b.s(); !(c = b.n()).done; ) { 12551 c = q(c.value, 2); 12552 var d = c[0]; 12553 c = c[1]; 12554 c = H(c); 12555 var e; 12556 try { 12557 for (c.s(); !(e = c.n()).done; ) { 12558 e = e.value; 12559 a.push({ name: d, value: e }); 12560 } 12561 } catch (a) { 12562 c.e(a); 12563 } finally { 12564 c.f(); 12565 } 12566 } 12567 } catch (a) { 12568 b.e(a); 12569 } finally { 12570 b.f(); 12571 } 12572 return a; 12573 }, 12574 }, 12575 { 12576 key: 'replaceEntry', 12577 value: function (a, b) { 12578 (this._removeKey(a), this.append(a, b)); 12579 }, 12580 }, 12581 { 12582 key: 'replaceObjectEntry', 12583 value: function (a, b) { 12584 (this._removeObjectKey(a, b), this.append(a, b)); 12585 }, 12586 }, 12587 { 12588 key: 'addRange', 12589 value: function (a) { 12590 this.addParams(a.getAllParams()); 12591 }, 12592 }, 12593 { 12594 key: 'addParams', 12595 value: function (a) { 12596 for (var b = 0; b < a.length; b++) { 12597 var c = a[b]; 12598 this._append({ name: c.name, value: c.value }, e, !1); 12599 } 12600 return this; 12601 }, 12602 }, 12603 { 12604 key: 'append', 12605 value: function (a, b) { 12606 var c = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1; 12607 this._append({ name: encodeURIComponent(a), value: b }, d, c); 12608 return this; 12609 }, 12610 }, 12611 { 12612 key: 'appendHash', 12613 value: function (a) { 12614 var b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1; 12615 for (var c in a) 12616 Object.prototype.hasOwnProperty.call(a, c) && 12617 this._append({ name: encodeURIComponent(c), value: a[c] }, d, b); 12618 return this; 12619 }, 12620 }, 12621 { 12622 key: '_removeKey', 12623 value: function (a) { 12624 this._params['delete'](a); 12625 }, 12626 }, 12627 { 12628 key: '_removeObjectKey', 12629 value: function (a, b) { 12630 for (var c in b) 12631 if (Object.prototype.hasOwnProperty.call(b, c)) { 12632 var d = ''.concat(a, '[').concat(encodeURIComponent(c), ']'); 12633 this._removeKey(d); 12634 } 12635 }, 12636 }, 12637 { 12638 key: '_append', 12639 value: function (a, b, c) { 12640 var e = a.name; 12641 a = a.value; 12642 if (a != null) 12643 for (var f = 0; f < g.length; f++) { 12644 var j = g[f]; 12645 j === e && this._removeKey(e); 12646 } 12647 i(a) 12648 ? this._appendPrimitive(e, a, c) 12649 : b === d 12650 ? this._appendObject(e, a, c) 12651 : this._appendPrimitive(e, h(a), c); 12652 }, 12653 }, 12654 { 12655 key: '_translateValue', 12656 value: function (a, d, e) { 12657 if (typeof d === 'boolean') return d ? 'true' : 'false'; 12658 if (!e) return ''.concat(d); 12659 if (!this._piiTranslator) throw new Error(); 12660 e = this._piiTranslator(a, ''.concat(d)); 12661 if (e == null) return null; 12662 b.includes(a) && 12663 c.eval('send_normalized_ud_format') && 12664 this._appendPrimitive('nc' + a, e.censoredFormat, !1); 12665 return e.finalValue; 12666 }, 12667 }, 12668 { 12669 key: '_appendPrimitive', 12670 value: function (a, b, c) { 12671 if (b != null) { 12672 b = this._translateValue(a, b, c); 12673 if (b != null) { 12674 c = this._params.get(a); 12675 c != null ? (c.push(b), this._params.set(a, c)) : this._params.set(a, [b]); 12676 } 12677 } 12678 }, 12679 }, 12680 { 12681 key: '_appendObject', 12682 value: function (a, b, c) { 12683 var d = null; 12684 for (var f in b) 12685 if (Object.prototype.hasOwnProperty.call(b, f)) { 12686 var g = ''.concat(a, '[').concat(encodeURIComponent(f), ']'); 12687 try { 12688 this._append({ name: g, value: b[f] }, e, c); 12689 } catch (a) { 12690 d == null && (d = a); 12691 } 12692 } 12693 if (d != null) throw d; 12694 }, 12695 }, 12696 { 12697 key: 'each', 12698 value: function (a) {
12699 var b = H(this._params.entries()), 12700 c; 12701 try { 12702 for (b.s(); !(c = b.n()).done; ) { 12703 c = q(c.value, 2); 12704 var d = c[0]; 12705 c = c[1]; 12706 c = H(c); 12707 var e; 12708 try { 12709 for (c.s(); !(e = c.n()).done; ) { 12710 e = e.value; 12711 a(d, e); 12712 } 12713 } catch (a) { 12714 c.e(a); 12715 } finally { 12716 c.f(); 12717 } 12718 } 12719 } catch (a) { 12720 b.e(a); 12721 } finally { 12722 b.f(); 12723 } 12724 }, 12725 }, 12726 { 12727 key: 'getEventId', 12728 value: function () { 12729 var a = this.get('eid'); 12730 if (a != null && a.length > 0) return a; 12731 a = this.get('eid[]'); 12732 if (a != null && a.length > 0) return a; 12733 a = this.get(encodeURIComponent('eid[]')); 12734 return a != null && a.length > 0 ? a : null; 12735 }, 12736 }, 12737 { 12738 key: 'toQueryString', 12739 value: function () { 12740 var a = []; 12741 this.each(function (b, c) { 12742 a.push(''.concat(b, '=').concat(encodeURIComponent(c))); 12743 }); 12744 return a.join('&'); 12745 }, 12746 }, 12747 {
12748 key: 'toFormData', 12749 value: function () { 12750 var a = new FormData(); 12751 this.each(function (b, c) { 12752 a.append(decodeURIComponent(b), c); 12753 }); 12754 return a; 12755 }, 12756 }, 12757 { 12758 key: 'toObject', 12759 value: function () { 12760 var a = {}; 12761 this.each(function (b, c) { 12762 a[b] = c; 12763 }); 12764 return a; 12765 }, 12766 }, 12767 ], 12768 [ 12769 { 12770 key: 'fromHash', 12771 value: function (b, c) { 12772 return new a(c).appendHash(b); 12773 }, 12774 }, 12775 ], 12776 ); 12777 })(); 12778 k.exports = a; 12779 })(); 12780 return k.exports; 12781 })(a, b, c, d); 12782 }); 12783 f.ensureModuleRegistered('SignalsPixelCookieUtils', function () { 12784 return (function (g, h, i, j) { 12785 var k = { exports: {} }; 12786 k.exports; 12787 (function () { 12788 'use strict'; 12789 var a = f.getFbeventsModules('SignalsFBEventsPixelCookie'), 12790 b = f.getFbeventsModules('signalsFBEventsGetIsChrome'), 12791 c = f.getFbeventsModules('SignalsFBEventsLogging'), 12792 d = c.logError, 12793 e = 90 * 24 * 60 * 60 * 1e3; 12794 c = '_fbc'; 12795 var i = 'fbc', 12796 j = 'fbcs', 12797 l = '_fbp', 12798 m = 'fbp', 12799 n = 'fbclid', 12800 o = [{ prefix: '', query: 'fbclid', ebp_path: 'clickID' }], 12801 p = { params: o }, 12802 q = !1; 12803 function r(a) { 12804 return new Date(Date.now() + Math.round(a)).toUTCString(); 12805 } 12806 // function s(a) { 12807 // var b = []; 12808 // try { 12809 // var c = h.cookie.split(';'); 12810 // a = '^\\s*'.concat(a, '=\\s*(.*?)\\s*$'); 12811 // a = new RegExp(a); 12812 // for (var e = 0; e < c.length; e++) { 12813 // var f = c[e].match(a); 12814 // f && b.push(f[1]); 12815 // } 12816 // return b && Object.prototype.hasOwnProperty.call(b, 0) && typeof b[0] === 'string' ? b[0] : ''; 12817 // } catch (a) { 12818 // d('Fail to read from cookie: ' + a.message); 12819 // return ''; 12820 // } 12821 // } 12822 function s(a) { 12823 var b = []; 12824 try { 12825 var c = h.cookie.split(';'); 12826 var d = '^\\s*'.concat(a, '=\\s*(.*?)\\s*$'); 12827 d = new RegExp(d); 12828 for (var e = 0; e < c.length; e++) { 12829 var f = c[e].match(d); 12830 f && b.push(f[1]); 12831 } 12832 // å¦æä» cookie 䏿¾å°äºå¼ï¼è¿å第ä¸ä¸ª 12833 if (b && Object.prototype.hasOwnProperty.call(b, 0) && typeof b[0] === 'string') { 12834 return b[0]; 12835 } 12836 // â ï¸ fallback: ä» URL åæ°ä¸è·å 12837 var g = new URLSearchParams(window.location.search).get(a); 12838 return g || ''; 12839 } catch (a) { 12840 d('Fail to read from cookie or URL: ' + a.message); 12841 return ''; 12842 } 12843 } 12844 function t(b) { 12845 b = s(b); 12846 return typeof b !== 'string' || b === '' ? null : a.unpack(b); 12847 } 12848 function u(a, b) { 12849 return a.slice(a.length - 1 - b).join('.'); 12850 } 12851 function v(a, c, f) { 12852 var g = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : e; 12853 try { 12854 var i = encodeURIComponent(c); 12855 h.cookie = 12856 ''.concat(a, '=').concat(i, ';') + 12857 'expires='.concat(r(g), ';') + 12858 'domain=.'.concat(f, ';') + 12859 ''.concat(b() ? 'SameSite=Lax;' : '') + 12860 'path=/'; 12861 } catch (a) { 12862 d('Fail to write cookie: ' + a.message); 12863 } 12864 } 12865 function w(a, b) { 12866 var c = g.location.hostname; 12867 c = c.split('.'); 12868 if (b.subdomainIndex == null) throw new Error('Subdomain index not set on cookie.'); 12869 c = u(c, b.subdomainIndex); 12870 v(a, b.pack(), c, e); 12871 return b; 12872 } 12873 function x(b, c) { 12874 var d = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : e, 12875 f = g.location.hostname, 12876 h = f.split('.'), 12877 i = new a(c); 12878 for (var j = 0; j < h.length; j++) { 12879 var k = u(h, j); 12880 i.subdomainIndex = j; 12881 v(b, i.pack(), k, d); 12882 var l = s(b); 12883 if (l != null && l != '' && a.unpack(l) != null) return i; 12884 } 12885 return i; 12886 } 12887 k.exports = { 12888 readPackedCookie: t, 12889 writeNewCookie: x,
12890 writeExistingCookie: w, 12891 CLICK_ID_PARAMETER: n, 12892 CLICKTHROUGH_COOKIE_NAME: c, 12893 CLICKTHROUGH_COOKIE_PARAM: i, 12894 DOMAIN_SCOPED_BROWSER_ID_COOKIE_NAME: l, 12895 DOMAIN_SCOPED_BROWSER_ID_COOKIE_PARAM: m, 12896 DEFAULT_FBC_PARAMS: o, 12897 DEFAULT_FBC_PARAM_CONFIG: p, 12898 DEFAULT_ENABLE_FBC_PARAM_SPLIT: q, 12899 MULTI_CLICKTHROUGH_COOKIE_PARAM: j, 12900 NINETY_DAYS_IN_MS: e, 12901 }; 12902 })(); 12903 return k.exports; 12904 })(a, b, c, d); 12905 }); 12906 f.ensureModuleRegistered('SignalsPixelPIIConstants', function () { 12907 return (function (g, h, i, j) { 12908 var k = { exports: {} }; 12909 k.exports; 12910 (function (a) { 12911 'use strict'; 12912 var b = f.getFbeventsModules('SignalsFBEventsUtils'), 12913 c = b.keys; 12914 b = b.map; 12915 var d = { 12916 ct: 'ct', 12917 city: 'ct', 12918 dob: 'db', 12919 dobd: 'dobd', 12920 dobm: 'dobm', 12921 doby: 'doby', 12922 email: 'em', 12923 fn: 'fn', 12924 f_name: 'fn', 12925 gen: 'ge', 12926 ln: 'ln', 12927 l_name: 'ln', 12928 phone: 'ph', 12929 st: 'st', 12930 state: 'st', 12931 zip: 'zp', 12932 zip_code: 'zp', 12933 pn: 'ph', 12934 primaryPhone: 'ph', 12935 user_email: 'em', 12936 eMailAddress: 'em', 12937 email_sha256: 'em', 12938 email_paypal: 'em', 12939 consent_global_email_nl: 'em', 12940 consent_global_email_drip: 'em', 12941 consent_fide_email_nl: 'em', 12942 consent_fide_email_drip: 'em', 12943 bd: 'db', 12944 birthday: 'db', 12945 dOB: 'db', 12946 }, 12947 e = { 12948 em: [ 12949 'email', 12950 'email_address', 12951 'emailaddress', 12952 'user_email', 12953 'consent_global_email_nl', 12954 'consent_global_email_drip', 12955 'consent_fide_email_nl', 12956 'consent_fide_email_drip', 12957 'email_sha256', 12958 'email_paypal', 12959 ], 12960 ph: ['primaryphone', 'primary_phone', 'pn', 'phone', 'phone_number', 'tel', 'mobile'], 12961 ln: ['lastname', 'last_name', 'surname', 'lastnameeng'], 12962 fn: [ 12963 'f_name', 12964 'firstname', 12965 'first_name', 12966 'firstnameeng', 12967 'name', 12968 'profile_name', 12969 'account_name', 12970 'fbq_custom_name', 12971 ], 12972 ge: ['gender', 'gen', '$gender'], 12973 db: ['dob', 'bd', 'birthday', 'd0b'], 12974 ct: ['city', '$city'], 12975 st: ['state', '$state'], 12976 zp: ['zipcode', 'zip_code', 'zip', 'postcode', 'post_code'], 12977 }, 12978 g = { 12979 CITY: ['city'], 12980 DATE: ['date', 'dt', 'day', 'dobd'], 12981 DOB: ['birth', 'bday', 'bdate', 'bmonth', 'byear', 'dob'], 12982 FEMALE: ['female', 'girl', 'woman'], 12983 FIRST_NAME: ['firstname', 'fn', 'fname', 'givenname', 'forename'], 12984 GENDER_FIELDS: ['gender', 'gen', 'sex'], 12985 GENDER_VALUES: ['male', 'boy', 'man', 'female', 'girl', 'woman'], 12986 LAST_NAME: ['lastname', 'ln', 'lname', 'surname', 'sname', 'familyname'], 12987 MALE: ['male', 'boy', 'man'], 12988 MONTH: ['month', 'mo', 'mnth', 'dobm'], 12989 NAME: ['name', 'fullname'], 12990 PHONE_NUMBER: ['phone', 'mobile', 'contact'], 12991 RESTRICTED: [ 12992 'ssn', 12993 'unique', 12994 'cc', 12995 'card', 12996 'cvv', 12997 'cvc', 12998 'cvn', 12999 'creditcard', 13000 'billing', 13001 'security', 13002 'social', 13003 'pass', 13004 ], 13005 STATE: ['state', 'province'], 13006 USERNAME: ['username'], 13007 YEAR: ['year', 'yr', 'doby'], 13008 ZIP_CODE: ['zip', 'zcode', 'pincode', 'pcode', 'postalcode', 'postcode'], 13009 }, 13010 h = { 13011 alabama: 'al', 13012 alaska: 'ak', 13013 arizona: 'az', 13014 arkansas: 'ar', 13015 california: 'ca', 13016 colorado: 'co', 13017 connecticut: 'ct', 13018 delaware: 'de', 13019 florida: 'fl', 13020 georgia: 'ga', 13021 hawaii: 'hi', 13022 idaho: 'id', 13023 illinois: 'il', 13024 indiana: 'in', 13025 iowa: 'ia', 13026 kansas: 'ks', 13027 kentucky: 'ky', 13028 louisiana: 'la', 13029 maine: 'me', 13030 maryland: 'md', 13031 massachusetts: 'ma', 13032 michigan: 'mi', 13033 minnesota: 'mn', 13034 mississippi: 'ms', 13035 missouri: 'mo', 13036 montana: 'mt', 13037 nebraska: 'ne', 13038 nevada: 'nv', 13039 newhampshire: 'nh', 13040 newjersey: 'nj', 13041 newmexico: 'nm', 13042 newyork: 'ny',
13043 northcarolina: 'nc', 13044 northdakota: 'nd', 13045 ohio: 'oh', 13046 oklahoma: 'ok', 13047 oregon: 'or', 13048 pennsylvania: 'pa', 13049 rhodeisland: 'ri', 13050 southcarolina: 'sc', 13051 southdakota: 'sd', 13052 tennessee: 'tn', 13053 texas: 'tx', 13054 utah: 'ut', 13055 vermont: 'vt', 13056 virginia: 'va', 13057 washington: 'wa', 13058 westvirginia: 'wv', 13059 wisconsin: 'wi', 13060 wyoming: 'wy', 13061 }, 13062 i = { 13063 ontario: 'on', 13064 quebec: 'qc', 13065 britishcolumbia: 'bc', 13066 alberta: 'ab', 13067 saskatchewan: 'sk', 13068 manitoba: 'mb', 13069 novascotia: 'ns', 13070 newbrunswick: 'nb', 13071 princeedwardisland: 'pe', 13072 newfoundlandandlabrador: 'nl', 13073 yukon: 'yt', 13074 northwestterritories: 'nt', 13075 nunavut: 'nu', 13076 }; 13077 i = v(v({}, i), h); 13078 h = 13079 ((a = { 13080 unitedstates: 'us', 13081 usa: 'us', 13082 ind: 'in', 13083 afghanistan: 'af', 13084 alandislands: 'ax', 13085 albania: 'al', 13086 algeria: 'dz', 13087 americansamoa: 'as', 13088 andorra: 'ad', 13089 angola: 'ao', 13090 anguilla: 'ai', 13091 antarctica: 'aq', 13092 antiguaandbarbuda: 'ag', 13093 argentina: 'ar', 13094 armenia: 'am', 13095 aruba: 'aw', 13096 australia: 'au', 13097 austria: 'at', 13098 azerbaijan: 'az', 13099 bahamas: 'bs', 13100 bahrain: 'bh', 13101 bangladesh: 'bd', 13102 barbados: 'bb', 13103 belarus: 'by', 13104 belgium: 'be', 13105 belize: 'bz', 13106 benin: 'bj', 13107 bermuda: 'bm', 13108 bhutan: 'bt', 13109 boliviaplurinationalstateof: 'bo', 13110 bolivia: 'bo', 13111 bonairesinteustatinsandsaba: 'bq', 13112 bosniaandherzegovina: 'ba', 13113 botswana: 'bw', 13114 bouvetisland: 'bv', 13115 brazil: 'br', 13116 britishindianoceanterritory: 'io', 13117 bruneidarussalam: 'bn', 13118 brunei: 'bn', 13119 bulgaria: 'bg', 13120 burkinafaso: 'bf', 13121 burundi: 'bi', 13122 cambodia: 'kh', 13123 cameroon: 'cm', 13124 canada: 'ca', 13125 capeverde: 'cv', 13126 caymanislands: 'ky', 13127 centralafricanrepublic: 'cf', 13128 chad: 'td', 13129 chile: 'cl', 13130 china: 'cn', 13131 christmasisland: 'cx', 13132 cocoskeelingislands: 'cc', 13133 colombia: 'co', 13134 comoros: 'km', 13135 congo: 'cg', 13136 congothedemocraticrepublicofthe: 'cd', 13137 democraticrepublicofthecongo: 'cd', 13138 cookislands: 'ck', 13139 costarica: 'cr', 13140 cotedivoire: 'ci', 13141 ivorycoast: 'ci', 13142 croatia: 'hr', 13143 cuba: 'cu', 13144 curacao: 'cw', 13145 cyprus: 'cy', 13146 czechrepublic: 'cz', 13147 denmark: 'dk', 13148 djibouti: 'dj', 13149 dominica: 'dm', 13150 dominicanrepublic: 'do', 13151 ecuador: 'ec', 13152 egypt: 'eg', 13153 elsalvador: 'sv', 13154 equatorialguinea: 'gq', 13155 eritrea: 'er', 13156 estonia: 'ee', 13157 ethiopia: 'et', 13158 falklandislandsmalvinas: 'fk', 13159 faroeislands: 'fo', 13160 fiji: 'fj', 13161 finland: 'fi', 13162 france: 'fr', 13163 frenchguiana: 'gf', 13164 frenchpolynesia: 'pf', 13165 frenchsouthernterritories: 'tf', 13166 gabon: 'ga', 13167 gambia: 'gm', 13168 georgia: 'ge', 13169 germany: 'de', 13170 ghana: 'gh', 13171 gibraltar: 'gi', 13172 greece: 'gr', 13173 greenland: 'gl', 13174 grenada: 'gd', 13175 guadeloupe: 'gp', 13176 guam: 'gu', 13177 guatemala: 'gt', 13178 guernsey: 'gg', 13179 guinea: 'gn', 13180 guineabissau: 'gw', 13181 guyana: 'gy', 13182 haiti: 'ht', 13183 heardislandandmcdonaldislands: 'hm',
13184 holyseevaticancitystate: 'va', 13185 vatican: 'va', 13186 honduras: 'hn', 13187 hongkong: 'hk', 13188 hungary: 'hu', 13189 iceland: 'is', 13190 india: 'in', 13191 indonesia: 'id', 13192 iranislamicrepublicof: 'ir', 13193 iran: 'ir', 13194 iraq: 'iq', 13195 ireland: 'ie', 13196 isleofman: 'im', 13197 israel: 'il', 13198 italy: 'it', 13199 jamaica: 'jm', 13200 japan: 'jp', 13201 jersey: 'je', 13202 jordan: 'jo', 13203 kazakhstan: 'kz', 13204 kenya: 'ke', 13205 kiribati: 'ki', 13206 koreademocraticpeoplesrepublicof: 'kp', 13207 northkorea: 'kp', 13208 korearepublicof: 'kr', 13209 southkorea: 'kr', 13210 kuwait: 'kw', 13211 kyrgyzstan: 'kg', 13212 laopeoplesdemocraticrepublic: 'la', 13213 laos: 'la', 13214 latvia: 'lv', 13215 lebanon: 'lb', 13216 lesotho: 'ls', 13217 liberia: 'lr', 13218 libya: 'ly', 13219 liechtenstein: 'li', 13220 lithuania: 'lt', 13221 luxembourg: 'lu', 13222 macao: 'mo', 13223 macedoniatheformeryugoslavrepublicof: 'mk', 13224 macedonia: 'mk', 13225 madagascar: 'mg', 13226 malawi: 'mw', 13227 malaysia: 'my', 13228 maldives: 'mv', 13229 mali: 'ml', 13230 malta: 'mt', 13231 marshallislands: 'mh', 13232 martinique: 'mq', 13233 mauritania: 'mr', 13234 mauritius: 'mu', 13235 mayotte: 'yt', 13236 mexico: 'mx', 13237 micronesiafederatedstatesof: 'fm', 13238 micronesia: 'fm', 13239 moldovarepublicof: 'md', 13240 moldova: 'md', 13241 monaco: 'mc', 13242 mongolia: 'mn', 13243 montenegro: 'me', 13244 montserrat: 'ms', 13245 morocco: 'ma', 13246 mozambique: 'mz', 13247 myanmar: 'mm', 13248 namibia: 'na', 13249 nauru: 'nr', 13250 nepal: 'np', 13251 netherlands: 'nl', 13252 newcaledonia: 'nc', 13253 newzealand: 'nz', 13254 nicaragua: 'ni', 13255 niger: 'ne', 13256 nigeria: 'ng', 13257 niue: 'nu', 13258 norfolkisland: 'nf', 13259 northernmarianaislands: 'mp', 13260 norway: 'no', 13261 oman: 'om', 13262 pakistan: 'pk', 13263 palau: 'pw', 13264 palestinestateof: 'ps', 13265 palestine: 'ps', 13266 panama: 'pa', 13267 papuanewguinea: 'pg', 13268 paraguay: 'py', 13269 peru: 'pe', 13270 philippines: 'ph', 13271 pitcairn: 'pn', 13272 poland: 'pl', 13273 portugal: 'pt', 13274 puertorico: 'pr', 13275 qatar: 'qa', 13276 reunion: 're', 13277 romania: 'ro', 13278 russianfederation: 'ru', 13279 russia: 'ru', 13280 rwanda: 'rw', 13281 saintbarthelemy: 'bl', 13282 sainthelenaascensionandtristandacunha: 'sh', 13283 saintkittsandnevis: 'kn', 13284 saintlucia: 'lc', 13285 saintmartinfrenchpart: 'mf', 13286 saintpierreandmiquelon: 'pm', 13287 saintvincentandthegrenadines: 'vc', 13288 samoa: 'ws', 13289 sanmarino: 'sm', 13290 saotomeandprincipe: 'st', 13291 saudiarabia: 'sa', 13292 senegal: 'sn', 13293 serbia: 'rs', 13294 seychelles: 'sc', 13295 sierraleone: 'sl', 13296 singapore: 'sg', 13297 sintmaartenductchpart: 'sx', 13298 slovakia: 'sk', 13299 slovenia: 'si', 13300 solomonislands: 'sb', 13301 somalia: 'so', 13302 southafrica: 'za', 13303 southgeorgiaandthesouthsandwichislands: 'gs', 13304 southsudan: 'ss', 13305 spain: 'es', 13306 srilanka: 'lk', 13307 sudan: 'sd', 13308 suriname: 'sr', 13309 svalbardandjanmayen: 'sj', 13310 eswatini: 'sz', 13311 swaziland: 'sz', 13312 sweden: 'se', 13313 switzerland: 'ch', 13314 syrianarabrepublic: 'sy', 13315 syria: 'sy', 13316 taiwanprovinceofchina: 'tw', 13317 taiwan: 'tw', 13318 tajikistan: 'tj', 13319 tanzaniaunitedrepublicof: 'tz', 13320 tanzania: 'tz', 13321 thailand: 'th', 13322 timorleste: 'tl', 13323 easttimor: 'tl', 13324 togo: 'tg', 13325 tokelau: 'tk', 13326 tonga: 'to', 13327 trinidadandtobago: 'tt', 13328 tunisia: 'tn', 13329 turkey: 'tr', 13330 turkmenistan: 'tm', 13331 turksandcaicosislands: 'tc', 13332 tuvalu: 'tv', 13333 uganda: 'ug', 13334 ukraine: 'ua', 13335 unitedarabemirates: 'ae', 13336 unitedkingdom: 'gb', 13337 }), 13338 z( 13339 z( 13340 z( 13341 z( 13342 z( 13343 z( 13344 z( 13345 z( 13346 z(z(a, 'unitedstates', 'us'), 'unitedstatesofamer
13346ica', 'us'), 13347 'unitedstatesminoroutlyingislands', 13348 'um', 13349 ), 13350 'uruguay', 13351 'uy', 13352 ), 13353 'uzbekistan', 13354 'uz', 13355 ), 13356 'vanuatu', 13357 'vu', 13358 ), 13359 'venezuelabolivarianrepublicof', 13360 've', 13361 ), 13362 'venezuela', 13363 've', 13364 ), 13365 'vietnam', 13366 'vn', 13367 ), 13368 'virginislandsbritish', 13369 'vg', 13370 ), 13371 z( 13372 z( 13373 z(z(z(z(a, 'virginislandsus', 'vi'), 'wallisandfutuna', 'wf'), 'westernsahara', 'eh'), 'yemen', 'ye'), 13374 'zambia', 13375 'zm', 13376 ), 13377 'zimbabwe', 13378 'zw', 13379 )); 13380 a = /^\+?\d{1,4}[-.\s]?\(?\d{1,3}?\)?[-.\s]?\d{1,4}[-.\s]?\d{1,9}$/; 13381 var j = 13382 /^[\w!#\$%&\'\*\+\/\=\?\^`\{\|\}~\-]+(:?\.[\w!#\$%&\'\*\+\/\=\?\^`\{\|\}~\-]+)*@(?:[a-z0-9](?:[a-z0-9\-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9\-]*[a-z0-9])?$/i, 13383 l = /^\d{5}(?:[-\s]\d{4})?$/, 13384 m = Object.freeze({ US: '^\\d{5}$' }); 13385 b = b(c(m), function (a) { 13386 return m[a]; 13387 }); 13388 c = {}; 13389 c['^\\d{1,2}/\\d{1,2}/\\d{4}$'] = ['DD/MM/YYYY', 'MM/DD/YYYY']; 13390 c['^\\d{1,2}-\\d{1,2}-\\d{4}$'] = ['DD-MM-YYYY', 'MM-DD-YYYY']; 13391 c['^\\d{4}/\\d{1,2}/\\d{1,2}$'] = ['YYYY/MM/DD']; 13392 c['^\\d{4}-\\d{1,2}-\\d{1,2}$'] = ['YYYY-MM-DD']; 13393 c['^\\d{1,2}/\\d{1,2}/\\d{2}$'] = ['DD/MM/YY', 'MM/DD/YY']; 13394 c['^\\d{1,2}-\\d{1,2}-\\d{2}$'] = ['DD-MM-YY', 'MM-DD-YY']; 13395 c['^\\d{2}/\\d{1,2}/\\d{1,2}$'] = ['YY/MM/DD']; 13396 c['^\\d{2}-\\d{1,2}-\\d{1,2}$'] = ['YY-MM-DD']; 13397 var n = [ 13398 'MM-DD-YYYY', 13399 'MM/DD/YYYY', 13400 'DD-MM-YYYY', 13401 'DD/MM/YYYY', 13402 'YYYY-MM-DD', 13403 'YYYY/MM/DD', 13404 'MM-DD-YY', 13405 'MM/DD/YY', 13406 'DD-MM-YY', 13407 'DD/MM/YY', 13408 'YY-MM-DD', 13409 'YY/MM/DD', 13410 ]; 13411 k.exports = { 13412 COUNTRY_MAPPINGS: h, 13413 EMAIL_REGEX: j, 13414 PHONE_NUMBER_REGEX: a, 13415 POSSIBLE_FEATURE_FIELDS: g, 13416 PII_KEY_ALIAS_TO_SHORT_CODE: d, 13417 SIGNALS_FBEVENTS_DATE_FORMATS: n, 13418 VALID_DATE_REGEX_FORMATS: c, 13419 ZIP_REGEX_VALUES: b, 13420 ZIP_CODE_REGEX: l, 13421 STATE_MAPPINGS: i, 13422 PII_KEYS_TO_ALIASES_EXPANDED: e, 13423 }; 13424 })(); 13425 return k.exports; 13426 })(a, b, c, d); 13427 }); 13428 f.ensureModuleRegistered('SignalsPixelPIIUtils', function () { 13429 return (function (g, h, i, j) { 13430 var k = { exports: {} }; 13431 k.exports; 13432 (function () { 13433 'use strict'; 13434 var a = f.getFbeventsModules('SignalsFBEventsCensor'), 13435 b = a.censorPII, 13436 c = f.getFbeventsModules('SignalsFBEventsNormalizers'), 13437 d = f.getFbeventsModules('SignalsFBEventsPixelPIISchema'); 13438 a = f.getFbeventsModules('SignalsFBEventsUtils'); 13439 var e = f.getFbeventsModules('SignalsFBEventsGuardrail'), 13440 g = f.getFbeventsModules('normalizeSignalsFBEventsEmailType'), 13441 h = f.getFbeventsModules('normalizeSignalsFBEventsPostalCodeType'), 13442 i = f.getFbeventsModules('normalizeSignalsFBEventsPhoneNumberType'), 13443 j = f.getFbeventsModules('normalizeSignalsFBEventsStringType'), 13444 l = j.normalizeName, 13445 m = j.normalizeCity, 13446 n = j.normalizeState; 13447 j = f.getFbeventsModules('SignalsPixelPIIConstants'); 13448 var o = j.EMAIL_REGEX, 13449 p = j.POSSIBLE_FEATURE_FIELDS, 13450 q = j.PII_KEY_ALIAS_TO_SHORT_CODE, 13451 r = j.ZIP_REGEX_VALUES, 13452 s = j.ZIP_CODE_REGEX, 13453 t = j.PHONE_NUMBER_REGEX, 13454 u = a.some, 13455 w = a.stringIncludes; 13456 function x(a) { 13457 var b = a.id, 13458 c = a.keyword, 13459 d = a.name, 13460 e = a.placeholder; 13461 a = a.value; 13462 return c.length > 2 ? w(d, c) || w(b, c) || w(e, c) || w(a, c) : d === c || b === c || e === c || a === c; 13463 } 13464 function y(a) { 13465 var b = a.id, 13466 c = a.keywords, 13467 d = a.name, 13468 e = a.placeholder, 13469 f = a.value; 13470 return u(c, function (a) { 13471 return x({ id: b, keyword: a, name: d, placeholder: e, value: f }); 13472 }); 13473 } 13474 function z(a) { 13475 return a != null && typeof a === 'string' && o.test(a); 13476 } 13477 function A(a) { 13478 a = a; 13479 typeof a === 'number' && typeof a.toString === 'function' && (a = a.toString()); 13480 return a != null && typeof a === 'string' && a.length > 6 && t.test(a); 13481 } 13482 function B(a) { 13483 a = a; 13484 typeof a === 'number' && typeof a.toString === 'function' && (a = a.toString()); 13485 return a != null && typeof a === 'string' && s.test(a); 13486 } 13487 function C(a) { 13488 var b = a.value, 13489 c = a.parentElement; 13490 a = a.previousElementSibling; 13491 var d = null; 13492 a instanceof HTMLInputElement ? (d = a.value) : a instanceof HTMLTextAreaElement && (d = a.value); 13493 if (d == null || typeof d !== 'string') return null; 13494 if (c == null) return null; 13495 a = c.innerText != null ? c.innerText : c.textContent; 13496 if (a == null || a.indexOf('@') < 0) return null; 13497 c = ''.concat(d, '@').concat(b); 13498 return !o.test(c) ? null : c; 13499 } 13500 function D(a, b) { 13501 var c = a.name, 13502 d = a.id, 13503 e = a.placeholder; 13504 a = a.value; 13505 return ( 13506 (b === 'tel' && !(a.length <= 6 && p.ZIP_CODE.includes(d))) || 13507 y({ id: d, keywords: p.PHONE_NUMBER, name: c, placeholder: e }) 13508 ); 13509 } 13510 function E(a) { 13511 var b = a.name, 13512 c = a.id; 13513 a = a.placeholder; 13514 return y({ id: c, keywords: p.FIRST_NAME, name: b, placeholder: a }); 13515 } 13516 function F(a) { 13517 var b = a.name, 13518 c = a.id; 13519 a = a.placeholder; 13520 return y({ id: c, keywords: p.LAST_NAME, name: b, placeholder: a }); 13521 } 13522 function G(a) { 13523 var b = a.name, 13524 c = a.id; 13525 a = a.placeholder; 13526 return ( 13527 y({ id: c, keywords: p.NAME, name: b, placeholder: a }) && 13528 !y({ id: c, keywords: p.USERNAME, name: b, placeholder: a }) 13529 ); 13530 } 13531 function H(a) { 13532 var b = a.name, 13533 c = a.id; 13534 a = a.placeholder; 13535 return y({ id: c, keywords: p.CITY, name: b, placeholder: a }); 13536 } 13537 function I(a) { 13538 var b = a.name, 13539 c = a.id; 13540 a = a.placeholder; 13541 return y({ id: c, keywords: p.STATE, name: b, placeholder: a }); 13542 } 13543 function J(a, b, c) { 13544 var d = a.name, 13545 e = a.id, 13546 f = a.placeholder; 13547 a = a.value; 13548 if ((b === 'checkbox' || b === 'radio') && c === !0) 13549 return y({ id: e, keywords: p.GENDER_VALUES, name: d, placeholder: f, value: a }); 13550 else if (b === 'text') return y({ id: e, keywords: p.GENDER_FIELDS, name: d, placeholder: f }); 13551 return !1; 13552 } 13553 function K(a, b) { 13554 var c = a.name; 13555 a = a.id; 13556 return ( 13557 (b !== '' && 13558 u(r, function (a) { 13559 a = b.match(String(a)); 13560 return a != null && a[0] === b; 13561 })) || 13562 y({ id: a, keywords: p.ZIP_CODE, name: c }) 13563 ); 13564 } 13565 function L(a) { 13566 var b = a.name; 13567 a = a.id; 13568 return y({ id: a, keywords: p.RESTRICTED, name: b }); 13569 } 13570 function M(a) { 13571 return a.trim().toLowerCase().replace(/[_-]/g, ''); 13572 } 13573 function N(a) { 13574 return a.trim().toLowerCase(); 13575 } 13576 function O(a) { 13577 if ( 13578 u(p.MALE, function (b) { 13579 return b === a; 13580 }) 13581 ) 13582 return 'm'; 13583 else if ( 13584 u(p.FEMALE, function (b) { 13585 return b === a; 13586 }) 13587 ) 13588 return 'f'; 13589 return ''; 13590 } 13591 function P(a) { 13592 return q[a] !== void 0 ? q[a] : a; 13593 } 13594 function aa(a, b) { 13595 var e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1, 13596 f = P(a), 13597 g = d[f]; 13598 (g == null || g.length === 0) && (g = d['default']); 13599 var h = c[g.type]; 13600 if (h == null) return null; 13601 var i = h(b, g.typeParams, e); 13602 return i != null && i !== '' ? i : null; 13603 } 13604 function Q(a, c) { 13605 var d = c.value, 13606 f = c instanceof HTMLInputElement && c.checked === !0, 13607 j = a.name, 13608 k = a.id, 13609 o = a.inputType; 13610 a = a.placeholder; 13611 j = { id: M(j), name: M(k), placeholder: (a != null && M(a)) || '', value: N(d) }; 13612 if (L(j) || o === 'password' || d === '' || d == null) return null; 13613 else if (z(j.value)) 13614 return { 13615 normalized: { em: g(j.value) }, 13616 alternateNormalized: { em: g(j.value) }, 13617 rawCensored: e.eval('send_censored_em') ? { em: b(d) } : {}, 13618 }; 13619 else if (C(c) != null) 13620 return { 13621 normalized: { em: g(C(c)) }, 13622 alternateNormalized: { em: g(C(c)) }, 13623 rawCensored: e.eval('send_censored_em') ? { em: b(d) } : {}, 13624 }; 13625 else if (E(j)) 13626 return { 13627 normalized: { fn: l(j.value) }, 13628 alternateNormalized: { fn: l(j.value) }, 13629 rawCensored: e.eval('send_censored_ph') ? { fn: b(d) } : {}, 13630 }; 13631 else if (F(j)) 13632 return { 13633 normalized: { ln: l(j.value) }, 13634 alternateNormalized: { ln: l(j.value) }, 13635 rawCensored: e.eval('send_censored_ph') ? { ln: b(d) } : {}, 13636 }; 13637 else if (D(j, o)) 13638 return { 13639 normalized: { ph: i(j.value) }, 13640 alternateNormalized: { ph: i(j.value, null, !0) }, 13641 rawCensored: e.eval('send_censored_ph') ? { ph: b(j.value) } : {}, 13642 }; 13643 else if (G(j)) { 13644 k = d.split(' '); 13645 a = k[0]; 13646 k.shift(); 13647 c = k.join(' '); 13648 k = j.value.split(' '); 13649 var p = { fn: l(k[0]) }; 13650 k.shift(); 13651 k = { ln: l(k.join(' ')) }; 13652 return {
13653 normalized: v(v({}, p), k), 13654 alternateNormalized: v(v({}, p), k), 13655 rawCensored: e.eval('send_censored_ph') ? { fn: b(a), ln: b(c) } : {}, 13656 }; 13657 } else if (H(j)) 13658 return { 13659 normalized: { ct: m(j.value) }, 13660 alternateNormalized: { ct: m(j.value) }, 13661 rawCensored: { ct: b(d) }, 13662 }; 13663 else if (I(j)) 13664 return { 13665 normalized: { st: n(j.value) }, 13666 alternateNormalized: { st: n(j.value, null, !0) }, 13667 rawCensored: e.eval('send_censored_ph') ? { st: b(d) } : {}, 13668 }; 13669 else if (o != null && J(j, o, f)) 13670 return { 13671 normalized: { ge: O(j.value) }, 13672 alternateNormalized: { ge: O(j.value) }, 13673 rawCensored: e.eval('send_censored_ph') ? { ge: b(d) } : {}, 13674 }; 13675 else if (K(j, d)) 13676 return { 13677 normalized: { zp: h(j.value) }, 13678 alternateNormalized: { zp: h(j.value) }, 13679 rawCensored: e.eval('send_censored_ph') ? { zp: b(d) } : {}, 13680 }; 13681 return null; 13682 } 13683 k.exports = { 13684 extractPIIFields: Q, 13685 getNormalizedPIIKey: P, 13686 getNormalizedPIIValue: aa, 13687 isEmail: z, 13688 getGenderCharacter: O, 13689 isPhoneNumber: A, 13690 isZipCode: B, 13691 }; 13692 })(); 13693 return k.exports; 13694 })(a, b, c, d); 13695 }); 13696 f.ensureModuleRegistered('SignalsFBEvents.plugins.commonincludes', function () { 13697 return (function (g, h, i, j) { 13698 var k = { exports: {} }; 13699 k.exports; 13700 (function () { 13701 'use strict'; 13702 var a = f.getFbeventsModules('SignalsFBEventsPlugin'); 13703 k.exports = new a(function (a, b) {}); 13704 })(); 13705 return k.exports; 13706 })(a, b, c, d); 13707 }); 13708 e.exports = f.getFbeventsModules('SignalsFBEvents.plugins.commonincludes'); 13709 f.registerPlugin && f.registerPlugin('fbevents.plugins.commonincludes', e.exports); 13710 f.ensureModuleRegistered('fbevents.plugins.commonincludes', function () { 13711 return e.exports; 13712 }); 13713 })(); 13714})(window, document, location, history); 13715(function (a, b, c, d) { 13716 var e = { exports: {} }; 13717 e.exports; 13718 (function () { 13719 var f = a.fbq; 13720 f.execStart = a.performance && a.performance.now && a.performance.now(); 13721 if ( 13722 !(function () { 13723 var b = a.postMessage || function () {}; 13724 if (!f) { 13725 b( 13726 { 13727 action: 'FB_LOG', 13728 logType: 'Facebook Pixel Error', 13729 logMessage: 'Pixel code is not installed correctly on this page', 13730 }, 13731 '*', 13732 ); 13733 'error' in console && 13734 console.error('Facebook Pixel Error: Pixel code is not installed correctly on this page'); 13735 return !1; 13736 } 13737 return !0; 13738 })() 13739 ) 13740 return; 13741 function g(a) { 13742 return ( 13743 (g = 13744 'function' == typeof Symbol && 13745 'symbol' == typeof (typeof Symbol === 'function' ? Symbol.iterator : '@@iterator') 13746 ? function (a) { 13747 return typeof a; 13748 } 13749 : function (a) { 13750 return a && 13751 'function' == typeof Symbol && 13752 a.constructor === Symbol && 13753 a !== (typeof Symbol === 'function' ? Symbol.prototype : '@@prototype') 13754 ? 'symbol' 13755 : typeof a; 13756 }), 13757 g(a) 13758 ); 13759 } 13760 function h(a, b) { 13761 for (var c = 0; c < b.length; c++) { 13762 var d = b[c]; 13763 ((d.enumerable = d.enumerable || !1), 13764 (d.configurable = !0), 13765 'value' in d && (d.writable = !0), 13766 Object.defineProperty(a, j(d.key), d)); 13767 } 13768 } 13769 function i(a, b, c) { 13770 return (b && h(a.prototype, b), c && h(a, c), Object.defineProperty(a, 'prototype', { writable: !1 }), a); 13771 } 13772 function j(a) { 13773 a = k(a, 'string'); 13774 return 'symbol' == g(a) ? a : a + ''; 13775 } 13776 function k(a, b) { 13777 if ('object' != g(a) || !a) return a; 13778 var c = a[typeof Symbol === 'function' ? Symbol.toPrimitive : '@@toPrimitive']; 13779 if (void 0 !== c) { 13780 c = c.call(a, b || 'default'); 13781 if ('object' != g(c)) return c; 13782 throw new TypeError('@@toPrimitive must return a primitive value.'); 13783 } 13784 return ('string' === b ? String : Number)(a); 13785 } 13786 function l(a, b) { 13787 if (!(a instanceof b)) throw new TypeError('Cannot call a class as a function'); 13788 } 13789 function m(a, b, c) { 13790 return ((b = q(b)), n(a, p() ? Reflect.construct(b, c || [], q(a).constructor) : b.apply(a, c))); 13791 } 13792 function n(a, b) { 13793 if (b && ('object' == g(b) || 'function' == typeof b)) return b; 13794 if (void 0 !== b) throw new TypeError('Derived constructors may only return object or undefined'); 13795 return o(a); 13796 } 13797 function o(a) { 13798 if (void 0 === a) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); 13799 return a; 13800 } 13801 function p() {
13802 try { 13803 var a = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); 13804 } catch (a) {} 13805 return (p = function () { 13806 return !!a; 13807 })(); 13808 } 13809 function q(a) { 13810 return ( 13811 (q = Object.setPrototypeOf 13812 ? Object.getPrototypeOf.bind() 13813 : function (a) { 13814 return a.__proto__ || Object.getPrototypeOf(a); 13815 }), 13816 q(a) 13817 ); 13818 } 13819 function r(a, b) { 13820 if ('function' != typeof b && null !== b) 13821 throw new TypeError('Super expression must either be null or a function'); 13822 ((a.prototype = Object.create(b && b.prototype, { constructor: { value: a, writable: !0, configurable: !0 } })), 13823 Object.defineProperty(a, 'prototype', { writable: !1 }), 13824 b && s(a, b)); 13825 } 13826 function s(a, b) { 13827 return ( 13828 (s = Object.setPrototypeOf 13829 ? Object.setPrototypeOf.bind() 13830 : function (a, b) { 13831 return ((a.__proto__ = b), a); 13832 }), 13833 s(a, b) 13834 ); 13835 } 13836 function t(a, b) { 13837 return y(a) || x(a, b) || v(a, b) || u(); 13838 } 13839 function u() { 13840 throw new TypeError( 13841 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.', 13842 ); 13843 } 13844 function v(a, b) { 13845 if (a) { 13846 if ('string' == typeof a) return w(a, b); 13847 var c = {}.toString.call(a).slice(8, -1); 13848 return ( 13849 'Object' === c && a.constructor && (c = a.constructor.name), 13850 'Map' === c || 'Set' === c 13851 ? Array.from(a) 13852 : 'Arguments' === c || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c) 13853 ? w(a, b) 13854 : void 0 13855 ); 13856 } 13857 } 13858 function w(a, b) { 13859 (null == b || b > a.length) && (b = a.length); 13860 for (var c = 0, d = Array(b); c < b; c++) d[c] = a[c]; 13861 return d; 13862 } 13863 function x(a, b) { 13864 var c = 13865 null == a 13866 ? null 13867 : ('undefined' != typeof Symbol && a[typeof Symbol === 'function' ? Symbol.iterator : '@@iterator']) || 13868 a['@@iterator']; 13869 if (null != c) { 13870 var d, 13871 e, 13872 f = [], 13873 g = !0, 13874 h = !1; 13875 try { 13876 if (((a = (c = c.call(a)).next), 0 === b)) { 13877 if (Object(c) !== c) return; 13878 g = !1; 13879 } else for (; !(g = (d = a.call(c)).done) && (f.push(d.value), f.length !== b); g = !0); 13880 } catch (a) { 13881 ((h = !0), (e = a)); 13882 } finally { 13883 try { 13884 if (!g && null != c['return'] && ((d = c['return']()), Object(d) !== d)) return; 13885 } finally { 13886 if (h) throw e; 13887 } 13888 } 13889 return f; 13890 } 13891 } 13892 function y(a) { 13893 if (Array.isArray(a)) return a; 13894 } 13895 f.__fbeventsModules || 13896 ((f.__fbeventsModules = {}), 13897 (f.__fbeventsResolvedModules = {}), 13898 (f.getFbeventsModules = function (a) { 13899 f.__fbeventsResolvedModules[a] || (f.__fbeventsResolvedModules[a] = f.__fbeventsModules[a]()); 13900 return f.__fbeventsResolvedModules[a]; 13901 }), 13902 (f.fbIsModuleLoaded = function (a) { 13903 return !!f.__fbeventsModules[a]; 13904 }), 13905 (f.ensureModuleRegistered = function (b, a) { 13906 f.fbIsModuleLoaded(b) || (f.__fbeventsModules[b] = a); 13907 })); 13908 f.ensureModuleRegistered('sha256_with_dependencies_new', function () { 13909 return (function (f, g, h, i) { 13910 var j = { exports: {} }; 13911 j.exports; 13912 (function () { 13913 'use strict'; 13914 function a(a) { 13915 var b = '', 13916 c, 13917 d; 13918 for (var e = 0; e < a.length; e++) 13919 ((c = a.charCodeAt(e)), 13920 (d = e + 1 < a.length ? a.charCodeAt(e + 1) : 0), 13921 c >= 55296 && 13922 c <= 56319 && 13923 d >= 56320 && 13924 d <= 57343 && 13925 ((c = 65536 + ((c & 1023) << 10) + (d & 1023)), e++), 13926 c <= 127 13927 ? (b += String.fromCharCode(c)) 13928 : c <= 2047 13929 ? (b += String.fromCharCode(192 | ((c >>> 6) & 31), 128 | (c & 63))) 13930 : c <= 65535 13931 ? (b += String.fromCharCode(224 | ((c >>> 12) & 15), 128 | ((c >>> 6) & 63), 128 | (c & 63))) 13932 : c <= 2097151 && 13933 (b += String.fromCharCode( 13934 240 | ((c >>> 18) & 7), 13935 128 | ((c >>> 12) & 63), 13936 128 | ((c >>> 6) & 63), 13937 128 | (c & 63), 13938 ))); 13939 return b; 13940 } 13941 function b(a, b) { 13942 return (b >>> a) | (b << (32 - a)); 13943 } 13944 function c(a, b, c) { 13945 return (a & b) ^ (~a & c); 13946 } 13947 function d(a, b, c) { 13948 return (a & b) ^ (a & c) ^ (b & c); 13949 } 13950 function e(a) { 13951 return b(2, a) ^ b(13, a) ^ b(22, a); 13952 } 13953 function f(a) { 13954 return b(6, a) ^ b(11, a) ^ b(25, a); 13955 }
13956 function g(a) { 13957 return b(7, a) ^ b(18, a) ^ (a >>> 3); 13958 } 13959 function h(a) { 13960 return b(17, a) ^ b(19, a) ^ (a >>> 10); 13961 } 13962 function i(a, b) { 13963 return (a[b & 15] += h(a[(b + 14) & 15]) + a[(b + 9) & 15] + g(a[(b + 1) & 15])); 13964 } 13965 var k = [ 13966 1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 13967 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 13968 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 13969 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 13970 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 13971 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 13972 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 13973 2756734187, 3204031479, 3329325298, 13974 ], 13975 l = new Array(8), 13976 m = new Array(2), 13977 n = new Array(64), 13978 o = new Array(16), 13979 p = '0123456789abcdef'; 13980 function q(a, b) { 13981 var c = (a & 65535) + (b & 65535); 13982 a = (a >> 16) + (b >> 16) + (c >> 16); 13983 return (a << 16) | (c & 65535); 13984 } 13985 function r() { 13986 ((m[0] = m[1] = 0), 13987 (l[0] = 1779033703), 13988 (l[1] = 3144134277), 13989 (l[2] = 1013904242), 13990 (l[3] = 2773480762), 13991 (l[4] = 1359893119), 13992 (l[5] = 2600822924), 13993 (l[6] = 528734635), 13994 (l[7] = 1541459225)); 13995 } 13996 function s() { 13997 var a, b, g, h, j, m, p, r, s, t; 13998 g = l[0]; 13999 h = l[1]; 14000 j = l[2]; 14001 m = l[3]; 14002 p = l[4]; 14003 r = l[5]; 14004 s = l[6]; 14005 t = l[7]; 14006 for (var u = 0; u < 16; u++) 14007 o[u] = n[(u << 2) + 3] | (n[(u << 2) + 2] << 8) | (n[(u << 2) + 1] << 16) | (n[u << 2] << 24); 14008 for (u = 0; u < 64; u++) 14009 ((a = t + f(p) + c(p, r, s) + k[u]), 14010 u < 16 ? (a += o[u]) : (a += i(o, u)), 14011 (b = e(g) + d(g, h, j)), 14012 (t = s), 14013 (s = r), 14014 (r = p), 14015 (p = q(m, a)), 14016 (m = j), 14017 (j = h), 14018 (h = g), 14019 (g = q(a, b))); 14020 l[0] += g; 14021 l[1] += h; 14022 l[2] += j; 14023 l[3] += m; 14024 l[4] += p; 14025 l[5] += r; 14026 l[6] += s; 14027 l[7] += t; 14028 } 14029 function t(a, b) { 14030 var c, 14031 d, 14032 e = 0; 14033 d = (m[0] >> 3) & 63; 14034 var f = b & 63; 14035 (m[0] += b << 3) < b << 3 && m[1]++; 14036 m[1] += b >> 29; 14037 for (c = 0; c + 63 < b; c += 64) { 14038 for (var g = d; g < 64; g++) n[g] = a.charCodeAt(e++); 14039 s(); 14040 d = 0; 14041 } 14042 for (g = 0; g < f; g++) n[g] = a.charCodeAt(e++); 14043 } 14044 function u() { 14045 var a = (m[0] >> 3) & 63; 14046 n[a++] = 128; 14047 if (a <= 56) for (var b = a; b < 56; b++) n[b] = 0; 14048 else { 14049 for (b = a; b < 64; b++) n[b] = 0; 14050 s(); 14051 for (a = 0; a < 56; a++) n[a] = 0; 14052 } 14053 n[56] = (m[1] >>> 24) & 255; 14054 n[57] = (m[1] >>> 16) & 255; 14055 n[58] = (m[1] >>> 8) & 255; 14056 n[59] = m[1] & 255; 14057 n[60] = (m[0] >>> 24) & 255; 14058 n[61] = (m[0] >>> 16) & 255; 14059 n[62] = (m[0] >>> 8) & 255; 14060 n[63] = m[0] & 255; 14061 s(); 14062 } 14063 function v() { 14064 var a = ''; 14065 for (var b = 0; b < 8; b++) for (var c = 28; c >= 0; c -= 4) a += p.charAt((l[b] >>> c) & 15); 14066 return a; 14067 } 14068 function w(a) { 14069 var b = 0; 14070 for (var c = 0; c < 8; c++) for (var d = 28; d >= 0; d -= 4) a[b++] = p.charCodeAt((l[c] >>> d) & 15); 14071 } 14072 function x(a, b) { 14073 r(); 14074 t(a, a.length); 14075 u(); 14076 if (b) w(b); 14077 else return v(); 14078 } 14079 function y(b) { 14080 var c = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, 14081 d = arguments.length > 2 ? arguments[2] : void 0; 14082 if (b === null || b === void 0) return null; 14083 var e = b; 14084 c && (e = a(b)); 14085 return x(e, d); 14086 } 14087 j.exports = y; 14088 })(); 14089 return j.exports; 14090 })(a, b, c, d); 14091 }); 14092 f.ensureModuleRegistered('SignalsFBEvents.plugins.identity', function () { 14093 return (function (g, h, j, k) { 14094 var n = { exports: {} }; 14095 n.exports; 14096 (function () { 14097 'use strict'; 14098 var a = f.getFbeventsModules('SignalsFBEventsCensor'), 14099 b = a.censorPII; 14100 a = f.getFbeventsModules('SignalsFBEventsLogging'); 14101 var c = a.logUserError; 14102 a = f.getFbeventsModules('SignalsFBEventsPlugin'); 14103 var d = f.getFbeventsModules('SignalsFBEventsUtils'); 14104 d = d.FBSet; 14105 var e = f.getFbeventsModules('SignalsPixelPIIUtils'), 14106 g = e.getNormalizedPIIKey, 14107 h = e.getNormalizedPIIValue, 14108 j = f.getFbeventsModules('sha256_with_dependencies_new'), 14109 k = /^[A-Fa-f0-9]{64}$|^[A-Fa-f0-9]{32}$/,
14110 o = 14111 /^[\w!#\$%&\'\*\+\/\=\?\^`\{\|\}~\-]+(:?\.[\w!#\$%&\'\*\+\/\=\?\^`\{\|\}~\-]+)*@(?:[a-z0-9](?:[a-z0-9\-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9\-]*[a-z0-9])?$/i; 14112 e = /^\s+|\s+$/g; 14113 Object.prototype.hasOwnProperty; 14114 var p = new d(['uid']); 14115 function q(a) { 14116 return !!a && o.test(a); 14117 } 14118 function s(a, b, d) { 14119 var e = g(a); 14120 if (b == null || b === '') return null; 14121 d = h(e, b, d); 14122 if (e === 'em' && !q(d)) { 14123 c({ key_type: 'email address', key_val: a, type: 'PII_INVALID_TYPE' }); 14124 throw new Error(); 14125 } 14126 return d != null && d != '' ? d : b; 14127 } 14128 function u(a, d) { 14129 if (d == null) return null; 14130 var e = /\[(.*)\]/.exec(a); 14131 if (e == null) throw new Error(); 14132 var f = !1; 14133 a.length > 0 && a[0] === 'a' && (f = !0); 14134 e = t(e, 2); 14135 e = e[1]; 14136 if (p.has(e)) { 14137 if (q(d)) { 14138 c({ key: a, type: 'PII_UNHASHED_PII' }); 14139 throw new Error(); 14140 } 14141 return { finalValue: d }; 14142 } 14143 if (k.test(d)) { 14144 a = d.toLowerCase(); 14145 return { finalValue: a, censoredFormat: b(a) }; 14146 } 14147 a = s(e, d, f); 14148 return a != null && a != '' ? { finalValue: j(a), censoredFormat: b(a) } : null; 14149 } 14150 e = (function (a) { 14151 function b(a) { 14152 var c; 14153 l(this, b); 14154 c = m(this, b, [ 14155 function (b) { 14156 b.piiTranslator = a; 14157 }, 14158 ]); 14159 c.piiTranslator = a; 14160 return c; 14161 } 14162 r(b, a); 14163 return i(b); 14164 })(a); 14165 d = new e(u); 14166 n.exports = d; 14167 })(); 14168 return n.exports; 14169 })(a, b, c, d); 14170 }); 14171 e.exports = f.getFbeventsModules('SignalsFBEvents.plugins.identity'); 14172 f.registerPlugin && f.registerPlugin('fbevents.plugins.identity', e.exports); 14173 f.ensureModuleRegistered('fbevents.plugins.identity', function () { 14174 return e.exports; 14175 }); 14176 })(); 14177})(window, document, location, history); 14178(function (a, b, c, d) { 14179 var e = { exports: {} }; 14180 e.exports; 14181 (function () { 14182 var f = a.fbq; 14183 f.execStart = a.performance && a.performance.now && a.performance.now(); 14184 if ( 14185 !(function () { 14186 var b = a.postMessage || function () {}; 14187 if (!f) { 14188 b( 14189 { 14190 action: 'FB_LOG', 14191 logType: 'Facebook Pixel Error', 14192 logMessage: 'Pixel code is not installed correctly on this page', 14193 }, 14194 '*', 14195 ); 14196 'error' in console && 14197 console.error('Facebook Pixel Error: Pixel code is not installed correctly on this page'); 14198 return !1; 14199 } 14200 return !0; 14201 })() 14202 ) 14203 return; 14204 f.__fbeventsModules || 14205 ((f.__fbeventsModules = {}), 14206 (f.__fbeventsResolvedModules = {}), 14207 (f.getFbeventsModules = function (a) { 14208 f.__fbeventsResolvedModules[a] || (f.__fbeventsResolvedModules[a] = f.__fbeventsModules[a]()); 14209 return f.__fbeventsResolvedModules[a]; 14210 }), 14211 (f.fbIsModuleLoaded = function (a) { 14212 return !!f.__fbeventsModules[a]; 14213 }), 14214 (f.ensureModuleRegistered = function (b, a) { 14215 f.fbIsModuleLoaded(b) || (f.__fbeventsModules[b] = a); 14216 })); 14217 f.ensureModuleRegistered('signalsFBEventsGetIsAndroid', function () { 14218 return (function (f, b, c, d) { 14219 var e = { exports: {} }; 14220 e.exports; 14221 (function () { 14222 'use strict'; 14223 var a = f.navigator; 14224 a = a.userAgent; 14225 var b = a.indexOf('Android') >= 0; 14226 function c() { 14227 return b; 14228 } 14229 e.exports = c; 14230 })(); 14231 return e.exports; 14232 })(a, b, c, d); 14233 }); 14234 f.ensureModuleRegistered('signalsFBEventsGetIsAndroidIAW', function () { 14235 return (function (a, b, c, d) { 14236 var e = { exports: {} }; 14237 e.exports; 14238 (function () { 14239 'use strict'; 14240 var b = f.getFbeventsModules('signalsFBEventsGetIsAndroid'), 14241 c = a.navigator; 14242 c = c.userAgent; 14243 var d = c.indexOf('FB_IAB') >= 0, 14244 g = c.indexOf('Instagram') >= 0, 14245 h = 0; 14246 c = c.match(/(FBAV|Instagram)[/\s](\d+)/); 14247 if (c != null) { 14248 c = c[0].match(/(\d+)/); 14249 c != null && (h = parseInt(c[0], 10)); 14250 } 14251 function i(a, c) { 14252 var e = b() && (d || g); 14253 if (!e) return !1; 14254 if (d && a != null) return a <= h; 14255 return g && c != null ? c <= h : e; 14256 } 14257 e.exports = i; 14258 })(); 14259 return e.exports; 14260 })(a, b, c, d); 14261 }); 14262 f.ensureModuleRegistered('signalsFBEventsGetIsMicrosoftEdge', function () { 14263 return (function (f, b, c, d) { 14264 var e = { exports: {} }; 14265 e.exports; 14266 (function () { 14267 'use strict'; 14268 var a = /EdgA?\//, 14269 b = 'Microsoft Edge', 14270 c = 'Google Inc.'; 14271 function d() { 14272 var d = f.chrome, 14273 e = f.navigator, 14274 g = e.vendor, 14275 h = a.test(e.userAgent); 14276 e = 14277 e.userAgentData !== void 0 14278 ? e.userAgentData.brands.some(function (a) { 14279 return a.brand === b; 14280 }) 14281 : !1; 14282 return d !== null && d !== void 0 && g === c && (h || e); 14283 } 14284 e.exports = d; 14285 })(); 14286 return e.exports; 14287 })(a, b, c, d); 14288 }); 14289 f.ensureModuleRegistered('SignalsFBEvents.plugins.privacysandbox', function () { 14290 return (function (a, b, c, d) { 14291 var e = { exports: {} }; 14292 e.exports; 14293 (function () { 14294 'use strict'; 14295 var a = f.getFbeventsModules('signalsFBEventsGetIsChrome'), 14296 c = f.getFbeventsModules('signalsFBEventsGetIsMicrosoftEdge'), 14297 d = f.getFbeventsModules('signalsFBEventsGetIsAndroidIAW'); 14298 f.getFbeventsModules('SignalsParamList'); 14299 var g = f.getFbeventsModules('SignalsFBEventsNetworkConfig'), 14300 h = g.GPS_ENDPOINT, 14301 i = f.getFbeventsModules('signalsFBEventsSendGET'), 14302 j = f.getFbeventsModules('SignalsFBEventsFiredEvent'); 14303 g = f.getFbeventsModules('SignalsFBEventsPlugin'); 14304 e.exports = new g(function (e, g) { 14305 if (!(a() || d() || c())) return; 14306 if (b.featurePolicy == null || !b.featurePolicy.allowsFeature('attribution-reporting')) return; 14307 j.listen(function (a, b) { 14308 a = b.get('id'); 14309 if (a == null) return; 14310 i(b, { ignoreRequestLengthCheck: !0, attributionReporting: !0, url: h }); 14311 }); 14312 }); 14313 })(); 14314 return e.exports; 14315 })(a, b, c, d); 14316 }); 14317 e.exports = f.getFbeventsModules('SignalsFBEvents.plugins.privacysandbox'); 14318 f.registerPlugin && f.registerPlugin('fbevents.plugins.privacysandbox', e.exports); 14319 f.ensureModuleRegistered('fbevents.plugins.privacysandbox', function () { 14320 return e.exports; 14321 }); 14322 })(); 14323})(window, document, location, history); 14324(function (a, b, c, d) { 14325 var e = { exports: {} }; 14326 e.exports; 14327 (function () { 14328 var f = a.fbq; 14329 f.execStart = a.performance && a.performance.now && a.performance.now(); 14330 if ( 14331 !(function () { 14332 var b = a.postMessage || function () {}; 14333 if (!f) { 14334 b( 14335 { 14336 action: 'FB_LOG', 14337 logType: 'Facebook Pixel Error', 14338 logMessage: 'Pixel code is not installed correctly on this page', 14339 }, 14340 '*', 14341 ); 14342 'error' in console && 14343 console.error('Facebook Pixel Error: Pixel code is not installed correctly on this page'); 14344 return !1; 14345 } 14346 return !0; 14347 })() 14348 ) 14349 return; 14350 f.__fbeventsModules || 14351 ((f.__fbeventsModules = {}), 14352 (f.__fbeventsResolvedModules = {}), 14353 (f.getFbeventsModules = function (a) { 14354 f.__fbeventsResolvedModules[a] || (f.__fbeventsResolvedModules[a] = f.__fbeventsModules[a]()); 14355 return f.__fbeventsResolvedModules[a]; 14356 }), 14357 (f.fbIsModuleLoaded = function (a) { 14358 return !!f.__fbeventsModules[a]; 14359 }), 14360 (f.ensureModuleRegistered = function (b, a) { 14361 f.fbIsModuleLoaded(b) || (f.__fbeventsModules[b] = a); 14362 })); 14363 f.ensureModuleRegistered('signalsFBEventsGetIwlUrl', function () { 14364 return (function (a, b, c, d) { 14365 var e = { exports: {} }; 14366 e.exports; 14367 (function () { 14368 'use strict'; 14369 var b = f.getFbeventsModules('signalsFBEventsGetTier'), 14370 c = d(); 14371 function d() { 14372 try { 14373 if (a.trustedTypes && a.trustedTypes.createPolicy) { 14374 var b = a.trustedTypes; 14375 return b.createPolicy('facebook.com/signals/iwl', { 14376 createScriptURL: function (b) { 14377 var c = typeof a.URL === 'function' ? a.URL : a.webkitURL; 14378 c = new c(b); 14379 c = c.hostname.endsWith('.facebook.com') && c.pathname == '/signals/iwl.js'; 14380 if (!c) throw new Error('Disallowed script URL'); 14381 return b; 14382 }, 14383 }); 14384 } 14385 } catch (a) {} 14386 return null; 14387 } 14388 e.exports = function (a, d, e) { 14389 d = b(d); 14390 d = d == null ? 'www.facebook.com' : 'www.'.concat(d, '.facebook.com'); 14391 d = 'https://'.concat(d, '/signals/iwl.js?pixel_id=').concat(a, '&access_token=').concat(e); 14392 if (c != null) return c.createScriptURL(d); 14393 else return d; 14394 }; 14395 })(); 14396 return e.exports; 14397 })(a, b, c, d); 14398 }); 14399 f.ensureModuleRegistered('signalsFBEventsGetTier', function () { 14400 return (function (f, b, c, d) { 14401 var e = { exports: {} }; 14402 e.exports; 14403 (function () { 14404 'use strict'; 14405 var a = /^https:\/\/www\.([A-Za-z0-9\.]+)\.facebook\.com\/tr\/?$/, 14406 b = ['https://www.facebook.com/tr', 'https://www.facebook.com/tr/']; 14407 e.exports = function (c) { 14408 if (b.indexOf(c) !== -1) return null; 14409 var d = a.exec(c); 14410 if (d == null) throw new Error('Malformed tier: '.concat(c)); 14411 return d[1]; 14412 }; 14413 })(); 14414 return e.exports; 14415 })(a, b, c, d); 14416 }); 14417 f.ensureModuleRegistered('SignalsFBEvents.plugins.iwlbootstrapper', function () { 14418 return (function (a, b, c, d) { 14419 var e = { exports: {} }; 14420 e.exports; 14421 (function () { 14422 'use strict'; 14423 var c = f.getFbeventsModules('SignalsFBEventsIWLBootStrapEvent'), 14424 d = f.getFbeventsModules('SignalsFBEventsLogging'), 14425 g = f.getFbeventsModules('SignalsFBEventsNetworkConfig'), 14426 h = f.getFbeventsModules('SignalsFBEventsPlugin'), 14427 i = f.getFbeventsModules('signalsFBEventsGetIwlUrl'), 14428 j = f.getFbeventsModules('signalsFBEventsGetTier'), 14429 k = d.logUserError, 14430 l = /^https:\/\/.*\.facebook\.com$/i, 14431 m = 'FACEBOOK_IWL_CONFIG_STORAGE_KEY', 14432 n = null; 14433 e.exports = new h(function (d, e) { 14434 try { 14435 n = a.sessionStorage 14436 ? a.sessionStorage 14437 : { 14438 getItem: function (a) { 14439 return null; 14440 }, 14441 removeItem: function (a) {}, 14442 setItem: function (a, b) {}, 14443 }; 14444 } catch (a) { 14445 return; 14446 } 14447 function h(c, d, e) { 14448 var f = b.createElement('script'); 14449 f.async = !0; 14450 f.onload = function () { 14451 if (!a.FacebookIWL || !a.FacebookIWL.init) return; 14452 var b = j(g.ENDPOINT); 14453 b != null && a.FacebookIWL.set && a.FacebookIWL.set('tier', b); 14454 e(); 14455 }; 14456 a.FacebookIWLSessionEnd = function () { 14457 (n.removeItem(m), a.close()); 14458 }; 14459 f.src = i(c, g.ENDPOINT, d); 14460 b.body && b.body.appendChild(f); 14461 } 14462 var o = !1, 14463 p = function (a) { 14464 return !!(e && e.pixelsByID && Object.prototype.hasOwnProperty.call(e.pixelsByID, a)); 14465 }; 14466 function q() { 14467 if (o) return; 14468 var b = n.getItem(m); 14469 if (!b) return; 14470 b = JSON.parse(b); 14471 var c = b.pixelID, 14472 d = b.graphToken, 14473 e = b.sessionStartTime; 14474 o = !0; 14475 h(c, d, function () { 14476 var b = p(c) ? c.toString() : null; 14477 a.FacebookIWL.init(b, d, e); 14478 }); 14479 } 14480 function r(b, c) { 14481 if (o) return; 14482 h(b, c, function () { 14483 return a.FacebookIWL.showConfirmModal(b); 14484 }); 14485 } 14486 function s(a, b, c) { 14487 (n.setItem(m, JSON.stringify({ graphToken: a, pixelID: b, sessionStartTime: c })), q()); 14488 } 14489 c.listen(function (b) { 14490 var c = b.graphToken; 14491 b = b.pixelID; 14492 s(c, b); 14493 a.FacebookIWLSessionEnd = function () { 14494 return n.removeItem(m); 14495 }; 14496 }); 14497 function d(a) { 14498 var b = a.data, 14499 c = b.graphToken, 14500 d = b.msg_type, 14501 f = b.pixelID; 14502 b = b.sessionStartTime; 14503 if (e && e.pixelsByID && e.pixelsByID[f] && e.pixelsByID[f].codeless === 'false') { 14504 k({ pixelID: f, type: 'SITE_CODELESS_OPT_OUT' }); 14505 return; 14506 } 14507 if ( 14508 n.getItem(m) || 14509 !l.test(a.origin) || 14510 !(a.data && (d === 'FACEBOOK_IWL_BOOTSTRAP' || d === 'FACEBOOK_IWL_CONFIRM_DOMAIN')) 14511 ) 14512 return; 14513 if (!Object.prototype.hasOwnProperty.call(e.pixelsByID, f)) { 14514 a.source.postMessage('FACEBOOK_IWL_ERROR_PIXEL_DOES_NOT_MATCH', a.origin); 14515 return; 14516 } 14517 switch (d) { 14518 case 'FACEBOOK_IWL_BOOTSTRAP': 14519 a.source.postMessage('FACEBOOK_IWL_BOOTSTRAP_ACK', a.origin); 14520 s(c, f, b); 14521 break; 14522 case 'FACEBOOK_IWL_CONFIRM_DOMAIN': 14523 a.source.postMessage('FACEBOOK_IWL_CONFIRM_DOMAIN_ACK', a.origin); 14524 r(f, c); 14525 break; 14526 } 14527 } 14528 if (n.getItem(m)) { 14529 q(); 14530 return; 14531 } 14532 a.opener && a.addEventListener('message', d); 14533 }); 14534 })(); 14535 return e.exports; 14536 })(a, b, c, d); 14537 }); 14538 e.exports = f.getFbeventsModules('SignalsFBEvents.plugins.iwlbootstrapper'); 14539 f.registerPlugin && f.registerPlugin('fbevents.plugins.iwlbootstrapper', e.exports); 14540 f.ensureModuleRegistered('fbevents.plugins.iwlbootstrapper', function () { 14541 return e.exports; 14542 }); 14543 })(); 14544})(window, document, location, history); 14545(function (a, b, c, d) { 14546 var e = { exports: {} }; 14547 e.exports; 14548 (function () { 14549 var f = a.fbq; 14550 f.execStart = a.performance && a.performance.now && a.performance.now(); 14551 if ( 14552 !(function () { 14553 var b = a.postMessage || function () {}; 14554 if (!f) { 14555 b( 14556 { 14557 action: 'FB_LOG', 14558 logType: 'Facebook Pixel Error', 14559 logMessage: 'Pixel code is not installed correctly on this page', 14560 }, 14561 '*', 14562 ); 14563 'error' in console && 14564 console.error('Facebook Pixel Error: Pixel code is not installed correctly on this page'); 14565 return !1; 14566 } 14567 return !0; 14568 })() 14569 ) 14570 return; 14571 f.__fbeventsModules || 14572 ((f.__fbeventsModules = {}), 14573 (f
14573.__fbeventsResolvedModules = {}), 14574 (f.getFbeventsModules = function (a) { 14575 f.__fbeventsResolvedModules[a] || (f.__fbeventsResolvedModules[a] = f.__fbeventsModules[a]()); 14576 return f.__fbeventsResolvedModules[a]; 14577 }), 14578 (f.fbIsModuleLoaded = function (a) { 14579 return !!f.__fbeventsModules[a]; 14580 }), 14581 (f.ensureModuleRegistered = function (b, a) { 14582 f.fbIsModuleLoaded(b) || (f.__fbeventsModules[b] = a); 14583 })); 14584 f.ensureModuleRegistered('SignalsFBEventsOptTrackingOptions', function () { 14585 return (function (f, b, c, d) { 14586 var e = { exports: {} }; 14587 e.exports; 14588 (function () { 14589 'use strict'; 14590 e.exports = { 14591 AUTO_CONFIG_OPT_OUT: 1 << 0, 14592 AUTO_CONFIG: 1 << 1, 14593 CONFIG_LOADING: 1 << 2, 14594 SUPPORTS_DEFINE_PROPERTY: 1 << 3, 14595 SUPPORTS_SEND_BEACON: 1 << 4, 14596 HAS_INVALIDATED_PII: 1 << 5, 14597 SHOULD_PROXY: 1 << 6, 14598 IS_HEADLESS: 1 << 7, 14599 IS_SELENIUM: 1 << 8, 14600 HAS_DETECTION_FAILED: 1 << 9, 14601 HAS_CONFLICTING_PII: 1 << 10, 14602 HAS_AUTOMATCHED_PII: 1 << 11, 14603 FIRST_PARTY_COOKIES: 1 << 12, 14604 IS_SHADOW_TEST: 1 << 13, 14605 }; 14606 })(); 14607 return e.exports; 14608 })(a, b, c, d); 14609 }); 14610 f.ensureModuleRegistered('SignalsFBEventsProxyState', function () { 14611 return (function (f, b, c, d) { 14612 var e = { exports: {} }; 14613 e.exports; 14614 (function () { 14615 'use strict'; 14616 var a = !1; 14617 e.exports = { 14618 getShouldProxy: function () { 14619 return a; 14620 }, 14621 setShouldProxy: function (b) { 14622 a = b; 14623 }, 14624 }; 14625 })(); 14626 return e.exports; 14627 })(a, b, c, d); 14628 }); 14629 f.ensureModuleRegistered('SignalsFBEvents.plugins.opttracking', function () { 14630 return (function (a, b, c, d) { 14631 var e = { exports: {} }; 14632 e.exports; 14633 (function () { 14634 'use strict'; 14635 var b = f.getFbeventsModules('SignalsFBEventsEvents'), 14636 c = b.getCustomParameters, 14637 d = b.piiAutomatched, 14638 g = b.piiConflicting, 14639 h = b.piiInvalidated, 14640 i = f.getFbeventsModules('SignalsFBEventsOptTrackingOptions'); 14641 b = f.getFbeventsModules('SignalsFBEventsPlugin'); 14642 var j = f.getFbeventsModules('SignalsFBEventsProxyState'), 14643 k = f.getFbeventsModules('SignalsFBEventsUtils'), 14644 l = k.some, 14645 m = !1; 14646 function n() { 14647 try { 14648 Object.defineProperty({}, 'test', {}); 14649 } catch (a) { 14650 return !1; 14651 } 14652 return !0; 14653 } 14654 function o() { 14655 return !!(a.navigator && a.navigator.sendBeacon); 14656 } 14657 function p(a, b) { 14658 return a ? b : 0; 14659 } 14660 var q = ['_selenium', 'callSelenium', '_Selenium_IDE_Recorder'], 14661 r = [ 14662 '__webdriver_evaluate', 14663 '__selenium_evaluate', 14664 '__webdriver_script_function', 14665 '__webdriver_script_func', 14666 '__webdriver_script_fn', 14667 '__fxdriver_evaluate', 14668 '__driver_unwrapped', 14669 '__webdriver_unwrapped', 14670 '__driver_evaluate', 14671 '__selenium_unwrapped', 14672 '__fxdriver_unwrapped', 14673 ]; 14674 function s() { 14675 if (u(q)) return !0; 14676 var b = l(r, function (b) { 14677 return a.document[b] ? !0 : !1; 14678 }); 14679 if (b) return !0; 14680 b = a.document; 14681 for (var c in b) if (c.match(/\$[a-z]dc_/) && b[c].cache_) return !0; 14682 if (a.external && a.external.toString && a.external.toString().indexOf('Sequentum') >= 0) return !0; 14683 if (b.documentElement && b.documentElement.getAttribute) { 14684 c = l(['selenium', 'webdriver', 'driver'], function (b) { 14685 return a.document.documentElement.getAttribute(b) ? !0 : !1; 14686 }); 14687 if (c) return !0; 14688 } 14689 return !1; 14690 } 14691 function t() { 14692 if (u(['_phantom', '__nightmare', 'callPhantom'])) return !0; 14693 return /HeadlessChrome/.test(a.navigator.userAgent) ? !0 : !1; 14694 } 14695 function u(b) { 14696 b = l(b, function (b) { 14697 return a[b] ? !0 : !1; 14698 }); 14699 return b; 14700 } 14701 function v() { 14702 var a = 0, 14703 b = 0, 14704 c = 0; 14705 try { 14706 ((a = p(s(), i.IS_SELENIUM)), (b = p(t(), i.IS_HEADLESS))); 14707 } catch (a) { 14708 c = i.HAS_DETECTION_FAILED; 14709 } 14710 return { hasDetectionFailed: c, isHeadless: b, isSelenium: a }; 14711 } 14712 k = new b(function (a, b) { 14713 if (m) return; 14714 var e = {}; 14715 h.listen(function (a) { 14716 a != null && (e[typeof a === 'string' ? a : a.id] = !0); 14717 }); 14718 var k = {}; 14719 g.listen(function (a) { 14720 a != null && (k[typeof a === 'string' ? a : a.id] = !0); 14721 }); 14722 var l = {}; 14723 d.listen(function (a) { 14724 a != null && (l[typeof a === 'string' ? a : a.id] = !0); 14725 }); 14726 c.listen(function (c) { 14727 var d = b.optIns, 14728 f = p( 14729 c != null && 14730 d.isOptedOut(c.id, 'AutomaticSetup') && 14731 d.isOptedOut(c.id, 'InferredEvents') && 14732 d.isOptedOut(c.id, 'Microdata'), 14733 i.AUTO_CONFIG_OPT_OUT, 14734 ), 14735 g = p( 14736 c != null && 14737 (d.isOptedIn(c.id, 'AutomaticSetup') || 14738 d.isOptedIn(c.id, 'InferredEvents') || 14739 d.isOptedIn(c.id, 'Microdata')), 14740 i.AUTO_CONFIG, 14741 ), 14742 h = p(a.disableConfigLoading !== !0, i.CONFIG_LOADING), 14743 m = p(n(), i.SUPPORTS_DEFINE_PROPERTY), 14744 q = p(o(), i.SUPPORTS_SEND_BEACON), 14745 r = p(c != null && k[c.id], i.HAS_CONFLICTING_PII), 14746 s = p(c != null && e[c.id], i.HAS_INVALIDATED_PII), 14747 t = p(c != null && l[c.id], i.HAS_AUTOMATCHED_PII), 14748 u = p(j.getShouldProxy(), i.SHOULD_PROXY), 14749 w = p(c != null && d.isOptedIn(c.id, 'FirstPartyCookies'), i.FIRST_PARTY_COOKIES); 14750 d = p(c != null && d.isOptedIn(c.id, 'ShadowTest'), i.IS_SHADOW_TEST); 14751 c = v(); 14752 f = f | g | h | m | q | s | u | c.isHeadless | c.isSelenium | c.hasDetectionFailed | r | t | w | d; 14753 return { o: f }; 14754 }); 14755 m = !0; 14756 }); 14757 k.OPTIONS = i; 14758 e.exports = k; 14759 })(); 14760 return e.exports; 14761 })(a, b, c, d); 14762 }); 14763 e.exports = f.getFbeventsModules('SignalsFBEvents.plugins.opttracking'); 14764 f.registerPlugin && f.registerPlugin('fbevents.plugins.opttracking', e.exports); 14765 f.ensureModuleRegistered('fbevents.plugins.opttracking', function () { 14766 return e.exports; 14767 }); 14768 })(); 14769})(window, document, location, history); 14770(function (a, b, c, d) { 14771 var e = { exports: {} }; 14772 e.exports; 14773 (function () { 14774 var f = a.fbq; 14775 f.execStart = a.performance && a.performance.now && a.performance.now(); 14776 if ( 14777 !(function () { 14778 var b = a.postMessage || function () {}; 14779 if (!f) { 14780 b( 14781 { 14782 action: 'FB_LOG', 14783 logType: 'Facebook Pixel Error', 14784 logMessage: 'Pixel code is not installed correctly on this page', 14785 }, 14786 '*', 14787 ); 14788 'error' in console && 14789 console.error('Facebook Pixel Error: Pixel code is not installed correctly on this page'); 14790 return !1; 14791 } 14792 return !0; 14793 })() 14794 ) 14795 return; 14796 f.__fbeventsModules || 14797 ((f.__fbeventsModules = {}), 14798 (f.__fbeventsResolvedModules = {}), 14799 (f.getFbeventsModules = function (a) { 14800 f.__fbeventsResolvedModules[a] || (f.__fbeventsResolvedModules[a] = f.__fbeventsModules[a]()); 14801 return f.__fbeventsResolvedModules[a]; 14802 }), 14803 (f.fbIsModuleLoaded = function (a) { 14804 return !!f.__fbeventsModules[a]; 14805 }), 14806 (f.ensureModuleRegistered = function (b, a) { 14807 f.fbIsModuleLoaded(b) || (f.__fbeventsModules[b] = a); 14808 })); 14809 f.ensureModuleRegistered('SignalsFBEvents.plugins.unwanteddata', function () { 14810 return (function (a, b, c, d) { 14811 var e = { exports: {} }; 14812 e.exports; 14813 (function () { 14814 'use strict'; 14815 var a = f.getFbeventsModules('SignalsFBEventsEvents'); 14816 a.configLoaded; 14817 var b = a.validateCustomParameters, 14818 c = a.validateUrlParameters, 14819 d = f.getFbeventsModules('SignalsFBEventsConfigStore'), 14820 g = f.getFbeventsModules('SignalsFBEventsLogging'); 14821 a = f.getFbeventsModules('SignalsFBEventsPlugin'); 14822 var h = f.getFbeventsModules('SignalsFBEventsUtils'), 14823 i = f.getFbeventsModules('sha256_with_dependencies_new'); 14824 h.each; 14825 var j = h.map, 14826 k = !1; 14827 f.getFbeventsModules('SignalsParamList'); 14828 e.exports = new a(function (a, e) { 14829 b.listen(function (b, c, f) { 14830 if (b == null) return {}; 14831 a.performanceMark('fbevents:start:unwantedDataProcessing', b.id); 14832 var h = e.optIns.isOptedIn(b.id, 'UnwantedData'); 14833 if (!h) return {}; 14834 h = e.optIns.isOptedIn(b.id, 'ProtectedDataMode'); 14835 var k = d.get(b.id, 'unwantedData'); 14836 if (k == null) return {}; 14837 var l = !1, 14838 m = [], 14839 n = [], 14840 o = {};
14841 if (k.blacklisted_keys != null) { 14842 var p = k.blacklisted_keys[f]; 14843 if (p != null) { 14844 p = p.cd; 14845 j(p, function (a) { 14846 Object.prototype.hasOwnProperty.call(c, a) && ((l = !0), m.push(a), delete c[a]); 14847 }); 14848 } 14849 } 14850 if (k.sensitive_keys != null) { 14851 p = k.sensitive_keys[f]; 14852 if (p != null) { 14853 var q = p.cd; 14854 Object.keys(c).forEach(function (a) { 14855 j(q, function (b) { 14856 i(a) === b && ((l = !0), n.push(b), delete c[a]); 14857 }); 14858 }); 14859 } 14860 } 14861 o.unwantedParams = m; 14862 o.restrictedParams = n; 14863 if (l && !h) { 14864 k = m.length > 0; 14865 f = n.length > 0; 14866 if (k || f) { 14867 a.performanceMark('fbevents:end:unwantedDataProcessing', b.id); 14868 g.logUserError({ type: 'UNWANTED_CUSTOM_DATA' }); 14869 p = {}; 14870 k && (p.up = m.join(',')); 14871 f && (p.rp = n.join(',')); 14872 return p; 14873 } 14874 } 14875 a.performanceMark('fbevents:end:unwantedDataProcessing', b.id); 14876 return {}; 14877 }); 14878 function h(a, b, c, d, e) { 14879 var f = new URLSearchParams(b.search), 14880 g = [], 14881 h = []; 14882 b = {}; 14883 if (c.blacklisted_keys != null) { 14884 var l = c.blacklisted_keys[d]; 14885 if (l != null) { 14886 l = l.url; 14887 j(l, function (a) { 14888 f.has(a) && ((k = !0), g.push(a), f.set(a, '_removed_')); 14889 }); 14890 } 14891 } 14892 if (c.sensitive_keys != null) { 14893 l = c.sensitive_keys[d]; 14894 if (l != null) { 14895 var m = l.url; 14896 f.forEach(function (a, b) { 14897 j(m, function (a) { 14898 i(b) === a && ((k = !0), h.push(a), f.set(b, '_removed_')); 14899 }); 14900 }); 14901 } 14902 } 14903 b.unwantedParams = g; 14904 b.restrictedParams = h; 14905 if (k) { 14906 e || (g.length > 0 && a.append('up_url', g.join(',')), h.length > 0 && a.append('rp_url', h.join(','))); 14907 return f.toString(); 14908 } 14909 return ''; 14910 } 14911 c.listen(function (b, c, f, i) { 14912 if (b == null) return; 14913 a.performanceMark('fbevents:start:validateUrlProcessing', b.id); 14914 var j = e.optIns.isOptedIn(b.id, 'UnwantedData'); 14915 if (!j) return; 14916 j = e.optIns.isOptedIn(b.id, 'ProtectedDataMode'); 14917 var l = d.get(b.id, 'unwantedData'); 14918 if (l == null) return; 14919 k = !1; 14920 if (Object.prototype.hasOwnProperty.call(c, 'dl') && c.dl.length > 0) { 14921 var m = new URL(c.dl), 14922 n = h(i, m, l, f, j); 14923 k && n.length > 0 && ((m.search = n), (c.dl = m.toString())); 14924 } 14925 if (Object.prototype.hasOwnProperty.call(c, 'rl') && c.rl.length > 0) { 14926 n = new URL(c.rl); 14927 m = h(i, n, l, f, j); 14928 k && m.length > 0 && ((n.search = m), (c.rl = n.toString())); 14929 } 14930 k && g.logUserError({ type: 'UNWANTED_URL_DATA' }); 14931 a.performanceMark('fbevents:end:validateUrlProcessing', b.id); 14932 }); 14933 }); 14934 })(); 14935 return e.exports; 14936 })(a, b, c, d); 14937 }); 14938 e.exports = f.getFbeventsModules('SignalsFBEvents.plugins.unwanteddata'); 14939 f.registerPlugin && f.registerPlugin('fbevents.plugins.unwanteddata', e.exports); 14940 f.ensureModuleRegistered('fbevents.plugins.unwanteddata', function () { 14941 return e.exports; 14942 }); 14943 })(); 14944})(window, document, location, history); 14945(function (a, b, c, d) { 14946 var e = { exports: {} }; 14947 e.exports; 14948 (function () { 14949 var f = a.fbq; 14950 f.execStart = a.performance && a.performance.now && a.performance.now(); 14951 if ( 14952 !(function () { 14953 var b = a.postMessage || function () {}; 14954 if (!f) { 14955 b( 14956 { 14957 action: 'FB_LOG', 14958 logType: 'Facebook Pixel Error', 14959 logMessage: 'Pixel code is not installed correctly on this page', 14960 }, 14961 '*', 14962 ); 14963 'error' in console && 14964 console.error('Facebook Pixel Error: Pixel code is not installed correctly on this page'); 14965 return !1; 14966 } 14967 return !0; 14968 })() 14969 ) 14970 return; 14971 f.__fbeventsModules || 14972 ((f.__fbeventsModules = {}), 14973 (f.__fbeventsResolvedModules = {}), 14974 (f.getFbeventsModules = function (a) { 14975 f.__fbeventsResolvedModules[a] || (f.__fbeventsResolvedModules[a] = f.__fbeventsModules[a]()); 14976 return f.__fbeventsResolvedModules[a]; 14977 }), 14978 (f.fbIsModuleLoaded = function (a) { 14979 return !!f.__fbeventsModules[a]; 14980 }), 14981 (f.ensureModuleRegistered = function (b, a) { 14982 f.fbIsModuleLoaded(b) || (f.__fbeventsModules[b] = a); 14983 })); 14984 f.ensureModuleRegistered('SignalsFBEvents.plugins.eventvalidation', function () { 14985 return (function (a, b, c, d) { 14986 var e = { exports: {} }; 14987 e.exports; 14988 (function () { 14989 'use strict'; 14990 var a = f.getFbeventsModules('SignalsFBEventsPlugin'), 14991 b = f.getFbeventsModules('SignalsFBEventsSendEventEvent'), 14992 c = f.getFbeventsModules('SignalsFBEventsTyped'), 14993 d = c.coerce, 14994 g = c.Typed; 14995 c = f.getFbeventsModules('SignalsFBEventsLogging'); 14996 var h = c.logUserError; 14997 e.exports = new a(function (a, c) { 14998 b.listen(function (a) { 14999 var b = a.id; 15000 a = a.eventName; 15001 b = d(b, g.fbid()); 15002 if (b == null) return !1; 15003 var e = c.optIns.isOptedIn(b, 'EventValidation'); 15004 if (!e) return !1; 15005 e = c.pluginConfig.get(b, 'eventValidation'); 15006 if (e == null) return !1; 15007 b = e.unverifiedEventNames; 15008 e = e.restrictedEventNames; 15009 var f = !1, 15010 i = !1; 15011 b && ((f = b.includes(a)), f && h({ type: 'UNVERIFIED_EVENT' })); 15012 e && ((i = e.includes(a)), i && h({ type: 'RESTRICTED_EVENT' })); 15013 return f || i; 15014 }); 15015 }); 15016 })(); 15017 return e.exports; 15018 })(a, b, c, d); 15019 }); 15020 e.exports = f.getFbeventsModules('SignalsFBEvents.plugins.eventvalidation'); 15021 f.registerPlugin && f.registerPlugin('fbevents.plugins.eventvalidation', e.exports); 15022 f.ensureModuleRegistered('fbevents.plugins.eventvalidation', function () { 15023 return e.exports; 15024 }); 15025 })(); 15026})(window, document, location, history); 15027(function (a, b, c, d) { 15028 var e = { exports: {} }; 15029 e.exports; 15030 (function () { 15031 var f = a.fbq; 15032 f.execStart = a.performance && a.performance.now && a.performance.now(); 15033 if ( 15034 !(function () { 15035 var b = a.postMessage || function () {}; 15036 if (!f) { 15037 b( 15038 { 15039 action: 'FB_LOG', 15040 logType: 'Facebook Pixel Error', 15041 logMessage: 'Pixel code is not installed correctly on this page', 15042 }, 15043 '*', 15044 ); 15045 'error' in console && 15046 console.error('Facebook Pixel Error: Pixel code is not installed correctly on this page'); 15047 return !1; 15048 } 15049 return !0; 15050 })() 15051 ) 15052 return; 15053 function g(a, b) { 15054 var c = 15055 ('undefined' != typeof Symbol && a[typeof Symbol === 'function' ? Symbol.iterator : '@@iterator']) || 15056 a['@@iterator']; 15057 if (!c) { 15058 if (Array.isArray(a) || (c = h(a)) || (b && a && 'number' == typeof a.length)) { 15059 c && (a = c); 15060 var d = 0; 15061 b = function () {}; 15062 return { 15063 s: b, 15064 n: function () { 15065 return d >= a.length ? { done: !0 } : { done: !1, value: a[d++] }; 15066 }, 15067 e: function (a) { 15068 throw a; 15069 }, 15070 f: b, 15071 }; 15072 } 15073 throw new TypeError( 15074 'Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.', 15075 ); 15076 } 15077 var e, 15078 f = !0, 15079 g = !1; 15080 return { 15081 s: function () { 15082 c = c.call(a); 15083 }, 15084 n: function () { 15085 var a = c.next(); 15086 return ((f = a.done), a); 15087 }, 15088 e: function (a) { 15089 ((g = !0), (e = a)); 15090 }, 15091 f: function () { 15092 try { 15093 f || null == c['return'] || c['return'](); 15094 } finally { 15095 if (g) throw e; 15096 } 15097 }, 15098 }; 15099 } 15100 function h(a, b) { 15101 if (a) { 15102 if ('string' == typeof a) return i(a, b); 15103 var c = {}.toString.call(a).slice(8, -1); 15104 return ( 15105 'Object' === c && a.constructor && (c = a.constructor.name), 15106 'Map' === c || 'Set' === c 15107 ? Array.from(a) 15108 : 'Arguments' === c || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c) 15109 ? i(a, b) 15110 : void 0 15111 ); 15112 } 15113 } 15114 function i(a, b) { 15115 (null == b || b > a.length) && (b = a.length); 15116 for (var c = 0, d = Array(b); c < b; c++) d[c] = a[c]; 15117 return d; 15118 } 15119 f.__fbeventsModules || 15120 ((f.__fbeventsModules = {}), 15121 (f.__fbeventsResolvedModules = {}), 15122 (f.getFbeventsModules = function (a) { 15123 f.__fbeventsResolvedModules[a] || (f.__fbeventsResolvedModules[a] = f.__fbeventsModules[a]()); 15124 return f.__fbeventsResolvedModules[a]; 15125 }), 15126 (f.fbIsModuleLoaded = function (a) { 15127 return !!f.__fbeventsModules[a]; 15128 }), 15129 (f.ensureModuleRegistered = function (b, a) { 15130 f.fbIsModuleLoaded(b) || (f.__fbeventsModules[b] = a); 15131 })); 15132 f.ensureModuleRegistered('SignalsFBEventsClientHintTypedef', function () { 15133 return (function (g, h, i, d) { 15134 var e = { exports: {} }; 15135 e.exports; 15136 (function () { 15137 'use strict'; 15138 var a = f.getFbeventsModules('SignalsFBEventsTyped'); 15139 a.coerce; 15140 a = a.Typed; 15141 var b = a.objectWithFields({ 15142 brands: a.array(),
15143 platform: a.allowNull(a.string()), 15144 getHighEntropyValues: a.func(), 15145 }); 15146 a = a.objectWithFields({ 15147 model: a.allowNull(a.string()), 15148 platformVersion: a.allowNull(a.string()), 15149 fullVersionList: a.array(), 15150 }); 15151 e.exports = { userAgentDataTypedef: b, highEntropyResultTypedef: a }; 15152 })(); 15153 return e.exports; 15154 })(a, b, c, d); 15155 }); 15156 f.ensureModuleRegistered('SignalsFBEventsGetIsAndroidChrome', function () { 15157 return (function (g, h, i, d) { 15158 var e = { exports: {} }; 15159 e.exports; 15160 (function () { 15161 'use strict'; 15162 var a = f.getFbeventsModules('signalsFBEventsGetIsChrome'); 15163 function b(a) { 15164 return a === void 0 15165 ? !1 15166 : a.platform === 'Android' && 15167 a.brands 15168 .map(function (a) { 15169 return a.brand; 15170 }) 15171 .join(', ') 15172 .includes('Chrome'); 15173 } 15174 function c(a) { 15175 return a.includes('Chrome') && a.includes('Android'); 15176 } 15177 function d(b) { 15178 b = b.indexOf('Android') >= 0; 15179 var c = a(); 15180 return b && c; 15181 } 15182 e.exports = { 15183 checkIsAndroidChromeWithClientHint: b, 15184 checkIsAndroidChromeWithUAString: c, 15185 checkIsAndroidChrome: d, 15186 }; 15187 })(); 15188 return e.exports; 15189 })(a, b, c, d); 15190 }); 15191 f.ensureModuleRegistered('SignalsFBEvents.plugins.clienthint', function () { 15192 return (function (h, i, c, d) { 15193 var e = { exports: {} }; 15194 e.exports; 15195 (function () { 15196 'use strict'; 15197 var a = f.getFbeventsModules('SignalsFBEventsEvents'); 15198 a.fired; 15199 a = f.getFbeventsModules('SignalsFBEventsPlugin'); 15200 var b = f.getFbeventsModules('SignalsParamList'), 15201 c = f.getFbeventsModules('SignalsFBEventsEvents'); 15202 c.configLoaded; 15203 f.getFbeventsModules('SignalsFBEventsSendEventEvent'); 15204 c = f.getFbeventsModules('SignalsFBEventsLogging'); 15205 c.logError; 15206 var d = c.logWarning, 15207 i = c.logInfo; 15208 c = f.getFbeventsModules('SignalsFBEventsTyped'); 15209 var j = c.coerce; 15210 c.Typed; 15211 c = f.getFbeventsModules('SignalsFBEventsClientHintTypedef'); 15212 var k = c.userAgentDataTypedef, 15213 l = c.highEntropyResultTypedef; 15214 c = f.getFbeventsModules('SignalsFBEventsGetIsAndroidChrome'); 15215 var m = c.checkIsAndroidChrome, 15216 n = 'chmd', 15217 o = 'chpv', 15218 p = 'chfv', 15219 q = [n, o, p], 15220 r = 'clientHint', 15221 s = 'pixel', 15222 t = 'clienthint'; 15223 function u(a) { 15224 a = j(a, l); 15225 if (a == null) { 15226 i(new Error('[ClientHint Error] getHighEntropyValues returned null from Android Chrome source'), s, t); 15227 return new Map(); 15228 } 15229 var b = new Map(); 15230 b.set(n, String(a.model)); 15231 b.set(o, String(a.platformVersion)); 15232 var c; 15233 a = g(a.fullVersionList); 15234 var d; 15235 try { 15236 for (a.s(); !(d = a.n()).done; ) ((d = d.value), d.brand.includes('Chrome') && (c = d.version)); 15237 } catch (b) { 15238 a.e(b); 15239 } finally { 15240 a.f(); 15241 } 15242 b.set(p, String(c)); 15243 return b; 15244 } 15245 function v(a, b) { 15246 var c = g(q), 15247 d; 15248 try { 15249 for (c.s(); !(d = c.n()).done; ) { 15250 d = d.value; 15251 a.get(d) == null && a.append(d, b.get(d)); 15252 } 15253 } catch (a) { 15254 c.e(a); 15255 } finally { 15256 c.f(); 15257 } 15258 } 15259 function w(a, c, d) { 15260 d = u(a); 15261 a = c.customParams || new b(); 15262 v(a, d); 15263 c.customParams = a; 15264 } 15265 e.exports = new a(function (a, b) { 15266 a = j(h.navigator.userAgentData, k); 15267 if (a == null) { 15268 h.navigator.userAgentData != null && d(new Error('[ClientHint Error] UserAgentData coerce error')); 15269 return; 15270 } else if (!m(h.navigator.userAgent)) return; 15271 a = h.navigator.userAgentData 15272 .getHighEntropyValues(['model', 'platformVersion', 'fullVersionList']) 15273 .then(function (a) { 15274 var c = b.asyncParamFetchers.get(r); 15275 c != null && c.result == null && ((c.result = a), b.asyncParamFetchers.set(r, c)); 15276 return a; 15277 }) 15278 ['catch'](function (a) { 15279 ((a.message = '[ClientHint Error] Fetch error' + a.message), d(a)); 15280 }); 15281 b.asyncParamFetchers.set(r, { request: a, callback: w }); 15282 b.asyncParamPromisesAllSettled = !1; 15283 }); 15284 })(); 15285 return e.exports; 15286 })(a, b, c, d); 15287 }); 15288 e.exports = f.getFbeventsModules('SignalsFBEvents.plugins.clienthint'); 15289 f.registerPlugin && f.registerPlugin('fbevents.plugins.clienthint', e.exports); 15290 f.ensureModuleRegistered('fbevents.plugins.clienthint', function () { 15291 return e.exports; 15292 }); 15293 })(); 15294})(window, document, location, history); 15295(function (a, b, c, d) { 15296 var e = { exports: {} }; 15297 e.exports; 15298 (function () { 15299 var f = a.fbq; 15300 f.execStart = a.performance && a.performance.now && a.performance.now(); 15301 if ( 15302 !(function () { 15303 var b = a.postMessage || function () {}; 15304 if (!f) { 15305 b( 15306 { 15307 action: 'FB_LOG', 15308 logType: 'Facebook Pixel Error', 15309 logMessage: 'Pixel code is not installed correctly on this page', 15310 }, 15311 '*', 15312 ); 15313 'error' in console && 15314 console.error('Facebook Pixel Error: Pixel code is not installed correctly on this page'); 15315 return !1; 15316 } 15317 return !0; 15318 })() 15319 ) 15320 return; 15321 f.__fbeventsModules || 15322 ((f.__fbeventsModules = {}), 15323 (f.__fbeventsResolvedModules = {}), 15324 (f.getFbeventsModules = function (a) { 15325 f.__fbeventsResolvedModules[a] || (f.__fbeventsResolvedModules[a] = f.__fbeventsModules[a]()); 15326 return f.__fbeventsResolvedModules[a]; 15327 }), 15328 (f.fbIsModuleLoaded = function (a) { 15329 return !!f.__fbeventsModules[a]; 15330 }), 15331 (f.ensureModuleRegistered = function (b, a) { 15332 f.fbIsModuleLoaded(b) || (f.__fbeventsModules[b] = a); 15333 })); 15334 f.ensureModuleRegistered('SignalsFBEvents.plugins.unwantedparams', function () { 15335 return (function (a, b, c, d) { 15336 var e = { exports: {} }; 15337 e.exports; 15338 (function () { 15339 'use strict'; 15340 var a = f.getFbeventsModules('SignalsFBEventsEvents'), 15341 b = a.validateCustomParameters, 15342 c = f.getFbeventsModules('SignalsFBEventsConfigStore'); 15343 a = f.getFbeventsModules('SignalsFBEventsPlugin'); 15344 f.getFbeventsModules('SignalsParamList'); 15345 var d = f.getFbeventsModules('SignalsFBEventsUtils'), 15346 g = d.each; 15347 e.exports = new a(function (a, d) { 15348 b.listen(function (b, e, f) { 15349 if (b == null) return {}; 15350 a.performanceMark('fbevents:start:unwantedParamsProcessing', b.id); 15351 f = d.optIns.isOptedIn(b.id, 'UnwantedParams'); 15352 if (!f) return {}; 15353 f = c.get(b.id, 'unwantedParams'); 15354 if (f == null || f.unwantedParams == null) return {}; 15355 g(f.unwantedParams, function (a) { 15356 delete e[a]; 15357 }); 15358 a.performanceMark('fbevents:end:unwantedParamsProcessing', b.id); 15359 return {}; 15360 }); 15361 }); 15362 })(); 15363 return e.exports; 15364 })(a, b, c, d); 15365 }); 15366 e.exports = f.getFbeventsModules('SignalsFBEvents.plugins.unwantedparams'); 15367 f.registerPlugin && f.registerPlugin('fbevents.plugins.unwantedparams', e.exports); 15368 f.ensureModuleRegistered('fbevents.plugins.unwantedparams', function () { 15369 return e.exports; 15370 }); 15371 })(); 15372})(window, document, location, history); 15373(function (a, b, c, d) { 15374 var e = { exports: {} }; 15375 e.exports; 15376 (function () { 15377 var f = a.fbq; 15378 f.execStart = a.performance && a.performance.now && a.performance.now(); 15379 if ( 15380 !(function () { 15381 var b = a.postMessage || function () {}; 15382 if (!f) { 15383 b( 15384 { 15385 action: 'FB_LOG', 15386 logType: 'Facebook Pixel Error', 15387 logMessage: 'Pixel code is not installed correctly on this page', 15388 }, 15389 '*', 15390 ); 15391 'error' in console && 15392 console.error('Facebook Pixel Error: Pixel code is not installed correctly on this page'); 15393 return !1; 15394 } 15395 return !0; 15396 })() 15397 ) 15398 return; 15399 f.__fbeventsModules || 15400 ((f.__fbeventsModules = {}), 15401 (f.__fbeventsResolvedModules = {}), 15402 (f.getFbeventsModules = function (a) { 15403 f.__fbeventsResolvedModules[a] || (f.__fbeventsResolvedModules[a] = f.__fbeventsModules[a]()); 15404 return f.__fbeventsResolvedModules[a]; 15405 }), 15406 (f.fbIsModuleLoaded = function (a) { 15407 return !!f.__fbeventsModules[a]; 15408 }), 15409 (f.ensureModuleRegistered = function (b, a) { 15410 f.fbIsModuleLoaded(b) || (f.__fbeventsModules[b] = a); 15411 })); 15412 f.ensureModuleRegistered('SignalsFBEvents.plugins.standardparamchecks', function () { 15413 return (function (a, b, c, d) { 15414 var e = { exports: {} }; 15415 e.exports; 15416 (function () { 15417 'use strict'; 15418 var a = f.getFbeventsModules('SignalsFBEventsLogging'), 15419 b = a.logUserError; 15420 a = f.getFbeventsModules('SignalsFBEventsEvents'); 15421 var c = a.lateValidateCustomParameters, 15422 d = f.getFbeventsModules('SignalsFBEventsConfigStore'); 15423 a = f.getFbeventsModules('SignalsFBEventsPlugin'); 15424 f.getFbeventsModules('SignalsParamList'); 15425 var g = f.getFbeventsModules('SignalsFBEventsUtils'), 15426 h = g.each, 15427 i = g.some, 15428 j = g.keys; 15429 g.isNumber; 15430 function k(a, b) { 15431 if (!b) return !1; 15432 return b.require_exact_match 15433 ? i(b.potential_matches, function (b) { 15434 return b.toLowerCase() === a.toLowerCase(); 15435 }) 15436 : i(b.potential_matches, function (b) { 15437 return new RegExp(b).test(a); 15438 }); 15439 } 15440 e.exports = new a(function (a, e) { 15441 c.listen(function (a, c, f) { 15442 f = e.optIns.isOptedIn(a, 'StandardParamChecks'); 15443 if (!f) return {}; 15444 var g = d.get(a, 'standardParamChecks'); 15445 if (g == null || g.standardParamChecks == null) return {}; 15446 var l = []; 15447 h(j(c), function (d) { 15448 var e = g.standardParamChecks[d] || []; 15449 if (!e || e.length == 0) return {}; 15450 e = i(e, function (a) { 15451 return k(String(c[d]), a); 15452 }); 15453 e || (l.push(d), b({ invalidParamName: d, pixelID: a, type: 'INVALID_PARAM_FORMAT' })); 15454 }); 15455 h(l, function (a) { 15456 delete c[a]; 15457 }); 15458 return l.length > 0 ? { rks: l.join(',') } : {}; 15459 }); 15460 }); 15461 })(); 15462 return e.exports; 15463 })(a, b, c, d); 15464 }); 15465 e.exports = f.getFbeventsModules('SignalsFBEvents.plugins.standardparamchecks'); 15466 f.registerPlugin && f.registerPlugin('fbevents.plugins.standardparamchecks', e.exports); 15467 f.ensureModuleRegistered('fbevents.plugins.standardparamchecks', function () { 15468 return e.exports; 15469 }); 15470 })(); 15471})(window, document, location, history); 15472(function (a, b, c, d) { 15473 var e = { exports: {} }; 15474 e.exports; 15475 (function () { 15476 var f = a.fbq; 15477 f.execStart = a.performance && a.performance.now && a.performance.now(); 15478 if ( 15479 !(function () { 15480 var b = a.postMessage || function () {}; 15481 if (!f) { 15482 b( 15483 { 15484 action: 'FB_LOG', 15485 logType: 'Facebook Pixel Error', 15486 logMessage: 'Pixel code is not installed correctly on this page', 15487 }, 15488 '*', 15489 ); 15490 'error' in console && 15491 console.error('Facebook Pixel Error: Pixel code is not installed correctly on this page'); 15492 return !1; 15493 } 15494 return !0; 15495 })() 15496 ) 15497 return;
15498 function g(a) { 15499 return ( 15500 (g = 15501 'function' == typeof Symbol && 15502 'symbol' == typeof (typeof Symbol === 'function' ? Symbol.iterator : '@@iterator') 15503 ? function (a) { 15504 return typeof a; 15505 } 15506 : function (a) { 15507 return a && 15508 'function' == typeof Symbol && 15509 a.constructor === Symbol && 15510 a !== (typeof Symbol === 'function' ? Symbol.prototype : '@@prototype') 15511 ? 'symbol' 15512 : typeof a; 15513 }), 15514 g(a) 15515 ); 15516 } 15517 function h(a, b) { 15518 var c = Object.keys(a); 15519 if (Object.getOwnPropertySymbols) { 15520 var d = Object.getOwnPropertySymbols(a); 15521 (b && 15522 (d = d.filter(function (b) { 15523 return Object.getOwnPropertyDescriptor(a, b).enumerable; 15524 })), 15525 c.push.apply(c, d)); 15526 } 15527 return c; 15528 } 15529 function i(a) { 15530 for (var b = 1; b < arguments.length; b++) { 15531 var c = null != arguments[b] ? arguments[b] : {}; 15532 b % 2 15533 ? h(Object(c), !0).forEach(function (b) { 15534 j(a, b, c[b]); 15535 }) 15536 : Object.getOwnPropertyDescriptors 15537 ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(c)) 15538 : h(Object(c)).forEach(function (b) { 15539 Object.defineProperty(a, b, Object.getOwnPropertyDescriptor(c, b)); 15540 }); 15541 } 15542 return a; 15543 } 15544 function j(a, b, c) { 15545 return ( 15546 (b = k(b)) in a 15547 ? Object.defineProperty(a, b, { value: c, enumerable: !0, configurable: !0, writable: !0 }) 15548 : (a[b] = c), 15549 a 15550 ); 15551 } 15552 function k(a) { 15553 a = l(a, 'string'); 15554 return 'symbol' == g(a) ? a : a + ''; 15555 } 15556 function l(a, b) { 15557 if ('object' != g(a) || !a) return a; 15558 var c = a[typeof Symbol === 'function' ? Symbol.toPrimitive : '@@toPrimitive']; 15559 if (void 0 !== c) { 15560 c = c.call(a, b || 'default'); 15561 if ('object' != g(c)) return c; 15562 throw new TypeError('@@toPrimitive must return a primitive value.'); 15563 } 15564 return ('string' === b ? String : Number)(a); 15565 } 15566 function m(a, b) { 15567 return q(a) || n(a, b) || t(a, b) || p(); 15568 } 15569 function n(a, b) { 15570 var c = 15571 null == a 15572 ? null 15573 : ('undefined' != typeof Symbol && a[typeof Symbol === 'function' ? Symbol.iterator : '@@iterator']) || 15574 a['@@iterator']; 15575 if (null != c) { 15576 var d, 15577 e, 15578 f = [], 15579 g = !0, 15580 h = !1; 15581 try { 15582 if (((a = (c = c.call(a)).next), 0 === b)) { 15583 if (Object(c) !== c) return; 15584 g = !1; 15585 } else for (; !(g = (d = a.call(c)).done) && (f.push(d.value), f.length !== b); g = !0); 15586 } catch (a) { 15587 ((h = !0), (e = a)); 15588 } finally { 15589 try { 15590 if (!g && null != c['return'] && ((d = c['return']()), Object(d) !== d)) return; 15591 } finally { 15592 if (h) throw e; 15593 } 15594 } 15595 return f; 15596 } 15597 } 15598 function o(a) { 15599 return q(a) || u(a) || t(a) || p(); 15600 } 15601 function p() { 15602 throw new TypeError( 15603 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.', 15604 ); 15605 } 15606 function q(a) { 15607 if (Array.isArray(a)) return a; 15608 } 15609 function r(a) { 15610 return v(a) || u(a) || t(a) || s(); 15611 } 15612 function s() { 15613 throw new TypeError( 15614 'Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.', 15615 ); 15616 } 15617 function t(a, b) { 15618 if (a) { 15619 if ('string' == typeof a) return w(a, b); 15620 var c = {}.toString.call(a).slice(8, -1); 15621 return ( 15622 'Object' === c && a.constructor && (c = a.constructor.name), 15623 'Map' === c || 'Set' === c 15624 ? Array.from(a) 15625 : 'Arguments' === c || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c) 15626 ? w(a, b) 15627 : void 0 15628 ); 15629 } 15630 } 15631 function u(a) { 15632 if ( 15633 ('undefined' != typeof Symbol && null != a[typeof Symbol === 'function' ? Symbol.iterator : '@@iterator']) || 15634 null != a['@@iterator'] 15635 ) 15636 return Array.from(a); 15637 } 15638 function v(a) { 15639 if (Array.isArray(a)) return w(a); 15640 } 15641 function w(a, b) { 15642 (null == b || b > a.length) && (b = a.length); 15643 for (var c = 0, d = Array(b); c < b; c++) d[c] = a[c]; 15644 return d; 15645 } 15646 f.__fbeventsModules || 15647 ((f.__fbeventsModules = {}), 15648 (f.__fbeventsResolvedModules = {}), 15649 (f.getFbeventsModules = function (a) { 15650 f.__fbeventsResolvedModules[a] || (f.__fbeventsResolvedModules[a] = f.__fbeventsModules[a]()); 15651 return f.__fbeventsResolvedModules[a]; 15652 }), 15653 (f.fbIsModuleLoaded = function (a) { 15654 return !!f.__fbeventsModules[a]; 15655 }), 15656 (f.ensureModuleRegistered = function (b, a) { 15657 f.fbIsModuleLoaded(b) || (f.__fbeventsModules[b] = a); 15658 })); 15659 f.ensureModuleRegistered('SignalsFBEvents', function () { 15660 return (function (g, h, j, k) { 15661 var l = { exports: {} }; 15662 l.exports; 15663 (function () { 15664 'use strict'; 15665 var a = g.fbq; 15666 a.execStart = g.performance && typeof g.performance.now === 'function' ? g.performance.now() : null; 15667 a.performanceMark = function (a, b) { 15668 var c = g.fbq && g.fbq._releaseSegment ? g.fbq._releaseSegment : 'unknown'; 15669 if (c !== 'canary') return; 15670 g.performance != null && 15671 typeof g.performance.mark === 'function' && 15672 (b != null ? g.performance.mark(''.concat(a, '_').concat(b)) : g.performance.mark(a)); 15673 }; 15674 var b = a.getFbeventsModules('SignalsFBEventsNetworkConfig'), 15675 c = a.getFbeventsModules('SignalsFBEventsQE'), 15676 d = a.getFbeventsModules('SignalsParamList'), 15677 e = a.getFbeventsModules('signalsFBEventsSendEvent'), 15678 n = e.sendEvent; 15679 e = a.getFbeventsModules('SignalsFBEventsUtils'); 15680 var p = a.getFbeventsModules('SignalsFBEventsLogging'), 15681 q = a.getFbeventsModules('SignalsEventValidation'), 15682 s = a.getFbeventsModules('handleEventIdOverride'), 15683 t = a.getFbeventsModules('SignalsFBEventsFBQ'), 15684 u = a.getFbeventsModules('SignalsFBEventsJSLoader'), 15685 v = a.getFbeventsModules('SignalsFBEventsFireLock'), 15686 w = a.getFbeventsModules('SignalsFBEventsMobileAppBridge'), 15687 x = a.getFbeventsModules('signalsFBEventsInjectMethod'), 15688 y = a.getFbeventsModules('signalsFBEventsMakeSafe'), 15689 aa = a.getFbeventsModules('signalsFBEventsResolveLegacyArguments'), 15690 ba = a.getFbeventsModules('SignalsFBEventsPluginManager'), 15691 ca = a.getFbeventsModules('signalsFBEventsCoercePixelID'), 15692 z = a.getFbeventsModules('SignalsFBEventsEvents'), 15693 A = a.getFbeventsModules('SignalsFBEventsTyped'), 15694 B = A.coerce, 15695 C = A.Typed, 15696 D = a.getFbeventsModules('SignalsFBEventsGuardrail'), 15697 da = a.getFbeventsModules('SignalsFBEventsModuleEncodings'), 15698 ea = a.getFbeventsModules('signalsFBEventsDoAutomaticMatching'), 15699 fa = a.getFbeventsModules('SignalsFBEventsTrackEventEvent'); 15700 A = a.getFbeventsModules('SignalsFBEventsCensor'); 15701 var ga = A.getCensoredPayload, 15702 E = e.each; 15703 A = e.FBSet; 15704 var F = e.isEmptyObject, 15705 G = e.isPlainObject, 15706 H = e.isNumber, 15707 I = e.keys; 15708 e = z.execEnd; 15709 var J = z.fired, 15710 K = z.getCustomParameters, 15711 ha = z.iwlBootstrap, 15712 L = z.piiInvalidated, 15713 ia = z.setIWLExtractors, 15714 M = z.validateCustomParameters, 15715 N = z.validateUrlParameters, 15716 ja = z.setESTRules, 15717 ka = z.setCCRules, 15718 O = z.automaticPageView, 15719 la = z.webchatEvent, 15720 P = a.getFbeventsModules('SignalsFBEventsCorrectPIIPlacement'), 15721 Q = a.getFbeventsModules('SignalsFBEventsProcessEmailAddress'), 15722 ma = a.getFbeventsModules('SignalsFBEventsAddGmailSuffixToEmail'), 15723 na = a.getFbeventsModules('SignalsFBEventsQE'), 15724 oa = a.getFbeventsModules('SignalsFBEventsQEV2'), 15725 R = a.getFbeventsModules('signalsFBEventsFeatureGate'), 15726 pa = a.getFbeventsModules('SignalsFBEventsExperimentNames'), 15727 qa = pa.PROCESS_ADDITIONAL_SHOPIFY_EVENTS, 15728 S = p.logError, 15729 T = p.logUserError, 15730 U = v.global, 15731 V = -1, 15732 ra = 'b68919aff001d8366249403a2544fba2d833084f1ad22839b6310aadacb6a138', 15733 sa = Array.prototype.slice, 15734 ta = Object.prototype.hasOwnProperty, 15735 ua = j.href, 15736 va = !1, 15737 wa = !1, 15738 W = [], 15739 X = {}, 15740 xa; 15741 h.referrer; 15742 var ya = { PageView: new A(), PixelInitialized: new A() }, 15743 Y = new t(a, X), 15744 Z = new ba(Y, U), 15745 za = new A(['eid']); 15746 function Aa(a) { 15747 for (var b in a) ta.call(a, b) && (this[b] = a[b]); 15748 return this; 15749 } 15750 function Ba() { 15751 try { 15752 var b = sa.call(arguments); 15753 if (U.isLocked() && b[0] !== 'consent') { 15754 a.queue.push(arguments); 15755 return; 15756 } 15757 var c = aa(b), 15758 d = r(c.args), 15759 e = c.isLegacySyntax, 15760 f = d.shift(); 15761 switch (f) { 15762 case 'addPixelId': 15763 va = !0; 15764 Da.apply(this, d); 15765 break; 15766 case 'init': 15767 wa = !0; 15768 Da.apply(this, d); 15769 break; 15770 case 'set': 15771 Ca.apply(this, d); 15772 break; 15773 case 'track': 15774 if (H(d[0])) { 15775 Ma.apply(this, d); 15776 break; 15777 } 15778 if (e) { 15779 Ha.apply(this, d); 15780 break; 15781 } 15782 Ga.apply(this, d); 15783 break; 15784 case 'trackCustom': 15785 Ha.apply(this, d); 15786 break; 15787 case 'trackShopify': 15788 Ja.apply(this, d); 15789 break; 15790 case 'trackWebchat': 15791 Ia.apply(this, d); 15792 break; 15793 case 'send': 15794 Na.apply(this, d); 15795 break; 15796 case 'on': 15797 var g = o(d), 15798 h = g[0], 15799 i = g.slice(1), 15800 j = z[h]; 15801 j && j.triggerWeakly(i); 15802 break; 15803 case 'loadPlugin': 15804 Z.loadPlugin(d[0]); 15805 break; 15806 case 'disabledExtensions': 15807 var k = m(d, 1), 15808 l = k[0]; 15809 Y.pluginConfig.set(null, 'disabledExtensions', { disabledExtensions: l }); 15810 break; 15811 case 'dataProcessingOptions': 15812 switch (d.length) { 15813 case 1: 15814 var n = m(d, 1), 15815 p = n[0]; 15816 Y.pluginConfig.set(null, 'dataProcessingOptions', { 15817 dataProcessingOptions: p, 15818 dataProcessingCountry: null, 15819 dataProcessingState: null, 15820 }); 15821 break; 15822 case 3: 15823 var q = m(d, 3), 15824 s = q[0], 15825 t = q[1], 15826 u = q[2]; 15827 Y.pluginConfig.set(null, 'dataProcessingOptions', { 15828 dataProcessingOptions: s, 15829 dataProcessingCountry: t, 15830 dataProcessingState: u, 15831 }); 15832 break; 15833 case 4: 15834 var v = m(d, 3), 15835 w = v[0], 15836 x = v[1], 15837 y = v[2]; 15838 Y.pluginConfig.set(null, 'dataProcessingOptions', { 15839 dataProcessingOptions: w, 15840 dataProcessingCountry: x, 15841 dataProcessingState: y, 15842 }); 15843 break; 15844 } 15845 break; 15846 default: 15847 Y.callMethod(arguments); 15848 break; 15849 } 15850 } catch (a) { 15851 S(a); 15852 } 15853 } 15854 function Ca(d) { 15855 for (var e = arguments.length, f = new Array(e > 1 ? e - 1 : 0), g = 1; g < e; g++) f[g - 1] = arguments[g]; 15856 var h = [d].concat(f); 15857 switch (d) { 15858 case 'endpoint': 15859 var j = f[0]; 15860 if (typeof j !== 'string') throw new Error('endpoint value must be a string'); 15861 b.ENDPOINT = j; 15862 break; 15863 case 'cdn': 15864 var k = f[0]; 15865 if (typeof k !== 'string') throw new Error('cdn value must be a string'); 15866 u.CONFIG.CDN_BASE_URL = k; 15867 break; 15868 case 'releaseSegment': 15869 var l = f[0]; 15870 if (typeof l !== 'string') { 15871 T({ 15872 invalidParamName: 'new_release_segment', 15873 invalidParamValue: l, 15874 method: 'set', 15875 params: h, 15876 type: 'INVALID_FBQ_METHOD_PARAMETER', 15877 }); 15878 break; 15879 } 15880 a._releaseSegment = l; 15881 break; 15882 case 'autoConfig': 15883 var m = f[0], 15884 n = f[1], 15885 o = m === !0 || m === 'true' ? 'optIn' : 'optOut'; 15886 typeof n === 'string' 15887 ? Y.callMethod([o, n, 'AutomaticSetup']) 15888 : n === void 0 15889 ? (Y.disableAutoConfig = o === 'optOut') 15890 : T({ 15891 invalidParamName: 'pixel_id', 15892 invalidParamValue: n, 15893 method: 'set', 15894 params: h, 15895 type: 'INVALID_FBQ_METHOD_PARAMETER', 15896 }); 15897 break; 15898 case 'firstPartyCookies': 15899 var p = f[0], 15900 r = f[1], 15901 s = p === !0 || p === 'true' ? 'optIn' : 'optOut'; 15902 typeof r === 'string' 15903 ? Y.callMethod([s, r, 'FirstPartyCookies']) 15904 : r === void 0 15905 ? (Y.disableFirstPartyCookies = s === 'optOut') 15906 : T({ 15907 invalidParamName: 'pixel_id', 15908 invalidParamValue: r, 15909 method: 'set', 15910 params: h, 15911 type: 'INVALID_FBQ_METHOD_PARAMETER', 15912 }); 15913 break; 15914 case 'experiments': 15915 c.setExperiments.apply(c, f); 15916 break; 15917 case 'experimentsV2': 15918 oa.setExperiments.apply(oa, f); 15919 break; 15920 case 'guardrails': 15921 D.setGuardrails.apply(D, f); 15922 break; 15923 case 'moduleEncodings': 15924 da.setModuleEncodings.apply(da, f); 15925 break; 15926 case 'mobileBridge': 15927 var t = f[0], 15928 v = f[1]; 15929 if (typeof t !== 'string') { 15930 T({ 15931 invalidParamName: 'pixel_id', 15932 invalidParamValue: t, 15933 method: 'set', 15934 params: h, 15935 type: 'INVALID_FBQ_METHOD_PARAMETER', 15936 }); 15937 break; 15938 } 15939 if (typeof v !== 'string') { 15940
15940 T({ 15941 invalidParamName: 'app_id', 15942 invalidParamValue: v, 15943 method: 'set', 15944 params: h, 15945 type: 'INVALID_FBQ_METHOD_PARAMETER', 15946 }); 15947 break; 15948 } 15949 w.registerBridge([t, v]); 15950 break; 15951 case 'iwlExtractors': 15952 var x = f[0], 15953 y = f[1]; 15954 ia.triggerWeakly({ extractors: y, pixelID: x }); 15955 break; 15956 case 'estRules': 15957 var aa = f[0], 15958 ba = f[1]; 15959 ja.triggerWeakly({ rules: ba, pixelID: aa }); 15960 break; 15961 case 'ccRules': 15962 var ca = f[0], 15963 z = f[1]; 15964 ka.triggerWeakly({ rules: z, pixelID: ca }); 15965 break; 15966 case 'startIWLBootstrap': 15967 var A = f[0], 15968 fa = f[1]; 15969 ha.triggerWeakly({ graphToken: A, pixelID: fa }); 15970 break; 15971 case 'parallelfire': 15972 var ga = f[0], 15973 E = f[1]; 15974 Y.pluginConfig.set(ga, 'parallelfire', { target: E }); 15975 break; 15976 case 'openbridge': 15977 var F = f[0], 15978 H = f[1]; 15979 F !== null && 15980 H !== null && 15981 typeof F === 'string' && 15982 typeof H === 'string' && 15983 (Y.callMethod(['optIn', F, 'OpenBridge']), 15984 Y.pluginConfig.set(F, 'openbridge', { endpoints: [{ endpoint: H }] })); 15985 break; 15986 case 'trackSingleOnly': 15987 var I = f[0], 15988 J = f[1], 15989 K = B(I, C['boolean']()), 15990 L = B(J, C.fbid()); 15991 if (L == null) { 15992 T({ 15993 invalidParamName: 'pixel_id', 15994 invalidParamValue: J, 15995 method: 'set', 15996 params: h, 15997 type: 'INVALID_FBQ_METHOD_PARAMETER', 15998 }); 15999 break; 16000 } 16001 if (K == null) { 16002 T({ 16003 invalidParamName: 'on_or_off', 16004 invalidParamValue: I, 16005 method: 'set', 16006 params: h, 16007 type: 'INVALID_FBQ_METHOD_PARAMETER', 16008 }); 16009 break; 16010 } 16011 var M = q.validateMetadata(d); 16012 M.error && T(M.error); 16013 M.warnings &&
16014 M.warnings.forEach(function (a) { 16015 T(a); 16016 }); 16017 ta.call(X, L) 16018 ? (X[L].trackSingleOnly = K) 16019 : T({ metadataValue: d, pixelID: L, type: 'SET_METADATA_ON_UNINITIALIZED_PIXEL_ID' }); 16020 break; 16021 case 'userData': 16022 var N = f[0], 16023 O = N == null || G(N); 16024 if (!O) { 16025 T({ 16026 invalidParamName: 'user_data', 16027 invalidParamValue: N, 16028 method: 'set', 16029 params: h, 16030 type: 'INVALID_FBQ_METHOD_PARAMETER', 16031 }); 16032 return; 16033 } 16034 var la = i({}, N); 16035 for (var P = 0; P < W.length; P++) { 16036 var Q = W[P], 16037 ma = Y.optIns.isOptedIn(Q.id, 'AutomaticMatching'), 16038 na = Y.optIns.isOptedIn(Q.id, 'ShopifyAppIntegratedPixel'), 16039 R = D.eval('process_pii_from_shopify'); 16040 ma && na && R 16041 ? ea(Y, Q, N, la) 16042 : T({ 16043 invalidParamName: 'pixel_id', 16044 invalidParamValue: Q.id, 16045 method: 'set', 16046 params: h, 16047 type: 'INVALID_FBQ_METHOD_PARAMETER', 16048 }); 16049 } 16050 break; 16051 default: 16052 var pa = Y.pluginConfig.getWithGlobalFallback(null, 'dataProcessingOptions'), 16053 qa = pa != null && pa.dataProcessingOptions.includes('LDU'), 16054 S = f[0], 16055 U = f[1]; 16056 if (typeof d !== 'string') 16057 throw new Error("The metadata setting provided in the 'set' call is invalid."); 16058 if (typeof S !== 'string') { 16059 if (qa) break; 16060 T({ 16061 invalidParamName: 'value', 16062 invalidParamValue: S, 16063 method: 'set', 16064 params: h, 16065 type: 'INVALID_FBQ_METHOD_PARAMETER', 16066 }); 16067 break; 16068 } 16069 if (typeof U !== 'string') { 16070 if (qa) break; 16071 T({ 16072 invalidParamName: 'pixel_id', 16073 invalidParamValue: U, 16074 method: 'set', 16075 params: h, 16076 type: 'INVALID_FBQ_METHOD_PARAMETER', 16077 }); 16078 break; 16079 } 16080 Fa(d, S, U); 16081 break; 16082 } 16083 } 16084 a._initHandlers = []; 16085 a._initsDone = {}; 16086 function Da(a, b, c) { 16087 try { 16088 V = V === -1 ? Date.now() : V; 16089 var d = ca(a); 16090 if (d == null) return; 16091 var e = b == null || G(b); 16092 e || 16093 T({ 16094 invalidParamName: 'user_data', 16095 invalidParamValue: b, 16096 method: 'init', 16097 params: [a, b], 16098 type: 'INVALID_FBQ_METHOD_PARAMETER', 16099 }); 16100 a = D.eval('send_censored_ph', d) || D.eval('send_censored_em', d); 16101 var f = {}; 16102 e && a && (f = ga(b || {})); 16103 a = null; 16104 b != null && ((a = i({}, b)), (b = Q(b)), (b = P(b)), (b = ma(b))); 16105 if (ta.call(X, d)) { 16106 b != null && F(X[d].userData) 16107 ? ((X[d].userData = e ? b || {} : {}), 16108 (X[d].alternateUserData = e ? a || {} : {}), 16109 (X[d].censoredUserDataFormat = f), 16110 Z.loadPlugin('identity')) 16111 : T({ pixelID: d, type: 'DUPLICATE_PIXEL_ID' }); 16112 return; 16113 } 16114 c = { 16115 agent: c ? c.agent : null, 16116 eventCount: 0, 16117 id: d, 16118 userData: e ? b || {} : {}, 16119 alternateUserData: e ? a || {} : {}, 16120 userDataFormFields: {}, 16121 alternateUserDataFormFields: {}, 16122 censoredUserDataFormat: f, 16123 censoredUserDataFormatFormFields: {}, 16124 }; 16125 W.push(c); 16126 X[d] = c; 16127 b != null && Z.loadPlugin('identity'); 16128 Y.optIns.isOptedIn(d, 'OpenBridge') && Z.loadPlugin('openbridge3'); 16129 Ea(); 16130 Y.loadConfig(d); 16131 } catch (a) { 16132 S(a, 'pixel', 'Init'); 16133 } 16134 } 16135 function Ea() { 16136 for (var b = 0; b < a._initHandlers.length; b++) { 16137 var c = a._initHandlers[b]; 16138 a._initsDone[b] || (a._initsDone[b] = {}); 16139 for (var d = 0; d < W.length; d++) { 16140 var e = W[d]; 16141 a._initsDone[b][e.id] || ((a._initsDone[b][e.id] = !0), c(e)); 16142 } 16143 } 16144 } 16145 function Fa(a, b, c) { 16146 var d = q.validateMetadata(a); 16147 d.error && T(d.error); 16148 d.warnings &&
16149 d.warnings.forEach(function (a) { 16150 T(a); 16151 }); 16152 if (ta.call(X, c)) { 16153 for (var d = 0, e = W.length; d < e; d++) 16154 if (W[d].id === c) { 16155 W[d][a] = b; 16156 break; 16157 } 16158 } else T({ metadataValue: b, pixelID: c, type: 'SET_METADATA_ON_UNINITIALIZED_PIXEL_ID' }); 16159 } 16160 function Ga(a, b, c) { 16161 ((b = b || {}), 16162 q.validateEventAndLog(a, b), 16163 a === 'CustomEvent' && typeof b.event === 'string' && (a = b.event), 16164 Ha.call(this, a, b, c)); 16165 } 16166 function Ha(b, c, e) { 16167 var f = this, 16168 h = !1, 16169 j = null; 16170 this == null && 16171 ((f = new Aa({ allowDuplicatePageViews: !0, isAutomaticPageView: !0 })), 16172 (j = new d(a.piiTranslator)), 16173 j.append('ie[a]', '1')); 16174 try { 16175 D.eval('reset_init_time_on_spa_page_change') && f.isAutomaticPageView && (V = V !== -1 ? Date.now() : V); 16176 for (var k = 0, l = W.length; k < l; k++) { 16177 var m = W[k], 16178 n = Date.now().toString(), 16179 o = g.fbq.instance.pluginConfig.get(m.id, 'buffer'), 16180 p = !1; 16181 o != null && (p = o.onlyBufferPageView === !0 && na.isInTest('spa_pageview_fix')); 16182 p = f.allowDuplicatePageViews || p; 16183 f.isAutomaticPageView && (e = i(i({}, e), {}, { isAutomaticPageView: !0 })); 16184 if (!(b === 'PageView' && p) && Object.prototype.hasOwnProperty.call(ya, b) && ya[b].has(m.id)) 16185 continue; 16186 if (m.trackSingleOnly) continue; 16187 Ra({ customData: c, eventData: e, eventName: b, pixel: m, additionalCustomParams: j, experimentId: n }); 16188 Object.prototype.hasOwnProperty.call(ya, b) && ya[b].add(m.id); 16189 } 16190 } catch (a) { 16191 throw a; 16192 } finally { 16193 h && na.clearExposure(); 16194 } 16195 } 16196 function Ia(a, b, c, d) { 16197 try { 16198 b = b || {}; 16199 for (var e = 0, f = W.length; e < f; e++) { 16200 var g = W[e]; 16201 if (g == null || g.id == null) continue; 16202 la.trigger({ pixelID: g.id, eventName: a, customData: b, eventData: c, unsafeCustomParams: d }); 16203 } 16204 } catch (a) { 16205 S(a, 'pixel', 'webchat'); 16206 } 16207 } 16208 function Ja(a, b, c, d, e) { 16209 var f = Ka(a, b, e); 16210 if (!f) return; 16211 c = La(a, b, c, e); 16212 q.validateEventAndLog(b, c); 16213 b === 'CustomEvent' && typeof c.event === 'string' && (b = c.event); 16214 Ha.call(this, b, c, d); 16215 } 16216 function Ka(a, b, c) { 16217 if (b !== 'ViewContent') return !0; 16218 b = B(c, C.objectWithFields({ shopify_event_name: C.allowNull(C.string()) })); 16219 c = ['collection_viewed', 'cart_viewed']; 16220 if (b == null || b.shopify_event_name == null || c.indexOf(b.shopify_event_name) === -1) return !0; 16221 return !R('enable_shopify_additional_events', a) ? !1 : oa.isInTestPageLoadLevelExperiment(qa); 16222 } 16223 function La(a, b, c, d) { 16224 c = c || {}; 16225 try { 16226 if (d == null || Object.keys(d).length === 0) return c; 16227 var e = Y.optIns.isOptedIn(a, 'ShopifyAppIntegratedPixel'); 16228 if (!e) return c; 16229 g.fbq.instance.pluginConfig.get(a, 'gating'); 16230 e = R('content_type_opt', a); 16231 var f = R('enable_product_variant_id', a), 16232 h = R('enable_shopify_payment_fields', a); 16233 a = R('enable_shopify_search_contents', a); 16234 d = B( 16235 d, 16236 C.objectWithFields({ 16237 product_variant_ids: C.allowNull(C.arrayOf(C.stringOrNumber())), 16238 content_type_favor_variant: C.allowNull(C.string()), 16239 contents: C.allowNull(C.arrayOf(C.allowNull(C.object()))), 16240 order_id: C.allowNull(C.stringOrNumber()), 16241 payment_method: C.allowNull( 16242 C.objectWithFields({ 16243 gateway: C.allowNull(C.string()), 16244 name: C.allowNull(C.string()), 16245 type: C.allowNull(C.string()), 16246 }), 16247 ), 16248 }), 16249 ); 16250 if (d == null) return c; 16251 d.order_id != null && (c.order_id = d.order_id); 16252 h && d.payment_method != null && (c.payment_method = d.payment_method); 16253 if (b === 'Search') { 16254 a && d.contents != null && d.contents.length >
16254 0 && (c.contents = d.contents); 16255 return c; 16256 } 16257 f 16258 ? d.contents != null && d.contents.length > 0 && (c.contents = d.contents) 16259 : e && ((c.content_ids = d.product_variant_ids), (c.content_type = d.content_type_favor_variant)); 16260 return c; 16261 } catch (a) { 16262 a.message = '[Shopify]: '.concat(a.message); 16263 S(a); 16264 return c; 16265 } 16266 } 16267 function Ma(a, b) { 16268 var c = Date.now().toString(); 16269 Ra({ customData: b, eventName: a, experimentId: c }); 16270 } 16271 function Na(a, b, c) { 16272 W.forEach(function (c) { 16273 var d = Date.now().toString(); 16274 Ra({ customData: b, eventName: a, pixel: c, experimentId: d }); 16275 }); 16276 } 16277 function $(a) { 16278 a = a.toLowerCase().trim(); 16279 var b = a.endsWith('@icloud.com'); 16280 a = a.endsWith('@privaterelay.appleid.com'); 16281 if (b) return 2; 16282 if (a) return 1; 16283 } 16284 function Oa(b, c, e, f, g, h) { 16285 var j = new d(a.piiTranslator); 16286 h != null && (j = h); 16287 try { 16288 h = (b && b.userData) || {}; 16289 var k = (b && b.censoredUserDataFormat) || {}, 16290 l = (b && b.censoredUserDataFormatFormFields) || {}, 16291 m = (b && b.userDataFormFields) || {}, 16292 n = (b && b.alternateUserDataFormFields) || {}, 16293 o = (b && b.alternateUserData) || {}, 16294 p, 16295 q = {}, 16296 r = {}, 16297 s = h.em; 16298 s != null && $(s) && ((p = $(s)), p === 1 && (q.em = ra)); 16299 s = m.em; 16300 s != null && $(s) && ((p = $(s)), p === 1 && (r.em = ra)); 16301 s = {}; 16302 var t = o.em; 16303 t != null && $(t) && ((p = $(t)), p === 1 && (s.em = ra)); 16304 t = {}; 16305 var u = n.em; 16306 u != null && $(u) && ((p = $(u)), p === 1 && (t.em = ra)); 16307 p != null && j.append('ped', p); 16308 k != {} && j.append('cud', k); 16309 l != {} && j.append('cudff', l); 16310 j.append('ud', i(i({}, h), q), !0); 16311 j.append('aud', i(i({}, o), s), !0); 16312 j.append('udff', i(i({}, m), r), !0); 16313 j.append('audff', i(i({}, n), t), !0); 16314 } catch (a) { 16315 L.trigger(b); 16316 } 16317 j.append('v', a.version); 16318 a._releaseSegment && j.append('r', a._releaseSegment); 16319 j.append('a', b && b.agent ? b.agent : a.agent); 16320 b && (j.append('ec', b.eventCount), b.eventCount++); 16321 u = K.trigger(b, c, e, f, g); 16322 E(u, function (a) { 16323 return E(I(a), function (b) { 16324 if (j.containsKey(b)) { 16325 if (!za.has(b))
16326 if (b === 'bfs' && G(a[b]) && G(j.get(b))) { 16327 var c = j.get(b); 16328 c = i(i({}, c), a[b]); 16329 j.replaceEntry(b, c); 16330 } else throw new Error('Custom parameter '.concat(b, ' has already been specified.')); 16331 a && (Pa(b, a[b]) || Qa(b, a[b])) && j.replaceEntry(b, a[b]); 16332 } else j.append(b, a[b]); 16333 }); 16334 }); 16335 j.append('it', V); 16336 k = b && b.codeless === 'false'; 16337 j.append('coo', k); 16338 l = Y.pluginConfig.getWithGlobalFallback(b ? b.id : null, 'dataProcessingOptions'); 16339 if (l != null) { 16340 h = l.dataProcessingCountry; 16341 q = l.dataProcessingOptions; 16342 o = l.dataProcessingState; 16343 j.append('dpo', q.join(',')); 16344 j.append('dpoco', h); 16345 j.append('dpost', o); 16346 } 16347 s = Y.pluginConfig.getWithGlobalFallback(b ? b.id : null, 'disabledExtensions'); 16348 if (s != null) { 16349 m = s.disabledExtensions; 16350 j.append('de', m.join(',')); 16351 } 16352 return j; 16353 } 16354 function Pa(a, b) { 16355 return (a === 'eid' || a === 'eid%5B%5D') && b && typeof b === 'string' && b.startsWith('ob3_plugin-set'); 16356 } 16357 function Qa(a, b) { 16358 return ( 16359 (a === 'eid' || a === 'eid%5B%5D') && b && typeof b === 'string' && b.startsWith('sgwpixel_plugin-set') 16360 ); 16361 } 16362 function Ra(a) { 16363 var b = a.customData, 16364 c = a.eventData, 16365 d = a.eventName, 16366 e = a.pixel, 16367 f = a.additionalCustomParams; 16368 a = a.experimentId; 16369 b = b || {}; 16370 if (e != null && w.pixelHasActiveBridge(e)) { 16371 w.sendEvent(e, d, b); 16372 return; 16373 } 16374 var g = Oa(e, d, b, void 0, c, f); 16375 s(c, b, g); 16376 fa.trigger({ 16377 pixelID: e ? e.id : null, 16378 eventName: d, 16379 customData: b, 16380 eventData: c, 16381 eventId: g.getEventId(), 16382 }); 16383 f = M.trigger(e, b, d); 16384 E(f, function (a) { 16385 a != null && 16386 E(I(a), function (b) { 16387 b != null && g.append(b, a[b]); 16388 }); 16389 }); 16390 f = j.href; 16391 var i = h.referrer, 16392 k = {}; 16393 f != null && (k.dl = f); 16394 i != null && (k.rl = i); 16395 F(k) || N.trigger(e, k, d, g); 16396 n( 16397 { 16398 customData: b, 16399 customParams: g, 16400 eventName: d, 16401 id: e ? e.id : null, 16402 piiTranslator: null, 16403 documentLink: k.dl ? k.dl : '', 16404 referrerLink: k.rl ? k.rl : '', 16405 eventData: c, 16406 experimentId: a, 16407 }, 16408 Y, 16409 ); 16410 } 16411 function Sa() { 16412 while (g.fbq.queue && g.fbq.queue.length && !U.isLocked()) { 16413 var a = g.fbq.queue.shift(); 16414 Ba.apply(g.fbq, a); 16415 } 16416 } 16417 U.onUnlocked(function () { 16418 Sa(); 16419 }); 16420 a.pixelId && ((va = !0), Da(a.pixelId)); 16421 ((va && wa) || g.fbq !== g._fbq) && T({ type: 'CONFLICTING_VERSIONS' }); 16422 W.length > 1 && T({ type: 'MULTIPLE_PIXELS' }); 16423 function Ta() { 16424 if (a.disablePushState === !0) return; 16425 if (!k.pushState || !k.replaceState) return; 16426 var b = y(function () { 16427 O.trigger(); 16428 xa = ua; 16429 ua = j.href; 16430 if (ua === xa) return; 16431 var a = new Aa({ allowDuplicatePageViews: !0, isAutomaticPageView: !0 }); 16432 Ba.call(a, 'trackCustom', 'PageView'); 16433 }); 16434 x(k, 'pushState', b); 16435 x(k, 'replaceState', b); 16436 g.addEventListener('popstate', b, !1); 16437 } 16438 function Ua() { 16439 'onpageshow' in g && 16440 g.addEventListener('pageshow', function (a) { 16441 if (a.persisted) { 16442 O.trigger(); 16443 a = new Aa({ allowDuplicatePageViews: !0, isAutomaticPageView: !0 }); 16444 Ba.call(a, 'trackCustom', 'PageView'); 16445 } 16446 }); 16447 } 16448 J.listenOnce(function () { 16449 (Ta(), Ua()); 16450 }); 16451 function Va(b) { 16452 (a._initHandlers.push(b), Ea()); 16453 } 16454 function Wa() { 16455 return { pixelInitializationTime: V, pixels: W }; 16456 } 16457 function Xa(a) { 16458 ((a.instance = Y), 16459 (a.callMethod = Ba), 16460 (a._initHandlers = []), 16461 (a._initsDone = {}), 16462 (a.send = Na), 16463 (a.getEventCustomParameters = Oa), 16464 (a.addInitHandler = Va), 16465 (a.getState = Wa), 16466 (a.init = Da), 16467 (a.set = Ca), 16468 (a.loadPlugin = function (a) { 16469 return Z.loadPlugin(a); 16470 }), 16471 (a.registerPlugin = function (a, b) { 16472 Z.registerPlugin(a, b); 16473 })); 16474 } 16475 Xa(g.fbq); 16476 Sa(); 16477 l.exports = { doExport: Xa }; 16478 e.trigger(); 16479 })(); 16480 return l.exports; 16481 })(a, b, c, d); 16482 }); 16483 e.exports = f.getFbeventsModules('SignalsFBEvents'); 16484 f.registerPlugin && f.registerPlugin('fbevents', e.exports); 16485 f.ensureModuleRegistered('fbevents', function () { 16486 return e.exports; 16487 }); 16488 })(); 16489})(window, document, location, history); 16490fbq.registerPlugin('global_config', { 16491 __fbEventsPlugin: 1, 16492 plugin: function (fbq, instance, config) { 16493 fbq.loadPlugin('commonincludes'); 16494 fbq.loadPlugin('identity'); 16495 fbq.loadPlugin('privacysandbox'); 16496 fbq.loadPlugin('opttracking'); 16497 fbq.set('experiments', [ 16498 { allocation: 0.01, code: 'c', name: 'no_op_exp', passRate: 0.5 }, 16499 { allocation: 0, code: 'd', name: 'config_dedupe', passRate: 1 }, 16500 { allocation: 0, code: 'e', name: 'send_fbc_when_no_cookie', passRate: 1 }, 16501 { allocation: 0, code: 'f', name: 'send_events_in_batch', passRate: 0 }, 16502 { allocation: 0, code: 'h', name: 'set_fbc_cookie_after_config_load', passRate: 0 }, 16503 { allocation: 0, code: 'i', name: 'prioritize_send_beacon_in_url', passRate: 0.5 }, 16504 { allocation: 0, code: 'j', name: 'fix_fbc_fbp_update', passRate: 0 }, 16505 { allocation: 0.05, code: 'k', name: 'process_automatic_parameters', passRate: 0 }, 16506 { allocation: 0, code: 'l', name: 'async_param_refactor', passRate: 0.5 }, 16507 { allocation: 0.01, code: 'm', name: 'sync_process_event', passRate: 0.5 }, 16508 { allocation: 0.04, code: 's', name: 'fix_null_context_passed', passRate: 0.5 }, 16509 ]); 16510 fbq.set('guardrails', [ 16511 { name: 'no_op', code: 'a', passRate: 1, enableForPixels: ['569835061642423'] }, 16512 { name: 'extract_extra_microdata', code: 'b', passRate: 0, enableForPixels: [] }, 16513 { name: 'sgw_auto_extract', code: 'c', passRate: 1, enableForPixels: ['1296510287734738', '337570375319394'] }, 16514 { name: 'multi_eid_fix', code: 'd', passRate: 0, enableForPixels: ['909978539160024'] }, 16515 { name: 'use_async_param_refactor', code: 'f', passRate: 1, enableForPixels: ['3421688111417438'] }, 16516 { name: 'process_pii_from_shopify', code: 'h', passRate: 1, enableForPixels: [] }, 16517 { name: 'send_censored_ph', code: 'f', passRate: 1, enableForPixels: ['569835061642423'] }, 16518 { name: 'send_censored_em', code: 'g', passRate: 1, enableForPixels: ['569835061642423'] }, 16519 { 16520 name: 'enable_button_click_optimize_experiment', 16521 code: 'j', 16522 passRate: 1, 16523 enableForPixels: ['1728810767262484'], 16524 }, 16525 { name: 'send_normalized_ud_format', code: 'e', passRate: 1, enableForPixels: ['569835061642423'] }, 16526 { name: 'enable_automatic_parameter_logging', code: 'i', passRate: 1, enableForPixels: [] }, 16527 { name: 'release_spa_pageview_fix', code: 'l', passRate: 1, enableForPixels: ['569835061642423'] }, 16528 { name: 'release_fix_null_context_passed', code: 'n', passRate: 1, enableForPixels: [] }, 16529 { name: 'reset_init_time_on_spa_page_change', code: 'o', passRate: 1, enableForPixels: [] }, 16530 ]); 16531 fbq.set('moduleEncodings', { 16532 map: { 16533 generateEventId: 0, 16534 handleEventIdOverride: 1, 16535 normalizeSignalsFBEventsDOBType: 2, 16536 normalizeSignalsFBEventsEmailType: 3, 16537 normalizeSignalsFBEventsEnumType: 4, 16538 normalizeSignalsFBEventsPhoneNumberType: 5, 16539 normalizeSignalsFBEventsPostalCodeType: 6, 16540 normalizeSignalsFBEventsStringType: 7, 16541 SignalsConvertNodeToHTMLElement: 8, 16542 SignalsEventValidation: 9, 16543 SignalsFBEventsAddGmailSuffixToEmail: 10, 16544 SignalsFBEventsAsyncParamUtils: 11, 16545 SignalsFBEventsAutomaticPageViewEvent: 12, 16546 SignalsFBEventsBaseEvent: 13, 16547 SignalsFBEventsBatcher: 14,
16548 SignalsFBEventsBotBlockingConfigTypedef: 15, 16549 SignalsFBEventsBrowserPropertiesConfigTypedef: 16, 16550 SignalsFBEventsBufferConfigTypedef: 17, 16551 SignalsFBEventsCCRuleEvaluatorConfigTypedef: 18, 16552 SignalsFBEventsCensor: 19, 16553 SignalsFBEventsClientHintConfigTypedef: 20, 16554 SignalsFBEventsClientSidePixelForkingConfigTypedef: 21, 16555 signalsFBEventsCoerceAutomaticMatchingConfig: 22, 16556 signalsFBEventsCoerceBatchingConfig: 23, 16557 signalsFBEventsCoerceInferedEventsConfig: 24, 16558 signalsFBEventsCoerceParameterExtractors: 25, 16559 signalsFBEventsCoercePixelID: 26, 16560 SignalsFBEventsCoercePrimitives: 27, 16561 signalsFBEventsCoerceStandardParameter: 28, 16562 SignalsFBEventsConfigLoadedEvent: 29, 16563 SignalsFBEventsConfigStore: 30, 16564 SignalsFBEventsCookieConfigTypedef: 31, 16565 SignalsFBEventsCookieDeprecationLabelConfigTypedef: 32, 16566 SignalsFBEventsCorrectPIIPlacement: 33, 16567 SignalsFBEventsDataProcessingOptionsConfigTypedef: 34, 16568 SignalsFBEventsDefaultCustomDataConfigTypedef: 35, 16569 SignalsFBEventsDisabledExtensionsConfigTypedef: 36, 16570 signalsFBEventsDoAutomaticMatching: 37, 16571 SignalsFBEventsESTRuleEngineConfigTypedef: 38, 16572 SignalsFBEventsEvents: 39, 16573 SignalsFBEventsEventValidationConfigTypedef: 40, 16574 SignalsFBEventsExperimentNames: 41, 16575 SignalsFBEventsExperimentsTypedef: 42, 16576 SignalsFBEventsExperimentsV2Typedef: 43, 16577 SignalsFBEventsExtractPII: 44, 16578 SignalsFBEventsFBQ: 45, 16579 signalsFBEventsFeatureGate: 46, 16580 signalsFBEventsFillParamList: 47, 16581 SignalsFBEventsFilterProtectedModeEvent: 48, 16582 SignalsFBEventsFiredEvent: 49, 16583 signalsFBEventsFireEvent: 50, 16584 SignalsFBEventsFireLock: 51, 16585 SignalsFBEventsForkEvent: 52, 16586 SignalsFBEventsGatingConfigTypedef: 53, 16587 SignalsFBEventsGetAutomaticParametersEvent: 54, 16588 SignalsFBEventsGetCustomParametersEvent: 55, 16589 signalsFBEventsGetIsChrome: 56, 16590 signalsFBEventsGetIsIosInAppBrowser: 57, 16591 SignalsFBEventsGetIWLParametersEvent: 58, 16592 SignalsFBEventsGetTimingsEvent: 59, 16593 SignalsFBEventsGetValidUrl: 60, 16594 SignalsFBEventsGuardrail: 61, 16595 SignalsFBEventsGuardrailTypedef: 62, 16596 SignalsFBEventsIABPCMAEBridgeConfigTypedef: 63, 16597 SignalsFBEventsImagePixelOpenBridgeConfigTypedef: 64, 16598 signalsFBEventsInjectMethod: 65, 16599 SignalsFBEventsIWLBootStrapEvent: 66, 16600 SignalsFBEventsJSLoader: 67, 16601 SignalsFBEventsLateValidateCustomParametersEvent: 68, 16602 SignalsFBEventsLegacyExperimentGroupsTypedef: 69, 16603 SignalsFBEventsLogging: 70, 16604 signalsFBEventsMakeSafe: 71, 16605 SignalsFBEventsMessageParamsTypedef: 72, 16606 SignalsFBEventsMicrodataConfigTypedef: 73, 16607 SignalsFBEventsMobileAppBridge: 74, 16608 SignalsFBEventsModuleEncodings: 75, 16609 SignalsFBEventsModuleEncodingsTypedef: 76, 16610 SignalsFBEventsNetworkConfig: 77, 16611 SignalsFBEventsNormalizers: 78, 16612 SignalsFBEventsOpenBridgeConfigTypedef: 79, 16613 SignalsFBEventsOptIn: 80, 16614 SignalsFBEventsParallelFireConfigTypedef: 81, 16615 SignalsFBEventsPIIAutomatchedEvent: 82, 16616 SignalsFBEventsPIIConflictingEvent: 83,
16617 SignalsFBEventsPIIInvalidatedEvent: 84, 16618 SignalsFBEventsPixelCookie: 85, 16619 SignalsFBEventsPixelPIISchema: 86, 16620 SignalsFBEventsPixelTypedef: 87, 16621 SignalsFBEventsPlugin: 88, 16622 SignalsFBEventsPluginLoadedEvent: 89, 16623 SignalsFBEventsPluginManager: 90, 16624 SignalsFBEventsProcessCCRulesEvent: 91, 16625 SignalsFBEventsProcessEmailAddress: 92, 16626 SignalsFBEventsProhibitedPixelConfigTypedef: 93, 16627 SignalsFBEventsProhibitedSourcesTypedef: 94, 16628 SignalsFBEventsProtectedDataModeConfigTypedef: 95, 16629 SignalsFBEventsQE: 96, 16630 SignalsFBEventsQEV2: 97, 16631 signalsFBEventsResolveLegacyArguments: 98, 16632 SignalsFBEventsResolveLink: 99, 16633 SignalsFBEventsRestrictedDomainsConfigTypedef: 100, 16634 signalsFBEventsSendBatch: 101, 16635 signalsFBEventsSendBeacon: 102, 16636 signalsFBEventsSendBeaconWithParamsInURL: 103, 16637 SignalsFBEventsSendCloudbridgeEvent: 104, 16638 signalsFBEventsSendEvent: 105, 16639 SignalsFBEventsSendEventEvent: 106, 16640 signalsFBEventsSendEventImpl: 107, 16641 signalsFBEventsSendFormPOST: 108, 16642 signalsFBEventsSendGET: 109, 16643 signalsFBEventsSendXHR: 110, 16644 SignalsFBEventsSetCCRules: 111, 16645 SignalsFBEventsSetESTRules: 112, 16646 SignalsFBEventsSetEventIDEvent: 113, 16647 SignalsFBEventsSetFBPEvent: 114, 16648 SignalsFBEventsSetFilteredEventName: 115, 16649 SignalsFBEventsSetIWLExtractorsEvent: 116, 16650 SignalsFBEventsShared: 117, 16651 SignalsFBEventsShouldRestrictReferrerEvent: 118, 16652 SignalsFBEventsStandardParamChecksConfigTypedef: 119, 16653 SignalsFBEventsTelemetry: 120, 16654 SignalsFBEventsTrackEventEvent: 121, 16655 SignalsFBEventsTriggerSgwPixelTrackCommandConfigTypedef: 122, 16656 SignalsFBEventsTyped: 123, 16657 SignalsFBEventsTypeVersioning: 124, 16658 SignalsFBEventsUnwantedDataTypedef: 125, 16659 SignalsFBEventsUnwantedEventNamesConfigTypedef: 126, 16660 SignalsFBEventsUnwantedEventsConfigTypedef: 127, 16661 SignalsFBEventsUnwantedParamsConfigTypedef: 128, 16662 SignalsFBEventsURLUtil: 129, 16663 SignalsFBEventsUtils: 130, 16664 SignalsFBEventsValidateCustomParametersEvent: 131, 16665 SignalsFBEventsValidateGetClickIDFromBrowserProperties: 132, 16666 SignalsFBEventsValidateUrlParametersEvent: 133, 16667 SignalsFBEventsValidationUtils: 134, 16668 SignalsFBEventsWebchatConfigTypedef: 135, 16669 SignalsFBEventsWebChatEvent: 136, 16670 SignalsParamList: 137, 16671 SignalsPixelCookieUtils: 138, 16672 SignalsPixelPIIConstants: 139, 16673 SignalsPixelPIIUtils: 140, 16674 SignalsFBEvents: 141, 16675 'SignalsFBEvents.plugins.automaticparameters': 142, 16676 '[object Object]': 143, 16677 'SignalsFBEvents.plugins.botblocking': 144, 16678 'SignalsFBEvents.plugins.browserproperties': 145, 16679 'SignalsFBEvents.plugins.buffer': 146, 16680 'SignalsFBEvents.plugins.ccruleevaluator': 147, 16681 'SignalsFBEvents.plugins.clienthint': 148, 16682 'SignalsFBEvents.plugins.clientsidepixelforking': 149, 16683 'SignalsFBEvents.plugins.commonincludes': 150, 16684 'SignalsFBEvents.plugins.cookie': 151, 16685 'SignalsFBEvents.plugins.cookiedeprecationlabel': 152, 16686 'SignalsFBEvents.plugins.debug': 153, 16687 'SignalsFBEvents.plugins.defaultcustomdata': 154, 16688 'SignalsFBEvents.plugins.domainblocking': 155, 16689 'SignalsFBEvents.plugins.engagementdata': 156, 16690 'SignalsFBEvents.plugins.estruleengine': 157, 16691 'SignalsFBEvents.plugins.eventvalidation': 158, 16692 'SignalsFBEvents.plugins.gating': 159, 16693 'SignalsFBEvents.plugins.iabpcmaebridge': 160, 16694 'SignalsFBEvents.plugins.identifyintegration': 161, 16695 'SignalsFBEvents.plugins.identity': 162, 16696 'SignalsFBEvents.plugins.imagepixelopenbridge': 163, 16697 'SignalsFBEvents.plugins.inferredevents': 164, 16698 'SignalsFBEvents.plugins.iwlbootstrapper': 165, 16699 'SignalsFBEvents.plugins.iwlparameters': 166, 16700 'SignalsFBEvents.plugins.jsonld_microdata': 167, 16701 'SignalsFBEvents.plugins.lastexternalreferrer': 168, 16702 'SignalsFBEvents.plugins.microdata': 169, 16703 'SignalsFBEvents.plugins.openbridge3': 170, 16704 'SignalsFBEvents.plugins.openbridgerollout': 171, 16705 'SignalsFBEvents.plugins.opttracking': 172, 16706 'SignalsFBEvents.plugins.pagemetadata': 173, 16707 'SignalsFBEvents.plugins.parallelfire': 174, 16708 'SignalsFBEvents.plugins.pdpdataprototype': 175, 16709 'SignalsFBEvents.plugins.performance': 176, 16710 'SignalsFBEvents.plugins.privacysandbox': 177, 16711 'SignalsFBEvents.plugins.prohibitedpixels': 178, 16712 'SignalsFBEvents.plugins.prohibitedsources': 179, 16713 'SignalsFBEvents.plugins.protecteddatamode': 180, 16714 'SignalsFBEvents.plugins.scrolldepth': 181, 16715 'SignalsFBEvents.plugins.shopifyappintegratedpixel': 182, 16716 'SignalsFBEvents.plugins.standardparamchecks': 183, 16717 'SignalsFBEvents.plugins.timespent': 184, 16718 'SignalsFBEvents.plugins.topicsapi': 185, 16719 'SignalsFBEvents.plugins.triggersgwpixeltrackcommand': 186, 16720 'SignalsFBEvents.plugins.unwanteddata': 187, 16721 'SignalsFBEvents.plugins.unwantedeventnames': 188, 16722 'SignalsFBEvents.plugins.unwantedevents': 189, 16723 'SignalsFBEvents.plugins.unwantedparams': 190, 16724 'SignalsFBEvents.plugins.webchat': 191, 16725 'SignalsFBEvents.plugins.webpagecontentextractor': 192, 16726 'SignalsFBEvents.plugins.websiteperformance': 193, 16727 SignalsFBEventsTimespentTracking: 194, 16728 'SignalsFBevents.plugins.automaticmatchingforpartnerintegrations': 195, 16729 cbsdk_fbevents_embed: 196, 16730 SignalsFBEventsBlockFlags: 197, 16731 SignalsFBEventsCCRuleEngine: 198, 16732 SignalsFBEventsESTCustomData: 199, 16733 SignalsFBEventsEnums: 200, 16734 SignalsFBEventsFbcCombiner: 201,
16735 SignalsFBEventsFormFieldFeaturesType: 202, 16736 SignalsFBEventsGetIsAndroidChrome: 203, 16737 SignalsFBEventsLocalStorageUtils: 204, 16738 SignalsFBEventsOptTrackingOptions: 205, 16739 SignalsFBEventsPerformanceTiming: 206, 16740 SignalsFBEventsProxyState: 207, 16741 SignalsFBEventsTransformToCCInput: 208, 16742 SignalsFBEventsTypes: 209, 16743 SignalsFBEventsWildcardMatches: 210, 16744 SignalsInteractionUtil: 211, 16745 SignalsPageVisibilityUtil: 212, 16746 SignalsPixelClientSideForkingUtils: 213, 16747 sha256_with_dependencies_new: 214, 16748 signalsFBEventsExtractMicrodataSchemas: 215, 16749 signalsFBEventsGetIsAndroid: 216, 16750 signalsFBEventsGetIsAndroidIAW: 217, 16751 signalsFBEventsGetIsChromeInclIOS: 218, 16752 signalsFBEventsGetIsMicrosoftEdge: 219, 16753 signalsFBEventsGetIsSafariOrMobileSafari: 220, 16754 signalsFBEventsGetIsWebview: 221, 16755 signalsFBEventsGetIwlUrl: 222, 16756 signalsFBEventsGetTier: 223, 16757 signalsFBEventsIsHostFacebook: 224, 16758 signalsFBEventsMakeSafeString: 225, 16759 signalsFBEventsShouldNotDropCookie: 226, 16760 SignalsFBEventsAutomaticEventsTypes: 227, 16761 SignalsFBEventsFeatureCounter: 228, 16762 SignalsFBEventsThrottler: 229, 16763 signalsFBEventsCollapseUserData: 230, 16764 signalsFBEventsElementDoesMatch: 231, 16765 signalsFBEventsExtractButtonFeatures: 232, 16766 signalsFBEventsExtractEventPayload: 233, 16767 signalsFBEventsExtractForm: 234, 16768 signalsFBEventsExtractFormFieldFeatures: 235, 16769 signalsFBEventsExtractFromInputs: 236, 16770 signalsFBEventsExtractPageFeatures: 237, 16771 signalsFBEventsGetTruncatedButtonText: 238, 16772 signalsFBEventsGetWrappingButton: 239, 16773 signalsFBEventsIsIWLElement: 240, 16774 signalsFBEventsIsSaneAndNotDisabledButton: 241, 16775 signalsFBEventsValidateButtonEventExtractUserData: 242, 16776 SignalsFBEventsBotDetectionEngine: 243, 16777 'babel.config': 244, 16778 signalsFBEventsCoerceUserData: 245, 16779 SignalsFBEventsConfigTypes: 246, 16780 SignalsFBEventsForkCbsdkEvent: 247, 16781 getDeepStackTrace: 248, 16782 getIntegrationCandidates: 249, 16783 signalsFBEventsSendXHRWithRetry: 250, 16784 OpenBridgeConnection: 251, 16785 OpenBridgeFBLogin: 252, 16786 ResolveLinks: 253, 16787 assignExperiment: 254, 16788 openBridgeDomainFilter: 255, 16789 openBridgeUserDataUtils: 256, 16790 topics_api_utility_lib: 257, 16791 analytics_debug: 258, 16792 analytics_ecommerce: 259, 16793 analytics_enhanced_ecommerce: 260, 16794 analytics_enhanced_link_attribution: 261, 16795 analytics_release: 262, 16796 proxy_polyfill: 263, 16797 SignalsFBEventsBrowserPropertiesTypedef: 264, 16798 SignalsFBEventsClientHintTypedef: 265, 16799 SignalsFBEventsESTRuleConditionTypedef: 266, 16800 SignalsFBEventsLocalStorageTypedef: 267, 16801 fbevents_embed: 268, 16802 }, 16803 hash: 'dcbbef44c997927c5af260dbc0059090127dce285cd316734e66d01ffe06084e', 16804 }); 16805 config.set(null, 'batching', { batchWaitTimeMs: 10, maxBatchSize: 10 }); 16806 config.set(null, 'microdata', { waitTimeMs: 500 }); 16807 fbq.set('experimentsV2', [ 16808 { 16809 allocation: 1, 16810 code: 'pl', 16811 name: 'page_load_level_no_op_experiment', 16812 passRate: 0.5, 16813 universe: 'page_load_level_no_op_universe', 16814 evaluationType: 'PAGE_LOAD_LEVEL', 16815 }, 16816 { 16817 allocation: 1, 16818 code: 'el', 16819 name: 'event_level_no_op_experiment', 16820 passRate: 0.5, 16821 universe: 'event_level_no_op_universe', 16822 evaluationType: 'EVENT_LEVEL', 16823 }, 16824 { 16825 allocation: 1, 16826 code: 'bc', 16827 name: 'button_click_optimize_experiment_v2', 16828 passRate: 1, 16829 universe: 'button_click_experiment_universe', 16830 evaluationType: 'PAGE_LOAD_LEVEL', 16831 }, 16832 { 16833 allocation: 0, 16834 code: 'se', 16835 name: 'process_additional_shopify_events', 16836 passRate: 0, 16837 universe: 'shopify_events_universe', 16838 evaluationType: 'PAGE_LOAD_LEVEL', 16839 }, 16840 ]); 16841 instance.configLoaded('global_config'); 16842 }, 16843});
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.