1/*! For license information please see app-4ee797c931a7e03382d4-updated-footer.js.LICENSE.txt */ 2(window.webpackJsonp = window.webpackJsonp || []).push([ 3 [5], 4 { 5 "+ZDr": function (e, t, n) { 6 "use strict"; 7 var r = n("5NKs"); 8 (t.__esModule = !0), 9 (t.withPrefix = h), 10 (t.withAssetPrefix = function (e) { 11 return h(e, g()); 12 }), 13 (t.navigateTo = t.replace = t.push = t.navigate = t.default = void 0); 14 var o = r(n("uDP2")), 15 a = r(n("j8BX")), 16 i = r(n("v06X")), 17 s = r(n("XEEL")), 18 u = r(n("17x9")), 19 c = r(n("FdF9")), 20 l = n("YwZP"), 21 p = n("LYrO"), 22 f = n("cu4x"); 23 t.parsePath = f.parsePath; 24 var d = function (e) { 25 return null == e ? void 0 : e.startsWith("/"); 26 }; 27 function h(e, t) { 28 var n, r; 29 if ((void 0 === t && (t = v()), !m(e))) return e; 30 if (e.startsWith("./") || e.startsWith("../")) return e; 31 var o = 32 null !== (n = null !== (r = t) && void 0 !== r ? r : g()) && 33 void 0 !== n 34 ? n 35 : "/"; 36 return ( 37 "" + 38 ((null == o ? void 0 : o.endsWith("/")) ? o.slice(0, -1) : o) + 39 (e.startsWith("/") ? e : "/" + e) 40 ); 41 } 42 var g = function () { 43 return ""; 44 }, 45 v = function () { 46 return ""; 47 }, 48 m = function (e) { 49 return ( 50 e && 51 !e.startsWith("http://") && 52 !e.startsWith("https://") && 53 !e.startsWith("//") 54 ); 55 }; 56 var y = function (e, t) { 57 return "number" == typeof e 58 ? e 59 : m(e) 60 ? d(e) 61 ? h(e) 62 : (function (e, t) { 63 return d(e) ? e : (0, p.resolve)(e, t); 64 })(e, t) 65 : e; 66 }, 67 b = { 68 activeClassName: u.default.string, 69 activeStyle: u.default.object, 70 partiallyActive: u.default.bool, 71 }, 72 w = (function (e) { 73 function t(t) { 74 var n; 75 (n = e.call(this, t) || this).defaultGetProps = function (e) { 76 var t = e.isPartiallyCurrent, 77 r = e.isCurrent; 78 return (n.props.partiallyActive ? t : r) 79 ? { 80 className: [n.props.className, n.props.activeClassName] 81 .filter(Boolean) 82 .join(" "), 83 style: (0, a.default)( 84 {}, 85 n.props.style, 86 n.props.activeStyle 87 ), 88 } 89 : null; 90 }; 91 var r = !1; 92 return ( 93 "undefined" != typeof window && 94 window.IntersectionObserver && 95 (r = !0), 96 (n.state = { IOSupported: r }), 97 (n.handleRef = n.handleRef.bind((0, i.default)(n))), 98 n 99 ); 100 } 101 (0, s.default)(t, e); 102 var n = t.prototype; 103 return ( 104 (n.componentDidUpdate = function (e, t) { 105 this.props.to === e.to || 106 this.state.IOSupported || 107 ___loader.enqueue( 108 (0, f.parsePath)(y(this.props.to, window.location.pathname)) 109 .pathname 110 ); 111 }), 112 (n.componentDidMount = function () { 113 this.state.IOSupported || 114 ___loader.enqueue( 115 (0, f.parsePath)(y(this.props.to, window.location.pathname)) 116 .pathname 117 ); 118 }), 119 (n.componentWillUnmount = function () { 120 if (this.io) { 121 var e = this.io, 122 t = e.instance, 123 n = e.el; 124 t.unobserve(n), t.disconnect(); 125 } 126 }), 127 (n.handleRef = function (e) { 128 var t, 129 n, 130 r, 131 o = this; 132 this.props.innerRef && 133 this.props.innerRef.hasOwnProperty("current") 134 ? (this.props.innerRef.current = e) 135 : this.props.innerRef && this.props.innerRef(e), 136 this.state.IOSupported && 137 e && 138 (this.io = 139 ((t = e), 140 (n = function () { 141 ___loader.enqueue( 142 (0, f.parsePath)( 143 y(o.props.to, window.location.pathname) 144 ).pathname 145 ); 146 }), 147 (r = new window.IntersectionObserver(function (e) { 148 e.forEach(function (e) { 149 t === e.target && 150 (e.isIntersecting || e.intersectionRatio > 0) && 151 (r.unobserve(t), r.disconnect(), n()); 152 }); 153 })).observe(t), 154 { instance: r, el: t })); 155 }), 156 (n.render = function () { 157 var e = this, 158 t = this.props, 159 n = t.to, 160 r = t.getProps, 161 i = void 0 === r ? this.defaultGetProps : r, 162 s = t.onClick, 163 u = t.onMouseEnter, 164 p = 165 (t.activeClassName, 166 t.activeStyle, 167 t.innerRef, 168 t.partiallyActive, 169 t.state), 170 d = t.replace, 171 h = (0, o.default)(t, [ 172 "to", 173 "getProps", 174 "onClick", 175 "onMouseEnter", 176 "activeClassName", 177 "activeStyle", 178 "innerRef", 179 "partiallyActive", 180 "state", 181 "replace", 182 ]); 183 return c.default.createElement(l.Location, null, function (t) { 184 var r = t.location, 185 o = y(n, r.pathname); 186 return m(o) 187 ? c.default.createElement( 188 l.Link, 189 (0, a.default)( 190 { 191 to: o, 192 state: p, 193 getProps: i, 194 innerRef: e.handleRef, 195 onMouseEnter: function (e) { 196 u && u(e), 197 ___loader.hovering((0, f.parsePath)(o).pathname); 198 }, 199 onClick: function (t) { 200 if ( 201 (s && s(t), 202 !( 203 0 !== t.button || 204 e.props.target || 205 t.defaultPrevented || 206 t.metaKey || 207 t.altKey || 208 t.ctrlKey || 209 t.shiftKey 210 )) 211 ) { 212 t.preventDefault(); 213 var n = d, 214 r = encodeURI(o) === window.location.pathname; 215 "boolean" != typeof d && r && (n = !0), 216 window.___navigate(o, { state: p, replace: n }); 217 } 218 return !0; 219 }, 220 }, 221 h 222 ) 223 ) 224 : c.default.createElement( 225 "a", 226 (0, a.default)({ href: o }, h) 227 ); 228 }); 229 }), 230 t 231 ); 232 })(c.default.Component); 233 w.propTypes = (0, a.default)({}, b, { 234 onClick: u.default.func, 235 to: u.default.string.isRequired, 236 replace: u.default.bool, 237 state: u.default.object, 238 }); 239 var x = function (e, t, n) { 240 return console.warn( 241 'The "' + 242 e + 243 '" method is now deprecated and will be removed in Gatsby v' + 244 n + 245 '. Please use "' + 246 t + 247 '" instead.' 248 ); 249 }, 250 k = c.default.forwardRef(function (e, t) { 251 return c.default.createElement(w, (0, a.default)({ innerRef: t }, e)); 252 }); 253 t.default = k; 254 t.navigate = function (e, t) { 255 window.___navigate(y(e, window.location.pathname), t); 256 }; 257 var S = function (e) { 258 x("push", "navigate", 3), 259 window.___push(y(e, window.location.pathname)); 260 }; 261 t.push = S; 262 t.replace = function (e) { 263 x("replace", "navigate", 3), 264 window.___replace(y(e, window.location.pathname)); 265 }; 266 t.navigateTo = function (e) { 267 return x("navigateTo", "navigate", 3), S(e); 268 }; 269 }, 270 "/GqU": function (e, t, n) { 271 var r = n("RK3t"), 272 o = n("HYAF"); 273 e.exports = function (e) { 274 return r(o(e)); 275 }; 276 }, 277 "/bCh": function (e, t) { 278 (e.exports = function (e) { 279 if (Array.isArray(e)) return e; 280 }), 281 (e.exports.__esModule = !0), 282 (e.exports.default = e.exports); 283 }, 284 "/hTd": function (e, t, n) { 285 "use strict";
286 (t.__esModule = !0), (t.SessionStorage = void 0); 287 var r = (function () { 288 function e() {} 289 var t = e.prototype; 290 return ( 291 (t.read = function (e, t) { 292 var n = this.getStateKey(e, t); 293 try { 294 var r = window.sessionStorage.getItem(n); 295 return r ? JSON.parse(r) : 0; 296 } catch (o) { 297 return window && 298 window.___GATSBY_REACT_ROUTER_SCROLL && 299 window.___GATSBY_REACT_ROUTER_SCROLL[n] 300 ? window.___GATSBY_REACT_ROUTER_SCROLL[n] 301 : 0; 302 } 303 }), 304 (t.save = function (e, t, n) { 305 var r = this.getStateKey(e, t), 306 o = JSON.stringify(n); 307 try { 308 window.sessionStorage.setItem(r, o); 309 } catch (a) { 310 (window && window.___GATSBY_REACT_ROUTER_SCROLL) || 311 (window.___GATSBY_REACT_ROUTER_SCROLL = {}), 312 (window.___GATSBY_REACT_ROUTER_SCROLL[r] = JSON.parse(o)); 313 } 314 }), 315 (t.getStateKey = function (e, t) { 316 var n = "@@scroll|" + e.pathname; 317 return null == t ? n : n + "|" + t; 318 }), 319 e 320 ); 321 })(); 322 t.SessionStorage = r; 323 }, 324 "0BK2": function (e, t) { 325 e.exports = {}; 326 }, 327 "0Dky": function (e, t) { 328 e.exports = function (e) { 329 try { 330 return !!e(); 331 } catch (t) { 332 return !0; 333 } 334 }; 335 }, 336 "0GbY": function (e, t, n) { 337 var r = n("Qo9l"), 338 o = n("2oRo"), 339 a = function (e) { 340 return "function" == typeof e ? e : void 0; 341 }; 342 e.exports = function (e, t) { 343 return arguments.length < 2 344 ? a(r[e]) || a(o[e]) 345 : (r[e] && r[e][t]) || (o[e] && o[e][t]); 346 }; 347 }, 348 "0bVq": function (e, t, n) { 349 var r = n("hBhu"); 350 function o(e) { 351 if (!(this instanceof o)) return new o(e); 352 (this._from = e), this.ease("linear"), this.duration(500); 353 } 354 n("M4kv")(o.prototype), 355 (o.prototype.reset = function () { 356 return ( 357 (this.isArray = 358 "[object Array]" === Object.prototype.toString.call(this._from)), 359 (this._curr = (function (e, t) { 360 for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n]); 361 return e; 362 })({}, this._from)), 363 (this._done = !1), 364 (this._start = Date.now()), 365 this 366 ); 367 }), 368 (o.prototype.to = function (e) { 369 return this.reset(), (this._to = e), this; 370 }), 371 (o.prototype.duration = function (e) { 372 return (this._duration = e), this; 373 }), 374 (o.prototype.ease = function (e) { 375 if (!(e = "function" == typeof e ? e : r[e])) 376 throw new TypeError("invalid easing function"); 377 return (this._ease = e), this; 378 }), 379 (o.prototype.stop = function () { 380 return ( 381 (this.stopped = !0), 382 (this._done = !0), 383 this.emit("stop"), 384 this.emit("end"), 385 this 386 ); 387 }), 388 (o.prototype.step = function () { 389 if (!this._done) { 390 var e = this._duration, 391 t = Date.now(); 392 if (t - this._start >= e) 393 return ( 394 (this._from = this._to), 395 this._update(this._to), 396 (this._done = !0), 397 this.emit("end"), 398 this 399 ); 400 var n = this._from, 401 r = this._to, 402 o = this._curr, 403 a = (0, this._ease)((t - this._start) / e); 404 if (this.isArray) { 405 for (var i = 0; i < n.length; ++i) 406 o[i] = n[i] + (r[i] - n[i]) * a; 407 return this._update(o), this; 408 } 409 for (var s in n) o[s] = n[s] + (r[s] - n[s]) * a; 410 return this._update(o), this; 411 } 412 }), 413 (o.prototype.update = function (e) { 414 return 0 == arguments.length 415 ? this.step() 416 : ((this._update = e), this); 417 }), 418 (e.exports = o); 419 }, 420 "0eef": function (e, t, n) { 421 "use strict"; 422 var r = {}.propertyIsEnumerable, 423 o = Object.getOwnPropertyDescriptor, 424 a = o && !r.call({ 1: 2 }, 1); 425 t.f = a 426 ? function (e) { 427 var t = o(this, e); 428 return !!t && t.enumerable; 429 } 430 : r; 431 }, 432 "0jh0": function (e, t) { 433 (e.exports = function (e, t, n) { 434 return ( 435 t in e 436 ? Object.defineProperty(e, t, { 437 value: n, 438 enumerable: !0, 439 configurable: !0, 440 writable: !0, 441 }) 442 : (e[t] = n), 443 e 444 ); 445 }), 446 (e.exports.__esModule = !0), 447 (e.exports.default = e.exports); 448 }, 449 "1Y/n": function (e, t, n) { 450 var r = n("HAuM"), 451 o = n("ewvW"), 452 a = n("RK3t"), 453 i = n("UMSQ"), 454 s = function (e) { 455 return function (t, n, s, u) { 456 r(n); 457 var c = o(t), 458 l = a(c), 459 p = i(c.length), 460 f = e ? p - 1 : 0, 461 d = e ? -1 : 1; 462 if (s < 2) 463 for (;;) { 464 if (f in l) { 465 (u = l[f]), (f += d); 466 break; 467 } 468 if (((f += d), e ? f < 0 : p <= f)) 469 throw TypeError(
470 "Reduce of empty array with no initial value" 471 ); 472 } 473 for (; e ? f >= 0 : p > f; f += d) f in l && (u = n(u, l[f], f, c)); 474 return u; 475 }; 476 }; 477 e.exports = { left: s(!1), right: s(!0) }; 478 }, 479 "2Agp": function (e, t, n) { 480 "use strict"; 481 function r(e, t) { 482 if (!(e instanceof t)) 483 throw new TypeError("Cannot call a class as a function"); 484 } 485 function o(e, t) { 486 for (var n = 0; n < t.length; n++) { 487 var r = t[n]; 488 (r.enumerable = r.enumerable || !1), 489 (r.configurable = !0), 490 "value" in r && (r.writable = !0), 491 Object.defineProperty(e, r.key, r); 492 } 493 } 494 function a(e, t, n) { 495 return ( 496 t && o(e.prototype, t), 497 n && o(e, n), 498 Object.defineProperty(e, "prototype", { writable: !1 }), 499 e 500 ); 501 } 502 var i = [], 503 s = i.forEach, 504 u = i.slice; 505 function c(e) { 506 return ( 507 s.call(u.call(arguments, 1), function (t) { 508 if (t) for (var n in t) void 0 === e[n] && (e[n] = t[n]); 509 }), 510 e 511 ); 512 } 513 var l = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, 514 p = function (e, t, n) { 515 var r = n || {}; 516 r.path = r.path || "/"; 517 var o = e + "=" + encodeURIComponent(t); 518 if (r.maxAge > 0) { 519 var a = r.maxAge - 0; 520 if (isNaN(a)) throw new Error("maxAge should be a Number"); 521 o += "; Max-Age=" + Math.floor(a); 522 } 523 if (r.domain) { 524 if (!l.test(r.domain)) 525 throw new TypeError("option domain is invalid"); 526 o += "; Domain=" + r.domain; 527 } 528 if (r.path) { 529 if (!l.test(r.path)) throw new TypeError("option path is invalid"); 530 o += "; Path=" + r.path; 531 } 532 if (r.expires) { 533 if ("function" != typeof r.expires.toUTCString)
534 throw new TypeError("option expires is invalid"); 535 o += "; Expires=" + r.expires.toUTCString(); 536 } 537 if ( 538 (r.httpOnly && (o += "; HttpOnly"), 539 r.secure && (o += "; Secure"), 540 r.sameSite) 541 ) 542 switch ( 543 "string" == typeof r.sameSite 544 ? r.sameSite.toLowerCase() 545 : r.sameSite 546 ) { 547 case !0: 548 o += "; SameSite=Strict"; 549 break; 550 case "lax": 551 o += "; SameSite=Lax"; 552 break; 553 case "strict": 554 o += "; SameSite=Strict"; 555 break; 556 case "none": 557 o += "; SameSite=None"; 558 break; 559 default: 560 throw new TypeError("option sameSite is invalid"); 561 } 562 return o; 563 }, 564 f = function (e, t, n, r) { 565 var o = 566 arguments.length > 4 && void 0 !== arguments[4] 567 ? arguments[4] 568 : { path: "/", sameSite: "strict" }; 569 n && 570 ((o.expires = new Date()), 571 o.expires.setTime(o.expires.getTime() + 60 * n * 1e3)), 572 r && (o.domain = r), 573 (document.cookie = p(e, encodeURIComponent(t), o)); 574 }, 575 d = function (e) { 576 for ( 577 var t = e + "=", n = document.cookie.split(";"), r = 0; 578 r < n.length; 579 r++ 580 ) { 581 for (var o = n[r]; " " === o.charAt(0); ) 582 o = o.substring(1, o.length); 583 if (0 === o.indexOf(t)) return o.substring(t.length, o.length); 584 } 585 return null; 586 }, 587 h = { 588 name: "cookie", 589 lookup: function (e) { 590 var t; 591 if (e.lookupCookie && "undefined" != typeof document) { 592 var n = d(e.lookupCookie); 593 n && (t = n); 594 } 595 return t; 596 }, 597 cacheUserLanguage: function (e, t) { 598 t.lookupCookie && 599 "undefined" != typeof document && 600 f( 601 t.lookupCookie, 602 e, 603 t.cookieMinutes, 604 t.cookieDomain, 605 t.cookieOptions 606 ); 607 }, 608 }, 609 g = { 610 name: "querystring", 611 lookup: function (e) { 612 var t; 613 if ("undefined" != typeof window) 614 for ( 615 var n = window.location.search.substring(1).split("&"), r = 0; 616 r < n.length; 617 r++ 618 ) { 619 var o = n[r].indexOf("="); 620 if (o > 0) 621 n[r].substring(0, o) === e.lookupQuerystring && 622 (t = n[r].substring(o + 1)); 623 } 624 return t; 625 }, 626 }, 627 v = null, 628 m = function () { 629 if (null !== v) return v; 630 try { 631 v = "undefined" !== window && null !== window.localStorage; 632 window.localStorage.setItem("i18next.translate.boo", "foo"), 633 window.localStorage.removeItem("i18next.translate.boo"); 634 } catch (e) { 635 v = !1; 636 } 637 return v; 638 }, 639 y = { 640 name: "localStorage", 641 lookup: function (e) { 642 var t; 643 if (e.lookupLocalStorage && m()) { 644 var n = window.localStorage.getItem(e.lookupLocalStorage); 645 n && (t = n); 646 } 647 return t; 648 }, 649 cacheUserLanguage: function (e, t) { 650 t.lookupLocalStorage && 651 m() && 652 window.localStorage.setItem(t.lookupLocalStorage, e); 653 }, 654 }, 655 b = null, 656 w = function () { 657 if (null !== b) return b; 658 try { 659 b = "undefined" !== window && null !== window.sessionStorage; 660 window.sessionStorage.setItem("i18next.translate.boo", "foo"), 661 window.sessionStorage.removeItem("i18next.translate.boo"); 662 } catch (e) { 663 b = !1; 664 } 665 return b; 666 }, 667 x = { 668 name: "sessionStorage", 669 lookup: function (e) { 670 var t; 671 if (e.lookupSessionStorage && w()) { 672 var n = window.sessionStorage.getItem(e.lookupSessionStorage); 673 n && (t = n); 674 } 675 return t; 676 }, 677 cacheUserLanguage: function (e, t) { 678 t.lookupSessionStorage && 679 w() && 680 window.sessionStorage.setItem(t.lookupSessionStorage, e); 681 }, 682 }, 683 k = { 684 name: "navigator", 685 lookup: function (e) { 686 var t = []; 687 if ("undefined" != typeof navigator) { 688 if (navigator.languages) 689 for (var n = 0; n < navigator.languages.length; n++) 690 t.push(navigator.languages[n]); 691 navigator.userLanguage && t.push(navigator.userLanguage), 692 navigator.language && t.push(navigator.language); 693 } 694 return t.length > 0 ? t : void 0; 695 }, 696 }, 697 S = { 698 name: "htmlTag", 699 lookup: function (e) { 700 var t, 701 n = 702 e.htmlTag || 703 ("undefined" != typeof document 704 ? document.documentElement 705 : null); 706 return ( 707 n && 708 "function" == typeof n.getAttribute && 709 (t = n.getAttribute("lang")), 710 t 711 ); 712 }, 713 }, 714 O = { 715 name: "path", 716 lookup: function (e) { 717 var t; 718 if ("undefined" != typeof window) { 719 var n = window.location.pathname.match(/\/([a-zA-Z-]*)/g); 720 if (n instanceof Array) 721 if ("number" == typeof e.lookupFromPathIndex) { 722 if ("string" != typeof n[e.lookupFromPathIndex]) return; 723 t = n[e.lookupFromPathIndex].replace("/", ""); 724 } else t = n[0].replace("/", ""); 725 } 726 return t; 727 }, 728 }, 729 P = { 730 name: "subdomain", 731 lookup: function (e) { 732 var t; 733 if ("undefined" != typeof window) { 734 var n = window.location.href.match( 735 /(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi 736 ); 737 n instanceof Array && 738 (t = 739 "number" == typeof e.lookupFromSubdomainIndex 740 ? n[e.lookupFromSubdomainIndex] 741 .replace("http://", "") 742 .replace("https://", "") 743 .replace(".", "") 744 : n[0] 745 .replace("http://", "") 746 .replace("https://", "") 747 .replace(".", "")); 748 } 749 return t; 750 }, 751 }; 752 var E = (function () { 753 function e(t) { 754 var n = 755 arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; 756 r(this, e),
757 (this.type = "languageDetector"), 758 (this.detectors = {}), 759 this.init(t, n); 760 } 761 return ( 762 a(e, [ 763 { 764 key: "init", 765 value: function (e) { 766 var t = 767 arguments.length > 1 && void 0 !== arguments[1] 768 ? arguments[1] 769 : {}, 770 n = 771 arguments.length > 2 && void 0 !== arguments[2] 772 ? arguments[2] 773 : {}; 774 (this.services = e), 775 (this.options = c(t, this.options || {}, { 776 order: [ 777 "querystring", 778 "cookie", 779 "localStorage", 780 "sessionStorage", 781 "navigator", 782 "htmlTag", 783 ], 784 lookupQuerystring: "lng", 785 lookupCookie: "i18next", 786 lookupLocalStorage: "i18nextLng", 787 lookupSessionStorage: "i18nextLng", 788 caches: ["localStorage"], 789 excludeCacheFor: ["cimode"], 790 })), 791 this.options.lookupFromUrlIndex && 792 (this.options.lookupFromPathIndex = 793 this.options.lookupFromUrlIndex), 794 (this.i18nOptions = n), 795 this.addDetector(h), 796 this.addDetector(g), 797 this.addDetector(y), 798 this.addDetector(x), 799 this.addDetector(k), 800 this.addDetector(S), 801 this.addDetector(O), 802 this.addDetector(P); 803 }, 804 }, 805 { 806 key: "addDetector", 807 value: function (e) { 808 this.detectors[e.name] = e; 809 }, 810 }, 811 { 812 key: "detect", 813 value: function (e) { 814 var t = this; 815 e || (e = this.options.order); 816 var n = []; 817 return ( 818 e.forEach(function (e) { 819 if (t.detectors[e]) { 820 var r = t.detectors[e].lookup(t.options); 821 r && "string" == typeof r && (r = [r]), 822 r && (n = n.concat(r)); 823 } 824 }), 825 this.services.languageUtils.getBestMatchFromCodes 826 ? n 827 : n.length > 0 828 ? n[0] 829 : null 830 ); 831 }, 832 }, 833 { 834 key: "cacheUserLanguage", 835 value: function (e, t) { 836 var n = this; 837 t || (t = this.options.caches), 838 t && 839 ((this.options.excludeCacheFor && 840 this.options.excludeCacheFor.indexOf(e) > -1) || 841 t.forEach(function (t) { 842 n.detectors[t] && 843 n.detectors[t].cacheUserLanguage(e, n.options); 844 })); 845 }, 846 }, 847 ]), 848 e 849 ); 850 })(); 851 E.type = "languageDetector"; 852 var j = E; 853 n("E9XD"); 854 function R(e) { 855 return (R = 856 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 857 ? function (e) { 858 return typeof e; 859 } 860 : function (e) { 861 return e && 862 "function" == typeof Symbol && 863 e.constructor === Symbol && 864 e !== Symbol.prototype 865 ? "symbol" 866 : typeof e; 867 })(e); 868 } 869 function _(e, t, n) { 870 return ( 871 t in e 872 ? Object.defineProperty(e, t, { 873 value: n, 874 enumerable: !0, 875 configurable: !0, 876 writable: !0, 877 }) 878 : (e[t] = n), 879 e 880 ); 881 } 882 function L(e) { 883 for (var t = 1; t < arguments.length; t++) { 884 var n = null != arguments[t] ? Object(arguments[t]) : {}, 885 r = Object.keys(n); 886 "function" == typeof Object.getOwnPropertySymbols && 887 r.push.apply( 888 r, 889 Object.getOwnPropertySymbols(n).filter(function (e) { 890 return Object.getOwnPropertyDescriptor(n, e).enumerable; 891 }) 892 ), 893 r.forEach(function (t) { 894 _(e, t, n[t]); 895 }); 896 } 897 return e; 898 } 899 function C(e) { 900 if (void 0 === e) 901 throw new ReferenceError( 902 "this hasn't been initialised - super() hasn't been called" 903 ); 904 return e; 905 } 906 function T(e, t) { 907 if (t && ("object" === R(t) || "function" == typeof t)) return t; 908 if (void 0 !== t) 909 throw new TypeError( 910 "Derived constructors may only return object or undefined" 911 ); 912 return C(e); 913 } 914 function M(e) { 915 return (M = Object.setPrototypeOf 916 ? Object.getPrototypeOf 917 : function (e) { 918 return e.__proto__ || Object.getPrototypeOf(e); 919 })(e); 920 } 921 var N = n("gUOe"); 922 function D(e, t) { 923 if ("function" != typeof t && null !== t) 924 throw new TypeError( 925 "Super expression must either be null or a function" 926 ); 927 (e.prototype = Object.create(t && t.prototype, { 928 constructor: { value: e, writable: !0, configurable: !0 },
929 })), 930 Object.defineProperty(e, "prototype", { writable: !1 }), 931 t && Object(N.a)(e, t); 932 } 933 var A = { 934 type: "logger", 935 log: function (e) { 936 this.output("log", e); 937 }, 938 warn: function (e) { 939 this.output("warn", e); 940 }, 941 error: function (e) { 942 this.output("error", e); 943 }, 944 output: function (e, t) { 945 console && console[e] && console[e].apply(console, t); 946 }, 947 }, 948 F = new ((function () { 949 function e(t) { 950 var n = 951 arguments.length > 1 && void 0 !== arguments[1] 952 ? arguments[1] 953 : {}; 954 r(this, e), this.init(t, n); 955 } 956 return ( 957 a(e, [ 958 { 959 key: "init", 960 value: function (e) { 961 var t = 962 arguments.length > 1 && void 0 !== arguments[1] 963 ? arguments[1] 964 : {}; 965 (this.prefix = t.prefix || "i18next:"), 966 (this.logger = e || A), 967 (this.options = t), 968 (this.debug = t.debug); 969 }, 970 }, 971 { 972 key: "setDebug", 973 value: function (e) { 974 this.debug = e; 975 }, 976 }, 977 { 978 key: "log", 979 value: function () { 980 for ( 981 var e = arguments.length, t = new Array(e), n = 0; 982 n < e; 983 n++ 984 ) 985 t[n] = arguments[n]; 986 return this.forward(t, "log", "", !0); 987 }, 988 }, 989 { 990 key: "warn", 991 value: function () { 992 for ( 993 var e = arguments.length, t = new Array(e), n = 0; 994 n < e; 995 n++ 996 ) 997 t[n] = arguments[n]; 998 return this.forward(t, "warn", "", !0); 999 }, 1000 }, 1001 { 1002 key: "error", 1003 value: function () { 1004 for ( 1005 var e = arguments.length, t = new Array(e), n = 0; 1006 n < e; 1007 n++ 1008 ) 1009 t[n] = arguments[n]; 1010 return this.forward(t, "error", ""); 1011 }, 1012 }, 1013 { 1014 key: "deprecate", 1015 value: function () { 1016 for ( 1017 var e = arguments.length, t = new Array(e), n = 0; 1018 n < e; 1019 n++ 1020 ) 1021 t[n] = arguments[n]; 1022 return this.forward(t, "warn", "WARNING DEPRECATED: ", !0); 1023 }, 1024 }, 1025 { 1026 key: "forward", 1027 value: function (e, t, n, r) { 1028 return r && !this.debug 1029 ? null 1030 : ("string" == typeof e[0] && 1031 (e[0] = "" 1032 .concat(n) 1033 .concat(this.prefix, " ") 1034 .concat(e[0])), 1035 this.logger[t](e)); 1036 }, 1037 }, 1038 { 1039 key: "create", 1040 value: function (t) { 1041 return new e( 1042 this.logger, 1043 L( 1044 {}, 1045 { prefix: "".concat(this.prefix, ":").concat(t, ":") }, 1046 this.options 1047 ) 1048 ); 1049 }, 1050 }, 1051 ]), 1052 e 1053 ); 1054 })())(), 1055 q = (function () { 1056 function e() { 1057 r(this, e), (this.observers = {}); 1058 } 1059 return ( 1060 a(e, [ 1061 { 1062 key: "on", 1063 value: function (e, t) { 1064 var n = this; 1065 return ( 1066 e.split(" ").forEach(function (e) { 1067 (n.observers[e] = n.observers[e] || []), 1068 n.observers[e].push(t); 1069 }), 1070 this 1071 ); 1072 }, 1073 }, 1074 { 1075 key: "off", 1076 value: function (e, t) { 1077 this.observers[e] && 1078 (t 1079 ? (this.observers[e] = this.observers[e].filter(function ( 1080 e 1081 ) { 1082 return e !== t; 1083 })) 1084 : delete this.observers[e]); 1085 }, 1086 }, 1087 { 1088 key: "emit", 1089 value: function (e) { 1090 for ( 1091 var t = arguments.length, 1092 n = new Array(t > 1 ? t - 1 : 0), 1093 r = 1; 1094 r < t; 1095 r++ 1096 ) 1097 n[r - 1] = arguments[r]; 1098 if (this.observers[e]) { 1099 var o = [].concat(this.observers[e]); 1100 o.forEach(function (e) { 1101 e.apply(void 0, n); 1102 }); 1103 } 1104 if (this.observers["*"]) { 1105 var a = [].concat(this.observers["*"]); 1106 a.forEach(function (t) { 1107 t.apply(t, [e].concat(n)); 1108 }); 1109 } 1110 }, 1111 }, 1112 ]), 1113 e 1114 ); 1115 })(); 1116 function I() { 1117 var e, 1118 t, 1119 n = new Promise(function (n, r) { 1120 (e = n), (t = r); 1121 }); 1122 return (n.resolve = e), (n.reject = t), n; 1123 } 1124 function U(e) { 1125 return null == e ? "" : "" + e; 1126 } 1127 function B(e, t, n) { 1128 e.forEach(function (e) { 1129 t[e] && (n[e] = t[e]); 1130 }); 1131 } 1132 function V(e, t, n) { 1133 function r(e) { 1134 return e && e.indexOf("###") > -1 ? e.replace(/###/g, ".") : e; 1135 } 1136 function o() { 1137 return !e || "string" == typeof e; 1138 } 1139 for ( 1140 var a = "string" != typeof t ? [].concat(t) : t.split("."); 1141 a.length > 1; 1142 1143 ) { 1144 if (o()) return {}; 1145 var i = r(a.shift()); 1146 !e[i] && n && (e[i] = new n()), (e = e[i]); 1147 } 1148 return o() ? {}
1148 : { obj: e, k: r(a.shift()) }; 1149 } 1150 function W(e, t, n) { 1151 var r = V(e, t, Object); 1152 r.obj[r.k] = n; 1153 } 1154 function H(e, t) { 1155 var n = V(e, t), 1156 r = n.obj, 1157 o = n.k; 1158 if (r) return r[o]; 1159 } 1160 function Q(e, t, n) { 1161 var r = H(e, n); 1162 return void 0 !== r ? r : H(t, n); 1163 } 1164 function G(e, t, n) { 1165 for (var r in t) 1166 "__proto__" !== r && 1167 "constructor" !== r && 1168 (r in e 1169 ? "string" == typeof e[r] || 1170 e[r] instanceof String || 1171 "string" == typeof t[r] || 1172 t[r] instanceof String 1173 ? n && (e[r] = t[r]) 1174 : G(e[r], t[r], n) 1175 : (e[r] = t[r])); 1176 return e; 1177 } 1178 function z(e) { 1179 return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"); 1180 } 1181 var K = { 1182 "&": "&", 1183 "<": "<", 1184 ">": ">", 1185 '"': """, 1186 "'": "'", 1187 "/": "/", 1188 }; 1189 function J(e) { 1190 return "string" == typeof e 1191 ? e.replace(/[&<>"'\/]/g, function (e) { 1192 return K[e]; 1193 }) 1194 : e; 1195 } 1196 var Y = 1197 "undefined" != typeof window && 1198 window.navigator && 1199 window.navigator.userAgent && 1200 window.navigator.userAgent.indexOf("MSIE") > -1, 1201 X = (function (e) { 1202 function t(e) { 1203 var n, 1204 o = 1205 arguments.length > 1 && void 0 !== arguments[1] 1206 ? arguments[1] 1207 : { ns: ["translation"], defaultNS: "translation" }; 1208 return ( 1209 r(this, t), 1210 (n = T(this, M(t).call(this))), 1211 Y && q.call(C(n)), 1212 (n.data = e || {}), 1213 (n.options = o), 1214 void 0 === n.options.keySeparator && 1215 (n.options.keySeparator = "."), 1216 n 1217 ); 1218 } 1219 return ( 1220 D(t, e), 1221 a(t, [ 1222 { 1223 key: "addNamespaces", 1224 value: function (e) { 1225 this.options.ns.indexOf(e) < 0 && this.options.ns.push(e); 1226 }, 1227 }, 1228 { 1229 key: "removeNamespaces", 1230 value: function (e) { 1231 var t = this.options.ns.indexOf(e); 1232 t > -1 && this.options.ns.splice(t, 1); 1233 }, 1234 }, 1235 { 1236 key: "getResource", 1237 value: function (e, t, n) { 1238 var r = 1239 arguments.length > 3 && void 0 !== arguments[3] 1240 ? arguments[3] 1241 : {}, 1242 o = 1243 void 0 !== r.keySeparator 1244 ? r.keySeparator 1245 : this.options.keySeparator, 1246 a = [e, t]; 1247 return ( 1248 n && "string" != typeof n && (a = a.concat(n)), 1249 n && 1250 "string" == typeof n && 1251 (a = a.concat(o ? n.split(o) : n)), 1252 e.indexOf(".") > -1 && (a = e.split(".")), 1253 H(this.data, a) 1254 ); 1255 }, 1256 }, 1257 { 1258 key: "addResource", 1259 value: function (e, t, n, r) { 1260 var o = 1261 arguments.length > 4 && void 0 !== arguments[4] 1262 ? arguments[4] 1263 : { silent: !1 }, 1264 a = this.options.keySeparator; 1265 void 0 === a && (a = "."); 1266 var i = [e, t]; 1267 n && (i = i.concat(a ? n.split(a) : n)), 1268 e.indexOf(".") > -1 && 1269 ((r = t), (t = (i = e.split("."))[1])), 1270 this.addNamespaces(t), 1271 W(this.data, i, r), 1272 o.silent || this.emit("added", e, t, n, r); 1273 }, 1274 }, 1275 { 1276 key: "addResources", 1277 value: function (e, t, n) { 1278 var r = 1279 arguments.length > 3 && void 0 !== arguments[3] 1280 ? arguments[3] 1281 : { silent: !1 }; 1282 for (var o in n) 1283 ("string" != typeof n[o] && 1284 "[object Array]" !== 1285 Object.prototype.toString.apply(n[o])) || 1286 this.addResource(e, t, o, n[o], { silent: !0 });
1287 r.silent || this.emit("added", e, t, n); 1288 }, 1289 }, 1290 { 1291 key: "addResourceBundle", 1292 value: function (e, t, n, r, o) { 1293 var a = 1294 arguments.length > 5 && void 0 !== arguments[5] 1295 ? arguments[5] 1296 : { silent: !1 }, 1297 i = [e, t]; 1298 e.indexOf(".") > -1 && 1299 ((r = n), (n = t), (t = (i = e.split("."))[1])), 1300 this.addNamespaces(t); 1301 var s = H(this.data, i) || {}; 1302 r ? G(s, n, o) : (s = L({}, s, n)), 1303 W(this.data, i, s), 1304 a.silent || this.emit("added", e, t, n); 1305 }, 1306 }, 1307 { 1308 key: "removeResourceBundle", 1309 value: function (e, t) { 1310 this.hasResourceBundle(e, t) && delete this.data[e][t], 1311 this.removeNamespaces(t), 1312 this.emit("removed", e, t); 1313 }, 1314 }, 1315 { 1316 key: "hasResourceBundle", 1317 value: function (e, t) { 1318 return void 0 !== this.getResource(e, t); 1319 }, 1320 }, 1321 { 1322 key: "getResourceBundle", 1323 value: function (e, t) { 1324 return ( 1325 t || (t = this.options.defaultNS), 1326 "v1" === this.options.compatibilityAPI 1327 ? L({}, {}, this.getResource(e, t)) 1328 : this.getResource(e, t) 1329 ); 1330 }, 1331 }, 1332 { 1333 key: "getDataByLanguage", 1334 value: function (e) { 1335 return this.data[e]; 1336 }, 1337 }, 1338 { 1339 key: "toJSON", 1340 value: function () { 1341 return this.data; 1342 }, 1343 }, 1344 ]), 1345 t 1346 ); 1347 })(q), 1348 $ = { 1349 processors: {}, 1350 addPostProcessor: function (e) { 1351 this.processors[e.name] = e; 1352 }, 1353 handle: function (e, t, n, r, o) { 1354 var a = this; 1355 return ( 1356 e.forEach(function (e) { 1357 a.processors[e] && (t = a.processors[e].process(t, n, r, o)); 1358 }), 1359 t 1360 ); 1361 }, 1362 }, 1363 Z = {}, 1364 ee = (function (e) { 1365 function t(e) { 1366 var n, 1367 o = 1368 arguments.length > 1 && void 0 !== arguments[1] 1369 ? arguments[1] 1370 : {}; 1371 return ( 1372 r(this, t), 1373 (n = T(this, M(t).call(this))), 1374 Y && q.call(C(n)), 1375 B( 1376 [ 1377 "resourceStore", 1378 "languageUtils", 1379 "pluralResolver", 1380 "interpolator", 1381 "backendConnector", 1382 "i18nFormat", 1383 "utils", 1384 ], 1385 e, 1386 C(n) 1387 ), 1388 (n.options = o), 1389 void 0 === n.options.keySeparator && 1390 (n.options.keySeparator = "."), 1391 (n.logger = F.create("translator")), 1392 n 1393 ); 1394 } 1395 return ( 1396 D(t, e), 1397 a(t, [ 1398 { 1399 key: "changeLanguage", 1400 value: function (e) { 1401 e && (this.language = e); 1402 }, 1403 }, 1404 { 1405 key: "exists", 1406 value: function (e) { 1407 var t = 1408 arguments.length > 1 && void 0 !== arguments[1] 1409 ? arguments[1] 1410 : { interpolation: {} }, 1411 n = this.resolve(e, t); 1412 return n && void 0 !== n.res; 1413 }, 1414 }, 1415 { 1416 key: "extractFromKey", 1417 value: function (e, t) { 1418 var n = 1419 void 0 !== t.nsSeparator 1420 ? t.nsSeparator 1421 : this.options.nsSeparator; 1422 void 0 === n && (n = ":"); 1423 var r = 1424 void 0 !== t.keySeparator 1425 ? t.keySeparator 1426 : this.options.keySeparator, 1427 o = t.ns || this.options.defaultNS; 1428 if (n && e.indexOf(n) > -1) { 1429 var a = e.match(this.interpolator.nestingRegexp); 1430 if (a && a.length > 0) return { key: e, namespaces: o }; 1431 var i = e.split(n); 1432 (n !== r || 1433 (n === r && this.options.ns.indexOf(i[0]) > -1)) && 1434 (o = i.shift()), 1435 (e = i.join(r)); 1436 } 1437 return ( 1438 "string" == typeof o && (o = [o]), { key: e, namespaces: o } 1439 ); 1440 }, 1441 }, 1442 { 1443 key: "translate", 1444 value: function (e, t, n) { 1445 var r = this; 1446 if ( 1447 ("object" !== R(t) && 1448 this.options.overloadTranslationOptionHandler && 1449 (t = 1450 this.options.overloadTranslationOptionHandler( 1451 arguments 1452 )), 1453 t || (t = {}), 1454 null == e) 1455 ) 1456 return ""; 1457 Array.isArray(e) || (e = [String(e)]); 1458 var o = 1459 void 0 !== t.keySeparator 1460 ? t.keySeparator 1461 : this.options.keySeparator, 1462 a = this.extractFromKey(e[e.length - 1], t), 1463 i = a.key, 1464 s = a.namespaces, 1465 u = s[s.length - 1], 1466 c = t.lng || this.language, 1467 l = 1468 t.appendNamespaceToCIMode || 1469 this.options.appendNamespaceToCIMode; 1470 if (c && "cimode" === c.toLowerCase()) { 1471 if (l) { 1472 var p = t.nsSeparator || this.options.nsSeparator; 1473 return u + p + i; 1474 } 1475 return i; 1476 } 1477 var f = this.resolve(e, t), 1478 d = f && f.res, 1479 h = (f && f.usedKey) || i, 1480 g = (f && f.exactUsedKey) || i, 1481 v = Object.prototype.toString.apply(d), 1482 m = [ 1483 "[object Number]", 1484 "[object Function]", 1485 "[object RegExp]", 1486 ], 1487 y = 1488 void 0 !== t.joinArrays 1489 ? t.joinArrays 1490 : this.options.joinArrays, 1491 b = !this.i18nFormat || this.i18nFormat.handleAsObject, 1492 w = 1493 "string" != typeof d && 1494 "boolean" != typeof d && 1495 "number" != typeof d; 1496 if ( 1497 b && 1498 d && 1499 w && 1500 m.indexOf(v) < 0 && 1501 ("string" != typeof y || "[object Array]" !== v) 1502 ) { 1503 if (!t.returnObjects && !this.options.returnObjects) 1504 return ( 1505 this.logger.warn( 1506 "accessing an object - but returnObjects options is not enabled!" 1507 ), 1508 this.options.returnedObjectHandler 1509 ? this.options.returnedObjectHandler(h, d, t) 1510 : "key '" 1511 .concat(i, " (") 1512 .concat( 1513 this.language, 1514 ")' returned an object instead of string." 1515 ) 1516 ); 1517 if (o) { 1518 var x = "[object Array]" === v, 1519 k = x ? [] : {}, 1520 S = x ? g : h; 1521 for (var O in d) 1522 if (Object.prototype.hasOwnProperty.call(d, O)) { 1523 var P = "".concat(S).concat(o).concat(O); 1524 (k[O] = this.translate( 1525 P, 1526 L({}, t, { joinArrays: !1, ns: s }) 1527 )), 1528 k[O] === P && (k[O] = d[O]); 1529 } 1530 d = k; 1531 } 1532 } else if ( 1533 b && 1534 "string" == typeof y && 1535 "[object Array]" === v 1536 ) 1537 (d = d.join(y)) && (d = this.extendTranslation(d, e, t, n)); 1538 else { 1539 var E = !1, 1540 j = !1; 1541 if (!this.isValidLookup(d) && void 0 !== t.defaultValue) { 1542 if (((E = !0), void 0 !== t.count)) { 1543 var _ = this.pluralResolver.getSuffix(c, t.count); 1544 d = t["defaultValue".concat(_)]; 1545 } 1546 d || (d = t.defaultValue); 1547 } 1548 this.isValidLookup(d) || ((j = !0), (d = i)); 1549 var C = 1550 t.defaultValue && 1551 t.defaultValue !== d && 1552 this.options.updateMissing; 1553 if (j || E || C) { 1554 if ( 1555 (this.logger.log( 1556 C ? "updateKey" : "missingKey", 1557 c, 1558 u, 1559 i, 1560 C ? t.defaultValue : d 1561 ), 1562 o) 1563 ) { 1564 var T = this.resolve(i, L({}, t, { keySeparator: !1 })); 1565 T && 1566 T.res && 1567 this.logger.warn( 1568 "Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format." 1569 ); 1570 } 1571 var M = [], 1572 N = this.languageUtils.getFallbackCodes( 1573 this.options.fallbackLng, 1574 t.lng || this.language 1575 ); 1576 if ( 1577 "fallback" === this.options.saveMissingTo && 1578 N && 1579 N[0] 1580 ) 1581 for (var D = 0; D < N.length; D++) M.push(N[D]); 1582 else 1583 "all" === this.options.saveMissingTo 1584 ? (M = this.languageUtils.toResolveHierarchy( 1585 t.lng || this.language 1586 )) 1587 : M.push(t.lng || this.language); 1588 var A = function (e, n) { 1589 r.options.missingKeyHandler 1590 ? r.options.missingKeyHandler( 1591 e, 1592 u, 1593 n, 1594 C ? t.defaultValue : d, 1595 C, 1596 t 1597 ) 1598 : r.backendConnector && 1599 r.backendConnector.saveMissing && 1600 r.backendConnector.saveMissing( 1601 e, 1602 u, 1603 n, 1604 C ? t.defaultValue : d, 1605 C, 1606 t 1607 ), 1608 r.emit("missingKey", e, u, n, d); 1609 }; 1610 if (this.options.saveMissing) { 1611 var F = 1612 void 0 !== t.count && "string" != typeof t.count; 1613 this.options.saveMissingPlurals && F 1614 ? M.forEach(function (e) { 1615 r.pluralResolver 1616 .getPluralFormsOfKey(e, i) 1617 .forEach(function (t) { 1618 return A([e], t); 1619 }); 1620 }) 1621 : A(M, i); 1622 } 1623 } 1624 (d = this.extendTranslation(d, e, t, f, n)), 1625 j && 1626 d === i && 1627 this.options.appendNamespaceToMissingKey && 1628 (d = "".concat(u, ":").concat(i)), 1629 j && 1630 this.options.parseMissingKeyHandler && 1631 (d = this.options.parseMissingKeyHandler(d)); 1632 } 1633 return d; 1634 }, 1635 }, 1636 { 1637 key: "extendTranslation", 1638 value: function (e, t, n, r, o) { 1639 var a = this; 1640 if (this.i18nFormat && this.i18nFormat.parse) 1641 e = this.i18nFormat.parse( 1642 e, 1643 n, 1644 r.usedLng, 1645 r.usedNS, 1646 r.usedKey, 1647 { resolved: r } 1648 ); 1649 else if (!n.skipInterpolation) { 1650 n.interpolation && 1651 this.interpolator.init( 1652 L({}, n, { 1653 interpolation: L( 1654 {}, 1655 this.options.interpolation, 1656 n.interpolation 1657 ), 1658 }) 1659 ); 1660 var i, 1661 s = 1662 (n.interpolation && n.interpolation.skipOnVariables) || 1663 this.options.interpolation.skipOnVariables; 1664 if (s) { 1665 var u = e.match(this.interpolator.nestingRegexp); 1666 i = u && u.length; 1667 } 1668 var c = 1669 n.replace && "string" != typeof n.replace ? n.replace : n; 1670 if ( 1671 (this.options.interpolation.defaultVariables && 1672 (c = L( 1673 {}, 1674 this.options.interpolation.defaultVariables, 1675 c 1676 )), 1677 (e = this.interpolator.interpolate( 1678 e, 1679 c, 1680 n.lng || this.language, 1681 n 1682 )), 1683 s) 1684 ) { 1685 var l = e.match(this.interpolator.nestingRegexp); 1686 i < (l && l.length) && (n.nest = !1); 1687 } 1688 !1 !== n.nest && 1689 (e = this.interpolator.nest( 1690 e, 1691 function () { 1692 for ( 1693 var e = arguments.length, r = new Array(e), i = 0; 1694 i < e; 1695 i++ 1696 ) 1697 r[i] = arguments[i]; 1698 return o && o[0] === r[0] && !n.context 1699 ? (a.logger.warn( 1700 "It seems you are nesting recursively key: " 1701 .concat(r[0], " in key: ") 1702 .concat(t[0]) 1703 ), 1704
1704 null) 1705 : a.translate.apply(a, r.concat([t])); 1706 }, 1707 n 1708 )), 1709 n.interpolation && this.interpolator.reset(); 1710 } 1711 var p = n.postProcess || this.options.postProcess, 1712 f = "string" == typeof p ? [p] : p; 1713 return ( 1714 null != e && 1715 f && 1716 f.length && 1717 !1 !== n.applyPostProcessor && 1718 (e = $.handle( 1719 f, 1720 e, 1721 t, 1722 this.options && this.options.postProcessPassResolved 1723 ? L({ i18nResolved: r }, n) 1724 : n, 1725 this 1726 )), 1727 e 1728 ); 1729 }, 1730 }, 1731 { 1732 key: "resolve", 1733 value: function (e) { 1734 var t, 1735 n, 1736 r, 1737 o, 1738 a, 1739 i = this, 1740 s = 1741 arguments.length > 1 && void 0 !== arguments[1] 1742 ? arguments[1] 1743 : {}; 1744 return ( 1745 "string" == typeof e && (e = [e]), 1746 e.forEach(function (e) { 1747 if (!i.isValidLookup(t)) { 1748 var u = i.extractFromKey(e, s), 1749 c = u.key; 1750 n = c; 1751 var l = u.namespaces; 1752 i.options.fallbackNS && 1753 (l = l.concat(i.options.fallbackNS)); 1754 var p = 1755 void 0 !== s.count && "string" != typeof s.count, 1756 f = 1757 void 0 !== s.context && 1758 "string" == typeof s.context && 1759 "" !== s.context, 1760 d = s.lngs 1761 ? s.lngs 1762 : i.languageUtils.toResolveHierarchy( 1763 s.lng || i.language, 1764 s.fallbackLng 1765 ); 1766 l.forEach(function (e) { 1767 i.isValidLookup(t) || 1768 ((a = e), 1769 !Z["".concat(d[0], "-").concat(e)] && 1770 i.utils && 1771 i.utils.hasLoadedNamespace && 1772 !i.utils.hasLoadedNamespace(a) && 1773 ((Z["".concat(d[0], "-").concat(e)] = !0), 1774 i.logger.warn( 1775 'key "' 1776 .concat(n, '" for languages "') 1777 .concat( 1778 d.join(", "), 1779 '" won\'t get resolved as namespace "' 1780 ) 1781 .concat(a, '" was not yet loaded'), 1782 "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!" 1783 )), 1784 d.forEach(function (n) { 1785 if (!i.isValidLookup(t)) { 1786 o = n; 1787 var a, 1788 u, 1789 l = c, 1790 d = [l]; 1791 if (i.i18nFormat && i.i18nFormat.addLookupKeys) 1792 i.i18nFormat.addLookupKeys(d, c, n, e, s); 1793 else 1794 p && 1795 (a = i.pluralResolver.getSuffix( 1796 n, 1797 s.count 1798 )), 1799 p && f && d.push(l + a), 1800 f && 1801 d.push( 1802 (l += "" 1803 .concat(i.options.contextSeparator) 1804 .concat(s.context)) 1805 ), 1806 p && d.push((l += a)); 1807 for (; (u = d.pop()); ) 1808 i.isValidLookup(t) || 1809 ((r = u), (t = i.getResource(n, e, u, s))); 1810 } 1811 })); 1812 }); 1813 } 1814 }), 1815 { 1816 res: t, 1817 usedKey: n, 1818 exactUsedKey: r, 1819 usedLng: o, 1820 usedNS: a, 1821 } 1822 ); 1823 }, 1824 }, 1825 { 1826 key: "isValidLookup", 1827 value: function (e) { 1828 return !( 1829 void 0 === e || 1830 (!this.options.returnNull && null === e) || 1831 (!this.options.returnEmptyString && "" === e) 1832 ); 1833 }, 1834 }, 1835 { 1836 key: "getResource", 1837 value: function (e, t, n) { 1838 var r = 1839 arguments.length > 3 && void 0 !== arguments[3] 1840 ? arguments[3] 1841 : {}; 1842 return this.i18nFormat && this.i18nFormat.getResource 1843 ? this.i18nFormat.getResource(e, t, n, r) 1844 : this.resourceStore.getResource(e, t, n, r); 1845 }, 1846 }, 1847 ]), 1848 t 1849 ); 1850 })(q); 1851 function te(e) { 1852 return e.charAt(0).toUpperCase() + e.slice(1); 1853 } 1854 var ne = (function () { 1855 function e(t) { 1856 r(this, e), 1857 (this.options = t), 1858 (this.whitelist = this.options.supportedLngs || !1), 1859 (this.supportedLngs = this.options.supportedLngs || !1), 1860 (this.logger = F.create("languageUtils")); 1861 } 1862 return ( 1863 a(e, [ 1864 { 1865 key: "getScriptPartFromCode", 1866 value: function (e) { 1867 if (!e || e.indexOf("-") < 0) return null; 1868 var t = e.split("-"); 1869 return 2 === t.length 1870 ? null 1871 : (t.pop(), 1872 "x" === t[t.length - 1].toLowerCase() 1873 ? null 1874 : this.formatLanguageCode(t.join("-"))); 1875 }, 1876 }, 1877 { 1878 key: "getLanguagePartFromCode", 1879 value: function (e) { 1880 if (!e || e.indexOf("-") < 0) return e; 1881 var t = e.split("-"); 1882 return this.formatLanguageCode(t[0]); 1883 }, 1884 }, 1885 { 1886 key: "formatLanguageCode", 1887 value: function (e) { 1888 if ("string" == typeof e && e.indexOf("-") > -1) { 1889 var t = [ 1890 "hans", 1891 "hant", 1892 "latn", 1893 "cyrl", 1894 "cans", 1895 "mong", 1896 "arab", 1897 ], 1898 n = e.split("-"); 1899 return ( 1900 this.options.lowerCaseLng 1901 ? (n = n.map(function (e) { 1902 return e.toLowerCase(); 1903 })) 1904 : 2 === n.length 1905 ? ((n[0] = n[0].toLowerCase()),
1906 (n[1] = n[1].toUpperCase()), 1907 t.indexOf(n[1].toLowerCase()) > -1 && 1908 (n[1] = te(n[1].toLowerCase()))) 1909 : 3 === n.length && 1910 ((n[0] = n[0].toLowerCase()), 1911 2 === n[1].length && (n[1] = n[1].toUpperCase()), 1912 "sgn" !== n[0] && 1913 2 === n[2].length && 1914 (n[2] = n[2].toUpperCase()), 1915 t.indexOf(n[1].toLowerCase()) > -1 && 1916 (n[1] = te(n[1].toLowerCase())), 1917 t.indexOf(n[2].toLowerCase()) > -1 && 1918 (n[2] = te(n[2].toLowerCase()))), 1919 n.join("-") 1920 ); 1921 } 1922 return this.options.cleanCode || this.options.lowerCaseLng 1923 ? e.toLowerCase() 1924 : e; 1925 }, 1926 }, 1927 { 1928 key: "isWhitelisted", 1929 value: function (e) { 1930 return ( 1931 this.logger.deprecate( 1932 "languageUtils.isWhitelisted", 1933 'function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it\'s usage asap.' 1934 ), 1935 this.isSupportedCode(e) 1936 ); 1937 }, 1938 }, 1939 { 1940 key: "isSupportedCode", 1941 value: function (e) { 1942 return ( 1943 ("languageOnly" === this.options.load || 1944 this.options.nonExplicitSupportedLngs) && 1945 (e = this.getLanguagePartFromCode(e)), 1946 !this.supportedLngs || 1947 !this.supportedLngs.length || 1948 this.supportedLngs.indexOf(e) > -1 1949 ); 1950 }, 1951 }, 1952 { 1953 key: "getBestMatchFromCodes", 1954 value: function (e) { 1955 var t, 1956 n = this; 1957 return e 1958 ? (e.forEach(function (e) { 1959 if (!t) { 1960 var r = n.formatLanguageCode(e); 1961 (n.options.supportedLngs && !n.isSupportedCode(r)) || 1962 (t = r); 1963 } 1964 }), 1965 !t && 1966 this.options.supportedLngs && 1967 e.forEach(function (e) { 1968 if (!t) { 1969 var r = n.getLanguagePartFromCode(e); 1970 if (n.isSupportedCode(r)) return (t = r); 1971 t = n.options.supportedLngs.find(function (e) { 1972 if (0 === e.indexOf(r)) return e; 1973 }); 1974 } 1975 }), 1976 t || 1977 (t = this.getFallbackCodes( 1978 this.options.fallbackLng 1979 )[0]), 1980 t) 1981 : null; 1982 }, 1983 }, 1984 { 1985 key: "getFallbackCodes", 1986 value: function (e, t) { 1987 if (!e) return []; 1988 if ( 1989 ("function" == typeof e && (e = e(t)), 1990 "string" == typeof e && (e = [e]), 1991 "[object Array]" === Object.prototype.toString.apply(e)) 1992 ) 1993 return e; 1994 if (!t) return e.default || []; 1995 var n = e[t]; 1996 return ( 1997 n || (n = e[this.getScriptPartFromCode(t)]), 1998 n || (n = e[this.formatLanguageCode(t)]), 1999 n || (n = e[this.getLanguagePartFromCode(t)]), 2000 n || (n = e.default), 2001 n || [] 2002 ); 2003 }, 2004 }, 2005 { 2006 key: "toResolveHierarchy", 2007 value: function (e, t) { 2008 var n = this, 2009 r = this.getFallbackCodes( 2010 t || this.options.fallbackLng || [], 2011 e 2012 ), 2013 o = [], 2014 a = function (e) { 2015 e && 2016 (n.isSupportedCode(e) 2017 ? o.push(e) 2018 : n.logger.warn( 2019 "rejecting language code not found in supportedLngs: ".concat( 2020 e 2021 ) 2022 )); 2023 }; 2024 return ( 2025 "string" == typeof e && e.indexOf("-") > -1 2026 ? ("languageOnly" !== this.options.load && 2027 a(this.formatLanguageCode(e)), 2028 "languageOnly" !== this.options.load && 2029 "currentOnly" !== this.options.load && 2030 a(this.getScriptPartFromCode(e)), 2031 "currentOnly" !== this.options.load && 2032 a(this.getLanguagePartFromCode(e))) 2033 : "string" == typeof e && a(this.formatLanguageCode(e)), 2034 r.forEach(function (e) { 2035 o.indexOf(e) < 0 && a(n.formatLanguageCode(e)); 2036 }), 2037 o 2038 ); 2039 }, 2040 }, 2041 ]), 2042 e 2043 ); 2044 })(), 2045 re = [ 2046 { 2047 lngs: [ 2048 "ach", 2049 "ak", 2050 "am", 2051 "arn", 2052 "br", 2053 "fil", 2054 "gun", 2055 "ln", 2056 "mfe", 2057 "mg", 2058 "mi", 2059 "oc", 2060 "pt", 2061 "pt-BR", 2062 "tg", 2063 "ti", 2064 "tr", 2065 "uz", 2066 "wa", 2067 ], 2068 nr: [1, 2], 2069 fc: 1, 2070 }, 2071 { 2072 lngs: [ 2073 "af", 2074 "an", 2075 "ast", 2076 "az", 2077 "bg", 2078 "bn", 2079 "ca", 2080 "da", 2081 "de", 2082 "dev", 2083 "el", 2084 "en", 2085 "eo", 2086 "es", 2087 "et", 2088 "eu", 2089 "fi", 2090 "fo", 2091 "fur", 2092 "fy", 2093 "gl", 2094 "gu", 2095 "ha", 2096 "hi", 2097 "hu", 2098 "hy", 2099 "ia", 2100 "it", 2101 "kn", 2102 "ku", 2103 "lb", 2104 "mai", 2105 "ml", 2106 "mn", 2107 "mr", 2108 "nah", 2109 "nap", 2110 "nb", 2111 "ne", 2112 "nl", 2113 "nn", 2114 "no", 2115 "nso", 2116 "pa", 2117 "pap", 2118 "pms", 2119 "ps", 2120 "pt-PT", 2121 "rm", 2122 "sco", 2123 "se", 2124 "si", 2125 "so", 2126 "son", 2127 "sq", 2128 "sv", 2129 "sw", 2130 "ta", 2131 "te", 2132 "tk", 2133 "ur", 2134 "yo", 2135 ], 2136 nr: [1, 2], 2137 fc: 2, 2138 }, 2139 { 2140 lngs: [ 2141 "ay", 2142 "bo", 2143 "cgg", 2144 "fa", 2145 "ht", 2146 "id", 2147 "ja", 2148 "jbo", 2149 "ka", 2150 "kk", 2151 "km", 2152 "ko", 2153 "ky", 2154 "lo", 2155 "ms", 2156 "sah", 2157 "su", 2158 "th", 2159 "tt", 2160 "ug", 2161 "vi", 2162 "wo", 2163 "zh", 2164 ], 2165 nr: [1], 2166 fc: 3, 2167 }, 2168 { 2169 lngs: ["be", "bs", "cnr", "dz", "hr", "ru", "sr", "uk"], 2170 nr: [1, 2, 5], 2171 fc: 4, 2172 }, 2173 { lngs: ["ar"], nr: [0, 1, 2, 3, 11, 100], fc: 5 }, 2174 { lngs: ["cs", "sk"], nr: [1, 2, 5], fc: 6 }, 2175 { lngs: ["csb", "pl"], nr: [1, 2, 5], fc: 7 }, 2176 { lngs: ["cy"], nr: [1, 2, 3, 8], fc: 8 }, 2177 { lngs: ["fr"], nr: [1, 2], fc: 9 }, 2178 { lngs: ["ga"], nr: [1, 2, 3, 7, 11], fc: 10 }, 2179 { lngs: ["gd"], nr: [1, 2, 3, 20], fc: 11 }, 2180 { lngs: ["is"], nr: [1, 2], fc: 12 }, 2181 { lngs: ["jv"], nr: [0, 1], fc: 13 }, 2182 { lngs: ["kw"], nr: [1, 2, 3, 4], fc: 14 }, 2183 { lngs: ["lt"], nr: [1, 2, 10], fc: 15 },
2184 { lngs: ["lv"], nr: [1, 2, 0], fc: 16 }, 2185 { lngs: ["mk"], nr: [1, 2], fc: 17 }, 2186 { lngs: ["mnk"], nr: [0, 1, 2], fc: 18 }, 2187 { lngs: ["mt"], nr: [1, 2, 11, 20], fc: 19 }, 2188 { lngs: ["or"], nr: [2, 1], fc: 2 }, 2189 { lngs: ["ro"], nr: [1, 2, 20], fc: 20 }, 2190 { lngs: ["sl"], nr: [5, 1, 2, 3], fc: 21 }, 2191 { lngs: ["he", "iw"], nr: [1, 2, 20, 21], fc: 22 }, 2192 ], 2193 oe = { 2194 1: function (e) { 2195 return Number(e > 1); 2196 }, 2197 2: function (e) { 2198 return Number(1 != e); 2199 }, 2200 3: function (e) { 2201 return 0; 2202 }, 2203 4: function (e) { 2204 return Number( 2205 e % 10 == 1 && e % 100 != 11 2206 ? 0 2207 : e % 10 >= 2 && e % 10 <= 4 && (e % 100 < 10 || e % 100 >= 20) 2208 ? 1 2209 : 2 2210 ); 2211 }, 2212 5: function (e) { 2213 return Number( 2214 0 == e 2215 ? 0 2216 : 1 == e 2217 ? 1 2218 : 2 == e 2219 ? 2 2220 : e % 100 >= 3 && e % 100 <= 10 2221 ? 3 2222 : e % 100 >= 11 2223 ? 4 2224 : 5 2225 ); 2226 }, 2227 6: function (e) { 2228 return Number(1 == e ? 0 : e >= 2 && e <= 4 ? 1 : 2); 2229 }, 2230 7: function (e) { 2231 return Number( 2232 1 == e 2233 ? 0 2234 : e % 10 >= 2 && e % 10 <= 4 && (e % 100 < 10 || e % 100 >= 20) 2235 ? 1 2236 : 2 2237 ); 2238 }, 2239 8: function (e) { 2240 return Number(1 == e ? 0 : 2 == e ? 1 : 8 != e && 11 != e ? 2 : 3); 2241 }, 2242 9: function (e) { 2243 return Number(e >= 2); 2244 }, 2245 10: function (e) { 2246 return Number(1 == e ? 0 : 2 == e ? 1 : e < 7 ? 2 : e < 11 ? 3 : 4); 2247 }, 2248 11: function (e) { 2249 return Number( 2250 1 == e || 11 == e 2251 ? 0 2252 : 2 == e || 12 == e 2253 ? 1 2254 : e > 2 && e < 20 2255 ? 2 2256 : 3 2257 ); 2258 }, 2259 12: function (e) { 2260 return Number(e % 10 != 1 || e % 100 == 11); 2261 }, 2262 13: function (e) { 2263 return Number(0 !== e); 2264 }, 2265 14: function (e) { 2266 return Number(1 == e ? 0 : 2 == e ? 1 : 3 == e ? 2 : 3); 2267 }, 2268 15: function (e) { 2269 return Number( 2270 e % 10 == 1 && e % 100 != 11 2271 ? 0 2272 : e % 10 >= 2 && (e % 100 < 10 || e % 100 >= 20) 2273 ? 1 2274 : 2 2275 ); 2276 }, 2277 16: function (e) { 2278 return Number(e % 10 == 1 && e % 100 != 11 ? 0 : 0 !== e ? 1 : 2); 2279 }, 2280 17: function (e) { 2281 return Number(1 == e || (e % 10 == 1 && e % 100 != 11) ? 0 : 1); 2282 }, 2283 18: function (e) { 2284 return Number(0 == e ? 0 : 1 == e ? 1 : 2); 2285 }, 2286 19: function (e) { 2287 return Number( 2288 1 == e 2289 ? 0 2290 : 0 == e || (e % 100 > 1 && e % 100 < 11) 2291 ? 1 2292 : e % 100 > 10 && e % 100 < 20 2293 ? 2 2294 : 3 2295 ); 2296 }, 2297 20: function (e) { 2298 return Number( 2299 1 == e ? 0 : 0 == e || (e % 100 > 0 && e % 100 < 20) ? 1 : 2 2300 ); 2301 }, 2302 21: function (e) { 2303 return Number( 2304 e % 100 == 1 2305 ? 1 2306 : e % 100 == 2 2307 ? 2 2308 : e % 100 == 3 || e % 100 == 4 2309 ? 3 2310 : 0 2311 ); 2312 }, 2313 22: function (e) { 2314 return Number( 2315 1 == e ? 0 : 2 == e ? 1 : (e < 0 || e > 10) && e % 10 == 0 ? 2 : 3 2316 ); 2317 }, 2318 }; 2319 function ae() { 2320 var e = {}; 2321 return ( 2322 re.forEach(function (t) {
2323 t.lngs.forEach(function (n) { 2324 e[n] = { numbers: t.nr, plurals: oe[t.fc] }; 2325 }); 2326 }), 2327 e 2328 ); 2329 } 2330 var ie = (function () { 2331 function e(t) { 2332 var n = 2333 arguments.length > 1 && void 0 !== arguments[1] 2334 ? arguments[1] 2335 : {}; 2336 r(this, e), 2337 (this.languageUtils = t), 2338 (this.options = n), 2339 (this.logger = F.create("pluralResolver")), 2340 (this.rules = ae()); 2341 } 2342 return ( 2343 a(e, [ 2344 { 2345 key: "addRule", 2346 value: function (e, t) { 2347 this.rules[e] = t; 2348 }, 2349 }, 2350 { 2351 key: "getRule", 2352 value: function (e) { 2353 return ( 2354 this.rules[e] || 2355 this.rules[this.languageUtils.getLanguagePartFromCode(e)] 2356 ); 2357 }, 2358 }, 2359 { 2360 key: "needsPlural", 2361 value: function (e) { 2362 var t = this.getRule(e); 2363 return t && t.numbers.length > 1; 2364 }, 2365 }, 2366 { 2367 key: "getPluralFormsOfKey", 2368 value: function (e, t) { 2369 var n = this, 2370 r = [], 2371 o = this.getRule(e); 2372 return o 2373 ? (o.numbers.forEach(function (o) { 2374 var a = n.getSuffix(e, o); 2375 r.push("".concat(t).concat(a)); 2376 }), 2377 r) 2378 : r; 2379 }, 2380 }, 2381 { 2382 key: "getSuffix", 2383 value: function (e, t) { 2384 var n = this, 2385 r = this.getRule(e); 2386 if (r) { 2387 var o = r.noAbs ? r.plurals(t) : r.plurals(Math.abs(t)), 2388 a = r.numbers[o]; 2389 this.options.simplifyPluralSuffix && 2390 2 === r.numbers.length && 2391 1 === r.numbers[0] && 2392 (2 === a ? (a = "plural") : 1 === a && (a = "")); 2393 var i = function () { 2394 return n.options.prepend && a.toString() 2395 ? n.options.prepend + a.toString() 2396 : a.toString(); 2397 }; 2398 return "v1" === this.options.compatibilityJSON 2399 ? 1 === a 2400 ? "" 2401 : "number" == typeof a 2402 ? "_plural_".concat(a.toString()) 2403 : i() 2404 : "v2" === this.options.compatibilityJSON || 2405 (this.options.simplifyPluralSuffix && 2406 2 === r.numbers.length && 2407 1 === r.numbers[0]) 2408 ? i() 2409 : this.options.prepend && o.toString() 2410 ? this.options.prepend + o.toString() 2411 : o.toString(); 2412 } 2413 return ( 2414 this.logger.warn("no plural rule found for: ".concat(e)), "" 2415 ); 2416 }, 2417 }, 2418 ]), 2419 e 2420 ); 2421 })(), 2422 se = (function () { 2423 function e() { 2424 var t = 2425 arguments.length > 0 && void 0 !== arguments[0] 2426 ? arguments[0] 2427 : {}; 2428 r(this, e), 2429 (this.logger = F.create("interpolator")), 2430 (this.options = t), 2431 (this.format = 2432 (t.interpolation && t.interpolation.format) || 2433 function (e) { 2434 return e; 2435 }), 2436 this.init(t); 2437 } 2438 return ( 2439 a(e, [ 2440 { 2441 key: "init", 2442 value: function () { 2443 var e = 2444 arguments.length > 0 && void 0 !== arguments[0] 2445 ? arguments[0] 2446 : {}; 2447 e.interpolation || (e.interpolation = { escapeValue: !0 }); 2448 var t = e.interpolation; 2449 (this.escape = void 0 !== t.escape ? t.escape : J), 2450 (this.escapeValue = 2451 void 0 === t.escapeValue || t.escapeValue), 2452 (this.useRawValueToEscape = 2453 void 0 !== t.useRawValueToEscape && 2454 t.useRawValueToEscape), 2455 (this.prefix = t.prefix 2456 ? z(t.prefix) 2457 : t.prefixEscaped || "{{"), 2458 (this.suffix = t.suffix 2459 ? z(t.suffix) 2460 : t.suffixEscaped || "}}"), 2461 (this.formatSeparator = t.formatSeparator 2462 ? t.formatSeparator 2463 : t.formatSeparator || ","), 2464 (this.unescapePrefix = t.unescapeSuffix 2465 ? "" 2466 : t.unescapePrefix || "-"), 2467 (this.unescapeSuffix = this.unescapePrefix 2468 ? "" 2469 : t.unescapeSuffix || ""), 2470 (this.nestingPrefix = t.nestingPrefix 2471 ? z(t.nestingPrefix) 2472 : t.nestingPrefixEscaped || z("$t(")), 2473 (this.nestingSuffix = t.nestingSuffix
2474 ? z(t.nestingSuffix) 2475 : t.nestingSuffixEscaped || z(")")), 2476 (this.nestingOptionsSeparator = t.nestingOptionsSeparator 2477 ? t.nestingOptionsSeparator 2478 : t.nestingOptionsSeparator || ","), 2479 (this.maxReplaces = t.maxReplaces ? t.maxReplaces : 1e3), 2480 (this.alwaysFormat = 2481 void 0 !== t.alwaysFormat && t.alwaysFormat), 2482 this.resetRegExp(); 2483 }, 2484 }, 2485 { 2486 key: "reset", 2487 value: function () { 2488 this.options && this.init(this.options); 2489 }, 2490 }, 2491 { 2492 key: "resetRegExp", 2493 value: function () { 2494 var e = "".concat(this.prefix, "(.+?)").concat(this.suffix); 2495 this.regexp = new RegExp(e, "g"); 2496 var t = "" 2497 .concat(this.prefix) 2498 .concat(this.unescapePrefix, "(.+?)") 2499 .concat(this.unescapeSuffix) 2500 .concat(this.suffix); 2501 this.regexpUnescape = new RegExp(t, "g"); 2502 var n = "" 2503 .concat(this.nestingPrefix, "(.+?)") 2504 .concat(this.nestingSuffix); 2505 this.nestingRegexp = new RegExp(n, "g"); 2506 }, 2507 }, 2508 { 2509 key: "interpolate", 2510 value: function (e, t, n, r) { 2511 var o, 2512 a, 2513 i, 2514 s = this, 2515 u = 2516 (this.options && 2517 this.options.interpolation && 2518 this.options.interpolation.defaultVariables) || 2519 {}; 2520 function c(e) { 2521 return e.replace(/\$/g, "$$$$"); 2522 } 2523 var l = function (e) { 2524 if (e.indexOf(s.formatSeparator) < 0) { 2525 var o = Q(t, u, e); 2526 return s.alwaysFormat ? s.format(o, void 0, n) : o; 2527 } 2528 var a = e.split(s.formatSeparator), 2529 i = a.shift().trim(), 2530 c = a.join(s.formatSeparator).trim(); 2531 return s.format(Q(t, u, i), c, n, r); 2532 }; 2533 this.resetRegExp(); 2534 var p = 2535 (r && r.missingInterpolationHandler) || 2536 this.options.missingInterpolationHandler, 2537 f = 2538 (r && 2539 r.interpolation && 2540 r.interpolation.skipOnVariables) || 2541 this.options.interpolation.skipOnVariables; 2542 return ( 2543 [ 2544 { 2545 regex: this.regexpUnescape, 2546 safeValue: function (e) { 2547 return c(e); 2548 }, 2549 }, 2550 { 2551 regex: this.regexp, 2552 safeValue: function (e) { 2553 return s.escapeValue ? c(s.escape(e)) : c(e); 2554 }, 2555 }, 2556 ].forEach(function (t) { 2557 for (i = 0; (o = t.regex.exec(e)); ) { 2558 if (void 0 === (a = l(o[1].trim()))) 2559 if ("function" == typeof p) { 2560 var n = p(e, o, r); 2561 a = "string" == typeof n ? n : ""; 2562 } else { 2563 if (f) { 2564 a = o[0]; 2565 continue; 2566 } 2567 s.logger.warn( 2568 "missed to pass in variable " 2569 .concat(o[1], " for interpolating ") 2570 .concat(e) 2571 ), 2572 (a = ""); 2573 } 2574 else 2575 "string" == typeof a || 2576 s.useRawValueToEscape || 2577 (a = U(a)); 2578 if ( 2579 ((e = e.replace(o[0], t.safeValue(a))), 2580 (t.regex.lastIndex = 0), 2581 ++i >= s.maxReplaces) 2582 ) 2583 break; 2584 } 2585 }), 2586 e 2587 ); 2588 }, 2589 }, 2590 { 2591 key: "nest", 2592 value: function (e, t) { 2593 var n, 2594 r, 2595 o = this, 2596 a = 2597 arguments.length > 2 && void 0 !== arguments[2] 2598 ? arguments[2] 2599 : {}, 2600 i = L({}, a); 2601 function s(e, t) { 2602 var n = this.nestingOptionsSeparator; 2603 if (e.indexOf(n) < 0) return e; 2604 var r = e.split(new RegExp("".concat(n, "[ ]*{"))), 2605 o = "{".concat(r[1]); 2606 (e = r[0]), 2607 (o = (o = this.interpolate(o, i)).replace(/'/g, '"')); 2608 try { 2609 (i = JSON.parse(o)), t && (i = L({}, t, i)); 2610 } catch (a) { 2611 return ( 2612 this.logger.warn( 2613 "failed parsing options string in nesting for key ".concat( 2614 e 2615 ), 2616 a 2617 ), 2618 "".concat(e).concat(n).concat(o) 2619 ); 2620 } 2621 return delete i.defaultValue, e; 2622 } 2623 for ( 2624 i.applyPostProcessor = !1, delete i.defaultValue; 2625 (n = this.nestingRegexp.exec(e)); 2626 2627 ) { 2628 var u = [], 2629 c = !1; 2630 if ( 2631 n[0].includes(this.formatSeparator) && 2632 !/{.*}/.test(n[1]) 2633 ) { 2634 var l = n[1] 2635 .split(this.formatSeparator) 2636 .map(function (e) { 2637 return e.trim(); 2638 }); 2639 (n[1] = l.shift()), (u = l), (c = !0); 2640 } 2641 if ( 2642 (r = t(s.call(this, n[1].trim(), i), i)) && 2643 n[0] === e && 2644 "string" != typeof r 2645 ) 2646 return r; 2647 "string" != typeof r && (r = U(r)), 2648 r || 2649 (this.logger.warn( 2650 "missed to resolve " 2651 .concat(n[1], " for nesting ") 2652 .concat(e) 2653 ), 2654 (r = "")), 2655 c && 2656 (r = u.reduce(function (e, t) { 2657 return o.format(e, t, a.lng, a); 2658 }, r.trim())), 2659 (e = e.replace(n[0], r)), 2660 (this.regexp.lastIndex = 0); 2661 } 2662 return e; 2663 }, 2664 }, 2665 ]), 2666 e 2667 ); 2668 })(); 2669 var ue = (function (e) { 2670 function t(e, n, o) { 2671 var a, 2672 i = 2673 arguments.length > 3 && void 0 !== arguments[3] 2674 ? arguments[3] 2675 : {}; 2676 return ( 2677 r(this, t), 2678 (a = T(this, M(t).call(this))), 2679 Y && q.call(C(a)), 2680 (a.backend = e), 2681 (a.store = n), 2682 (a.services = o), 2683 (a.languageUtils = o.languageUtils), 2684 (a.options = i), 2685 (a.logger = F.create("backendConnector")), 2686 (a.state = {}), 2687 (a.queue = []), 2688 a.backend && a.backend.init && a.backend.init(o, i.backend, i), 2689 a 2690 ); 2691 } 2692 return ( 2693 D(t, e), 2694 a(t, [ 2695 { 2696 key: "queueLoad", 2697 value: function (e, t, n, r) { 2698 var o = this, 2699 a = [], 2700 i = [], 2701 s = [], 2702 u = []; 2703 return ( 2704 e.forEach(function (e) { 2705 var r = !0; 2706 t.forEach(function (t) { 2707 var s = "".concat(e, "|").concat(t); 2708 !n.reload && o.store.hasResourceBundle(e, t) 2709 ? (o.state[s] = 2) 2710 : o.state[s] < 0 || 2711 (1 === o.state[s] 2712 ? i.indexOf(s) < 0 && i.push(s) 2713 : ((o.state[s] = 1), 2714 (r = !1), 2715 i.indexOf(s) < 0 && i.push(s), 2716 a.indexOf(s) < 0 && a.push(s), 2717 u.indexOf(t) < 0 && u.push(t))); 2718 }), 2719 r || s.push(e); 2720 }), 2721 (a.length || i.length) && 2722 this.queue.push({ 2723 pending: i, 2724 loaded: {}, 2725 errors: [], 2726 callback: r, 2727 }), 2728 { 2729 toLoad: a, 2730 pending: i, 2731 toLoadLanguages: s, 2732 toLoadNamespaces: u, 2733 } 2734 ); 2735 }, 2736 }, 2737 { 2738 key: "loaded", 2739 value: function (e, t, n) { 2740 var r = e.split("|"), 2741 o = r[0], 2742 a = r[1];
2743 t && this.emit("failedLoading", o, a, t), 2744 n && this.store.addResourceBundle(o, a, n), 2745 (this.state[e] = t ? -1 : 2); 2746 var i = {}; 2747 this.queue.forEach(function (n) { 2748 var r, s, u, c, l, p; 2749 (r = n.loaded), 2750 (s = a), 2751 (c = V(r, [o], Object)), 2752 (l = c.obj), 2753 (p = c.k), 2754 (l[p] = l[p] || []), 2755 u && (l[p] = l[p].concat(s)), 2756 u || l[p].push(s), 2757 (function (e, t) { 2758 for (var n = e.indexOf(t); -1 !== n; ) 2759 e.splice(n, 1), (n = e.indexOf(t)); 2760 })(n.pending, e), 2761 t && n.errors.push(t), 2762 0 !== n.pending.length || 2763 n.done || 2764 (Object.keys(n.loaded).forEach(function (e) { 2765 i[e] || (i[e] = []), 2766 n.loaded[e].length && 2767 n.loaded[e].forEach(function (t) { 2768 i[e].indexOf(t) < 0 && i[e].push(t); 2769 }); 2770 }), 2771 (n.done = !0), 2772 n.errors.length ? n.callback(n.errors) : n.callback()); 2773 }), 2774 this.emit("loaded", i), 2775 (this.queue = this.queue.filter(function (e) { 2776 return !e.done; 2777 })); 2778 }, 2779 }, 2780 { 2781 key: "read", 2782 value: function (e, t, n) { 2783 var r = this, 2784 o = 2785 arguments.length > 3 && void 0 !== arguments[3] 2786 ? arguments[3] 2787 : 0, 2788 a = 2789 arguments.length > 4 && void 0 !== arguments[4] 2790 ? arguments[4] 2791 : 350, 2792 i = arguments.length > 5 ? arguments[5] : void 0; 2793 return e.length 2794 ? this.backend[n](e, t, function (s, u) { 2795 s && u && o < 5 2796 ? setTimeout(function () { 2797 r.read.call(r, e, t, n, o + 1, 2 * a, i); 2798 }, a) 2799 : i(s, u); 2800 }) 2801 : i(null, {}); 2802 }, 2803 }, 2804 { 2805 key: "prepareLoading", 2806 value: function (e, t) { 2807 var n = this, 2808 r = 2809 arguments.length > 2 && void 0 !== arguments[2] 2810 ? arguments[2] 2811 : {}, 2812 o = arguments.length > 3 ? arguments[3] : void 0; 2813 if (!this.backend) 2814 return ( 2815 this.logger.warn( 2816 "No backend was added via i18next.use. Will not load resources." 2817 ), 2818 o && o() 2819 ); 2820 "string" == typeof e && 2821 (e = this.languageUtils.toResolveHierarchy(e)), 2822 "string" == typeof t && (t = [t]); 2823 var a = this.queueLoad(e, t, r, o); 2824 if (!a.toLoad.length) return a.pending.length || o(), null; 2825 a.toLoad.forEach(function (e) { 2826 n.loadOne(e); 2827 }); 2828 }, 2829 }, 2830 { 2831 key: "load", 2832 value: function (e, t, n) { 2833 this.prepareLoading(e, t, {}, n); 2834 }, 2835 }, 2836 { 2837 key: "reload", 2838 value: function (e, t, n) { 2839 this.prepareLoading(e, t, { reload: !0 }, n); 2840 }, 2841 }, 2842 { 2843 key: "loadOne", 2844 value: function (e) { 2845 var t = this, 2846 n = 2847 arguments.length > 1 && void 0 !== arguments[1] 2848 ? arguments[1] 2849 : "", 2850 r = e.split("|"), 2851 o = r[0], 2852 a = r[1]; 2853 this.read(o, a, "read", void 0, void 0, function (r, i) { 2854 r && 2855 t.logger.warn( 2856 "" 2857 .concat(n, "loading namespace ") 2858 .concat(a, " for language ") 2859 .concat(o, " failed"), 2860 r 2861 ), 2862 !r && 2863 i && 2864 t.logger.log( 2865 "" 2866 .concat(n, "loaded namespace ") 2867 .concat(a, " for language ") 2868 .concat(o), 2869 i 2870 ), 2871 t.loaded(e, r, i); 2872 }); 2873 }, 2874 }, 2875 { 2876 key: "saveMissing", 2877 value: function (e, t, n, r, o) { 2878 var a = 2879 arguments.length > 5 && void 0 !== arguments[5] 2880 ? arguments[5] 2881 : {}; 2882 this.services.utils && 2883 this.services.utils.hasLoadedNamespace && 2884 !this.services.utils.hasLoadedNamespace(t) 2885 ? this.logger.warn( 2886 'did not save key "' 2887 .concat(n, '" as the namespace "') 2888 .concat(t, '" was not yet loaded'), 2889 "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!" 2890 ) 2891 : null != n && 2892 "" !== n && 2893 (this.backend && 2894 this.backend.create && 2895 this.backend.create( 2896 e, 2897 t, 2898 n, 2899 r, 2900 null, 2901 L({}, a, { isUpdate: o }) 2902 ), 2903 e && e[0] && this.store.addResource(e[0], t, n, r)); 2904 }, 2905 }, 2906 ]), 2907 t 2908 ); 2909 })(q); 2910 function ce() { 2911 return { 2912 debug: !1, 2913 initImmediate: !0, 2914 ns: ["translation"], 2915 defaultNS: ["translation"], 2916 fallbackLng: ["dev"], 2917 fallbackNS: !1, 2918 whitelist: !1, 2919 nonExplicitWhitelist: !1, 2920 supportedLngs: !1, 2921 nonExplicitSupportedLngs: !1, 2922 load: "all", 2923 preload: !1, 2924 simplifyPluralSuffix: !0, 2925 keySeparator: ".", 2926 nsSeparator: ":", 2927 pluralSeparator: "_", 2928 contextSeparator: "_", 2929 partialBundledLanguages: !1, 2930 saveMissing: !1, 2931 updateMissing: !1, 2932 saveMissingTo: "fallback", 2933 saveMissingPlurals: !0, 2934 missingKeyHandler: !1, 2935 missingInterpolationHandler: !1, 2936 postProcess: !1, 2937 postProcessPassResolved: !1, 2938 returnNull: !0, 2939 returnEmptyString: !0, 2940 returnObjects: !1, 2941 joinArrays: !1, 2942 returnedObjectHandler: !1, 2943 parseMissingKeyHandler: !1, 2944 appendNamespaceToMissingKey: !1, 2945 appendNamespaceToCIMode: !1, 2946 overloadTranslationOptionHandler: function (e) { 2947 var t = {}; 2948 if ( 2949 ("object" === R(e[1]) && (t = e[1]), 2950 "string" == typeof e[1] && (t.defaultValue = e[1]), 2951 "string" == typeof e[2] && (t.tDescription = e[2]), 2952 "object" === R(e[2]) || "object" === R(e[3])) 2953 ) { 2954 var n = e[3] || e[2];
2955 Object.keys(n).forEach(function (e) { 2956 t[e] = n[e]; 2957 }); 2958 } 2959 return t; 2960 }, 2961 interpolation: { 2962 escapeValue: !0, 2963 format: function (e, t, n, r) { 2964 return e; 2965 }, 2966 prefix: "{{", 2967 suffix: "}}", 2968 formatSeparator: ",", 2969 unescapePrefix: "-", 2970 nestingPrefix: "$t(", 2971 nestingSuffix: ")", 2972 nestingOptionsSeparator: ",", 2973 maxReplaces: 1e3, 2974 skipOnVariables: !1, 2975 }, 2976 }; 2977 } 2978 function le(e) { 2979 return ( 2980 "string" == typeof e.ns && (e.ns = [e.ns]), 2981 "string" == typeof e.fallbackLng && (e.fallbackLng = [e.fallbackLng]), 2982 "string" == typeof e.fallbackNS && (e.fallbackNS = [e.fallbackNS]), 2983 e.whitelist && 2984 (e.whitelist && 2985 e.whitelist.indexOf("cimode") < 0 && 2986 (e.whitelist = e.whitelist.concat(["cimode"])), 2987 (e.supportedLngs = e.whitelist)), 2988 e.nonExplicitWhitelist && 2989 (e.nonExplicitSupportedLngs = e.nonExplicitWhitelist), 2990 e.supportedLngs && 2991 e.supportedLngs.indexOf("cimode") < 0 && 2992 (e.supportedLngs = e.supportedLngs.concat(["cimode"])), 2993 e 2994 ); 2995 } 2996 function pe() {} 2997 var fe = new ((function (e) { 2998 function t() { 2999 var e, 3000 n = 3001 arguments.length > 0 && void 0 !== arguments[0] 3002 ? arguments[0] 3003 : {}, 3004 o = arguments.length > 1 ? arguments[1] : void 0; 3005 if ( 3006 (r(this, t), 3007 (e = T(this, M(t).call(this))), 3008 Y && q.call(C(e)), 3009 (e.options = le(n)), 3010 (e.services = {}), 3011 (e.logger = F), 3012 (e.modules = { external: [] }), 3013 o && !e.isInitialized && !n.isClone) 3014 ) { 3015 if (!e.options.initImmediate) return e.init(n, o), T(e, C(e)); 3016 setTimeout(function () { 3017 e.init(n, o); 3018 }, 0); 3019 } 3020 return e; 3021 } 3022 return ( 3023 D(t, e), 3024 a(t, [ 3025 { 3026 key: "init", 3027 value: function () { 3028 var e = this, 3029 t = 3030 arguments.length > 0 && void 0 !== arguments[0] 3031 ? arguments[0] 3032 : {}, 3033 n = arguments.length > 1 ? arguments[1] : void 0; 3034 function r(e) { 3035 return e ? ("function" == typeof e ? new e() : e) : null; 3036 } 3037 if ( 3038 ("function" == typeof t && ((n = t), (t = {})), 3039 t.whitelist && 3040 !t.supportedLngs && 3041 this.logger.deprecate( 3042 "whitelist", 3043 'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.' 3044 ), 3045 t.nonExplicitWhitelist && 3046 !t.nonExplicitSupportedLngs && 3047 this.logger.deprecate( 3048 "whitelist", 3049 'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.' 3050 ), 3051 (this.options = L({}, ce(), this.options, le(t))), 3052 (this.format = this.options.interpolation.format), 3053 n || (n = pe), 3054 !this.options.isClone) 3055 ) { 3056 this.modules.logger 3057 ? F.init(r(this.modules.logger), this.options) 3058 : F.init(null, this.options); 3059 var o = new ne(this.options); 3060 this.store = new X(this.options.resources, this.options); 3061 var a = this.services; 3062 (a.logger = F), 3063 (a.resourceStore = this.store), 3064 (a.languageUtils = o), 3065 (a.pluralResolver = new ie(o, { 3066 prepend: this.options.pluralSeparator, 3067 compatibilityJSON: this.options.compatibilityJSON, 3068 simplifyPluralSuffix: this.options.simplifyPluralSuffix, 3069 })), 3070 (a.interpolator = new se(this.options)), 3071 (a.utils = { 3072 hasLoadedNamespace: this.hasLoadedNamespace.bind(this), 3073 }), 3074 (a.backendConnector = new ue( 3075 r(this.modules.backend), 3076 a.resourceStore, 3077 a, 3078 this.options 3079 )), 3080 a.backendConnector.on("*", function (t) { 3081 for ( 3082 var n = arguments.length, 3083 r = new Array(n > 1 ? n - 1 : 0), 3084 o = 1; 3085 o < n; 3086 o++ 3087 ) 3088 r[o - 1] = arguments[o]; 3089 e.emit.apply(e, [t].concat(r)); 3090 }), 3091 this.modules.languageDetector && 3092 ((a.languageDetector = r( 3093 this.modules.languageDetector 3094 )), 3095 a.languageDetector.init( 3096 a, 3097 this.options.detection, 3098 this.options 3099 )), 3100 this.modules.i18nFormat && 3101 ((a.i18nFormat = r(this.modules.i18nFormat)), 3102 a.i18nFormat.init && a.i18nFormat.init(this)), 3103 (this.translator = new ee(this.services, this.options)), 3104 this.translator.on("*", function (t) { 3105 for ( 3106 var n = arguments.length, 3107 r = new Array(n > 1 ? n - 1 : 0), 3108 o = 1; 3109 o < n; 3110 o++ 3111 ) 3112 r[o - 1] = arguments[o]; 3113 e.emit.apply(e, [t].concat(r)); 3114 }), 3115 this.modules.external.forEach(function (t) { 3116 t.init && t.init(e); 3117 }); 3118 } 3119 this.services.languageDetector || 3120 this.options.lng || 3121 this.logger.warn(
3122 "init: no languageDetector is used and no lng is defined" 3123 ); 3124 var i = [ 3125 "getResource", 3126 "hasResourceBundle", 3127 "getResourceBundle", 3128 "getDataByLanguage", 3129 ]; 3130 i.forEach(function (t) { 3131 e[t] = function () { 3132 var n; 3133 return (n = e.store)[t].apply(n, arguments); 3134 }; 3135 }); 3136 var s = [ 3137 "addResource", 3138 "addResources", 3139 "addResourceBundle", 3140 "removeResourceBundle", 3141 ]; 3142 s.forEach(function (t) { 3143 e[t] = function () { 3144 var n; 3145 return (n = e.store)[t].apply(n, arguments), e; 3146 }; 3147 }); 3148 var u = I(), 3149 c = function () { 3150 e.changeLanguage(e.options.lng, function (t, r) { 3151 (e.isInitialized = !0), 3152 e.options.isClone || 3153 e.logger.log("initialized", e.options), 3154 e.emit("initialized", e.options), 3155 u.resolve(r), 3156 n(t, r); 3157 }); 3158 }; 3159 return ( 3160 this.options.resources || !this.options.initImmediate 3161 ? c() 3162 : setTimeout(c, 0), 3163 u 3164 ); 3165 }, 3166 }, 3167 { 3168 key: "loadResources", 3169 value: function (e) { 3170 var t = this, 3171 n = 3172 arguments.length > 1 && void 0 !== arguments[1] 3173 ? arguments[1] 3174 : pe, 3175 r = n, 3176 o = "string" == typeof e ? e : this.language; 3177 if ( 3178 ("function" == typeof e && (r = e), 3179 !this.options.resources || 3180 this.options.partialBundledLanguages) 3181 ) { 3182 if (o && "cimode" === o.toLowerCase()) return r(); 3183 var a = [], 3184 i = function (e) { 3185 e && 3186 t.services.languageUtils 3187 .toResolveHierarchy(e) 3188 .forEach(function (e) { 3189 a.indexOf(e) < 0 && a.push(e); 3190 }); 3191 }; 3192 if (o) i(o); 3193 else { 3194 var s = this.services.languageUtils.getFallbackCodes( 3195 this.options.fallbackLng 3196 ); 3197 s.forEach(function (e) { 3198 return i(e); 3199 }); 3200 } 3201 this.options.preload && 3202 this.options.preload.forEach(function (e) { 3203 return i(e); 3204 }), 3205 this.services.backendConnector.load( 3206 a, 3207 this.options.ns, 3208 r 3209 ); 3210 } else r(null); 3211 }, 3212 }, 3213 { 3214 key: "reloadResources", 3215 value: function (e, t, n) { 3216 var r = I(); 3217 return ( 3218 e || (e = this.languages), 3219 t || (t = this.options.ns), 3220 n || (n = pe), 3221 this.services.backendConnector.reload(e, t, function (e) { 3222 r.resolve(), n(e); 3223 }), 3224 r 3225 ); 3226 }, 3227 }, 3228 { 3229 key: "use", 3230 value: function (e) { 3231 if (!e) 3232 throw new Error( 3233 "You are passing an undefined module! Please check the object you are passing to i18next.use()" 3234 ); 3235 if (!e.type) 3236 throw new Error( 3237 "You are passing a wrong module! Please check the object you are passing to i18next.use()" 3238 ); 3239 return ( 3240 "backend" === e.type && (this.modules.backend = e), 3241 ("logger" === e.type || (e.log && e.warn && e.error)) && 3242 (this.modules.logger = e), 3243 "languageDetector" === e.type && 3244 (this.modules.languageDetector = e), 3245 "i18nFormat" === e.type && (this.modules.i18nFormat = e), 3246 "postProcessor" === e.type && $.addPostProcessor(e), 3247 "3rdParty" === e.type && this.modules.external.push(e), 3248 this 3249 ); 3250 }, 3251 }, 3252 { 3253 key: "changeLanguage", 3254 value: function (e, t) { 3255 var n = this; 3256 this.isLanguageChangingTo = e; 3257 var r = I();
3258 this.emit("languageChanging", e); 3259 var o = function (e) { 3260 var o = 3261 "string" == typeof e 3262 ? e 3263 : n.services.languageUtils.getBestMatchFromCodes(e); 3264 o && 3265 (n.language || 3266 ((n.language = o), 3267 (n.languages = 3268 n.services.languageUtils.toResolveHierarchy(o))), 3269 n.translator.language || n.translator.changeLanguage(o), 3270 n.services.languageDetector && 3271 n.services.languageDetector.cacheUserLanguage(o)), 3272 n.loadResources(o, function (e) { 3273 !(function (e, o) { 3274 o 3275 ? ((n.language = o), 3276 (n.languages = 3277 n.services.languageUtils.toResolveHierarchy(o)), 3278 n.translator.changeLanguage(o), 3279 (n.isLanguageChangingTo = void 0), 3280 n.emit("languageChanged", o), 3281 n.logger.log("languageChanged", o)) 3282 : (n.isLanguageChangingTo = void 0), 3283 r.resolve(function () { 3284 return n.t.apply(n, arguments); 3285 }), 3286 t && 3287 t(e, function () { 3288 return n.t.apply(n, arguments); 3289 }); 3290 })(e, o); 3291 }); 3292 }; 3293 return ( 3294 e || 3295 !this.services.languageDetector || 3296 this.services.languageDetector.async 3297 ? !e && 3298 this.services.languageDetector && 3299 this.services.languageDetector.async 3300 ? this.services.languageDetector.detect(o) 3301 : o(e) 3302 : o(this.services.languageDetector.detect()), 3303 r 3304 ); 3305 }, 3306 }, 3307 { 3308 key: "getFixedT", 3309 value: function (e, t) { 3310 var n = this, 3311 r = function e(t, r) { 3312 var o; 3313 if ("object" !== R(r)) { 3314 for ( 3315 var a = arguments.length, 3316 i = new Array(a > 2 ? a - 2 : 0), 3317 s = 2; 3318 s < a; 3319 s++ 3320 ) 3321 i[s - 2] = arguments[s]; 3322 o = n.options.overloadTranslationOptionHandler( 3323 [t, r].concat(i) 3324 ); 3325 } else o = L({}, r); 3326 return ( 3327 (o.lng = o.lng || e.lng), 3328 (o.lngs = o.lngs || e.lngs), 3329 (o.ns = o.ns || e.ns), 3330 n.t(t, o) 3331 ); 3332 }; 3333 return ( 3334 "string" == typeof e ? (r.lng = e) : (r.lngs = e), 3335 (r.ns = t), 3336 r 3337 ); 3338 }, 3339 }, 3340 { 3341 key: "t", 3342 value: function () { 3343 var e; 3344 return ( 3345 this.translator && 3346 (e = this.translator).translate.apply(e, arguments) 3347 ); 3348 }, 3349 }, 3350 { 3351 key: "exists", 3352 value: function () { 3353 var e; 3354 return ( 3355 this.translator && 3356 (e = this.translator).exists.apply(e, arguments) 3357 ); 3358 }, 3359 }, 3360 { 3361 key: "setDefaultNamespace", 3362 value: function (e) { 3363 this.options.defaultNS = e; 3364 }, 3365 }, 3366 { 3367 key: "hasLoadedNamespace", 3368 value: function (e) { 3369 var t = this, 3370 n = 3371 arguments.length > 1 && void 0 !== arguments[1] 3372 ? arguments[1] 3373 : {}; 3374 if (!this.isInitialized) 3375 return ( 3376 this.logger.warn( 3377 "hasLoadedNamespace: i18next was not initialized", 3378 this.languages 3379 ), 3380 !1 3381 ); 3382 if (!this.languages || !this.languages.length) 3383 return ( 3384 this.logger.warn( 3385 "hasLoadedNamespace: i18n.languages were undefined or empty", 3386 this.languages 3387 ), 3388 !1 3389 ); 3390 var r = this.languages[0], 3391 o = !!this.options && this.options.fallbackLng, 3392 a = this.languages[this.languages.length - 1]; 3393 if ("cimode" === r.toLowerCase()) return !0; 3394 var i = function (e, n) { 3395 var r = 3396 t.services.backendConnector.state[ 3397 "".concat(e, "|").concat(n) 3398 ]; 3399 return -1 === r || 2 === r; 3400 }; 3401 if (n.precheck) { 3402 var s = n.precheck(this, i); 3403 if (void 0 !== s) return s; 3404 } 3405 return ( 3406 !!this.hasResourceBundle(r, e) || 3407 !this.services.backendConnector.backend || 3408 !(!i(r, e) || (o && !i(a, e))) 3409 ); 3410 }, 3411 }, 3412 { 3413 key: "loadNamespaces", 3414 value: function (e, t) { 3415 var n = this, 3416 r = I(); 3417 return this.options.ns 3418 ? ("string" == typeof e && (e = [e]), 3419 e.forEach(function (e) { 3420 n.options.ns.indexOf(e) < 0 && n.options.ns.push(e); 3421 }), 3422 this.loadResources(function (e) { 3423 r.resolve(), t && t(e); 3424 }), 3425 r) 3426 : (t && t(), Promise.resolve()); 3427 }, 3428 }, 3429 { 3430 key: "loadLanguages", 3431 value: function (e, t) { 3432 var n = I(); 3433 "string" == typeof e && (e = [e]); 3434 var r = this.options.preload || [], 3435 o = e.filter(function (e) { 3436 return r.indexOf(e) < 0; 3437 }); 3438 return o.length 3439 ? ((this.options.preload = r.concat(o)), 3440 this.loadResources(function (e) { 3441 n.resolve(), t && t(e); 3442 }), 3443 n) 3444 : (t && t(), Promise.resolve()); 3445 }, 3446 }, 3447 { 3448 key: "dir", 3449 value: function (e) { 3450 if ( 3451 (e || 3452 (e = 3453 this.languages && this.languages.length > 0 3454 ? this.languages[0] 3455 : this.language), 3456 !e) 3457 ) 3458 return "rtl";
3459 return [ 3460 "ar", 3461 "shu", 3462 "sqr", 3463 "ssh", 3464 "xaa", 3465 "yhd", 3466 "yud", 3467 "aao", 3468 "abh", 3469 "abv", 3470 "acm", 3471 "acq", 3472 "acw", 3473 "acx", 3474 "acy", 3475 "adf", 3476 "ads", 3477 "aeb", 3478 "aec", 3479 "afb", 3480 "ajp", 3481 "apc", 3482 "apd", 3483 "arb", 3484 "arq", 3485 "ars", 3486 "ary", 3487 "arz", 3488 "auz", 3489 "avl", 3490 "ayh", 3491 "ayl", 3492 "ayn", 3493 "ayp", 3494 "bbz", 3495 "pga", 3496 "he", 3497 "iw", 3498 "ps", 3499 "pbt", 3500 "pbu", 3501 "pst", 3502 "prp", 3503 "prd", 3504 "ug", 3505 "ur", 3506 "ydd", 3507 "yds", 3508 "yih", 3509 "ji", 3510 "yi", 3511 "hbo", 3512 "men", 3513 "xmn", 3514 "fa", 3515 "jpr", 3516 "peo", 3517 "pes", 3518 "prs", 3519 "dv", 3520 "sam", 3521 ].indexOf( 3522 this.services.languageUtils.getLanguagePartFromCode(e) 3523 ) >= 0 3524 ? "rtl" 3525 : "ltr"; 3526 }, 3527 }, 3528 { 3529 key: "createInstance", 3530 value: function () { 3531 var e = 3532 arguments.length > 0 && void 0 !== arguments[0] 3533 ? arguments[0] 3534 : {}, 3535 n = arguments.length > 1 ? arguments[1] : void 0; 3536 return new t(e, n); 3537 }, 3538 }, 3539 { 3540 key: "cloneInstance", 3541 value: function () { 3542 var e = this, 3543 n = 3544 arguments.length > 0 && void 0 !== arguments[0] 3545 ? arguments[0] 3546 : {}, 3547 r = 3548 arguments.length > 1 && void 0 !== arguments[1] 3549 ? arguments[1] 3550 : pe, 3551 o = L({}, this.options, n, { isClone: !0 }), 3552 a = new t(o), 3553 i = ["store", "services", "language"]; 3554 return ( 3555 i.forEach(function (t) { 3556 a[t] = e[t]; 3557 }), 3558 (a.services = L({}, this.services)), 3559 (a.services.utils = { 3560 hasLoadedNamespace: a.hasLoadedNamespace.bind(a), 3561 }), 3562 (a.translator = new ee(a.services, a.options)), 3563 a.translator.on("*", function (e) { 3564 for ( 3565 var t = arguments.length, 3566 n = new Array(t > 1 ? t - 1 : 0), 3567 r = 1; 3568 r < t; 3569 r++ 3570 ) 3571 n[r - 1] = arguments[r]; 3572 a.emit.apply(a, [e].concat(n)); 3573 }), 3574 a.init(o, r), 3575 (a.translator.options = a.options), 3576 (a.translator.backendConnector.services.utils = { 3577 hasLoadedNamespace: a.hasLoadedNamespace.bind(a), 3578 }), 3579 a 3580 ); 3581 }, 3582 }, 3583 ]), 3584 t 3585 ); 3586 })(q))(), 3587 de = n("QSL9"), 3588 he = { es: { translation: n("vNGc") } }; 3589 fe 3590 .use(j) 3591 .use(de.e) 3592 .init({ 3593 detection: { order: ["path"] }, 3594 resources: he, 3595 fallbackLng: "es", 3596 supportedLngs: ["es"], 3597 debug: !1, 3598 interpolation: { escapeValue: !1 }, 3599 returnObjects: !0, 3600 }), 3601 (fe.languages = ["es"]); 3602 t.a = fe; 3603 }, 3604 "2oRo": function (e, t, n) { 3605 (function (t) { 3606 var n = function (e) { 3607 return e && e.Math == Math && e; 3608 }; 3609 e.exports = 3610 n("object" == typeof globalThis && globalThis) || 3611 n("object" == typeof window && window) || 3612 n("object" == typeof self && self) || 3613 n("object" == typeof t && t) || 3614 (function () { 3615 return this; 3616 })() || 3617 Function("return this")(); 3618 }).call(this, n("yLpj")); 3619 }, 3620 "30RF": function (e, t, n) { 3621 "use strict"; 3622 n.d(t, "d", function () { 3623 return l; 3624 }), 3625 n.d(t, "a", function () { 3626 return p; 3627 }), 3628 n.d(t, "c", function () { 3629 return f; 3630 }), 3631 n.d(t, "b", function () { 3632 return d; 3633 }); 3634 var r = n("LYrO"), 3635 o = n("cSJ8"), 3636 a = function (e) { 3637 return void 0 === e 3638 ? e 3639 : "/" === e 3640 ? "/" 3641 : "/" === e.charAt(e.length - 1) 3642 ? e.slice(0, -1) 3643 : e; 3644 }, 3645 i = new Map(), 3646 s = [], 3647 u = function (e) { 3648 var t = decodeURIComponent(e); 3649 return Object(o.a)(t, "").split("#")[0].split("?")[0]; 3650 }; 3651 function c(e) { 3652 return e.startsWith("/") || 3653 e.startsWith("https://") || 3654 e.startsWith("http://") 3655 ? e 3656 : new URL( 3657 e, 3658 window.location.href + 3659 (window.location.href.endsWith("/") ? "" : "/") 3660 ).pathname; 3661 } 3662 var l = function (e) { 3663 s = e; 3664 }, 3665 p = function (e) { 3666 var t = h(e), 3667 n = s.map(function (e) { 3668 var t = e.path; 3669 return { path: e.matchPath, originalPath: t }; 3670 }), 3671 o = Object(r.pick)(n, t); 3672 return o ? a(o.route.originalPath) : null; 3673 }, 3674 f = function (e) { 3675 var t = h(e), 3676 n = s.map(function (e) { 3677 var t = e.path; 3678 return { path: e.matchPath, originalPath: t }; 3679 }), 3680 o = Object(r.pick)(n, t); 3681 return o ? o.params : {}; 3682 }, 3683 d = function (e) { 3684 var t = u(c(e)); 3685 if (i.has(t)) return i.get(t); 3686 var n = p(t); 3687 return n || (n = h(e)), i.set(t, n), n; 3688 }, 3689 h = function (e) { 3690 var t = u(c(e)); 3691 return "/index.html" === t && (t = "/"), (t = a(t)); 3692 }; 3693 }, 3694 "3BY2": function (e, t, n) { 3695 "use strict"; 3696 t.onRouteUpdate = function (e) { 3697 var t = e.location; 3698 if ("function" != typeof gtag) return null; 3699 if ( 3700 t && 3701 void 0 !== window.excludeGtagPaths && 3702 window.excludeGtagPaths.some(function (e) { 3703 return e.test(t.pathname); 3704 }) 3705 ) 3706 return null; 3707 var n = function () { 3708 var e = t ? t.pathname + t.search + t.hash : void 0; 3709 window.gtag("event", "page_view", { page_path: e }); 3710 }; 3711 return ( 3712 "requestAnimationFrame" in window 3713 ? requestAnimationFrame(function () { 3714 requestAnimationFrame(n); 3715 }) 3716 : setTimeout(n, 32), 3717 null 3718 ); 3719 }; 3720 }, 3721 "3Ddu": function (e, t, n) { 3722 "use strict"; 3723 function r() { 3724 if (console && console.warn) { 3725 for (var e, t = arguments.length, n = new Array(t), r = 0; r < t; r++) 3726 n[r] = arguments[r]; 3727 "string" == typeof n[0] && (n[0] = "react-i18next:: ".concat(n[0])), 3728 (e = console).warn.apply(e, n); 3729 } 3730 } 3731 n.d(t, "c", function () { 3732 return r; 3733 }), 3734 n.d(t, "d", function () { 3735 return a; 3736 }), 3737 n.d(t, "b", function () { 3738 return i; 3739 }), 3740 n.d(t, "a", function () { 3741 return s; 3742 }); 3743 var o = {}; 3744 function a() { 3745 for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) 3746 t[n] = arguments[n]; 3747 ("string" == typeof t[0] && o[t[0]]) || 3748 ("string" == typeof t[0] && (o[t[0]] = new Date()), 3749 r.apply(void 0, t)); 3750 } 3751 function i(e, t, n) { 3752 e.loadNamespaces(t, function () { 3753 if (e.isInitialized) n(); 3754 else { 3755 e.on("initialized", function t() { 3756 setTimeout(function () { 3757 e.off("initialized", t); 3758 }, 0), 3759 n(); 3760 }); 3761 } 3762 }); 3763 } 3764 function s(e, t) { 3765 var n = 3766 arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}; 3767 if (!t.languages || !t.languages.length) 3768 return a("i18n.languages were undefined or empty", t.languages), !0; 3769 var r = t.languages[0], 3770 o = !!t.options && t.options.fallbackLng, 3771 i = t.languages[t.languages.length - 1]; 3772 if ("cimode" === r.toLowerCase()) return !0; 3773 var s = function (e, n) { 3774 var r = 3775 t.services.backendConnector.state["".concat(e, "|").concat(n)]; 3776 return -1 === r || 2 === r; 3777 }; 3778 return ( 3779 !( 3780 n.bindI18n && 3781 n.bindI18n.indexOf("languageChanging") > -1 && 3782 t.services.backendConnector.backend && 3783 t.isLanguageChangingTo && 3784 !s(t.isLanguageChangingTo, e) 3785 ) && 3786 (!!t.hasResourceBundle(r, e) || 3787 !t.services.backendConnector.backend || 3788 !(!s(r, e) || (o && !s(i, e)))) 3789 ); 3790 } 3791 }, 3792 "3uz+": function (e, t, n) { 3793 "use strict";
3794 (t.__esModule = !0), 3795 (t.useScrollRestoration = function (e) { 3796 var t = (0, a.useLocation)(), 3797 n = (0, o.useContext)(r.ScrollContext), 3798 i = (0, o.useRef)(); 3799 return ( 3800 (0, o.useLayoutEffect)(function () { 3801 if (i.current) { 3802 var r = n.read(t, e); 3803 i.current.scrollTo(0, r || 0); 3804 } 3805 }, []), 3806 { 3807 ref: i, 3808 onScroll: function () { 3809 i.current && n.save(t, e, i.current.scrollTop); 3810 }, 3811 } 3812 ); 3813 }); 3814 var r = n("Enzk"), 3815 o = n("FdF9"), 3816 a = n("YwZP"); 3817 }, 3818 "5NKs": function (e, t) { 3819 (e.exports = function (e) { 3820 return e && e.__esModule ? e : { default: e }; 3821 }), 3822 (e.exports.__esModule = !0), 3823 (e.exports.default = e.exports); 3824 }, 3825 "5yr3": function (e, t, n) { 3826 "use strict"; 3827 var r = (function (e) { 3828 return ( 3829 (e = e || Object.create(null)), 3830 { 3831 on: function (t, n) { 3832 (e[t] || (e[t] = [])).push(n); 3833 }, 3834 off: function (t, n) { 3835 e[t] && e[t].splice(e[t].indexOf(n) >>> 0, 1); 3836 }, 3837 emit: function (t, n) { 3838 (e[t] || []).slice().map(function (e) { 3839 e(n); 3840 }), 3841 (e["*"] || []).slice().map(function (e) { 3842 e(t, n); 3843 }); 3844 }, 3845 } 3846 ); 3847 })(); 3848 t.a = r; 3849 }, 3850 "6JNq": function (e, t, n) { 3851 var r = n("UTVS"), 3852 o = n("Vu81"), 3853 a = n("Bs8V"), 3854 i = n("m/L8"); 3855 e.exports = function (e, t) { 3856 for (var n = o(t), s = i.f, u = a.f, c = 0; c < n.length; c++) {
3857 var l = n[c]; 3858 r(e, l) || s(e, l, u(t, l)); 3859 } 3860 }; 3861 }, 3862 "7hJ6": function (e, t, n) { 3863 "use strict"; 3864 (t.__esModule = !0), 3865 (t.useScrollRestoration = t.ScrollContainer = t.ScrollContext = void 0); 3866 var r = n("Enzk"); 3867 t.ScrollContext = r.ScrollHandler; 3868 var o = n("hd9s"); 3869 t.ScrollContainer = o.ScrollContainer; 3870 var a = n("3uz+"); 3871 t.useScrollRestoration = a.useScrollRestoration; 3872 }, 3873 "8oxB": function (e, t) { 3874 var n, 3875 r, 3876 o = (e.exports = {}); 3877 function a() { 3878 throw new Error("setTimeout has not been defined"); 3879 } 3880 function i() { 3881 throw new Error("clearTimeout has not been defined"); 3882 } 3883 function s(e) { 3884 if (n === setTimeout) return setTimeout(e, 0); 3885 if ((n === a || !n) && setTimeout) 3886 return (n = setTimeout), setTimeout(e, 0); 3887 try { 3888 return n(e, 0); 3889 } catch (t) { 3890 try { 3891 return n.call(null, e, 0); 3892 } catch (t) { 3893 return n.call(this, e, 0); 3894 } 3895 } 3896 } 3897 !(function () { 3898 try { 3899 n = "function" == typeof setTimeout ? setTimeout : a; 3900 } catch (e) { 3901 n = a; 3902 } 3903 try { 3904 r = "function" == typeof clearTimeout ? clearTimeout : i; 3905 } catch (e) { 3906 r = i; 3907 } 3908 })(); 3909 var u, 3910 c = [], 3911 l = !1, 3912 p = -1; 3913 function f() { 3914 l && 3915 u && 3916 ((l = !1), u.length ? (c = u.concat(c)) : (p = -1), c.length && d()); 3917 } 3918 function d() { 3919 if (!l) { 3920 var e = s(f); 3921 l = !0; 3922 for (var t = c.length; t; ) { 3923 for (u = c, c = []; ++p < t; ) u && u[p].run(); 3924 (p = -1), (t = c.length); 3925 } 3926 (u = null), 3927 (l = !1), 3928 (function (e) { 3929 if (r === clearTimeout) return clearTimeout(e); 3930 if ((r === i || !r) && clearTimeout) 3931 return (r = clearTimeout), clearTimeout(e); 3932 try { 3933 r(e); 3934 } catch (t) { 3935 try { 3936 return r.call(null, e); 3937 } catch (t) { 3938 return r.call(this, e); 3939 } 3940 } 3941 })(e); 3942 } 3943 } 3944 function h(e, t) { 3945 (this.fun = e), (this.array = t); 3946 } 3947 function g() {} 3948 (o.nextTick = function (e) { 3949 var t = new Array(arguments.length - 1); 3950 if (arguments.length > 1) 3951 for (var n = 1; n < arguments.length; n++) t[n - 1] = arguments[n]; 3952 c.push(new h(e, t)), 1 !== c.length || l || s(d); 3953 }), 3954 (h.prototype.run = function () { 3955 this.fun.apply(null, this.array); 3956 }), 3957 (o.title = "browser"), 3958 (o.browser = !0), 3959 (o.env = {}), 3960 (o.argv = []), 3961 (o.version = ""), 3962 (o.versions = {}), 3963 (o.on = g), 3964 (o.addListener = g), 3965 (o.once = g), 3966 (o.off = g), 3967 (o.removeListener = g), 3968 (o.removeAllListeners = g), 3969 (o.emit = g), 3970 (o.prependListener = g), 3971 (o.prependOnceListener = g), 3972 (o.listeners = function (e) { 3973 return []; 3974 }), 3975 (o.binding = function (e) { 3976 throw new Error("process.binding is not supported"); 3977 }), 3978 (o.cwd = function () { 3979 return "/"; 3980 }), 3981 (o.chdir = function (e) { 3982 throw new Error("process.chdir is not supported"); 3983 }), 3984 (o.umask = function () { 3985 return 0; 3986 }); 3987 }, 3988 "93I0": function (e, t, n) { 3989 var r = n("VpIT"), 3990 o = n("kOOl"), 3991 a = r("keys"); 3992 e.exports = function (e) { 3993 return a[e] || (a[e] = o(e)); 3994 }; 3995 }, 3996 "94VI": function (e, t) { 3997 t.polyfill = function (e) { 3998 return e; 3999 }; 4000 }, 4001 "9Hrx": function (e, t, n) { 4002 "use strict"; 4003 n.d(t, "a", function () { 4004 return o; 4005 }); 4006 var r = n("gUOe"); 4007 function o(e, t) { 4008 (e.prototype = Object.create(t.prototype)), 4009 (e.prototype.constructor = e), 4010 Object(r.a)(e, t); 4011 } 4012 }, 4013 "9Koi": function (e, t, n) { 4014 "use strict"; 4015 n.d(t, "a", function () { 4016 return f; 4017 }); 4018 var r = n("tGry"), 4019 o = n.n(r), 4020 a = n("0jh0"), 4021 i = n.n(a), 4022 s = n("FdF9"), 4023 u = n("QSL9"), 4024 c = n("3Ddu"); 4025 function l(e, t) { 4026 var n = Object.keys(e); 4027 if (Object.getOwnPropertySymbols) { 4028 var r = Object.getOwnPropertySymbols(e); 4029 t && 4030 (r = r.filter(function (t) { 4031 return Object.getOwnPropertyDescriptor(e, t).enumerable; 4032 })), 4033 n.push.apply(n, r); 4034 } 4035 return n; 4036 } 4037 function p(e) { 4038 for (var t = 1; t < arguments.length; t++) { 4039 var n = null != arguments[t] ? arguments[t] : {}; 4040 t % 2
4041 ? l(Object(n), !0).forEach(function (t) { 4042 i()(e, t, n[t]); 4043 }) 4044 : Object.getOwnPropertyDescriptors 4045 ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) 4046 : l(Object(n)).forEach(function (t) { 4047 Object.defineProperty( 4048 e, 4049 t, 4050 Object.getOwnPropertyDescriptor(n, t) 4051 ); 4052 }); 4053 } 4054 return e; 4055 } 4056 function f(e) { 4057 var t = 4058 arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, 4059 n = t.i18n, 4060 r = Object(s.useContext)(u.a) || {}, 4061 a = r.i18n, 4062 i = r.defaultNS, 4063 l = n || a || Object(u.d)(); 4064 if ( 4065 (l && !l.reportNamespaces && (l.reportNamespaces = new u.b()), !l) 4066 ) { 4067 Object(c.d)( 4068 "You will need to pass in an i18next instance by using initReactI18next" 4069 ); 4070 var f = function (e) { 4071 return Array.isArray(e) ? e[e.length - 1] : e; 4072 }, 4073 d = [f, {}, !1]; 4074 return (d.t = f), (d.i18n = {}), (d.ready = !1), d; 4075 } 4076 var h = p(p(p({}, Object(u.c)()), l.options.react), t), 4077 g = h.useSuspense, 4078 v = e || i || (l.options && l.options.defaultNS); 4079 (v = "string" == typeof v ? [v] : v || ["translation"]), 4080 l.reportNamespaces.addUsedNamespaces && 4081 l.reportNamespaces.addUsedNamespaces(v); 4082 var m = 4083 (l.isInitialized || l.initializedStoreOnce) && 4084 v.every(function (e) { 4085 return Object(c.a)(e, l, h); 4086 }); 4087 function y() { 4088 return { t: l.getFixedT(null, "fallback" === h.nsMode ? v : v[0]) }; 4089 } 4090 var b = Object(s.useState)(y()), 4091 w = o()(b, 2), 4092 x = w[0], 4093 k = w[1], 4094 S = Object(s.useRef)(!0); 4095 Object(s.useEffect)( 4096 function () { 4097 var e = h.bindI18n, 4098 t = h.bindI18nStore; 4099 function n() { 4100 S.current && k(y()); 4101 } 4102 return ( 4103 (S.current = !0), 4104 m || 4105 g || 4106 Object(c.b)(l, v, function () { 4107 S.current && k(y()); 4108 }), 4109 e && l && l.on(e, n), 4110 t && l && l.store.on(t, n), 4111 function () { 4112 (S.current = !1), 4113 e && 4114 l && 4115 e.split(" ").forEach(function (e) { 4116 return l.off(e, n); 4117 }), 4118 t && 4119 l && 4120 t.split(" ").forEach(function (e) { 4121 return l.store.off(e, n); 4122 }); 4123 } 4124 ); 4125 }, 4126 [v.join()] 4127 ); 4128 var O = [x.t, l, m]; 4129 if (((O.t = x.t), (O.i18n = l), (O.ready = m), m)) return O; 4130 if (!m && !g) return O; 4131 throw new Promise(function (e) { 4132 Object(c.b)(l, v, function () { 4133 e(); 4134 }); 4135 }); 4136 } 4137 }, 4138 "9Xx/": function (e, t, n) { 4139 "use strict"; 4140 n.d(t, "c", function () { 4141 return u; 4142 }), 4143 n.d(t, "d", function () { 4144 return c; 4145 }), 4146 n.d(t, "a", function () { 4147 return a; 4148 }), 4149 n.d(t, "b", function () { 4150 return i; 4151 }); 4152 var r = 4153 Object.assign || 4154 function (e) { 4155 for (var t = 1; t < arguments.length; t++) { 4156 var n = arguments[t]; 4157 for (var r in n) 4158 Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); 4159 } 4160 return e; 4161 }, 4162 o = function (e) { 4163 var t = e.location, 4164 n = t.search, 4165 r = t.hash, 4166 o = t.href, 4167 a = t.origin, 4168 i = t.protocol, 4169 u = t.host, 4170 c = t.hostname, 4171 l = t.port, 4172 p = e.location.pathname; 4173 !p && o && s && (p = new URL(o).pathname); 4174 return { 4175 pathname: encodeURI(decodeURI(p)), 4176 search: n, 4177 hash: r, 4178 href: o, 4179 origin: a, 4180 protocol: i, 4181 host: u, 4182 hostname: c, 4183 port: l, 4184 state: e.history.state, 4185 key: (e.history.state && e.history.state.key) || "initial", 4186 }; 4187 }, 4188 a = function (e, t) { 4189 var n = [], 4190 a = o(e), 4191 i = !1, 4192 s = function () {}; 4193 return { 4194 get location() { 4195 return a; 4196 }, 4197 get transitioning() { 4198 return i; 4199 }, 4200 _onTransitionComplete: function () { 4201 (i = !1), s(); 4202 }, 4203 listen: function (t) { 4204 n.push(t); 4205 var r = function () { 4206 (a = o(e)), t({ location: a, action: "POP" }); 4207 }; 4208 return ( 4209 e.addEventListener("popstate", r), 4210 function () { 4211 e.removeEventListener("popstate", r), 4212 (n = n.filter(function (e) { 4213 return e !== t; 4214 })); 4215 } 4216 ); 4217 }, 4218 navigate: function (t) { 4219 var u = 4220 arguments.length > 1 && void 0 !== arguments[1] 4221 ? arguments[1] 4222 : {}, 4223 c = u.state, 4224 l = u.replace, 4225 p = void 0 !== l && l; 4226 if ("number" == typeof t) e.history.go(t); 4227 else { 4228 c = r({}, c, { key: Date.now() + "" }); 4229 try { 4230 i || p 4231 ? e.history.replaceState(c, null, t) 4232 : e.history.pushState(c, null, t); 4233 } catch (d) { 4234 e.location[p ? "replace" : "assign"](t); 4235 } 4236 } 4237 (a = o(e)), (i = !0); 4238 var f = new Promise(function (e) { 4239 return (s = e); 4240 }); 4241 return (
4242 n.forEach(function (e) { 4243 return e({ location: a, action: "PUSH" }); 4244 }), 4245 f 4246 ); 4247 }, 4248 }; 4249 }, 4250 i = function () { 4251 var e = 4252 arguments.length > 0 && void 0 !== arguments[0] 4253 ? arguments[0] 4254 : "/", 4255 t = e.indexOf("?"), 4256 n = { 4257 pathname: t > -1 ? e.substr(0, t) : e, 4258 search: t > -1 ? e.substr(t) : "", 4259 }, 4260 r = 0, 4261 o = [n], 4262 a = [null]; 4263 return { 4264 get location() { 4265 return o[r]; 4266 }, 4267 addEventListener: function (e, t) {}, 4268 removeEventListener: function (e, t) {}, 4269 history: { 4270 get entries() { 4271 return o; 4272 }, 4273 get index() { 4274 return r; 4275 }, 4276 get state() { 4277 return a[r]; 4278 }, 4279 pushState: function (e, t, n) { 4280 var i = n.split("?"), 4281 s = i[0], 4282 u = i[1], 4283 c = void 0 === u ? "" : u; 4284 r++, 4285 o.push({ pathname: s, search: c.length ? "?" + c : c }), 4286 a.push(e); 4287 }, 4288 replaceState: function (e, t, n) { 4289 var i = n.split("?"), 4290 s = i[0], 4291 u = i[1], 4292 c = void 0 === u ? "" : u; 4293 (o[r] = { pathname: s, search: c }), (a[r] = e); 4294 }, 4295 go: function (e) { 4296 var t = r + e; 4297 t < 0 || t > a.length - 1 || (r = t); 4298 }, 4299 }, 4300 }; 4301 }, 4302 s = !( 4303 "undefined" == typeof window || 4304 !window.document || 4305 !window.document.createElement 4306 ), 4307 u = a(s ? window : i()), 4308 c = u.navigate; 4309 }, 4310 "9d8Q": function (e, t, n) {}, 4311 "9hXx": function (e, t, n) { 4312 "use strict"; 4313 (t.__esModule = !0), (t.default = void 0); 4314 t.default = function (e, t) { 4315 if (!Array.isArray(t)) return "manifest.webmanifest"; 4316 var n = t.find(function (t) { 4317 return e.startsWith(t.start_url); 4318 }); 4319 return n 4320 ? "manifest_" + n.lang + ".webmanifest" 4321 : "manifest.webmanifest"; 4322 }; 4323 }, 4324 Bs8V: function (e, t, n) { 4325 var r = n("g6v/"), 4326 o = n("0eef"), 4327 a = n("XGwC"), 4328 i = n("/GqU"), 4329 s = n("wE6v"), 4330 u = n("UTVS"), 4331 c = n("DPsx"), 4332 l = Object.getOwnPropertyDescriptor; 4333 t.f = r 4334 ? l 4335 : function (e, t) { 4336 if (((e = i(e)), (t = s(t, !0)), c)) 4337 try { 4338 return l(e, t); 4339 } catch (n) {} 4340 if (u(e, t)) return a(!o.f.call(e, t), e[t]); 4341 }; 4342 }, 4343 DPsx: function (e, t, n) { 4344 var r = n("g6v/"), 4345 o = n("0Dky"), 4346 a = n("zBJ4"); 4347 e.exports = 4348 !r && 4349 !o(function () { 4350 return ( 4351 7 != 4352 Object.defineProperty(a("div"), "a", { 4353 get: function () { 4354 return 7; 4355 }, 4356 }).a 4357 ); 4358 }); 4359 }, 4360 E9XD: function (e, t, n) { 4361 "use strict"; 4362 var r = n("I+eb"), 4363 o = n("1Y/n").left, 4364 a = n("pkCn"), 4365 i = n("rkAj"),
4366 s = n("LQDL"), 4367 u = n("YF1G"), 4368 c = a("reduce"), 4369 l = i("reduce", { 1: 0 }); 4370 r( 4371 { 4372 target: "Array", 4373 proto: !0, 4374 forced: !c || !l || (!u && s > 79 && s < 83), 4375 }, 4376 { 4377 reduce: function (e) { 4378 return o( 4379 this, 4380 e, 4381 arguments.length, 4382 arguments.length > 1 ? arguments[1] : void 0 4383 ); 4384 }, 4385 } 4386 ); 4387 }, 4388 Enzk: function (e, t, n) { 4389 "use strict"; 4390 var r = n("jGDn"), 4391 o = n("5NKs"); 4392 (t.__esModule = !0), (t.ScrollHandler = t.ScrollContext = void 0); 4393 var a = o(n("v06X")), 4394 i = o(n("XEEL")), 4395 s = r(n("FdF9")), 4396 u = o(n("17x9")), 4397 c = n("/hTd"), 4398 l = s.createContext(new c.SessionStorage()); 4399 (t.ScrollContext = l), (l.displayName = "GatsbyScrollContext"); 4400 var p = (function (e) { 4401 function t() { 4402 for (var t, n = arguments.length, r = new Array(n), o = 0; o < n; o++) 4403 r[o] = arguments[o]; 4404 return ( 4405 ((t = e.call.apply(e, [this].concat(r)) || this)._stateStorage = 4406 new c.SessionStorage()), 4407 (t.scrollListener = function () { 4408 var e = t.props.location.key; 4409 e && t._stateStorage.save(t.props.location, e, window.scrollY); 4410 }), 4411 (t.windowScroll = function (e, n) { 4412 t.shouldUpdateScroll(n, t.props) && window.scrollTo(0, e); 4413 }), 4414 (t.scrollToHash = function (e, n) { 4415 var r = document.getElementById(e.substring(1)); 4416 r && t.shouldUpdateScroll(n, t.props) && r.scrollIntoView(); 4417 }), 4418 (t.shouldUpdateScroll = function (e, n) { 4419 var r = t.props.shouldUpdateScroll; 4420 return !r || r.call((0, a.default)(t), e, n); 4421 }), 4422 t 4423 ); 4424 } 4425 (0, i.default)(t, e); 4426 var n = t.prototype; 4427 return ( 4428 (n.componentDidMount = function () { 4429 var e; 4430 window.addEventListener("scroll", this.scrollListener); 4431 var t = this.props.location, 4432 n = t.key, 4433 r = t.hash; 4434 n && (e = this._stateStorage.read(this.props.location, n)), 4435 e 4436 ? this.windowScroll(e, void 0) 4437 : r && this.scrollToHash(decodeURI(r), void 0); 4438 }), 4439 (n.componentWillUnmount = function () { 4440 window.removeEventListener("scroll", this.scrollListener); 4441 }), 4442 (n.componentDidUpdate = function (e) { 4443 var t, 4444 n = this.props.location, 4445 r = n.hash, 4446 o = n.key; 4447 o && (t = this._stateStorage.read(this.props.location, o)), 4448 r && 0 === t 4449 ? this.scrollToHash(decodeURI(r), e) 4450 : this.windowScroll(t, e); 4451 }), 4452 (n.render = function () { 4453 return s.createElement( 4454 l.Provider, 4455 { value: this._stateStorage }, 4456 this.props.children 4457 ); 4458 }), 4459 t 4460 ); 4461 })(s.Component); 4462 (t.ScrollHandler = p), 4463 (p.propTypes = { 4464 shouldUpdateScroll: u.default.func, 4465 children: u.default.element.isRequired, 4466 location: u.default.object.isRequired, 4467 }); 4468 }, 4469 GVS5: function (e, t, n) { 4470 "use strict"; 4471 Object.defineProperty(t, "__esModule", { value: !0 }), 4472 (t.INVALID_HASH = t.IMPROPPER_FORMATTING = void 0); 4473 t.IMPROPPER_FORMATTING = 4474 "Anchor path should contain an absolute root path `/` and selector `#` Ex: `/about#team`"; 4475 t.INVALID_HASH = 4476 "Anchor Links plugin attempted to scroll to an invalid hash on route change."; 4477 }, 4478 GddB: function (e, t, n) { 4479 "use strict"; 4480 n.r(t), 4481 n.d(t, "wrapPageElement", function () { 4482 return h; 4483 }), 4484 n.d(t, "wrapRootElement", function () { 4485 return d; 4486 }), 4487 n.d(t, "onClientEntry", function () { 4488 return g; 4489 }); 4490 var r = n("kD0k"), 4491 o = n.n(r); 4492 n("ls82"); 4493 function a(e, t, n, r, o, a, i) { 4494 try { 4495 var s = e[a](i), 4496 u = s.value; 4497 } catch (c) { 4498 return void n(c); 4499 } 4500 s.done ? t(u) : Promise.resolve(u).then(r, o); 4501 } 4502 n("9d8Q"), n("rMck"), n("Jsvc"), n("q4sD"); 4503 var i = n("2Agp"), 4504 s = n("FdF9"), 4505 u = n("QSL9"); 4506 function c(e) { 4507 var t = e.i18n, 4508 n = e.defaultNS, 4509 r = e.children, 4510 o = Object(s.useMemo)( 4511 function () { 4512 return { i18n: t, defaultNS: n }; 4513 }, 4514 [t, n] 4515 ); 4516 return Object(s.createElement)(u.a.Provider, { value: o }, r); 4517 } 4518 var l = n("9Koi"), 4519 p = s.default.createContext({}), 4520 f = function (e) { 4521 var t = e.pageContext, 4522 n = e.children, 4523 r = Object(l.a)().i18n; 4524 return ( 4525 (function (e) { 4526 void 0 === e && (e = function () {}); 4527 var t = Object(s.useRef)(!1); 4528 t.current || (e(), (t.current = !0)); 4529 })(function () { 4530 r.changeLanguage(t.locale); 4531 }), 4532 s.default.createElement(p.Provider, { pageContext: t }, n) 4533 ); 4534 }, 4535 d = function (e) { 4536 var t = e.element; 4537 return s.default.createElement(c, { i18n: i.a }, t); 4538 }, 4539 h = function (e) { 4540 var t = e.element, 4541 n = e.props; 4542 return s.default.createElement(f, { pageContext: n.pageContext }, t); 4543 }, 4544 g = (function () { 4545 var e, 4546 t = 4547 ((e = o.a.mark(function e() { 4548 return o.a.wrap(function (e) { 4549 for (;;) 4550 switch ((e.prev = e.next)) { 4551 case 0: 4552 if ("undefined" != typeof IntersectionObserver) { 4553 e.next = 4; 4554 break; 4555 } 4556 return ( 4557 (e.next = 3), n.e(17).then(n.t.bind(null, "Wr5T", 7)) 4558 ); 4559 case 3: 4560 console.log("# IntersectionObserver is polyfilled!"); 4561 case 4: 4562 case "end": 4563 return e.stop(); 4564 } 4565 }, e); 4566 })), 4567 function () { 4568 var t = this, 4569 n = arguments; 4570 return new Promise(function (r, o) { 4571 var i = e.apply(t, n); 4572 function s(e) { 4573 a(i, r, o, s, u, "next", e); 4574 } 4575 function u(e) { 4576 a(i, r, o, s, u, "throw", e); 4577 } 4578 s(void 0); 4579 }); 4580 }); 4581 return function () { 4582 return t.apply(this, arguments); 4583 }; 4584 })(); 4585 }, 4586 HAuM: function (e, t) { 4587 e.exports = function (e) { 4588 if ("function" != typeof e) 4589 throw TypeError(String(e) + " is not a function"); 4590 return e; 4591 }; 4592 }, 4593 HYAF: function (e, t) { 4594 e.exports = function (e) { 4595 if (null == e) throw TypeError("Can't call method on " + e); 4596 return e; 4597 }; 4598 }, 4599 "I+eb": function (e, t, n) { 4600 var r = n("2oRo"), 4601 o = n("Bs8V").f, 4602 a = n("kRJp"), 4603 i = n("busE"), 4604 s = n("zk60"), 4605 u = n("6JNq"), 4606 c = n("lMq5"); 4607 e.exports = function (e, t) { 4608 var n, 4609 l, 4610 p, 4611 f, 4612 d, 4613 h = e.target, 4614 g = e.global, 4615 v = e.stat; 4616 if ((n = g ? r : v ? r[h] || s(h, {}) : (r[h] || {}).prototype)) 4617 for (l in t) { 4618 if ( 4619 ((f = t[l]), 4620 (p = e.noTargetGet ? (d = o(n, l)) && d.value : n[l]), 4621 !c(g ? l : h + (v ? "." : "#") + l, e.forced) && void 0 !== p) 4622 ) { 4623 if (typeof f == typeof p) continue; 4624 u(f, p); 4625 } 4626 (e.sham || (p && p.sham)) && a(f, "sham", !0), i(n, l, f, e); 4627 } 4628 }; 4629 }, 4630 I8vh: function (e, t, n) { 4631 var r = n("ppGB"), 4632 o = Math.max, 4633 a = Math.min; 4634 e.exports = function (e, t) { 4635 var n = r(e); 4636 return n < 0 ? o(n + t, 0) : a(n, t); 4637 }; 4638 }, 4639 IOVJ: function (e, t, n) { 4640 "use strict"; 4641 var r = n("9Hrx"), 4642 o = n("FdF9"), 4643 a = n("emEt"), 4644 i = n("xtsi"), 4645 s = n("30RF"), 4646 u = (function (e) { 4647 function t() { 4648 return e.apply(this, arguments) || this; 4649 } 4650 return ( 4651 Object(r.a)(t, e), 4652 (t.prototype.render = function () { 4653 var e = Object.assign({}, this.props, { 4654 params: Object.assign( 4655 {}, 4656 Object(s.c)(this.props.location.pathname), 4657 this.props.pageResources.json.pageContext.__params 4658 ), 4659 pathContext: this.props.pageContext, 4660 }), 4661 t = 4662 Object(i.apiRunner)("replaceComponentRenderer", { 4663 props: this.props, 4664 loader: a.publicLoader, 4665 })[0] || 4666 Object(o.createElement)( 4667 this.props.pageResources.component, 4668 Object.assign({}, e, { 4669 key: 4670 this.props.path || this.props.pageResources.page.path, 4671 }) 4672 ); 4673 return Object(i.apiRunner)( 4674 "wrapPageElement", 4675 { element: t, props: e }, 4676 t, 4677 function (t) { 4678 return { element: t.result, props: e }; 4679 } 4680 ).pop(); 4681 }), 4682 t 4683 ); 4684 })(o.default.Component); 4685 t.a = u; 4686 }, 4687 JBy8: function (e, t, n) { 4688 var r = n("yoRg"), 4689 o = n("eDl+").concat("length", "prototype"); 4690 t.f = 4691 Object.getOwnPropertyNames || 4692 function (e) { 4693 return r(e, o); 4694 }; 4695 }, 4696 JeVI: function (e) { 4697 e.exports = JSON.parse("[]"); 4698 }, 4699 Jsvc: function (e, t, n) {}, 4700 JwyU: function (e, t, n) { 4701 var r = n("0bVq"), 4702 o = n("xEkU"); 4703 e.exports = function (e, t, n) { 4704 n = n || {}; 4705 var a = { 4706 top: window.pageYOffset || document.documentElement.scrollTop, 4707 left: window.pageXOffset || document.documentElement.scrollLeft, 4708 }, 4709 i = r(a) 4710 .ease(n.ease || "out-circ") 4711 .to({ top: t, left: e }) 4712 .duration(n.duration || 1e3); 4713 function s() { 4714 o(s), i.update(); 4715 } 4716 return ( 4717 i.update(function (e) { 4718 window.scrollTo(0 | e.left, 0 | e.top); 4719 }), 4720 i.on("end", function () { 4721 s = function () {}; 4722 }), 4723 s(), 4724 i 4725 ); 4726 }; 4727 }, 4728 LQDL: function (e, t, n) { 4729 var r, 4730 o, 4731 a = n("2oRo"), 4732 i = n("NC/Y"), 4733 s = a.process, 4734 u = s && s.versions, 4735 c = u && u.v8; 4736 c 4737 ? (o = (r = c.split("."))[0] + r[1]) 4738 : i && 4739 (!(r = i.match(/Edge\/(\d+)/)) || r[1] >= 74) && 4740 (r = i.match(/Chrome\/(\d+)/)) && 4741 (o = r[1]), 4742 (e.exports = o && +o); 4743 }, 4744 LYrO: function (e, t, n) { 4745 "use strict"; 4746 n.r(t), 4747 n.d(t, "startsWith", function () { 4748 return a; 4749 }), 4750 n.d(t, "pick", function () { 4751 return i; 4752 }), 4753 n.d(t, "match", function () { 4754 return s; 4755 }), 4756 n.d(t, "resolve", function () { 4757 return u; 4758 }), 4759 n.d(t, "insertParams", function () { 4760 return c; 4761 }), 4762 n.d(t, "validateRedirect", function () { 4763 return l; 4764 }), 4765 n.d(t, "shallowCompare", function () { 4766 return b; 4767 }); 4768 var r = n("QLaP"), 4769 o = n.n(r), 4770 a = function (e, t) { 4771 return e.substr(0, t.length) === t; 4772 }, 4773 i = function (e, t) { 4774 for ( 4775 var n = void 0, 4776 r = void 0, 4777 a = t.split("?")[0], 4778 i = v(a), 4779 s = "" === i[0], 4780 u = g(e), 4781 c = 0, 4782 l = u.length; 4783 c < l; 4784 c++ 4785 ) { 4786 var f = !1, 4787 h = u[c].route; 4788 if (h.default) r = { route: h, params: {}, uri: t }; 4789 else { 4790 for ( 4791 var m = v(h.path), 4792 b = {}, 4793 w = Math.max(i.length, m.length), 4794 x = 0; 4795 x < w; 4796 x++ 4797 ) { 4798 var k = m[x], 4799 S = i[x]; 4800 if (d(k)) { 4801 b[k.slice(1) || "*"] = i 4802 .slice(x) 4803 .map(decodeURIComponent) 4804 .join("/"); 4805 break; 4806 } 4807 if (void 0 === S) { 4808 f = !0; 4809 break; 4810 } 4811 var O = p.exec(k); 4812 if (O && !s) { 4813 -1 === y.indexOf(O[1]) || o()(!1); 4814 var P = decodeURIComponent(S); 4815 b[O[1]] = P; 4816 } else if (k !== S) { 4817 f = !0; 4818 break; 4819 } 4820 } 4821 if (!f) { 4822 n = { route: h, params: b, uri: "/" + i.slice(0, x).join("/") }; 4823 break; 4824 } 4825 } 4826 } 4827 return n || r || null; 4828 }, 4829 s = function (e, t) { 4830 return i([{ path: e }], t); 4831 }, 4832 u = function (e, t) { 4833 if (a(e, "/")) return e; 4834 var n = e.split("?"), 4835 r = n[0], 4836 o = n[1], 4837 i = t.split("?")[0], 4838 s = v(r),
4839 u = v(i); 4840 if ("" === s[0]) return m(i, o); 4841 if (!a(s[0], ".")) { 4842 var c = u.concat(s).join("/"); 4843 return m(("/" === i ? "" : "/") + c, o); 4844 } 4845 for (var l = u.concat(s), p = [], f = 0, d = l.length; f < d; f++) { 4846 var h = l[f]; 4847 ".." === h ? p.pop() : "." !== h && p.push(h); 4848 } 4849 return m("/" + p.join("/"), o); 4850 }, 4851 c = function (e, t) { 4852 var n = e.split("?"), 4853 r = n[0], 4854 o = n[1], 4855 a = void 0 === o ? "" : o, 4856 i = 4857 "/" + 4858 v(r) 4859 .map(function (e) { 4860 var n = p.exec(e); 4861 return n ? t[n[1]] : e; 4862 }) 4863 .join("/"), 4864 s = t.location, 4865 u = (s = void 0 === s ? {} : s).search, 4866 c = (void 0 === u ? "" : u).split("?")[1] || ""; 4867 return (i = m(i, a, c)); 4868 }, 4869 l = function (e, t) { 4870 var n = function (e) { 4871 return f(e); 4872 }; 4873 return ( 4874 v(e).filter(n).sort().join("/") === v(t).filter(n).sort().join("/") 4875 ); 4876 }, 4877 p = /^:(.+)/, 4878 f = function (e) { 4879 return p.test(e); 4880 }, 4881 d = function (e) { 4882 return e && "*" === e[0]; 4883 }, 4884 h = function (e, t) { 4885 return { 4886 route: e, 4887 score: e.default 4888 ? 0 4889 : v(e.path).reduce(function (e, t) { 4890 return ( 4891 (e += 4), 4892 !(function (e) { 4893 return "" === e; 4894 })(t) 4895 ? f(t) 4896 ? (e += 2) 4897 : d(t) 4898 ? (e -= 5) 4899 : (e += 3) 4900 : (e += 1), 4901 e 4902 ); 4903 }, 0), 4904 index: t, 4905 }; 4906 }, 4907 g = function (e) { 4908 return e.map(h).sort(function (e, t) { 4909 return e.score < t.score 4910 ? 1 4911 : e.score > t.score 4912 ? -1 4913 : e.index - t.index; 4914 }); 4915 }, 4916 v = function (e) { 4917 return e.replace(/(^\/+|\/+$)/g, "").split("/"); 4918 }, 4919 m = function (e) { 4920 for ( 4921 var t = arguments.length, n = Array(t > 1 ? t - 1 : 0), r = 1; 4922 r < t; 4923 r++ 4924 ) 4925 n[r - 1] = arguments[r]; 4926 return ( 4927 e + 4928 ((n = n.filter(function (e) { 4929 return e && e.length > 0; 4930 })) && n.length > 0 4931 ? "?" + n.join("&") 4932 : "") 4933 ); 4934 }, 4935 y = ["uri", "path"], 4936 b = function (e, t) { 4937 var n = Object.keys(e); 4938 return ( 4939 n.length === Object.keys(t).length && 4940 n.every(function (n) { 4941 return t.hasOwnProperty(n) && e[n] === t[n]; 4942 }) 4943 ); 4944 }; 4945 }, 4946 LeKB: function (e, t, n) { 4947 e.exports = [ 4948 { 4949 plugin: n("npZl"), 4950 options: { 4951 plugins: [], 4952 name: "Ecomaxx", 4953 short_name: "Ecomaxx", 4954 start_url: "/", 4955 icon: "static/favicon/static/favicon-32x32.png", 4956 icons: [ 4957 { 4958 src: "static/favicon/android-chrome-192x192.png", 4959 sizes: "192x192", 4960 type: "image/png", 4961 }, 4962 { 4963 src: "static/favicon/android-chrome-512x512.png", 4964 sizes: "512x512", 4965 type: "image/png", 4966 }, 4967 { 4968 src: "static/favicon//static/apple-touch-icon.png.png", 4969 sizes: "180x180", 4970 type: "image/png", 4971 }, 4972 { 4973 src: "static/favicon/maskable_icon.png", 4974 sizes: "196x196", 4975 type: "image/png", 4976 purpose: "any maskable", 4977 }, 4978 ], 4979 background_color: "#263571", 4980 theme_color: "#263571", 4981 display: "standalone", 4982 legacy: !0, 4983 theme_color_in_head: !0, 4984 cache_busting_mode: "query", 4985 crossOrigin: "anonymous", 4986 include_favicon: !0, 4987 cacheDigest: "0f3439945441111cb0db5886cf577961", 4988 }, 4989 }, 4990 { plugin: n("3BY2"), options: { plugins: [], trackingIds: [""] } }, 4991 { plugin: n("iVcG"), options: { plugins: [] } }, 4992 { plugin: n("e/UW"), options: { plugins: [] } }, 4993 { plugin: n("V67l"), options: { plugins: [] } }, 4994 { plugin: n("GddB"), options: { plugins: [] } }, 4995 ]; 4996 }, 4997 M4kv: function (e, t, n) { 4998 function r(e) { 4999 if (e) 5000 return (function (e) { 5001 for (var t in r.prototype) e[t] = r.prototype[t]; 5002 return e; 5003 })(e); 5004 } 5005 (r.prototype.on = r.prototype.addEventListener = 5006 function (e, t) { 5007 return ( 5008 (this._callbacks = this._callbacks || {}), 5009 (this._callbacks["$" + e] = this._callbacks["$" + e] || []).push(t), 5010 this 5011 ); 5012 }), 5013 (r.prototype.once = function (e, t) { 5014 function n() { 5015 this.off(e, n), t.apply(this, arguments); 5016 } 5017 return (n.fn = t), this.on(e, n), this; 5018 }), 5019 (r.prototype.off = 5020 r.prototype.removeListener = 5021 r.prototype.removeAllListeners = 5022 r.prototype.removeEventListener = 5023 function (e, t) { 5024 if ( 5025 ((this._callbacks = this._callbacks || {}), 5026 0 == arguments.length) 5027 ) 5028 return (this._callbacks = {}), this; 5029 var n, 5030 r = this._callbacks["$" + e]; 5031 if (!r) return this; 5032 if (1 == arguments.length) 5033 return delete this._callbacks["$" + e], this; 5034 for (var o = 0; o < r.length; o++) 5035 if ((n = r[o]) === t || n.fn === t) { 5036 r.splice(o, 1); 5037 break; 5038 } 5039 return 0 === r.length && delete this._callbacks["$" + e], this; 5040 }), 5041 (r.prototype.emit = function (e) { 5042 this._callbacks = this._callbacks || {}; 5043 var t = [].slice.call(arguments, 1), 5044 n = this._callbacks["$" + e]; 5045 if (n) 5046 for (var r = 0, o = (n = n.slice(0)).length; r < o; ++r) 5047 n[r].apply(this, t); 5048 return this; 5049 }), 5050 (r.prototype.listeners = function (e) { 5051 return ( 5052 (this._callbacks = this._callbacks || {}), 5053 this._callbacks["$" + e] || [] 5054 ); 5055 }), 5056 (r.prototype.hasListeners = function (e) { 5057 return !!this.listeners(e).length; 5058 }), 5059 (e.exports = r); 5060 }, 5061 MMVs: function (e, t, n) { 5062 e.exports = (function () { 5063 var e = !1; 5064 -1 !== navigator.appVersion.indexOf("MSIE 10") && (e = !0); 5065 var t, 5066 n = [], 5067 r = "object" == typeof document && document, 5068 o = e 5069 ? r.documentElement.doScroll("left") 5070 : r.documentElement.doScroll, 5071 a = r && (o ? /^loaded|^c/ : /^loaded|^i|^c/).test(r.readyState); 5072 return ( 5073 !a && 5074 r && 5075 r.addEventListener( 5076 "DOMContentLoaded", 5077 (t = function () { 5078 for ( 5079 r.removeEventListener("DOMContentLoaded", t), a = 1; 5080 (t = n.shift()); 5081 5082 ) 5083 t(); 5084 }) 5085 ), 5086 function (e) { 5087 a ? setTimeout(e, 0) : n.push(e); 5088 } 5089 ); 5090 })(); 5091 }, 5092 "NC/Y": function (e, t, n) { 5093 var r = n("0GbY"); 5094 e.exports = r("navigator", "userAgent") || ""; 5095 }, 5096 NSX3: function (e, t, n) { 5097 "use strict"; 5098 n.r(t); 5099 var r = n("xtsi"); 5100 "https:" !== window.location.protocol && 5101 "localhost" !== window.location.hostname 5102 ? console.error( 5103 "Service workers can only be used over HTTPS, or on localhost for development" 5104 ) 5105 : "serviceWorker" in navigator && 5106 navigator.serviceWorker 5107 .register("/sw.js") 5108 .then(function (e) { 5109 e.addEventListener("updatefound", function () {
5110 Object(r.apiRunner)("onServiceWorkerUpdateFound", { 5111 serviceWorker: e, 5112 }); 5113 var t = e.installing; 5114 console.log("installingWorker", t), 5115 t.addEventListener("statechange", function () { 5116 switch (t.state) { 5117 case "installed": 5118 navigator.serviceWorker.controller 5119 ? ((window.___swUpdated = !0), 5120 Object(r.apiRunner)("onServiceWorkerUpdateReady", { 5121 serviceWorker: e, 5122 }), 5123 window.___failedResources && 5124 (console.log( 5125 "resources failed, SW updated - reloading" 5126 ), 5127 window.location.reload())) 5128 : (console.log("Content is now available offline!"), 5129 Object(r.apiRunner)("onServiceWorkerInstalled", { 5130 serviceWorker: e, 5131 })); 5132 break; 5133 case "redundant": 5134 console.error( 5135 "The installing service worker became redundant." 5136 ), 5137 Object(r.apiRunner)("onServiceWorkerRedundant", { 5138 serviceWorker: e, 5139 }); 5140 break; 5141 case "activated": 5142 Object(r.apiRunner)("onServiceWorkerActive", { 5143 serviceWorker: e, 5144 }); 5145 } 5146 }); 5147 }); 5148 }) 5149 .catch(function (e) { 5150 console.error("Error during service worker registration:", e); 5151 }); 5152 }, 5153 NsGk: function (e, t, n) { 5154 t.components = { 5155 "component---cache-caches-gatsby-plugin-offline-app-shell-js": 5156 function () { 5157 return n.e(6).then(n.t.bind(null, "zXQ9", 7)); 5158 }, 5159 "component---src-pages-404-js": function () { 5160 return Promise.all([n.e(1), n.e(0), n.e(2), n.e(7)]).then( 5161 n.bind(null, "w2l6") 5162 ); 5163 }, 5164 "component---src-pages-app-js": function () { 5165 return Promise.all([n.e(1), n.e(0), n.e(2), n.e(8)]).then( 5166 n.bind(null, "y9VM") 5167 ); 5168 }, 5169 "component---src-pages-help-js": function () { 5170 return Promise.all([n.e(1), n.e(0), n.e(2), n.e(9)]).then( 5171 n.bind(null, "xHWc") 5172 ); 5173 }, 5174 "component---src-pages-index-js": function () { 5175 return Promise.all([n.e(1), n.e(0), n.e(2), n.e(10)]).then( 5176 n.bind(null, "RXBc") 5177 ); 5178 }, 5179 "component---src-pages-privacidad-js": function () { 5180 return Promise.all([n.e(1), n.e(0), n.e(2), n.e(3), n.e(11)]).then( 5181 n.bind(null, "SO+s") 5182 ); 5183 }, 5184 "component---src-pages-terminos-js": function () { 5185 return Promise.all([n.e(1), n.e(0), n.e(2), n.e(3), n.e(12)]).then( 5186 n.bind(null, "mQ+b") 5187 ); 5188 }, 5189 "component---src-pages-toptier-en-js": function () { 5190 return Promise.all([n.e(0), n.e(13)]).then(n.bind(null, "BGqs")); 5191 }, 5192 "component---src-pages-toptier-index-js": function () { 5193 return Promise.all([n.e(0), n.e(14)]).then(n.bind(null, "5fiD")); 5194 }, 5195 }; 5196 }, 5197 Q83E: function (e, t) { 5198 function n(t, r) { 5199 return ( 5200 (e.exports = n = 5201 Object.setPrototypeOf || 5202 function (e, t) { 5203 return (e.__proto__ = t), e; 5204 }), 5205 (e.exports.__esModule = !0), 5206 (e.exports.default = e.exports), 5207 n(t, r) 5208 ); 5209 } 5210 (e.exports = n), 5211 (e.exports.__esModule = !0), 5212 (e.exports.default = e.exports); 5213 }, 5214 QLaP: function (e, t, n) { 5215 "use strict"; 5216 e.exports = function (e, t, n, r, o, a, i, s) { 5217 if (!e) { 5218 var u; 5219 if (void 0 === t) 5220 u = new Error( 5221 "Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings." 5222 ); 5223 else { 5224 var c = [n, r, o, a, i, s], 5225 l = 0; 5226 (u = new Error( 5227 t.replace(/%s/g, function () { 5228 return c[l++]; 5229 }) 5230 )).name = "Invariant Violation"; 5231 } 5232 throw ((u.framesToPop = 1), u); 5233 } 5234 }; 5235 }, 5236 QSL9: function (e, t, n) { 5237 "use strict"; 5238 n.d(t, "a", function () { 5239 return h; 5240 }), 5241 n.d(t, "c", function () { 5242 return g; 5243 }), 5244 n.d(t, "b", function () { 5245 return v; 5246 }), 5247 n.d(t, "d", function () { 5248 return m; 5249 }), 5250 n.d(t, "e", function () { 5251 return y; 5252 }); 5253 var r = n("phZJ"), 5254 o = n.n(r), 5255 a = n("lFqo"), 5256 i = n.n(a), 5257 s = n("0jh0"), 5258 u = n.n(s), 5259 c = n("FdF9"); 5260 function l(e, t) { 5261 var n = Object.keys(e); 5262 if (Object.getOwnPropertySymbols) { 5263 var r = Object.getOwnPropertySymbols(e); 5264 t && 5265 (r = r.filter(function (t) { 5266 return Object.getOwnPropertyDescriptor(e, t).enumerable; 5267 })), 5268 n.push.apply(n, r); 5269 } 5270 return n; 5271 } 5272 function p(e) { 5273 for (var t = 1; t < arguments.length; t++) { 5274 var n = null != arguments[t] ? arguments[t] : {}; 5275 t % 2
5276 ? l(Object(n), !0).forEach(function (t) { 5277 u()(e, t, n[t]); 5278 }) 5279 : Object.getOwnPropertyDescriptors 5280 ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) 5281 : l(Object(n)).forEach(function (t) { 5282 Object.defineProperty( 5283 e, 5284 t, 5285 Object.getOwnPropertyDescriptor(n, t) 5286 ); 5287 }); 5288 } 5289 return e; 5290 } 5291 var f, 5292 d = { 5293 bindI18n: "languageChanged", 5294 bindI18nStore: "", 5295 transEmptyNodeValue: "", 5296 transSupportBasicHtmlNodes: !0, 5297 transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"], 5298 useSuspense: !0, 5299 }, 5300 h = c.default.createContext(); 5301 function g() { 5302 return d; 5303 } 5304 var v = (function () { 5305 function e() { 5306 o()(this, e), (this.usedNamespaces = {}); 5307 } 5308 return ( 5309 i()(e, [ 5310 { 5311 key: "addUsedNamespaces", 5312 value: function (e) { 5313 var t = this; 5314 e.forEach(function (e) { 5315 t.usedNamespaces[e] || (t.usedNamespaces[e] = !0); 5316 }); 5317 }, 5318 }, 5319 { 5320 key: "getUsedNamespaces", 5321 value: function () { 5322 return Object.keys(this.usedNamespaces); 5323 }, 5324 }, 5325 ]), 5326 e 5327 ); 5328 })(); 5329 function m() { 5330 return f; 5331 } 5332 var y = { 5333 type: "3rdParty", 5334 init: function (e) { 5335 !(function () { 5336 var e = 5337 arguments.length > 0 && void 0 !== arguments[0] 5338 ? arguments[0] 5339 : {}; 5340 d = p(p({}, d), e); 5341 })(e.options.react), 5342 (function (e) { 5343 f = e; 5344 })(e); 5345 }, 5346 }; 5347 }, 5348 Qo9l: function (e, t, n) { 5349 var r = n("2oRo"); 5350 e.exports = r; 5351 }, 5352 RK3t: function (e, t, n) { 5353 var r = n("0Dky"), 5354 o = n("xrYK"), 5355 a = "".split; 5356 e.exports = r(function () { 5357 return !Object("z").propertyIsEnumerable(0); 5358 }) 5359 ? function (e) { 5360 return "String" == o(e) ? a.call(e, "") : Object(e); 5361 } 5362 : Object; 5363 }, 5364 SKMy: function (e, t, n) { 5365 var r = n("JwyU"); 5366 e.exports = function (e, t) { 5367 if ( 5368 ((t = t || {}), 5369 "string" == typeof e && (e = document.querySelector(e)), 5370 e) 5371 ) 5372 return r( 5373 0, 5374 (function (e, t, n) { 5375 var r, 5376 o = document.body, 5377 a = document.documentElement, 5378 i = e.getBoundingClientRect(), 5379 s = a.clientHeight, 5380 u = Math.max( 5381 o.scrollHeight, 5382 o.offsetHeight, 5383 a.clientHeight, 5384 a.scrollHeight, 5385 a.offsetHeight 5386 ); 5387 (t = t || 0), 5388 (r = 5389 "bottom" === n 5390 ? i.bottom - s 5391 : "middle" === n 5392 ? i.bottom - s / 2 - i.height / 2 5393 : i.top); 5394 var c = u - s; 5395 return Math.min(r + t + window.pageYOffset, c); 5396 })(e, t.offset, t.align), 5397 t 5398 ); 5399 }; 5400 }, 5401 TWQb: function (e, t, n) { 5402 var r = n("/GqU"), 5403 o = n("UMSQ"), 5404 a = n("I8vh"), 5405 i = function (e) { 5406 return function (t, n, i) { 5407 var s, 5408 u = r(t), 5409 c = o(u.length), 5410 l = a(i, c); 5411 if (e && n != n) { 5412 for (; c > l; ) if ((s = u[l++]) != s) return !0; 5413 } else 5414 for (; c > l; l++) 5415 if ((e || l in u) && u[l] === n) return e || l || 0; 5416 return !e && -1; 5417 }; 5418 }; 5419 e.exports = { includes: i(!0), indexOf: i(!1) }; 5420 }, 5421 UMSQ: function (e, t, n) { 5422 var r = n("ppGB"), 5423 o = Math.min; 5424 e.exports = function (e) { 5425 return e > 0 ? o(r(e), 9007199254740991) : 0; 5426 }; 5427 }, 5428 UTVS: function (e, t) { 5429 var n = {}.hasOwnProperty; 5430 e.exports = function (e, t) { 5431 return n.call(e, t); 5432 }; 5433 }, 5434 UxWs: function (e, t, n) { 5435 "use strict"; 5436 n.r(t); 5437 var r = n("9Hrx"), 5438 o = n("xtsi"), 5439 a = n("FdF9"), 5440 i = n("YwZP"), 5441 s = n("7hJ6"), 5442 u = n("MMVs"), 5443 c = n.n(u), 5444 l = n("Wbzz"), 5445 p = (n("E9XD"), n("emEt")), 5446 f = n("YLt+"), 5447 d = n("5yr3"), 5448 h = { 5449 id: "gatsby-announcer", 5450 style: { 5451 position: "absolute", 5452 top: 0, 5453 width: 1, 5454 height: 1, 5455 padding: 0, 5456 overflow: "hidden", 5457 clip: "rect(0, 0, 0, 0)", 5458 whiteSpace: "nowrap", 5459 border: 0, 5460 }, 5461 "aria-live": "assertive", 5462 "aria-atomic": "true", 5463 }, 5464 g = n("9Xx/"), 5465 v = n("+ZDr"), 5466 m = f.reduce(function (e, t) { 5467 return (e[t.fromPath] = t), e; 5468 }, {}); 5469 function y(e) { 5470 var t = m[e]; 5471 return null != t && (window.___replace(t.toPath), !0); 5472 } 5473 var b = function (e, t) { 5474 y(e.pathname) || 5475 Object(o.apiRunner)("onPreRouteUpdate", { 5476 location: e, 5477 prevLocation: t, 5478 }); 5479 }, 5480 w = function (e, t) { 5481 y(e.pathname) || 5482 Object(o.apiRunner)("onRouteUpdate", { 5483 location: e, 5484 prevLocation: t, 5485 }); 5486 }, 5487 x = function (e, t) { 5488 if ((void 0 === t && (t = {}), "number" != typeof e)) { 5489 var n = Object(v.parsePath)(e).pathname, 5490 r = m[n]; 5491 if ( 5492 (r && ((e = r.toPath), (n = Object(v.parsePath)(e).pathname)), 5493 window.___swUpdated) 5494 ) 5495 window.location = n; 5496 else { 5497 var a = setTimeout(function () { 5498 d.a.emit("onDelayedLoadPageResources", { pathname: n }), 5499 Object(o.apiRunner)("onRouteUpdateDelayed", { 5500 location: window.location, 5501 }); 5502 }, 1e3); 5503 p.default.loadPage(n).then(function (r) { 5504 if (!r || r.status === p.PageResourceStatus.Error) 5505 return ( 5506 window.history.replaceState({}, "", location.href), 5507 (window.location = n), 5508 void clearTimeout(a) 5509 ); 5510 r && 5511 r.page.webpackCompilationHash !== 5512 window.___webpackCompilationHash && 5513 ("serviceWorker" in navigator && 5514 null !== navigator.serviceWorker.controller && 5515 "activated" === navigator.serviceWorker.controller.state && 5516 navigator.serviceWorker.controller.postMessage({ 5517 gatsbyApi: "clearPathResources", 5518 }), 5519 console.log("Site has changed on server. Reloading browser"), 5520 (window.location = n)), 5521 Object(i.navigate)(e, t), 5522 clearTimeout(a); 5523 }); 5524 } 5525 } else g.c.navigate(e); 5526 }; 5527 function k(e, t) { 5528 var n = this, 5529 r = t.location, 5530 a = r.pathname, 5531 i = r.hash, 5532 s = Object(o.apiRunner)("shouldUpdateScroll", { 5533 prevRouterProps: e, 5534 pathname: a, 5535 routerProps: { location: r }, 5536 getSavedScrollPosition: function (e) { 5537 return n._stateStorage.read(e); 5538 }, 5539 }); 5540 if (s.length > 0) return s[s.length - 1]; 5541 if (e && e.location.pathname === a) 5542 return i ? decodeURI(i.slice(1)) : [0, 0]; 5543 return !0; 5544 } 5545 var S = (function (e) { 5546 function t(t) { 5547 var n; 5548 return ( 5549 ((n = e.call(this, t) || this).announcementRef = 5550 a.default.createRef()), 5551 n 5552 ); 5553 } 5554 Object(r.a)(t, e); 5555 var n = t.prototype; 5556 return ( 5557 (n.componentDidUpdate = function (e, t) { 5558 var n = this; 5559 requestAnimationFrame(function () { 5560 var e = "new page at " + n.props.location.pathname; 5561 document.title && (e = document.title); 5562 var t = document.querySelectorAll("#gatsby-focus-wrapper h1"); 5563 t && t.length && (e = t[0].textContent); 5564 var r = "Navigated to " + e; 5565 n.announcementRef.current && 5566 n.announcementRef.current.innerText !== r && 5567 (n.announcementRef.current.innerText = r); 5568 }); 5569 }), 5570 (n.render = function () { 5571 return a.default.createElement( 5572 "div", 5573 Object.assign({}, h, { ref: this.announcementRef }) 5574 ); 5575 }), 5576 t 5577 ); 5578 })(a.default.Component), 5579 O = (function (e) { 5580 function t(t) { 5581 var n; 5582 return (n = e.call(this, t) || this), b(t.location, null), n; 5583 } 5584 Object(r.a)(t, e); 5585 var n = t.prototype; 5586 return ( 5587 (n.componentDidMount = function () { 5588 w(this.props.location, null); 5589 }), 5590 (n.shouldComponentUpdate = function (e) { 5591 return ( 5592 this.props.location.href !== e.location.href && 5593 (b(this.props.location, e.location), !0) 5594 ); 5595 }), 5596 (n.componentDidUpdate = function (e) { 5597 this.props.location.href !== e.location.href && 5598 w(this.props.location, e.location); 5599 }), 5600 (n.render = function () { 5601 return a.default.createElement( 5602 a.default.Fragment, 5603 null, 5604 this.props.children, 5605 a.default.createElement(S, { location: location }) 5606 ); 5607 }), 5608 t 5609 ); 5610 })(a.default.Component), 5611 P = n("IOVJ"), 5612 E = n("NsGk"), 5613 j = n.n(E); 5614 function R(e, t) { 5615 for (var n in e) if (!(n in t)) return !0; 5616 for (var r in t) if (e[r] !== t[r]) return !0; 5617 return !1; 5618 } 5619 var _ = (function (e) { 5620 function t(t) { 5621 var n; 5622 n = e.call(this) || this; 5623 var r = t.location, 5624 o = t.pageResources; 5625 return ( 5626 (n.state = { 5627 location: Object.assign({}, r), 5628 pageResources: o || p.default.loadPageSync(r.pathname), 5629 }), 5630 n 5631 ); 5632 } 5633 Object(r.a)(t, e), 5634 (t.getDerivedStateFromProps = function (e, t) { 5635 var n = e.location; 5636 return t.location.href !== n.href 5637 ? { 5638 pageResources: p.default.loadPageSync(n.pathname), 5639 location: Object.assign({}, n), 5640 } 5641 : { location: Object.assign({}, n) }; 5642 }); 5643 var n = t.prototype; 5644 return ( 5645 (n.loadResources = function (e) { 5646 var t = this; 5647 p.default.loadPage(e).then(function (n) { 5648 n && n.status !== p.PageResourceStatus.Error 5649 ? t.setState({ 5650 location: Object.assign({}, window.location), 5651 pageResources: n, 5652 }) 5653 : (window.history.replaceState({}, "", location.href), 5654 (window.location = e)); 5655 }); 5656 }), 5657 (n.shouldComponentUpdate = function (e, t) { 5658 return t.pageResources 5659 ? this.state.pageResources !== t.pageResources || 5660 this.state.pageResources.component !== 5661 t.pageResources.component || 5662 this.state.pageResources.json !== t.pageResources.json || 5663 !( 5664 this.state.location.key === t.location.key || 5665 !t.pageResources.page || 5666 (!t.pageResources.page.matchPath && 5667 !t.pageResources.page.path) 5668 ) || 5669 (function (e, t, n) { 5670 return R(e.props, t) || R(e.state, n); 5671 })(this, e, t) 5672 : (this.loadResources(e.location.pathname), !1); 5673 }), 5674 (n.render = function () { 5675 return this.props.children(this.state); 5676 }), 5677 t 5678 ); 5679 })(a.default.Component), 5680 L = n("cSJ8"), 5681 C = n("JeVI"), 5682 T = new p.ProdLoader(j.a, C);
5683 Object(p.setLoader)(T), 5684 T.setApiRunner(o.apiRunner), 5685 (window.asyncRequires = j.a), 5686 (window.___emitter = d.a), 5687 (window.___loader = p.publicLoader), 5688 g.c.listen(function (e) { 5689 e.location.action = e.action; 5690 }), 5691 (window.___push = function (e) { 5692 return x(e, { replace: !1 }); 5693 }), 5694 (window.___replace = function (e) { 5695 return x(e, { replace: !0 }); 5696 }), 5697 (window.___navigate = function (e, t) { 5698 return x(e, t); 5699 }), 5700 y(window.location.pathname), 5701 Object(o.apiRunnerAsync)("onClientEntry").then(function () { 5702 Object(o.apiRunner)("registerServiceWorker").length > 0 && n("NSX3"); 5703 var e = function (e) { 5704 return a.default.createElement( 5705 i.BaseContext.Provider, 5706 { value: { baseuri: "/", basepath: "/" } }, 5707 a.default.createElement(P.a, e) 5708 ); 5709 }, 5710 t = a.default.createContext({}), 5711 u = (function (e) { 5712 function n() { 5713 return e.apply(this, arguments) || this; 5714 } 5715 return ( 5716 Object(r.a)(n, e), 5717 (n.prototype.render = function () { 5718 var e = this.props.children; 5719 return a.default.createElement( 5720 i.Location, 5721 null, 5722 function (n) { 5723 var r = n.location; 5724 return a.default.createElement( 5725 _, 5726 { location: r }, 5727 function (n) { 5728 var r = n.pageResources, 5729 o = n.location, 5730 i = Object(p.getStaticQueryResults)(); 5731 return a.default.createElement( 5732 l.StaticQueryContext.Provider, 5733 { value: i }, 5734 a.default.createElement( 5735 t.Provider, 5736 { value: { pageResources: r, location: o } }, 5737 e 5738 ) 5739 ); 5740 } 5741 ); 5742 } 5743 ); 5744 }), 5745 n 5746 ); 5747 })(a.default.Component), 5748 f = (function (n) { 5749 function o() { 5750 return n.apply(this, arguments) || this; 5751 } 5752 return ( 5753 Object(r.a)(o, n), 5754 (o.prototype.render = function () { 5755 var n = this; 5756 return a.default.createElement( 5757 t.Consumer, 5758 null, 5759 function (t) { 5760 var r = t.pageResources, 5761 o = t.location; 5762 return a.default.createElement( 5763 O, 5764 { location: o }, 5765 a.default.createElement( 5766 s.ScrollContext, 5767 { location: o, shouldUpdateScroll: k }, 5768 a.default.createElement( 5769 i.Router, 5770 { 5771 basepath: "", 5772 location: o, 5773 id: "gatsby-focus-wrapper", 5774 }, 5775 a.default.createElement( 5776 e, 5777 Object.assign( 5778 { 5779 path: 5780 "/404.html" === r.page.path 5781 ? Object(L.a)(o.pathname, "") 5782 : encodeURI( 5783 r.page.matchPath || r.page.path 5784 ), 5785 }, 5786 n.props, 5787 { location: o, pageResources: r }, 5788 r.json 5789 ) 5790 ) 5791 ) 5792 ) 5793 ); 5794 } 5795 ); 5796 }), 5797 o 5798 ); 5799 })(a.default.Component), 5800 d = window, 5801 h = d.pagePath, 5802 g = d.location; 5803 h && 5804 "" + h !== g.pathname && 5805 !( 5806 T.findMatchPath(Object(L.a)(g.pathname, "")) || 5807 "/404.html" === h || 5808 h.match(/^\/404\/?$/) || 5809 h.match(/^\/offline-plugin-app-shell-fallback\/?$/) 5810 ) && 5811 Object(i.navigate)("" + h + g.search + g.hash, { replace: !0 }), 5812 p.publicLoader.loadPage(g.pathname).then(function (e) { 5813 if (!e || e.status === p.PageResourceStatus.Error) 5814 throw new Error( 5815 "page resources for " + 5816 g.pathname + 5817 " not found. Not rendering React" 5818 ); 5819 window.___webpackCompilationHash = e.page.webpackCompilationHash; 5820 var t = Object(o.apiRunner)( 5821 "wrapRootElement", 5822 { element: a.default.createElement(f, null) }, 5823 a.default.createElement(f, null), 5824 function (e) { 5825 return { element: e.result }; 5826 } 5827 ).pop(), 5828 n = function () { 5829 return a.default.createElement(u, null, t); 5830 }, 5831 r = Object(o.apiRunner)( 5832 "replaceHydrateFunction", 5833 void 0, 5834 a.default.hydrate 5835 )[0]; 5836 c()(function () { 5837 r( 5838 a.default.createElement(n, null), 5839 "undefined" != typeof window 5840 ? document.getElementById("___gatsby") 5841 : void 0, 5842 function () { 5843 Object(o.apiRunner)("onInitialClientRender"); 5844 } 5845 ); 5846 }); 5847 }); 5848 }); 5849 }, 5850 V67l: function (e, t, n) { 5851 "use strict"; 5852 Object.defineProperty(t, "__esModule", { value: !0 }), 5853 (t.onRouteUpdate = void 0); 5854 var r = n("dj5g"); 5855 t.onRouteUpdate = function (e, t) { 5856 var n, 5857 o = e.location, 5858 a = t.offset, 5859 i = void 0 === a ? 0 : a, 5860 s = t.duration, 5861 u = void 0 === s ? 1e3 : s; 5862 r.isBrowser &&
5863 ((window.gatsby_scroll_offset = i), 5864 (window.gatsby_scroll_duration = u), 5865 (n = window.gatsby_scroll_hash)), 5866 n ? (0, r.scroller)(n, i) : (0, r.checkHash)(o, i), 5867 r.isBrowser && n && (window.gatsby_scroll_hash = void 0); 5868 }; 5869 }, 5870 VpIT: function (e, t, n) { 5871 var r = n("xDBR"), 5872 o = n("xs3f"); 5873 (e.exports = function (e, t) { 5874 return o[e] || (o[e] = void 0 !== t ? t : {}); 5875 })("versions", []).push({ 5876 version: "3.7.0", 5877 mode: r ? "pure" : "global", 5878 copyright: "© 2020 Denis Pushkarev (zloirock.ru)", 5879 }); 5880 }, 5881 Vu81: function (e, t, n) { 5882 var r = n("0GbY"), 5883 o = n("JBy8"), 5884 a = n("dBg+"), 5885 i = n("glrk"); 5886 e.exports = 5887 r("Reflect", "ownKeys") || 5888 function (e) { 5889 var t = o.f(i(e)), 5890 n = a.f; 5891 return n ? t.concat(n(e)) : t; 5892 }; 5893 }, 5894 Wbzz: function (e, t, n) { 5895 "use strict"; 5896 n.r(t), 5897 n.d(t, "graphql", function () { 5898 return h; 5899 }), 5900 n.d(t, "StaticQueryContext", function () { 5901 return l; 5902 }), 5903 n.d(t, "StaticQuery", function () { 5904 return f; 5905 }), 5906 n.d(t, "useStaticQuery", function () { 5907 return d; 5908 }), 5909 n.d(t, "prefetchPathname", function () { 5910 return c; 5911 }); 5912 var r = n("FdF9"), 5913 o = n("+ZDr"), 5914 a = n.n(o); 5915 n.d(t, "Link", function () { 5916 return a.a; 5917 }), 5918 n.d(t, "withAssetPrefix", function () { 5919 return o.withAssetPrefix; 5920 }), 5921 n.d(t, "withPrefix", function () { 5922 return o.withPrefix; 5923 }), 5924 n.d(t, "parsePath", function () { 5925 return o.parsePath; 5926 }), 5927 n.d(t, "navigate", function () { 5928 return o.navigate; 5929 }), 5930 n.d(t, "push", function () { 5931 return o.push; 5932 }), 5933 n.d(t, "replace", function () { 5934 return o.replace; 5935 }), 5936 n.d(t, "navigateTo", function () { 5937 return o.navigateTo; 5938 }); 5939 var i = n("7hJ6"); 5940 n.d(t, "useScrollRestoration", function () { 5941 return i.useScrollRestoration; 5942 }); 5943 var s = n("lw3w"), 5944 u = n.n(s); 5945 n.d(t, "PageRenderer", function () { 5946 return u.a; 5947 }); 5948 var c = n("emEt").default.enqueue, 5949 l = r.default.createContext({}); 5950 function p(e) { 5951 var t = e.staticQueryData, 5952 n = e.data, 5953 o = e.query, 5954 a = e.render, 5955 i = n ? n.data : t[o] && t[o].data; 5956 return r.default.createElement( 5957 r.default.Fragment, 5958 null, 5959 i && a(i), 5960 !i && r.default.createElement("div", null, "Loading (StaticQuery)") 5961 ); 5962 } 5963 var f = function (e) { 5964 var t = e.data, 5965 n = e.query, 5966 o = e.render, 5967 a = e.children; 5968 return r.default.createElement(l.Consumer, null, function (e) { 5969 return r.default.createElement(p, { 5970 data: t, 5971 query: n, 5972 render: o || a, 5973 staticQueryData: e, 5974 }); 5975 }); 5976 }, 5977 d = function (e) { 5978 var t; 5979 r.default.useContext; 5980 var n = r.default.useContext(l); 5981 if (isNaN(Number(e))) 5982 throw new Error( 5983 "useStaticQuery was called with a string but expects to be called using `graphql`. Try this:\n\nimport { useStaticQuery, graphql } from 'gatsby';\n\nuseStaticQuery(graphql`" + 5984 e + 5985 "`);\n" 5986 ); 5987 if ( 5988 null == n || null === (t = n[e]) || void 0 === t ? void 0 : t.data 5989 ) 5990 return n[e].data; 5991 throw new Error( 5992 "The result of this StaticQuery could not be fetched.\n\nThis is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues" 5993 ); 5994 }; 5995 function h() { 5996 throw new Error( 5997 "It appears like Gatsby is misconfigured. Gatsby related `graphql` calls are supposed to only be evaluated at compile time, and then compiled away. Unfortunately, something went wrong and the query was left in the compiled code.\n\nUnless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby." 5998 ); 5999 } 6000 }, 6001 XEEL: function (e, t, n) { 6002 var r = n("Q83E"); 6003 (e.exports = function (e, t) { 6004 (e.prototype = Object.create(t.prototype)), 6005 (e.prototype.constructor = e), 6006 r(e, t); 6007 }), 6008 (e.exports.__esModule = !0), 6009 (e.exports.default = e.exports); 6010 }, 6011 XGwC: function (e, t) { 6012 e.exports = function (e, t) { 6013 return { 6014 enumerable: !(1 & e), 6015 configurable: !(2 & e), 6016 writable: !(4 & e), 6017 value: t, 6018 }; 6019 }; 6020 }, 6021 YF1G: function (e, t, n) { 6022 var r = n("xrYK"), 6023 o = n("2oRo"); 6024 e.exports = "process" == r(o.process); 6025 }, 6026 "YLt+": function (e) { 6027 e.exports = JSON.parse("[]"); 6028 }, 6029 YwZP: function (e, t, n) { 6030 "use strict"; 6031 n.r(t), 6032 n.d(t, "Link", function () { 6033 return C; 6034 }), 6035 n.d(t, "Location", function () { 6036 return y; 6037 }), 6038 n.d(t, "LocationProvider", function () { 6039 return b; 6040 }), 6041 n.d(t, "Match", function () { 6042 return F; 6043 }), 6044 n.d(t, "Redirect", function () { 6045 return A; 6046 }), 6047 n.d(t, "Router", function () { 6048 return k; 6049 }), 6050 n.d(t, "ServerLocation", function () { 6051 return w; 6052 }), 6053 n.d(t, "isRedirect", function () { 6054 return M; 6055 }), 6056 n.d(t, "redirectTo", function () { 6057 return N; 6058 }), 6059 n.d(t, "useLocation", function () { 6060 return q; 6061 }), 6062 n.d(t, "useNavigate", function () { 6063 return I; 6064 }), 6065 n.d(t, "useParams", function () { 6066 return U; 6067 }), 6068 n.d(t, "useMatch", function () { 6069 return B; 6070 }), 6071 n.d(t, "BaseContext", function () { 6072 return x; 6073 }); 6074 var r = n("FdF9"), 6075 o = (n("17x9"), n("QLaP")), 6076 a = n.n(o), 6077 i = n("nqlD"), 6078 s = n.n(i), 6079 u = n("94VI"), 6080 c = n("LYrO"); 6081 n.d(t, "matchPath", function () { 6082 return c.match; 6083 }); 6084 var l = n("9Xx/"); 6085 n.d(t, "createHistory", function () { 6086 return l.a; 6087 }), 6088 n.d(t, "createMemorySource", function () { 6089 return l.b; 6090 }), 6091 n.d(t, "navigate", function () { 6092 return l.d; 6093 }), 6094 n.d(t, "globalHistory", function () { 6095 return l.c; 6096 }); 6097 var p = 6098 Object.assign || 6099 function (e) { 6100 for (var t = 1; t < arguments.length; t++) { 6101 var n = arguments[t]; 6102 for (var r in n) 6103 Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); 6104 } 6105 return e; 6106 }; 6107 function f(e, t) { 6108 var n = {}; 6109 for (var r in e) 6110 t.indexOf(r) >= 0 || 6111 (Object.prototype.hasOwnProperty.call(e, r) && (n[r] = e[r])); 6112 return n; 6113 } 6114 function d(e, t) { 6115 if (!(e instanceof t)) 6116 throw new TypeError("Cannot call a class as a function"); 6117 } 6118 function h(e, t) { 6119 if (!e) 6120 throw new ReferenceError( 6121 "this hasn't been initialised - super() hasn't been called" 6122 ); 6123 return !t || ("object" != typeof t && "function" != typeof t) ? e : t; 6124 } 6125 function g(e, t) { 6126 if ("function" != typeof t && null !== t) 6127 throw new TypeError( 6128 "Super expression must either be null or a function, not " + 6129 typeof t 6130 ); 6131 (e.prototype = Object.create(t && t.prototype, { 6132 constructor: { 6133 value: e, 6134 enumerable: !1, 6135 writable: !0, 6136 configurable: !0, 6137 }, 6138 })), 6139 t && 6140 (Object.setPrototypeOf 6141 ? Object.setPrototypeOf(e, t) 6142 : (e.__proto__ = t)); 6143 } 6144 var v = function (e, t) { 6145 var n = s()(t); 6146 return (n.displayName = e), n; 6147 }, 6148 m = v("Location"), 6149 y = function (e) { 6150 var t = e.children; 6151 return r.default.createElement(m.Consumer, null, function (e) { 6152 return e ? t(e) : r.default.createElement(b, null, t); 6153 }); 6154 }, 6155 b = (function (e) { 6156 function t() { 6157 var n, r; 6158 d(this, t); 6159 for (var o = arguments.length, a = Array(o), i = 0; i < o; i++) 6160 a[i] = arguments[i]; 6161 return ( 6162 (n = r = h(this, e.call.apply(e, [this].concat(a)))), 6163 (r.state = { context: r.getContext(), refs: { unlisten: null } }), 6164 h(r, n) 6165 ); 6166 } 6167 return ( 6168 g(t, e), 6169 (t.prototype.getContext = function () { 6170 var e = this.props.history; 6171 return { navigate: e.navigate, location: e.location }; 6172 }), 6173 (t.prototype.componentDidCatch = function (e, t) { 6174 if (!M(e)) throw e; 6175 (0, this.props.history.navigate)(e.uri, { replace: !0 }); 6176 }), 6177 (t.prototype.componentDidUpdate = function (e, t) { 6178 t.context.location !== this.state.context.location && 6179 this.props.history._onTransitionComplete(); 6180 }), 6181 (t.prototype.componentDidMount = function () { 6182 var e = this, 6183 t = this.state.refs, 6184 n = this.props.history; 6185 n._onTransitionComplete(), 6186 (t.unlisten = n.listen(function () { 6187 Promise.resolve().then(function () { 6188 requestAnimationFrame(function () { 6189 e.unmounted || 6190 e.setState(function () { 6191 return { context: e.getContext() }; 6192 }); 6193 }); 6194 }); 6195 })); 6196 }), 6197 (t.prototype.componentWillUnmount = function () { 6198 var e = this.state.refs; 6199 (this.unmounted = !0), e.unlisten(); 6200 }), 6201 (t.prototype.render = function () { 6202 var e = this.state.context, 6203 t = this.props.children; 6204 return r.default.createElement( 6205 m.Provider, 6206 { value: e }, 6207 "function" == typeof t ? t(e) : t || null 6208 ); 6209 }), 6210 t 6211 ); 6212 })(r.default.Component); 6213 b.defaultProps = { history: l.c }; 6214 var w = function (e) { 6215 var t = e.url, 6216 n = e.children, 6217 o = t.indexOf("?"), 6218 a = void 0, 6219 i = ""; 6220 return ( 6221 o > -1 ? ((a = t.substring(0, o)), (i = t.substring(o))) : (a = t), 6222 r.default.createElement( 6223 m.Provider, 6224 { 6225 value: { 6226 location: { pathname: a, search: i, hash: "" }, 6227 navigate: function () { 6228 throw new Error("You can't call navigate on the server."); 6229 }, 6230 }, 6231 }, 6232 n 6233 ) 6234 ); 6235 }, 6236 x = v("Base", { baseuri: "/", basepath: "/" }), 6237 k = function (e) { 6238 return r.default.createElement(x.Consumer, null, function (t) { 6239 return r.default.createElement(y, null, function (n) { 6240 return r.default.createElement(S, p({}, t, n, e)); 6241 }); 6242 }); 6243 }, 6244 S = (function (e) { 6245 function t() { 6246 return d(this, t), h(this, e.apply(this, arguments)); 6247 } 6248 return ( 6249 g(t, e), 6250 (t.prototype.render = function () { 6251 var e = this.props, 6252 t = e.location, 6253 n = e.navigate, 6254 o = e.basepath, 6255 a = e.primary, 6256 i = e.children, 6257 s = (e.baseuri, e.component), 6258 u = void 0 === s ? "div" : s, 6259 l = f(e, [ 6260 "location", 6261 "navigate", 6262 "basepath", 6263 "primary", 6264 "children", 6265 "baseuri", 6266 "component", 6267 ]), 6268 d = r.default.Children.toArray(i).reduce(function (e, t) { 6269 var n = W(o)(t); 6270 return e.concat(n); 6271 }, []), 6272 h = t.pathname, 6273 g = Object(c.pick)(d, h); 6274 if (g) { 6275 var v = g.params, 6276 m = g.uri, 6277 y = g.route, 6278 b = g.route.value; 6279 o = y.default ? o : y.path.replace(/\*$/, ""); 6280 var w = p({}, v, { 6281 uri: m, 6282 location: t, 6283 navigate: function (e, t) { 6284 return n(Object(c.resolve)(e, m), t); 6285 }, 6286 }), 6287 S = r.default.cloneElement( 6288 b, 6289 w, 6290 b.props.children 6291 ? r.default.createElement( 6292 k, 6293 { location: t, primary: a }, 6294 b.props.children 6295 ) 6296 : void 0 6297 ), 6298 O = a ? P : u, 6299 E = a ? p({ uri: m, location: t, component: u }, l) : l; 6300 return r.default.createElement( 6301 x.Provider, 6302 { value: { baseuri: m, basepath: o } }, 6303 r.default.createElement(O, E, S) 6304 ); 6305 } 6306 return null; 6307 }), 6308 t 6309 ); 6310 })(r.default.PureComponent); 6311 S.defaultProps = { primary: !0 }; 6312 var O = v("Focus"), 6313 P = function (e) { 6314 var t = e.uri, 6315 n = e.location, 6316 o = e.component, 6317 a = f(e, ["uri", "location", "component"]); 6318 return r.default.createElement(O.Consumer, null, function (e) { 6319 return r.default.createElement( 6320 R, 6321 p({}, a, { component: o, requestFocus: e, uri: t, location: n }) 6322 ); 6323 }); 6324 }, 6325 E = !0, 6326 j = 0, 6327 R = (function (e) { 6328 function t() { 6329 var n, r; 6330 d(this, t); 6331 for (var o = arguments.length, a = Array(o), i = 0; i < o; i++) 6332 a[i] = arguments[i]; 6333 return ( 6334 (n = r = h(this, e.call.apply(e, [this].concat(a)))), 6335 (r.state = {}), 6336 (r.requestFocus = function (e) { 6337 !r.state.shouldFocus && e && e.focus(); 6338 }), 6339 h(r, n) 6340 ); 6341 } 6342 return ( 6343 g(t, e), 6344 (t.getDerivedStateFromProps = function (e, t) { 6345 if (null == t.uri) return p({ shouldFocus: !0 }, e); 6346 var n = e.uri !== t.uri, 6347 r = 6348 t.location.pathname !== e.location.pathname && 6349 e.location.pathname === e.uri; 6350 return p({ shouldFocus: n || r }, e); 6351 }), 6352 (t.prototype.componentDidMount = function () { 6353 j++, this.focus(); 6354 }), 6355 (t.prototype.componentWillUnmount = function () { 6356 0 === --j && (E = !0); 6357 }), 6358 (t.prototype.componentDidUpdate = function (e, t) { 6359 e.location !== this.props.location && 6360 this.state.shouldFocus && 6361 this.focus(); 6362 }),
6363 (t.prototype.focus = function () { 6364 var e = this.props.requestFocus; 6365 e 6366 ? e(this.node) 6367 : E 6368 ? (E = !1) 6369 : this.node && 6370 (this.node.contains(document.activeElement) || 6371 this.node.focus()); 6372 }), 6373 (t.prototype.render = function () { 6374 var e = this, 6375 t = this.props, 6376 n = (t.children, t.style), 6377 o = (t.requestFocus, t.component), 6378 a = void 0 === o ? "div" : o, 6379 i = 6380 (t.uri, 6381 t.location, 6382 f(t, [ 6383 "children", 6384 "style", 6385 "requestFocus", 6386 "component", 6387 "uri", 6388 "location", 6389 ])); 6390 return r.default.createElement( 6391 a, 6392 p( 6393 { 6394 style: p({ outline: "none" }, n), 6395 tabIndex: "-1", 6396 ref: function (t) { 6397 return (e.node = t); 6398 }, 6399 }, 6400 i 6401 ), 6402 r.default.createElement( 6403 O.Provider, 6404 { value: this.requestFocus }, 6405 this.props.children 6406 ) 6407 ); 6408 }), 6409 t 6410 ); 6411 })(r.default.Component); 6412 Object(u.polyfill)(R); 6413 var _ = function () {}, 6414 L = r.default.forwardRef; 6415 void 0 === L && 6416 (L = function (e) { 6417 return e; 6418 }); 6419 var C = L(function (e, t) { 6420 var n = e.innerRef, 6421 o = f(e, ["innerRef"]); 6422 return r.default.createElement(x.Consumer, null, function (e) { 6423 e.basepath; 6424 var a = e.baseuri; 6425 return r.default.createElement(y, null, function (e) { 6426 var i = e.location, 6427 s = e.navigate, 6428 u = o.to, 6429 l = o.state, 6430 d = o.replace, 6431 h = o.getProps, 6432 g = void 0 === h ? _ : h, 6433 v = f(o, ["to", "state", "replace", "getProps"]), 6434 m = Object(c.resolve)(u, a), 6435 y = encodeURI(m), 6436 b = i.pathname === y, 6437 w = Object(c.startsWith)(i.pathname, y); 6438 return r.default.createElement( 6439 "a", 6440 p( 6441 { ref: t || n, "aria-current": b ? "page" : void 0 }, 6442 v, 6443 g({ 6444 isCurrent: b, 6445 isPartiallyCurrent: w, 6446 href: m, 6447 location: i, 6448 }), 6449 { 6450 href: m, 6451 onClick: function (e) { 6452 if ((v.onClick && v.onClick(e), H(e))) { 6453 e.preventDefault(); 6454 var t = d; 6455 if ("boolean" != typeof d && b) { 6456 var n = p({}, i.state), 6457 r = (n.key, f(n, ["key"])); 6458 t = Object(c.shallowCompare)(p({}, l), r); 6459 } 6460 s(m, { state: l, replace: t }); 6461 } 6462 }, 6463 } 6464 ) 6465 ); 6466 }); 6467 }); 6468 }); 6469 function T(e) { 6470 this.uri = e; 6471 } 6472 C.displayName = "Link"; 6473 var M = function (e) { 6474 return e instanceof T; 6475 }, 6476 N = function (e) { 6477 throw new T(e); 6478 }, 6479 D = (function (e) { 6480 function t() { 6481 return d(this, t), h(this, e.apply(this, arguments)); 6482 } 6483 return ( 6484 g(t, e), 6485 (t.prototype.componentDidMount = function () { 6486 var e = this.props, 6487 t = e.navigate, 6488 n = e.to, 6489 r = (e.from, e.replace), 6490 o = void 0 === r || r, 6491 a = e.state, 6492 i = (e.noThrow, e.baseuri), 6493 s = f(e, [ 6494 "navigate", 6495 "to", 6496 "from", 6497 "replace", 6498 "state", 6499 "noThrow", 6500 "baseuri", 6501 ]); 6502 Promise.resolve().then(function () { 6503 var e = Object(c.resolve)(n, i); 6504 t(Object(c.insertParams)(e, s), { replace: o, state: a }); 6505 }); 6506 }), 6507 (t.prototype.render = function () { 6508 var e = this.props,
6509 t = (e.navigate, e.to), 6510 n = (e.from, e.replace, e.state, e.noThrow), 6511 r = e.baseuri, 6512 o = f(e, [ 6513 "navigate", 6514 "to", 6515 "from", 6516 "replace", 6517 "state", 6518 "noThrow", 6519 "baseuri", 6520 ]), 6521 a = Object(c.resolve)(t, r); 6522 return n || N(Object(c.insertParams)(a, o)), null; 6523 }), 6524 t 6525 ); 6526 })(r.default.Component), 6527 A = function (e) { 6528 return r.default.createElement(x.Consumer, null, function (t) { 6529 var n = t.baseuri; 6530 return r.default.createElement(y, null, function (t) { 6531 return r.default.createElement(D, p({}, t, { baseuri: n }, e)); 6532 }); 6533 }); 6534 }, 6535 F = function (e) { 6536 var t = e.path, 6537 n = e.children; 6538 return r.default.createElement(x.Consumer, null, function (e) { 6539 var o = e.baseuri; 6540 return r.default.createElement(y, null, function (e) { 6541 var r = e.navigate, 6542 a = e.location, 6543 i = Object(c.resolve)(t, o), 6544 s = Object(c.match)(i, a.pathname); 6545 return n({ 6546 navigate: r, 6547 location: a, 6548 match: s ? p({}, s.params, { uri: s.uri, path: t }) : null, 6549 }); 6550 }); 6551 }); 6552 }, 6553 q = function () { 6554 var e = Object(r.useContext)(m); 6555 if (!e) 6556 throw new Error( 6557 "useLocation hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router" 6558 ); 6559 return e.location; 6560 }, 6561 I = function () { 6562 var e = Object(r.useContext)(m); 6563 if (!e) 6564 throw new Error( 6565 "useNavigate hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router" 6566 ); 6567 return e.navigate; 6568 }, 6569 U = function () { 6570 var e = Object(r.useContext)(x); 6571 if (!e) 6572 throw new Error( 6573 "useParams hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router" 6574 ); 6575 var t = q(), 6576 n = Object(c.match)(e.basepath, t.pathname); 6577 return n ? n.params : null; 6578 }, 6579 B = function (e) { 6580 if (!e) 6581 throw new Error( 6582 "useMatch(path: string) requires an argument of a string to match against" 6583 ); 6584 var t = Object(r.useContext)(x); 6585 if (!t) 6586 throw new Error( 6587 "useMatch hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router" 6588 ); 6589 var n = q(), 6590 o = Object(c.resolve)(e, t.baseuri), 6591 a = Object(c.match)(o, n.pathname); 6592 return a ? p({}, a.params, { uri: a.uri, path: e }) : null; 6593 }, 6594 V = function (e) { 6595 return e.replace(/(^\/+|\/+$)/g, ""); 6596 }, 6597 W = function e(t) { 6598 return function (n) { 6599 if (!n) return null; 6600 if (n.type === r.default.Fragment && n.props.children) 6601 return r.default.Children.map(n.props.children, e(t)); 6602 if ( 6603 (n.props.path || n.props.default || n.type === A || a()(!1), 6604 n.type !== A || (n.props.from && n.props.to) || a()(!1), 6605 n.type !== A || 6606 Object(c.validateRedirect)(n.props.from, n.props.to) || 6607 a()(!1), 6608 n.props.default) 6609 ) 6610 return { value: n, default: !0 }; 6611 var o = n.type === A ? n.props.from : n.props.path, 6612 i = "/" === o ? t : V(t) + "/" + V(o); 6613 return { 6614 value: n, 6615 default: n.props.default, 6616 path: n.props.children ? V(i) + "/*" : i, 6617 }; 6618 }; 6619 }, 6620 H = function (e) { 6621 return ( 6622 !e.defaultPrevented && 6623 0 === e.button && 6624 !(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) 6625 ); 6626 }; 6627 }, 6628 afO8: function (e, t, n) { 6629 var r, 6630 o, 6631 a, 6632 i = n("f5p1"), 6633 s = n("2oRo"), 6634 u = n("hh1v"), 6635 c = n("kRJp"), 6636 l = n("UTVS"), 6637 p = n("xs3f"), 6638 f = n("93I0"), 6639 d = n("0BK2"), 6640 h = s.WeakMap; 6641 if (i) { 6642 var g = p.state || (p.state = new h()), 6643 v = g.get, 6644 m = g.has, 6645 y = g.set; 6646 (r = function (e, t) { 6647 return (t.facade = e), y.call(g, e, t), t; 6648 }), 6649 (o = function (e) { 6650 return v.call(g, e) || {}; 6651 }), 6652 (a = function (e) { 6653 return m.call(g, e); 6654 }); 6655 } else { 6656 var b = f("state"); 6657 (d[b] = !0), 6658 (r = function (e, t) { 6659 return (t.facade = e), c(e, b, t), t; 6660 }), 6661 (o = function (e) { 6662 return l(e, b) ? e[b] : {}; 6663 }), 6664 (a = function (e) { 6665 return l(e, b); 6666 }); 6667 } 6668 e.exports = { 6669 set: r, 6670 get: o, 6671 has: a, 6672 enforce: function (e) { 6673 return a(e) ? o(e) : r(e, {}); 6674 }, 6675 getterFor: function (e) { 6676 return function (t) { 6677 var n; 6678 if (!u(t) || (n = o(t)).type !== e) 6679 throw TypeError("Incompatible receiver, " + e + " required"); 6680 return n; 6681 }; 6682 }, 6683 }; 6684 }, 6685 bQgK: function (e, t, n) { 6686 (function (t) { 6687 (function () { 6688 var n, r, o, a, i, s; 6689 "undefined" != typeof performance && 6690 null !== performance && 6691 performance.now 6692 ? (e.exports = function () { 6693 return performance.now(); 6694 }) 6695 : null != t && t.hrtime 6696 ? ((e.exports = function () { 6697 return (n() - i) / 1e6; 6698 }), 6699 (r = t.hrtime), 6700 (a = (n = function () { 6701 var e; 6702 return 1e9 * (e = r())[0] + e[1]; 6703 })()), 6704 (s = 1e9 * t.uptime()), 6705 (i = a - s)) 6706 : Date.now 6707 ? ((e.exports = function () { 6708 return Date.now() - o; 6709 }), 6710 (o = Date.now())) 6711 : ((e.exports = function () { 6712 return new Date().getTime() - o; 6713 }), 6714 (o = new Date().getTime())); 6715 }).call(this); 6716 }).call(this, n("8oxB")); 6717 }, 6718 busE: function (e, t, n) { 6719 var r = n("2oRo"), 6720 o = n("kRJp"), 6721 a = n("UTVS"), 6722 i = n("zk60"), 6723 s = n("iSVu"), 6724 u = n("afO8"), 6725 c = u.get, 6726 l = u.enforce, 6727 p = String(String).split("String"); 6728 (e.exports = function (e, t, n, s) { 6729 var u, 6730 c = !!s && !!s.unsafe, 6731 f = !!s && !!s.enumerable, 6732 d = !!s && !!s.noTargetGet; 6733 "function" == typeof n && 6734 ("string" != typeof t || a(n, "name") || o(n, "name", t), 6735 (u = l(n)).source || 6736 (u.source = p.join("string" == typeof t ? t : ""))), 6737 e !== r 6738 ? (c ? !d && e[t] && (f = !0) : delete e[t], 6739 f ? (e[t] = n) : o(e, t, n)) 6740 : f 6741 ? (e[t] = n) 6742 : i(t, n); 6743 })(Function.prototype, "toString", function () { 6744 return ("function" == typeof this && c(this).source) || s(this); 6745 }); 6746 }, 6747 cSJ8: function (e, t, n) { 6748 "use strict"; 6749 function r(e, t) { 6750 return ( 6751 void 0 === t && (t = ""), 6752 t 6753 ? e === t 6754 ? "/"
6755 : e.startsWith(t + "/") 6756 ? e.slice(t.length) 6757 : e 6758 : e 6759 ); 6760 } 6761 n.d(t, "a", function () { 6762 return r; 6763 }); 6764 }, 6765 cjBy: function (e, t) { 6766 function n(t) { 6767 return ( 6768 (e.exports = n = 6769 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 6770 ? function (e) { 6771 return typeof e; 6772 } 6773 : function (e) { 6774 return e && 6775 "function" == typeof Symbol && 6776 e.constructor === Symbol && 6777 e !== Symbol.prototype 6778 ? "symbol" 6779 : typeof e; 6780 }), 6781 (e.exports.__esModule = !0), 6782 (e.exports.default = e.exports), 6783 n(t) 6784 ); 6785 } 6786 (e.exports = n), 6787 (e.exports.__esModule = !0), 6788 (e.exports.default = e.exports); 6789 }, 6790 cu4x: function (e, t, n) { 6791 "use strict"; 6792 (t.__esModule = !0), 6793 (t.parsePath = function (e) { 6794 var t = e || "/", 6795 n = "", 6796 r = "", 6797 o = t.indexOf("#"); 6798 -1 !== o && ((r = t.substr(o)), (t = t.substr(0, o))); 6799 var a = t.indexOf("?"); 6800 -1 !== a && ((n = t.substr(a)), (t = t.substr(0, a))); 6801 return { 6802 pathname: t, 6803 search: "?" === n ? "" : n, 6804 hash: "#" === r ? "" : r, 6805 }; 6806 }); 6807 }, 6808 "dBg+": function (e, t) { 6809 t.f = Object.getOwnPropertySymbols; 6810 }, 6811 dQcQ: function (e, t, n) { 6812 var r = n("hMe3"); 6813 (e.exports = function (e, t) { 6814 if (e) { 6815 if ("string" == typeof e) return r(e, t); 6816 var n = Object.prototype.toString.call(e).slice(8, -1); 6817 return ( 6818 "Object" === n && e.constructor && (n = e.constructor.name), 6819 "Map" === n || "Set" === n 6820 ? Array.from(e) 6821 : "Arguments" === n || 6822 /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) 6823 ? r(e, t) 6824 : void 0 6825 ); 6826 } 6827 }), 6828 (e.exports.__esModule = !0), 6829 (e.exports.default = e.exports); 6830 }, 6831 dj5g: function (e, t, n) { 6832 "use strict"; 6833 function r(e) { 6834 return (r = 6835 "function" == typeof Symbol && "symbol" == typeof Symbol.iterator 6836 ? function (e) { 6837 return typeof e; 6838 } 6839 : function (e) { 6840 return e && 6841 "function" == typeof Symbol && 6842 e.constructor === Symbol && 6843 e !== Symbol.prototype 6844 ? "symbol" 6845 : typeof e; 6846 })(e); 6847 } 6848 Object.defineProperty(t, "__esModule", { value: !0 }), 6849 (t.logWarning = f), 6850 (t.scroller = d), 6851 (t.handleLinkClick = function (e, t, n) { 6852 (e.includes("/") && e.includes("#")) || f(s.IMPROPPER_FORMATTING); 6853 if (p && e.includes("#")) { 6854 var r = c(e.split("#"), 2), 6855 o = r[0], 6856 a = r[1]; 6857 window.location.pathname === (0, i.withPrefix)(o) && 6858 (t.preventDefault(), 6859 d( 6860 "#".concat(a), 6861 window.gatsby_scroll_offset, 6862 window.gatsby_scroll_duration 6863 )); 6864 } 6865 n && n(); 6866 }), 6867 (t.handleStrippedLinkClick = function (e, t, n) { 6868 (e.includes("/") && e.includes("#")) || f(s.IMPROPPER_FORMATTING); 6869 var r = c(e.split("#"), 2), 6870 o = r[0], 6871 a = r[1], 6872 i = p && window.location.pathname === o, 6873 u = p && window.location.pathname !== o; 6874 i && 6875 (t.preventDefault(), 6876 d( 6877 "#".concat(a), 6878 window.gatsby_scroll_offset, 6879 window.gatsby_scroll_duration 6880 )); 6881 u && (window.gatsby_scroll_hash = "#".concat(a)); 6882 n && n(); 6883 }), 6884 (t.stripHashedLocation = function (e) { 6885 return e.split("#")[0]; 6886 }), 6887 (t.checkHash = function (e, t) { 6888 var n = e.hash, 6889 r = n ? n.substr(1) : null, 6890 o = r ? document.getElementById(r) : null; 6891 n && Boolean(o) ? d(n, t) : n && r && !o && f(s.INVALID_HASH); 6892 }), 6893 (t.isDevelopment = t.isBrowser = void 0); 6894 var o, 6895 a = (o = n("SKMy")) && o.__esModule ? o : { default: o },
6896 i = n("Wbzz"), 6897 s = (function (e) { 6898 if (e && e.__esModule) return e; 6899 if (null === e || ("object" !== r(e) && "function" != typeof e)) 6900 return { default: e }; 6901 var t = u(); 6902 if (t && t.has(e)) return t.get(e); 6903 var n = {}, 6904 o = Object.defineProperty && Object.getOwnPropertyDescriptor; 6905 for (var a in e) 6906 if (Object.prototype.hasOwnProperty.call(e, a)) { 6907 var i = o ? Object.getOwnPropertyDescriptor(e, a) : null; 6908 i && (i.get || i.set) 6909 ? Object.defineProperty(n, a, i) 6910 : (n[a] = e[a]); 6911 } 6912 (n.default = e), t && t.set(e, n); 6913 return n; 6914 })(n("GVS5")); 6915 function u() { 6916 if ("function" != typeof WeakMap) return null; 6917 var e = new WeakMap(); 6918 return ( 6919 (u = function () { 6920 return e; 6921 }), 6922 e 6923 ); 6924 } 6925 function c(e, t) { 6926 return ( 6927 (function (e) { 6928 if (Array.isArray(e)) return e; 6929 })(e) || 6930 (function (e, t) { 6931 if ("undefined" == typeof Symbol || !(Symbol.iterator in Object(e))) 6932 return; 6933 var n = [], 6934 r = !0, 6935 o = !1, 6936 a = void 0; 6937 try { 6938 for ( 6939 var i, s = e[Symbol.iterator](); 6940 !(r = (i = s.next()).done) && 6941 (n.push(i.value), !t || n.length !== t); 6942 r = !0 6943 ); 6944 } catch (u) { 6945 (o = !0), (a = u); 6946 } finally { 6947 try { 6948 r || null == s.return || s.return(); 6949 } finally { 6950 if (o) throw a; 6951 } 6952 } 6953 return n; 6954 })(e, t) || 6955 (function (e, t) { 6956 if (!e) return; 6957 if ("string" == typeof e) return l(e, t); 6958 var n = Object.prototype.toString.call(e).slice(8, -1); 6959 "Object" === n && e.constructor && (n = e.constructor.name); 6960 if ("Map" === n || "Set" === n) return Array.from(e); 6961 if ( 6962 "Arguments" === n || 6963 /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) 6964 ) 6965 return l(e, t); 6966 })(e, t) || 6967 (function () { 6968 throw new TypeError( 6969 "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." 6970 ); 6971 })() 6972 ); 6973 } 6974 function l(e, t) { 6975 (null == t || t > e.length) && (t = e.length); 6976 for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; 6977 return r; 6978 } 6979 var p = "undefined" != typeof window; 6980 t.isBrowser = p; 6981 function f(e) { 6982 0; 6983 } 6984 function d(e) { 6985 var t = 6986 arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0, 6987 n = 6988 arguments.length > 2 && void 0 !== arguments[2] 6989 ? arguments[2] 6990 : 1e3; 6991 (0, a.default)(e, { duration: n, offset: t }); 6992 } 6993 t.isDevelopment = !1; 6994 }, 6995 "e/UW": function (e, t, n) { 6996 "use strict"; 6997 t.registerServiceWorker = function () { 6998 return !0; 6999 }; 7000 var r = /^(stylesheet|preload)$/, 7001 o = []; 7002 function a(e, t) { 7003 if (!window.___swUpdated && "serviceWorker" in navigator) { 7004 var n = navigator.serviceWorker; 7005 if (null === n.controller) o.push(e); 7006 else { 7007 var r = t(e); 7008 n.controller.postMessage({ 7009 gatsbyApi: "setPathResources", 7010 path: e, 7011 resources: r, 7012 }); 7013 } 7014 } 7015 } 7016 (t.onServiceWorkerActive = function (e) { 7017 var t = e.getResourceURLsForPathname, 7018 n = e.serviceWorker; 7019 if (window.___swUpdated) 7020 n.active.postMessage({ gatsbyApi: "clearPathResources" }); 7021 else { 7022 var a = document.querySelectorAll( 7023 "\n head > script[src],\n head > link[href],\n head > style[data-href]\n " 7024 ), 7025 i = [].slice 7026 .call(a) 7027 .filter(function (e) { 7028 return "LINK" !== e.tagName || r.test(e.getAttribute("rel")); 7029 }) 7030 .map(function (e) { 7031 return e.src || e.href || e.getAttribute("data-href"); 7032 }), 7033 s = []; 7034 o.forEach(function (e) { 7035 var r = t(e); 7036 s.push.apply(s, r), 7037 n.active.postMessage({ 7038 gatsbyApi: "setPathResources", 7039 path: e, 7040 resources: r, 7041 }); 7042 }),
7043 [].concat(i, s).forEach(function (e) { 7044 var t = document.createElement("link"); 7045 (t.rel = "prefetch"), 7046 (t.href = e), 7047 (t.onload = t.remove), 7048 (t.onerror = t.remove), 7049 document.head.appendChild(t); 7050 }); 7051 } 7052 }), 7053 (t.onRouteUpdate = function (e) { 7054 var t = e.location, 7055 n = e.getResourceURLsForPathname; 7056 a(t.pathname.replace("", ""), n), 7057 "serviceWorker" in navigator && 7058 null !== navigator.serviceWorker.controller && 7059 navigator.serviceWorker.controller.postMessage({ 7060 gatsbyApi: "enableOfflineShell", 7061 }); 7062 }), 7063 (t.onPostPrefetchPathname = function (e) { 7064 a(e.pathname, e.getResourceURLsForPathname); 7065 }); 7066 }, 7067 "eDl+": function (e, t) { 7068 e.exports = [ 7069 "constructor", 7070 "hasOwnProperty", 7071 "isPrototypeOf", 7072 "propertyIsEnumerable", 7073 "toLocaleString", 7074 "toString", 7075 "valueOf", 7076 ]; 7077 }, 7078 emEt: function (e, t, n) { 7079 "use strict"; 7080 n.r(t), 7081 n.d(t, "PageResourceStatus", function () { 7082 return p; 7083 }), 7084 n.d(t, "BaseLoader", function () { 7085 return m; 7086 }), 7087 n.d(t, "ProdLoader", function () { 7088 return b; 7089 }), 7090 n.d(t, "setLoader", function () { 7091 return w; 7092 }), 7093 n.d(t, "publicLoader", function () { 7094 return x; 7095 }), 7096 n.d(t, "getStaticQueryResults", function () { 7097 return k; 7098 }); 7099 var r = n("9Hrx"); 7100 function o(e, t) { 7101 (null == t || t > e.length) && (t = e.length); 7102 for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; 7103 return r; 7104 } 7105 function a(e) { 7106 return ( 7107 (function (e) { 7108 if (Array.isArray(e)) return o(e); 7109 })(e) || 7110 (function (e) { 7111 if ( 7112 ("undefined" != typeof Symbol && null != e[Symbol.iterator]) || 7113 null != e["@@iterator"] 7114 ) 7115 return Array.from(e); 7116 })(e) || 7117 (function (e, t) { 7118 if (e) { 7119 if ("string" == typeof e) return o(e, t); 7120 var n = Object.prototype.toString.call(e).slice(8, -1); 7121 return ( 7122 "Object" === n && e.constructor && (n = e.constructor.name), 7123 "Map" === n || "Set" === n 7124 ? Array.from(e) 7125 : "Arguments" === n || 7126 /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) 7127 ? o(e, t) 7128 : void 0 7129 ); 7130 } 7131 })(e) || 7132 (function () { 7133 throw new TypeError( 7134 "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." 7135 ); 7136 })() 7137 ); 7138 } 7139 var i = (function (e) { 7140 if ("undefined" == typeof document) return !1; 7141 var t = document.createElement("link"); 7142 try { 7143 if (t.relList && "function" == typeof t.relList.supports) 7144 return t.relList.supports(e); 7145 } catch (n) { 7146 return !1; 7147 } 7148 return !1; 7149 })("prefetch") 7150 ? function (e, t) { 7151 return new Promise(function (n, r) { 7152 if ("undefined" != typeof document) { 7153 var o = document.createElement("link"); 7154 o.setAttribute("rel", "prefetch"), 7155 o.setAttribute("href", e), 7156 Object.keys(t).forEach(function (e) { 7157 o.setAttribute(e, t[e]); 7158 }), 7159 (o.onload = n), 7160 (o.onerror = r), 7161 ( 7162 document.getElementsByTagName("head")[0] || 7163 document.getElementsByName("script")[0].parentNode 7164 ).appendChild(o); 7165 } else r(); 7166 }); 7167 } 7168 : function (e) { 7169 return new Promise(function (t, n) { 7170 var r = new XMLHttpRequest(); 7171 r.open("GET", e, !0), 7172 (r.onload = function () { 7173 200 === r.status ? t() : n(); 7174 }), 7175 r.send(null); 7176 }); 7177 }, 7178 s = {}, 7179 u = function (e, t) { 7180 return new Promise(function (n) { 7181 s[e] 7182 ? n() 7183 : i(e, t) 7184 .then(function () { 7185 n(), (s[e] = !0); 7186 }) 7187 .catch(function () {}); 7188 }); 7189 }, 7190 c = n("5yr3"), 7191 l = n("30RF"), 7192 p = { Error: "error", Success: "success" }, 7193 f = function (e) { 7194 return (e && e.default) || e; 7195 }, 7196 d = function (e) { 7197 var t; 7198 return ( 7199 "/page-data/" + 7200 ("/" === e 7201 ? "index" 7202 : (t = (t = "/" === (t = e)[0] ? t.slice(1) : t).endsWith("/") 7203 ? t.slice(0, -1) 7204 : t)) + 7205 "/page-data.json" 7206 ); 7207 }; 7208 function h(e, t) { 7209 return ( 7210 void 0 === t && (t = "GET"), 7211 new Promise(function (n, r) { 7212 var o = new XMLHttpRequest(); 7213 o.open(t, e, !0), 7214 (o.onreadystatechange = function () { 7215 4 == o.readyState && n(o); 7216 }), 7217 o.send(null); 7218 }) 7219 ); 7220 } 7221 var g, 7222 v = function (e, t) { 7223 void 0 === t && (t = null); 7224 var n = { 7225 componentChunkName: e.componentChunkName, 7226 path: e.path, 7227 webpackCompilationHash: e.webpackCompilationHash, 7228 matchPath: e.matchPath, 7229 staticQueryHashes: e.staticQueryHashes, 7230 }; 7231 return { component: t, json: e.result, page: n }; 7232 }, 7233 m = (function () { 7234 function e(e, t) { 7235 (this.inFlightNetworkRequests = new Map()), 7236 (this.pageDb = new Map()), 7237 (this.inFlightDb = new Map()), 7238 (this.staticQueryDb = {}), 7239 (this.pageDataDb = new Map()), 7240 (this.prefetchTriggered = new Set()), 7241 (this.prefetchCompleted = new Set()), 7242 (this.loadComponent = e), 7243 Object(l.d)(t); 7244 } 7245 var t = e.prototype; 7246 return ( 7247 (t.memoizedGet = function (e) { 7248 var t = this, 7249 n = this.inFlightNetworkRequests.get(e); 7250 return ( 7251 n || 7252 ((n = h(e, "GET")), this.inFlightNetworkRequests.set(e, n)), 7253 n 7254 .then(function (n) { 7255 return t.inFlightNetworkRequests.delete(e), n; 7256 }) 7257 .catch(function (n) { 7258 throw (t.inFlightNetworkRequests.delete(e), n); 7259 }) 7260 ); 7261 }), 7262 (t.setApiRunner = function (e) { 7263 (this.apiRunner = e), 7264 (this.prefetchDisabled = e("disableCorePrefetching").some( 7265 function (e) { 7266 return e; 7267 } 7268 )); 7269 }), 7270 (t.fetchPageDataJson = function (e) { 7271 var t = this, 7272 n = e.pagePath, 7273 r = e.retries, 7274 o = void 0 === r ? 0 : r, 7275 a = d(n); 7276 return this.memoizedGet(a).then(function (r) { 7277 var a = r.status, 7278 i = r.responseText; 7279 if (200 === a) 7280 try { 7281 var s = JSON.parse(i); 7282 if (void 0 === s.path) 7283 throw new Error("not a valid pageData response"); 7284 return Object.assign(e, { status: p.Success, payload: s }); 7285 } catch (u) {} 7286 return 404 === a || 200 === a 7287 ? "/404.html" === n 7288 ? Object.assign(e, { status: p.Error }) 7289 : t.fetchPageDataJson( 7290 Object.assign(e, { 7291 pagePath: "/404.html", 7292 notFound: !0, 7293 }) 7294 ) 7295 : 500 === a 7296 ? Object.assign(e, { status: p.Error }) 7297 : o < 3 7298 ? t.fetchPageDataJson(Object.assign(e, { retries: o + 1 })) 7299 : Object.assign(e, { status: p.Error }); 7300 }); 7301 }), 7302 (t.loadPageDataJson = function (e) { 7303 var t = this, 7304 n = Object(l.b)(e); 7305 return this.pageDataDb.has(n) 7306 ? Promise.resolve(this.pageDataDb.get(n)) 7307 : this.fetchPageDataJson({ pagePath: n }).then(function (e) { 7308 return t.pageDataDb.set(n, e), e; 7309 }); 7310 }), 7311 (t.findMatchPath = function (e) { 7312 return Object(l.a)(e); 7313 }), 7314 (t.loadPage = function (e) { 7315 var t = this, 7316 n = Object(l.b)(e); 7317 if (this.pageDb.has(n)) { 7318 var r = this.pageDb.get(n); 7319 return Promise.resolve(r.payload); 7320 } 7321 if (this.inFlightDb.has(n)) return this.inFlightDb.get(n); 7322 var o = Promise.all([ 7323 this.loadAppData(), 7324 this.loadPageDataJson(n), 7325 ]).then(function (e) { 7326 var r = e[1]; 7327 if (r.status === p.Error) return { status: p.Error }; 7328 var o = r.payload, 7329 a = o, 7330 i = a.componentChunkName, 7331 s = a.staticQueryHashes, 7332 u = void 0 === s ? [] : s, 7333 l = {}, 7334 f = t.loadComponent(i).then(function (t) { 7335 var n; 7336 return ( 7337 (l.createdAt = new Date()), 7338 t 7339 ? ((l.status = p.Success), 7340 !0 === r.notFound && (l.notFound = !0), 7341 (o = Object.assign(o, { 7342 webpackCompilationHash: e[0] 7343 ? e[0].webpackCompilationHash 7344 : "", 7345 })), 7346 (n = v(o, t))) 7347 : (l.status = p.Error), 7348 n 7349 ); 7350 }), 7351 d = Promise.all( 7352 u.map(function (e) { 7353 if (t.staticQueryDb[e]) { 7354 var n = t.staticQueryDb[e]; 7355 return { staticQueryHash: e, jsonPayload: n }; 7356 } 7357 return t
7358 .memoizedGet("/page-data/sq/d/" + e + ".json") 7359 .then(function (t) { 7360 var n = JSON.parse(t.responseText); 7361 return { staticQueryHash: e, jsonPayload: n }; 7362 }); 7363 }) 7364 ).then(function (e) { 7365 var n = {}; 7366 return ( 7367 e.forEach(function (e) { 7368 var r = e.staticQueryHash, 7369 o = e.jsonPayload; 7370 (n[r] = o), (t.staticQueryDb[r] = o); 7371 }), 7372 n 7373 ); 7374 }); 7375 return Promise.all([f, d]).then(function (e) { 7376 var r, 7377 o = e[0], 7378 a = e[1]; 7379 return ( 7380 o && 7381 ((r = Object.assign({}, o, { staticQueryResults: a })), 7382 (l.payload = r), 7383 c.a.emit("onPostLoadPageResources", { 7384 page: r, 7385 pageResources: r, 7386 })), 7387 t.pageDb.set(n, l), 7388 r 7389 ); 7390 }); 7391 }); 7392 return ( 7393 o 7394 .then(function (e) { 7395 t.inFlightDb.delete(n); 7396 }) 7397 .catch(function (e) { 7398 throw (t.inFlightDb.delete(n), e); 7399 }), 7400 this.inFlightDb.set(n, o), 7401 o 7402 ); 7403 }), 7404 (t.loadPageSync = function (e) { 7405 var t = Object(l.b)(e); 7406 if (this.pageDb.has(t)) return this.pageDb.get(t).payload; 7407 }), 7408 (t.shouldPrefetch = function (e) { 7409 return ( 7410 !!(function () { 7411 if ( 7412 "connection" in navigator && 7413 void 0 !== navigator.connection 7414 ) { 7415 if ( 7416 (navigator.connection.effectiveType || "").includes("2g") 7417 ) 7418 return !1; 7419 if (navigator.connection.saveData) return !1; 7420 } 7421 return !0; 7422 })() && !this.pageDb.has(e) 7423 ); 7424 }), 7425 (t.prefetch = function (e) { 7426 var t = this; 7427 if (!this.shouldPrefetch(e)) return !1; 7428 if ( 7429 (this.prefetchTriggered.has(e) || 7430 (this.apiRunner("onPrefetchPathname", { pathname: e }), 7431 this.prefetchTriggered.add(e)), 7432 this.prefetchDisabled) 7433 ) 7434 return !1; 7435 var n = Object(l.b)(e); 7436 return ( 7437 this.doPrefetch(n).then(function () { 7438 t.prefetchCompleted.has(e) || 7439 (t.apiRunner("onPostPrefetchPathname", { pathname: e }), 7440 t.prefetchCompleted.add(e)); 7441 }), 7442 !0 7443 ); 7444 }), 7445 (t.doPrefetch = function (e) { 7446 throw new Error("doPrefetch not implemented"); 7447 }), 7448 (t.hovering = function (e) { 7449 this.loadPage(e); 7450 }), 7451 (t.getResourceURLsForPathname = function (e) { 7452 var t = Object(l.b)(e), 7453 n = this.pageDataDb.get(t); 7454 if (n) { 7455 var r = v(n.payload); 7456 return [].concat(a(y(r.page.componentChunkName)), [d(t)]); 7457 } 7458 return null; 7459 }), 7460 (t.isPageNotFound = function (e) { 7461 var t = Object(l.b)(e), 7462 n = this.pageDb.get(t); 7463 return !n || n.notFound; 7464 }), 7465 (t.loadAppData = function (e) { 7466 var t = this; 7467 return ( 7468 void 0 === e && (e = 0), 7469 this.memoizedGet("/page-data/app-data.json").then(function (n) { 7470 var r, 7471 o = n.status, 7472 a = n.responseText; 7473 if (200 !== o && e < 3) return t.loadAppData(e + 1); 7474 if (200 === o) 7475 try { 7476 var i = JSON.parse(a); 7477 if (void 0 === i.webpackCompilationHash) 7478 throw new Error("not a valid app-data response"); 7479 r = i; 7480 } catch (s) {} 7481 return r; 7482 }) 7483 ); 7484 }), 7485 e 7486 ); 7487 })(), 7488 y = function (e) { 7489 return (window.___chunkMapping[e] || []).map(function (e) { 7490 return "" + e; 7491 }); 7492 }, 7493 b = (function (e) { 7494 function t(t, n) { 7495 return ( 7496 e.call( 7497 this, 7498 function (e) { 7499 return t.components[e] 7500 ? t.components[e]() 7501 .then(f) 7502 .catch(function () { 7503 return null; 7504 }) 7505 : Promise.resolve(); 7506 }, 7507 n 7508 ) || this 7509 ); 7510 } 7511 Object(r.a)(t, e); 7512 var n = t.prototype; 7513 return ( 7514 (n.doPrefetch = function (e) { 7515 var t = this, 7516 n = d(e); 7517 return u(n, { crossOrigin: "anonymous", as: "fetch" }) 7518 .then(function () { 7519 return t.loadPageDataJson(e); 7520 }) 7521 .then(function (e) { 7522 if (e.status !== p.Success) return Promise.resolve(); 7523 var t = e.payload, 7524 n = t.componentChunkName, 7525 r = y(n); 7526 return Promise.all(r.map(u)).then(function () { 7527 return t; 7528 }); 7529 }); 7530 }), 7531 (n.loadPageDataJson = function (t) { 7532 return e.prototype.loadPageDataJson 7533 .call(this, t) 7534 .then(function (e) { 7535 return e.notFound 7536 ? h(t, "HEAD").then(function (t) { 7537 return 200 === t.status ? { status: p.Error } : e; 7538 }) 7539 : e; 7540 }); 7541 }), 7542 t 7543 ); 7544 })(m), 7545 w = function (e) { 7546 g = e; 7547 }, 7548 x = { 7549 getResourcesForPathname: function (e) { 7550 return ( 7551 console.warn( 7552 "Warning: getResourcesForPathname is deprecated. Use loadPage instead" 7553 ), 7554 g.i.loadPage(e) 7555 ); 7556 }, 7557 getResourcesForPathnameSync: function (e) { 7558 return ( 7559 console.warn( 7560 "Warning: getResourcesForPathnameSync is deprecated. Use loadPageSync instead" 7561 ), 7562 g.i.loadPageSync(e) 7563 ); 7564 }, 7565 enqueue: function (e) { 7566 return g.prefetch(e); 7567 }, 7568 getResourceURLsForPathname: function (e) { 7569 return g.getResourceURLsForPathname(e); 7570 }, 7571 loadPage: function (e) { 7572 return g.loadPage(e); 7573 }, 7574 loadPageSync: function (e) { 7575 return g.loadPageSync(e); 7576 }, 7577 prefetch: function (e) { 7578 return g.prefetch(e); 7579 }, 7580 isPageNotFound: function (e) { 7581 return g.isPageNotFound(e); 7582 }, 7583 hovering: function (e) { 7584 return g.hovering(e); 7585 }, 7586 loadAppData: function () { 7587 return g.loadAppData(); 7588 }, 7589 }; 7590 t.default = x; 7591 function k() { 7592 return g.staticQueryDb; 7593 } 7594 }, 7595 ewvW: function (e, t, n) { 7596 var r = n("HYAF"); 7597 e.exports = function (e) { 7598 return Object(r(e)); 7599 }; 7600 }, 7601 f5p1: function (e, t, n) { 7602 var r = n("2oRo"), 7603 o = n("iSVu"), 7604 a = r.WeakMap; 7605 e.exports = "function" == typeof a && /native code/.test(o(a)); 7606 }, 7607 fRmH: function (e, t) { 7608 (e.exports = function () { 7609 throw new TypeError(
7610 "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." 7611 ); 7612 }), 7613 (e.exports.__esModule = !0), 7614 (e.exports.default = e.exports); 7615 }, 7616 "g6v/": function (e, t, n) { 7617 var r = n("0Dky"); 7618 e.exports = !r(function () { 7619 return ( 7620 7 != 7621 Object.defineProperty({}, 1, { 7622 get: function () { 7623 return 7; 7624 }, 7625 })[1] 7626 ); 7627 }); 7628 }, 7629 gUOe: function (e, t, n) { 7630 "use strict"; 7631 function r(e, t) { 7632 return (r = 7633 Object.setPrototypeOf || 7634 function (e, t) { 7635 return (e.__proto__ = t), e; 7636 })(e, t); 7637 } 7638 n.d(t, "a", function () { 7639 return r; 7640 }); 7641 }, 7642 glrk: function (e, t, n) { 7643 var r = n("hh1v"); 7644 e.exports = function (e) { 7645 if (!r(e)) throw TypeError(String(e) + " is not an object"); 7646 return e; 7647 }; 7648 }, 7649 hBhu: function (e, t) { 7650 (t.linear = function (e) { 7651 return e; 7652 }), 7653 (t.inQuad = function (e) { 7654 return e * e; 7655 }), 7656 (t.outQuad = function (e) { 7657 return e * (2 - e); 7658 }), 7659 (t.inOutQuad = function (e) { 7660 return (e *= 2) < 1 ? 0.5 * e * e : -0.5 * (--e * (e - 2) - 1); 7661 }), 7662 (t.inCube = function (e) { 7663 return e * e * e; 7664 }), 7665 (t.outCube = function (e) { 7666 return --e * e * e + 1; 7667 }), 7668 (t.inOutCube = function (e) { 7669 return (e *= 2) < 1 ? 0.5 * e * e * e : 0.5 * ((e -= 2) * e * e + 2); 7670 }), 7671 (t.inQuart = function (e) { 7672 return e * e * e * e; 7673 }), 7674 (t.outQuart = function (e) { 7675 return 1 - --e * e * e * e; 7676 }), 7677 (t.inOutQuart = function (e) { 7678 return (e *= 2) < 1 7679 ? 0.5 * e * e * e * e 7680 : -0.5 * ((e -= 2) * e * e * e - 2); 7681 }), 7682 (t.inQuint = function (e) { 7683 return e * e * e * e * e; 7684 }), 7685 (t.outQuint = function (e) { 7686 return --e * e * e * e * e + 1; 7687 }), 7688 (t.inOutQuint = function (e) { 7689 return (e *= 2) < 1 7690 ? 0.5 * e * e * e * e * e 7691 : 0.5 * ((e -= 2) * e * e * e * e + 2); 7692 }), 7693 (t.inSine = function (e) { 7694 return 1 - Math.cos((e * Math.PI) / 2); 7695 }), 7696 (t.outSine = function (e) { 7697 return Math.sin((e * Math.PI) / 2); 7698 }), 7699 (t.inOutSine = function (e) { 7700 return 0.5 * (1 - Math.cos(Math.PI * e)); 7701 }), 7702 (t.inExpo = function (e) { 7703 return 0 == e ? 0 : Math.pow(1024, e - 1); 7704 }), 7705 (t.outExpo = function (e) { 7706 return 1 == e ? e : 1 - Math.pow(2, -10 * e); 7707 }), 7708 (t.inOutExpo = function (e) { 7709 return 0 == e 7710 ? 0 7711 : 1 == e 7712 ? 1 7713 : (e *= 2) < 1 7714 ? 0.5 * Math.pow(1024, e - 1) 7715 : 0.5 * (2 - Math.pow(2, -10 * (e - 1))); 7716 }), 7717 (t.inCirc = function (e) { 7718 return 1 - Math.sqrt(1 - e * e); 7719 }), 7720 (t.outCirc = function (e) { 7721 return Math.sqrt(1 - --e * e); 7722 }), 7723 (t.inOutCirc = function (e) { 7724 return (e *= 2) < 1 7725 ? -0.5 * (Math.sqrt(1 - e * e) - 1) 7726 : 0.5 * (Math.sqrt(1 - (e -= 2) * e) + 1); 7727 }), 7728 (t.inBack = function (e) { 7729 var t = 1.70158; 7730 return e * e * ((t + 1) * e - t); 7731 }), 7732 (t.outBack = function (e) { 7733 var t = 1.70158; 7734 return --e * e * ((t + 1) * e + t) + 1; 7735 }), 7736 (t.inOutBack = function (e) { 7737 var t = 2.5949095; 7738 return (e *= 2) < 1 7739 ? e * e * ((t + 1) * e - t) * 0.5 7740 : 0.5 * ((e -= 2) * e * ((t + 1) * e + t) + 2); 7741 }), 7742 (t.inBounce = function (e) { 7743 return 1 - t.outBounce(1 - e); 7744 }), 7745 (t.outBounce = function (e) { 7746 return e < 1 / 2.75 7747 ? 7.5625 * e * e 7748 : e < 2 / 2.75 7749 ? 7.5625 * (e -= 1.5 / 2.75) * e + 0.75 7750 : e < 2.5 / 2.75 7751 ? 7.5625 * (e -= 2.25 / 2.75) * e + 0.9375 7752 : 7.5625 * (e -= 2.625 / 2.75) * e + 0.984375; 7753 }), 7754 (t.inOutBounce = function (e) { 7755 return e < 0.5 7756 ? 0.5 * t.inBounce(2 * e) 7757 : 0.5 * t.outBounce(2 * e - 1) + 0.5; 7758 }), 7759 (t.inElastic = function (e) { 7760 var t, 7761 n = 0.1; 7762 return 0 === e 7763 ? 0 7764 : 1 === e 7765 ? 1 7766 : (!n || n < 1 7767 ? ((n = 1), (t = 0.1)) 7768 : (t = (0.4 * Math.asin(1 / n)) / (2 * Math.PI)), 7769 -n * 7770 Math.pow(2, 10 * (e -= 1)) * 7771 Math.sin(((e - t) * (2 * Math.PI)) / 0.4)); 7772 }), 7773 (t.outElastic = function (e) { 7774 var t, 7775 n = 0.1; 7776 return 0 === e 7777 ? 0 7778 : 1 === e 7779 ? 1 7780 : (!n || n < 1 7781 ? ((n = 1), (t = 0.1)) 7782 : (t = (0.4 * Math.asin(1 / n)) / (2 * Math.PI)), 7783 n * 7784 Math.pow(2, -10 * e) * 7785 Math.sin(((e - t) * (2 * Math.PI)) / 0.4) + 7786 1); 7787 }), 7788 (t.inOutElastic = function (e) { 7789 var t, 7790 n = 0.1, 7791 r = 0.4; 7792 return 0 === e 7793 ? 0 7794 : 1 === e 7795 ? 1 7796 : (!n || n < 1 7797 ? ((n = 1), (t = 0.1)) 7798 : (t = (r * Math.asin(1 / n)) / (2 * Math.PI)), 7799 (e *= 2) < 1 7800 ? n * 7801 Math.pow(2, 10 * (e -= 1)) * 7802 Math.sin(((e - t) * (2 * Math.PI)) / r) * 7803 -0.5 7804 : n * 7805 Math.pow(2, -10 * (e -= 1)) * 7806 Math.sin(((e - t) * (2 * Math.PI)) / r) * 7807 0.5 + 7808 1); 7809 }), 7810 (t["in-quad"] = t.inQuad), 7811 (t["out-quad"] = t.outQuad), 7812 (t["in-out-quad"] = t.inOutQuad), 7813 (t["in-cube"] = t.inCube), 7814 (t["out-cube"] = t.outCube), 7815 (t["in-out-cube"] = t.inOutCube), 7816 (t["in-quart"] = t.inQuart), 7817 (t["out-quart"] = t.outQuart), 7818 (t["in-out-quart"] = t.inOutQuart), 7819 (t["in-quint"] = t.inQuint), 7820 (t["out-quint"] = t.outQuint), 7821 (t["in-out-quint"] = t.inOutQuint), 7822 (t["in-sine"] = t.inSine), 7823 (t["out-sine"] = t.outSine), 7824 (t["in-out-sine"] = t.inOutSine), 7825 (t["in-expo"] = t.inExpo), 7826 (t["out-expo"] = t.outExpo), 7827 (t["in-out-expo"] = t.inOutExpo), 7828 (t["in-circ"] = t.inCirc), 7829 (t["out-circ"] = t.outCirc), 7830 (t["in-out-circ"] = t.inOutCirc), 7831 (t["in-back"] = t.inBack), 7832 (t["out-back"] = t.outBack), 7833 (t["in-out-back"] = t.inOutBack), 7834 (t["in-bounce"] = t.inBounce), 7835 (t["out-bounce"] = t.outBounce), 7836 (t["in-out-bounce"] = t.inOutBounce),
7837 (t["in-elastic"] = t.inElastic), 7838 (t["out-elastic"] = t.outElastic), 7839 (t["in-out-elastic"] = t.inOutElastic); 7840 }, 7841 hMe3: function (e, t) { 7842 (e.exports = function (e, t) { 7843 (null == t || t > e.length) && (t = e.length); 7844 for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n]; 7845 return r; 7846 }), 7847 (e.exports.__esModule = !0), 7848 (e.exports.default = e.exports); 7849 }, 7850 hd9s: function (e, t, n) { 7851 "use strict"; 7852 var r = n("jGDn"), 7853 o = n("5NKs"); 7854 (t.__esModule = !0), (t.ScrollContainer = void 0); 7855 var a = o(n("j8BX")), 7856 i = o(n("XEEL")), 7857 s = r(n("FdF9")), 7858 u = o(n("FdF9")), 7859 c = o(n("17x9")), 7860 l = n("Enzk"), 7861 p = n("YwZP"), 7862 f = { 7863 scrollKey: c.default.string.isRequired, 7864 shouldUpdateScroll: c.default.func, 7865 children: c.default.element.isRequired, 7866 }, 7867 d = (function (e) { 7868 function t(t) { 7869 return e.call(this, t) || this; 7870 } 7871 (0, i.default)(t, e); 7872 var n = t.prototype; 7873 return ( 7874 (n.componentDidMount = function () { 7875 var e = this, 7876 t = u.default.findDOMNode(this), 7877 n = this.props, 7878 r = n.location, 7879 o = n.scrollKey; 7880 if (t) { 7881 t.addEventListener("scroll", function () { 7882 e.props.context.save(r, o, t.scrollTop); 7883 }); 7884 var a = this.props.context.read(r, o); 7885 t.scrollTo(0, a || 0); 7886 } 7887 }), 7888 (n.render = function () { 7889 return this.props.children; 7890 }), 7891 t 7892 ); 7893 })(s.Component), 7894 h = function (e) { 7895 return s.createElement(p.Location, null, function (t) { 7896 var n = t.location; 7897 return s.createElement( 7898 l.ScrollContext.Consumer, 7899 null, 7900 function (t) { 7901 return s.createElement( 7902 d, 7903 (0, a.default)({}, e, { context: t, location: n }) 7904 ); 7905 } 7906 ); 7907 }); 7908 }; 7909 (t.ScrollContainer = h), (h.propTypes = f); 7910 }, 7911 hh1v: function (e, t) { 7912 e.exports = function (e) { 7913 return "object" == typeof e ? null !== e : "function" == typeof e; 7914 }; 7915 }, 7916 iSVu: function (e, t, n) { 7917 var r = n("xs3f"), 7918 o = Function.toString; 7919 "function" != typeof r.inspectSource && 7920 (r.inspectSource = function (e) { 7921 return o.call(e); 7922 }), 7923 (e.exports = r.inspectSource); 7924 }, 7925 iVcG: function (e, t, n) { 7926 "use strict"; 7927 t.onClientEntry = function () { 7928 0; 7929 }; 7930 }, 7931 j8BX: function (e, t) { 7932 function n() { 7933 return ( 7934 (e.exports = n = 7935 Object.assign || 7936 function (e) { 7937 for (var t = 1; t < arguments.length; t++) { 7938 var n = arguments[t]; 7939 for (var r in n) 7940 Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]); 7941 } 7942 return e; 7943 }), 7944 (e.exports.__esModule = !0), 7945 (e.exports.default = e.exports), 7946 n.apply(this, arguments) 7947 ); 7948 } 7949 (e.exports = n), 7950 (e.exports.__esModule = !0), 7951 (e.exports.default = e.exports); 7952 }, 7953 jGDn: function (e, t, n) { 7954 var r = n("cjBy").default; 7955 function o(e) { 7956 if ("function" != typeof WeakMap) return null; 7957 var t = new WeakMap(), 7958 n = new WeakMap(); 7959 return (o = function (e) { 7960 return e ? n : t; 7961 })(e); 7962 } 7963 (e.exports = function (e, t) { 7964 if (!t && e && e.__esModule) return e; 7965 if (null === e || ("object" !== r(e) && "function" != typeof e)) 7966 return { default: e }; 7967 var n = o(t); 7968 if (n && n.has(e)) return n.get(e); 7969 var a = {}, 7970 i = Object.defineProperty && Object.getOwnPropertyDescriptor; 7971 for (var s in e)
7972 if ("default" !== s && Object.prototype.hasOwnProperty.call(e, s)) { 7973 var u = i ? Object.getOwnPropertyDescriptor(e, s) : null; 7974 u && (u.get || u.set) 7975 ? Object.defineProperty(a, s, u) 7976 : (a[s] = e[s]); 7977 } 7978 return (a.default = e), n && n.set(e, a), a; 7979 }), 7980 (e.exports.__esModule = !0), 7981 (e.exports.default = e.exports); 7982 }, 7983 kD0k: function (e, t, n) { 7984 e.exports = n("ls82"); 7985 }, 7986 kOOl: function (e, t) { 7987 var n = 0, 7988 r = Math.random(); 7989 e.exports = function (e) { 7990 return ( 7991 "Symbol(" + 7992 String(void 0 === e ? "" : e) + 7993 ")_" + 7994 (++n + r).toString(36) 7995 ); 7996 }; 7997 }, 7998 kRJp: function (e, t, n) { 7999 var r = n("g6v/"), 8000 o = n("m/L8"), 8001 a = n("XGwC"); 8002 e.exports = r 8003 ? function (e, t, n) { 8004 return o.f(e, t, a(1, n)); 8005 } 8006 : function (e, t, n) { 8007 return (e[t] = n), e; 8008 }; 8009 }, 8010 lFqo: function (e, t) { 8011 function n(e, t) { 8012 for (var n = 0; n < t.length; n++) { 8013 var r = t[n]; 8014 (r.enumerable = r.enumerable || !1), 8015 (r.configurable = !0), 8016 "value" in r && (r.writable = !0), 8017 Object.defineProperty(e, r.key, r); 8018 } 8019 } 8020 (e.exports = function (e, t, r) { 8021 return ( 8022 t && n(e.prototype, t), 8023 r && n(e, r), 8024 Object.defineProperty(e, "prototype", { writable: !1 }), 8025 e 8026 ); 8027 }), 8028 (e.exports.__esModule = !0), 8029 (e.exports.default = e.exports); 8030 }, 8031 lMq5: function (e, t, n) { 8032 var r = n("0Dky"), 8033 o = /#|\.prototype\./, 8034 a = function (e, t) { 8035 var n = s[i(e)]; 8036 return n == c || (n != u && ("function" == typeof t ? r(t) : !!t)); 8037 }, 8038 i = (a.normalize = function (e) { 8039 return String(e).replace(o, ".").toLowerCase(); 8040 }), 8041 s = (a.data = {}), 8042 u = (a.NATIVE = "N"), 8043 c = (a.POLYFILL = "P"); 8044 e.exports = a; 8045 }, 8046 ls82: function (e, t, n) { 8047 var r = (function (e) { 8048 "use strict"; 8049 var t = Object.prototype, 8050 n = t.hasOwnProperty, 8051 r = "function" == typeof Symbol ? Symbol : {}, 8052 o = r.iterator || "@@iterator", 8053 a = r.asyncIterator || "@@asyncIterator", 8054 i = r.toStringTag || "@@toStringTag"; 8055 function s(e, t, n) { 8056 return ( 8057 Object.defineProperty(e, t, { 8058 value: n, 8059 enumerable: !0, 8060 configurable: !0, 8061 writable: !0, 8062 }), 8063 e[t] 8064 ); 8065 } 8066 try { 8067 s({}, ""); 8068 } catch (E) { 8069 s = function (e, t, n) { 8070 return (e[t] = n); 8071 }; 8072 } 8073 function u(e, t, n, r) { 8074 var o = t && t.prototype instanceof p ? t : p, 8075 a = Object.create(o.prototype), 8076 i = new S(r || []); 8077 return ( 8078 (a._invoke = (function (e, t, n) { 8079 var r = "suspendedStart"; 8080 return function (o, a) { 8081 if ("executing" === r) 8082 throw new Error("Generator is already running"); 8083 if ("completed" === r) { 8084 if ("throw" === o) throw a; 8085 return P(); 8086 } 8087 for (n.method = o, n.arg = a; ; ) { 8088 var i = n.delegate; 8089 if (i) { 8090 var s = w(i, n); 8091 if (s) { 8092 if (s === l) continue; 8093 return s; 8094 } 8095 } 8096 if ("next" === n.method) n.sent = n._sent = n.arg; 8097 else if ("throw" === n.method) { 8098 if ("suspendedStart" === r) 8099 throw ((r = "completed"), n.arg); 8100 n.dispatchException(n.arg); 8101 } else "return" === n.method && n.abrupt("return", n.arg); 8102 r = "executing"; 8103 var u = c(e, t, n); 8104 if ("normal" === u.type) { 8105 if ( 8106 ((r = n.done ? "completed" : "suspendedYield"), 8107 u.arg === l) 8108 ) 8109 continue; 8110 return { value: u.arg, done: n.done }; 8111 } 8112 "throw" === u.type && 8113 ((r = "completed"), (n.method = "throw"), (n.arg = u.arg)); 8114 } 8115 }; 8116 })(e, n, i)), 8117 a 8118 ); 8119 } 8120 function c(e, t, n) { 8121 try { 8122 return { type: "normal", arg: e.call(t, n) }; 8123 } catch (E) { 8124 return { type: "throw", arg: E }; 8125 } 8126 }
8127 e.wrap = u; 8128 var l = {}; 8129 function p() {} 8130 function f() {} 8131 function d() {} 8132 var h = {}; 8133 s(h, o, function () { 8134 return this; 8135 }); 8136 var g = Object.getPrototypeOf, 8137 v = g && g(g(O([]))); 8138 v && v !== t && n.call(v, o) && (h = v); 8139 var m = (d.prototype = p.prototype = Object.create(h)); 8140 function y(e) { 8141 ["next", "throw", "return"].forEach(function (t) { 8142 s(e, t, function (e) { 8143 return this._invoke(t, e); 8144 }); 8145 }); 8146 } 8147 function b(e, t) { 8148 var r; 8149 this._invoke = function (o, a) { 8150 function i() { 8151 return new t(function (r, i) { 8152 !(function r(o, a, i, s) { 8153 var u = c(e[o], e, a); 8154 if ("throw" !== u.type) { 8155 var l = u.arg, 8156 p = l.value; 8157 return p && "object" == typeof p && n.call(p, "__await") 8158 ? t.resolve(p.__await).then( 8159 function (e) { 8160 r("next", e, i, s); 8161 }, 8162 function (e) { 8163 r("throw", e, i, s); 8164 } 8165 ) 8166 : t.resolve(p).then( 8167 function (e) { 8168 (l.value = e), i(l); 8169 }, 8170 function (e) { 8171 return r("throw", e, i, s); 8172 } 8173 ); 8174 } 8175 s(u.arg); 8176 })(o, a, r, i); 8177 }); 8178 } 8179 return (r = r ? r.then(i, i) : i()); 8180 }; 8181 } 8182 function w(e, t) { 8183 var n = e.iterator[t.method]; 8184 if (void 0 === n) { 8185 if (((t.delegate = null), "throw" === t.method)) { 8186 if ( 8187 e.iterator.return && 8188 ((t.method = "return"), 8189 (t.arg = void 0), 8190 w(e, t), 8191 "throw" === t.method) 8192 ) 8193 return l; 8194 (t.method = "throw"), 8195 (t.arg = new TypeError( 8196 "The iterator does not provide a 'throw' method" 8197 )); 8198 } 8199 return l; 8200 } 8201 var r = c(n, e.iterator, t.arg); 8202 if ("throw" === r.type) 8203 return ( 8204 (t.method = "throw"), (t.arg = r.arg), (t.delegate = null), l 8205 ); 8206 var o = r.arg; 8207 return o 8208 ? o.done 8209 ? ((t[e.resultName] = o.value), 8210 (t.next = e.nextLoc), 8211 "return" !== t.method && 8212 ((t.method = "next"), (t.arg = void 0)), 8213 (t.delegate = null), 8214 l) 8215 : o 8216 : ((t.method = "throw"), 8217 (t.arg = new TypeError("iterator result is not an object")), 8218 (t.delegate = null), 8219 l); 8220 } 8221 function x(e) { 8222 var t = { tryLoc: e[0] }; 8223 1 in e && (t.catchLoc = e[1]), 8224 2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])), 8225 this.tryEntries.push(t); 8226 } 8227 function k(e) { 8228 var t = e.completion || {}; 8229 (t.type = "normal"), delete t.arg, (e.completion = t); 8230 } 8231 function S(e) { 8232 (this.tryEntries = [{ tryLoc: "root" }]), 8233 e.forEach(x, this), 8234 this.reset(!0); 8235 } 8236 function O(e) { 8237 if (e) { 8238 var t = e[o]; 8239 if (t) return t.call(e); 8240 if ("function" == typeof e.next) return e; 8241 if (!isNaN(e.length)) { 8242 var r = -1, 8243 a = function t() { 8244 for (; ++r < e.length; ) 8245 if (n.call(e, r)) return (t.value = e[r]), (t.done = !1), t; 8246 return (t.value = void 0), (t.done = !0), t; 8247 }; 8248 return (a.next = a); 8249 } 8250 } 8251 return { next: P }; 8252 } 8253 function P() { 8254 return { value: void 0, done: !0 }; 8255 } 8256 return ( 8257 (f.prototype = d), 8258 s(m, "constructor", d), 8259 s(d, "constructor", f), 8260 (f.displayName = s(d, i, "GeneratorFunction")), 8261 (e.isGeneratorFunction = function (e) { 8262 var t = "function" == typeof e && e.constructor; 8263 return ( 8264 !!t && 8265 (t === f || "GeneratorFunction" === (t.displayName || t.name)) 8266 ); 8267 }), 8268 (e.mark = function (e) { 8269 return ( 8270 Object.setPrototypeOf 8271 ? Object.setPrototypeOf(e, d) 8272 : ((e.__proto__ = d), s(e, i, "GeneratorFunction")), 8273 (e.prototype = Object.create(m)), 8274 e 8275 ); 8276 }), 8277 (e.awrap = function (e) { 8278 return { __await: e }; 8279 }), 8280 y(b.prototype), 8281 s(b.prototype, a, function () { 8282 return this; 8283 }), 8284 (e.AsyncIterator = b), 8285 (e.async = function (t, n, r, o, a) { 8286 void 0 === a && (a = Promise); 8287 var i = new b(u(t, n, r, o), a); 8288 return e.isGeneratorFunction(n) 8289 ? i 8290 : i.next().then(function (e) { 8291 return e.done ? e.value : i.next(); 8292 }); 8293 }), 8294 y(m), 8295 s(m, i, "Generator"), 8296 s(m, o, function () { 8297 return this; 8298 }), 8299 s(m, "toString", function () { 8300 return "[object Generator]"; 8301 }), 8302 (e.keys = function (e) { 8303 var t = []; 8304 for (var n in e) t.push(n); 8305 return ( 8306 t.reverse(), 8307 function n() { 8308 for (; t.length; ) { 8309 var r = t.pop(); 8310 if (r in e) return (n.value = r), (n.done = !1), n; 8311 } 8312 return (n.done = !0), n; 8313 } 8314 ); 8315 }), 8316 (e.values = O), 8317 (S.prototype = { 8318 constructor: S, 8319 reset: function (e) { 8320 if ( 8321 ((this.prev = 0), 8322 (this.next = 0), 8323 (this.sent = this._sent = void 0), 8324 (this.done = !1), 8325 (this.delegate = null),
8326 (this.method = "next"), 8327 (this.arg = void 0), 8328 this.tryEntries.forEach(k), 8329 !e) 8330 ) 8331 for (var t in this) 8332 "t" === t.charAt(0) && 8333 n.call(this, t) && 8334 !isNaN(+t.slice(1)) && 8335 (this[t] = void 0); 8336 }, 8337 stop: function () { 8338 this.done = !0; 8339 var e = this.tryEntries[0].completion; 8340 if ("throw" === e.type) throw e.arg; 8341 return this.rval; 8342 }, 8343 dispatchException: function (e) { 8344 if (this.done) throw e; 8345 var t = this; 8346 function r(n, r) { 8347 return ( 8348 (i.type = "throw"), 8349 (i.arg = e), 8350 (t.next = n), 8351 r && ((t.method = "next"), (t.arg = void 0)), 8352 !!r 8353 ); 8354 } 8355 for (var o = this.tryEntries.length - 1; o >= 0; --o) { 8356 var a = this.tryEntries[o], 8357 i = a.completion; 8358 if ("root" === a.tryLoc) return r("end"); 8359 if (a.tryLoc <= this.prev) { 8360 var s = n.call(a, "catchLoc"), 8361 u = n.call(a, "finallyLoc"); 8362 if (s && u) { 8363 if (this.prev < a.catchLoc) return r(a.catchLoc, !0); 8364 if (this.prev < a.finallyLoc) return r(a.finallyLoc); 8365 } else if (s) { 8366 if (this.prev < a.catchLoc) return r(a.catchLoc, !0); 8367 } else { 8368 if (!u) 8369 throw new Error("try statement without catch or finally"); 8370 if (this.prev < a.finallyLoc) return r(a.finallyLoc); 8371 } 8372 } 8373 } 8374 }, 8375 abrupt: function (e, t) { 8376 for (var r = this.tryEntries.length - 1; r >= 0; --r) { 8377 var o = this.tryEntries[r]; 8378 if ( 8379 o.tryLoc <= this.prev && 8380 n.call(o, "finallyLoc") && 8381 this.prev < o.finallyLoc 8382 ) { 8383 var a = o; 8384 break; 8385 } 8386 } 8387 a && 8388 ("break" === e || "continue" === e) && 8389 a.tryLoc <= t && 8390 t <= a.finallyLoc && 8391 (a = null); 8392 var i = a ? a.completion : {}; 8393 return ( 8394 (i.type = e), 8395 (i.arg = t), 8396 a 8397 ? ((this.method = "next"), (this.next = a.finallyLoc), l) 8398 : this.complete(i) 8399 ); 8400 }, 8401 complete: function (e, t) { 8402 if ("throw" === e.type) throw e.arg; 8403 return ( 8404 "break" === e.type || "continue" === e.type 8405 ? (this.next = e.arg) 8406 : "return" === e.type 8407 ? ((this.rval = this.arg = e.arg), 8408 (this.method = "return"), 8409 (this.next = "end")) 8410 : "normal" === e.type && t && (this.next = t), 8411 l 8412 ); 8413 }, 8414 finish: function (e) { 8415 for (var t = this.tryEntries.length - 1; t >= 0; --t) { 8416 var n = this.tryEntries[t]; 8417 if (n.finallyLoc === e) 8418 return this.complete(n.completion, n.afterLoc), k(n), l; 8419 } 8420 }, 8421 catch: function (e) { 8422 for (var t = this.tryEntries.length - 1; t >= 0; --t) { 8423 var n = this.tryEntries[t]; 8424 if (n.tryLoc === e) { 8425 var r = n.completion; 8426 if ("throw" === r.type) { 8427 var o = r.arg; 8428 k(n); 8429 } 8430 return o; 8431 } 8432 } 8433 throw new Error("illegal catch attempt"); 8434 }, 8435 delegateYield: function (e, t, n) { 8436 return ( 8437 (this.delegate = { iterator: O(e), resultName: t, nextLoc: n }), 8438 "next" === this.method && (this.arg = void 0), 8439 l 8440 ); 8441 }, 8442 }), 8443 e 8444 ); 8445 })(e.exports);
8446 try { 8447 regeneratorRuntime = r; 8448 } catch (o) { 8449 "object" == typeof globalThis 8450 ? (globalThis.regeneratorRuntime = r) 8451 : Function("r", "regeneratorRuntime = r")(r); 8452 } 8453 }, 8454 lw3w: function (e, t, n) { 8455 var r; 8456 e.exports = ((r = n("rzlk")) && r.default) || r; 8457 }, 8458 "m/L8": function (e, t, n) { 8459 var r = n("g6v/"), 8460 o = n("DPsx"), 8461 a = n("glrk"), 8462 i = n("wE6v"), 8463 s = Object.defineProperty; 8464 t.f = r 8465 ? s 8466 : function (e, t, n) { 8467 if ((a(e), (t = i(t, !0)), a(n), o)) 8468 try { 8469 return s(e, t, n); 8470 } catch (r) {} 8471 if ("get" in n || "set" in n) 8472 throw TypeError("Accessors not supported"); 8473 return "value" in n && (e[t] = n.value), e; 8474 }; 8475 }, 8476 npZl: function (e, t, n) { 8477 "use strict"; 8478 var r = n("5NKs"); 8479 n("Wbzz"), r(n("9hXx")); 8480 }, 8481 nqlD: function (e, t, n) { 8482 var r = n("FdF9").createContext; 8483 (e.exports = r), (e.exports.default = r); 8484 }, 8485 phZJ: function (e, t) { 8486 (e.exports = function (e, t) { 8487 if (!(e instanceof t)) 8488 throw new TypeError("Cannot call a class as a function"); 8489 }), 8490 (e.exports.__esModule = !0), 8491 (e.exports.default = e.exports); 8492 }, 8493 pkCn: function (e, t, n) { 8494 "use strict"; 8495 var r = n("0Dky"); 8496 e.exports = function (e, t) { 8497 var n = [][e]; 8498 return ( 8499 !!n && 8500 r(function () { 8501 n.call( 8502 null, 8503 t || 8504 function () { 8505 throw 1; 8506 }, 8507 1 8508 ); 8509 }) 8510 ); 8511 }; 8512 }, 8513 ppGB: function (e, t) { 8514 var n = Math.ceil, 8515 r = Math.floor; 8516 e.exports = function (e) { 8517 return isNaN((e = +e)) ? 0 : (e > 0 ? r : n)(e); 8518 }; 8519 }, 8520 q4sD: function (e, t, n) {}, 8521 rMck: function (e, t, n) {}, 8522 rkAj: function (e, t, n) { 8523 var r = n("g6v/"), 8524 o = n("0Dky"), 8525 a = n("UTVS"), 8526 i = Object.defineProperty, 8527 s = {}, 8528 u = function (e) { 8529 throw e; 8530 }; 8531 e.exports = function (e, t) { 8532 if (a(s, e)) return s[e]; 8533 t || (t = {}); 8534 var n = [][e], 8535 c = !!a(t, "ACCESSORS") && t.ACCESSORS, 8536 l = a(t, 0) ? t[0] : u, 8537 p = a(t, 1) ? t[1] : void 0; 8538 return (s[e] = 8539 !!n && 8540 !o(function () { 8541 if (c && !r) return !0; 8542 var e = { length: -1 }; 8543 c ? i(e, 1, { enumerable: !0, get: u }) : (e[1] = 1), 8544 n.call(e, l, p); 8545 })); 8546 }; 8547 }, 8548 rzlk: function (e, t, n) { 8549 "use strict"; 8550 n.r(t); 8551 var r = n("FdF9"), 8552 o = n("emEt"), 8553 a = n("IOVJ"); 8554 t.default = function (e) { 8555 var t = e.location, 8556 n = o.default.loadPageSync(t.pathname); 8557 return n 8558 ? r.default.createElement( 8559 a.a, 8560 Object.assign({ location: t, pageResources: n }, n.json) 8561 ) 8562 : null; 8563 }; 8564 }, 8565 tGry: function (e, t, n) { 8566 var r = n("/bCh"), 8567 o = n("vrXE"), 8568 a = n("dQcQ"), 8569 i = n("fRmH"); 8570 (e.exports = function (e, t) { 8571 return r(e) || o(e, t) || a(e, t) || i(); 8572 }), 8573 (e.exports.__esModule = !0), 8574 (e.exports.default = e.exports); 8575 }, 8576 uDP2: function (e, t) { 8577 (e.exports = function (e, t) { 8578 if (null == e) return {}; 8579 var n, 8580 r, 8581 o = {}, 8582 a = Object.keys(e); 8583 for (r = 0; r < a.length; r++) 8584 (n = a[r]), t.indexOf(n) >= 0 || (o[n] = e[n]); 8585 return o; 8586 }), 8587 (e.exports.__esModule = !0), 8588 (e.exports.default = e.exports); 8589 }, 8590 v06X: function (e, t) { 8591 (e.exports = function (e) { 8592 if (void 0 === e) 8593 throw new ReferenceError( 8594 "this hasn't been initialised - super() hasn't been called" 8595 ); 8596 return e; 8597 }), 8598 (e.exports.__esModule = !0), 8599 (e.exports.default = e.exports); 8600 }, 8601 vNGc: function (e) { 8602 e.exports = JSON.parse( 8603 '{"image":{"alt":"Ecomaxx"},"header":[{"text":"Ayuda","url":"/help/"},{"text":"Preguntas frecuentes","url":"/help/#faq"}],"footer":{"text":"© 2020 Alias Payments, Inc. all rights reserved","items":[{"text":"PolÃtica de privacidad","url":"/privacidad/"},{"text":"Términos y condiciones","url":"/terminos/"},{"text":"Bug bounty program","url":"https://www.gasolinamovil.com/security/"},{"text":"Modificar Preferencias de Cookies","url":"#","className":"btn-cookie-choices"}]},"pages":{"404":{"title":"Ecomaxx â Error 404 - Página no encontrada.","hero":{"title":"Error 404","subtitle":"Página no encontrada","text":"Lo sentimos, no hemos podido encontrar la página que buscas."}},"home":{"hero":{"title":"El más alto estándar de limpieza en tu motor.","text":"Paga la gasolina usando tu smartphone. Baja el app gratis para iPhone o Android."},"features":[{"image":"slide1","title":"Rápido","text":"Ya no tendrás que hacer fila. Simplemente abre la aplicación escanea el código de la bomba de gasolina, escoge una cantidad y llena el tanque."},{"image":"slide2","title":"Fácil","text":"Con estaciones alrededor de la Isla, siempre podrás pagar con sólo tres clicks. Es tan fácil que será más conveniente echar gasolina y diesel."},{"image":"slide3","title":"Seguro","text":"Nuestro sistema usa el mismo nivel de encripción que usan los bancos y otros servicios electrónicos de alta seguridad. Tu información siempre estará segura."}],"video":{"title":"Aprende a usar Ecomaxx en 1 minuto","url":"https://www.youtube.com/embed/oReQXVWIFjY?rel=0&showinfo=0"},"faqs":{"title":"Preguntas frecuentes","items":[{"title":"¿Qué es Ecomaxx App?","answer":"Ecomaxx es un app para teléfonos inteligentes que permite a los consumidores pagar la gasolina sin tener que bajarse de su auto y sin tener que hacer filas. El app es gratis y está disponible para dispositivos Android y iPhone."},{"title":"¿Qué sucede si pago una cantidad de dinero y se llena el tanque con una cantidad menor?","answer":"En ese caso nuestro sistema hace un crédito automáticamente. El cambio se entregará en la forma de un crédito a la tarjeta con la que pagó.<br><br>Nuestro sistema procesa el crédito o ârefundâ inmediatamente y envÃa un correo electrónico para confirmar. Este crédito puede tardar de 5 a 10 dÃas laborables en verse reflejado en su estado de cuenta. La duración de este proceso es producto de cómo funcionan las instituciones financieras involucradas en la transacción y es algo que no controlamos. TomarÃa el mismo tiempo en cualquier establecimiento y con cualquier forma de pago que maneje tarjetas de crédito."},{"title":"¿Cuánto cuesta usar el servicio?","answer":"Ecomaxx es totalmente GRATIS para los consumidores. El app se puede descargar gratis y no hay ningún cargo por servicio. Usted paga el mismo precio que pagarÃa por la gasolina usando cualquier otra forma de pago. El precio de la gasolina con nuestro app es el mismo que aparece en el rótulo de la estación."},{"title":"¿Dónde encuentro respuestas a otras preguntas?","answer":"Tenemos mas respuestas a preguntas frecuentes en nuestra <1 href=\'/help/\'>página de ayuda</1>. Desde ahà también nos puedes contactar para preguntar cualquier cosa que quieras saber sobre el servicio y como funciona."}]}},"help":{"title":"Ecomaxx â Ayuda","contact":{"title":"¿Cómo te podemos ayudar?","text":"Presiona el botón de abajo para iniciar tu comunicación con uno de nuestros representantes de servicio.<br><br>También puedes escribir un email a <1 href=\'mailto:[email protected]\'>[email protected].<1>","buttonText":"Servicio al Cliente"},"questions":{"title":"Preguntas frecuentes","items":[{"title":"¿Qué es Ecomaxx?","answer":"Ecomaxx es un app para teléfonos inteligentes que permite a los consumidores pagar la gasolina sin tener que bajarse de su auto y sin tener que hacer filas. El app es gratis y está disponible para dispositivos Android y iPhone."},{"title":"¿Qué sucede si pago una cantidad de dinero y se llena el tanque con una cantidad menor?","answer":"En ese caso nuestro sistema hace un crédito automáticamente. El cambio se entregará en la forma de un crédito a la tarjeta con la que pagó.<br><br>Nuestro sistema procesa el crédito o ârefundâ inmediatamente y envÃa un correo electrónico para confirmar. Este crédito puede tardar de 5 a 10 dÃas laborables en verse reflejado en su estado de cuenta. La duración de este proceso es producto de cómo funcionan las instituciones financieras involucradas en la transacción y es algo que no controlamos. TomarÃa el mismo tiempo en cualquier establecimiento y con cualquier forma de pago que maneje tarjetas de crédito."},{"title":"¿Cuánto cuesta usar el servicio?","answer":"Ecomaxx es totalmente GRATIS para los consumidores. El app se puede descargar gratis y no hay ningún cargo por servicio. Usted paga el mismo precio que pagarÃa por la gasolina usando cualquier otra forma de pago. El precio de la gasolina con nuestro app es el mismo que aparece en el rótulo de la estación."},{"title":"¿Dónde encuentro respuestas a otras preguntas?","answer":"Tenemos mas respuestas a preguntas frecuentes en nuestra <1 href=\'/help/\'>página de ayuda</1>. Desde ahà también nos puedes contactar para preguntar cualquier cosa que quieras saber sobre el servicio y como funciona."},{"title":"¿Existe una âleyâ que prohÃba el uso de celulares en las estaciones de gasolina?","answer":"No existe ley federal, estatal o municipal que prohÃba el uso de celulares en estaciones de gasolina. Si existe referencia sobre la operación de la bomba de gasolina mientras se hace uso del celular (Carta Circular 2002). En esta Carta Circular el Cuerpo de Bomberos prohibÃa la operación de bombas de gasolina mientras se usa el teléfono celular e imponÃa una multa a quienes no cumplieran con este código. Sin embargo, esta regulación (no ley) dejó de estar en efe
8603cto unos años más tarde cuando se reemplazó el código."},{"title":"¿Cuál es la opinión del Cuerpo de Bomberos sobre la utilización de celulares en estaciones de gasolina?","answer":"Solicitamos una opinión al Cuerpo de Bomberos de Puerto Rico, quienes son los que determinan las reglas de seguridad en las estaciones, y nos dejaron saber que: âLa utilización de estos dispositivos no representa riesgo para las seguridad de las personas ni a la propiedadâ y que âel Cuerpo de Bomberos no se opone a la utilización de estos dispositivos en dichas facilidadesâ.<br><br>Ver opinión del <1 href=\'https://www.ecomaxx.com/documents/opinion-bomberos.png\' target=\'_blank\'>Cuerpo de Bomberos de Puerto Rico.</1>"},{"title":"¿Me pueden multar si uso el celular en la estación de gasolina?","answer":"No. De la evaluación legal que realizamos previo al lanzamiento de Ecomaxx se desprende que no hay ninguna ley local ni federal que incluya multa alguna por la utilización de dispositivos móviles en los garajes de gasolina. Por lo que no puedes puedes ser multado.<br><br>Quienes en el pasado imponian las multas (El Cuerpo de Bomberos) ya no lo hacen y se expresado de forma positiva sobre este proyecto."},{"title":"¿Cuáles son las estaciones participantes en Ecomaxx?","answer":"Puedes encontrar el listado actualizado de estaciones participantes en la aplicación. Estaremos añadiendo y publicando estaciones nuevas todas las semanas. En la aplicación también encontrarás el costo de la gasolina por estación y mapa para localizar la estación."},{"title":"¿Qué métodos de pago aceptan?","answer":"Aceptamos Visa, MasterCard, American Express y tarjetas de débito con el logo de Visa o MasterCard. También aceptamos pagos via ATH Móvil."},{"title":"¿Aceptan ATH?","answer":"No. La razón para no tener tarjetas de débito con PIN es porque el celular no es un dispositivo de entrada de PIN para efectos de las regulaciones de seguridad PCI. Puedes usar una tarjeta de débito que tenga logo de Visa o MasterCard y próximamente estaremos ofreciendo otros métodos de pago dentro de la aplicación."},{"title":"¿Aceptan tarjetas de Estados Unidos?","answer":"Si, se puede utilizar cualquier tarjeta que tenga logo Visa, MasterCard o American Express. También puedes pagar usando tu cuenta de ATH Móvil."},{"title":"¿Cuán seguro es utilizar Ecomaxx?","answer":"La seguridad para nosotros es una de las cosas más importantes. Toda la información de tarjetas de crédito se almacena en una bóveda electrónica que cumple con los estándares de seguridad PCI.<br><br>Todas las comunicaciones del app con nuestros servidores están cifradas usando SSL/TLS. El mismo nivel de seguridad que utilizan todos los bancos.<br><br>Incluso nuestro sistema no tiene acceso a ninguna información de tarjeta de crédito, esa información se transfiere de bóveda a bóveda sin nosotros poder verla. Nuestro sistema sólo guarda un núnero de referencia a las tarjetas que sólo sirve para pagar dentro de la aplicación y sólo cuando el usuario nos autoriza."},{"title":"¿Mi información está segura en Ecomaxx?","answer":"Si, tu información está segura. Utilizamos el mismo nivel de seguridad que utilizan todos los bancos. Toda la información de tarjetas de crédito se almacena en una bóveda electrónica que cumple con los estándares de seguridad PCI. Además Ecomaxx cuenta con PIN Number y Apple TouchID para autorizar todas las compras. Esto te protege ante un robo de tu teléfono."},{"title":"¿Puedo usar Apple TouchID en Ecomaxx?","answer":"Si, nuestra aplicación está habilitada para funcionar con Apple TouchId."},{"title":"¿Le aplica algún impuesto a mi compra de gasolina?","answer":"La gasolina tiene los impuesto incluidos en el precio que aparece en el rótulo de la estación. No aplica ningún cargo adicional por transacción para los consumidores."},{"title":"¿La gasolina paga IVU?","answer":"No. La gasolina no paga IVU y por lo tanto no lo cobramos. Sin embargo, es un requisito de ley emitir un boleto de IVU Loto para cada transacción. En resumen no hay ningún cargo adicional por usar Ecomaxx. Pagas el precio que dice en el rótulo de la estación."},{"title":"Una vez pago la gasolina con Ecomaxx ¿Quién despacha la gasolina?","answer":"El app te permite pagar la gasolina sin bajarte de tu auto para el despacho de gasolina debes hacerlo tu mismo :)"},{"title":"¿Cómo afecta Ecomaxx las ventas en las estaciones?","answer":"Estudiamos más de 80 millones de transacciones de estaciones de gasolina y vimos que la inmensa mayorÃa no son mixtas. Una transacción mixta es una que incluye gasolina y algún artÃculo de la tienda. Lo otro que vimos es que la mayorÃa de las transacciones mixtas son de gasolina y cigarrillos. Hay muy poca evidencia que apoye la teorÃa de que la gente compra cosas por impulso cuando va a comprar gasolina.<br><br>La data nos dice que compran gasolina o compran artÃculos de la tienda pero muy pocos hacen ambas."},{"title":"¿Cómo compara Ecomaxx con soluciones âPay at the pumpâ?","answer":"Ecomaxx es mucho más económico que todas las soluciones de pay at the pump (pago con tarjeta en la bomba) y no añade cargos por transacciones adicionales para los detallistas. Las soluciones pay at the pump si cuestan más por transaccion.<br><br>A parte de la diferencia en costos, la protección de la identidad y tarjeta es mucho mejor usando el app, hay muchas historias acerca de lectores fraudulentos que personas han sobrepuesto a las máquinas de âPay at the pumpâ para robar la información en las tarjetas. Al no tener que poner la tarjeta, este riesgo no está presente cuando se usa Ecomaxx. También cuando se añade una tarjeta a nuestro sistema se valida con el código de seguridad y otros parámetros lo que evita utilizar tarjetas âclonadasâ en el sistema."},{"title":"¿Dónde puedo reportar bugs / errores?","answer":"Para reportar errores o bugs en la aplicación puede hacerlo visitando la <1 href=\'/help/\'>sección de ayuda.</1><br><br>Seguridad:<br><br>Gracias por tomar el tiempo para reportar problemas de forma responsable. Para reportar bugs, errores, o problemas relacionados a la seguridad de nuestros servicio, tenemos una <1 href=\'/security/\'>polÃtica de seguridad</1> que describe el proceso que preferimos para este tipo de reporte."}]}},"terms":{"title":"Ecomaxx â Terms and Conditions"},"privacy":{"title":"Ecomaxx â Privacy Policy"},"security":{"title":"Ecomaxx â Bug Bounty Program"}}}' 8604 ); 8605 }, 8606 vrXE: function (e, t) { 8607 (e.exports = function (e, t) { 8608 var n = 8609 null == e 8610 ? null 8611 : ("undefined" != typeof Symbol && e[Symbol.iterator]) || 8612 e["@@iterator"]; 8613 if (null != n) { 8614 var r, 8615 o, 8616 a = [], 8617 i = !0, 8618 s = !1; 8619 try { 8620 for ( 8621 n = n.call(e); 8622 !(i = (r = n.next()).done) && 8623 (a.push(r.value), !t || a.length !== t); 8624 i = !0 8625 ); 8626 } catch (u) { 8627 (s = !0), (o = u); 8628 } finally { 8629 try { 8630 i || null == n.return || n.return(); 8631 } finally { 8632 if (s) throw o; 8633 } 8634 } 8635 return a; 8636 } 8637 }), 8638 (e.exports.__esModule = !0), 8639 (e.exports.default = e.exports); 8640 }, 8641 wE6v: function (e, t, n) { 8642 var r = n("hh1v"); 8643 e.exports = function (e, t) { 8644 if (!r(e)) return e; 8645 var n, o; 8646 if (t && "function" == typeof (n = e.toString) && !r((o = n.call(e)))) 8647 return o; 8648 if ("function" == typeof (n = e.valueOf) && !r((o = n.call(e)))) 8649 return o; 8650 if (!t && "function" == typeof (n = e.toString) && !r((o = n.call(e)))) 8651 return o; 8652 throw TypeError("Can't convert object to primitive value"); 8653 }; 8654 }, 8655 xDBR: function (e, t) { 8656 e.exports = !1; 8657 }, 8658 xEkU: function (e, t, n) { 8659 (function (t) { 8660 for ( 8661 var r = n("bQgK"), 8662 o = "undefined" == typeof window ? t : window, 8663 a = ["moz", "webkit"], 8664 i = "AnimationFrame", 8665 s = o["request" + i], 8666 u = o["cancel" + i] || o["cancelRequest" + i], 8667 c = 0; 8668 !s && c < a.length; 8669 c++ 8670 ) 8671 (s = o[a[c] + "Request" + i]), 8672 (u = o[a[c] + "Cancel" + i] || o[a[c] + "CancelRequest" + i]); 8673 if (!s || !u) { 8674 var l = 0, 8675 p = 0, 8676 f = []; 8677 (s = function (e) { 8678 if (0 === f.length) { 8679 var t = r(), 8680 n = Math.max(0, 1e3 / 60 - (t - l)); 8681 (l = n + t), 8682 setTimeout(function () { 8683 var e = f.slice(0); 8684 f.length = 0; 8685 for (var t = 0; t < e.length; t++) 8686 if (!e[t].cancelled) 8687 try { 8688 e[t].callback(l); 8689 } catch (n) { 8690 setTimeout(function () { 8691 throw n; 8692 }, 0); 8693 } 8694 }, Math.round(n)); 8695 } 8696 return f.push({ handle: ++p, callback: e, cancelled: !1 }), p; 8697 }), 8698 (u = function (e) { 8699 for (var t = 0; t < f.length; t++) 8700 f[t].handle === e && (f[t].cancelled = !0); 8701 }); 8702 } 8703 (e.exports = function (e) { 8704 return s.call(o, e); 8705 }), 8706 (e.exports.cancel = function () { 8707 u.apply(o, arguments); 8708 }), 8709 (e.exports.polyfill = function (e) { 8710 e || (e = o), 8711 (e.requestAnimationFrame = s), 8712 (e.cancelAnimationFrame = u); 8713 }); 8714 }).call(this, n("yLpj")); 8715 }, 8716 xrYK: function (e, t) { 8717 var n = {}.toString; 8718 e.exports = function (e) { 8719 return n.call(e).slice(8, -1); 8720 }; 8721 }, 8722 xs3f: function (e, t, n) { 8723 var r = n("2oRo"), 8724 o = n("zk60"), 8725 a = r["__core-js_shared__"] || o("__core-js_shared__", {}); 8726 e.exports = a; 8727 }, 8728 xtsi: function (e, t, n) { 8729 n("E9XD"); 8730 var r = n("LeKB"), 8731 o = n("emEt").publicLoader, 8732 a = o.getResourcesForPathname, 8733 i = o.getResourcesForPathnameSync, 8734 s = o.getResourceURLsForPathname, 8735 u = o.loadPage, 8736 c = o.loadPageSync; 8737 (t.apiRunner = function (e, t, n, o) { 8738 void 0 === t && (t = {}); 8739 var l = r.map(function (n) { 8740 if (n.plugin[e]) { 8741 (t.getResourcesForPathnameSync = i), 8742 (t.getResourcesForPathname = a), 8743 (t.getResourceURLsForPathname = s), 8744 (t.loadPage = u), 8745 (t.loadPageSync = c); 8746 var r = n.plugin[e](t, n.options); 8747 return r && o && (t = o({ args: t, result: r, plugin: n })), r; 8748 } 8749 }); 8750 return (l = l.filter(function (e) { 8751 return void 0 !== e; 8752 })).length > 0 8753 ? l 8754 : n 8755 ? [n] 8756 : []; 8757 }), 8758 (t.apiRunnerAsync = function (e, t, n) { 8759 return r.reduce(function (n, r) { 8760 return r.plugin[e] 8761 ? n.then(function () { 8762 return r.plugin[e](t, r.options); 8763 }) 8764 : n; 8765 }, Promise.resolve()); 8766 }); 8767 }, 8768 yLpj: function (e, t) { 8769 var n; 8770 n = (function () { 8771 return this; 8772 })();
8773 try { 8774 n = n || new Function("return this")(); 8775 } catch (r) { 8776 "object" == typeof window && (n = window); 8777 } 8778 e.exports = n; 8779 }, 8780 yoRg: function (e, t, n) { 8781 var r = n("UTVS"), 8782 o = n("/GqU"), 8783 a = n("TWQb").indexOf, 8784 i = n("0BK2"); 8785 e.exports = function (e, t) { 8786 var n, 8787 s = o(e), 8788 u = 0, 8789 c = []; 8790 for (n in s) !r(i, n) && r(s, n) && c.push(n); 8791 for (; t.length > u; ) r(s, (n = t[u++])) && (~a(c, n) || c.push(n)); 8792 return c; 8793 }; 8794 }, 8795 zBJ4: function (e, t, n) { 8796 var r = n("2oRo"), 8797 o = n("hh1v"), 8798 a = r.document, 8799 i = o(a) && o(a.createElement); 8800 e.exports = function (e) { 8801 return i ? a.createElement(e) : {}; 8802 }; 8803 }, 8804 zk60: function (e, t, n) { 8805 var r = n("2oRo"), 8806 o = n("kRJp"); 8807 e.exports = function (e, t) { 8808 try { 8809 o(r, e, t); 8810 } catch (n) { 8811 r[e] = t; 8812 } 8813 return t; 8814 }; 8815 }, 8816 }, 8817 [["UxWs", 4, 1, 15]], 8818]); 8819//# sourceMappingURL=app-4ee797c931a7e03382d4-updated-footer.js.map
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.