/**** (c) Valve Corporation. Use is governed by the terms of the Steam Subscriber Agreement http://store.steampowered.com/subscriber_agreement/.
 ****/
(self.webpackChunkcommunity = self.webpackChunkcommunity || []).push([
  [5876],
  {
    52035: (e) => {
      e.exports = {
        GameHeight: "140px",
        GamePadding: "10px",
        RemoteControlsHeight: "56px",
        MobileBreakpoint: "30rem",
      };
    },
    97131: (e) => {
      e.exports = {
        GameHeight: "140px",
        GamePadding: "10px",
        RemoteControlsHeight: "56px",
        MobileBreakpoint: "30rem",
        Gameslistapp: "_2nl8HoZ_rxg3AGpYs0N_UD",
        DisplayControls: "_2_BHLBIwWKIyKmoabfDFH-",
        FilterInput: "_24EKvqXebLSndHLcU0oa9S",
        SortOptions: "_3pgJXGeUvcAyf_Qx8Gviyl",
        SortOption: "YcplNXvbAo_QrR2RGHq7A",
        SelectedSort: "MA0IhL4avzBMZsPIv_Onx",
        BothOwnedFilter: "NKeON8ijAOy_Uhx4o6-oS",
        MeasurementContainer: "ZmRLuak1LI0RT7TdSGaSp",
        PrivacySettingsLink: "mRoicVJ4W3e852Q42-bzU",
      };
    },
    32046: (e) => {
      e.exports = {
        Filter: "ZQQNQC6M0Bnh0edYDcm0p",
        ClearButton: "_2iq6O4IihM1DlK3T6MDriW",
        SearchIcon: "QptTjZmYHOPv7_vqyAhnS",
      };
    },
    51212: (e) => {
      e.exports = {
        GameHeight: "140px",
        GamePadding: "10px",
        RemoteControlsHeight: "56px",
        MobileBreakpoint: "30rem",
        List: "_3tY9vKLCmyG2H2Q4rUJpkr",
        GamesListItemContainer: "_29H3o3m-GUmx6UfXhQaDAm",
        GamesListItem: "_2-pQFn1G7dZ7667rrakcU3",
        Changing: "_2virZnBQZfVnSt_RLteF8d",
        NavButton: "_3aNUlXqnUCLTuW3Aeu2vQ1",
        GameItemPortrait: "_1bAC6eBHy0MpRWrwTkgT9o",
        FallbackTitle: "MHfYK1d8GyLy-Pw2Zd0oX",
        PortraitContainer: "_1CHM8-0EM9IeDAZ47-cYit",
        HasAdultContent: "_2jXu55ZFxTRANaTIIV7EJ5",
        GameNameContainer: "w6q9piMq3gT16oj_lEvpy",
        GameName: "_22awlPiAoaZjQMqxJhp-KP",
        Playtime: "_2EeyhCvW_KhEdtuarguZYh",
        Hours: "_26nl3MClDebGDV7duYjZVn",
        Hours2weeks: "_1_mJZIdFpISpEwLAdgWwHG",
        LastPlayed: "_2jglu-fYE_XNY6tkn6J99Y",
        FactLabel: "_2L1rk5AZ6FW8trFciJnHSs",
        AchievementContainer: "_38RhR5f2dCM0suwMTTCyMk",
        AchievementsProgress: "_3L-qRrHSjklL-XerpCawLU",
        Buttons: "_1uRB5he6cj97y-rG3RcI6H",
        GameLinks: "_35fxd2upwJHRuX_fNyRbbM",
        GameLinksButton: "_1pXbX5mBA7v__kVWHg0_Ja",
        AppPrivateIndicator: "_2UkkK2haCjZZi3oNZjrHTt",
        DownloadStatus: "bDheibeyyAaooxTc0G5Bh",
        PerfectRibbon: "_1uKlfc1_Z49lxRNSctgO7y",
        ContentLinks: "_1yvGN-lhGKwgwFZ0hqNf3",
        StatLinks: "_1sruH2EotKih-5xc1nw_Ak",
        BottomSheetContainer: "_3EfAk-1beaL1stoa1Zphh2",
        BottomSheetOverlay: "_3M4Jfj5fXzOUlgH9BqKlOq",
        BottomSheet: "_2ywCPkpOvBVojX4Mnn7zuJ",
        GameInfo: "_36tJrb1jp0FbroHbjR6K2b",
        Facts: "_34z3MVFlA6nkaOvj9p0BXg",
        GameTitle: "_3RUE8mOoeGf8bZ77aurU_I",
        AchievementIcons: "_6o-Nn_9cs5UP8u0ZSRljj",
        Portrait: "_3MzPltH_U92rP-soE-XXhZ",
        BlurredBackground: "r1Y-M8ZjYRcmI8sTqnnbW",
        BottomSheetSection: "NZhfSfVUUKzxiu-j4DLM-",
        SectionContent: "_1ynpS-BFysdDH9UAW-iRDf",
        BottomSheetRemoteControls: "_2gji1dsQmGsIQfeoZ3ZDLp",
        BottomSheetLink: "_34fh9Z8MPpZ4_9yScG6sTQ",
        ClientName: "_1Jcm1lR6ir2WXkex7RFhNc",
        NavDropdownMenu: "_1HvmxTJCyuUCUtpqb-Jvbm",
        AchievementIcon: "_2J4HYQJrf2UMRTTLMmtWQY",
        Remainder: "fVmXu5fTPTvdMa9Wfl4-t",
        AchievementHover: "_1Whe1Zq6Wp7xVMB3L_kD7z",
        Background: "OMxTbLGmt5VsNqE2XXp_z",
        Blur: "BPScsrxPEywJlzL3Nps-T",
        TopSection: "_3OoXTDF9l6Vk3NVig_aEs7",
        TextSection: "_3sCHJt5zL0N6_BEWg0qu-e",
        Name: "_2jbhFCR7QFZlm9OjxHKzR4",
        Unlocked: "_1UIA3j5VZhatQINGh2TCP5",
        RareLabel: "_3g9oIyfEdZ_IaqN-AdCrUd",
        AchievementsProgressBar: "_3Z3qpPO7VynFPtiyMoSUOj",
        AchievementsProgressLabel: "_3eZMLQT-bjZ0EhBSvQlDQ0",
        AchievementsFraction: "_1YRRMk6X7vrOL-02K-q1pf",
        emptyDescription: "_3oj8bwi8usJEPiy_cYHLnV",
        GamepadNavigationDropdown: "Ml4QU2rA5poyzlN6Mpn_V",
        GamepadNavigationDropdownButton: "_2u7K0-MM3a_gPWpWBEUSOb",
        placeholderPulse: "_3qZsOXqZUFEK9ISDZudzlL",
        rotate: "_1TDttoOdo6-4lnAb7-9v_0",
      };
    },
    59698: (e) => {
      e.exports = {
        GameHeight: "140px",
        GamePadding: "10px",
        RemoteControlsHeight: "56px",
        MobileBreakpoint: "30rem",
        ClientSelectDropdown: "_2Z6JLrWwlE-rD6qsK1mpwA",
        ClientListDropdownMenu: "_22iS0ZTKxg-SJsAgi5pqBI",
        RemoteDownloadClientBar: "hQ4Q9MOyzOvVrZauH-tj5",
        RemoteDownloadHeader: "UVZ1rP5saSNYWAWH3yMTl",
        InfoIcon: "_3TWnE-0Q1fkvhkB9mfdf27",
        ClientIndicator: "_2XcV9fHY60YOpjt36jVCfY",
        NoConnection: "E0OMiLaKR_MRnFXmJAZmf",
        RemoteDownloadStatus: "_14QBdf-5S88wYLJbazoFrh",
        RemoteDownloadHelp: "_1pQIr9TvX9JCZcMmMETHx1",
        NoConnectionText: "_1A0dfMNzS5OX5an6RIFIK-",
        LearnMoreCta: "_3XDsbImB-54v0oQIFtqdJj",
        DownloadBarWithLabel: "_14YOdPTduI4LctS9AB_CjI",
        DownloadStatus: "_2JtXwjoHHm0U24wGc2CfVV",
        DownloadProgress: "_2b6Qyvo_fVAbVShbS2jmJQ",
        CurrentSpace: "_3_zPYGBGckOlSj4oGyYok5",
        DownloadEstimate: "_2QWHYy_4BKkdD243QQJWM4",
        DownloadBar: "_4ZW4ifW1Y2eVWWfugmjfC",
        RemoteControls: "_1FputvTUMDlSdMWR6dzBHN",
        ButtonContainer: "_2mcktnnmYz7Erghm5hxnqS",
        NoRemoteControl: "_217EiSw2ETc8OiRB6_XCAN",
        DownloadSize: "_2zfId9cfT2zTYc0lGKOhrr",
        UpdateSchedule: "_nq0rHACsxcW4OBfu3FB9",
        DownloadIconButton: "_2P6595PfFeyY96lncv5stz",
        DownloadBarContainer: "_2Qx7nzrAjG0zOX4ZElhETi",
      };
    },
    4100: (e) => {
      e.exports = {
        WishlistTab: "_1BZR3-r7Ext8HXYzmdK9zn",
        tabList: "_1sHACvEQL-LRtUYan0JxdB",
        TabBaseline: "_2gC9IPFcO2QkemlSXC51zW",
        SelectBaseline: "_1qj0peBs6iRD1XsxTT68xH",
      };
    },
    44533: (e) => {
      e.exports = {
        "duration-app-launch": "800ms",
        Icon: "_2V2sHETNfa62yMoDwSF3_t",
        IconGlow: "_3s4Rq3jnntBVP7HbJj1RMQ",
        AchievementIconWrapper: "_1fEbX-PfpZ2FhkhttWcm-V",
        RareAchievementIconGlowContainerRoot: "_2HUbCbZUn27MliiC8gRxGB",
        RareAchievementIconGlowContainer: "_2D_EJk8-jCnfqiwoKkOMVh",
        rotate: "_2liIQspBwdpNtEmYw2bU9j",
        RareAchievementNoAnimation: "_1a4bwiE4yUR3XXBKI6mKqt",
        RareAchievementIconGlow: "_1Z2eJs9-zNTKcWKy4M-oDE",
        HiddenLabel: "_1ABm6sfuqiZZDSL9z8mW1a",
      };
    },
    39821: (e, t, r) => {
      "use strict";
      r.d(t, { s: () => i });
      let i = { ProfileURL: "" };
    },
    37442: (e, t, r) => {
      "use strict";
      r.r(t), r.d(t, { default: () => pa });
      var i = r(56545),
        n = r(37735),
        a = r(80613),
        s = r(89068);
      const l = a.Message;
      class o extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            o.prototype.publishedfileid || s.Sg(o.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            o.sm_m ||
              (o.sm_m = {
                proto: o,
                fields: {
                  publishedfileid: {
                    n: 1,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  vote_up: { n: 2, br: s.qM.readBool, bw: s.gp.writeBool },
                },
              }),
            o.sm_m
          );
        }
        static MBF() {
          return o.sm_mbf || (o.sm_mbf = s.w0(o.M())), o.sm_mbf;
        }
        toObject(e = !1) {
          return o.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(o.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(o.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new o();
          return o.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(o.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return o.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(o.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return o.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_Vote_Request";
        }
      }
      class c extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(), l.initialize(this, e, 0, -1, void 0, null);
        }
        toObject(e = !1) {
          return c.toObject(e, this);
        }
        static toObject(e, t) {
          return e ? { $jspbMessageInstance: t } : {};
        }
        static fromObject(e) {
          return new c();
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new c();
          return c.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return e;
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return c.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {}
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return c.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_Vote_Response";
        }
      }
      class u extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            u.prototype.publishedfileid || s.Sg(u.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            u.sm_m ||
              (u.sm_m = {
                proto: u,
                fields: {
                  publishedfileid: {
                    n: 1,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  list_type: {
                    n: 2,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  appid: { n: 3, br: s.qM.readInt32, bw: s.gp.writeInt32 },
                  notify_client: {
                    n: 4,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  include_dependencies: {
                    n: 5,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                },
              }),
            u.sm_m
          );
        }
        static MBF() {
          return u.sm_mbf || (u.sm_mbf = s.w0(u.M())), u.sm_mbf;
        }
        toObject(e = !1) {
          return u.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(u.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(u.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new u();
          return u.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(u.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return u.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(u.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return u.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_Subscribe_Request";
        }
      }
      class d extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(), l.initialize(this, e, 0, -1, void 0, null);
        }
        toObject(e = !1) {
          return d.toObject(e, this);
        }
        static toObject(e, t) {
          return e ? { $jspbMessageInstance: t } : {};
        }
        static fromObject(e) {
          return new d();
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new d();
          return d.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return e;
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return d.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {}
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return d.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_Subscribe_Response";
        }
      }
      class m extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            m.prototype.publishedfileid || s.Sg(m.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            m.sm_m ||
              (m.sm_m = {
                proto: m,
                fields: {
                  publishedfileid: {
                    n: 1,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  list_type: {
                    n: 2,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  appid: { n: 3, br: s.qM.readInt32, bw: s.gp.writeInt32 },
                  notify_client: {
                    n: 4,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                },
              }),
            m.sm_m
          );
        }
        static MBF() {
          return m.sm_mbf || (m.sm_mbf = s.w0(m.M())), m.sm_mbf;
        }
        toObject(e = !1) {
          return m.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(m.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(m.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new m();
          return m.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(m.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return m.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(m.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return m.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_Unsubscribe_Request";
        }
      }
      class p extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(), l.initialize(this, e, 0, -1, void 0, null);
        }
        toObject(e = !1) {
          return p.toObject(e, this);
        }
        static toObject(e, t) {
          return e ? { $jspbMessageInstance: t } : {};
        }
        static fromObject(e) {
          return new p();
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new p();
          return p.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return e;
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return p.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {}
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return p.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_Unsubscribe_Response";
        }
      }
      class b extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            b.prototype.publishedfileid || s.Sg(b.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            b.sm_m ||
              (b.sm_m = {
                proto: b,
                fields: {
                  publishedfileid: {
                    n: 1,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                },
              }),
            b.sm_m
          );
        }
        static MBF() {
          return b.sm_mbf || (b.sm_mbf = s.w0(b.M())), b.sm_mbf;
        }
        toObject(e = !1) {
          return b.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(b.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(b.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new b();
          return b.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(b.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return b.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(b.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return b.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_CanSubscribe_Request";
        }
      }
      class B extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            B.prototype.can_subscribe || s.Sg(B.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            B.sm_m ||
              (B.sm_m = {
                proto: B,
                fields: {
                  can_subscribe: {
                    n: 1,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                },
              }),
            B.sm_m
          );
        }
        static MBF() {
          return B.sm_mbf || (B.sm_mbf = s.w0(B.M())), B.sm_mbf;
        }
        toObject(e = !1) {
          return B.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(B.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(B.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new B();
          return B.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(B.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return B.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(B.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return B.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_CanSubscribe_Response";
        }
      }
      class g extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            g.prototype.sectionid || s.Sg(g.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            g.sm_m ||
              (g.sm_m = {
                proto: g,
                fields: {
                  sectionid: {
                    n: 1,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  title: { n: 2, br: s.qM.readString, bw: s.gp.writeString },
                  description_text: {
                    n: 3,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  sort_order: {
                    n: 4,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                },
              }),
            g.sm_m
          );
        }
        static MBF() {
          return g.sm_mbf || (g.sm_mbf = s.w0(g.M())), g.sm_mbf;
        }
        toObject(e = !1) {
          return g.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(g.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(g.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new g();
          return g.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(g.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return g.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(g.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return g.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "PublishedFileSubSection";
        }
      }
      class w extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            w.prototype.publishedfileid || s.Sg(w.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            w.sm_m ||
              (w.sm_m = {
                proto: w,
                fields: {
                  publishedfileid: {
                    n: 1,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  for_table_of_contents: {
                    n: 2,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  specific_sectionid: {
                    n: 3,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  desired_revision: {
                    n: 4,
                    d: 0,
                    br: s.qM.readEnum,
                    bw: s.gp.writeEnum,
                  },
                },
              }),
            w.sm_m
          );
        }
        static MBF() {
          return w.sm_mbf || (w.sm_mbf = s.w0(w.M())), w.sm_mbf;
        }
        toObject(e = !1) {
          return w.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(w.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(w.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new w();
          return w.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(w.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return w.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(w.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return w.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetSubSectionData_Request";
        }
      }
      class y extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            y.prototype.sub_sections || s.Sg(y.M()),
            l.initialize(this, e, 0, -1, [1], null);
        }
        static M() {
          return (
            y.sm_m ||
              (y.sm_m = {
                proto: y,
                fields: { sub_sections: { n: 1, c: g, r: !0, q: !0 } },
              }),
            y.sm_m
          );
        }
        static MBF() {
          return y.sm_mbf || (y.sm_mbf = s.w0(y.M())), y.sm_mbf;
        }
        toObject(e = !1) {
          return y.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(y.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(y.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new y();
          return y.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(y.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return y.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(y.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return y.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetSubSectionData_Response";
        }
      }
      class _ extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            _.prototype.appid || s.Sg(_.M()),
            l.initialize(this, e, 0, -1, [13], null);
        }
        static M() {
          return (
            _.sm_m ||
              (_.sm_m = {
                proto: _,
                fields: {
                  appid: { n: 1, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  consumer_appid: {
                    n: 2,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  cloudfilename: {
                    n: 3,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  preview_cloudfilename: {
                    n: 4,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  title: { n: 5, br: s.qM.readString, bw: s.gp.writeString },
                  file_description: {
                    n: 6,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  file_type: {
                    n: 7,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  consumer_shortcut_name: {
                    n: 8,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  youtube_username: {
                    n: 9,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  youtube_videoid: {
                    n: 10,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  visibility: {
                    n: 11,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  redirect_uri: {
                    n: 12,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  tags: {
                    n: 13,
                    r: !0,
                    q: !0,
                    br: s.qM.readString,
                    bw: s.gp.writeRepeatedString,
                  },
                  collection_type: {
                    n: 14,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  game_type: {
                    n: 15,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  url: { n: 16, br: s.qM.readString, bw: s.gp.writeString },
                },
              }),
            _.sm_m
          );
        }
        static MBF() {
          return _.sm_mbf || (_.sm_mbf = s.w0(_.M())), _.sm_mbf;
        }
        toObject(e = !1) {
          return _.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(_.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(_.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new _();
          return _.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(_.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return _.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(_.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return _.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_Publish_Request";
        }
      }
      class f extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            f.prototype.publishedfileid || s.Sg(f.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            f.sm_m ||
              (f.sm_m = {
                proto: f,
                fields: {
                  publishedfileid: {
                    n: 1,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  redirect_uri: {
                    n: 2,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                },
              }),
            f.sm_m
          );
        }
        static MBF() {
          return f.sm_mbf || (f.sm_mbf = s.w0(f.M())), f.sm_mbf;
        }
        toObject(e = !1) {
          return f.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(f.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(f.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new f();
          return f.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(f.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return f.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(f.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return f.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_Publish_Response";
        }
      }
      class h extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            h.prototype.timestamp || s.Sg(h.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            h.sm_m ||
              (h.sm_m = {
                proto: h,
                fields: {
                  timestamp: {
                    n: 1,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  game_branch_min: {
                    n: 2,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  game_branch_max: {
                    n: 3,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  manifestid: {
                    n: 4,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                },
              }),
            h.sm_m
          );
        }
        static MBF() {
          return h.sm_mbf || (h.sm_mbf = s.w0(h.M())), h.sm_mbf;
        }
        toObject(e = !1) {
          return h.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(h.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(h.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new h();
          return h.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(h.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return h.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(h.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return h.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "PublishedFileAuthorSnapshot";
        }
      }
      class M extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            M.prototype.result || s.Sg(M.M()),
            l.initialize(
              this,
              e,
              0,
              -1,
              [51, 52, 53, 54, 72, 69, 70, 75],
              null,
            );
        }
        static M() {
          return (
            M.sm_m ||
              (M.sm_m = {
                proto: M,
                fields: {
                  result: { n: 1, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  publishedfileid: {
                    n: 2,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  creator: {
                    n: 3,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                  creator_appid: {
                    n: 4,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  consumer_appid: {
                    n: 5,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  consumer_shortcutid: {
                    n: 6,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  filename: { n: 7, br: s.qM.readString, bw: s.gp.writeString },
                  file_size: {
                    n: 8,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  preview_file_size: {
                    n: 9,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  file_url: {
                    n: 10,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  preview_url: {
                    n: 11,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  youtubevideoid: {
                    n: 12,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  url: { n: 13, br: s.qM.readString, bw: s.gp.writeString },
                  hcontent_file: {
                    n: 14,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                  hcontent_preview: {
                    n: 15,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                  title: { n: 16, br: s.qM.readString, bw: s.gp.writeString },
                  file_description: {
                    n: 17,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  short_description: {
                    n: 18,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  time_created: {
                    n: 19,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  time_updated: {
                    n: 20,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  visibility: {
                    n: 21,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  flags: { n: 22, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  workshop_file: {
                    n: 23,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  workshop_accepted: {
                    n: 24,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  show_subscribe_all: {
                    n: 25,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  num_comments_developer: {
                    n: 26,
                    br: s.qM.readInt32,
                    bw: s.gp.writeInt32,
                  },
                  num_comments_public: {
                    n: 27,
                    br: s.qM.readInt32,
                    bw: s.gp.writeInt32,
                  },
                  banned: { n: 28, br: s.qM.readBool, bw: s.gp.writeBool },
                  ban_reason: {
                    n: 29,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  banner: {
                    n: 30,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                  can_be_deleted: {
                    n: 31,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  incompatible: {
                    n: 32,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  app_name: {
                    n: 33,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  file_type: {
                    n: 34,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  can_subscribe: {
                    n: 35,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  subscriptions: {
                    n: 36,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  favorited: {
                    n: 37,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  followers: {
                    n: 38,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  lifetime_subscriptions: {
                    n: 39,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  lifetime_favorited: {
                    n: 40,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  lifetime_followers: {
                    n: 41,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  lifetime_playtime: {
                    n: 62,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  lifetime_playtime_sessions: {
                    n: 63,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  views: { n: 42, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  image_width: {
                    n: 43,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  image_height: {
                    n: 44,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  image_url: {
                    n: 45,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  spoiler_tag: { n: 46, br: s.qM.readBool, bw: s.gp.writeBool },
                  shortcutid: {
                    n: 47,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  shortcutname: {
                    n: 48,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  num_children: {
                    n: 49,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  num_reports: {
                    n: 50,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  previews: { n: 51, c: S, r: !0, q: !0 },
                  tags: { n: 52, c: z, r: !0, q: !0 },
                  children: { n: 53, c: R, r: !0, q: !0 },
                  kvtags: { n: 54, c: v, r: !0, q: !0 },
                  vote_data: { n: 55, c: F },
                  playtime_stats: { n: 64, c: C },
                  time_subscribed: {
                    n: 56,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  for_sale_data: { n: 57, c: q },
                  metadata: {
                    n: 58,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  language: {
                    n: 61,
                    d: 0,
                    br: s.qM.readInt32,
                    bw: s.gp.writeInt32,
                  },
                  maybe_inappropriate_sex: {
                    n: 65,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  maybe_inappropriate_violence: {
                    n: 66,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  content_descriptorids: {
                    n: 72,
                    r: !0,
                    q: !0,
                    br: s.qM.readEnum,
                    pbr: s.qM.readPackedEnum,
                    bw: s.gp.writeRepeatedEnum,
                  },
                  revision_change_number: {
                    n: 67,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  revision: { n: 68, br: s.qM.readEnum, bw: s.gp.writeEnum },
                  available_revisions: {
                    n: 69,
                    r: !0,
                    q: !0,
                    br: s.qM.readEnum,
                    pbr: s.qM.readPackedEnum,
                    bw: s.gp.writeRepeatedEnum,
                  },
                  reactions: { n: 70, c: j, r: !0, q: !0 },
                  ban_text_check_result: {
                    n: 71,
                    br: s.qM.readEnum,
                    bw: s.gp.writeEnum,
                  },
                  search_score: {
                    n: 73,
                    br: s.qM.readFloat,
                    bw: s.gp.writeFloat,
                  },
                  external_asset_id: {
                    n: 74,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  author_snapshots: { n: 75, c: h, r: !0, q: !0 },
                },
              }),
            M.sm_m
          );
        }
        static MBF() {
          return M.sm_mbf || (M.sm_mbf = s.w0(M.M())), M.sm_mbf;
        }
        toObject(e = !1) {
          return M.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(M.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(M.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new M();
          return M.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(M.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return M.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(M.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return M.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "PublishedFileDetails";
        }
      }
      class z extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            z.prototype.tag || s.Sg(z.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            z.sm_m ||
              (z.sm_m = {
                proto: z,
                fields: {
                  tag: { n: 1, br: s.qM.readString, bw: s.gp.writeString },
                  adminonly: { n: 2, br: s.qM.readBool, bw: s.gp.writeBool },
                  display_name: {
                    n: 3,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                },
              }),
            z.sm_m
          );
        }
        static MBF() {
          return z.sm_mbf || (z.sm_mbf = s.w0(z.M())), z.sm_mbf;
        }
        toObject(e = !1) {
          return z.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(z.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(z.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new z();
          return z.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(z.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return z.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(z.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return z.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "PublishedFileDetails_Tag";
        }
      }
      class S extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            S.prototype.previewid || s.Sg(S.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            S.sm_m ||
              (S.sm_m = {
                proto: S,
                fields: {
                  previewid: {
                    n: 1,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  sortorder: {
                    n: 2,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  url: { n: 3, br: s.qM.readString, bw: s.gp.writeString },
                  size: { n: 4, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  filename: { n: 5, br: s.qM.readString, bw: s.gp.writeString },
                  youtubevideoid: {
                    n: 6,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  preview_type: {
                    n: 7,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  external_reference: {
                    n: 8,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                },
              }),
            S.sm_m
          );
        }
        static MBF() {
          return S.sm_mbf || (S.sm_mbf = s.w0(S.M())), S.sm_mbf;
        }
        toObject(e = !1) {
          return S.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(S.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(S.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new S();
          return S.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(S.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return S.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(S.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return S.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "PublishedFileDetails_Preview";
        }
      }
      class R extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            R.prototype.publishedfileid || s.Sg(R.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            R.sm_m ||
              (R.sm_m = {
                proto: R,
                fields: {
                  publishedfileid: {
                    n: 1,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  sortorder: {
                    n: 2,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  file_type: {
                    n: 3,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                },
              }),
            R.sm_m
          );
        }
        static MBF() {
          return R.sm_mbf || (R.sm_mbf = s.w0(R.M())), R.sm_mbf;
        }
        toObject(e = !1) {
          return R.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(R.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(R.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new R();
          return R.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(R.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return R.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(R.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return R.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "PublishedFileDetails_Child";
        }
      }
      class v extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            v.prototype.key || s.Sg(v.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            v.sm_m ||
              (v.sm_m = {
                proto: v,
                fields: {
                  key: { n: 1, br: s.qM.readString, bw: s.gp.writeString },
                  value: { n: 2, br: s.qM.readString, bw: s.gp.writeString },
                },
              }),
            v.sm_m
          );
        }
        static MBF() {
          return v.sm_mbf || (v.sm_mbf = s.w0(v.M())), v.sm_mbf;
        }
        toObject(e = !1) {
          return v.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(v.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(v.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new v();
          return v.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(v.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return v.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(v.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return v.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "PublishedFileDetails_KVTag";
        }
      }
      class F extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            F.prototype.score || s.Sg(F.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            F.sm_m ||
              (F.sm_m = {
                proto: F,
                fields: {
                  score: { n: 1, br: s.qM.readFloat, bw: s.gp.writeFloat },
                  votes_up: { n: 2, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  votes_down: {
                    n: 3,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  trusted_score: {
                    n: 4,
                    br: s.qM.readFloat,
                    bw: s.gp.writeFloat,
                  },
                  trusted_votes_up: {
                    n: 5,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  trusted_votes_down: {
                    n: 6,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                },
              }),
            F.sm_m
          );
        }
        static MBF() {
          return F.sm_mbf || (F.sm_mbf = s.w0(F.M())), F.sm_mbf;
        }
        toObject(e = !1) {
          return F.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(F.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(F.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new F();
          return F.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(F.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return F.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(F.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return F.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "PublishedFileDetails_VoteData";
        }
      }
      class q extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            q.prototype.is_for_sale || s.Sg(q.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            q.sm_m ||
              (q.sm_m = {
                proto: q,
                fields: {
                  is_for_sale: { n: 1, br: s.qM.readBool, bw: s.gp.writeBool },
                  price_category: {
                    n: 2,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  estatus: { n: 3, br: s.qM.readEnum, bw: s.gp.writeEnum },
                  price_category_floor: {
                    n: 4,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  price_is_pay_what_you_want: {
                    n: 5,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  discount_percentage: {
                    n: 6,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                },
              }),
            q.sm_m
          );
        }
        static MBF() {
          return q.sm_mbf || (q.sm_mbf = s.w0(q.M())), q.sm_mbf;
        }
        toObject(e = !1) {
          return q.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(q.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(q.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new q();
          return q.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(q.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return q.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(q.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return q.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "PublishedFileDetails_ForSaleData";
        }
      }
      class C extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            C.prototype.playtime_seconds || s.Sg(C.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            C.sm_m ||
              (C.sm_m = {
                proto: C,
                fields: {
                  playtime_seconds: {
                    n: 1,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  num_sessions: {
                    n: 2,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                },
              }),
            C.sm_m
          );
        }
        static MBF() {
          return C.sm_mbf || (C.sm_mbf = s.w0(C.M())), C.sm_mbf;
        }
        toObject(e = !1) {
          return C.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(C.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(C.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new C();
          return C.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(C.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return C.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(C.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return C.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "PublishedFileDetails_PlaytimeStats";
        }
      }
      class j extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            j.prototype.reactionid || s.Sg(j.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            j.sm_m ||
              (j.sm_m = {
                proto: j,
                fields: {
                  reactionid: {
                    n: 1,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  count: { n: 2, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                },
              }),
            j.sm_m
          );
        }
        static MBF() {
          return j.sm_mbf || (j.sm_mbf = s.w0(j.M())), j.sm_mbf;
        }
        toObject(e = !1) {
          return j.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(j.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(j.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new j();
          return j.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(j.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return j.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(j.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return j.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "PublishedFileDetails_Reaction";
        }
      }
      class W extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            W.prototype.publishedfileids || s.Sg(W.M()),
            l.initialize(this, e, 0, -1, [1], null);
        }
        static M() {
          return (
            W.sm_m ||
              (W.sm_m = {
                proto: W,
                fields: {
                  publishedfileids: {
                    n: 1,
                    r: !0,
                    q: !0,
                    br: s.qM.readFixed64String,
                    pbr: s.qM.readPackedFixed64String,
                    bw: s.gp.writeRepeatedFixed64String,
                  },
                  includetags: { n: 2, br: s.qM.readBool, bw: s.gp.writeBool },
                  includeadditionalpreviews: {
                    n: 3,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  includechildren: {
                    n: 4,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  includekvtags: {
                    n: 5,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  includevotes: { n: 6, br: s.qM.readBool, bw: s.gp.writeBool },
                  short_description: {
                    n: 8,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  includeforsaledata: {
                    n: 10,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  includemetadata: {
                    n: 11,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  language: {
                    n: 12,
                    d: 0,
                    br: s.qM.readInt32,
                    bw: s.gp.writeInt32,
                  },
                  return_playtime_stats: {
                    n: 13,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  appid: { n: 14, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  strip_description_bbcode: {
                    n: 15,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  desired_revision: {
                    n: 16,
                    d: 0,
                    br: s.qM.readEnum,
                    bw: s.gp.writeEnum,
                  },
                  includereactions: {
                    n: 17,
                    d: !1,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  admin_query: { n: 18, br: s.qM.readBool, bw: s.gp.writeBool },
                },
              }),
            W.sm_m
          );
        }
        static MBF() {
          return W.sm_mbf || (W.sm_mbf = s.w0(W.M())), W.sm_mbf;
        }
        toObject(e = !1) {
          return W.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(W.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(W.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new W();
          return W.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(W.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return W.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(W.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return W.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetDetails_Request";
        }
      }
      class U extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            U.prototype.publishedfiledetails || s.Sg(U.M()),
            l.initialize(this, e, 0, -1, [1], null);
        }
        static M() {
          return (
            U.sm_m ||
              (U.sm_m = {
                proto: U,
                fields: { publishedfiledetails: { n: 1, c: M, r: !0, q: !0 } },
              }),
            U.sm_m
          );
        }
        static MBF() {
          return U.sm_mbf || (U.sm_mbf = s.w0(U.M())), U.sm_mbf;
        }
        toObject(e = !1) {
          return U.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(U.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(U.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new U();
          return U.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(U.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return U.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(U.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return U.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetDetails_Response";
        }
      }
      class T extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            T.prototype.appid || s.Sg(T.M()),
            l.initialize(this, e, 0, -1, [3], null);
        }
        static M() {
          return (
            T.sm_m ||
              (T.sm_m = {
                proto: T,
                fields: {
                  appid: { n: 1, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  last_time_updated: {
                    n: 2,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  workshop_items: { n: 3, c: I, r: !0, q: !0 },
                },
              }),
            T.sm_m
          );
        }
        static MBF() {
          return T.sm_mbf || (T.sm_mbf = s.w0(T.M())), T.sm_mbf;
        }
        toObject(e = !1) {
          return T.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(T.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(T.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new T();
          return T.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(T.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return T.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(T.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return T.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetItemInfo_Request";
        }
      }
      class I extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            I.prototype.published_file_id || s.Sg(I.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            I.sm_m ||
              (I.sm_m = {
                proto: I,
                fields: {
                  published_file_id: {
                    n: 1,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                  time_updated: {
                    n: 2,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  desired_revision: {
                    n: 3,
                    d: 0,
                    br: s.qM.readEnum,
                    bw: s.gp.writeEnum,
                  },
                },
              }),
            I.sm_m
          );
        }
        static MBF() {
          return I.sm_mbf || (I.sm_mbf = s.w0(I.M())), I.sm_mbf;
        }
        toObject(e = !1) {
          return I.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(I.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(I.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new I();
          return I.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(I.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return I.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(I.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return I.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetItemInfo_Request_WorkshopItem";
        }
      }
      class O extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            O.prototype.update_time || s.Sg(O.M()),
            l.initialize(this, e, 0, -1, [2, 3], null);
        }
        static M() {
          return (
            O.sm_m ||
              (O.sm_m = {
                proto: O,
                fields: {
                  update_time: {
                    n: 1,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  workshop_items: { n: 2, c: E, r: !0, q: !0 },
                  private_items: {
                    n: 3,
                    r: !0,
                    q: !0,
                    br: s.qM.readFixed64String,
                    pbr: s.qM.readPackedFixed64String,
                    bw: s.gp.writeRepeatedFixed64String,
                  },
                },
              }),
            O.sm_m
          );
        }
        static MBF() {
          return O.sm_mbf || (O.sm_mbf = s.w0(O.M())), O.sm_mbf;
        }
        toObject(e = !1) {
          return O.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(O.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(O.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new O();
          return O.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(O.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return O.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(O.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return O.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetItemInfo_Response";
        }
      }
      class E extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            E.prototype.published_file_id || s.Sg(E.M()),
            l.initialize(this, e, 0, -1, [6], null);
        }
        static M() {
          return (
            E.sm_m ||
              (E.sm_m = {
                proto: E,
                fields: {
                  published_file_id: {
                    n: 1,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                  time_updated: {
                    n: 2,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  manifest_id: {
                    n: 3,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                  flags: { n: 4, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  revision: { n: 5, br: s.qM.readEnum, bw: s.gp.writeEnum },
                  author_snapshots: { n: 6, c: h, r: !0, q: !0 },
                },
              }),
            E.sm_m
          );
        }
        static MBF() {
          return E.sm_mbf || (E.sm_mbf = s.w0(E.M())), E.sm_mbf;
        }
        toObject(e = !1) {
          return E.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(E.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(E.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new E();
          return E.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(E.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return E.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(E.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return E.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetItemInfo_Response_WorkshopItemInfo";
        }
      }
      class P extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            P.prototype.steamid || s.Sg(P.M()),
            l.initialize(this, e, 0, -1, [10, 11, 30, 34, 37], null);
        }
        static M() {
          return (
            P.sm_m ||
              (P.sm_m = {
                proto: P,
                fields: {
                  steamid: {
                    n: 1,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                  appid: { n: 2, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  shortcutid: {
                    n: 3,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  page: {
                    n: 4,
                    d: 1,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  numperpage: {
                    n: 5,
                    d: 1,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  type: {
                    n: 6,
                    d: "myfiles",
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  sortmethod: {
                    n: 7,
                    d: "lastupdated",
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  privacy: { n: 9, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  requiredtags: {
                    n: 10,
                    r: !0,
                    q: !0,
                    br: s.qM.readString,
                    bw: s.gp.writeRepeatedString,
                  },
                  excludedtags: {
                    n: 11,
                    r: !0,
                    q: !0,
                    br: s.qM.readString,
                    bw: s.gp.writeRepeatedString,
                  },
                  required_kv_tags: { n: 30, c: G, r: !0, q: !0 },
                  filetype: {
                    n: 14,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  creator_appid: {
                    n: 15,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  match_cloud_filename: {
                    n: 16,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  cache_max_age_seconds: {
                    n: 27,
                    d: 0,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  language: {
                    n: 29,
                    d: 0,
                    br: s.qM.readInt32,
                    bw: s.gp.writeInt32,
                  },
                  taggroups: { n: 34, c: N, r: !0, q: !0 },
                  excluded_content_descriptors: {
                    n: 37,
                    r: !0,
                    q: !0,
                    br: s.qM.readEnum,
                    pbr: s.qM.readPackedEnum,
                    bw: s.gp.writeRepeatedEnum,
                  },
                  admin_query: { n: 38, br: s.qM.readBool, bw: s.gp.writeBool },
                  totalonly: { n: 17, br: s.qM.readBool, bw: s.gp.writeBool },
                  ids_only: { n: 18, br: s.qM.readBool, bw: s.gp.writeBool },
                  return_vote_data: {
                    n: 19,
                    d: !0,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  return_tags: { n: 20, br: s.qM.readBool, bw: s.gp.writeBool },
                  return_kv_tags: {
                    n: 21,
                    d: !0,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  return_previews: {
                    n: 22,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  return_children: {
                    n: 23,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  return_short_description: {
                    n: 24,
                    d: !0,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  return_for_sale_data: {
                    n: 26,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  return_metadata: {
                    n: 28,
                    d: !1,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  return_playtime_stats: {
                    n: 31,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  strip_description_bbcode: {
                    n: 32,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  return_reactions: {
                    n: 35,
                    d: !1,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  startindex_override: {
                    n: 25,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  desired_revision: {
                    n: 33,
                    d: 0,
                    br: s.qM.readEnum,
                    bw: s.gp.writeEnum,
                  },
                  return_apps: { n: 36, br: s.qM.readBool, bw: s.gp.writeBool },
                },
              }),
            P.sm_m
          );
        }
        static MBF() {
          return P.sm_mbf || (P.sm_mbf = s.w0(P.M())), P.sm_mbf;
        }
        toObject(e = !1) {
          return P.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(P.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(P.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new P();
          return P.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(P.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return P.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(P.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return P.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetUserFiles_Request";
        }
      }
      class G extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            G.prototype.key || s.Sg(G.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            G.sm_m ||
              (G.sm_m = {
                proto: G,
                fields: {
                  key: { n: 1, br: s.qM.readString, bw: s.gp.writeString },
                  value: { n: 2, br: s.qM.readString, bw: s.gp.writeString },
                },
              }),
            G.sm_m
          );
        }
        static MBF() {
          return G.sm_mbf || (G.sm_mbf = s.w0(G.M())), G.sm_mbf;
        }
        toObject(e = !1) {
          return G.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(G.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(G.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new G();
          return G.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(G.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return G.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(G.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return G.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetUserFiles_Request_KVTag";
        }
      }
      class N extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            N.prototype.tags || s.Sg(N.M()),
            l.initialize(this, e, 0, -1, [1], null);
        }
        static M() {
          return (
            N.sm_m ||
              (N.sm_m = {
                proto: N,
                fields: {
                  tags: {
                    n: 1,
                    r: !0,
                    q: !0,
                    br: s.qM.readString,
                    bw: s.gp.writeRepeatedString,
                  },
                },
              }),
            N.sm_m
          );
        }
        static MBF() {
          return N.sm_mbf || (N.sm_mbf = s.w0(N.M())), N.sm_mbf;
        }
        toObject(e = !1) {
          return N.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(N.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(N.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new N();
          return N.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(N.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return N.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(N.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return N.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetUserFiles_Request_TagGroup";
        }
      }
      class A extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            A.prototype.total || s.Sg(A.M()),
            l.initialize(this, e, 0, -1, [3, 4], null);
        }
        static M() {
          return (
            A.sm_m ||
              (A.sm_m = {
                proto: A,
                fields: {
                  total: { n: 1, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  startindex: {
                    n: 2,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  publishedfiledetails: { n: 3, c: M, r: !0, q: !0 },
                  apps: { n: 4, c: L, r: !0, q: !0 },
                },
              }),
            A.sm_m
          );
        }
        static MBF() {
          return A.sm_mbf || (A.sm_mbf = s.w0(A.M())), A.sm_mbf;
        }
        toObject(e = !1) {
          return A.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(A.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(A.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new A();
          return A.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(A.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return A.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(A.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return A.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetUserFiles_Response";
        }
      }
      class L extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            L.prototype.appid || s.Sg(L.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            L.sm_m ||
              (L.sm_m = {
                proto: L,
                fields: {
                  appid: { n: 1, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  name: { n: 2, br: s.qM.readString, bw: s.gp.writeString },
                  shortcutid: {
                    n: 3,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  private: { n: 4, br: s.qM.readBool, bw: s.gp.writeBool },
                },
              }),
            L.sm_m
          );
        }
        static MBF() {
          return L.sm_mbf || (L.sm_mbf = s.w0(L.M())), L.sm_mbf;
        }
        toObject(e = !1) {
          return L.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(L.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(L.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new L();
          return L.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(L.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return L.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(L.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return L.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetUserFiles_Response_App";
        }
      }
      class x extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            x.prototype.appid || s.Sg(x.M()),
            l.initialize(this, e, 0, -1, [6], null);
        }
        static M() {
          return (
            x.sm_m ||
              (x.sm_m = {
                proto: x,
                fields: {
                  appid: { n: 1, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  publishedfileid: {
                    n: 2,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                  title: { n: 3, br: s.qM.readString, bw: s.gp.writeString },
                  file_description: {
                    n: 4,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  visibility: {
                    n: 5,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  tags: {
                    n: 6,
                    r: !0,
                    q: !0,
                    br: s.qM.readString,
                    bw: s.gp.writeRepeatedString,
                  },
                  filename: { n: 7, br: s.qM.readString, bw: s.gp.writeString },
                  preview_filename: {
                    n: 8,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  spoiler_tag: { n: 10, br: s.qM.readBool, bw: s.gp.writeBool },
                  image_width: {
                    n: 15,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  image_height: {
                    n: 16,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  language: { n: 17, br: s.qM.readInt32, bw: s.gp.writeInt32 },
                },
              }),
            x.sm_m
          );
        }
        static MBF() {
          return x.sm_mbf || (x.sm_mbf = s.w0(x.M())), x.sm_mbf;
        }
        toObject(e = !1) {
          return x.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(x.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(x.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new x();
          return x.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(x.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return x.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(x.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return x.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_Update_Request";
        }
      }
      class k extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(), l.initialize(this, e, 0, -1, void 0, null);
        }
        toObject(e = !1) {
          return k.toObject(e, this);
        }
        static toObject(e, t) {
          return e ? { $jspbMessageInstance: t } : {};
        }
        static fromObject(e) {
          return new k();
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new k();
          return k.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return e;
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return k.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {}
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return k.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_Update_Response";
        }
      }
      class D extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            D.prototype.publishedfileid || s.Sg(D.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            D.sm_m ||
              (D.sm_m = {
                proto: D,
                fields: {
                  publishedfileid: {
                    n: 1,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                  appid: { n: 5, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                },
              }),
            D.sm_m
          );
        }
        static MBF() {
          return D.sm_mbf || (D.sm_mbf = s.w0(D.M())), D.sm_mbf;
        }
        toObject(e = !1) {
          return D.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(D.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(D.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new D();
          return D.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(D.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return D.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(D.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return D.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_Delete_Request";
        }
      }
      class H extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(), l.initialize(this, e, 0, -1, void 0, null);
        }
        toObject(e = !1) {
          return H.toObject(e, this);
        }
        static toObject(e, t) {
          return e ? { $jspbMessageInstance: t } : {};
        }
        static fromObject(e) {
          return new H();
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new H();
          return H.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return e;
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return H.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {}
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return H.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_Delete_Response";
        }
      }
      class $ extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            $.prototype.publishedfileid || s.Sg($.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            $.sm_m ||
              ($.sm_m = {
                proto: $,
                fields: {
                  publishedfileid: {
                    n: 1,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                  timestamp: {
                    n: 2,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  language: { n: 3, br: s.qM.readInt32, bw: s.gp.writeInt32 },
                },
              }),
            $.sm_m
          );
        }
        static MBF() {
          return $.sm_mbf || ($.sm_mbf = s.w0($.M())), $.sm_mbf;
        }
        toObject(e = !1) {
          return $.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT($.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq($.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new $();
          return $.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj($.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return $.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0($.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return $.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetChangeHistoryEntry_Request";
        }
      }
      class V extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            V.prototype.change_description || s.Sg(V.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            V.sm_m ||
              (V.sm_m = {
                proto: V,
                fields: {
                  change_description: {
                    n: 1,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  language: { n: 2, br: s.qM.readInt32, bw: s.gp.writeInt32 },
                  saved_snapshot: {
                    n: 3,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  snapshot_game_branch_min: {
                    n: 4,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  snapshot_game_branch_max: {
                    n: 5,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  manifest_id: {
                    n: 6,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                },
              }),
            V.sm_m
          );
        }
        static MBF() {
          return V.sm_mbf || (V.sm_mbf = s.w0(V.M())), V.sm_mbf;
        }
        toObject(e = !1) {
          return V.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(V.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(V.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new V();
          return V.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(V.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return V.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(V.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return V.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetChangeHistoryEntry_Response";
        }
      }
      class K extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            K.prototype.publishedfileid || s.Sg(K.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            K.sm_m ||
              (K.sm_m = {
                proto: K,
                fields: {
                  publishedfileid: {
                    n: 1,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                  total_only: { n: 2, br: s.qM.readBool, bw: s.gp.writeBool },
                  startindex: {
                    n: 3,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  count: { n: 4, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  language: {
                    n: 5,
                    d: 0,
                    br: s.qM.readInt32,
                    bw: s.gp.writeInt32,
                  },
                },
              }),
            K.sm_m
          );
        }
        static MBF() {
          return K.sm_mbf || (K.sm_mbf = s.w0(K.M())), K.sm_mbf;
        }
        toObject(e = !1) {
          return K.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(K.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(K.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new K();
          return K.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(K.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return K.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(K.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return K.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetChangeHistory_Request";
        }
      }
      class Q extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Q.prototype.changes || s.Sg(Q.M()),
            l.initialize(this, e, 0, -1, [1], null);
        }
        static M() {
          return (
            Q.sm_m ||
              (Q.sm_m = {
                proto: Q,
                fields: {
                  changes: { n: 1, c: Z, r: !0, q: !0 },
                  total: { n: 2, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                },
              }),
            Q.sm_m
          );
        }
        static MBF() {
          return Q.sm_mbf || (Q.sm_mbf = s.w0(Q.M())), Q.sm_mbf;
        }
        toObject(e = !1) {
          return Q.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Q.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Q.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Q();
          return Q.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Q.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Q.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Q.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Q.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetChangeHistory_Response";
        }
      }
      class Z extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Z.prototype.timestamp || s.Sg(Z.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            Z.sm_m ||
              (Z.sm_m = {
                proto: Z,
                fields: {
                  timestamp: {
                    n: 1,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  change_description: {
                    n: 2,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  language: { n: 3, br: s.qM.readInt32, bw: s.gp.writeInt32 },
                  saved_snapshot: {
                    n: 4,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  snapshot_game_branch_min: {
                    n: 5,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  snapshot_game_branch_max: {
                    n: 6,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  manifest_id: {
                    n: 7,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                },
              }),
            Z.sm_m
          );
        }
        static MBF() {
          return Z.sm_mbf || (Z.sm_mbf = s.w0(Z.M())), Z.sm_mbf;
        }
        toObject(e = !1) {
          return Z.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Z.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Z.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Z();
          return Z.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Z.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Z.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Z.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Z.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetChangeHistory_Response_ChangeLog";
        }
      }
      class Y extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Y.prototype.appid || s.Sg(Y.M()),
            l.initialize(this, e, 0, -1, [3, 5, 7], null);
        }
        static M() {
          return (
            Y.sm_m ||
              (Y.sm_m = {
                proto: Y,
                fields: {
                  appid: { n: 1, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  matching_file_type: {
                    n: 2,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  tags: {
                    n: 3,
                    r: !0,
                    q: !0,
                    br: s.qM.readString,
                    bw: s.gp.writeRepeatedString,
                  },
                  match_all_tags: {
                    n: 4,
                    d: !0,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  excluded_tags: {
                    n: 5,
                    r: !0,
                    q: !0,
                    br: s.qM.readString,
                    bw: s.gp.writeRepeatedString,
                  },
                  desired_queue_size: {
                    n: 6,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  desired_revision: {
                    n: 8,
                    d: 0,
                    br: s.qM.readEnum,
                    bw: s.gp.writeEnum,
                  },
                },
              }),
            Y.sm_m
          );
        }
        static MBF() {
          return Y.sm_mbf || (Y.sm_mbf = s.w0(Y.M())), Y.sm_mbf;
        }
        toObject(e = !1) {
          return Y.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Y.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Y.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Y();
          return Y.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Y.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Y.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Y.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Y.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_RefreshVotingQueue_Request";
        }
      }
      class X extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(), l.initialize(this, e, 0, -1, void 0, null);
        }
        toObject(e = !1) {
          return X.toObject(e, this);
        }
        static toObject(e, t) {
          return e ? { $jspbMessageInstance: t } : {};
        }
        static fromObject(e) {
          return new X();
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new X();
          return X.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return e;
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return X.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {}
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return X.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_RefreshVotingQueue_Response";
        }
      }
      class J extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            J.prototype.query_type || s.Sg(J.M()),
            l.initialize(
              this,
              e,
              0,
              -1,
              [6, 7, 9, 10, 34, 42, 46, 25, 26, 27, 29],
              null,
            );
        }
        static M() {
          return (
            J.sm_m ||
              (J.sm_m = {
                proto: J,
                fields: {
                  query_type: {
                    n: 1,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  page: { n: 2, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  cursor: { n: 39, br: s.qM.readString, bw: s.gp.writeString },
                  numperpage: {
                    n: 3,
                    d: 1,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  creator_appid: {
                    n: 4,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  appid: { n: 5, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  requiredtags: {
                    n: 6,
                    r: !0,
                    q: !0,
                    br: s.qM.readString,
                    bw: s.gp.writeRepeatedString,
                  },
                  excludedtags: {
                    n: 7,
                    r: !0,
                    q: !0,
                    br: s.qM.readString,
                    bw: s.gp.writeRepeatedString,
                  },
                  match_all_tags: {
                    n: 8,
                    d: !0,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  required_flags: {
                    n: 9,
                    r: !0,
                    q: !0,
                    br: s.qM.readString,
                    bw: s.gp.writeRepeatedString,
                  },
                  omitted_flags: {
                    n: 10,
                    r: !0,
                    q: !0,
                    br: s.qM.readString,
                    bw: s.gp.writeRepeatedString,
                  },
                  search_text: {
                    n: 11,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  filetype: {
                    n: 12,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  child_publishedfileid: {
                    n: 13,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                  days: { n: 14, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  include_recent_votes_only: {
                    n: 15,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  cache_max_age_seconds: {
                    n: 31,
                    d: 0,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  language: {
                    n: 33,
                    d: 0,
                    br: s.qM.readInt32,
                    bw: s.gp.writeInt32,
                  },
                  required_kv_tags: { n: 34, c: ee, r: !0, q: !0 },
                  taggroups: { n: 42, c: te, r: !0, q: !0 },
                  date_range_created: { n: 44, c: re },
                  date_range_updated: { n: 45, c: re },
                  excluded_content_descriptors: {
                    n: 46,
                    r: !0,
                    q: !0,
                    br: s.qM.readEnum,
                    pbr: s.qM.readPackedEnum,
                    bw: s.gp.writeRepeatedEnum,
                  },
                  admin_query: { n: 47, br: s.qM.readBool, bw: s.gp.writeBool },
                  totalonly: { n: 16, br: s.qM.readBool, bw: s.gp.writeBool },
                  ids_only: { n: 35, br: s.qM.readBool, bw: s.gp.writeBool },
                  return_vote_data: {
                    n: 17,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  return_tags: { n: 18, br: s.qM.readBool, bw: s.gp.writeBool },
                  return_kv_tags: {
                    n: 19,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  return_previews: {
                    n: 20,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  return_children: {
                    n: 21,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  return_short_description: {
                    n: 22,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  return_for_sale_data: {
                    n: 30,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  return_metadata: {
                    n: 32,
                    d: !1,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  return_playtime_stats: {
                    n: 36,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  return_details: {
                    n: 37,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  strip_description_bbcode: {
                    n: 38,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  desired_revision: {
                    n: 40,
                    d: 0,
                    br: s.qM.readEnum,
                    bw: s.gp.writeEnum,
                  },
                  return_reactions: {
                    n: 43,
                    d: !1,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                },
              }),
            J.sm_m
          );
        }
        static MBF() {
          return J.sm_mbf || (J.sm_mbf = s.w0(J.M())), J.sm_mbf;
        }
        toObject(e = !1) {
          return J.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(J.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(J.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new J();
          return J.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(J.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return J.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(J.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return J.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_QueryFiles_Request";
        }
      }
      class ee extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            ee.prototype.key || s.Sg(ee.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            ee.sm_m ||
              (ee.sm_m = {
                proto: ee,
                fields: {
                  key: { n: 1, br: s.qM.readString, bw: s.gp.writeString },
                  value: { n: 2, br: s.qM.readString, bw: s.gp.writeString },
                },
              }),
            ee.sm_m
          );
        }
        static MBF() {
          return ee.sm_mbf || (ee.sm_mbf = s.w0(ee.M())), ee.sm_mbf;
        }
        toObject(e = !1) {
          return ee.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(ee.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(ee.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new ee();
          return ee.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(ee.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return ee.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(ee.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return ee.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_QueryFiles_Request_KVTag";
        }
      }
      class te extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            te.prototype.tags || s.Sg(te.M()),
            l.initialize(this, e, 0, -1, [1], null);
        }
        static M() {
          return (
            te.sm_m ||
              (te.sm_m = {
                proto: te,
                fields: {
                  tags: {
                    n: 1,
                    r: !0,
                    q: !0,
                    br: s.qM.readString,
                    bw: s.gp.writeRepeatedString,
                  },
                },
              }),
            te.sm_m
          );
        }
        static MBF() {
          return te.sm_mbf || (te.sm_mbf = s.w0(te.M())), te.sm_mbf;
        }
        toObject(e = !1) {
          return te.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(te.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(te.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new te();
          return te.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(te.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return te.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(te.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return te.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_QueryFiles_Request_TagGroup";
        }
      }
      class re extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            re.prototype.timestamp_start || s.Sg(re.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            re.sm_m ||
              (re.sm_m = {
                proto: re,
                fields: {
                  timestamp_start: {
                    n: 1,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  timestamp_end: {
                    n: 2,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                },
              }),
            re.sm_m
          );
        }
        static MBF() {
          return re.sm_mbf || (re.sm_mbf = s.w0(re.M())), re.sm_mbf;
        }
        toObject(e = !1) {
          return re.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(re.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(re.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new re();
          return re.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(re.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return re.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(re.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return re.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_QueryFiles_Request_DateRange";
        }
      }
      class ie extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            ie.prototype.total || s.Sg(ie.M()),
            l.initialize(this, e, 0, -1, [2], null);
        }
        static M() {
          return (
            ie.sm_m ||
              (ie.sm_m = {
                proto: ie,
                fields: {
                  total: { n: 1, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  publishedfiledetails: { n: 2, c: M, r: !0, q: !0 },
                  next_cursor: {
                    n: 3,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                },
              }),
            ie.sm_m
          );
        }
        static MBF() {
          return ie.sm_mbf || (ie.sm_mbf = s.w0(ie.M())), ie.sm_mbf;
        }
        toObject(e = !1) {
          return ie.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(ie.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(ie.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new ie();
          return ie.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(ie.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return ie.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(ie.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return ie.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_QueryFiles_Response";
        }
      }
      class ne extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            ne.prototype.publishedfileid || s.Sg(ne.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            ne.sm_m ||
              (ne.sm_m = {
                proto: ne,
                fields: {
                  publishedfileid: {
                    n: 1,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  appid: { n: 2, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  relationship: {
                    n: 3,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                },
              }),
            ne.sm_m
          );
        }
        static MBF() {
          return ne.sm_mbf || (ne.sm_mbf = s.w0(ne.M())), ne.sm_mbf;
        }
        toObject(e = !1) {
          return ne.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(ne.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(ne.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new ne();
          return ne.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(ne.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return ne.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(ne.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return ne.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_AddAppRelationship_Request";
        }
      }
      class ae extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(), l.initialize(this, e, 0, -1, void 0, null);
        }
        toObject(e = !1) {
          return ae.toObject(e, this);
        }
        static toObject(e, t) {
          return e ? { $jspbMessageInstance: t } : {};
        }
        static fromObject(e) {
          return new ae();
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new ae();
          return ae.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return e;
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return ae.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {}
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return ae.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_AddAppRelationship_Response";
        }
      }
      class se extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            se.prototype.publishedfileid || s.Sg(se.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            se.sm_m ||
              (se.sm_m = {
                proto: se,
                fields: {
                  publishedfileid: {
                    n: 1,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  appid: { n: 2, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  relationship: {
                    n: 3,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                },
              }),
            se.sm_m
          );
        }
        static MBF() {
          return se.sm_mbf || (se.sm_mbf = s.w0(se.M())), se.sm_mbf;
        }
        toObject(e = !1) {
          return se.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(se.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(se.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new se();
          return se.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(se.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return se.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(se.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return se.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_RemoveAppRelationship_Request";
        }
      }
      class le extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(), l.initialize(this, e, 0, -1, void 0, null);
        }
        toObject(e = !1) {
          return le.toObject(e, this);
        }
        static toObject(e, t) {
          return e ? { $jspbMessageInstance: t } : {};
        }
        static fromObject(e) {
          return new le();
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new le();
          return le.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return e;
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return le.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {}
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return le.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_RemoveAppRelationship_Response";
        }
      }
      class oe extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            oe.prototype.publishedfileid || s.Sg(oe.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            oe.sm_m ||
              (oe.sm_m = {
                proto: oe,
                fields: {
                  publishedfileid: {
                    n: 1,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                },
              }),
            oe.sm_m
          );
        }
        static MBF() {
          return oe.sm_mbf || (oe.sm_mbf = s.w0(oe.M())), oe.sm_mbf;
        }
        toObject(e = !1) {
          return oe.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(oe.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(oe.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new oe();
          return oe.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(oe.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return oe.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(oe.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return oe.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetAppRelationships_Request";
        }
      }
      class ce extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            ce.prototype.app_relationships || s.Sg(ce.M()),
            l.initialize(this, e, 0, -1, [3], null);
        }
        static M() {
          return (
            ce.sm_m ||
              (ce.sm_m = {
                proto: ce,
                fields: { app_relationships: { n: 3, c: ue, r: !0, q: !0 } },
              }),
            ce.sm_m
          );
        }
        static MBF() {
          return ce.sm_mbf || (ce.sm_mbf = s.w0(ce.M())), ce.sm_mbf;
        }
        toObject(e = !1) {
          return ce.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(ce.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(ce.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new ce();
          return ce.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(ce.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return ce.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(ce.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return ce.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetAppRelationships_Response";
        }
      }
      class ue extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            ue.prototype.appid || s.Sg(ue.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            ue.sm_m ||
              (ue.sm_m = {
                proto: ue,
                fields: {
                  appid: { n: 1, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  relationship: {
                    n: 2,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                },
              }),
            ue.sm_m
          );
        }
        static MBF() {
          return ue.sm_mbf || (ue.sm_mbf = s.w0(ue.M())), ue.sm_mbf;
        }
        toObject(e = !1) {
          return ue.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(ue.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(ue.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new ue();
          return ue.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(ue.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return ue.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(ue.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return ue.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetAppRelationships_Response_AppRelationship";
        }
      }
      class de extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            de.prototype.publishedfileids || s.Sg(de.M()),
            l.initialize(this, e, 0, -1, [1], null);
        }
        static M() {
          return (
            de.sm_m ||
              (de.sm_m = {
                proto: de,
                fields: {
                  publishedfileids: {
                    n: 1,
                    r: !0,
                    q: !0,
                    br: s.qM.readUint64String,
                    pbr: s.qM.readPackedUint64String,
                    bw: s.gp.writeRepeatedUint64String,
                  },
                  filter_relationship: {
                    n: 2,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                },
              }),
            de.sm_m
          );
        }
        static MBF() {
          return de.sm_mbf || (de.sm_mbf = s.w0(de.M())), de.sm_mbf;
        }
        toObject(e = !1) {
          return de.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(de.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(de.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new de();
          return de.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(de.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return de.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(de.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return de.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetAppRelationshipsBatched_Request";
        }
      }
      class me extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            me.prototype.relationships || s.Sg(me.M()),
            l.initialize(this, e, 0, -1, [1], null);
        }
        static M() {
          return (
            me.sm_m ||
              (me.sm_m = {
                proto: me,
                fields: { relationships: { n: 1, c: be, r: !0, q: !0 } },
              }),
            me.sm_m
          );
        }
        static MBF() {
          return me.sm_mbf || (me.sm_mbf = s.w0(me.M())), me.sm_mbf;
        }
        toObject(e = !1) {
          return me.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(me.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(me.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new me();
          return me.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(me.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return me.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(me.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return me.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetAppRelationshipsBatched_Response";
        }
      }
      class pe extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            pe.prototype.appid || s.Sg(pe.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            pe.sm_m ||
              (pe.sm_m = {
                proto: pe,
                fields: {
                  appid: { n: 1, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  relationship: {
                    n: 2,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                },
              }),
            pe.sm_m
          );
        }
        static MBF() {
          return pe.sm_mbf || (pe.sm_mbf = s.w0(pe.M())), pe.sm_mbf;
        }
        toObject(e = !1) {
          return pe.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(pe.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(pe.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new pe();
          return pe.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(pe.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return pe.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(pe.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return pe.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetAppRelationshipsBatched_Response_AppRelationship";
        }
      }
      class be extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            be.prototype.publishedfileid || s.Sg(be.M()),
            l.initialize(this, e, 0, -1, [3], null);
        }
        static M() {
          return (
            be.sm_m ||
              (be.sm_m = {
                proto: be,
                fields: {
                  publishedfileid: {
                    n: 1,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  result: { n: 2, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  app_relationships: { n: 3, c: pe, r: !0, q: !0 },
                },
              }),
            be.sm_m
          );
        }
        static MBF() {
          return be.sm_mbf || (be.sm_mbf = s.w0(be.M())), be.sm_mbf;
        }
        toObject(e = !1) {
          return be.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(be.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(be.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new be();
          return be.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(be.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return be.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(be.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return be.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetAppRelationshipsBatched_Response_PublishedFileAppRelationship";
        }
      }
      class Be extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Be.prototype.appid || s.Sg(Be.M()),
            l.initialize(this, e, 0, -1, [2], null);
        }
        static M() {
          return (
            Be.sm_m ||
              (Be.sm_m = {
                proto: Be,
                fields: {
                  appid: { n: 1, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  publishedfileids: {
                    n: 2,
                    r: !0,
                    q: !0,
                    br: s.qM.readUint64String,
                    pbr: s.qM.readPackedUint64String,
                    bw: s.gp.writeRepeatedUint64String,
                  },
                },
              }),
            Be.sm_m
          );
        }
        static MBF() {
          return Be.sm_mbf || (Be.sm_mbf = s.w0(Be.M())), Be.sm_mbf;
        }
        toObject(e = !1) {
          return Be.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Be.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Be.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Be();
          return Be.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Be.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Be.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Be.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Be.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_StartPlaytimeTracking_Request";
        }
      }
      class ge extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(), l.initialize(this, e, 0, -1, void 0, null);
        }
        toObject(e = !1) {
          return ge.toObject(e, this);
        }
        static toObject(e, t) {
          return e ? { $jspbMessageInstance: t } : {};
        }
        static fromObject(e) {
          return new ge();
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new ge();
          return ge.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return e;
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return ge.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {}
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return ge.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_StartPlaytimeTracking_Response";
        }
      }
      class we extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            we.prototype.appid || s.Sg(we.M()),
            l.initialize(this, e, 0, -1, [2, 3], null);
        }
        static M() {
          return (
            we.sm_m ||
              (we.sm_m = {
                proto: we,
                fields: {
                  appid: { n: 1, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  publishedfileids: {
                    n: 2,
                    r: !0,
                    q: !0,
                    br: s.qM.readUint64String,
                    pbr: s.qM.readPackedUint64String,
                    bw: s.gp.writeRepeatedUint64String,
                  },
                },
              }),
            we.sm_m
          );
        }
        static MBF() {
          return we.sm_mbf || (we.sm_mbf = s.w0(we.M())), we.sm_mbf;
        }
        toObject(e = !1) {
          return we.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(we.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(we.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new we();
          return we.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(we.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return we.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(we.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return we.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_StopPlaytimeTracking_Request";
        }
      }
      class ye extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(), l.initialize(this, e, 0, -1, void 0, null);
        }
        toObject(e = !1) {
          return ye.toObject(e, this);
        }
        static toObject(e, t) {
          return e ? { $jspbMessageInstance: t } : {};
        }
        static fromObject(e) {
          return new ye();
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new ye();
          return ye.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return e;
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return ye.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {}
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return ye.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_StopPlaytimeTracking_Response";
        }
      }
      class _e extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            _e.prototype.appid || s.Sg(_e.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            _e.sm_m ||
              (_e.sm_m = {
                proto: _e,
                fields: {
                  appid: { n: 1, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                },
              }),
            _e.sm_m
          );
        }
        static MBF() {
          return _e.sm_mbf || (_e.sm_mbf = s.w0(_e.M())), _e.sm_mbf;
        }
        toObject(e = !1) {
          return _e.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(_e.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(_e.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new _e();
          return _e.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(_e.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return _e.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(_e.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return _e.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_StopPlaytimeTrackingForAllAppItems_Request";
        }
      }
      class fe extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(), l.initialize(this, e, 0, -1, void 0, null);
        }
        toObject(e = !1) {
          return fe.toObject(e, this);
        }
        static toObject(e, t) {
          return e ? { $jspbMessageInstance: t } : {};
        }
        static fromObject(e) {
          return new fe();
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new fe();
          return fe.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return e;
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return fe.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {}
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return fe.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_StopPlaytimeTrackingForAllAppItems_Response";
        }
      }
      class he extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            he.prototype.appid || s.Sg(he.M()),
            l.initialize(this, e, 0, -1, [2], null);
        }
        static M() {
          return (
            he.sm_m ||
              (he.sm_m = {
                proto: he,
                fields: {
                  appid: { n: 1, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  controller_config_usage: { n: 2, c: Me, r: !0, q: !0 },
                },
              }),
            he.sm_m
          );
        }
        static MBF() {
          return he.sm_mbf || (he.sm_mbf = s.w0(he.M())), he.sm_mbf;
        }
        toObject(e = !1) {
          return he.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(he.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(he.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new he();
          return he.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(he.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return he.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(he.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return he.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_SetPlaytimeForControllerConfigs_Request";
        }
      }
      class Me extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Me.prototype.publishedfileid || s.Sg(Me.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            Me.sm_m ||
              (Me.sm_m = {
                proto: Me,
                fields: {
                  publishedfileid: {
                    n: 1,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  seconds_active: {
                    n: 2,
                    br: s.qM.readFloat,
                    bw: s.gp.writeFloat,
                  },
                },
              }),
            Me.sm_m
          );
        }
        static MBF() {
          return Me.sm_mbf || (Me.sm_mbf = s.w0(Me.M())), Me.sm_mbf;
        }
        toObject(e = !1) {
          return Me.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Me.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Me.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Me();
          return Me.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Me.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Me.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Me.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Me.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_SetPlaytimeForControllerConfigs_Request_ControllerConfigUsage";
        }
      }
      class ze extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(), l.initialize(this, e, 0, -1, void 0, null);
        }
        toObject(e = !1) {
          return ze.toObject(e, this);
        }
        static toObject(e, t) {
          return e ? { $jspbMessageInstance: t } : {};
        }
        static fromObject(e) {
          return new ze();
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new ze();
          return ze.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return e;
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return ze.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {}
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return ze.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_SetPlaytimeForControllerConfigs_Response";
        }
      }
      class Se extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Se.prototype.publishedfileid || s.Sg(Se.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            Se.sm_m ||
              (Se.sm_m = {
                proto: Se,
                fields: {
                  publishedfileid: {
                    n: 1,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  child_publishedfileid: {
                    n: 2,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                },
              }),
            Se.sm_m
          );
        }
        static MBF() {
          return Se.sm_mbf || (Se.sm_mbf = s.w0(Se.M())), Se.sm_mbf;
        }
        toObject(e = !1) {
          return Se.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Se.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Se.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Se();
          return Se.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Se.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Se.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Se.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Se.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_AddChild_Request";
        }
      }
      class Re extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(), l.initialize(this, e, 0, -1, void 0, null);
        }
        toObject(e = !1) {
          return Re.toObject(e, this);
        }
        static toObject(e, t) {
          return e ? { $jspbMessageInstance: t } : {};
        }
        static fromObject(e) {
          return new Re();
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Re();
          return Re.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return e;
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Re.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {}
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Re.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_AddChild_Response";
        }
      }
      class ve extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            ve.prototype.publishedfileid || s.Sg(ve.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            ve.sm_m ||
              (ve.sm_m = {
                proto: ve,
                fields: {
                  publishedfileid: {
                    n: 1,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  child_publishedfileid: {
                    n: 2,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                },
              }),
            ve.sm_m
          );
        }
        static MBF() {
          return ve.sm_mbf || (ve.sm_mbf = s.w0(ve.M())), ve.sm_mbf;
        }
        toObject(e = !1) {
          return ve.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(ve.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(ve.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new ve();
          return ve.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(ve.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return ve.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(ve.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return ve.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_RemoveChild_Request";
        }
      }
      class Fe extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(), l.initialize(this, e, 0, -1, void 0, null);
        }
        toObject(e = !1) {
          return Fe.toObject(e, this);
        }
        static toObject(e, t) {
          return e ? { $jspbMessageInstance: t } : {};
        }
        static fromObject(e) {
          return new Fe();
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Fe();
          return Fe.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return e;
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Fe.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {}
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Fe.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_RemoveChild_Response";
        }
      }
      class qe extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            qe.prototype.appid || s.Sg(qe.M()),
            l.initialize(this, e, 0, -1, [3], null);
        }
        static M() {
          return (
            qe.sm_m ||
              (qe.sm_m = {
                proto: qe,
                fields: {
                  appid: { n: 1, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  publishedfileid: {
                    n: 2,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  children: {
                    n: 3,
                    r: !0,
                    q: !0,
                    br: s.qM.readUint64String,
                    pbr: s.qM.readPackedUint64String,
                    bw: s.gp.writeRepeatedUint64String,
                  },
                },
              }),
            qe.sm_m
          );
        }
        static MBF() {
          return qe.sm_mbf || (qe.sm_mbf = s.w0(qe.M())), qe.sm_mbf;
        }
        toObject(e = !1) {
          return qe.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(qe.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(qe.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new qe();
          return qe.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(qe.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return qe.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(qe.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return qe.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_SetCollectionChildren_Request";
        }
      }
      class Ce extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(), l.initialize(this, e, 0, -1, void 0, null);
        }
        toObject(e = !1) {
          return Ce.toObject(e, this);
        }
        static toObject(e, t) {
          return e ? { $jspbMessageInstance: t } : {};
        }
        static fromObject(e) {
          return new Ce();
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Ce();
          return Ce.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return e;
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Ce.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {}
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Ce.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_SetCollectionChildren_Response";
        }
      }
      class je extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            je.prototype.appid || s.Sg(je.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            je.sm_m ||
              (je.sm_m = {
                proto: je,
                fields: {
                  appid: { n: 1, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  list_type: {
                    n: 2,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  publishedfileid: {
                    n: 3,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  add_only: { n: 4, br: s.qM.readBool, bw: s.gp.writeBool },
                },
              }),
            je.sm_m
          );
        }
        static MBF() {
          return je.sm_mbf || (je.sm_mbf = s.w0(je.M())), je.sm_mbf;
        }
        toObject(e = !1) {
          return je.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(je.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(je.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new je();
          return je.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(je.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return je.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(je.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return je.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_SetSubscriptionListFromCollection_Request";
        }
      }
      class We extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(), l.initialize(this, e, 0, -1, void 0, null);
        }
        toObject(e = !1) {
          return We.toObject(e, this);
        }
        static toObject(e, t) {
          return e ? { $jspbMessageInstance: t } : {};
        }
        static fromObject(e) {
          return new We();
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new We();
          return We.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return e;
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return We.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {}
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return We.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_SetSubscriptionListFromCollection_Response";
        }
      }
      class Ue extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Ue.prototype.appid || s.Sg(Ue.M()),
            l.initialize(this, e, 0, -1, [2], null);
        }
        static M() {
          return (
            Ue.sm_m ||
              (Ue.sm_m = {
                proto: Ue,
                fields: {
                  appid: { n: 1, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  publishedfileids: {
                    n: 2,
                    r: !0,
                    q: !0,
                    br: s.qM.readFixed64String,
                    pbr: s.qM.readPackedFixed64String,
                    bw: s.gp.writeRepeatedFixed64String,
                  },
                  listtype: { n: 3, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  filetype: { n: 4, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  workshopfiletype: {
                    n: 5,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                },
              }),
            Ue.sm_m
          );
        }
        static MBF() {
          return Ue.sm_mbf || (Ue.sm_mbf = s.w0(Ue.M())), Ue.sm_mbf;
        }
        toObject(e = !1) {
          return Ue.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Ue.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Ue.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Ue();
          return Ue.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Ue.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Ue.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Ue.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Ue.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_AreFilesInSubscriptionList_Request";
        }
      }
      class Te extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Te.prototype.files || s.Sg(Te.M()),
            l.initialize(this, e, 0, -1, [1], null);
        }
        static M() {
          return (
            Te.sm_m ||
              (Te.sm_m = {
                proto: Te,
                fields: { files: { n: 1, c: Ie, r: !0, q: !0 } },
              }),
            Te.sm_m
          );
        }
        static MBF() {
          return Te.sm_mbf || (Te.sm_mbf = s.w0(Te.M())), Te.sm_mbf;
        }
        toObject(e = !1) {
          return Te.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Te.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Te.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Te();
          return Te.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Te.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Te.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Te.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Te.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_AreFilesInSubscriptionList_Response";
        }
      }
      class Ie extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Ie.prototype.publishedfileid || s.Sg(Ie.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            Ie.sm_m ||
              (Ie.sm_m = {
                proto: Ie,
                fields: {
                  publishedfileid: {
                    n: 1,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                  inlist: { n: 2, br: s.qM.readBool, bw: s.gp.writeBool },
                },
              }),
            Ie.sm_m
          );
        }
        static MBF() {
          return Ie.sm_mbf || (Ie.sm_mbf = s.w0(Ie.M())), Ie.sm_mbf;
        }
        toObject(e = !1) {
          return Ie.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Ie.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Ie.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Ie();
          return Ie.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Ie.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Ie.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Ie.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Ie.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_AreFilesInSubscriptionList_Response_InList";
        }
      }
      class Oe extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Oe.prototype.publishedfileids || s.Sg(Oe.M()),
            l.initialize(this, e, 0, -1, [1], null);
        }
        static M() {
          return (
            Oe.sm_m ||
              (Oe.sm_m = {
                proto: Oe,
                fields: {
                  publishedfileids: {
                    n: 1,
                    r: !0,
                    q: !0,
                    br: s.qM.readFixed64String,
                    pbr: s.qM.readPackedFixed64String,
                    bw: s.gp.writeRepeatedFixed64String,
                  },
                },
              }),
            Oe.sm_m
          );
        }
        static MBF() {
          return Oe.sm_mbf || (Oe.sm_mbf = s.w0(Oe.M())), Oe.sm_mbf;
        }
        toObject(e = !1) {
          return Oe.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Oe.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Oe.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Oe();
          return Oe.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Oe.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Oe.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Oe.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Oe.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetUserVoteSummary_Request";
        }
      }
      class Ee extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Ee.prototype.summaries || s.Sg(Ee.M()),
            l.initialize(this, e, 0, -1, [1], null);
        }
        static M() {
          return (
            Ee.sm_m ||
              (Ee.sm_m = {
                proto: Ee,
                fields: { summaries: { n: 1, c: Pe, r: !0, q: !0 } },
              }),
            Ee.sm_m
          );
        }
        static MBF() {
          return Ee.sm_mbf || (Ee.sm_mbf = s.w0(Ee.M())), Ee.sm_mbf;
        }
        toObject(e = !1) {
          return Ee.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Ee.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Ee.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Ee();
          return Ee.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Ee.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Ee.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Ee.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Ee.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetUserVoteSummary_Response";
        }
      }
      class Pe extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Pe.prototype.publishedfileid || s.Sg(Pe.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            Pe.sm_m ||
              (Pe.sm_m = {
                proto: Pe,
                fields: {
                  publishedfileid: {
                    n: 1,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                  vote_for: { n: 2, br: s.qM.readBool, bw: s.gp.writeBool },
                  vote_against: { n: 3, br: s.qM.readBool, bw: s.gp.writeBool },
                  reported: { n: 4, br: s.qM.readBool, bw: s.gp.writeBool },
                },
              }),
            Pe.sm_m
          );
        }
        static MBF() {
          return Pe.sm_mbf || (Pe.sm_mbf = s.w0(Pe.M())), Pe.sm_mbf;
        }
        toObject(e = !1) {
          return Pe.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Pe.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Pe.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Pe();
          return Pe.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Pe.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Pe.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Pe.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Pe.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetUserVoteSummary_Response_VoteSummary";
        }
      }
      class Ge extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Ge.prototype.appid || s.Sg(Ge.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            Ge.sm_m ||
              (Ge.sm_m = {
                proto: Ge,
                fields: {
                  appid: { n: 1, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  last_time_updated: {
                    n: 2,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  num_items_max: {
                    n: 3,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  desired_revision: {
                    n: 4,
                    br: s.qM.readEnum,
                    bw: s.gp.writeEnum,
                  },
                },
              }),
            Ge.sm_m
          );
        }
        static MBF() {
          return Ge.sm_mbf || (Ge.sm_mbf = s.w0(Ge.M())), Ge.sm_mbf;
        }
        toObject(e = !1) {
          return Ge.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Ge.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Ge.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Ge();
          return Ge.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Ge.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Ge.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Ge.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Ge.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetItemChanges_Request";
        }
      }
      class Ne extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Ne.prototype.update_time || s.Sg(Ne.M()),
            l.initialize(this, e, 0, -1, [2], null);
        }
        static M() {
          return (
            Ne.sm_m ||
              (Ne.sm_m = {
                proto: Ne,
                fields: {
                  update_time: {
                    n: 1,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  workshop_items: { n: 2, c: Ae, r: !0, q: !0 },
                },
              }),
            Ne.sm_m
          );
        }
        static MBF() {
          return Ne.sm_mbf || (Ne.sm_mbf = s.w0(Ne.M())), Ne.sm_mbf;
        }
        toObject(e = !1) {
          return Ne.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Ne.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Ne.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Ne();
          return Ne.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Ne.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Ne.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Ne.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Ne.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetItemChanges_Response";
        }
      }
      class Ae extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Ae.prototype.published_file_id || s.Sg(Ae.M()),
            l.initialize(this, e, 0, -1, [4], null);
        }
        static M() {
          return (
            Ae.sm_m ||
              (Ae.sm_m = {
                proto: Ae,
                fields: {
                  published_file_id: {
                    n: 1,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                  time_updated: {
                    n: 2,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  manifest_id: {
                    n: 3,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                  author_snapshots: { n: 4, c: h, r: !0, q: !0 },
                },
              }),
            Ae.sm_m
          );
        }
        static MBF() {
          return Ae.sm_mbf || (Ae.sm_mbf = s.w0(Ae.M())), Ae.sm_mbf;
        }
        toObject(e = !1) {
          return Ae.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Ae.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Ae.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Ae();
          return Ae.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Ae.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Ae.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Ae.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Ae.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetItemChanges_Response_WorkshopItemInfo";
        }
      }
      class Le extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Le.prototype.publishedfileid || s.Sg(Le.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            Le.sm_m ||
              (Le.sm_m = {
                proto: Le,
                fields: {
                  publishedfileid: {
                    n: 1,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                },
              }),
            Le.sm_m
          );
        }
        static MBF() {
          return Le.sm_mbf || (Le.sm_mbf = s.w0(Le.M())), Le.sm_mbf;
        }
        toObject(e = !1) {
          return Le.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Le.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Le.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Le();
          return Le.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Le.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Le.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Le.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Le.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetContentDescriptors_Request";
        }
      }
      class xe extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            xe.prototype.content_descriptors || s.Sg(xe.M()),
            l.initialize(this, e, 0, -1, [1], null);
        }
        static M() {
          return (
            xe.sm_m ||
              (xe.sm_m = {
                proto: xe,
                fields: { content_descriptors: { n: 1, c: ke, r: !0, q: !0 } },
              }),
            xe.sm_m
          );
        }
        static MBF() {
          return xe.sm_mbf || (xe.sm_mbf = s.w0(xe.M())), xe.sm_mbf;
        }
        toObject(e = !1) {
          return xe.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(xe.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(xe.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new xe();
          return xe.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(xe.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return xe.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(xe.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return xe.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetContentDescriptors_Response";
        }
      }
      class ke extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            ke.prototype.descriptorid || s.Sg(ke.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            ke.sm_m ||
              (ke.sm_m = {
                proto: ke,
                fields: {
                  descriptorid: { n: 1, br: s.qM.readEnum, bw: s.gp.writeEnum },
                  accountid: {
                    n: 2,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  timestamp: {
                    n: 3,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  moderator_set: {
                    n: 4,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                },
              }),
            ke.sm_m
          );
        }
        static MBF() {
          return ke.sm_mbf || (ke.sm_mbf = s.w0(ke.M())), ke.sm_mbf;
        }
        toObject(e = !1) {
          return ke.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(ke.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(ke.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new ke();
          return ke.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(ke.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return ke.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(ke.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return ke.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_GetContentDescriptors_Response_ContentDescriptor";
        }
      }
      class De extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            De.prototype.publishedfileid || s.Sg(De.M()),
            l.initialize(this, e, 0, -1, [2, 3], null);
        }
        static M() {
          return (
            De.sm_m ||
              (De.sm_m = {
                proto: De,
                fields: {
                  publishedfileid: {
                    n: 1,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                  descriptors_to_add: {
                    n: 2,
                    r: !0,
                    q: !0,
                    br: s.qM.readEnum,
                    pbr: s.qM.readPackedEnum,
                    bw: s.gp.writeRepeatedEnum,
                  },
                  descriptors_to_remove: {
                    n: 3,
                    r: !0,
                    q: !0,
                    br: s.qM.readEnum,
                    pbr: s.qM.readPackedEnum,
                    bw: s.gp.writeRepeatedEnum,
                  },
                },
              }),
            De.sm_m
          );
        }
        static MBF() {
          return De.sm_mbf || (De.sm_mbf = s.w0(De.M())), De.sm_mbf;
        }
        toObject(e = !1) {
          return De.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(De.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(De.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new De();
          return De.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(De.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return De.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(De.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return De.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_UpdateContentDescriptors_Request";
        }
      }
      class He extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            He.prototype.timestamp_updated || s.Sg(He.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            He.sm_m ||
              (He.sm_m = {
                proto: He,
                fields: {
                  timestamp_updated: {
                    n: 1,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                },
              }),
            He.sm_m
          );
        }
        static MBF() {
          return He.sm_mbf || (He.sm_mbf = s.w0(He.M())), He.sm_mbf;
        }
        toObject(e = !1) {
          return He.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(He.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(He.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new He();
          return He.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(He.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return He.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(He.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return He.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_UpdateContentDescriptors_Response";
        }
      }
      class $e extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            $e.prototype.published_file_id || s.Sg($e.M()),
            l.initialize(this, e, 0, -1, [8], null);
        }
        static M() {
          return (
            $e.sm_m ||
              ($e.sm_m = {
                proto: $e,
                fields: {
                  published_file_id: {
                    n: 1,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                  app_id: { n: 2, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  file_hcontent: {
                    n: 3,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                  file_size: {
                    n: 4,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  rtime_subscribed: {
                    n: 5,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  is_depot_content: {
                    n: 6,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  rtime_updated: {
                    n: 7,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  revision: { n: 9, br: s.qM.readEnum, bw: s.gp.writeEnum },
                  revisions: { n: 8, c: Ve, r: !0, q: !0 },
                },
              }),
            $e.sm_m
          );
        }
        static MBF() {
          return $e.sm_mbf || ($e.sm_mbf = s.w0($e.M())), $e.sm_mbf;
        }
        toObject(e = !1) {
          return $e.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT($e.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq($e.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new $e();
          return $e.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj($e.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return $e.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0($e.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return $e.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_FileSubscribed_Notification";
        }
      }
      class Ve extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Ve.prototype.revision || s.Sg(Ve.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            Ve.sm_m ||
              (Ve.sm_m = {
                proto: Ve,
                fields: {
                  revision: { n: 1, br: s.qM.readEnum, bw: s.gp.writeEnum },
                  file_hcontent: {
                    n: 2,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                  rtime_updated: {
                    n: 3,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  game_branch_min: {
                    n: 4,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  game_branch_max: {
                    n: 5,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                },
              }),
            Ve.sm_m
          );
        }
        static MBF() {
          return Ve.sm_mbf || (Ve.sm_mbf = s.w0(Ve.M())), Ve.sm_mbf;
        }
        toObject(e = !1) {
          return Ve.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Ve.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Ve.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Ve();
          return Ve.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Ve.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Ve.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Ve.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Ve.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_FileSubscribed_Notification_RevisionData";
        }
      }
      class Ke extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Ke.prototype.published_file_id || s.Sg(Ke.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            Ke.sm_m ||
              (Ke.sm_m = {
                proto: Ke,
                fields: {
                  published_file_id: {
                    n: 1,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                  app_id: { n: 2, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                },
              }),
            Ke.sm_m
          );
        }
        static MBF() {
          return Ke.sm_mbf || (Ke.sm_mbf = s.w0(Ke.M())), Ke.sm_mbf;
        }
        toObject(e = !1) {
          return Ke.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Ke.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Ke.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Ke();
          return Ke.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Ke.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Ke.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Ke.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Ke.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_FileUnsubscribed_Notification";
        }
      }
      class Qe extends l {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Qe.prototype.published_file_id || s.Sg(Qe.M()),
            l.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            Qe.sm_m ||
              (Qe.sm_m = {
                proto: Qe,
                fields: {
                  published_file_id: {
                    n: 1,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                  app_id: { n: 2, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                },
              }),
            Qe.sm_m
          );
        }
        static MBF() {
          return Qe.sm_mbf || (Qe.sm_mbf = s.w0(Qe.M())), Qe.sm_mbf;
        }
        toObject(e = !1) {
          return Qe.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Qe.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Qe.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Qe();
          return Qe.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Qe.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Qe.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Qe.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Qe.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CPublishedFile_FileDeleted_Client_Notification";
        }
      }
      var Ze, Ye;
      !(function (e) {
        (e.Vote = function (e, t) {
          return e.SendMsg("PublishedFile.Vote#1", (0, i.I8)(o, t), c, {
            ePrivilege: 1,
            eWebAPIKeyRequirement: 5,
          });
        }),
          (e.Subscribe = function (e, t) {
            return e.SendMsg("PublishedFile.Subscribe#1", (0, i.I8)(u, t), d, {
              ePrivilege: 1,
              eWebAPIKeyRequirement: 2,
            });
          }),
          (e.Unsubscribe = function (e, t) {
            return e.SendMsg(
              "PublishedFile.Unsubscribe#1",
              (0, i.I8)(m, t),
              p,
              { ePrivilege: 1, eWebAPIKeyRequirement: 2 },
            );
          }),
          (e.CanSubscribe = function (e, t) {
            return e.SendMsg(
              "PublishedFile.CanSubscribe#1",
              (0, i.I8)(b, t),
              B,
              { bConstMethod: !0, ePrivilege: 1, eWebAPIKeyRequirement: 2 },
            );
          }),
          (e.GetSubSectionData = function (e, t) {
            return e.SendMsg(
              "PublishedFile.GetSubSectionData#1",
              (0, i.I8)(w, t),
              y,
              { bConstMethod: !0, ePrivilege: 2, eWebAPIKeyRequirement: 2 },
            );
          }),
          (e.Publish = function (e, t) {
            return e.SendMsg("PublishedFile.Publish#1", (0, i.I8)(_, t), f, {
              ePrivilege: 3,
            });
          }),
          (e.GetDetails = function (e, t) {
            return e.SendMsg("PublishedFile.GetDetails#1", (0, i.I8)(W, t), U, {
              bConstMethod: !0,
              ePrivilege: 2,
              eWebAPIKeyRequirement: 2,
            });
          }),
          (e.GetItemInfo = function (e, t) {
            return e.SendMsg(
              "PublishedFile.GetItemInfo#1",
              (0, i.I8)(T, t),
              O,
              { ePrivilege: 2 },
            );
          }),
          (e.GetUserFiles = function (e, t) {
            return e.SendMsg(
              "PublishedFile.GetUserFiles#1",
              (0, i.I8)(P, t),
              A,
              { bConstMethod: !0, ePrivilege: 2, eWebAPIKeyRequirement: 2 },
            );
          }),
          (e.GetUserFileCount = function (e, t) {
            return e.SendMsg(
              "PublishedFile.GetUserFileCount#1",
              (0, i.I8)(P, t),
              A,
              { bConstMethod: !0, ePrivilege: 2, eWebAPIKeyRequirement: 2 },
            );
          }),
          (e.AreFilesInSubscriptionList = function (e, t) {
            return e.SendMsg(
              "PublishedFile.AreFilesInSubscriptionList#1",
              (0, i.I8)(Ue, t),
              Te,
              { bConstMethod: !0, ePrivilege: 1 },
            );
          }),
          (e.Update = function (e, t) {
            return e.SendMsg("PublishedFile.Update#1", (0, i.I8)(x, t), k, {
              ePrivilege: 3,
            });
          }),
          (e.Delete = function (e, t) {
            return e.SendMsg("PublishedFile.Delete#1", (0, i.I8)(D, t), H, {
              ePrivilege: 3,
              eWebAPIKeyRequirement: 5,
            });
          }),
          (e.GetChangeHistoryEntry = function (e, t) {
            return e.SendMsg(
              "PublishedFile.GetChangeHistoryEntry#1",
              (0, i.I8)($, t),
              V,
              { bConstMethod: !0, ePrivilege: 0 },
            );
          }),
          (e.GetChangeHistory = function (e, t) {
            return e.SendMsg(
              "PublishedFile.GetChangeHistory#1",
              (0, i.I8)(K, t),
              Q,
              { bConstMethod: !0, ePrivilege: 0 },
            );
          }),
          (e.RefreshVotingQueue = function (e, t) {
            return e.SendMsg(
              "PublishedFile.RefreshVotingQueue#1",
              (0, i.I8)(Y, t),
              X,
              { ePrivilege: 1, eWebAPIKeyRequirement: 5 },
            );
          }),
          (e.QueryFiles = function (e, t) {
            return e.SendMsg(
              "PublishedFile.QueryFiles#1",
              (0, i.I8)(J, t),
              ie,
              { bConstMethod: !0, ePrivilege: 2, eWebAPIKeyRequirement: 2 },
            );
          }),
          (e.AddAppRelationship = function (e, t) {
            return e.SendMsg(
              "PublishedFile.AddAppRelationship#1",
              (0, i.I8)(ne, t),
              ae,
              { ePrivilege: 1 },
            );
          }),
          (e.RemoveAppRelationship = function (e, t) {
            return e.SendMsg(
              "PublishedFile.RemoveAppRelationship#1",
              (0, i.I8)(se, t),
              le,
              { ePrivilege: 1 },
            );
          }),
          (e.GetAppRelationships = function (e, t) {
            return e.SendMsg(
              "PublishedFile.GetAppRelationships#1",
              (0, i.I8)(oe, t),
              ce,
              { bConstMethod: !0, ePrivilege: 0 },
            );
          }),
          (e.GetAppRelationshipsBatched = function (e, t) {
            return e.SendMsg(
              "PublishedFile.GetAppRelationshipsBatched#1",
              (0, i.I8)(de, t),
              me,
              { bConstMethod: !0, ePrivilege: 0 },
            );
          }),
          (e.StartPlaytimeTracking = function (e, t) {
            return e.SendMsg(
              "PublishedFile.StartPlaytimeTracking#1",
              (0, i.I8)(Be, t),
              ge,
              { ePrivilege: 1 },
            );
          }),
          (e.StopPlaytimeTracking = function (e, t) {
            return e.SendMsg(
              "PublishedFile.StopPlaytimeTracking#1",
              (0, i.I8)(we, t),
              ye,
              { ePrivilege: 1 },
            );
          }),
          (e.StopPlaytimeTrackingForAllAppItems = function (e, t) {
            return e.SendMsg(
              "PublishedFile.StopPlaytimeTrackingForAllAppItems#1",
              (0, i.I8)(_e, t),
              fe,
              { ePrivilege: 1 },
            );
          }),
          (e.SetPlaytimeForControllerConfigs = function (e, t) {
            return e.SendMsg(
              "PublishedFile.SetPlaytimeForControllerConfigs#1",
              (0, i.I8)(he, t),
              ze,
              { ePrivilege: 1 },
            );
          }),
          (e.AddChild = function (e, t) {
            return e.SendMsg("PublishedFile.AddChild#1", (0, i.I8)(Se, t), Re, {
              ePrivilege: 1,
            });
          }),
          (e.RemoveChild = function (e, t) {
            return e.SendMsg(
              "PublishedFile.RemoveChild#1",
              (0, i.I8)(ve, t),
              Fe,
              { ePrivilege: 1 },
            );
          }),
          (e.SetCollectionChildren = function (e, t) {
            return e.SendMsg(
              "PublishedFile.SetCollectionChildren#1",
              (0, i.I8)(qe, t),
              Ce,
              { ePrivilege: 1 },
            );
          }),
          (e.SetSubscriptionListFromCollection = function (e, t) {
            return e.SendMsg(
              "PublishedFile.SetSubscriptionListFromCollection#1",
              (0, i.I8)(je, t),
              We,
              { ePrivilege: 1 },
            );
          }),
          (e.GetUserVoteSummary = function (e, t) {
            return e.SendMsg(
              "PublishedFile.GetUserVoteSummary#1",
              (0, i.I8)(Oe, t),
              Ee,
              { bConstMethod: !0, ePrivilege: 1 },
            );
          }),
          (e.GetItemChanges = function (e, t) {
            return e.SendMsg(
              "PublishedFile.GetItemChanges#1",
              (0, i.I8)(Ge, t),
              Ne,
              { ePrivilege: 1 },
            );
          }),
          (e.GetContentDescriptors = function (e, t) {
            return e.SendMsg(
              "PublishedFile.GetContentDescriptors#1",
              (0, i.I8)(Le, t),
              xe,
              { ePrivilege: 0 },
            );
          }),
          (e.UpdateContentDescriptors = function (e, t) {
            return e.SendMsg(
              "PublishedFile.UpdateContentDescriptors#1",
              (0, i.I8)(De, t),
              He,
              { ePrivilege: 1 },
            );
          });
      })(Ze || (Ze = {})),
        (function (e) {
          (e.NotifyFileSubscribedHandler = {
            name: "PublishedFileClient.NotifyFileSubscribed#1",
            request: $e,
          }),
            (e.NotifyFileUnsubscribedHandler = {
              name: "PublishedFileClient.NotifyFileUnsubscribed#1",
              request: Ke,
            }),
            (e.NotifyFileDeletedHandler = {
              name: "PublishedFileClient.NotifyFileDeleted#1",
              request: Qe,
            });
        })(Ye || (Ye = {}));
      var Xe = r(28819),
        Je = r(57956),
        et = r(37674),
        tt = r(29385),
        rt = r(23809);
      const it = new Map(),
        nt = new Map();
      function at(e) {
        const t = (0, tt.jE)(),
          r = (0, Je.EN)(e.batchKey),
          i = (0, Je.EN)(e.queryKey);
        return (0, et.I)({
          queryKey: [e.batchKey, i],
          queryFn: () => {
            let n = it.get(r);
            return (
              n || ((n = new Map()), it.set(r, n)),
              n.set(i, e.request),
              new Promise((i, n) => {
                if (nt.get(r)) return;
                const a = setTimeout(async () => {
                  try {
                    const i = it.get(r),
                      n = Array.from(i.keys()),
                      a = Array.from(i.values());
                    i.clear(), nt.delete(r);
                    const s = await e.queryFn(a);
                    a.forEach((r, i) => {
                      t.setQueryData(
                        [e.batchKey, n[i]],
                        e.requestMatcher
                          ? s.find((t) => e.requestMatcher(r, t))
                          : s[i],
                      );
                    });
                  } catch (e) {
                    n(e);
                  }
                }, e.batchDuration);
                nt.set(r, a);
              })
            );
          },
          enabled: e.enabled,
        });
      }
      var st = r(72963),
        lt = r(78327),
        ot = r(39821);
      function ct(e) {
        let t = e
          .replace(/^the\s/i, "")
          .replace(/^a\s/i, "")
          .replace(/^[^\w]+/u, "");
        if (t != e) return t;
      }
      function ut(e) {
        if (!(e < 1e5)) return e;
      }
      class dt {
        static Get() {
          return this.s_Singleton
            ? this.s_Singleton
            : (this.s_Singleton = new dt(
                (0, lt.Tc)("config", "profile_config"),
                (0, lt.Tc)("profile-gameslist", "gameslist_config"),
              ));
        }
        constructor(e, t) {
          var r, i, n, a, s, l, o;
          (this.setExcludedContentDescriptorIds = new Set()),
            (this.rgGameslistConfig = t),
            e && Object.assign(ot.s, e),
            this.BViewingOwnProfile() ||
              null ===
                (n =
                  null ===
                    (i =
                      null === (r = this.rgGameslistConfig) || void 0 === r
                        ? void 0
                        : r.rgContentDescriptorPreferences) || void 0 === i
                    ? void 0
                    : i.content_descriptors_to_exclude) ||
              void 0 === n ||
              n.forEach((e) => {
                this.setExcludedContentDescriptorIds.add(
                  e.content_descriptorid,
                );
              });
          const c = this.GetProfileSteamId();
          if (
            ((null ===
              (s =
                null === (a = this.rgGameslistConfig) || void 0 === a
                  ? void 0
                  : a.rgGames) || void 0 === s
              ? void 0
              : s.length) > 0 &&
              st.L.setQueryData(
                ["OwnedGames", c, lt.TS.LANGUAGE],
                this.rgGameslistConfig.rgGames.map((e) => ({
                  ...e,
                  rtime_last_played: ut(e.rtime_last_played),
                })),
              ),
            (null ===
              (o =
                null === (l = this.rgGameslistConfig) || void 0 === l
                  ? void 0
                  : l.achievement_progress) || void 0 === o
              ? void 0
              : o.length) > 0)
          ) {
            const e = ["AchievementProgress", c, lt.TS.LANGUAGE];
            st.L.setQueryData(e, this.rgGameslistConfig.achievement_progress);
            for (const t of this.rgGameslistConfig.achievement_progress)
              st.L.setQueryData([e, (0, Je.EN)([t.appid])], t);
          }
        }
        async FetchAchievementProgressBatch(e, t, r) {
          const a = r.filter((e) => e.has_community_visible_stats);
          if (0 === a.length) return [];
          const s = i.w.Init(n.dC);
          s.Body().set_steamid(t),
            s.Body().set_language(lt.TS.LANGUAGE),
            s.Body().set_appids(a.map((e) => e.appid)),
            s.Body().set_include_unvetted_apps(this.BViewingOwnProfile());
          const l = await n.xt.GetAchievementsProgress(e, s);
          if (1 !== l.GetEResult())
            throw (
              (console.error(
                "Received error from GetAchievementsProgress",
                l.GetEResult(),
              ),
              new Error(
                `Error from GetAchievementsProgress: ${l.GetEResult()}`,
              ))
            );
          return l
            .Body()
            .achievement_progress()
            .map((e) => ({
              unlocked: e.unlocked(),
              total: e.total(),
              appid: e.appid(),
            }));
        }
        async FetchTopAchievementsBatch(e, t, r) {
          const a = r.filter((e) => e.has_community_visible_stats);
          if (0 === a.length) return [];
          const s = i.w.Init(n.hX);
          s.Body().set_steamid(t),
            s.Body().set_language(lt.TS.LANGUAGE),
            s.Body().set_appids(a.map((e) => e.appid)),
            s.Body().set_max_achievements(6);
          const l = await n.xt.GetTopAchievementsForGames(e, s);
          if (1 !== l.GetEResult())
            throw (
              (console.error(
                "Received error from GetTopAchievementsForGames",
                l.GetEResult(),
              ),
              new Error(
                `Error from GetTopAchievementsForGames: ${l.GetEResult()}`,
              ))
            );
          return l
            .Body()
            .games()
            .map((e) => ({
              appid: e.appid(),
              total_achievements: e.total_achievements(),
              achievements: e
                .achievements()
                .map((e) => ({
                  icon: e.icon(),
                  name: e.name(),
                  desc: e.desc(),
                  statid: e.statid(),
                  bit: e.bit(),
                  player_percent_unlocked: e.player_percent_unlocked(),
                })),
            }));
        }
        async GetGames(e, t) {
          const r = i.w.Init(n.G9);
          r.Body().set_steamid(e),
            r.Body().set_include_appinfo(!0),
            r.Body().set_skip_unvetted_apps(!1),
            r.Body().set_include_extended_appinfo(!0),
            r.Body().set_include_played_free_games(!0),
            r.Body().set_language(lt.TS.LANGUAGE);
          const a = await n.xt.GetOwnedGames(t, r);
          if (15 === a.GetEResult()) return [];
          if (1 !== a.GetEResult())
            throw (
              (console.error(
                "Received error from GetOwnedGames",
                a.GetEResult(),
              ),
              new Error(`Error from GetOwnedGames: ${a.GetEResult()}`))
            );
          return a
            .Body()
            .games()
            .map((e) => ({
              appid: e.appid(),
              name: e.name(),
              sort_as: e.sort_as() || ct(e.name()),
              playtime_forever: e.playtime_forever(),
              playtime_2weeks: e.playtime_2weeks(),
              playtime_disconnected: e.playtime_disconnected(),
              rtime_last_played: ut(e.rtime_last_played()),
              capsule_filename: e.capsule_filename(),
              has_dlc: e.has_dlc() || !1,
              has_workshop: e.has_workshop() || !1,
              has_market: e.has_market() || !1,
              has_community_visible_stats:
                e.has_community_visible_stats() || !1,
              has_leaderboards: e.has_leaderboards() || !1,
              content_descriptorids: e.content_descriptorids() || [],
              img_icon_url: e.img_icon_url(),
            }));
        }
        async GetUserFileCount(e, t, r) {
          let n = i.w.Init(P);
          n.Body().set_steamid(e),
            n.Body().set_filetype(4),
            n.Body().set_totalonly(!0),
            n.Body().set_appid(r);
          const a = await Ze.GetUserFileCount(t, n);
          if (1 !== a.GetEResult())
            throw (
              (console.error(
                "Received error from GetUserFileCount",
                a.GetEResult(),
              ),
              new Error(`Error from GetUserFileCount: ${a.GetEResult()}`))
            );
          return a.Body().total();
        }
        async GetFriendsWhoPlayCount(e, t) {
          let r = i.w.Init(n.tl);
          r.Body().set_appid(t);
          const a = await n.xt.GetFriendsGameplayInfo(e, r);
          if (1 !== a.GetEResult())
            throw (
              (console.error(
                "Received error from GetFriendsGameplayInfo",
                a.GetEResult(),
              ),
              new Error(`Error from GetFriendsGameplayInfo: ${a.GetEResult()}`))
            );
          return a.Body().played_recently().length;
        }
        async GetIndividualHasRecommendations(e, t, r) {
          let n = i.w.Init(Xe.uq),
            a = i.w.Init(Xe.NP);
          a.Body().set_steamid(e),
            a.Body().set_appid(r),
            n.Body().add_requests(a.Body());
          const s = await Xe.YK.GetIndividualRecommendations(t, n);
          if (1 !== s.GetEResult() && 42 !== s.GetEResult())
            throw (
              (console.error(
                "Received error from GetIndividualRecommendations",
                s.GetEResult(),
              ),
              new Error(
                `Error from GetIndividualRecommendations: ${s.GetEResult()}`,
              ))
            );
          return s.Body().recommendations().length > 0;
        }
        async GetTradingCardsCount(e, t) {
          const r = `${lt.TS.COMMUNITY_BASE_URL}/profiles/${e}/ajaxgetbadgeinfo/${t}`,
            i = new AbortController();
          let n, a;
          try {
            const e = setTimeout(() => {
              i.abort();
            }, 6e3);
            (n = await fetch(r, { credentials: "include", signal: i.signal })),
              clearTimeout(e),
              (a = await n.json());
          } catch (e) {
            throw e.response
              ? new Error(`HTTP result ${e.response.status} from ajax of ${r}`)
              : new Error(`Bad HTTP request for ajax for ${r}`);
          }
          const s = null == a ? void 0 : a.badgedata;
          if (!s) return;
          let l = 0,
            o = 0;
          for (let e of s.rgCards) l++, e.owned && o++;
          return { total: l, owned: o };
        }
        GetProfileName() {
          return this.rgGameslistConfig.strProfileName;
        }
        GetProfileSteamId() {
          return this.rgGameslistConfig.strSteamId;
        }
        BViewingOwnProfile() {
          return this.rgGameslistConfig.bViewingOwnProfile;
        }
        GetGCPDGames() {
          return this.rgGameslistConfig.gcpdGames;
        }
        GetReviewCount() {
          return this.rgGameslistConfig.nUserReviewCount;
        }
        GetFollowedCount() {
          return this.rgGameslistConfig.nUserFollowedCount;
        }
        GetExcludedContentDescriptors() {
          return this.setExcludedContentDescriptorIds;
        }
        GetPerfectUnownedGames() {
          return this.rgGameslistConfig.rgPerfectUnownedGames;
        }
        GetRecentlyPlayedGames() {
          return this.rgGameslistConfig.rgRecentlyPlayedGames;
        }
      }
      function mt(e, t = {}) {
        const r = dt.Get(),
          i = (0, rt.KV)();
        return (0, et.I)({
          queryKey: ["OwnedGames", e, lt.TS.LANGUAGE],
          queryFn: () => r.GetGames(e, i),
          select: (e) => e.filter((e) => e.img_icon_url),
          ...t,
        });
      }
      function pt() {
        return dt.Get().GetProfileName();
      }
      function bt() {
        return dt.Get().GetProfileSteamId();
      }
      function Bt() {
        return dt.Get().BViewingOwnProfile();
      }
      function gt(e) {
        var t;
        const r = dt.Get().GetExcludedContentDescriptors();
        return null === (t = null == e ? void 0 : e.content_descriptorids) ||
          void 0 === t
          ? void 0
          : t.some((e) => r.has(e));
      }
      function wt(e) {
        const t = (0, rt.KV)(),
          r = dt.Get(),
          i = (0, tt.jE)(),
          n = ["AchievementProgress", e, lt.TS.LANGUAGE],
          a = mt(e);
        return (0, et.I)({
          queryKey: n,
          queryFn: async () => {
            const s = await r.FetchAchievementProgressBatch(t, e, a.data);
            return (
              s.forEach((e) => {
                const t = [n, (0, Je.EN)([e.appid])];
                i.setQueryData(t, e);
              }),
              s
            );
          },
          enabled: void 0 !== a.data && a.data.length > 0,
        });
      }
      function yt(e, t) {
        const r = (0, rt.KV)(),
          i = dt.Get(),
          n = i.GetProfileSteamId();
        return at({
          batchKey: ["AchievementProgress", n, lt.TS.LANGUAGE],
          queryKey: [e.appid],
          queryFn: (e) => i.FetchAchievementProgressBatch(r, n, e),
          requestMatcher: (e, t) => e.appid === t.appid,
          batchDuration: 100,
          request: e,
          enabled: t,
        });
      }
      function _t(e) {
        const t = (0, rt.KV)(),
          r = dt.Get(),
          i = r.GetProfileSteamId();
        return (0, et.I)({
          queryKey: ["ScreenshotCount", i, e],
          queryFn: () => r.GetUserFileCount(i, t, e),
        });
      }
      var ft = r(90626),
        ht = r(12447),
        Mt = r(76217),
        zt = r(91336),
        St = r(33737),
        Rt = r(95034),
        vt = r(22797),
        Ft = r(32754),
        qt = r(52038);
      var Ct = r(61859),
        jt = r(97131),
        Wt = r(4869),
        Ut = r(12155),
        Tt = r(32046);
      function It(e, t, r = !1) {
        return (0, ft.useMemo)(() => {
          var i;
          return {
            data: null === (i = e.data) || void 0 === i ? void 0 : i.filter(t),
            isLoading: e.isLoading || r,
            error: e.error,
          };
        }, [e.data, e.isLoading, e.error, t, r]);
      }
      function Ot({ strNameFilter: e, setStrNameFilter: t, className: r }) {
        const i = (0, ft.useRef)(null),
          n = e && "" != e;
        return ft.createElement(
          "div",
          { className: (0, qt.A)(Tt.Filter, r) },
          ft.createElement("input", {
            ref: i,
            onChange: () => {
              var e;
              return t(
                null === (e = i.current) || void 0 === e ? void 0 : e.value,
              );
            },
            value: null != e ? e : "",
            placeholder: (0, Ct.we)("#GamesList_Filter_Placeholder"),
          }),
          n
            ? ft.createElement(
                "button",
                { className: Tt.ClearButton, onClick: () => t("") },
                ft.createElement(Ut.X, null),
              )
            : ft.createElement(
                "div",
                { className: Tt.SearchIcon },
                ft.createElement(Wt.vji, null),
              ),
        );
      }
      function Et(e) {
        return ft.createElement(
          "svg",
          {
            xmlns: "http://www.w3.org/2000/svg",
            viewBox: "0 0 30 29",
            fill: "none",
            ...e,
          },
          ft.createElement("path", {
            fill: "currentColor",
            fillRule: "evenodd",
            clipRule: "evenodd",
            d: "M26 20V25H4V20H0V29H30V20H26Z",
          }),
          ft.createElement("path", {
            fill: "currentColor",
            d: "M17 12.1716L21.5858 7.58578L24.4142 10.4142L15 19.8284L5.58582 10.4142L8.41424 7.58578L13 12.1715V0H17V12.1716Z",
          }),
        );
      }
      function Pt(e) {
        return ft.createElement(
          "svg",
          {
            xmlns: "http://www.w3.org/2000/svg",
            viewBox: "0 0 30 30",
            fill: "none",
            ...e,
          },
          ft.createElement("path", {
            fill: "currentColor",
            d: "M29.12 4.41L25.59 0.880005L15 11.46L4.41 0.880005L0.880005 4.41L11.46 15L0.880005 25.59L4.41 29.12L15 18.54L25.59 29.12L29.12 25.59L18.54 15L29.12 4.41Z",
          }),
        );
      }
      function Gt(e) {
        return ft.createElement(
          "svg",
          {
            xmlns: "http://www.w3.org/2000/svg",
            viewBox: "0 0 30 30",
            fill: "none",
            ...e,
          },
          ft.createElement("path", {
            fill: "currentColor",
            fillRule: "evenodd",
            clipRule: "evenodd",
            d: "M15 0C12.0333 0 9.13318 0.879735 6.66645 2.52796C4.19971 4.17618 2.27712 6.51886 1.14181 9.25975C0.00649166 12.0006 -0.290558 15.0166 0.28822 17.9264C0.866998 20.8361 2.29561 23.5088 4.3934 25.6066C6.49119 27.7044 9.16393 29.133 12.0736 29.7118C14.9834 30.2906 17.9994 29.9935 20.7402 28.8582C23.4811 27.7229 25.8238 25.8003 27.472 23.3336C29.1203 20.8668 30 17.9667 30 15C30 13.0302 29.612 11.0796 28.8582 9.25975C28.1044 7.43986 26.9995 5.78628 25.6066 4.3934C24.2137 3.00052 22.5601 1.89563 20.7402 1.14181C18.9204 0.387987 16.9698 0 15 0ZM17.5 23H12.5V13H17.5V23ZM15 11C14.4067 11 13.8266 10.8241 13.3333 10.4944C12.8399 10.1648 12.4554 9.69623 12.2284 9.14805C12.0013 8.59987 11.9419 7.99667 12.0576 7.41473C12.1734 6.83279 12.4591 6.29824 12.8787 5.87868C13.2982 5.45912 13.8328 5.1734 14.4147 5.05764C14.9967 4.94189 15.5999 5.0013 16.148 5.22836C16.6962 5.45542 17.1648 5.83994 17.4944 6.33329C17.8241 6.82664 18 7.40666 18 8C18 8.79565 17.6839 9.55871 17.1213 10.1213C16.5587 10.6839 15.7956 11 15 11Z",
          }),
        );
      }
      function Nt(e) {
        return ft.createElement(
          "svg",
          {
            xmlns: "http://www.w3.org/2000/svg",
            viewBox: "0 0 13 8",
            fill: "none",
            ...e,
          },
          ft.createElement("path", {
            fill: "currentColor",
            d: "M12.6128 1.7121C12.7616 1.56087 12.8428 1.3684 12.8428 1.14155C12.8428 0.687862 12.491 0.323534 12.0446 0.323534C11.8214 0.323534 11.6184 0.419772 11.4628 0.577877L6.83601 5.38975L2.22271 0.577877C2.06712 0.419772 1.85743 0.323534 1.64097 0.323534C1.19452 0.323534 0.842773 0.687862 0.842773 1.14155C0.842773 1.3684 0.923946 1.56087 1.07276 1.71211L6.21369 7.06016C6.38956 7.25264 6.60602 7.342 6.84277 7.34888C7.07953 7.34888 7.28246 7.25264 7.4651 7.06016L12.6128 1.7121Z",
          }),
        );
      }
      function At(e) {
        return ft.createElement(
          "svg",
          {
            xmlns: "http://www.w3.org/2000/svg",
            viewBox: "0 0 14 14",
            fill: "none",
            ...e,
          },
          ft.createElement("path", {
            fill: "currentColor",
            d: "M13.6666 8.05776V5.9422L11.9199 5.6222C11.8053 5.22889 11.6457 4.8501 11.4444 4.49331L12.4533 3.03554L10.9644 1.53776L9.50659 2.55554C9.1498 2.35419 8.77101 2.19461 8.3777 2.07998L8.0577 0.333313H5.94214L5.62214 2.07998C5.22883 2.19461 4.85003 2.35419 4.49325 2.55554L3.03547 1.53776L1.5377 3.03554L2.55547 4.49331C2.35412 4.8501 2.19455 5.22889 2.07992 5.6222L0.333252 5.9422V8.05776L2.07992 8.37776C2.19455 8.77107 2.35412 9.14986 2.55547 9.50665L1.5377 10.9644L3.03547 12.4622L4.49325 11.4444C4.85043 11.6427 5.22921 11.7993 5.62214 11.9111L5.94214 13.6666H8.0577L8.3777 11.92C8.77101 11.8053 9.1498 11.6458 9.50659 11.4444L10.9644 12.4533L12.4621 10.9555L11.4444 9.50665C11.6426 9.14947 11.7992 8.77069 11.911 8.37776L13.6666 8.05776ZM6.99992 9.2222C6.56041 9.2222 6.13076 9.09187 5.76532 8.84769C5.39988 8.60351 5.11505 8.25645 4.94685 7.85039C4.77866 7.44433 4.73465 6.99751 4.8204 6.56645C4.90614 6.13538 5.11779 5.73942 5.42857 5.42863C5.73935 5.11785 6.13532 4.9062 6.56638 4.82046C6.99745 4.73471 7.44427 4.77872 7.85033 4.94691C8.25639 5.11511 8.60345 5.39994 8.84763 5.76538C9.09181 6.13082 9.22214 6.56047 9.22214 6.99998C9.22214 7.29181 9.16466 7.58078 9.05299 7.85039C8.94131 8.12 8.77762 8.36498 8.57127 8.57133C8.36491 8.77768 8.11994 8.94137 7.85033 9.05305C7.58071 9.16472 7.29175 9.2222 6.99992 9.2222Z",
            fillOpacity: "0.5",
          }),
        );
      }
      var Lt = r(2160),
        xt = r(88997);
      const kt = a.Message;
      class Dt extends kt {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Dt.prototype.appids || s.Sg(Dt.M()),
            kt.initialize(this, e, 0, -1, [1], null);
        }
        static M() {
          return (
            Dt.sm_m ||
              (Dt.sm_m = {
                proto: Dt,
                fields: {
                  appids: {
                    n: 1,
                    r: !0,
                    q: !0,
                    br: s.qM.readInt32,
                    pbr: s.qM.readPackedInt32,
                    bw: s.gp.writeRepeatedInt32,
                  },
                },
              }),
            Dt.sm_m
          );
        }
        static MBF() {
          return Dt.sm_mbf || (Dt.sm_mbf = s.w0(Dt.M())), Dt.sm_mbf;
        }
        toObject(e = !1) {
          return Dt.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Dt.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Dt.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Dt();
          return Dt.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Dt.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Dt.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Dt.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Dt.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CAccountPrivateAppList";
        }
      }
      class Ht extends kt {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Ht.prototype.appids || s.Sg(Ht.M()),
            kt.initialize(this, e, 0, -1, [1], null);
        }
        static M() {
          return (
            Ht.sm_m ||
              (Ht.sm_m = {
                proto: Ht,
                fields: {
                  appids: {
                    n: 1,
                    r: !0,
                    q: !0,
                    br: s.qM.readInt32,
                    pbr: s.qM.readPackedInt32,
                    bw: s.gp.writeRepeatedInt32,
                  },
                  private: { n: 2, br: s.qM.readBool, bw: s.gp.writeBool },
                },
              }),
            Ht.sm_m
          );
        }
        static MBF() {
          return Ht.sm_mbf || (Ht.sm_mbf = s.w0(Ht.M())), Ht.sm_mbf;
        }
        toObject(e = !1) {
          return Ht.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Ht.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Ht.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Ht();
          return Ht.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Ht.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Ht.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Ht.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Ht.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CAccountPrivateApps_ToggleAppPrivacy_Request";
        }
      }
      class $t extends kt {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(), kt.initialize(this, e, 0, -1, void 0, null);
        }
        toObject(e = !1) {
          return $t.toObject(e, this);
        }
        static toObject(e, t) {
          return e ? { $jspbMessageInstance: t } : {};
        }
        static fromObject(e) {
          return new $t();
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new $t();
          return $t.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return e;
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return $t.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {}
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return $t.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CAccountPrivateApps_ToggleAppPrivacy_Response";
        }
      }
      class Vt extends kt {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(), kt.initialize(this, e, 0, -1, void 0, null);
        }
        toObject(e = !1) {
          return Vt.toObject(e, this);
        }
        static toObject(e, t) {
          return e ? { $jspbMessageInstance: t } : {};
        }
        static fromObject(e) {
          return new Vt();
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Vt();
          return Vt.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return e;
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Vt.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {}
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Vt.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CAccountPrivateApps_GetPrivateAppList_Request";
        }
      }
      class Kt extends kt {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Kt.prototype.private_apps || s.Sg(Kt.M()),
            kt.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            Kt.sm_m ||
              (Kt.sm_m = {
                proto: Kt,
                fields: { private_apps: { n: 1, c: Dt } },
              }),
            Kt.sm_m
          );
        }
        static MBF() {
          return Kt.sm_mbf || (Kt.sm_mbf = s.w0(Kt.M())), Kt.sm_mbf;
        }
        toObject(e = !1) {
          return Kt.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Kt.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Kt.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Kt();
          return Kt.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Kt.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Kt.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Kt.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Kt.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CAccountPrivateApps_GetPrivateAppList_Response";
        }
      }
      class Qt extends kt {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Qt.prototype.private_apps || s.Sg(Qt.M()),
            kt.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            Qt.sm_m ||
              (Qt.sm_m = {
                proto: Qt,
                fields: { private_apps: { n: 1, c: Dt } },
              }),
            Qt.sm_m
          );
        }
        static MBF() {
          return Qt.sm_mbf || (Qt.sm_mbf = s.w0(Qt.M())), Qt.sm_mbf;
        }
        toObject(e = !1) {
          return Qt.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Qt.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Qt.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Qt();
          return Qt.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Qt.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Qt.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Qt.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Qt.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CAccountPrivateApsClient_NotifyPrivateAppListChanged_Notification";
        }
      }
      var Zt, Yt;
      !(function (e) {
        (e.ToggleAppPrivacy = function (e, t) {
          return e.SendMsg(
            "AccountPrivateApps.ToggleAppPrivacy#1",
            (0, i.I8)(Ht, t),
            $t,
            { ePrivilege: 1 },
          );
        }),
          (e.GetPrivateAppList = function (e, t) {
            return e.SendMsg(
              "AccountPrivateApps.GetPrivateAppList#1",
              (0, i.I8)(Vt, t),
              Kt,
              { bConstMethod: !0, ePrivilege: 1 },
            );
          });
      })(Zt || (Zt = {})),
        (function (e) {
          e.NotifyPrivateAppListChangedHandler = {
            name: "AccountPrivateAppsClient.NotifyPrivateAppListChanged#1",
            request: Qt,
          };
        })(Yt || (Yt = {}));
      var Xt = r(61739),
        Jt = r(30470);
      function er() {
        const e = (0, rt.KV)();
        return (0, et.I)({
          queryKey: ["AccountPrivateApps"],
          queryFn: async () => {
            const t = i.w.Init(Vt),
              r = await Zt.GetPrivateAppList(e, t);
            return new Set(r.Body().private_apps(!0).appids());
          },
          enabled: !!Jt.iA.accountid,
        });
      }
      function tr(e) {
        const { data: t } = er();
        return !!Jt.iA.accountid && !!e && (t ? t.has(e) : void 0);
      }
      function rr(e) {
        e.invalidateQueries({ queryKey: ["AccountPrivateApps"] });
      }
      function ir(e) {
        const t = (0, rt.KV)(),
          r = (0, tt.jE)();
        return (0, Xt.n)({
          mutationFn: async (r) => nr(t, [e], r),
          onSuccess: (t, i) => ar(r, [e], i),
          onError() {
            rr(r);
          },
        });
      }
      async function nr(e, t, r) {
        const n = i.w.Init(Ht);
        n.Body().set_appids(t.slice()), n.Body().set_private(r);
        const a = await Zt.ToggleAppPrivacy(e, n);
        if (!a.BSuccess()) throw a.GetErrorMessage();
      }
      function ar(e, t, r) {
        e.setQueryData(["AccountPrivateApps"], (e) => {
          if (!e) return;
          const i = new Set(e);
          return (
            t.forEach((e) => {
              r ? i.add(e) : i.delete(e);
            }),
            i
          );
        });
      }
      var sr = r(45699),
        lr = r(37788),
        or = r(33861),
        cr = r(22837),
        ur = r(68950);
      const dr = a.Message;
      class mr extends dr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            mr.prototype.steamid || s.Sg(mr.M()),
            dr.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            mr.sm_m ||
              (mr.sm_m = {
                proto: mr,
                fields: {
                  steamid: {
                    n: 1,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                  accept: { n: 2, br: s.qM.readBool, bw: s.gp.writeBool },
                },
              }),
            mr.sm_m
          );
        }
        static MBF() {
          return mr.sm_mbf || (mr.sm_mbf = s.w0(mr.M())), mr.sm_mbf;
        }
        toObject(e = !1) {
          return mr.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(mr.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(mr.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new mr();
          return mr.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(mr.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return mr.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(mr.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return mr.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClan_RespondToClanInvite_Request";
        }
      }
      class pr extends dr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(), dr.initialize(this, e, 0, -1, void 0, null);
        }
        toObject(e = !1) {
          return pr.toObject(e, this);
        }
        static toObject(e, t) {
          return e ? { $jspbMessageInstance: t } : {};
        }
        static fromObject(e) {
          return new pr();
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new pr();
          return pr.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return e;
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return pr.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {}
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return pr.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClan_RespondToClanInvite_Response";
        }
      }
      class br extends dr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            br.prototype.steamid || s.Sg(br.M()),
            dr.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            br.sm_m ||
              (br.sm_m = {
                proto: br,
                fields: {
                  steamid: {
                    n: 1,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                  rtime_oldest_date: {
                    n: 2,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                },
              }),
            br.sm_m
          );
        }
        static MBF() {
          return br.sm_mbf || (br.sm_mbf = s.w0(br.M())), br.sm_mbf;
        }
        toObject(e = !1) {
          return br.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(br.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(br.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new br();
          return br.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(br.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return br.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(br.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return br.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClan_GetDraftAndRecentPartnerEventSnippet_Request";
        }
      }
      class Br extends dr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Br.prototype.snippets || s.Sg(Br.M()),
            dr.initialize(this, e, 0, -1, [1], null);
        }
        static M() {
          return (
            Br.sm_m ||
              (Br.sm_m = {
                proto: Br,
                fields: { snippets: { n: 1, c: gr, r: !0, q: !0 } },
              }),
            Br.sm_m
          );
        }
        static MBF() {
          return Br.sm_mbf || (Br.sm_mbf = s.w0(Br.M())), Br.sm_mbf;
        }
        toObject(e = !1) {
          return Br.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Br.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Br.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Br();
          return Br.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Br.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Br.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Br.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Br.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClan_GetDraftAndRecentPartnerEventSnippet_Response";
        }
      }
      class gr extends dr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            gr.prototype.gid || s.Sg(gr.M()),
            dr.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            gr.sm_m ||
              (gr.sm_m = {
                proto: gr,
                fields: {
                  gid: {
                    n: 1,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                  announcement_gid: {
                    n: 2,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                  hidden: { n: 3, br: s.qM.readBool, bw: s.gp.writeBool },
                  published: { n: 4, br: s.qM.readBool, bw: s.gp.writeBool },
                  rtime32_start_time: {
                    n: 5,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  event_name: {
                    n: 6,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  event_type: { n: 7, br: s.qM.readEnum, bw: s.gp.writeEnum },
                },
              }),
            gr.sm_m
          );
        }
        static MBF() {
          return gr.sm_mbf || (gr.sm_mbf = s.w0(gr.M())), gr.sm_mbf;
        }
        toObject(e = !1) {
          return gr.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(gr.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(gr.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new gr();
          return gr.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(gr.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return gr.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(gr.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return gr.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClan_GetDraftAndRecentPartnerEventSnippet_Response_CEventSnippetData";
        }
      }
      class wr extends dr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            wr.prototype.requests || s.Sg(wr.M()),
            dr.initialize(this, e, 0, -1, [1], null);
        }
        static M() {
          return (
            wr.sm_m ||
              (wr.sm_m = {
                proto: wr,
                fields: {
                  requests: { n: 1, c: yr, r: !0, q: !0 },
                  cursor: { n: 2, br: s.qM.readString, bw: s.gp.writeString },
                  count: {
                    n: 3,
                    d: 100,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                },
              }),
            wr.sm_m
          );
        }
        static MBF() {
          return wr.sm_mbf || (wr.sm_mbf = s.w0(wr.M())), wr.sm_mbf;
        }
        toObject(e = !1) {
          return wr.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(wr.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(wr.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new wr();
          return wr.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(wr.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return wr.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(wr.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return wr.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClan_GetPartnerEventsByBuildIDRange_Request";
        }
      }
      class yr extends dr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            yr.prototype.appid || s.Sg(yr.M()),
            dr.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            yr.sm_m ||
              (yr.sm_m = {
                proto: yr,
                fields: {
                  appid: { n: 1, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  start_build_id: {
                    n: 2,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  end_build_id: {
                    n: 3,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  branch: { n: 4, br: s.qM.readString, bw: s.gp.writeString },
                },
              }),
            yr.sm_m
          );
        }
        static MBF() {
          return yr.sm_mbf || (yr.sm_mbf = s.w0(yr.M())), yr.sm_mbf;
        }
        toObject(e = !1) {
          return yr.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(yr.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(yr.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new yr();
          return yr.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(yr.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return yr.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(yr.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return yr.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClan_GetPartnerEventsByBuildIDRange_Request_PatchNoteRange";
        }
      }
      class _r extends dr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            _r.prototype.matches || s.Sg(_r.M()),
            dr.initialize(this, e, 0, -1, [1], null);
        }
        static M() {
          return (
            _r.sm_m ||
              (_r.sm_m = {
                proto: _r,
                fields: {
                  matches: { n: 1, c: fr, r: !0, q: !0 },
                  num_total_results: {
                    n: 2,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  next_cursor: {
                    n: 3,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                },
              }),
            _r.sm_m
          );
        }
        static MBF() {
          return _r.sm_mbf || (_r.sm_mbf = s.w0(_r.M())), _r.sm_mbf;
        }
        toObject(e = !1) {
          return _r.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(_r.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(_r.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new _r();
          return _r.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(_r.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return _r.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(_r.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return _r.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClan_GetPartnerEventsByBuildIDRange_Response";
        }
      }
      class fr extends dr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            fr.prototype.appid || s.Sg(fr.M()),
            dr.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            fr.sm_m ||
              (fr.sm_m = {
                proto: fr,
                fields: {
                  appid: { n: 1, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  build_id: { n: 2, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  branch: { n: 3, br: s.qM.readString, bw: s.gp.writeString },
                  clan_event_gid: {
                    n: 4,
                    br: s.qM.readFixed64String,
                    bw: s.gp.writeFixed64String,
                  },
                  clan_account_id: {
                    n: 5,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                },
              }),
            fr.sm_m
          );
        }
        static MBF() {
          return fr.sm_mbf || (fr.sm_mbf = s.w0(fr.M())), fr.sm_mbf;
        }
        toObject(e = !1) {
          return fr.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(fr.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(fr.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new fr();
          return fr.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(fr.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return fr.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(fr.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return fr.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClan_GetPartnerEventsByBuildIDRange_Response_PatchNotesDesc";
        }
      }
      var hr;
      !(function (e) {
        (e.RespondToClanInvite = function (e, t) {
          return e.SendMsg("Clan.RespondToClanInvite#1", (0, i.I8)(mr, t), pr, {
            ePrivilege: 1,
          });
        }),
          (e.GetDraftAndRecentPartnerEventSnippet = function (e, t) {
            return e.SendMsg(
              "Clan.GetDraftAndRecentPartnerEventSnippet#1",
              (0, i.I8)(br, t),
              Br,
              { bConstMethod: !0, ePrivilege: 1 },
            );
          }),
          (e.GetPartnerEventsByBuildIDRange = function (e, t) {
            return e.SendMsg(
              "Clan.GetPartnerEventsByBuildIDRange#1",
              (0, i.I8)(wr, t),
              _r,
              { bConstMethod: !0, ePrivilege: 0, eWebAPIKeyRequirement: 1 },
            );
          });
      })(hr || (hr = {}));
      const Mr = a.Message;
      class zr extends Mr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            zr.prototype.client_instanceid || s.Sg(zr.M()),
            Mr.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            zr.sm_m ||
              (zr.sm_m = {
                proto: zr,
                fields: {
                  client_instanceid: {
                    n: 1,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                },
              }),
            zr.sm_m
          );
        }
        static MBF() {
          return zr.sm_mbf || (zr.sm_mbf = s.w0(zr.M())), zr.sm_mbf;
        }
        toObject(e = !1) {
          return zr.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(zr.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(zr.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new zr();
          return zr.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(zr.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return zr.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(zr.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return zr.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClientComm_GetClientLogonInfo_Request";
        }
      }
      class Sr extends Mr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Sr.prototype.protocol_version || s.Sg(Sr.M()),
            Mr.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            Sr.sm_m ||
              (Sr.sm_m = {
                proto: Sr,
                fields: {
                  protocol_version: {
                    n: 1,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  os: { n: 2, br: s.qM.readString, bw: s.gp.writeString },
                  machine_name: {
                    n: 3,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                },
              }),
            Sr.sm_m
          );
        }
        static MBF() {
          return Sr.sm_mbf || (Sr.sm_mbf = s.w0(Sr.M())), Sr.sm_mbf;
        }
        toObject(e = !1) {
          return Sr.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Sr.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Sr.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Sr();
          return Sr.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Sr.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Sr.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Sr.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Sr.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClientComm_GetClientLogonInfo_Response";
        }
      }
      class Rr extends Mr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(), Mr.initialize(this, e, 0, -1, void 0, null);
        }
        toObject(e = !1) {
          return Rr.toObject(e, this);
        }
        static toObject(e, t) {
          return e ? { $jspbMessageInstance: t } : {};
        }
        static fromObject(e) {
          return new Rr();
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Rr();
          return Rr.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return e;
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Rr.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {}
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Rr.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClientComm_GetAllClientLogonInfo_Request";
        }
      }
      class vr extends Mr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            vr.prototype.sessions || s.Sg(vr.M()),
            Mr.initialize(this, e, 0, -1, [1], null);
        }
        static M() {
          return (
            vr.sm_m ||
              (vr.sm_m = {
                proto: vr,
                fields: {
                  sessions: { n: 1, c: Fr, r: !0, q: !0 },
                  refetch_interval_sec: {
                    n: 2,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                },
              }),
            vr.sm_m
          );
        }
        static MBF() {
          return vr.sm_mbf || (vr.sm_mbf = s.w0(vr.M())), vr.sm_mbf;
        }
        toObject(e = !1) {
          return vr.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(vr.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(vr.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new vr();
          return vr.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(vr.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return vr.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(vr.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return vr.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClientComm_GetAllClientLogonInfo_Response";
        }
      }
      class Fr extends Mr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Fr.prototype.client_instanceid || s.Sg(Fr.M()),
            Mr.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            Fr.sm_m ||
              (Fr.sm_m = {
                proto: Fr,
                fields: {
                  client_instanceid: {
                    n: 1,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  protocol_version: {
                    n: 2,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  os_name: { n: 3, br: s.qM.readString, bw: s.gp.writeString },
                  machine_name: {
                    n: 4,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  os_type: { n: 5, br: s.qM.readInt32, bw: s.gp.writeInt32 },
                  device_type: {
                    n: 6,
                    br: s.qM.readInt32,
                    bw: s.gp.writeInt32,
                  },
                  realm: { n: 7, br: s.qM.readInt32, bw: s.gp.writeInt32 },
                },
              }),
            Fr.sm_m
          );
        }
        static MBF() {
          return Fr.sm_mbf || (Fr.sm_mbf = s.w0(Fr.M())), Fr.sm_mbf;
        }
        toObject(e = !1) {
          return Fr.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Fr.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Fr.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Fr();
          return Fr.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Fr.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Fr.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Fr.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Fr.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClientComm_GetAllClientLogonInfo_Response_Session";
        }
      }
      class qr extends Mr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            qr.prototype.client_instanceid || s.Sg(qr.M()),
            Mr.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            qr.sm_m ||
              (qr.sm_m = {
                proto: qr,
                fields: {
                  client_instanceid: {
                    n: 1,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                },
              }),
            qr.sm_m
          );
        }
        static MBF() {
          return qr.sm_mbf || (qr.sm_mbf = s.w0(qr.M())), qr.sm_mbf;
        }
        toObject(e = !1) {
          return qr.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(qr.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(qr.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new qr();
          return qr.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(qr.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return qr.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(qr.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return qr.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClientComm_GetClientInfo_Request";
        }
      }
      class Cr extends Mr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Cr.prototype.package_version || s.Sg(Cr.M()),
            Mr.initialize(this, e, 0, -1, [7, 10], null);
        }
        static M() {
          return (
            Cr.sm_m ||
              (Cr.sm_m = {
                proto: Cr,
                fields: {
                  package_version: {
                    n: 1,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  os: { n: 2, br: s.qM.readString, bw: s.gp.writeString },
                  machine_name: {
                    n: 3,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  ip_public: {
                    n: 4,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  ip_private: {
                    n: 5,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  bytes_available: {
                    n: 6,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  running_games: { n: 7, c: jr, r: !0, q: !0 },
                  protocol_version: {
                    n: 8,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  clientcomm_version: {
                    n: 9,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  local_users: {
                    n: 10,
                    r: !0,
                    q: !0,
                    br: s.qM.readUint32,
                    pbr: s.qM.readPackedUint32,
                    bw: s.gp.writeRepeatedUint32,
                  },
                },
              }),
            Cr.sm_m
          );
        }
        static MBF() {
          return Cr.sm_mbf || (Cr.sm_mbf = s.w0(Cr.M())), Cr.sm_mbf;
        }
        toObject(e = !1) {
          return Cr.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Cr.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Cr.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Cr();
          return Cr.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Cr.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Cr.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Cr.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Cr.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClientComm_ClientData";
        }
      }
      class jr extends Mr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            jr.prototype.appid || s.Sg(jr.M()),
            Mr.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            jr.sm_m ||
              (jr.sm_m = {
                proto: jr,
                fields: {
                  appid: { n: 1, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  extra_info: {
                    n: 2,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                  time_running_sec: {
                    n: 3,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                },
              }),
            jr.sm_m
          );
        }
        static MBF() {
          return jr.sm_mbf || (jr.sm_mbf = s.w0(jr.M())), jr.sm_mbf;
        }
        toObject(e = !1) {
          return jr.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(jr.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(jr.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new jr();
          return jr.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(jr.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return jr.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(jr.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return jr.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClientComm_ClientData_RunningGames";
        }
      }
      class Wr extends Mr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Wr.prototype.client_info || s.Sg(Wr.M()),
            Mr.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            Wr.sm_m ||
              (Wr.sm_m = {
                proto: Wr,
                fields: { client_info: { n: 1, c: Cr } },
              }),
            Wr.sm_m
          );
        }
        static MBF() {
          return Wr.sm_mbf || (Wr.sm_mbf = s.w0(Wr.M())), Wr.sm_mbf;
        }
        toObject(e = !1) {
          return Wr.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Wr.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Wr.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Wr();
          return Wr.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Wr.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Wr.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Wr.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Wr.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClientComm_GetClientInfo_Response";
        }
      }
      class Ur extends Mr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Ur.prototype.fields || s.Sg(Ur.M()),
            Mr.initialize(this, e, 0, -1, [6], null);
        }
        static M() {
          return (
            Ur.sm_m ||
              (Ur.sm_m = {
                proto: Ur,
                fields: {
                  fields: { n: 1, br: s.qM.readString, bw: s.gp.writeString },
                  filters: { n: 2, br: s.qM.readString, bw: s.gp.writeString },
                  client_instanceid: {
                    n: 3,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  include_client_info: {
                    n: 4,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  language: { n: 5, br: s.qM.readString, bw: s.gp.writeString },
                  filter_appids: {
                    n: 6,
                    r: !0,
                    q: !0,
                    br: s.qM.readUint32,
                    pbr: s.qM.readPackedUint32,
                    bw: s.gp.writeRepeatedUint32,
                  },
                },
              }),
            Ur.sm_m
          );
        }
        static MBF() {
          return Ur.sm_mbf || (Ur.sm_mbf = s.w0(Ur.M())), Ur.sm_mbf;
        }
        toObject(e = !1) {
          return Ur.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Ur.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Ur.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Ur();
          return Ur.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Ur.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Ur.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Ur.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Ur.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClientComm_GetClientAppList_Request";
        }
      }
      class Tr extends Mr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Tr.prototype.bytes_available || s.Sg(Tr.M()),
            Mr.initialize(this, e, 0, -1, [2], null);
        }
        static M() {
          return (
            Tr.sm_m ||
              (Tr.sm_m = {
                proto: Tr,
                fields: {
                  bytes_available: {
                    n: 1,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  apps: { n: 2, c: Ir, r: !0, q: !0 },
                  client_info: { n: 3, c: Cr },
                  refetch_interval_sec_full: {
                    n: 4,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  refetch_interval_sec_changing: {
                    n: 5,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  refetch_interval_sec_updating: {
                    n: 6,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                },
              }),
            Tr.sm_m
          );
        }
        static MBF() {
          return Tr.sm_mbf || (Tr.sm_mbf = s.w0(Tr.M())), Tr.sm_mbf;
        }
        toObject(e = !1) {
          return Tr.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Tr.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Tr.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Tr();
          return Tr.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Tr.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Tr.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Tr.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Tr.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClientComm_GetClientAppList_Response";
        }
      }
      class Ir extends Mr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Ir.prototype.appid || s.Sg(Ir.M()),
            Mr.initialize(this, e, 0, -1, [17], null);
        }
        static M() {
          return (
            Ir.sm_m ||
              (Ir.sm_m = {
                proto: Ir,
                fields: {
                  appid: { n: 1, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  app: { n: 2, br: s.qM.readString, bw: s.gp.writeString },
                  category: { n: 3, br: s.qM.readString, bw: s.gp.writeString },
                  app_type: { n: 4, br: s.qM.readString, bw: s.gp.writeString },
                  num_downloading: {
                    n: 8,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  num_paused: {
                    n: 10,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  bytes_download_rate: {
                    n: 11,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  bytes_downloaded: {
                    n: 12,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  bytes_to_download: {
                    n: 13,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  dlcs: { n: 17, c: Or, r: !0, q: !0 },
                  favorite: { n: 18, br: s.qM.readBool, bw: s.gp.writeBool },
                  auto_update: { n: 19, br: s.qM.readBool, bw: s.gp.writeBool },
                  installed: { n: 20, br: s.qM.readBool, bw: s.gp.writeBool },
                  download_paused: {
                    n: 21,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  changing: { n: 22, br: s.qM.readBool, bw: s.gp.writeBool },
                  available_on_platform: {
                    n: 23,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  bytes_staged: {
                    n: 24,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  bytes_to_stage: {
                    n: 25,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  bytes_required: {
                    n: 26,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  source_buildid: {
                    n: 27,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  target_buildid: {
                    n: 28,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  estimated_seconds_remaining: {
                    n: 29,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  queue_position: {
                    n: 30,
                    d: -1,
                    br: s.qM.readInt32,
                    bw: s.gp.writeInt32,
                  },
                  uninstalling: {
                    n: 31,
                    br: s.qM.readBool,
                    bw: s.gp.writeBool,
                  },
                  rt_time_scheduled: {
                    n: 32,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  running: { n: 33, br: s.qM.readBool, bw: s.gp.writeBool },
                },
              }),
            Ir.sm_m
          );
        }
        static MBF() {
          return Ir.sm_mbf || (Ir.sm_mbf = s.w0(Ir.M())), Ir.sm_mbf;
        }
        toObject(e = !1) {
          return Ir.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Ir.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Ir.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Ir();
          return Ir.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Ir.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Ir.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Ir.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Ir.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClientComm_GetClientAppList_Response_AppData";
        }
      }
      class Or extends Mr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Or.prototype.appid || s.Sg(Or.M()),
            Mr.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            Or.sm_m ||
              (Or.sm_m = {
                proto: Or,
                fields: {
                  appid: { n: 1, br: s.qM.readUint32, bw: s.gp.writeUint32 },
                  app: { n: 2, br: s.qM.readString, bw: s.gp.writeString },
                  installed: {
                    n: 3,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                },
              }),
            Or.sm_m
          );
        }
        static MBF() {
          return Or.sm_mbf || (Or.sm_mbf = s.w0(Or.M())), Or.sm_mbf;
        }
        toObject(e = !1) {
          return Or.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Or.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Or.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Or();
          return Or.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Or.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Or.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Or.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Or.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClientComm_GetClientAppList_Response_AppData_DLCData";
        }
      }
      class Er extends Mr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Er.prototype.appid || s.Sg(Er.M()),
            Mr.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            Er.sm_m ||
              (Er.sm_m = {
                proto: Er,
                fields: {
                  appid: {
                    n: 1,
                    q: !0,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  client_instanceid: {
                    n: 2,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                },
              }),
            Er.sm_m
          );
        }
        static MBF() {
          return Er.sm_mbf || (Er.sm_mbf = s.w0(Er.M())), Er.sm_mbf;
        }
        toObject(e = !1) {
          return Er.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Er.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Er.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Er();
          return Er.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Er.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Er.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Er.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Er.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClientComm_InstallClientApp_Request";
        }
      }
      class Pr extends Mr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(), Mr.initialize(this, e, 0, -1, void 0, null);
        }
        toObject(e = !1) {
          return Pr.toObject(e, this);
        }
        static toObject(e, t) {
          return e ? { $jspbMessageInstance: t } : {};
        }
        static fromObject(e) {
          return new Pr();
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Pr();
          return Pr.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return e;
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Pr.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {}
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Pr.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClientComm_InstallClientApp_Response";
        }
      }
      class Gr extends Mr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Gr.prototype.appid || s.Sg(Gr.M()),
            Mr.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            Gr.sm_m ||
              (Gr.sm_m = {
                proto: Gr,
                fields: {
                  appid: {
                    n: 1,
                    q: !0,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  client_instanceid: {
                    n: 2,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                },
              }),
            Gr.sm_m
          );
        }
        static MBF() {
          return Gr.sm_mbf || (Gr.sm_mbf = s.w0(Gr.M())), Gr.sm_mbf;
        }
        toObject(e = !1) {
          return Gr.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Gr.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Gr.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Gr();
          return Gr.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Gr.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Gr.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Gr.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Gr.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClientComm_UninstallClientApp_Request";
        }
      }
      class Nr extends Mr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(), Mr.initialize(this, e, 0, -1, void 0, null);
        }
        toObject(e = !1) {
          return Nr.toObject(e, this);
        }
        static toObject(e, t) {
          return e ? { $jspbMessageInstance: t } : {};
        }
        static fromObject(e) {
          return new Nr();
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Nr();
          return Nr.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return e;
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Nr.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {}
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Nr.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClientComm_UninstallClientApp_Response";
        }
      }
      class Ar extends Mr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Ar.prototype.appid || s.Sg(Ar.M()),
            Mr.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            Ar.sm_m ||
              (Ar.sm_m = {
                proto: Ar,
                fields: {
                  appid: {
                    n: 1,
                    q: !0,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  action: {
                    n: 2,
                    q: !0,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  client_instanceid: {
                    n: 3,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                },
              }),
            Ar.sm_m
          );
        }
        static MBF() {
          return Ar.sm_mbf || (Ar.sm_mbf = s.w0(Ar.M())), Ar.sm_mbf;
        }
        toObject(e = !1) {
          return Ar.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Ar.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Ar.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Ar();
          return Ar.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Ar.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Ar.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Ar.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Ar.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClientComm_SetClientAppUpdateState_Request";
        }
      }
      class Lr extends Mr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Lr.prototype.client_instanceid || s.Sg(Lr.M()),
            Mr.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            Lr.sm_m ||
              (Lr.sm_m = {
                proto: Lr,
                fields: {
                  client_instanceid: {
                    n: 1,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  appid: {
                    n: 2,
                    q: !0,
                    br: s.qM.readUint32,
                    bw: s.gp.writeUint32,
                  },
                  query_params: {
                    n: 3,
                    br: s.qM.readString,
                    bw: s.gp.writeString,
                  },
                },
              }),
            Lr.sm_m
          );
        }
        static MBF() {
          return Lr.sm_mbf || (Lr.sm_mbf = s.w0(Lr.M())), Lr.sm_mbf;
        }
        toObject(e = !1) {
          return Lr.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Lr.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Lr.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Lr();
          return Lr.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Lr.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Lr.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Lr.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Lr.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClientComm_LaunchClientApp_Request";
        }
      }
      class xr extends Mr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(), Mr.initialize(this, e, 0, -1, void 0, null);
        }
        toObject(e = !1) {
          return xr.toObject(e, this);
        }
        static toObject(e, t) {
          return e ? { $jspbMessageInstance: t } : {};
        }
        static fromObject(e) {
          return new xr();
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new xr();
          return xr.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return e;
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return xr.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {}
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return xr.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClientComm_LaunchClientApp_Response";
        }
      }
      class kr extends Mr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(), Mr.initialize(this, e, 0, -1, void 0, null);
        }
        toObject(e = !1) {
          return kr.toObject(e, this);
        }
        static toObject(e, t) {
          return e ? { $jspbMessageInstance: t } : {};
        }
        static fromObject(e) {
          return new kr();
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new kr();
          return kr.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return e;
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return kr.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {}
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return kr.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClientComm_SetClientAppUpdateState_Response";
        }
      }
      class Dr extends Mr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(),
            Dr.prototype.client_instanceid || s.Sg(Dr.M()),
            Mr.initialize(this, e, 0, -1, void 0, null);
        }
        static M() {
          return (
            Dr.sm_m ||
              (Dr.sm_m = {
                proto: Dr,
                fields: {
                  client_instanceid: {
                    n: 1,
                    br: s.qM.readUint64String,
                    bw: s.gp.writeUint64String,
                  },
                  enable: { n: 2, br: s.qM.readBool, bw: s.gp.writeBool },
                },
              }),
            Dr.sm_m
          );
        }
        static MBF() {
          return Dr.sm_mbf || (Dr.sm_mbf = s.w0(Dr.M())), Dr.sm_mbf;
        }
        toObject(e = !1) {
          return Dr.toObject(e, this);
        }
        static toObject(e, t) {
          return s.BT(Dr.M(), e, t);
        }
        static fromObject(e) {
          return s.Uq(Dr.M(), e);
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Dr();
          return Dr.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return s.zj(Dr.MBF(), e, t);
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Dr.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {
          s.i0(Dr.M(), e, t);
        }
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Dr.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClientComm_EnableOrDisableDownloads_Request";
        }
      }
      class Hr extends Mr {
        static ImplementsStaticInterface() {}
        constructor(e = null) {
          super(), Mr.initialize(this, e, 0, -1, void 0, null);
        }
        toObject(e = !1) {
          return Hr.toObject(e, this);
        }
        static toObject(e, t) {
          return e ? { $jspbMessageInstance: t } : {};
        }
        static fromObject(e) {
          return new Hr();
        }
        static deserializeBinary(e) {
          let t = new a.BinaryReader(e),
            r = new Hr();
          return Hr.deserializeBinaryFromReader(r, t);
        }
        static deserializeBinaryFromReader(e, t) {
          return e;
        }
        serializeBinary() {
          var e = new a.BinaryWriter();
          return Hr.serializeBinaryToWriter(this, e), e.getResultBuffer();
        }
        static serializeBinaryToWriter(e, t) {}
        serializeBase64String() {
          var e = new a.BinaryWriter();
          return Hr.serializeBinaryToWriter(this, e), e.getResultBase64String();
        }
        getClassName() {
          return "CClientComm_EnableOrDisableDownloads_Response";
        }
      }
      var $r;
      !(function (e) {
        (e.GetClientLogonInfo = function (e, t) {
          return e.SendMsg(
            "ClientComm.GetClientLogonInfo#1",
            (0, i.I8)(zr, t),
            Sr,
            { bConstMethod: !0, ePrivilege: 1 },
          );
        }),
          (e.GetAllClientLogonInfo = function (e, t) {
            return e.SendMsg(
              "ClientComm.GetAllClientLogonInfo#1",
              (0, i.I8)(Rr, t),
              vr,
              { bConstMethod: !0, ePrivilege: 1 },
            );
          }),
          (e.GetClientInfo = function (e, t) {
            return e.SendMsg(
              "ClientComm.GetClientInfo#1",
              (0, i.I8)(qr, t),
              Wr,
              { bConstMethod: !0, ePrivilege: 1 },
            );
          }),
          (e.GetClientAppList = function (e, t) {
            return e.SendMsg(
              "ClientComm.GetClientAppList#1",
              (0, i.I8)(Ur, t),
              Tr,
              { bConstMethod: !0, ePrivilege: 1 },
            );
          }),
          (e.InstallClientApp = function (e, t) {
            return e.SendMsg(
              "ClientComm.InstallClientApp#1",
              (0, i.I8)(Er, t),
              Pr,
              { ePrivilege: 1 },
            );
          }),
          (e.UninstallClientApp = function (e, t) {
            return e.SendMsg(
              "ClientComm.UninstallClientApp#1",
              (0, i.I8)(Gr, t),
              Nr,
              { ePrivilege: 1 },
            );
          }),
          (e.LaunchClientApp = function (e, t) {
            return e.SendMsg(
              "ClientComm.LaunchClientApp#1",
              (0, i.I8)(Lr, t),
              xr,
              { ePrivilege: 1 },
            );
          }),
          (e.SetClientAppUpdateState = function (e, t) {
            return e.SendMsg(
              "ClientComm.SetClientAppUpdateState#1",
              (0, i.I8)(Ar, t),
              kr,
              { ePrivilege: 1 },
            );
          }),
          (e.EnableOrDisableDownloads = function (e, t) {
            return e.SendMsg(
              "ClientComm.EnableOrDisableDownloads#1",
              (0, i.I8)(Dr, t),
              Hr,
              { ePrivilege: 1 },
            );
          });
      })($r || ($r = {}));
      const Vr = "RemoteDownload_OnlineClient",
        Kr = "RemoteDownload_ClientAppList",
        Qr = "RemoteDownload_ClientAppData";
      class Zr extends Error {
        constructor(e, t) {
          super(e), (this.result = t);
        }
      }
      function Yr() {
        const e = (0, rt.KV)(),
          t = (0, ur.LH)();
        return (0, et.I)({
          queryKey: [Vr, t],
          queryFn: async () => {
            const t = i.w.Init(Rr),
              r = await $r.GetAllClientLogonInfo(e, t);
            if (1 !== r.GetEResult())
              throw (
                (console.error(
                  "Received error from GetAllClientLogonInfo",
                  r.GetEResult(),
                  r.Hdr().transport_error(),
                ),
                new Error(
                  `Error from GetAllClientLogonInfo: ${r.GetEResult()}`,
                ))
              );
            const n = [];
            for (const e of r.Body().sessions())
              e.device_type() !== cr.zm.k_EGamingDeviceType_Unknown &&
                n.push(e.toObject());
            return {
              sessions: n,
              refetchInterval: r.Body().refetch_interval_sec() || 300,
            };
          },
          staleTime: 3e5,
          refetchInterval: (e) => {
            var t;
            return (
              1e3 *
              ((null === (t = e.state.data) || void 0 === t
                ? void 0
                : t.refetchInterval) || 300)
            );
          },
        });
      }
      class Xr {
        constructor(e) {
          Object.assign(this, e.toObject()),
            (this.bytes_to_download = parseInt(e.bytes_to_download()) || 0),
            (this.bytes_downloaded = parseInt(e.bytes_downloaded()) || 0),
            (this.bytes_staged = parseInt(e.bytes_staged()) || 0),
            (this.bytes_to_stage = parseInt(e.bytes_to_stage()) || 0),
            (this.bytes_required = parseInt(e.bytes_required()) || 0);
        }
        BIsDownloading() {
          return this.num_downloading > 0;
        }
        BIsAtTopOfQueue() {
          return 0 === this.queue_position;
        }
        BIsPaused() {
          return (
            this.download_paused &&
            (this.bytes_downloaded < this.bytes_to_download ||
              this.bytes_staged < this.bytes_to_stage ||
              -1 != this.queue_position)
          );
        }
        BHasPendingUpdate() {
          return (
            !this.BIsDownloading() &&
            !this.download_paused &&
            (this.bytes_downloaded < this.bytes_to_download ||
              this.bytes_staged < this.bytes_to_stage)
          );
        }
      }
      async function Jr(e, t, r) {
        const n = t.client_instanceid,
          a = i.w.Init(Ur);
        a.Body().set_fields("games"),
          a.Body().set_filters(r),
          a.Body().set_client_instanceid(n),
          a.Body().set_include_client_info(!0);
        const s = await $r.GetClientAppList(e, a);
        if (1 !== s.GetEResult())
          throw (
            (console.error(
              "Received error from GetClientAppList",
              s.GetEResult(),
              s.Hdr().transport_error(),
            ),
            new Zr(
              `Error from GetClientAppList: ${s.GetEResult()}`,
              s.GetEResult(),
            ))
          );
        const l = new Map();
        for (const e of s.Body().apps()) {
          const t = new Xr(e);
          l.set(e.appid(), t);
        }
        return {
          session: t,
          mapApps: l,
          clientInfo: s.Body().client_info().toObject(),
          refetchIntervals: {
            full: s.Body().refetch_interval_sec_full() || 3600,
            changing: s.Body().refetch_interval_sec_changing() || 60,
            updating: s.Body().refetch_interval_sec_updating() || 10,
          },
        };
      }
      function ei(e, t, r) {
        return [Kr, e, t, r];
      }
      function ti(e, t = !0) {
        var r, i;
        const n = Yr(),
          a = (0, rt.KV)(),
          s = (0, ur.LH)(),
          l = (e) => {
            t && ((21 != e.result && 16 != e.result) || n.refetch());
          },
          o = (0, or.E)({
            queries: (
              (null === (r = n.data) || void 0 === r ? void 0 : r.sessions) ||
              []
            ).map((e) => ({
              queryKey: ei(s, e.client_instanceid, "none"),
              queryFn: async () => Jr(a, e, "none"),
              staletime: 36e5,
              refetchInterval: (e) => {
                var t;
                return (
                  1e3 *
                  ((null === (t = e.state.data) || void 0 === t
                    ? void 0
                    : t.refetchIntervals.full) || 3600)
                );
              },
              enabled: n.isSuccess && !n.isFetching,
              onError: l,
              retry: t,
            })),
          }),
          c = (0, ft.useCallback)(
            (t) => {
              if (!e) return t;
              const r = new Map(Array.from(t.mapApps.entries()).filter(e));
              return { ...t, mapApps: r };
            },
            [e],
          ),
          u = (0, tt.jE)(),
          d = (0, or.E)({
            queries: (
              (null === (i = n.data) || void 0 === i ? void 0 : i.sessions) ||
              []
            ).map((e, r) => ({
              queryKey: ei(s, e.client_instanceid, "changing"),
              queryFn: async () =>
                (async function (e, t, r, i) {
                  if (!i) return;
                  const n = await Jr(e, t, r);
                  for (const [e, t] of n.mapApps) i.mapApps.set(e, t);
                  return { ...n, mapApps: i.mapApps };
                })(a, e, "changing", o[r].data),
              enabled: o[r].isSuccess && !o[r].isFetching,
              staletime: 1e4,
              select: c,
              refetchInterval: (e) => {
                const t = e.state.data;
                if (!t) return 6e4;
                let r = !1;
                for (const e of t.mapApps.values())
                  if (e.num_downloading > 0 || e.uninstalling) {
                    r = !0;
                    break;
                  }
                const i = t.refetchIntervals;
                return 1e3 * (r ? i.updating : i.changing);
              },
              onError: l,
              retry: t,
            })),
          });
        return {
          rgQueries: d.map((e, t) =>
            o[t].isError && !o[t].isFetching ? o[t] : e,
          ),
          refetch: () => {
            var e;
            for (const t of (null === (e = n.data) || void 0 === e
              ? void 0
              : e.sessions) || []) {
              const e = ei(s, t.client_instanceid, "changing");
              u.removeQueries({ queryKey: e });
            }
            for (const e of o) e.refetch();
          },
        };
      }
      function ri(e, t) {
        return [Qr, e, t];
      }
      function ii(e, t = !0) {
        const r = (0, ur.LH)(),
          { rgQueries: i } = ti(void 0, t);
        return (0, et.I)({
          queryKey: ri(r, e),
          queryFn: () => {
            var t, r;
            const n = new Map();
            for (const a of i)
              if (a.isSuccess) {
                const i =
                    null === (t = a.data) || void 0 === t
                      ? void 0
                      : t.session.client_instanceid,
                  s = (
                    null === (r = a.data) || void 0 === r ? void 0 : r.mapApps
                  ).get(e);
                s &&
                  n.set(i, {
                    session: a.data.session,
                    app: s,
                    clientInfo: a.data.clientInfo,
                  });
              }
            return n;
          },
          enabled: i.reduce((e, t) => e && t.isSuccess && !t.isFetching, !0),
          staleTime: 0,
          gcTime: 0,
        });
      }
      function ni(e, t, r, n) {
        const a = (0, rt.KV)(),
          s = ii(e),
          l = (0, ur.LH)(),
          o = (0, tt.jE)();
        return (0, Xt.n)({
          mutationFn: async () => {
            var n;
            const c = null == s ? void 0 : s.data,
              u = c && c.get(t);
            if (
              (null === (n = null == u ? void 0 : u.clientInfo) || void 0 === n
                ? void 0
                : n.clientcomm_version) >= 1
            ) {
              const e = i.w.Init(Dr);
              e.Body().set_client_instanceid(t), e.Body().set_enable(!r);
              const n = await $r.EnableOrDisableDownloads(a, e);
              if (1 != n.GetEResult())
                throw (
                  (console.error(
                    "Received error from EnableOrDisableDownloads",
                    n.GetEResult(),
                  ),
                  new Error(
                    `Error from EnableOrDisableDownloads: ${n.GetEResult()}`,
                  ))
                );
            } else {
              const n = i.w.Init(Ar);
              n.Body().set_appid(e),
                n.Body().set_client_instanceid(t),
                n.Body().set_action(r ? 0 : 1);
              const s = await $r.SetClientAppUpdateState(a, n);
              if (1 != s.GetEResult())
                throw (
                  (console.error(
                    "Received error from SetClientAppUpdateState",
                    s.GetEResult(),
                  ),
                  new Error(
                    `Error from SetClientAppUpdateState: ${s.GetEResult()}`,
                  ))
                );
            }
            u &&
              ((c.get(t).app.download_paused = r),
              (c.get(t).app.num_downloading = r ? 0 : 1)),
              o.setQueryData(ri(l, e), c),
              s.refetch();
          },
          onSuccess: n,
        });
      }
      var ai = r(44533),
        si = r.n(ai);
      const li = ft.forwardRef(function (
        {
          imgURL: e,
          glow: t,
          pauseAnimation: r,
          hidden: i,
          alt: n,
          className: a,
        },
        s,
      ) {
        const [l, o] = ft.useState(!1);
        if (i)
          return ft.createElement("div", { className: si().HiddenLabel }, "?");
        const c = l && t;
        return ft.createElement(
          "div",
          {
            ref: s,
            className: (0, qt.A)(
              si().AchievementIconWrapper,
              a,
              r && si().RareAchievementNoAnimation,
            ),
          },
          c &&
            ft.createElement(
              "div",
              { className: si().RareAchievementIconGlowContainerRoot },
              ft.createElement(
                "div",
                { className: si().RareAchievementIconGlowContainer },
                ft.createElement("div", {
                  className: si().RareAchievementIconGlow,
                }),
              ),
            ),
          ft.createElement("img", {
            className: (0, qt.A)(si().Icon, c && si().IconGlow),
            src: e,
            loading: "lazy",
            alt: n,
            onLoad: () => o(!0),
          }),
        );
      });
      var oi = r(68451),
        ci = r(84811),
        ui = r(41751),
        di = r(31011),
        mi = r(25809),
        pi = r(73745);
      var bi = r(52035),
        Bi = r(51212),
        gi = r(9154),
        wi = r(738),
        yi = r(91675),
        _i = r(82227),
        fi = r(59698);
      const hi = ft.createContext(void 0);
      function Mi() {
        const e = (0, ft.useContext)(hi);
        if (!e)
          throw new Error(
            "Attempted to get download client context outside of provider",
          );
        return e;
      }
      function zi() {
        const e = Mi().remoteDownloadClientId,
          t = Yr(),
          r = ti();
        if (
          !lt.TS.IN_CLIENT &&
          t.data &&
          0 !== t.data.sessions.length &&
          r.rgQueries.some((e) => e.data)
        )
          return e
            ? t.data.sessions.find((t) => t.client_instanceid === e)
            : t.data.sessions[0];
      }
      function Si({ children: e }) {
        const [t, r] = (0, ft.useState)(void 0),
          i = (0, ft.useMemo)(
            () => ({ remoteDownloadClientId: t, setRemoteDownloadClientId: r }),
            [t],
          );
        return ft.createElement(hi.Provider, { value: i }, e);
      }
      function Ri(e) {
        switch (e) {
          case cr.zm.k_EGamingDeviceType_StandardPC:
            return (0, Ct.we)("#Library_DeviceType_PC");
          case cr.zm.k_EGamingDeviceType_SteamDeck:
            return (0, Ct.we)("#Library_DeviceType_SteamDeck");
          default:
            return;
        }
      }
      const vi = {
        bFitToWindow: !0,
        bOverlapHorizontal: !0,
        bMatchWidth: !1,
        bShiftToFitWindow: !0,
      };
      function Fi({ sessions: e, setRemoteDownloadClientId: t }) {
        return ft.createElement(
          "ul",
          { className: fi.ClientListDropdownMenu },
          e.map((e) =>
            ft.createElement(
              oi.kt,
              {
                onSelected: () => {
                  t(e.client_instanceid);
                },
                key: e.client_instanceid,
              },
              (0, Ct.we)(
                "#GamesList_Client_Indicator",
                Ri(e.device_type),
                e.machine_name,
              ),
            ),
          ),
        );
      }
      function qi() {
        const e = Yr(),
          t = zi(),
          r = Mi().setRemoteDownloadClientId,
          i = (0, ft.useRef)(null),
          n = (0, ft.useCallback)(() => {
            e.data &&
              (0, xt.lX)(
                ft.createElement(Fi, {
                  sessions: e.data.sessions,
                  setRemoteDownloadClientId: r,
                }),
                i.current,
                vi,
              );
          }, [r, i, e.data]);
        return t
          ? ft.createElement(
              "div",
              { className: fi.RemoteDownloadClientBar },
              ft.createElement(
                "span",
                { className: fi.RemoteDownloadHeader },
                (0, Ct.PP)(
                  "#GamesList_Header_RemoteDownload",
                  ft.createElement(
                    ft.Fragment,
                    null,
                    ft.createElement(
                      "span",
                      { className: fi.ClientIndicator },
                      (0, Ct.we)(
                        "#GamesList_Client_Indicator",
                        Ri(t.device_type),
                        t.machine_name,
                      ),
                      e.data.sessions.length > 1 &&
                        ft.createElement(
                          "button",
                          {
                            ref: i,
                            onClick: n,
                            className: fi.ClientSelectDropdown,
                          },
                          ft.createElement(Nt, null),
                        ),
                    ),
                  ),
                ),
              ),
              ft.createElement(
                Ft.he,
                {
                  toolTipContent: (0, Ct.we)("#GamesList_RemoteDownload_Help"),
                  className: fi.InfoIcon,
                },
                ft.createElement(Gt, null),
              ),
            )
          : ft.createElement(
              "details",
              {
                className: (0, qt.A)(
                  fi.RemoteDownloadClientBar,
                  fi.NoConnection,
                ),
              },
              ft.createElement(
                "summary",
                { className: fi.RemoteDownloadHeader },
                ft.createElement(
                  "span",
                  { className: fi.RemoteDownloadStatus },
                  (0, Ct.PP)(
                    "#GamesList_Header_RemoteDownloadStatus",
                    ft.createElement(
                      "span",
                      { className: fi.NoConnectionText },
                      (0, Ct.we)("#GamesList_RemoteDownload_NoConnection"),
                    ),
                  ),
                ),
                ft.createElement(
                  "span",
                  { className: fi.LearnMoreCta },
                  (0, Ct.we)("#GamesList_RemoteDownload_LearnMore"),
                  ft.createElement(Nt, null),
                ),
              ),
              ft.createElement(
                "p",
                { className: fi.RemoteDownloadHelp },
                (0, Ct.PP)(
                  "#GamesList_RemoteDownload_Info",
                  (0, Ct.we)("#GamesList_RemoteDownload_Help"),
                  ft.createElement(
                    "a",
                    {
                      href: "https://help.steampowered.com/faqs/view/1025-BD94-12FC-3409",
                    },
                    (0, Ct.we)("#GamesList_RemoteDownload_ReadTheFAQ"),
                  ),
                ),
              ),
            );
      }
      function Ci({ app: e, clientid: t }) {
        const r = !e.download_paused,
          i = ni(e.appid, t, !0),
          n = ni(e.appid, t, !1),
          a = r ? "#GamesList_Header_Downloading" : "#GamesList_Header_Paused",
          s = r ? i : n,
          l = e.bytes_to_download
            ? Math.floor((100 * e.bytes_downloaded) / e.bytes_to_download)
            : 0,
          o = !(e.bytes_downloaded && e.bytes_to_download),
          c = r ? ft.createElement(Ut.vRz, null) : ft.createElement(Et, null),
          u = r
            ? (0, Ct.we)("#GamesList_Button_Pause")
            : (0, Ct.we)("#GamesList_Button_Resume"),
          d = (0, ft.useContext)(Jn);
        return (
          (0, ft.useEffect)(
            () => (
              null == d || d(e.appid, !0),
              () => (null == d ? void 0 : d(e.appid, !1))
            ),
            [e.appid, d],
          ),
          ft.createElement(
            ft.Fragment,
            null,
            ft.createElement(
              "div",
              { className: fi.DownloadBarWithLabel },
              ft.createElement(
                "span",
                { className: fi.DownloadStatus },
                (0, Ct.we)(a, l),
              ),
              ft.createElement(
                "div",
                { className: fi.DownloadProgress },
                ft.createElement(
                  "span",
                  { className: fi.CurrentSpace },
                  (0, _i.dm)(e.bytes_downloaded, {
                    nDigitsAfterDecimal: 1,
                    nMinimumDigitsAfterDecimal: 1,
                    bValueIsInBytes: !0,
                  }),
                ),
                ft.createElement("span", null, " / "),
                ft.createElement(
                  "span",
                  { className: fi.TotalSpace },
                  (0, _i.dm)(e.bytes_to_download, {
                    nDigitsAfterDecimal: 1,
                    nMinimumDigitsAfterDecimal: 1,
                    bValueIsInBytes: !0,
                  }),
                ),
              ),
              e.BIsDownloading() &&
                e.estimated_seconds_remaining > 0 &&
                ft.createElement(
                  "span",
                  { className: fi.DownloadEstimate },
                  (0, yi.R2)(e.estimated_seconds_remaining),
                ),
              ft.createElement(di.z, {
                className: fi.DownloadBar,
                animate: r,
                nPercent: l,
                indeterminate: o,
              }),
            ),
            ft.createElement(
              "button",
              {
                disabled: s.isPending,
                onClick: () => {
                  s.mutateAsync(), Vn(e.appid);
                },
                className: fi.DownloadIconButton,
              },
              c,
              u,
            ),
          )
        );
      }
      function ji({ app: e, clientid: t }) {
        return ft.createElement(
          ft.Fragment,
          null,
          ft.createElement(
            "button",
            { disabled: !0, className: fi.DownloadIconButton },
            ft.createElement(Pt, null),
            (0, Ct.we)("#GamesList_Button_Uninstalling"),
          ),
        );
      }
      function Wi({ app: e, clientid: t }) {
        const r = (function (e, t, r) {
            const n = (0, rt.KV)(),
              a = ii(e),
              s = (0, ur.LH)(),
              l = (0, tt.jE)();
            return (0, Xt.n)({
              mutationFn: async () => {
                const r = null == a ? void 0 : a.data,
                  o = r && r.get(t),
                  c = i.w.Init(Ar);
                c.Body().set_appid(e),
                  c.Body().set_client_instanceid(t),
                  c.Body().set_action(1);
                const u = await $r.SetClientAppUpdateState(n, c);
                if (1 != u.GetEResult())
                  throw (
                    (console.error(
                      "Received error from SetClientAppUpdateState",
                      u.GetEResult(),
                    ),
                    new Error(
                      `Error from SetClientAppUpdateState: ${u.GetEResult()}`,
                    ))
                  );
                o &&
                  ((r.get(t).app.download_paused = !1),
                  (r.get(t).app.num_downloading = 1)),
                  l.setQueryData(ri(s, e), r),
                  a.refetch();
              },
              onSuccess: r,
            });
          })(e.appid, t),
          n = e.rt_time_scheduled,
          a =
            n &&
            (0, Ct.lQ)(n, { bGranularFutureTime: !0 }) +
              " " +
              (0, yi.KC)(n, { bForce24HourClock: !1 });
        return ft.createElement(
          ft.Fragment,
          null,
          a && ft.createElement("span", { className: fi.UpdateSchedule }, a),
          ft.createElement(
            "button",
            {
              disabled: r.isPending,
              onClick: () => {
                r.mutateAsync(), Vn(e.appid);
              },
              className: fi.DownloadIconButton,
            },
            ft.createElement(Ut.MvQ, null),
            (0, Ct.we)("#GamesList_Button_UpdateRequired"),
          ),
        );
      }
      function Ui({ app: e, closeModal: t, onOK: r }) {
        return ft.createElement(gi.o0, {
          strOKButtonText: (0, Ct.we)("#GamesList_Button_Uninstall"),
          strCancelButtonText: (0, Ct.we)("#GamesList_Button_Cancel"),
          strDescription: (0, Ct.we)(
            "#GamesList_RemoteDownload_UninstallConfirm",
            e.app,
          ),
          strTitle: (0, Ct.we)("#GamesList_Button_Uninstall"),
          closeModal: t,
          onOK: r,
        });
      }
      function Ti({ app: e, clientid: t }) {
        const r = (function (e, t, r) {
            const n = (0, rt.KV)(),
              a = ii(e),
              s = (0, ur.LH)(),
              l = (0, tt.jE)();
            return (0, Xt.n)({
              mutationFn: async () => {
                const r = i.w.Init(Er);
                r.Body().set_appid(e), r.Body().set_client_instanceid(t);
                const o = await $r.InstallClientApp(n, r);
                if (1 != o.GetEResult())
                  throw (
                    (console.error(
                      "Received error from InstallClientApp",
                      o.GetEResult(),
                    ),
                    new Error(`Error from InstallClientApp: ${o.GetEResult()}`))
                  );
                const c = null == a ? void 0 : a.data;
                c &&
                  c.get(t) &&
                  ((c.get(t).app.num_downloading = 1),
                  (c.get(t).app.download_paused = !1)),
                  l.setQueryData(ri(s, e), c),
                  a.refetch();
              },
              onSuccess: r,
            });
          })(e.appid, t),
          n = (function (e, t, r) {
            const n = (0, rt.KV)(),
              a = ii(e),
              s = (0, ur.LH)(),
              l = (0, tt.jE)();
            return (0, Xt.n)({
              mutationFn: async () => {
                const r = i.w.Init(Gr);
                r.Body().set_appid(e), r.Body().set_client_instanceid(t);
                const o = await $r.UninstallClientApp(n, r);
                if (1 != o.GetEResult())
                  throw (
                    (console.error(
                      "Received error from UninstallClientApp",
                      o.GetEResult(),
                    ),
                    new Error(
                      `Error from UninstallClientApp: ${o.GetEResult()}`,
                    ))
                  );
                const c = null == a ? void 0 : a.data;
                c && c.get(t) && (c.get(t).app.uninstalling = !0),
                  l.setQueryData(ri(s, e), c),
                  a.refetch();
              },
              onSuccess: r,
            });
          })(e.appid, t),
          a = e.installed ? n : r,
          s = e.installed
            ? () => {
                (0, wi.pg)(
                  ft.createElement(Ui, {
                    app: e,
                    onOK: () => {
                      n.mutateAsync(), Vn(e.appid);
                    },
                  }),
                  window,
                );
              }
            : () => {
                r.mutateAsync(), Vn(e.appid);
              },
          l = e.installed
            ? "#GamesList_Button_Uninstall"
            : "#GamesList_Button_Download",
          o = e.installed ? Pt : Et;
        return ft.createElement(
          ft.Fragment,
          null,
          !e.installed &&
            e.bytes_required > 0 &&
            ft.createElement(
              "span",
              { className: fi.DownloadSize },
              (0, _i.dm)(e.bytes_required, { nDigitsAfterDecimal: 1 }),
            ),
          ft.createElement(
            "button",
            {
              disabled: a.isPending,
              onClick: s,
              className: fi.DownloadIconButton,
            },
            ft.createElement(o, null),
            (0, Ct.we)(l),
          ),
        );
      }
      function Ii(e) {
        return e.BIsDownloading() || e.BIsPaused() || e.changing;
      }
      function Oi({ game: e }) {
        var t;
        const r = ii(e.appid, !1),
          i = zi(),
          n = null == i ? void 0 : i.client_instanceid;
        if (
          i &&
          0 === (null === (t = r.data) || void 0 === t ? void 0 : t.size)
        )
          return null;
        if (!r.data || 0 === r.data.size || !i) return null;
        const a = r.data.get(n).app;
        return a.BIsDownloading() || a.BIsPaused()
          ? ft.createElement(
              "div",
              { className: fi.DownloadBarContainer },
              ft.createElement(Ci, { key: "downloading", app: a, clientid: n }),
            )
          : null;
      }
      function Ei({ game: e, className: t, enableDownloadBar: r = !1 }) {
        var i;
        const n = ii(e.appid, !1),
          a = zi(),
          s = null == a ? void 0 : a.client_instanceid;
        if (
          a &&
          0 === (null === (i = n.data) || void 0 === i ? void 0 : i.size)
        )
          return ft.createElement(
            "div",
            { className: (0, qt.A)(fi.RemoteControls, t) },
            ft.createElement(
              "span",
              { className: fi.NoRemoteControl },
              (0, Ct.we)("#GamesList_RemoteDownload_NoRemoteControl"),
            ),
          );
        if (!n.data || 0 === n.data.size || !a) return null;
        const l = [],
          o = n.data.get(s),
          c = null == o ? void 0 : o.app;
        if (!c) return null;
        if (c.BIsDownloading() || c.BIsPaused()) {
          if (!r) return null;
          l.push(
            ft.createElement(Ci, { key: "downloading", app: c, clientid: s }),
          );
        } else
          c.uninstalling
            ? l.push(
                ft.createElement(ji, {
                  key: "uninstalling",
                  app: c,
                  clientid: s,
                }),
              )
            : c.BHasPendingUpdate()
              ? l.push(
                  ft.createElement(Wi, {
                    key: "updatePending",
                    app: c,
                    clientid: s,
                  }),
                )
              : l.push(
                  ft.createElement(Ti, {
                    key: "installuninstall",
                    app: c,
                    clientid: s,
                  }),
                );
        return ft.createElement(
          "div",
          { className: (0, qt.A)(fi.RemoteControls, t) },
          ft.createElement("div", { className: fi.ButtonContainer }, l),
        );
      }
      function Pi({ visible: e, ...t }) {
        return e ? ft.createElement(Oi, { ...t }) : null;
      }
      function Gi({ visible: e, className: t, ...r }) {
        return zi()
          ? e
            ? ft.createElement(Ei, { className: t, ...r })
            : ft.createElement("div", {
                className: (0, qt.A)(fi.RemoteControls, t),
              })
          : null;
      }
      var Ni;
      !(function (e) {
        (e.HoursPlayed = "playtime"),
          (e.RecentlyPlayed = "recent"),
          (e.Name = "name"),
          (e.AchievementCompletion = "achievements");
      })(Ni || (Ni = {}));
      const Ai = (0, cr.ww)((0, cr.sf)(lt.TS.LANGUAGE)),
        Li = new Intl.Collator([Ai, "en"]);
      function xi(e, t) {
        return (
          Li.compare(
            (e.sort_as || e.name || "").trim(),
            (t.sort_as || t.name || "").trim(),
          ) ||
          (function (e, t) {
            return e.appid - t.appid;
          })(e, t)
        );
      }
      function ki(e, t, r) {
        var i, n;
        const a =
            null !== (i = r.find((t) => t.appid === e.appid)) && void 0 !== i
              ? i
              : { unlocked: 0, total: 0 },
          s =
            null !== (n = r.find((e) => e.appid === t.appid)) && void 0 !== n
              ? n
              : { unlocked: 0, total: 0 };
        return (
          s.unlocked / (s.total || 1) - a.unlocked / (a.total || 1) ||
          (function (e, t, r) {
            var i, n;
            const a =
              null !== (i = r.find((t) => t.appid === e.appid)) && void 0 !== i
                ? i
                : { unlocked: 0, total: 0 };
            return (
              (null !== (n = r.find((e) => e.appid === t.appid)) && void 0 !== n
                ? n
                : { unlocked: 0, total: 0 }
              ).total - a.total || xi(e, t)
            );
          })(e, t, r)
        );
      }
      function Di(e, t) {
        const r = wt(bt()),
          i = (0, ft.useCallback)(
            (e, i) => {
              switch (t) {
                case Ni.HoursPlayed:
                  return (
                    (n = e),
                    (null !== (s = (a = i).playtime_forever) && void 0 !== s
                      ? s
                      : 0) -
                      (null !== (l = n.playtime_forever) && void 0 !== l
                        ? l
                        : 0) || xi(n, a)
                  );
                case Ni.RecentlyPlayed:
                  return (function (e, t) {
                    return (
                      t.rtime_last_played - e.rtime_last_played || xi(e, t)
                    );
                  })(e, i);
                case Ni.AchievementCompletion:
                  if (r.data) return ki(e, i, r.data);
                default:
                case Ni.Name:
                  return xi(e, i);
              }
              var n, a, s, l;
            },
            [t, r.data],
          );
        return (0, ft.useMemo)(
          () => ({
            data: e.data && [...e.data].sort(i),
            isLoading:
              e.isLoading || (t === Ni.AchievementCompletion && r.isLoading),
            error: e.error,
          }),
          [i, e.data, e.isLoading, e.error, r.isLoading, t],
        );
      }
      var Hi,
        $i = r(4100);
      function Vi(e) {
        var t;
        if (e.isLoading) return "";
        const r = null === (t = e.data) || void 0 === t ? void 0 : t.length;
        return void 0 === r ? "" : `(${r})`;
      }
      function Ki(e, t, r, i) {
        const n = Bt(),
          a = dt.Get().GetReviewCount(),
          s = dt.Get().GetFollowedCount();
        return (0, ft.useMemo)(() => {
          const l = [];
          return (
            l.push({
              tab: Hi.RecentlyPlayed,
              label: (0, Ct.we)("#GamesList_Tab_RecentlyPlayed", Vi(r)),
            }),
            l.push({
              tab: Hi.All,
              label: (0, Ct.we)("#GamesList_Tab_AllGames", Vi(t)),
            }),
            (n ||
              e === Hi.Perfect ||
              i.isLoading ||
              (i.data && i.data.length > 0)) &&
              l.push({
                tab: Hi.Perfect,
                label: (0, Ct.we)("#GamesList_Tab_PerfectGames", Vi(i)),
              }),
            l.push(
              {
                tab: Hi.Followed,
                href: `${ot.s.ProfileURL}followedgames`,
                label: (0, Ct.we)(
                  "#GamesList_Tab_Followed",
                  s > 0 ? `(${s})` : "",
                ),
              },
              {
                tab: Hi.Reviews,
                href: `${ot.s.ProfileURL}reviews`,
                label: (0, Ct.we)(
                  "#GamesList_Tab_Reviews",
                  a > 0 ? `(${a})` : "",
                ),
              },
              {
                tab: Hi.Wishlist,
                href: `${ot.s.ProfileURL}wishlist`,
                label: (0, Ct.we)("#GamesList_Tab_Wishlist"),
                className: $i.WishlistTab,
              },
            ),
            l
          );
        }, [e, t, r, i, a, s, n]);
      }
      function Qi({ tabs: e, strTab: t, setStrTab: r }) {
        return ft.createElement(
          ft.Fragment,
          null,
          ft.createElement(
            "div",
            {
              className: (0, qt.A)(
                "sectionTabs item responsive_hidden",
                $i.tabList,
              ),
            },
            e.map((e) =>
              e.href
                ? ft.createElement(
                    "a",
                    {
                      className: (0, qt.A)("sectionTab", e.className),
                      href: e.href,
                      key: e.label,
                    },
                    ft.createElement("span", null, e.label),
                  )
                : ft.createElement(
                    "a",
                    {
                      className: (0, qt.A)(
                        "sectionTab",
                        e.tab === t && "active",
                        e.className,
                      ),
                      key: e.tab,
                      href: `${ot.s.ProfileURL}games/?tab=${e.tab}`,
                      onClick: (t) => {
                        t.preventDefault(), r(e.tab);
                      },
                    },
                    ft.createElement("span", null, e.label),
                  ),
            ),
          ),
          ft.createElement(
            "div",
            {
              className: (0, qt.A)(
                "nonresponsive_hidden responsive_tab_ctn sharedfiles_responsive_tab",
                $i.SelectBaseline,
              ),
            },
            ft.createElement(
              "div",
              { className: "responsive_tab_control" },
              ft.createElement(
                "select",
                {
                  value: t,
                  onChange: (t) => {
                    const i = e.find((e) => e.tab === t.target.value);
                    i &&
                      (t.preventDefault(),
                      i.href ? (location.href = i.href) : r(i.tab));
                  },
                },
                e.map((e) =>
                  e.href
                    ? ft.createElement(
                        "option",
                        { value: e.tab, key: e.label },
                        e.label,
                      )
                    : ft.createElement(
                        "option",
                        { value: e.tab, key: e.tab },
                        e.label,
                      ),
                ),
              ),
            ),
          ),
          ft.createElement("div", {
            id: "tabs_baseline",
            className: (0, qt.A)("responsive_tab_baseline", $i.TabBaseline),
          }),
        );
      }
      !(function (e) {
        (e.All = "all"),
          (e.RecentlyPlayed = "recent"),
          (e.Perfect = "perfect"),
          (e.Followed = "followed"),
          (e.Reviews = "reviews"),
          (e.Wishlist = "wishlist");
      })(Hi || (Hi = {}));
      const Zi =
        r.p +
        "images/applications/community/defaultappheader.png?v=valveisgoodatcaching";
      var Yi = r(39777);
      const Xi = parseInt(bi.GameHeight),
        Ji = parseInt(bi.GamePadding),
        en = parseInt(bi.RemoteControlsHeight),
        tn = Xi + Ji;
      function rn() {
        return (function (e) {
          const t = (0, ft.useMemo)(() => matchMedia(e), [e]),
            [r, i] = (0, ft.useState)(t.matches);
          return (
            (0, ft.useEffect)(() => {
              function e(e) {
                i(e.matches);
              }
              return (
                t.addEventListener("change", e),
                () => t.removeEventListener("change", e)
              );
            }, [t]),
            r
          );
        })(`(max-width: ${bi.MobileBreakpoint})`);
      }
      function nn(e) {
        const t = _t(e.appid),
          r = (function (e) {
            const t = (0, rt.KV)(),
              r = dt.Get();
            return (0, et.I)({
              queryKey: ["FriendsWhoPlayCount", e],
              queryFn: () => r.GetFriendsWhoPlayCount(t, e),
            });
          })(e.appid),
          i = (function (e) {
            const t = dt.Get(),
              r = t.GetProfileSteamId();
            return (0, et.I)({
              queryKey: ["TradingCardsCount", r, e],
              queryFn: () => t.GetTradingCardsCount(r, e),
            });
          })(e.appid);
        return (0, ft.useMemo)(() => {
          const n = [];
          return (
            n.push({
              href: `${lt.TS.COMMUNITY_BASE_URL}app/${e.appid}`,
              label: (0, Ct.we)("#Community_GameHubMenuItem"),
              key: "gamehub",
            }),
            void 0 !== t.data &&
              n.push({
                href: `${ot.s.ProfileURL}screenshots/?appid=${e.appid}`,
                label: (0, Ct.we)(
                  "#Community_ScreenshotsMenuItemFirstPerson",
                  t.data > 0 ? `(${t.data})` : "",
                ),
                key: "screenshots",
              }),
            void 0 !== r.data &&
              n.push({
                href: `${ot.s.ProfileURL}friendsthatplay/${e.appid}`,
                label: (0, Ct.we)(
                  "#Community_FriendsWhoPlayMenuItemFirstPerson",
                  r.data > 0 ? `(${r.data})` : "",
                ),
                key: "friendswhoplay",
              }),
            void 0 !== i.data &&
              n.push({
                href: `${ot.s.ProfileURL}gamecards/${e.appid}`,
                label: (0, Ct.we)(
                  "#Community_TradingCardsMenuItemFirstPerson",
                  `(${i.data.owned}/${i.data.total})`,
                ),
                key: "tradingcards",
              }),
            n.push({
              href: `${ot.s.ProfileURL}recommended/${e.appid}`,
              label: (0, Ct.we)("#Community_ReviewMenuItemFirstPerson"),
              key: "review",
            }),
            {
              rgLinks: n,
              bIsLoading: t.isLoading || r.isLoading || i.isLoading,
            }
          );
        }, [e, t.data, t.isLoading, r.data, r.isLoading, i.data, i.isLoading]);
      }
      function an(e) {
        const t = pt(),
          r = _t(e.appid),
          i = (function (e) {
            const t = (0, rt.KV)(),
              r = dt.Get(),
              i = r.GetProfileSteamId();
            return (0, et.I)({
              queryKey: ["UserIndividualRecommendations", i, e],
              queryFn: () => r.GetIndividualHasRecommendations(i, t, e),
            });
          })(e.appid);
        return (0, ft.useMemo)(() => {
          const n = [];
          return (
            n.push({
              href: `${lt.TS.COMMUNITY_BASE_URL}app/${e.appid}`,
              label: (0, Ct.we)("#Community_GameHubMenuItem"),
              key: "gamehub",
            }),
            r.data &&
              r.data > 0 &&
              n.push({
                href: `${ot.s.ProfileURL}screenshots/?appid=${e.appid}`,
                label: (0, Ct.we)(
                  "#Community_ScreenshotsMenuItemThirdPerson",
                  t,
                  r.data > 0 ? `(${r.data})` : "",
                ),
                key: "screenshots",
              }),
            i.data &&
              n.push({
                href: `${ot.s.ProfileURL}recommended/${e.appid}`,
                label: (0, Ct.we)("#Community_ReviewMenuItemThirdPerson", t),
                key: "review",
              }),
            { rgLinks: n, bIsLoading: r.isLoading }
          );
        }, [e, t, r.data, r.isLoading, i.data]);
      }
      function sn(e) {
        return Bt() ? nn(e) : an(e);
      }
      function ln(e) {
        const t = pt(),
          r = (function (e) {
            return dt.Get().GetGCPDGames().includes(e.appid);
          })(e),
          i = Bt();
        return (0, ft.useMemo)(() => {
          const n = [];
          return (
            e.has_community_visible_stats &&
              (n.push({
                href: `${ot.s.ProfileURL}stats/${e.appid}/?tab=achievements`,
                label: i
                  ? (0, Ct.we)("#Community_UsersAchievementsFirstPerson")
                  : (0, Ct.we)("#Community_UsersAchievements", t),
                key: "achievements",
              }),
              n.push({
                href: `${lt.TS.COMMUNITY_BASE_URL}stats/${e.appid}/achievements/`,
                label: (0, Ct.we)("#Community_GlobalAchievements"),
                key: "global_achievements",
              })),
            e.has_leaderboards &&
              (n.push({
                href: `${ot.s.ProfileURL}stats/${e.appid}/?tab=leaderboards`,
                label: i
                  ? (0, Ct.we)("#Community_UsersLeaderboardsFirstPerson")
                  : (0, Ct.we)("#Community_UsersLeaderboards", t),
                key: "leaderboards",
              }),
              n.push({
                href: `${lt.TS.COMMUNITY_BASE_URL}stats/${e.appid}/leaderboards/`,
                label: (0, Ct.we)("#Community_GlobalLeaderboards"),
                key: "global_leaderboards",
              })),
            i &&
              r &&
              n.push({
                href: `${ot.s.ProfileURL}gcpd/${e.appid}/`,
                label: (0, Ct.we)("#Community_GamePersonalData", t),
                key: "gcpd",
              }),
            n
          );
        }, [t, e, r, i]);
      }
      function on(e) {
        const t = Bt(),
          r = tr(e.appid),
          i = t,
          { mutate: n } = ir(e.appid);
        return (0, ft.useMemo)(() => {
          const t = [];
          return (
            t.push({
              href: `${lt.TS.STORE_BASE_URL}app/${e.appid}`,
              label: (0, Ct.we)("#Community_StorePage"),
              key: "store",
            }),
            (0, Lt.nA)(lt.TS.EREALM) ||
              t.push(
                {
                  href: `${lt.TS.IN_CLIENT ? "steam://openurl_external/" : ""}${lt.TS.STORE_BASE_URL}forum/${e.appid}`,
                  label: (0, Ct.we)("#Community_Forums"),
                  key: "forums",
                },
                {
                  href: `${lt.TS.COMMUNITY_BASE_URL}search/groups/?text=${encodeURIComponent(e.name)}`,
                  label: (0, Ct.we)("#Community_Groups"),
                  key: "groups",
                },
                {
                  href: `${lt.TS.IN_CLIENT ? "steam://openurl_external/" : ""}${lt.TS.STORE_BASE_URL}appofficialsite/${e.appid}`,
                  label: (0, Ct.we)("#Community_OfficialWebsite"),
                  key: "website",
                },
                {
                  href: `${lt.TS.STORE_BASE_URL}news/?appids=${e.appid}`,
                  label: (0, Ct.we)("#Community_News"),
                  key: "news",
                },
              ),
            i &&
              (r
                ? t.push({
                    action: () => n(!1),
                    label: (0, Ct.we)("#AppPrivacy_UnmarkAsPrivate"),
                    key: "appprivacy",
                  })
                : t.push({
                    action: () => n(!0),
                    label: (0, Ct.we)("#AppPrivacy_MarkAsPrivate"),
                    key: "appprivacy",
                    tooltip: (0, Ct.we)("#AppPrivacy_Explanation"),
                  })),
            t
          );
        }, [e, i, r, n]);
      }
      const cn = ft.forwardRef(
        ({ achievement: e, appid: t, className: r }, i) => {
          const n = parseFloat(e.player_percent_unlocked) < 10,
            a = `${lt.TS.MEDIA_CDN_COMMUNITY_URL}images/apps/${t}/${e.icon}`;
          return ft.createElement(li, {
            ref: i,
            className: (0, qt.A)(
              Bi.AchievementIcon,
              Bi.RareAchievementIconWrapper,
              r,
            ),
            glow: n,
            imgURL: a,
          });
        },
      );
      function un({ appid: e, achievement: t }) {
        const r = `${lt.TS.MEDIA_CDN_COMMUNITY_URL}images/apps/${e}/${t.icon}`,
          i = parseFloat(t.player_percent_unlocked) < 10;
        return ft.createElement(
          "div",
          { className: Bi.AchievementHover },
          ft.createElement(
            "div",
            { className: Bi.Background },
            ft.createElement("img", { className: Bi.Blur, src: r }),
          ),
          ft.createElement(
            "div",
            { className: Bi.TopSection },
            ft.createElement(cn, { appid: e, achievement: t }),
            ft.createElement(
              "div",
              { className: Bi.TextSection },
              ft.createElement("div", { className: Bi.Name }, t.name),
              ft.createElement("div", { className: Bi.Desc }, t.desc),
            ),
          ),
          t.player_percent_unlocked &&
            ft.createElement(
              "div",
              { className: Bi.Unlocked },
              ft.createElement(
                "span",
                { className: (0, qt.A)(i && Bi.RareLabel) },
                (0, Ct.we)(
                  "#GamesList_Achievement_Unlock_Percentage",
                  t.player_percent_unlocked,
                ),
              ),
            ),
        );
      }
      const dn = {
          direction: "top",
          bEnablePointerEvents: !1,
          style: { width: void 0, height: void 0, minHeight: void 0 },
        },
        mn = ft.forwardRef(({ appid: e, achievement: t }, r) =>
          ft.createElement(
            ui.JU,
            {
              hoverContent: ft.createElement(un, { appid: e, achievement: t }),
              hoverProps: dn,
            },
            ft.createElement(cn, { ref: r, achievement: t, appid: e }),
          ),
        );
      function pn({
        children: e,
        remainderRenderer: t,
        totalItemOverride: r,
        itemPadding: i = 0,
        ...n
      }) {
        const [a, ...s] = e,
          l = (0, pi.wY)((e) => {
            m(e.contentRect.width);
          }),
          o = (0, pi.wY)((e) => {
            u(e.contentRect.width);
          }),
          [c, u] = (0, ft.useState)(0),
          [d, m] = (0, ft.useState)(0),
          p = null != r ? r : e.length;
        let b = e.length;
        if (d && c) {
          let t = 1,
            r = d;
          for (; r < c; ) (r += i), r + d <= c && ((r += d), t++);
          t < p && (b = Math.max(0, Math.min(e.length, t - 1)));
        }
        return ft.createElement(
          "div",
          { ref: o, ...n, style: 0 === c || 0 === d ? { opacity: 0 } : void 0 },
          b > 0 && ft.cloneElement(a, { ref: l }),
          b > 1 && s.slice(0, b - 1),
          b < p && t(p - b),
        );
      }
      function bn({ game: e, visible: t, totalUnlocked: r }) {
        var i, n;
        const a = (function (e, t) {
            const r = (0, rt.KV)(),
              i = dt.Get(),
              n = i.GetProfileSteamId();
            return at({
              batchKey: ["TopAchievements", n, lt.TS.LANGUAGE],
              queryKey: [e.appid],
              queryFn: (e) => i.FetchTopAchievementsBatch(r, n, e),
              requestMatcher: (e, t) => e.appid === t.appid,
              batchDuration: 100,
              request: e,
              enabled: t,
            });
          })(e, t),
          s = `${ot.s.ProfileURL}stats/${e.appid}/?tab=achievements`;
        return (null ===
          (n =
            null === (i = a.data) || void 0 === i ? void 0 : i.achievements) ||
        void 0 === n
          ? void 0
          : n.length) > 0
          ? ft.createElement(
              pn,
              {
                className: Bi.AchievementIcons,
                totalItemOverride: r,
                itemPadding: 8,
                remainderRenderer: (e) =>
                  ft.createElement(
                    "a",
                    { href: s, className: Bi.Remainder },
                    "+",
                    e,
                  ),
              },
              a.data.achievements.map((t) =>
                ft.createElement(mn, {
                  appid: e.appid,
                  achievement: t,
                  key: `${t.statid}${t.bit}`,
                }),
              ),
            )
          : null;
      }
      function Bn({ game: e, visible: t, showTop: r }) {
        const i = yt(e, t).data;
        if (!i) return null;
        if (0 === i.total) return null;
        const n = Math.floor((i.unlocked / i.total) * 100),
          a = (0, Ct.we)("#GamesList_Header_Achievements"),
          s = (0, Ct.we)(
            "#GamesList_Achievement_Fraction",
            i.unlocked,
            i.total,
          ),
          l = `${ot.s.ProfileURL}stats/${e.appid}/?tab=achievements`;
        return ft.createElement(
          ft.Fragment,
          null,
          ft.createElement(
            "div",
            { className: Bi.AchievementsProgress },
            ft.createElement(
              "a",
              { className: Bi.AchievementsProgressLabel, href: l },
              a,
            ),
            ft.createElement("span", { className: Bi.AchievementsFraction }, s),
            ft.createElement(di.z, {
              className: Bi.AchievementsProgressBar,
              animate: !1,
              nPercent: n,
            }),
          ),
          r &&
            ft.createElement(bn, {
              game: e,
              visible: t,
              totalUnlocked: i.unlocked,
            }),
        );
      }
      function gn({ game: e, visible: t }) {
        const r = yt(e, t).data;
        return r && t && r.total && r.unlocked === r.total
          ? ft.createElement(
              "div",
              { title: (0, Ct.we)("#Perfect_Game_Description") },
              ft.createElement(Ut.OiG, {
                fullcolor: !0,
                className: Bi.PerfectRibbon,
              }),
            )
          : null;
      }
      const wn = () => {};
      function yn({ links: e }) {
        return ft.createElement(
          oi.tz,
          { className: Bi.NavDropdownMenu },
          e.map((e) =>
            ft.createElement(
              oi.kt,
              { onSelected: "action" in e ? () => e.action() : wn, key: e.key },
              ft.createElement(Tn, { link: e }),
            ),
          ),
        );
      }
      function _n({ game: e }) {
        const t = sn(e);
        return t.bIsLoading
          ? ft.createElement(
              oi.tz,
              { className: Bi.NavDropdownMenu },
              ft.createElement(vt.t, { size: "small", position: "center" }),
            )
          : ft.createElement(yn, { links: t.rgLinks });
      }
      const fn = {
        bFitToWindow: !0,
        bOverlapHorizontal: !0,
        bMatchWidth: !1,
        bShiftToFitWindow: !0,
      };
      function hn({ links: e, children: t, className: r }) {
        const i = (0, ft.useRef)(null),
          n = (0, ft.useCallback)(() => {
            (0, xt.lX)(ft.createElement(yn, { links: e }), i.current, fn);
          }, [i, e]);
        return ft.createElement(
          Mt.Z,
          {
            className: (0, qt.A)(Bi.NavButton, r),
            onActivate: n,
            ref: i,
            focusable: !0,
          },
          t,
        );
      }
      function Mn({ links: e, label: t, className: r, onClick: i }) {
        return ft.createElement(St.Vb, {
          rgOptions: e.map((e) => ({ label: e.label, data: e })),
          onMenuOpened: i,
          onChange: (e) => {
            "href" in e.data ? (location.href = e.data.href) : e.data.action();
          },
          strDefaultLabel: t,
          strClassName: (0, qt.A)(Bi.GamepadNavigationDropdown, r),
          strDropDownButtonClassName: Bi.GamepadNavigationDropdownButton,
          highlightOnFocus: !0,
        });
      }
      function zn({ game: e, setLinkData: t }) {
        const r = sn(e);
        return (
          (0, ft.useEffect)(() => {
            t(r.rgLinks);
          }, [t, r.rgLinks]),
          null
        );
      }
      function Sn({ game: e }) {
        const t = Bt(),
          r = (0, Ct.we)(
            t ? "#Community_GameContentFirstPerson" : "#Community_GameContent",
          ),
          [i, n] = (0, ft.useState)([]),
          [a, s] = (0, ft.useState)(!1);
        return ft.createElement(
          ft.Fragment,
          null,
          ft.createElement(Mn, { links: i, label: r, onClick: () => s(!0) }),
          a && ft.createElement(zn, { game: e, setLinkData: n }),
        );
      }
      function Rn(e) {
        const { game: t, children: r } = e,
          i = Bt();
        return ft.createElement(
          "div",
          { className: Bi.GameLinks },
          i && ft.createElement(vn, { game: t }),
          r,
        );
      }
      function vn(e) {
        const { game: t } = e,
          r = tr(t.appid),
          i = ir(t.appid);
        return !0 !== r
          ? null
          : ft.createElement(
              Mt.Z,
              {
                className: (0, qt.A)(
                  Bi.AppPrivateIndicator,
                  Bi.GameLinksButton,
                  Bi.NavButton,
                ),
                onActivate: () => i.mutate(!1),
              },
              ft.createElement(Wt.ZyV, null),
            );
      }
      function Fn({ game: e }) {
        const t = on(e);
        return (0, lt.Qn)()
          ? ft.createElement(Mn, {
              links: t,
              label: (0, Ct.we)("#Community_GameLinks"),
            })
          : ft.createElement(
              hn,
              { links: t, className: Bi.GameLinksButton },
              ft.createElement(Wt.nvX, null),
            );
      }
      function qn({ game: e }) {
        const t = ln(e),
          r = Bt(),
          i = (0, lt.Qn)();
        if (0 === t.length) return null;
        const n = (0, Ct.we)(
          r ? "#Community_GameStatsFirstPerson" : "#Community_GameStats",
        );
        return i
          ? ft.createElement(Mn, { links: t, label: n })
          : ft.createElement(
              hn,
              { links: t, className: Bi.StatLinks },
              ft.createElement("span", null, " ", n, " "),
              ft.createElement(Nt, null),
            );
      }
      function Cn({ game: e }) {
        const t = (0, ft.useRef)(null),
          r = (0, rt.tc)(),
          i = (0, ft.useCallback)(() => {
            (0, xt.lX)(
              ft.createElement(
                rt.VQ,
                {
                  useActiveSteamInterface: r.useActiveSteamInterface,
                  useStorage: r.useStorage,
                },
                ft.createElement(_n, { game: e }),
              ),
              t.current,
              fn,
            );
          }, [t, e, r]),
          n = Bt(),
          a = (0, lt.Qn)(),
          s = (0, Ct.we)(
            n ? "#Community_GameContentFirstPerson" : "#Community_GameContent",
          );
        return a
          ? ft.createElement(Sn, { game: e })
          : ft.createElement(
              Mt.Z,
              {
                className: (0, qt.A)(Bi.NavButton, Bi.ContentLinks),
                onActivate: i,
                ref: t,
              },
              ft.createElement("span", null, " ", s, " "),
              ft.createElement(Nt, null),
            );
      }
      function jn({ label: e, children: t }) {
        return ft.createElement(
          "details",
          { className: Bi.BottomSheetSection },
          ft.createElement("summary", null, e, ft.createElement(Nt, null)),
          ft.createElement("div", { className: Bi.SectionContent }, t),
        );
      }
      function Wn({ game: e }) {
        const t = ln(e);
        return 0 === t.length
          ? null
          : ft.createElement(
              jn,
              { label: (0, Ct.we)("#Community_GameStats") },
              t.map((e) =>
                ft.createElement(Tn, {
                  key: e.key,
                  link: e,
                  className: Bi.BottomSheetLink,
                }),
              ),
            );
      }
      function Un({ game: e }) {
        const t = sn(e);
        return 0 === t.rgLinks.length
          ? null
          : ft.createElement(
              jn,
              { label: (0, Ct.we)("#Community_GameContent") },
              t.rgLinks.map((e) =>
                ft.createElement(Tn, {
                  key: e.key,
                  link: e,
                  className: Bi.BottomSheetLink,
                }),
              ),
            );
      }
      function Tn(e) {
        const { link: t, className: r } = e;
        let i;
        return (
          (i =
            "href" in t
              ? ft.createElement("a", { className: r, href: t.href }, t.label)
              : ft.createElement(
                  "span",
                  { className: r, onClick: () => t.action },
                  t.label,
                )),
          t.tooltip &&
            (i = ft.createElement(Ft.he, { toolTipContent: t.tooltip }, i)),
          i
        );
      }
      function In({ game: e }) {
        const t = on(e);
        return 0 === t.length
          ? null
          : ft.createElement(
              jn,
              { label: (0, Ct.we)("#GamesList_MenuLabel_GameInfo") },
              t.map((e) =>
                ft.createElement(Tn, {
                  key: e.key,
                  link: e,
                  className: Bi.BottomSheetLink,
                }),
              ),
            );
      }
      function On({ game: e }) {
        const t = Bt(),
          r = (function () {
            const e = zi();
            return e
              ? (0, Ct.we)(
                  "#GamesList_Client_Indicator",
                  Ri(e.device_type),
                  e.machine_name,
                )
              : null;
          })();
        return t && r
          ? ft.createElement(
              jn,
              { label: (0, Ct.we)("#GamesList_MenuLabel_RemoteDownload") },
              ft.createElement("span", { className: Bi.ClientName }, r),
              ft.createElement(Gi, {
                game: e,
                className: Bi.BottomSheetRemoteControls,
                visible: !0,
                enableDownloadBar: !0,
              }),
            )
          : null;
      }
      function En({ tab: e }) {
        const t = kn().openGame,
          r = xn(),
          i = (0, ft.useRef)(null);
        (0, ft.useEffect)(() => {
          var e;
          i.current &&
            (null === (e = i.current.querySelector("summary")) ||
              void 0 === e ||
              e.focus());
        }, [t]);
        const n = gt(t);
        if (!t) return null;
        const a =
          lt.TS.STORE_ICON_BASE_URL +
          `/${t.appid}/${t.capsule_filename || "library_600x900.jpg"}`;
        return ft.createElement(
          "div",
          {
            className: (0, qt.A)(
              Bi.BottomSheetContainer,
              n && Bi.HasAdultContent,
            ),
            role: "dialog",
            "aria-modal": "true",
            onKeyDown: (e) => {
              "Escape" === e.key && r(void 0);
            },
          },
          ft.createElement("div", {
            className: Bi.BottomSheetOverlay,
            onClick: (e) => {
              e.preventDefault(), e.stopPropagation(), r(void 0);
            },
          }),
          ft.createElement(
            "div",
            { className: Bi.BottomSheet, ref: i },
            ft.createElement(
              "div",
              { className: Bi.GameInfo },
              ft.createElement(
                "div",
                { className: Bi.BlurredBackground },
                ft.createElement("img", { src: a, alt: t.name }),
              ),
              ft.createElement("img", {
                src: a,
                alt: t.name,
                className: Bi.Portrait,
              }),
              ft.createElement(
                "div",
                { className: Bi.Facts },
                ft.createElement("span", { className: Bi.GameTitle }, t.name),
                ft.createElement(Pn, { game: t, visible: !0, tab: e }),
              ),
            ),
            ft.createElement(Un, { game: t }),
            ft.createElement(Wn, { game: t }),
            ft.createElement(In, { game: t }),
            ft.createElement(On, { game: t }),
          ),
        );
      }
      function Pn({ game: e, visible: t, tab: r }) {
        const i = Bt(),
          n = gt(e),
          a = rn(),
          s = r !== Hi.All && !(a && r === Hi.RecentlyPlayed);
        return ft.createElement(
          "div",
          { className: Bi.Playtime },
          r === Hi.RecentlyPlayed &&
            !!e.playtime_2weeks &&
            ft.createElement(
              "span",
              { className: Bi.Hours2weeks },
              ft.createElement(
                "span",
                { className: Bi.FactLabel },
                (0, Ct.we)("#GamesList_Header_TwoWeeks"),
              ),
              (0, mi.l)(e.playtime_2weeks),
            ),
          !!e.playtime_forever &&
            ft.createElement(
              "span",
              { className: Bi.Hours },
              ft.createElement(
                "span",
                { className: Bi.FactLabel },
                (0, Ct.we)("#GamesList_Header_TotalPlayed"),
              ),
              (0, mi.l)(
                e.playtime_forever +
                  (e.playtime_disconnected ? e.playtime_disconnected : 0),
              ),
            ),
          r !== Hi.RecentlyPlayed &&
            i &&
            !!e.rtime_last_played &&
            ft.createElement(
              "span",
              { className: Bi.LastPlayed },
              ft.createElement(
                "span",
                { className: Bi.FactLabel },
                (0, Ct.we)("#GamesList_Header_LastPlayed"),
              ),
              (0, Ct._l)(e.rtime_last_played),
            ),
          !n &&
            ft.createElement(
              "div",
              { className: Bi.AchievementContainer },
              ft.createElement(Bn, { game: e, visible: t, showTop: s }),
            ),
        );
      }
      function Gn(e, t) {
        return `${lt.TS.BASE_URL_SHARED_CDN}store_item_assets/${e.asset_url_format}`.replace(
          "${FILENAME}",
          e[t],
        );
      }
      function Nn({ game: e, visible: t }) {
        const r = rn(),
          [i, n] = (0, ft.useState)(0),
          { data: a, isLoading: s } = (0, Yi.gy)(
            { appid: e.appid },
            { enabled: t },
          );
        (0, ft.useEffect)(() => {
          s || n(0);
        }, [s]);
        let l = [Zi],
          o = [Zi];
        (null == a ? void 0 : a.library_capsule)
          ? l.unshift(Gn(a, "library_capsule"))
          : l.unshift(
              Gn(
                { ...a, library_capsule: "library_600x900.jpg" },
                "library_capsule",
              ),
            ),
          (null == a ? void 0 : a.header)
            ? o.unshift(Gn(a, "header"))
            : o.unshift(Gn({ ...a, header: "header.jpg" }, "header"));
        const c = r ? l[i] === Zi : o[i] === Zi;
        return ft.createElement(
          ft.Fragment,
          null,
          ft.createElement(
            "picture",
            { onError: () => n((e) => e + 1) },
            ft.createElement("source", {
              media: `(max-width: ${bi.MobileBreakpoint})`,
              srcSet: l[i],
            }),
            ft.createElement("img", {
              src: o[i],
              alt: e.name,
              loading: "lazy",
            }),
          ),
          c &&
            ft.createElement("span", { className: Bi.FallbackTitle }, e.name),
        );
      }
      function An({ game: e, hasEverBeenVisible: t }) {
        const r = rn();
        return ft.createElement(
          "div",
          { className: Bi.PortraitContainer },
          ft.createElement(Nn, { game: e, visible: t }),
          !r && ft.createElement(gn, { game: e, visible: t }),
        );
      }
      const Ln = ft.memo(function ({ game: e, top: t, tab: r }) {
        const i = `${lt.TS.STORE_BASE_URL}app/${e.appid}`,
          n = Bt(),
          a = rn(),
          s = xn(),
          l = a ? "button" : lr.YZ,
          o = a ? () => s(e) : void 0,
          [c, u] = (0, ft.useState)(!1),
          d = (0, pi.BL)(
            (0, ft.useCallback)((e) => {
              e.isIntersecting && u(!0);
            }, []),
            { rootMargin: "1800px" },
          ),
          m = gt(e),
          p = (0, lt.Qn)(),
          b = a ? "div" : sr.Ii,
          B = a ? "span" : "a";
        return ft.createElement(
          "div",
          {
            className: (0, qt.A)(
              Bi.GamesListItemContainer,
              m && Bi.HasAdultContent,
            ),
            style: { top: `${t}px` },
            ref: d,
          },
          ft.createElement(
            l,
            {
              className: (0, qt.A)(Bi.GamesListItem, e.changing && Bi.Changing),
              onClick: o,
            },
            ft.createElement(
              b,
              { href: i, className: Bi.GameItemPortrait },
              ft.createElement(An, { game: e, hasEverBeenVisible: c }),
            ),
            ft.createElement(
              "span",
              { className: Bi.GameNameContainer },
              ft.createElement(B, { href: i, className: Bi.GameName }, e.name),
            ),
            ft.createElement(Pn, { game: e, visible: c, tab: r }),
            !a &&
              ft.createElement(
                ft.Fragment,
                null,
                ft.createElement(
                  "div",
                  { className: Bi.Buttons },
                  ft.createElement(qn, { game: e }),
                  ft.createElement(Cn, { game: e }),
                  p && ft.createElement(Fn, { game: e }),
                ),
                !p &&
                  ft.createElement(
                    Rn,
                    { game: e },
                    ft.createElement(Fn, { game: e }),
                  ),
              ),
            n &&
              !a &&
              ft.createElement(Gi, {
                className: Bi.DownloadStatus,
                game: e,
                visible: c,
              }),
            a && ft.createElement(gn, { game: e, visible: c }),
          ),
          n && ft.createElement(Pi, { game: e, visible: c }),
        );
      });
      function xn() {
        return kn().fnSetOpenGame;
      }
      function kn() {
        const e = (0, ft.useContext)(Dn);
        if (!e)
          throw new Error(
            "attempted to use BottomSheetContext outside of provider",
          );
        return e;
      }
      const Dn = ft.createContext(void 0);
      function Hn({ children: e }) {
        const [t, r] = (0, ft.useState)(void 0);
        return ft.createElement(
          Dn.Provider,
          { value: { openGame: t, fnSetOpenGame: r } },
          e,
        );
      }
      const $n = new Set();
      function Vn(e) {
        $n.add(e);
      }
      const Kn = new Set();
      function Qn({ games: e, tab: t, fnCalculateGameSize: r }) {
        const [i, n] = (0, ft.useMemo)(() => {
          let t = 0;
          const i = e.map((e) => {
            const i = r(e);
            return (t += i), i;
          });
          return [t, i];
        }, [e, r]);
        !(function () {
          const e = (0, ft.useRef)(!1);
          (0, ft.useEffect)(() => {
            var t;
            if (e.current) return;
            const r =
              null === (t = history.state) || void 0 === t ? void 0 : t.scrollY;
            r && window.scroll({ top: r }), (e.current = !0);
          }, []),
            (0, ft.useEffect)(() => {
              let e;
              const t = () => {
                e && clearTimeout(e),
                  (e = setTimeout(() => {
                    var e;
                    history.replaceState(
                      {
                        ...(null !== (e = history.state) && void 0 !== e
                          ? e
                          : {}),
                        scrollY: window.scrollY,
                      },
                      "",
                    );
                  }, 100));
              };
              return (
                addEventListener("scroll", t, { passive: !0 }),
                () => {
                  removeEventListener("scroll", t), e && clearTimeout(e);
                }
              );
            }, []);
        })();
        const a = (0, ft.useRef)(null);
        let s = 0;
        return ft.createElement(
          Mt.Z,
          { ref: a, className: Bi.List, style: { height: i }, autoFocus: !0 },
          ft.createElement(
            Yn,
            {
              disableContinuousRender: e.length > 1024,
              batchSize: 16,
              containerRef: a,
              childSizes: n,
            },
            e.map((e, r) => {
              const i = s;
              return (
                (s += n[r]),
                ft.createElement(Ln, { game: e, key: e.appid, top: i, tab: t })
              );
            }),
          ),
        );
      }
      async function Zn() {
        return new Promise((e) => {
          setTimeout(e, 0);
        });
      }
      function Yn({
        children: e,
        batchSize: t,
        containerRef: r,
        childSizes: i,
        disableContinuousRender: n,
      }) {
        const [a] = (0, ft.useState)([]);
        return (
          (0, ft.useEffect)(() => {
            if (n) return () => {};
            let e = !1;
            return (
              (async function () {
                var r;
                for (let i = 0; i < a.length + t; i += t) {
                  for (let n = i; n < i + t; n++) {
                    if (e) return;
                    null === (r = a[n]) || void 0 === r || r.call(a, !0);
                  }
                  await Zn();
                }
              })(),
              () => {
                e = !0;
              }
            );
          }, [a, t, e.length, n]),
          (0, ft.useEffect)(() => {
            if (!r || !i) return () => {};
            function e() {
              let e = null == t ? void 0 : t.getBoundingClientRect().top;
              e > 0 && (e = 0);
              const r = Math.ceil(window.innerHeight / i[0]);
              let n = 0,
                s = 0;
              for (; n > e; ) (n -= i[s]), s++;
              const l = s - r,
                o = l + 3 * r;
              for (let e = l; e < o; e++)
                setTimeout(() => {
                  var t;
                  null === (t = a[e]) || void 0 === t || t.call(a, !0);
                }, 0);
            }
            const t = r.current;
            return (
              null == t ||
                t.ownerDocument.defaultView.addEventListener("scroll", e),
              e(),
              () => {
                null == t ||
                  t.ownerDocument.defaultView.removeEventListener("scroll", e);
              }
            );
          }, [e.length, e, r, i, t, a]),
          ft.createElement(
            ft.Fragment,
            null,
            e.map((e, t) =>
              ft.createElement(Xn, { key: e.key, index: t, renderers: a }, e),
            ),
          )
        );
      }
      function Xn({ renderers: e, index: t, children: r }) {
        const [i, n] = (0, ft.useState)(!1);
        return (e[t] = n), i ? ft.createElement(ft.Fragment, null, r) : null;
      }
      const Jn = ft.createContext(void 0);
      function ea({ query: e, isLoading: t, tab: r }) {
        var i;
        const n = Yr(),
          a = (function (e) {
            const t = zi(),
              r = ti(void 0, !1).rgQueries.find((e) => {
                var r;
                return (
                  (null === (r = e.data) || void 0 === r
                    ? void 0
                    : r.session.client_instanceid) ===
                  (null == t ? void 0 : t.client_instanceid)
                );
              });
            return (0, ft.useMemo)(() => {
              var t;
              const i = new Set();
              if (null == r ? void 0 : r.data)
                for (const e of r.data.mapApps.values())
                  (Kn.has(e.appid) || (!$n.has(e.appid) && Ii(e))) &&
                    (i.add(e.appid), Kn.add(e.appid));
              const n = [],
                a = [];
              return (
                null === (t = e.data) ||
                  void 0 === t ||
                  t.forEach((e) => {
                    i.has(e.appid) ? n.push({ ...e, changing: !0 }) : a.push(e);
                  }),
                { data: [...n, ...a], isLoading: e.isLoading, error: e.error }
              );
            }, [e.data, e.isLoading, e.error, null == r ? void 0 : r.data]);
          })(e),
          [s, l] = (0, ft.useState)({}),
          o = (0, ft.useCallback)((e, t) => {
            l((r) => ({ ...r, [e]: t }));
          }, []),
          c = (0, ft.useCallback)((e) => (s[e.appid] ? tn + en : tn), [s]);
        return a.isLoading || n.isLoading || t
          ? ft.createElement(vt.t, {
              string: (0, Ct.we)("#Loading"),
              position: "center",
            })
          : 0 === (null === (i = a.data) || void 0 === i ? void 0 : i.length) &&
              r === Hi.Perfect
            ? ft.createElement(
                "p",
                { className: Bi.emptyDescription },
                (0, Ct.we)("#GamesList_PerfectGames_Description"),
              )
            : ft.createElement(
                Jn.Provider,
                { value: o },
                !lt.TS.IN_CLIENT && ft.createElement(qi, null),
                ft.createElement(Qn, {
                  games: a.data,
                  tab: r,
                  fnCalculateGameSize: c,
                }),
              );
      }
      function ta(e) {
        return tn;
      }
      function ra({ query: e, isLoading: t, tab: r }) {
        return void 0 === e.data || t
          ? null
          : ft.createElement(Qn, {
              games: e.data,
              tab: r,
              fnCalculateGameSize: ta,
            });
      }
      const ia = (0, ci.Nr)(
        ({ owned: e, filter: t, dependencyLoading: r, sort: i, tab: n }) => {
          const a = Di(It(e, t), i),
            s = Bt(),
            l = a.isLoading || r;
          if (a.error && !l) throw a.error;
          return ft.createElement(
            Hn,
            null,
            ft.createElement(En, { tab: n }),
            s
              ? ft.createElement(ea, { query: a, isLoading: l, tab: n })
              : ft.createElement(ra, { query: a, isLoading: l, tab: n }),
          );
        },
      );
      var na = r(38452);
      const aa = [
        {
          label: (0, Ct.we)("#GamesList_Sort_HoursPlayed"),
          sortOption: Ni.HoursPlayed,
        },
        { label: (0, Ct.we)("#GamesList_Sort_Name"), sortOption: Ni.Name },
        {
          label: (0, Ct.we)("#GamesList_Sort_AchievementCompletion"),
          sortOption: Ni.AchievementCompletion,
        },
      ];
      function sa({ strSort: e, setStrSort: t }) {
        return ft.createElement(
          "ul",
          { className: jt.SortOptions },
          aa.map((r) =>
            ft.createElement(
              "li",
              { key: r.sortOption },
              ft.createElement(
                "button",
                {
                  className: (0, qt.A)(
                    jt.SortOption,
                    e === r.sortOption && jt.SelectedSort,
                  ),
                  onClick: () => t(r.sortOption),
                },
                r.label,
              ),
            ),
          ),
        );
      }
      function la() {
        const [e, t] = (0, Rt.QD)("games_in_common", !1);
        return ft.createElement(
          "label",
          { className: jt.BothOwnedFilter },
          (0, Ct.we)("#GamesList_Filter_BothOwned"),
          ft.createElement("input", {
            type: "checkbox",
            checked: e,
            onChange: (e) => t(e.target.checked),
          }),
        );
      }
      function oa() {
        return ft.createElement(
          Ft.he,
          {
            toolTipContent: (0, Ct.we)("#GamesList_PrivacySettings_Tooltip"),
            "aria-label": (0, Ct.we)("#GamesList_PrivacySettings_Tooltip"),
            className: jt.PrivacySettingsLink,
          },
          ft.createElement(
            "a",
            { href: `${ot.s.ProfileURL}edit/settings` },
            ft.createElement(At, null),
          ),
        );
      }
      function ca(e) {
        const t = new Set();
        return null == e || e.forEach((e) => t.add(e.appid)), t;
      }
      function ua(e, t, r) {
        const [i, n] = (0, Rt.QD)(e, r);
        let a = i;
        return Object.values(t).includes(i) || (a = r), [a, n];
      }
      function da({ children: e }) {
        return (0, lt.Qn)() ? ft.createElement(St.J1, null, e) : e;
      }
      function ma(e) {
        const { children: t } = e,
          r = (0, zt.A)(),
          i = ft.useMemo(
            () => ({
              country: lt.TS.COUNTRY,
              language: lt.TS.LANGUAGE,
              realm: lt.TS.EREALM,
            }),
            [],
          );
        return ft.createElement(
          ht.u,
          { navID: "Gamelist", NavigationManager: r },
          ft.createElement(
            Si,
            null,
            ft.createElement(
              da,
              null,
              ft.createElement(na.V3, { context: i, msDelayBatch: 500 }, t),
            ),
          ),
        );
      }
      const pa = function (e) {
        const t = bt(),
          [r, i] = ua("sort", Ni, Ni.HoursPlayed),
          [n, a] = ua("tab", Hi),
          s = null != n ? n : Hi.RecentlyPlayed,
          [l, o, c] = (function (e, t) {
            const [r, i] = (0, ft.useState)(e),
              [n, a] = (0, ft.useState)(e);
            return (
              (0, ft.useEffect)(() => {
                if (t < 1) return a(r), () => {};
                const e = setTimeout(() => a(r), t);
                return () => clearTimeout(e);
              }, [r, t]),
              [r, n, i]
            );
          })(void 0, 100),
          u = s === Hi.RecentlyPlayed,
          d = (0, ft.useCallback)(
            (e) => {
              var t;
              return (
                !(o && !u) ||
                (null === (t = e.name) || void 0 === t
                  ? void 0
                  : t.toLowerCase().includes(o.toLowerCase()))
              );
            },
            [o, u],
          ),
          m = wt(t),
          p = (0, ft.useCallback)(
            (e) =>
              !!m.data &&
              m.data.some(
                (t) =>
                  t.appid === e.appid &&
                  0 !== t.unlocked &&
                  t.unlocked === t.total,
              ),
            [m.data],
          ),
          [b] = (0, Rt.QD)("games_in_common", !1),
          B = b && s === Hi.All,
          g = (function (e) {
            const t = mt(lt.iA.steamid, { enabled: e });
            return (0, ft.useMemo)(
              () => ({ data: ca(t.data), isLoading: t.isLoading }),
              [t.data, t.isLoading],
            );
          })(B),
          w = (0, ft.useCallback)(
            (e) => {
              var t;
              return (
                !B ||
                (null === (t = g.data) || void 0 === t
                  ? void 0
                  : t.has(e.appid))
              );
            },
            [B, g],
          ),
          y = mt(t),
          _ = dt.Get().GetPerfectUnownedGames(),
          f =
            ((h = dt.Get().GetRecentlyPlayedGames()),
            (0, ft.useMemo)(
              () => ({ data: h, isLoading: !1, error: void 0 }),
              [h],
            ));
        var h;
        const M =
          ((z = It(y, p, m.isLoading)),
          (S = _),
          (0, ft.useMemo)(() => {
            var e;
            return {
              data:
                null === (e = z.data) || void 0 === e ? void 0 : e.concat(S),
              isLoading: z.isLoading,
              error: z.error,
            };
          }, [z.data, z.isLoading, z.error, S]));
        var z, S;
        (0, ft.useEffect)(() => {
          !n && f.data && 0 === f.data.length && a(Hi.All);
        }, [n, f, a]);
        const R = Bt(),
          v = (0, lt.Qn)();
        let F = y;
        s === Hi.RecentlyPlayed ? (F = f) : s === Hi.Perfect && (F = M),
          (0, ft.useEffect)(() => {
            $n.clear();
          }, [s]);
        const q = Ki(s, y, f, M),
          C = (function (...e) {
            return (0, ft.useCallback)((t) => {
              for (const r of e) if (r && !r(t)) return !1;
              return !0;
            }, e);
          })(o && d, B && w),
          j = (0, qt.A)(jt.Gameslistapp, v && "GamepadMode"),
          W = r === Ni.AchievementCompletion && m.isLoading,
          U = F.isLoading || W;
        return ft.createElement(
          ma,
          null,
          ft.createElement(
            Mt.Z,
            { className: j },
            U &&
              ft.createElement(vt.t, {
                string: (0, Ct.we)("#Loading"),
                position: "center",
              }),
            !U &&
              ft.createElement(
                ft.Fragment,
                null,
                ft.createElement(Qi, { tabs: q, strTab: s, setStrTab: a }),
                s !== Hi.RecentlyPlayed &&
                  ft.createElement(
                    "div",
                    { className: jt.DisplayControls },
                    ft.createElement(Ot, {
                      strNameFilter: l,
                      setStrNameFilter: c,
                      className: jt.FilterInput,
                    }),
                    R && ft.createElement(oa, null),
                    !R && s === Hi.All && ft.createElement(la, null),
                    ft.createElement(sa, { strSort: r, setStrSort: i }),
                  ),
              ),
            ft.createElement(ia, {
              owned: F,
              filter: C,
              sort: s === Hi.RecentlyPlayed ? Ni.RecentlyPlayed : r,
              dependencyLoading: U,
              tab: s,
            }),
          ),
        );
      };
    },
    12447: (e, t, r) => {
      "use strict";
      r.d(t, { u: () => o });
      var i = r(8871),
        n = r(90626),
        a = r(78327),
        s = r(85585),
        l = r(7445);
      function o(e) {
        const { children: t, navTreeRef: r, NavigationManager: o, ...c } = e,
          u = n.useRef(),
          d = (0, i.Ue)(u, r);
        if ((0, a.Qn)()) {
          const e = window.__nav_tree_root;
          return n.createElement(
            s.B2,
            { ...c, navTreeRef: d, parentEmbeddedNavTree: e },
            n.createElement(l.q, null, t),
          );
        }
        return n.createElement(n.Fragment, null, t);
      }
    },
    17690: (e, t, r) => {
      "use strict";
      r.d(t, { IU: () => o, by: () => c, sc: () => s });
      var i = r(78327),
        n = r(85044),
        a = r(44332);
      const s = 0,
        l = "061818254b2c99ac49e6626adb128ed1282a392f",
        o = 120;
      class c {
        constructor(e) {
          (this.m_bInitialized = !1), (this.m_unAppID = e);
        }
        get appid() {
          return this.m_unAppID;
        }
        get is_initialized() {
          return this.m_bInitialized;
        }
        get is_valid() {
          return this.m_bInitialized && !!this.m_strName;
        }
        get name() {
          return this.m_strName;
        }
        get icon_url_no_default() {
          return this.m_strIconURL && this.BuildAppURL(this.m_strIconURL, l);
        }
        get icon_url() {
          return this.BuildAppURL(this.m_strIconURL, l);
        }
        get time_updated_from_server() {
          return this.m_dtUpdatedFromServer;
        }
        get apptype() {
          return this.m_eAppType;
        }
        BIsApplicationOrTool() {
          return 4 == this.apptype || 2 == this.apptype;
        }
        BuildAppURL(e, t) {
          return e
            ? i.TS.MEDIA_CDN_COMMUNITY_URL +
                "images/apps/" +
                this.appid +
                "/" +
                e +
                ".jpg"
            : (0, n.t)(t);
        }
        DeserializeFromMessage(e) {
          (this.m_bInitialized = !0),
            (this.m_strName = e.name()),
            (this.m_strIconURL = e.icon()),
            (this.m_dtUpdatedFromServer = new Date()),
            (this.m_eAppType = e.app_type());
        }
        DeserializeFromAppOverview(e) {
          e.icon_hash() && 1073741824 != e.app_type()
            ? ((this.m_bInitialized = !0),
              (this.m_strName = e.display_name()),
              (this.m_strIconURL = e.icon_hash()),
              (this.m_dtUpdatedFromServer = new Date()),
              (this.m_eAppType = e.app_type()))
            : (this.m_bInitialized = !1);
        }
        DeserializeFromCacheObject(e) {
          try {
            (this.m_strName = e.strName),
              (this.m_strIconURL = e.strIconURL),
              (this.m_dtUpdatedFromServer = new Date(e.strUpdatedFromServer)),
              (this.m_eAppType = e.eAppType),
              (this.m_bInitialized = !0);
          } catch {}
        }
        SerializeToCacheObject() {
          return (
            (0, a.w)(
              this.m_bInitialized,
              "Attempting to serialize an uninitialized AppInfo object for caching!",
            ),
            this.m_bInitialized
              ? {
                  strName: this.m_strName,
                  strIconURL: this.m_strIconURL,
                  strUpdatedFromServer: this.m_dtUpdatedFromServer.toJSON(),
                  eAppType: this.m_eAppType,
                }
              : null
          );
        }
      }
    },
    85044: (e, t, r) => {
      "use strict";
      r.d(t, { d: () => n, t: () => a });
      var i = r(78327);
      const n = "fef49e7fa7e1997310d705b2a6158ff8dc1cdfeb";
      function a(e, t) {
        let r = ".jpg";
        (e && "0000000000000000000000000000000000000000" !== e) || (e = n),
          44 == e.length && ((r = e.substr(-4)), (e = e.substr(0, 40)));
        let a = i.TS.AVATAR_BASE_URL;
        return (
          a ||
            ((a = i.TS.MEDIA_CDN_COMMUNITY_URL + "images/avatars/"),
            (a += e.substr(0, 2) + "/")),
          (a += e),
          t && "small" != t && (a += "_" + t),
          (a += r),
          a
        );
      }
    },
    33861: (e, t, r) => {
      "use strict";
      r.d(t, { E: () => O });
      var i,
        n,
        a,
        s,
        l,
        o,
        c,
        u,
        d,
        m,
        p,
        b,
        B,
        g,
        w,
        y,
        _,
        f,
        h = r(90626),
        M = r(86843),
        z = r(6561),
        S = r(48767),
        R = r(57152),
        v = r(57956);
      function F(e, t) {
        return e.filter((e) => !t.includes(e));
      }
      var q = class extends R.Q {
        constructor(e, t, r) {
          super(),
            (0, M.VK)(this, d),
            (0, M.VK)(this, p),
            (0, M.VK)(this, B),
            (0, M.VK)(this, w),
            (0, M.VK)(this, _),
            (0, M.VK)(this, i, void 0),
            (0, M.VK)(this, n, void 0),
            (0, M.VK)(this, a, void 0),
            (0, M.VK)(this, s, void 0),
            (0, M.VK)(this, l, void 0),
            (0, M.VK)(this, o, void 0),
            (0, M.VK)(this, c, void 0),
            (0, M.VK)(this, u, void 0),
            (0, M.OV)(this, i, e),
            (0, M.OV)(this, s, r),
            (0, M.OV)(this, a, []),
            (0, M.OV)(this, l, []),
            (0, M.OV)(this, n, []),
            this.setQueries(t);
        }
        onSubscribe() {
          1 === this.listeners.size &&
            (0, M.S7)(this, l).forEach((e) => {
              e.subscribe((t) => {
                (0, M.jq)(this, w, y).call(this, e, t);
              });
            });
        }
        onUnsubscribe() {
          this.listeners.size || this.destroy();
        }
        destroy() {
          (this.listeners = new Set()),
            (0, M.S7)(this, l).forEach((e) => {
              e.destroy();
            });
        }
        setQueries(e, t, r) {
          (0, M.OV)(this, a, e),
            (0, M.OV)(this, s, t),
            z.j.batch(() => {
              const e = (0, M.S7)(this, l),
                t = (0, M.jq)(this, B, g).call(this, (0, M.S7)(this, a));
              t.forEach((e) =>
                e.observer.setOptions(e.defaultedQueryOptions, r),
              );
              const i = t.map((e) => e.observer),
                s = i.map((e) => e.getCurrentResult()),
                o = i.some((t, r) => t !== e[r]);
              (e.length !== i.length || o) &&
                ((0, M.OV)(this, l, i),
                (0, M.OV)(this, n, s),
                this.hasListeners() &&
                  (F(e, i).forEach((e) => {
                    e.destroy();
                  }),
                  F(i, e).forEach((e) => {
                    e.subscribe((t) => {
                      (0, M.jq)(this, w, y).call(this, e, t);
                    });
                  }),
                  (0, M.jq)(this, _, f).call(this)));
            });
        }
        getCurrentResult() {
          return (0, M.S7)(this, n);
        }
        getQueries() {
          return (0, M.S7)(this, l).map((e) => e.getCurrentQuery());
        }
        getObservers() {
          return (0, M.S7)(this, l);
        }
        getOptimisticResult(e, t) {
          const r = (0, M.jq)(this, B, g)
            .call(this, e)
            .map((e) =>
              e.observer.getOptimisticResult(e.defaultedQueryOptions),
            );
          return [
            r,
            (e) => (0, M.jq)(this, p, b).call(this, e ?? r, t),
            () => (0, M.jq)(this, d, m).call(this, r, e),
          ];
        }
      };
      (i = new WeakMap()),
        (n = new WeakMap()),
        (a = new WeakMap()),
        (s = new WeakMap()),
        (l = new WeakMap()),
        (o = new WeakMap()),
        (c = new WeakMap()),
        (u = new WeakMap()),
        (d = new WeakSet()),
        (m = function (e, t) {
          const r = (0, M.jq)(this, B, g).call(this, t);
          return r.map((t, i) => {
            const n = e[i];
            return t.defaultedQueryOptions.notifyOnChangeProps
              ? n
              : t.observer.trackResult(n, (e) => {
                  r.forEach((t) => {
                    t.observer.trackProp(e);
                  });
                });
          });
        }),
        (p = new WeakSet()),
        (b = function (e, t) {
          return t
            ? (((0, M.S7)(this, o) &&
                (0, M.S7)(this, n) === (0, M.S7)(this, u) &&
                t === (0, M.S7)(this, c)) ||
                ((0, M.OV)(this, c, t),
                (0, M.OV)(this, u, (0, M.S7)(this, n)),
                (0, M.OV)(this, o, (0, v.BH)((0, M.S7)(this, o), t(e)))),
              (0, M.S7)(this, o))
            : e;
        }),
        (B = new WeakSet()),
        (g = function (e) {
          const t = new Map(
              (0, M.S7)(this, l).map((e) => [e.options.queryHash, e]),
            ),
            r = [];
          return (
            e.forEach((e) => {
              const n = (0, M.S7)(this, i).defaultQueryOptions(e),
                a = t.get(n.queryHash);
              if (a) r.push({ defaultedQueryOptions: n, observer: a });
              else {
                const e = (0, M.S7)(this, l).find(
                  (e) => e.options.queryHash === n.queryHash,
                );
                r.push({
                  defaultedQueryOptions: n,
                  observer: e ?? new S.$((0, M.S7)(this, i), n),
                });
              }
            }),
            r.sort(
              (t, r) =>
                e.findIndex(
                  (e) => e.queryHash === t.defaultedQueryOptions.queryHash,
                ) -
                e.findIndex(
                  (e) => e.queryHash === r.defaultedQueryOptions.queryHash,
                ),
            )
          );
        }),
        (w = new WeakSet()),
        (y = function (e, t) {
          const r = (0, M.S7)(this, l).indexOf(e);
          -1 !== r &&
            ((0, M.OV)(
              this,
              n,
              (function (e, t, r) {
                const i = e.slice(0);
                return (i[t] = r), i;
              })((0, M.S7)(this, n), r, t),
            ),
            (0, M.jq)(this, _, f).call(this));
        }),
        (_ = new WeakSet()),
        (f = function () {
          var e;
          if (this.hasListeners()) {
            (0, M.S7)(this, o) !==
              (0, M.jq)(this, p, b).call(
                this,
                (0, M.jq)(this, d, m).call(
                  this,
                  (0, M.S7)(this, n),
                  (0, M.S7)(this, a),
                ),
                null == (e = (0, M.S7)(this, s)) ? void 0 : e.combine,
              ) &&
              z.j.batch(() => {
                this.listeners.forEach((e) => {
                  e((0, M.S7)(this, n));
                });
              });
          }
        });
      var C = r(29385),
        j = r(85010),
        W = r(8184),
        U = r(33478),
        T = r(99583),
        I = r(61314);
      function O({ queries: e, ...t }, r) {
        const i = (0, C.jE)(r),
          n = (0, j.w)(),
          a = (0, W.h)(),
          s = h.useMemo(
            () =>
              e.map((e) => {
                const t = i.defaultQueryOptions(e);
                return (
                  (t._optimisticResults = n ? "isRestoring" : "optimistic"), t
                );
              }),
            [e, i, n],
          );
        s.forEach((e) => {
          (0, T.jv)(e), (0, U.LJ)(e, a);
        }),
          (0, U.wZ)(a);
        const [l] = h.useState(() => new q(i, s, t)),
          [o, c, u] = l.getOptimisticResult(s, t.combine);
        h.useSyncExternalStore(
          h.useCallback(
            (e) => (n ? I.l : l.subscribe(z.j.batchCalls(e))),
            [l, n],
          ),
          () => l.getCurrentResult(),
          () => l.getCurrentResult(),
        ),
          h.useEffect(() => {
            l.setQueries(s, t, { listeners: !1 });
          }, [s, t, l]);
        const d = o.some((e, t) => (0, T.EU)(s[t], e))
          ? o.flatMap((e, t) => {
              const r = s[t];
              if (r) {
                const t = new S.$(i, r);
                if ((0, T.EU)(r, e)) return (0, T.iL)(r, t, a);
                (0, T.nE)(e, n) && (0, T.iL)(r, t, a);
              }
              return [];
            })
          : [];
        if (d.length > 0) throw Promise.all(d);
        const m = o.find((e, t) => {
          const r = s[t];
          return (
            r &&
            (0, U.$1)({
              result: e,
              errorResetBoundary: a,
              throwOnError: r.throwOnError,
              query: i.getQueryCache().get(r.queryHash),
            })
          );
        });
        if (null == m ? void 0 : m.error) throw m.error;
        return c(u());
      }
    },
  },
]);
