;
! function() {
    try {
        var e = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof global ? global : "undefined" != typeof window ? window : "undefined" != typeof self ? self : {},
            n = (new e.Error).stack;
        n && ((e._debugIds || (e._debugIds = {}))[n] = "27d4ab8c-cce2-e7a6-441e-be1cbaa974ac")
    } catch (e) {}
}();
(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push(["object" == typeof document ? document.currentScript : void 0, 274466, e => {
    "use strict";
    var t = function(e, r) {
            return (t = Object.setPrototypeOf || ({
                __proto__: []
            }) instanceof Array && function(e, t) {
                e.__proto__ = t
            } || function(e, t) {
                for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r])
            })(e, r)
        },
        r = function() {
            return (r = Object.assign || function(e) {
                for (var t, r = 1, n = arguments.length; r < n; r++)
                    for (var o in t = arguments[r]) Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]);
                return e
            }).apply(this, arguments)
        };
    "function" == typeof SuppressedError && SuppressedError, e.s(["__assign", () => r, "__awaiter", 0, function(e, t, r, n) {
        return new(r || (r = Promise))(function(o, a) {
            function i(e) {
                try {
                    u(n.next(e))
                } catch (e) {
                    a(e)
                }
            }

            function l(e) {
                try {
                    u(n.throw(e))
                } catch (e) {
                    a(e)
                }
            }

            function u(e) {
                var t;
                e.done ? o(e.value) : ((t = e.value) instanceof r ? t : new r(function(e) {
                    e(t)
                })).then(i, l)
            }
            u((n = n.apply(e, t || [])).next())
        })
    }, "__extends", 0, function(e, r) {
        if ("function" != typeof r && null !== r) throw TypeError("Class extends value " + String(r) + " is not a constructor or null");

        function n() {
            this.constructor = e
        }
        t(e, r), e.prototype = null === r ? Object.create(r) : (n.prototype = r.prototype, new n)
    }, "__generator", 0, function(e, t) {
        var r, n, o, a = {
                label: 0,
                sent: function() {
                    if (1 & o[0]) throw o[1];
                    return o[1]
                },
                trys: [],
                ops: []
            },
            i = Object.create(("function" == typeof Iterator ? Iterator : Object).prototype);
        return i.next = l(0), i.throw = l(1), i.return = l(2), "function" == typeof Symbol && (i[Symbol.iterator] = function() {
            return this
        }), i;

        function l(l) {
            return function(u) {
                var s = [l, u];
                if (r) throw TypeError("Generator is already executing.");
                for (; i && (i = 0, s[0] && (a = 0)), a;) try {
                    if (r = 1, n && (o = 2 & s[0] ? n.return : s[0] ? n.throw || ((o = n.return) && o.call(n), 0) : n.next) && !(o = o.call(n, s[1])).done) return o;
                    switch (n = 0, o && (s = [2 & s[0], o.value]), s[0]) {
                        case 0:
                        case 1:
                            o = s;
                            break;
                        case 4:
                            return a.label++, {
                                value: s[1],
                                done: !1
                            };
                        case 5:
                            a.label++, n = s[1], s = [0];
                            continue;
                        case 7:
                            s = a.ops.pop(), a.trys.pop();
                            continue;
                        default:
                            if (!(o = (o = a.trys).length > 0 && o[o.length - 1]) && (6 === s[0] || 2 === s[0])) {
                                a = 0;
                                continue
                            }
                            if (3 === s[0] && (!o || s[1] > o[0] && s[1] < o[3])) {
                                a.label = s[1];
                                break
                            }
                            if (6 === s[0] && a.label < o[1]) {
                                a.label = o[1], o = s;
                                break
                            }
                            if (o && a.label < o[2]) {
                                a.label = o[2], a.ops.push(s);
                                break
                            }
                            o[2] && a.ops.pop(), a.trys.pop();
                            continue
                    }
                    s = t.call(e, a)
                } catch (e) {
                    s = [6, e], n = 0
                } finally {
                    r = o = 0
                }
                if (5 & s[0]) throw s[1];
                return {
                    value: s[0] ? s[1] : void 0,
                    done: !0
                }
            }
        }
    }, "__read", 0, function(e, t) {
        var r = "function" == typeof Symbol && e[Symbol.iterator];
        if (!r) return e;
        var n, o, a = r.call(e),
            i = [];
        try {
            for (;
                (void 0 === t || t-- > 0) && !(n = a.next()).done;) i.push(n.value)
        } catch (e) {
            o = {
                error: e
            }
        } finally {
            try {
                n && !n.done && (r = a.return) && r.call(a)
            } finally {
                if (o) throw o.error
            }
        }
        return i
    }, "__rest", 0, function(e, t) {
        var r = {};
        for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && 0 > t.indexOf(n) && (r[n] = e[n]);
        if (null != e && "function" == typeof Object.getOwnPropertySymbols)
            for (var o = 0, n = Object.getOwnPropertySymbols(e); o < n.length; o++) 0 > t.indexOf(n[o]) && Object.prototype.propertyIsEnumerable.call(e, n[o]) && (r[n[o]] = e[n[o]]);
        return r
    }, "__spreadArray", 0, function(e, t, r) {
        if (r || 2 == arguments.length)
            for (var n, o = 0, a = t.length; o < a; o++) !n && o in t || (n || (n = Array.prototype.slice.call(t, 0, o)), n[o] = t[o]);
        return e.concat(n || Array.prototype.slice.call(t))
    }, "__values", 0, function(e) {
        var t = "function" == typeof Symbol && Symbol.iterator,
            r = t && e[t],
            n = 0;
        if (r) return r.call(e);
        if (e && "number" == typeof e.length) return {
            next: function() {
                return e && n >= e.length && (e = void 0), {
                    value: e && e[n++],
                    done: !e
                }
            }
        };
        throw TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.")
    }])
}, 766181, e => {
    "use strict";
    var t = e.i(197649);
    let r = e => "boolean" == typeof e ? `${e}` : 0 === e ? "0" : e,
        n = t.clsx;
    e.s(["cva", 0, (e, t) => o => {
        var a;
        if ((null == t ? void 0 : t.variants) == null) return n(e, null == o ? void 0 : o.class, null == o ? void 0 : o.className);
        let {
            variants: i,
            defaultVariants: l
        } = t, u = Object.keys(i).map(e => {
            let t = null == o ? void 0 : o[e],
                n = null == l ? void 0 : l[e];
            if (null === t) return null;
            let a = r(t) || r(n);
            return i[e][a]
        }), s = o && Object.entries(o).reduce((e, t) => {
            let [r, n] = t;
            return void 0 === n || (e[r] = n), e
        }, {});
        return n(e, u, null == t || null == (a = t.compoundVariants) ? void 0 : a.reduce((e, t) => {
            let {
                class: r,
                className: n,
                ...o
            } = t;
            return Object.entries(o).every(e => {
                let [t, r] = e;
                return Array.isArray(r) ? r.includes({ ...l,
                    ...s
                }[t]) : ({ ...l,
                    ...s
                })[t] === r
            }) ? [...e, r, n] : e
        }, []), null == o ? void 0 : o.class, null == o ? void 0 : o.className)
    }])
}, 267134, (e, t, r) => {
    "use strict";
    let n = new Set(["ENOTFOUND", "ENETUNREACH", "UNABLE_TO_GET_ISSUER_CERT", "UNABLE_TO_GET_CRL", "UNABLE_TO_DECRYPT_CERT_SIGNATURE", "UNABLE_TO_DECRYPT_CRL_SIGNATURE", "UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY", "CERT_SIGNATURE_FAILURE", "CRL_SIGNATURE_FAILURE", "CERT_NOT_YET_VALID", "CERT_HAS_EXPIRED", "CRL_NOT_YET_VALID", "CRL_HAS_EXPIRED", "ERROR_IN_CERT_NOT_BEFORE_FIELD", "ERROR_IN_CERT_NOT_AFTER_FIELD", "ERROR_IN_CRL_LAST_UPDATE_FIELD", "ERROR_IN_CRL_NEXT_UPDATE_FIELD", "OUT_OF_MEM", "DEPTH_ZERO_SELF_SIGNED_CERT", "SELF_SIGNED_CERT_IN_CHAIN", "UNABLE_TO_GET_ISSUER_CERT_LOCALLY", "UNABLE_TO_VERIFY_LEAF_SIGNATURE", "CERT_CHAIN_TOO_LONG", "CERT_REVOKED", "INVALID_CA", "PATH_LENGTH_EXCEEDED", "INVALID_PURPOSE", "CERT_UNTRUSTED", "CERT_REJECTED", "HOSTNAME_MISMATCH"]);
    t.exports = e => !n.has(e && e.code)
}, 737807, e => {
    "use strict";
    var t = e.i(267134);
    let r = "axios-retry";

    function n(e) {
        return !(e.response || !e.code || ["ERR_CANCELED", "ECONNABORTED"].includes(e.code)) && (0, t.default)(e)
    }
    let o = ["get", "head", "options"],
        a = o.concat(["put", "delete"]);

    function i(e) {
        return "ECONNABORTED" !== e.code && (!e.response || 429 === e.response.status || e.response.status >= 500 && e.response.status <= 599)
    }

    function l(e) {
        return !!e.config ? .method && i(e) && -1 !== a.indexOf(e.config.method)
    }

    function u(e) {
        return n(e) || l(e)
    }

    function s(e) {
        let t = e ? .response ? .headers["retry-after"];
        if (!t) return 0;
        let r = 1e3 * (Number(t) || 0);
        return 0 === r && (r = (new Date(t).valueOf() || 0) - Date.now()), Math.max(0, r)
    }
    let c = {
        retries: 3,
        retryCondition: u,
        retryDelay: function(e = 0, t) {
            return Math.max(0, s(t))
        },
        shouldResetTimeout: !1,
        onRetry: () => {},
        onMaxRetryTimesExceeded: () => {},
        validateResponse: null
    };

    function f(e, t, n = !1) {
        var o;
        let a = (o = t || {}, { ...c,
            ...o,
            ...e[r]
        });
        return a.retryCount = a.retryCount || 0, (!a.lastRequestTime || n) && (a.lastRequestTime = Date.now()), e[r] = a, a
    }
    async function d(e, t) {
        let {
            retries: r,
            retryCondition: n
        } = e, o = (e.retryCount || 0) < r && n(t);
        if ("object" == typeof o) try {
            let e = await o;
            return !1 !== e
        } catch (e) {
            return !1
        }
        return o
    }
    async function p(e, t, r, n) {
        t.retryCount += 1;
        let {
            retryDelay: o,
            shouldResetTimeout: a,
            onRetry: i
        } = t, l = o(t.retryCount, r);
        if (e.defaults.agent === n.agent && delete n.agent, e.defaults.httpAgent === n.httpAgent && delete n.httpAgent, e.defaults.httpsAgent === n.httpsAgent && delete n.httpsAgent, !a && n.timeout && t.lastRequestTime) {
            let e = Date.now() - t.lastRequestTime,
                o = n.timeout - e - l;
            if (o <= 0) return Promise.reject(r);
            n.timeout = o
        }
        return (n.transformRequest = [e => e], await i(t.retryCount, r, n), n.signal ? .aborted) ? Promise.resolve(e(n)) : new Promise(t => {
            let r = () => {
                    clearTimeout(o), t(e(n))
                },
                o = setTimeout(() => {
                    t(e(n)), n.signal ? .removeEventListener && n.signal.removeEventListener("abort", r)
                }, l);
            n.signal ? .addEventListener && n.signal.addEventListener("abort", r, {
                once: !0
            })
        })
    }
    async function h(e, t) {
        e.retryCount >= e.retries && await e.onMaxRetryTimesExceeded(t, e.retryCount)
    }
    let g = (e, t) => ({
        requestInterceptorId: e.interceptors.request.use(e => (f(e, t, !0), e[r] ? .validateResponse && (e.validateStatus = () => !1), e)),
        responseInterceptorId: e.interceptors.response.use(null, async r => {
            let {
                config: n
            } = r;
            if (!n) return Promise.reject(r);
            let o = f(n, t);
            return r.response && o.validateResponse ? .(r.response) ? r.response : await d(o, r) ? p(e, o, r, n) : (await h(o, r), Promise.reject(r))
        })
    });
    g.isNetworkError = n, g.isSafeRequestError = function(e) {
        return !!e.config ? .method && i(e) && -1 !== o.indexOf(e.config.method)
    }, g.isIdempotentRequestError = l, g.isNetworkOrIdempotentRequestError = u, g.exponentialDelay = function(e = 0, t, r = 100) {
        let n = Math.max(2 ** e * r, s(t)),
            o = .2 * n * Math.random();
        return n + o
    }, g.linearDelay = function(e = 100) {
        return (t = 0, r) => Math.max(t * e, s(r))
    }, g.isRetryableError = i, e.s(["default", 0, g])
}, 446789, e => {
    "use strict";
    var t = e.i(284553);
    let r = ["en", "bn", "de", "es", "fr", "hi", "id", "it", "ja", "ko", "pl", "pt", "ru", "th", "tl", "uk", "vi", "zh", "zh-hant"];
    t.default.env.VERCEL_ENV;
    let n = {
            en: {
                code: "en",
                name: "English",
                nativeName: "English",
                languageWord: "Language",
                countryCode: "usa"
            },
            bn: {
                code: "bn",
                name: "Bengali",
                nativeName: "বাংলা",
                languageWord: "ভাষা",
                countryCode: "bgd"
            },
            de: {
                code: "de",
                name: "German",
                nativeName: "Deutsch",
                languageWord: "Sprache",
                countryCode: "deu"
            },
            es: {
                code: "es",
                name: "Spanish",
                nativeName: "Español",
                languageWord: "Idioma",
                countryCode: "esp"
            },
            fr: {
                code: "fr",
                name: "French",
                nativeName: "Français",
                languageWord: "Langue",
                countryCode: "fra"
            },
            hi: {
                code: "hi",
                name: "Hindi",
                nativeName: "हिन्दी",
                languageWord: "भाषा",
                countryCode: "ind"
            },
            id: {
                code: "id",
                name: "Indonesian",
                nativeName: "Bahasa Indonesia",
                languageWord: "Bahasa",
                countryCode: "idn"
            },
            it: {
                code: "it",
                name: "Italian",
                nativeName: "Italiano",
                languageWord: "Lingua",
                countryCode: "ita"
            },
            ja: {
                code: "ja",
                name: "Japanese",
                nativeName: "日本語",
                languageWord: "言語",
                countryCode: "jpn"
            },
            ko: {
                code: "ko",
                name: "Korean",
                nativeName: "한국어",
                languageWord: "언어",
                countryCode: "kor"
            },
            pl: {
                code: "pl",
                name: "Polish",
                nativeName: "Polski",
                languageWord: "Język",
                countryCode: "pol"
            },
            pt: {
                code: "pt",
                name: "Portuguese",
                nativeName: "Português",
                languageWord: "Idioma",
                countryCode: "bra"
            },
            ru: {
                code: "ru",
                name: "Russian",
                nativeName: "Русский",
                languageWord: "Язык",
                countryCode: "rus"
            },
            th: {
                code: "th",
                name: "Thai",
                nativeName: "ไทย",
                languageWord: "ภาษา",
                countryCode: "tha"
            },
            tl: {
                code: "tl",
                name: "Tagalog",
                nativeName: "Tagalog",
                languageWord: "Wika",
                countryCode: "phl"
            },
            uk: {
                code: "uk",
                name: "Ukrainian",
                nativeName: "Українська",
                languageWord: "Мова",
                countryCode: "ukr"
            },
            vi: {
                code: "vi",
                name: "Vietnamese",
                nativeName: "Tiếng Việt",
                languageWord: "Ngôn ngữ",
                countryCode: "vnm"
            },
            zh: {
                code: "zh",
                name: "Chinese",
                nativeName: "中文",
                languageWord: "语言",
                countryCode: "chn"
            },
            "zh-hant": {
                code: "zh-hant",
                name: "Traditional Chinese",
                nativeName: "繁體中文",
                languageWord: "語言",
                countryCode: "twn"
            }
        },
        o = {
            en: "en-US",
            bn: "bn-BD",
            de: "de-DE",
            es: "es-ES",
            fr: "fr-FR",
            hi: "hi-IN",
            id: "id-ID",
            it: "it-IT",
            ja: "ja-JP",
            ko: "ko-KR",
            pl: "pl-PL",
            pt: "pt-BR",
            ru: "ru-RU",
            th: "th-TH",
            tl: "tl-PH",
            uk: "uk-UA",
            vi: "vi-VN",
            zh: "zh-CN",
            "zh-hant": "zh-TW"
        };

    function a(e) {
        return r.includes(e)
    }
    let i = Object.values({
        isEventsPath: e => "/events" === e,
        isEventPaginationPath: e => "/events/pagination" === e,
        isEventKeysetPath: e => "/events/keyset" === e,
        isEventSlugPath: e => e.startsWith("/events/slug/"),
        isEventBySlugPath: e => e.startsWith("/events/") && "/events" !== e && !e.startsWith("/events/slug/") && !e.startsWith("/events/pagination") && !e.startsWith("/events/keyset"),
        isMarketsPath: e => "/markets" === e,
        isMarketsKeysetPath: e => "/markets/keyset" === e,
        isMarketBySlugPath: e => e.startsWith("/markets/") && "/markets" !== e && "/markets/keyset" !== e,
        isTeamsPath: e => "/teams" === e,
        isRelatedTagsPath: e => e.startsWith("/tags") && e.endsWith("/related-tags/tags"),
        isSeriesPath: e => "/series" === e,
        isRecommendationsPath: e => "/recommendations" === e
    });
    e.s(["LANGUAGES", 0, n, "VALID_PATHS", 0, i, "getIntlLocale", 0, function(e) {
        return e && a(e) ? o[e] : o.en
    }, "getLanguage", 0, function(e) {
        return e && e in n ? n[e] : n.en
    }, "getLocale", 0, function() {
        let e = window.location.pathname.split("/")[1];
        return e && a(e) ? e : "en"
    }, "isValidLocale", 0, a])
}, 655740, e => {
    "use strict";
    let t;
    var r = e.i(177217);
    e.i(737807);
    var n = e.i(446789);
    let o = ((t = r.default.create({
            timeout: 3e4
        })).interceptors.request.use(e => {
            if ((e => {
                    let t = "";
                    try {
                        let r = e.baseURL ? new URL(e.url || "", e.baseURL) : e.url && /^https?:\/\//.test(e.url) ? new URL(e.url) : void 0;
                        t = r ? .hostname || ""
                    } catch {
                        return !1
                    }
                    return "polymarket.com" === t || t.endsWith(".polymarket.com") || "polymarket.dev" === t || t.endsWith(".polymarket.dev")
                })(e)) {
                var t;
                let r = e.url || "";
                if (t = new URL(r, e.baseURL || "https://polymarket.com").pathname, n.VALID_PATHS.some(e => e(t))) {
                    let t = (0, n.getLocale)();
                    if (t && "en" !== t) {
                        let n = r.includes("?") ? "&" : "?";
                        e.url = `${r}${n}locale=${t}`
                    }
                }
            }
            return e
        }), t),
        a = r.default.isAxiosError;
    o.isAxiosError = a, e.s(["axios", 0, o, "isAxiosError", 0, a])
}, 149534, e => {
    "use strict";
    var t = e.i(416340);
    e.s(["Icon", 0, ({
        children: e,
        size: r = 18,
        title: n,
        width: o,
        height: a,
        ...i
    }) => t.default.createElement("svg", {
        xmlns: "http://www.w3.org/2000/svg",
        width: o || r,
        height: a || r,
        viewBox: "0 0 18 18",
        ...i
    }, n && t.default.createElement("title", null, n), e)])
}, 473765, e => {
    "use strict";
    e.s(["isBrowser", 0, !0, "isDevEnv", 0, !1])
}, 53950, 348320, e => {
    "use strict";
    e.i(284553);
    let t = !1,
        r = null;
    async function n() {
        if (r) return r;
        try {
            return r = (await e.A(970454)).default
        } catch {
            return null
        }
    }
    async function o() {
        if (t) return;
        t = !0;
        let e = await n();
        e && e.init(a())
    }

    function a() {
        return {
            apiKey: "gcik_AEBAAAGZ_OYJGQ2LU_IUILGLAI_N6OQELLR",
            dsn: "https://igove4ofv.platform.grcv.io",
            cluster: "prod-pmd-euw2",
            appId: "polymarket-intl",
            environment: "production",
            releaseId: "7782a2759d58e6d90720c1dfc20a50fe4b77fa25",
            options: {
                excludedUrls: ["igove4ofv.platform.grcv.io"]
            }
        }
    }
    async function i(e) {
        let t = await n();
        t && t.identifyUser(e)
    }
    async function l(e, t) {
        let r = await n();
        r && r.sendCustomEvent({
            event: e,
            attributes: t ? ? {}
        })
    }
    async function u(e, t) {
        let r = await n();
        r && r.captureException(e, t)
    }
    e.s(["captureGroundcoverException", 0, u, "getGroundcoverRumConfig", 0, a, "identifyGroundcoverUser", 0, i, "initGroundcoverRum", 0, o, "sendGroundcoverEvent", 0, l], 348320);
    var s = e.i(473765);
    let c = {
            error: 5,
            warn: 4,
            info: 3,
            debug: 0
        },
        f = new class {
            logLevel = "info";
            isInitialized = !1;
            init() {
                if (this.isInitialized) return;
                let e = "info"; {
                    let t = e.toLowerCase();
                    void 0 !== c[t] ? this.logLevel = t : this.warn(`Invalid log level "${e}". Defaulting to "info"`)
                }
                this.isInitialized = !0
            }
            error(e, t) {
                this.log("error", e, t)
            }
            warn(e, t) {
                this.log("warn", e, t)
            }
            info(e, t) {
                this.log("info", e, t)
            }
            debug(e, t) {
                this.log("debug", e, t)
            }
            setUser(e) {
                s.isBrowser && this.isInitialized && i(e)
            }
            log(e, t, r) {
                if (this.shouldLog(e)) try {
                    console[e](`[${e.toUpperCase()}]: ${t} ${r?(e=>{try{let t=new WeakSet;return JSON.stringify(e,(e,r)=>{if("bigint"==typeof r)return`BigInt(${r.toString()})`;if(r instanceof Error)return`Error(${r.stack})`;if("object"==typeof r&&null!==r){if(t.has(r))return"[Circular Reference]";t.add(r)}return r})}catch(e){return` [Serialization Error: $ {
                            e instanceof Error ? e.message : "Unknown safeStringify error"
                        }]
                        `}})(r):""}`)
                } catch (e) {
                    console.error("Error logging message", e)
                }
            }
            shouldLog(e) {
                return !!s.isBrowser && (this.isInitialized || console.warn("Logger is not initialized"), c[e] >= c[this.logLevel])
            }
        };

    function d(e) {
        return e.length <= 6 ? `${e[0]}***${e[e.length-1]}` : `${e.slice(0,3)}***${e.slice(-3)}`
    }
    e.s(["logger", 0, f, "redactEmail", 0, e => {
        if (!e) return;
        let [t, r] = e.split("@");
        return t && r ? `${d(t)}@${d(r)}` : "***"
    }], 53950)
}, 426452, (e, t, r) => {
    "use strict";
    Object.defineProperty(r, "__esModule", {
        value: !0
    }), Object.defineProperty(r, "useIntersection", {
        enumerable: !0,
        get: function() {
            return u
        }
    });
    let n = e.r(416340),
        o = e.r(5011),
        a = "function" == typeof IntersectionObserver,
        i = new Map,
        l = [];

    function u({
        rootRef: e,
        rootMargin: t,
        disabled: r
    }) {
        let s = r || !a,
            [c, f] = (0, n.useState)(!1),
            d = (0, n.useRef)(null),
            p = (0, n.useCallback)(e => {
                d.current = e
            }, []);
        return (0, n.useEffect)(() => {
            if (a) {
                if (s || c) return;
                let r = d.current;
                if (r && r.tagName) return function(e, t, r) {
                    let {
                        id: n,
                        observer: o,
                        elements: a
                    } = function(e) {
                        let t, r = {
                                root: e.root || null,
                                margin: e.rootMargin || ""
                            },
                            n = l.find(e => e.root === r.root && e.margin === r.margin);
                        if (n && (t = i.get(n))) return t;
                        let o = new Map;
                        return t = {
                            id: r,
                            observer: new IntersectionObserver(e => {
                                e.forEach(e => {
                                    let t = o.get(e.target),
                                        r = e.isIntersecting || e.intersectionRatio > 0;
                                    t && r && t(r)
                                })
                            }, e),
                            elements: o
                        }, l.push(r), i.set(r, t), t
                    }(r);
                    return a.set(e, t), o.observe(e),
                        function() {
                            if (a.delete(e), o.unobserve(e), 0 === a.size) {
                                o.disconnect(), i.delete(n);
                                let e = l.findIndex(e => e.root === n.root && e.margin === n.margin);
                                e > -1 && l.splice(e, 1)
                            }
                        }
                }(r, e => e && f(e), {
                    root: e ? .current,
                    rootMargin: t
                })
            } else if (!c) {
                let e = (0, o.requestIdleCallback)(() => f(!0));
                return () => (0, o.cancelIdleCallback)(e)
            }
        }, [s, t, e, c, d.current]), [p, c, (0, n.useCallback)(() => {
            f(!1)
        }, [])]
    }("function" == typeof r.default || "object" == typeof r.default && null !== r.default) && void 0 === r.default.__esModule && (Object.defineProperty(r.default, "__esModule", {
        value: !0
    }), Object.assign(r.default, r), t.exports = r.default)
}, 789258, (e, t, r) => {
    "use strict";
    Object.defineProperty(r, "__esModule", {
        value: !0
    }), Object.defineProperty(r, "normalizeLocalePath", {
        enumerable: !0,
        get: function() {
            return n
        }
    });
    let n = (t, r) => e.r(146109).normalizeLocalePath(t, r);
    ("function" == typeof r.default || "object" == typeof r.default && null !== r.default) && void 0 === r.default.__esModule && (Object.defineProperty(r.default, "__esModule", {
        value: !0
    }), Object.assign(r.default, r), t.exports = r.default)
}, 979362, (e, t, r) => {
    "use strict";
    Object.defineProperty(r, "__esModule", {
        value: !0
    }), Object.defineProperty(r, "getDomainLocale", {
        enumerable: !0,
        get: function() {
            return o
        }
    });
    let n = e.r(806589);

    function o(t, r, o, a) {
        {
            let i = e.r(789258).normalizeLocalePath,
                l = e.r(832963).detectDomainLocale,
                u = r || i(t, o).detectedLocale,
                s = l(a, void 0, u);
            if (s) {
                let e = `http${s.http?"":"s"}://`,
                    r = u === s.defaultLocale ? "" : `/${u}`;
                return `${e}${s.domain}${(0,n.normalizePathTrailingSlash)(`${r}${t}`)}`
            }
            return !1
        }
    }("function" == typeof r.default || "object" == typeof r.default && null !== r.default) && void 0 === r.default.__esModule && (Object.defineProperty(r.default, "__esModule", {
        value: !0
    }), Object.assign(r.default, r), t.exports = r.default)
}, 188065, (e, t, r) => {
    "use strict";
    Object.defineProperty(r, "__esModule", {
        value: !0
    }), Object.defineProperty(r, "errorOnce", {
        enumerable: !0,
        get: function() {
            return n
        }
    });
    let n = e => {}
}, 639819, (e, t, r) => {
    "use strict";
    Object.defineProperty(r, "__esModule", {
        value: !0
    });
    var n = {
        default: function() {
            return T
        },
        useLinkStatus: function() {
            return C
        }
    };
    for (var o in n) Object.defineProperty(r, o, {
        enumerable: !0,
        get: n[o]
    });
    let a = e.r(887602),
        i = e.r(221628),
        l = a._(e.r(416340)),
        u = e.r(785160),
        s = e.r(931645),
        c = e.r(373181),
        f = e.r(843280),
        d = e.r(14709),
        p = e.r(6124),
        h = e.r(426452),
        g = e.r(979362),
        y = e.r(987873),
        v = e.r(813783);
    e.r(188065);
    let m = new Set;

    function E(e, t, r, n) {
        if (!("u" < typeof window) && (0, s.isLocalURL)(t)) {
            if (!n.bypassPrefetchedCheck) {
                let o = t + "%" + r + "%" + (void 0 !== n.locale ? n.locale : "locale" in e ? e.locale : void 0);
                if (m.has(o)) return;
                m.add(o)
            }
            e.prefetch(t, r, n).catch(e => {})
        }
    }

    function _(e) {
        return "string" == typeof e ? e : (0, c.formatUrl)(e)
    }
    let b = l.default.forwardRef(function(e, t) {
            let r, n, {
                href: o,
                as: a,
                children: c,
                prefetch: m = null,
                passHref: b,
                replace: R,
                shallow: C,
                scroll: T,
                locale: O,
                onClick: L,
                onNavigate: I,
                onMouseEnter: w,
                onTouchStart: N,
                legacyBehavior: A = !1,
                transitionTypes: P,
                ...S
            } = e;
            r = c, A && ("string" == typeof r || "number" == typeof r) && (r = (0, i.jsx)("a", {
                children: r
            }));
            let k = l.default.useContext(p.RouterContext),
                U = !1 !== m,
                {
                    href: j,
                    as: x
                } = l.default.useMemo(() => {
                    if (!k) {
                        let e = _(o);
                        return {
                            href: e,
                            as: a ? _(a) : e
                        }
                    }
                    let [e, t] = (0, u.resolveHref)(k, o, !0);
                    return {
                        href: e,
                        as: a ? (0, u.resolveHref)(k, a) : t || e
                    }
                }, [k, o, a]),
                D = l.default.useRef(j),
                M = l.default.useRef(x);
            A && (n = l.default.Children.only(r));
            let W = A ? n && "object" == typeof n && n.ref : t,
                [B, z, G] = (0, h.useIntersection)({
                    rootMargin: "200px"
                }),
                $ = l.default.useCallback(e => {
                    (M.current !== x || D.current !== j) && (G(), M.current = x, D.current = j), B(e)
                }, [x, j, G, B]),
                F = (0, v.useMergedRef)($, W);
            l.default.useEffect(() => {
                !k || z && U && E(k, j, x, {
                    locale: O
                })
            }, [x, j, z, O, U, k ? .locale, k]);
            let H = {
                ref: F,
                onClick(e) {
                    A || "function" != typeof L || L(e), A && n.props && "function" == typeof n.props.onClick && n.props.onClick(e), !k || e.defaultPrevented || function(e, t, r, n, o, a, i, l, u) {
                        let c, {
                            nodeName: f
                        } = e.currentTarget;
                        if (!("A" === f.toUpperCase() && ((c = e.currentTarget.getAttribute("target")) && "_self" !== c || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.nativeEvent && 2 === e.nativeEvent.which) || e.currentTarget.hasAttribute("download"))) {
                            if (!(0, s.isLocalURL)(r)) {
                                o && (e.preventDefault(), location.replace(r));
                                return
                            }
                            e.preventDefault(), (() => {
                                if (u) {
                                    let e = !1;
                                    if (u({
                                            preventDefault: () => {
                                                e = !0
                                            }
                                        }), e) return
                                }
                                let e = i ? ? !0;
                                "beforePopState" in t ? t[o ? "replace" : "push"](r, n, {
                                    shallow: a,
                                    locale: l,
                                    scroll: e
                                }) : t[o ? "replace" : "push"](n || r, {
                                    scroll: e
                                })
                            })()
                        }
                    }(e, k, j, x, R, C, T, O, I)
                },
                onMouseEnter(e) {
                    A || "function" != typeof w || w(e), A && n.props && "function" == typeof n.props.onMouseEnter && n.props.onMouseEnter(e), k && E(k, j, x, {
                        locale: O,
                        priority: !0,
                        bypassPrefetchedCheck: !0
                    })
                },
                onTouchStart: function(e) {
                    A || "function" != typeof N || N(e), A && n.props && "function" == typeof n.props.onTouchStart && n.props.onTouchStart(e), k && E(k, j, x, {
                        locale: O,
                        priority: !0,
                        bypassPrefetchedCheck: !0
                    })
                }
            };
            if ((0, f.isAbsoluteUrl)(x)) H.href = x;
            else if (!A || b || "a" === n.type && !("href" in n.props)) {
                let e = void 0 !== O ? O : k ? .locale;
                H.href = k ? .isLocaleDomain && (0, g.getDomainLocale)(x, e, k ? .locales, k ? .domainLocales) || (0, y.addBasePath)((0, d.addLocale)(x, e, k ? .defaultLocale))
            }
            return A ? l.default.cloneElement(n, H) : (0, i.jsx)("a", { ...S,
                ...H,
                children: r
            })
        }),
        R = (0, l.createContext)({
            pending: !1
        }),
        C = () => (0, l.useContext)(R),
        T = b;
    ("function" == typeof r.default || "object" == typeof r.default && null !== r.default) && void 0 === r.default.__esModule && (Object.defineProperty(r.default, "__esModule", {
        value: !0
    }), Object.assign(r.default, r), t.exports = r.default)
}, 208956, (e, t, r) => {
    t.exports = e.r(639819)
}, 722045, e => {
    "use strict";

    function t(e) {
        for (var t = 1; t < arguments.length; t++) {
            var r = arguments[t];
            for (var n in r) e[n] = r[n]
        }
        return e
    }
    var r = function e(r, n) {
        function o(e, o, a) {
            if ("u" > typeof document) {
                "number" == typeof(a = t({}, n, a)).expires && (a.expires = new Date(Date.now() + 864e5 * a.expires)), a.expires && (a.expires = a.expires.toUTCString()), e = encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
                var i = "";
                for (var l in a) a[l] && (i += "; " + l, !0 !== a[l] && (i += "=" + a[l].split(";")[0]));
                return document.cookie = e + "=" + r.write(o, e) + i
            }
        }
        return Object.create({
            set: o,
            get: function(e) {
                if ("u" > typeof document && (!arguments.length || e)) {
                    for (var t = document.cookie ? document.cookie.split("; ") : [], n = {}, o = 0; o < t.length; o++) {
                        var a = t[o].split("="),
                            i = a.slice(1).join("=");
                        try {
                            var l = decodeURIComponent(a[0]);
                            if (n[l] = r.read(i, l), e === l) break
                        } catch (e) {}
                    }
                    return e ? n[e] : n
                }
            },
            remove: function(e, r) {
                o(e, "", t({}, r, {
                    expires: -1
                }))
            },
            withAttributes: function(r) {
                return e(this.converter, t({}, this.attributes, r))
            },
            withConverter: function(r) {
                return e(t({}, this.converter, r), this.attributes)
            }
        }, {
            attributes: {
                value: Object.freeze(n)
            },
            converter: {
                value: Object.freeze(r)
            }
        })
    }({
        read: function(e) {
            return '"' === e[0] && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent)
        },
        write: function(e) {
            return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g, decodeURIComponent)
        }
    }, {
        path: "/"
    });
    e.s(["default", 0, r])
}]);

//# debugId=27d4ab8c-cce2-e7a6-441e-be1cbaa974ac