/**** (c) Valve Corporation. Use is governed by the terms of the Steam Subscriber Agreement http://store.steampowered.com/subscriber_agreement/.
 ****/
(self.webpackChunkstore = self.webpackChunkstore || []).push([
  [976],
  {
    29553: (e) => {
      e.exports = {
        NotificationsMenu: "_3EPagkYPxulGbe-5invUhK",
        NotificationsMenuEntriesContainer: "m0H4PhlsBcw0NzlQje7q",
        NotificationsMenuScrollable: "_2hgxpK_sWS7mDF66uPetpF",
        MenuScrollbarHidden: "_2Qeur5RWXHnW-xneBJUfH-",
        NotificationHeader: "_1Uh_y1atXoMOUxGyUQK8vC",
        ResponsiveViewAll: "_2q-LyEsEZpxFZBbqO07xgp",
        AllNotificationsTitle: "-Dpw5WXg2gjckpFAkP_lg",
        AllNotificationsButton: "_1OH7OiFxIJo5Y7Z4Z6U6iO",
        NotificationsButton: "_1jW5_Ycv6jGKu28A1OSIQK",
        SVGNotifications: "_13fwmIK8Ajo0qndUS5zb7E",
        Grey: "_34A9kjlnmgfUWSmr16VjXE",
        Disabled: "_3h1sV2qrp20U37VwC47pM2",
        Green: "_2Hpe0_DGY0TBz45Lg0zUr9",
        AnimateBell: "_34o7mvTYzowbNAllqYUQuJ",
        NotificationBellAnimation: "_3W6ngOzFfcJJpftaQ5t9bk",
        NotificationBellUvula: "xpAr9gP3YAkKomrGUivf8",
        EmptyNotificationsCtn: "_2a4xLIvDI3rmLxVfLMQFTz",
        EmptyNotificationsTitle: "_2SIA4NMfduV_HWDptv6cAK",
        EmptyNotificationsBody: "EpEznkfiKxcqI9p52OmRx",
      };
    },
    97786: (e) => {
      e.exports = {
        "duration-app-launch": "800ms",
        loadinganimationiterationcount: "20",
        loadinganimationduration: "1s",
        StandardTemplateContainer: "_2yhmcyeUOyM8lt__Skbk9O",
        "ItemFocusAnim-darkerGrey": "_3mfiE_PUWOPy8UTDJlYI0u",
        Timestamp: "_26rvbcKFCQjLKx-pD7BhvY",
        StandardTemplate: "_3-H47wPl1Ng3lh7xGZOPIg",
        PinnedTemplate: "_3V6804k2yutEiF6IWg8axH",
        StandardLogoDimensions: "_1KIwOtwkYQUtRoPyxlh3G-",
        Content: "_2axKS7MCnzMBRXRcYLn2Is",
        Header: "_1WuK_iZ6ARkIiptCX5qd7G",
        Icon: "_2F0wqsu2mqsHxBSJcu1sPJ",
        Title: "_18PwvOcpWfW3M8j2-bEPPJ",
        StandardNotificationDescription: "_3fUrGm-WHq3qxIpSqRZDgc",
        StandardNotificationSubText: "_2yUEtF_eCucoxdu85zlOCp",
        Multiline: "_2sQoMK-0onl8u8WHHUnDdw",
        Count: "_2zZKXEnYcEZsL5OGHzkKv2",
        PinnedBody: "_1nziGc41LlyGfDufK0iQos",
        AllNotificationsTemplate: "_1xvIUtLkTrdEk2Ob1MqFcQ",
        StandardTemplateDesktop: "_1GcAugE5c4nbBUwrA4_xwS",
        DesktopToastTemplate: "_3ENh9LzRnZgfTyfxp_J2rr",
        PinnedTemplateWeb: "_2Mo87NUHyjLkjvKcPQxPRu",
        PinnedTemplateDesktop: "j9jQA6QaLJ23lyfuo9nY6",
        AppLogo: "_3mWpfn1_PDwd1gOm26RhMl",
        AppLogoBackgroundImage: "_2FcBwxd4lGOEMTXCnmxczK",
        MarkedRead: "_15_E6efeCt2NTqCgUKav1W",
        markReadBackground: "_1paPuAH6aCXNKdXvf5jv1d",
        Unread: "_1YAQHDHv4hsPaauccvAFtn",
        PlayerNickName: "_2n0ipWJFroZdQVwkXHqdJL",
        FullName: "_2EWNcLrlrl9Gx-yZH039tH",
        IngameTitle: "_3uSbhtY3vHtdj-3tpua_Pb",
        OnlineTitle: "_3bqD-bBMgrGwLsBY2L1gSL",
        GroupMessageTitle: "_3C8GdaaS-zmchnCHHiHG6n",
        GroupMessageUserName: "_2hs2ZR_wYkRHWdtlr681Z6",
        GroupMessageBody: "_3AbCrY-d5NpL5E5DUfgdQ8",
        GroupMessageIcon: "_3vDmqJBvNPH1D_p-Da_djj",
        Body: "_2jpxEWvo06efD6-NR1cplA",
        FriendInGameAppColor: "_2XSwzNWGiJvW0zTgqT0DUI",
        WishlistBlurImage: "_2HBcq6niThHlNihI9xiBSm",
        AvatarStatus: "_1mMC7Hv71CzO0jfm_66W4K",
        IncomingCallToast: "_3wNcsYlo3lQ-yamJPMco8F",
        ShortLogoDimensions: "_1-CP3jNFd252Y0uV_Ua0VE",
        LoadingTemplate: "_2mFLv5Puw95n9oUFp9OMAs",
        Hide: "_1W2rIElq16YPQi4DqoqPLM",
        ShimmerLogo: "_3QrlTtpidzjKPhrvgxFXbI",
        ShimmerBody: "_1ugrCy0x7fRJ7TyoURzzTa",
        ShimmerHeader: "_1Tp3oOeqWARWDsQDI3owRD",
        loading: "_3CI8AFu67GMoINumH6Yvax",
        BottomBar: "_2FMNpalUV1wDdi-cywGIMN",
        NewIndicator: "-B93GaGXJf0lPTNh66m4i",
        ShortTemplate: "fntOoeLPSTpmyXGGmgf99",
        TwoLine: "P1FhGdWv2NCXZXWsaKqqY",
        BackgroundAnimation: "_3w9sEc9GApj44Kg099SX99",
        "ItemFocusAnim-darkerGrey-nocolor": "_3zMKq0Ov9QZXkvzuZaEgKn",
        "ItemFocusAnim-darkGrey": "_1bS3_eEfJQL1uvh9ueXwHc",
        "ItemFocusAnim-grey": "K14jHOeux9t-cKLHsLZ_R",
        "ItemFocusAnim-translucent-white-10": "_14krbCetggqySSjN1tprjy",
        "ItemFocusAnim-translucent-white-20": "_3aWvV_8F4oUsZSPZ67nkhH",
        "ItemFocusAnimBorder-darkGrey": "_3o2RzV2UyrY6P95PvLN1XB",
        "ItemFocusAnim-green": "_3UOE3rRpe9MNf7xTX3P_FD",
        focusAnimation: "_3CquyV6pQpz_ZeEYyhu-6r",
        hoverAnimation: "X3tjvkOeBNndhakzDz7bk",
      };
    },
    93761: (e) => {
      e.exports = {
        "duration-app-launch": "800ms",
        loadinganimationiterationcount: "20",
        loadinganimationduration: "1s",
        StandardTemplateContainer: "_30fVm4Rsel-4nUKEiPJgz9",
        "ItemFocusAnim-darkerGrey": "_3z4hV832fi8W9gRRPhmC1V",
        Timestamp: "_7XKFnSNjW_tHfyxaezoD3",
        StandardTemplate: "_2h6KD6p6y4vIgO2Toxx-_K",
        PinnedTemplate: "_3oKFhPrh1lbp-WtA72Q2Yi",
        StandardLogoDimensions: "_1VRx9qVxigUC4qeM0NWNMR",
        Content: "_1SQjN025UZ0z_8AkWHCsGd",
        Header: "_3u0Sb5gUTscs0TQlKpA7WZ",
        Icon: "_2auM-VHPU-KKomAWyuWrSV",
        Title: "_2MGSmn9lIFnmLVIX49POSx",
        StandardNotificationDescription: "_26v9mHAi56x63OwY-jxett",
        StandardNotificationSubText: "_3hEeummFKRey8l5VXxZwxz",
        Multiline: "_21DVSDVmPUgGXuTkI2HqbO",
        Count: "CRYjulQaQOjokS7b_8cOH",
        PinnedBody: "h-lNlCUnCRbIcn38-Oqaw",
        AllNotificationsTemplate: "QFW0BtI4l77AFmv1xLAkx",
        StandardTemplateDesktop: "_3B8wRA4H7e_oSksYNqpSPv",
        DesktopToastTemplate: "_2NdiftmP-B3C4LPWnNGTCB",
        PinnedTemplateWeb: "_25gii5r23MmAqXvLZj24tK",
        PinnedTemplateDesktop: "_3k90ug209sE23xAMqcM74s",
        AppLogo: "_3p74fAyjLzNltNbJUf55kk",
        AppLogoBackgroundImage: "_2qpzt_PffGJwN3Vm2bkKQI",
        MarkedRead: "FMwg5OFGT6NP3h3EW89IP",
        markReadBackground: "_3eZECZ7BxfGeq4yfoKHDal",
        Unread: "_1B1XTNsfuwOaDPAkkr8M42",
        PlayerNickName: "_1YqYJ2yaHfODWbIB0abgzQ",
        FullName: "fozLrCNjCbPGiVKYi2L_M",
        IngameTitle: "rN6p14MiFEoCZvdjnfpgQ",
        OnlineTitle: "_35uWYHT2zJoSv9PE_euqxo",
        GroupMessageTitle: "_33qpBDHTkkQ4TCFB4gPGk_",
        GroupMessageUserName: "_3m94SADycX0JIk8urdZQ2X",
        GroupMessageBody: "_1XTFkmspXcukxWSFz5Fn61",
        GroupMessageIcon: "brsvX3XkZwkemQ_HM3JOP",
        Body: "_3JT9UI68R_-oZc63_NRIcA",
        FriendInGameAppColor: "_10165iFPxrqzt0kfV00tbu",
        WishlistBlurImage: "_3QLXE6SzCKiwEgK5iORZPA",
        AvatarStatus: "_1iutOH026zK2dbpsMFDmMm",
        IncomingCallToast: "j2oDsM6xV2rFx-UrisfYh",
        ShortLogoDimensions: "BNKAIWal-7E00ymauRaHg",
        LoadingTemplate: "Lakql1yamweHbP1OPuahF",
        Hide: "WnLkF0HwOQr2BIjlAlrjF",
        ShimmerLogo: "_2macs5lWMPN5NfDpGE3Iyh",
        ShimmerBody: "_3Ivl8dbxH6D6LwaSLTNTLe",
        ShimmerHeader: "_2a2loheX4ZKGZCGNEdAT3h",
        loading: "_2PdZZCNo176UV7FcPPdqTt",
        BottomBar: "_3yiWpBXwEmDLlaIupVXjUt",
        NewIndicator: "_1pIhbqWsrCVPaGGYc6fT-H",
        BackgroundAnimation: "_2THWJm_DP4_8_21tEsXSSj",
        "ItemFocusAnim-darkerGrey-nocolor": "_3TDFCqwgSFsXL90HH5PmyQ",
        "ItemFocusAnim-darkGrey": "_22M7t0tCHSgmIcx2rwkyDn",
        "ItemFocusAnim-grey": "lhtmiPnDLy_PH3nWN5N8F",
        "ItemFocusAnim-translucent-white-10": "xPu5sAUAb9KZcZojHZeok",
        "ItemFocusAnim-translucent-white-20": "_35HEPLHufn9k-5gTKvZYrO",
        "ItemFocusAnimBorder-darkGrey": "TQ99CK6pDp4hhQZWjAgGz",
        "ItemFocusAnim-green": "Rxe4URLYwNKRWJ2UaiQq2",
        focusAnimation: "_1vcir9Vcuml6I0DWyCei3i",
        hoverAnimation: "_3dGxvxYZPEwyYDQfin8FOd",
      };
    },
    92012: (e) => {
      e.exports = {
        "duration-app-launch": "800ms",
        loadinganimationiterationcount: "20",
        loadinganimationduration: "1s",
        StandardTemplateContainer: "_1lqXpJpRlYvyM2fBx6beHd",
        "ItemFocusAnim-darkerGrey": "_3WRewosNPP9V6g7O3hWH5k",
        Timestamp: "w1Bf_xO8scHETzsfr2HtM",
        StandardTemplate: "_1k275cE1gk-jpZE5r-37zl",
        PinnedTemplate: "_4egmnB1wTrDll5Mc_eal8",
        StandardLogoDimensions: "_3n8vALReUk851YHiEiWEfQ",
        Content: "_3c_vhR2WnZLHuyVP2m4UO2",
        Header: "_1186NyOXeTBoB-vvWlJq1I",
        Icon: "_1piyUE09t3QXktcD3FrCwJ",
        Title: "_2x6qMHeQndH78e6sL2XHk_",
        StandardNotificationDescription: "Wh50moO-nKvfE3l4Buav",
        StandardNotificationSubText: "_2T5BxMT87QHfYWXDHFzpT1",
        Multiline: "_2fLmG6Oxk7tiZGLfH8dwXG",
        Count: "sdjVIgKSOKqyi7O2VDy70",
        PinnedBody: "_3OCMnBpXVpdYv5isBLVdJK",
        AllNotificationsTemplate: "d9RJTj9G8qU-U9-he2cQx",
        StandardTemplateDesktop: "_2uW9K6fqc6jZX1XBjnLjw",
        DesktopToastTemplate: "QbSr4hMpMfp0Qtsg4qOh5",
        PinnedTemplateWeb: "_3BvcYKoq-n7GgNwbfFgRAc",
        PinnedTemplateDesktop: "alS2LW_qAwNkYk_GPUC_3",
        AppLogo: "CA_EGBMvnnGy5ib6McPk1",
        AppLogoBackgroundImage: "_1WuzAPck-kGxa4mMIJvAzm",
        MarkedRead: "Wu9rtfDDzG6xfABpqX6oN",
        markReadBackground: "ULHzVL1tuahqUcVisVW-P",
        Unread: "_2kLHZTRgRl0POZfXPcfxks",
        PlayerNickName: "_2YpLUGZ7uC8ZZn67r0WFW_",
        FullName: "_31kBipdYxJf7OOfdvXt0_h",
        IngameTitle: "uoMiFtc9c1Qj-4N-yFmVY",
        OnlineTitle: "_1HmXUbyHRzGqMtpIXrI9-T",
        GroupMessageTitle: "_2sd1s2w2m26_3gQi1EUTR_",
        GroupMessageUserName: "gAoOCl1gHHigL5slBv_yA",
        GroupMessageBody: "_8o4Xz7dGPPQqf36w2HN--",
        GroupMessageIcon: "_15V41jl8st_uQsDMGCqnBx",
        Body: "_1bPTPIVs6QoX2gWvrhM6J-",
        FriendInGameAppColor: "_3xh1N-yvA3u7rLrq-DYZ1U",
        WishlistBlurImage: "_1GTWEgiW95vRIhUWfk6omo",
        AvatarStatus: "_2wKwJWdgy12ZO1tSjI9lXY",
        IncomingCallToast: "YukY0Anz5NHyFELGf9mPn",
        ShortLogoDimensions: "_1DaCc7OUCLHfc6VrQ3OIne",
        LoadingTemplate: "_5iNL0HazAvED5sWE9InJy",
        Hide: "_40XuJsiNG2Ls-sTWqrXG8",
        ShimmerLogo: "_1vzYeDqT7Eiy-LKfLm42sI",
        ShimmerBody: "_12dqPPvVDehwCa8i2oM-eA",
        ShimmerHeader: "_2ZzsgKvsaWmnKQRz0W83GA",
        loading: "_2qr7PO4jvslSCsJbTRFpwd",
        BottomBar: "IUPLZJhHdBex9tQTgC6Ug",
        NewIndicator: "_38yM72K6RxKmOhKZtInP2x",
        AllNotificationsCommentPlus: "WbA7y77Ujam9JOnYuGsMj",
        FriendIndicator: "_2Hphxk564S5yQHog-MFXfN",
        HideButton: "_3M-7E5Nj8iNX_jL5pAQDy_",
        SteamNotificationWrapper: "UmtNgXD92RoDeYjxKEskk",
        BackgroundAnimation: "CHduhRYQLY29chQ5oLbsR",
        "ItemFocusAnim-darkerGrey-nocolor": "_3bOlzQnTJZnV9rTU3NSxJh",
        "ItemFocusAnim-darkGrey": "uOdBxiMFNvmWe8MWKL2vT",
        "ItemFocusAnim-grey": "_9s1knb2MNj9uD9M1SCh2u",
        "ItemFocusAnim-translucent-white-10": "_1YVG7HtpgQ26Yx-8ZWKCBi",
        "ItemFocusAnim-translucent-white-20": "_3AcQtXPws6yWb9XuDRcDvV",
        "ItemFocusAnimBorder-darkGrey": "_2pMCkkW6W_xYaepnqR1QDg",
        "ItemFocusAnim-green": "_8sFcRF04vIhk1ou7_oMSI",
        focusAnimation: "_1etMKTqAtC0g5-7msByztO",
        hoverAnimation: "_3iNzRmuVGoWKgoa3u41Fdz",
      };
    },
    87910: (e) => {
      e.exports = { WebPinnedNotification: "_34nLZDNirxRHssbsjB_dJf" };
    },
    98425: (e, t, n) => {
      "use strict";
      n.r(t),
        n.d(t, {
          GreenEnvelope: () => Le,
          default: () => Ge,
          useSteamNotifications: () => Ie,
        });
      var i = n(22837),
        o = n(65946),
        a = n(90626),
        r = n(68950),
        l = n(15419),
        s = n(23809),
        c = n(88997),
        m = n(92406),
        u = n(4869),
        d = n(12155),
        _ = n(52038),
        f = n(61859),
        p = n(30470),
        g = n(84811),
        N = n(29553),
        E = n.n(N),
        y = n(97788),
        h = n(17720);
      function S(e) {
        if (!e) return;
        const t = "string" == typeof e ? e : e.locString,
          n = "string" == typeof e ? [] : e.params || [];
        return t ? ("#" !== t[0] ? t : (0, f.we)(t, ...n)) : void 0;
      }
      function v(e) {
        return a.useMemo(() => ((0, m.V4)(e.type) ? (0, m.bP)(e) : null), [e]);
      }
      var T = n(55263),
        w = n(87910),
        A = n.n(w),
        L = n(32630),
        I = n(60014),
        b = n(14336),
        k = n(76217),
        M = n(91675),
        R = n(14771),
        H = n(93761),
        U = n.n(H);
      const B = !0;
      function C(e) {
        let { onActivate: t, icon: n, body: i, eUIMode: o, classNames: r } = e,
          l = t,
          s = U().PinnedTemplate;
        return (
          7 == o
            ? (s = U().PinnedTemplateDesktop)
            : 3 == o && (s = U().PinnedTemplateWeb),
          (s = (0, _.A)(s, r)),
          a.createElement(
            k.Z,
            { className: s, onActivate: l },
            a.createElement(
              "div",
              { className: U().Content },
              a.createElement(
                "div",
                { className: U().PinnedBody },
                a.createElement("span", { className: U().Icon }, n),
                i,
              ),
            ),
          )
        );
      }
      function P(e) {
        const {
          count: t,
          icon: n,
          onActivate: i,
          strLocToken: o,
          bAlwaysShow: r,
          eUIMode: l,
          classNames: s,
          visible: c,
        } = e;
        if (!t && !r) return null;
        const m = (0, f.Yp)(o, t);
        return a.createElement(C, {
          icon: n,
          body: m,
          onActivate: i,
          eUIMode: l,
          classNames: s,
          visible: c,
        });
      }
      var D;
      function G(e) {
        let {
          nUnread: t,
          location: n,
          eUIMode: i,
          bLoading: o,
          footer: r,
          bNewIndicator: l,
        } = e;
        const [s, c] = a.useState(o ? D.loadingActive : D.none),
          [m, u] = a.useState(void 0);
        a.useEffect(() => {
          s != D.loadingActive || o
            ? s == D.loadingComplete && o && c(D.loadingActive)
            : c(D.loadingComplete);
        }, [s, o]),
          a.useEffect(() => {
            let e =
              parseInt(U().loadinganimationiterationcount) *
              parseInt(U().loadinganimationduration) *
              1e3;
            const t = window.setTimeout(() => c(D.none), e);
            return () => window.clearTimeout(t);
          }, []),
          a.useEffect(() => {
            t && t > 0 && m !== U().Unread && 2 != n && 1 != n
              ? u(U().Unread)
              : t || m != U().Unread || u(U().MarkedRead);
          }, [t, n, m]);
        let d = e.onActivate;
        d || (d = () => console.log("Missing activate function")),
          s == D.loadingActive && (d = void 0);
        let f = U().StandardTemplate;
        4 == n
          ? (f = U().AllNotificationsTemplate)
          : 2 == n
            ? (f = U().DesktopToastTemplate)
            : (7 != i && 3 != i) || (f = U().StandardTemplateDesktop);
        let p = null;
        if (s != D.none && 2 != n && 1 != n) {
          let e = s == D.loadingComplete ? U().Hide : null;
          p = a.createElement(
            "div",
            { className: (0, _.A)(U().LoadingTemplate, e) },
            a.createElement("div", {
              className: (0, _.A)(U().StandardLogoDimensions, U().ShimmerLogo),
            }),
            a.createElement(
              "div",
              { className: U().Content },
              a.createElement("div", {
                className: (0, _.A)(U().Header, U().ShimmerHeader),
              }),
              a.createElement("div", {
                className: (0, _.A)(U().Body, U().ShimmerBody),
              }),
            ),
          );
        }
        return a.createElement(
          k.Z,
          {
            onActivate: d,
            className: U().StandardTemplateContainer,
            onOptionsButton: e.onOptionsButton,
            onOptionsActionDescription: e.onOptionsButtonDesc,
          },
          a.createElement(
            "div",
            { className: (0, _.A)(f, m) },
            a.createElement(
              "div",
              { className: U().StandardLogoDimensions },
              e.logo,
            ),
            e.personaStatus &&
              a.createElement("div", {
                className: (0, _.A)(U().AvatarStatus, e.personaStatus),
              }),
            a.createElement("div", { className: U().Content }, e.children),
            p,
            l && a.createElement(O, { location: n }),
          ),
          r || null,
        );
      }
      function O(e) {
        const { location: t } = e;
        return B && 3 == t
          ? a.createElement(
              "div",
              { className: U().NewIndicator },
              a.createElement(d.jlt, null),
            )
          : null;
      }
      function F(e) {
        let {
          icon: t,
          title: n,
          timestamp: i,
          location: o,
          fnRenderTimestamp: r,
        } = e;
        const l = !!i && (3 == o || 4 == o);
        let s;
        return (
          (s = 4 == o ? Y : (r ?? j)),
          a.createElement(
            "div",
            { className: U().Header },
            a.createElement(W, { icon: t }),
            !!n && a.createElement(x, { title: n }),
            l && s({ timestamp: i }),
          )
        );
      }
      function W(e) {
        return a.createElement("div", { className: U().Icon }, e.icon);
      }
      function x(e) {
        return a.createElement("div", { className: U().Title }, e.title);
      }
      function q(e) {
        let t = (0, _.A)(
          U().StandardNotificationDescription,
          e.multiline && U().Multiline,
        );
        return a.createElement("div", { className: t }, e.children);
      }
      function Q(e) {
        let t = (0, _.A)(
          U().StandardNotificationSubText,
          e.multiline && U().Multiline,
        );
        return a.createElement("div", { className: t }, e.children);
      }
      function Y(e) {
        if (void 0 === e.timestamp) return null;
        let t = new Date(),
          n = new Date(1e3 * e.timestamp),
          i = (0, M.KC)(e.timestamp);
        return (
          (0, R.JD)(t, n) || (i = (0, M._l)(e.timestamp, !1, !1, !1) + " " + i),
          a.createElement("div", { className: U().Timestamp }, i)
        );
      }
      function j(e) {
        if (void 0 === e.timestamp) return null;
        let t = new Date(),
          n = new Date(1e3 * e.timestamp),
          i = (0, R.JD)(t, n)
            ? (0, M.KC)(e.timestamp)
            : (0, M._l)(e.timestamp, !1, !1, !1);
        return a.createElement("div", { className: U().Timestamp }, i);
      }
      !(function (e) {
        (e[(e.none = 0)] = "none"),
          (e[(e.loadingActive = 1)] = "loadingActive"),
          (e[(e.loadingComplete = 2)] = "loadingComplete");
      })(D || (D = {}));
      var K = n(78327);
      function Z(e) {
        return 1 == e;
      }
      var X = n(97786),
        z = n.n(X);
      function V(e) {
        let {
            onActivate: t,
            onDismiss: n,
            logo: i,
            icon: o,
            title: r,
            body: l,
            personaStatus: s,
            className: c,
            singleLineOnly: m,
          } = e,
          u = (function (e, t) {
            return a.useCallback(
              (n) => {
                e && e(n), t && t();
              },
              [e, t],
            );
          })(t, n);
        return a.createElement(
          k.Z,
          {
            className: (0, _.A)(z().ShortTemplate, !m && z().TwoLine, c),
            onActivate: u,
            onMouseDown: (e) => {
              1 == e.button && n && n();
            },
          },
          a.createElement("div", { className: z().ShortLogoDimensions }, i),
          e.personaStatus &&
            a.createElement("div", {
              className: (0, _.A)(z().AvatarStatus, s),
            }),
          a.createElement(
            "div",
            { className: z().Content },
            a.createElement(
              "div",
              { className: z().Header },
              a.createElement("div", { className: z().Icon }, o),
              a.createElement("div", { className: z().Title }, r),
            ),
            a.createElement("div", { className: z().Body }, l),
          ),
        );
      }
      var J = n(92012),
        $ = n.n(J),
        ee = n(4796);
      function te(e) {
        switch (e) {
          case 6:
            return a.createElement(d.ilR, null);
          case 11:
            return a.createElement(d.Cv4, null);
          default:
            return a.createElement(d.Qte, null);
        }
      }
      function ne(e) {
        let {
          fallbackLogo: t,
          app: n,
          data: i,
          location: o,
          icon: r,
          timestamp: l,
          fnRenderTimestamp: s,
          onHide: c,
        } = e;
        const m = "number" == typeof i?.image,
          u = i?.display_name ?? "",
          d = i?.title ?? i?.body,
          _ = i?.title ? i.body : null,
          f = Z(o),
          p = m && !n,
          [g, N] = a.useState(!1),
          E = () => N(!0);
        let y = null;
        if (m) y = ue(n, t, f);
        else {
          const e = f ? $().ShortLogoDimensions : $().StandardLogoDimensions;
          y =
            i?.image && !g
              ? a.createElement("img", {
                  className: e,
                  src: i.image,
                  onError: E,
                })
              : t;
        }
        return f
          ? a.createElement(V, { ...e, logo: y, icon: r, title: u, body: d })
          : a.createElement(
              _e,
              null,
              a.createElement(
                G,
                { logo: y, bLoading: p, ...e },
                a.createElement(F, {
                  icon: r,
                  title: u,
                  timestamp: l,
                  location: o,
                  fnRenderTimestamp: s,
                }),
                a.createElement(q, { multiline: !_ }, d),
                !!_ && a.createElement(Q, null, _),
                c ? a.createElement(de, { onHide: c }) : null,
              ),
            );
      }
      function ie(e) {
        let {
          displayName: t,
          location: n,
          icon: i,
          timestamp: o,
          fnRenderTimestamp: r,
          onHide: l,
        } = e;
        const s = Z(n),
          c = (0, f.we)("#SteamNotifications_TradeOffer_Title"),
          m = s
            ? (0, f.we)("#SteamNotifications_TradeOffer_Body_Short", t ?? "")
            : (0, f.we)("#SteamNotifications_TradeOffer_Body"),
          u = (0, f.we)("#SteamNotifications_TradeOffer_Description", t ?? ""),
          d = !t;
        return s
          ? a.createElement(V, {
              ...e,
              logo: e.logo,
              icon: e.icon,
              title: c,
              body: m,
            })
          : a.createElement(
              _e,
              null,
              a.createElement(
                G,
                { bLoading: d, ...e },
                a.createElement(F, {
                  icon: i,
                  title: c,
                  timestamp: o,
                  location: n,
                  fnRenderTimestamp: r,
                }),
                a.createElement(q, null, m),
                a.createElement(Q, null, u),
                l ? a.createElement(de, { onHide: l }) : null,
              ),
            );
      }
      function oe(e) {
        let {
          senderName: t,
          location: n,
          icon: i,
          timestamp: o,
          fnRenderTimestamp: r,
          onHide: l,
        } = e;
        const s = Z(n),
          c = s
            ? (0, f.we)("#Notification_GiftReceived_Body_Short", t ?? "")
            : (0, f.we)("#Notification_GiftReceived_Body"),
          m = t ? (0, f.we)("#Notification_GiftReceived_Description", t) : null,
          u = (0, f.we)("#Notification_GiftReceived_Title"),
          d = !t;
        return s
          ? a.createElement(V, {
              ...e,
              logo: e.logo,
              icon: e.icon,
              title: u,
              body: c,
            })
          : a.createElement(
              _e,
              null,
              a.createElement(
                G,
                { bLoading: d, ...e },
                a.createElement(F, {
                  icon: i,
                  title: u,
                  timestamp: o,
                  location: n,
                  fnRenderTimestamp: r,
                }),
                a.createElement(q, { multiline: !m }, c),
                !!m && a.createElement(Q, null, m),
                l ? a.createElement(de, { onHide: l }) : null,
              ),
            );
      }
      function ae(e) {
        let {
          requestorName: t,
          requestorAvatarURL: n,
          fallbackLogo: i,
          data: o,
          location: r,
          icon: l,
          timestamp: s,
          fnRenderTimestamp: c,
          onHide: m,
        } = e;
        const u = Z(r);
        let _ = "";
        t && 2 == o.state
          ? (_ = (0, f.we)(
              "#SteamNotifications_FriendInvite_Description_AwaitingResponse",
            ))
          : t && 3 == o.state
            ? (_ = (0, f.we)(
                "#SteamNotifications_FriendInvite_Description_Friends",
              ))
            : t &&
              (_ = (0, f.we)("#SteamNotifications_FriendInvite_Description"));
        const [p, g] = a.useState(!1),
          N = () => g(!0);
        let E = i;
        if (n && !p) {
          const e = 3 == o.state && 1 != r,
            t = u ? $().ShortLogoDimensions : $().StandardLogoDimensions;
          E = a.createElement(
            k.Z,
            { style: { position: "relative" } },
            e && a.createElement(d.GSe, { className: $().FriendIndicator }),
            a.createElement("img", { className: t, src: n, onError: N }),
          );
        }
        const y =
            t || (0, f.we)("#SteamNotifications_FriendInvite_Body_Generic"),
          h = !t;
        return u
          ? a.createElement(V, {
              ...e,
              logo: E,
              icon: e.icon,
              title: (0, f.we)("#Notification_FriendInvite_Title"),
              body: y,
            })
          : a.createElement(
              _e,
              null,
              a.createElement(
                G,
                { logo: E, bLoading: h, ...e },
                a.createElement(F, {
                  icon: l,
                  title: (0, f.we)("#Notification_FriendInvite_Title"),
                  timestamp: s,
                  location: r,
                  fnRenderTimestamp: c,
                }),
                a.createElement(q, { multiline: !_ }, y),
                !!_ && a.createElement(Q, null, _),
                m ? a.createElement(de, { onHide: m }) : null,
              ),
            );
      }
      function re(e) {
        let {
          itemState: t,
          fallbackLogo: n,
          data: i,
          location: o,
          icon: r,
          timestamp: l,
          fnRenderTimestamp: s,
          nUnread: c,
          onHide: m,
        } = e;
        const [u, d] = a.useState(!1),
          _ = () => d(!0),
          p = Z(o);
        let g = n;
        if (t?.item_data?.icon_url && !u) {
          let e = `${K.TS.COMMUNITY_CDN_URL}economy/image/${t.item_data.icon_url}`,
            n = t.item_data.background_color
              ? "#" + t.item_data.background_color
              : null;
          const i = p ? $().ShortLogoDimensions : $().StandardLogoDimensions;
          g = a.createElement(
            k.Z,
            { style: { position: "relative" } },
            a.createElement("img", {
              className: i,
              style: { backgroundColor: n ?? void 0, justifyContent: "center" },
              src: e,
              onError: _,
            }),
          );
        }
        const N = 753 == parseInt(i.appid);
        let E = null;
        if (void 0 !== c && c > 1) {
          const e = c - 1;
          E = N
            ? (0, f.we)("#Notification_Item_RollupMore_Steam", e)
            : t?.app_name
              ? (0, f.we)(
                  "#Notification_Item_RollupMore_GameName",
                  e,
                  t.app_name,
                )
              : (0, f.we)("#Notification_Item_RollupMore", e);
        } else
          t?.app_name &&
            (E = N
              ? t.app_name
              : (0, f.we)("#Notification_Item_Single_GameName", t.app_name));
        const y = t?.item_data?.name
            ? t.item_data.name
            : (0, f.we)("#Notification_Item_Body_Generic"),
          h = !t || !t.item_data;
        if (p) {
          let n = "";
          return (
            (n = t?.app_name
              ? c > 1
                ? (0, f.we)("#Notification_Item_Body_Short_Plural", t?.app_name)
                : (0, f.we)("#Notification_Item_Body_Short", t?.app_name)
              : (0, f.we)("#Notification_Item_Body_Generic")),
            a.createElement(V, {
              ...e,
              logo: g,
              icon: e.icon,
              title: (0, f.we)("#Notification_ItemAnnouncement_Body"),
              body: n,
            })
          );
        }
        return a.createElement(
          _e,
          null,
          a.createElement(
            G,
            { logo: g, bLoading: h, ...e },
            a.createElement(F, {
              icon: r,
              title: (0, f.we)("#Notification_ItemAnnouncement_TitleLong"),
              timestamp: l,
              location: o,
              fnRenderTimestamp: s,
            }),
            a.createElement(q, { multiline: !E }, y),
            !!E && a.createElement(Q, null, E),
            m ? a.createElement(de, { onHide: m }) : null,
          ),
        );
      }
      function le(e) {
        let {
          fallbackLogo: t,
          app: n,
          data: i,
          location: o,
          icon: r,
          timestamp: l,
          fnRenderTimestamp: s,
          onHide: c,
        } = e;
        const m = Z(o),
          u = ue(n, t, m),
          d = !n;
        let _ = "";
        return (
          1 == i.state
            ? (_ =
                m && n?.GetName()
                  ? (0, f.we)(
                      "#SteamNotification_AsyncGame_Action_Short",
                      n.GetName(),
                    )
                  : (0, f.we)("#SteamNotification_AsyncGame_Action"))
            : 2 == i.state &&
              (_ =
                m && n?.GetName()
                  ? (0, f.we)(
                      "#SteamNotification_AsyncGame_Done_Short",
                      n.GetName(),
                    )
                  : (0, f.we)("#SteamNotification_AsyncGame_Done")),
          m
            ? a.createElement(V, {
                ...e,
                logo: u,
                icon: e.icon,
                title: (0, f.we)("#SteamNotification_AsyncGame_Title"),
                body: _,
              })
            : a.createElement(
                _e,
                null,
                a.createElement(
                  G,
                  { logo: u, bLoading: d, ...e },
                  a.createElement(F, {
                    icon: r,
                    title: (0, f.we)("#SteamNotification_AsyncGame_Title"),
                    timestamp: l,
                    location: o,
                    fnRenderTimestamp: s,
                  }),
                  a.createElement(q, null, _),
                  a.createElement(Q, null, n?.GetName()),
                  c ? a.createElement(de, { onHide: c }) : null,
                ),
              )
        );
      }
      function se(e) {
        const {
            title: t,
            body: n,
            logoUrl: i,
            bDataLoading: o,
            icon: r,
            onHide: l,
            location: s,
            timestamp: c,
            fnRenderTimestamp: m,
            onActivate: u,
            personaStatus: d,
          } = e,
          _ = Z(s),
          f = _ ? $().ShortLogoDimensions : $().StandardLogoDimensions,
          p = a.createElement(
            k.Z,
            { style: { position: "relative" } },
            a.createElement("img", {
              className: f,
              style: { justifyContent: "center" },
              src: i,
            }),
          );
        return _
          ? a.createElement(V, {
              logo: p,
              icon: e.icon,
              title: t,
              body: n,
              onActivate: u,
              personaStatus: d,
            })
          : a.createElement(
              _e,
              null,
              a.createElement(
                G,
                { logo: p, bLoading: o, onActivate: u, personaStatus: d, ...e },
                a.createElement(F, {
                  icon: r,
                  title: t,
                  timestamp: c,
                  location: s,
                  fnRenderTimestamp: m,
                }),
                a.createElement(q, { multiline: !0 }, n),
                l ? a.createElement(de, { onHide: l }) : null,
              ),
            );
      }
      function ce(e) {
        let {
            currentUserSteamID: t,
            fallbackLogo: n,
            postedByDisplayName: i,
            postedByAvatarURL: o,
            ownerDisplayName: r,
            data: l,
            location: s,
            icon: c,
            timestamp: u,
            fnRenderTimestamp: _,
            nUnread: p,
            app: g,
            onHide: N,
            commentTitle: E,
            commentBody: y,
          } = e,
          h = E;
        const S = Z(s),
          [v, T] = a.useState(!1),
          w = () => T(!0),
          [A, L] = (0, ee.TB)(
            l.bclan_account ? l.owner_steam_id?.GetAccountID() : void 0,
          ),
          I = (0, m.hr)(l) ? i : null,
          b = (0, m.T4)(l) ? r : null;
        10 == l.comment_type
          ? (h =
              l.owner_steam_id?.ConvertTo64BitString() == t
                ? 4 == s && I
                  ? (0, f.we)("#SteamNotifications_Comment_Your_Profile_By", I)
                  : (0, f.we)("#SteamNotifications_Comment_Your_Profile")
                : b
                  ? 4 == s && I
                    ? (0, f.we)(
                        "#SteamNotifications_Comment_Player_Profile_By",
                        I,
                        b,
                      )
                    : (0, f.we)("#SteamNotifications_Comment_Player_Profile", b)
                  : (0, f.we)("#SteamNotifications_Comment_Profile"))
          : 5 == l.comment_type && 5 == l.json_data?.file_type
            ? (h =
                l.owner_steam_id?.ConvertTo64BitString() == t
                  ? g
                    ? (0, f.we)(
                        "#SteamNotifications_Comment_Your_Screenshot_Game",
                        g.GetName(),
                      )
                    : (0, f.we)("#SteamNotifications_Comment_Your_Screenshot")
                  : g
                    ? (0, f.we)(
                        "#SteamNotifications_Comment_Screenshot_Game",
                        g.GetName(),
                      )
                    : (0, f.we)("#SteamNotifications_Comment_Screenshot"))
            : !h && l.json_data?.title && (h = l.json_data.title);
        let k = null;
        k =
          7 == l.comment_type && l.bis_forum && y
            ? a.createElement(
                Q,
                null,
                (0, f.we)("#SteamNotifications_Comment_NewDiscussion", y),
              )
            : a.createElement(Q, null, '"', y, '"');
        let M = (0, f.we)("#SteamNotifications_Comment"),
          R = null;
        if (void 0 !== p && p > 1) {
          const e = "+" + (p - 1);
          4 == s
            ? (R = a.createElement(
                "div",
                { className: $().AllNotificationsCommentPlus },
                e,
              ))
            : (M = M + " " + e);
        }
        let H = n;
        if (!v) {
          const e = S ? $().ShortLogoDimensions : $().StandardLogoDimensions;
          if (o && (0, m.n8)(l)) {
            const t = l.bhas_friend && 1 != s;
            H = a.createElement(
              "div",
              { style: { position: "relative" } },
              t && a.createElement(d.GSe, { className: $().FriendIndicator }),
              a.createElement("img", { className: e, src: o, onError: w }),
            );
          } else
            L?.avatar_medium_url &&
              (H = a.createElement("img", {
                className: e,
                src: L.avatar_medium_url,
                onError: w,
              }));
        }
        return S
          ? a.createElement(V, {
              ...e,
              logo: H,
              icon: e.icon,
              title: M,
              body: h,
            })
          : a.createElement(
              _e,
              null,
              a.createElement(
                G,
                { logo: H, ...e },
                a.createElement(F, {
                  icon: c,
                  title: M,
                  timestamp: u,
                  location: s,
                  fnRenderTimestamp: _,
                }),
                a.createElement(q, null, h),
                k,
                R,
                N ? a.createElement(de, { onHide: N }) : null,
              ),
            );
      }
      function me(e) {
        let {
          app: t,
          fallbackLogo: n,
          data: i,
          location: o,
          icon: r,
          timestamp: l,
          fnRenderTimestamp: s,
          onHide: c,
        } = e;
        const m = Z(o),
          u = ue(t, n, m),
          d = i.appid && !t;
        let _ = "",
          p = null;
        return (
          t
            ? ((_ = t.GetName()),
              1 == i.count
                ? m
                  ? (_ = (0, f.PP)(
                      "#SteamNotifications_Wishlist_OnSale_Single_Short",
                      a.createElement("span", null, t.GetName()),
                      a.createElement(
                        "span",
                        { style: { color: "#FFFFFF" } },
                        t.GetBestPurchasePriceFormatted(),
                      ),
                    ))
                  : (p = (0, f.PP)(
                      "#SteamNotifications_Wishlist_OnSale_Single",
                      a.createElement(
                        "span",
                        { style: { color: "#FFFFFF" } },
                        t.GetBestPurchasePriceFormatted(),
                      ),
                    ))
                : 2 == i.count
                  ? m
                    ? (_ = (0, f.we)(
                        "#SteamNotifications_Wishlist_OnSale_PlusOne_Short",
                        t.GetName(),
                      ))
                    : (p = (0, f.we)(
                        "#SteamNotifications_Wishlist_OnSale_PlusOne",
                      ))
                  : m
                    ? (_ = (0, f.we)(
                        "#SteamNotifications_Wishlist_OnSale_PlusMany_Short",
                        t.GetName(),
                        i.count - 1,
                      ))
                    : (p = (0, f.we)(
                        "#SteamNotifications_Wishlist_OnSale_PlusMany",
                        i.count - 1,
                      )))
            : (_ = (0, f.we)("#SteamNotifications_Wishlist_Generic")),
          m
            ? a.createElement(V, {
                ...e,
                logo: u,
                icon: e.icon,
                title: (0, f.we)("#SteamNotifications_Wishlist"),
                body: _,
              })
            : a.createElement(
                _e,
                null,
                a.createElement(
                  G,
                  { logo: u, bLoading: d, ...e },
                  a.createElement(F, {
                    icon: r,
                    title: (0, f.we)("#SteamNotifications_Wishlist"),
                    timestamp: l,
                    location: o,
                    fnRenderTimestamp: s,
                  }),
                  a.createElement(q, { multiline: !p }, _),
                  !!p && a.createElement(Q, null, p),
                  c ? a.createElement(de, { onHide: c }) : null,
                ),
              )
        );
      }
      function ue(e, t, n = !1) {
        const [i, o] = a.useState(!1),
          r = () => o(!0);
        return !e || i
          ? a.createElement(k.Z, { style: { position: "relative" } }, t)
          : n
            ? a.createElement(
                k.Z,
                { style: { position: "relative" } },
                a.createElement("img", {
                  src: e?.GetAssets()?.GetCommunityIconURL(),
                  className: $().ShortLogoDimensions,
                  onError: r,
                }),
              )
            : a.createElement(
                k.Z,
                { style: { position: "relative" } },
                a.createElement("img", {
                  className: (0, _.A)($().WishlistBlurImage),
                  src: e?.GetAssets()?.GetCommunityIconURL(),
                  onError: r,
                }),
                a.createElement("img", {
                  src: e?.GetAssets()?.GetCommunityIconURL(),
                  onError: r,
                  style: {
                    position: "absolute",
                    left: 7,
                    top: 7,
                    height: 32,
                    width: 32,
                  },
                }),
              );
      }
      function de(e) {
        return a.createElement(
          "div",
          {
            className: $().HideButton,
            onClick: (t) => {
              e.onHide(), t.stopPropagation(), t.preventDefault();
            },
            onMouseDown: (e) => {
              e.stopPropagation(), e.preventDefault();
            },
          },
          a.createElement(d.zHo, null),
        );
      }
      function _e(e) {
        return a.createElement(
          "div",
          { className: $().SteamNotificationWrapper },
          e.children,
        );
      }
      var fe = n(56228);
      let pe = null,
        ge = !1;
      function Ne() {
        const e = (0, s.KV)(),
          t = (0, s.rX)(),
          n = (0, o.q3)(
            () =>
              (pe || (pe = new fe.s({ BIsFriend: (0, fe.Q)() })), pe)
                .m_bInitialized,
          );
        return (
          n ||
            ge ||
            ((ge = !0), pe.Init(K.iA.accountid, e, t).finally(() => (ge = !1))),
          [n, pe]
        );
      }
      const Ee = {
        3: function (e) {
          const {
              rollup: t,
              onNotificationClick: n,
              location: i,
              uimode: o,
              onHide: l,
            } = e,
            s = v(t),
            c = (0, r.LH)(),
            u = p.TS.COMMUNITY_BASE_URL + t.url,
            _ = (0, m.iO)(s) ? s?.account_steam_id?.GetAccountID() : null,
            { data: f } = (0, b.js)(_),
            g = (0, m.OT)(s) ? s?.owner_steam_id?.GetAccountID() : null,
            { data: N } = (0, b.js)(g),
            [E] = (0, T.t7)(s.json_data?.app_id, { include_assets: !0 }),
            [y, h] = Ne(),
            S = y
              ? h.FilterText(s.account_steam_id.GetAccountID(), s.title)
              : "",
            w = y
              ? h.FilterText(s.account_steam_id.GetAccountID(), s.comment)
              : "";
          return a.createElement(
            "a",
            {
              href: u,
              onMouseDown: (e) => {
                n(() => {}, t.item, e);
              },
            },
            a.createElement(ce, {
              fallbackLogo: a.createElement(d.Qte, null),
              icon: a.createElement(d.MwB, null),
              onActivate: () => n(() => window.location.assign(u), t.item),
              location: i,
              currentUserSteamID: c,
              eUIMode: o,
              data: s,
              timestamp: t.timestamp,
              nUnread: t.rgunread.length,
              postedByAvatarURL: f?.avatar_url_medium,
              postedByDisplayName: f?.m_strPlayerName,
              ownerDisplayName: N?.m_strPlayerName,
              bNewIndicator: (0, m.Rl)(t.item),
              app: E,
              onHide: l,
              commentTitle: S,
              commentBody: w,
              bLoading: !y,
            }),
          );
        },
        8: function (e) {
          const {
              rollup: t,
              onNotificationClick: n,
              location: i,
              uimode: o,
              onHide: l,
            } = e,
            s = v(t),
            [c] = (0, T.t7)(s.appid, { include_assets: !0 }),
            [u, _] = (0, a.useState)(""),
            f = (0, r.LH)();
          (0, a.useEffect)(() => {
            if (s.count > 1 && s.appids?.length)
              return _(
                p.TS.STORE_BASE_URL +
                  `wishlist/profiles/${f}/?wng=${s.appids.toString()}#sort=discount`,
              );
            if (c) return _(c.GetStorePageURL());
            const e = s.appid ? `?appid=${s.appid}` : "";
            _(
              p.TS.STORE_BASE_URL + `wishlist/profiles/${f}/${e}#sort=discount`,
            );
          }, [s, c, f]);
          return a.createElement(
            "a",
            { href: u, onMouseDown: (e) => n(() => {}, t.item, e) },
            a.createElement(me, {
              fallbackLogo: a.createElement(d.Qte, null),
              icon: a.createElement(d.ilR, null),
              onActivate: () => n(() => window.location.assign(u), t.item),
              app: c,
              location: i,
              data: s,
              timestamp: t.timestamp,
              nUnread: t.rgunread.length,
              eUIMode: o,
              bNewIndicator: (0, m.Rl)(t.item),
              onHide: l,
            }),
          );
        },
        5: function (e) {
          const {
              rollup: t,
              onNotificationClick: n,
              location: i,
              uimode: o,
              onHide: l,
            } = e,
            s = (0, r.LH)(),
            c = `${p.TS.COMMUNITY_BASE_URL}profiles/${s}/friends/pending`,
            u = v(t),
            { data: _ } = (0, b.js)(u.requestorID);
          return a.createElement(
            "a",
            { href: c, onMouseDown: (e) => n(() => {}, t.item, e) },
            a.createElement(ae, {
              fallbackLogo: a.createElement(d.Gv$, null),
              icon: a.createElement(d.sdo, null),
              onActivate: () => n(() => window.location.assign(c), t.item),
              location: i,
              eUIMode: o,
              data: u,
              timestamp: t.timestamp,
              nUnread: t.rgunread.length,
              requestorAvatarURL: _?.avatar_url_medium,
              requestorName: _?.m_strPlayerName,
              bNewIndicator: (0, m.Rl)(t.item),
              onHide: l,
            }),
          );
        },
        4: function (e) {
          const {
              rollup: t,
              onNotificationClick: n,
              location: i,
              uimode: o,
              onHide: l,
            } = e,
            c = (0, r.LH)(),
            u = (0, s.KV)(),
            _ = (0, m.IL)(t.item, c, u),
            f = v(t),
            g = `${p.TS.COMMUNITY_BASE_URL}profiles/${c}/inventory`;
          return a.createElement(
            "a",
            { href: g, onMouseDown: (e) => n(() => {}, t.item, e) },
            a.createElement(re, {
              icon: a.createElement(d.rI_, null),
              fallbackLogo: a.createElement(d.Qte, null),
              onActivate: () => n(() => window.location.assign(g), t.item),
              location: i,
              eUIMode: o,
              data: f,
              timestamp: t.timestamp,
              nUnread: t.rgunread.length,
              itemState: _,
              bNewIndicator: (0, m.Rl)(t.item),
              onHide: l,
            }),
          );
        },
        2: function (e) {
          const {
              rollup: t,
              onNotificationClick: n,
              location: i,
              uimode: o,
              onHide: l,
            } = e,
            s = (0, r.LH)(),
            c = `${p.TS.COMMUNITY_BASE_URL}profiles/${s}/inventory/#pending_gifts`,
            u = v(t),
            _ = h.b.InitFromAccountID(u),
            { data: f } = (0, b.js)(_.GetAccountID());
          return a.createElement(
            "a",
            { href: c, onMouseDown: (e) => n(() => {}, t.item, e) },
            a.createElement(oe, {
              logo: a.createElement(d.Qte, null),
              icon: a.createElement(d.pD, null),
              onActivate: () => n(() => window.location.assign(c), t.item),
              location: i,
              eUIMode: o,
              timestamp: t.timestamp,
              nUnread: t.rgunread.length,
              senderName: f?.m_strPlayerName,
              bNewIndicator: (0, m.Rl)(t.item),
              onHide: l,
            }),
          );
        },
        9: function (e) {
          const {
              rollup: t,
              onNotificationClick: n,
              location: i,
              uimode: o,
              onHide: l,
            } = e,
            s = (0, r.LH)(),
            c = v(t),
            u = `${p.TS.COMMUNITY_BASE_URL}profiles/${s}/tradeoffers`,
            _ = h.b.InitFromAccountID(c),
            { data: f } = (0, b.js)(_.GetAccountID());
          return a.createElement(
            "a",
            { href: u, onMouseDown: (e) => n(() => {}, t.item, e) },
            a.createElement(ie, {
              logo: a.createElement(d.Qte, null),
              icon: a.createElement(d.h20, null),
              onActivate: () => n(() => window.location.assign(u), t.item),
              location: i,
              eUIMode: o,
              timestamp: t.timestamp,
              nUnread: t.rgunread.length,
              displayName: f?.m_strPlayerName,
              bNewIndicator: (0, m.Rl)(t.item),
              onHide: l,
            }),
          );
        },
        12: function (e) {
          const {
              rollup: t,
              onNotificationClick: n,
              location: i,
              uimode: o,
              onHide: r,
            } = e,
            l = `${p.TS.COMMUNITY_BASE_URL}my/gamenotifications/`,
            s = v(t),
            [c] = (0, T.t7)(s.appid, { include_assets: !0 });
          return a.createElement(
            "a",
            { href: l, onMouseDown: (e) => n(() => {}, t.item, e) },
            a.createElement(le, {
              icon: a.createElement(d.Qte, null),
              fallbackLogo: a.createElement(d.wC1, null),
              onActivate: () => n(() => window.location.assign(l), t.item),
              location: i,
              eUIMode: o,
              data: s,
              timestamp: t.timestamp,
              nUnread: t.rgunread.length,
              app: c,
              bNewIndicator: (0, m.Rl)(t.item),
              onHide: r,
            }),
          );
        },
        22: function (e) {
          const {
              rollup: t,
              onNotificationClick: n,
              location: i,
              uimode: o,
              onHide: r,
            } = e,
            l = v(t),
            { data: s } = (0, b.js)(l.responder_steamid),
            c = l.package_id > 0 ? l.package_id : l.bundle_id,
            u = l.package_id > 0 ? 1 : 2,
            [_] = (0, T.mZ)(c, u, {
              include_basic_info: !0,
              include_assets: !0,
            }),
            g = _ ? `app/${_.GetAppID()}` : "",
            N = `${p.TS.STORE_BASE_URL}${g}`,
            E = !s || !_,
            y = (0, f.we)("#SteamNotifications_RequestedGameAddedTitle"),
            h = _
              ? (0, f.we)(
                  "#SteamNotifications_RequestedGameAddedBody",
                  _.GetName() ?? "",
                )
              : "";
          return a.createElement(
            "a",
            { href: N, onMouseDown: (e) => n(() => {}, t.item, e) },
            a.createElement(se, {
              title: y,
              body: h,
              bDataLoading: E,
              logoUrl: s?.avatar_url_medium,
              icon: a.createElement(d.Qte, null),
              onActivate: () => n(() => window.location.assign(N), t.item),
              location: i,
              eUIMode: o,
              timestamp: t.timestamp,
              nUnread: t.rgunread.length,
              bNewIndicator: (0, m.Rl)(t.item),
              onHide: r,
            }),
          );
        },
      };
      function ye(e) {
        const { rollup: t, uimode: n, location: o } = e,
          r = (function (e) {
            let t = null;
            return (
              (0, m.sR)(e)
                ? (t = ve)
                : (0, m.IC)(e)
                  ? (t = he)
                  : Ee[e] && (t = Ee[e]),
              t
            );
          })(t.type);
        return r
          ? a.createElement(
              L.A,
              {
                controller: "notification",
                method: (0, i.fL)(n),
                submethod: (0, i.ey)(o),
              },
              a.createElement(r, { ...e }),
            )
          : null;
      }
      function he(e) {
        const {
            rollup: t,
            onNotificationClick: n,
            location: i,
            uimode: o,
            onHide: r,
          } = e,
          l =
            ((s = t.item.notification_type),
            (c = t.item.body_data),
            a.useMemo(() => {
              if (void 0 === s) return null;
              let e = (0, m.K9)(s);
              const t = (0, m.u5)(c);
              if (!e || !t) return null;
              const n =
                  "function" != typeof e.displayNameLoc
                    ? { locString: e.displayNameLoc }
                    : e.displayNameLoc(t),
                i =
                  "function" != typeof e.titleLoc
                    ? { locString: e.titleLoc }
                    : e.titleLoc(t),
                o =
                  "function" != typeof e.bodyLoc
                    ? { locString: e.bodyLoc }
                    : e.bodyLoc(t),
                a = "function" != typeof e.image ? e.image : e.image(t),
                r = "function" != typeof e.link ? e.link : e.link(t);
              return {
                display_name: S(n),
                title: S(i),
                body: S(o),
                image: a,
                link: r,
              };
            }, [c, s]));
        var s, c;
        const u = "number" == typeof l?.image,
          [_] = (0, T.t7)(u ? l.image : 0, { include_assets: !0 }),
          f = (0, y.p$)(t.type)
            .replace("k_ESteamNotificationType_", "")
            ?.toLowerCase(),
          p = (0, I.aL)(l?.link ?? "#", f);
        return a.createElement(
          "a",
          {
            href: l?.link ? p : "#",
            onMouseDown: (e) => n(() => {}, t.item, e),
          },
          a.createElement(ne, {
            icon: te(t.type),
            onActivate: () =>
              n(() => {
                l?.link && p && window.location.assign(p);
              }, t.item),
            fallbackLogo: a.createElement(d.Qte, null),
            location: i,
            eUIMode: o,
            data: l,
            timestamp: t.timestamp,
            nUnread: t.rgunread.length,
            app: _,
            bNewIndicator: (0, m.Rl)(t.item),
            onHide: r,
          }),
        );
      }
      function Se(e) {
        const {
            steamid: t,
            url: n,
            strTitleLoc: i,
            strBodyLoc: o,
            rollup: r,
            onNotificationClick: l,
            location: s,
            uimode: c,
            onHide: u,
          } = e,
          { data: _ } = (0, b.js)(t);
        if (!o) return null;
        const p = !_,
          g = (0, f.we)(i, _?.m_strPlayerName ?? ""),
          N = (0, f.we)(o, _?.m_strPlayerName ?? "");
        return a.createElement(
          "a",
          { href: n, onMouseDown: (e) => l(() => {}, r.item, e) },
          a.createElement(se, {
            title: g,
            body: N,
            bDataLoading: p,
            logoUrl: _?.avatar_url_medium,
            icon: a.createElement(d.Qte, null),
            onActivate: () => l(() => window.location.assign(n), r.item),
            location: s,
            eUIMode: c,
            timestamp: r.timestamp,
            nUnread: r.rgunread.length,
            bNewIndicator: (0, m.Rl)(r.item),
            onHide: u,
          }),
        );
      }
      function ve(e) {
        const t =
          ((n = e.rollup.type),
          (i = e.rollup.item.body_data),
          a.useMemo(() => {
            const e = n,
              t = (0, m.aq)(e),
              o = (0, m.u5)(i);
            if (!t) return null;
            const a =
                "string" == typeof t.titleLoc ? t.titleLoc : t.titleLoc(o),
              r = "string" == typeof t.bodyLoc ? t.bodyLoc : t.bodyLoc(o),
              l = "string" == typeof t.url ? t.url : t.url(o),
              s =
                "string" == typeof t.steamidAttribute
                  ? t.steamidAttribute
                  : t.steamidAttribute(o);
            return {
              strTitleLoc: a,
              strBodyLoc: r,
              strUrl: l,
              steamid: o && o[s],
            };
          }, [i, n]));
        var n, i;
        if (!t) return null;
        const { strTitleLoc: o, strBodyLoc: r, strUrl: l, steamid: s } = t;
        return s && o && r
          ? a.createElement(Se, {
              steamid: s,
              url: l,
              strTitleLoc: o,
              strBodyLoc: r,
              ...e,
            })
          : null;
      }
      function Te(e) {
        const { url: t, count: n, icon: i, strLocToken: o, eFeature: r } = e,
          s = (0, l.Hw)(r);
        return n
          ? s
            ? null
            : a.createElement(
                "a",
                { href: t, className: A().WebPinnedNotification },
                a.createElement(P, {
                  icon: a.createElement(i, null),
                  count: n,
                  onActivate: () => window.location.assign(t),
                  strLocToken: o,
                  eUIMode: 3,
                  visible: !0,
                }),
              )
          : null;
      }
      var we = n(60383);
      const Ae = new m.cE(),
        Le = (0, g.Nr)(function (e) {
          const { bResponsiveHeader: t, notifications: n } = e;
          a.useEffect(() => {
            n && !Ae.m_bLoaded && Ae.ProcessNewNotificationPayload(n);
          }, [n]);
          const o = (0, s.KV)();
          (0, a.useEffect)(() => {
            Ae.setTransport(o),
              (window.RefreshSteamNotifications = () =>
                (async function (e) {
                  let t = null;
                  try {
                    t = await (0, m.tM)(
                      e,
                      p.iA.steamid,
                      (0, i.sf)(p.TS.LANGUAGE),
                      void 0,
                      !1,
                      !1,
                    );
                  } catch (e) {}
                  t && Ae.ProcessNewNotificationPayload(t);
                })(o));
          }, [o]);
          const r = Ie();
          return t
            ? a.createElement(
                a.Fragment,
                null,
                a.createElement(Pe, null),
                a.createElement(He, null),
              )
            : a.createElement(ke, { nTotalUnviewed: r.nUnviewed });
        });
      function Ie() {
        return (0, o.q3)(() => ({
          notifications: Ae.m_rgNotificationRollups,
          summary: Ae.m_summary,
          loaded: Ae.m_bLoaded,
          nUnviewed: Ae.m_nUnviewed,
        }));
      }
      function be() {
        const e = Ie(),
          t = (0, r.LH)(),
          { data: n } = (0, l.S0)(t),
          i = (0, l.BM)(),
          o = n?.settings;
        return e.notifications.filter(
          (e) => !(0, m.jb)(e.type, o, i) && !(0, m.XT)(e.item),
        );
      }
      function ke(e) {
        const { nTotalUnviewed: t } = e,
          n = a.useRef(null),
          i = be(),
          [o, r] = a.useState(E().AnimateBell);
        a.useEffect(() => {
          n.current ||
            ((n.current = (0, c.lX)(
              a.createElement(Me, { popupRef: n }),
              document.getElementById("green_envelope_menu_root"),
              {
                bPreferPopLeft: !0,
                bOverlapHorizontal: !0,
                strClassName: "GreenEnvelopeMenu",
              },
            )),
            n.current.Hide());
          const e = document.getElementById("header_notification_link");
          e && (e.style.cssText = "background-color: rgba(0,0,0,0)"),
            window.setTimeout(() => r(null), 2e3);
        }, []);
        const l = a.useCallback(
          (e) => {
            !e && n.current?.visible && n.current.Hide();
          },
          [n],
        );
        return a.createElement(
          we.J,
          { trigger: "repeated", onVisibilityChange: l },
          a.createElement(
            "button",
            {
              onClick: () => {
                if (!n.current?.visible) {
                  n.current?.Show();
                  -1 != i.findIndex((e) => !e.item.viewed) &&
                    Ae.MarkAllItemsViewed();
                }
              },
              id: "green_envelope_menu_root",
              className: (0, _.A)(
                E().NotificationsButton,
                t ? E().Green : E().Grey,
                o,
              ),
            },
            a.createElement(u.$0s, { className: E().SVGNotifications }),
          ),
        );
      }
      const Me = (e) => {
          const { popupRef: t } = e,
            n = a.useRef(null),
            [i, o] = a.useState(!1);
          a.useEffect(() => {
            o(
              null != n.current &&
                n.current?.scrollHeight > n.current?.clientHeight,
            );
          }, [n.current?.scrollHeight, i]);
          const r = i ? void 0 : E().MenuScrollbarHidden;
          return a.createElement(
            "div",
            {
              className: E().NotificationsMenu,
              onClick: () => t?.current?.Hide(),
            },
            a.createElement(Re, null),
            a.createElement(
              "div",
              {
                className: (0, _.A)(E().NotificationsMenuScrollable, r),
                ref: n,
              },
              a.createElement(Pe, null),
              a.createElement(Be, null),
              a.createElement(De, null),
            ),
          );
        },
        Re = () => {
          const e = `${p.TS.COMMUNITY_BASE_URL}profiles/${p.iA.steamid}/notifications`;
          return a.createElement(
            "div",
            { className: (0, _.A)(E().NotificationHeader) },
            a.createElement(
              "div",
              { className: E().AllNotificationsTitle },
              (0, f.we)("#NotificationsMenu_Title"),
            ),
            a.createElement(
              "a",
              { href: e },
              a.createElement(
                "div",
                { className: E().AllNotificationsButton },
                (0, f.we)("#NotificationsMenu_ViewAll"),
              ),
            ),
          );
        },
        He = () => {
          const e = `${p.TS.COMMUNITY_BASE_URL}profiles/${p.iA.steamid}/notifications`;
          return a.createElement(
            "div",
            {
              className: (0, _.A)(
                E().NotificationHeader,
                E().ResponsiveViewAll,
              ),
            },
            a.createElement(
              "a",
              { href: e },
              a.createElement(
                "div",
                { className: E().AllNotificationsButton },
                (0, f.we)("#NotificationsMenu_ViewAll"),
              ),
            ),
          );
        };
      function Ue(e, t, n) {
        t.read ||
          (n && 0 != n.button && 1 != n.button) ||
          !t.notification_id ||
          Ae.MarkItemRead(t.notification_id),
          e();
      }
      function Be() {
        const e = be();
        return 0 == e.length
          ? null
          : a.createElement(
              "div",
              { className: E().NotificationsMenuEntriesContainer },
              e.map((e, t) =>
                a.createElement(ye, {
                  key: t,
                  rollup: e,
                  onNotificationClick: Ue,
                  uimode: 3,
                  location: 3,
                }),
              ),
            );
      }
      const Ce = [
        {
          fnUrl: () =>
            `${p.TS.COMMUNITY_BASE_URL}profiles/${p.iA.steamid}/inventory/#pending_gifts`,
          countItem: "pending_gifts",
          icon: d.pD,
          strLocToken: "#Notification_NewGiftsPinned_Body",
          feature: 1,
        },
        {
          fnUrl: () =>
            `${p.TS.COMMUNITY_BASE_URL}profiles/${p.iA.steamid}/home/invites`,
          countItem: "pending_invites",
          icon: d.sdo,
          strLocToken: "#Notification_FriendInvitePinned_Body",
          feature: 4,
        },
        {
          fnUrl: () =>
            `${p.TS.COMMUNITY_BASE_URL}profiles/${p.iA.steamid}/notifications#comments`,
          countItem: "comments",
          icon: d.MwB,
          strLocToken: "#Notification_NewCommentPinned_Body",
          feature: 2,
        },
        {
          fnUrl: () =>
            `${p.TS.COMMUNITY_BASE_URL}profiles/${p.iA.steamid}/inventory`,
          countItem: "inventory_items",
          icon: d.rI_,
          strLocToken: "#Notification_NewItemAnnouncementPinned_Body",
          feature: 3,
        },
        {
          fnUrl: () =>
            `${p.TS.COMMUNITY_BASE_URL}profiles/${p.iA.steamid}/tradeoffers`,
          countItem: "trade_offers",
          icon: d.h20,
          strLocToken: "#Notification_NewTradeOffersPinned_Body",
          feature: 6,
        },
        {
          fnUrl: () =>
            `${p.TS.COMMUNITY_BASE_URL}profiles/${p.iA.steamid}/gamenotifications`,
          countItem: "async_game_updates",
          icon: d.wC1,
          strLocToken: "#Notification_NewAsyncGamePinned_Body",
        },
        {
          fnUrl: () => `${p.TS.COMMUNITY_BASE_URL}my/moderatormessages`,
          countItem: "moderator_messages",
          icon: u.hJ4,
          strLocToken: "#Notification_NewModeratorMessagePinned_Body",
          feature: 2,
        },
        {
          fnUrl: () => `${p.TS.HELP_BASE_URL}wizard/HelpRequests`,
          countItem: "help_request_replies",
          icon: d.Cv4,
          strLocToken: "#Notification_NewHelpRequestRepliesPinned_Body",
        },
        {
          fnUrl: () =>
            `${p.TS.STORE_BASE_URL}account/familymanagement/join?ft=${p.iA.steamid}`,
          countItem: "family_invites",
          icon: d.Qte,
          strLocToken: "#Notification_FamilyInvitePinned_Body",
        },
      ];
      function Pe() {
        const e = Ie();
        return a.createElement(
          a.Fragment,
          null,
          Ce.map((t) =>
            a.createElement(Te, {
              key: t.countItem,
              url: t.fnUrl(),
              count: e.summary[t.countItem],
              icon: t.icon,
              strLocToken: t.strLocToken,
              eFeature: t.feature,
            }),
          ),
        );
      }
      function De() {
        return a.createElement(
          "div",
          { className: E().EmptyNotificationsCtn },
          a.createElement(
            "div",
            { className: E().EmptyNotificationsTitle },
            (0, f.we)("#NotificationsList_EmptyTitle_New"),
          ),
          a.createElement(
            "div",
            { className: E().EmptyNotificationsBody },
            (0, f.we)("#NotificationsList_EmptyBody"),
          ),
        );
      }
      const Ge = Le;
    },
    4434: (e, t, n) => {
      "use strict";
      n.d(t, { m: () => r });
      var i = n(41735),
        o = n.n(i),
        a = n(90626);
      function r(e) {
        const t = a.useRef(o().CancelToken.source());
        return (
          a.useEffect(() => {
            const n = t.current;
            return () => n.cancel(e ? `${e}: unmounting` : "unmounting");
          }, [e]),
          t.current
        );
      }
    },
    54806: (e, t, n) => {
      "use strict";
      n.d(t, { E: () => g });
      var i = n(90626),
        o = n(86709),
        a = n(45747),
        r = n(74500),
        l = n(57168);
      function s(e, t) {
        return e.filter((e) => !t.includes(e));
      }
      var c = class extends r.Q {
          #e;
          #t;
          #n;
          #i;
          #o;
          #a;
          #r;
          #l;
          constructor(e, t, n) {
            super(),
              (this.#e = e),
              (this.#i = n),
              (this.#n = []),
              (this.#o = []),
              (this.#t = []),
              this.setQueries(t);
          }
          onSubscribe() {
            1 === this.listeners.size &&
              this.#o.forEach((e) => {
                e.subscribe((t) => {
                  this.#s(e, t);
                });
              });
          }
          onUnsubscribe() {
            this.listeners.size || this.destroy();
          }
          destroy() {
            (this.listeners = new Set()),
              this.#o.forEach((e) => {
                e.destroy();
              });
          }
          setQueries(e, t, n) {
            (this.#n = e),
              (this.#i = t),
              o.j.batch(() => {
                const e = this.#o,
                  t = this.#c(this.#n);
                t.forEach((e) =>
                  e.observer.setOptions(e.defaultedQueryOptions, n),
                );
                const i = t.map((e) => e.observer),
                  o = i.map((e) => e.getCurrentResult()),
                  a = i.some((t, n) => t !== e[n]);
                (e.length !== i.length || a) &&
                  ((this.#o = i),
                  (this.#t = o),
                  this.hasListeners() &&
                    (s(e, i).forEach((e) => {
                      e.destroy();
                    }),
                    s(i, e).forEach((e) => {
                      e.subscribe((t) => {
                        this.#s(e, t);
                      });
                    }),
                    this.#m()));
              });
          }
          getCurrentResult() {
            return this.#t;
          }
          getQueries() {
            return this.#o.map((e) => e.getCurrentQuery());
          }
          getObservers() {
            return this.#o;
          }
          getOptimisticResult(e, t) {
            const n = this.#c(e).map((e) =>
              e.observer.getOptimisticResult(e.defaultedQueryOptions),
            );
            return [n, (e) => this.#u(e ?? n, t), () => this.#d(n, e)];
          }
          #d(e, t) {
            const n = this.#c(t);
            return n.map((t, i) => {
              const o = e[i];
              return t.defaultedQueryOptions.notifyOnChangeProps
                ? o
                : t.observer.trackResult(o, (e) => {
                    n.forEach((t) => {
                      t.observer.trackProp(e);
                    });
                  });
            });
          }
          #u(e, t) {
            return t
              ? ((this.#a && this.#t === this.#l && t === this.#r) ||
                  ((this.#r = t),
                  (this.#l = this.#t),
                  (this.#a = (0, l.BH)(this.#a, t(e)))),
                this.#a)
              : e;
          }
          #c(e) {
            const t = new Map(this.#o.map((e) => [e.options.queryHash, e])),
              n = [];
            return (
              e.forEach((e) => {
                const i = this.#e.defaultQueryOptions(e),
                  o = t.get(i.queryHash);
                if (o) n.push({ defaultedQueryOptions: i, observer: o });
                else {
                  const e = this.#o.find(
                    (e) => e.options.queryHash === i.queryHash,
                  );
                  n.push({
                    defaultedQueryOptions: i,
                    observer: e ?? new a.$(this.#e, i),
                  });
                }
              }),
              n.sort(
                (t, n) =>
                  e.findIndex(
                    (e) => e.queryHash === t.defaultedQueryOptions.queryHash,
                  ) -
                  e.findIndex(
                    (e) => e.queryHash === n.defaultedQueryOptions.queryHash,
                  ),
              )
            );
          }
          #s(e, t) {
            const n = this.#o.indexOf(e);
            -1 !== n &&
              ((this.#t = (function (e, t, n) {
                const i = e.slice(0);
                return (i[t] = n), i;
              })(this.#t, n, t)),
              this.#m());
          }
          #m() {
            if (this.hasListeners()) {
              this.#a !==
                this.#u(this.#d(this.#t, this.#n), this.#i?.combine) &&
                o.j.batch(() => {
                  this.listeners.forEach((e) => {
                    e(this.#t);
                  });
                });
            }
          }
        },
        m = n(75233),
        u = n(22730),
        d = n(43424),
        _ = n(19086),
        f = n(44407),
        p = n(19866);
      function g({ queries: e, ...t }, n) {
        const r = (0, m.jE)(n),
          l = (0, u.w)(),
          s = (0, d.h)(),
          g = i.useMemo(
            () =>
              e.map((e) => {
                const t = r.defaultQueryOptions(e);
                return (
                  (t._optimisticResults = l ? "isRestoring" : "optimistic"), t
                );
              }),
            [e, r, l],
          );
        g.forEach((e) => {
          (0, f.jv)(e), (0, _.LJ)(e, s);
        }),
          (0, _.wZ)(s);
        const [N] = i.useState(() => new c(r, g, t)),
          [E, y, h] = N.getOptimisticResult(g, t.combine);
        i.useSyncExternalStore(
          i.useCallback(
            (e) => (l ? p.l : N.subscribe(o.j.batchCalls(e))),
            [N, l],
          ),
          () => N.getCurrentResult(),
          () => N.getCurrentResult(),
        ),
          i.useEffect(() => {
            N.setQueries(g, t, { listeners: !1 });
          }, [g, t, N]);
        const S = E.some((e, t) => (0, f.EU)(g[t], e))
          ? E.flatMap((e, t) => {
              const n = g[t];
              if (n) {
                const t = new a.$(r, n);
                if ((0, f.EU)(n, e)) return (0, f.iL)(n, t, s);
                (0, f.nE)(e, l) && (0, f.iL)(n, t, s);
              }
              return [];
            })
          : [];
        if (S.length > 0) throw Promise.all(S);
        const v = E.find((e, t) => {
          const n = g[t];
          return (
            n &&
            (0, _.$1)({
              result: e,
              errorResetBoundary: s,
              throwOnError: n.throwOnError,
              query: r.getQueryCache().get(n.queryHash),
            })
          );
        });
        if (v?.error) throw v.error;
        return y(h());
      }
    },
  },
]);
