/**** (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([[179],{76430:(e,t,n)=>{var o={"./sales_brazilian.json":[56195,9513],"./sales_bulgarian.json":[59784,3591],"./sales_czech.json":[33497,5494],"./sales_danish.json":[7401,9561],"./sales_dutch.json":[57409,9828],"./sales_english.json":[12445,1546],"./sales_finnish.json":[87956,3007],"./sales_french.json":[98965,2235],"./sales_german.json":[43093,4293],"./sales_greek.json":[45906,7971],"./sales_hungarian.json":[6131,867],"./sales_indonesian.json":[48340,7192],"./sales_italian.json":[16260,4979],"./sales_japanese.json":[53461,9991],"./sales_koreana.json":[2335,5439],"./sales_latam.json":[55341,7924],"./sales_norwegian.json":[90497,960],"./sales_polish.json":[80600,2723],"./sales_portuguese.json":[57278,6658],"./sales_romanian.json":[30499,9316],"./sales_russian.json":[70338,8805],"./sales_sc_schinese.json":[81081,6715],"./sales_schinese.json":[56194,2373],"./sales_spanish.json":[40545,961],"./sales_swedish.json":[31725,9888],"./sales_tchinese.json":[43004,4819],"./sales_thai.json":[29505,9167],"./sales_turkish.json":[23981,6932],"./sales_ukrainian.json":[59125,2745],"./sales_vietnamese.json":[29509,3202]};function i(e){if(!n.o(o,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=o[e],i=t[0];return n.e(t[1]).then((()=>n.t(i,19)))}i.keys=()=>Object.keys(o),i.id=76430,e.exports=i},60623:(e,t,n)=>{var o={"./sales_brazilian.json":[56195,9513],"./sales_bulgarian.json":[59784,3591],"./sales_czech.json":[33497,5494],"./sales_danish.json":[7401,9561],"./sales_dutch.json":[57409,9828],"./sales_english.json":[12445,1546],"./sales_finnish.json":[87956,3007],"./sales_french.json":[98965,2235],"./sales_german.json":[43093,4293],"./sales_greek.json":[45906,7971],"./sales_hungarian.json":[6131,867],"./sales_indonesian.json":[48340,7192],"./sales_italian.json":[16260,4979],"./sales_japanese.json":[53461,9991],"./sales_koreana.json":[2335,5439],"./sales_latam.json":[55341,7924],"./sales_norwegian.json":[90497,960],"./sales_polish.json":[80600,2723],"./sales_portuguese.json":[57278,6658],"./sales_romanian.json":[30499,9316],"./sales_russian.json":[70338,8805],"./sales_sc_schinese.json":[81081,6715],"./sales_schinese.json":[56194,2373],"./sales_spanish.json":[40545,961],"./sales_swedish.json":[31725,9888],"./sales_tchinese.json":[43004,4819],"./sales_thai.json":[29505,9167],"./sales_turkish.json":[23981,6932],"./sales_ukrainian.json":[59125,2745],"./sales_vietnamese.json":[29509,3202]};function i(e){if(!n.o(o,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=o[e],i=t[0];return n.e(t[1]).then((()=>n.t(i,19)))}i.keys=()=>Object.keys(o),i.id=60623,e.exports=i},71574:(e,t,n)=>{var o={"./shared_arabic.json":[95874,7832],"./shared_brazilian.json":[60338,3298],"./shared_bulgarian.json":[25454,7781],"./shared_czech.json":[44162,8085],"./shared_danish.json":[1519,4183],"./shared_dutch.json":[9437,3602],"./shared_english.json":[44965,131],"./shared_finnish.json":[10966,1953],"./shared_french.json":[37025,4729],"./shared_german.json":[50515,4445],"./shared_greek.json":[93579,6346],"./shared_hungarian.json":[46965,5279],"./shared_indonesian.json":[13386,146],"./shared_italian.json":[42471,4513],"./shared_japanese.json":[36603,27],"./shared_koreana.json":[40931,4469],"./shared_latam.json":[32620,9951],"./shared_norwegian.json":[22406,1261],"./shared_polish.json":[83343,6844],"./shared_portuguese.json":[17810,9854],"./shared_romanian.json":[166,7660],"./shared_russian.json":[66116,6403],"./shared_sc_schinese.json":[59598,4358],"./shared_schinese.json":[43124,755],"./shared_spanish.json":[48770,4097],"./shared_swedish.json":[10731,4487],"./shared_tchinese.json":[57050,9547],"./shared_thai.json":[8799,2138],"./shared_turkish.json":[24416,2738],"./shared_ukrainian.json":[85038,1579],"./shared_vietnamese.json":[23240,8433]};function i(e){if(!n.o(o,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=o[e],i=t[0];return n.e(t[1]).then((()=>n.t(i,19)))}i.keys=()=>Object.keys(o),i.id=71574,e.exports=i},64050:(e,t,n)=>{var o={"./shared_arabic.json":[95874,7832],"./shared_brazilian.json":[60338,3298],"./shared_bulgarian.json":[25454,7781],"./shared_czech.json":[44162,8085],"./shared_danish.json":[1519,4183],"./shared_dutch.json":[9437,3602],"./shared_english.json":[44965,131],"./shared_finnish.json":[10966,1953],"./shared_french.json":[37025,4729],"./shared_german.json":[50515,4445],"./shared_greek.json":[93579,6346],"./shared_hungarian.json":[46965,5279],"./shared_indonesian.json":[13386,146],"./shared_italian.json":[42471,4513],"./shared_japanese.json":[36603,27],"./shared_koreana.json":[40931,4469],"./shared_latam.json":[32620,9951],"./shared_norwegian.json":[22406,1261],"./shared_polish.json":[83343,6844],"./shared_portuguese.json":[17810,9854],"./shared_romanian.json":[166,7660],"./shared_russian.json":[66116,6403],"./shared_sc_schinese.json":[59598,4358],"./shared_schinese.json":[43124,755],"./shared_spanish.json":[48770,4097],"./shared_swedish.json":[10731,4487],"./shared_tchinese.json":[57050,9547],"./shared_thai.json":[8799,2138],"./shared_turkish.json":[24416,2738],"./shared_ukrainian.json":[85038,1579],"./shared_vietnamese.json":[23240,8433]};function i(e){if(!n.o(o,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=o[e],i=t[0];return n.e(t[1]).then((()=>n.t(i,19)))}i.keys=()=>Object.keys(o),i.id=64050,e.exports=i},12923:(e,t,n)=>{var o={"./main_brazilian.json":[69341,6415],"./main_bulgarian.json":[23206,1133],"./main_czech.json":[36549,8282],"./main_danish.json":[77127,8592],"./main_dutch.json":[76209,6962],"./main_english.json":[63336,9665],"./main_finnish.json":[61289,8427],"./main_french.json":[58512,3038],"./main_german.json":[44556,7769],"./main_greek.json":[65805,1311],"./main_hungarian.json":[27137,8274],"./main_indonesian.json":[36507,2603],"./main_italian.json":[34936,5012],"./main_japanese.json":[4940,9233],"./main_koreana.json":[15873,6091],"./main_latam.json":[42065,5277],"./main_norwegian.json":[33242,5757],"./main_polish.json":[82284,8291],"./main_portuguese.json":[93067,617],"./main_romanian.json":[75623,113],"./main_russian.json":[29413,301],"./main_sc_schinese.json":[40475,9389],"./main_schinese.json":[70213,7629],"./main_spanish.json":[30430,8525],"./main_swedish.json":[24235,2351],"./main_tchinese.json":[98532,1195],"./main_thai.json":[84238,5493],"./main_turkish.json":[87821,6457],"./main_ukrainian.json":[26748,2557],"./main_vietnamese.json":[13835,9604]};function i(e){if(!n.o(o,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=o[e],i=t[0];return n.e(t[1]).then((()=>n.t(i,19)))}i.keys=()=>Object.keys(o),i.id=12923,e.exports=i},29790:(e,t,n)=>{var o={"./main_brazilian.json":[69341,6415],"./main_bulgarian.json":[23206,1133],"./main_czech.json":[36549,8282],"./main_danish.json":[77127,8592],"./main_dutch.json":[76209,6962],"./main_english.json":[63336,9665],"./main_finnish.json":[61289,8427],"./main_french.json":[58512,3038],"./main_german.json":[44556,7769],"./main_greek.json":[65805,1311],"./main_hungarian.json":[27137,8274],"./main_indonesian.json":[36507,2603],"./main_italian.json":[34936,5012],"./main_japanese.json":[4940,9233],"./main_koreana.json":[15873,6091],"./main_latam.json":[42065,5277],"./main_norwegian.json":[33242,5757],"./main_polish.json":[82284,8291],"./main_portuguese.json":[93067,617],"./main_romanian.json":[75623,113],"./main_russian.json":[29413,301],"./main_sc_schinese.json":[40475,9389],"./main_schinese.json":[70213,7629],"./main_spanish.json":[30430,8525],"./main_swedish.json":[24235,2351],"./main_tchinese.json":[98532,1195],"./main_thai.json":[84238,5493],"./main_turkish.json":[87821,6457],"./main_ukrainian.json":[26748,2557],"./main_vietnamese.json":[13835,9604]};function i(e){if(!n.o(o,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=o[e],i=t[0];return n.e(t[1]).then((()=>n.t(i,19)))}i.keys=()=>Object.keys(o),i.id=29790,e.exports=i},51194:e=>{e.exports={FocusRingRoot:"_3PH_XZYjqRMfVtlm5hbWz3",FocusRing:"_1IZrQ5Gmmvv0TMVF07zSq0",flash:"_1YTKZzpZzBEruHqjfaSm2q",growOutline:"Z3LxSTUmQb5RlaA4-G2RD",fadeOutline:"_2hZu3k2oOq-M2UmoA0An2N",blinker:"_3wFMMgT2t6sECeNlGtBjDN",DebugFocusRing:"YxeOZVLgl_cW7IESy3NHt",FocusRingOnHiddenItem:"_2OusVQKikkszayzpUDX35h"}},87123:e=>{e.exports={ScrollPanel:"_1CXdiS1qYxpxp_UoUYeo1k",ScrollY:"_313lBO-jwNHzNrjZznA-74",ScrollX:"_1oRGoiP88OvaMu0R8O6zNR",ScrollBoth:"_3S2KoD34fIYgAqKqp_j4F4"}},74736:e=>{e.exports={HoverPosition:"_3XUANycKE9h4rEXlPo3TIW",Ready:"qEo88cpdjUGTMNgC_QK8c",NoSpace:"_2NTbbe3ZK4ExTBIfPyPTpZ",EnablePointerEvents:"_2MP9nTdz-JMvAvlIcFdd8r",HoverAboveModal:"_1SHX2kGS9WtIThx3v7JOV-",HoverPositionOuter:"EUN4GPmCCaj1QX2Yy9CVb"}},27241:e=>{e.exports={"duration-app-launch":"800ms",ContextMenuMouseOverlay:"pu9cOpUMN0Q4mmIX2WZPl",ContextMenuFocusContainer:"_2qyBZV8YvxstXuSKiYDF19",contextMenu:"LQkrbbayZPY11qHm01t7F",ContextMenuPopup:"_2GpKTB_eizdXpH2xVGbMKi",contextMenuContents:"_2y2tUbsMx8OIwkimGSyHmb",contextMenuItem:"pFo3kQOzrl9qVLPXXGIMp",active:"_1KPWUt7wYWSfD3V7sYpsyT",MenuSectionHeader:"_2Q7u1fQF0a2A_2xSIDV2SR",ContextMenuSeparator:"_1F2EcTc-0vNkdiBz8ATakM",NoSeparation:"_3twt275mAolCcqrtO-59f2",UpperCase:"_2ZwZjZKSz-6JfDSbPDOipQ",SubMenu:"jVo8TLdJLQjHUL3pO8px9",Label:"_38fI0DDIZFjiJ8-vBlvzMT",Arrow:"_2NKnRaE_GTR4HoJdhr_fDM",IconContainer:"J6UFbJ6N78NGDtokLDl4R",ContextMenuHRSeparator:"_3Ac-MSxrQqUlE1OuKnETqa",ForceDesktop:"_7K1n9EZg9218K75ZOzcHl",PopoutSubMenu:"IpTgn1Zy8PpuhRakOTeAu",PopoutSubMenuItems:"y5L1fJRNiyJszsBNKnIMv"}},97696:e=>{e.exports={DialogDropDownMenu_Item:"_1R-DVEa2yqX0no8BYLtn9N",DialogDropDownMenu:"_1tiuYeMmTc9DMG4mhgaQ5w"}},64012:e=>{e.exports={DropDownLabelContainer:"_2wVxOfRdsjOPgSC1Gi13mP",DropDownLabelIconContainer:"_3nHUn_xAMbh8-8jkezi4Uf",DropDownLabelTextColumn:"P4jYQ15F_jKksIIFQNOQC",DropDownLabelTitle:"uDBZWGBy_BP0IFXToHYjk",DropDownLabelUpperDescription:"_2_JN3g32-zWsCBoU8R8yzG",DropDownLabelDescription:"_1JPcbbojrgNM_FTODskCRa"}},99967:e=>{e.exports={"duration-app-launch":"800ms",GamepadDialogContent:"_3joNkY6kRyL-6RK1rKIrV2",GamepadDialogContent_InnerWidth:"_3XeydYM9PEBVW2iTkFcpDS",Field:"S-_LaQG5eEOM2HWZ-geJI",Button:"_1kn7017HPxqS3NKx_wnI4e",NoMinWidth:"_21cihLI2EMdS6hOPGuEIT8",ActiveAndUnfocused:"_11tOPninQ5qef9jHYBccjV",StandaloneFieldSeparator:"_23kNbTg9_TY8TV_uLN8MJy",StandardPadding:"XRBFu6jAfd5kH9a3V8q_x",CompactPadding:"_1DIZQm8Vp2NVirFkTTuKcF",WithDescription:"_3bMISJvxiSHPx1ol-0Aswn",WithBottomSeparatorStandard:"_3s1Rkl6cFOze_SdV2g-AFo",WithBottomSeparatorThick:"_28hmyYPpB6U3AhU3i93m4q",HighlightOnFocus:"wE4V6Ei2Sy2qWDo_XNcwn",Clickable:"_27UVYW_V-GslmLf0-gfVCM",Disabled:"_1pmyxI3wxLrWwGnc52yVns",WithBottomSeparator:"_1lUZxgL06M64Pd0dTKSTyk","ItemFocusAnim-darkerGrey":"_3ZRaK9N59f2GlQwXn_I2PP","ItemFocusAnim-darkGrey":"_2zfa-F0ZSlbWhS6wq8vMdp",FieldChildrenWithIcon:"_2ZQ9wHACVFqZcufK_WRGPM",FieldChildrenInner:"_3N47t_-VlHS8JAEptE5rlR",FieldClickTarget:"TN6vN88R7oq-393_YwVGd",FieldIcon:"_1sC68UJqI3ry5Gnk5cnH9U",Front:"YngiULyDFSZ6zgqqD2HZv",BeforeChildren:"_1qtqBLJ3RtTjpSZECAD0Xr",FieldLabelRow:"H9WOq6bV_VhQ4QjJS_Bxg",VerticalAlignCenter:"_3XNvAmJ9bv_xuKx5YUkP-5",InlineWrapShiftsChildrenBelow:"pHUb63vb7yLjlsvZSLQAk",ExtraPaddingOnChildrenBelow:"_5UO-_VhgFhDWlkDIOZcn_",ChildrenWidthFixed:"_1ugIUbowxDg0qM0pJUbBRM",ChildrenWidthGrow:"_Oeqvtl9-rkcGHLG_8-Bu",WithFirstRow:"qFXi6I-Cs0mJjTjqGXWZA",WithChildrenBelow:"_1u5FTYl4sD9y1KMWvCggAO",FieldLabel:"_3b0U-QDD-uhFpw6xM716fw",FieldLabelValue:"lcD7JwtsRxFA78_NDNzGr",FieldDescription:"_2OJfkxlD3X9p8Ygu1vR7Lr",ModalPosition:"_30VHlA4G1lPFjpUGGpt8iu",VR:"_1sYg0MfVV3lExuSqxVIDl8",WithStandardPadding:"_1s9-eDUK8B2XQzyryPSKki",NoHeaderPadding:"_2kAHXSCQSnn_86diAEaYp0",ModalClickToDismiss:"_2szdGcwEfYbQFSC5LUZ2Zk",slideInAnimation:"_17KuO6EZhl9laTwWJZnsTP",ScrollWithin:"_2y_Up4wWFyT8AULYBSi_eo",BasicTextInput:"_3GCBiQSfTTBlpriDamDKBV",Toggle:"_24G4gV0rYtRbebXM44GkKk",ToggleRail:"_2JtC3JSLKaOtdpAVEACsG1",On:"_3ld7THBuSMiFtcB_Wo165i",ToggleSwitch:"_3__ODLQXuoDAX41pQbgHf9",LabelFieldValue:"_5MylhHd8PK_zUS95p0n-1",DropDownControlButtonContents:"LzvediNQdGegZQ8wjCDIZ",Spacer:"_3nOZQD8c3VJ9ypIOJoNERZ",DropDownRow:"xCbGIYX-Ofm52x9HWfSL_",IconContainer:"_223iJLPZZTCnykXEb6Ubz3",Label:"SqnsK0BFKkDNe1Ty0laLt",ControlsListOuterPanel:"_2Mvpu0Kldp2FgzYp0Tx-OP",StandardSpacing:"E-It0s_4FBljpfdIM1OXO",ExtraSpacing:"_3YMmGt3id8hjkzKuUwPaU9",ItemMaxSizeDesktop:"LFWdf_kEag5nfyHdl0Dlv",AlignRight:"_4eBGApwI8PJJ_demUf2n9",AlignLeft:"_2N3q6hYt7WttFXomuhGs9s",AlignCenter:"_3groUm_cODLA260YI1QW2q",FullWidth:"_1a_HObsloATE70dbQ_4ez1",ControlsListChild:"XvRsoF63hkSPNVBr2XPVI","QuickAccess-Menu":"_1YEXnCx25S2OrHeMkBQ5mf",BottomButtons:"_3_EvpXK_JWLTD7HqnJRESk",BackgroundAnimation:"_1_Rc0oEjNAd-iCYRQ5_FOm","ItemFocusAnim-darkerGrey-nocolor":"_20uOg74f-aQcCeKcE3x14U","ItemFocusAnim-grey":"_37Ohc8lwo9mBIeU01SZT5G","ItemFocusAnim-translucent-white-10":"YLWBZJlBzdpw-Ps2-ckQ6","ItemFocusAnim-translucent-white-20":"_1hX6Y1JhQnd65G4HbxzJwo","ItemFocusAnimBorder-darkGrey":"_8BINskL0lK1EakDMXV1hq","ItemFocusAnim-green":"wPuMlzH5b3rp2_78l7o9r",focusAnimation:"PlqwmVAzSN58jrWbVRo0V",hoverAnimation:"_22zeKzy5kIdE2k7OQ_n14i"}},81921:e=>{e.exports={"duration-app-launch":"800ms",DropDownControlButton:"_28bny-9cz71SOMbuLQQkQA"}},20204:e=>{e.exports={TogglePasswordVisibilityBtn:"_1Z-CctcUAd2cuoe30TyZMb",Digits:"znEp6EwA5lpfa-_93eqkM",PinDigit:"_1oiQ56h0luQ50rEza0T7hV"}},74491:e=>{e.exports={"duration-app-launch":"800ms",PagedSettingsDialog:"_2P_CGCggNDc72p0hKDdZrb",PagedSettingsDialog_PageContent:"wIOLOQKKPuLgY4IZ8NEEs",NoPadding:"_2BpB-fMDEbYRxrXVNy1Ciu",PagedSettingsDialog_PageListColumn:"_2EZ3ouQtA9IbManxqNnvA1",PagedSettingsDialog_Title:"_1Px9ukfy7b7T2NuVqMDQ8C",PagedSettingsDialog_PageList:"_3c_Jp_a4-eR0-rTZ4P7Sve",PagedSettingsDialog_PageList_DisableScrolling:"_2brQEAt9nGh8jioAwiQGTi",PagedSettingsDialog_PageList_ShowTitle:"d113OWu_OjkdR2vq0yS4S",PageSettingsDialog_PageList_NoHeaderPadding:"_2vaiq5TbRxQ7G1EdvkhoWu",PagedSettingsDialog_PageListItem:"_1ix7rZL2Pvv5c98VUx91on",DisabledItem:"_3Lp2fJUSU_c5MNIeitoAF",Active:"_22LLBKepb_vE9CzP72j37V","ItemFocusAnim-darkerGrey":"ur7guBeTwV8PrAJyW0coV","ItemFocusAnim-darkGrey":"_3qFxlI6ulBZs0LAxE2HH84",PageListItem_Icon:"_1F_5QathRzG24VcbGeS4d6",PageListItem_Title:"_2PPLvVfTY7IMf4TTVa57vQ",Separator:"_3vV7luh3gv8KrX3yv-QeSH",PagedSettingDialog_ContentColumn:"_3JPleAZbLDWQNJajW0T1fM",Up:"_3Qp0kr0XErRbQRRvYg1ss",ContentTransition:"NCmolI-2Q6Dhdja8hKYhc",Enter:"_2x_gOmvPp1yMBbRVCDoemq",EnterActive:"_1JBp4lU4wnxIWMC-gQJMqd",Exit:"_1lJGyskqN3UJy70HHseYrG",ExitActive:"_1fljM5Nm8uQjb34T0wv8L6",Down:"_37IKRgWRQ2TNJUOE3b5j0H",BackgroundAnimation:"Lezt5wmw8FuQcvjsZyd3i","ItemFocusAnim-darkerGrey-nocolor":"_3M5nCisK-oCh6nkRFQOY_E","ItemFocusAnim-grey":"_1fG-jZ2FFm015Mis8HgeP","ItemFocusAnim-translucent-white-10":"_3_Y-eF7PXEum5N94NA71VY","ItemFocusAnim-translucent-white-20":"_2NdaOzSchXl5eKnN9YVCbQ","ItemFocusAnimBorder-darkGrey":"_2l2lkej10sb_Bp22hxJ-Cv","ItemFocusAnim-green":"HSYwKiHY58PGv1kEw_OqF",focusAnimation:"nKO5M0taEElbg5yGEbo73",hoverAnimation:"vXWdQTqO5HuufEyycJL2T"}},13708:e=>{e.exports={"duration-app-launch":"800ms","error-shake-duration":"500ms",SliderControlPanelGroup:"MY8iYjSUBt6cezwjPvtWp",SliderControlAndNotches:"_1Cccx-a5SBDaDmN3xR8PV1",WithDefaultValue:"_1t8of8LGkzYgP2BJKY8wSX",SliderControl:"_3o137DBNF03ytbLBl2jPri",Disabled:"_1lI1N9gfJs3s_Gfo1F_4-D",SliderTrack:"Mq25Nap224hVdTdtXSsnq",SliderHasNotches:"_2XiAyVOl4QrUqofSC3IGA3",DefaultValueIsColorRange:"_2xK5B-wDXlgY-8qHYyUI3i",DefaultValueColorLeft:"uanTsGchIL7AW8XzKY-3v",DefaultValueColorRight:"_3aFKYalqis1i6P8OLTyWX7",SliderTrackDark:"_3UIUDh2q1nXDaHbWOLCILH",SliderHandleContainer:"_1pQZiklDl2xXiNsZ6Uvy_a",VerticalLineSliderHandleContainer:"_1lQz2japXLRHldtR7-ZDZl",ParenSliderHandleContainer:"_3ubaMuINb3B2SomD6h8fe6",SliderHandle:"_2yVKjlAVW3txkGmVpX9G8i",SliderHandleFocusPop:"_2lNxL6U6dIi2bYSJ5Z7sPz",VerticalLineSliderHandle:"i3l9tX0t4uqz4Q2oVK5Q-",ParenSliderHandle:"_3ZGMEKq1IUwilkKWSzJi-l",Left:"_1PL0awDqGBV6cLVicc-VKF",Icon:"_21uKinb5EXvbyc8CvukINm",SliderNotchContainer:"_2N-a5Onx7LEqonNgWc_Eq5",SliderNotch:"_3x6veTpXM67YGCg0y5gfOl",AlignToEnds:"_2SgU_ksVhRSkm8_uq5Cjz_",SliderNotchLabel:"u_sH1WTT856KgeLf7S0EZ",AlignToLeft:"_3CtMn3lhG9gom31tUt6nY5",AlignToRight:"_eiEPnYBQu7aKrOiXAWJC",SliderNotchTick:"Fv1HtHd8WS-PIZnAq_vC0",TickActive:"_1gnUVUYrOfFMR2_U2YfebL",LabelText:"_1-PvKyVCqRu3M8-AWETzj6",DescriptionValue:"_2oRwFaVMzVZ-cMk0tPPtCP",EditableValue:"_2DXnlaGsSVGY9MbHDPXsec",FakeEditableValue:"_1-lyBxX5NpJ9_Ij1w3qxX0",RedBorder:"_1h5To6Vc0HQCY6LE-Zpg7z",ErrorShake:"_2SGoMcfCZ2Z3PXH8Yu3_0F","error-shake":"_3HxdORGQyi-_wzl26nOHdq",CompoundSlider:"_3Q4jT2WcmoJ8ljt1ckQNpF",CompoundSliderSubSlider:"_20HO3W7Dy2NYHTkrJxC2Hx",Right:"syN8nA_jgsJm4oHGF0JV3",CompoundSliderSubSliderLabelContainer:"_1h_oebePbE2PTmDJpNahSQ",CompoundSliderSubSliderLabelPositioner:"mKcUnPOPhSvWeLY7wxpIS",CompoundSliderSubSliderLabel:"iYrz97SrsrO228cdnM-T5",CompoundSliderSubSliderLabelInternal:"_1dkDUfU5yqAAv-jgpipoYo",DefaultValueTickContainer:"_23F6ABe8GsjCOEWml-L0Xz",DefaultValueTick:"_1WFYbdGNkz-psgihc4g_M1",BackgroundAnimation:"_3cacE0DBS8iu4jK2huzatx","ItemFocusAnim-darkerGrey-nocolor":"_2ieuB49H_AbNMxnoiql8vl","ItemFocusAnim-darkerGrey":"rV8edc-V9QZCJb8AXqLv0","ItemFocusAnim-darkGrey":"_3mh_qpQwKn-pmCp-3Mg9yj","ItemFocusAnim-grey":"v4-MhNp9ZkuFpnKOzuaRk","ItemFocusAnim-translucent-white-10":"_10l9qTfXF_K1uTe6vjwvrI","ItemFocusAnim-translucent-white-20":"_1OCQ4bra9HRrd6m8HNa_QQ","ItemFocusAnimBorder-darkGrey":"_3Kc9jyseSOzfi-ZvTAtot9","ItemFocusAnim-green":"_8o7mUwYKsk4Du3A3WpC-2"}},40093:e=>{e.exports={"duration-app-launch":"800ms",PagedSettingsDialog:"_3I6h_oySuLmmLY9TjIKT9s",PagedSettingsDialog_PageContent:"_1I3NifxqTHCkE-2DeritAs",NoPadding:"_1iWhHeynPmLcXcAebKsalK",PagedSettingsDialog_PageListColumn:"RTicBCbDcEGkjsbmWzA8C",Hidden:"_1uk_4ujCnZKFDlDXM_LWdF",NewNoteButton:"sc_I7jHX2S2xw8Ou6KgP8",PagedSettingsDialog_Title:"_3qEgQJqeb0zyM12KXq64Or",PagedSettingsDialog_PageList:"_EebF_xe4DGRZ9a0XkyDj",PagedSettingsDialog_PageList_DisableScrolling:"_36SrgqA3nPhqhDB9AkRbSc",PagedSettingsDialog_PageListItem:"bkfjn0yka2uHNqEvWZaTJ",PageListItem_Icon:"U6HcKswXzjmWtFxbjxuz4",PageListItem_Title:"_2X9_IsQsEJDpAd2JGrHdJI",DisabledItem:"_1RDp9x1K3WsjXf7hYWmmiX",Active:"Myra7iGjzCdMPzitboVfh",PageListSpacer:"_33lCZVHm3IW1fUgl7-zhnx",PageListSeparator:"_1UEEmNDZ7Ta3enwTf5T0O0",Transparent:"SeoUZ6M01FoetLA2uCUtT",HidePageListButton:"_3i4EpiSDpxQHVFExxUa1Zp"}},27363:e=>{e.exports={Group:"_2qYC3gFAkLcB48i6dTz051",Button:"_3lwcRYJ_r7x01Cn15bcdYI",Disabled:"_3Yc8UCsmMtheFi5YrgQO-p",Active:"_3ZBFoxumQBb1JEVw_DZzaC"}},24672:e=>{e.exports={Toggle:"_3jXWQl2Xun5nCqu_XZuWlx",Disabled:"_2V_kUPdu717hnIpy_2KM5L",ToggleRail:"GKYwHIpJCXaWh3_8eEfAc",Highlight:"_2l9tHgvLGdcJ28Ttj7MBdg",On:"_1YqUAESt7qu1Zh60YEX9UF",Off:"_3_gMXEo1MJCh__1oPRZVrl",ToggleSwitch:"_2mW8B6npDIK23Ft0oWU46I",ToggleRow:"RFRVY1zEAMhZEG0e7yHhK",Label:"_2sb8qdRMMZUTcYeFjOsMe"}},37990:e=>{e.exports={Spinner:"_2Hc4fTsuerNhm5znqO8oEU",SpinnerSpokeFade:"_2QBT4miG3pEx5Ay49P3zfO",WirelessConnectingActive:"UCVKttzop_epYxSxD8Tai",WifiBar1:"_25g4S4xBiAN0aPLg3avRdB",WifiBar1Anim:"_3WnTDLQV56r5yIkWft09mx",WifiBar2:"_1UtwlfIX_G1aEFEODw7b_1",WifiBar2Anim:"_3BoKoNHd6Lou5gNi7gRJ8",WifiBar3:"zZxOyqUSg1ubghCYGtZlN",WifiBar3Anim:"_1C2Pjh--hLCrEkG-mfneeo",WifiBar4:"_23OJcxlxtSraprZCKOauOv",WifiBar4Anim:"bMD58yf9RKEYU35SagsCV",GenericGamepadHighlight:"_1zfyDXN323iXxU7QFog0Hp",GenericGamepadEmpty:"_3zuMWG9iFA6sAG-HyiKrH1"}},58412:e=>{e.exports={BodyNoScroll:"_3ItVl5yHyoIzbT-OEavM23",BodyNoScrollDialog:"_3lrlAZAJPhZF96afnFP60d",OverlayModal:"_1RM4plj6KXEz75LarkzWYW",GamepadOnlyModalWrapper:"_3tgceAT6NY-l8_0N8vJVhD",GamepadOnlyPanelWrapper:"_1vgBET-1EU0j0JXAqd42u4"}},49632:e=>{e.exports={ParentalPINDialog:"_176OW7bm2DlpiaHpiUGsCK",ParentalUnlock:"_26x49M4hs3q9L9IJm6wCef",ParentalRequest:"_3CX0pjh6AQTAECXUu59Yq6",Body:"_3Vbr2dXh-ZReDLPQUDPTWj",Title:"heMWC0R5OYrSytpbVjQvZ",ErrorText:"_332ybmOctIiXAdjLt58Qqh",TextInput:"_2WMdvsfJ-0rwRExirsDw46",ButtonWrapper:"Q7uvxJpnTZRC-d92zJwxa",Button:"_1v4JsoSgsuK4z7jzvyADkr"}},84935:e=>{e.exports={ManualOverlayContainer:"_1iHWaZjEx7pO77X0aeK-gY",DropDownRow:"b20-bya47vt1V15kCtpyH",IconContainer:"_2w5uFbZXyrg-SQGT_edugF",Label:"_1RRTQEK74pmlpLJsdGTY0_"}},7765:e=>{e.exports={v6:"_3r3LeMDqAWrWz5yemfRZrr",SubText:"_3Ctn8z4OyGV9MBod7YNr6-",AvatarImageContainer:"_10L8evhSrx2eeQJ0fei915",GameImageContainer:"_2opUaJnY6NOPvR5IVKYaL1",AvatarImage:"_3GB710zAzAnS2XrcJNMPUH",STV_HomeGridPreviewDetails:"h3usSTJi7GnFFN6LL-VLV",ChatAvatarImage:"_1GZJGsi-EOiVvsSg6DeinE",EditButton:"utVo_5sJ20VNS9XKs89ZS",Small:"_2MbrVNjLgQbsQTv3OCfrO0",FlexCenter:"_24qeH7UeGNtRNxbdhD5ODx",ThrobberCtn:"r-SBjvROnx8UafET_3x2e",MarkdownLink:"_2KgeHD329pvCJr1xvKQT9B",SummaryTextArea:"_2xqdReHqqH6BGLQjBfqUkb",RemoveIcon:"_1iOrEj79rxXXMqQLk3gqfQ"}},45691:e=>{e.exports={"duration-app-launch":"800ms",EmoticonBow:"S9_rtPcEuu70u2OOV-egc",EmoticonBow_st0:"_1MS_8abHufZMpS5b6d9Hmx",EmoticonBow_st1:"_3nqUNkFEGhT_NAyO2pzTdf",SteamDeckCompatInfo:"_2LcFIT3jWqcaUW0dGnVwie",SteamDeckCompatLogo:"Tplfb7q8fegNrMFf822ZS",SteamDeckCompatIcon:"_2hEWYXcqrdo3PPQfF5ldF4",SteamDeckCompatVerified:"_3mvZqebsUKh5KtZdhJm_OJ",SteamDeckCompatPlayable:"S7BDmthsl8-xF7aEuDW-E",SteamDeckCompatUnsupported:"_1SeOP2727kq8F4yXLQVkiN",SteamDeckCompatUnknown:"_15dEsyOLWcvaqEtVZE1yG2"}},81212:e=>{e.exports={TextToolTip:"_29b2a87G5A5NZeYh5Kgvea",ToolTipCustom:"_3Dt__IV9HmQY4KgsvaOz1i",ToolTipTitle:"_3YNfm7dGrnyUD_jVsU9L7",Center:"_2-PU0n9-KvYusAgl9Ui9mC",ToolTipInsetContent:"_1nxOnnCuHV-WYfXeUtBTKf"}},53909:e=>{e.exports={TransitionGroup:"_11Twu0o4V-XsRzf4a8iPXR",ContentWrapper:"_1knAsslT5L-Hzp4pKrcP8N"}},77115:(e,t,n)=>{"use strict";n.d(t,{A:()=>o,U:()=>i});const o="{STEAM_CLAN_IMAGE}",i="{STEAM_CLAN_LOC_IMAGE}"},53923:(e,t,n)=>{"use strict";n.d(t,{B:()=>r,M:()=>s});var o=n(47427);const i=(0,o.createContext)(void 0),r=i.Provider,s=()=>{const e=(0,o.useContext)(i);if(!e)throw new Error("called useActiveAccount outside of ActiveAccountProvider");return e.useActiveAccount()}},75683:(e,t,n)=>{"use strict";n.d(t,{Bu:()=>v,T8:()=>g,X1:()=>p,gS:()=>_,nh:()=>f});var o=n(85556),i=n(42718),r=n(79545),s=n(40057),a=n(32830),l=(n(93124),n(82182),n(37563),n(14476)),c=n(46009),u=n(53923);n(35427),n(47427);function d(e){return["parentalsettings",e]}function h(e){const t=e.applist_base.concat(e.applist_custom);return new Map(t.map((e=>[e.appid,e.is_allowed])))}function m(e,t){return(0,o.mG)(this,void 0,void 0,(function*(){const n=r.gA.Init(a.RR);n.Body().set_steamid(t);const o=yield a.pR.GetParentalSettings(e,n);if(1!=o.GetEResult())throw new Error(`Error from GetParentalSettings: ${o.GetEResult()}`);const i=o.Body().settings().toObject();if(!i.playtime_restrictions){const e={apply_playtime_restrictions:!1,playtime_days:Array(7).fill({allowed_time_windows:BigInt(0xffffffffffff).toString(),allowed_daily_minutes:1440})};i.playtime_restrictions=e}return{settings:i,mapAppsAllowed:h(i)}}))}function p(e){const t=(0,s.bY)();return(0,i.useQuery)(d(e),{queryFn:()=>(0,o.mG)(this,void 0,void 0,(function*(){return yield m(t,e)})),placeholderData:{settings:void 0,mapAppsAllowed:void 0}})}function g(){const e=(0,s.bY)(),t=(0,u.M)(),n=(0,c.bG)("steamparental"),l=function(){const e=(0,c.bG)("clientsessionid"),t=(0,c.bG)("sessionid");return e||t}();let d=n,h=(null==d?void 0:d.split("||"))||[];2==h.length&&(d=h[1]);const m=d&&"0"!==d?l+"||"+d:void 0,p=(0,i.useQuery)(function(e,t){return["validateparentaltoken",e,t]}(t,m),(()=>(0,o.mG)(this,void 0,void 0,(function*(){if(!m)return 15;const t=r.gA.Init(a.LD);t.Body().set_unlock_token(m);return(yield a.pR.ValidateToken(e,t)).GetEResult()}))));return!p.isSuccess||1!==p.data}function v(e,t,n){if(!e)return!0;if(!e.is_enabled)return!1;if(t==l.zE||null==t)return!1;if(!n)return!1;if(t==l.JY)return!0;const o=e.enabled_features;return!o||0==(o&1<(0,o.mG)(this,void 0,void 0,(function*(){if(t!==l.JY&&t!==l.zE){const n=r.gA.Init(a.BT);n.Body().set_steamid(e),n.Body().set_features(1<{"use strict";n.d(t,{P9:()=>a,Ub:()=>l,bY:()=>c,be:()=>u,lS:()=>h,y$:()=>d});var o=n(47427),i=n(62210);const r=o.createContext(void 0),s=r.Provider,a=()=>{const e=o.useContext(r);if(!e)throw new Error("called useActiveServiceTransportContext outside of ServiceTransportProvider");return e};function l(e){const{useStorage:t,children:n}=e;let r,a;"useActiveCMInterface"in e?a=r=e.useActiveCMInterface:"useActiveSteamInterface"in e?a=e.useActiveSteamInterface:(0,i.Z)(e,"neither useActiveCMInterface nor useActiveSteamInterface were provided");const l=o.useMemo((()=>({useActiveSteamInterface:a,useActiveCMInterface:r,useStorage:t})),[a,r,t]);return o.createElement(s,{value:l},n)}const c=()=>a().useActiveSteamInterface().GetServiceTransport(),u=()=>a().useActiveSteamInterface().GetAnonymousServiceTransport(),d=()=>a().useStorage(),h=()=>a().useActiveSteamInterface()},61134:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(85556);class i{GetObject(e){return(0,o.mG)(this,void 0,void 0,(function*(){try{const t=yield this.GetString(e);return t?JSON.parse(t):null}catch(e){return null}}))}StoreObject(e,t){return(0,o.mG)(this,void 0,void 0,(function*(){return this.StoreString(e,JSON.stringify(t))}))}}class r extends i{GetString(e){return Promise.resolve(localStorage.getItem(e))}StoreString(e,t){return localStorage.setItem(e,t),Promise.resolve()}RemoveObject(e){return localStorage.removeItem(e),Promise.resolve()}}},77131:(e,t,n)=>{"use strict";n.d(t,{R:()=>_,N:()=>C});var o=n(85556),i=n(77936),r=n(20417),s=n(90938),a=n(79545),l=n(2260),c=n(68785),u=n(62210),d=(n(24308),n(54842));class h{constructor(){this.m_mapCallbacks=new Map,this.m_rgRegisteredEMsgs=[],this.m_mapServiceMethodHandlers=new Map,this.m_rgRegisteredServiceMethodHandlers=[],(0,d.rC)(this)}InstallErrorReportingStore(e){this.m_ErrorReportingStore=e}DispatchMsgToHandlers(e,t){let n=e.GetEMsg();if(146==n){let n=e.Hdr().target_job_name();if(n){let o=this.m_mapServiceMethodHandlers.get(n);if(o){this.DEBUG_LogMessageDispatch(e,o[0]);for(let n of o)try{n.invoke(e,t)}catch(e){e instanceof Error&&this.m_ErrorReportingStore?this.m_ErrorReportingStore.ReportError(e):console.error("MessageHandlers failed to dispatch message to handler: ",e)}return!0}}}else{let t=this.m_mapCallbacks.get(n);if(t){this.DEBUG_LogMessageDispatch(e,t[0]);for(let n of t)try{n.invoke(e)}catch(e){e instanceof Error&&this.m_ErrorReportingStore?this.m_ErrorReportingStore.ReportError(e):console.error("MessageHandlers failed to dispatch message to handler: ",e)}return!0}}return!1}DEBUG_LogMessageDispatch(e,t){0}get emsg_list(){return this.m_rgRegisteredEMsgs}get servicemethod_list(){return this.m_rgRegisteredServiceMethodHandlers}AddCallback(e,t,n){let o=this.m_mapCallbacks.get(e);return o||(o=[],this.m_mapCallbacks.set(e,o),this.m_rgRegisteredEMsgs.push(e)),o.push({invoke:n,msgClass:t}),{invoke:n,unregister:()=>{let t=this.m_mapCallbacks.get(e);if(t)for(let e=0;e{let i=a.gA.InitFromMsg(e.request,n),r=a.gA.Init(e.response,147),s=t(i,r),l=e=>{r.Hdr().set_eresult(e),o(r)};s instanceof Promise?s.then(l).catch((()=>{l(2)})):l(s)};return this.m_mapServiceMethodHandlers.has(e.name)?console.error("Duplicate registration for method "+e.name):(this.m_mapServiceMethodHandlers.set(e.name,[{invoke:n,msgClass:e.request}]),this.m_rgRegisteredServiceMethodHandlers.push(e.name)),{invoke:n,unregister:()=>{let t=this.m_mapServiceMethodHandlers.get(e.name);if(t)for(let e=0;e{let i=a.gA.InitFromMsg(e.request,n);t(i)},o=this.m_mapServiceMethodHandlers.get(e.name);return o||(o=[],this.m_mapServiceMethodHandlers.set(e.name,o),this.m_rgRegisteredServiceMethodHandlers.push(e.name)),o.push({invoke:n,msgClass:e.request}),{invoke:n,unregister:()=>{let t=this.m_mapServiceMethodHandlers.get(e.name);if(t)for(let e=0;e{n(a.gA.InitFromMsg(t,e))}))}RegisterEMessageAction(e,t,n){return this.AddCallback(e,t,(e=>{(0,d.z)((()=>{n(a.gA.InitFromMsg(t,e))}))}))}RegisterServiceNotificationHandler(e,t){return this.AddServiceNotificationHandler(e,t)}RegisterServiceNotificationHandlerAction(e,t){return this.AddServiceNotificationHandler(e,(e=>{let n;return(0,d.z)((()=>{n=t(e)})),n}))}RegisterServiceMethodHandler(e,t){return this.AddServiceMethodHandler(e,t)}RegisterServiceMethodHandlerAction(e,t){return this.AddServiceMethodHandler(e,((e,n)=>{let o;return(0,d.z)((()=>{o=t(e,n)})),o}))}}(0,o.gn)([d.LO],h.prototype,"m_rgRegisteredEMsgs",void 0),(0,o.gn)([d.LO],h.prototype,"m_rgRegisteredServiceMethodHandlers",void 0);var m=n(24701),p=n(65255),g=n(45651);class v{constructor(e,t){var n,o,i,r,s,a,l;this.m_socket=null,this.Log=new c.sO("CWebSocketConnection",(()=>this.m_sName)),this.m_bDisconnectRequested=!1,this.m_bConnecting=!1,this.m_sName=e,this.m_fnOnMessageHandler=t.fnOnMessageHandler,this.m_fnOnCloseHandler=t.fnOnCloseHandler,this.m_fnOnReconnectStartHandler=null!==(n=t.fnOnReconnectStartHandler)&&void 0!==n?n:()=>{},this.m_fnOnReconnectFinishHandler=null!==(o=t.fnOnReconnectFinishHandler)&&void 0!==o?o:()=>{},this.m_nConnectAttemptsMax=null!==(i=t.nConnectAttemptsMax)&&void 0!==i?i:8,this.m_nConnectAttemptTimeoutMs=null!==(r=t.nConnectAttemptTimeoutMs)&&void 0!==r?r:1e3,this.m_bReconnectOnFailure=null!==(s=t.bReconnectOnFailure)&&void 0!==s&&s,this.m_nReconnectAttemptsMax=null!==(a=t.nReconnectAttemptsMax)&&void 0!==a?a:3e4,this.m_nReconnectAttemptTimeoutMs=null!==(l=t.nReconnectAttemptTimeoutMs)&&void 0!==l?l:1e4}get name(){return this.m_sName}Connect(e){return(0,o.mG)(this,void 0,void 0,(function*(){return this.m_sURL=e,this.ConnectWithRetry(this.m_sURL,this.m_nConnectAttemptsMax,this.m_nConnectAttemptTimeoutMs)}))}Reconnect(){return(0,o.mG)(this,void 0,void 0,(function*(){return this.ConnectWithRetry(this.m_sURL,this.m_nReconnectAttemptsMax,this.m_nReconnectAttemptTimeoutMs)}))}GetInterAttemptBackoffMs(e){return 1e3*(0,g.Lh)(e,1,5)}ConnectWithRetry(e,t,n){return(0,o.mG)(this,void 0,void 0,(function*(){this.m_bConnecting=!0;let o=0;do{try{const t=yield this.ConnectToSocket(e,n);if(1==t.result)return this.m_bConnecting=!1,t;this.Log.Warning(`connect attempt failed: ${t.result} - ${t.message}`)}catch(e){this.Log.Warning(`connect attempt failed: exception ${e.name} - ${e}`)}const i=this.GetInterAttemptBackoffMs(o);this.Log.Info(`connect retry: attempt:${o}/${t} backoff:${i}`),yield new Promise((e=>setTimeout(e,i))),this.m_socket=null,o+=1}while(o0;)n--,yield new Promise((e=>setTimeout(e,100)));return e.readyState==WebSocket.OPEN}))}BCanSendMessages(){return null!=this.m_socket&&this.m_socket.readyState==WebSocket.OPEN}OnSocketError(e){this.Log.Warning("websocket error")}OnSocketOpen(e){this.Log.Info("websocket open")}OnSocketClose(e){if(this.m_bDisconnectRequested)return this.Log.Info("websocket closed"),void this.m_fnOnCloseHandler({connection:this,bError:!1,bIsExpectedToReconnect:!1});if(this.m_bConnecting)return;this.Log.Warning("websocket unexpectedly closed");const t=this.BShouldReconnect();this.m_fnOnCloseHandler({connection:this,bError:!0,bIsExpectedToReconnect:t}),t&&this.StartReconnect()}OnSocketMessage(e){return(0,o.mG)(this,void 0,void 0,(function*(){this.m_fnOnMessageHandler(e.data)}))}SendSerializedMessage(e){try{return this.m_socket.send(e),1}catch(e){return 2}}}(0,o.gn)([r.ak],v.prototype,"OnSocketError",null),(0,o.gn)([r.ak],v.prototype,"OnSocketOpen",null),(0,o.gn)([r.ak],v.prototype,"OnSocketClose",null),(0,o.gn)([r.ak],v.prototype,"OnSocketMessage",null);const f=new c.sO("WebUITransport");class _{constructor(){this.m_iMsgSeq=1,this.m_mapPendingMethodRequests=new Map,this.m_messageHandlers=new h,this.m_mapServiceCallErrorCount=new Map,this.m_mapConnectionDetails=new Map,this.m_bInitialized=!1}static InstallErrorReportingStore(e){this.sm_ErrorReportingStore=e}BIsValid(){return this.m_bInitialized}ReportError(e){f.Warning(e);const t=_.sm_ErrorReportingStore;t&&t.ReportError(new Error(e),{bIncludeMessageInIdentifier:!0,cCallsitesToIgnore:1})}Init(){return(0,o.mG)(this,void 0,void 0,(function*(){if(!p.De.IN_CLIENT)return;const e=yield SteamClient.WebUITransport.GetTransportInfo();this.CreateConnection(1,"steamUI",e.portSteamUI,e.authKeySteamUI),this.CreateConnection(2,"clientdll",e.portClientdll,e.authKeyClientdll),(0,l.SM)().SetDefaultTransport(this),(0,l.SM)().SetDefaultHandlerRegistry(this.m_messageHandlers),m.zw.RegisterForNotifyStartShutdown(this.OnStartShutdown)}))}get messageHandlers(){return this.m_messageHandlers}SetStatusEventHandler(e){this.m_fnOnStatusEventHandler=e}SetReconnectErrorHandler(e){this.m_fnOnReconnectErrorHandler=e}CreateConnection(e,t,n,o){const i={bReconnectOnFailure:!0,fnOnMessageHandler:this.OnWebsocketMessage,fnOnCloseHandler:this.OnWebsocketClose,fnOnReconnectStartHandler:this.OnWebsocketReconnectStart,fnOnReconnectFinishHandler:this.OnWebsocketReconnectFinish,nConnectAttemptsMax:10,nConnectAttemptTimeoutMs:1e3,nReconnectAttemptsMax:20,nReconnectAttemptTimeoutMs:1e3},r={connection:new v(t,i),sUrl:`ws://localhost:${n}/transportsocket/`,sAuthKey:o,eClientExecutionSite:e};this.m_mapConnectionDetails.set(e,r)}SendMsg(e,t,n,o){return new Promise(((i,r)=>{var s;const a=o.eClientExecutionSite;if(null==a||0==a)return f.Error(`SendMsg: Invalid client execution site: ${a}`),void r(`Transport SendMsg: invalid client execution site ${a}`);const l=this.m_mapConnectionDetails.get(a);if(null==l)return f.Error(`SendMsg: could not find connection for execution site: ${a}`),void r(`Transport SendMsg: could not find connection for execution site ${a}`);const c=l.connection;if(!c.BCanSendMessages()){const t=null!==(s=this.m_mapServiceCallErrorCount.get(e))&&void 0!==s?s:1;this.m_mapServiceCallErrorCount.set(e,t+1);const n=`SendMsg: Attempt to send message but socket wasn't ready: ${c.name} - ${e}`;return 1==t&&this.ReportError(n),f.Warning(n+` error count: ${t}`),void r("Transport SendMsg: socket not ready")}const u=this.m_iMsgSeq++;t.SetEMsg(146),t.Hdr().set_target_job_name(e),t.Hdr().set_jobid_source(""+u);if(1!=c.SendSerializedMessage(t.Serialize()))return f.Error("SendMsg: Failed to send message"),void r("Transport SendMsg: failed to send message");this.m_mapPendingMethodRequests.set(u,{m_iSeq:u,m_responseClass:n,m_fnCallback:i,m_fnError:r})}))}SendNotification(e,t,n){var o;const i=n.eClientExecutionSite;if(null==i||0==i)return f.Error(`SendNotification: Invalid client execution site: ${i}`),!1;const r=this.m_mapConnectionDetails.get(i);if(null==r)return f.Error(`SendNotification: could not find connection for execution site: ${i}`),!1;const s=r.connection;if(!s.BCanSendMessages()){const t=null!==(o=this.m_mapServiceCallErrorCount.get(e))&&void 0!==o?o:1;this.m_mapServiceCallErrorCount.set(e,t+1);const n=`SendNotification: Attempt to send message but socket wasn't ready: ${s.name} - ${e}`;return 1==t&&this.ReportError(n),f.Warning(n+` error count: ${t}`),!1}t.SetEMsg(146),t.Hdr().set_target_job_name(e);return 1==s.SendSerializedMessage(t.Serialize())}ConnectToSite(e){return(0,o.mG)(this,void 0,void 0,(function*(){const t=e.connection,n=yield t.Connect(e.sUrl);if(1!=n.result)return n;return(yield this.SendAuthMessage(e)).BSuccess()?{result:1,message:"connected"}:{result:2,message:"client auth failed"}}))}MakeReady(){return(0,o.mG)(this,void 0,void 0,(function*(){const e=[];for(const[t,n]of this.m_mapConnectionDetails)e.push(this.ConnectToSite(n));const t=yield Promise.all(e);this.m_bInitialized=!0,this.DispatchTransportStatusUpdate();for(const e of t)if(1!=e.result)return e;return{result:1,message:"ready"}}))}GetConnectionDetails(e){for(const[t,n]of this.m_mapConnectionDetails)if(n.connection===e)return n;return f.Error("GetConnectionDetails: failed to identify connection"),null}DispatchTransportStatusUpdate(){if(!this.m_fnOnStatusEventHandler)return;let e=!0;for(const[t,n]of this.m_mapConnectionDetails)n.connection.BCanSendMessages()||(e=!1);this.m_fnOnStatusEventHandler({bConnected:e})}OnWebsocketReconnectStart(e){this.DispatchTransportStatusUpdate()}OnWebsocketReconnectFinish(e){var t;if(this.DispatchTransportStatusUpdate(),1!=e.eResult)return f.Warning("OnWebsocketReconnect: Failed to reconnect to steam client"),void(null===(t=this.m_fnOnReconnectErrorHandler)||void 0===t||t.call(this,{}));this.FailAllPendingRequests();const n=this.GetConnectionDetails(e.connection);n&&this.SendAuthMessage(n)}OnWebsocketClose(e){e.bIsExpectedToReconnect||this.FailAllPendingRequests()}OnWebsocketMessage(e){const t=new s.At(e),n=a.gA.InitHeaderFromPacket(t);n.Hdr().jobid_target()&&n.Hdr().jobid_target()!==i.Z3?this.DispatchMethodResponse(n):this.DispatchNotification(n)}DispatchMethodResponse(e){const t=parseInt(e.Hdr().jobid_target()),n=this.m_mapPendingMethodRequests.get(t);if(null==n)return void(0,u.X)(!1,"Transport Error: no pending callback for request");(0,u.X)(t==n.m_iSeq,"Transport Error: mistmatched request sequence"),this.m_mapPendingMethodRequests.delete(t);const o=a.gA.InitFromMsg(n.m_responseClass,e);n.m_fnCallback(o)}DispatchNotification(e){this.m_messageHandlers.DispatchMsgToHandlers(e,(e=>{(0,u.X)(!1,"Transport Error: A notification should not generate a response")}))}FailAllPendingRequests(){for(const[e,t]of this.m_mapPendingMethodRequests){this.ReportError(`FailAllPendingRequests: forcing failure for request: ${t.m_responseClass.name}`);let e=a.gA.Init(t.m_responseClass);e.Hdr().set_eresult(2),t.m_fnCallback(e)}this.m_mapPendingMethodRequests.clear()}SendAuthMessage(e){return(0,o.mG)(this,void 0,void 0,(function*(){const t=m.zw.AuthenticateHandler.name,n={eClientExecutionSite:e.eClientExecutionSite},o=a.gA.Init(m.np);o.Hdr().set_webui_auth_key(e.sAuthKey);return yield this.SendMsg(t,o,m.zw.AuthenticateHandler.response,n)}))}OnStartShutdown(e){for(const[e,t]of this.m_mapConnectionDetails)t.connection.PrepareForShutdown();return 1}}(0,o.gn)([r.ak],_.prototype,"OnWebsocketReconnectStart",null),(0,o.gn)([r.ak],_.prototype,"OnWebsocketReconnectFinish",null),(0,o.gn)([r.ak],_.prototype,"OnWebsocketClose",null),(0,o.gn)([r.ak],_.prototype,"OnWebsocketMessage",null),(0,o.gn)([r.ak],_.prototype,"OnStartShutdown",null);const C=new _},95315:(e,t,n)=>{"use strict";n.d(t,{Oo:()=>a,yV:()=>l});n(85496);var o=n(89570),i=n(47692),r=n(62210);class s{constructor(){this.m_mapManagers=new WeakMap}GetContextMenuManagerFromWindow(e){var t;let n=(null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView)||window;return this.GetContextMenuManager(n)}GetContextMenuManager(e){let t=this.m_mapManagers.get(e);if(!t){let n=e;for(;!t&&n.opener;)n=n.opener,t=this.m_mapManagers.get(n)}return t||(t=new o.u,this.m_mapManagers.set(e,t)),t}SetMenuManager(e,t){(0,r.X)(void 0===this.m_mapManagers.get(e)||!t||e==window,`Stomping CContextMenuManager for ${e.document.title}!`),this.m_mapManagers.set(e,t)}RegisterChildWindow(e,t){return this.m_mapManagers.set(t,this.GetContextMenuManager(e)),()=>this.m_mapManagers.delete(t)}}const a=(0,i.Yt)("ContextMenuFactory",(()=>new s));function l(e,t,n){let o,i,r,s=t;if((null==s?void 0:s.preventDefault)&&(null==s?void 0:s.stopPropagation)){if(s.shiftKey||s.altKey&&!(null==n?void 0:n.bRootContextMenu))return null;s.preventDefault(),s.stopPropagation(),r=s.currentTarget,o=s.clientX,i=s.clientY}else r=t;let l=a.GetContextMenuManagerFromWindow(r).CreateContextMenuInstance(e,r,o,i,n);return l.Show(),(null==n?void 0:n.bCreateHidden)&&l.Hide(),l}},85496:(e,t,n)=>{"use strict";n.d(t,{$Y:()=>l});var o=n(85556),i=n(54842),r=n(50423),s=(n(22042),n(77936));class a{constructor(e,t){this.m_nKey=null,this.m_bVisible=!1,this.m_rctLabel=void 0,this.m_timerHideMenu=0,this.m_elSubmenuItem=null,this.m_timerHideSubMenu=0,(0,i.rC)(this),this.m_ContextMenuManager=e,this.m_rctElement=t}get Manager(){return this.m_ContextMenuManager}get key(){return null==this.m_nKey&&(this.m_nKey=a.s_nNextKeyValue,a.s_nNextKeyValue++),this.m_nKey}SetElement(e){this.m_element=e}SetPopup(e){this.m_popupContextMenu=e}get ReactElement(){return this.m_rctElement}get label(){return this.m_rctLabel}get submenu(){return this.m_submenu}get visible(){return this.m_bVisible}get options(){return this.m_options}get position(){return this.m_position}SetOnHideCallback(e){this.m_fnOnHideCallback=e}Show(){this.CancelHideMenuTimer(),this.m_bVisible=!0,this.m_ContextMenuManager.ShowMenu(this)}OnCancel(e=0){var t;(null===(t=this.options)||void 0===t?void 0:t.onCancel)&&this.options.onCancel(),this.Hide(e)}Hide(e=0){e>0?this.m_timerHideMenu=window.setTimeout((()=>{this.m_timerHideMenu=0,this.InternalHide()}),e):this.InternalHide()}CancelHideMenuTimer(){this.m_timerHideMenu>0&&(clearTimeout(this.m_timerHideMenu),this.m_timerHideMenu=0)}SetPosition(e,t,n){this.m_options=Object.assign(Object.assign({},this.m_options),n),this.m_position.clientX=e,this.m_position.clientY=t,this.m_position.options=this.m_options}ForceHide(){this.InternalHide()}HideIfNotInFocus(){this.BHasFocus()||this.BIsFocusInChildHierarchy()||this.Hide()}InternalHide(){this.CancelHideMenuTimer(),this.m_bVisible&&(this.m_bVisible=!1,this.InternalHideSubMenu(),this.m_fnOnHideCallback&&this.m_fnOnHideCallback(),this.m_ContextMenuManager.HideMenu(this))}SetTakeFocus(e){this.m_fnTakeFocus=e}ShowSubMenu(e,t){var n;return this.m_elSubmenuItem==e?(this.CancelHideSubMenuTimer(),null===(n=this.m_submenu)||void 0===n||n.TakeFocus(),null):(this.InternalHideSubMenu(),this.m_elSubmenuItem=e,this.m_submenu=new c(this,t(),e,this.m_options.bForcePopup),this.m_submenu.Show(),this.m_submenu)}CancelHideSubMenuTimer(){this.m_timerHideSubMenu>0&&(clearTimeout(this.m_timerHideSubMenu),this.m_timerHideSubMenu=0)}HideSubMenu(){if(!this.m_submenu)return void this.CancelHideSubMenuTimer();if(this.m_timerHideSubMenu>0)return;this.m_timerHideSubMenu=window.setTimeout((()=>{this.InternalHideSubMenu(),this.m_timerHideSubMenu=0}),150)}OnSubMenuDismissed(e){this.m_submenu==e&&this.InternalHideSubMenu()}HideSelf(){this.m_parentInstance?this.m_parentInstance.OnSubMenuDismissed(this):this.InternalHide()}InternalHideSubMenu(){this.CancelHideSubMenuTimer(),this.m_submenu&&(this.m_submenu.m_element&&this.BIsFocusInChildHierarchy()&&this.TakeFocus(s.IF.k_EWindowBringToFrontAndForceOS),this.m_elSubmenuItem=null,this.m_submenu.InternalHide(),this.m_submenu=void 0)}TakeFocus(e=s.IF.k_EWindowBringToFrontAndForceOS){this.m_popupContextMenu&&this.m_popupContextMenu.Focus(e),this.m_fnTakeFocus&&this.m_fnTakeFocus()}BInternalElementInParentHierarchy(e){return null!=this.m_parentInstance&&(this.m_parentInstance.BIsChildElement(e)||this.m_parentInstance.BInternalElementInParentHierarchy(e))}BInternalElementInChildHierarchy(e){return null!=this.m_submenu&&(this.m_submenu.BIsChildElement(e)||this.m_submenu.BInternalElementInChildHierarchy(e))}BIsChildElement(e){var t;return this.m_element?r.ni(this.m_element,e):r.ni(null===(t=this.m_popupContextMenu)||void 0===t?void 0:t.root_element,e)}BHasFocus(){var e;return this.m_popupContextMenu?this.m_popupContextMenu.focused:r.ni(this.m_element,null===(e=this.m_element)||void 0===e?void 0:e.ownerDocument.activeElement)}BIsFocusInChildHierarchy(){return null!=this.m_submenu&&(this.m_submenu.BHasFocus()||this.m_submenu.BIsFocusInChildHierarchy())}BIsElementInMenuHierarchy(e){return this.BInternalElementInParentHierarchy(e)||this.BInternalElementInChildHierarchy(e)}BIsSubMenuVisible(){return!!this.m_submenu}SetLabel(e){this.m_rctLabel=e}}a.s_nNextKeyValue=1,(0,o.gn)([i.LO],a.prototype,"m_bVisible",void 0),(0,o.gn)([i.LO.ref],a.prototype,"m_rctLabel",void 0);class l extends a{constructor(e,t,n,o,i,r){super(e,t),this.m_options=r||{},this.m_position={element:n,clientX:o,clientY:i,instance:this,options:this.m_options,fnOnMenuItemSelected:()=>{this.Hide()}}}Show(){super.Show()}Hide(e=0){super.Hide(e)}ForceHide(){super.ForceHide()}BIsSubMenu(){return!1}}class c extends a{constructor(e,t,n,o){super(e.Manager,t),this.m_parentInstance=e,this.m_options={bOverlapVertical:!0,strClassName:e.options.strClassName,bFitToWindow:e.options.bFitToWindow,bShiftToFitWindow:e.options.bShiftToFitWindow,bForcePopup:o},this.m_position={element:n,clientX:void 0,clientY:void 0,instance:this,options:this.m_options,fnOnMenuItemSelected:()=>{this.Hide()},bSubmenu:!0}}Hide(){var e;this.m_popupContextMenu?window.setTimeout((()=>{var e;null===(e=this.m_parentInstance)||void 0===e||e.HideIfNotInFocus()}),10):null===(e=this.m_parentInstance)||void 0===e||e.Hide()}ForceHide(){var e;null===(e=this.m_parentInstance)||void 0===e||e.ForceHide()}BIsSubMenu(){return!0}}},89570:(e,t,n)=>{"use strict";n.d(t,{u:()=>a});var o=n(85496),i=n(62210),r=n(45492),s=n(83999);class a{constructor(){this.m_callbacksMenusChanged=new r.pB,this.m_rgActiveSubmenus=[],this.m_setHiddenMenus=new Set}CreateContextMenuInstance(e,t,n,i,r){const s=new o.$Y(this,e,t,n,i,r);return(null==r?void 0:r.bCreateHidden)&&(this.m_setHiddenMenus.add(s),this.m_callbacksMenusChanged.Dispatch()),s}get OnMenusChanged(){return this.m_callbacksMenusChanged}HideActiveMenu(){var e;(null===(e=this.m_ActiveMenu)||void 0===e?void 0:e.options.bRetainOnHide)?this.m_setHiddenMenus.add(this.m_ActiveMenu):this.m_rgActiveSubmenus.length&&(this.m_rgActiveSubmenus=[]),this.m_ActiveMenu=void 0}get ActiveMenu(){return this.m_ActiveMenu}GetVisibleMenus(){return this.m_ActiveMenu?[this.m_ActiveMenu,...this.m_rgActiveSubmenus]:[]}GetHiddenMenus(){return Array.from(this.m_setHiddenMenus)}GetAllMenus(){let e;return e=this.m_ActiveMenu?[this.m_ActiveMenu,...this.m_rgActiveSubmenus,...Array.from(this.m_setHiddenMenus)]:[...this.m_rgActiveSubmenus,...Array.from(this.m_setHiddenMenus)],e.sort(((e,t)=>e.key-t.key))}BShouldRenderMouseOverlay(){return this.m_ActiveMenu&&!this.m_ActiveMenu.options.bDisableMouseOverlay}ShowMenu(e){if(e.BIsSubMenu())this.m_rgActiveSubmenus.push(e);else{if(e==this.m_ActiveMenu)return;this.m_ActiveMenu&&(this.m_ActiveMenu.options.bRetainOnHide&&this.m_setHiddenMenus.add(this.m_ActiveMenu),this.m_ActiveMenu.Hide()),this.m_ActiveMenu=e,this.m_setHiddenMenus.delete(e)}this.m_callbacksMenusChanged.Dispatch()}HideMenu(e){e.BIsSubMenu()?s.Zf(this.m_rgActiveSubmenus,e)&&this.m_callbacksMenusChanged.Dispatch():((0,i.X)(e==this.m_ActiveMenu,"Call to hide inactive menu"),e==this.m_ActiveMenu&&(this.HideActiveMenu(),this.m_callbacksMenusChanged.Dispatch()))}ReleaseHiddenMenu(e){this.m_setHiddenMenus.delete(e)}}},83654:(e,t,n)=>{"use strict";n.d(t,{AN:()=>a});var o=n(24522),i=n(50423);class r{constructor(e){this.instance=new s(e,!1)}}class s{constructor(e,t=!0){this.m_container=null,this.m_parent=e,this.m_window=e.ownerDocument.defaultView,this.m_bRemoveOnHide=t}Show(e,t){return this.CancelShowInterval(),t?new Promise(((n,o)=>{this.iIntervalShow=this.m_window.setTimeout((()=>{let t=this.m_parent.ownerDocument;t.defaultView&&!t.defaultView.closed&&(this.InternalShow(e),n())}),t)})):(this.InternalShow(e),Promise.resolve())}InternalShow(e){this.m_container||(this.m_container=this.m_parent.ownerDocument.createElement("div"),this.m_parent.appendChild(this.m_container)),this.m_reactRoot||(this.m_reactRoot=o.createRoot(this.m_container)),this.m_reactRoot.render(e)}Hide(e){this.CancelShowInterval(),e?this.iIntervalShow=this.m_window.setTimeout((()=>{this.InternalHide()}),e):this.InternalHide()}InternalHide(){this.m_reactRoot&&(this.m_reactRoot.unmount(),this.m_reactRoot=void 0),this.m_container&&this.m_bRemoveOnHide&&(this.m_parent.removeChild(this.m_container),this.m_container=null)}CancelShowInterval(){void 0!==this.iIntervalShow&&(this.m_window.clearInterval(this.iIntervalShow),this.iIntervalShow=void 0)}BIsChildElement(e){return this.m_container&&i.ni(this.m_container,e)}}class a{constructor(e){this.m_mapEmbeddedHovers=new WeakMap,this.m_strUniqueID=e}ShowElementDelayed(e,t,n,o){let i=this.GetEmbeddedElement(e);return i.activeObject=o,i.instance.Show(n,t)}ShowElement(e,t,n){let o=this.GetEmbeddedElement(e);o.activeObject=n,o.instance.Show(t)}HideElement(e,t,n){let o=this.GetEmbeddedElement(e);o.activeObject==t&&(o.activeObject=void 0,o.instance.Hide(n))}GetEmbeddedElement(e){let t=this.m_mapEmbeddedHovers.get(e);return t||(t=new r(e.body),this.m_mapEmbeddedHovers.set(e,t)),t}}},10095:(e,t,n)=>{"use strict";n.d(t,{Rt:()=>D,K3:()=>M,eL:()=>_,iJ:()=>C,sB:()=>w,AN:()=>y,Wy:()=>S});var o=n(85556),i=n(54842),r=n(47427),s=n(50423),a=n(60616),l=n(16997),c=n(77936),u=n(37066),d=n(31846),h=n(37563),m=n(62210),p=n(83999);class g{constructor(e,t,n){if(this.m_rgLoadingLinks=[],this.m_rgLoadingLinks=[],n)for(let e=0;er.useContext(E);function D(e){const{ownerWindow:t,children:n}=e,o=r.useMemo((()=>({ownerWindow:t})),[t]);return r.createElement(E.Provider,{value:o},n)}class M{constructor(e,t){this.m_bCreated=!1,this.m_onCreateRender=null,this.m_bFocused=!1,(0,i.rC)(this),(0,m.X)(e,"Name is required. This is an internal name, different from title."),this.m_strName=e;const{title:n,eCreationFlags:r}=t,s=(0,o._T)(t,["title","eCreationFlags"]);this.m_rgParams=Object.assign(Object.assign({},s),{eCreationFlags:null!=r?r:0}),this.m_rgParams.target_browser&&(this.m_strName+="_uid"+this.m_rgParams.target_browser.m_unPID),this.m_bCreateHidden=!!(this.m_rgParams.eCreationFlags&_.Hidden),this.m_strTitle=n}UpdateParamsBeforeShow(e){return e}OnDrop(e){console.log("Ignoring drop onto toplevel window",e),e.preventDefault(),e.stopPropagation()}OnDragOver(e){e.preventDefault(),e.dataTransfer.dropEffect="none",e.stopPropagation()}OnMessage(e){"window_moved"==e.data&&this.OnResize(),"popup-created"==e.data&&this.OnCreateInternal()}Show(e=c.IF.k_EWindowBringToFrontAndForceOS){var t,n;let o;o="boolean"==typeof e?e?c.IF.k_EWindowBringToFrontAndForceOS:c.IF.k_EWindowBringToFrontInvalid:e,window.SteamClient&&(this.m_rgParams.eCreationFlags|=_.Hidden),this.m_rgParams.eCreationFlags&_.NotFocusable&&(o=c.IF.k_EWindowBringToFrontInvalid),this.BIsValid()&&(this.BIsClosed()?(this.m_popup=void 0,this.m_element=void 0):o!=c.IF.k_EWindowBringToFrontInvalid&&this.Focus(o));let i,r,s,a=y.GetExistingPopup(this.m_strName);a&&!this.m_rgParams.replace_existing_popup||(this.m_rgParams=this.UpdateParamsBeforeShow(this.m_rgParams),a?(r=a.m_element,i=a.m_popup,a.ReleasePopup(),s=a.m_renderWhenReady,y.RemoveTrackedPopup(a),null==i||i.removeEventListener("beforeunload",a.OnBeforeUnloadEvent),null==i||i.removeEventListener("unload",a.OnUnload),null==i||i.removeEventListener("resize",a.OnResizeEvent),null==i||i.removeEventListener("focus",this.OnFocusInternal),null==i||i.removeEventListener("blur",this.OnBlurInternal),null==i||i.removeEventListener("drop",a.OnDrop),null==i||i.removeEventListener("dragover",a.OnDragOver),null==i||i.removeEventListener("message",this.OnMessage)):(({popup:i,element:r}=L.CreatePopup(this.m_strName,Object.assign(Object.assign({},this.m_rgParams),{title:this.m_strTitle}))),s=new g(i.document,r)),i&&r&&(i.document.title=this.m_strTitle,i.addEventListener("beforeunload",this.OnBeforeUnloadEvent),i.addEventListener("unload",this.OnUnload),i.addEventListener("resize",this.OnResizeEvent),i.addEventListener("focus",this.OnFocusInternal),i.addEventListener("blur",this.OnBlurInternal),i.addEventListener("drop",this.OnDrop),i.addEventListener("dragover",this.OnDragOver),i.addEventListener("message",this.OnMessage),h.De.LANGUAGE&&i.document.documentElement.setAttribute("lang",null!==(t=(0,d.CE)())&&void 0!==t?t:""),this.m_popup=i,this.m_element=r,this.m_renderWhenReady=s,null===(n=this.m_renderWhenReady)||void 0===n||n.SetTarget((()=>{this.m_popup&&this.m_element&&this.RenderInternal(this.m_popup,this.m_element,o)}))),y.AddTrackedPopup(this),a&&(this.OnCreateInternal(),o!=c.IF.k_EWindowBringToFrontInvalid&&this.Focus(o)))}RemoveEventListeners(){var e,t,n,o,i,r,s,a;null===(e=this.window)||void 0===e||e.removeEventListener("beforeunload",this.OnBeforeUnloadEvent),null===(t=this.window)||void 0===t||t.removeEventListener("unload",this.OnUnload),null===(n=this.window)||void 0===n||n.removeEventListener("resize",this.OnResizeEvent),null===(o=this.window)||void 0===o||o.removeEventListener("focus",this.OnFocusInternal),null===(i=this.window)||void 0===i||i.removeEventListener("blur",this.OnBlurInternal),null===(r=this.window)||void 0===r||r.removeEventListener("drop",this.OnDrop),null===(s=this.window)||void 0===s||s.removeEventListener("dragover",this.OnDragOver),null===(a=this.window)||void 0===a||a.removeEventListener("message",this.OnMessage)}RenderInternal(e,t,n){this.m_bCreated?(this.browser_info&&(0,u.Su)(this.browser_info.m_eBrowserType)&&(t.ownerDocument.body.className+=" VR"),this.Render(e,t),this.OnLoad(),(null==e?void 0:e.SteamClient)&&!this.m_bCreateHidden&&(n!=c.IF.k_EWindowBringToFrontInvalid?e.SteamClient.Window.BringToFront(n):e.SteamClient.Window.ShowWindow())):this.m_onCreateRender=()=>this.RenderInternal(e,t,n)}OnCreateInternal(){this.m_bCreated||(this.m_bCreated=!0,this.OnCreate(),this.m_onCreateRender&&(this.m_onCreateRender(),this.m_onCreateRender=null))}OnCreate(){}OnResizeEvent(){this.OnResize()}OnBeforeUnloadEvent(){this.OnBeforeUnload()}OnUnload(e){this.RemoveEventListeners(),y.RemoveTrackedPopup(this),this.OnClose(),this.m_popup=void 0}get browser_info(){return this.m_rgParams.target_browser}get window(){return this.m_popup}get root_element(){return this.m_element}get title(){return this.m_strTitle}set title(e){this.m_strTitle=e,this.m_popup&&(this.m_popup.document.title=this.m_strTitle)}get params(){return this.m_rgParams}Focus(e=c.IF.k_EWindowBringToFrontAndForceOS){e!=c.IF.k_EWindowBringToFrontInvalid&&(this.m_popup&&void 0!==this.m_popup.SteamClient&&void 0!==this.m_popup.SteamClient.Window?this.m_popup.SteamClient.Window.BringToFront(e):this.m_popup&&this.m_popup.focus())}Close(){this.m_popup&&((0,f.w3)(this.m_popup.window,"Window.Close")?this.m_popup.window.SteamClient.Window.Close():this.m_popup.window.close())}GetName(){return this.m_strName}BIsValid(){return!!this.m_popup}BIsClosed(){return!this.m_popup||this.m_popup.closed}BIsVisible(){return!(!this.m_popup||this.m_popup.closed||"visible"!=this.m_popup.document.visibilityState)}BIsFocused(){var e;return this.BIsVisible()&&!!(null===(e=this.m_popup)||void 0===e?void 0:e.document.hasFocus())}OnFocusInternal(){this.m_popup&&this.m_popup.document.body.classList.add("WindowFocus"),this.m_bFocused=!0,this.OnFocus()}OnBlurInternal(){this.m_popup&&this.m_popup.document.body.classList.remove("WindowFocus"),this.m_bFocused=!1,this.OnBlur()}get focused(){return this.m_bFocused}GetWindowRestoreDetails(){return(0,f.w3)(this.m_popup,"Window.GetWindowRestoreDetails")&&!this.m_popup.closed?this.m_popup.SteamClient.Window.GetWindowRestoreDetails():Promise.resolve("")}IsMinimized(){return(0,f.w3)(this.m_popup,"Window.IsWindowMinimized")&&!this.m_popup.closed?this.m_popup.SteamClient.Window.IsWindowMinimized():Promise.resolve(!1)}IsMaximized(){return(0,f.w3)(this.m_popup,"Window.IsWindowMaximized")&&!this.m_popup.closed?this.m_popup.SteamClient.Window.IsWindowMaximized():Promise.resolve(!1)}ReleasePopup(){this.OnClose(),this.m_popup=null}OnResize(){this.IsMaximized().then((e=>{var t,n;e?null===(t=this.m_popup)||void 0===t||t.document.body.classList.add("Maximized"):null===(n=this.m_popup)||void 0===n||n.document.body.classList.remove("Maximized")}))}OnBeforeUnload(){}OnFocus(){}OnBlur(){}}(0,o.gn)([i.LO],M.prototype,"m_bFocused",void 0),(0,o.gn)([l.a],M.prototype,"OnMessage",null),(0,o.gn)([l.a],M.prototype,"RenderInternal",null),(0,o.gn)([l.a],M.prototype,"OnCreateInternal",null),(0,o.gn)([l.a],M.prototype,"OnResizeEvent",null),(0,o.gn)([l.a],M.prototype,"OnBeforeUnloadEvent",null),(0,o.gn)([l.a],M.prototype,"OnUnload",null),(0,o.gn)([l.a],M.prototype,"OnFocusInternal",null),(0,o.gn)([l.a],M.prototype,"OnBlurInternal",null);(0,o.gn)([l.a],class extends M{constructor(e,t,n,o){super(e,n),this.SetSavedDimensionsKey(t),this.m_bExpires=o}BIsInOverlay(){return this.browser_info&&0!=this.browser_info.m_unPID&&-1!=this.browser_info.m_nBrowserID}SetSavedDimensionsKey(e){this.m_strSavedDimensionsKey=e}UpdateParamsBeforeShow(e){return!this.m_strSavedDimensionsKey||e.bIgnoreSavedDimensions||e.strRestoreDetails?e.strRestoreDetails&&(this.m_strInitialSavedDimensionsKey=this.GetSavedDimensionsKey(),y.SetRestoreDetails(this.m_strInitialSavedDimensionsKey,e.strRestoreDetails,this.m_bExpires)):(this.m_strInitialSavedDimensionsKey=this.GetSavedDimensionsKey(),e.strRestoreDetails=y.GetRestoreDetails(this.m_strInitialSavedDimensionsKey)),e}OnLoad(){this.GetWindowRestoreDetails().then((e=>{this.m_strInitialRestoreDetails=e,this.OnResizeComplete(e)}))}OnResize(){super.OnResize(),this.QueryAndStoreWindowPosition()}OnResizeComplete(e){}QueryAndStoreWindowPosition(){var e;if(this.m_strInitialRestoreDetails){let t=this.GetSavedDimensionsKey();null===(e=this.m_popup)||void 0===e||e.setTimeout((()=>{this.GetWindowRestoreDetails().then((e=>{let n=this.m_rgParams.strRestoreDetails==e&&t==this.m_strInitialSavedDimensionsKey;this.m_popup&&this.m_strSavedDimensionsKey&&e&&!n&&(y.SetRestoreDetails(t,e,this.m_bExpires),this.m_rgParams.strRestoreDetails=e,this.m_strInitialSavedDimensionsKey=t,this.OnResizeComplete(e))}))}),30)}}OnBeforeUnload(){this.QueryAndStoreWindowPosition(),super.OnBeforeUnload()}OnClose(){}SaveWindowPosition(e){y.SetRestoreDetails(this.GetSavedDimensionsKey(),e,!1),this.m_rgParams.strRestoreDetails=e}}.prototype,"QueryAndStoreWindowPosition",null);class L{constructor(){if(this.m_bShuttingDown=!1,this.m_mapPopups=i.LO.map([],{deep:!1}),this.m_rgShutdownCallbacks=[],this.m_rgPopupCreatedCallbacks=[],this.m_unCurrentAccountID=0,this.m_mapRestoreDetails=new Map,this.m_bSaveRequired=!1,!{NODE_ENV:"production",STEAM_BUILD:"buildbot"}.MOBILE_BUILD&&"addEventListener"in window){window.addEventListener("beforeunload",(e=>{var t,n,o,i;this.m_bShuttingDown=!0;for(let e of this.m_rgShutdownCallbacks)e();let r=[];this.m_mapPopups.forEach((e=>{e.BIsValid()&&!e.BIsClosed()&&r.push(e)}));for(let e of r)(null===(n=null===(t=e.window)||void 0===t?void 0:t.SteamClient.Browser)||void 0===n?void 0:n.SetShouldExitSteamOnBrowserClosed)&&e.window.SteamClient.Browser.SetShouldExitSteamOnBrowserClosed(!1),(null===(o=e.window)||void 0===o?void 0:o.SteamClient.Window.SetHideOnClose)&&(null===(i=e.window)||void 0===i||i.SteamClient.Window.SetHideOnClose(!1)),e.Close();this.m_bSaveRequired&&this.SaveSavedDimensionStore(),this.m_mapPopups.clear()}));let e=document.querySelector("head");(0,m.X)(e,"Couldn't find head element"),e&&(this.m_DynamicCSSObserver=new MutationObserver((()=>{const e=s.Mv();this.m_mapPopups.forEach((t=>{s.b$(t.window.document,e,!1)}))})),this.m_DynamicCSSObserver.observe(e,{childList:!0}))}}BAnyPopupHasFocus(){for(const e of this.m_mapPopups.values())if(e.focused)return!0;return!1}BAnyMenuHasFocus(){var e;for(const t of this.m_mapPopups.values())if(t.focused&&(null!==(e=t.params.eCreationFlags)&&void 0!==e?e:0)&_.NoTaskbarIcon)return!0;return!1}SetCurrentLoggedInAccountID(e){this.m_unCurrentAccountID!=e&&(this.m_unCurrentAccountID=e,e?this.LoadSavedDimensionStore():this.ClearSavedDimensionStore())}AddShutdownCallback(e){this.m_rgShutdownCallbacks.push(e)}AddPopupCreatedCallback(e){this.m_rgPopupCreatedCallbacks.push(e)}AddTrackedPopup(e){this.m_mapPopups.set(e.GetName(),e);for(let t of this.m_rgPopupCreatedCallbacks)t(e)}RemoveTrackedPopup(e){this.m_mapPopups.delete(e.GetName())}GetExistingPopup(e){return this.m_mapPopups.get(e)}GetPopups(){return this.m_mapPopups.values()}GetPopupForWindow(e){for(const t of this.m_mapPopups.values())if(t.window===e)return t}ClosePopupsOwnedByBrowser(e){this.m_mapPopups.forEach((t=>{t.browser_info&&t.browser_info.m_nBrowserID==e.m_nBrowserID&&t.browser_info.m_unPID==e.m_unPID&&t.Close()}))}static CreatePopup(e,t){let n=t.dimensions||{},o=n.width||300,i=n.height||300,r=t.title,a="width="+o+",height="+i;void 0!==n.left&&(a+=",left="+n.left),void 0!==n.top&&(a+=",top="+n.top),a+=",resizeable,status=0,toolbar=0,menubar=0,location=0";let l="about:blank",c=[];c.push("createflags="+t.eCreationFlags),t.minWidth&&c.push("minwidth="+t.minWidth),t.minHeight&&c.push("minheight="+t.minHeight),t.maxWidth&&t.maxWidth!=1/0&&c.push("maxwidth="+t.maxWidth),t.maxHeight&&t.maxHeight!=1/0&&c.push("maxheight="+t.maxHeight),t.target_browser?(c.push("pid="+t.target_browser.m_unPID),c.push("browser="+t.target_browser.m_nBrowserID),t.target_browser.m_eBrowserType?c.push("browserType="+t.target_browser.m_eBrowserType):t.browserType&&c.push("browserType="+t.browserType),t.availscreenwidth&&t.availscreenheight&&(c.push("screenavailwidth="+t.availscreenwidth),c.push("screenavailheight="+t.availscreenheight))):t.browserType&&c.push("browserType="+t.browserType),t.strVROverlayKey&&c.push("vrOverlayKey="+t.strVROverlayKey),t.strRestoreDetails&&c.push("restoredetails="+t.strRestoreDetails),t.window_opener_id&&c.push("openerid="+t.window_opener_id),t.parent_container_popup_id&&c.push("parentcontainerpopupid="+t.parent_container_popup_id),t.center_on_window&&void 0===n.left&&void 0===n.top&&c.push("centerOnBrowserID="+t.center_on_window.SteamClient.Browser.GetBrowserID()),t.strUserAgent&&c.push("useragent="+t.strUserAgent),t.hwndParent&&c.push("hwndParent="+t.hwndParent),t.bPinned&&c.push("pinned=true"),t.bModal&&c.push("modal=true"),c&&(l+="?"+c.join("&"));let u=(t.owner_window||window).open(l,e,a);if(!u)return console.error(`Failed to create popup, browser/CEF may be blocking popups for "${window.location.origin}"`),{};let d="";t.html_class&&(d=`class="${t.html_class}"`);let h="";t.body_class&&(h=`class="${t.body_class}"`);let m="";t.popup_class&&(m=`class="${t.popup_class}"`);let p=``;return u.document.write(p),u.document.title=r,s.V2(u,s.Mv()),{popup:u,element:u.document.getElementById("popup_target")}}BShuttingDown(){return this.m_bShuttingDown}GetLocalStorageKey(){return"PopupSavedDimensions_"+this.m_unCurrentAccountID}LoadSavedDimensionStore(){if(!this.m_unCurrentAccountID)return;let e=this.GetLocalStorageKey();this.m_mapRestoreDetails.clear();let t=window.localStorage.getItem(e);if(t)try{let e=JSON.parse(t);this.m_mapRestoreDetails=new Map(e)}catch(e){}}SaveSavedDimensionStore(){if(!this.m_unCurrentAccountID||!this.m_bSaveRequired)return;let e=this.GetLocalStorageKey(),t=JSON.stringify(Array.from(this.m_mapRestoreDetails));try{window.localStorage.setItem(e,t),this.m_bSaveRequired=!1}catch(n){if("name"in n&&"QuotaExceededError"==n.name){console.log("Quota exceeded");for(let t of Object.keys(window.localStorage))t.startsWith("PopupSavedDimensions_")&&t!=e&&window.localStorage.removeItem(t);window.localStorage.setItem(e,t),this.m_bSaveRequired=!1}}}DebouncedSaveSavedDimensionStore(){this.SaveSavedDimensionStore()}ClearSavedDimensionStore(){var e;null===(e=this.m_mapRestoreDetails)||void 0===e||e.clear(),this.m_bSaveRequired=!1}GetRestoreDetails(e){var t;if(!(null===(t=this.m_mapRestoreDetails)||void 0===t?void 0:t.has(e)))return"";let n=this.m_mapRestoreDetails.get(e);return n.last_used=Date.now(),this.m_bSaveRequired=!0,n.strRestoreDetails}SetRestoreDetails(e,t,n){if(e){if(t){if(this.m_mapRestoreDetails.size>50){let e=null,t=Date.now();for(let n of Array.from(this.m_mapRestoreDetails.keys())){let o=this.m_mapRestoreDetails.get(n);o.last_usednew L));window.g_PopupManager=y},697:(e,t,n)=>{"use strict";n.d(t,{B:()=>c});var o=n(47427),i=n(10095);const r=o.createContext({body_class:""});function s(){return o.useContext(r)}var a=n(77936),l=n(13129);n(53923),n(62738);function c(e,t,n){const i=o.useRef(void 0),[r,c]=o.useState(void 0),d=s();return i.current||(i.current=new u(e,function(e,t){return Object.assign(Object.assign({},e),{body_class:(0,l.Z)(e.body_class,t.body_class)})}(t,d),c)),i.current.m_callbacks=n,o.useEffect((()=>{var e,t,n;if(!(null===(e=i.current)||void 0===e?void 0:e.params.bNoInitialShow)){let e=(null===(t=i.current)||void 0===t?void 0:t.params.bNoFocusOnShow)?a.IF.k_EWindowBringToFrontWithoutForcingOS:a.IF.k_EWindowBringToFrontAndForceOS;null===(n=i.current)||void 0===n||n.Show(e)}return()=>{var e,t;i.current.m_callbacks=void 0,(null===(e=i.current.window)||void 0===e?void 0:e.SteamClient.Window.SetHideOnClose)&&(null===(t=i.current.window)||void 0===t||t.SteamClient.Window.SetHideOnClose(!1)),i.current.Close()}}),[]),o.useEffect((()=>{var e,n;(null===(e=i.current.window)||void 0===e?void 0:e.SteamClient.Window.SetHideOnClose)&&(null===(n=i.current.window)||void 0===n||n.SteamClient.Window.SetHideOnClose(!!t.bHideOnClose))}),[t.bHideOnClose]),{popup:i.current.window,element:r,popupObj:i.current}}class u extends i.K3{constructor(e,t,n){super(e,t),this.m_fnReadyToRender=n}DoCallback(e){var t,n;null===(n=null===(t=this.m_callbacks)||void 0===t?void 0:t[e])||void 0===n||n.call(t,this.m_popup,this.m_element)}UpdateParamsBeforeShow(e){var t;return(null===(t=this.m_callbacks)||void 0===t?void 0:t.updateParamsBeforeShow)?this.m_callbacks.updateParamsBeforeShow(e):e}OnCreate(){var e;(null===(e=this.m_callbacks)||void 0===e?void 0:e.onCreate)&&this.m_callbacks.onCreate(this.m_popup,this.m_element)}OnBlur(){this.DoCallback("onBlur")}OnFocus(){this.DoCallback("onFocus")}OnLoad(){this.DoCallback("onLoad")}OnResize(){this.DoCallback("onResize")}OnClose(){this.DoCallback("onClose")}Render(e,t){this.m_fnReadyToRender(t)}}},82493:(e,t,n)=>{"use strict";n.d(t,{DP:()=>f,Fe:()=>c,Hy:()=>h,IS:()=>g,K:()=>d,Ks:()=>m,bX:()=>v,wl:()=>p});var o=n(85556),i=n(47427),r=n(28781),s=n(25849),a=n(20417),l=n(59885);const c=i.forwardRef((function(e,t){const{NavigationManager:n,onActivated:c,onDeactivated:d,navTreeRef:h,secondary:m,virtualFocus:p,navID:g,children:v,"flow-children":f,parentEmbeddedNavTree:_,focusClassesInDesktop:C}=e,b=(0,o._T)(e,["NavigationManager","onActivated","onDeactivated","navTreeRef","secondary","virtualFocus","navID","children","flow-children","parentEmbeddedNavTree","focusClassesInDesktop"]),{elemProps:w,navOptions:E,gamepadEvents:S}=(0,r.QH)(b),D=(null===(M=i.useContext(u))||void 0===M?void 0:M.focusNavWindow)||n.GetDefaultContext();var M;let L=i.useRef(null);L.current||(L.current=n.NewGamepadNavigationTree(D,g));const y=L.current;i.useLayoutEffect((()=>{const e=(0,s.t)(f);y.Root.SetProperties(Object.assign(Object.assign({},E),{layout:e}))}));let R=i.useRef(null);y.SetUseVirtualFocus(p),y.SetParentEmbeddedNavTree(_),y.SetApplyFocusClassesInDesktop(null!=C&&C),(0,a.Qg)(y.OnActivateCallbacks,c),(0,a.Qg)(y.OnDeactivateCallbacks,d),(0,l.Jd)(S,R,L.current),i.useLayoutEffect((()=>y.RegisterNavigationItem(y.Root,R.current)),[y,R]),i.useLayoutEffect((()=>n.RegisterGamepadNavigationTree(y,R.current.ownerDocument.defaultView,null!=m&&m)),[n,m,y]),i.useLayoutEffect((()=>((0,a.k$)(h,y),()=>(0,a.k$)(h,null))),[h,y]);const O=(0,a.BE)(R,t);return i.createElement("div",Object.assign({},w,{id:g,"data-react-nav-root":g,ref:O}),i.createElement(r.ET.Provider,{value:y.Root},v))})),u=i.createContext({focusNavWindow:null,bSupportsFocus:!0});function d(){var e,t;return null===(t=null===(e=i.useContext(u))||void 0===e?void 0:e.bSupportsFocus)||void 0===t||t}function h(){return i.createRef()}const m=(0,r.lP)("div"),p=(0,r.lP)("button"),g=(0,r.lP)("a"),v=(0,r.hi)("input"),f=(0,r.hi)("textarea");(0,r.lP)("img")},28781:(e,t,n)=>{"use strict";n.d(t,{CO:()=>b,QH:()=>w,zQ:()=>S,Iy:()=>_,lP:()=>M,hi:()=>L,ET:()=>f,Pd:()=>C});var o=n(85556),i=n(47427),r=n(82493),s=n(59885),a=n(77262),l=n(80944),c=n(35643);var u=n(47692),d=n(14243),h=n(87476),m=n(13129),p=n(20417),g=n(37563),v=n(6799);const f=(0,u.Yt)("GamepadNavigationContext",(()=>i.createContext(null))),_=(0,u.Yt)("FocusRingNavigationContext",(()=>i.createContext(l.U7)));function C(e){const{navRef:t}=e,n=(0,o._T)(e,["navRef"]),r=i.useRef(null),s=(0,i.useContext)(f),a=(0,i.useContext)(_),l=function(e,t){let n=i.useRef(null);return!e||n.current&&n.current.m_Parent==e||(n.current=e.Tree.CreateNode(e,t)),n.current}(s,a);return i.useLayoutEffect((()=>{l&&l.SetProperties(n)})),i.useLayoutEffect((()=>{if(!s)return;const e=s.Tree.RegisterNavigationItem(l,r.current);return()=>{e()}}),[s,l,r]),i.useLayoutEffect((()=>{if(l&&t)return(0,p.k$)(t,l.CreateHandle()),()=>(0,p.k$)(t,null)}),[l,t]),{ref:r,node:l}}function b(e){const{onButtonDown:t,onButtonUp:n,onOKButton:i,onCancelButton:r,onSecondaryButton:s,onOptionsButton:l,onGamepadDirection:c,onGamepadFocus:u,onGamepadBlur:d,onMenuButton:h,onOKActionDescription:m,onCancelActionDescription:p,onSecondaryActionDescription:g,onOptionsActionDescription:v,onMenuActionDescription:f,actionDescriptionMap:_}=e,C=(0,o._T)(e,["onButtonDown","onButtonUp","onOKButton","onCancelButton","onSecondaryButton","onOptionsButton","onGamepadDirection","onGamepadFocus","onGamepadBlur","onMenuButton","onOKActionDescription","onCancelActionDescription","onSecondaryActionDescription","onOptionsActionDescription","onMenuActionDescription","actionDescriptionMap"]),b={};void 0!==t&&(b.onButtonDown=t),void 0!==n&&(b.onButtonUp=n),void 0!==i&&(b.onOKButton=i),void 0!==r&&(b.onCancelButton=r),void 0!==s&&(b.onSecondaryButton=s),void 0!==l&&(b.onOptionsButton=l),void 0!==h&&(b.onMenuButton=h),void 0!==c&&(b.onGamepadDirection=c),void 0!==u&&(b.onGamepadFocus=u),void 0!==d&&(b.onGamepadBlur=d);return{gamepadEvents:b,actionDescriptions:(0,a.Cj)({onOKActionDescription:m,onCancelActionDescription:p,onSecondaryActionDescription:g,onOptionsActionDescription:v,onMenuActionDescription:f,actionDescriptionMap:_}),props:C}}function w(e){const{autoFocus:t,preferredFocus:n,disableNavSounds:i,fnCanTakeFocus:r,childFocusDisabled:s,retainFocus:a,onFocusWithin:l,navKey:c,noFocusRing:u,focusable:d,focusableIfNoChildren:h,navRef:m,actionDescriptionMap:p,onMoveUp:g,onMoveRight:v,onMoveDown:f,onMoveLeft:_,navEntryPreferPosition:C,scrollIntoViewWhenChildFocused:w,fnScrollIntoViewHandler:E,scrollIntoViewType:S,resetNavOnEntry:D}=e,M=(0,o._T)(e,["autoFocus","preferredFocus","disableNavSounds","fnCanTakeFocus","childFocusDisabled","retainFocus","onFocusWithin","navKey","noFocusRing","focusable","focusableIfNoChildren","navRef","actionDescriptionMap","onMoveUp","onMoveRight","onMoveDown","onMoveLeft","navEntryPreferPosition","scrollIntoViewWhenChildFocused","fnScrollIntoViewHandler","scrollIntoViewType","resetNavOnEntry"]),{gamepadEvents:L,actionDescriptions:y,props:R}=b(M);return{elemProps:R,navOptions:{autoFocus:t,preferredFocus:n,disableNavSounds:i,fnCanTakeFocus:r,childFocusDisabled:s,retainFocus:a,onFocusWithin:l,navKey:c,noFocusRing:u,focusable:d,focusableIfNoChildren:h,navRef:m,onMoveUp:g,onMoveRight:v,onMoveDown:f,onMoveLeft:_,navEntryPreferPosition:C,scrollIntoViewWhenChildFocused:w,fnScrollIntoViewHandler:E,scrollIntoViewType:S,resetNavOnEntry:D,actionDescriptionMap:Object.assign(Object.assign({},p),y)},gamepadEvents:L}}function E(e){return function(t){const{focusClassName:n,focusWithinClassName:s,className:a,divRef:l,node:c,tabIndex:u,children:d}=t,h=(0,o._T)(t,["focusClassName","focusWithinClassName","className","divRef","node","tabIndex","children"]),v=(0,p.NW)(),f=(0,g.id)()||c.Tree.GetApplyFocusClassesInDesktop(),_=(0,r.K)(),C=c.BHasFocus()&&_,b=c.BFocusWithin()&&_,w=c.Tree.BIsActive();return(0,p.Qg)(c.FocusCallbackList,v),(0,p.Qg)(c.FocusWithinCallbackList,v),(0,p.Qg)(c.Tree.OnActiveStateChangedCallbacks,C||b?v:void 0),i.createElement(e,Object.assign(Object.assign({},h),{className:(0,m.Z)(a,f&&C&&w&&n,f&&b&&w&&s),tabIndex:w?u:-1,ref:l}),d)}}const S=E("div");function D(e,t,n,o){const{elemProps:r,navOptions:a,gamepadEvents:l}=w(n);void 0!==a.focusable||r.disabled||(a.focusable=!0);const{ref:c,node:u}=C(Object.assign({},a)),g=(0,i.useCallback)((()=>{var e;return d.LT.PlayNavSound(d.qr.DefaultOk),null===(e=c.current)||void 0===e||e.click(),!0}),[c]);l.onOKButton||("onClick"in r&&r.onClick||"button"==e&&"submit"==r.type||"a"==e)&&(l.onOKButton=g),a.focusable&&(r.tabIndex=r.tabIndex||0),(0,s.pD)(l,c);const _=(0,h.Ze)(2,(()=>"self"==(null==u?void 0:u.GetFocusable())||null!=r.onClick)),b=(0,v.M)(r);(0,v.B)(r);const E=(0,p.BE)(_,b,o,c),S=r.children;delete r.children;const D=r.focusClassName;return delete r.focusClassName,i.createElement(f.Provider,{value:u},u?i.createElement(t,Object.assign(Object.assign({},r),{divRef:E,node:u,focusClassName:(0,m.Z)(D,"gpfocus"),focusWithinClassName:"gpfocuswithin",className:(0,m.Z)(r.className,"Focusable")}),S):i.createElement(e,Object.assign(Object.assign({},r),{ref:E,className:(0,m.Z)(r.className,"Focusable")}),S))}function M(e){const t=E(e);return i.forwardRef((function(n,o){return D(e,t,n,o)}))}function L(e){const t=E(e);return i.forwardRef((function(n,i){const r=function(e){const{onEnterKeyPress:t,strEnterKeyLabel:n,onKeyboardNavOut:i,onKeyboardShow:r,onKeyboardFullyVisible:s,onTextEntered:a,BIsElementValidForInput:l}=e;return{virtualKeyboardProps:{onEnterKeyPress:t,strEnterKeyLabel:n,onKeyboardNavOut:i,onKeyboardShow:r,onKeyboardFullyVisible:s,onTextEntered:a,BIsElementValidForInput:l},props:(0,o._T)(e,["onEnterKeyPress","strEnterKeyLabel","onKeyboardNavOut","onKeyboardShow","onKeyboardFullyVisible","onTextEntered","BIsElementValidForInput"])}}(n),{virtualKeyboardProps:s}=r,a=r.props,{refKeyboardHandle:l}=a,u=(0,o._T)(a,["refKeyboardHandle"]),d=(0,c.k$)(s,l),h=(0,p.BE)(i,d);return D(e,t,u,h)}))}},4030:(e,t,n)=>{"use strict";n.d(t,{O:()=>m});var o=n(47427),i=n(13129),r=n(68785),s=(n(80944),n(28781)),a=n(51194),l=n.n(a),c=n(20417),u=n(37563),d=n(82493);const h=new r.sO("FocusNavigation").Debug;function m(e){const{className:t,rootClassName:n,render:r,children:a,NavigationManager:h}=e,m=(0,u.id)(),g=o.useRef(null),[v,f]=o.useState({bFocusWithin:!1,navTarget:null,prevTarget:null}),_=(0,c.e1)(null==h?void 0:h.GetShowDebugFocusRing()),C=o.useRef(null),b=(0,d.K)(),w=o.useMemo((()=>({OnBlur:(e,t,n)=>{f({bFocusWithin:!1,navTarget:null,prevTarget:null})},OnFocus:(e,t,n)=>{f({bFocusWithin:!0,navTarget:t,prevTarget:null})},OnFocusChange:(e,t,n)=>{f({bFocusWithin:!0,navTarget:n,prevTarget:t})},OnForceMeasureFocusRing:()=>{var e;null===(e=C.current)||void 0===e||e.MeasureElementAndUpdate()}})),[f]),{bFocusWithin:E,navTarget:S}=v;return m?o.createElement(o.Fragment,null,o.createElement("div",{className:(0,i.Z)(l().FocusRingRoot,n),ref:g},o.createElement(p,{ref:C,className:(0,i.Z)(t,_&&l().DebugFocusRing),render:r,bFocusWithin:E&&(b||_),navTarget:S,refContainer:g,bDebug:_})),o.createElement(s.Iy.Provider,{value:w},a)):o.createElement(o.Fragment,null,a)}const p=o.forwardRef((function(e,t){const{className:n,render:r,bFocusWithin:s,navTarget:a,refContainer:c,bDebug:u}=e,[d,m]=o.useState(a),[p,v]=o.useState(null),[f,_]=o.useState(!1),[C,b]=o.useState(!1),w=o.useRef(performance.now()),E=(0,o.useCallback)((()=>{if(!a||!a.BWantsFocusRing())return null!=p&&(v(null),!0);let e=a.GetBoundingRect();const t=c.current.getBoundingClientRect();if(u){let t=a.Element;const n=t.ownerDocument.defaultView,o=t=>"none"==n.getComputedStyle(t).display||0==(null==e?void 0:e.width)&&0==e.height&&0==e.x&&0==e.y;for(;o(t)&&(null==t?void 0:t.parentElement);)t=t.parentElement,e=t.getBoundingClientRect();let i=a.Element!=t;i!=C&&(b(i),i&&h("Focused on hidden item: ",a.Element,". Closest visible ancestor: ",t))}const n={left:e.x-t.x,top:e.y-t.y,height:e.height,width:e.width};return(!p||n.left!=p.left||n.top!=p.top||n.height!=p.height||n.width!=p.width)&&(v(n),!0)}),[a,c,v,p,C,b,u]);o.useImperativeHandle(t,(()=>({MeasureElementAndUpdate:E})),[E]);let S=s,D=p||{};a&&c.current&&(a.BWantsFocusRing()||(S=!1)),a!=d&&(m(a),w.current=performance.now(),E(),f&&_(!1)),o.useEffect((()=>{if(!S||performance.now()-w.current>500)return;let e;const t=()=>{e=requestAnimationFrame((()=>{E()?_(!0):performance.now()-w.current<=500&&t()}))};return t(),()=>cancelAnimationFrame(e)}));const M=r||g;return o.createElement(M,Object.assign({},D,{visible:S&&null!==p,key:w.current,className:(0,i.Z)(n,C&&l().FocusRingOnHiddenItem),animationEnabled:!f,target:a}))}));function g(e){const{className:t,visible:n,left:r,top:s,height:a,width:c,target:u,animationEnabled:d}=e;if(!n)return null;const h={left:(null!=r?r:0)-0+"px",top:(null!=s?s:0)-0+"px",height:a+"px",width:c+"px"};return o.createElement("div",{className:(0,i.Z)(l().FocusRing,d&&l().Animated,t),style:h})}},59885:(e,t,n)=>{"use strict";n.d(t,{Jd:()=>u,pD:()=>l});var o=n(85556),i=n(47427),r=n(77262),s=n(68785);n(28781);const a=new s.sO("GamepadEvents").Debug;function l(e,t,n){void 0===n&&(n=[e.onButtonDown,e.onButtonUp,e.onOKButton,e.onCancelButton,e.onSecondaryButton,e.onOptionsButton,e.onMenuButton,e.onGamepadDirection,e.onGamepadFocus,e.onGamepadBlur]),i.useLayoutEffect((()=>{let n=t.current;const o=[];return n&&(e.onButtonDown&&o.push((0,r.VC)(n,e.onButtonDown)),e.onButtonUp&&o.push((0,r.If)(n,e.onButtonUp)),e.onOKButton&&o.push((0,r.x)(n,e.onOKButton)),e.onCancelButton&&o.push((0,r.R3)(n,e.onCancelButton)),e.onSecondaryButton&&o.push((0,r.n2)(n,e.onSecondaryButton)),e.onOptionsButton&&o.push((0,r.DX)(n,e.onOptionsButton)),e.onMenuButton&&o.push((0,r.WF)(n,e.onMenuButton)),e.onGamepadDirection&&o.push((0,r.$G)(n,e.onGamepadDirection)),e.onGamepadFocus&&o.push((0,r.mk)(n,e.onGamepadFocus)),e.onGamepadBlur&&o.push((0,r.BG)(n,e.onGamepadBlur))),()=>o.forEach((e=>e()))}),n)}function c(e){return e.stopPropagation(),!1}function u(e,t,n){const{onButtonDown:r}=e,s=(0,o._T)(e,["onButtonDown"]),u=i.useCallback((e=>{r&&r(e),a("Gamepad Event fired:",e.detail.button,", handled:",null!=r,", propagation stopped:",e.cancelBubble),e.cancelBubble||n.HandleButtonDownEventAsLogicalEvent(e)}),[r,n]);l(s,t);l({onButtonDown:u,onButtonUp:c,onOKButton:c,onCancelButton:c,onSecondaryButton:c,onOptionsButton:c,onMenuButton:c,onGamepadDirection:c,onGamepadFocus:c,onGamepadBlur:c},t,[u])}},91618:(e,t,n)=>{"use strict";n.d(t,{s:()=>v});var o=n(85556),i=n(47427),r=n(28781),s=n(25849),a=n(87476),l=n(13129),c=n(20417),u=n(6799),d=n(37563);const h=(0,i.createContext)(null);var m=n(3783),p=n(82493),g=n(59885);const v=i.forwardRef((function(e,t){var n;const{"flow-children":a,onActivate:u,onCancel:h,focusClassName:v,focusWithinClassName:_}=e,C=(0,o._T)(e,["flow-children","onActivate","onCancel","focusClassName","focusWithinClassName"]),{elemProps:b,navOptions:w,gamepadEvents:E}=(0,r.QH)(C);let S={};const D=(0,s.t)(a);D!=m.gj.NONE&&(S.layout=D),u&&(b.onClick=b.onClick||u,E.onOKButton=E.onOKButton||u),E.onOKButton&&void 0===w.focusable&&void 0===w.focusableIfNoChildren&&(w.focusable=!0),h&&(E.onCancelButton=E.onCancelButton||h);const{ref:M,node:L}=(0,r.Pd)(Object.assign(Object.assign({},S),w)),y=(0,p.K)();b.className=(0,l.Z)(b.className,"Panel",y&&"Focusable"),(0,g.pD)(E,M);const R=(0,c.BE)(M,t),O=null===(n=(0,d.qt)({bSuppressAssert:!0}))||void 0===n?void 0:n.IN_VR;!w.focusable&&!w.focusableIfNoChildren||L&&L.Tree.BUseVirtualFocus()||(b.tabIndex=b.tabIndex||0);const I=O?f:r.zQ;return i.createElement(r.ET.Provider,{value:L},L?i.createElement(I,Object.assign({},b,{divRef:R,node:L,focusClassName:(0,l.Z)(v,"gpfocus"),focusWithinClassName:(0,l.Z)(_,"gpfocuswithin")})):i.createElement("div",Object.assign({},b,{ref:R})))}));function f(e){const{node:t,divRef:n}=e,s=(0,o._T)(e,["node","divRef"]),l=(0,i.useContext)(h),d=(0,a.Ze)(2,(()=>"self"==(null==t?void 0:t.GetFocusable())||null!=s.onClick)),m=(0,a.Ze)(1,(()=>null==l?void 0:l.HasContextMenu(t))),p=(0,u.M)(s);(0,u.B)(s),l&&(s.onContextMenu=n=>{var o;l.OnContextMenu(t,n)||null===(o=e.onContextMenu)||void 0===o||o.call(e,n)});const g=(0,c.BE)(d,m,p,n);return i.createElement(r.zQ,Object.assign({},s,{divRef:g,node:t}))}},84686:(e,t,n)=>{"use strict";n.d(t,{eh:()=>l});var o=n(85556),i=n(47427),r=n(20417),s=n(91618),a=n(47144);const l=i.forwardRef((function(e,t){const{onExplicitFocusLevelChanged:n,onOKButton:a,onCancelButton:l,navRef:u,focusable:d}=e,h=(0,o._T)(e,["onExplicitFocusLevelChanged","onOKButton","onCancelButton","navRef","focusable"]),m=i.useRef(null),{fnOnOKButton:p,fnOnCancelButton:g}=c({navRefPanel:m,onOKButton:a,onCancelButton:l,onExplicitFocusLevelChanged:n}),v=(0,r.BE)(u,m);return i.createElement(s.s,Object.assign({},h,{onOKButton:p,onCancelButton:g,navRef:v,ref:t,focusable:!1!==d}))}));i.forwardRef((function(e,t){const{onOKButton:n,onCancelButton:s,navRef:l,focusable:u}=e,d=(0,o._T)(e,["onOKButton","onCancelButton","navRef","focusable"]),h=i.useRef(null),m=i.useRef(null),p=i.useCallback(((e,t)=>e.FocusVisibleChild()),[]),{fnOnOKButton:g,fnOnCancelButton:v}=c({navRefPanel:h,onOKButton:n,onCancelButton:s,fnFocusChildren:p}),f=(0,r.BE)(m,t),_=(0,r.BE)(l,h);return i.createElement(a.TN,Object.assign({},d,{onOKButton:e=>null==g?void 0:g(e),onCancelButton:v,navRef:_,ref:f,focusable:!1!==u}))}));function c(e){let{navRefPanel:t,onOKButton:n,onCancelButton:o,onExplicitFocusLevelChanged:r,fnFocusChildren:s}=e;s=null!=s?s:u;return{fnOnOKButton:i.useCallback((e=>{const o=t.current;return(null==o?void 0:o.BHasFocus())&&s(o,e.detail.button)?(r&&r(!0),!0):!!n&&n(e)}),[t,n,r,s]),fnOnCancelButton:i.useCallback((e=>{const n=t.current;return(null==n?void 0:n.BFocusWithin())&&!n.BHasFocus()&&n.TakeFocus(e.detail.button)?(r&&r(!1),!0):!!o&&o(e)}),[t,o,r])}}function u(e,t){return e.ChildTakeFocus(t)}},47144:(e,t,n)=>{"use strict";n.d(t,{P8:()=>g,TN:()=>v});var o=n(85556),i=n(47427),r=n(13974),s=n(62210),a=n(13129),l=n(20417),c=n(56617),u=n(3783),d=n(4030),h=n(91618),m=n(87123),p=n.n(m);const g=i.forwardRef((function(e,t){var n;const{scrollDirection:s,scrollPaddingTop:c,scrollPaddingRight:u,scrollPaddingBottom:m,scrollPaddingLeft:g,className:v,children:f,style:_}=e,C=(0,o._T)(e,["scrollDirection","scrollPaddingTop","scrollPaddingRight","scrollPaddingBottom","scrollPaddingLeft","className","children","style"]);let b;switch(s){case"x":b=p().ScrollX;break;case"both":b=p().ScrollBoth;break;default:b=p().ScrollY}let w=Object.assign({},_);(c||0===c)&&(w.scrollPaddingTop=c),(u||0===u)&&(w.scrollPaddingRight=u),(m||0===m)&&(w.scrollPaddingBottom=m),(g||0===g)&&(w.scrollPaddingLeft=g);const{ref:E,navRef:S}=(0,r.$1)(),D=(0,l.BE)(S,C.navRef),M=(0,l.BE)(E,t),L=null===(n=null==S?void 0:S.current)||void 0===n?void 0:n.Node().Tree.Controller;return i.createElement(h.s,Object.assign({},C,{style:w,className:(0,a.Z)(v,p().ScrollPanel,b),ref:M,navRef:D}),i.createElement(d.O,{NavigationManager:L},f))})),v=i.forwardRef((function(e,t){const{scrollStepPercent:n,scrollBehavior:s}=e,a=(0,o._T)(e,["scrollStepPercent","scrollBehavior"]),c=i.useRef(null),d=i.useCallback((e=>e.currentTarget!=e.target),[]),h=(0,r.pj)(c,s,n,d),m=(0,l.BE)(c,t);return i.createElement(g,Object.assign({},a,{onGamepadDirection:h,ref:m,scrollIntoViewType:u.mz.NoTransformSparseContent}))}));i.forwardRef((function(e,t){const{name:n,msScrollRestoreDelay:r,onScroll:s}=e,a=(0,o._T)(e,["name","msScrollRestoreDelay","onScroll"]);return i.createElement(f,{name:n,msScrollRestoreDelay:r,parentOnScroll:s,refDiv:t},((e,t)=>i.createElement(g,Object.assign({},a,{onScroll:e,ref:t}))))})),i.forwardRef((function(e,t){const{name:n,msScrollRestoreDelay:r,onScroll:s}=e,a=(0,o._T)(e,["name","msScrollRestoreDelay","onScroll"]);return i.createElement(f,{name:n,msScrollRestoreDelay:r,parentOnScroll:s,refDiv:t},((e,t)=>i.createElement(v,Object.assign({},a,{onScroll:e,ref:t}))))}));function f(e){const{name:t,msScrollRestoreDelay:n,parentOnScroll:o,refDiv:r,children:a}=e,[u,d]=(0,c.lJ)(`${t}ScrollTop`,250,0),[h,m]=(0,c.lJ)(`${t}ScrollLeft`,250,0),p=i.useRef(0),g=i.useRef(0),v=i.useRef();let f=i.useCallback((e=>{const{scrollTop:t,scrollLeft:n}=e.currentTarget;d(t),p.current=t,m(n),g.current=n,o&&o(e)}),[d,m,o]);i.useLayoutEffect((()=>{const e=function(){v.current&&((0,s.X)(v.current.scrollHeight>=u,`Element is ${v.current.scrollHeight} high but trying to restore scrollTop of ${u}, element may need more time to lay out.`,v.current),p.current=u,g.current=h,v.current.scrollTo({top:u,left:h,behavior:"auto"}),v.current.dispatchEvent(new UIEvent("scroll")))};u==p.current&&h==g.current||(n?window.setTimeout(e,n):e())}),[u,h,n]);const _=(0,l.BE)(v,r);return i.useMemo((()=>a(f,_)),[f,_,a])}},77262:(e,t,n)=>{"use strict";n.d(t,{$G:()=>p,BG:()=>v,Cj:()=>b,DX:()=>h,If:()=>l,Jb:()=>f,R3:()=>u,Ut:()=>_,VC:()=>a,WF:()=>m,mk:()=>g,n2:()=>d,uS:()=>o,x:()=>c});var o,i=n(15633);!function(e){e[e.GAMEPAD=0]="GAMEPAD",e[e.KEYBOARD=1]="KEYBOARD",e[e.APPLICATION=2]="APPLICATION",e[e.BROWSER=3]="BROWSER"}(o||(o={}));let r={[i.eV.OK]:"vgp_onok",[i.eV.CANCEL]:"vgp_oncancel",[i.eV.SECONDARY]:"vgp_onsecondaryaction",[i.eV.OPTIONS]:"vgp_onoptions",[i.eV.START]:"vgp_onmenu"};function s(e,t,n){return e.addEventListener(t,n),()=>function(e,t,n){e.removeEventListener(t,n)}(e,t,n)}function a(e,t){return s(e,"vgp_onbuttondown",t)}function l(e,t){return s(e,"vgp_onbuttonup",t)}function c(e,t){return s(e,"vgp_onok",C(t))}function u(e,t){return s(e,"vgp_oncancel",C(t))}function d(e,t){return s(e,"vgp_onsecondaryaction",C(t))}function h(e,t){return s(e,"vgp_onoptions",C(t))}function m(e,t){return s(e,"vgp_onmenu",C(t))}function p(e,t){return s(e,"vgp_ondirection",C(t))}function g(e,t){return s(e,"vgp_onfocus",t)}function v(e,t){return s(e,"vgp_onblur",t)}function f(e,t,n){let o=e;if(!o||!o.ownerDocument||!o.ownerDocument.defaultView)return!0;let i=new o.ownerDocument.defaultView.CustomEvent(t,{bubbles:!0,cancelable:!0,detail:n});return o.dispatchEvent(i)}function _(e){const t=[i.eV.DIR_UP,i.eV.DIR_DOWN,i.eV.DIR_LEFT,i.eV.DIR_RIGHT];let n=!0,o=!1,s=r[e.detail.button];return s?(o=!0,n=f(e.target,s,e.detail)):-1!==t.indexOf(e.detail.button)&&(o=!0,n=f(e.target,"vgp_ondirection",e.detail)),{bUnhandled:n,bHadLogicalEventMapping:o}}function C(e){return t=>{!1!==e(t)&&(t.stopPropagation(),t.preventDefault())}}function b(e){const{onOKActionDescription:t,onCancelActionDescription:n,onSecondaryActionDescription:o,onOptionsActionDescription:r,onMenuActionDescription:s,actionDescriptionMap:a}=e,l=Object.assign({},a);return void 0!==t&&(l[i.eV.OK]=t),void 0!==n&&(l[i.eV.CANCEL]=n),void 0!==o&&(l[i.eV.SECONDARY]=o),void 0!==r&&(l[i.eV.OPTIONS]=r),void 0!==s&&(l[i.eV.START]=s),l}},15633:(e,t,n)=>{"use strict";n.d(t,{eV:()=>i,Rr:()=>r,oH:()=>c});var o,i,r,s=n(45492);class a{constructor(e){this.m_config=e}Reset(){this.m_ActiveInputId=void 0,null!=this.m_ActiveInputTimeout&&(clearInterval(this.m_ActiveInputTimeout),this.m_ActiveInputTimeout=void 0)}HandleInputButtonDown(e,t){if(this.m_ActiveInputId!==e&&null!=t){this.Reset(),this.m_ActiveInputId=e;const n=()=>{this.m_ActiveInputTimeout=window.setInterval((()=>{t()}),this.m_config.repeatInterval_ms)};null==this.m_config.firstRepeatInterval_ms||this.m_config.firstRepeatInterval_ms===this.m_config.repeatInterval_ms?n():this.m_ActiveInputTimeout=window.setTimeout((()=>{t(),n()}),this.m_config.firstRepeatInterval_ms)}}}!function(e){e[e.None=0]="None",e[e.Horizontal=1]="Horizontal",e[e.Vertical=2]="Vertical"}(o||(o={}));class l{constructor(e){this.m_repeatOnAxis=o.None,this.m_bRepeatEnabled=!0,this.m_config=e,this.m_inputRepeatGenerator=new a(e)}Reset(){this.m_inputRepeatGenerator.Reset()}SetEnabled(e){this.m_bRepeatEnabled=e,this.m_bRepeatEnabled||this.Reset()}HandleInputButtonDown(e,t,n){this.m_bRepeatEnabled&&this.m_config.inputsThatRepeat.has(e)?this.m_repeatOnAxis==o.None&&(e!=i.DIR_UP&&e!=i.DIR_DOWN||(this.m_repeatOnAxis=o.Vertical),e!=i.DIR_LEFT&&e!=i.DIR_RIGHT||(this.m_repeatOnAxis=o.Horizontal),t(),this.m_inputRepeatGenerator.HandleInputButtonDown(e,n)):(t(),this.m_inputRepeatGenerator.Reset())}HandleInputButtonUp(e){if(this.m_config.inputsThatRepeat.has(e)&&this.m_repeatOnAxis!=o.None){const t=e==i.DIR_UP||e==i.DIR_DOWN,n=e==i.DIR_LEFT||e==i.DIR_RIGHT;(this.m_repeatOnAxis==o.Vertical&&t||this.m_repeatOnAxis==o.Horizontal&&n)&&(this.m_repeatOnAxis=o.None,this.m_inputRepeatGenerator.Reset())}else this.m_inputRepeatGenerator.Reset()}}!function(e){e[e.INVALID=0]="INVALID",e[e.OK=1]="OK",e[e.CANCEL=2]="CANCEL",e[e.SECONDARY=3]="SECONDARY",e[e.OPTIONS=4]="OPTIONS",e[e.BUMPER_LEFT=5]="BUMPER_LEFT",e[e.BUMPER_RIGHT=6]="BUMPER_RIGHT",e[e.TRIGGER_LEFT=7]="TRIGGER_LEFT",e[e.TRIGGER_RIGHT=8]="TRIGGER_RIGHT",e[e.DIR_UP=9]="DIR_UP",e[e.DIR_DOWN=10]="DIR_DOWN",e[e.DIR_LEFT=11]="DIR_LEFT",e[e.DIR_RIGHT=12]="DIR_RIGHT",e[e.SELECT=13]="SELECT",e[e.START=14]="START",e[e.LSTICK_CLICK=15]="LSTICK_CLICK",e[e.RSTICK_CLICK=16]="RSTICK_CLICK",e[e.LSTICK_TOUCH=17]="LSTICK_TOUCH",e[e.RSTICK_TOUCH=18]="RSTICK_TOUCH",e[e.LPAD_TOUCH=19]="LPAD_TOUCH",e[e.LPAD_CLICK=20]="LPAD_CLICK",e[e.RPAD_TOUCH=21]="RPAD_TOUCH",e[e.RPAD_CLICK=22]="RPAD_CLICK",e[e.REAR_LEFT_UPPER=23]="REAR_LEFT_UPPER",e[e.REAR_LEFT_LOWER=24]="REAR_LEFT_LOWER",e[e.REAR_RIGHT_UPPER=25]="REAR_RIGHT_UPPER",e[e.REAR_RIGHT_LOWER=26]="REAR_RIGHT_LOWER",e[e.STEAM_GUIDE=27]="STEAM_GUIDE",e[e.STEAM_QUICK_MENU=28]="STEAM_QUICK_MENU"}(i||(i={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.GAMEPAD=1]="GAMEPAD",e[e.KEYBOARD=2]="KEYBOARD",e[e.MOUSE=3]="MOUSE",e[e.TOUCH=4]="TOUCH",e[e.LPAD=5]="LPAD",e[e.RPAD=6]="RPAD"}(r||(r={}));class c{constructor(){this.m_OnGamepadDetectedCallbacks=new s.pB,this.m_ButtonDownCallbacks=new s.pB,this.m_ButtonUpCallbacks=new s.pB,this.m_AnalogCallbacks=new s.pB,this.m_NavigationTypeChangeCallbacks=new s.pB,this.m_nLastActiveControllerIndex=-1,this.m_ButtonRepeatHandler=new l({inputsThatRepeat:new Set([i.DIR_UP,i.DIR_DOWN,i.DIR_LEFT,i.DIR_RIGHT]),firstRepeatInterval_ms:400,repeatInterval_ms:50}),this.m_bGamepadDetected=!1}RegisterForGamepadDetected(e){return this.m_OnGamepadDetectedCallbacks.Register(e)}RegisterForGamepadButtonDown(e){return this.m_ButtonDownCallbacks.Register(e)}RegisterForGamepadButtonUp(e){return this.m_ButtonUpCallbacks.Register(e)}RegisterForAnalog(e){return this.m_AnalogCallbacks.Register(e)}RegisterForNavigationTypeChange(e){return this.m_NavigationTypeChangeCallbacks.Register(e)}SetSourceType(e){this.m_eNavigationSourceType=e}GetSourceType(){return this.m_eNavigationSourceType}SetControllerActive(e){this.m_nLastActiveControllerIndex=e,this.m_fLastActiveTime=Date.now()}GetActiveControllerIndex(){return this.m_nLastActiveControllerIndex}GetActiveControllerTime(){return this.m_fLastActiveTime}SetRepeatAllowed(e){this.m_ButtonRepeatHandler.SetEnabled(e)}OnGamepadDetected(){console.log("Gamepad detected"),this.m_bGamepadDetected=!0,this.m_OnGamepadDetectedCallbacks.Dispatch()}OnButtonDown(e,t){void 0===t&&(t=-1),this.SetControllerActive(t),this.m_ButtonRepeatHandler.HandleInputButtonDown(e,(()=>this.DispatchButtonDown(e,!1)),(()=>this.DispatchButtonDown(e,!0)))}OnButtonUp(e,t){void 0===t&&(t=-1),this.SetControllerActive(t),this.m_ButtonRepeatHandler.HandleInputButtonUp(e),this.m_ButtonUpCallbacks.Dispatch(e,this.m_eNavigationSourceType,this.m_nLastActiveControllerIndex)}DispatchButtonDown(e,t){this.m_ButtonDownCallbacks.Dispatch(e,this.m_eNavigationSourceType,this.m_nLastActiveControllerIndex,t)}OnAnalogPad(e,t,n,o){void 0===o&&(o=-1),this.SetControllerActive(o),this.m_AnalogCallbacks.Dispatch(e,this.m_nLastActiveControllerIndex,t,n)}OnNavigationTypeChanged(e){this.m_NavigationTypeChangeCallbacks.Dispatch(e)}}},20922:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var o=n(85556),i=n(15633),r=n(43235),s=n(83999),a=n(62210),l=n(16997),c=n(45492),u=n(50423),d=n(68785),h=n(77262),m=n(78078);const p=new d.sO("FocusNavigation").Debug;class g{constructor(e,t,n){this.m_bActive=!1,this.m_rgGamepadNavigationTrees=[],this.m_LastActiveNavTree=null,this.m_LastActiveFocusNavTree=null,this.m_bMounted=!0,this.m_schDeferredActivate=new c.Ar,this.m_FocusChangedCallbacks=new c.pB,this.m_ActiveCallbacks=new c.pB,this.m_bIsGamepadInputSuppressed=!1,this.m_iFocusChangeStack=0,this.m_controller=e,this.m_rootWindow=t,this.m_activeWindow=t,this.m_bIsGamepadInputSuppressed=n}get RootWindow(){return this.m_rootWindow}get ActiveWindow(){return this.m_activeWindow}FindNavTreeInFocusedWindow(){var e;for(let t=this.m_rgGamepadNavigationTrees.length-1;t>=0;t--){const n=this.m_rgGamepadNavigationTrees[t];if(null===(e=n.Window)||void 0===e?void 0:e.document.hasFocus())return n}}Destroy(e){e==this.m_rootWindow?(p(`${this.LogName(e)} Destroying context for window`),this.m_bMounted=!1,this.m_schDeferredActivate.Cancel(),this.SetActive(!1,e)):p(`${this.LogName(e)} Child window destroyed`)}SetActive(e,t,n=void 0){this.m_controller.BatchedUpdate((()=>{var o;const i=this.m_bActive!=e;this.m_bActive=e,e?(this.m_activeWindow=t,this.m_activeBrowserView=n,this.m_controller.OnContextActivated(this)):(this.m_activeBrowserView=void 0,this.m_controller.OnContextDeactivated(this,!1)),i&&(this.m_bActive=e,this.m_ActiveCallbacks.Dispatch(e),null===(o=this.m_LastActiveFocusNavTree)||void 0===o||o.OnActiveStateChangedCallbacks.Dispatch(e,this.m_LastActiveFocusNavTree))}))}OnActivate(e){p(`${this.LogName(e)} Activating context, there are ${this.m_rgGamepadNavigationTrees.length} trees in this context`),this.SetActive(!0,e)}OnActivateBrowserView(e,t){p(`${this.LogName(e)} Browser View "${t}" activated in context`),this.SetActive(!0,e,t)}OnDeactivate(e){var t;this.m_activeWindow==e?(p(`${this.LogName(e)} Deactivate context for window`),this.SetActive(!1,e)):p(`${this.LogName(e)} Blurred, but not deactivating because (${null===(t=this.m_activeWindow)||void 0===t?void 0:t.name}) has focus.`)}OnDeactivateBrowserView(e,t){p(`${this.LogName(e)} Browser View "${t}" deactivated in context`),this.m_activeBrowserView==t&&this.SetActive(!1,e,t)}BIsGamepadInputSuppressed(){return this.m_bIsGamepadInputSuppressed}BIsActive(){return this.m_bActive}get ActiveCallbacks(){return this.m_ActiveCallbacks}AddNavTree(e,t){t?this.m_rgGamepadNavigationTrees.unshift(e):(this.m_rgGamepadNavigationTrees.push(e),this.SetActiveNavTree(e,!0))}LogName(e=void 0){return e&&this.m_rootWindow!=e?`(${this.m_rootWindow.name}) > (${e.name})`:`(${this.m_rootWindow.name})`}SetActiveNavTree(e,t=!1){if(e&&this.m_LastActiveNavTree==e)return;const n=this.m_LastActiveNavTree;n&&s.Zf(this.m_rgGamepadNavigationTrees,n),e||this.m_rgGamepadNavigationTrees.length&&(e=this.m_rgGamepadNavigationTrees[this.m_rgGamepadNavigationTrees.length-1]);const o=this.m_LastActiveFocusNavTree==e;e&&s.Zf(this.m_rgGamepadNavigationTrees,e),this.m_LastActiveNavTree=e,e&&e.BUseVirtualFocus()||(this.m_LastActiveFocusNavTree=e),p(`${this.LogName(null==e?void 0:e.Window)} Move from nav tree ${null==n?void 0:n.id} to nav tree ${null==e?void 0:e.id} ${t?"taking focus":"no focus"}`),n&&this.m_rgGamepadNavigationTrees.push(n),e&&(this.m_rgGamepadNavigationTrees.push(e),o||!t||e.DeferredFocus.BHasQueuedFocusNode()||e.DeferredFocus.RequestFocus(e.Root)),n&&n!=this.m_LastActiveFocusNavTree&&n.OnDeactivate(e),e&&!o&&e.OnActivate(n)}BlurNavTree(e){this.m_LastActiveNavTree==e&&this.SetActiveNavTree(null,!0),s.Zf(this.m_rgGamepadNavigationTrees,e),this.m_rgGamepadNavigationTrees.unshift(e)}UnregisterGamepadNavigationTree(e){s.Zf(this.m_rgGamepadNavigationTrees,e),p(`(${this.m_rootWindow.name}) Unregister tree ${null==e?void 0:e.id} ${this.m_LastActiveFocusNavTree==e?"(was active)":"(inactive)"}`),this.m_LastActiveNavTree==e&&(this.m_LastActiveNavTree=null,this.m_bMounted&&this.m_schDeferredActivate.Schedule(1,(()=>{this.m_LastActiveNavTree||this.SetActiveNavTree(null,!0)})))}get FocusChangedCallbacks(){return this.m_FocusChangedCallbacks}OnFocusChangeStart(e,t,n,o){return 0==this.m_iFocusChangeStack?this.m_ActiveFocusChange={source:e,from:n,to:o}:this.m_ActiveFocusChange&&!this.m_ActiveFocusChange.from&&n&&(this.m_ActiveFocusChange.from=n),this.m_iFocusChangeStack++}OnFocusChangeComplete(e){var t;if(this.m_iFocusChangeStack--,(0,a.X)(e==this.m_iFocusChangeStack,"out of order focus pop"),0==this.m_iFocusChangeStack){const{source:e,from:n,to:o}=null!==(t=this.m_ActiveFocusChange)&&void 0!==t?t:{};this.m_FocusChangedCallbacks.Dispatch(e,n,o)}}}const v=new d.sO("FocusNavigation").Debug,f=new d.sO("FocusNavigation").Assert,_="focus-nav-show-debug-focus-ring";function C(e,t){return(null==e?void 0:e.eActivationSourceType)===(null==t?void 0:t.eActivationSourceType)&&(null==e?void 0:e.nActiveGamepadIndex)===(null==t?void 0:t.nActiveGamepadIndex)&&(null==e?void 0:e.nLastActiveGamepadIndex)===(null==t?void 0:t.nLastActiveGamepadIndex)}class b{constructor(){this.m_rgGamepadInputSources=[],this.m_rgAllContexts=[],this.m_bGlobalEventsInitialized=!1,this.m_fnCatchAllGamepadInput=null,this.m_UnhandledButtonEventsCallbacks=new c.pB,this.m_navigationSource=(0,c.vq)({eActivationSourceType:i.Rr.UNKNOWN,nActiveGamepadIndex:-1,nLastActiveGamepadIndex:-1},C),this.m_navigationSourceSupportsFocus=(0,c.km)(this.m_navigationSource,(e=>(null==e?void 0:e.eActivationSourceType)===i.Rr.GAMEPAD||(null==e?void 0:e.eActivationSourceType)===i.Rr.KEYBOARD||(null==e?void 0:e.eActivationSourceType)===i.Rr.UNKNOWN)),this.m_bShowDebugFocusRing=(0,c.vq)(!1),this.m_bRestoringHistory=!1,this.m_fnGamepadEventUpdateBatcher=e=>e(),window.FocusNavController=this,this.m_bShowDebugFocusRing.Set("shown"==sessionStorage.getItem(_))}CreateContext(e,t){const n=new g(this,e,t);return this.m_rgAllContexts.push(n),n}GetDefaultContext(){return this.m_DefaultContext||(this.m_DefaultContext=this.CreateContext(window,!1)),this.m_DefaultContext}GetActiveContext(){return this.m_ActiveContext}FindAnActiveContext(){var e;if(!this.m_ActiveContext&&0!=this.m_rgAllContexts.length){console.warn("No active context; finding one");for(const e of this.m_rgAllContexts){const t=e.FindNavTreeInFocusedWindow();if(t){v(`${e.LogName(t.Window)} Found a focused window; setting this context as active.`),this.m_ActiveContext=e,this.m_ActiveContext.OnActivate(t.Window);break}}}return!this.m_ActiveContext&&this.m_LastActiveContext&&((0,a.X)(!1,`Failed to find an active context, will fall back to ${this.m_LastActiveContext.LogName()}`),this.m_ActiveContext=this.m_LastActiveContext,this.m_ActiveContext.OnActivate(null===(e=this.m_LastActiveContext.m_LastActiveFocusNavTree)||void 0===e?void 0:e.Window)),this.m_ActiveContext}SetShowDebugFocusRing(e){this.m_bShowDebugFocusRing.Set(e),function(e){e?sessionStorage.setItem(_,"shown"):sessionStorage.removeItem(_)}(e)}GetShowDebugFocusRing(){return this.m_bShowDebugFocusRing}RegisterInputSource(e){let t=new c.Hf;return this.m_rgGamepadInputSources.push(e),t.PushArrayRemove(this.m_rgGamepadInputSources,e),t.Push(e.RegisterForGamepadButtonDown(this.OnButtonDown).Unregister),t.Push(e.RegisterForGamepadButtonUp(this.OnButtonUp).Unregister),t.Push(e.RegisterForNavigationTypeChange(this.OnNavigationTypeChange).Unregister),t.GetUnregisterFunc()}SetGamepadEventUpdateBatcher(e){this.m_fnGamepadEventUpdateBatcher=e}get NavigationSource(){return this.m_navigationSource}get NavigationSourceSupportsFocus(){return this.m_navigationSourceSupportsFocus}DispatchVirtualButtonPress(e){this.OnButtonDown(e,i.Rr.UNKNOWN,-1)}DispatchVirtualButtonClick(e,t){var n;let o;t&&(o=null!==(n=this.GetActiveContext())&&void 0!==n?n:this.FindAnActiveContext()),this.OnButtonDown(e,i.Rr.GAMEPAD,-1,void 0,t,o,!0),this.OnButtonUp(e,i.Rr.GAMEPAD,-1,void 0,t,o,!0)}DispatchVirtualGamepad(e,t){switch(e){case"vgp_onbuttondown":this.OnButtonDown(t.button,t.source,-1,t.is_repeat);break;case"vgp_onbuttonup":this.OnButtonUp(t.button,t.source,-1)}}BGlobalGamepadButton(e){return e===i.eV.STEAM_GUIDE||e===i.eV.STEAM_QUICK_MENU||e===i.eV.CANCEL}GetEventTarget(e,t,n=!1){var o,r,s,a,l;let c=this.GetActiveContext();!c&&n&&(c=this.FindAnActiveContext());let u=null===(o=null==c?void 0:c.ActiveWindow)||void 0===o?void 0:o.document.activeElement;if(null==c?void 0:c.m_LastActiveNavTree){if(t||(t=null===(s=null===(r=this.m_navigationSource)||void 0===r?void 0:r.Value)||void 0===s?void 0:s.eActivationSourceType),!(c.m_LastActiveNavTree.GetLastFocusedNode()||t!=i.Rr.GAMEPAD&&t!=i.Rr.KEYBOARD||(v(`GetEventTarget: Context ${c.LogName()} tree ${c.m_LastActiveNavTree.id} has no focused node, ${n?"finding one":"will not find one"}`),n&&c.m_LastActiveNavTree.TakeFocus(h.uS.GAMEPAD,!0),this.BGlobalGamepadButton(e))))return[void 0,c];c.m_LastActiveNavTree.GetLastFocusedNode()?u=null===(l=null===(a=c.m_LastActiveNavTree)||void 0===a?void 0:a.GetLastFocusedNode())||void 0===l?void 0:l.Element:v(`GetEventTarget: Context ${c.LogName()} tree ${c.m_LastActiveNavTree.id} still has no focused node - will fall back to document.activeElement`)}return[u,c]}ChangeNavigationSource(e,t){let n=this.m_navigationSource.Value,o=n.nLastActiveGamepadIndex;n.nActiveGamepadIndex&&n.nActiveGamepadIndex>=0&&(o=n.nActiveGamepadIndex),this.m_navigationSource.Set({eActivationSourceType:e,nActiveGamepadIndex:t,nLastActiveGamepadIndex:o}),e!=i.Rr.MOUSE&&(0,r.U5)("Browser.HideCursorUntilMouseEvent")&&SteamClient.Browser.HideCursorUntilMouseEvent()}OnButtonActionInternal(e,t,n,o,r,s,a,l){var c,u;if(this.m_fnCatchAllGamepadInput&&this.m_fnCatchAllGamepadInput(t))return void(e&&v("Ignoring button press - gamepad input is suppressed by parent window"));f(!!s==!!a,"Must set both overrideContext and overrideElement or neither");let d=s,m=a;null!=d&&null!=m||([d,m]=this.GetEventTarget(t,n,!0)),!(null==m?void 0:m.BIsGamepadInputSuppressed())||l?(this.ChangeNavigationSource(n,o),e&&v(`Firing ${i.eV[t]} in tree ${null===(u=null==m?void 0:m.m_LastActiveNavTree)||void 0===u?void 0:u.id} at `,d),this.BatchedUpdate((()=>(0,h.Jb)(d,e?"vgp_onbuttondown":"vgp_onbuttonup",{button:t,source:n,is_repeat:r})))):v(`Suppressing ${i.eV[t]} input on element ${null==d?void 0:d.className} because tree ${null===(c=null==m?void 0:m.m_LastActiveNavTree)||void 0===c?void 0:c.id} has it disabled`)}OnButtonDown(e,t,n,o,i,r,s){this.OnButtonActionInternal(!0,e,t,n,o,i,r,s)}OnButtonUp(e,t,n,o,i,r,s){this.OnButtonActionInternal(!1,e,t,n,!1,i,r,s)}BatchedUpdate(e){this.m_fnGamepadEventUpdateBatcher(e)}OnNavigationTypeChange(e){var t,n;if(this.ChangeNavigationSource(e,-1),document.hasFocus()&&(e==i.Rr.MOUSE||e==i.Rr.TOUCH)&&(null===(t=this.m_ActiveContext)||void 0===t?void 0:t.m_LastActiveNavTree)){const e=this.m_ActiveContext.m_LastActiveNavTree.GetLastFocusedNode(),t=function(e){if(!(0,u.GB)(e))return!1;const t=e.tagName,n=(0,u.uk)(e)?e.type:void 0;return(0,u._J)(t,n)}(null==e?void 0:e.Element)?e:null;null===(n=this.m_ActiveContext.m_LastActiveNavTree)||void 0===n||n.TransferFocus(h.uS.BROWSER,t)}}NewGamepadNavigationTree(e,t){return new m.C(this,e,t)}RegisterGamepadNavigationTree(e,t,n){const o=e.WindowContext;return e.SetIsMounted(t),n||(this.m_ActiveContext=o,this.m_LastActiveContext=o),o.AddNavTree(e,n),this.m_bGlobalEventsInitialized||this.BindGlobalEventHandlers(),()=>o.UnregisterGamepadNavigationTree(e)}OnGamepadNavigationTreeActivated(e,t=!1){e.WindowContext.SetActiveNavTree(e,t)}OnGamepadNavigationTreeFocused(e,t,n=!1){var o,i;const r=e.WindowContext;r!=this.m_ActiveContext&&v(`(${r.LogName(e.Window)}) Focus event in inactive window`),e!=r.m_LastActiveFocusNavTree&&e!=r.m_LastActiveNavTree&&((null===(o=r.m_LastActiveFocusNavTree)||void 0===o?void 0:o.GetParentEmbeddedNavTree())==e||e.GetParentEmbeddedNavTree()==r.m_LastActiveFocusNavTree?(v(`There was a focus event in ${e.id}, allowing focus transfer to activate nav tree due to parent embedded relationship`),e.Activate()):v(`There was a focus event in ${e.id}, but the active nav tree is ${null===(i=r.m_LastActiveFocusNavTree)||void 0===i?void 0:i.id} so it is being ignored. Source: ${t&&h.uS[t]}.`))}BlurNavTree(e){e.WindowContext.BlurNavTree(e)}IsActiveFocusNavTree(e){var t;return Boolean(e&&e==(null===(t=this.m_ActiveContext)||void 0===t?void 0:t.m_LastActiveFocusNavTree))}IsActiveNavTree(e){var t;return Boolean(e&&e==(null===(t=this.m_ActiveContext)||void 0===t?void 0:t.m_LastActiveNavTree))}BIsInActiveContext(e){return Boolean(e&&e.WindowContext==this.m_ActiveContext)}BindGlobalEventHandlers(){this.m_bGlobalEventsInitialized||(this.m_bGlobalEventsInitialized=!0)}RegisterForUnhandledButtonDownEvents(e){return this.m_UnhandledButtonEventsCallbacks.Register(e)}FireUnhandledGamepadEventCallbacks(e){return!this.m_UnhandledButtonEventsCallbacks.CountRegistered()||(this.m_UnhandledButtonEventsCallbacks.Dispatch(e),!1)}SetSuppressGamepadInput(e){this.m_fnCatchAllGamepadInput=e?()=>!0:null}SetCatchAllGamepadInput(e){this.m_fnCatchAllGamepadInput=e}TakeFocusChangingIFrame(){var e,t;window.focus();let n=(null===(e=this.m_ActiveContext)||void 0===e?void 0:e.m_LastActiveFocusNavTree)||(null===(t=this.m_ActiveContext)||void 0===t?void 0:t.m_LastActiveNavTree);n&&n.TakeFocus(h.uS.APPLICATION)}OnContextActivated(e){this.m_ActiveContext=e,this.m_LastActiveContext=e,this.UpdateRepeatAllowed()}OnContextDeactivated(e,t){t&&(this.m_LastActiveContext==e&&(this.m_LastActiveContext=void 0),s.Zf(this.m_rgAllContexts,e)),this.m_ActiveContext==e&&(this.m_ActiveContext=void 0),this.UpdateRepeatAllowed()}BIsRestoringHistory(){return this.m_bRestoringHistory}RestoreHistoryTransaction(e){return(0,o.mG)(this,void 0,void 0,(function*(){this.m_bRestoringHistory=!0;try{yield e()}finally{this.m_bRestoringHistory=!1}}))}UpdateRepeatAllowed(){var e,t;const n=null!==(t=null===(e=this.m_ActiveContext)||void 0===e?void 0:e.BIsActive())&&void 0!==t&&t;for(const e of this.m_rgGamepadInputSources)e.SetRepeatAllowed(n)}}(0,o.gn)([l.a],b.prototype,"OnButtonDown",null),(0,o.gn)([l.a],b.prototype,"OnButtonUp",null),(0,o.gn)([l.a],b.prototype,"OnNavigationTypeChange",null),(0,o.gn)([l.a],b.prototype,"UpdateRepeatAllowed",null)},80944:(e,t,n)=>{"use strict";n.d(t,{sA:()=>_,lx:()=>h,ZT:()=>u.Z,TB:()=>p,uW:()=>d,Ii:()=>f,ZR:()=>g,U7:()=>v,sq:()=>m});var o=n(15633),i=n(62210),r=n(77262);class s{constructor(e){this.m_root=e}static SerializeNavState(e,t=!0,n=!0){return{root:s.SerializeNavNode(e,t,n),bHadFocus:e.BFocusWithin()}}static SerializeNavNode(e,t=!0,n=!0){let o=null;const[i,r]=e.GetChildren();return i.length&&-1!=r&&t&&(o=i.map(((e,t)=>s.SerializeNavNode(e,t==r||n,n)))),{sNavKey:e.NavKey,iActiveChild:r,rgChildren:o}}static RestoreSerializedNavState(e,t,n=0){const{root:o,bHadFocus:i}=t;e.Tree.Controller.RestoreHistoryTransaction((()=>{s.RestoreSerializedNavNode(e,o),(1==n||0==n&&i)&&e.BTakeFocus(r.uS.APPLICATION)}))}static RestoreSerializedNavNode(e,t){var n;const{sNavKey:o,iActiveChild:r,rgChildren:a}=t;if(o&&(0,i.X)(o==e.NavKey,"navkey mismatch"),e.SetActiveChild(r),a&&a.length){const[t]=e.GetChildren();let o=new Map;t.forEach((e=>{e.NavKey&&o.set(e.NavKey,e)}));for(const e of a){if(!e.sNavKey)continue;const t=o.get(e.sNavKey);t&&s.RestoreSerializedNavNode(t,e)}if(-1!=r&&(null===(n=a[r])||void 0===n?void 0:n.sNavKey)){const n=o.get(a[r].sNavKey);n&&e.SetActiveChild(t.indexOf(n))}let i=0,l=0;for(;i=t.length||l>=a.length)break;s.RestoreSerializedNavNode(t[i],a[l]),i++,l++}}}}class a extends s{constructor(){super(...arguments),this.m_rgHistory=[]}PushState(){this.m_rgHistory.push(s.SerializeNavState(this.m_root))}PopState(e=0){this.m_rgHistory.length&&s.RestoreSerializedNavState(this.m_root,this.m_rgHistory.pop(),e)}}class l extends s{constructor(){super(...arguments),this.m_mapHistory=new Map}SaveState(e){this.m_mapHistory.set(e,s.SerializeNavState(this.m_root))}RestoreState(e,t=0){const n=this.m_mapHistory.get(e);return!!n&&(console.log(`Restoring history for state ${e}`),s.RestoreSerializedNavState(this.m_root,n,t),!0)}}var c=n(3783),u=n(20922);n(78078);class d{constructor(e){this.m_node=e}TakeFocus(e){return this.m_node.BTakeFocus(e?r.uS.GAMEPAD:r.uS.APPLICATION,e)}ParentTakeFocus(e){var t;null===(t=this.m_node.Parent)||void 0===t||t.BTakeFocus(e?r.uS.GAMEPAD:r.uS.APPLICATION,e)}ChildTakeFocus(e){return this.m_node.BChildTakeFocus(e?r.uS.GAMEPAD:r.uS.APPLICATION,e)}FocusVisibleChild(e){return this.m_node.BVisibleChildTakeFocus(e)}BHasFocus(){return this.m_node.BHasFocus()}BFocusWithin(){return this.m_node.BFocusWithin()}get NavKey(){return this.m_node.NavKey}PushState(){this.m_History||(this.m_History=new a(this.m_node)),this.m_History.PushState()}PopState(e=0){this.m_History&&this.m_History.PopState(e)}SaveState(e){this.m_StateHistory||(this.m_StateHistory=new l(this.m_node)),this.m_StateHistory.SaveState(e)}RestoreState(e,t=0){return!!this.m_StateHistory&&this.m_StateHistory.RestoreState(e,t)}GetFocusSnapshot(){return e=this.m_node,s.SerializeNavState(e,!0,!1);var e}RestoreFocusSnapshot(e,t=0){return function(e,t,n=0){return s.RestoreSerializedNavState(e,t,n)}(this.m_node,e,t)}NavTree(){return this.m_node.Tree}Node(){return this.m_node}}function h(e,t,n,o=.001){return"x"==e?t.x+t.width>n.x+o&&t.x+on.y+o&&t.y+oi.max?o-i.max:0}function g(e){return{x:e.x,y:e.y}}const v={OnBlur:()=>{},OnFocus:()=>{},OnFocusChange:()=>{},OnForceMeasureFocusRing:()=>{}};function f(e){if(!e)return c.gj.NONE;const t=e.ownerDocument.defaultView,n=t.getComputedStyle(e);if("flex"==n.display)switch(n.flexDirection){case"row":return"wrap"==n.flexWrap?c.gj.GRID:c.gj.ROW;case"row-reverse":return c.gj.ROW_REVERSE;case"column":return c.gj.COLUMN;case"column-reverse":return c.gj.COLUMN_REVERSE}else{if("grid"==n.display)return c.gj.GRID;if(e.childElementCount>0){const n=t.getComputedStyle(e.firstElementChild);if("left"===n.float)return c.gj.ROW;if("right"===n.float)return c.gj.ROW_REVERSE;if("inline"===n.display||"inline-block"===n.display)return c.gj.GRID}}return c.gj.COLUMN}function _(e){switch(e){case o.eV.DIR_UP:case o.eV.DIR_DOWN:return"y";case o.eV.DIR_LEFT:case o.eV.DIR_RIGHT:return"x";default:return}}},3783:(e,t,n)=>{"use strict";n.d(t,{Vp:()=>V,zE:()=>P,gj:()=>k,c4:()=>B,mz:()=>F});var o=n(85556),i=n(15633),r=n(77816),s=n(62210),a=n(16997),l=n(45492),c=n(68785);var u=n(77262),d=n(80944),h=n(50423);function m(e,t,n){var o;const i=[],[r,s]=e.GetChildren(),a=e.GetActiveChild();let l;const c=a?null===(o=a.Element)||void 0===o?void 0:o.getBoundingClientRect():null;if(a){const e=v(a,t,n);if(e&&!e.offScreen&&(l=p(a,e,e.overlap,n),l&&!l.visibility.offScreen))return l;e&&i.push({child:a,visibility:e})}const u=n||c;for(let e=0;ed.visibility.distance)break}const i=n==a?l:p(n,o,o.overlap||t,null!=u?u:void 0);i&&(!d||g(i,d)<0)&&(d=i)}return d}function p(e,t,n,o){switch(e.GetFocusable()){case"none":return;case"children":return m(e,t.overlap||n,o);case"self":return{child:e,visibility:t}}}function g(e,t){const n=e.visibility,o=t.visibility;return n.offScreen?o.offScreen?n.distance-o.distance:1:o.offScreen?-1:n.distance-o.distance}function v(e,t,n){var o;const i=null===(o=e.Element)||void 0===o?void 0:o.getBoundingClientRect(),r=e.GetFocusable();let s;if("none"==r||!i||!t)return null;if("self"==r){if(i.topt.right||i.bottom>t.bottom||i.leftt.right)return{offScreen:"right",distance:n-t.right};if(e>t.bottom)return{offScreen:"bottom",distance:e-t.bottom};if(ni.height||n.scrollWidth>i.width){const e=n.ownerDocument.defaultView.getComputedStyle(n);if("visible"==e.overflowX||"visible"==e.overflowY)return{overlap:t}}if(i.bottomt.right)return{offScreen:"right",distance:i.left-t.right};if(i.top>t.bottom)return{offScreen:"bottom",distance:i.top-t.bottom};if(i.rightl?0:il&&s>c?i-a-u:ic||r>l&&s<=c?r-l+d:0}function M(e){return"auto"==e?0:e.endsWith("px")?parseInt(e):(console.log("Unsupported length",e),0)}function L(e){if(!("ownerDocument"in e))return{left:0,right:0,top:0,bottom:0};const t=e.ownerDocument.defaultView.getComputedStyle(e);return{left:M(t.scrollMarginLeft),right:M(t.scrollMarginRight),top:M(t.scrollMarginTop),bottom:M(t.scrollMarginBottom)}}function y(e,t){let n=function(e){let t;return t="ownerDocument"in e?e.ownerDocument.defaultView.getComputedStyle(e):e.document.defaultView.getComputedStyle(window.document.documentElement),{left:M(t.scrollPaddingLeft),right:M(t.scrollPaddingRight),top:M(t.scrollPaddingTop),bottom:M(t.scrollPaddingBottom)}}(e);return{left:Math.max(0,t.left+n.left),right:Math.max(0,t.right-n.right),top:Math.max(0,t.top+n.top),bottom:Math.max(0,t.bottom-n.bottom)}}function R(e){return e>-1&&e<1}function O(e,t,n,o,i){C("----------------------------------------------------------------------------------"),C("Scrolling Into View:",t);let r=[],s=t,a=E(t),l=null!=i?i:Number.MAX_VALUE;for(;s;){let e=(0,h.Et)(s);e||(e=(0,h.kR)(s));let t=L(s),n=y(e,E(e)),c=T(e),u={element:e,left:0,top:0};if(C("Checking scroll div",e,`scroll y:${c.scrollTop} of ${c.MaxScrollTop()}, x:${c.scrollLeft} of ${c.MaxScrollLeft()}, adjusted =>`,n,"target => ",a),o&&"y"!=o||!(0,h.U0)(e,"y")||(u.top=D(a,n,t,"y"),u.top=f.Lh(u.top,-c.scrollTop,c.MaxScrollTop()-c.scrollTop),i&&(u.top=Math.min(l,Math.abs(u.top))*(u.top<0?-1:1),l-=Math.abs(u.top)),C(`- checked y: ${u.top}`)),o&&"x"!=o||!(0,h.U0)(e,"x")||(u.left=D(a,n,t,"x"),u.left=f.Lh(u.left,-c.scrollLeft,c.MaxScrollLeft()-c.scrollLeft),i&&(u.left=Math.min(l,Math.abs(u.left))*(u.left<0?-1:1),l-=Math.abs(u.left)),C(`- checked x: ${u.left}`)),r.push(u),i&&!l)break;if(!("ownerDocument"in e))break;const d=window.getComputedStyle(e);if("fixed"===d.position||"sticky"===d.position)break;s=e,a={top:a.top-u.top,right:a.right-u.left,bottom:a.bottom-u.top,left:a.left-u.left}}let c=!1;for(let e of r){if(R(e.left)&&R(e.top))continue;let t=T(e.element),o=t.scrollTop+e.top,i=t.scrollLeft+e.left;i=f.Lh(i,0,t.MaxScrollLeft()),o=f.Lh(o,0,t.MaxScrollTop()),R(t.scrollLeft-i)&&R(t.scrollTop-o)||(t.scrollTo({left:i,top:o,behavior:n}),c||(C("Scrolling:"),c=!0),C(`- ${e.top},${e.left} => ${o}, ${i}, behavior: ${n}`,e.element))}}class I{constructor(e){this.m_scrollTopTarget=void 0,this.m_scrollLeftTarget=void 0,this.m_animation=void 0,"ownerDocument"in e?(this.m_element=e,this.m_fnOriginalScrollTo=e.scrollTo,this.m_element.scrollTo=(e,t)=>{"number"==typeof e?this.scrollTo({left:e,top:t}):this.scrollTo(e)}):(this.m_window=e,this.m_element=e.document.documentElement)}ResetScrollState(){this.m_scrollTopTarget=void 0,this.m_scrollLeftTarget=void 0,this.m_window||(this.m_element.style.scrollSnapType="")}scrollTo(e){var t,n,o;if("smooth"!=(null==e?void 0:e.behavior))this.m_animation&&(this.m_animation.Cancel(),this.m_animation=void 0),this.m_window?this.m_window.scrollTo(e):null===(t=this.m_fnOriginalScrollTo)||void 0===t||t.apply(this.m_element,[e]),this.ResetScrollState();else{const t=null!==(n=e.left)&&void 0!==n?n:this.scrollLeft,i=null!==(o=e.top)&&void 0!==o?o:this.scrollTop;let r="sine";this.m_animation&&(this.m_animation.Cancel(),r="linear");if(Math.max(Math.abs(this.currentScrollTop-i),Math.abs(this.currentScrollLeft-t))>0){const e={msDuration:200,timing:r,onComplete:this.ResetScrollState};if(this.m_window){const n=this.currentScrollLeft,o=this.currentScrollTop;this.m_animation=new _.sw(this.m_window,e,(e=>{var r;null===(r=this.m_window)||void 0===r||r.scrollTo({left:n+(t-n)*e,top:o+(i-o)*e,behavior:"auto"})}))}else this.m_element.style.scrollSnapType="initial",this.m_animation=new _.jg(this.m_element,{scrollTop:i,scrollLeft:t},e);this.m_scrollLeftTarget=t,this.m_scrollTopTarget=i,this.m_animation.Start()}}}get clientWidth(){return this.m_window?this.m_window.innerWidth:this.m_element.clientWidth}get clientHeight(){return this.m_window?this.m_window.innerHeight:this.m_element.clientHeight}get currentScrollLeft(){return this.m_window?this.m_window.scrollX:this.m_element.scrollLeft}get currentScrollTop(){return this.m_window?this.m_window.scrollY:this.m_element.scrollTop}get scrollLeft(){var e;return null!==(e=this.m_scrollLeftTarget)&&void 0!==e?e:this.currentScrollLeft}get scrollTop(){var e;return null!==(e=this.m_scrollTopTarget)&&void 0!==e?e:this.currentScrollTop}get scrollWidth(){return this.m_element.scrollWidth}get scrollHeight(){return this.m_element.scrollHeight}MaxScrollTop(){return this.scrollHeight-this.clientHeight}MaxScrollLeft(){return this.scrollWidth-this.clientWidth}}(0,o.gn)([a.a],I.prototype,"ResetScrollState",null);const x=new WeakMap;function T(e){let t=x.get(e);return t||(t=new I(e),x.set(e,t)),t}function A(e){const t=x.get(e);return t?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}const N=new c.sO("FocusNavigationMovement").Debug;var k,B,F,P;!function(e){e[e.NONE=0]="NONE",e[e.COLUMN=1]="COLUMN",e[e.ROW=2]="ROW",e[e.COLUMN_REVERSE=3]="COLUMN_REVERSE",e[e.ROW_REVERSE=4]="ROW_REVERSE",e[e.GRID=5]="GRID",e[e.GEOMETRIC=6]="GEOMETRIC"}(k||(k={})),function(e){e[e.FIRST=0]="FIRST",e[e.LAST=1]="LAST",e[e.MAINTAIN_X=2]="MAINTAIN_X",e[e.MAINTAIN_Y=3]="MAINTAIN_Y",e[e.PREFERRED_CHILD=4]="PREFERRED_CHILD"}(B||(B={})),function(e){e[e.Standard=0]="Standard",e[e.NoTransform=1]="NoTransform",e[e.NoTransformSparseContent=2]="NoTransformSparseContent"}(F||(F={})),function(e){e[e.INVALID=0]="INVALID",e[e.FORWARD=1]="FORWARD",e[e.BACKWARD=2]="BACKWARD"}(P||(P={}));class V{constructor(e,t,n){this.m_rgChildren=[],this.m_iLastActiveChildIndex=-1,this.m_bChildrenSorted=!1,this.m_bAutoFocusChild=!1,this.m_bMounted=!1,this.m_bFocused=!1,this.m_FocusCallbackList=new l.pB,this.m_bFocusWithin=!1,this.m_FocusWithinCallbackList=new l.pB,this.m_ActionDescriptionsChangedCallbackList=new l.pB,this.m_RetainFocusParent=null,this.m_rgNavigationHandlers=[],this.m_rgFocusHandlers=[],this.m_Tree=e,this.m_Parent=t,this.m_FocusRing=n,this.m_nDepth=t?t.m_nDepth+1:0}CreateHandle(){return new d.uW(this)}get Tree(){return this.m_Tree}get NavKey(){var e,t;return(null===(e=this.m_Properties)||void 0===e?void 0:e.navKey)?this.m_Properties.navKey:(null===(t=this.m_element)||void 0===t?void 0:t.id)?this.m_element.id:void 0}get Element(){return this.m_element}get Parent(){return this.m_Parent}SetProperties(e){var t,n,o,i,r;const s=(a=null===(t=this.m_Properties)||void 0===t?void 0:t.actionDescriptionMap,l=null==e?void 0:e.actionDescriptionMap,!(null==a||null==l?a===l:"object"==typeof a&&"object"==typeof l&&Object.keys(a).length===Object.keys(l).length&&Object.keys(a).every((e=>l.hasOwnProperty(e)&&a[e]===l[e]))));var a,l;const c=null===(n=this.m_Properties)||void 0===n?void 0:n.retainFocus,d=null===(o=this.m_Properties)||void 0===o?void 0:o.noFocusRing;this.m_Properties=e||{},s&&this.m_ActionDescriptionsChangedCallbackList.Dispatch(),this.m_Properties.retainFocus&&!c?this.PropagateRetainFocusParentToChildren(this):!this.m_Properties.retainFocus&&c&&this.PropagateRetainFocusParentToChildren(this.m_RetainFocusParent),this.m_Properties.noFocusRing&&!d&&this.BHasFocus()?null===(i=this.m_FocusRing)||void 0===i||i.OnBlur(u.uS.APPLICATION,this,this):!this.m_Properties.noFocusRing&&d&&this.BHasFocus()&&(null===(r=this.m_FocusRing)||void 0===r||r.OnFocus(u.uS.APPLICATION,this,this)),this.m_element&&this.RegisterDOMEvents()}BWantsAutoFocus(){var e;return(null===(e=this.m_Properties)||void 0===e?void 0:e.autoFocus)||this.m_bAutoFocusChild}BWantsPreferredFocus(){var e;return null===(e=this.m_Properties)||void 0===e?void 0:e.preferredFocus}BWantsFocusRing(){var e;return!(null===(e=this.m_Properties)||void 0===e?void 0:e.noFocusRing)||this.m_Tree.Controller.GetShowDebugFocusRing().Value}GetBoundingRect(){return this.m_element&&this.m_element.getBoundingClientRect()}SetHasFocus(e){e!=this.m_bFocused&&(this.m_bFocused=e,this.m_FocusCallbackList.Dispatch(this.m_bFocused))}SetFocusWithin(e){var t;e!=this.m_bFocusWithin&&(this.m_bFocusWithin=e,this.m_FocusWithinCallbackList.Dispatch(this.m_bFocusWithin),(null===(t=this.m_Properties)||void 0===t?void 0:t.onFocusWithin)&&this.m_Properties.onFocusWithin(this.m_bFocusWithin))}BHasFocus(){return this.m_bFocused}BFocusWithin(){return this.m_bFocusWithin}get FocusCallbackList(){return this.m_FocusCallbackList}get FocusWithinCallbackList(){return this.m_FocusWithinCallbackList}ForceMeasureFocusRing(){var e;null===(e=this.m_FocusRing)||void 0===e||e.OnForceMeasureFocusRing()}get ActionDescriptionChangedCallbackList(){return this.m_ActionDescriptionsChangedCallbackList}GetActiveActionDescriptions(){return this.BuildConsolidatedActionDescriptionMap({})}BuildConsolidatedActionDescriptionMap(e){var t;const n=null===(t=this.m_Properties)||void 0===t?void 0:t.actionDescriptionMap;if(n)for(const t in n){const o=t;void 0===e[o]&&(e[o]=n[o])}return this.m_Parent?this.m_Parent.BuildConsolidatedActionDescriptionMap(e):e}AddChild(e){var t;this.m_rgChildren.push(e),this.m_bChildrenSorted=!1,this.m_element&&this.RegisterDOMEvents(),(null===(t=this.m_Properties)||void 0===t?void 0:t.retainFocus)?e.SetRetainFocusParent(this):this.m_RetainFocusParent&&e.SetRetainFocusParent(this.m_RetainFocusParent),this.m_bMounted&&e.BFocusWithin()&&((0,s.X)(!this.m_ActiveChild&&this.BFocusWithin(),"Invalid focus state in AddChild"),this.SetActiveChild(this.m_rgChildren.length-1))}OnMount(e){var t,n;this.m_element=e,this.m_Parent?this.m_Parent.AddChild(this):(0,s.X)(this==this.m_Tree.Root,"Only root should have no parent"),this.m_bMounted=!0,this.RegisterDOMEvents();const o=this.m_RetainFocusParent&&this.m_RetainFocusParent.BHasFocus(),i=(null===(t=this.m_Properties)||void 0===t?void 0:t.autoFocus)||o;if(this.BWantsAutoFocus()||i){let e=-1;this.m_rgChildren.length&&(this.EnsureChildrenSorted(),e=this.m_rgChildren.findIndex((e=>e.BWantsAutoFocus()))),((null===(n=this.m_Properties)||void 0===n?void 0:n.autoFocus)||i||-1!==e)&&(this.SetActiveChild(e),!this.m_Parent||this.m_Parent.m_element?o?this.m_Tree.DeferredFocus.BHasQueuedFocusNode()||this.m_Tree.DeferredFocus.RequestFocus(this.m_RetainFocusParent,{bFocusDescendant:!0}):this.Tree.DeferredFocus.RequestFocus(this):this.m_Parent.m_bAutoFocusChild=!0)}else if(this.m_rgChildren.length){const e=this.m_rgChildren.findIndex((e=>e.BFocusWithin()));-1!=e&&(this.SetActiveChild(e),(0,s.X)(this.m_bFocusWithin,"Child has focus, we should be m_bFocusWithin"))}}DEV_SetDebugPropsOnElement(){}OnUnmount(){var e;(null===(e=this.m_Properties)||void 0===e?void 0:e.retainFocus)&&this.PropagateRetainFocusParentToChildren(this.m_RetainFocusParent),this.m_bMounted=!1;const t=this.Tree.DeferredFocus.BIsQueuedFocusNode(this);(this.m_bFocused||t)&&(N(`The focused node is unmounting, ${this.m_RetainFocusParent?"will transfer to retain focus ancestor":"will blur"}.`),t&&this.Tree.DeferredFocus.RequestFocus(null),this.m_RetainFocusParent?this.m_RetainFocusParent.OnFocusedDecendantRemoved(this):this.m_bFocused&&this.m_Tree.TransferFocus(u.uS.APPLICATION,null)),this.UnregisterDOMEvents(),this.m_Parent?this.m_Parent.RemoveChild(this):(0,s.X)(this==this.m_Tree.Root,"Only root should have no parent")}RegisterDOMEvents(){var e,t,n,o,i;!this.m_rgNavigationHandlers.length&&this.m_element&&(this.m_rgChildren.length>=2||(null===(e=this.m_Properties)||void 0===e?void 0:e.layout)!=k.NONE||this.m_Properties.onMoveUp||this.m_Properties.onMoveRight||this.m_Properties.onMoveDown||this.m_Properties.onMoveLeft)&&this.m_rgNavigationHandlers.push((0,u.$G)(this.m_element,this.OnNavigationEvent)),((null===(t=this.m_Properties)||void 0===t?void 0:t.focusable)||(null===(n=this.m_Properties)||void 0===n?void 0:n.focusableIfNoChildren)||0==this.m_rgChildren.length)&&(this.m_rgFocusHandlers.length||(null===(o=this.m_element)||void 0===o||o.addEventListener("focus",this.OnDOMFocus),null===(i=this.m_element)||void 0===i||i.addEventListener("blur",this.OnDOMBlur),this.m_rgFocusHandlers.push((()=>{var e,t;null===(e=this.m_element)||void 0===e||e.removeEventListener("focus",this.OnDOMFocus),null===(t=this.m_element)||void 0===t||t.removeEventListener("blur",this.OnDOMBlur)}))))}RemoveChild(e){let t=this.m_rgChildren.indexOf(e);(0,s.X)(-1!==t,"Child was not found to remove"),-1!==t&&(this.m_ActiveChild==e&&(this.m_ActiveChild=void 0),this.m_rgChildren.splice(t,1))}UnregisterDOMEvents(){this.m_rgNavigationHandlers.forEach((e=>e())),this.m_rgNavigationHandlers=[],this.m_rgFocusHandlers.forEach((e=>e())),this.m_rgFocusHandlers=[]}GetActiveDescendant(){const e=this.GetActiveChild();return e?e.GetActiveDescendant():this}IsValidChildIndex(e){return e>=0&&e{const n=e.m_element,o=t.m_element;if(!n)return o?1:0;if(!o)return-1;const i=n.compareDocumentPosition(o);return i&Node.DOCUMENT_POSITION_PRECEDING?1:i&Node.DOCUMENT_POSITION_FOLLOWING?-1:0})),this.m_ActiveChild&&(this.m_iLastActiveChildIndex=this.m_rgChildren.indexOf(this.m_ActiveChild)),this.m_bChildrenSorted=!0)}GetLastFocusElement(){const e=this.GetActiveChild();return e?e.GetLastFocusElement():this.m_element}OnDOMFocus(e){if(!this.m_bFocused){if("children"==this.GetFocusable()){const e=this.FindFocusableDescendant();if(e&&e!==this)return N("Browser gave node focus but we are marked focusableIfNoChildren, transfering focus to descendant.",this.m_element,e.m_element),void this.m_Tree.TransferFocus(u.uS.BROWSER,e)}this.m_Tree.TransferFocus(u.uS.BROWSER,this)}}OnDOMBlur(e){var t;this.m_bFocused&&(null===(t=this.m_element)||void 0===t?void 0:t.ownerDocument.hasFocus())&&this.m_Tree.TransferFocus(u.uS.BROWSER,null)}UpdateParentActiveChild(){this.m_Parent&&(this.m_Parent.SetActiveChild(this),this.m_Parent.UpdateParentActiveChild())}GetFocusable(){const{focusable:e,focusableIfNoChildren:t,childFocusDisabled:n,fnCanTakeFocus:o}=this.m_Properties;return this.m_bMounted?o&&!o(this)?"none":e||t&&(n||0==this.m_rgChildren.length)?"self":!n&&this.m_rgChildren.length?"children":"none":"none"}BTakeFocus(e,t){const n=this.FindFocusableNode(t);return this.InternalFocusDescendant(n,e,t)}FindFocusableNode(e,t){switch(this.GetFocusable()){case"none":return null;case"self":return this;case"children":return this.FindFocusableDescendant(e,t)}}BChildTakeFocus(e,t){const n=this.FindFocusableDescendant(t);return this.InternalFocusDescendant(n,e,t)}BFocusFirstChild(e){const t=this.FindNextFocusableChildInDirection(-1,P.FORWARD,i.eV.INVALID);return this.InternalFocusDescendant(t,e)}BFocusLastChild(e){const t=this.FindNextFocusableChildInDirection(this.m_rgChildren.length,P.BACKWARD,i.eV.INVALID);return this.InternalFocusDescendant(t,e)}FindFocusableDescendant(e,t){var n,o,i,s;const a=(0,d.sA)(e),{focusableIfNoChildren:l,childFocusDisabled:c}=null!==(n=this.m_Properties)&&void 0!==n?n:{};if(c)return null;if(this.m_rgChildren.length){this.EnsureChildrenSorted();const{navEntryPreferPosition:n,resetNavOnEntry:c}=null!==(o=this.m_Properties)&&void 0!==o?o:{};let u,d=this.GetActiveChildIndex();if(c&&void 0!==e&&(d=-1),!this.IsValidChildIndex(d)){const e=this.GetLayout();d=d>=this.m_rgChildren.length||e==k.ROW_REVERSE||e==k.COLUMN_REVERSE||n==B.LAST?this.m_rgChildren.length-1:0}if((n==B.MAINTAIN_X||n==B.MAINTAIN_Y||t)&&a){let o,l;n==B.MAINTAIN_X?o="x":n==B.MAINTAIN_Y&&(o="y"),o==r.TP[a]&&(l=null!==(i=this.m_Tree.GetLastFocusedMovementRect(r.TP[a]))&&void 0!==i?i:null===(s=this.m_Tree.GetLastFocusedNode())||void 0===s?void 0:s.GetBoundingRect()),N(`Taking focus while preserving ${n&&B[n]} preserved: ${o} movement: ${a}, node:`,l||t);const c=this.ComputeRelativeDirection(e,k.GRID);if(l||t){const n=c==P.BACKWARD?this.m_rgChildren.length-1:0;u=this.FindClosestChildInNextAxiallyAlignedSet(o||r.TP[a],c,e,l||t,n,this.m_rgChildren[n].GetBoundingRect())}else if(o!=r.TP[a]){const t=c==P.BACKWARD?this.m_rgChildren.length:-1;u=this.FindNextFocusableChildInDirection(t,c,e)}}else if(n==B.PREFERRED_CHILD){for(const t of this.m_rgChildren)if(u=t.BWantsPreferredFocus()?t.FindFocusableNode(e):void 0,u)return u}else n==B.LAST&&(u=this.FindNextFocusableChildInDirection(d+1,P.BACKWARD,e));return u||(u=this.FindNextFocusableChildInDirection(d-1,P.FORWARD,e)),u||(u=this.FindNextFocusableChildInDirection(d,P.BACKWARD,e)),u||(l?this:null)}return null}BVisibleChildTakeFocus(e){var t,n,o,i,r;const s=null!==(o=null===(n=null===(t=this.Element)||void 0===t?void 0:t.ownerDocument)||void 0===n?void 0:n.defaultView)&&void 0!==o?o:window,a=m(this,{top:0,left:0,right:s.innerWidth,bottom:s.innerHeight});return N(`Focusing visible child, best child match is ${null===(r=null===(i=null==a?void 0:a.child)||void 0===i?void 0:i.Element)||void 0===r?void 0:r.className} - ${JSON.stringify(null==a?void 0:a.visibility)}`),!!a&&a.child.BTakeFocus(e)}GetLayout(){var e;if(null===(e=this.m_Properties)||void 0===e?void 0:e.layout)return this.m_Properties.layout;if(this.m_rgChildren.length<2)return k.NONE;return(0,d.Ii)(this.m_element)}OnNavigationEvent(e){var t,n;const o=e.detail.button;if(this.BTryInternalNavigation(o,null!==(t=e.detail.is_repeat)&&void 0!==t&&t))return!0;const{onMoveUp:r,onMoveRight:s,onMoveDown:a,onMoveLeft:l}=null!==(n=this.m_Properties)&&void 0!==n?n:{};let c=!1;switch(o){case i.eV.DIR_UP:r&&(c=r(e.detail,this));break;case i.eV.DIR_RIGHT:s&&(c=s(e.detail,this));break;case i.eV.DIR_DOWN:a&&(c=a(e.detail,this));break;case i.eV.DIR_LEFT:l&&(c=l(e.detail,this))}return c}InternalFocusDescendant(e,t,n){return!!e&&(this.m_Tree.TransferFocus(t,e,(0,d.sA)(n)),!0)}BTryInternalNavigation(e,t){var n,o;const r=this.GetLayout();let s,a=this.ComputeRelativeDirection(e,r);if(N(`Handling navigation event ${i.eV[e]} - ${k[r]} - ${P[a]}`,this.m_element),a==P.INVALID)return!1;if((null===(n=this.m_Properties)||void 0===n?void 0:n.focusable)&&this.m_bFocused)return N("Skipping navigation within focused element"),!1;if(this.EnsureChildrenSorted(!0),r==k.GRID)s=this.FindNextFocusableChildInGrid(this.GetActiveChildIndex(),a,e);else{let t=this.GetActiveChildIndex();this.IsValidChildIndex(t)||(t=a==P.FORWARD?-1:this.m_rgChildren.length),s=this.FindNextFocusableChildInDirection(t,a,e)}if(s){const n=(0,d.sA)(e);if(this.GetScrollIntoViewType()==F.NoTransformSparseContent){const e=null===(o=s.Element)||void 0===o?void 0:o.ownerDocument.defaultView;if(e){const o=("y"==n?e.innerHeight:e.innerWidth)/(t?4.5:3.33),i=E(s.Element);if(i.top>e.innerHeight&&i.bottom>e.innerHeight+o||i.bottom<0&&i.top<-o||i.left>e.innerWidth&&i.right>e.innerWidth+o||i.right<0&&i.left<-o)return N(`Element too far away, scrolling ${o} on ${n} axis `),O(s.Element,s.Element,"smooth",n,o),!0}}return this.m_Tree.TransferFocus(u.uS.GAMEPAD,s,n),!0}return!1}GetScrollIntoViewType(){var e;return(null===(e=this.m_Properties)||void 0===e?void 0:e.scrollIntoViewType)?this.m_Properties.scrollIntoViewType:this.m_Parent?this.m_Parent.GetScrollIntoViewType():F.Standard}GetRelativeDirection(e){return this.ComputeRelativeDirection(e,this.GetLayout())}ComputeRelativeDirection(e,t){let n=t==k.ROW_REVERSE||t==k.COLUMN_REVERSE;switch(t){case k.ROW:case k.ROW_REVERSE:switch(e){case i.eV.DIR_LEFT:return n?P.FORWARD:P.BACKWARD;case i.eV.DIR_RIGHT:return n?P.BACKWARD:P.FORWARD;default:return P.INVALID}case k.COLUMN:case k.COLUMN_REVERSE:switch(e){case i.eV.DIR_UP:return n?P.FORWARD:P.BACKWARD;case i.eV.DIR_DOWN:return n?P.BACKWARD:P.FORWARD;default:return P.INVALID}case k.GRID:switch(e){case i.eV.DIR_LEFT:case i.eV.DIR_UP:return n?P.FORWARD:P.BACKWARD;case i.eV.DIR_RIGHT:case i.eV.DIR_DOWN:return n?P.BACKWARD:P.FORWARD;default:return P.INVALID}default:return P.INVALID}}AdvanceIndex(e,t){return e+(t==P.FORWARD?1:-1)}FindNextFocusableChildInDirection(e,t,n){let o=t==P.FORWARD?1:-1;for(let t=e+o;t>=0&&t=0&&t!(0,d.lx)("y",c,e.GetBoundingRect())));if(-1!=e){const o=this.m_rgChildren[e].GetBoundingRect(),i=this.FindClosestChildInNextAxiallyAlignedSet("x",t,n,c,e,o);if(i)return i}o=e}}else{let o=t==P.FORWARD?1:-1;for(let i=this.AdvanceIndex(e,t);i>=0&&i{const n=t.GetBoundingRect();return!!n&&(!(!s||(0,d.lx)(r.TP[e],s,n))||(a.push({child:t,overlap:(0,d.sq)(e,o,n),dist:(0,d.TB)(e,l,n)}),!1))})),t==P.BACKWARD&&a.reverse(),a.sort(((e,t)=>{const n=t.overlap-e.overlap;return 0!=n?n:e.dist-t.dist}));for(const{child:e}of a){const t=e.FindFocusableNode(n,o);if(t)return t}return null}GetChildren(){return this.EnsureChildrenSorted(),[this.m_rgChildren,this.m_iLastActiveChildIndex]}SetActiveChild(e){e instanceof V?(this.EnsureChildrenSorted(),this.m_ActiveChild=e,this.m_iLastActiveChildIndex=this.m_rgChildren.indexOf(e)):(this.IsValidChildIndex(e)&&(this.m_ActiveChild=this.m_rgChildren[e]),this.m_iLastActiveChildIndex=e)}GetDepth(){return this.m_nDepth}SetRetainFocusParent(e){var t;this.m_RetainFocusParent=e,(null===(t=this.m_Properties)||void 0===t?void 0:t.retainFocus)||this.PropagateRetainFocusParentToChildren(e)}PropagateRetainFocusParentToChildren(e){for(let t=0;twindow.innerHeight+o)&&(n=!0);let i=n?"auto":"smooth";n&&(w=performance.now()),e.Tree.Controller.BIsRestoringHistory()&&(i="auto"),c?O(0,l,i):l.scrollIntoView({behavior:i,block:"nearest"})}else c?O(0,l,"auto"):null==l||l.scrollIntoView({behavior:"auto",block:"nearest",inline:"nearest"})}}(this,t),this.m_Tree.OnChildActivated(e)}}(0,o.gn)([a.a],V.prototype,"OnDOMFocus",null),(0,o.gn)([a.a],V.prototype,"OnDOMBlur",null),(0,o.gn)([a.a],V.prototype,"OnNavigationEvent",null)},78078:(e,t,n)=>{"use strict";n.d(t,{C:()=>u});var o=n(15633),i=n(45492),r=n(68785),s=n(77262),a=n(3783);const l=new r.sO("FocusNavigation").Debug,c=new r.sO("GamepadEvents").Debug;class u{constructor(e,t,n){this.m_onActivateCallbacks=new i.pB,this.m_onDeactivateCallbacks=new i.pB,this.m_onActiveFocusStateChangedCallbacks=new i.pB,this.m_applyFocusClassesInDesktop=!1,this.m_lastFocusNodeXMovement=new d,this.m_lastFocusNodeYMovement=new d,this.m_DeferredFocus=new h(this),this.m_Controller=e,this.m_context=t,this.m_ID=n,this.m_Root=new a.Vp(this,null,null),this.m_Root.SetProperties({layout:a.gj.COLUMN}),window.GamepadNavTree=this}SetUseVirtualFocus(e){this.m_bVirtualFocus=e}get id(){return this.m_ID}get Root(){return this.m_Root}get Controller(){return this.m_Controller}get WindowContext(){return this.m_context}get Window(){return this.m_window}BUseVirtualFocus(){return this.m_bVirtualFocus}BIsContextActive(){return this.m_Controller.BIsInActiveContext(this)}CreateNode(e,t){return new a.Vp(this,e,t)}RegisterNavigationItem(e,t){return e.OnMount(t),()=>e.OnUnmount()}OnChildActivated(e){this.m_bIsMounted&&this.m_Controller.OnGamepadNavigationTreeFocused(this,e)}GetLastFocusedNode(){return this.m_lastFocusNode}GetLastFocusedMovementRect(e){return"x"==e?this.m_lastFocusNodeXMovement.GetRect():"y"==e?this.m_lastFocusNodeYMovement.GetRect():void 0}get OnActivateCallbacks(){return this.m_onActivateCallbacks}get OnDeactivateCallbacks(){return this.m_onDeactivateCallbacks}get OnActiveStateChangedCallbacks(){return this.m_onActiveFocusStateChangedCallbacks}OnActivate(e){this.m_onActivateCallbacks.Dispatch(this,e),this.m_onActiveFocusStateChangedCallbacks.Dispatch(!0,this)}OnDeactivate(e){this.m_onDeactivateCallbacks.Dispatch(this,e),this.m_onActiveFocusStateChangedCallbacks.Dispatch(!1,this),this.m_bWasActiveForLastFocusChange=!1}IsActiveFocusNavTree(){return this.m_Controller.IsActiveFocusNavTree(this)}TakeFocus(e,t=!1){let n=!1;t?n=this.Root.BVisibleChildTakeFocus(e):this.m_lastFocusNode&&(n=this.m_lastFocusNode.BTakeFocus(e)),n||(n=this.Root.BTakeFocus(e)),n||this.TransferFocus(e,this.Root)}Activate(e=!1){this.m_Controller.OnGamepadNavigationTreeActivated(this,e)}Deactivate(){this.m_Controller.BlurNavTree(this)}BIsActive(){return this.m_bIsMounted&&(this.m_Controller.IsActiveNavTree(this)||this.m_Controller.IsActiveFocusNavTree(this))}BIsActiveFocus(){return this.m_bIsMounted&&this.m_Controller.IsActiveFocusNavTree(this)}BIsActiveWithinContext(){return this.m_bIsMounted&&(this.m_context.m_LastActiveNavTree==this||this.m_context.m_LastActiveFocusNavTree==this)}SetIsMounted(e){this.m_window=e;const t=this.m_Root.Element;t.__nav_tree=this,t.__nav_wrapper&&t.__nav_wrapper.BindTree(this),this.m_bIsMounted=!0}SetParentEmbeddedNavTree(e){this.m_ParentEmbeddedNavTree=e}GetParentEmbeddedNavTree(){return this.m_ParentEmbeddedNavTree}SetApplyFocusClassesInDesktop(e){this.m_applyFocusClassesInDesktop=e}GetApplyFocusClassesInDesktop(){return this.m_applyFocusClassesInDesktop}SetOnUnhandledButtonCallback(e){this.m_onUnhandledButton=e}HandleButtonDownEventAsLogicalEvent(e){let{bUnhandled:t,bHadLogicalEventMapping:n}=(0,s.Ut)(e);return c(`Logical gamepad Event fired: ${o.eV[e.detail.button]}, had logical event: ${n}, was handled: ${!t}`),t&&this.m_onUnhandledButton&&(t=this.m_onUnhandledButton(e)),t&&(t=this.m_Controller.FireUnhandledGamepadEventCallbacks(e)),e.stopPropagation(),t}get DeferredFocus(){return this.m_DeferredFocus}TransferFocus(e,t,n){this.m_Controller.BatchedUpdate((()=>this.TransferFocusInternal(e,t,n)))}TransferFocusInternal(e,t,n){const o=this.m_lastFocusNode;if(o==t&&(this.m_bWasActiveForLastFocusChange||!this.BIsActive()))return;l(`Transfer focus in ${this.id}, source: ${e&&s.uS[e]}, from/to:`,null==o?void 0:o.m_element,null==t?void 0:t.m_element);const i={blurredNode:o,focusedNode:t,source:e},r=function(e,t){if(!t||!e)return null;let n=t,o=e;for(;n.GetDepth()>o.GetDepth()&&n.Parent;)n=n.Parent;for(;o.GetDepth()>n.GetDepth()&&o.Parent;)o=o.Parent;for(;n!=o&&n&&o;)n=n.Parent,o=o.Parent;return n}(o,t);if(o){o.SetHasFocus(!1);for(let e=o;e&&e!=r;e=e.Parent)e.SetFocusWithin(!1)}if(t){t.SetHasFocus(!0);for(let e=t;e&&e!=r;e=e.Parent)e.SetFocusWithin(!0)}let a=this.m_context.OnFocusChangeStart(e,this,o,t);t&&t.SetDOMFocusAndScroll(e,o),o&&((0,s.Jb)(o.Element,"vgp_onblur",i),!o.m_FocusRing||t&&o.m_FocusRing==t.m_FocusRing||o.m_FocusRing.OnBlur(e,o,t)),t&&((0,s.Jb)(t.Element,"vgp_onfocus",i),t.m_FocusRing&&(o&&t.m_FocusRing==o.m_FocusRing?t.m_FocusRing.OnFocusChange(e,o,t):t.m_FocusRing.OnFocus(e,t,o))),this.m_lastFocusNode=t,this.m_bWasActiveForLastFocusChange=this.BIsActive(),"x"==n?this.m_lastFocusNodeXMovement.SetNode(null==t?void 0:t.Element):"y"==n?this.m_lastFocusNodeYMovement.SetNode(null==t?void 0:t.Element):(this.m_lastFocusNodeXMovement.Reset(),this.m_lastFocusNodeYMovement.Reset()),this.m_context.OnFocusChangeComplete(a)}}class d{SetNode(e){this.m_element=e,this.m_rect=e?e.getBoundingClientRect():void 0}Reset(){this.SetNode(void 0)}GetRect(){var e;return(null===(e=this.m_element)||void 0===e?void 0:e.isConnected)?this.m_element.getBoundingClientRect():this.m_rect}}class h{constructor(e){this.m_schExecuteQueuedFocus=new i.Ar,this.m_bSuppressed=!1,this.m_tree=e}RequestFocus(e,t){e?(this.m_target=Object.assign(Object.assign({},t),{node:e}),this.m_interval||this.m_bSuppressed||this.m_schExecuteQueuedFocus.Schedule(1,(()=>{this.m_interval=void 0,this.ExecuteQueuedFocus()}))):this.m_target=void 0}BHasQueuedFocusNode(){return!!this.m_target}BIsQueuedFocusNode(e){return this.m_target&&this.m_target.node==e}SuppressFocus(){this.m_bSuppressed=!0,this.ClearInterval()}Reset(){this.m_bSuppressed=!1,this.m_target=void 0,this.ClearInterval()}ClearInterval(){this.m_schExecuteQueuedFocus.Cancel()}ExecuteQueuedFocus(){if(this.m_bSuppressed=!1,this.m_target){const{node:e,bFocusDescendant:t}=this.m_target;this.m_target=void 0,l(`DeferredFocus in ${this.m_tree.id} - focusing ${t?"descendant of":"node"} ${e.NavKey}`),t?e.BChildTakeFocus(s.uS.APPLICATION)||this.m_tree.TransferFocus(s.uS.APPLICATION,e):e.BTakeFocus(s.uS.APPLICATION)}}}},25849:(e,t,n)=>{"use strict";n.d(t,{t:()=>i});var o=n(3783);function i(e){switch(e){case"column":return o.gj.COLUMN;case"column-reverse":return o.gj.COLUMN_REVERSE;case"row":return o.gj.ROW;case"row-reverse":return o.gj.ROW_REVERSE;case"grid":return o.gj.GRID;default:return o.gj.NONE}}},13974:(e,t,n)=>{"use strict";n.d(t,{$1:()=>l,pj:()=>a});var o=n(47427),i=n(48766),r=n(20417),s=n(15633);function a(e,t="smooth",n,r){const a=(null!=n?n:30)/100,l=o.useRef(void 0),c=o.useRef(void 0),u=o.useCallback((()=>{l.current=void 0,c.current=void 0}),[]),d=function(e,t){const n=o.useRef();return o.useCallback(((o,r)=>{let s="sine";if(n.current&&(n.current.Cancel(),s="linear"),!e.current)return;void 0===o&&(o=e.current.scrollTop),void 0===r&&(r=e.current.scrollLeft);let a=Math.max(Math.abs(e.current.scrollTop-o),Math.abs(e.current.scrollLeft-r));if(a>0){let l=Math.max(Math.min(a/1e3*200,500),300);n.current=new i.jg(e.current,{scrollTop:o,scrollLeft:r},{msDuration:l,timing:s,onComplete:t}),n.current.Start()}else t&&t()}),[e,t])}(e,u);return o.useCallback((n=>{var o,i;if(r&&!r(n))return!1;if(n.defaultPrevented)return!1;if(!e.current)return!1;const{scrollTop:h,scrollHeight:m,clientHeight:p,scrollLeft:g,scrollWidth:v,clientWidth:f}=e.current,_=null!==(o=l.current)&&void 0!==o?o:h,C=null!==(i=c.current)&&void 0!==i?i:g;switch(n.detail.button){case s.eV.DIR_UP:if(_<=2)return!1;l.current=Math.max(0,_-p*a);break;case s.eV.DIR_DOWN:if(_>=m-p-2)return!1;l.current=Math.min(m-p,_+p*a);break;case s.eV.DIR_LEFT:if(C<=2)return!1;c.current=Math.max(0,C-f*a);break;case s.eV.DIR_RIGHT:if(C>=v-f-2)return!1;c.current=Math.min(v-f,C+f*a);break;default:return!1}return t&&"smooth"!=t?(e.current.scrollTo({top:l.current,left:c.current,behavior:"auto"}),u()):d(l.current,c.current),!0}),[r,e,t,a,d,u])}function l(){const e=o.useRef(null),t=o.useCallback((t=>{window.requestAnimationFrame((()=>{var t,n,o;(null===(t=e.current)||void 0===t?void 0:t.BFocusWithin())&&(null===(o=null===(n=e.current.Node())||void 0===n?void 0:n.GetLastFocusElement())||void 0===o||o.scrollIntoView({behavior:"auto",block:"nearest"}))}))}),[e]);return{ref:(0,r.yU)(t),navRef:e}}},35643:(e,t,n)=>{"use strict";n.d(t,{CJ:()=>h,LP:()=>m,k$:()=>d,o5:()=>u});var o=n(85556),i=n(47427),r=n(10095),s=n(77262),a=n(20417),l=n(37563);const c=i.createContext((function(e,t){return{ShowVirtualKeyboard:()=>{},ShowModalKeyboard:()=>{},SetAsCurrentVirtualKeyboardTarget:()=>{},HideVirtualKeyboard:()=>{},DelayHideVirtualKeyboard:()=>{},BIsActive:()=>!1,BIsElementValidForInput:()=>!1}}));function u(e){const{factory:t,children:n}=e,o=i.useMemo((()=>t.CreateVirtualKeyboardRef.bind(t)),[t]);return i.createElement(c.Provider,{value:o},n)}function d(e,t){const{onTextEntered:n}=e,c=(0,o._T)(e,["onTextEntered"]),u=i.useRef(null),d=(0,l.qt)({bSuppressAssert:!0}),p=i.useRef({onTextEntered:()=>null});Object.assign(p.current,Object.assign(Object.assign({},c),{onTextEntered:n||(e=>m(e,d.IN_VR)),BIsElementValidForInput:()=>u.current&&document.activeElement==u.current}));const g=h(p.current,(()=>u.current.ownerDocument.defaultView)),v=i.useCallback((e=>{var t,n;if(!document.hasFocus()&&document.activeElement==u.current)return;if(e.currentTarget!=u.current)return void console.warn("keyboard got blur event, but it's not the active element");const o=null!==(n=null===(t=r.AN.GetPopupForWindow(u.current.ownerDocument.defaultView))||void 0===t?void 0:t.params.bUseVRKeyboard)&&void 0!==n&&n;(g.BIsActive()||o)&&g.DelayHideVirtualKeyboard()}),[g]),f=(0,a.xK)((e=>{u.current=e;const t=[];return e&&(e.addEventListener("focus",g.SetAsCurrentVirtualKeyboardTarget),t.push((()=>e.removeEventListener("focus",g.SetAsCurrentVirtualKeyboardTarget))),e.addEventListener("click",g.ShowVirtualKeyboard),t.push((()=>e.removeEventListener("click",g.ShowVirtualKeyboard))),t.push((0,s.x)(e,g.ShowVirtualKeyboard)),t.push((0,s.BG)(e,v))),()=>t.forEach((e=>e()))}),[v,g]);return i.useLayoutEffect((()=>((0,a.k$)(t,{TakeFocusAndShowKeyboard:()=>{const e=u.current;e&&(document.activeElement!=e&&e.focus(),g.ShowVirtualKeyboard())},HideVirtualKeyboard:()=>{g.HideVirtualKeyboard()}}),()=>(0,a.k$)(t,null))),[g,t]),f}function h(e,t){const n=i.useRef(),o=i.useContext(c);return n.current||(n.current=o(e,t)),n.current}function m(e,t){var n,o;if(t){switch(e){case"Backspace":e="\b";break;case"Enter":e="\n";break;case"Tab":e="\t";break;case"ArrowLeft":e="";break;case"ArrowRight":e="";break;case"ArrowUp":e="";break;case"ArrowDown":e=""}""!==e&&(null===(n=SteamClient.OpenVR)||void 0===n||n.Keyboard.SendText(e))}else{switch(e){case"Backspace":e="";break;case"Enter":e="";break;case"Tab":e="\t";break;case"ArrowLeft":e="";break;case"ArrowRight":e="";break;case"ArrowUp":e="";break;case"ArrowDown":e=""}null===(o=SteamClient.Input)||void 0===o||o.ControllerKeyboardSendText(e)}}},77581:(e,t,n)=>{"use strict";n.d(t,{J:()=>v});var o=n(85556),i=n(50060),r=n(10059),s=n(79545),a=n(16997),l=n(80751),c=n.n(l),u=n(90938),d=n(35427),h=n(45284);function m(e){try{if(!e||"string"!=typeof e)return null;const t=e.split(".");if(3!==t.length)return null;const[n,o]=t,i=(0,h.nh)(n),r=(0,h.nh)(o);return i&&r?{header:JSON.parse(i),body:JSON.parse(r)}:null}catch(e){return console.error(`Exception while attempting to decode token: "${e}"`),null}}function p(e){return e?e.body.exp:0}var g=n(46009);class v{constructor(e,t,n=!1,o){this.m_webApiAccessToken="",this.m_bJsonMode=!1,this.m_strSpoofedSteamID="",this.m_bJWTToken=!1,this.m_dtLastExpireCheck=0,this.m_strWebAPIBaseURL=e,this.m_webApiAccessToken=t,this.m_bJsonMode=n,this.m_fnRequestNewAccessToken=o,this.m_bJWTToken=null!=m(t),this.m_ServiceTransport={SendMsg:this.SendMsgAndAwaitResponse.bind(this,{bSendAuth:!0}),SendNotification:this.SendNotification.bind(this,{bSendAuth:!0}),MakeReady:this.MakeReady.bind(this)},this.m_AnonymousServiceTransport={SendMsg:this.SendMsgAndAwaitResponse.bind(this,{bSendAuth:!1}),SendNotification:this.SendNotification.bind(this,{bSendAuth:!1}),MakeReady:this.MakeReady.bind(this)};const i=(0,g.bG)("steamLoginSpoofSteamID");i&&/[0-9]+/g.test(i)&&(this.m_strSpoofedSteamID=i)}WaitUntilLoggedOn(){return Promise.resolve()}GetServerRTime32(){return Number(new Date)}get steamid(){return new d.K}RTime32ToDate(e){return new Date(1e3*e)}MakeReady(){return Promise.resolve({result:1,message:"ready"})}GetServiceTransport(){return this.m_ServiceTransport}GetWebAPIAccessToken(){return this.m_webApiAccessToken}GetAnonymousServiceTransport(){return this.m_AnonymousServiceTransport}SendMsgAndAwaitResponse(e,t,n,i,a){var l;return(0,o.mG)(this,void 0,void 0,(function*(){let o=null;try{if(this.m_bJWTToken&&e.bSendAuth){const e=Date.now()/1e3;if(this.m_refreshAccessTokenPromise)yield this.m_refreshAccessTokenPromise;else if(this.m_fnRequestNewAccessToken&&e-this.m_dtLastExpireCheck>60){this.m_dtLastExpireCheck=e;const t=m(this.m_webApiAccessToken);t&&function(e){const t=p(e),n=function(e){return e?e.body.nbf||e.body.iat:0}(e);let o=900;const i=t-n;return i<1350&&(o=i<=60?0:60),p(e)-o{"use strict";n.d(t,{Am:()=>c,kI:()=>s,x3:()=>l});var o=n(37563),i=n(48760),r=n(62210);const s=0,a="061818254b2c99ac49e6626adb128ed1282a392f",l=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 header_image_url(){return o.De.MEDIA_CDN_URL+`steam/apps/${this.m_unAppID}/header.jpg`}get icon_url_no_default(){return this.m_strIconURL&&this.BuildAppURL(this.m_strIconURL,a)}get icon_url(){return this.BuildAppURL(this.m_strIconURL,a)}get logo_url(){return o.De.MEDIA_CDN_URL+`steam/apps/${this.m_unAppID}/capsule_231x87.jpg`}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?o.De.MEDIA_CDN_COMMUNITY_URL+"images/apps/"+this.appid+"/"+e+".jpg":(0,i.U)(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(e){}}SerializeToCacheObject(){return(0,r.X)(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}}},47692:(e,t,n)=>{"use strict";var o;n.d(t,{Yt:()=>i}),function(e){e[e.k_ENoiseGateLevel_Off=0]="k_ENoiseGateLevel_Off",e[e.k_ENoiseGateLevel_Low=1]="k_ENoiseGateLevel_Low",e[e.k_ENoiseGateLevel_Medium=2]="k_ENoiseGateLevel_Medium",e[e.k_ENoiseGateLevel_High=3]="k_ENoiseGateLevel_High"}(o||(o={}));function i(e,t){return t()}},37265:(e,t,n)=>{"use strict";n.d(t,{T:()=>d});var o=n(85556),i=n(27605),r=n(47427),s=n(45492),a=n(13129),l=n(20417),c=n(74736),u=n.n(c);let d=class extends r.Component{constructor(){super(...arguments),this.m_listeners=new s.G_,this.m_bNoSpace=!1,this.state={x:void 0,y:void 0,hoverPositionReady:!1}}bindHover(e){this.m_elHover=e||void 0,this.positionHover()}componentDidMount(){this.m_listeners.AddEventListener(window,"blur",this.OnWindowBlur)}componentDidUpdate(){this.positionHover()}componentWillUnmount(){this.m_listeners.Unregister()}OnWindowBlur(e){this.props.onWindowBlur&&this.props.onWindowBlur(e)}render(){const e=this.props,{target:t,visibilityObserver:n,className:i,style:s,bEnablePointerEvents:l,direction:c,nBodyAlignment:d,nBodyDistance:h,nAllowOffscreenPx:m,nMaxLateralMoveOnScreen:p,children:g,onNoSpace:v,onWindowBlur:f,bTopmost:_}=e,C=(0,o._T)(e,["target","visibilityObserver","className","style","bEnablePointerEvents","direction","nBodyAlignment","nBodyDistance","nAllowOffscreenPx","nMaxLateralMoveOnScreen","children","onNoSpace","onWindowBlur","bTopmost"]);let b=Object.assign({left:this.state.x,top:this.state.y},s),w=!n||n.visible;return r.createElement("div",{className:(0,a.Z)(u().HoverPositionOuter,_&&u().HoverAboveModal)},r.createElement("div",Object.assign({},C,{className:(0,a.Z)(u().HoverPosition,w&&this.state.hoverPositionReady&&u().Ready,this.m_bNoSpace&&u().NoSpace,l&&u().EnablePointerEvents,i),style:b,ref:this.bindHover}),g))}positionHover(){var e,t,n;let o=this.m_elHover,i=this.props.target;if(!o||!i)return;if(this.state.hoverPositionReady&&this.props.visibilityObserver&&!this.props.visibilityObserver.visible)return;let r=i.ownerDocument.defaultView;if(!r||r.closed)return;const s=o.querySelector(".hover_arrow.left"),a=o.querySelector(".hover_arrow.right"),l=o.querySelector(".hover_arrow.top"),c=o.querySelector(".hover_arrow.bottom"),u=i.getBoundingClientRect(),d=o.getBoundingClientRect(),m="overlay"==this.props.direction||"overlay-center"==this.props.direction;s&&s.setAttribute("style","display: none;"),a&&a.setAttribute("style","display: none;"),l&&l.setAttribute("style","display: none;"),c&&c.setAttribute("style","display: none;");let{nBodyDistance:p=8,direction:g="right",nBodyAlignment:v=.5}=this.props,{nLeft:f,nTop:_,nOverflow:C,nLateralOverflow:b}=h(g,v,p,u,d,r.innerWidth,r.innerHeight);if(C>(null!==(e=this.props.nAllowOffscreenPx)&&void 0!==e?e:10)&&!m){const e=function(e){switch(e){case"right":return"left";case"left":return"right";case"bottom":return"top";case"top":return"bottom";case"overlay":return"overlay";case"overlay-center":return"overlay-center"}}(null!==(t=this.props.direction)&&void 0!==t?t:"right"),{nLeft:i,nTop:s,nOverflow:a,nLateralOverflow:l}=h(e,v,p,u,d,r.innerWidth,r.innerHeight);if(a(null!==(n=this.props.nAllowOffscreenPx)&&void 0!==n?n:10))return console.log("Not showing hover because it didn't fit in the main or alt direction"),o.setAttribute("style","display: none;"),this.m_bNoSpace=!0,void(this.props.onNoSpace&&this.props.onNoSpace())}0===this.props.nMaxLateralMoveOnScreen||m||([_,f]=function(e,t,n,o,i){let r=Math.max(t[0],t[1]);void 0!==e&&(r=Math.min(e,r));r=Math.max(0,r);const s=t[0]>t[1]?r:-r;"left"===n||"right"===n?o+=s:i+=s;return[o,i]}(this.props.nMaxLateralMoveOnScreen,b,null!=g?g:"right",_,f));let w=null;switch(g){case"left":w=a;break;case"right":w=s;break;case"top":w=c;break;case"bottom":w=l}w&&w.setAttribute("style",""),f!=this.state.x&&this.setState({x:f}),_!=this.state.y&&this.setState({y:_}),this.state.hoverPositionReady||this.setState({hoverPositionReady:!0})}};function h(e,t,n,o,i,r,s){const a=r,l=s;let c,u,d,h;switch(e){case"right":c=o.right+n,u=m(o.top,o.height,i.height,t),d=Math.max(0,c+i.width-a),h=[Math.max(0,0-u),Math.max(0,u+i.height-l)];break;case"left":c=o.left-n-i.width,u=m(o.top,o.height,i.height,t),d=Math.max(0,0-c),h=[Math.max(0,0-u),Math.max(0,u+i.height-l)];break;case"bottom":c=m(o.left,o.width,i.width,t),u=o.bottom+n,d=Math.max(0,u+i.height-l),h=[Math.max(0,0-c),Math.max(0,c+i.width-a)];break;case"top":c=m(o.left,o.width,i.width,t),u=o.top-n-i.height,d=Math.max(0,0-u),h=[Math.max(0,0-c),Math.max(0,c+i.width-a)];break;case"overlay":c=o.left,u=o.top,d=0,h=[0,0];break;case"overlay-center":c=o.left+.5*o.width-.5*i.width,u=o.top+.5*o.height-.5*i.height,d=0,h=[0,0]}return{nLeft:c,nTop:u,nOverflow:d,nLateralOverflow:h}}function m(e,t,n,o){return Math.max(0,Math.min(1,o))*(t-n)+e}d.defaultProps={direction:"right",nBodyAlignment:.5,nAllowOffscreenPx:10,nBodyDistance:8,nMaxLateralMoveOnScreen:void 0},(0,o.gn)([l.ak],d.prototype,"bindHover",null),(0,o.gn)([l.ak],d.prototype,"OnWindowBlur",null),d=(0,o.gn)([i.Pi],d)},43090:(e,t,n)=>{"use strict";n.d(t,{A:()=>s,d:()=>r});var o=n(13499),i=n(65255);function r(e){return i.De.COMMUNITY_BASE_URL+"linkfilter/?u="+encodeURIComponent(e)}function s(e,t){if(e.startsWith("steam://"))return!1;if(e.startsWith("/"))return!1;const n=(0,o.FM)(e).toLowerCase(),r=(0,o.FM)(i.De.COMMUNITY_BASE_URL).toLowerCase(),s=(0,o.FM)(i.De.STORE_BASE_URL).toLowerCase(),a=(0,o.FM)(i.De.HELP_BASE_URL).toLowerCase(),l=(0,o.FM)(i.De.PARTNER_BASE_URL||"").toLowerCase();return n!==r&&n!==s&&n!==a&&"support.steampowered.com"!==n&&n!==l&&"www.dota2.com"!==n&&(!t||0==t.filter((e=>n==e)).length)}},48760:(e,t,n)=>{"use strict";n.d(t,{U:()=>r,W:()=>i});var o=n(37563);const i="fef49e7fa7e1997310d705b2a6158ff8dc1cdfeb";function r(e,t){let n=".jpg";e&&"0000000000000000000000000000000000000000"!==e||(e=i),44==e.length&&(n=e.substr(-4),e=e.substr(0,40));let r=o.De.AVATAR_BASE_URL;return r||(r=o.De.MEDIA_CDN_COMMUNITY_URL+"images/avatars/",r+=e.substr(0,2)+"/"),r+=e,t&&"small"!=t&&(r+="_"+t),r+=n,r}},35427:(e,t,n)=>{"use strict";n.d(t,{K:()=>s});var o=n(8416),i=n(77936),r=n(37563);class s{constructor(e=0,t,n,i){e instanceof s?this.m_ulSteamID=e.m_ulSteamID:"string"==typeof e?this.m_ulSteamID=o.Z.fromString(e,!0):t&&n&&void 0!==i?this.SetFromComponents(null!=e?e:0,i,n,t):this.m_ulSteamID=e?o.Z.fromNumber(e,!0):o.Z.UZERO}static InitFromAccountID(e){return new s(Number(e),r.De.EUNIVERSE,1,i.QS)}static InitFromClanID(e){return new s(Number(e),r.De.EUNIVERSE,7,0)}GetAccountID(){return this.m_ulSteamID.getLowBitsUnsigned()}GetInstance(){return 1048575&this.m_ulSteamID.getHighBitsUnsigned()}GetAccountType(){return this.m_ulSteamID.getHighBitsUnsigned()>>20&15}GetUniverse(){return this.m_ulSteamID.getHighBitsUnsigned()>>24&255}ConvertTo64BitString(){return this.m_ulSteamID.toString()}Render(){switch(this.GetAccountType()){case 0:return"[I:"+this.GetUniverse()+":"+this.GetAccountID()+"]";case 7:return"[g:"+this.GetUniverse()+":"+this.GetAccountID()+"]";case 4:return"[A:"+this.GetUniverse()+":"+this.GetAccountID()+":"+this.GetInstance()+"]";case 3:return"[G:"+this.GetUniverse()+":"+this.GetAccountID()+"]";case 2:return"[M:"+this.GetUniverse()+":"+this.GetAccountID()+":"+this.GetInstance()+"]";case 5:return"[P:"+this.GetUniverse()+":"+this.GetAccountID()+"]";case 6:return"[C:"+this.GetUniverse()+":"+this.GetAccountID()+"]";default:return"[U:"+this.GetUniverse()+":"+this.GetAccountID()+"]"}}static InitFromString(e){let t=new s;try{let[n,o,i,r,s]=e.match(/\[([I|g|A|G|M|P|C|U]):(\d+):(\d+):?(\d+)?\]/)||[],a=Number(i),l=Number(r),c=s?Number(s):1;switch(o){case"I":t.SetFromComponents(l,c,0,a);case"g":t.SetFromComponents(l,0,7,a);case"A":t.SetFromComponents(l,c,4,a);case"G":t.SetFromComponents(l,c,3,a);case"M":t.SetFromComponents(l,c,2,a);case"P":t.SetFromComponents(l,c,5,a);case"C":t.SetFromComponents(l,c,6,a);case"U":t.SetFromComponents(l,c,1,a)}}catch(e){}return t}BIsValid(){let e=this.GetAccountType();if(e<=0||e>=11)return!1;let t=this.GetUniverse();if(t<=0||t>=5)return!1;if(1==e){if(0==this.GetAccountID()||this.GetInstance()>i.YO)return!1}else if(7==e){if(0==this.GetAccountID()||0!=this.GetInstance())return!1}else if(3==e&&0==this.GetAccountID())return!1;return!0}BIsIndividualAccount(){return 1==this.GetAccountType()}BIsClanAccount(){return 7==this.GetAccountType()}SetAccountID(e){this.m_ulSteamID=new o.Z(e,this.m_ulSteamID.getHighBitsUnsigned(),!0)}SetInstance(e){this.SetFromComponents(this.GetAccountID(),e,this.GetAccountType(),this.GetUniverse())}SetAccountType(e){this.SetFromComponents(this.GetAccountID(),this.GetInstance(),e,this.GetUniverse())}SetUniverse(e){this.SetFromComponents(this.GetAccountID(),this.GetInstance(),this.GetAccountType(),e)}SetFromComponents(e,t,n,i){let r=((255&i)<<24)+((15&n)<<20)+(1048575&t),s=4294967295&e;this.m_ulSteamID=new o.Z(s,r,!0)}}},31421:(e,t,n)=>{"use strict";n.d(t,{B1:()=>l,Hf:()=>c,OL:()=>a,ZP:()=>h,mY:()=>u});var o=n(85556),i=n(62210),r=n(13499),s=n(65255);function a(e,t="",n=null){return d.InstrumentLink(e,t,n)}function l(e,t,n=null){const o=(0,r.FM)(e).toLowerCase(),i=(0,r.FM)(s.De.COMMUNITY_BASE_URL).toLowerCase(),a=(0,r.FM)(s.De.STORE_BASE_URL).toLowerCase();return o===i||o===a?c(e,t,n):e}function c(e,t,n=null){const o=u(t,n);return d.AddNavParamToURL(e,o)}function u(e,t=null){return(null==e?void 0:e.domain)?d.GetLinkParam(e,t):s.De.SNR}class d{static Load(){return(0,o.mG)(this,void 0,void 0,(function*(){return d.sm_promiseLoading||(d.sm_promiseLoading=(()=>(0,o.mG)(this,void 0,void 0,(function*(){d.sm_rgNavEventDictionary=(yield n.e(4103).then(n.t.bind(n,199,19))).default,d.sm_bIsLoaded=!0})))()),d.sm_promiseLoading}))}static BIsLoaded(){return d.sm_bIsLoaded}static SetNavEventParams(e,t,n=null,o=null){d.sm_strDomain=e,d.sm_strController=t,d.sm_strMethod=n,d.sm_strSubmethod=o,d.sm_strComputedLinkPrefix=null,d.Load()}static GetDefaultParams(){let e={domain:d.sm_strDomain,controller:d.sm_strController};return d.sm_strMethod&&(e.method=d.sm_strMethod),d.sm_strSubmethod&&(e.submethod=d.sm_strSubmethod),e}static ParseSNR(e){const t=e.split("_")||[];return{domain:d.DecodeEventComponent(t[0]),controller:d.DecodeEventComponent(t[1]),method:d.DecodeEventComponent(t[2]),submethod:d.DecodeEventComponent(t[3]),feature:d.DecodeEventComponent(t[4]),depth:t[5]?Number(t[5]):void 0}}static InstrumentLink(e,t,n=null){const o=d.GetLinkParam(t,n);return d.AddNavParamToURL(e,o)}static GetLinkParam(e,t=null){var n;let o,i;if("string"==typeof e||e.domain||(e=e.feature||""),"string"!=typeof e&&e.domain)o=d.ComputeLinkPrefix(e.domain,e.controller,e.method,e.submethod),i=e.feature,t=null!==(n=null!=t?t:e.depth)&&void 0!==n?n:null;else{if(!d.sm_strComputedLinkPrefix&&!d.ComputeStaticLinkPrefix())return null;o=d.sm_strComputedLinkPrefix,i="string"==typeof e?e:e.feature}let r=d.EncodeEventComponent(i);return r&&(o+="_"+r,t&&(o+="_"+t)),o}static AddNavParamToURL(e,t){try{const n=new URL((0,r.Pm)(e)),o=new URLSearchParams(n.search);return o.set("snr",encodeURIComponent(t)),n.origin+n.pathname+"?"+o.toString()+n.hash}catch(t){return console.error(e,t),e}}static ComputeStaticLinkPrefix(){return d.sm_strDomain?(d.sm_strComputedLinkPrefix=d.ComputeLinkPrefix(d.sm_strDomain,d.sm_strController,d.sm_strMethod,d.sm_strSubmethod),!0):((0,i.X)(!1,"CStoreNavEvents::SetNavEventParams was not called before calling InstrumentLink!"),!1)}static ComputeLinkPrefix(e,t,n,o){let i="";return i+=d.EncodeEventComponent(e),i+="_",i+=d.EncodeEventComponent(t),i+="_",i+=d.EncodeEventComponent(n),i+="_",i+=d.EncodeEventComponent(o),i}static EncodeEventComponent(e){if(!e)return"";d.Load();let t=d.sm_rgNavEventDictionary||{};return e in t?""+t[e]:(e.match(/^[0-9]+$/)||(e=e.replace(/^[0-9]+/,"")),e.replace(/[^a-zA-Z0-9\- ]+/g,""))}static DecodeEventComponent(e){const t=e&&parseInt(e);if(t&&d.sm_rgNavEventDictionary)for(const e in d.sm_rgNavEventDictionary)if(d.sm_rgNavEventDictionary[e]==t)return e;return d.SanitizeEventComponent(e)}static SanitizeEventComponent(e){return e&&e.match(/^[a-zA-Z0-9\-.]*$/)?e:""}}d.sm_bIsLoaded=!1;const h=d},43235:(e,t,n)=>{"use strict";function o(e,t){return!!e&&("object"==typeof e.SteamClient&&t in e.SteamClient)}function i(e,t){if(!e)return!1;const[n,i]=t.split(".",2);return n&&i&&o(e,n)&&i in e.SteamClient[n]}function r(e){return i(window,e)}n.d(t,{U5:()=>r,w3:()=>i})},14243:(e,t,n)=>{"use strict";n.d(t,{LT:()=>r,qr:()=>o});var o,i=n(45492);!function(e){e[e.LaunchGame=0]="LaunchGame",e[e.FriendMessage=1]="FriendMessage",e[e.ChatMention=2]="ChatMention",e[e.ChatMessage=3]="ChatMessage",e[e.ToastMessage=4]="ToastMessage",e[e.ToastAchievement=5]="ToastAchievement",e[e.ToastMisc=6]="ToastMisc",e[e.ToastMiscShort=7]="ToastMiscShort",e[e.FriendOnline=8]="FriendOnline",e[e.FriendInGame=9]="FriendInGame",e[e.VolSound=10]="VolSound",e[e.ShowModal=11]="ShowModal",e[e.HideModal=12]="HideModal",e[e.IntoGameDetail=13]="IntoGameDetail",e[e.OutOfGameDetail=14]="OutOfGameDetail",e[e.PagedNavigation=15]="PagedNavigation",e[e.ToggleOn=16]="ToggleOn",e[e.ToggleOff=17]="ToggleOff",e[e.SliderUp=18]="SliderUp",e[e.SliderDown=19]="SliderDown",e[e.ChangeTabs=20]="ChangeTabs",e[e.DefaultOk=21]="DefaultOk",e[e.OpenSideMenu=22]="OpenSideMenu",e[e.CloseSideMenu=23]="CloseSideMenu",e[e.BasicNav=24]="BasicNav",e[e.FailedNav=25]="FailedNav",e[e.Typing=26]="Typing",e[e.TimerExpired=27]="TimerExpired",e[e.Screenshot=28]="Screenshot"}(o||(o={}));const r=new class{constructor(){this.m_fnCallbackOnPlaySound=new i.pB}RegisterCallbackOnPlaySound(e){return this.m_fnCallbackOnPlaySound.Register(e)}PlayNavSound(e,t){this.m_fnCallbackOnPlaySound.Dispatch(e,t)}}},19399:(e,t,n)=>{"use strict";n.d(t,{HZ:()=>a,OL:()=>r,pd:()=>s});var o=n(77115),i=n(65255);function r(){return`${i.De.CLAN_CDN_ASSET_URL}images/`}function s(e){return(e=e.replace(o.A,r())).replace("http://","https://")}function a(e){return e.replace(/{STEAM_CLAN_IMAGE}/g,r())}},41130:(e,t,n)=>{"use strict";n.d(t,{L:()=>w});var o=n(85556),i=n(15633),r=n(16997);let s=[{index:0,type:i.eV.OK,category:"action"},{index:1,type:i.eV.CANCEL,category:"action"},{index:2,type:i.eV.SECONDARY,category:"action"},{index:3,type:i.eV.OPTIONS,category:"action"},{index:4,type:i.eV.BUMPER_LEFT,category:"action"},{index:5,type:i.eV.BUMPER_RIGHT,category:"action"},{index:6,type:i.eV.TRIGGER_LEFT,category:"action"},{index:7,type:i.eV.TRIGGER_RIGHT,category:"action"},{index:8,type:i.eV.SELECT,category:"action"},{index:9,type:i.eV.START,category:"action"},{index:10,type:i.eV.LSTICK_CLICK,category:"action"},{index:11,type:i.eV.RSTICK_CLICK,category:"action"},{index:12,type:i.eV.DIR_UP,category:"navigation"},{index:13,type:i.eV.DIR_DOWN,category:"navigation"},{index:14,type:i.eV.DIR_LEFT,category:"navigation"},{index:15,type:i.eV.DIR_RIGHT,category:"navigation"},{index:16,type:i.eV.STEAM_GUIDE,category:"action"},{index:17,type:i.eV.SELECT,category:"action"}];class a extends i.oH{constructor(){super(),this.m_rgGamepadStatus=[],this.SetSourceType(i.Rr.GAMEPAD),window.addEventListener("gamepadconnected",(e=>{this.m_bGamepadDetected||(this.OnGamepadDetected(),this.PollGamepads())}))}PollGamepads(){let e=navigator.getGamepads(),t=!1;for(let n=0;n{if(-1==e.findIndex((e=>e.nControllerIndex==n))){for(let e=0;e in i.eV;e++)t.activeButtons[e]&&this.OnButtonUp(e,n);this.OnAnalogPad(i.eV.LPAD_TOUCH,0,0,n),this.OnAnalogPad(i.eV.RPAD_TOUCH,0,0,n),this.m_rgControllers.delete(n)}}))}HandleSystemKeyEvents(e){const t=d[e.eKey];t&&this.OnSystemButtonPress(t,e.nControllerIndex)}OnSystemButtonPress(e,t){this.OnButtonDown(e,t),this.OnButtonUp(e,t)}GetController(e){let t=this.m_rgControllers.get(e);return t||(t={activeButtons:{}},this.m_rgControllers.set(e,t)),t}EnableAnalogInputMessages(e){var t,n;e?this.m_hUnregisterControllerAnalogInput=null===(t=SteamClient.Input)||void 0===t?void 0:t.RegisterForControllerAnalogInputMessages(this.HandleControllerInputMessages):null===(n=this.m_hUnregisterControllerAnalogInput)||void 0===n||n.unregister()}HandleControllerInputMessages(e){for(const t of e){const e=u[t.nA],n=this.GetController(t.nC);null!=e?t.bS&&!n.activeButtons[e]?(n.activeButtons[e]=!0,this.OnButtonDown(e,t.nC)):!t.bS&&n.activeButtons[e]&&(n.activeButtons[e]=!1,this.OnButtonUp(e,t.nC)):t.nA==c.A.GAMEPAD_ANALOG_SCROLL||(t.nA==c.A.GAMEPAD_ANALOG_LEFT_KEYBOARD_CURSOR?n.activeButtons[i.eV.LPAD_TOUCH]&&this.OnAnalogPad(i.eV.LPAD_TOUCH,t.x,t.y,t.nC):t.nA==c.A.GAMEPAD_ANALOG_RIGHT_KEYBOARD_CURSOR&&n.activeButtons[i.eV.RPAD_TOUCH]&&this.OnAnalogPad(i.eV.RPAD_TOUCH,t.x,t.y,t.nC))}}}(0,o.gn)([r.a],h.prototype,"OnControllerListChanged",null),(0,o.gn)([r.a],h.prototype,"HandleSystemKeyEvents",null),(0,o.gn)([r.a],h.prototype,"EnableAnalogInputMessages",null),(0,o.gn)([r.a],h.prototype,"HandleControllerInputMessages",null);var m=n(50423),p=n(65255);class g extends i.oH{constructor(e){super(),this.m_lastButtonDown=i.eV.INVALID,this.SetSourceType(i.Rr.KEYBOARD),e.addEventListener("keydown",this.OnKeyDown),e.addEventListener("keyup",this.OnKeyUp),e.addEventListener("blur",this.Reset)}OnKeyDown(e){const t=this.TranslateKey(e);t!=i.eV.INVALID&&(e.preventDefault(),t!=this.m_lastButtonDown&&(this.Reset(),this.OnButtonDown(t),this.m_lastButtonDown=t))}OnKeyUp(e){const t=this.TranslateKey(e);t!=i.eV.INVALID&&(this.OnButtonUp(t),this.m_lastButtonDown=i.eV.INVALID,e.preventDefault())}Reset(){this.m_lastButtonDown!=i.eV.INVALID&&(this.OnButtonUp(this.m_lastButtonDown),this.m_lastButtonDown=i.eV.INVALID)}GetKeycodeFromEvent(e){return"linux"===p.De.PLATFORM&&e.key.length>1?e.key||e.code:e.code||e.key}BShouldSwallowEventForTextInputWorkaround(e){var t,n,o,i,r,s,a;if(!(m.GB(e.target)&&("INPUT"===e.target.nodeName||"TEXTAREA"===e.target.nodeName||e.target.hasAttribute("contenteditable"))))return!1;if(e.target.hasAttribute("contenteditable"))return!0;const l=this.GetKeycodeFromEvent(e);let c=e.target;const u=Array.from(c.ownerDocument.getElementsByClassName("gpfocus")).some((e=>Array.from(e.classList).some((e=>e.includes("virtualkeyboard")))));switch(l){case"ArrowUp":{if(u)return!0;let n=null==c?void 0:c.value.indexOf("\n");return"TEXTAREA"===e.target.nodeName&&n>=0&&n<(null!==(t=null==c?void 0:c.selectionStart)&&void 0!==t?t:0)}case"ArrowDown":{if(u)return!0;let t=null==c?void 0:c.value.lastIndexOf("\n");return"TEXTAREA"===e.target.nodeName&&t>=0&&t>=(null!==(n=null==c?void 0:c.selectionStart)&&void 0!==n?n:0)&&(null!==(o=null==c?void 0:c.selectionEnd)&&void 0!==o?o:0)<(null==c?void 0:c.value.length)}case"ArrowLeft":return!!u||(null!==(i=null==c?void 0:c.selectionStart)&&void 0!==i?i:0)>0&&(null!==(r=null==c?void 0:c.selectionEnd)&&void 0!==r?r:0)>0;case"ArrowRight":return!!u||(null!==(s=null==c?void 0:c.selectionStart)&&void 0!==s?s:0)<(null==c?void 0:c.value.length)&&(null!==(a=null==c?void 0:c.selectionEnd)&&void 0!==a?a:0)<(null==c?void 0:c.value.length);case"Enter":case"Backspace":return!0;default:return!1}}TranslateKey(e){const t=this.GetKeycodeFromEvent(e),n=e.ctrlKey,o=e.shiftKey;if(this.BShouldSwallowEventForTextInputWorkaround(e))return i.eV.INVALID;if(n&&o)switch(t){case"Digit4":return i.eV.TRIGGER_LEFT;case"Digit5":return i.eV.TRIGGER_RIGHT;default:return i.eV.INVALID}if(n)switch(t){case"Digit1":return i.eV.STEAM_GUIDE;case"Digit2":return i.eV.STEAM_QUICK_MENU;case"Digit3":case"Digit9":return i.eV.SELECT;case"Digit4":return i.eV.BUMPER_LEFT;case"Digit5":return i.eV.BUMPER_RIGHT;case"Digit6":return i.eV.LSTICK_CLICK;case"Digit7":return i.eV.RSTICK_CLICK;case"Digit8":return i.eV.OPTIONS;case"Digit0":return i.eV.START}switch(t){case"Escape":return i.eV.CANCEL;case"Enter":return i.eV.OK;case"Backspace":return i.eV.SECONDARY;case"ArrowUp":return i.eV.DIR_UP;case"ArrowDown":return i.eV.DIR_DOWN;case"ArrowLeft":return i.eV.DIR_LEFT;case"ArrowRight":return i.eV.DIR_RIGHT}return i.eV.INVALID}}(0,o.gn)([r.a],g.prototype,"OnKeyDown",null),(0,o.gn)([r.a],g.prototype,"OnKeyUp",null),(0,o.gn)([r.a],g.prototype,"Reset",null);class v extends i.oH{constructor(e){super(),this.m_nAccumulatedMouseMovement=0,this.m_bFirstMouseUpdate=!0,this.m_lastButtonDown=i.eV.INVALID,this.SetSourceType(i.Rr.MOUSE),e.addEventListener("mousedown",this.OnMouseDown),e.addEventListener("mouseup",this.OnMouseUp),e.addEventListener("mousemove",this.OnMouseMove),e.addEventListener("blur",this.Reset)}TranslateKey(e){return 3===e.button?i.eV.CANCEL:i.eV.INVALID}OnMouseDown(e){if(e.defaultPrevented)return;const t=this.TranslateKey(e);t!=i.eV.INVALID&&(e.preventDefault(),t!=this.m_lastButtonDown&&(this.Reset(),this.OnButtonDown(t),this.m_lastButtonDown=t),this.OnNavigationTypeChanged(i.Rr.MOUSE))}OnMouseUp(e){const t=this.TranslateKey(e);t!=i.eV.INVALID&&(this.OnButtonUp(t),this.m_lastButtonDown=i.eV.INVALID,e.preventDefault())}OnMouseMove(e){if(!e.defaultPrevented){if(this.m_bFirstMouseUpdate)return this.m_nLastScreenX=e.screenX,this.m_nLastScreenY=e.screenY,void(this.m_bFirstMouseUpdate=!1);this.m_nAccumulatedMouseMovement+=Math.abs(e.screenX-this.m_nLastScreenX)+Math.abs(e.screenY-this.m_nLastScreenY),this.m_nAccumulatedMouseMovement>500&&(this.Reset(),this.OnNavigationTypeChanged(i.Rr.MOUSE))}}Reset(){this.m_nAccumulatedMouseMovement=0,this.m_bFirstMouseUpdate=!0,this.m_lastButtonDown!=i.eV.INVALID&&(this.OnButtonUp(this.m_lastButtonDown),this.m_lastButtonDown=i.eV.INVALID)}}(0,o.gn)([r.a],v.prototype,"TranslateKey",null),(0,o.gn)([r.a],v.prototype,"OnMouseDown",null),(0,o.gn)([r.a],v.prototype,"OnMouseUp",null),(0,o.gn)([r.a],v.prototype,"OnMouseMove",null),(0,o.gn)([r.a],v.prototype,"Reset",null);var f=n(80944),_=n(37563),C=n(42287);class b{GetNavigationController(){return this.m_GamepadNavigationController}static Get(e){return e?(b.s_SingletonGamepaUI||(b.s_SingletonGamepaUI=new b(!0),"dev"==_.De.WEB_UNIVERSE&&(window.g_StoreWebNavStoreGamepadUI=b.s_Singleton)),b.s_SingletonGamepaUI):(b.s_Singleton||(b.s_Singleton=new b(!1)),b.s_Singleton)}constructor(e){this.m_GamepadNavigationController=new f.ZT,e&&(this.m_GamepadNavigationController.RegisterInputSource(new h),this.m_GamepadNavigationController.RegisterInputSource(new a)),"dev"==_.De.WEB_UNIVERSE&&(this.m_GamepadNavigationController.RegisterInputSource(new g(window)),this.m_GamepadNavigationController.RegisterInputSource(new v(window)))}}function w(){let e=window.legacyWebFocusNavController,t=(0,_.id)();return e||(e=b.Get(t).GetNavigationController()),e.SetGamepadEventUpdateBatcher(C.unstable_batchedUpdates),e}},92011:(e,t,n)=>{"use strict";n.d(t,{Uh:()=>D});var o=n(85556),i=n(79545),r=n(14351),s=n(10162),a=n(31846),l=n(77131);const c=window.addEventListener||n.g&&n.g.addEventListener||(()=>{});let u,d=[],h=(e,t)=>d.push({error:e,cCallsitesToIgnore:t});const m=!0;{const e=console.assert;console.assert=(t,n,...o)=>{t||h(new Error(f(n,...o)),2),e.apply(console,[t,n,...o])};const t=console.error;console.error=(e,...n)=>{h(new Error(f(e,...n)),1),t.apply(console,[e,...n])},console.clogerror=(e,n,...o)=>{h(new Error(f(n,...o)),e+1),t.apply(console,[n,...o])},c("error",(e=>{h(e.error,0)})),u=window.setTimeout((()=>{d=[],h=()=>{}}),3e4)}const p={cCallsitesToIgnore:0,bIncludeMessageInIdentifier:!1},g=["/localhost:1337/","chrome-extension://"];class v{constructor(e=!0){this.m_transport=null,this.m_rgErrorQueue=[],this.m_sendTimer=null,this.m_bEnabled=!0,this.m_bInitialized=!1,e?(d.forEach((({error:e,cCallsitesToIgnore:t})=>this.ReportError(e,{cCallsitesToIgnore:t}))),h=(e,t)=>this.ReportError(e,{cCallsitesToIgnore:t})):h=()=>{},d=[],clearTimeout(u),window.setTimeout((()=>{this.m_bInitialized||(this.m_bEnabled=!1,this.m_rgErrorQueue=[])}),3e4)}Init(e,t,n){this.m_bInitialized=!0,this.m_strProduct=e,this.m_strVersion=t,this.m_transport=n,this.m_bEnabled||(console.error("Error reporting was initialized after being disabled, possibly dropping errors."),this.m_bEnabled=!0),this.m_rgErrorQueue.length&&(this.SendErrorReports(this.m_rgErrorQueue),this.m_rgErrorQueue=[])}ReportError(e,t){return(0,o.mG)(this,void 0,void 0,(function*(){if(!e)return console.warn("Failed to report error: ReportError() was called without an error to report."),null;try{const n=Object.assign(Object.assign({},p),t);if(!this.m_bEnabled)return null;0;const i=yield function(e,t){try{return e.stack&&e.stack.match(_)?function(e,t){var n,i;return(0,o.mG)(this,void 0,void 0,(function*(){const{cCallsitesToIgnore:o,bIncludeMessageInIdentifier:r}=t,s=null!==(i=null===(n=e.stack)||void 0===n?void 0:n.split("\n"))&&void 0!==i?i:[];let a=S(s.filter((e=>!!e.match(_)))[o]);r&&(a=`${a} ${e.message}`);const l=s.map((e=>{const t=e.match(/(.*)\((.*):(\d+):(\d+)\)/);if(!t)return e;if(5===t.length){const[e,n,o,i,r]=t,s=parseInt(i),a=parseInt(r);if(!isNaN(s)&&!isNaN(a))return[n,o,s,a]}return e})).filter((e=>!!e));return{identifier:a,identifierHash:yield L(a),message:l}}))}(e,t):e.stack&&e.stack.match(C)?function(e,t){var n,i;return(0,o.mG)(this,void 0,void 0,(function*(){const{cCallsitesToIgnore:o,bIncludeMessageInIdentifier:r}=t,s=null!==(i=null===(n=e.stack)||void 0===n?void 0:n.split("\n"))&&void 0!==i?i:[];let a=S(s.filter((e=>!!e.match(C)))[o]);r&&(a=`${a} ${e.message}`);const l=s.map((e=>{const t=e.match(/(.*@)?(.*):(\d+):(\d+)/);if(!t)return e;if(5===t.length){const[e,n,o,i,r]=t,s=parseInt(i),a=parseInt(r);if(!isNaN(s)&&!isNaN(a))return[n,o,s,a]}return e})).filter((e=>!!e));return{identifier:a,identifierHash:yield L(a),message:[e.message,...l]}}))}(e,t):e.stack&&e.stack.match(b)?function(e,t){var n,i;return(0,o.mG)(this,void 0,void 0,(function*(){const{bIncludeMessageInIdentifier:o,cCallsitesToIgnore:r}=t,s=null!==(i=null===(n=e.stack)||void 0===n?void 0:n.split("\n"))&&void 0!==i?i:[],a=s[r],l=a.split("/");let c=l[l.length-1];a.indexOf("@")>-1&&(c=a.split("@")[0]+"@"+c),o&&(c=`${c} ${e.message}`);const u=s.map((e=>{const t=e.match(/(.*@)?(.*):(\d+):(\d+)/);if(!t)return e;if(5===t.length){const[e,n,o,i,r]=t,s=parseInt(i),a=parseInt(r);if(!isNaN(s)&&!isNaN(a))return[n,o,s,a]}return e})).filter((e=>!!e));return{identifier:c,identifierHash:yield L(c),message:[e.message,...u]}}))}(e,t):(E||(console.warn("Error reporter does not know how to parse generated stack:"),console.warn(e.stack),E=!0),null)}catch(e){return console.warn(`Failed to normalize error stack: ${e}`),null}}(e,n);return i?(this.SendErrorReport(i),i):null}catch(e){return console.log(`Failed to report error: ${e}`),null}}))}BIsBlacklisted(e){for(let t of e.message){let n=JSON.stringify(t);for(let t of g){const o=new RegExp(t);if(n.match(o))return console.warn("Report",e,"matched regex",t),!0}}return!1}SendErrorReport(e){this.BIsBlacklisted(e)||(this.m_transport?this.QueueSend(e):this.m_rgErrorQueue.push(e))}QueueSend(e){this.m_rgErrorQueue.push(e),this.m_sendTimer||(this.m_sendTimer=window.setTimeout((()=>{this.SendErrorReports(this.m_rgErrorQueue),this.m_rgErrorQueue=[],this.m_sendTimer=null}),1e4))}SendErrorReports(e){if(!e||!e.length)return;const t=i.gA.Init(r.$4),n=e.reduce(((e,t)=>(e[t.identifier]?e[t.identifier].count++:e[t.identifier]={report:t,count:1},e)),{}),o=Object.keys(n).map((e=>{const{report:t,count:o}=n[e],i=new r.kb;return i.set_count(o),i.set_identifier(t.identifier+" "+t.identifierHash),i.set_message(JSON.stringify(t.message)),i}));t.Body().set_product(this.m_strProduct),t.Body().set_version(this.m_strVersion),t.Body().set_errors(o),r.TF.ReportClientError(this.m_transport,t)}get version(){return this.m_strVersion}get product(){return this.m_strProduct}get reporting_enabled(){return m}}function f(e,...t){if("string"==typeof e&&0===t.length)return e;return[e,...t].map((e=>{try{return String(e)}catch(e){return"[Stringify Error]"}})).join(", ")}const _=/^\s*at .*(\S+:\d+|\(native\))/m,C=/(^|@)\S+:\d+/,b=/.*\/bundle-[a-zA-Z0-9]+:\d+:\d+/;let w,E=!1;function S(e){return function(e){const t="https://",n=e.indexOf(t);if(-1===n)return e;const o=e.indexOf("/",n+t.length);return-1===o?e:e.slice(0,n)+e.slice(o)}(function(e){const t=e.lastIndexOf("?");if(-1===t)return e;const n=e.indexOf(":",t);return-1===n?e:e.slice(0,t)+e.slice(n)}(e))}const D=()=>(w||M(new v),w),M=e=>{w=e,s.SV.InstallErrorReportingStore(w),i.lq.InstallErrorReportingStore(w),a.LJ.InstallErrorReportingStore(w),l.R.InstallErrorReportingStore(w)};function L(e){return(0,o.mG)(this,void 0,void 0,(function*(){try{const n=yield window.crypto.subtle.digest("SHA-256",function(e){const t=new ArrayBuffer(2*e.length),n=new Uint16Array(t);for(let t=0,o=e.length;t("00"+e.toString(16)).slice(-2))).join("")).slice(0,16)}catch(e){return""}var t}))}},87476:(e,t,n)=>{"use strict";n.d(t,{Ze:()=>h});var o=n(85556),i=n(47427),r=n(54842),s=n(52178),a=n(19929),l=n(68785),c=(n(20417),n(22520));const u=new l.sO("VR");class d{constructor(){this.m_rgMutualCapabilities=void 0,this.m_bHMDPresent=void 0,this.m_bHMDHardwareDetected=void 0,this.m_strHMDName=void 0,this.m_bIsVRRunning=void 0,this.m_error=void 0,this.m_eHMDActivityLevel=void 0,this.m_bVRDeviceSeenRecently=!1,this.m_bIsKeyboardOpen=void 0,this.m_eKeyboardFlags=void 0,this.m_sInitialKeyboardText=void 0,this.m_unSceneAppID=c.kI,this.m_bSimulatingVROnDesktop=!1,this.m_mapAffordanceElems=new Map,(0,r.rC)(this)}Init(){var e,t,n,o,i,r,s,a,l,c,u,d,h,m;null===(t=null===(e=null===SteamClient||void 0===SteamClient?void 0:SteamClient.OpenVR)||void 0===e?void 0:e.RegisterForVRHardwareDetected)||void 0===t||t.call(e,this.OnVRHardwareDetected),null===(o=null===(n=null===SteamClient||void 0===SteamClient?void 0:SteamClient.OpenVR)||void 0===n?void 0:n.RegisterForVRModeChange)||void 0===o||o.call(n,this.OnVRModeChanged),null===(r=null===(i=null===SteamClient||void 0===SteamClient?void 0:SteamClient.OpenVR)||void 0===i?void 0:i.RegisterForStartupErrors)||void 0===r||r.call(i,this.OnStartupError),null===(a=null===(s=null===SteamClient||void 0===SteamClient?void 0:SteamClient.OpenVR)||void 0===s?void 0:s.RegisterForHMDActivityLevelChanged)||void 0===a||a.call(s,this.OnHMDActivityLevelChanged),null===(c=null===(l=null===SteamClient||void 0===SteamClient?void 0:SteamClient.OpenVR)||void 0===l?void 0:l.RegisterForVRSceneAppChange)||void 0===c||c.call(l,this.OnSceneAppChanged),null===(u=null===SteamClient||void 0===SteamClient?void 0:SteamClient.OpenVR)||void 0===u||u.Device.RegisterForVRDeviceSeenRecently(this.OnVRDeviceSeenRecentlyChanged),null===(m=null===(d=null===SteamClient||void 0===SteamClient?void 0:SteamClient.OpenVR)||void 0===d?void 0:(h=d.Keyboard).RegisterForStatus)||void 0===m||m.call(h,this.OnKeyboardStatus)}OnVRHardwareDetected(e,t,n){this.m_bHMDPresent=e,this.m_bHMDHardwareDetected=t,this.m_strHMDName=n}OnVRModeChanged(e){this.m_bIsVRRunning=e,this.UpdateMutualCapabilities()}OnStartupError(e,t,n){let o;e!=s.w.k_EVRError_None&&(o={eClient:e,eInit:t,strInit:n}),this.m_error=o}OnHMDActivityLevelChanged(e){this.m_eHMDActivityLevel=e}OnSceneAppChanged(e){this.m_unSceneAppID=e}OnVRDeviceSeenRecentlyChanged(e){this.m_bVRDeviceSeenRecently=e}OnKeyboardStatus(e,t,n){this.m_bIsKeyboardOpen=e,this.m_eKeyboardFlags=t,this.m_sInitialKeyboardText=n}get IsVRHMDPresent(){return Boolean(this.m_bSimulatingVROnDesktop||this.m_bHMDPresent||this.m_bHMDHardwareDetected)}get CurrentSceneAppID(){return this.m_unSceneAppID}HasVRHMDBeenSeen(){return!!this.m_bVRDeviceSeenRecently}get IsSteamVRRunning(){return this.m_bSimulatingVROnDesktop||!!this.m_bIsVRRunning}get IsSteamVRSimulatedOnDesktop(){return this.m_bSimulatingVROnDesktop}get IsVRHMDAwake(){return this.m_bSimulatingVROnDesktop||this.m_eHMDActivityLevel==a.$6.UserInteraction}get VRKeyboardStatus(){const e=0!=(this.m_eKeyboardFlags&a.vS.Minimal);return{bIsOpen:!!this.m_bIsKeyboardOpen,sInitialText:this.m_sInitialKeyboardText,bMinimal:e,bShowArrowKeys:!e||0!=(this.m_eKeyboardFlags&a.vS.ShowArrowKeys),bShowDoneKey:0==(this.m_eKeyboardFlags&a.vS.HideDoneKey)}}get VRHMDActivityLevel(){return this.m_bSimulatingVROnDesktop?a.$6.UserInteraction:this.m_eHMDActivityLevel}get VRKeyboardDisplayFlags(){return this.m_eKeyboardFlags}get error(){return this.m_error}ClearError(){this.m_error=void 0}SetSimulatingVROnDesktop(e){this.m_bSimulatingVROnDesktop=e}SetInteractionAffordance(e,t,n){var o,i,r;if(null==e)return;this.m_mapAffordanceElems.has(t)||this.m_mapAffordanceElems.set(t,new Set);const s=this.m_mapAffordanceElems.get(t),a=Array.from(s).filter((t=>t.ownerDocument.defaultView==e.ownerDocument.defaultView)).length>0;n?s.add(e):s.delete(e);const l=Array.from(s).filter((t=>t.ownerDocument.defaultView==e.ownerDocument.defaultView)).length>0;l!=a&&(null===(r=null===(i=null===(o=e.ownerDocument.defaultView)||void 0===o?void 0:o.SteamClient)||void 0===i?void 0:i.OpenVR)||void 0===r||r.SetOverlayInteractionAffordance(t,l))}BHasMutualCapabilities(){return null!=this.m_rgMutualCapabilities}BHasMutualCapability(e){var t;return null===(t=this.m_rgMutualCapabilities)||void 0===t?void 0:t.includes(e)}UpdateMutualCapabilities(){var e;return(0,o.mG)(this,void 0,void 0,(function*(){if(this.IsSteamVRRunning)try{this.m_rgMutualCapabilities=yield null===(e=null===SteamClient||void 0===SteamClient?void 0:SteamClient.OpenVR)||void 0===e?void 0:e.GetMutualCapabilities()}catch(e){this.m_rgMutualCapabilities=void 0,u.Error("Failed to fetch Mutual Capabilities:",e)}else this.m_rgMutualCapabilities=void 0}))}}function h(e,t){const[n,o]=i.useState(),r=i.useCallback((()=>!0),[]),s=i.useRef();return s.current=null!=t?t:r,i.useEffect((()=>{const t=()=>{var t,o,i,r;const l=!(!s.current||!s.current());m.SetInteractionAffordance(n,e,l),2==e&&l&&(null===(r=null===(i=null===(o=null===(t=null==n?void 0:n.ownerDocument.defaultView)||void 0===t?void 0:t.SteamClient)||void 0===o?void 0:o.OpenVR)||void 0===i?void 0:i.TriggerOverlayHapticEffect)||void 0===r||r.call(i,a.sH.ButtonEnter,0))},o=()=>{var t,o,i,r;m.SetInteractionAffordance(n,e,!1),2==e&&s.current&&s.current()&&(null===(r=null===(i=null===(o=null===(t=null==n?void 0:n.ownerDocument.defaultView)||void 0===t?void 0:t.SteamClient)||void 0===o?void 0:o.OpenVR)||void 0===i?void 0:i.TriggerOverlayHapticEffect)||void 0===r||r.call(i,a.sH.ButtonLeave,0))};return null==n||n.addEventListener("mouseenter",t),null==n||n.addEventListener("mouseleave",o),()=>{null==n||n.removeEventListener("mouseenter",t),null==n||n.removeEventListener("mouseleave",o),m.SetInteractionAffordance(n,e,!1)}}),[n,e]),o}(0,o.gn)([r.LO],d.prototype,"m_rgMutualCapabilities",void 0),(0,o.gn)([r.LO],d.prototype,"m_bHMDPresent",void 0),(0,o.gn)([r.LO],d.prototype,"m_bHMDHardwareDetected",void 0),(0,o.gn)([r.LO],d.prototype,"m_strHMDName",void 0),(0,o.gn)([r.LO],d.prototype,"m_bIsVRRunning",void 0),(0,o.gn)([r.LO],d.prototype,"m_error",void 0),(0,o.gn)([r.LO],d.prototype,"m_eHMDActivityLevel",void 0),(0,o.gn)([r.LO],d.prototype,"m_bVRDeviceSeenRecently",void 0),(0,o.gn)([r.LO],d.prototype,"m_bIsKeyboardOpen",void 0),(0,o.gn)([r.LO],d.prototype,"m_eKeyboardFlags",void 0),(0,o.gn)([r.LO],d.prototype,"m_sInitialKeyboardText",void 0),(0,o.gn)([r.LO],d.prototype,"m_unSceneAppID",void 0),(0,o.gn)([r.LO],d.prototype,"m_bSimulatingVROnDesktop",void 0),(0,o.gn)([r.aD.bound],d.prototype,"OnVRHardwareDetected",null),(0,o.gn)([r.aD.bound],d.prototype,"OnVRModeChanged",null),(0,o.gn)([r.aD.bound],d.prototype,"OnStartupError",null),(0,o.gn)([r.aD.bound],d.prototype,"OnHMDActivityLevelChanged",null),(0,o.gn)([r.aD.bound],d.prototype,"OnSceneAppChanged",null),(0,o.gn)([r.aD.bound],d.prototype,"OnVRDeviceSeenRecentlyChanged",null),(0,o.gn)([r.aD.bound],d.prototype,"OnKeyboardStatus",null),(0,o.gn)([r.aD.bound],d.prototype,"ClearError",null);const m=new d},71630:(e,t,n)=>{"use strict";n.d(t,{G:()=>s,m:()=>r});var o=n(47427),i=n(37563);class r extends o.Component{render(){if("dev"!==i.De.WEB_UNIVERSE)return null;let e=document.getElementById(this.props.strConfigID);if(!e)return null;let t=new Array;return e.getAttributeNames().forEach((n=>{n.toLocaleLowerCase().startsWith("data-")&&(t.push(o.createElement("h1",{key:"header-"+n},n)),t.push(o.createElement(s,{key:"body-"+n,data:JSON.parse(e.getAttribute(n))})))})),o.createElement("div",null,t)}}class s extends o.Component{render(){return o.createElement("div",null,o.createElement("pre",null,JSON.stringify(this.props.data,null,2)))}}},22042:(e,t,n)=>{"use strict";n.d(t,{Td:()=>R,xV:()=>L,Yr:()=>M,Zo:()=>y,D1:()=>I,Vc:()=>A,Wn:()=>T,T:()=>N});var o=n(85556),i=n(27605),r=n(47427),s=n(95315),a=n(82493),l=n(91618),c=n(3783),u=n(77262);n(15633);const d=Object.seal({onMoveUp:h,onMoveDown:h});Object.seal({onMoveRight:h,onMoveLeft:h});function h(e,t){if(e.is_repeat)return!1;const n=t.GetRelativeDirection(e.button);return n==c.zE.FORWARD?t.BFocusFirstChild(u.uS.GAMEPAD):n==c.zE.BACKWARD&&t.BFocusLastChild(u.uS.GAMEPAD)}var m=n(47692),p=n(43235),g=n(38204),v=(n(50898),n(90069),n(62613)),f=n(13129),_=n(60616),C=n(50423),b=n(31846),w=n(20417),E=n(37563),S=n(27241),D=n.n(S);const M=(0,m.Yt)("ContextMenuInstanceContext",(()=>r.createContext(null)));let L=class extends r.Component{constructor(){super(...arguments),this.m_navRef=(0,a.Hy)(),this.m_divRef=r.createRef()}get instance(){return this.context.instance}componentDidMount(){var e;this.instance.SetLabel(this.props.label),null===(e=this.m_navRef.current)||void 0===e||e.TakeFocus(),(0,w.k$)(this.props.refInstance,this.instance)}componentDidUpdate(e){e.label!==this.props.label&&this.context&&this.instance.SetLabel(this.props.label)}HideIfSubmenu(){return!!this.instance.BIsSubMenu()&&(this.instance.HideSelf(),!0)}HideMenu(){return this.instance.BIsSubMenu()?this.instance.HideSelf():this.instance.Hide(),!0}render(){var e;let t=this.props,{children:n,className:i,label:s,onCancel:a,cancelText:u,refInstance:h,bForceDesktopPresentation:m,footer:p}=t,g=(0,o._T)(t,["children","className","label","onCancel","cancelText","refInstance","bForceDesktopPresentation","footer"]);const v=null!==(e=this.context.styles)&&void 0!==e?e:D();let _=null!=u?u:"#Button_Cancel";if(1!=this.context.presentation||m)return r.createElement("div",Object.assign({},g,{ref:this.m_divRef,className:(0,f.Z)({[v.contextMenuContents]:!0,[v.hasSubMenu]:this.instance.BIsSubMenuVisible(),[v.ForceDesktop]:m},i)}),n);{const e=()=>{a&&a(),this.instance.Hide()};return r.createElement(l.s,Object.assign({},g,{className:(0,f.Z)(v.contextMenuContents,{[v.hasSubMenu]:this.instance.BIsSubMenuVisible()},i),"flow-children":"column",onMoveLeft:this.HideIfSubmenu,onCancel:this.instance.BIsSubMenu()?this.HideMenu:e,style:{overflowY:this.instance.BIsSubMenuVisible()?"hidden":void 0},navEntryPreferPosition:c.c4.PREFERRED_CHILD,navRef:this.m_navRef,ref:this.m_divRef},d),n,!this.instance.BIsSubMenu()&&r.createElement(r.Fragment,null,r.createElement(O,null),r.createElement(y,{className:v.Cancel,onSelected:e},(0,b.Xx)(_)),p),this.instance.BIsSubMenuVisible()&&r.createElement("div",{className:v.contextMenuFade,onClick:()=>this.instance.HideSubMenu()}))}}};L.contextType=M,(0,o.gn)([w.ak],L.prototype,"HideIfSubmenu",null),(0,o.gn)([w.ak],L.prototype,"HideMenu",null),L=(0,o.gn)([i.Pi],L);class y extends r.PureComponent{constructor(){super(...arguments),this.m_ref=r.createRef(),this.m_refDiv=r.createRef()}get element(){return this.m_refDiv.current}get instance(){return this.context.instance}OnClick(e){var t;this.props.disabled?(null===(t=this.context.callbacks)||void 0===t?void 0:t.onDisabledItemSelected)&&this.context.callbacks.onDisabledItemSelected():(this.props.onClick&&this.props.onClick(e),this.props.bInteractableItem||(this.props.onSelected&&this.props.onSelected(e),this.context&&this.instance.ForceHide()))}OnOKButton(e){var t;null===(t=this.m_refDiv.current)||void 0===t||t.click()}OnMouseEnter(e){0==this.context.presentation&&this.instance.HideSubMenu()}Focus(){this.m_ref.current?this.m_ref.current.TakeFocus():this.m_refDiv.current&&this.m_refDiv.current.focus()}render(){var e,t;const n=this.props,{onSelected:i,bInteractableItem:s,onMoveRight:a}=n,c=(0,o._T)(n,["onSelected","bInteractableItem","onMoveRight"]),u=null!==(t=null===(e=this.context)||void 0===e?void 0:e.styles)&&void 0!==t?t:D();return 1==this.context.presentation?r.createElement(l.s,Object.assign({noFocusRing:!0,preferredFocus:this.props.selected,ref:this.m_refDiv,navRef:this.m_ref,onMouseEnter:this.OnMouseEnter},c,{className:(0,f.Z)(this.props.className,u.contextMenuItem,"contextMenuItem",this.props.disabled&&"disabled",this.props.selected&&u.Selected,"positive"==this.props.tone&&u.Positive,"emphasis"==this.props.tone&&u.Emphasis,"destructive"==this.props.tone&&u.Destructive),focusClassName:u.Focused,onClick:this.props.disabled?void 0:this.OnClick,focusable:!this.props.disabled,onOKButton:this.OnOKButton,onMoveRight:a,unselectable:this.props.unselectable}),this.props.children):r.createElement(g.s,Object.assign({ref:this.m_refDiv,onMouseEnter:this.OnMouseEnter},c,{onClick:this.OnClick,unselectable:this.props.unselectable,className:this.props.className}),this.props.children)}}y.contextType=M,(0,o.gn)([w.ak],y.prototype,"OnClick",null),(0,o.gn)([w.ak],y.prototype,"OnOKButton",null),(0,o.gn)([w.ak],y.prototype,"OnMouseEnter",null),(0,o.gn)([w.ak],y.prototype,"Focus",null);class R extends r.PureComponent{render(){const e=this.props,{bChecked:t,children:n,className:i}=e,s=(0,o._T)(e,["bChecked","children","className"]);return r.createElement(y,Object.assign({},s,{className:(0,f.Z)(i,t&&"menuChecked")}),r.createElement("div",{className:"contextMenuCheckMark"}),n)}}r.PureComponent;function O(e){var t;const n=null!==(t=r.useContext(M).styles)&&void 0!==t?t:D();return r.createElement("div",{className:n.ContextMenuSeparator})}const I=e=>{const t=(0,E.id)();return r.createElement(x,Object.assign({},e,{bInGamepadUI:t}))};class x extends r.PureComponent{constructor(e){super(e),this.m_refItem=r.createRef(),this.state={bActive:!1}}get instance(){return this.context.instance}OnSubMenuMouseEnter(){this.instance.CancelHideSubMenuTimer()}OnSubMenuHidden(){this.setState({bActive:!1}),this.props.bInGamepadUI&&1==this.context.presentation&&this.m_refItem.current&&this.m_refItem.current.Focus()}ShowSubMenu(e){const t=e||this.m_refItem.current.element;let n=this.instance.ShowSubMenu(t,this.RenderSubMenu);return!!n&&(this.setState({bActive:!0}),n.SetOnHideCallback(this.OnSubMenuHidden),!0)}RenderSubMenu(){return r.createElement(L,{onMouseEnter:this.OnSubMenuMouseEnter,label:this.props.label},this.props.children)}OnMouseEnter(e){0==this.context.presentation&&this.ShowSubMenu(e.currentTarget)}OnClick(e){this.OnMouseEnter(e),this.props.onClick&&this.props.onClick(e),this.props.bInGamepadUI&&1==this.context.presentation&&this.ShowSubMenu(e.currentTarget)}render(){var e;let t=this.props,{label:n,selectedWithin:i,children:s,className:a,bInGamepadUI:l}=t,c=(0,o._T)(t,["label","selectedWithin","children","className","bInGamepadUI"]);const u=null!==(e=this.context.styles)&&void 0!==e?e:D();return r.createElement(y,Object.assign({},c,{ref:this.m_refItem,onClick:this.OnClick,selected:i&&!this.state.bActive,className:(0,f.Z)(a,u.SubMenu,this.state.bActive&&u.active),onMouseEnter:this.OnMouseEnter,bInteractableItem:!0,onMoveRight:()=>this.ShowSubMenu()}),r.createElement("div",{className:u.Label},n),r.createElement("div",{className:u.Arrow},r.createElement(v.$gZ,null)))}}x.contextType=M,(0,o.gn)([w.ak],x.prototype,"OnSubMenuMouseEnter",null),(0,o.gn)([w.ak],x.prototype,"OnSubMenuHidden",null),(0,o.gn)([w.ak],x.prototype,"ShowSubMenu",null),(0,o.gn)([w.ak],x.prototype,"RenderSubMenu",null),(0,o.gn)([w.ak],x.prototype,"OnMouseEnter",null),(0,o.gn)([w.ak],x.prototype,"OnClick",null);let T=class extends r.Component{constructor(e){super(e),this.m_elMenu=void 0,this.m_cReenteranceGuard=1,this.state={ready:!1,menuLeft:void 0,menuTop:void 0,menuRight:void 0,menuBottom:void 0,menuWidth:void 0,menuHeight:void 0,menuMinWidth:void 0},this.m_mutationObserver=new MutationObserver(this.OnMenuMutation)}get parentWin(){var e;return(null===(e=this.props.element)||void 0===e?void 0:e.ownerDocument.defaultView)||this.props.parentWin}BindMenuElement(e){var t,n;this.props.instance.SetElement(e),this.m_elMenu&&(this.m_mutationObserver.disconnect(),this.props.popup&&!this.props.options.bScreenCoordinates||null===(t=this.m_elMenu.ownerDocument.defaultView)||void 0===t||t.removeEventListener("resize",this.OnWindowResize)),e&&(this.m_mutationObserver.observe(e,{childList:!0,subtree:!0}),this.props.popup&&!this.props.options.bScreenCoordinates||null===(n=e.ownerDocument.defaultView)||void 0===n||n.addEventListener("resize",this.OnWindowResize)),this.m_elMenu=e||void 0,E.De.IN_CLIENT&&this.props.popup&&this.m_elMenu?this.m_elMenu.ownerDocument.fonts.ready.then((()=>{this.PositionMenu()})):this.PositionMenu(),this.state.ready||(this.props.instance.SetTakeFocus(this.TakeFocus.bind(this)),this.setState({ready:!0},(()=>{var e;(null===(e=this.props.options)||void 0===e?void 0:e.bSkipFocusWhenReady)||this.TakeFocus()})))}OnMenuMutation(e,t){this.PositionMenu()}OnWindowResize(){this.PositionMenu()}OnBlur(e){if((!e.relatedTarget||!C.ni(e.currentTarget,e.relatedTarget))&&(!e.relatedTarget||!this.props.instance.BIsElementInMenuHierarchy(e.relatedTarget))&&!this.props.instance.BIsSubMenuVisible()&&this.state.ready&&this.props.instance.visible){const e=B()?150:0;this.props.instance.OnCancel(e)}}OnKeyDown(e){27==e.keyCode&&this.state.ready&&(this.props.instance.Hide(),e.preventDefault(),e.stopPropagation())}componentDidUpdate(){this.m_cReenteranceGuard-- >0?this.PositionMenu():this.m_cReenteranceGuard=2}TakeFocus(){if(this.m_elMenu&&this.state.ready&&this.props.instance.visible&&(this.props.popup||!C.ni(this.m_elMenu,this.m_elMenu.ownerDocument.activeElement))){let e=this.m_elMenu.querySelector(".ContextMenuAutoFocus");e&&e.focus?e.focus():this.m_elMenu.focus()}}PositionMenu(e=!1){const t=this.props.options;let n=this.m_elMenu,o=this.props.element;if(!n)return;let i=null!=this.props.popup,r=this.parentWin;if(!r||o&&"none"===r.getComputedStyle(o).display)return;let s=this.props.clientX,a=this.props.clientY,l=0,c=0,u=r.innerWidth,d=r.innerHeight,h=1,m=null==o?void 0:o.getBoundingClientRect();if(i)if(t.bScreenCoordinates||void 0===s||void 0===a||(s+=r.screenLeft,a+=r.screenTop),m&&(m=C.sH(r,m)),t.targetMonitor)h=t.targetMonitor.flMonitorScale,l=t.targetMonitor.nScreenLeft,c=t.targetMonitor.nScreenTop,u=t.targetMonitor.nScreenWidth,d=t.targetMonitor.nScreenHeight;else{let e=r.screen,t=0,n=0;e.availLeft&&(t=e.availLeft),e.availTop&&(n=e.availTop),l=t,c=n,u=e.availWidth,d=e.availHeight}(t.bOverlapHorizontal||t.bOverlapVertical)&&(s=a=void 0);let p=n.getBoundingClientRect();if(t.flGamepadScale&&t.flGamepadScale>0){const e=t.flGamepadScale;p=new DOMRect(p.x*e,p.y*e,p.width*e,p.height*e)}let g={menuLeft:void 0,menuRight:void 0,menuTop:void 0,menuBottom:void 0,menuWidth:void 0,menuHeight:void 0,menuMinWidth:void 0},v=null!=s?s:m.left,f=null!=s?s:m.right,_=p.width;t.bMatchWidth&&(_=f-v,g.menuWidth=_),t.bGrowToElementWidth&&(g.menuMinWidth=Math.max(_,f-v));let b=(t.bOverlapHorizontal?f:v)-l-_,w=b>0,E=l+u-(t.bOverlapHorizontal?v:f)-_,S=E>0,D=(t.bPreferPopLeft||!S)&&w;w||S||(D=w>S,t.bFitToWindow&&(_+=(D?b:E)-8,g.menuWidth=_)),D?g.menuRight=u-(t.bOverlapHorizontal?f:v):g.menuLeft=t.bOverlapHorizontal?v:f;let M=null!=a?a:m.top,L=null!=a?a:m.bottom,y=n.scrollHeight;t.bMatchHeight&&(y=L-M,g.menuHeight=y);let R=(t.bOverlapVertical?L:M)-c-y,O=R>0,I=c+d-(t.bOverlapVertical?M:L)-y,x=I>0,T=(t.bPreferPopTop||!x)&&O&&!t.bDisablePopTop;if(!O&&!x){const e=void 0!==t.bShiftToFitWindow?t.bShiftToFitWindow:!!t.bFitToWindow&&!t.bOverlapHorizontal;T=R>I&&!t.bDisablePopTop,e&&(T?g.menuTop=4:g.menuBottom=4),t.bFitToWindow&&(e?y=Math.min(y,d-8):y+=T?R:I,g.menuHeight=y-8)}void 0===g.menuBottom&&void 0===g.menuTop&&(T?g.menuBottom=d-(t.bOverlapVertical?L:M):g.menuTop=t.bOverlapVertical?M:L),i?(g.menuHeight||(g.menuHeight=p.height),g.menuWidth||(g.menuWidth=p.width),g.menuBottom&&!g.menuTop&&(g.menuTop=d-g.menuBottom-g.menuHeight,g.menuBottom=void 0),g.menuRight&&!g.menuLeft&&(g.menuLeft=u-g.menuRight-g.menuWidth,g.menuRight=void 0)):(g.menuLeft&&(g.menuLeft+=r.scrollX),g.menuTop&&(g.menuTop+=r.scrollY),g.menuBottom&&(g.menuBottom+=r.document.body.clientHeight-r.scrollY-r.innerHeight),g.menuRight&&(g.menuRight+=r.document.body.clientWidth-r.scrollX-r.innerWidth)),(e||g.menuLeft!==this.state.menuLeft||g.menuRight!==this.state.menuRight||g.menuTop!==this.state.menuTop||g.menuBottom!==this.state.menuBottom||g.menuWidth!==this.state.menuWidth||g.menuHeight!==this.state.menuHeight)&&this.setState(g)}PositionPopupWindow(){var e,t,n,o;if(!(void 0!==this.state.menuLeft&&void 0!==this.state.menuTop&&void 0!==this.state.menuWidth&&void 0!==this.state.menuHeight))return;const i=null===(e=this.props.popup)||void 0===e?void 0:e.window,r=this.props.options;if(r.bScreenCoordinates){let e=null===(t=this.parentWin)||void 0===t?void 0:t.devicePixelRatio;if(r.targetMonitor){let t=r.flGamepadScale||1;e=(null!==(n=r.targetMonitor.flMonitorScale)&&void 0!==n?n:1)/t}return null==i||i.SteamClient.Window.MoveTo(this.state.menuLeft,this.state.menuTop,e),void(null==i||i.SteamClient.Window.ResizeTo(this.state.menuWidth,this.state.menuHeight,e))}null===(o=this.parentWin)||void 0===o||o.SteamClient.Window.GetWindowRestoreDetails().then((e=>{const t=this.state.menuLeft-this.parentWin.screenX,n=this.state.menuTop-this.parentWin.screenY;try{null==i||i.SteamClient.Window.PositionWindowRelative(e,t,n,this.state.menuWidth,this.state.menuHeight)}catch(e){console.error(e)}}))}render(){var e,t,n;let o={visibility:this.state.ready?"visible":"hidden"};if(this.props.options.flGamepadScale&&this.props.options.flGamepadScale>0)o.zoom=this.props.options.flGamepadScale;else if(this.props.options.bScreenCoordinates&&this.props.options.targetMonitor&&(null===(t=null===(e=this.m_elMenu)||void 0===e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView)){const e=this.m_elMenu.ownerDocument.defaultView.devicePixelRatio;1!=e&&(o.zoom=(null!==(n=this.props.options.targetMonitor.flMonitorScale)&&void 0!==n?n:1)/e)}this.props.popup?(this.PositionPopupWindow(),void 0!==this.state.menuMinWidth&&(o.minWidth=this.state.menuMinWidth)):(void 0!==this.state.menuTop?o.top=this.state.menuTop:void 0!==this.state.menuBottom&&(o.bottom=this.state.menuBottom),void 0!==this.state.menuLeft?o.left=this.state.menuLeft:void 0!==this.state.menuRight&&(o.right=this.state.menuRight),void 0!==this.state.menuHeight&&(o.height=this.state.menuHeight),void 0!==this.state.menuWidth&&(o.width=this.state.menuWidth),void 0!==this.state.menuMinWidth&&(o.minWidth=this.state.menuMinWidth));let i=this.props.options.strClassName||D().contextMenu;return(this.props.options.bCreateHidden||this.props.instance.visible&&this.state.ready)&&(i+=" visible"),i+=" "+D().ContextMenuFocusContainer,r.createElement("div",{className:i,ref:this.BindMenuElement,style:o,onBlur:this.OnBlur,onKeyDown:this.OnKeyDown,tabIndex:0},this.props.children)}};function A(e){return r.createElement("div",{className:D().ContextMenuMouseOverlay})}function N(e){let t=[],n=C.RA(e),o=n.getSelection(),i=o&&o.rangeCount>0&&o.toString().length>0,a=e.target,l=!1;const c=e.clientY,u=e.clientX;if(a&&"tagName"in a&&("INPUT"!=a.tagName&&"TEXTAREA"!=a.tagName||(l=!0)),E.De.IN_CLIENT&&l&&(0,p.w3)(n,"Browser.GetSpellingSuggestions")){let[e,...o]=n.SteamClient.Browser.GetSpellingSuggestions(),i=a;if(i&&o.forEach(((e,o)=>{t.push(r.createElement(y,{key:`spelling_${o}_${e}`,onSelected:()=>{i.setRangeText(e),function(e,t){let n=t.createEvent("HTMLEvents");n.initEvent("change",!0,!1),e.dispatchEvent(n)}(i,n.document),i.setSelectionRange(i.selectionEnd,i.selectionEnd),a.focus()},className:D().NoSeparation},e))})),e&&(0,p.w3)(n,"Browser.AddWordToDictionary")){const o=30;e=e.trim(),t.push(r.createElement(y,{key:`addtodictionary_${e}`,onSelected:()=>n.SteamClient.Browser.AddWordToDictionary(e)},(0,b.Xx)("#ContextMenu_AddToDictionary",e.length{n.document.execCommand("cut")}},(0,b.Xx)("#ContextMenu_Cut"))),(n.document.queryCommandEnabled("copy")||i)&&t.push(r.createElement(y,{key:"copy",onSelected:()=>{n.document.execCommand("copy")},className:D().NoSeparation},(0,b.Xx)("#ContextMenu_Copy"))),E.De.IN_CLIENT&&l&&(0,p.w3)(n,"Browser.Paste")&&t.push(r.createElement(y,{key:"paste",onSelected:()=>{a.focus(),n.SteamClient.Browser.Paste()},className:D().NoSeparation},(0,b.Xx)("#ContextMenu_Paste"))),E.De.IN_CLIENT&&E.De.DEV_MODE&&(t.length>0&&((0,p.U5)("Browser.OpenDevTools")||(0,p.U5)("Browser.InspectElement"))&&t.push(r.createElement(O,{key:"devtools-separator"})),(0,p.U5)("Browser.OpenDevTools")&&t.push(r.createElement(y,{key:"opendevtools",onSelected:()=>{a.focus(),n.SteamClient.Browser.OpenDevTools()}},"Open Dev Tools")),(0,p.U5)("Browser.InspectElement")&&t.push(r.createElement(y,{key:"inspectelement",onSelected:()=>{a.focus(),n.SteamClient.Browser.InspectElement(c,u)},className:D().NoSeparation},"Inspect Element"))),t.length)(0,s.yV)(r.createElement(L,null,t),e,{bRootContextMenu:!0});else{if(e.shiftKey)return;e.preventDefault(),e.stopPropagation()}}(0,o.gn)([w.ak],T.prototype,"BindMenuElement",null),(0,o.gn)([w.ak,(0,_.D)(100)],T.prototype,"OnMenuMutation",null),(0,o.gn)([w.ak],T.prototype,"OnWindowResize",null),(0,o.gn)([w.ak],T.prototype,"OnBlur",null),(0,o.gn)([w.ak],T.prototype,"OnKeyDown",null),T=(0,o.gn)([i.Pi],T);const k="EnableContextMenuBlurDelay3";function B(){return"true"===(window.localStorage&&window.localStorage.getItem(k))}},38204:(e,t,n)=>{"use strict";n.d(t,{P:()=>c,s:()=>l});var o=n(85556),i=n(47427),r=n(13129),s=n(27241),a=n.n(s);const l=i.forwardRef(((e,t)=>{const{className:n,contextMenuStyles:s,disabled:l}=e,c=(0,o._T)(e,["className","contextMenuStyles","disabled"]);return i.createElement("div",Object.assign({},c,{ref:t,className:(0,r.Z)(n,(s||a()).contextMenuItem,"contextMenuItem",l&&"disabled")}))}));function c(e){const{bChecked:t,children:n,className:s}=e,a=(0,o._T)(e,["bChecked","children","className"]);return i.createElement(l,Object.assign({},a,{className:(0,r.Z)(s,t&&"menuChecked")}),i.createElement("div",{className:"contextMenuCheckMark"}),n)}l.displayName="MenuItem"},1485:(e,t,n)=>{"use strict";n.d(t,{E0:()=>nt,iN:()=>V,uT:()=>M,V5:()=>L,Ac:()=>D,zx:()=>k,ji:()=>G,VY:()=>O,oX:()=>T,Vh:()=>Je,RD:()=>d,TW:()=>we,ry:()=>fe,gN:()=>lt,$_:()=>E,ZY:()=>Gt,vY:()=>ht,Co:()=>bt,gB:()=>ft,Eb:()=>Ct,jT:()=>tn,z2:()=>Bt,hQ:()=>Pt,fp:()=>Vt,h4:()=>b,II:()=>Q,BW:()=>me,V$:()=>he,__:()=>S,o9:()=>F,$0:()=>P,TI:()=>Qe,KM:()=>N,EU:()=>ae,SY:()=>se,BQ:()=>U,DS:()=>te,Yz:()=>B,bU:()=>w,gE:()=>W,Uq:()=>y,uV:()=>ee});var o=n(85556),i=n(47427),r=n(82493),s=n(91618),a=n(62613),l=n(13129),c=n(31846),u=n(16997);const d=i.createContext({}),h=()=>i.useContext(d);var m=n(51592),p=n(24672),g=n.n(p);const v=e=>{const t=h();return i.createElement(m.T,Object.assign({component:null==t?void 0:t.ToggleControl,fallback:f},e))},f=e=>{const{value:t,onChange:n,disabled:o}=e;return i.createElement("div",{className:(0,l.Z)(g().Toggle,o&&g().Disabled),onClick:()=>!o&&n&&n(!t)},i.createElement("div",{className:g().ToggleRail}),i.createElement("div",{className:(0,l.Z)(g().ToggleRail,g().Highlight,t?g().On:g().Off)}),i.createElement("div",{className:(0,l.Z)(g().ToggleSwitch,t?g().On:g().Off)}))};var _=n(14609);function C(e){return i.forwardRef((function(t,n){return i.createElement(s.s,Object.assign({},t,{className:(0,l.Z)(e,t.className),ref:n}))}))}let b=(0,_.Sb)("DialogHeader"),w=(0,_.Sb)("DialogSubHeader"),E=((0,_.Sb)("SettingsDialogSubHeader"),(0,_.Sb)("DialogFooter")),S=(0,_.Sb)("DialogLabel _DialogLayout"),D=(0,_.Sb)("DialogBodyText"),M=(0,_.Sb)("DialogBody"),L=C("DialogBody"),y=((0,_.Sb)("DialogInnerBody"),(0,_.Sb)("DialogControlsSection"),(0,_.Sb)("DialogControlsSectionHeader"),C("DialogTwoColLayout _DialogColLayout")),R=C("DialogThreeColLayout _DialogColLayout");C("DialogTwoThirdColLayout _DialogColLayout"),(0,_.Sb)("DialogColumn _DialogLayout");function O(e){const t=h().Content||I;return i.createElement(t,Object.assign({},e))}function I(e){let{children:t,bCenterVertically:n,refElem:r}=e,s=(0,o._T)(e,["children","bCenterVertically","refElem"]),a="DialogContent _DialogLayout"+(e.className?" "+e.className:"");return n&&(a+=" _DialogCenterVertically"),i.createElement("div",Object.assign({},s,{ref:r,className:a}),i.createElement("div",{className:"DialogContent_InnerWidth"},t))}class x extends i.Component{OnSubmit(e){e.preventDefault(),this.props.onSubmit&&this.props.onSubmit(e)}render(){return i.createElement("form",Object.assign({},this.props,{onSubmit:this.OnSubmit}))}}function T(e){const{classNameContent:t,bCenterVertically:n}=e,r=(0,o._T)(e,["classNameContent","bCenterVertically"]);return i.createElement(O,{className:t,bCenterVertically:n},i.createElement(x,Object.assign({},r)))}(0,o.gn)([u.a],x.prototype,"OnSubmit",null);const A=i.forwardRef((function(e,t){const n=h(),{svgicon:s}=e,a=(0,o._T)(e,["svgicon"]),c=(0,l.Z)(e.className,void 0!==s&&"hasSVGIcon",a.disabled&&"Disabled",n.strButtonClassName),u=e=>{if(!a.disabled&&e)return t=>{t.stopPropagation(),e(t)}};return i.createElement(r.wl,Object.assign({ref:t,onOKActionDescription:a.disabled?null:void 0,noFocusRing:!!n.strButtonClassName},a,{className:c,disabled:!1,onClick:u(a.onClick),onPointerDown:u(a.onPointerDown),onPointerUp:u(a.onPointerUp),onPointerCancel:u(a.onPointerCancel),onMouseDown:u(a.onMouseDown),onMouseUp:u(a.onMouseUp),onTouchStart:u(a.onTouchStart),onTouchEnd:u(a.onTouchEnd),onTouchCancel:u(a.onTouchCancel),onSubmit:u(a.onSubmit)}),s&&s(),e.children)})),N=i.forwardRef((function(e,t){return i.createElement(A,Object.assign({preferredFocus:!0,type:e.onClick?"button":"submit"},e,{ref:t,className:(0,l.Z)(e.className,"DialogButton","_DialogLayout","Primary")}))})),k=i.forwardRef((function(e,t){return i.createElement(A,Object.assign({type:"button"},e,{ref:t,className:(0,l.Z)(e.className,"DialogButton","_DialogLayout","Secondary")}))})),B=(i.forwardRef((function(e,t){return i.createElement(A,Object.assign({type:"button"},e,{ref:t,className:(0,l.Z)(e.className,"DialogButton","_DialogLayout","EmptyButton")}))})),i.forwardRef((function(e,t){return i.createElement(A,Object.assign({type:"button"},e,{ref:t,className:(0,l.Z)(e.className,"DialogButton _DialogLayout Small")}))})));i.forwardRef((function(e,t){return i.createElement(A,Object.assign({type:"button"},e,{ref:t,className:(0,l.Z)(e.className,"TextButton")}))}));function F(e){return i.createElement(y,{className:e.className},i.createElement(N,{onClick:e.onOK,disabled:e.bOKDisabled,autoFocus:"primary"==e.focusButton},e.strOKText||(0,c.Xx)("#Button_Confirm")," "),i.createElement(k,{onClick:e.onCancel,disabled:e.bCancelDisabled,autoFocus:"secondary"==e.focusButton},e.strCancelText||(0,c.Xx)("#Button_Cancel")))}function P(e){const t=e.bOKDisabled?k:N,n=e.bOKDisabled?N:k;return i.createElement(R,null,i.createElement(t,{onClick:e.onOK,disabled:e.bOKDisabled},e.strOKText||(0,c.Xx)("#Button_Confirm")," "),i.createElement(n,{onClick:e.onUpdate,disabled:e.bUpdateDisabled},e.strUpdateText||(0,c.Xx)("#Button_Update")," "),i.createElement(k,{onClick:e.onCancel,disabled:e.bCancelDisabled},e.strCancelText||(0,c.Xx)("#Button_Cancel")))}class V extends i.Component{constructor(e){super(e),this.state={checked:e.checked,disabled:e.disabled}}componentDidUpdate(e){this.props.controlled||e.checked!=this.props.checked&&this.props.checked!=this.state.checked&&this.setState({checked:this.props.checked}),e.disabled!=this.props.disabled&&this.props.disabled!=this.state.disabled&&this.setState({disabled:this.props.disabled})}shouldComponentUpdate(e,t){return e.label!=this.props.label||e.description!=this.props.description||e.onChange!=this.props.onChange||e.controlled!=this.props.controlled||e.disabled!=this.props.disabled||t.disabled!=this.state.disabled||e.checked!=this.checked||t.checked!=this.state.checked}get checked(){return this.props.controlled?this.props.checked:this.state.checked}GetPanelElementProps(){const e=this.props,{onChange:t,checked:n,label:i,description:r,tabIndex:s,disabled:a,className:l,tooltip:c,color:u,highlightColor:d,bottomSeparator:h,controlled:m}=e,p=(0,o._T)(e,["onChange","checked","label","description","tabIndex","disabled","className","tooltip","color","highlightColor","bottomSeparator","controlled"]);return Object.assign(Object.assign({},p),{tabIndex:s||0,onActivate:this.Toggle,onKeyDown:this.KeyDown})}Toggle(){if(this.props.disabled)return;let e=!this.checked;this.props.controlled||this.setState({checked:e}),this.props.onChange&&this.props.onChange(e)}KeyDown(e){32==e.keyCode&&(this.Toggle(),e.preventDefault(),e.stopPropagation())}SetChecked(e,t){this.setState({checked:e}),t&&this.props.onChange&&this.props.onChange(e)}}(0,o.gn)([u.a],V.prototype,"Toggle",null),(0,o.gn)([u.a],V.prototype,"KeyDown",null),(0,o.gn)([u.a],V.prototype,"SetChecked",null);class H extends V{render(){let e="DialogCheckbox"+(this.checked?" Active":"");return 1==this.state.disabled&&(e+=" Disabled"),this.props.label?i.createElement(s.s,Object.assign({className:"DialogCheckbox_Container _DialogLayout "+(this.props.className?this.props.className:"")},this.GetPanelElementProps()),i.createElement("div",{className:e},i.createElement(a.mKE,{color:this.props.color,highlightColor:this.props.highlightColor})),i.createElement("div",{className:"DialogToggle_Label"},"string"==typeof this.props.label&&i.createElement("span",null,this.props.label),"string"!=typeof this.props.label&&this.props.label,this.props.tooltip&&i.createElement("span",{"data-tooltip-text":this.props.tooltip}," (?)")),i.createElement("div",{style:{clear:"left"}}),this.props.description&&i.createElement("div",{className:"DialogToggle_Description"},this.props.description),this.props.children):i.createElement(s.s,Object.assign({className:e},this.GetPanelElementProps()),i.createElement(a.mKE,null))}}class G extends V{render(){return i.createElement(m.T,Object.assign({fallback:H},this.props))}}G.contextType=d;class U extends V{render(){let e=this.checked?" Active":"";return i.createElement(s.s,Object.assign({className:(0,l.Z)("DialogRoundCheckboxField_Container",this.props.className,this.props.label?"WithLabel":"")},this.GetPanelElementProps()),i.createElement("div",{className:"DialogRoundCheckboxField"},i.createElement("div",{className:"DialogRoundCheckboxField_Control"+e},i.createElement("div",{className:"DialogRoundCheckboxField_OuterCircle"},i.createElement("div",{className:"DialogRoundCheckboxField_InnerCircle"})))),this.props.label&&i.createElement("div",{className:"DialogToggle_Label"},i.createElement("span",null,this.props.label),this.props.tooltip&&i.createElement("span",{"data-tooltip-text":this.props.tooltip}," (?)")))}}const W=i.forwardRef((function(e,t){const n=h();return i.createElement(m.T,Object.assign({component:n.ToggleField,fallback:j,componentRef:t},e))}));class j extends V{OnOffKeyDown(e){37==e.keyCode&&this.checked||39==e.keyCode&&!this.checked?(this.Toggle(),e.preventDefault(),e.stopPropagation()):this.KeyDown(e)}OnNewUIToggle(e){e!==this.checked&&this.Toggle()}render(){let e="DialogToggleField _DialogInputContainer _DialogLayout "+(this.props.className?this.props.className:"");return this.props.disabled&&(e+=" Disabled"),i.createElement("div",{className:e,tabIndex:this.props.tabIndex||0,onKeyDown:this.OnOffKeyDown},i.createElement("div",{className:"displayColumn alignSelfCenter"},i.createElement("div",{className:"DialogToggle_Label"},i.createElement("span",null,this.props.label),this.props.tooltip&&i.createElement("span",{"data-tooltip-text":this.props.tooltip}," (?)")),this.props.description&&i.createElement("div",{className:"DialogToggle_Description"},this.props.description),this.props.children),this.props.useToggleRail?i.createElement("div",{className:"DialogToggleField_NewUIContainer"},i.createElement(v,{onChange:this.OnNewUIToggle,value:this.checked})):i.createElement("div",{className:"DialogToggleField_Control",onClick:this.Toggle},i.createElement(s.s,{className:"DialogToggleField_OptionPanel",onOKButton:this.Toggle},i.createElement("div",{className:"DialogToggleField_Option Off"+(this.checked?"":" Active")},(0,c.Xx)("#Dialog_Off")),i.createElement("div",{className:"DialogToggleField_Option On"+(this.checked?" Active":"")},(0,c.Xx)("#Dialog_On")))))}}(0,o.gn)([u.a],j.prototype,"OnOffKeyDown",null),(0,o.gn)([u.a],j.prototype,"OnNewUIToggle",null);var Z=n(20417),z=n(42287),K=n(50423),X=n(48766);class Y extends X.Rq{constructor(e,t,n){super(K.kR(z.findDOMNode(e)),n),this.m_props={},this.m_component=e,this.m_propTargets=t,this.m_setStateOnComplete=n.setStateOnComplete}Start(){this.m_props={};for(let e in this.m_propTargets){let t=parseFloat(this.m_component.state[e])||0,n=this.m_propTargets[e];t!=n&&(this.m_props[e]={start:t,end:n})}super.Start()}Update(e){let t={};for(let n in this.m_props){let o=this.m_props[n],i=o.start+(o.end-o.start)*e;t[n]=i}this.m_component.setState(t)}FireOnComplete(){super.FireOnComplete(),this.m_setStateOnComplete&&this.m_component.setState(this.m_setStateOnComplete)}}var $=n(62210);const q=i.forwardRef((function(e,t){const n=h();return i.createElement(m.T,Object.assign({component:null==n?void 0:n.InputElement,fallback:r.bX},e,{componentRef:t}))}));class Q extends i.PureComponent{constructor(e){super(e),this.CheckProps(e),this.state={m_CopiedYPos:0,m_bPlayingCopiedAnimation:!1,m_bCompletedCopiedAnimation:!1,m_bNumberBelowMinRange:!1,m_bNumberAboveMaxRange:!1,m_bIsNotNumeric:!1,m_bIsInvalidURL:!1,m_strInvalidURLMessage:null,m_bIsInvalidEmail:!1,m_bAboveMaxChars:!1}}componentDidUpdate(e){this.CheckProps(this.props)}OnInputRef(e){this.m_elInput=e,this.m_elInput&&this.props.focusOnMount&&this.m_elInput.focus()}get element(){return this.m_elInput}get value(){return this.m_elInput&&this.m_elInput.value}Focus(){var e;null===(e=this.m_elInput)||void 0===e||e.focus()}static validateUrl(e){return null!=e&&(/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/i.test(e)||/^steam:\/\/[-a-zA-Z0-9@:%._\+~#=]{2,256}/i.test(e))}static validateEmail(e){return null!=e&&/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e.toLowerCase())}Validate(){var e,t,n,o,i,r;this.setState({m_bNumberBelowMinRange:null!==this.props.rangeMin&&void 0!==this.props.rangeMin&&Number(null===(e=this.m_elInput)||void 0===e?void 0:e.value)this.props.rangeMax,m_bIsNotNumeric:1==this.props.mustBeNumeric&&isNaN(Number(null===(n=this.m_elInput)||void 0===n?void 0:n.value)),m_bIsInvalidURL:1==this.props.mustBeURL&&!Q.validateUrl(null===(o=this.m_elInput)||void 0===o?void 0:o.value),m_strInvalidURLMessage:this.props.fnStrValidateURL?this.props.fnStrValidateURL(null===(i=this.m_elInput)||void 0===i?void 0:i.value):null,m_bIsInvalidEmail:1==this.props.mustBeEmail&&!Q.validateEmail(null===(r=this.m_elInput)||void 0===r?void 0:r.value),m_bAboveMaxChars:null!=this.props.maxChars&&null!=this.m_elInput&&this.m_elInput.value.length>this.props.maxChars})}OnChanged(e){this.props.onChange&&this.props.onChange(e),this.Validate()}OnCopyClick(e){if(!this.m_elInput)return;this.m_elInput.select();let t=this.m_elInput.ownerDocument;if(t.queryCommandEnabled("copy")){t.execCommand("copy"),e.currentTarget.focus(),this.m_CopiedAnimation&&this.m_CopiedAnimation.Cancel();let n=-4,o=-24;this.setState({m_bCompletedCopiedAnimation:!1}),this.setState({m_CopiedYPos:n},(()=>{this.m_CopiedAnimation=new Y(this,{m_CopiedYPos:o},{msDuration:300,timing:"sine",setStateOnComplete:{m_bCompletedCopiedAnimation:!0}}),this.m_CopiedAnimation.Start()}))}}OnClearClick(e){if(this.m_elInput&&this.m_elInput.value){Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value").set.call(this.m_elInput,""),this.m_elInput.dispatchEvent(new Event("input",{bubbles:!0}))}}CheckProps(e){(0,$.X)(!(e.bShowClearAction||e.bAlwaysShowClearAction)||e.onChange,"In order for bShowClearAction to work correctly, you should be handling onChange and passing value to the Dialog.Input.")}render(){const e=this.props,{label:t,description:n,requiredLabel:r,bShowCopyAction:l,bShowClearAction:u,bAlwaysShowClearAction:d,rangeMin:h,rangeMax:m,mustBeNumeric:p,mustBeURL:g,fnStrValidateURL:v,mustBeEmail:f,focusOnMount:_,tooltip:C,inlineControls:b,maxChars:w}=e,E=(0,o._T)(e,["label","description","requiredLabel","bShowCopyAction","bShowClearAction","bAlwaysShowClearAction","rangeMin","rangeMax","mustBeNumeric","mustBeURL","fnStrValidateURL","mustBeEmail","focusOnMount","tooltip","inlineControls","maxChars"]);let S="DialogInput DialogInputPlaceholder DialogTextInputBase"+(E.className?" "+E.className:""),D="copiedAnimation",M=this.state.m_bCompletedCopiedAnimation;this.m_CopiedAnimation&&(D="copiedAnimation animationPlaying"),M&&(D="copiedAnimation animationComplete");let L={};void 0!==this.state.m_CopiedYPos&&(L.transform="translateY("+this.state.m_CopiedYPos+"px)");let y=i.createElement(i.Fragment,null,i.createElement(s.s,{className:"DialogInput_Wrapper _DialogLayout","flow-children":"row"},i.createElement(q,Object.assign({type:"text"},E,{className:S,ref:this.OnInputRef,onChange:this.OnChanged})),l&&i.createElement("div",{className:"displayRow"},i.createElement(k,{className:"DialogInput_CopyAction Primary",onClick:this.OnCopyClick},(0,c.Xx)("#Button_Copy")),i.createElement("div",{style:L,className:D},(0,c.Xx)("#Button_Copied"))),(d||u&&E.value)&&i.createElement("div",{className:"DialogInput_ClearAction",onClick:this.OnClearClick},i.createElement(a.pVO,null)),b),n&&i.createElement("div",{className:"DialogLabelExplainer"},n));return t?i.createElement("div",{className:"DialogInputLabelGroup _DialogLayout DialogRequirementLabel"},i.createElement("label",null,i.createElement("div",{className:"DialogLabel"},t," ",this.props.tooltip&&i.createElement("span",{"data-tooltip-text":this.props.tooltip}," (?)"),i.createElement("span",{className:"DialogInputRequirementLabel"},this.props.requiredLabel)," "),y,this.state.m_bNumberBelowMinRange?i.createElement("div",null," ",(0,c.Xx)("#Input_Error_NumberTooSmall")," "):null,this.state.m_bNumberAboveMaxRange?i.createElement("div",null," ",(0,c.Xx)("#Input_Error_NumberTooLarge")," "):null,this.state.m_bIsInvalidURL?i.createElement("div",null," ",(0,c.Xx)("#Input_Error_MustBeURL")," "):null,this.state.m_strInvalidURLMessage?i.createElement("div",null," ",this.state.m_strInvalidURLMessage," "):null,this.state.m_bIsInvalidEmail?i.createElement("div",null," ",(0,c.Xx)("#Input_Error_MustBeEmail")," "):null,this.state.m_bIsNotNumeric?i.createElement("div",null," ",(0,c.Xx)("#Input_Error_MustBeNumber")," "):null,this.state.m_bAboveMaxChars?i.createElement("div",null," ",(0,c.kQ)("#Input_Error_TooManyCharacters",w)," "):null)):y}}(0,o.gn)([Z.ak],Q.prototype,"OnInputRef",null),(0,o.gn)([Z.ak],Q.prototype,"OnChanged",null),(0,o.gn)([Z.ak],Q.prototype,"OnCopyClick",null),(0,o.gn)([Z.ak],Q.prototype,"OnClearClick",null);class J extends Q{constructor(){super(...arguments),this.m_bFocused=!1}OnBackgroundClick(){this.m_elInput&&this.m_elInput.focus()}OnInputFocus(e){this.m_bFocused||(this.m_bFocused=!0,this.forceUpdate()),this.props.onFocus&&this.props.onFocus(e)}OnInputBlur(e){this.m_bFocused&&(this.m_bFocused=!1,this.forceUpdate()),this.props.onBlur&&this.props.onBlur(e)}render(){const e=this.props,{label:t,description:n,requiredLabel:a,bShowCopyAction:c,bShowClearAction:u,bAlwaysShowClearAction:d,rangeMin:h,rangeMax:m,maxChars:p,mustBeNumeric:g,mustBeURL:v,fnStrValidateURL:f,mustBeEmail:_,focusOnMount:C,tooltip:b,inlineControls:w,className:E,children:S}=e,D=(0,o._T)(e,["label","description","requiredLabel","bShowCopyAction","bShowClearAction","bAlwaysShowClearAction","rangeMin","rangeMax","maxChars","mustBeNumeric","mustBeURL","fnStrValidateURL","mustBeEmail","focusOnMount","tooltip","inlineControls","className","children"]);return i.createElement("div",{className:"DialogInputLabelGroup _DialogLayout DialogListBuilderInput"},i.createElement("label",null,t&&i.createElement("div",{className:"DialogLabel"},t),i.createElement("div",{className:(0,l.Z)("_DialogInputContainer","DialogTextInputBase",this.m_bFocused&&"Active"),onClick:this.OnBackgroundClick},i.createElement(s.s,{className:"DialogListBuilderInput_List","flow-children":"row"},i.Children.map(S,((e,t)=>i.createElement("div",{className:"DialogListBuilderInput_ListItem",key:t},e))),i.createElement(r.bX,Object.assign({type:"text"},D,{className:"DialogListBuilderInput_Input DialogInputPlaceholder",ref:this.OnInputRef,onFocus:this.OnInputFocus,onBlur:this.OnInputBlur,size:4})))),n&&i.createElement("div",{className:"DialogLabelExplainer"},n)))}}(0,o.gn)([Z.ak],J.prototype,"OnBackgroundClick",null),(0,o.gn)([Z.ak],J.prototype,"OnInputFocus",null),(0,o.gn)([Z.ak],J.prototype,"OnInputBlur",null);const ee=(e,t)=>""+(null!=e?Number.parseFloat(e.toFixed(3)):null)+(null!=t?t:""),te=e=>{const t=h();return i.createElement(m.T,Object.assign({component:t.SliderField,fallback:ne},e))};class ne extends i.Component{constructor(e){super(e),this.m_flLastSetValue=null}ClampValue(e){return void 0===e||isNaN(e)||ethis.props.max?this.props.max:e}BPropsValid(){return this.props.max>this.props.min}OnMouseDown(e){var t,n;this.m_elSlider=e.currentTarget,this.m_rectSlider=this.m_elSlider.getBoundingClientRect(),this.props.onChangeStart&&this.props.onChangeStart(1),this.AdjustSliderForClientX(e.clientX,1),null===(t=this.m_elSlider.ownerDocument.defaultView)||void 0===t||t.addEventListener("mousemove",this.OnMouseMove),null===(n=this.m_elSlider.ownerDocument.defaultView)||void 0===n||n.addEventListener("mouseup",this.OnMouseUp)}OnMouseMove(e){this.AdjustSliderForClientX(e.clientX,1)}OnMouseUp(e){var t,n,o,i;null===(n=null===(t=this.m_elSlider)||void 0===t?void 0:t.ownerDocument.defaultView)||void 0===n||n.removeEventListener("mousemove",this.OnMouseMove),null===(i=null===(o=this.m_elSlider)||void 0===o?void 0:o.ownerDocument.defaultView)||void 0===i||i.removeEventListener("mouseup",this.OnMouseUp),this.CompleteChange(1)}OnTouchStart(e){var t,n;this.m_elSlider=e.currentTarget,this.m_rectSlider=this.m_elSlider.getBoundingClientRect(),this.props.onChangeStart&&this.props.onChangeStart(0),this.AdjustSliderForClientX(e.touches[0].clientX,0),null===(t=this.m_elSlider.ownerDocument.defaultView)||void 0===t||t.addEventListener("touchmove",this.OnTouchMove),null===(n=this.m_elSlider.ownerDocument.defaultView)||void 0===n||n.addEventListener("touchend",this.OnTouchEnd)}OnTouchMove(e){this.AdjustSliderForClientX(e.touches[0].clientX,0)}OnTouchEnd(e){var t,n,o,i;null===(n=null===(t=this.m_elSlider)||void 0===t?void 0:t.ownerDocument.defaultView)||void 0===n||n.removeEventListener("touchmove",this.OnTouchMove),null===(i=null===(o=this.m_elSlider)||void 0===o?void 0:o.ownerDocument.defaultView)||void 0===i||i.removeEventListener("touchend",this.OnTouchEnd),this.CompleteChange(0)}OnKeyDown(e){let t=1;e.ctrlKey&&(t=Math.max(1,Math.floor(.1*(this.props.max-this.props.min)+.5))),37==e.keyCode?(this.IncrementValue(-1*t),e.preventDefault()):39==e.keyCode&&(this.IncrementValue(1*t),e.preventDefault()),this.CompleteChange(2)}AdjustSliderForClientX(e,t){let n=(e-this.m_rectSlider.left)/(this.m_rectSlider.right-this.m_rectSlider.left)*(this.props.max-this.props.min)+this.props.min;n=Math.floor(n+.5);const o=this.ClampValue(n);o!=this.props.value&&(this.props.onChange&&this.props.onChange(o,t),this.m_flLastSetValue=o)}CompleteChange(e){null!=this.m_flLastSetValue&&(this.props.onChangeComplete&&this.props.onChangeComplete(this.m_flLastSetValue,e),this.m_flLastSetValue=null)}IncrementValue(e){let t=this.ClampValue(this.props.value+e);t!=this.props.value&&(this.props.onChange&&this.props.onChange(t,2),this.m_flLastSetValue=t)}render(){var e;let t={},n={};if(this.BPropsValid()){let e=100*(this.props.value-this.props.min)/(this.props.max-this.props.min)+"%";t.width=e,n.left=e}const r=this.props,{label:s,description:a,tooltip:l}=r,c=((0,o._T)(r,["label","description","tooltip"]),null!==(e=this.props.renderValue)&&void 0!==e?e:ee);return i.createElement("div",{className:"DialogSlider_Container _DialogInputContainer _DialogLayout"+(this.props.className?" "+this.props.className:""),onKeyDown:this.OnKeyDown,tabIndex:this.props.tabIndex||0},s&&i.createElement("div",{className:"DialogLabel"},s,Boolean(l)&&i.createElement("span",{"data-tooltip-text":l}," (?)")),i.createElement("div",{className:"DialogSlider_Slider",onMouseDown:this.OnMouseDown,onTouchStart:this.OnTouchStart},i.createElement("div",{className:"DialogSlider_Value",style:t}),i.createElement("div",{className:"DialogSlider_Grabber",style:n})),this.props.showValue&&i.createElement("div",{className:"DialogLabelExplainer"},c(this.props.value,this.props.valueSuffix)),a&&i.createElement("div",{className:"DialogLabelExplainer"},a))}}(0,o.gn)([Z.ak],ne.prototype,"OnMouseDown",null),(0,o.gn)([Z.ak],ne.prototype,"OnMouseMove",null),(0,o.gn)([Z.ak],ne.prototype,"OnMouseUp",null),(0,o.gn)([Z.ak],ne.prototype,"OnTouchStart",null),(0,o.gn)([Z.ak],ne.prototype,"OnTouchMove",null),(0,o.gn)([Z.ak],ne.prototype,"OnTouchEnd",null),(0,o.gn)([Z.ak],ne.prototype,"OnKeyDown",null);var oe=n(27363),ie=n.n(oe);const re=i.createContext({setValue:()=>{}});function se(e){const{value:t,onChange:n,classNames:o,disabled:r,children:a}=e,c={value:t,setValue:n,disabled:r};return i.createElement(re.Provider,{value:c},i.createElement(s.s,{className:(0,l.Z)(ie().Group,"Shared_Radio_Group",o,r&&ie().Disabled,c.bVertical&&ie().VerticalGrouping)},a))}function ae(e){const{value:t,children:n}=e,s=(0,o._T)(e,["value","children"]),{value:a,setValue:c,disabled:u}=i.useContext(re);let d=c;const h=t===a;return i.createElement(r.Ks,Object.assign({className:(0,l.Z)(ie().Button,"RadioButton",h&&ie().Active,u&&ie().Disabled),onClick:u?void 0:()=>d(t)},s),n)}var le=n(95315),ce=n(97696),ue=n.n(ce),de=n(59728);function he(e){return"object"==typeof e&&"data"in e}function me(e){return"object"==typeof e&&"options"in e}function pe(e,t){if(e===t)return!0;if(!Array.isArray(e)||!Array.isArray(t))return!1;if(e.length!=t.length)return!1;for(let n=0;n0;)null===(t=n.shift())||void 0===t||t.forEach(((t,r)=>{he(t)?o.push(i.createElement("div",{key:r,className:(0,l.Z)(ue().DialogDropDownMenu_Item,e.strDropDownItemClassName,t.strOptionClass),"data-dropdown-index":r,onClick:n=>e.onValueSelected&&e.onValueSelected(n,t)},Boolean(t.tooltip)?i.createElement(de.HP,{toolTipContent:t.tooltip,bTopmost:!0,className:"TooltipContainer"},t.label):i.createElement("div",null,t.label))):me(t)&&n.push(t.options)}));return i.createElement("div",{className:(0,l.Z)(ue().DialogDropDownMenu,"_DialogInputContainer",e.strDropDownMenuCtnClass)},o)}class Me extends i.Component{constructor(){super(...arguments),this.state={rgOptions:void 0}}OnMenuOpened(){return(0,o.mG)(this,void 0,void 0,(function*(){if(!this.state.rgOptions){let e=yield this.props.fnLoadOptions();this.setState({rgOptions:e})}}))}render(){const e=this.props,{fnLoadOptions:t,strInitialDisplay:n,initialValue:r}=e,s=(0,o._T)(e,["fnLoadOptions","strInitialDisplay","initialValue"]);let{rgOptions:a}=this.state;return void 0===a&&(n||r?(a=[{label:n,data:r}],s.selectedOption=r):a=[]),i.createElement(fe,Object.assign({},s,{rgOptions:a,onMenuOpened:this.OnMenuOpened}))}}(0,o.gn)([Z.ak],Me.prototype,"OnMenuOpened",null);n(64012);var Le=n(54842),ye=n(83654),Re=n(83999),Oe=n(45651);const Ie=new(n(68785).sO)("DragDrop").Debug;class xe extends i.Component{constructor(){super(...arguments),this.m_coordinator=new Ae}OnDrop(e,t){t>e&&t--,t!=e&&this.props.onReorder(e,t)}render(){let e=[];return e.push(i.createElement(Pe,{coordinator:this.m_coordinator,key:"dropregion_top",fnBAcceptDraggable:e=>0!=e.props.data,fnOnDrop:e=>this.OnDrop(e.props.data,0)})),i.Children.forEach(this.props.children,((t,n)=>{const o=t.props.id||"__list_"+n,r=n+1;e.push(i.createElement(Ne,{coordinator:this.m_coordinator,data:n,key:o},t)),e.push(i.createElement(Pe,{coordinator:this.m_coordinator,key:"dropregion_"+o,fnBAcceptDraggable:e=>e.props.data!=r,fnOnDrop:e=>this.OnDrop(e.props.data,r)}))})),i.createElement("div",{className:"DialogReorderableList"},e)}}function Te(e,t,n,o){return o?n&&e>n.left&&en.top&&t=n.left&&e<=n.right&&t>=n.top&&t<=n.bottom}(0,o.gn)([Z.ak],xe.prototype,"OnDrop",null);class Ae{constructor(){this.m_embeddedElement=new ye.AN("DragGhosts"),this.m_rgDropRegions=[],this.m_rgActiveDropRegions=[],this.m_prevClientX=0,this.m_prevClientY=0}RegisterDropRegion(e){this.m_rgDropRegions.push(e),this.m_activeDraggable&&e.BAcceptDraggable(this.m_activeDraggable)&&(e.OnDragStarted(this.m_activeDraggable),this.m_rgActiveDropRegions.push(e))}UnregisterDropRegion(e){Re.Zf(this.m_rgDropRegions,e),Re.Zf(this.m_rgActiveDropRegions,e),this.m_activeDropRegion==e&&(this.m_activeDropRegion=void 0,this.m_activeDraggable&&this.ShowDragGhost())}OnDragGhostRef(e){this.m_dragGhost=e}ShowDragGhost(){const e=this.m_activeDraggable.renderDragGhost(),t=(0,l.Z)(e.props.className,!!this.m_activeDropRegion&&"DraggedOverActiveDrop"),n=i.cloneElement(e,{ref:this.OnDragGhostRef,className:t});this.m_embeddedElement.ShowElement(this.m_activeDraggable.GetDragDocument(),n,this.m_activeDraggable)}HideDragGhost(){this.m_embeddedElement.HideElement(this.m_activeDraggable.GetDragDocument(),this.m_activeDraggable)}MakeDragClone(e){(0,$.X)(!this.m_nodeCloneCopy&&!this.m_elCloneOriginal,"Drag already in progress"),this.m_elCloneOriginal=e.m_divRef.current,this.m_nodeCloneCopy=this.m_elCloneOriginal.cloneNode(!0),e.m_divRef.current.replaceWith(this.m_nodeCloneCopy),this.m_elCloneContainer||(this.m_elCloneContainer=e.GetDragDocument().body.ownerDocument.createElement("div"),e.GetDragDocument().body.appendChild(this.m_elCloneContainer)),this.m_elCloneContainer.appendChild(this.m_elCloneOriginal)}ReverseDragClone(){var e;null===(e=this.m_nodeCloneCopy.parentNode)||void 0===e||e.replaceChild(this.m_elCloneOriginal,this.m_nodeCloneCopy),this.m_nodeCloneCopy=void 0,this.m_elCloneOriginal=void 0}OnDragStart(e){this.m_activeDraggable=e,this.m_rgActiveDropRegions=[];for(let t of this.m_rgDropRegions)t.BAcceptDraggable(e)&&(t.OnDragStarted(e),this.m_rgActiveDropRegions.push(t));this.MakeDragClone(e),this.ShowDragGhost()}EndDrag(){if(this.m_activeDraggable){this.ReverseDragClone(),this.HideDragGhost(),this.m_activeDropRegion&&this.m_activeDropRegion.OnDrop(this.m_activeDraggable);for(let e of this.m_rgActiveDropRegions)e.OnDragEnded(this.m_activeDraggable);this.m_activeDraggable=void 0,this.m_dropGhost=void 0,this.m_rgActiveDropRegions=[]}}FindBestActiveDropRegionForPoint(e,t){const n=this.m_activeDraggable.GetDragDocument();let o;if("elementsFromPoint"in n&&(o=n.elementsFromPoint(e,t)),o){const e=new Map;this.m_rgActiveDropRegions.forEach((t=>e.set(t.GetElement(),t)));for(const t of o){const n=e.get(t);if(n)return n}}else{if(this.m_activeDropRegion&&this.m_activeDropRegion.BDraggableInRegion(e,t,this.m_activeDraggable))return this.m_activeDropRegion;for(let n=this.m_rgActiveDropRegions.length-1;n>=0;n--){const o=this.m_rgActiveDropRegions[n];if(o.BDraggableInRegion(e,t,this.m_activeDraggable))return o}}}OnDrag(e,t,n){var o,i;const r=this.m_prevClientX||t,s=this.m_prevClientY||n;if(e.props.bEnableHTMLDrag&&this.m_dragOffWindowTimer&&window.clearTimeout(this.m_dragOffWindowTimer),this.m_dragGhost){const t=void 0===r?0:r-(null!==(o=this.m_dragGhost.state.clientX)&&void 0!==o?o:0),n=void 0===s?0:s-(null!==(i=this.m_dragGhost.state.clientY)&&void 0!==i?i:0);if(this.m_dragGhost.setState({clientX:r,clientY:s,clientXDelta:t,clientYDelta:n,bVisible:!0}),e.props.bEnableHTMLDrag&&(t||n)){const o=r+t,i=s+n,a=e.GetDragDocument().body.getBoundingClientRect();if(Te(r,s,a)&&!Te(o,i,a,!0)){const t=Oe.r4(o,a.left,a.right,a.left-200,a.right+200),n=Oe.r4(i,a.top,a.bottom,a.top-100,a.bottom+100),r=50;this.m_dragOffWindowTimer=window.setTimeout((()=>{e==this.m_activeDraggable&&this.OnDrag(e,t,n)}),r)}}}const a=this.FindBestActiveDropRegionForPoint(r,s);this.m_prevClientX=t,this.m_prevClientY=n,!!this.m_activeDropRegion!=!!a&&(this.ShowDragGhost(),this.m_dropGhost||(this.m_dropGhost=this.m_activeDraggable.renderDropGhost())),this.m_activeDropRegion&&this.m_activeDropRegion!=a&&this.m_activeDropRegion.OnDragLeave(this.m_activeDraggable),a&&this.m_activeDropRegion!=a&&a.OnDragEnter(this.m_activeDraggable,this.m_dropGhost),this.m_activeDropRegion=a,this.m_activeDropRegion&&this.m_activeDropRegion.OnDragMove(r,s,this.m_activeDraggable)}}(0,o.gn)([Z.ak],Ae.prototype,"OnDragGhostRef",null);class Ne extends i.Component{constructor(e){super(e),this.m_DragInfo={bStarted:!1,startClientX:void 0,startClientY:void 0,startOffsetX:void 0,startOffsetY:void 0,startWidth:void 0,startHeight:void 0,ownerWin:void 0},this.m_divRef=i.createRef(),(0,Le.rC)(this)}GetDragDocument(){var e;return null===(e=this.m_DragInfo.ownerWin)||void 0===e?void 0:e.document}RecordDragStart(e,t,n){this.m_DragInfo.startClientX=t,this.m_DragInfo.startClientY=n;let o=e.getBoundingClientRect();this.m_DragInfo.startOffsetX=t-o.left,this.m_DragInfo.startOffsetY=n-o.top,this.m_DragInfo.startWidth=o.width,this.m_DragInfo.startHeight=o.height,this.m_DragInfo.ownerWin=e.ownerDocument.defaultView}ProcessDragMove(e){var t,n;Ie("ProcessDragMove",e,this.props.data);const[o,i]=function(e){if("touches"in e){let t=e;return[t.touches[0].clientX,t.touches[0].clientY]}return[e.clientX,e.clientY]}(e);if(this.m_DragInfo.bStarted){if(this.props.bEnableHTMLDrag&&0==o&&0==i)return;this.props.coordinator.OnDrag(this,o,i)}else Math.pow(o-(null!==(t=this.m_DragInfo.startClientX)&&void 0!==t?t:0),2)+Math.pow(i-(null!==(n=this.m_DragInfo.startClientY)&&void 0!==n?n:0),2)>=25&&(this.m_DragInfo.bStarted=!0,this.forceUpdate(),this.props.fnOnDragStart&&this.props.fnOnDragStart(),this.props.coordinator.OnDragStart(this),this.props.coordinator.OnDrag(this,o,i))}OnMouseDown(e){var t,n;this.m_DragInfo.bStarted||0!=e.button||(this.RecordDragStart(e.currentTarget,e.clientX,e.clientY),null===(t=this.m_DragInfo.ownerWin)||void 0===t||t.addEventListener("mousemove",this.ProcessDragMove),null===(n=this.m_DragInfo.ownerWin)||void 0===n||n.addEventListener("mouseup",this.OnMouseUp))}OnMouseUp(e){var t,n;null===(t=this.m_DragInfo.ownerWin)||void 0===t||t.removeEventListener("mousemove",this.ProcessDragMove),null===(n=this.m_DragInfo.ownerWin)||void 0===n||n.removeEventListener("mouseup",this.OnMouseUp),this.ResetDragState()}OnTouchStart(e){var t,n;this.m_DragInfo.bStarted||(this.RecordDragStart(e.currentTarget,e.touches[0].clientX,e.touches[0].clientY),null===(t=this.m_DragInfo.ownerWin)||void 0===t||t.addEventListener("touchmove",this.ProcessDragMove),null===(n=this.m_DragInfo.ownerWin)||void 0===n||n.addEventListener("touchend",this.OnTouchEnd))}OnTouchEnd(e){var t,n;null===(t=this.m_DragInfo.ownerWin)||void 0===t||t.removeEventListener("touchmove",this.ProcessDragMove),null===(n=this.m_DragInfo.ownerWin)||void 0===n||n.removeEventListener("touchend",this.OnTouchEnd),this.ResetDragState()}ResetDragState(){Ie("ResetDragState",this.props.data),this.m_DragInfo.bStarted&&(this.props.coordinator.EndDrag(),this.props.fnOnDragEnd&&this.props.fnOnDragEnd()),this.m_DragInfo.bStarted=!1,this.m_DragInfo.startClientX=void 0,this.m_DragInfo.startClientY=void 0,this.m_DragInfo.startOffsetX=void 0,this.m_DragInfo.startOffsetY=void 0,this.m_DragInfo.ownerWin=void 0,this.forceUpdate()}OnHTMLDragStart(e){var t,n;Ie("HTMLDragStart",e,this.props.data,this.props.strHTMLDragData),e.dataTransfer.effectAllowed="copyMove",this.props.strHTMLDragData&&this.props.strHTMLDragData.forEach(((t,n)=>e.dataTransfer.setData(n,t))),e.dataTransfer.getData("text/plain")||e.dataTransfer.setData("text/plain",this.props.data.toString());const o=new Image;e.dataTransfer.setDragImage(o,0,0),this.RecordDragStart(e.currentTarget,e.clientX,e.clientY),null===(t=this.m_DragInfo.ownerWin)||void 0===t||t.addEventListener("drag",this.OnHTMLDrag),null===(n=this.m_DragInfo.ownerWin)||void 0===n||n.addEventListener("dragend",this.OnHTMLDragEnd)}OnHTMLDrag(e){var t;Ie("HTMLDrag",e,null===(t=e.dataTransfer)||void 0===t?void 0:t.types.length),this.ProcessDragMove(e)}OnHTMLDragEnd(e){var t,n,o;Ie("HTMLDragEnd",e,(null===(t=e.dataTransfer)||void 0===t?void 0:t.getData("text/plain"))||"NOTHING",this.props.data),null===(n=this.m_DragInfo.ownerWin)||void 0===n||n.removeEventListener("drag",this.OnHTMLDrag),null===(o=this.m_DragInfo.ownerWin)||void 0===o||o.removeEventListener("dragend",this.OnHTMLDragEnd),this.ResetDragState()}render(){const e=this.props,{coordinator:t,data:n,bEnableHTMLDrag:r,strHTMLDragData:s,fnOnDragStart:a,fnOnDragEnd:c,fnRenderDragGhost:u,fnRenderDropGhost:d,className:h,strActiveClassName:m,children:p}=e,g=(0,o._T)(e,["coordinator","data","bEnableHTMLDrag","strHTMLDragData","fnOnDragStart","fnOnDragEnd","fnRenderDragGhost","fnRenderDropGhost","className","strActiveClassName","children"]);let v={},f=h||"DialogDraggable";return this.m_DragInfo.bStarted?(f=(0,l.Z)(f,m||"DraggedOut"),r&&(v={onDragEnd:this.OnHTMLDragEnd})):v=r?{onDragStart:this.OnHTMLDragStart}:{onMouseDown:this.OnMouseDown,onTouchStart:this.OnTouchStart},i.createElement("div",Object.assign({ref:this.m_divRef,className:f},v,g,{draggable:r}),p)}renderDropGhost(){return this.props.fnRenderDropGhost?this.props.fnRenderDropGhost():i.createElement(ke,{elContent:this.GetClone()})}renderDragGhost(){return this.props.fnRenderDragGhost?this.props.fnRenderDragGhost():i.createElement(Be,{elContent:this.GetClone(),offsetX:this.m_DragInfo.startOffsetX,offsetY:this.m_DragInfo.startOffsetY,width:this.m_DragInfo.startWidth,height:this.m_DragInfo.startHeight})}GetClone(){const e=this.m_divRef.current;let t;if(e&&e.childElementCount)if(1==e.childElementCount)t=e.firstElementChild.cloneNode(!0);else{t=document.createElement("div");for(let n=e.firstChild;n;n=n.nextSibling)t.appendChild(n.cloneNode(!0))}return t}}(0,o.gn)([Z.ak],Ne.prototype,"ProcessDragMove",null),(0,o.gn)([Z.ak],Ne.prototype,"OnMouseDown",null),(0,o.gn)([Z.ak],Ne.prototype,"OnMouseUp",null),(0,o.gn)([Z.ak],Ne.prototype,"OnTouchStart",null),(0,o.gn)([Z.ak],Ne.prototype,"OnTouchEnd",null),(0,o.gn)([Le.aD],Ne.prototype,"ResetDragState",null),(0,o.gn)([Z.ak],Ne.prototype,"OnHTMLDragStart",null),(0,o.gn)([Z.ak],Ne.prototype,"OnHTMLDrag",null),(0,o.gn)([Z.ak],Ne.prototype,"OnHTMLDragEnd",null);class ke extends i.Component{OnRef(e){e&&this.props.elContent&&e.appendChild(this.props.elContent)}render(){return i.createElement("div",{className:"DialogDraggable_DropGhost",ref:this.OnRef})}}(0,o.gn)([Z.ak],ke.prototype,"OnRef",null);class Be extends i.Component{constructor(){super(...arguments),this.state={clientX:void 0,clientY:void 0,bVisible:!0,clientXDelta:void 0,clientYDelta:void 0}}OnRef(e){e&&this.props.elContent&&e.appendChild(this.props.elContent)}CalculateRotationDegrees(e){if(!e||Math.abs(e)<4)return 0;return(e>0?7.5:-7.5)*Math.sqrt(Math.abs(e))}render(){var e;if(!this.state.bVisible||void 0===this.state.clientX||void 0===this.state.clientY)return i.createElement("div",null);let t={left:this.state.clientX-(this.props.offsetX||0),top:this.state.clientY-(this.props.offsetY||0),width:this.props.width||"auto",height:this.props.height||"auto",perspective:"600px"},n=Oe.r4(this.CalculateRotationDegrees(this.state.clientYDelta),-90,90,2,0),o={transform:`rotateX(${this.CalculateRotationDegrees(-1*(null!==(e=this.state.clientYDelta)&&void 0!==e?e:0))}deg) rotateY( ${this.CalculateRotationDegrees(this.state.clientXDelta)}deg)`,transition:"transform .16s ease-out, filter .16s ease-out",filter:"brightness("+n+")"};const r=this.props.className||"DialogDraggable_DragGhost";return i.createElement("div",{className:r,style:t},i.createElement("div",{ref:this.OnRef,style:o}))}}(0,o.gn)([Z.ak],Be.prototype,"OnRef",null);class Fe extends i.Component{constructor(e){super(e),this.m_divRef=i.createRef(),this.state={}}componentDidMount(){this.props.coordinator.RegisterDropRegion(this)}componentWillUnmount(){this.props.coordinator.UnregisterDropRegion(this)}OnDragStarted(e){this.setState({bDraggableActive:!0})}OnDragEnded(e){this.setState({bDraggableActive:!1})}OnDragEnter(e,t){this.setState({dropGhost:t}),this.props.fnOnDragEnter&&this.props.fnOnDragEnter(e)}OnDragLeave(e){this.setState({dropGhost:void 0}),this.props.fnOnDragLeave&&this.props.fnOnDragLeave(e)}OnDragMove(e,t,n){}OnDrop(e){this.setState({dropGhost:void 0}),this.props.fnOnDrop(e)}BAcceptDraggable(e){return!this.props.fnBAcceptDraggable||this.props.fnBAcceptDraggable(e)}BDraggableInRegion(e,t,n){return Te(e,t,this.GetClientRect())}GetElement(){return this.m_divRef.current}GetClientRect(){return this.m_divRef.current&&this.m_divRef.current.getBoundingClientRect()}render(){const e=this.props,{coordinator:t,fnBAcceptDraggable:n,fnOnDrop:s,fnOnDragEnter:a,fnOnDragLeave:c,className:u,strActiveClassName:d,children:h,focusable:m}=e,p=(0,o._T)(e,["coordinator","fnBAcceptDraggable","fnOnDrop","fnOnDragEnter","fnOnDragLeave","className","strActiveClassName","children","focusable"]),g=(0,l.Z)(u||"DialogDropRegion",this.state.bDraggableActive&&(d||"Active"));return i.createElement(r.Ks,Object.assign({ref:this.m_divRef,className:g},p,{focusable:void 0===m?!!p.onClick:m}),this.state.dropGhost,h)}}class Pe extends Fe{BDraggableInRegion(e,t,n){let o=this.GetClientRect();return!!o&&(e>=o.left&&e<=o.right&&t>=o.top-20&&t<=o.bottom+20)}}var Ve=n(15633),He=n(14243),Ge=n(10162),Ue=n(40093),We=n.n(Ue),je=n(3783),Ze=n(58538);class ze{constructor(){this.m_flPageListScrollTop=0,this.m_flPageScrollTop=0,(0,Le.rC)(this)}}(0,o.gn)([Le.LO],ze.prototype,"m_flPageListScrollTop",void 0),(0,o.gn)([Le.LO],ze.prototype,"m_flPageScrollTop",void 0);class Ke{static Get(){return Ke.s_Instance||(Ke.s_Instance=new Ke),Ke.s_Instance}constructor(){this.m_setPagedSettingsInstances=new Set,(0,Le.rC)(this)}}(0,o.gn)([Le.LO],Ke.prototype,"m_setPagedSettingsInstances",void 0);const Xe=i.forwardRef((function(e,t){return i.createElement(s.s,Object.assign({ref:t,navEntryPreferPosition:je.c4.PREFERRED_CHILD},e))}));function Ye(e){const{title:t,icon:n,active:r,className:s,onClick:a}=e,l=(0,o._T)(e,["title","icon","active","className","onClick"]);return i.createElement("div",{className:s,onClick:a},n?i.createElement("div",{className:We().PageListItem_Icon},n):null,i.createElement("div",Object.assign({className:We().PageListItem_Title},l),t))}function $e(e){var t;const n=null!==(t=e.activePage.padding)&&void 0!==t?t:"standard";return i.createElement(O,{className:(0,l.Z)(e.stylesheet.PagedSettingsDialog_PageContent,e.activePage.pageClassName,{[e.stylesheet.NoPadding]:"none"==n}),refElem:e.refForScrollingContainer},e.activePage.header,!e.hideTitle&&i.createElement(b,null,e.activePage.title),i.createElement(Ge.SV,{errorKey:e.activePage.title},e.activePage.content))}function qe(e){return i.createElement("div",{className:(0,l.Z)(We().PageListSeparator,{[We().Transparent]:e.bTransparent})})}function Qe(e){const t=h();return i.createElement(m.T,Object.assign({component:t.PagedSettings,fallback:Je},e))}const Je=i.forwardRef((function(e,t){var n,o;const r=null!==(n=e.stylesheet)&&void 0!==n?n:We(),a=e.pages,c=null!=e.startingPage?a.findIndex((t=>"object"==typeof t&&t.identifier===e.startingPage)):-1,u=null==e.page,[d,h]=i.useState(c);let m=d;u||(m=a.findIndex((t=>"object"==typeof t&&t.identifier===e.page))),(m<0||m>=a.length)&&(m=0);let p=null;"object"==typeof a[m]&&(p=a[m]);let g=function(e){let t=i.useRef(e),n=i.useRef("none"),o=t.current;if(o==e)return n.current;let r="none";oe&&(r="up");return t.current=e,n.current=r,r}(m);const v=i.useRef(null),f=i.useCallback((()=>{var e;return null===(e=v.current)||void 0===e?void 0:e.TakeFocus()}),[v]),_=e=>{e&&b(!0)},[C,b]=i.useState(!1),w=a.map(((t,n)=>{if("separator"===t){const t=n===m+1||n===m-1;return i.createElement(i.Fragment,{key:n},e.renderPageListSeparator?e.renderPageListSeparator({}):i.createElement(qe,{bTransparent:t}))}if("spacer"===t)return i.createElement("div",{key:n,className:We().PageListSpacer});if(!1===t.visible)return null;const o=t==p,s=t.identifier||t.title||n.toString(),a=e.renderPageListItem||Ye;return i.createElement(a,{className:(0,l.Z)(r.PagedSettingsDialog_PageListItem,{[r.Active]:o}),key:s,onClick:()=>{_(!0),He.LT.PlayNavSound(He.qr.PagedNavigation),e.onPageRequested&&e.onPageRequested(t.identifier),t.click?t.click():u&&n!=d&&h(n)},title:t.title,icon:t.icon,active:o})})),E=i.useRef(null),S=null==p?void 0:p.hideTitle,D=null===(o=e.showTitle)||void 0===o||o,M=(0,l.Z)("DialogContentTransition",r.PagedSettingDialog_ContentColumn);i.useEffect((()=>{var t;e.focusChild&&(null===(t=E.current)||void 0===t||t.TakeFocus())}),[]);const L=e.renderPageAnimation&&p?e.renderPageAnimation:tt,y=i.useMemo((()=>new ze),[]);i.useEffect((()=>(Ke.Get().m_setPagedSettingsInstances.add(y),()=>{Ke.Get().m_setPagedSettingsInstances.delete(y)})),[y]);const{refForPageList:R,refForPage:O}=function(e){const t=i.useCallback((t=>e.m_flPageListScrollTop=t.currentTarget.scrollTop),[e]),n=i.useCallback((t=>e.m_flPageScrollTop=t.currentTarget.scrollTop),[e]),o=(0,Z.eF)("scroll",t),r=(0,Z.eF)("scroll",n),s=i.useCallback((t=>{var n;return e.m_flPageListScrollTop=null!==(n=null==t?void 0:t.scrollTop)&&void 0!==n?n:0}),[e]),a=i.useCallback((t=>{var n;return e.m_flPageScrollTop=null!==(n=null==t?void 0:t.scrollTop)&&void 0!==n?n:0}),[e]),l=(0,Z.BE)(o,s),c=(0,Z.BE)(r,a);return{refForPageList:l,refForPage:c}}(y),I=function(e,t){const n=i.useMemo((()=>new Map),[]),o=i.useRef();o.current=e;const r=i.useRef();r.current=t;const s=i.useCallback((e=>t=>{n.set(e,t),e===o.current&&(0,Z.k$)(r.current,t)}),[n]);return i.useEffect((()=>((0,Z.k$)(t,e&&n.get(e)),()=>(0,Z.k$)(t,void 0))),[n,e,t]),s}(null==p?void 0:p.identifier,O);return i.createElement(s.s,{className:(0,l.Z)(r.PagedSettingsDialog,e.className),ref:t},i.createElement(s.s,{className:(0,l.Z)(r.PagedSettingsDialog_PageListColumn,e.hideList&&We().Hidden,"PageListColumn"),navRef:v,onButtonDown:e=>{var t;e.detail.button==Ve.eV.OK&&(null===(t=E.current)||void 0===t||t.TakeFocus(e.detail.button))},onFocusWithin:_},D&&i.createElement("div",{className:r.PagedSettingsDialog_Title},e.title),e.topControls&&i.createElement("div",null,e.topControls),i.createElement(Xe,{className:(0,l.Z)(r.PagedSettingsDialog_PageList,e.disablePageListScrolling&&r.PagedSettingsDialog_PageList_DisableScrolling,D&&r.PagedSettingsDialog_PageList_ShowTitle,e.bNoHeaderPadding&&r.PageSettingsDialog_PageList_NoHeaderPadding),onFocusWithin:_,ref:R},w),e.bottomControls&&i.createElement("div",null,e.bottomControls)),i.createElement(s.s,{className:M,onCancelButton:C?f:void 0,navRef:E},e.toggleHideList&&i.createElement(et,{hideList:e.hideList,toggleHideList:e.toggleHideList}),i.createElement(L,{activePage:p,direction:g},p&&i.createElement($e,{refForScrollingContainer:I(p.identifier),key:p.identifier,stylesheet:r,hideTitle:S,activePage:p}))))}));function et(e){const{hideList:t,toggleHideList:n}=e;return i.createElement("div",{className:(0,l.Z)(We().HidePageListButton,t&&We().ListHidden),onClick:n},t?i.createElement(Ze.vVQ,{direction:"right"}):i.createElement(Ze.vVQ,{direction:"left"}))}function tt(e){return i.createElement(i.Fragment,null,e.children)}class nt extends i.Component{constructor(){super(...arguments),this.m_refTextArea=i.createRef(),this.m_cEntryLength=Number.MAX_VALUE}get textarea(){return this.m_refTextArea.current}get value(){var e;return null===(e=this.m_refTextArea.current)||void 0===e?void 0:e.value}focus(){var e;null===(e=this.m_refTextArea.current)||void 0===e||e.focus()}InternalOnInput(){const e=this.m_refTextArea.current,t=this.GetMinHeight(),n=this.GetMaxHeight();let o,i=e.value.length;if(void 0===this.m_nTextAreaPadding&&this.CalculatePadding(),in)e.style.height=n+"px",e.style.overflow="auto";else if(e.scrollHeight!=e.clientHeight){let n=Math.max(e.scrollHeight,t);e.style.height=n-this.m_nTextAreaPadding+"px","auto"==e.style.overflow&&(e.style.overflow="hidden")}void 0!==o&&window.scrollTo(window.scrollX,o),this.m_cEntryLength=i}CalculatePadding(){const e=getComputedStyle(this.m_refTextArea.current);this.m_nTextAreaPadding=parseFloat(e.paddingTop)+parseFloat(e.paddingBottom)}GetMinHeight(){return this.props.nMinHeight||20}GetMaxHeight(){return this.props.nMaxHeight||500}DeferredInternalOnInput(){window.setTimeout(this.InternalOnInput,1)}OnKeyUp(e){this.InternalOnInput(),this.props.onKeyUp&&this.props.onKeyUp(e)}OnBlur(e){this.DeferredInternalOnInput(),this.props.onBlur&&this.props.onBlur(e)}OnClick(e){this.InternalOnInput(),this.props.onClick&&this.props.onClick(e)}OnPaste(e){this.DeferredInternalOnInput(),this.props.onPaste&&this.props.onPaste(e)}OnCut(e){this.InternalOnInput(),this.props.onCut&&this.props.onCut(e)}componentDidMount(){this.m_refTextArea.current.style.overflow="hidden",this.m_refTextArea.current.style.resize="none",this.InternalOnInput()}componentDidUpdate(e){var t;e.nMinHeight==this.props.nMinHeight&&e.nMaxHeight==this.props.nMaxHeight||(this.m_cEntryLength=Number.MAX_VALUE),(null===(t=this.m_refTextArea.current)||void 0===t?void 0:t.value.length)!=this.m_cEntryLength&&this.InternalOnInput()}render(){const e=this.props,{nMinHeight:t,nMaxHeight:n}=e,s=(0,o._T)(e,["nMinHeight","nMaxHeight"]);return i.createElement(r.DP,Object.assign({},s,{ref:this.m_refTextArea,onKeyUp:this.OnKeyUp,onBlur:this.OnBlur,onClick:this.OnClick,onPaste:this.OnPaste,onCut:this.OnCut}))}}(0,o.gn)([Z.ak],nt.prototype,"InternalOnInput",null),(0,o.gn)([Z.ak],nt.prototype,"OnKeyUp",null),(0,o.gn)([Z.ak],nt.prototype,"OnBlur",null),(0,o.gn)([Z.ak],nt.prototype,"OnClick",null),(0,o.gn)([Z.ak],nt.prototype,"OnPaste",null),(0,o.gn)([Z.ak],nt.prototype,"OnCut",null);var ot=n(99967),it=n.n(ot),rt=n(37563),st=n(10095),at=n(50898);const lt=i.forwardRef((function(e,t){const{label:n,description:r,icon:a,children:u,childrenLayout:d,inlineWrap:h,childrenContainerWidth:m,spacingBetweenLabelAndChild:p,padding:g,disabled:v,bottomSeparator:f,className:_,highlightOnFocus:C,indentLevel:b,verticalAlignment:w,iconLocation:E,tooltip:S,explainer:D,explainerTitle:M}=e,L=(0,o._T)(e,["label","description","icon","children","childrenLayout","inlineWrap","childrenContainerWidth","spacingBetweenLabelAndChild","padding","disabled","bottomSeparator","className","highlightOnFocus","indentLevel","verticalAlignment","iconLocation","tooltip","explainer","explainerTitle"]),y=(0,rt.id)(),R=null!=d?d:"inline",O=null!=E?E:"front",I="front"==O&&!!a,x="before-children"==O&&!!a,T="inline"==R&&!!u,A="below"==R&&!!u,N=null!=h?h:y?"shift-children-below":"keep-inline",k=!!(L.onClick||L.onActivate||L.focusable),B=null!=a&&I||null!=n||T&&null!=u,F=null!=m?m:"min",P=null!=p?p:"standard",V=null!=g?g:"standard",H=null!=f?f:"standard",G=null==C||C,U=null!=b?b:0,W=null!=w?w:"center",j=function(e,t){const n=(0,st.Wy)(),o=i.useCallback((()=>{var o;(0,at.jF)(e,t,null!==(o=n.ownerWindow)&&void 0!==o?o:window)}),[n,e,t]);if(null==t)return{};const r=(0,c.Xx)("#Field_MoreInfo_Action");return{onOptionsButton:o,onOptionsActionDescription:r}}(null!=M?M:n,D),z=i.useRef(),K=(0,Z.BE)(z,e.navRef),X=i.useCallback((e=>{var t;null===(t=z.current)||void 0===t||t.TakeFocus(),e.preventDefault()}),[z]);return i.createElement(s.s,Object.assign({focusable:k,noFocusRing:!0,scrollIntoViewWhenChildFocused:!0,onActivate:e=>{var t;return null===(t=L.onClick)||void 0===t?void 0:t.call(L,e)},ref:t,onMouseDown:k?void 0:X},L,j,{navRef:K,className:(0,l.Z)(_,it().Field,v&&it().Disabled,B&&it().WithFirstRow,T&&it().WithChildrenInline,A&&it().WithChildrenBelow,"center"==W&&it().VerticalAlignCenter,"shift-children-below"==N&&it().InlineWrapShiftsChildrenBelow,!!r&&it().WithDescription,"standard"==H&&it().WithBottomSeparatorStandard,"thick"==H&&it().WithBottomSeparatorThick,"fixed"==F&&it().ChildrenWidthFixed,"max"==F&&it().ChildrenWidthGrow,"standard"==P&&it().ExtraPaddingOnChildrenBelow,"standard"==V&&it().StandardPadding,"compact"==V&&it().CompactPadding,k&&it().Clickable,G&&it().HighlightOnFocus),style:{"--indent-level":U}}),B&&i.createElement("div",{className:it().FieldLabelRow},i.createElement("div",{className:it().FieldLabel},I&&i.createElement("div",{className:(0,l.Z)(it().FieldIcon,it().Front)},a),n,S&&i.createElement("span",{"data-tooltip-text":S}," (?)")),T&&i.createElement("div",{className:it().FieldChildrenWithIcon},x&&i.createElement("div",{className:(0,l.Z)(it().FieldIcon,it().BeforeChildren)},a),i.createElement("div",{className:it().FieldChildrenInner},u))),A&&i.createElement("div",{className:it().FieldChildrenWithIcon},x&&i.createElement("div",{className:(0,l.Z)(it().FieldIcon,it().BeforeChildren)},a),i.createElement("div",{className:it().FieldChildrenInner},u)),r&&i.createElement("div",{className:it().FieldDescription},r))}));i.forwardRef((function(e,t){const{label:n,description:r,explainer:s,icon:a,layout:l,disabled:c,onActivate:u,bottomSeparator:d,highlightOnFocus:h,childrenContainerWidth:m,padding:p,inlineWrap:g,fieldClassName:v}=e,f=(0,o._T)(e,["label","description","explainer","icon","layout","disabled","onActivate","bottomSeparator","highlightOnFocus","childrenContainerWidth","padding","inlineWrap","fieldClassName"]),{refWithValue:_,refForElement:C}=(0,Z.ww)(t);return i.createElement(lt,{label:n,description:r,icon:a,bottomSeparator:d,highlightOnFocus:h,childrenLayout:null!=l?l:"inline",childrenContainerWidth:null!=m?m:"min",onMouseDown:e=>{var t;null===(t=_.current)||void 0===t||t.focus(),e.preventDefault()},padding:p,inlineWrap:g,explainer:s,className:v,disabled:c,onActivate:c?u:void 0},i.createElement(k,Object.assign({},f,{disabled:c,ref:C})))}));const ct=i.forwardRef((function(e,t){const{label:n,description:r,icon:s,layout:a,bottomSeparator:l,highlightOnFocus:c}=e,u=(0,o._T)(e,["label","description","icon","layout","bottomSeparator","highlightOnFocus"]),{refWithValue:d,refForElement:h}=(0,Z.ww)(t);return i.createElement(lt,{label:n,description:r,icon:s,bottomSeparator:l,highlightOnFocus:c,childrenLayout:null!=a?a:"inline",childrenContainerWidth:"fixed",onMouseDown:e=>{var t,n;null===(n=null===(t=d.current)||void 0===t?void 0:t.element)||void 0===n||n.focus(),e.preventDefault()}},i.createElement(Q,Object.assign({},u,{ref:h})))}));const ut=i.forwardRef((function(e,t){return i.createElement(r.bX,Object.assign({noFocusRing:!0},e,{ref:t,className:(0,l.Z)(it().BasicTextInput,e.className),size:1}))})),dt=e=>i.createElement(ft,Object.assign({layout:"below"},e));function ht(e){return i.createElement(d.Provider,{value:{PagedSettings:tn,Content:Gt,DropDownControlButton:bt,DropDownField:dt,DropDownMenu:Ct,ToggleField:Vt,ToggleControl:Pt,InputElement:ut,SliderField:Bt,strButtonClassName:it().Button}},e.children)}var mt=n(81921),pt=n.n(mt),gt=n(22042),vt=n(28781);function ft(e){const{label:t,tooltip:n,disabled:r,strClassName:s,dropDownControlRef:a,description:l,layout:c,bottomSeparator:u,highlightOnFocus:d,autoFocus:h,indentLevel:m,childrenContainerWidth:p="fixed",onContextMenu:g,onActivate:v}=e,f=(0,o._T)(e,["label","tooltip","disabled","strClassName","dropDownControlRef","description","layout","bottomSeparator","highlightOnFocus","autoFocus","indentLevel","childrenContainerWidth","onContextMenu","onActivate"]),{actionDescriptions:_,gamepadEvents:C,props:b}=(0,vt.CO)(f);return i.createElement(lt,Object.assign({className:s,disabled:r,label:t,onActivate:v,description:null!=l?l:n,childrenLayout:null!=c?c:"inline",childrenContainerWidth:p,bottomSeparator:u,highlightOnFocus:d,autoFocus:h,indentLevel:m,onContextMenu:g,actionDescriptionMap:_},C),i.createElement(we,Object.assign({menuLabel:t,disabled:r},b,{ref:a})))}function _t(e,t){for(const n of e.options){if(he(n)&&n.data===t)return!0;if(me(n)&&_t(n,t))return!0}return!1}function Ct(e){const t=n=>null==n?void 0:n.map(((n,o)=>he(n)?i.createElement(gt.Zo,{key:o,onSelected:t=>e.onValueSelected&&e.onValueSelected(t,n),selected:e.selectedValue===n.data},i.createElement(i.Fragment,null,n.label)):me(n)?i.createElement(gt.D1,{label:n.label,key:o,selectedWithin:_t(n,e.selectedValue)},t(n.options)):null));return i.createElement(gt.xV,{onCancel:e.onCancel},t(e.rgOptions))}const bt=i.forwardRef((function(e,t){return i.createElement(k,{className:(0,l.Z)(pt().DropDownControlButton,e.className),focusable:e.focusable,disabled:e.disabled,onClick:e.onClick,tabIndex:e.tabIndex,ref:t},i.createElement("div",{className:it().DropDownControlButtonContents},e.children,i.createElement("div",{className:(0,l.Z)(it().Spacer,"Spacer")}),i.createElement(Ze.$nC,{direction:"down"})))}));var wt=n(20204);i.forwardRef((function(e,t){const{className:n}=e,r=(0,o._T)(e,["className"]);let a=i.useRef(),l=(0,Z.BE)(t,a);const[u,d]=i.useState(!1),h=i.useCallback((()=>{d((e=>!e)),window.setTimeout((()=>{var e;return null===(e=a.current)||void 0===e?void 0:e.Focus()}),1)}),[]);return i.createElement(s.s,{className:n,onOptionsButton:h,onOptionsActionDescription:(0,c.Xx)(u?"#Login_HidePassword":"#Login_ShowPassword")},i.createElement(Q,Object.assign({autoComplete:"off",ref:l,inlineControls:i.createElement(k,{className:wt.TogglePasswordVisibilityBtn,onPointerDown:h,onOKButton:h},u?i.createElement(Ze.Hz5,null):i.createElement(Ze.dQJ,null))},r,{type:u?"text":"password"})))}));i.forwardRef((function(e,t){const{className:n,value:r}=e,s=(0,o._T)(e,["className","value"]),a=null!=r?r:"";return i.createElement(ct,Object.assign({autoComplete:"off",value:a,ref:t,placeholder:" . . . "},s,{onChange:e=>{!function(e){const t=e.split(".");if(t.length>4)return!1;for(let e=0;e=0&&o<=255))return!1}return!0}(e.target.value)?e.target.value=a:s.onChange&&s.onChange(e)}}))}));var Et=n(13708),St=n.n(Et),Dt=n(77816),Mt=n(84686),Lt=n(19929);const yt=1,Rt=(0,_.Qc)(St()["error-shake-duration"]);function Ot(e,t){return t<0?0:t>1?1:0==e?t:Math.round(t/e)*e}function It(e,t,n){const o=e+n*(t-e);return Number.parseFloat(o.toFixed(10))}function xt(e,t,n){return(n-e)/(t-e)}var Tt;!function(e){e[e.None=0]="None",e[e.MouseDragging=1]="MouseDragging",e[e.TouchStart=2]="TouchStart",e[e.TouchDragging=3]="TouchDragging"}(Tt||(Tt={}));class At extends i.Component{get showHandle(){var e;return null===(e=this.props.showHandle)||void 0===e||e}get isKeyNavTarget(){var e;return null===(e=this.props.isKeyNavTarget)||void 0===e||e}get validRange(){return this.props.min0?t/this.range:.01;return Math.max(n,this.normalizedStep)}get normalizedClampedValue(){const e=null==this.props.value||isNaN(this.props.value)?this.props.min:(0,Oe.Lh)(this.props.value,this.props.min,this.props.max);return xt(this.props.min,this.props.max,e)}get normalizedDefaultValue(){const e=this.props.resetValue;if(!(null==e||isNaN(e)||ethis.props.max))return xt(this.props.min,this.props.max,e)}get normalizedSliderOrigin(){const e=(0,Oe.Lh)(0,this.props.min,this.props.max);return xt(this.props.min,this.props.max,e)}get CanResetToDefault(){return null!=this.props.resetValue&&this.props.value!=this.props.resetValue}get SliderChangeSource(){switch(this.m_eDragMode){case Tt.MouseDragging:return 1;case Tt.TouchDragging:case Tt.TouchStart:return 0;case Tt.None:return}}constructor(e){super(e),this.m_refSlider=i.createRef(),this.m_refHandle=i.createRef(),this.m_navRefSlider=i.createRef(),this.m_sliderBounds=void 0,this.m_handleBounds=void 0,this.m_fZoom=1,this.m_eDragMode=Tt.None,this.m_vTouchStartPosition=(0,Dt.kN)(),this.m_bInnerSliderHasFocus=!1,this.m_nRepeatCount=0,this.m_fInitalRepeatTime=void 0,this.m_fStartValue=this.props.value,this.m_fLatestUserValue=this.props.value,this.m_fLatestOnChangeValue=this.props.value}RecomputeSliderBounds(){var e,t;this.m_sliderBounds=null===(e=this.m_refSlider.current)||void 0===e?void 0:e.getBoundingClientRect(),this.m_handleBounds=null===(t=this.m_refHandle.current)||void 0===t?void 0:t.getBoundingClientRect()}SetDragMode(e){var t,n,o,i,r,s,a,l;if(e!=this.m_eDragMode){switch(this.m_eDragMode=e,this.props.onChangeStart&&this.props.onChangeStart(this.SliderChangeSource),e){case Tt.MouseDragging:case Tt.TouchDragging:case Tt.TouchStart:this.RecomputeSliderBounds(),this.m_fStartValue=this.props.value,this.m_fLatestUserValue=this.props.value;case Tt.None:}switch(e){case Tt.MouseDragging:null===(n=null===(t=this.m_refSlider.current)||void 0===t?void 0:t.ownerDocument)||void 0===n||n.addEventListener("mousemove",this.OnWindowMouseMove,{passive:!1}),null===(i=null===(o=this.m_refSlider.current)||void 0===o?void 0:o.ownerDocument)||void 0===i||i.addEventListener("mouseup",this.OnWindowMouseUp,{passive:!1});break;case Tt.TouchStart:case Tt.TouchDragging:null===(s=null===(r=this.m_refSlider.current)||void 0===r?void 0:r.ownerDocument)||void 0===s||s.addEventListener("touchmove",this.OnWindowTouchMove,{passive:!1}),null===(l=null===(a=this.m_refSlider.current)||void 0===a?void 0:a.ownerDocument)||void 0===l||l.addEventListener("touchend",this.OnWindowTouchEnd,{passive:!1});break;case Tt.None:this.RemoveDocumentEventListeners()}}}OnGamepadDirection(e){var t,n;if(this.props.disabled)return!1;let o=0;if(e.detail.button==Ve.eV.DIR_LEFT)o=-1;else{if(e.detail.button!=Ve.eV.DIR_RIGHT)return!1;o=1}e.detail.is_repeat?(0==this.m_nRepeatCount&&(this.m_fInitalRepeatTime=performance.now()),this.m_nRepeatCount++):(this.m_nRepeatCount=0,this.m_fInitalRepeatTime=performance.now());const i=performance.now()-this.m_fInitalRepeatTime,r=(0,Oe.bU)(i,0,2e3,500,250),s=Math.pow(2,Math.floor(i/r)),a=this.normalizedDpadStep*s,l=(0,Oe.Lh)(a,this.normalizedDpadStep,.05)*o,c=Ot(this.normalizedStep,this.normalizedClampedValue+l);let u=It(this.props.min,this.props.max,c);if(u=(0,Oe.Lh)(u,null!==(t=this.props.clampMin)&&void 0!==t?t:this.props.min,null!==(n=this.props.clampMax)&&void 0!==n?n:this.props.max),u!=this.props.value){const e=u>this.m_fLatestUserValue;He.LT.PlayNavSound(e?He.qr.SliderUp:He.qr.SliderDown),this.m_fLatestUserValue=u,this.FireOnChange(u,2)}else He.LT.PlayNavSound(He.qr.FailedNav);return!0}FireOnChange(e,t){this.m_fLatestOnChangeValue!=e&&(this.m_fLatestOnChangeValue=e,this.props.onChange&&this.props.onChange(e,t))}ComputeNormalizedValueForMousePosition(e){if(null==this.m_sliderBounds)return 0;const t=e/this.m_fZoom,n=this.m_sliderBounds.right-this.m_sliderBounds.left,o=null==this.m_handleBounds?0:this.m_handleBounds.right-this.m_handleBounds.left,i=n-o;return(t-this.m_sliderBounds.left-o/2)/i}BShouldTriggerHapticOnSnap(){const e=this.normalizedStep;return e>0&&e>=1/40}PlayHaptic(e){var t,n,o,i,r;null===(r=null===(i=null===(o=null===(n=null===(t=this.m_refSlider.current)||void 0===t?void 0:t.ownerDocument.defaultView)||void 0===n?void 0:n.SteamClient)||void 0===o?void 0:o.OpenVR)||void 0===i?void 0:i.TriggerOverlayHapticEffect)||void 0===r||r.call(i,e,0)}UpdateSliderValueForPosition(e){var t,n;if(this.props.disabled||!this.m_refSlider.current)return;const o=this.ComputeNormalizedValueForMousePosition(e),i=Ot(this.normalizedStep,o);let r=It(this.props.min,this.props.max,i);const s=null!==(t=this.props.clampMin)&&void 0!==t?t:this.props.min,a=null!==(n=this.props.clampMax)&&void 0!==n?n:this.props.max;if(r=(0,Oe.Lh)(r,s,a),r!=this.props.value){const e=r>this.props.value,t=0==this.step;if((this.m_eDragMode==Tt.None||!t)&&He.LT.PlayNavSound(e?He.qr.SliderUp:He.qr.SliderDown),this.m_eDragMode==Tt.MouseDragging||this.m_eDragMode==Tt.TouchDragging){let e=!1;if((r==s||r==a)&&this.m_fLatestUserValue>s&&this.m_fLatestUserValue=s&&this.m_fLatestUserValue<=a){const t=40;Math.floor((this.m_fLatestUserValue-s)/(a-s)*t)==Math.floor((r-s)/(a-s)*t)||e||(this.PlayHaptic(Lt.sH.Sliding),e=!0)}t||e||(this.PlayHaptic(Lt.sH.Snap),e=!0)}this.m_fLatestUserValue=r,this.FireOnChange(r,this.SliderChangeSource)}}OnWindowMouseMove(e){this.UpdateSliderValueForPosition(e.clientX)}OnWindowMouseUp(e){this.m_eDragMode!=Tt.None&&this.Complete()}OnMouseDown(e){0==e.button&&(this.props.disabled||(e.preventDefault(),this.SetDragMode(Tt.MouseDragging),this.UpdateSliderValueForPosition(e.clientX)))}OnTouchStart(e){if(this.props.disabled||1!=e.touches.length)return;e.preventDefault();const t=this.ComputeNormalizedValueForMousePosition(e.touches[0].clientX);t<0||t>1||(this.SetDragMode(Tt.TouchStart),this.m_vTouchStartPosition={x:e.touches[0].clientX,y:e.touches[0].clientY})}OnWindowTouchMove(e){var t;if(1==e.touches.length){switch(this.m_eDragMode){case Tt.TouchStart:const n={x:e.touches[0].clientX,y:e.touches[0].clientY};if((0,Dt.iD)(this.m_vTouchStartPosition,n)>=10){const e=(0,Dt.UA)(this.m_vTouchStartPosition,n);Math.abs(e.x)>Math.abs(e.y)?(this.SetDragMode(Tt.TouchDragging),null===(t=this.m_refSlider.current)||void 0===t||t.focus()):this.SetDragMode(Tt.None)}break;case Tt.TouchDragging:this.UpdateSliderValueForPosition(e.touches[0].clientX)}e.preventDefault()}}OnWindowTouchEnd(e){this.m_eDragMode!=Tt.None&&this.Complete()}Complete(){const e=this.m_eDragMode!=Tt.None;this.FireOnChange(this.m_fLatestUserValue,this.SliderChangeSource),this.props.onChangeComplete&&this.props.onChangeComplete(this.m_fLatestUserValue,this.SliderChangeSource),this.SetDragMode(Tt.None);const t=0==this.step;if(this.m_fLatestUserValue!=this.m_fStartValue&&t&&e){const e=this.m_fLatestUserValue>this.m_fStartValue;He.LT.PlayNavSound(e?He.qr.SliderUp:He.qr.SliderDown)}}RemoveDocumentEventListeners(){var e,t,n,o,i,r,s,a;null===(t=null===(e=this.m_refSlider.current)||void 0===e?void 0:e.ownerDocument)||void 0===t||t.removeEventListener("mousemove",this.OnWindowMouseMove),null===(o=null===(n=this.m_refSlider.current)||void 0===n?void 0:n.ownerDocument)||void 0===o||o.removeEventListener("touchmove",this.OnWindowTouchMove),null===(r=null===(i=this.m_refSlider.current)||void 0===i?void 0:i.ownerDocument)||void 0===r||r.removeEventListener("mouseup",this.OnWindowMouseUp),null===(a=null===(s=this.m_refSlider.current)||void 0===s?void 0:s.ownerDocument)||void 0===a||a.removeEventListener("touchend",this.OnWindowTouchEnd)}componentDidMount(){this.m_fZoom=(0,Z.KM)(this.m_refSlider.current)}componentWillUnmount(){this.RemoveDocumentEventListeners()}BlurInnerSlider(){var e;null===(e=this.m_navRefSlider.current)||void 0===e||e.ParentTakeFocus()}OnInnerSliderFocus(){this.m_bInnerSliderHasFocus=!0,this.m_fStartValue=this.props.value}OnInnerSliderBlur(){this.m_bInnerSliderHasFocus=!1,this.m_fStartValue!=this.m_fLatestUserValue&&this.Complete()}ResetToDefault(){if(!this.CanResetToDefault||this.m_eDragMode!=Tt.None)return;let e;this.m_fLatestUserValue=this.props.resetValue,this.FireOnChange(this.props.resetValue,4),this.m_bInnerSliderHasFocus?e=this.props.resetValue>this.m_fLatestUserValue:(e=this.props.resetValue>this.props.value,this.props.onChangeComplete&&this.props.onChangeComplete(this.props.resetValue,4)),He.LT.PlayNavSound(e?He.qr.SliderUp:He.qr.SliderDown)}OnContextMenu(e){if(null!=this.props.resetValue){const t=i.createElement(gt.xV,null,i.createElement(gt.Zo,{disabled:!this.CanResetToDefault,onSelected:this.ResetToDefault},(0,c.Xx)("#ResetToDefault")));(0,le.yV)(t,e)}}render(){var e,t,n,o;const s=null!==(e=this.props.showBookendLabels)&&void 0!==e&&e,a=null!==(t=this.props.notchTicksVisible)&&void 0!==t?t:!s,u=s?2:this.props.notchCount,d=[{notchIndex:0,label:`${this.props.min}`},{notchIndex:1,label:`${this.props.max}`}],h=s?d:this.props.notchLabels,m=null===(n=this.props.focusable)||void 0===n||n,p=this.normalizedDefaultValue,g=this.normalizedSliderOrigin,v=null!=p,f=null!==(o=this.props.resetValueAppearance)&&void 0!==o?o:"top-caret",_="top-caret"==f,C=!_,b={};this.CanResetToDefault&&(b[Ve.eV.SECONDARY]=(0,c.Xx)("#ResetToDefault"));let w=`${St().SliderHandle} SliderHandle`,E=`${St().SliderHandleContainer} SliderHandleContainer `;return"verticalline"==this.props.handleType?(w=`${St().VerticalLineSliderHandle} SliderHandle`,E=`${St().VerticalLineSliderHandleContainer} SliderHandleContainer `):"leftparen"!=this.props.handleType&&"rightparen"!=this.props.handleType||(w=(0,l.Z)(St().ParenSliderHandle,"leftparen"==this.props.handleType?St().Left:St().Right,"SliderHandle"),E=(0,l.Z)(St().ParenSliderHandleContainer,"leftparen"==this.props.handleType?St().Left:St().Right,"SliderHandleContainer")),i.createElement(Mt.eh,{noFocusRing:!0,className:(0,l.Z)(St().SliderControlPanelGroup,"SliderControlPanelGroup"),navRef:this.props.navRef,onMouseDown:e=>this.OnMouseDown(e.nativeEvent),onTouchStart:e=>this.OnTouchStart(e.nativeEvent),onOKActionDescription:this.props.disabled?null:(0,c.Xx)("#Slider_AdjustSlider"),focusable:m,childFocusDisabled:this.props.disabled||!m,onContextMenu:this.OnContextMenu,onOKButton:this.props.disabled?()=>He.LT.PlayNavSound(He.qr.FailedNav):void 0,onSecondaryButton:this.CanResetToDefault?this.ResetToDefault:void 0,onSecondaryActionDescription:this.CanResetToDefault?(0,c.Xx)("#ResetToDefault"):void 0,actionDescriptionMap:b},i.createElement(r.Ks,{className:(0,l.Z)(St().SliderControlAndNotches,this.props.disabled&&St().Disabled,v&&St().WithDefaultValue,v&&C&&St().DefaultValueIsColorRange,v&&C&&"left"==f.side&&St().DefaultValueColorLeft,v&&C&&"left"!=f.side&&St().DefaultValueColorRight),focusable:this.isKeyNavTarget,noFocusRing:!0,onFocus:this.OnInnerSliderFocus,onBlur:this.OnInnerSliderBlur,style:{"--normalized-slider-value":this.normalizedClampedValue,"--normalized-slider-default-value":p,"--normalized-slider-origin":g,"--default-value-track-color":C?f.trackForegroundColor:void 0},ref:(0,Z.dn)(this.m_refSlider,this.props.innerRef),navRef:this.m_navRefSlider,onGamepadDirection:this.OnGamepadDirection,onOKButton:this.BlurInnerSlider,onOKActionDescription:null,onCancelButton:this.BlurInnerSlider,onCancelActionDescription:(0,c.Xx)("#ActionButtonLabelDone")},i.createElement("div",{className:(0,l.Z)(St().SliderControl,"SliderControl")},i.createElement("div",{className:(0,l.Z)(St().SliderTrack,null!=this.props.notchCount&&a&&St().SliderHasNotches,{[St().SliderTrackDark]:"dark"===this.props.trackTone},"SliderTrack")}),v&&_&&i.createElement("div",{className:St().DefaultValueTickContainer},i.createElement("div",{className:St().DefaultValueTick},i.createElement(Ze.$nC,{direction:"down"}))),this.validRange&&null!=this.props.value&&!isNaN(this.props.value)&&this.showHandle&&i.createElement("div",{className:E},i.createElement("div",{className:w,ref:this.m_refHandle},"leftparen"==this.props.handleType&&i.createElement(Ze.Tvf,null),"rightparen"==this.props.handleType&&i.createElement(Ze.RCC,null)))),i.createElement(Nt,{notchCount:u,notchLabels:h,sliderValue:this.normalizedClampedValue,notchTicksVisible:a})))}}function Nt(e){let{sliderValue:t,notchCount:n,notchLabels:o,notchTicksVisible:r}=e,a=null!=o?o:[];if(!n)return null;let c=!1,u=[];for(let e=0;et.notchIndex==e));o&&(c=!0),u.push(i.createElement(kt,{key:e,notchIndex:e,sliderValue:t,notchLabel:o,notchCount:n,notchTicksVisible:r}))}return i.createElement(s.s,{className:(0,l.Z)(St().SliderNotchContainer)},u)}function kt(e){var t;const n=e.notchIndex<=(e.notchCount-1)*e.sliderValue,o=e.notchCount<=3&&!e.notchTicksVisible,r=o&&0==e.notchIndex,s=o&&e.notchIndex==e.notchCount-1;return i.createElement("div",{className:(0,l.Z)(St().SliderNotch,o&&St().AlignToEnds)},e.notchTicksVisible&&i.createElement("div",{className:(0,l.Z)(St().SliderNotchTick,n&&St().TickActive)}),e.notchLabel&&i.createElement("div",{className:(0,l.Z)(St().SliderNotchLabel,r&&St().AlignToLeft,s&&St().AlignToRight)},null===(t=e.notchLabel)||void 0===t?void 0:t.label))}function Bt(e){const{label:t,description:n,tabIndex:r,className:s,showValue:a,renderValue:l,valueSuffix:u,tooltip:d,layout:h,padding:m,bottomSeparator:p,notchCount:g,indentLevel:v,editableValue:f,highlightOnFocus:_,parentSliderRef:C,onOptionsButton:b,onOptionsActionDescription:w,iconLocation:E,childrenContainerWidth:S,explainer:D,explainerTitle:M,onActivate:L,disabled:y}=e,R=(0,o._T)(e,["label","description","tabIndex","className","showValue","renderValue","valueSuffix","tooltip","layout","padding","bottomSeparator","notchCount","indentLevel","editableValue","highlightOnFocus","parentSliderRef","onOptionsButton","onOptionsActionDescription","iconLocation","childrenContainerWidth","explainer","explainerTitle","onActivate","disabled"]),{icon:O}=R,I=(0,o._T)(R,["icon"]),x=i.useRef(null),T=i.useRef(null),A=i.useRef(null),N=(null!=l?l:ee)(e.value,e.valueSuffix),k=function(e){var t,n;const{min:o,max:r}=e,s=null!==(t=e.validValues)&&void 0!==t?t:"steps",a=null!==(n=e.step)&&void 0!==n?n:yt,l=i.useCallback((e=>"number"==typeof e&&!Number.isNaN(e)),[]),c=i.useCallback((e=>!!l(e)&&(e>=o&&e<=r)),[l,o,r]),u=i.useCallback((e=>!!c(e)&&(0==a||(e-o)/a%1==0)),[c,o,a]),d=i.useCallback((e=>!(!l(e)||"function"!=typeof s)&&s(e)),[l,s]);switch(s){case"all":return l;case"range":return c;case"steps":return u;default:return d}}(e),[B,F]=i.useState(!1),P=()=>{e.onChangeStart&&e.onChangeStart(3),F(!0)},V=t=>{k(t)&&(e.onChange&&e.onChange(t,3),e.onChangeComplete&&e.onChangeComplete(t,3)),F(!1)};i.useLayoutEffect((()=>{var e,t;!B&&(null===(e=A.current)||void 0===e?void 0:e.BHasFocus())&&(null===(t=T.current)||void 0===t||t.TakeFocus())}),[A,T,B]);let H=t;f?H=i.createElement(i.Fragment,null,i.createElement("div",{className:St().LabelText},e.label),i.createElement(Ft,{navRef:A,editing:B,renderedValue:N,valueSuffix:e.valueSuffix,onClick:P,onChangeComplete:V,validator:k})):a&&(H=i.createElement(i.Fragment,null,i.createElement("div",{className:St().LabelText},e.label),i.createElement("div",{className:St().DescriptionValue},N)));const G=i.useRef(null),U=i.useCallback((e=>{var t;null===(t=G.current)||void 0===t||t.OnTouchStart(e.nativeEvent)}),[G]),W=i.useCallback((e=>{var t;null===(t=G.current)||void 0===t||t.OnContextMenu(e)}),[G]),j=(0,Z.BE)(G,C),z=f?P:void 0,K=f?(0,c.Xx)("#Slider_EditValue"):void 0;let X=b||z,Y=b?w:K,$=b?z:void 0,q=b?K:void 0;return i.createElement(lt,{disabled:y,childrenLayout:null!=h?h:"below",padding:m,bottomSeparator:p,childrenContainerWidth:null!=S?S:"fixed",label:H,description:n,ref:x,className:s,onTouchStart:U,onContextMenu:W,indentLevel:v,onMenuActionDescription:q,onMenuButton:$,onActivate:L,highlightOnFocus:_,onOptionsButton:X,onOptionsActionDescription:Y,icon:O,iconLocation:null!=E?E:"before-children",explainer:D,explainerTitle:M},i.createElement(At,Object.assign({ref:j,disabled:y,notchCount:g,focusable:!B,navRef:T},I)))}function Ft(e){const{editing:t,renderedValue:n,valueSuffix:o,onClick:s,onChangeComplete:a,navRef:u,validator:d}=e,h=i.useRef(null),m=i.useRef(null),p=i.useRef(null),g=(0,Z.BE)(u,p),{fnTriggerErrorShake:v,bPlayingErrorShake:f}=function(e){const[t,n]=i.useState(!1),o=i.useRef(),r=i.useRef(),s=i.useCallback((()=>{window.clearTimeout(o.current),o.current=window.setTimeout((()=>{var t,n,o;null===(t=e.current)||void 0===t||t.classList.remove(St().ErrorShake),null===(n=e.current)||void 0===n||n.getBoundingClientRect(),null===(o=e.current)||void 0===o||o.classList.add(St().ErrorShake)}),0),n(!0),window.clearTimeout(r.current),r.current=window.setTimeout((()=>n(!1)),Rt)}),[e]);return i.useEffect((()=>()=>{window.clearTimeout(o.current),window.clearTimeout(r.current)}),[]),{fnTriggerErrorShake:s,bPlayingErrorShake:t}}(h),_=t||f,[C,b]=i.useState("");i.useEffect((()=>{_||b("")}),[_]);const w=d(Number.parseFloat(C)),E=i.useRef(!1),S=i.useCallback((e=>{!w&&C.length>0&&v(),E.current||(w||e)&&(a(Number.parseFloat(C)),E.current=!0)}),[w,C,v,a]),D=i.useCallback((()=>{var e;return null===(e=m.current)||void 0===e?void 0:e.TakeFocusAndShowKeyboard()}),[m]),M=i.useRef(!1);i.useLayoutEffect((()=>{t&&!M.current&&D(),M.current=t}),[p,t,D]);const L=f||_&&!w&&C.length>0&&"-"!=C,y=(0,l.Z)(St().DescriptionValue,L&&St().RedBorder),[R,O]=i.useState(0),[I,x]=i.useState(0),T=i.useRef(),A=i.useCallback((()=>{const e=T.current.clientWidth;_?x(e):O(e)}),[_]);i.useLayoutEffect(A,[A]);const N=(0,Z.yU)(A),k=(0,Z.BE)(T,N);i.useLayoutEffect((()=>{var e,t;(null===(e=p.current)||void 0===e?void 0:e.BHasFocus())&&(null===(t=p.current)||void 0===t||t.Node().ForceMeasureFocusRing())}),[I]);const B=_?C:n,F=_?Math.max(R,I):R;return i.createElement("div",{className:y},i.createElement("div",{className:St().FakeEditableValue,ref:k},B),i.createElement(r.bX,{refKeyboardHandle:m,navRef:g,ref:h,focusable:t,className:St().EditableValue,style:{width:F},onEnterKeyPress:()=>S(!1),strEnterKeyLabel:(0,c.Xx)("#ActionButtonLabelDone"),onClick:s,onFocus:()=>E.current=!1,onBlur:()=>S(!0),value:B,placeholder:n,onChange:e=>b(e.target.value.trim()),onCancelButton:()=>S(!0),onCancelActionDescription:(0,c.Xx)("#ActionButtonLabelDone"),onOKButton:D,onOKActionDescription:(0,c.Xx)("#Slider_EditValue"),onOptionsActionDescription:void 0,onOptionsButton:D}))}(0,o.gn)([Z.ak],At.prototype,"RecomputeSliderBounds",null),(0,o.gn)([Z.ak],At.prototype,"SetDragMode",null),(0,o.gn)([Z.ak],At.prototype,"OnGamepadDirection",null),(0,o.gn)([Z.ak],At.prototype,"UpdateSliderValueForPosition",null),(0,o.gn)([Z.ak],At.prototype,"OnWindowMouseMove",null),(0,o.gn)([Z.ak],At.prototype,"OnWindowMouseUp",null),(0,o.gn)([Z.ak],At.prototype,"OnMouseDown",null),(0,o.gn)([Z.ak],At.prototype,"OnTouchStart",null),(0,o.gn)([Z.ak],At.prototype,"OnWindowTouchMove",null),(0,o.gn)([Z.ak],At.prototype,"OnWindowTouchEnd",null),(0,o.gn)([Z.ak],At.prototype,"Complete",null),(0,o.gn)([Z.ak],At.prototype,"BlurInnerSlider",null),(0,o.gn)([Z.ak],At.prototype,"OnInnerSliderFocus",null),(0,o.gn)([Z.ak],At.prototype,"OnInnerSliderBlur",null),(0,o.gn)([Z.ak],At.prototype,"ResetToDefault",null),(0,o.gn)([Z.ak],At.prototype,"OnContextMenu",null);i.forwardRef((function(e,t){const{label:n,labelIndex:o,xOffset:r,onResize:s,OnMouseDown:a,OnTouchStart:l}=e;i.useEffect((()=>{s(o)}),[s,o]);const c=i.useCallback((e=>{s(o)}),[s,o]),u=(0,Z.yU)(c),d=(0,Z.BE)(u,t);return i.createElement("div",{className:St().CompoundSliderSubSliderLabel,ref:d,onMouseDown:a,onTouchStart:l,style:{transform:`translateX(${r}px)`}},i.createElement("div",{className:St().CompoundSliderSubSliderLabelInternal},n))}));const Pt=i.forwardRef((function(e,t){const{value:n,onChange:o,disabled:s,className:a,focusable:c,children:u,navRef:d}=e;return i.createElement(r.Ks,{noFocusRing:!0,className:(0,l.Z)(a,it().Toggle,{[it().Disabled]:!!s,[it().On]:!!n}),onClick:()=>{if(!s&&o){const e=!n;o(e),He.LT.PlayNavSound(e?He.qr.ToggleOn:He.qr.ToggleOff)}},ref:t,navRef:d,focusable:c},i.createElement("div",{className:it().ToggleRail}),i.createElement("div",{className:it().ToggleSwitch}),u)}));class Vt extends V{OnToggleChange(e){this.props.disabled||e===this.checked||this.Toggle()}render(){const e=!!this.props.disabled,{actionDescriptions:t,gamepadEvents:n}=(0,vt.CO)(this.props);return i.createElement(lt,Object.assign({className:this.props.className,disabled:e,label:this.props.label,icon:this.props.icon,description:this.props.description,explainer:this.props.explainer,explainerTitle:this.props.explainerTitle,padding:this.props.padding,bottomSeparator:this.props.bottomSeparator,highlightOnFocus:this.props.highlightOnFocus,inlineWrap:"keep-inline",onContextMenu:this.props.onContextMenu,actionDescriptionMap:t,onClick:this.props.onClick},n),i.createElement(Pt,{onChange:this.OnToggleChange,value:this.checked,disabled:e,navRef:this.props.navRef}))}}(0,o.gn)([Z.ak],Vt.prototype,"OnToggleChange",null);var Ht=n(13974);function Gt(e){const{children:t,bCenterVertically:n,refElem:r}=e,a=(0,o._T)(e,["children","bCenterVertically","refElem"]),c=(0,l.Z)(it().GamepadDialogContent,"DialogContent _DialogLayout",e.className,n&&" _DialogCenterVertically"),{ref:u,navRef:d}=(0,Ht.$1)(),h=(0,Z.BE)(r,u);return i.createElement(s.s,Object.assign({},a,{className:c,ref:h,navRef:d}),i.createElement(s.s,{className:(0,l.Z)(it().GamepadDialogContent_InnerWidth,"DialogContent_InnerWidth")},t))}var Ut,Wt=n(53909),jt=n.n(Wt),Zt=n(39073),zt=n(4170);function Kt(e){const{childrenKey:t,childrenClasses:n,children:o,directionClass:r,animate:s=!0}=e,a=(0,l.Z)(jt().TransitionGroup,r);return i.createElement(Zt.Z,{className:a,appear:!1,enter:s,exit:s},i.createElement(Xt,{key:t,childrenClasses:n},o))}function Xt(e){const{sizeClass:t,children:n,childrenClasses:r}=e,a=(0,o._T)(e,["sizeClass","children","childrenClasses"]),[c,u,d,h]=function(){let e=i.useRef(null),t=i.useRef();i.useLayoutEffect((()=>{let n=e.current;if(!n||t.current)return;t.current={element:n,activeProps:new Set,bExiting:!1,fnDone:null};let o=t.current,i=e=>{e.target==n&&o.activeProps.add(e.propertyName)};n.addEventListener("transitionrun",i,!1);let r=e=>{e.target==n&&(o.activeProps.delete(e.propertyName),o.fnDone&&0==o.activeProps.size&&o.bExiting&&o.fnDone())};n.addEventListener("transitionend",r,!1),n.addEventListener("transitioncancel",r,!1)}),[]);let n=i.useCallback((e=>{t.current?t.current.fnDone=e:e()}),[t]),o=i.useCallback((()=>{t.current&&(t.current.bExiting=!1)}),[t]),r=i.useCallback((()=>{t.current&&(t.current.bExiting=!0)}),[t]);return[e,n,o,r]}(),m=i.useRef(!0),p=i.useCallback((()=>m.current),[m]),g=i.useCallback((()=>{m.current=!0,d()}),[d]),v=i.useCallback((()=>{m.current=!1,h()}),[h]),f=e.childrenClasses,_={enter:f.enterStart,enterActive:f.enterEnd,exit:f.exitStart,exitActive:f.exitEnd};return c.current&&!c.current.ownerDocument.defaultView?null:i.createElement(zt.Z,Object.assign({nodeRef:c,classNames:_,in:!0,timeout:1e4,addEndListener:u,onEntering:g,onExiting:v},a),i.createElement("div",{ref:c,className:(0,l.Z)(jt().ContentWrapper,t,f.base)},i.createElement(s.s,{className:t,fnCanTakeFocus:p},e.children)))}function Yt(e,t){return{base:t,enterStart:e.Enter,enterEnd:e.EnterActive,exitStart:e.Exit,exitEnd:e.ExitActive}}!function(e){e[e.None=0]="None",e[e.Left=1]="Left",e[e.Right=2]="Right",e[e.Up=3]="Up",e[e.Down=4]="Down"}(Ut||(Ut={}));var $t=n(74491),qt=n.n($t);const Qt=i.createContext(null);function Jt(e){const t=i.useContext(Qt),n=(0,rt.qt)().IN_VR,{title:r,icon:a,active:l}=e,c=(0,o._T)(e,["title","icon","active"]);return i.createElement(s.s,Object.assign({preferredFocus:l,navRef:l&&t?t:void 0,noFocusRing:!0,onActivate:n?void 0:c.onClick,onFocus:n?void 0:c.onClick},c),a&&i.createElement("div",{className:qt().PageListItem_Icon},a),i.createElement("div",{className:qt().PageListItem_Title},r))}function en(e){return i.createElement("div",{className:qt().Separator})}const tn=i.forwardRef((function(e,t){const n=i.useRef(null),[o,r]=i.useState(!0);i.useEffect((()=>{var t;o&&e.bNoInitialLeftColumnFocus||null===(t=n.current)||void 0===t||t.TakeFocus(),r(!1)}),[e.page,e.bNoInitialLeftColumnFocus,o]);const s=Boolean(e.showTitle);return i.createElement(Qt.Provider,{value:n},i.createElement(Je,Object.assign({},e,{stylesheet:qt(),showTitle:s,renderPageListItem:Jt,renderPageListSeparator:en,renderPageAnimation:nn})))}));function nn(e){var t;let n=Ut.None;"up"==e.direction?n=Ut.Up:"down"==e.direction&&(n=Ut.Down);let o=(r=qt(),(s=n)==Ut.Left?r.Left:s==Ut.Right?r.Right:s==Ut.Up?r.Up:s==Ut.Down?r.Down:"");var r,s;return i.createElement(Kt,{childrenKey:null===(t=e.activePage)||void 0===t?void 0:t.identifier,childrenClasses:Yt(qt(),qt().ContentTransition),directionClass:o,animate:n!=Ut.None},e.children)}},51592:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});var o=n(85556),i=n(47427);function r(e){const{component:t,fallback:n,componentRef:r}=e,s=(0,o._T)(e,["component","fallback","componentRef"]),[[a,l]]=i.useState([t,n]),c=null!=a?a:l;return i.createElement(c,Object.assign({},s,{ref:r}))}},10162:(e,t,n)=>{"use strict";n.d(t,{AP:()=>s,DT:()=>a,SV:()=>l});var o=n(85556),i=n(47427),r=n(20417);function s(e){return function(t){return i.createElement(l,null,i.createElement(e,Object.assign({},t)))}}function a(e){return i.createElement(i.Fragment,null,i.Children.map(e.children,(e=>i.createElement(l,null,e))))}class l extends i.Component{constructor(e){super(e),this.state={},this.state.lastErrorKey=e.errorKey}static InstallErrorReportingStore(e){this.sm_ErrorReportingStore=e}componentDidCatch(e,t){const n=l.sm_ErrorReportingStore;n?n.ReportError(e).then((e=>e&&this.setState({identifierHash:e.identifierHash}))):console.warn("No ErrorReportingStore - use ErrorReportingStore().Init() to configure error reporting to server"),this.setState({error:{error:e,info:t},lastErrorKey:this.props.errorKey})}Reset(){this.setState({error:void 0})}render(){const{children:e,fallback:t,errorKey:n}=this.props,{error:o,identifierHash:r,lastErrorKey:s}=this.state;return o&&n==s?void 0!==t?"function"==typeof t?t(o.error):t:l.sm_ErrorReportingStore&&l.sm_ErrorReportingStore.reporting_enabled?i.createElement(u,{error:o,identifierHash:r,store:l.sm_ErrorReportingStore,onRefresh:this.Reset}):i.createElement(c,{error:o,onDismiss:this.Reset}):e||null}}(0,o.gn)([r.ak],l.prototype,"Reset",null);const c=({error:e,onDismiss:t})=>{let n=e.error?e.error.stack:"Stack missing",o=e.info?e.info.componentStack:"",r=e.error&&e.error.message||"unknown error";return i.createElement(d,null,i.createElement(h,null,'Error: "',r,'"'),"   ",i.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:t},"(x) Dismiss"),i.createElement("br",null),i.createElement(m,null,n),i.createElement(m,null,"The error occurred while rendering:",o))},u=e=>{const{error:t,onRefresh:n,identifierHash:o,store:r}=e,s=t.error&&t.error.message||"unknown error",a=`${r.product}_${r.version}_${o}`;return i.createElement(d,null,i.createElement(h,null,"Something went wrong while displaying this content. ",i.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:n},"Refresh")),i.createElement(m,null,"Error Reference: ",a),i.createElement(m,null,s))},d=({children:e})=>i.createElement("div",{style:{overflow:"auto",marginLeft:"15px",color:"white",fontSize:"16px",userSelect:"auto",backgroundColor:"black"},className:"ErrorBoundary"},e),h=({children:e})=>i.createElement("h1",{style:{fontSize:"20px",display:"inline-block",marginTop:"15px",userSelect:"auto"}},e),m=({children:e})=>i.createElement("pre",{style:{marginTop:"15px",opacity:.7,userSelect:"auto"}},e)},58538:(e,t,n)=>{"use strict";n.d(t,{$jN:()=>_,$nC:()=>g,CtA:()=>m,DUs:()=>I,DeA:()=>R,Dos:()=>j,FYd:()=>V,Hz5:()=>D,Jwt:()=>O,Lb:()=>P,LcB:()=>W,N4L:()=>A,P2P:()=>F,RAD:()=>x,RCC:()=>y,Tt3:()=>c,Tvf:()=>L,Tx5:()=>S,Zhu:()=>B,bbz:()=>f,cSC:()=>K,dQJ:()=>M,dqu:()=>w,ex9:()=>U,geY:()=>N,hhG:()=>G,l2k:()=>T,nC9:()=>z,nkn:()=>E,olm:()=>u,rFk:()=>C,tkI:()=>b,tzG:()=>H,vVQ:()=>v,y3S:()=>k,z$U:()=>Z});var o=n(85556),i=n(47427),r=n(37990),s=n.n(r),a=n(23163),l=n(13129);function c(e){const{direction:t}=e;let n;n="up"===t?"rotate( 180deg )":"left"===t?"rotate( 90deg )":"right"===t?"rotate( 270deg )":void 0;return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e,{style:{transform:n}}),i.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M17.5316 18.0962L9.43544 10L5.8999 13.5355L17.5316 25.1673L29.1633 13.5355L25.6278 10L17.5316 18.0962Z"}))}function u(e){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{d:"M27.5 24C29.4972 21.1283 30.3471 17.6129 29.8823 14.146C29.4174 10.679 27.6716 7.5117 24.9884 5.26751C22.3052 3.02332 18.8792 1.86488 15.3846 2.02023C11.8901 2.17559 8.58036 3.63349 6.10692 6.10692C3.63349 8.58036 2.17559 11.8901 2.02023 15.3846C1.86488 18.8792 3.02332 22.3052 5.26751 24.9884C7.5117 27.6716 10.679 29.4174 14.146 29.8823C17.6129 30.3471 21.1283 29.4972 24 27.5L30.26 33.77L30.62 33.41L33.44 30.59L33.8 30.23L27.5 24ZM16 25C14.22 25 12.4799 24.4722 10.9999 23.4832C9.51983 22.4943 8.36628 21.0887 7.68509 19.4442C7.0039 17.7996 6.82567 15.99 7.17294 14.2442C7.52021 12.4984 8.37737 10.8947 9.63605 9.63605C10.8947 8.37737 12.4984 7.52021 14.2442 7.17294C15.99 6.82567 17.7996 7.0039 19.4442 7.68509C21.0887 8.36628 22.4943 9.51983 23.4832 10.9999C24.4722 12.4799 25 14.22 25 16C25 18.387 24.0518 20.6761 22.364 22.364C20.6761 24.0518 18.387 25 16 25Z",fill:"currentColor"}))}function d(e){const{none:t,partial:n}=e,r=(0,o._T)(e,["none","partial"]);return t?i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},r),i.createElement("path",{d:"M36 24.2C36 27.68 31 30 31 30L25 24H17.36L26.55 14.81C27.0058 14.9963 27.5066 15.0439 27.9893 14.9467C28.4721 14.8494 28.9154 14.6118 29.2636 14.2636C29.6118 13.9154 29.8494 13.4721 29.9466 12.9893C30.0438 12.5066 29.9963 12.0059 29.81 11.55L32.76 8.55002C33.39 10.79 36 20.12 36 24.2ZM33.56 3.56002L2.56 34.56L0.44 32.44L3.65 29.23C2.17 28.28 0 26.49 0 24.2C0 19.56 3.38 8.14002 3.38 8.14002C3.38 8.14002 7.5 4.00002 18 4.00002C21.2151 3.94797 24.4172 4.42085 27.48 5.40002L31.48 1.40002L33.56 3.56002ZM6 16H9V19H12V16H15V13H12V10H9V13H6V16Z",fill:"currentColor"})):n?i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 36 36"},r),i.createElement("path",{fill:"currentColor",opacity:"0.5",d:"M12.9,6.2c-0.2,0-0.4-0.1-0.5-0.2c-0.2-0.2-0.5-0.4-1.2-0.4c-1.1,0-4.5,1.1-5.1,1.7S5.6,8.4,5.6,8.4v0.1 c-0.4,0.3-0.8,0.7-1.1,1C3.4,10.7,0,20.2,0,25.3s3.4,5.6,3.4,5.6c0.9,0,2.3-1.8,3.7-3.5c1.2-1.5,2.3-3,3.1-3.2 c0.8-0.3,4.4-0.4,7.9-0.4V6.2H12.9z M8.4,14.6c-1.2,0-2.2-1-2.2-2.2s1-2.2,2.2-2.2s2.2,1,2.2,2.2S9.7,14.6,8.4,14.6z M15.8,18.8 c0,0.3-0.3,0.6-0.6,0.6h-0.8v0.8c0,0.3-0.3,0.6-0.6,0.6h-1.1c-0.3,0-0.6-0.3-0.6-0.6v-0.8h-0.8c-0.3,0-0.6-0.3-0.6-0.6v-1.1 c0-0.3,0.3-0.6,0.6-0.6h0.8v-0.8c0-0.3,0.3-0.6,0.6-0.6h1.1c0.3,0,0.6,0.3,0.6,0.6v0.8h0.8c0.3,0,0.6,0.3,0.6,0.6V18.8z"}),i.createElement("path",{fill:"currentColor",d:"M31.5,9.6c-0.3-0.3-0.7-0.6-1.1-1V8.4c0,0,0-0.6-0.6-1.1s-3.9-1.7-5.1-1.7c-0.7,0-0.9,0.2-1.2,0.4c-0.2,0.1-0.3,0.2-0.5,0.2 H18v17.6c3.5,0,7,0.1,7.9,0.4c0.8,0.3,1.9,1.7,3.1,3.2c1.4,1.7,2.8,3.5,3.7,3.5c0,0,3.4-0.6,3.4-5.6S32.6,10.7,31.5,9.6z M27.6,8.7 c0.8,0,1.4,0.6,1.4,1.4s-0.6,1.4-1.4,1.4s-1.4-0.6-1.4-1.4S26.8,8.7,27.6,8.7z M23.1,20.2c-1.2,0-2.2-1-2.2-2.2s1-2.2,2.2-2.2 s2.2,1,2.2,2.2S24.3,20.2,23.1,20.2z M25,14.1c-0.8,0-1.4-0.6-1.4-1.4c0-0.8,0.6-1.4,1.4-1.4c0.8,0,1.4,0.6,1.4,1.4 C26.4,13.4,25.8,14.1,25,14.1z M27.6,16.6c-0.8,0-1.4-0.6-1.4-1.4s0.6-1.4,1.4-1.4s1.4,0.6,1.4,1.4S28.3,16.6,27.6,16.6z M30.1,14.1 c-0.8,0-1.4-0.6-1.4-1.4c0-0.8,0.6-1.4,1.4-1.4c0.8,0,1.4,0.6,1.4,1.4C31.5,13.4,30.9,14.1,30.1,14.1z"})):i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 36 36"},r),i.createElement("path",{fill:"currentColor",d:"M31.5,9.6c-0.3-0.3-0.7-0.6-1.1-1V8.4c0,0,0-0.6-0.6-1.1s-3.9-1.7-5.1-1.7c-0.7,0-0.9,0.2-1.2,0.4c-0.2,0.1-0.3,0.2-0.5,0.2 H12.9c-0.2,0-0.4-0.1-0.5-0.2c-0.2-0.2-0.5-0.4-1.2-0.4c-1.1,0-4.5,1.1-5.1,1.7S5.6,8.4,5.6,8.4v0.1c-0.4,0.3-0.8,0.7-1.1,1 C3.4,10.7,0,20.2,0,25.3s3.4,5.6,3.4,5.6c0.9,0,2.3-1.8,3.7-3.5c1.2-1.5,2.3-3,3.1-3.2c1.7-0.6,14.1-0.6,15.8,0 c0.8,0.3,1.9,1.7,3.1,3.2c1.4,1.7,2.8,3.5,3.7,3.5c0,0,3.4-0.6,3.4-5.6S32.6,10.7,31.5,9.6z M8.4,14.6c-1.2,0-2.2-1-2.2-2.2 s1-2.2,2.2-2.2s2.2,1,2.2,2.2S9.7,14.6,8.4,14.6z M15.8,18.8c0,0.3-0.3,0.6-0.6,0.6h-0.8v0.8c0,0.3-0.3,0.6-0.6,0.6h-1.1 c-0.3,0-0.6-0.3-0.6-0.6v-0.8h-0.8c-0.3,0-0.6-0.3-0.6-0.6v-1.1c0-0.3,0.3-0.6,0.6-0.6h0.8v-0.8c0-0.3,0.3-0.6,0.6-0.6h1.1 c0.3,0,0.6,0.3,0.6,0.6v0.8h0.8c0.3,0,0.6,0.3,0.6,0.6V18.8z M27.6,8.7c0.8,0,1.4,0.6,1.4,1.4s-0.6,1.4-1.4,1.4s-1.4-0.6-1.4-1.4 S26.8,8.7,27.6,8.7z M23.1,20.2c-1.2,0-2.2-1-2.2-2.2s1-2.2,2.2-2.2s2.2,1,2.2,2.2S24.3,20.2,23.1,20.2z M25,14.1 c-0.8,0-1.4-0.6-1.4-1.4c0-0.8,0.6-1.4,1.4-1.4s1.4,0.6,1.4,1.4C26.4,13.4,25.8,14.1,25,14.1z M27.6,16.6c-0.8,0-1.4-0.6-1.4-1.4 s0.6-1.4,1.4-1.4s1.4,0.6,1.4,1.4S28.3,16.6,27.6,16.6z M30.1,14.1c-0.8,0-1.4-0.6-1.4-1.4c0-0.8,0.6-1.4,1.4-1.4s1.4,0.6,1.4,1.4 C31.5,13.4,30.9,14.1,30.1,14.1z"}))}function h(e){const{type:t,partial:n}=e,r=(0,o._T)(e,["type","partial"]),[s,l]=(0,a.y)();return"steam"==t?i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},r),i.createElement("g",{clipPath:l},i.createElement("path",{fill:"currentColor",d:"M5.625 31.0429C0.0351562 31.0429 0.0351562 24.75 0.0351562 24.75C0.0351562 23.2708 0.691018 18.9574 1.67867 14.9078C2.09604 21.229 4.23237 26.4107 7.46967 30.1342C6.94663 30.6907 6.34611 31.0429 5.625 31.0429Z"}),i.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M8.16687 29.2194C4.59849 25.0137 2.43205 18.8213 2.76162 11.0707C3.47054 8.93505 4.26138 7.27235 5.0625 6.76752C8.1706 5.06632 27.6869 4.8903 31.0078 6.76752C31.7909 7.26099 32.5642 8.86083 33.2607 10.9273C33.6225 18.7277 31.4618 24.9603 27.8856 29.1914C27.4035 28.4325 26.984 27.5272 26.5768 26.6483C25.7189 24.7967 24.9154 23.0625 23.6953 23.0625H12.375C11.1549 23.0625 10.3514 24.7967 9.49349 26.6483C9.08125 27.538 8.65647 28.4548 8.16687 29.2194ZM18 12.9375C18.7766 12.9375 19.4062 12.3079 19.4062 11.5312C19.4062 10.7546 18.7766 10.125 18 10.125C17.2234 10.125 16.5938 10.7546 16.5938 11.5312C16.5938 12.3079 17.2234 12.9375 18 12.9375ZM22.5 15.75C22.5 16.3713 21.9963 16.875 21.375 16.875C20.7537 16.875 20.25 16.3713 20.25 15.75C20.25 15.1286 20.7537 14.625 21.375 14.625C21.9963 14.625 22.5 15.1286 22.5 15.75ZM15.75 18.8437C15.75 19.931 14.8686 20.8125 13.7812 20.8125C12.6939 20.8125 11.8125 19.931 11.8125 18.8437C11.8125 17.7564 12.6939 16.875 13.7812 16.875C14.8686 16.875 15.75 17.7564 15.75 18.8437ZM24.75 18C24.75 18.6213 24.2463 19.125 23.625 19.125C23.0037 19.125 22.5 18.6213 22.5 18C22.5 17.3786 23.0037 16.875 23.625 16.875C24.2463 16.875 24.75 17.3786 24.75 18ZM21.375 21.375C21.9963 21.375 22.5 20.8713 22.5 20.25C22.5 19.6286 21.9963 19.125 21.375 19.125C20.7537 19.125 20.25 19.6286 20.25 20.25C20.25 20.8713 20.7537 21.375 21.375 21.375ZM20.25 18C20.25 18.6213 19.7463 19.125 19.125 19.125C18.5037 19.125 18 18.6213 18 18C18 17.3786 18.5037 16.875 19.125 16.875C19.7463 16.875 20.25 17.3786 20.25 18ZM13.5 12.375C13.5 14.8602 11.4853 16.875 9 16.875C6.51472 16.875 4.5 14.8602 4.5 12.375C4.5 9.88969 6.51472 7.87497 9 7.87497C11.4853 7.87497 13.5 9.88969 13.5 12.375ZM27 16.875C29.4853 16.875 31.5 14.8602 31.5 12.375C31.5 9.88969 29.4853 7.87497 27 7.87497C24.5147 7.87497 22.5 9.88969 22.5 12.375C22.5 14.8602 24.5147 16.875 27 16.875Z"}),i.createElement("path",{fill:"currentColor",d:"M28.5791 30.1112C29.1072 30.6809 29.7143 31.0429 30.4453 31.0429C36.0352 31.0429 36.0352 24.75 36.0352 24.75C36.0352 23.2544 35.3647 18.8614 34.3587 14.7732C33.9637 21.1424 31.8281 26.3629 28.5791 30.1112Z"})),i.createElement("defs",null,i.createElement("clipPath",{id:s},i.createElement("rect",{fill:"currentColor",width:"36",height:"36"})))):"xbox"==t?n?i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 36 36"},r),i.createElement("path",{fill:"currentColor",opacity:"0.5",d:"M12.9,6.2c-0.2,0-0.4-0.1-0.5-0.2c-0.2-0.2-0.5-0.4-1.2-0.4c-1.1,0-4.5,1.1-5.1,1.7S5.6,8.4,5.6,8.4v0.1 c-0.4,0.3-0.8,0.7-1.1,1C3.4,10.7,0,20.2,0,25.3s3.4,5.6,3.4,5.6c0.9,0,2.3-1.8,3.7-3.5c1.2-1.5,2.3-3,3.1-3.2 c0.8-0.3,4.4-0.4,7.9-0.4V6.2H12.9z M8.4,14.6c-1.2,0-2.2-1-2.2-2.2s1-2.2,2.2-2.2s2.2,1,2.2,2.2S9.7,14.6,8.4,14.6z M15.8,18.8 c0,0.3-0.3,0.6-0.6,0.6h-0.8v0.8c0,0.3-0.3,0.6-0.6,0.6h-1.1c-0.3,0-0.6-0.3-0.6-0.6v-0.8h-0.8c-0.3,0-0.6-0.3-0.6-0.6v-1.1 c0-0.3,0.3-0.6,0.6-0.6h0.8v-0.8c0-0.3,0.3-0.6,0.6-0.6h1.1c0.3,0,0.6,0.3,0.6,0.6v0.8h0.8c0.3,0,0.6,0.3,0.6,0.6V18.8z"}),i.createElement("path",{fill:"currentColor",d:"M31.5,9.6c-0.3-0.3-0.7-0.6-1.1-1V8.4c0,0,0-0.6-0.6-1.1s-3.9-1.7-5.1-1.7c-0.7,0-0.9,0.2-1.2,0.4c-0.2,0.1-0.3,0.2-0.5,0.2 H18v17.6c3.5,0,7,0.1,7.9,0.4c0.8,0.3,1.9,1.7,3.1,3.2c1.4,1.7,2.8,3.5,3.7,3.5c0,0,3.4-0.6,3.4-5.6S32.6,10.7,31.5,9.6z M27.6,8.7 c0.8,0,1.4,0.6,1.4,1.4s-0.6,1.4-1.4,1.4s-1.4-0.6-1.4-1.4S26.8,8.7,27.6,8.7z M23.1,20.2c-1.2,0-2.2-1-2.2-2.2s1-2.2,2.2-2.2 s2.2,1,2.2,2.2S24.3,20.2,23.1,20.2z M25,14.1c-0.8,0-1.4-0.6-1.4-1.4c0-0.8,0.6-1.4,1.4-1.4c0.8,0,1.4,0.6,1.4,1.4 C26.4,13.4,25.8,14.1,25,14.1z M27.6,16.6c-0.8,0-1.4-0.6-1.4-1.4s0.6-1.4,1.4-1.4s1.4,0.6,1.4,1.4S28.3,16.6,27.6,16.6z M30.1,14.1 c-0.8,0-1.4-0.6-1.4-1.4c0-0.8,0.6-1.4,1.4-1.4c0.8,0,1.4,0.6,1.4,1.4C31.5,13.4,30.9,14.1,30.1,14.1z"})):i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},r),i.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M11.25 5.625C11.909 5.625 12.182 5.81802 12.4081 5.97792C12.568 6.09099 12.7045 6.1875 12.9375 6.1875H23.0625C23.2955 6.1875 23.432 6.09099 23.5919 5.97792C23.818 5.81802 24.091 5.625 24.75 5.625C25.875 5.625 29.25 6.75 29.8125 7.3125C30.375 7.875 30.375 8.4375 30.375 8.4375V8.5803C30.8163 8.91923 31.1986 9.26106 31.5 9.5625C32.625 10.6875 36 20.25 36 25.3125C36 30.375 32.625 30.9375 32.625 30.9375C31.7178 30.9375 30.323 29.1494 28.9649 27.4083C27.7966 25.9106 26.6553 24.4476 25.875 24.1875C24.1875 23.625 11.8125 23.625 10.125 24.1875C9.34465 24.4476 8.20344 25.9106 7.03512 27.4083C5.67696 29.1494 4.28215 30.9375 3.375 30.9375C3.375 30.9375 0 30.375 0 25.3125C0 20.25 3.375 10.6875 4.5 9.5625C4.80144 9.26106 5.18366 8.91923 5.625 8.5803V8.4375C5.625 8.4375 5.625 7.875 6.1875 7.3125C6.75 6.75 10.125 5.625 11.25 5.625ZM27.5625 8.71875C28.3392 8.71875 28.9688 9.34835 28.9688 10.125C28.9688 10.9017 28.3392 11.5312 27.5625 11.5312C26.7858 11.5312 26.1562 10.9017 26.1562 10.125C26.1562 9.34835 26.7858 8.71875 27.5625 8.71875ZM8.4375 14.625C9.68014 14.625 10.6875 13.6176 10.6875 12.375C10.6875 11.1324 9.68014 10.125 8.4375 10.125C7.19486 10.125 6.1875 11.1324 6.1875 12.375C6.1875 13.6176 7.19486 14.625 8.4375 14.625ZM23.0625 20.25C24.3051 20.25 25.3125 19.2426 25.3125 18C25.3125 16.7574 24.3051 15.75 23.0625 15.75C21.8199 15.75 20.8125 16.7574 20.8125 18C20.8125 19.2426 21.8199 20.25 23.0625 20.25ZM12.0938 17.1562V16.3125C12.0938 16.0018 12.3456 15.75 12.6562 15.75H13.7812C14.0919 15.75 14.3438 16.0018 14.3438 16.3125V17.1562H15.1875C15.4982 17.1562 15.75 17.4081 15.75 17.7188V18.8438C15.75 19.1544 15.4982 19.4062 15.1875 19.4062H14.3438V20.25C14.3438 20.5607 14.0919 20.8125 13.7812 20.8125H12.6562C12.3456 20.8125 12.0938 20.5607 12.0938 20.25V19.4062H11.25C10.9393 19.4062 10.6875 19.1544 10.6875 18.8438V17.7188C10.6875 17.4081 10.9393 17.1562 11.25 17.1562H12.0938ZM25.0312 14.0625C25.8079 14.0625 26.4375 13.4329 26.4375 12.6562C26.4375 11.8796 25.8079 11.25 25.0312 11.25C24.2546 11.25 23.625 11.8796 23.625 12.6562C23.625 13.4329 24.2546 14.0625 25.0312 14.0625ZM31.5 12.6562C31.5 13.4329 30.8704 14.0625 30.0938 14.0625C29.3171 14.0625 28.6875 13.4329 28.6875 12.6562C28.6875 11.8796 29.3171 11.25 30.0938 11.25C30.8704 11.25 31.5 11.8796 31.5 12.6562ZM28.9688 15.1875C28.9688 14.4108 28.3392 13.7812 27.5625 13.7812C26.7858 13.7812 26.1562 14.4108 26.1562 15.1875C26.1562 15.9642 26.7858 16.5938 27.5625 16.5938C28.3392 16.5938 28.9688 15.9642 28.9688 15.1875Z"})):"ps4"==t?n?i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 36 36"},r),i.createElement("path",{fill:"currentColor",opacity:"0.5",d:"M12.9,13.7c-0.6,0-1.1-0.5-1.1-1.1V8l-1.7,0L9.6,7.5c0,0-0.1,0-0.2,0C9.3,7.3,9.2,7.1,9,6.9 C6.7,6.5,5.2,7.1,4.7,7.4c-0.1,0-0.1,0.1-0.2,0.1C3.9,8,2.8,10.3,2.8,10.3C2.2,12,0.6,17,0,23.8c0,0-0.6,5.1,3.4,5.6 c3.5,0.4,4.6-4.1,5.2-6.5c0.2-0.7,0.3-1.2,0.4-1.4c0.3-0.3,0.7-0.5,0.9-0.5c0.6,0.7,1.5,1.1,2.5,1.1c1,0,1.9-0.4,2.5-1.1H18v-7.3 H12.9z M5.6,10.8c0-0.3,0.2-0.5,0.5-0.5h1.2c0.3,0,0.5,0.2,0.5,0.5v1c0,0.1-0.1,0.3-0.1,0.4l-0.6,0.6c-0.2,0.2-0.5,0.2-0.7,0 l-0.6-0.6c-0.1-0.1-0.1-0.2-0.1-0.4V10.8z M5.1,14.5h-1c-0.3,0-0.5-0.2-0.5-0.5v-1.2c0-0.3,0.2-0.5,0.5-0.5h1c0.1,0,0.3,0.1,0.4,0.1 L6.1,13c0.2,0.2,0.2,0.5,0,0.7l-0.6,0.6C5.4,14.4,5.3,14.5,5.1,14.5z M7.9,16c0,0.3-0.2,0.5-0.5,0.5H6.1c-0.3,0-0.5-0.2-0.5-0.5v-1 c0-0.1,0.1-0.3,0.1-0.4L6.4,14c0.2-0.2,0.5-0.2,0.7,0l0.6,0.6c0.1,0.1,0.1,0.2,0.1,0.4V16z M9.8,14c0,0.3-0.2,0.5-0.5,0.5h-1 c-0.1,0-0.3-0.1-0.4-0.1l-0.6-0.6c-0.2-0.2-0.2-0.5,0-0.7L8,12.4c0.1-0.1,0.2-0.1,0.4-0.1h1c0.3,0,0.5,0.2,0.5,0.5V14z M12.1,20.4 c-1.2,0-2.2-1-2.2-2.2c0-1.2,1-2.2,2.2-2.2c1.2,0,2.2,1,2.2,2.2C14.4,19.4,13.4,20.4,12.1,20.4z"}),i.createElement("path",{fill:"currentColor",d:"M36,23.8C35.4,17,33.8,12,33.2,10.3c0,0-1.1-2.2-1.7-2.8c0,0-0.1-0.1-0.2-0.1c-0.5-0.3-2-0.9-4.3-0.5 c-0.2,0.2-0.3,0.4-0.4,0.5c-0.1,0-0.2,0-0.2,0L25.9,8l-1.7,0v4.5c0,0.6-0.5,1.1-1.1,1.1H18V21h3.1c0.6,0.7,1.5,1.1,2.5,1.1 c1,0,1.9-0.4,2.5-1.1c0.2,0.1,0.6,0.2,0.9,0.5c0.1,0.1,0.3,0.7,0.4,1.4c0.6,2.4,1.7,6.9,5.2,6.5C36.6,28.8,36,23.8,36,23.8z M23.6,20.4c-1.2,0-2.2-1-2.2-2.2c0-1.2,1-2.2,2.2-2.2c1.2,0,2.2,1,2.2,2.2C25.9,19.4,24.9,20.4,23.6,20.4z M26.7,14.5 c-0.6,0-1.1-0.5-1.1-1.1c0-0.6,0.5-1.1,1.1-1.1c0.6,0,1.1,0.5,1.1,1.1C27.8,14,27.3,14.5,26.7,14.5z M29.2,17 c-0.6,0-1.1-0.5-1.1-1.1c0-0.6,0.5-1.1,1.1-1.1c0.6,0,1.1,0.5,1.1,1.1C30.4,16.5,29.9,17,29.2,17z M29.2,12c-0.6,0-1.1-0.5-1.1-1.1 c0-0.6,0.5-1.1,1.1-1.1c0.6,0,1.1,0.5,1.1,1.1C30.4,11.5,29.9,12,29.2,12z M31.8,14.5c-0.6,0-1.1-0.5-1.1-1.1c0-0.6,0.5-1.1,1.1-1.1 c0.6,0,1.1,0.5,1.1,1.1C32.9,14,32.4,14.5,31.8,14.5z"}),i.createElement("rect",{fill:"currentColor",opacity:"0.5",x:"12.9",y:"8",width:"5.1",height:"4.5"}),i.createElement("rect",{fill:"currentColor",x:"18",y:"8",width:"5.1",height:"4.5"})):i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},r),i.createElement("g",{clipPath:l},i.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M4.49995 7.47C3.93745 8.0325 2.81244 10.2825 2.81244 10.2825C2.24993 11.97 0.562445 17.0325 -5.43911e-05 23.7825C-5.43911e-05 23.7825 -0.562553 28.845 3.37495 29.4075C6.832 29.8396 7.9652 25.2921 8.55982 22.9059C8.73921 22.186 8.86958 21.6629 8.99995 21.5325C9.33789 21.1945 9.67584 21.0596 9.89181 21.0058C10.5086 21.6754 11.3928 22.095 12.3749 22.095C13.3745 22.095 14.2726 21.6605 14.8906 20.97H21.1093C21.7273 21.6605 22.6254 22.095 23.6249 22.095C24.6071 22.095 25.4913 21.6754 26.1081 21.0058C26.3241 21.0596 26.662 21.1945 27 21.5325C27.1303 21.6629 27.2607 22.186 27.4401 22.9059C28.0347 25.2921 29.1679 29.8396 32.625 29.4075C36.5625 28.845 36 23.7825 36 23.7825C35.4375 17.0325 33.75 11.97 33.1875 10.2825C33.1875 10.2825 32.0625 8.03251 31.4999 7.47C31.4575 7.42758 31.3927 7.39155 31.3091 7.36121C30.794 7.09333 29.2603 6.45543 26.9999 6.9075C26.8121 7.09539 26.6869 7.28328 26.6036 7.45021C26.4971 7.46255 26.4375 7.47001 26.4375 7.47001L25.875 8.0325L24.1874 8.03251V12.5325C24.1874 13.1538 23.6838 13.6575 23.0624 13.6575H12.9374C12.3161 13.6575 11.8124 13.1538 11.8124 12.5325V8.03251L10.1249 8.03249L9.56245 7.47C9.56245 7.47 9.50277 7.46254 9.39629 7.4502C9.31296 7.28328 9.18783 7.09539 8.99995 6.9075C6.73958 6.45543 5.20586 7.09333 4.6908 7.36121C4.60721 7.39155 4.54237 7.42759 4.49995 7.47ZM14.3999 18.1575C14.3999 19.4002 13.3926 20.4075 12.1499 20.4075C10.9073 20.4075 9.89995 19.4002 9.89995 18.1575C9.89995 16.9149 10.9073 15.9075 12.1499 15.9075C13.3926 15.9075 14.3999 16.9149 14.3999 18.1575ZM23.6249 20.4075C24.8676 20.4075 25.8749 19.4002 25.8749 18.1575C25.8749 16.9149 24.8676 15.9075 23.6249 15.9075C22.3823 15.9075 21.3749 16.9149 21.3749 18.1575C21.3749 19.4002 22.3823 20.4075 23.6249 20.4075ZM30.3749 10.845C30.3749 11.4663 29.8713 11.97 29.2499 11.97C28.6286 11.97 28.1249 11.4663 28.1249 10.845C28.1249 10.2237 28.6286 9.72001 29.2499 9.72001C29.8713 9.72001 30.3749 10.2237 30.3749 10.845ZM29.2499 17.0325C29.8713 17.0325 30.3749 16.5288 30.3749 15.9075C30.3749 15.2862 29.8713 14.7825 29.2499 14.7825C28.6286 14.7825 28.1249 15.2862 28.1249 15.9075C28.1249 16.5288 28.6286 17.0325 29.2499 17.0325ZM26.7187 12.2513C27.34 12.2513 27.8437 12.7549 27.8437 13.3763C27.8437 13.9976 27.34 14.5013 26.7187 14.5013C26.0974 14.5013 25.5937 13.9976 25.5937 13.3763C25.5937 12.7549 26.0974 12.2513 26.7187 12.2513ZM32.9062 13.3763C32.9062 12.7549 32.4025 12.2513 31.7812 12.2513C31.1599 12.2513 30.6562 12.7549 30.6562 13.3763C30.6562 13.9976 31.1599 14.5013 31.7812 14.5013C32.4025 14.5013 32.9062 13.9976 32.9062 13.3763ZM5.62495 10.7825C5.62495 10.5064 5.8488 10.2825 6.12495 10.2825H7.37495C7.65109 10.2825 7.87495 10.5064 7.87495 10.7825V11.7629C7.87495 11.8955 7.82227 12.0227 7.7285 12.1165L7.1035 12.7415C6.90824 12.9367 6.59166 12.9367 6.39639 12.7415L5.77139 12.1165C5.67763 12.0227 5.62495 11.8955 5.62495 11.7629V10.7825ZM6.12495 16.47C5.8488 16.47 5.62495 16.2462 5.62495 15.97V14.9896C5.62495 14.857 5.67763 14.7298 5.77139 14.6361L6.39639 14.0111C6.59166 13.8158 6.90824 13.8158 7.1035 14.0111L7.7285 14.6361C7.82227 14.7298 7.87495 14.857 7.87495 14.9896V15.97C7.87495 16.2462 7.65109 16.47 7.37495 16.47H6.12495ZM4.1562 14.5013C3.88006 14.5013 3.6562 14.2774 3.6562 14.0013V12.7513C3.6562 12.4751 3.88006 12.2513 4.1562 12.2513H5.13659C5.2692 12.2513 5.39638 12.3039 5.49014 12.3977L6.11514 13.0227C6.31041 13.218 6.31041 13.5346 6.11514 13.7298L5.49014 14.3548C5.39638 14.4486 5.2692 14.5013 5.13659 14.5013H4.1562ZM9.8437 14.0013C9.8437 14.2774 9.61984 14.5013 9.3437 14.5013H8.36331C8.2307 14.5013 8.10352 14.4486 8.00975 14.3548L7.38475 13.7298C7.18949 13.5346 7.18949 13.218 7.38475 13.0227L8.00975 12.3977C8.10352 12.3039 8.2307 12.2513 8.36331 12.2513H9.3437C9.61984 12.2513 9.8437 12.4751 9.8437 12.7513V14.0013Z"}),i.createElement("path",{fill:"currentColor",d:"M23.0624 8.03251L12.9374 8.03251V12.5325H23.0624V8.03251Z"})),i.createElement("defs",null,i.createElement("clipPath",{id:s},i.createElement("rect",{fill:"currentColor",width:"36",height:"36"})))):"ps5"==t?n?i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 36 36"},r),i.createElement("path",{fill:"currentColor",opacity:"0.5",d:"M4.7,25.2c0.5-1.7,1.2-3.4,1.8-4.5c0.9-1.6,2.4-3.3,3.5-4.5c0.9-1,1.4-2.4,1.1-3.8l-0.7-3.8 c-0.1-0.4,0-0.7,0.3-0.9l0,0c-0.4,0-0.8,0.1-1.1,0.1V7.3c0,0,0-0.6-1.7-0.6c-1.3,0-2.6,0.7-3.1,1C4.6,7.8,4.5,8,4.5,8.2v0.6 C4.3,8.9,4.1,8.9,3.9,9C2.8,9.6,0,18,0,23.1c0,2.7,0.5,4.6,0.9,5.8c0.2,0.6,0.7,1.1,1.2,1.4l0.1,0c0.5,0.2,1-0.1,1.1-0.6 C3.7,28.6,4.1,26.9,4.7,25.2z M7.9,16.3c0,0.3-0.3,0.6-0.6,0.6H6.2c-0.3,0-0.6-0.3-0.6-0.6v-0.9c0-0.1,0.1-0.3,0.2-0.4l0.6-0.6 c0.2-0.2,0.6-0.2,0.8,0L7.7,15c0.1,0.1,0.2,0.2,0.2,0.4V16.3z M9,9.1c0.3-0.1,0.6,0,0.8,0.3l0.3,0.6c0.1,0.3,0,0.6-0.3,0.8 c-0.3,0.1-0.6,0-0.8-0.3L8.8,9.8C8.6,9.5,8.8,9.2,9,9.1z M8,12.8c0.1-0.1,0.2-0.2,0.4-0.2h0.9c0.3,0,0.6,0.3,0.6,0.6v1.1 c0,0.3-0.3,0.6-0.6,0.6H8.4c-0.1,0-0.3-0.1-0.4-0.2l-0.6-0.6c-0.2-0.2-0.2-0.6,0-0.8L8,12.8z M5.6,11.2c0-0.3,0.3-0.6,0.6-0.6h1.1 c0.3,0,0.6,0.3,0.6,0.6v0.9c0,0.1-0.1,0.3-0.2,0.4l-0.6,0.6c-0.2,0.2-0.6,0.2-0.8,0l-0.6-0.6c-0.1-0.1-0.2-0.2-0.2-0.4V11.2z M3.7,13.2c0-0.3,0.3-0.6,0.6-0.6h0.9c0.1,0,0.3,0.1,0.4,0.2l0.6,0.6c0.2,0.2,0.2,0.6,0,0.8l-0.6,0.6c-0.1,0.1-0.2,0.2-0.4,0.2H4.2 c-0.3,0-0.6-0.3-0.6-0.6V13.2z"}),i.createElement("path",{fill:"currentColor",d:"M23.8,13.5l0.6-2l0.5-3c0-0.2,0-0.3-0.1-0.4c-0.1-0.1-0.4-0.3-0.7-0.4c-0.1,0-0.2-0.1-0.3-0.1c-1.7-0.1-3.7-0.2-5.9-0.2v7.6 h4C22.8,14.9,23.6,14.3,23.8,13.5z"}),i.createElement("path",{fill:"currentColor",opacity:"0.5",d:"M12,7.5c-0.1,0-0.1,0-0.2,0.1c-0.3,0.1-0.5,0.3-0.7,0.4C11,8.2,11,8.3,11,8.5l0.5,2.9l0.6,2.1 c0.3,0.8,1,1.4,1.9,1.4h4V7.3C15.8,7.3,13.7,7.4,12,7.5z"}),i.createElement("path",{fill:"currentColor",opacity:"0.5",d:"M14,15.5c-1,0-2-0.6-2.4-1.6c-0.2,1-0.6,1.9-1.3,2.7C9.3,17.8,7.9,19.4,7,21c-0.6,1-1.2,2.7-1.8,4.4 c-0.5,1.7-1,3.4-1.3,4.5c-0.1,0.4-0.3,0.7-0.6,0.8l0,0c1,0.2,2-0.4,2.3-1.3l1.9-4.7c0.5-1.3,1.8-2.1,3.1-2.1H18v-7H14z M12.4,21.4 c-1.2,0-2.2-1-2.2-2.2s1-2.2,2.2-2.2s2.2,1,2.2,2.2S13.6,21.4,12.4,21.4z"}),i.createElement("path",{fill:"currentColor",d:"M32.1,29.8c-0.3-1.1-0.7-2.8-1.3-4.5C30.2,23.6,29.6,22,29,21c-0.9-1.5-2.3-3.2-3.4-4.4c-0.7-0.8-1.1-1.7-1.3-2.7 c-0.4,1-1.3,1.6-2.4,1.6h-4v7h7.3c1.4,0,2.6,0.8,3.1,2.1l1.9,4.7c0.4,0.9,1.3,1.5,2.3,1.3l0,0C32.4,30.5,32.2,30.2,32.1,29.8z M23.6,21.4c-1.2,0-2.2-1-2.2-2.2s1-2.2,2.2-2.2s2.2,1,2.2,2.2S24.9,21.4,23.6,21.4z"}),i.createElement("path",{fill:"currentColor",d:"M32.1,9c-0.1-0.1-0.3-0.1-0.6-0.2V8.2c0-0.2-0.1-0.4-0.3-0.5c-0.5-0.3-1.8-1-3.1-1c-1.7,0-1.7,0.6-1.7,0.6v0.5 c-0.4,0-0.8-0.1-1.2-0.1l0,0c0.2,0.2,0.3,0.6,0.3,0.9l-0.5,3l0,0l0,0l-0.1,0.7c-0.2,1.4,0.2,2.8,1.1,3.8c1.1,1.2,2.5,3,3.5,4.5 c0.6,1.1,1.3,2.8,1.8,4.5c0.5,1.7,1,3.4,1.3,4.5c0.1,0.5,0.6,0.8,1.1,0.6l0.1,0c0.5-0.3,1-0.8,1.2-1.4c0.4-1.2,0.9-3.1,0.9-5.8 C36,18,33.2,9.6,32.1,9z M29.2,10.1c0.6,0,1.1,0.5,1.1,1.1s-0.5,1.1-1.1,1.1s-1.1-0.5-1.1-1.1S28.6,10.1,29.2,10.1z M25.9,9.9 l0.3-0.6C26.4,9,26.7,8.9,27,9.1c0.3,0.1,0.4,0.5,0.3,0.8l-0.3,0.6c-0.1,0.3-0.5,0.4-0.8,0.3C25.9,10.5,25.8,10.2,25.9,9.9z M27,14.6c-0.6,0-1.1-0.5-1.1-1.1s0.5-1.1,1.1-1.1s1.1,0.5,1.1,1.1S27.6,14.6,27,14.6z M29.2,16.9c-0.6,0-1.1-0.5-1.1-1.1 s0.5-1.1,1.1-1.1s1.1,0.5,1.1,1.1S29.9,16.9,29.2,16.9z M31.5,14.6c-0.6,0-1.1-0.5-1.1-1.1s0.5-1.1,1.1-1.1s1.1,0.5,1.1,1.1 S32.1,14.6,31.5,14.6z"})):i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},r),i.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 8.77962V8.17604C4.5 7.98797 4.59324 7.8129 4.75606 7.71875C5.29052 7.40971 6.58276 6.75 7.875 6.75C9.5625 6.75 9.5625 7.3125 9.5625 7.3125V7.79346C9.92732 7.74841 10.3079 7.7053 10.7038 7.66469L10.7001 7.66881C10.4768 7.91891 10.3639 8.22982 10.4289 8.58762L11.114 12.3555C11.3614 13.7163 10.9231 15.1154 9.99052 16.155C8.88458 17.3878 7.44481 19.1078 6.50883 20.6678C5.85918 21.7505 5.21964 23.4605 4.67636 25.1549C4.13086 26.8562 3.67463 28.5672 3.3961 29.6673C3.27268 30.1547 2.76181 30.4366 2.2902 30.2794L2.14425 30.2308C1.59878 29.9208 1.15999 29.4611 0.929107 28.8508C0.480791 27.6656 0 25.7647 0 23.0625C0 18 2.8125 9.5625 3.9375 9C4.07055 8.93348 4.25867 8.85908 4.5 8.77962ZM5.625 11.25C5.625 10.9393 5.87684 10.6875 6.1875 10.6875H7.3125C7.62316 10.6875 7.875 10.9393 7.875 11.25V12.142C7.875 12.2912 7.81574 12.4343 7.71025 12.5398L7.14775 13.1023C6.92808 13.3219 6.57192 13.3219 6.35225 13.1023L5.78975 12.5398C5.68426 12.4343 5.625 12.2912 5.625 12.142V11.25ZM5.625 16.3125C5.625 16.6232 5.87684 16.875 6.1875 16.875H7.3125C7.62316 16.875 7.875 16.6232 7.875 16.3125V15.4205C7.875 15.2713 7.81574 15.1282 7.71025 15.0227L7.14775 14.4602C6.92808 14.2406 6.57192 14.2406 6.35225 14.4602L5.78975 15.0227C5.68426 15.1282 5.625 15.2713 5.625 15.4205V16.3125ZM9.84375 14.3438C9.84375 14.6544 9.59191 14.9062 9.28125 14.9062H8.38924C8.24006 14.9062 8.09699 14.847 7.9915 14.7415L7.429 14.179C7.20933 13.9593 7.20933 13.6032 7.429 13.3835L7.9915 12.821C8.09699 12.7155 8.24006 12.6562 8.38925 12.6562H9.28125C9.59191 12.6562 9.84375 12.9081 9.84375 13.2188V14.3438ZM4.21875 14.9062C3.90809 14.9062 3.65625 14.6544 3.65625 14.3438V13.2188C3.65625 12.9081 3.90809 12.6562 4.21875 12.6562H5.11076C5.25994 12.6562 5.40301 12.7155 5.5085 12.821L6.071 13.3835C6.29067 13.6032 6.29067 13.9593 6.071 14.179L5.5085 14.7415C5.40301 14.847 5.25994 14.9062 5.11076 14.9062H4.21875ZM9.0297 9.05937C9.30756 8.92044 9.64544 9.03307 9.78437 9.31093L10.0656 9.87343C10.2046 10.1513 10.0919 10.4892 9.81406 10.6281C9.5362 10.767 9.19832 10.6544 9.05939 10.3765L8.77814 9.81404C8.63921 9.53618 8.75183 9.1983 9.0297 9.05937Z"}),i.createElement("path",{fill:"currentColor",d:"M18 7.3125C15.7603 7.3125 13.748 7.4035 11.9892 7.54668C11.9209 7.57082 11.8551 7.59586 11.7919 7.62185C11.4768 7.75142 11.2526 7.89452 11.1197 8.04343C10.9961 8.18189 10.9523 8.32182 10.9824 8.48699L11.5138 11.4097L12.1573 13.5129C12.4103 14.3408 13.1744 14.9062 14.0401 14.9062H21.9642C22.8281 14.9062 23.591 14.3431 23.8456 13.5176L24.4729 11.483L25.0176 8.48699C25.0463 8.32909 25.0039 8.1935 24.8798 8.05684C24.7463 7.90988 24.5214 7.76808 24.2057 7.6392C24.1215 7.60486 24.0327 7.57213 23.9398 7.54094C22.1978 7.40107 20.2096 7.3125 18 7.3125Z"}),i.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M3.37124 30.6556L3.34019 30.6503C3.62833 30.4606 3.84996 30.1665 3.94139 29.8054C4.2185 28.7109 4.67149 27.0124 5.212 25.3266C5.75474 23.6339 6.37801 21.9791 6.99117 20.9572C7.89825 19.4454 9.30802 17.7581 10.4092 16.5306C11.085 15.7773 11.5326 14.8493 11.6859 13.8677C12.0647 14.8275 12.9948 15.4687 14.0401 15.4687H21.9642C23.0065 15.4687 23.9345 14.8312 24.3153 13.8755C24.4698 14.8543 24.9168 15.7794 25.5908 16.5306C26.692 17.7581 28.1017 19.4454 29.0088 20.9572C29.622 21.9791 30.2453 23.6339 30.788 25.3266C31.3285 27.0124 31.7815 28.7109 32.0586 29.8054C32.15 30.1664 32.3717 30.4606 32.6598 30.6503L32.6288 30.6556C31.6413 30.8202 30.6725 30.275 30.3007 29.3455L28.4111 24.6216C27.8986 23.3402 26.6576 22.5 25.2775 22.5H10.7225C9.34243 22.5 8.10142 23.3402 7.58888 24.6216L5.69928 29.3455C5.3275 30.275 4.35868 30.8202 3.37124 30.6556ZM25.875 19.125C25.875 20.3676 24.8676 21.375 23.625 21.375C22.3824 21.375 21.375 20.3676 21.375 19.125C21.375 17.8824 22.3824 16.875 23.625 16.875C24.8676 16.875 25.875 17.8824 25.875 19.125ZM12.375 21.375C13.6176 21.375 14.625 20.3676 14.625 19.125C14.625 17.8824 13.6176 16.875 12.375 16.875C11.1324 16.875 10.125 17.8824 10.125 19.125C10.125 20.3676 11.1324 21.375 12.375 21.375Z"}),i.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M33.7098 30.2794L33.8557 30.2308C34.4012 29.9208 34.84 29.4611 35.0709 28.8508C35.5192 27.6656 36 25.7647 36 23.0625C36 18 33.1875 9.5625 32.0625 9C31.9295 8.93348 31.7413 8.85908 31.5 8.77962V8.17604C31.5 7.98797 31.4068 7.8129 31.2439 7.71875C30.7095 7.40971 29.4172 6.75 28.125 6.75C26.4375 6.75 26.4375 7.3125 26.4375 7.3125V7.79346C26.0683 7.74787 25.683 7.70427 25.282 7.66324L25.2962 7.67864C25.52 7.92502 25.6356 8.23268 25.5711 8.58762L25.0274 11.5776L25.0319 11.579L25.0203 11.6166L24.886 12.3555C24.6386 13.7163 25.0769 15.1154 26.0095 16.155C27.1154 17.3878 28.5552 19.1078 29.4912 20.6678C30.1408 21.7505 30.7804 23.4605 31.3236 25.1549C31.8691 26.8562 32.3254 28.5672 32.6039 29.6673C32.7273 30.1547 33.2382 30.4366 33.7098 30.2794ZM26.2156 9.31093C26.3546 9.03307 26.6924 8.92044 26.9703 9.05937C27.2482 9.1983 27.3608 9.53618 27.2219 9.81404L26.9406 10.3765C26.8017 10.6544 26.4638 10.767 26.1859 10.6281C25.9081 10.4892 25.7954 10.1513 25.9344 9.87343L26.2156 9.31093ZM30.375 15.75C30.375 16.3713 29.8713 16.875 29.25 16.875C28.6287 16.875 28.125 16.3713 28.125 15.75C28.125 15.1287 28.6287 14.625 29.25 14.625C29.8713 14.625 30.375 15.1287 30.375 15.75ZM31.5 14.625C32.1213 14.625 32.625 14.1213 32.625 13.5C32.625 12.8787 32.1213 12.375 31.5 12.375C30.8787 12.375 30.375 12.8787 30.375 13.5C30.375 14.1213 30.8787 14.625 31.5 14.625ZM30.375 11.25C30.375 11.8713 29.8713 12.375 29.25 12.375C28.6287 12.375 28.125 11.8713 28.125 11.25C28.125 10.6287 28.6287 10.125 29.25 10.125C29.8713 10.125 30.375 10.6287 30.375 11.25ZM27 14.625C27.6213 14.625 28.125 14.1213 28.125 13.5C28.125 12.8787 27.6213 12.375 27 12.375C26.3787 12.375 25.875 12.8787 25.875 13.5C25.875 14.1213 26.3787 14.625 27 14.625Z"})):"switchpro"==t?i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},r),i.createElement("path",{fill:"currentColor",d:"M3.375 30.375C0 30.375 0 25.875 0 25.875C0 25.875 0.679114 19.5689 1.65511 14.6014C2.11919 15.2235 2.72448 16.0277 3.42078 16.936C4.97674 18.9655 6.99227 21.5211 8.90421 23.7256C8.37233 24.3118 7.95006 25.2335 7.50451 26.2061C6.59778 28.1853 5.59464 30.375 3.375 30.375Z"}),i.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M9.94135 23.2037C10.5784 23.0625 11.25 23.0625 11.25 23.0625H24.75C24.75 23.0625 25.4216 23.0625 26.0586 23.2037C28.0029 20.9779 30.0841 18.3414 31.6864 16.2515C32.493 15.1994 33.1768 14.2877 33.6589 13.639C33.8038 13.444 33.9305 13.2728 34.0368 13.1288C33.6024 11.1876 33.1223 9.62156 32.625 8.99998C30.9375 6.75 24.75 6.75 24.75 6.75H11.25C11.25 6.75 5.0625 6.75 3.375 8.99998C2.87774 9.62156 2.39764 11.1876 1.96319 13.1288C2.06947 13.2728 2.19616 13.444 2.34111 13.639C2.82318 14.2877 3.50702 15.1994 4.31359 16.2515C5.91589 18.3414 7.99714 20.9779 9.94135 23.2037ZM27.5062 9.11247C28.2829 9.11247 28.9125 9.74207 28.9125 10.5187C28.9125 11.2954 28.2829 11.925 27.5062 11.925C26.7296 11.925 26.1 11.2954 26.1 10.5187C26.1 9.74207 26.7296 9.11247 27.5062 9.11247ZM8.1 15.1875C9.34264 15.1875 10.35 14.1801 10.35 12.9375C10.35 11.6949 9.34264 10.6875 8.1 10.6875C6.85736 10.6875 5.85 11.6949 5.85 12.9375C5.85 14.1801 6.85736 15.1875 8.1 15.1875ZM22.725 20.25C23.9676 20.25 24.975 19.2426 24.975 18C24.975 16.7574 23.9676 15.75 22.725 15.75C21.4824 15.75 20.475 16.7574 20.475 18C20.475 19.2426 21.4824 20.25 22.725 20.25ZM31.725 13.1063C31.725 13.8829 31.0954 14.5125 30.3187 14.5125C29.5421 14.5125 28.9125 13.8829 28.9125 13.1063C28.9125 12.3296 29.5421 11.7 30.3187 11.7C31.0954 11.7 31.725 12.3296 31.725 13.1063ZM24.6937 14.5125C25.4704 14.5125 26.1 13.8829 26.1 13.1063C26.1 12.3296 25.4704 11.7 24.6937 11.7C23.9171 11.7 23.2875 12.3296 23.2875 13.1063C23.2875 13.8829 23.9171 14.5125 24.6937 14.5125ZM28.9125 15.4688C28.9125 14.6921 28.2829 14.0625 27.5062 14.0625C26.7296 14.0625 26.1 14.6921 26.1 15.4688C26.1 16.2454 26.7296 16.875 27.5062 16.875C28.2829 16.875 28.9125 16.2454 28.9125 15.4688ZM11.5312 17.1562V16.3125C11.5312 16.0018 11.7831 15.75 12.0938 15.75H13.2188C13.5294 15.75 13.7812 16.0018 13.7812 16.3125V17.1562H14.625C14.9357 17.1562 15.1875 17.4081 15.1875 17.7188V18.8438C15.1875 19.1544 14.9357 19.4062 14.625 19.4062H13.7812V20.25C13.7812 20.5607 13.5294 20.8125 13.2188 20.8125H12.0938C11.7831 20.8125 11.5312 20.5607 11.5312 20.25V19.4062H10.6875C10.3768 19.4062 10.125 19.1544 10.125 18.8438V17.7188C10.125 17.4081 10.3768 17.1562 10.6875 17.1562H11.5312Z"}),i.createElement("path",{fill:"currentColor",d:"M34.3449 14.6014C33.8808 15.2235 33.2755 16.0277 32.5792 16.936C31.0233 18.9655 29.0077 21.5211 27.0958 23.7256C27.6277 24.3118 28.0499 25.2335 28.4955 26.2061C29.4022 28.1853 30.4054 30.375 32.625 30.375C36 30.375 36 25.875 36 25.875C36 25.875 35.3209 19.5689 34.3449 14.6014Z"})):i.createElement(d,Object.assign({},r))}function m(e){const{controllerType:t}=e,n=(0,o._T)(e,["controllerType"]);switch(t){case 4:return i.createElement(p,Object.assign({},n));case 34:case 47:return i.createElement(h,Object.assign({type:"ps4"},n));case 45:case 48:return i.createElement(h,Object.assign({type:"ps5"},n));case 2:return i.createElement(h,Object.assign({type:"steam"},n));case 31:case 32:case 46:return i.createElement(h,Object.assign({type:"xbox"},n));case 42:case 39:case 40:case 41:case 38:case 44:return i.createElement(h,Object.assign({type:"switchpro"},n));default:return i.createElement(h,Object.assign({type:"generic"},n))}}function p(e){const{type:t,partial:n}=e,r=(0,o._T)(e,["type","partial"]);return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},r),i.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M0 11C0 9.89543 0.895431 9 2 9H34C35.1046 9 36 9.89543 36 11V24C36 25.6569 34.6569 27 33 27H3C1.34315 27 0 25.6569 0 24V11ZM33 16C33 16.5523 32.5523 17 32 17C31.4477 17 31 16.5523 31 16C31 15.4477 31.4477 15 32 15C32.5523 15 33 15.4477 33 16ZM32 13C32.5523 13 33 12.5523 33 12C33 11.4477 32.5523 11 32 11C31.4477 11 31 11.4477 31 12C31 12.5523 31.4477 13 32 13ZM35 14C35 14.5523 34.5523 15 34 15C33.4477 15 33 14.5523 33 14C33 13.4477 33.4477 13 34 13C34.5523 13 35 13.4477 35 14ZM30 15C30.5523 15 31 14.5523 31 14C31 13.4477 30.5523 13 30 13C29.4477 13 29 13.4477 29 14C29 14.5523 29.4477 15 30 15ZM6 14C6 15.1046 5.10457 16 4 16C2.89543 16 2 15.1046 2 14C2 12.8954 2.89543 12 4 12C5.10457 12 6 12.8954 6 14ZM2.5 21C2.22386 21 2 21.2239 2 21.5V24.5C2 24.7761 2.22386 25 2.5 25H5.5C5.77614 25 6 24.7761 6 24.5V21.5C6 21.2239 5.77614 21 5.5 21H2.5ZM30 21.5C30 21.2239 30.2239 21 30.5 21H33.5C33.7761 21 34 21.2239 34 21.5V24.5C34 24.7761 33.7761 25 33.5 25H30.5C30.2239 25 30 24.7761 30 24.5V21.5ZM28 11H8V25H28V11Z"}))}function g(e){const{direction:t}=e,n=(0,o._T)(e,["direction"]);switch(t){case"up":return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},n),i.createElement("path",{d:"M17.98 10.23L3.20996 25H32.75L17.98 10.23Z",fill:"currentColor"}));case"down":return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},n),i.createElement("path",{d:"M17.98 26.54L3.20996 11.77H32.75L17.98 26.54Z",fill:"currentColor"}));case"left":return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},n),i.createElement("path",{d:"M9.82497 18.385L24.595 3.61499L24.595 33.155L9.82497 18.385Z",fill:"currentColor"}));case"right":return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},n),i.createElement("path",{d:"M26.135 18.385L11.365 33.155L11.365 3.61503L26.135 18.385Z",fill:"currentColor"}))}}function v(e){const{direction:t}=e;(0,o._T)(e,["direction"]);switch(t){case"up":return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{fill:"currentColor",d:"M31 15.6394L18.0204 3L5 15.6394L8.60376 19.1432L18.0204 10.0076L27.4166 19.1432L31 15.6394ZM27.3962 33L18.0204 23.8644L8.62412 33L5 29.4962L18.0204 16.8568L31 29.4962L27.3962 33Z"}));case"down":return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{fill:"currentColor",d:"M31 20.3606L18.0204 33L5 20.3606L8.60376 16.8568L18.0204 25.9924L27.4166 16.8568L31 20.3606ZM27.3962 3L18.0204 12.1356L8.62412 3L5 6.50379L18.0204 19.1432L31 6.50379L27.3962 3Z"}));case"left":return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{d:"M14.23 30.75L1.45996 18L14.23 5.20999L17.77 8.74999L8.53996 18L17.77 27.23L14.23 30.75ZM31.77 27.21L22.54 18L31.77 8.76999L28.23 5.20999L15.46 18L28.23 30.75L31.77 27.21Z",fill:"currentColor"}));case"right":return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{d:"M19 30.75L31.77 18L19 5.20999L15.46 8.74999L24.69 18L15.46 27.23L19 30.75ZM1.46002 27.21L10.69 18L1.46002 8.76999L5.00002 5.20999L17.77 18L5.00002 30.75L1.46002 27.21Z",fill:"currentColor"}))}}function f(e){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{d:"M21.75 18C21.75 18.7417 21.5301 19.4667 21.118 20.0834C20.706 20.7001 20.1203 21.1807 19.4351 21.4645C18.7498 21.7484 17.9958 21.8226 17.2684 21.6779C16.541 21.5332 15.8728 21.1761 15.3484 20.6517C14.8239 20.1272 14.4668 19.459 14.3221 18.7316C14.1774 18.0042 14.2516 17.2502 14.5355 16.5649C14.8193 15.8797 15.2999 15.294 15.9166 14.882C16.5333 14.4699 17.2583 14.25 18 14.25C18.9946 14.25 19.9484 14.6451 20.6517 15.3483C21.3549 16.0516 21.75 17.0054 21.75 18ZM6 14.25C5.25832 14.25 4.5333 14.4699 3.91661 14.882C3.29993 15.294 2.81928 15.8797 2.53545 16.5649C2.25162 17.2502 2.17736 18.0042 2.32206 18.7316C2.46675 19.459 2.8239 20.1272 3.34835 20.6517C3.8728 21.1761 4.54098 21.5332 5.26841 21.6779C5.99584 21.8226 6.74984 21.7484 7.43506 21.4645C8.12029 21.1807 8.70596 20.7001 9.11801 20.0834C9.53007 19.4667 9.75 18.7417 9.75 18C9.75 17.0054 9.35491 16.0516 8.65165 15.3483C7.94839 14.6451 6.99456 14.25 6 14.25ZM30 14.25C29.2583 14.25 28.5333 14.4699 27.9166 14.882C27.2999 15.294 26.8193 15.8797 26.5355 16.5649C26.2516 17.2502 26.1774 18.0042 26.3221 18.7316C26.4668 19.459 26.8239 20.1272 27.3484 20.6517C27.8728 21.1761 28.541 21.5332 29.2684 21.6779C29.9958 21.8226 30.7498 21.7484 31.4351 21.4645C32.1203 21.1807 32.706 20.7001 33.118 20.0834C33.5301 19.4667 33.75 18.7417 33.75 18C33.75 17.0054 33.3549 16.0516 32.6517 15.3483C31.9484 14.6451 30.9946 14.25 30 14.25Z",fill:"currentColor"}))}function _(e){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e,{className:(0,l.Z)(e.className,s().Spinner)}),i.createElement("path",{d:"M18 10C17.4696 10 16.9609 9.78929 16.5858 9.41421C16.2107 9.03914 16 8.53043 16 8V3H20V8C20 8.53043 19.7893 9.03914 19.4142 9.41421C19.0391 9.78929 18.5304 10 18 10Z",fill:"currentColor"}),i.createElement("path",{d:"M23.66 12.34C23.2875 11.9653 23.0784 11.4584 23.0784 10.93C23.0784 10.4016 23.2875 9.89473 23.66 9.52L27.19 6L30 8.81L26.47 12.34C26.0957 12.7095 25.5909 12.9166 25.065 12.9166C24.5391 12.9166 24.0343 12.7095 23.66 12.34Z",fill:"currentColor"}),i.createElement("path",{d:"M33 20H28C27.4696 20 26.9609 19.7893 26.5858 19.4142C26.2107 19.0391 26 18.5304 26 18C26 17.4696 26.2107 16.9609 26.5858 16.5858C26.9609 16.2107 27.4696 16 28 16H33V20Z",fill:"currentColor"}),i.createElement("path",{d:"M27.19 30L23.66 26.46C23.2875 26.0853 23.0784 25.5783 23.0784 25.05C23.0784 24.5216 23.2875 24.0147 23.66 23.64C23.8458 23.454 24.0663 23.3065 24.3091 23.2059C24.5519 23.1052 24.8122 23.0534 25.075 23.0534C25.3378 23.0534 25.5981 23.1052 25.8409 23.2059C26.0837 23.3065 26.3043 23.454 26.49 23.64L30 27.19L27.19 30Z",fill:"currentColor"}),i.createElement("path",{d:"M20 33H16V28C16 27.4696 16.2107 26.9609 16.5858 26.5858C16.9609 26.2107 17.4696 26 18 26C18.5304 26 19.0391 26.2107 19.4142 26.5858C19.7893 26.9609 20 27.4696 20 28V33Z",fill:"currentColor"}),i.createElement("path",{d:"M8.81 30L6 27.19L9.53 23.66C9.71575 23.474 9.93632 23.3265 10.1791 23.2259C10.4219 23.1252 10.6822 23.0734 10.945 23.0734C11.2078 23.0734 11.4681 23.1252 11.7109 23.2259C11.9537 23.3265 12.1743 23.474 12.36 23.66C12.7325 24.0347 12.9416 24.5416 12.9416 25.07C12.9416 25.5984 12.7325 26.1053 12.36 26.48L8.81 30Z",fill:"currentColor"}),i.createElement("path",{d:"M8 20H3V16H8C8.53043 16 9.03914 16.2107 9.41421 16.5858C9.78929 16.9609 10 17.4696 10 18C10 18.5304 9.78929 19.0391 9.41421 19.4142C9.03914 19.7893 8.53043 20 8 20Z",fill:"currentColor"}),i.createElement("path",{d:"M9.51 12.34L6 8.81L8.81 6L12.34 9.54C12.7125 9.91472 12.9216 10.4216 12.9216 10.95C12.9216 11.4784 12.7125 11.9853 12.34 12.36C12.1529 12.5446 11.9313 12.6906 11.6878 12.7895C11.4443 12.8885 11.1837 12.9385 10.9209 12.9366C10.658 12.9347 10.3981 12.8811 10.156 12.7787C9.91396 12.6764 9.69443 12.5273 9.51 12.34Z",fill:"currentColor"}))}function C(e){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{d:"M7 14H29L27 32H9L7 14ZM24 6L22 2H14L12 6H4V10H32V6H24Z",fill:"currentColor"}))}function b(e){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.66645 5.52796C12.1332 3.87973 15.0333 3 18 3C19.9698 3 21.9204 3.38799 23.7403 4.14181C25.5601 4.89563 27.2137 6.00052 28.6066 7.3934C29.9995 8.78628 31.1044 10.4399 31.8582 12.2597C32.612 14.0796 33 16.0302 33 18C33 20.9667 32.1203 23.8668 30.472 26.3336C28.8238 28.8003 26.4811 30.7229 23.7403 31.8582C20.9994 32.9935 17.9834 33.2906 15.0737 32.7118C12.1639 32.133 9.49119 30.7044 7.3934 28.6066C5.29562 26.5088 3.86701 23.8361 3.28823 20.9264C2.70945 18.0166 3.0065 15.0006 4.14181 12.2597C5.27713 9.51886 7.19972 7.17618 9.66645 5.52796ZM9.5056 13.3333C9.17595 13.8266 9.00001 14.4067 9.00001 15C9.00001 15.7956 9.31608 16.5587 9.87869 17.1213C10.4413 17.6839 11.2044 18 12 18C12.5934 18 13.1734 17.8241 13.6667 17.4944C14.1601 17.1648 14.5446 16.6962 14.7716 16.1481C14.9987 15.5999 15.0581 14.9967 14.9424 14.4147C14.8266 13.8328 14.5409 13.2982 14.1213 12.8787C13.7018 12.4591 13.1672 12.1734 12.5853 12.0576C12.0033 11.9419 11.4001 12.0013 10.852 12.2284C10.3038 12.4554 9.83524 12.8399 9.5056 13.3333ZM22.3333 17.4944C22.8266 17.8241 23.4067 18 24 18C24.7957 18 25.5587 17.6839 26.1213 17.1213C26.6839 16.5587 27 15.7956 27 15C27 14.4067 26.8241 13.8266 26.4944 13.3333C26.1648 12.8399 25.6962 12.4554 25.1481 12.2284C24.5999 12.0013 23.9967 11.9419 23.4147 12.0576C22.8328 12.1734 22.2982 12.4591 21.8787 12.8787C21.4591 13.2982 21.1734 13.8328 21.0576 14.4147C20.9419 14.9967 21.0013 15.5999 21.2284 16.1481C21.4554 16.6962 21.8399 17.1648 22.3333 17.4944ZM23 22C23 23.3261 22.4732 24.5979 21.5355 25.5355C20.5979 26.4732 19.3261 27 18 27C16.6739 27 15.4021 26.4732 14.4645 25.5355C13.5268 24.5979 13 23.3261 13 22H23Z",fill:"currentColor"}))}function w(e){return i.createElement("svg",Object.assign({width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.7 15.2077C31.703 12.5623 30.94 9.97259 29.5032 7.75136C28.0664 5.53014 26.0172 3.77242 23.6031 2.69048C21.189 1.60855 18.5133 1.24869 15.8992 1.65436C13.2851 2.06002 10.8443 3.21387 8.87163 4.97655C6.89899 6.73922 5.47888 9.03532 4.78281 11.5875C4.08673 14.1397 4.14447 16.8389 4.94905 19.359C5.75363 21.8791 7.27063 24.1124 9.31684 25.7891C11.363 27.4658 13.8509 28.5142 16.48 28.8077V34.5077L27.31 25.2477C28.6947 23.9675 29.7996 22.4147 30.5551 20.6869C31.3106 18.959 31.7004 17.0935 31.7 15.2077ZM15.3 7.06885L16.3075 16.9577H20.1309L21.1039 7.06885H15.3ZM20.6927 22.0125C20.6927 23.3774 19.5862 24.4838 18.2213 24.4838C16.8564 24.4838 15.7499 23.3774 15.7499 22.0125C15.7499 20.6475 16.8564 19.5411 18.2213 19.5411C19.5862 19.5411 20.6927 20.6475 20.6927 22.0125Z",fill:"currentColor"}))}function E(e){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{d:"M2 6.05005V30.05H34V6.05005H2ZM8 27.05H5V23.05H8V27.05ZM8 20.05H5V16.05H8V20.05ZM8 13.05H5V9.05005H8V13.05ZM14 23.82V12.28L24 18.05L14 23.82ZM31 27.05H28V23.05H31V27.05ZM31 20.05H28V16.05H31V20.05ZM31 13.05H28V9.05005H31V13.05Z",fill:"currentColor"}))}function S(e){const{alert:t,urgent:n}=e,r=(0,o._T)(e,["alert","urgent"]);return n?i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},r),i.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M21.1862 2.52116C20.1687 2.17914 19.0936 2 18 2C15.3478 2 12.8043 3.05357 10.9289 4.92893C9.05357 6.8043 8 9.34784 8 12V19L4 24V26H32V24L28 19V14.4025C23.9218 12.9611 21 9.07177 21 4.5C21 3.82354 21.064 3.16202 21.1862 2.52116ZM21.46 32.897C20.4483 33.6133 19.2396 33.9986 18 34C16.7604 33.9986 15.5517 33.6133 14.54 32.897C13.5282 32.1807 12.7632 31.1687 12.35 30H23.65C23.2368 31.1687 22.4718 32.1807 21.46 32.897Z"}),i.createElement("path",{fill:"#FFC82C",d:"M36 4.5C36 6.98528 33.9853 9 31.5 9C29.0147 9 27 6.98528 27 4.5C27 2.01472 29.0147 0 31.5 0C33.9853 0 36 2.01472 36 4.5Z"})):t?i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},r),i.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M21.1862 2.52116C20.1687 2.17914 19.0936 2 18 2C15.3478 2 12.8043 3.05357 10.9289 4.92893C9.05357 6.8043 8 9.34784 8 12V19L4 24V26H32V24L28 19V14.4025C23.9218 12.9611 21 9.07177 21 4.5C21 3.82354 21.064 3.16202 21.1862 2.52116ZM21.46 32.897C20.4483 33.6133 19.2396 33.9986 18 34C16.7604 33.9986 15.5517 33.6133 14.54 32.897C13.5282 32.1807 12.7632 31.1687 12.35 30H23.65C23.2368 31.1687 22.4718 32.1807 21.46 32.897Z"}),i.createElement("path",{fill:"#1A9FFF",d:"M36 4.5C36 6.98528 33.9853 9 31.5 9C29.0147 9 27 6.98528 27 4.5C27 2.01472 29.0147 0 31.5 0C33.9853 0 36 2.01472 36 4.5Z"})):i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},r),i.createElement("g",{className:"SVGIcon_Notification"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32 24V26H4V24L8 19V12C8 9.34784 9.05357 6.8043 10.9289 4.92893C12.8043 3.05357 15.3478 2 18 2C20.6522 2 23.1957 3.05357 25.0711 4.92893C26.9464 6.8043 28 9.34784 28 12V19L32 24Z",fill:"currentColor"}),i.createElement("path",{className:"SVGIcon_Notification_Uvula",fillRule:"evenodd",clipRule:"evenodd",d:"M18 34C19.2396 33.9986 20.4483 33.6133 21.46 32.897C22.4718 32.1807 23.2368 31.1687 23.65 30H12.35C12.7632 31.1687 13.5282 32.1807 14.54 32.897C15.5517 33.6133 16.7604 33.9986 18 34Z",fill:"currentColor"})))}function D(e){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.73 28.34C15.6223 29.3235 18.732 29.4785 21.7078 28.7876C24.6836 28.0966 27.4069 26.5873 29.57 24.43L36 18L29.57 11.57C28 10 26.5 9 23.94 7.94C20.9843 6.77796 17.7541 6.50244 14.6444 7.14712C11.5346 7.7918 8.68012 9.32875 6.43 11.57L0 18L6.43 24.43C8.10419 26.1042 10.2596 27.5 12.73 28.34ZM18 25C21.866 25 25 21.866 25 18C25 14.134 21.866 11 18 11C14.134 11 11 14.134 11 18C11 21.866 14.134 25 18 25Z",fill:"currentColor"}))}function M(e){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{d:"M29.57 11.57L24.82 16.32C24.9485 16.8705 25.0089 17.4347 25 18C25 19.8565 24.2625 21.637 22.9497 22.9497C21.637 24.2625 19.8565 25 18 25C17.423 24.9983 16.8486 24.9244 16.29 24.78L12.73 28.34C15.6223 29.3235 18.732 29.4785 21.7078 28.7876C24.6836 28.0966 27.4069 26.5873 29.57 24.43L36 18L29.57 11.57Z",fill:"currentColor"}),i.createElement("path",{d:"M28.94 2.94L23.94 7.94C20.9843 6.77797 17.7541 6.50244 14.6444 7.14712C11.5346 7.79181 8.68012 9.32876 6.43 11.57L0 18L6.43 24.43C6.6 24.6 6.79 24.75 6.97 24.91L3.44 28.44L5.56 30.56L31.06 5.06L28.94 2.94ZM11 18C11.0002 16.8706 11.2736 15.7581 11.7969 14.7573C12.3203 13.7565 13.078 12.8971 14.0054 12.2527C14.9328 11.6082 16.0024 11.1977 17.1229 11.0561C18.2434 10.9146 19.3815 11.0463 20.44 11.44L11.44 20.44C11.1493 19.6593 11.0003 18.833 11 18Z",fill:"currentColor"}))}function L(e){return i.createElement("svg",{width:"5",height:"19",viewBox:"0 0 5 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M5 0H3C1.34315 0 0 1.34315 0 3V16C0 17.6569 1.34315 19 3 19H5V0Z",fill:"white"}))}function y(e){return i.createElement("svg",{width:"5",height:"19",viewBox:"0 0 5 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M0 0H2C3.65685 0 5 1.34315 5 3V16C5 17.6569 3.65685 19 2 19H0V0Z",fill:"white"}))}function R(){return i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Undo",viewBox:"0 0 36 36",fill:"none"},i.createElement("g",null,i.createElement("path",{d:"M32.584 17.998a13.87 13.87 0 0 0-24.05-9.421V5.974a1.857 1.857 0 1 0-3.715 0v7.397a1.857 1.857 0 0 0 1.857 1.857h7.41a1.857 1.857 0 0 0 0-3.714H10.86a10.176 10.176 0 1 1 7.85 16.657 1.857 1.857 0 0 0 0 3.713h.036a13.871 13.871 0 0 0 13.838-13.886Z",fill:"#fff"})))}function O(){return i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Redo",viewBox:"0 0 36 36",fill:"none"},i.createElement("g",null,i.createElement("path",{d:"M4.819 17.998a13.869 13.869 0 0 1 24.05-9.421V5.974a1.857 1.857 0 1 1 3.714 0v7.397a1.857 1.857 0 0 1-1.857 1.857h-7.409a1.857 1.857 0 0 1 0-3.714h3.225a10.176 10.176 0 1 0-7.849 16.657 1.857 1.857 0 0 1 0 3.713h-.037A13.871 13.871 0 0 1 4.82 17.998Z"})))}function I(){return i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_TextBold",viewBox:"0 0 36 36",fill:"none"},i.createElement("g",null,i.createElement("path",{d:"M21.917 30.767c4.862 0 7.427-3.062 7.427-6.89 0-3.216-2.182-5.858-4.9-6.28 2.412-.497 4.402-2.64 4.402-5.857 0-3.407-2.488-6.508-7.35-6.508H10.793A2.735 2.735 0 0 0 8.06 7.967v20.066a2.734 2.734 0 0 0 2.734 2.734h11.124ZM20.31 15.492h-5.72c-.604 0-1.094-.49-1.094-1.094v-3.44c0-.604.49-1.093 1.094-1.093h5.72c1.838 0 2.986 1.225 2.986 2.794 0 1.646-1.148 2.833-2.986 2.833Zm.192 10.643h-5.912c-.604 0-1.094-.49-1.094-1.094v-3.823c0-.604.49-1.093 1.094-1.093H20.5c2.144 0 3.292 1.378 3.292 2.985 0 1.838-1.225 3.025-3.292 3.025Z"})))}function x(){return i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_TextBullets",viewBox:"0 0 36 36",fill:"none"},i.createElement("g",null,i.createElement("path",{d:"M5.275 26.414c0-.609.24-1.192.669-1.623a2.275 2.275 0 0 1 3.226 0 2.301 2.301 0 0 1 0 3.245 2.275 2.275 0 0 1-3.226 0 2.301 2.301 0 0 1-.669-1.622Zm2.282-14.532c.605 0 1.186-.242 1.613-.672a2.3 2.3 0 0 0 0-3.245 2.275 2.275 0 0 0-3.226 0 2.3 2.3 0 0 0 0 3.245c.428.43 1.008.672 1.613.672Zm0 8.413c.605 0 1.186-.242 1.613-.672a2.3 2.3 0 0 0 0-3.245 2.275 2.275 0 0 0-3.226 0 2.3 2.3 0 0 0 0 3.245c.428.43 1.008.672 1.613.672Zm7.606-9.178h15.443a1.52 1.52 0 0 0 1.317-.765 1.537 1.537 0 0 0 0-1.53 1.52 1.52 0 0 0-1.317-.764H15.163a1.52 1.52 0 0 0-1.318.765 1.537 1.537 0 0 0 0 1.53 1.52 1.52 0 0 0 1.318.764Zm0 8.413h15.443a1.52 1.52 0 0 0 1.317-.764 1.537 1.537 0 0 0 0-1.53 1.52 1.52 0 0 0-1.317-.765H15.163a1.52 1.52 0 0 0-1.318.765 1.537 1.537 0 0 0 0 1.53 1.52 1.52 0 0 0 1.318.764Zm0 8.414h15.443a1.52 1.52 0 0 0 1.317-.765 1.537 1.537 0 0 0 0-1.53 1.52 1.52 0 0 0-1.317-.765H15.163a1.52 1.52 0 0 0-1.318.765 1.537 1.537 0 0 0 0 1.53 1.52 1.52 0 0 0 1.318.765Z"})))}function T(){return i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_TextCode",viewBox:"0 0 36 36",fill:"none"},i.createElement("g",null,i.createElement("path",{d:"M25.026 26.735a1.402 1.402 0 0 0 1.997-.07l7.29-7.71a1.402 1.402 0 0 0 0-1.927l-7.29-7.71a1.402 1.402 0 0 0-2.032 1.927l6.343 6.764-6.378 6.729a1.401 1.401 0 0 0 .07 1.997ZM12.34 9.285a1.402 1.402 0 0 0-1.997.07l-7.254 7.71a1.402 1.402 0 0 0 0 1.927l7.29 7.71a1.402 1.402 0 0 0 2.032-1.927L6.033 18.01l6.378-6.729a1.401 1.401 0 0 0-.07-1.997ZM15.25 32.134h.351a1.402 1.402 0 0 0 1.332-1.051l6.238-25.478a1.407 1.407 0 0 0-2.733-.666l-6.239 25.478a1.402 1.402 0 0 0 1.052 1.717Z"})))}function A(){const[e,t]=(0,a.y)();return i.createElement("svg",{viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_TextCodeBlock"},i.createElement("g",{clipPath:t},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.8231 11.9293C21.8231 11.2176 22.4001 10.6406 23.1118 10.6406H28.7175C30.5561 10.6406 32.0466 12.1311 32.0466 13.9697V26.9697C32.0466 28.8083 30.5561 30.2988 28.7175 30.2988H11.6338C9.79517 30.2988 8.30469 28.8083 8.30469 26.9697V21.8365C8.30469 21.1248 8.88165 20.5478 9.59336 20.5478C10.3051 20.5478 10.882 21.1248 10.882 21.8365V26.9697C10.882 27.3849 11.2186 27.7214 11.6338 27.7214H28.7175C29.1327 27.7214 29.4693 27.3849 29.4693 26.9697V13.9697C29.4693 13.5545 29.1327 13.218 28.7175 13.218H23.1118C22.4001 13.218 21.8231 12.641 21.8231 11.9293Z",fill:"currentColor"}),i.createElement("path",{d:"M15.7367 15.8813C15.8603 15.9985 16.0258 16.0611 16.196 16.0551C16.3662 16.0491 16.5269 15.9751 16.642 15.8495L19.9457 12.3552C20.0574 12.2373 20.1196 12.081 20.1196 11.9185C20.1196 11.7561 20.0573 11.5998 19.9456 11.4817L16.642 7.98754C16.4836 7.83383 16.2568 7.77333 16.0429 7.82773C15.829 7.88217 15.6587 8.04368 15.593 8.25437C15.5273 8.46511 15.5757 8.69481 15.7208 8.86109L18.5956 11.9265L15.7049 14.976C15.5878 15.0996 15.5251 15.2651 15.5311 15.4353C15.5371 15.6055 15.6112 15.7662 15.7367 15.8813Z",fill:"currentColor"}),i.createElement("path",{d:"M8.54967 7.96706C8.42606 7.8499 8.26056 7.78729 8.09036 7.79323C7.92016 7.79923 7.75947 7.87327 7.64433 7.99885L4.3566 11.4931C4.24487 11.611 4.18262 11.7673 4.18262 11.9298C4.18262 12.0923 4.24487 12.2486 4.3566 12.3666L7.66021 15.8608C7.81858 16.0145 8.0454 16.075 8.25929 16.0206C8.47317 15.9662 8.64353 15.8047 8.70919 15.594C8.7749 15.3832 8.72651 15.1535 8.58139 14.9873L5.69072 11.9219L8.58139 8.8724C8.69854 8.74878 8.7612 8.58328 8.75521 8.41309C8.74926 8.24284 8.63698 8.04871 8.51145 7.93363L8.54967 7.96706Z",fill:"currentColor"}),i.createElement("path",{d:"M10.5975 18.3253H10.7564C10.8952 18.3227 11.0294 18.2748 11.1384 18.1887C11.2474 18.1027 11.3252 17.9833 11.3599 17.8489L14.187 6.30208C14.2409 6.0808 14.1727 5.84752 14.008 5.6902C13.8433 5.53287 13.6072 5.47539 13.3886 5.53934C13.17 5.6033 13.0021 5.77903 12.9482 6.00031L10.121 17.5471C10.0782 17.7136 10.1047 17.8904 10.1945 18.0371C10.2843 18.1837 10.4298 18.2878 10.5975 18.3253Z",fill:"currentColor"}),i.createElement("path",{d:"M15.7367 15.8813C15.8603 15.9985 16.0258 16.0611 16.196 16.0551C16.3662 16.0491 16.5269 15.9751 16.642 15.8495L19.9457 12.3552C20.0574 12.2373 20.1196 12.081 20.1196 11.9185C20.1196 11.7561 20.0573 11.5998 19.9456 11.4817L16.642 7.98754C16.4836 7.83383 16.2568 7.77333 16.0429 7.82773C15.829 7.88217 15.6587 8.04368 15.593 8.25437C15.5273 8.46511 15.5757 8.69481 15.7208 8.86109L18.5956 11.9265L15.7049 14.976C15.5878 15.0996 15.5251 15.2651 15.5311 15.4353C15.5371 15.6055 15.6112 15.7662 15.7367 15.8813Z",stroke:"currentColor",strokeLinecap:"round"}),i.createElement("path",{d:"M8.54967 7.96706C8.42606 7.8499 8.26056 7.78729 8.09036 7.79323C7.92016 7.79923 7.75947 7.87327 7.64433 7.99885L4.3566 11.4931C4.24487 11.611 4.18262 11.7673 4.18262 11.9298C4.18262 12.0923 4.24487 12.2486 4.3566 12.3666L7.66021 15.8608C7.81858 16.0145 8.0454 16.075 8.25929 16.0206C8.47317 15.9662 8.64353 15.8047 8.70919 15.594C8.7749 15.3832 8.72651 15.1535 8.58139 14.9873L5.69072 11.9219L8.58139 8.8724C8.69854 8.74878 8.7612 8.58328 8.75521 8.41309C8.74926 8.24284 8.63698 8.04871 8.51145 7.93363L8.54967 7.96706Z",stroke:"currentColor",strokeLinecap:"round"}),i.createElement("path",{d:"M10.5975 18.3253H10.7564C10.8952 18.3227 11.0294 18.2748 11.1384 18.1887C11.2474 18.1027 11.3252 17.9833 11.3599 17.8489L14.187 6.30208C14.2409 6.0808 14.1727 5.84752 14.008 5.6902C13.8433 5.53287 13.6072 5.47539 13.3886 5.53934C13.17 5.6033 13.0021 5.77903 12.9482 6.00031L10.121 17.5471C10.0782 17.7136 10.1047 17.8904 10.1945 18.0371C10.2843 18.1837 10.4298 18.2878 10.5975 18.3253Z",stroke:"currentColor",strokeLinecap:"round"})),i.createElement("defs",null,i.createElement("clipPath",{id:e},i.createElement("rect",{width:"36",height:"36",fill:"currentColor"}))))}function N(){return i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_TextH1",viewBox:"0 0 36 36",fill:"none"},i.createElement("g",null,i.createElement("path",{d:"M15.08 16.38V9h3.754v18h-3.755v-7.38H6.902V27h-3.78V9h3.78v7.38h8.177ZM30.861 9v14.734h3.42V27H22.787v-3.266h4.243V13.166l-3.78 1.594-1.209-2.829L27.955 9h2.906Z"})))}function k(){return i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_TextH2",viewBox:"0 0 36 36",fill:"none"},i.createElement("g",null,i.createElement("path",{d:"M14.47 16.559V9.303h3.69V27h-3.69v-7.256H6.43V27H2.714V9.303H6.43v7.256h8.04ZM26.168 23.79h8.52V27H21.466v-3.084l5.107-4.247.43-.38c.775-.657 1.364-1.188 1.769-1.592a5.49 5.49 0 0 0 1.011-1.29 3.02 3.02 0 0 0 .38-1.491c0-.877-.32-1.534-.961-1.972-.624-.455-1.433-.683-2.427-.683a6.83 6.83 0 0 0-2.174.354 7.617 7.617 0 0 0-1.82.885l-1.265-2.73c.776-.54 1.66-.97 2.655-1.29A10.66 10.66 0 0 1 27.407 9c2.04 0 3.674.447 4.904 1.34s1.846 2.166 1.846 3.817a5.58 5.58 0 0 1-1.062 3.312c-.708.978-1.795 2.073-3.261 3.287l-3.666 3.033Z"})))}function B(){return i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_TextH3",viewBox:"0 0 36 36",fill:"none"},i.createElement("g",null,i.createElement("path",{d:"M14.683 16.45V9.394h3.59v17.214h-3.59v-7.058h-7.82v7.058H3.25V9.393h3.615v7.058h7.82ZM27.243 9c2.016 0 3.549.402 4.598 1.205 1.05.803 1.574 1.844 1.574 3.123 0 .869-.262 1.647-.787 2.336-.508.672-1.23 1.188-2.164 1.55v.073c1.098.23 1.984.705 2.656 1.426.688.705 1.033 1.648 1.033 2.828 0 1.082-.312 2.041-.935 2.877-.623.82-1.475 1.459-2.557 1.918-1.082.443-2.279.664-3.59.664-1.246 0-2.435-.172-3.566-.516-1.115-.345-2.057-.828-2.828-1.451l1.55-2.656c1.278 1.033 2.794 1.55 4.549 1.55 1.114 0 1.983-.23 2.606-.69.64-.458.959-1.09.959-1.893 0-1.574-1.205-2.36-3.615-2.36h-2.213v-2.73h1.992c.95 0 1.713-.18 2.287-.54.59-.378.885-.902.885-1.575 0-.623-.279-1.123-.836-1.5-.54-.377-1.295-.565-2.262-.565-.738 0-1.451.123-2.14.369-.672.23-1.278.549-1.82.959l-1.524-2.312a9.046 9.046 0 0 1 2.779-1.549C24.923 9.181 26.046 9 27.243 9Z"})))}function F(){return i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_TextH4",viewBox:"0 0 36 36",fill:"none"},i.createElement("g",null,i.createElement("path",{d:"M14.122 16.38V9h3.755v18h-3.755v-7.38H5.945V27h-3.78V9h3.78v7.38h8.177ZM33.17 9v11.006h2.597v2.905H33.17V27h-3.832v-4.089h-8.485v-2.468L29.673 9h3.497Zm-3.677 4.5-4.963 6.506h4.963V13.5Z"})))}function P(){return i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_TextH5",viewBox:"0 0 36 36",fill:"none"},i.createElement("g",null,i.createElement("path",{d:"M13.948 16.215V9h3.67v17.598h-3.67v-7.215H5.953v7.215H2.258V9h3.695v7.215h7.995ZM33.198 9v3.143h-7.692v4.122a5.22 5.22 0 0 1 1.634-.653c.62-.151 1.24-.226 1.86-.226 1.575 0 2.832.452 3.77 1.357.956.888 1.434 2.187 1.434 3.897 0 1.273-.302 2.388-.905 3.343-.587.956-1.45 1.701-2.59 2.238-1.122.52-2.455.779-3.997.779-1.14 0-2.204-.15-3.192-.453-.99-.301-1.81-.729-2.464-1.282l1.307-2.815a7.513 7.513 0 0 0 4.299 1.307c1.19 0 2.112-.26 2.765-.78.654-.519.98-1.265.98-2.237 0-.854-.25-1.508-.753-1.96-.486-.453-1.157-.68-2.012-.68-.636 0-1.223.11-1.76.327a5.755 5.755 0 0 0-1.583.93l-2.338-1.282V9h11.237Z"})))}function V(){const[e,t]=(0,a.y)();return i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_TextOutdent",viewBox:"0 0 36 36",fill:"none"},i.createElement("g",{clipPath:t},i.createElement("path",{d:"M6.469 17.281a.825.825 0 0 0 0 1.375l6.267 4.148a.825.825 0 0 0 1.28-.688v-8.294a.825.825 0 0 0-1.28-.688L6.47 17.28Z"}),i.createElement("rect",{width:6.91,height:2.734,rx:.825,transform:"matrix(-1 0 0 1 19.263 16.65)"}),i.createElement("path",{d:"M7.634 10.385h22.652c.602 0 1.16-.324 1.46-.848a1.705 1.705 0 0 0 0-1.697 1.685 1.685 0 0 0-1.46-.848H7.634c-.603 0-1.16.323-1.46.848a1.705 1.705 0 0 0 0 1.697c.3.524.857.848 1.46.848Zm15.168 9.33h7.484c.602 0 1.16-.324 1.46-.849a1.705 1.705 0 0 0 0-1.696 1.685 1.685 0 0 0-1.46-.848h-7.484c-.603 0-1.16.323-1.461.848a1.705 1.705 0 0 0 0 1.696c.301.525.858.848 1.46.848ZM7.634 29.043h22.652c.602 0 1.16-.323 1.46-.848a1.705 1.705 0 0 0 0-1.697 1.685 1.685 0 0 0-1.46-.848H7.634c-.603 0-1.16.323-1.46.848a1.705 1.705 0 0 0 0 1.697c.3.524.857.848 1.46.848Z"})),i.createElement("defs",null,i.createElement("clipPath",{id:e},i.createElement("path",{transform:"translate(.701)",d:"M0 0h36v36H0z"}))))}function H(){return i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_TextItalic",viewBox:"0 0 36 36",fill:"none"},i.createElement("g",null,i.createElement("path",{d:"M21.255 7.786H14.87a1.277 1.277 0 1 1 0-2.554h15.32a1.277 1.277 0 0 1 0 2.554h-6.383l-7.66 20.428h6.383a1.277 1.277 0 0 1 0 2.553H7.211a1.277 1.277 0 1 1 0-2.553h6.383l7.66-20.428Z"})))}function G(){return i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_TextLink",viewBox:"0 0 36 36",fill:"none"},i.createElement("g",null,i.createElement("path",{d:"M14.232 31.152a8.408 8.408 0 0 1-7.767-5.193 8.427 8.427 0 0 1 1.81-9.172l1.632-1.623a1.784 1.784 0 0 1 2.518 2.527l-1.62 1.618a4.854 4.854 0 0 0 3.427 8.282 4.845 4.845 0 0 0 3.427-1.42l1.622-1.624a1.782 1.782 0 0 1 2.525 2.515l-1.627 1.64a8.376 8.376 0 0 1-5.947 2.45Zm15.41-11.923a8.428 8.428 0 0 0 0-11.914 8.413 8.413 0 0 0-11.903 0L16.116 8.95a1.784 1.784 0 0 0 2.53 2.516l1.613-1.62a4.845 4.845 0 0 1 8.275 3.43 4.855 4.855 0 0 1-1.42 3.431l-1.62 1.618a1.784 1.784 0 0 0 2.518 2.527l1.63-1.623Zm-6.813-2.563a1.782 1.782 0 0 0-2.522-2.52l-5.493 5.498a1.782 1.782 0 0 0 2.522 2.52l5.493-5.498Z"})))}function U(){const[e,t]=(0,a.y)();return i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_TextNewNote",viewBox:"0 0 36 36",fill:"none"},i.createElement("g",null,i.createElement("path",{d:"M23.297 5.725 19.69 9.33l4.446 4.446 3.607-3.607-4.446-4.445ZM17.475 11.56 5.615 23.413l-1.312 5.76 5.76-1.312 11.852-11.859-4.44-4.44Z"}),i.createElement("g",{clipPath:t},i.createElement("path",{d:"M25.132 31.527V26.42h-5.109v-1.965h5.109v-5.108h1.965v5.108h5.108v1.965h-5.108v5.108h-1.965Z"}))),i.createElement("defs",null,i.createElement("clipPath",{id:e},i.createElement("path",{transform:"translate(18.844 18.168)",d:"M0 0h14.146v14.146H0z"}))))}function W(){return i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_TextIndent",viewBox:"0 0 36 36",fill:"none"},i.createElement("g",null,i.createElement("path",{d:"M18.224 17.281a.825.825 0 0 1 0 1.375l-6.268 4.148a.825.825 0 0 1-1.28-.688v-8.294a.825.825 0 0 1 1.28-.688l6.268 4.147Z"}),i.createElement("rect",{x:5.43,y:16.65,width:6.91,height:2.734,rx:.825}),i.createElement("path",{d:"M7.635 10.385h22.652c.603 0 1.16-.324 1.46-.848a1.705 1.705 0 0 0 0-1.697 1.685 1.685 0 0 0-1.46-.848H7.635c-.603 0-1.16.323-1.46.848a1.705 1.705 0 0 0 0 1.697c.3.524.857.848 1.46.848Zm15.168 9.33h7.484c.603 0 1.16-.324 1.46-.849a1.705 1.705 0 0 0 0-1.696 1.685 1.685 0 0 0-1.46-.848h-7.484c-.603 0-1.16.323-1.461.848a1.705 1.705 0 0 0 0 1.696c.301.525.858.848 1.46.848ZM7.635 29.043h22.652c.603 0 1.16-.323 1.46-.848a1.705 1.705 0 0 0 0-1.697 1.685 1.685 0 0 0-1.46-.848H7.635c-.603 0-1.16.323-1.46.848a1.705 1.705 0 0 0 0 1.697c.3.524.857.848 1.46.848Z"})))}function j(){const[e,t]=(0,a.y)();return i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_TextParagraph",viewBox:"0 0 36 36",fill:"none"},i.createElement("g",{clipPath:t},i.createElement("path",{d:"M29.582 9.65V7.328a.528.528 0 0 0-.527-.527H16.059c-2.638 0-4.607.566-6.016 1.731-1.475 1.22-2.224 2.95-2.224 5.139 0 2.402.724 4.184 2.214 5.447 1.483 1.257 3.638 1.894 6.403 1.894h2.407v7.662c0 .29.236.527.527.527h1.645a.528.528 0 0 0 .528-.527V10.177h2.12v18.496c0 .291.236.528.527.528h1.593a.528.528 0 0 0 .528-.528V10.177h2.743a.528.528 0 0 0 .528-.527Z"})),i.createElement("defs",null,i.createElement("clipPath",{id:e},i.createElement("path",{transform:"translate(.701)",d:"M0 0h36v36H0z"}))))}function Z(){const[e,t]=(0,a.y)();return i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_TextStrikethrough",viewBox:"0 0 36 36",fill:"none"},i.createElement("g",{clipPath:t},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30.614 17.086a1.324 1.324 0 0 1 0 2.648H26.98c.714.96 1.145 2.18 1.145 3.77 0 3.594-2.446 7.263-9.117 7.263-2.329 0-4.853-.864-7.573-2.593l-.684-.45-.073-.053a1.425 1.425 0 0 1-.25-2 1.483 1.483 0 0 1 2.044-.288c2.42 1.761 4.635 2.642 6.647 2.642 4.41 0 5.818-2.372 5.818-4.262 0-2.27-1.76-3.28-4.047-4.028l-14.102-.001a1.324 1.324 0 0 1 0-2.647h23.825ZM18.786 5.232c2.2 0 4.712.876 7.534 2.628a1.314 1.314 0 0 1 .323 1.95c-.52.634-1.427.789-2.128.363-2.414-1.465-4.398-2.198-5.95-2.198-2.965 0-5.078 1.594-5.078 3.928 0 1.167.63 1.95 1.625 2.54l-4.382-.001c-.276-.67-.43-1.446-.43-2.353 0-4.077 3.632-6.856 8.487-6.856Z"})),i.createElement("defs",null,i.createElement("clipPath",{id:e},i.createElement("path",{transform:"translate(.701)",d:"M0 0h36v36H0z"}))))}function z(){const[e,t]=(0,a.y)();return i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_TextUnderline",viewBox:"0 0 36 36",fill:"none"},i.createElement("g",{clipPath:t},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M29.447 33.171a1.343 1.343 0 1 1 0 2.687H7.956a1.343 1.343 0 0 1 0-2.687h21.49ZM27.365 5.232c.862 0 1.56.7 1.56 1.561V20.54c0 6.243-3.422 10.23-10.23 10.23-6.807 0-10.23-4.025-10.23-10.193V6.794a1.56 1.56 0 1 1 3.122 0v13.709c0 4.588 2.483 7.484 7.109 7.484 4.626 0 7.108-2.896 7.108-7.484V6.793c0-.861.699-1.56 1.56-1.56Z",fill:"#fff"})),i.createElement("defs",null,i.createElement("clipPath",{id:e},i.createElement("path",{fill:"currentColor",transform:"translate(.701)",d:"M0 0h36v36H0z"}))))}function K(e){return i.createElement("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_SpellCheck"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.8669 21.6128L19.8625 21.6002H10.5441L8.89969 26.3722H4.64355L13.0913 3.80176H17.3152L24.5462 22.6886L22.7244 24.6017L19.8669 21.6128ZM15.1872 8.25136L11.7049 18.3113H18.7017L15.1872 8.25136Z",fill:"currentColor"}),i.createElement("path",{d:"M29.0954 20.8115L22.7272 27.4988L19.8584 24.498L17.5973 26.8412L22.7272 32.1984L31.3564 23.1547L29.0954 20.8115Z",fill:"currentColor"}))}},7341:(e,t,n)=>{"use strict";n.d(t,{t:()=>w});var o=n(85556),i=n(15481),r=n(47427),s=n(10095),a=n(10162),l=n(43099),c=n(42287),u=n(37563);function d(e){const{ModalManager:t}=e,[n,o]=r.useState(void 0),[i,s]=r.useState(!0),a=r.useRef(0),l=r.useCallback((()=>{s(!0)}),[]);r.useEffect((()=>t.RegisterMeasureModalCallback(l).Unregister),[t,l]),r.useLayoutEffect((()=>{n||(o(t.TakeMeasureModalRequest()),s(!1))}),[t,n,i]);const c=r.useCallback((e=>{a.current++,o((t=>t===e?void 0:t))}),[]);return n?r.createElement(h,{key:a.current,onMeasureComplete:c,request:n}):null}function h(e){const[t,n]=r.useState(),o=(0,s.Wy)().ownerWindow;return r.useLayoutEffect((()=>{const e=o.document.body,t=o.document.createElement("div");return t.style.position="absolute",t.style.visibility="hidden",e.appendChild(t),n(t),()=>{e.removeChild(t)}}),[o]),t?c.createPortal(r.createElement(m,Object.assign({},e,{elContainer:t})),t):null}function m(e){const{elContainer:t,onMeasureComplete:n,request:i}=e;return r.useEffect((()=>{let e=!1;const r=t=>{e||(i.fnResults(t),n(i),e=!0)};return function(e,t){return(0,o.mG)(this,void 0,void 0,(function*(){t&&(yield t);let n=document;u.De.IN_STEAMUI&&n.fonts&&(yield n.fonts.ready);const o=e.getBoundingClientRect();return{height:Math.ceil(o.height),width:Math.ceil(o.width)}}))}(t,i.promiseContentReady).then(r),()=>r(void 0)}),[t,n,i]),r.createElement(a.SV,null,i.rctToMeasure)}var p=n(13129),g=n(20417),v=n(61809),f=n(45329),_=n(58412),C=n(50423);function b(e){r.useEffect((()=>{if(e)return document.body.classList.add(_.BodyNoScrollDialog),()=>document.body.classList.remove(_.BodyNoScrollDialog)}),[e])}function w(e){let{ModalManager:t,bRegisterModalManager:n=!0,DialogWrapper:a,style:l}=e,c=(0,o._T)(e,["ModalManager","bRegisterModalManager","DialogWrapper","style"]);const u=t.modals,h=u&&!!u.length,m=t.active_modal;b(h),function(e){const t=(0,s.Wy)().ownerWindow,n=(0,g.NW)(),o=r.useCallback((()=>{var e;(null===(e=null==t?void 0:t.SteamClient)||void 0===e?void 0:e.Window)&&t.SteamClient.Window.BringToFront()}),[t]);r.useEffect((()=>e.RegisterOverlay(n)),[e,n]),r.useEffect((()=>e.RegisterOnModalShownCallback(o).Unregister),[e,o])}(t);const _=function(e,t){return(0,g.xK)((n=>{if(!n||!t)return;const o=n.ownerDocument.defaultView;return f.Zp.RegisterModalManager(e,o)}),[e])}(t,n);let C=null;return u&&u.length?C=u.map((e=>e instanceof v.kv?r.createElement(S,{key:e.key,modal:e,active:e==m,Component:null!=a?a:D}):e instanceof v.QA?r.createElement(E,{key:e.key,modal:e,active:e==m}):void 0)):l=Object.assign(Object.assign({},l),{display:"none"}),r.createElement(r.Fragment,null,r.createElement(i.Z,null,r.createElement("div",Object.assign({},c,{style:l,ref:_,className:(0,p.Z)(c.className,"FullModalOverlay")}),r.createElement("div",{className:"ModalOverlayContent ModalOverlayBackground"}),C)),r.createElement(d,{ModalManager:t}),r.createElement(M,{ModalManager:t}))}function E(e){const{modal:t,active:n}=e;return r.useEffect((()=>n?(t.SetActive(n),()=>t.SetActive(!1)):void 0),[t,n]),r.createElement(a.SV,null,r.createElement("div",{className:(0,p.Z)("ModalOverlayContent",n?"active":"inactive"),ref:t.RefModalElement}))}function S(e){const{modal:t,active:n,Component:o}=e,i=(0,g.NW)();return(0,g.Qg)(t.ModalUpdatedCallback,i),r.createElement(a.SV,null,r.createElement(o,{className:(0,p.Z)("ModalOverlayContent",n?"active":"inactive"),active:n,modalKey:t.key},t.element))}function D(e){const{className:t,active:n,children:o}=e,i=r.useRef(null);return r.useEffect((()=>{const e=i.current;if(e&&n){const t=e.firstChild;t&&!(0,C.ni)(t,t.ownerDocument.activeElement)&&t&&t.focus&&t.focus()}}),[n]),r.createElement("div",{ref:i,className:t,tabIndex:-1},o)}function M(e){const{ModalManager:t}=e,n=(0,g.NW)();return(0,g.Qg)(t.LegacyPopupModalCountChangedCallbacks,n),r.createElement(r.Fragment,null,t.legacy_popup_modals.map((e=>r.createElement(l.l6,{key:e.key,Modal:e}))))}},50898:(e,t,n)=>{"use strict";n.d(t,{On:()=>b,Pv:()=>y,uH:()=>k,RG:()=>A,JX:()=>B,BL:()=>a.BL,e1:()=>v,D2:()=>w,jF:()=>P,Yy:()=>l});var o=n(47427),i=n(1485),r=n(42287),s=n(98843),a=n(45329);function l(e){const{active:t,children:n}=e,i=(0,s.$C)()||(0,a.BL)(window),l=(0,s.eR)(),[c,u]=o.useState(null),[d,h]=o.useState(!1),m=o.useRef();if(o.useLayoutEffect((()=>{if(t){const e=i.ShowPortalModal(),t=e.OnElementReadyCallbacks.Register(u),n=e.OnModalActiveCallbacks.Register(h);return m.current=e.key,()=>{u(null),h(!1),e.Close(),t.Unregister(),n.Unregister()}}}),[i,t]),!c||!t)return null;let p=n;return l&&(p=o.createElement(l,{active:d,modalKey:m.current},n)),r.createPortal(p,c)}var c=n(47692),u=n(10162),d=n(62613),h=n(50423),m=n(51592);const p=(0,c.Yt)("ModalPresentationContext",(()=>o.createContext({}))),g=()=>o.useContext(p);function v(e){const t=g();return o.createElement(m.T,Object.assign({component:t.ModalPosition,fallback:f},e))}function f(e){let t,n={};e.onEscKeypress&&(n.tabIndex=0,n.onKeyDown=t=>{27==t.keyCode&&e.onEscKeypress()},n.onMouseDown=t=>{t.currentTarget!==t.target||e.bDisableBackgroundDismiss||e.onEscKeypress()},t=e=>{e&&(h.ni(e,e.ownerDocument.activeElement)||e.focus())});let i=["ModalPosition"];e.className&&i.push(e.className),e.bDestructiveWarning&&i.push("Destructive");const r=e.renderContent||(e=>o.createElement("div",Object.assign({},e))),s=o.createElement(o.Fragment,null,!e.hideTopBar&&o.createElement("div",{className:"ModalPosition_TopBar"}),e.onEscKeypress&&!e.bHideCloseIcon&&o.createElement("div",{className:"ModalPosition_Dismiss"},o.createElement("div",{className:"closeButton",onClick:t=>{t.stopPropagation(),e.onEscKeypress()}},o.createElement(d.pVO,null))),o.createElement(u.SV,null,e.children));return o.createElement("div",Object.assign({className:i.join(" ")},n,{ref:t}),r({className:"ModalPosition_Content",children:s}))}n(697),n(22042),n(35949);var _=n(20417),C=(n(10095),n(37563));n(12135);const b=({active:e,onDismiss:t,className:n,modalClassName:r,children:s})=>o.createElement(l,{active:e},o.createElement(v,{onEscKeypress:t,className:r},o.createElement(i.VY,{className:n},s)));function w(e){const{className:t,children:n}=e;return o.createElement(l,{active:!0},o.createElement("div",{className:t},n))}n(7341);var E=n(82493),S=n(4030),D=n(91618),M=n(41130),L=n(58412);function y(e){const{children:t,navID:n,closeModal:i}=e,r=o.createRef(),s=(0,M.L)(),a=e=>(e.stopPropagation(),e.preventDefault(),!0);return(0,C.id)()&&!C.De.IN_STEAMUI?o.createElement(E.Fe,{navID:n,NavigationManager:s,navTreeRef:r,onCancelButton:i,className:L.GamepadOnlyModalWrapper},o.createElement(S.O,null,o.createElement(D.s,{className:L.GamepadOnlyPanelWrapper,onGamepadDirection:a,focusableIfNoChildren:!0},t))):o.createElement(o.Fragment,null,t)}var R=n(85556),O=n(27605),I=n(31846),x=n(62210),T=n(13129);const A=(0,O.Pi)((e=>{const{onCancel:t,closeModal:n,bOKDisabled:r,onOK:s}=e,a=(0,C.id)();(0,x.X)(n||t,`Either closeModal or onCancel should be passed to GenericDialog. Classes: ${e.className} ${e.modalClassName}`);const l=o.useCallback((()=>{t&&t()||n&&n()}),[t,n]),c=o.useCallback((()=>(0,R.mG)(void 0,void 0,void 0,(function*(){r||(s&&(yield s()),n&&n())}))),[r,s,n]);return o.createElement(v,{onEscKeypress:l,className:e.modalClassName,bDestructiveWarning:e.bDestructiveWarning,bDisableBackgroundDismiss:e.bDisableBackgroundDismiss,bHideCloseIcon:e.bHideCloseIcon},o.createElement(i.oX,{classNameContent:(0,T.Z)("GenericConfirmDialog",e.bAllowFullSize&&"DialogContentFullSize",e.className),onSubmit:c,bCenterVertically:!a},e.children))}));var N=n(90069);let k=class extends o.Component{Cancel(){this.props.onCancel&&this.props.onCancel(),this.props.closeModal&&this.props.closeModal()}render(){const e=this.props,{strTitle:t,strDescription:n,strOKButtonText:r,strCancelButtonText:s,strMiddleButtonText:a,onMiddleButton:l,bAlertDialog:c,children:u}=e,d=(0,R._T)(e,["strTitle","strDescription","strOKButtonText","strCancelButtonText","strMiddleButtonText","onMiddleButton","bAlertDialog","children"]),h=r||(0,I.Xx)("#Button_Close");let m=o.createElement(i.o9,{bOKDisabled:this.props.bOKDisabled,bCancelDisabled:this.props.bCancelDisabled,strOKText:r,onCancel:this.Cancel,strCancelText:s});return c?m=o.createElement(i.KM,null,h):l&&(m=o.createElement(i.$0,{bOKDisabled:this.props.bOKDisabled,bCancelDisabled:this.props.bCancelDisabled,strOKText:r,onCancel:this.Cancel,strCancelText:s,onUpdate:()=>{l(),this.props.closeModal&&this.props.closeModal()},strUpdateText:a,bUpdateDisabled:this.props.bMiddleDisabled})),o.createElement(A,Object.assign({},d),o.createElement(i.h4,null," ",t||o.createElement(o.Fragment,null," ")," "),o.createElement(i.V5,{onCancelButton:this.Cancel},o.createElement(i.Ac,null,n,u),o.createElement(i.$_,null,m)))}};(0,R.gn)([_.ak],k.prototype,"Cancel",null),k=(0,R.gn)([O.Pi],k);let B=class extends o.Component{render(){const e=Object.assign({strTitle:(0,I.Xx)("#Error_FailureNotice"),strDescription:(0,I.Xx)("#Error_GenericFailureDescription"),bAlertDialog:!0,bDestructiveWarning:!0,onOK:()=>{},onCancel:()=>{}},this.props);return o.createElement(k,Object.assign({},e))}};B=(0,R.gn)([O.Pi],B);let F=class extends o.Component{render(){let e=Object.assign({onOK:()=>{},onCancel:()=>{},bAlertDialog:!0},this.props);return e.strDescription=o.createElement("span",{style:{whiteSpace:"pre-line"}}," ",e.strDescription," "),o.createElement(k,Object.assign({},e))}};function P(e,t,n){(0,N.AM)(o.createElement(F,{strTitle:e,strDescription:t}),n)}F=(0,R.gn)([O.Pi],F)},43099:(e,t,n)=>{"use strict";n.d(t,{l6:()=>h,lc:()=>m});var o=n(47427),i=n(42287),r=n(10095),s=n(697),a=n(22042),l=n(61809),c=n(98843),u=n(35949),d=n(37563);n(50898);function h(e){const{Modal:t}=e,{name:n,modalProps:l,options:h}=t,m=(0,r.Wy)().ownerWindow,{popup:p,element:g}=(0,s.B)(n,{title:l.strTitle,html_class:"client_chat_frame fullheight ModalDialogPopup LegacyPopup "+(l.className||""),body_class:"fullheight ModalDialogBody",popup_class:"fullheight popup_chat_frame",owner_window:void 0,replace_existing_popup:!0,target_browser:l.browserContext,availscreenwidth:m.screen.availWidth,availscreenheight:m.screen.availHeight,bModal:l.bHideMainWindowForPopouts},{updateParamsBeforeShow:e=>function(e,t,n,o){var i,r;let s,a,l,c=t.popupWidth||500,u=t.popupHeight||400;if(d.De.IN_CLIENT&&(null===(r=null===(i=null==o?void 0:o.SteamClient)||void 0===i?void 0:i.Browser)||void 0===r?void 0:r.GetBrowserID))l=o.SteamClient.Browser.GetBrowserID();else{let e=o.screen;s=(e.availWidth-c)/2,a=(e.availHeight-u)/2;let t=e;void 0!==t.availLeft&&void 0!==t.availTop&&(s+=t.availLeft,a+=t.availTop)}return Object.assign(Object.assign({},e),{dimensions:{width:c,height:u,left:s,top:a},center_on_window:n.bCenterOnWindow?o:void 0,window_opener_id:l})}(e,l,h,m),onClose:()=>l.fnOnClose&&l.fnOnClose()}),v=null==h?void 0:h.bHideActions,f="number"==typeof(null==h?void 0:h.nDragAreaHeight)?{height:h.nDragAreaHeight}:void 0;return g?i.createPortal(o.createElement(r.Rt,{ownerWindow:p},o.createElement("div",{className:"PopupFullWindow",onContextMenu:a.T},o.createElement(u.T,{hideMin:!0,hideMax:!0,popup:p,hideActions:v,style:f}),o.createElement(c.Y0,{browserInfo:l.browserContext,bCenterPopupsOnWindow:h.bCenterOnWindow},t.element))),g):null}class m extends l.kv{constructor(e,t,n,o){super(t),this.m_strName=e,this.m_modalProps=n,this.m_options=o}get name(){return this.m_strName}get modalProps(){return this.m_modalProps}get options(){return this.m_options}}},61809:(e,t,n)=>{"use strict";n.d(t,{QA:()=>l,kv:()=>a});var o=n(85556),i=n(16997),r=n(45492);class s{constructor(){this.key="Modal_"+s.sm_lastKey++}}s.sm_lastKey=0;class a extends s{constructor(e){super(),this.ModalUpdatedCallback=new r.pB,this.element=e}UpdateModal(e){this.element=e,this.ModalUpdatedCallback.Dispatch()}}class l extends s{constructor(){super(),this.m_OnElementReadyCallbacks=new r.pB,this.m_OnActiveModalCallbacks=new r.pB}get OnElementReadyCallbacks(){return this.m_OnElementReadyCallbacks}get OnModalActiveCallbacks(){return this.m_OnActiveModalCallbacks}RefModalElement(e){e&&this.m_OnElementReadyCallbacks.Dispatch(e)}SetActive(e){this.m_OnActiveModalCallbacks.Dispatch(e)}}(0,o.gn)([i.a],l.prototype,"RefModalElement",null)},98843:(e,t,n)=>{"use strict";n.d(t,{Y0:()=>y,Yu:()=>I,eR:()=>O,$C:()=>R});var o=n(85556),i=n(47427),r=n(42287),s=n(32573),a=n(7341),l=n(45329),c=n(95315),u=n(89570),d=n(10095),h=n(77936),m=n(697),p=n(22042),g=n(27241),v=n.n(g),f=n(10162),_=n(50423),C=n(20417);function b(e){var t;const{manager:n,ownerWindow:o,browserInfo:s,bSuppressMouseOverlay:a}=e,l=(0,C.NW)(),c=null===(t=o.document)||void 0===t?void 0:t.body;(0,C.Qg)(n.OnMenusChanged,l);const u=!a&&n.BShouldRenderMouseOverlay(),d=n.GetAllMenus();return i.createElement(i.Fragment,null,u&&r.createPortal(i.createElement(p.Vc,null),c),d.map((e=>i.createElement(f.SV,{key:e.key},i.createElement(w,{instance:e,elRoot:c,browserInfo:s})))))}function w(e){var t;const{instance:n,elRoot:o,browserInfo:r,children:s}=e,a=R(),l=i.useRef(void 0);if(void 0===l.current)if(o){const e=o.ownerDocument.defaultView;l.current=(n.options.bForcePopup||e.innerWidth<400||(null==a?void 0:a.BOnlyPopups()))&&!!(null===(t=e.SteamClient)||void 0===t?void 0:t.Window)}else l.current=!0;const c=i.useMemo((()=>({instance:n,styles:v(),presentation:0})),[n]),u=s||n.ReactElement;return i.createElement(p.Yr.Provider,{value:c},l.current?i.createElement(S,{instance:n,browserInfo:r,children:u}):i.createElement(E,{instance:n,elRoot:o,children:u}))}function E(e){const{instance:t,elRoot:n,children:o}=e;return r.createPortal(i.createElement(p.Wn,Object.assign({},t.position),o),n)}function S(e){const{instance:t,browserInfo:n,children:o}=e,s=i.useRef(null),a=(0,d.Wy)().ownerWindow,l=a.SteamClient.Browser.GetBrowserID(),c=i.useCallback((e=>{const{options:n,position:o}=t,i=o.element;if(n.bScreenCoordinates)e.dimensions={left:o.clientX,top:o.clientY,width:2,height:1};else{let t=_.sH(a,i.getBoundingClientRect());e.dimensions={left:t.right,top:t.top,width:2,height:1},e.availscreenwidth=a.screen.availWidth,e.availscreenheight=a.screen.availHeight}return e}),[a,t]);let u=t.options.bStandalone?(0,d.sB)(d.iJ.StandaloneContextMenu):(0,d.sB)(d.iJ.PopupContextMenu);t.options.bCreateHidden&&(u|=d.eL.Hidden),t.options.bAlwaysOnTop&&(u|=d.eL.AlwaysOnTop);const{popupObj:g,element:f}=(0,m.B)("contextmenu_"+t.key,{title:t.options.title||"Menu",html_class:v().ContextMenuPopup+" client_chat_frame",body_class:"ContextMenuPopupBody",replace_existing_popup:!1,target_browser:n,window_opener_id:l,bHideOnClose:!0,eCreationFlags:u},{updateParamsBeforeShow:c});return(0,i.useEffect)((()=>{if(g)if(t.visible){s.current&&s.current.PositionMenu(),s.current&&s.current.PositionPopupWindow();let e=t.options.bNoFocusWhenShown?h.IF.k_EWindowBringToFrontWithoutForcingOS:h.IF.k_EWindowBringToFrontAndForceOS;t.TakeFocus(e)}else t.options.bRetainOnHide&&window.setTimeout((()=>{var e;null===(e=g.window)||void 0===e||e.SteamClient.Window.HideWindow()}),30)}),[g,t,t.visible]),I(g.window),i.useLayoutEffect((()=>{t.SetPopup(g)}),[t,g]),f?r.createPortal(i.createElement(p.Wn,Object.assign({ref:s},t.position,{parentWin:a,popup:g}),o),f):null}const D=i.createContext(null);function M(e){const{ActiveMenuComponent:t,refContextMenuManager:n,browserInfo:o,bRegisterMenuManager:r=!0,children:s}=e,a=(0,d.Wy)(),l=(null==a?void 0:a.ownerWindow)||window,h=i.useRef();h.current||(h.current=new u.u),i.useLayoutEffect((()=>{if(r)return c.Oo.SetMenuManager(l,h.current),()=>c.Oo.SetMenuManager(l,void 0)}),[l,r]),i.useLayoutEffect((()=>((0,C.k$)(n,h.current),()=>(0,C.k$)(n,void 0))),[n]);const m=t||b;return i.createElement(D.Provider,{value:h.current},i.createElement(m,{manager:h.current,ownerWindow:l,browserInfo:o}),s)}const L=i.createContext({}),y=i.memo((function(e){var t,n,c;const{children:u,bRenderOverlayAtRoot:d,refModalManager:h,DialogWrapper:m,ContextMenuComponent:p,refContextMenuManager:g,browserInfo:v,bUsePopups:_,bOnlyPopups:C,bCenterPopupsOnWindow:b,bRegisterManagersWithWindow:w=!0}=e,E=(0,o._T)(e,["children","bRenderOverlayAtRoot","refModalManager","DialogWrapper","ContextMenuComponent","refContextMenuManager","browserInfo","bUsePopups","bOnlyPopups","bCenterPopupsOnWindow","bRegisterManagersWithWindow"]),S=i.useRef();S.current||(S.current=new l.pG);let D=i.createElement(a.t,Object.assign({},E,{DialogWrapper:m,ModalManager:S.current,bRegisterModalManager:w}));e.bRenderOverlayAtRoot&&"body"in document&&(D=r.createPortal(D,document.body)),(0,s.LY)(h,S.current),void 0!==_&&(null===(t=S.current)||void 0===t||t.SetUsePopups(_)),void 0!==b&&(null===(n=S.current)||void 0===n||n.SetCenterPopupsOnWindow(b)),void 0!==C&&(null===(c=S.current)||void 0===c||c.SetOnlyPopups(C)),S.current.SetBrowserInfo(v);const y=i.useMemo((()=>({ModalManager:S.current,DialogWrapper:m})),[m]);return i.createElement(L.Provider,{value:y},i.createElement(M,{ActiveMenuComponent:p,refContextMenuManager:g,browserInfo:v,bRegisterMenuManager:w},i.createElement(f.SV,null,D),e.children))}));function R(){return i.useContext(L).ModalManager}function O(){return i.useContext(L).DialogWrapper}function I(e){const t=R();i.useEffect((()=>{if(e)return l.Zp.RegisterModalManager(t,e)}),[e,t])}},45329:(e,t,n)=>{"use strict";n.d(t,{BL:()=>d,Zp:()=>u,pG:()=>l});n(47427);var o=n(47692),i=n(43099),r=n(62210),s=n(45492),a=(n(20417),n(61809));n(98843);class l{constructor(){this.m_bUsePopups=!0,this.m_bOnlyPopups=!1,this.m_bCenterPopupsOnWindow=!1,this.m_rgModals=[],this.m_OnModalCountChangedCallbacks=new s.pB,this.m_OnModalShownCallbacks=new s.pB,this.m_OnModalHiddenCallbacks=new s.pB,this.m_cMountedOverlays=0,this.m_rgMeasureModalRequests=[],this.m_OnMeasureModal=new s.pB,this.m_rgLegacyPopupModals=[],this.m_OnLegacyPopupModalCountChanged=new s.pB}get ModalCountChangedCallbacks(){return this.m_OnModalCountChangedCallbacks}get LegacyPopupModalCountChangedCallbacks(){return this.m_OnLegacyPopupModalCountChanged}RegisterOnModalShownCallback(e){return this.m_OnModalShownCallbacks.Register(e)}RegisterOnModalHiddenCallback(e){return this.m_OnModalHiddenCallbacks.Register(e)}RegisterMeasureModalCallback(e){return this.m_OnMeasureModal.Register(e)}TakeMeasureModalRequest(){return this.m_rgMeasureModalRequests.length?this.m_rgMeasureModalRequests.shift():void 0}RegisterOverlay(e){(0,r.X)(0==this.m_cMountedOverlays,"Duplicate modal DialogOverlay; modals will appear in both"),this.m_cMountedOverlays++;const t=this.m_OnModalCountChangedCallbacks.Register(e);return()=>{this.m_cMountedOverlays--,t.Unregister()}}OnModalCountChanged(e){"show"==e&&0==this.m_cMountedOverlays&&window.setTimeout((()=>{(0,r.X)(this.m_cMountedOverlays>0,"Modal was shown but ModalManager has no associated DialogOverlay")}),50),this.m_OnModalCountChangedCallbacks.Dispatch(this.m_rgModals.length),"show"==e?this.m_OnModalShownCallbacks.Dispatch(this.m_rgModals.length):"hide"==e&&this.m_OnModalHiddenCallbacks.Dispatch(this.m_rgModals.length)}get modals(){return this.m_rgModals}get active_modal(){return this.m_rgModals.length?this.m_rgModals[this.m_rgModals.length-1]:void 0}ShowModal(e){return this.ShowModalInternal(e)}RemoveModal(e){let t=this.m_rgModals.indexOf(e);-1!=t&&this.m_rgModals.splice(t,1),this.OnModalCountChanged("hide")}ShowModalInternal(e){(0,r.X)(!this.m_bOnlyPopups,"Attempting to show modal in popup-only modal manager; will not display.");const t=new a.kv(e);this.m_rgModals.push(t);const n={Close:()=>{this.RemoveModal(t)},Update:e=>{t.UpdateModal(e)}};return this.OnModalCountChanged("show"),n}ShowPortalModal(){(0,r.X)(!this.m_bOnlyPopups,"Attempting to show modal in popup-only modal manager; will not display.");const e=new a.QA;return this.m_rgModals.push(e),this.OnModalCountChanged("show"),{key:e.key,Close:()=>{this.RemoveModal(e)},OnElementReadyCallbacks:e.OnElementReadyCallbacks,OnModalActiveCallbacks:e.OnModalActiveCallbacks}}SetUsePopups(e){this.m_bUsePopups=e}BUsePopups(){return this.m_bUsePopups||this.m_bOnlyPopups}SetOnlyPopups(e){this.m_bOnlyPopups=e}BOnlyPopups(){return this.m_bOnlyPopups}SetBrowserInfo(e){this.m_browserInfo=e}GetBrowserInfo(){return this.m_browserInfo}SetCenterPopupsOnWindow(e){this.m_bCenterPopupsOnWindow=e}BCenterPopupsOnWindow(){return this.m_bCenterPopupsOnWindow}RequestModalMeasure(e,t,n){this.m_rgMeasureModalRequests.push({rctToMeasure:e,fnResults:t,promiseContentReady:n}),this.m_OnMeasureModal.Dispatch()}get legacy_popup_modals(){return this.m_rgLegacyPopupModals}ShowLegacyPopupModal(e,t,n,o){const r=()=>{let e=this.m_rgLegacyPopupModals.indexOf(s);-1!=e&&this.m_rgLegacyPopupModals.splice(e,1),this.m_OnLegacyPopupModalCountChanged.Dispatch(this.m_rgLegacyPopupModals.length),n.fnOnClose&&n.fnOnClose()},s=new i.lc(e,t,Object.assign(Object.assign({},n),{fnOnClose:r}),Object.assign({bCenterOnWindow:this.m_bCenterPopupsOnWindow},o));return this.m_rgLegacyPopupModals.push(s),this.m_OnLegacyPopupModalCountChanged.Dispatch(this.m_rgLegacyPopupModals.length),{Close:r,Update:e=>{s.UpdateModal(e)}}}}class c{constructor(){this.m_mapModalManager=new WeakMap}GetModalManager(e){let t=this.m_mapModalManager.get(e);return t||(console.assert(!1,`Early access to modal manager, creating one for ${e.document.title}`),t=new l,this.m_mapModalManager.set(e,t)),t}RegisterModalManager(e,t){(0,r.X)(!this.m_mapModalManager.has(t)||t==window,`Stomping CModalManager for ${t.document.title}!`);const n=this.m_mapModalManager.get(t);return this.m_mapModalManager.set(t,e),()=>{n?this.m_mapModalManager.set(t,n):this.m_mapModalManager.delete(t)}}UnregisterModalManager(e){this.m_mapModalManager.delete(e)}}const u=(0,o.Yt)("ModalManagerFactory",(()=>new c));function d(e){return u.GetModalManager(e)}},56480:(e,t,n)=>{"use strict";n.d(t,{d:()=>c});var o=n(47427),i=n(42287),r=n(50423),s=n(83999),a=n(93855),l=n(10162);function c({config:e,isDynamic:t}){const n=t?d:u;return o.createElement(o.Fragment,null,Object.keys(e||{}).map((t=>o.createElement(n,{key:t,featureName:t,render:e[t]}))))}function u(e){const{featureName:t,render:n}=e,i=o.useMemo((()=>Array.from(document.querySelectorAll(`[data-featuretarget=${t}]`))),[t]);return i.length?o.createElement(o.Fragment,null,i.map(((e,i)=>o.createElement(h,{key:i,featureName:t,elem:e,render:n})))):null}function d(e){const{featureName:t,render:n}=e,i=(0,a.NW)(),l=o.useRef([]),c=o.useRef(0);return o.useEffect((()=>{const e=`[data-featuretarget=${t}]`;l.current=[],c.current=0;const n=e=>l.current.push({key:c.current++,elem:e}),o=e=>s.Qf(l.current,(t=>t.elem==e));document.querySelectorAll(e).forEach(n),l.current.length&&i();const a=new MutationObserver((t=>{let s=!1;for(const i of t)r.Eu(i,(t=>{m(t,e).forEach((e=>{n(e),s=!0}))}),(t=>{m(t,e).forEach((e=>{o(e),s=!0}))}));s&&i()}));return a.observe(document,{childList:!0,subtree:!0}),()=>a.disconnect()}),[t,i]),o.createElement(o.Fragment,null,l.current.map((({key:e,elem:i})=>o.createElement(h,{key:e,elem:i,featureName:t,render:n}))))}function h(e){const{featureName:t,elem:n,render:r}=e,s=o.useMemo((()=>function(e,t){if(!e)return{};try{const t=JSON.parse(e);if(!t||"object"!=typeof t||Array.isArray(t))throw new Error;return t}catch(n){return console.error(`There was a problem parsing props for feature target "${t}"`,n),console.log(`Problematic string: >>>${e}<<<`),{}}}(n.getAttribute("data-props"),t)),[n,t]);return(0,i.createPortal)(o.createElement(l.SV,null,r(s)),n)}function m(e,t){return e.matches(t)?[e]:e.querySelectorAll(t)}},90069:(e,t,n)=>{"use strict";n.d(t,{AM:()=>u,BR:()=>d,e1:()=>r.e1,x1:()=>c});var o=n(85556),i=n(47427),r=n(50898),s=n(62210),a=n(31846),l=n(37563);function c(e,t,n){return(0,o.mG)(this,void 0,void 0,(function*(){const l=(0,r.BL)(t),c=(null==n?void 0:n.bForcePopOut)||m(l);(0,s.X)(!(c&&(null==n?void 0:n.bNeverPopOut)),"Conflicting popout options; will ignore bNeverPopOut");const u=!c&&!0===(null==n?void 0:n.bNeverPopOut),p=m(l)||!u&&h(l,t),g=c&&(null==n?void 0:n.popupWidth)&&(null==n?void 0:n.popupHeight);let v;if(p&&!g){const t=i.cloneElement(e,{closeModal:()=>{}});v=yield function(e,t,n){return(0,o.mG)(this,void 0,void 0,(function*(){return new Promise(((o,i)=>{e.RequestModalMeasure(t,o,n)}))}))}(l,t,null==n?void 0:n.promiseRenderComplete)}const f=v&&v.height/t.innerHeight<.9&&v.width/t.innerWidth<.8;if(u||!c&&f)return d(e,t,void 0,{fnOnClose:null==n?void 0:n.fnOnClose});{const o={strTitle:(null==n?void 0:n.strTitle)||(0,a.Xx)("#Dialog_DefaultWindowTitle"),fnOnClose:null==n?void 0:n.fnOnClose,popupWidth:(null==n?void 0:n.popupWidth)||(null==v?void 0:v.width),popupHeight:(null==n?void 0:n.popupHeight)||(null==v?void 0:v.height),bHideMainWindowForPopouts:null==n?void 0:n.bHideMainWindowForPopouts,className:null==n?void 0:n.className},i={bHideActions:null==n?void 0:n.bHideActionIcons},r=(null==n?void 0:n.browserContext)||t.browserInfo;return d(e,t,o.strTitle,o,r,i,l)}}))}function u(e,t,n){return(0,o.mG)(this,void 0,void 0,(function*(){return c(e,t,Object.assign({bHideMainWindowForPopouts:!0},n))}))}function d(e,t,n,o,s,a,l){let c,u;const d=e.props.closeModal,m=()=>{u&&u.Close(),d&&d(),(null==o?void 0:o.fnOnClose)&&o.fnOnClose()},p=()=>{c&&c.Close(),m()},g=i.cloneElement(e,{closeModal:p});if(h(l=l||(0,r.BL)(t),t)&&o&&n){if(o.bHideMainWindowForPopouts){const e=i.createElement(r.e1,{className:"Hidden",onEscKeypress:g.props.bDisableBackgroundDismiss?void 0:p},i.createElement("div",null));u=l.ShowModal(e)}const e=Object.assign(Object.assign({},o),{fnOnClose:m,browserContext:s});c=l.ShowLegacyPopupModal(n,g,e,a)}else c=l.ShowModal(g);return c}function h(e,t){return e=e||(0,r.BL)(t||window),l.De.USE_POPUPS&&e.BUsePopups()}function m(e){return e.BOnlyPopups&&e.BOnlyPopups()}},62613:(e,t,n)=>{"use strict";n.d(t,{$06:()=>re,$gZ:()=>f,BKy:()=>U,BNo:()=>Ie,Bh5:()=>Ee,Cdc:()=>Ke,Ehc:()=>P,F8F:()=>g,Fsn:()=>q,GhU:()=>O,Gue:()=>ge,I8b:()=>fe,IWH:()=>ne,JrY:()=>A,KJh:()=>Oe,KKY:()=>je,Lao:()=>z,Lk$:()=>de,MrB:()=>le,NP6:()=>G,P9w:()=>J,SUY:()=>b,Ucz:()=>ae,Uos:()=>F,V7n:()=>$,VR:()=>ce,Vgm:()=>me,WNf:()=>Ce,WWB:()=>Me,X:()=>S,XBH:()=>oe,YVI:()=>We,YVR:()=>Q,YqJ:()=>W,YtI:()=>C,ZNm:()=>Y,Zrf:()=>v,_GE:()=>pe,c7E:()=>Ge,chI:()=>se,dCe:()=>Xe,dLw:()=>De,daM:()=>_e,doA:()=>Te,dzL:()=>x,faS:()=>N,ffh:()=>R,gR:()=>j,hoX:()=>K,iS8:()=>T,j5H:()=>xe,j7C:()=>Ue,k4K:()=>w,lBf:()=>p,lsH:()=>te,mBz:()=>He,mKE:()=>k,mKt:()=>be,miF:()=>Fe,ncs:()=>m,nkn:()=>B,opd:()=>Ae,pUF:()=>L,pVO:()=>D,pkz:()=>y,r6F:()=>Z,rFk:()=>X,ret:()=>_,shV:()=>I,sqQ:()=>Ne,svY:()=>Le,t6e:()=>d,tEX:()=>ie,tLe:()=>ue,thP:()=>H,uZu:()=>we,ui7:()=>ee,vJ$:()=>Se,vyu:()=>Ze,wn$:()=>ve,wx$:()=>V,x0L:()=>Be,xg:()=>Re,yBp:()=>M,yRy:()=>E,yTr:()=>ke,yVt:()=>he,ydL:()=>h,yh4:()=>ye,z5E:()=>ze});var o=n(85556),i=n(47427),r=n(13129),s=n(45691),a=n.n(s),l=n(37563),c=n(23163),u=n(41003);function d(e){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.48 35.05V29.35L16.51 29.34C13.4035 28.995 10.5086 27.5974 8.30636 25.3795C6.10411 23.1615 4.72712 20.2568 4.40423 17.1479C4.08134 14.039 4.83199 10.9133 6.53143 8.29011C8.23087 5.66691 10.7768 3.70423 13.7461 2.72822C16.7153 1.7522 19.9292 1.82163 22.8536 2.92496C25.7779 4.02829 28.2367 6.09909 29.8213 8.79322C31.4058 11.4874 32.0208 14.6426 31.564 17.7346C31.1071 20.8266 29.606 23.6692 27.31 25.79L16.48 35.05ZM10.36 15.65L15.77 21.05L25.39 11.43L23 9.04999L15.77 16.28L12.75 13.26L10.36 15.65Z",fill:"currentColor"}))}function h(e){return i.createElement("svg",Object.assign({width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),i.createElement("path",{d:"M14 17C15.4706 16.9968 16.9289 17.2682 18.3 17.8C16.5605 19.2553 15.269 21.1737 14.5752 23.333C13.8814 25.4922 13.8137 27.8039 14.38 30H2V29C2 25.8174 3.26428 22.7652 5.51472 20.5147C7.76515 18.2643 10.8174 17 14 17Z",fill:"currentColor"}),i.createElement("path",{d:"M10.6666 2.01118C11.6533 1.35189 12.8133 1 14 1C15.5913 1 17.1174 1.63214 18.2426 2.75736C19.3679 3.88258 20 5.4087 20 7C20 8.18669 19.6481 9.34673 18.9888 10.3334C18.3295 11.3201 17.3925 12.0892 16.2961 12.5433C15.1997 12.9974 13.9933 13.1162 12.8295 12.8847C11.6656 12.6532 10.5965 12.0818 9.75736 11.2426C8.91824 10.4035 8.3468 9.33443 8.11529 8.17054C7.88378 7.00666 8.0026 5.80026 8.45672 4.7039C8.91085 3.60754 9.67988 2.67047 10.6666 2.01118Z",fill:"currentColor"}),i.createElement("path",{d:"M32.5 27C32.5 28.2856 32.1188 29.5423 31.4046 30.6112C30.6903 31.6801 29.6752 32.5132 28.4874 33.0052C27.2997 33.4972 25.9928 33.6259 24.7319 33.3751C23.471 33.1243 22.3128 32.5052 21.4038 31.5962C20.4948 30.6872 19.8757 29.529 19.6249 28.2681C19.3741 27.0072 19.5028 25.7003 19.9948 24.5126C20.4868 23.3248 21.3199 22.3097 22.3888 21.5954C23.4577 20.8812 24.7144 20.5 26 20.5",stroke:"currentColor",strokeWidth:"3"}),i.createElement("path",{d:"M32.7419 20.4742L25.9919 24.3713L25.9919 16.5771L32.7419 20.4742Z",fill:"currentColor"}))}function m(e){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M2 7H11V12H2V7ZM2 16H11V23L16 20.9545V31H2V16ZM20 31V20.9545L25 23V16H34V31H20ZM34 12H25V7H34V12ZM22 7H14V19L18 17.3636L22 19V7Z"}))}function p(e){const[t,n]=(0,c.y)();return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 15 23",fill:"none"},e),i.createElement("g",{clipPath:n},i.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M6.9955 11.5L15 3.4955L11.5045 -1.52793e-07L0.00450275 11.5L11.5045 23L15 19.5045L6.9955 11.5Z"})),i.createElement("defs",null,i.createElement("clipPath",{id:t},i.createElement("rect",{fill:"currentColor",width:"15",height:"23"}))))}function g(e){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{d:"M18 17.8L4 10.05L18 2.29999L32 10.05L18 17.8ZM18 22.37L7.1 16.37L4 18.05L18 25.8L32 18.05L28.9 16.34L18 22.37ZM18 30.37L7.1 24.37L4 26.05L18 33.8L32 26.05L28.9 24.34L18 30.37Z",fill:"currentColor"}))}function v(e){const t=(0,r.Z)("SVGIcon_Button","SVGIcon_Settings",e.className);return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",className:t,x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"-305.5 396.5 256 256",enableBackground:"new -305.5 396.5 256 256"},i.createElement("path",{d:"M-232.755,589.942l3.103,2.408c5.78,4.492,11.973,8.18,18.409,10.959l3.581,1.547l2.276,33.783 c0.089,1.33,1.385,2.54,2.715,2.54h48.62c1.355,0,2.745-1.273,2.852-2.621l2.74-33.284l3.602-1.496 c6.406-2.656,12.646-6.262,18.554-10.707l3.137-2.366l30.578,15.009c1.155,0.571,2.924,0.017,3.563-1.087l24.303-42.1 c0.674-1.173,0.265-3.014-0.852-3.785l-27.872-19.309l0.469-3.832c0.495-4.032,0.725-7.395,0.725-10.57 c0-3.129-0.227-6.5-0.687-10.307l-0.469-3.896l28.699-19.253c1.112-0.741,1.509-2.473,0.84-3.627l-24.3-42.104 c-0.657-1.139-2.502-1.727-3.7-1.155l-31.208,14.748l-3.091-2.341c-5.571-4.224-11.466-7.688-17.522-10.306l-3.58-1.548 l-2.34-34.887c-0.089-1.33-1.381-2.536-2.715-2.536h-48.617c-1.355,0-2.74,1.274-2.851,2.626l-2.834,34.371l-3.593,1.501 c-6.082,2.535-12.028,5.924-17.667,10.071l-3.124,2.302l-31.392-15.413c-1.168-0.575-2.924-0.025-3.559,1.074l-24.309,42.107 c-0.678,1.172-0.264,3.014,0.848,3.781l28.068,19.444l-0.524,3.883c-0.592,4.378-0.865,8.018-0.865,11.462 c0,2.988,0.179,6.065,0.55,9.403l0.431,3.853l-28.528,19.125c-1.108,0.742-1.509,2.468-0.84,3.632l24.308,42.1 c0.656,1.142,2.489,1.726,3.7,1.154L-232.755,589.942z M-177.498,560.051c-19.311,0-35.02-15.709-35.02-35.02 s15.709-35.02,35.02-35.02s35.02,15.709,35.02,35.02S-158.188,560.051-177.498,560.051z",fill:"currentColor"}))}function f(){return i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_DownArrowContextMenu","data-name":"Layer 1",viewBox:"0 0 128 128",x:"0px",y:"0px"},i.createElement("polygon",{points:"50 59.49 13.21 22.89 4.74 31.39 50 76.41 95.26 31.39 86.79 22.89 50 59.49"}))}function _(e){return i.createElement("svg",{style:{transform:`rotate(${e.angle}deg)`},version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"24.833px",height:"21.917px",viewBox:"0 0 24.833 21.917"},i.createElement("polygon",{points:"12.5,14.873 3.302,5.723 1.185,7.848 12.5,19.103 23.814,7.848 21.697,5.723 "}))}function C(e){let t="SVGIcon_Button SVGIcon_MagnifyingGlass";return e.className&&(t+=` ${e.className}`),i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:t,version:"1.1",x:"0px",y:"0px",viewBox:"0 0 100 100"},i.createElement("g",{transform:"translate(0,-952.36218)"},i.createElement("path",{className:"ColorSelector",d:"m 40.99855,964.36216 c -15.9798,0 -28.9986,13.01864 -28.9986,28.99862 0,15.97992 13.0188,28.99862 28.9986,28.99862 6.9189,0 13.2881,-2.4349 18.2803,-6.4997 l 23.5927,23.6239 c 1.1714,1.1714 3.0784,1.1715 4.2498,0 1.1716,-1.1715 1.1716,-3.0783 0,-4.2498 l -23.6239,-23.5926 c 4.0649,-4.9923 6.4997,-11.3615 6.4997,-18.28042 0,-15.97998 -13.0187,-28.99862 -28.9986,-28.99862 z m 0,5.99972 c 12.7374,0 22.9989,10.26145 22.9989,22.9989 0,12.73732 -10.2615,22.99892 -22.9989,22.99892 -12.7374,0 -22.9989,-10.2616 -22.9989,-22.99892 0,-12.73745 10.2615,-22.9989 22.9989,-22.9989 z",fill:"currentColor",fillOpacity:"1",stroke:"none",visibility:"visible",display:"inline",overflow:"visible"})))}function b(){return i.createElement("svg",{className:"SVGIcon_Button SVGIcon_Clock",version:"1.1",x:"0px",y:"0px",width:"20px",height:"20px",viewBox:"0 0 20 20"},i.createElement("path",{d:"M15.999 15c-.15 0-.303-.034-.446-.105l-4-2A1.001 1.001 0 0111 12V5a1 1 0 012 0v6.382l3.447 1.724A1 1 0 0115.999 15zM12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22C6.486 2 2 6.486 2 12s4.486 10 10 10 10-4.486 10-10S17.514 2 12 2z"}))}function w(e){return i.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Submit"},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.16683 8.982C4.10732 8.3908 3.83847 7.42693 4.15486 7.17995C4.46877 6.93489 4.7797 6.90487 5.90123 7.31306L31.1931 17.2282C32.2693 17.6503 32.2686 18.335 31.1931 18.7564L5.90123 28.6715C4.77972 29.1235 4.46864 29.0497 4.15487 28.8049C3.83836 28.5579 4.0953 27.5939 4.15484 27.0028L4.7797 21.2151C4.89862 20.0374 5.92644 18.9801 7.0706 18.854L15.467 18.4429C24.1686 17.9924 24.1686 17.9924 15.467 17.5419L7.0706 17.1313C5.92423 17.0053 4.89825 15.9476 4.7797 14.7706L4.16683 8.982Z",fill:"currentColor"}))}function E(){return i.createElement("svg",{fill:"#FFFFFF",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Popout",viewBox:"0 0 8 8",x:"0px",y:"0px"},i.createElement("path",{d:"M0 0v8h8v-2h-1v1h-6v-6h1v-1h-2zm4 0l1.5 1.5-2.5 2.5 1 1 2.5-2.5 1.5 1.5v-4h-4z"}))}function S(e){return i.createElement("svg",Object.assign({fill:"#FFFFFF",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_X",version:"1.1",x:"0px",y:"0px",viewBox:"-165 95 100 100"},e),i.createElement("g",null,i.createElement("polygon",{points:"-74.9,117.2 -102.2,145 -74.9,172.8 -89.1,186.8 -116.2,159.3 -143.2,186.8 -157.5,172.8 -130.2,145 -157.5,117.2 -143.2,103.2 -116.2,130.7 -89.1,103.2"})))}function D(e){const t=e.color||"#FFFFFF";return i.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:(0,r.Z)("SVGIcon_Button","SVGIcon_X_Line",e.className),x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("line",{fill:"none",stroke:t,strokeWidth:"45",strokeMiterlimit:"10",x1:"212",y1:"212",x2:"44",y2:"44"}),i.createElement("line",{fill:"none",stroke:t,strokeWidth:"45",strokeMiterlimit:"10",x1:"44",y1:"212",x2:"212",y2:"44"}))}function M(e){return(0,l.id)()?i.createElement("svg",Object.assign({width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.63604 19.636C7.32387 17.9482 9.61305 17 12 17C12.4664 17 12.9292 17.0362 13.3844 17.1071C13.1338 18.0289 13 18.9988 13 20C13 25.0351 16.383 29.2801 21 30.5859V31H3V26C3 23.6131 3.94821 21.3239 5.63604 19.636ZM14.7779 13.1573C13.9556 13.7068 12.9889 14 12 14C10.6739 14 9.40215 13.4732 8.46447 12.5355C7.52678 11.5979 7 10.3261 7 9C7 8.0111 7.29324 7.0444 7.84265 6.22215C8.39206 5.39991 9.17295 4.75904 10.0866 4.3806C11.0002 4.00217 12.0055 3.90315 12.9755 4.09608C13.9454 4.289 14.8363 4.76521 15.5355 5.46447C16.2348 6.16373 16.711 7.05465 16.9039 8.02455C17.0969 8.99446 16.9978 9.99979 16.6194 10.9134C16.241 11.827 15.6001 12.6079 14.7779 13.1573Z",fill:"currentColor"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 28C28.4183 28 32 24.4183 32 20C32 15.5817 28.4183 12 24 12C19.5817 12 16 15.5817 16 20C16 24.4183 19.5817 28 24 28ZM22.5 21.5V26H25.5V21.5H30V18.5H25.5V14H22.5V18.5H18V21.5H22.5Z",fill:"currentColor"})):i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_AddFriend",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("g",{className:"friendHead",transform:"matrix(1.34048,0,0,1.34048,-10.0942,-5.50445)"},i.createElement("circle",{cx:"86.296",cy:"47.419",r:"33.526",fill:"currentcolor"})),i.createElement("path",{className:"friendBody",d:"M100.353,170.882c0-23.589,10.397-44.736,26.842-59.152c-3.352-0.423-6.773-0.649-10.257-0.649H94.231\tc-39.775,0-56.481,28.271-56.481,63.099v41.88c0,0-0.3,16.369,35.917,21.813c36.217,5.444,73.651,5,73.651,5 C119.666,230.681,100.353,203.044,100.353,170.882z",fill:"currentColor"}),i.createElement("path",{className:"plusCircle",d:"M179.01,103.892c-36.998,0-66.99,29.992-66.99,66.99s29.994,66.989,66.99,66.989c36.997,0,66.99-29.991,66.99-66.989 S216.008,103.892,179.01,103.892z M217.893,175.882h-33.647v33.882c0,2.762-2.239,5-5,5s-5-2.238-5-5v-33.882h-33.647 c-2.762,0-5-2.238-5-5c0-2.763,2.238-5,5-5h33.647V132.47c0-2.762,2.239-5,5-5s5,2.238,5,5v33.412h33.647c2.762,0,5,2.237,5,5 C222.893,173.643,220.654,175.882,217.893,175.882z",fill:"currentColor"}))}function L(){return i.createElement("svg",{version:"1.1",id:"Layer_4",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_FriendRequest",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("g",{className:"friendHead",transform:"matrix(1.34048,0,0,1.34048,-10.0942,-5.50445)"},i.createElement("circle",{cx:"85.923",cy:"47.419",r:"33.526"})),i.createElement("path",{className:"friendBody",d:"M100.353,170.882c0-23.589,10.397-44.736,26.842-59.152c-3.352-0.423-6.773-0.649-10.257-0.649H94.231\tc-39.775,0-56.481,28.271-56.481,63.099v41.88c0,0-0.3,16.369,35.917,21.813c36.217,5.444,73.651,5,73.651,5 C119.666,230.681,100.353,203.044,100.353,170.882z"}),i.createElement("path",{className:"friendBodyFull",d:"M176.504,217.922v-42.624c0-35.443-17.002-64.217-57.483-64.217H106.96h-1.017H94.898 c-40.48,0.001-57.484,28.774-57.484,64.217v42.624c0,0,0,22.197,69.544,22.197C177.521,240.121,176.504,217.922,176.504,217.922z"}),i.createElement("path",{className:"friendArm",d:"M18.167,63.833c6.53-0.734,39.348,39.127,50.007,47.647s21.327,16.686,15.16,25.353s-20.646,16.74-36.167,2.5 S-1.349,90.532,0,85.333S8.599,64.909,18.167,63.833z"}),i.createElement("path",{className:"redCircle",d:"M178.51,103.892c-36.998,0-66.99,29.992-66.99,66.99s29.994,66.99,66.99,66.99c36.997,0,66.99-29.992,66.99-66.99 S215.508,103.892,178.51,103.892z"}))}function y(){return i.createElement("svg",{version:"1.1",id:"Layer_5",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Paperclip",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{fill:"none",strokeWidth:"10",strokeLinecap:"round",strokeMiterlimit:"10",d:"M167.768,62.647 l-0.012,123.052c0,24.729-19.334,44.856-43.096,44.866c-23.765-0.006-43.099-20.134-43.096-44.872L81.557,48.851 c0-15.345,14.483-27.827,29.83-27.83c15.342,0.003,27.827,12.488,27.833,27.833l-0.002,139.245 c0.003,6.376-8.546,12.925-14.925,12.925c0,0-13.929-0.166-13.929-12.928l0.003-124.839"}))}function R(e){const{muted:t,className:n}=e;return i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:(0,r.Z)("SVGIcon_Button","SVGIcon_Volume",n),x:"0px",y:"0px",width:"256px",height:"255.999px",viewBox:"0 0 256 255.999"},i.createElement("g",{className:"Speaker"},i.createElement("path",{d:"M93.785,52.265c-0.946,0-2.357,0.63-3.304,1.577L40.284,98.022c-0.947,0.789-2.831,1.578-4.093,1.578H9.367 C8.104,99.6,7,100.706,7,101.967v52.069c0,1.264,1.104,2.367,2.367,2.367H36.19c1.262,0,3.146,0.632,4.093,1.578l50.197,44.181 c0.947,0.789,2.516,1.578,3.304,1.578s1.578-1.104,1.578-2.367V54.631C95.363,53.369,94.731,52.265,93.785,52.265z"})),!t&&i.createElement("g",{className:"SoundWaves"},i.createElement("path",{className:"SoundWavesHighest",d:"M193.826,30.402c24.959,24.958,40.349,59.403,40.349,97.604c0,38.199-15.388,72.645-40.349,97.603l9.916,9.916 c28.067-28.067,44.263-64.673,44.263-107.521c0-42.847-16.196-79.455-44.263-107.521"}),i.createElement("path",{className:"SoundWavesHigh",d:"M175.737,47.628l-8.924,8.924c18.271,18.27,29.536,43.484,29.536,71.448s-11.264,53.178-29.536,71.448l8.924,8.924 c20.546-20.546,33.234-49.008,33.234-80.374c0-31.366-12.688-59.829-33.234-80.374V47.628z"}),i.createElement("path",{className:"SoundWavesMed",d:"M148.913,74.454l-8.925,8.925c11.488,11.488,18.491,27.236,18.491,44.624c0,17.388-7.054,33.281-18.491,44.575l8.875,8.975 c13.811-13.635,22.239-32.753,22.239-53.55c0-20.797-8.432-39.793-22.189-53.55V74.454z"}),i.createElement("path",{className:"SoundWavesLow",d:"M121.989,101.229l-8.778,9.073c4.641,4.516,7.397,10.706,7.397,17.702c0,6.995-2.755,13.186-7.397,17.702l8.778,9.073 c7.035-6.844,11.243-16.413,11.243-26.775C133.232,117.643,129.024,108.075,121.989,101.229z"})),i.createElement("g",{className:"SoundX"},i.createElement("line",{fill:"none",strokeWidth:t?10:0,stroke:"#fff",strokeMiterlimit:"10",x1:"137",y1:"170.667",x2:"223.167",y2:"84.5"}),i.createElement("line",{fill:"none",strokeWidth:t?10:0,stroke:"#fff",strokeMiterlimit:"10",x1:"137",y1:"84.5",x2:"223.167",y2:"170.667"})))}function O(){return i.createElement("svg",{width:"50px",height:"25px",viewBox:"0 0 50 25"},i.createElement("path",{d:"M46 0H4C1.8 0 0 1.8 0 4v17c0 2.2 1.8 4 4 4h42c2.2 0 4-1.8 4-4V4c0-2.2-1.8-4-4-4zM21 18.916V5.084L32.805 12 21 18.916z"}))}function I(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Play",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{className:"playTriangle",d:"M65.321,33.521c-11.274-6.615-20.342-1.471-20.342,11.52V210.96c0,12.989,9.068,18.135,20.342,11.521l137.244-82.348 c11.274-6.618,11.274-17.646,0-24.509L65.321,33.521z"}))}function x(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Pause",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{d:"M44.979,219.364c0,3.3,2.7,6,6,6h49.753c3.3,0,6-2.7,6-6V36.5c0-3.3-2.7-6-6-6H50.979c-3.3,0-6,2.7-6,6V219.364z"}),i.createElement("path",{d:"M149.267,219.364c0,3.3,2.7,6,6,6h49.753c3.3,0,6-2.7,6-6V36.5c0-3.3-2.7-6-6-6h-49.753c-3.3,0-6,2.7-6,6V219.364z"}))}function T(e){return i.createElement("svg",{width:"19",height:"19",viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:(0,r.Z)("SVGIcon_Button",e.className)},i.createElement("path",{d:"M7.7976 11.7352L5.2516 14.2793C5.2003 14.3306 5.1433 14.3781 5.0844 14.418C5.0749 14.4237 5.0654 14.4294 5.0559 14.4351C5.0293 14.4522 5.0027 14.4693 4.9761 14.4826C4.9438 14.4997 4.9096 14.5149 4.8773 14.5301C4.8735 14.5301 4.8697 14.532 4.8659 14.5339C4.8336 14.5453 4.8013 14.5567 4.7709 14.5662C4.7348 14.5776 4.6987 14.5852 4.6626 14.5928C4.5923 14.6061 4.5182 14.6137 4.446 14.6137C4.3358 14.6137 4.2275 14.5985 4.1211 14.5662C4.0888 14.5567 4.0565 14.5453 4.0261 14.5339C4.0223 14.532 4.0185 14.5301 4.0147 14.5301C3.9805 14.5149 3.9482 14.4997 3.9159 14.4826C3.8893 14.4693 3.8627 14.4541 3.8361 14.4351C3.7677 14.3933 3.7012 14.342 3.6404 14.2793H3.6385L1.0944 11.7352C0.647896 11.2887 0.647896 10.5667 1.0944 10.1221C1.539 9.67754 2.261 9.67754 2.7056 10.1221L3.306 10.7225L3.30599 3.3529C3.30599 2.724 3.81519 2.2129 4.44599 2.2129C5.07489 2.2129 5.58599 2.724 5.58599 3.3529L5.586 10.7206L6.1845 10.1221C6.631 9.67754 7.3511 9.67754 7.7976 10.1221C8.2422 10.5667 8.2422 11.2887 7.7976 11.7352Z",fill:"currentColor"}),i.createElement("path",{d:"M17.1001 4.51535H10.3036C9.6741 4.51535 9.16357 4.00482 9.16357 3.37535C9.16357 2.74588 9.6741 2.23535 10.3036 2.23535H17.1001C17.7295 2.23535 18.2401 2.74588 18.2401 3.37535C18.2401 4.00482 17.7295 4.51535 17.1001 4.51535Z",fill:"currentColor"}),i.createElement("path",{d:"M15.7408 9.54465H10.3036C9.6741 9.54465 9.16357 9.03412 9.16357 8.40465C9.16357 7.77518 9.6741 7.26465 10.3036 7.26465H15.7408C16.3703 7.26465 16.8808 7.77518 16.8808 8.40465C16.8808 9.03412 16.3703 9.54465 15.7408 9.54465Z",fill:"currentColor"}),i.createElement("path",{d:"M14.3814 14.5739H10.3036C9.6741 14.5739 9.16357 14.0634 9.16357 13.4339C9.16357 12.8045 9.6741 12.2939 10.3036 12.2939H14.3815C15.011 12.2939 15.5215 12.8045 15.5215 13.4339C15.5215 14.0634 15.011 14.5739 14.3814 14.5739Z",fill:"currentColor"}))}function A(e){var t;return i.createElement("svg",Object.assign({version:"1.1",id:"base",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Check",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256",strokeWidth:"24",stroke:null!==(t=e.color)&&void 0!==t?t:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"},e),i.createElement("polyline",{fill:"none",points:"49.5,147.75 95,210.75 206.5,45.25 "}))}function N(){return i.createElement("svg",{className:"SVGIcon_Button SVGIcon_Calendar",width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.97014 2.77093H4.44345V3.97865C4.44345 5.04817 5.31099 5.91572 6.38052 5.91572C7.45004 5.91572 8.31699 5.04817 8.31699 3.97865V2.77093H16.6836V3.97865C16.6836 5.04817 17.5511 5.91572 18.6207 5.91572C19.6902 5.91572 20.5571 5.04817 20.5571 3.97865V2.77093H23.0293C24.1136 2.77093 25 3.65738 25 4.74167V21.4991C25 22.5834 24.1136 23.4698 23.0293 23.4698H1.97073C0.886445 23.4698 0 22.5834 0 21.4991V4.74167C0 3.65738 0.886445 2.77093 1.97073 2.77093H1.97014ZM23.5005 8.23961V21.4991C23.5005 21.7578 23.2879 21.9704 23.0293 21.9704H1.97073C1.71206 21.9704 1.49946 21.7583 1.49946 21.4991V8.23961H23.5005V8.23961Z",fill:"#717A81"}),i.createElement("path",{d:"M5.29335 1.08724C5.29335 0.486629 5.77998 0 6.38059 0C6.98061 0 7.46724 0.486629 7.46724 1.08724V3.97867C7.46724 4.57928 6.98061 5.06591 6.38059 5.06591C5.77998 5.06591 5.29335 4.57928 5.29335 3.97867V1.08724V1.08724Z",fill:"#717A81"}),i.createElement("path",{d:"M17.5329 1.08724C17.5329 0.486629 18.0195 0 18.6201 0C19.2201 0 19.7068 0.486629 19.7068 1.08724V3.97867C19.7068 4.57928 19.2201 5.06591 18.6201 5.06591C18.0195 5.06591 17.5329 4.57928 17.5329 3.97867V1.08724V1.08724Z",fill:"#717A81"}))}function k(e){let t=e.highlightColor||"#00ccff",n=e.color||"#2d73ff";const[o,r]=(0,c.y)(),[s,a]=(0,c.y)(),[l]=(0,i.useState)(Math.random().toString());return i.createElement("svg",{version:"1.1",id:"base",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_DialogCheck",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("defs",null,i.createElement("linearGradient",{id:o,x1:"0%",y1:"0%",x2:"100%",y2:"100%"},i.createElement("stop",{offset:"0%",stopColor:t}),i.createElement("stop",{offset:"100%",stopColor:n})),i.createElement("filter",{id:s,x:"0",y:"0",width:"200%",height:"200%"},i.createElement("feOffset",{result:"offOut",in:"SourceAlpha",dx:"20",dy:"20"}),i.createElement("feGaussianBlur",{result:"blurOut",in:"offOut",stdDeviation:"10"}),i.createElement("feBlend",{in:"SourceGraphic",in2:"blurOut",mode:"normal"}))),i.createElement("path",{fill:"none",stroke:r,strokeWidth:"24",strokeLinecap:"round",strokeLinejoin:"miter",strokeMiterlimit:"10",d:"M206.5,45.25L95,210.75l-45.5-63",strokeDasharray:"365.19 365.19",strokeDashoffset:"0.00"}),i.createElement("path",{fill:"none",opacity:".2",filter:a,stroke:r,strokeWidth:"24",strokeLinecap:"round",strokeLinejoin:"miter",strokeMiterlimit:"10",d:"M206.5,45.25L95,210.75l-45.5-63",strokeDasharray:"365.19 365.19",strokeDashoffset:"0.00"}))}function B(){return i.createElement("svg",{version:"1.1",id:"base",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Video",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{className:"videoPlayButton",d:"M165.399,124.063L109.118,92.06c-1.399-0.797-3.118-0.787-4.508,0.026c-1.39,0.805-2.25,2.295-2.25,3.905v64.008 c0,1.609,0.86,3.1,2.25,3.913c0.705,0.412,1.491,0.613,2.277,0.613c0.768,0,1.546-0.191,2.241-0.596l56.283-32.003 c1.416-0.806,2.285-2.306,2.285-3.934C167.694,126.368,166.816,124.869,165.399,124.063z"}),i.createElement("path",{d:"M238.069,40.646H214.25h-28.82h-28.82h-28.458h-0.36H99.333H70.536H41.727h-23.82c-3.184,0-5.773,2.59-5.773,5.772v23.856 v120.441v18.867c0,3.184,2.589,5.771,5.773,5.771h2.415h21.394h28.82h28.82h28.459h0.361h28.457h28.82h28.82h23.82 c3.184,0,5.773-2.589,5.773-5.771v-18.867V70.274V46.418C243.844,43.223,241.254,40.646,238.069,40.646z M191.215,47.181h17.273 V64.5h-17.273V47.181L191.215,47.181z M162.396,47.181h17.272V64.5h-17.272V47.181z M133.938,47.181h16.912V64.5h-16.912V47.181z\tM105.128,47.181h16.912V64.5h-16.912V47.181z M76.309,47.181h17.273V64.5H76.309V47.181z M47.488,47.181h17.273V64.5H47.488V47.181 z M18.681,47.181h17.273V64.5H18.681V47.181z M35.954,208.811H18.681v-17.319h17.273V208.811z M64.763,208.811H47.489v-17.319 h17.273V208.811L64.763,208.811z M93.583,208.811H76.31v-17.319h17.273V208.811z M122.041,208.811h-16.912v-17.319h16.912V208.811z M150.849,208.811h-16.912v-17.319h16.912V208.811z M179.668,208.811h-17.272v-17.319h17.272V208.811z M208.488,208.811h-17.273 v-17.319h17.273V208.811z M237.297,208.811h-17.273v-17.319h17.273V208.811L237.297,208.811z M237.297,184.943H214.25h-28.819 h-28.82h-28.458h-0.361H99.333H70.537H41.728H18.682V71.047h23.046h28.82h28.82h28.458h0.36h28.458h28.82h28.82h23.045v113.896 H237.297z M237.297,64.5h-17.273V47.181h17.273V64.5L237.297,64.5z"}))}function F(e){return(0,l.id)()?i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Bell",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32 24V26H4V24L8 19V12C8 9.34784 9.05357 6.8043 10.9289 4.92893C12.8043 3.05357 15.3478 2 18 2C20.6522 2 23.1957 3.05357 25.0711 4.92893C26.9464 6.8043 28 9.34784 28 12V19L32 24ZM18 34C19.2396 33.9986 20.4483 33.6133 21.46 32.897C22.4718 32.1807 23.2368 31.1687 23.65 30H12.35C12.7632 31.1687 13.5282 32.1807 14.54 32.897C15.5517 33.6133 16.7604 33.9986 18 34Z",fill:"currentColor"})):i.createElement("svg",{version:"1.1",id:"base",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Bell",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{d:"M107.785,33.965c-34.875,8.972-60.644,40.618-60.644,78.308v53.903c0,4.965-4.035,8.99-8.975,8.99 c-9.929,0-17.978,8.066-17.978,17.971c0,9.924,8.059,17.969,18.013,17.969h179.598c9.948,0,18.014-8.066,18.014-17.969 c0-9.926-8.087-17.971-17.979-17.971c-4.956,0-8.975-3.993-8.975-8.99v-53.903c0-37.676-25.763-69.333-60.644-78.308v-9.281 c0-11.193-9.052-20.219-20.215-20.219c-11.143,0-20.215,9.052-20.215,20.219V33.965L107.785,33.965z M96.554,220.09h62.891 c0,17.366-14.079,31.445-31.445,31.445C110.633,251.535,96.554,237.458,96.554,220.09z"}))}function P(e){return i.createElement("svg",{style:{transform:`rotate(${e.angle}deg)`},version:"1.1",id:"arrowBase",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Arrow",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("polyline",{fill:"none",stroke:"#ffffff",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",points:"128,247.688 128,8.313 181.061,61.674 "}),i.createElement("polyline",{fill:"none",stroke:"#ffffff",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",points:"128,247.688 128,8.313 74.939,61.674 "}))}function V(e){const{direction:t}=e,n=(0,o._T)(e,["direction"]);switch(t){case"up":return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"36px",height:"36px",viewBox:"0 0 36 36",fill:"none"},n),i.createElement("path",{d:"M26.23 17.31L20.5 11.58V33.54H15.5V11.58L9.76998 17.31L6.22998 13.77L18 2.00001L29.77 13.77L26.23 17.31Z",fill:"currentColor"}));case"down":return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"36px",height:"36px",viewBox:"0 0 36 36",fill:"none"},n),i.createElement("path",{d:"M26.23 18.23L20.5 23.96V2H15.5V23.96L9.76998 18.23L6.22998 21.77L18 33.54L29.77 21.77L26.23 18.23Z",fill:"currentColor"}));case"left":return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"36px",height:"36px",viewBox:"0 0 36 36",fill:"none"},n),i.createElement("path",{d:"M17.54 9.53998L11.81 15.27L33.77 15.27V20.27H11.81L17.54 26L14 29.54L2.23002 17.77L14 5.99998L17.54 9.53998Z",fill:"currentColor"}));case"right":return i.createElement("svg",Object.assign({viewBox:"0 0 36 36",width:"36px",height:"36px",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),i.createElement("path",{d:"M18.46 9.54004L24.19 15.27L2.22998 15.27L2.22998 20.27H24.19L18.46 26L22 29.54L33.77 17.77L22 6.00004L18.46 9.54004Z",fill:"currentColor"}))}}function H(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"50px",height:"100px",viewBox:"0 0 50 100"},i.createElement("polygon",{fill:"#ffffff",points:"0,0.093 0,25.702 24.323,50.026 0,74.349 0,99.955 49.929,50.026 "}))}function G(e){return i.createElement("svg",{style:{transform:`rotate(${e.angle}deg)`},version:"1.1",id:"arrowBase",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_DoubleArrow",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("polyline",{className:"Arrow1",fill:"none",stroke:"#ffffff",strokeWidth:"23",strokeLinecap:"round",strokeMiterlimit:"10",points:"135.65,21.667 30.081,127.235 137.18,234.333 "}),!e.singlearrow&&i.createElement("polyline",{className:"Arrow2",fill:"none",stroke:"#ffffff",strokeWidth:"23",strokeLinecap:"round",strokeMiterlimit:"10",points:"224.389,21.667 118.821,127.235 225.92,234.333 "}))}function U(e){const{angle:t}=e,n=(0,o._T)(e,["angle"]);return i.createElement("svg",Object.assign({style:{transform:`rotate(${e.angle}deg)`},xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"none"},n),i.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M16.0855 15.5837L8.88892 8.38708L12.0316 5.24438L22.3709 15.5837L12.0316 25.923L8.88892 22.7803L16.0855 15.5837Z"}))}function W(){return i.createElement("svg",{version:"1.1",id:"base",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Maximize",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("rect",{x:"24",y:"42.167",fill:"none",stroke:"rgb(120, 138, 146)",strokeWidth:"18",strokeMiterlimit:"10",width:"208",height:"171.667"}),i.createElement("line",{fill:"none",stroke:"rgb(120, 138, 146)",strokeWidth:"42",strokeMiterlimit:"10",x1:"24",y1:"54.01",x2:"232",y2:"54.01"}))}function j(){return i.createElement("svg",{version:"1.1",id:"base",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Minimize",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("line",{fill:"none",stroke:"rgb(120, 138, 146)",strokeWidth:"18",strokeMiterlimit:"10",x1:"24",y1:"209.01",x2:"232",y2:"209.01"}))}function Z(){return i.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Restore",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("polyline",{fill:"none",stroke:"rgb(120, 138, 146)",strokeWidth:"12",strokeMiterlimit:"10",points:"83,90.861 83,42.167 232,42.167 232,165.14 173,165.14 "}),i.createElement("rect",{x:"24",y:"90.861",fill:"none",stroke:"rgb(120, 138, 146)",strokeWidth:"18",strokeMiterlimit:"10",width:"149",height:"122.973"}))}function z(){return i.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Reload",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{fill:"none",stroke:"#ffffff",strokeWidth:"30",strokeLinecap:"round",strokeMiterlimit:"10",d:"M229.809,147.639 c-9.178,47.863-51.27,84.027-101.809,84.027c-57.253,0-103.667-46.412-103.667-103.666S70.747,24.334,128,24.334 c34.107,0,64.368,16.472,83.261,41.895"}),i.createElement("polygon",{points:"147.639,108.361 245.755,10.166 245.834,108.361 "}))}function K(){return i.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Trade",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{d:"M132.025,162.943h40.246c0,0,3.219,56.879-31.303,79.599c-12.298,8.094,71.103-6.708,75.574-79.599h35.775l-60.146-74.681 L132.025,162.943z"}),i.createElement("path",{d:"M123.975,93.056H83.729c0,0-3.219-56.879,31.303-79.599c12.298-8.094-71.103,6.708-75.574,79.599H3.682l60.146,74.681 L123.975,93.056z"}))}function X(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Trash",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("g",{className:"base"},i.createElement("path",{fill:"none",stroke:"#ffffff",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M216.773,43.909 l-7.399,177.589c-0.37,8.893-7.919,16.1-16.812,16.1H63.437c-8.914,0-16.442-7.24-16.812-16.1L39.226,43.909"})),i.createElement("g",{className:"lines"},i.createElement("path",{className:"line1",fill:"none",stroke:"#ffffff",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M128,68.12v137.197"}),i.createElement("path",{className:"line2",fill:"none",stroke:"#ffffff",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M83.613,68.12 l4.035,137.197"}),i.createElement("path",{className:"line3",fill:"none",stroke:"#ffffff",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M172.387,68.12 l-4.035,137.197"})),i.createElement("g",{className:"lid"},i.createElement("path",{fill:"none",stroke:"#ffffff",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M27.121,38.577H228.88"}),i.createElement("path",{fill:"none",stroke:"#ffffff",strokeWidth:"10",d:"M87.648,38.577l4.319-10.796c2.072-5.181,8.292-9.379,13.84-9.379h44.386 c5.572,0,11.761,4.18,13.841,9.379l4.319,10.796"})))}function Y(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",style:{overflow:"visible",width:"100%",height:"100%",maxWidth:"320px",maxHeight:"320px"},x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("g",{className:"base"},i.createElement("path",{fill:"none",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M216.773,43.909 l-7.399,177.589c-0.37,8.893-7.919,16.1-16.812,16.1H63.437c-8.914,0-16.442-7.24-16.812-16.1L39.226,43.909"})),i.createElement("g",{className:"lines"},i.createElement("path",{className:"line1",fill:"none",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M128,68.12v137.197"}),i.createElement("path",{className:"line2",fill:"none",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M83.613,68.12 l4.035,137.197"}),i.createElement("path",{className:"line3",fill:"none",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M172.387,68.12 l-4.035,137.197"})),i.createElement("g",{className:"lid"},i.createElement("path",{fill:"none",strokeWidth:"10",strokeLinecap:"round",strokeLinejoin:"round",d:"M27.121,38.577H228.88"}),i.createElement("path",{fill:"none",strokeWidth:"10",d:"M87.648,38.577l4.319-10.796c2.072-5.181,8.292-9.379,13.84-9.379h44.386 c5.572,0,11.761,4.18,13.841,9.379l4.319,10.796"})))}function $(e){return i.createElement("svg",{style:{transform:`rotate(${e.angle}deg)`},version:"1.1",id:"base",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_FlatArrow",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("polygon",{points:"13.913,141 128,59 242.087,141 ",fill:"#ffffff"}))}function q(e){let{bPending:t,bShowArm:n,className:s}=e,a=(0,o._T)(e,["bPending","bShowArm","className"]);return(0,l.id)({bSuppressAssert:!0})?i.createElement("svg",Object.assign({className:(0,r.Z)("SVGIcon_Button","SVGIcon_FriendIcon",s),viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),i.createElement("path",{d:"M18 17C15.6131 17 13.3239 17.9482 11.636 19.636C9.94821 21.3239 9 23.6131 9 26V31H27V26C27 23.6131 26.0518 21.3239 24.364 19.636C22.6761 17.9482 20.3869 17 18 17ZM18 14C18.9889 14 19.9556 13.7068 20.7779 13.1573C21.6001 12.6079 22.241 11.827 22.6194 10.9134C22.9978 9.99979 23.0969 8.99446 22.9039 8.02455C22.711 7.05465 22.2348 6.16373 21.5355 5.46447C20.8363 4.76521 19.9454 4.289 18.9755 4.09608C18.0055 3.90315 17.0002 4.00217 16.0866 4.3806C15.173 4.75904 14.3921 5.39991 13.8427 6.22215C13.2932 7.0444 13 8.0111 13 9C13 10.3261 13.5268 11.5979 14.4645 12.5355C15.4021 13.4732 16.6739 14 18 14Z",fill:"currentColor"}),i.createElement("path",{className:"WavingArm",opacity:n?"1":"0",d:"M4.67541 11.8555C5.6007 10.8308 7.18156 10.7501 8.20635 11.6754L18.9515 21.3773L15.6007 25.0884L4.85556 15.3865C3.83077 14.4612 3.75011 12.8803 4.67541 11.8555V11.8555Z",fill:"currentColor",strokeWidth:"0"}),i.createElement("path",{opacity:n?"1":"0",d:"M32.3573 11.8876C33.2626 12.93 33.1515 14.509 32.109 15.4144L23.2784 23.083L20 19.3078L28.8305 11.6392C29.873 10.7339 31.452 10.8451 32.3573 11.8876Z",fill:"currentColor",strokeWidth:"0"})):i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:(0,r.Z)("SVGIcon_Button","SVGIcon_FriendIcon",t?" SVGIcon_FriendIcon_Pending":"",s),x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("g",{className:"Outline"},i.createElement("g",{transform:"matrix(1.34048,0,0,1.34048,-10.0942,-5.50445)"},i.createElement("path",{d:"M102.239,90.394c-22.556,0-40.906-18.351-40.906-40.906c0-22.556,18.35-40.906,40.906-40.906s40.906,18.35,40.906,40.906 C143.145,72.043,124.795,90.394,102.239,90.394z"})),i.createElement("path",{d:"M127.453,250.212c-30.208,0-52.086-4.188-65.028-12.45c-12.507-7.983-13.141-17.484-13.141-19.308v-41.781 c0-20.554,5.356-38.104,15.489-50.754c11.63-14.519,29.216-22.193,50.858-22.194h23.646c21.643,0,39.229,7.674,50.858,22.193 c10.133,12.65,15.488,30.201,15.488,50.754v41.751c0.011,2.202-0.586,8.058-6.43,14.175 c-11.164,11.687-35.301,17.613-71.732,17.613C127.458,250.212,127.458,250.212,127.453,250.212z"}),i.createElement("path",{className:"WavingArm",opacity:t?"1":"0",d:"M87.625,170.102c-5.877,0-14.85-1.804-24.219-10.4c-8.677-7.961-20.959-20.438-30.563-31.048 c-18.766-20.732-21.125-26.658-19.522-32.832c1.463-5.64,10.288-27.077,26.729-28.926c0.429-0.048,0.867-0.072,1.303-0.072 c7.609,0,14.543,6.335,38.063,31.516c7.141,7.645,14.524,15.549,18.002,18.33l0.803,0.641c5.551,4.432,11.291,9.015,15.104,14.136 c8.477,11.383,3.634,20.705,1.158,24.185C108.034,164.692,97.995,170.102,87.625,170.102z"})),i.createElement("g",{className:"foreground"},i.createElement("g",{transform:"matrix(1.34048,0,0,1.34048,-10.0942,-5.50445)"},i.createElement("circle",{fill:"currentColor",cx:"102.239",cy:"49.488",r:"33.446"})),i.createElement("path",{fill:"currentColor",d:"M195.624,218.454v-41.781c0-34.743-16.666-62.948-56.347-62.948h-11.822h-0.997h-10.826 c-39.68,0.001-56.348,28.205-56.348,62.948v41.781c0,0,0,21.758,68.169,21.758C196.62,240.214,195.624,218.454,195.624,218.454z"}),i.createElement("path",{className:"WavingArm",opacity:t?"1":"0",d:"M41.167,76.833c6.53-0.734,39.348,39.127,50.007,47.647c10.659,8.52,21.327,16.686,15.16,25.353 s-20.646,16.74-36.167,2.5 s-48.516-48.801-47.167-54S31.599,77.909,41.167,76.833z"})))}function Q(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_DoNotDisturb",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("circle",{fill:"none",stroke:"#ffffff",strokeWidth:"24",strokeMiterlimit:"10",cx:"128",cy:"128",r:"101.5"}),i.createElement("line",{fill:"none",stroke:"#ffffff",strokeWidth:"24",strokeMiterlimit:"10",x1:"73",y1:"128",x2:"183",y2:"128"}))}function J(e){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",style:{transform:`scaleX(${e.bFlipHorizontal?-1:1})`},className:"SVGIcon_Button SVGIcon_MediaControls",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{className:"Arrow",d:"M77.003,54.763h32.784c3.794,0,9.113,2.181,11.814,4.848l63.604,62.773c2.703,2.667,2.727,7.054,0.05,9.748 l-63.705,64.206c-2.674,2.693-7.968,4.898-11.763,4.898H77.003"}),i.createElement("polyline",{className:"preArrowBox",opacity:e.bHidePreArrow?"0":"1",points:"6.833,54.763 46.71,54.763 46.71,201.236 6.833,201.236 \t"}),i.createElement("polyline",{className:"jumpAheadBox",opacity:e.bShowJumpAheadBox?"1":"0",points:"6.833,54.764 86.386,54.764 86.386,201.236 6.833,201.236 \t"}),i.createElement("polyline",{className:"postArrowBox",opacity:e.bHidePostArrow?"0":"1",points:"209.29,54.763 249.167,54.763 249.167,201.236 209.29,201.236 \t"}))}function ee(e){const t=(0,r.Z)("SVGIcon_Button","SVGIcon_SteamLogo",e&&e.className);return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",fill:"#FFFFFF",className:t,x:"0px",y:"0px",viewBox:"0 0 256 256"},i.createElement("path",{fill:"currentColor",d:"M127.374,5.355c-64.404,0-117.167,49.661-122.18,112.77l65.712,27.171 c5.567-3.808,12.293-6.032,19.53-6.032c0.649,0,1.294,0.017,1.934,0.051l29.226-42.354c0-0.202-0.005-0.399-0.005-0.598 c0-25.496,20.74-46.241,46.237-46.241c25.498,0,46.238,20.745,46.238,46.241c0,25.494-20.74,46.242-46.238,46.242 c-0.352,0-0.698-0.011-1.047-0.021l-41.68,29.741c0.022,0.546,0.041,1.095,0.041,1.644c0,19.141-15.569,34.707-34.706,34.707 c-16.796,0-30.843-11.99-34.026-27.869l-46.993-19.43c14.55,51.464,61.831,89.189,117.957,89.189 c67.713,0,122.604-54.893,122.604-122.604C249.979,60.244,195.086,5.355,127.374,5.355"}),i.createElement("path",{fill:"currentColor",d:"M82.026,191.387l-15.061-6.22c2.67,5.56,7.285,10.208,13.418,12.767 c13.25,5.521,28.531-0.771,34.054-14.027c2.674-6.416,2.694-13.5,0.04-19.93c-2.646-6.431-7.64-11.451-14.063-14.129 c-6.371-2.647-13.196-2.552-19.198-0.291l15.561,6.437c9.776,4.073,14.396,15.299,10.324,25.071 C103.031,190.841,91.801,195.464,82.026,191.387"}),i.createElement("path",{fill:"currentColor",d:"M198.639,96.359c0-16.987-13.82-30.809-30.809-30.809c-16.987,0-30.813,13.821-30.813,30.809 c0,16.988,13.824,30.806,30.813,30.806S198.639,113.347,198.639,96.359 M144.736,96.306c0-12.783,10.363-23.142,23.145-23.142 c12.783,0,23.145,10.359,23.145,23.142c0,12.783-10.36,23.142-23.145,23.142C155.1,119.447,144.736,109.089,144.736,96.306"}))}function te(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Viewers",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{className:"frontGuy",fill:"#666666",d:"M181.732,53.151c-17.255,0-31.321,13.316-31.321,32.634v25.132 c0,18.005,24.006,21.006,24.382,21.381c-10.691,2.813-30.947,8.252-40.888,15.566c-8.252,6.003-11.44,18.005-13.128,22.882 c-0.75,2.063-1.688,5.064-1.688,7.127c0,0,0,9.94,0,19.881s12.941,16.505,18.005,16.505h89.65c4.877,0,18.006-5.627,18.006-16.505 s0-19.881,0-19.881c0-2.251-0.938-5.627-1.688-7.689c-4.313-10.878-4.688-16.316-13.315-22.319 c-9.941-6.939-30.009-12.19-40.512-15.004c0.374-0.563,24.193-4.127,24.193-22.131V85.785 C213.053,66.467,198.986,53.151,181.732,53.151L181.732,53.151z"}),i.createElement("path",{className:"backGuy",fill:"rgb(144, 153, 161)",d:"M84.204,34.396c-20.068,0-36.385,15.38-36.385,38.074v29.258c0,20.818,27.945,24.382,28.32,24.944 c-12.378,3.189-36.01,9.565-47.638,18.006c-9.753,7.127-13.504,21.006-15.379,26.632c-0.75,2.251-1.876,6.002-1.876,8.253 c0,0,0,11.44,0,23.257c0,11.815,15.004,19.13,20.819,19.13h104.279c5.814,0,20.818-6.564,20.818-19.13c0-12.566,0-23.257,0-23.257 c0-2.438-1.125-6.564-2.063-8.815c-5.063-12.566-5.438-18.942-15.566-26.069c-11.628-8.065-34.885-14.067-47.076-17.443 c0.375-0.563,28.133-4.876,28.133-25.695V72.469C120.59,49.775,104.272,34.396,84.204,34.396L84.204,34.396z"}))}function ne(){return i.createElement("svg",{version:"1.1",id:"Layer_5",className:"SVGIcon_Button SVGIcon_ChatBubble",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 64 64"},i.createElement("g",null,i.createElement("path",{d:"M33,5C18.7,5,7.1,16.6,7.1,30.9c0,5.2,1.5,10.1,4.2,14.1c-0.6,3.7-4.5,10.5-6.2,13.5c-1.3,2.2,11.4-3.8,16.3-4.5c3.5,1.8,7.5,2.8,11.7,2.8c14.3,0,25.9-11.6,25.9-25.9S47.3,5,33,5z"})))}function oe(){return i.createElement("svg",{version:"1.1",id:"Layer_5",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 64 64"},i.createElement("g",null,i.createElement("path",{d:"M40.6,32.7l15.1-15.1c2.6-2.6,2.6-6.7,0-9.3c-2.6-2.6-6.7-2.6-9.3,0L31.3,23.4L16.2,8.3c-2.6-2.6-6.7-2.6-9.3,0c-2.6,2.6-2.6,6.7,0,9.3L22,32.7L6.9,47.8c-2.6,2.6-2.6,6.7,0,9.3c1.3,1.3,3,1.9,4.7,1.9s3.4-0.6,4.7-1.9L31.3,42l15.1,15.1c1.3,1.3,3,1.9,4.7,1.9s3.4-0.6,4.7-1.9c2.6-2.6,2.6-6.7,0-9.3L40.6,32.7z"})))}function ie(){return i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_STVTimelineGrabber",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("g",{className:"leftarrow",opacity:"0"},i.createElement("polygon",{points:"127.817,4.403 4,128 127.817,251.598"})),i.createElement("g",{className:"rightarrow",opacity:"0"},i.createElement("polygon",{points:"127.816,4.403 251.633,128 127.816,251.598"})),i.createElement("g",{className:"grabber"},i.createElement("polygon",{points:"145.692,22.132 145.692,234.361 127.817,251.598 110.307,234.361 110.307,22.132 127.817,4.403"})))}function re(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_STVTimelineMarker",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("polygon",{className:"pointer",points:"128,154.979 46.374,230.548 46.374,253.333 209.626,253.333 209.626,230.548 \t"}),i.createElement("rect",{className:"line",x:"116.271",y:"3.168",width:"23.459",height:"137.332"}))}function se(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_ShowBothChats",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("circle",{opacity:"0",fill:"#FFFFFF",strokeWidth:"0",cx:"166.241",cy:"161.906",r:"75.259"}),i.createElement("polyline",{fill:"none",stroke:"#ffffff",strokeWidth:"8",strokeLinecap:"round",strokeMiterlimit:"10",points:"92.367,155.634 51.311,183 51.311,150.296 23.834,150.296 23.834,19.473 140.5,19.473 140.5,91.5"}),i.createElement("line",{fill:"none",stroke:"#ffffff",strokeWidth:"8",strokeMiterlimit:"10",x1:"48.529",y1:"82.167",x2:"113.379",y2:"82.167"}),i.createElement("line",{fill:"none",stroke:"#ffffff",strokeWidth:"8",strokeMiterlimit:"10",x1:"48.529",y1:"113.167",x2:"113.379",y2:"113.167"}),i.createElement("line",{fill:"none",stroke:"#ffffff",strokeWidth:"8",strokeMiterlimit:"10",x1:"48.529",y1:"51.167",x2:"99.138",y2:"51.167"}),i.createElement("path",{d:"M166.241,82.167c-43.933,0-79.74,35.807-79.74,79.74c0,43.932,35.808,79.739,79.74,79.739 c43.932,0,79.739-35.808,79.739-79.739C245.98,117.975,210.173,82.167,166.241,82.167 M166.241,231.717 c-3.611,0-7.522-0.301-11.134-0.902c-3.31-3.311-6.318-8.426-9.027-14.444c-2.407-5.416-4.212-11.434-6.018-18.054 8.124-0.902,16.851-1.505,25.878-1.505c9.026,0,17.753,0.603,25.877,1.505c-1.504,6.62-3.61,12.638-6.018,18.054 c-2.708,6.019-5.718,11.134-9.027,14.444C173.764,231.416,169.852,231.717,166.241,231.717 M166.241,191.696 c-9.629,0-18.656,0.602-27.082,1.505c-1.805-9.027-2.708-18.656-3.009-28.887h59.88c0,10.23-1.203,19.859-3.009,28.887 C184.896,192.298,175.87,191.696,166.241,191.696 M166.241,92.097c3.61,0,7.522,0.301,11.133,0.903 c3.311,3.31,6.319,8.425,9.027,14.443c2.407,5.416,4.213,11.435,6.019,18.055c-8.125,0.902-16.851,1.504-25.878,1.504 s-17.753-0.602-25.878-1.504c1.505-6.62,3.611-12.639,6.019-18.055c2.708-6.018,5.717-11.133,9.026-14.443 \tC158.719,92.398,162.63,92.097,166.241,92.097 M166.241,132.117c9.629,0,18.655-0.602,27.081-1.504 \tc1.806,9.026,2.708,18.655,3.009,28.887h-59.88c0-10.231,1.204-19.86,3.01-28.887 \tC147.585,131.516,156.612,132.117,166.241,132.117 M201.146,159.5c0-10.532-1.203-20.462-3.009-29.488 c10.23-1.505,19.258-3.311,26.479-6.019c6.921,10.531,10.833,22.567,11.134,35.507H201.146z M131.336,159.5H96.432 c0.301-12.639,4.212-24.976,11.133-35.507c7.522,2.407,16.55,4.514,26.479,6.019C132.54,139.038,131.637,148.968,131.336,159.5 M131.336,164.314c0,10.531,1.204,20.461,3.01,29.488c-10.231,1.505-19.259,3.31-26.48,6.018 c-6.921-10.531-10.832-22.567-11.133-35.506H131.336z M201.146,164.314h34.905c-0.301,12.638-4.213,24.975-11.134,35.506 c-7.522-2.406-16.55-4.513-26.479-6.018C199.942,184.775,200.845,174.846,201.146,164.314 M221.908,119.78 c-0.301,0-0.602,0.301-0.903,0.301c-6.92,2.106-15.045,3.912-23.771,5.115c-2.708-12.337-6.921-22.868-12.036-30.391 c11.434,3.31,21.966,9.328,30.691,17.753C217.695,114.966,219.802,117.072,221.908,119.78 M147.585,94.806 c-5.115,7.522-9.328,18.054-12.036,30.391c-8.727-1.203-16.851-3.009-23.771-5.115c-0.301,0-0.602-0.301-0.902-0.301 c1.805-2.407,3.911-4.814,6.318-7.222C125.619,103.833,136.15,97.814,147.585,94.806 M110.574,204.033 c0.301,0,0.602-0.301,0.902-0.301c6.921-2.106,15.045-3.912,23.771-5.115c2.708,12.337,6.921,22.869,12.036,30.392 c-11.435-3.311-21.966-9.328-30.692-17.754C114.786,208.848,112.68,206.742,110.574,204.033 M184.896,229.009 c5.116-7.522,9.329-18.055,12.036-30.392c8.727,1.203,16.852,3.009,23.771,5.115c0.301,0,0.603,0.301,0.903,0.301 c-1.806,2.407-3.912,4.814-6.319,7.222C206.863,219.981,196.331,226,184.896,229.009"}))}function ae(){return i.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_BigPicture",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{fill:"currentColor",d:"M213.771,68.659c-4.108-7.066-46.007-7.231-49.293-7.231H128H91.522c-3.286,0-45.186,0.165-49.293,7.231 c-19.555,29.248-27.385,100.263-27.276,104.01c0.238,8.294,2.11,24.583,16.595,35.162c9.201,6.72,22.183,8.709,29.083,3.614 c4.989-3.682,11.995-19.224,19.061-32.204c7.064-12.981,9.202-11.174,12.98-12.159c3.78-0.986,36.066-0.74,36.066-0.74 s30.809-0.247,34.588,0.74c3.777,0.985,5.915-0.822,12.98,12.159c7.064,12.98,14.07,28.522,19.061,32.204 c6.9,5.095,19.882,3.106,29.083-3.614c14.485-10.58,16.356-26.868,16.595-35.162C241.154,168.922,233.325,97.906,213.771,68.659z M67.251,128.14c-14.974,0-27.112-12.137-27.112-27.111c0-14.975,12.137-27.112,27.112-27.112 c14.973,0,27.111,12.137,27.111,27.112C94.362,116.003,82.224,128.14,67.251,128.14z M188.749,128.14 c-14.974,0-27.111-12.137-27.111-27.111c0-14.975,12.138-27.112,27.111-27.112c14.973,0,27.111,12.137,27.111,27.112 C215.86,116.003,203.722,128.14,188.749,128.14z"}))}function le(e){const{className:t}=e;return i.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:(0,r.Z)("SVGIcon_Button","SVGIcon_MobilePhone",t),x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{d:"M165.693,45.186H91.368c-7.963,0-14.41,6.447-14.41,14.41V210.9c0,7.964,6.447,14.41,14.41,14.41h74.134 c7.965,0,14.41-6.447,14.41-14.41V59.596C180.102,51.633,173.657,45.186,165.693,45.186z M113.172,57.509h30.717 c1.707,0,3.223,1.327,3.223,3.224c0,1.896-1.328,3.223-3.223,3.223h-30.717c-1.707,0-3.223-1.328-3.223-3.223 C109.949,58.837,111.465,57.509,113.172,57.509z M128.529,213.554c-4.551,0-8.152-3.603-8.152-8.153c0-4.55,3.604-8.152,8.152-8.152 s8.151,3.603,8.151,8.152C136.682,209.761,133.081,213.554,128.529,213.554z M169.105,186.819h-81.15V74.384h81.15V186.819 L169.105,186.819z"}))}function ce(e){return i.createElement("svg",Object.assign({width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button"},e),i.createElement("path",{d:"M11.45 26.5H7.625L1 9H5.025L9.625 22.325L14.1 9H18.125L11.45 26.5Z",fill:"white"}),i.createElement("path",{d:"M34.552 26.5H30.477L26.952 20.6H26.527H23.927V26.5H20.252V9H26.802C29.202 9 30.9686 9.48333 32.102 10.45C33.2353 11.4 33.802 12.7333 33.802 14.45C33.802 15.8 33.502 16.925 32.902 17.825C32.3186 18.725 31.4936 19.4083 30.427 19.875L34.552 26.5ZM23.927 12.125V17.45H26.802C27.7686 17.45 28.5186 17.2083 29.052 16.725C29.602 16.225 29.877 15.5417 29.877 14.675C29.877 13.825 29.6103 13.1917 29.077 12.775C28.5603 12.3417 27.727 12.125 26.577 12.125H23.927Z",fill:"white"}))}function ue(){return i.createElement("svg",{version:"1.1",id:"Layer_3",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Twitter",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{d:"M250.151,128.021c0,67.418-54.604,122.022-122.022,122.022S6.107,195.439,6.107,128.021C6.107,60.604,60.712,6,128.129,6 S250.151,60.604,250.151,128.021z M105.799,192.389c54.117,0,83.707-44.842,83.707-83.707c0-1.282,0-2.563-0.062-3.783 c5.736-4.148,10.739-9.335,14.705-15.252c-5.247,2.318-10.922,3.905-16.901,4.637c6.103-3.661,10.738-9.396,12.936-16.29 c-5.675,3.355-11.959,5.796-18.67,7.138c-5.369-5.734-12.995-9.273-21.477-9.273c-16.228,0-29.406,13.179-29.406,29.407 c0,2.318,0.243,4.576,0.793,6.711c-24.466-1.22-46.125-12.934-60.646-30.75c-2.501,4.332-3.965,9.396-3.965,14.765 c0,10.189,5.186,19.218,13.117,24.465c-4.819-0.122-9.334-1.464-13.3-3.661c0,0.122,0,0.244,0,0.366 c0,14.275,10.128,26.113,23.611,28.857c-2.44,0.672-5.064,1.039-7.748,1.039c-1.892,0-3.723-0.184-5.553-0.551 c3.722,11.714,14.581,20.195,27.455,20.44c-10.067,7.868-22.757,12.566-36.546,12.566c-2.379,0-4.697-0.122-7.016-0.427 C73.707,187.507,89.204,192.389,105.799,192.389"}))}function de(){return i.createElement("svg",{version:"1.1",id:"Layer_3",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_TwitchTV",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{d:"M28.176,8.026L11.763,49.97v171.427h58.358v31.003h32.826l31.003-31.003h47.414l63.829-63.829V8.026H28.176z M223.311,146.625l-36.474,36.474h-58.359l-31.002,31.003v-31.003H48.237V29.91h175.074V146.625z M186.837,71.855v63.829h-21.885 V71.855H186.837z M128.478,71.855v63.829h-21.883V71.855H128.478z"}))}function he(){return i.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_CSGO",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M236.979,138.059c0.548,0.078,6.91,0.101,7.772,0.032 c1.215-0.095,1.396,0.068,1.388,0.708c-0.01,0.397,0.012,3.039-2.365,7.32c-3.301,5.948-12.079,10.436-12.55,10.672 c-0.47,0.233-0.53,0.484-0.136,0.75c0.434,0.295,8.068,1.454,9.084,1.611c1.017,0.154,0.637,1.001,0.637,1.001 s-0.704,2.621-2.895,5.36c-2.189,2.738-9.311,6.123-8.583,6.123c0.731,0,7.187,0.159,6.181,1.422 c-3.019,3.786-13.603,9.528-18.43,13.813c-13.388,11.885-13.217,12.864-15.52,15.09c-0.983-3.298-3.02-12.658-3.02-12.658 l-6.105-11.467c4.413,0.18,6.364,0.081,8.952,0.081c9.214,0,17.525-2.185,22.234-5.841l2.371-1.843l-2.911-0.728 c-2.131-0.528-7.121-1.782-11.896-2.979c2.184-0.104,10.803-1.299,14.413-5.339c0.136-0.151,0.276-0.321,0.406-0.494l1.245-1.664 l-2.404-0.735c-2.607-0.799-5.948-1.682-8.517-2.335c3.173-1.572,7.585-3.942,10.048-6.088c4.83-4.203,7.226-9.709,7.322-9.943 l0.9-2.098l-10.772,0.318c1.503-1.483,3.218-3.197,3.939-3.991c1.43-1.571,4.053-6.221,4.198-9.896l0.072-1.787l-1.763,0.288 c-1.979,0.322-5.301,1.279-8.179,2.173c2.025-2.193,4.296-4.767,5.46-6.484c2.687-3.964,2.76-8.371,2.597-12.916l-0.104-2.881 l-2.261,1.79c-2.559,2.028-7.595,5.031-11.097,7.047c1.538-3.644,3.54-8.752,3.813-11.276c0.5-4.681-0.248-10.196-0.248-10.196 l-10.76,9.394c0.885-1.953,1.684-4.013,2.117-5.832c1.735-7.29,0.055-17.892-0.021-18.338l-0.452-2.807l-7.777,7.739 c0.722-3.535,1.465-8.253,1.23-11.789c-0.426-6.321-2.278-10.517-2.359-10.694l-1.01-2.251l-6.465,8.577 c0.231-4.285,0.27-10.24-0.948-13.547c-1.934-5.262-3.651-8.007-3.723-8.121l-1.232-1.958l-3.057,4.85 c0.018-2.967-0.11-6.475-0.69-8.68c-1.202-4.543-2.825-6.396-3.002-6.592l-1.325-1.433l-1.623,2.705 c-0.278-3.19-1.112-7.084-3.343-9.478l-0.814-0.872l-1.012,0.623c-0.327,0.201-0.714,0.497-1.104,0.823 c-0.154-1.135-0.365-2.451-0.639-3.691c0.563-4.733,1.186-10.03,1.206-10.452c0.027-0.547,0.274-0.767,1.017-0.391 c0.898,0.452,3.156,2.064,5.187,6.133c2.036,4.067,3.132,11.324,3.117,12.044c-0.009,0.383,0.291,0.757,0.438,0.151 c0.145-0.607,0.478-7.591,0.623-8.312c0.081-0.383,0.199-0.484,0.737-0.212c0.496,0.249,2.959,2.181,4.899,6.463 c1.179,2.599,1.634,11.946,1.574,12.653c-0.106,1.278,0.313,0.891,0.339,0.883c-0.009,0.013-0.025,0.04-0.03,0.049 c0.03-0.041,0.036-0.049,0.03-0.049c0.573-0.841,4.21-8.99,4.519-9.377c0.313-0.39,0.521-0.395,0.835,0.002 c0.262,0.33,2.095,1.717,4.049,10.088c1.902,8.135,1.949,11.542,1.848,12.682c-0.08,0.86,0.339,0.993,0.731,0.524 c0.389-0.47,5.104-9.201,5.497-9.515c0.389-0.313,0.613-0.309,0.927,0.161c0.312,0.469,2.718,4.762,3.684,11.448 c0.861,5.947,0.608,13.599,0.375,14.381c-0.235,0.782-0.135,1.077,0.493,0.53c0.623-0.548,10.299-8.412,11.004-9.038 c0.703-0.627,1.18-0.65,1.34-0.046c0.172,0.654,0.822,8.654,0.275,15.225c-0.549,6.571-2.626,12.752-2.94,13.145 c-0.312,0.391,0.087,0.712,0.478,0.555c0.394-0.157,11.902-10.018,12.645-10.402c0.711-0.367,1.043,0.005,1.105,0.507 c0.068,0.544,0.966,3.098-0.419,11.269c-0.959,5.65-3.54,11.876-3.855,12.033c-0.313,0.157-0.077,0.336,0.234,0.259 c0.315-0.079,8.324-3.488,8.872-3.567c0.546-0.079,0.671,0.339,0.514,0.808c-0.158,0.469-0.458,6.273-2.534,11.639 c-2.603,6.732-6.056,11.001-6.056,11.001s-0.252,0.519,0.217,0.519s9.266-0.186,9.813-0.263c0.547-0.079,0.627,0.156,0.547,0.704 c-0.077,0.547,0.858,9.116-8.624,14.601C236.524,137.734,236.432,137.979,236.979,138.059z M174.473,24.823 c1.981,3.34,2.018,9.248,1.836,11.469l-0.52,6.238l5.25-8.744c0.395,0.843,0.85,2.003,1.25,3.524 c1.02,3.877,0.422,13.082,0.417,13.173l-0.384,5.752l6.435-10.212c0.628,1.27,1.45,3.097,2.32,5.459 c1.466,3.983,0.772,13.806,0.381,17.257l-0.602,5.308l9.568-12.69c0.493,1.707,1.058,4.21,1.259,7.227 c0.39,5.821-2.272,15.731-2.299,15.83l-1.428,5.26l11.125-11.068c0.377,3.586,0.772,9.774-0.304,14.302 c-1.2,5.057-5.778,12.588-5.823,12.664l-1.806,3.992l16.878-14.09c-0.116,1.366-0.262,2.944-0.423,4.435 c-0.312,2.935-3.954,11.389-5.335,14.399l-1.827,4.002l3.856-2.115c0.381-0.208,8.027-4.41,12.979-7.778 c-0.039,3.484-0.537,6.042-2.139,8.4c-2.189,3.234-9.05,10.198-9.118,10.268l-4.352,4.408l5.861-2.004 c0.08-0.025,6.868-2.34,11.188-3.41c-0.675,2.445-2.208,5.125-3.11,6.118c-1.319,1.449-6.429,6.429-6.48,6.482l-2.682,2.614 l13.475-0.404c-1.06,1.837-2.89,4.549-5.457,6.783c-3.727,3.244-12.956,7.341-13.048,7.383l-3.952,1.746l4.201,1.008 c0.062,0.015,5.637,1.354,10.266,2.67c-3.412,2.191-9.291,3.081-10.948,3.138c-2.06,0.072-11.075,0.125-11.075,0.125l-11.51,0.069 l11.162,2.804c0,0,12.587,3.164,19.486,4.894c-4.398,2.216-10.717,3.493-17.657,3.493c-3.102,0-10.335-0.284-15.048-0.483 c4.064,6.069,7.041,11.004,7.992,13.681c2.813,7.915,6.777,28.269,6.889,48.907c0.039,6.572-1.081,11.649-9.022,11.649 c-0.288,0-0.597-0.038-0.908-0.092c-1.846,0.339-4.351,0.595-5.438-0.095c-1.805-1.149-3.163-2.627-3.544-3.957 c-0.383-1.334-1.146-9.374-3.106-20.675c-1.92-11.046-4.038-19.431-4.237-19.525c-1.535-0.731-9.358-18.45-9.358-18.45 l-37.23-47.615c0,0-20.737,23.917-37.455,47.8c-0.867,1.235-5.994,11.251-9.275,17.989c-0.212,0.437-0.181,0.475-0.281,0.808 c-0.604,2.015-2.396,9.525-4.039,18.994c-1.962,11.301-2.725,19.341-3.105,20.675c-0.384,1.33-1.74,2.808-3.546,3.957 c-1.085,0.689-3.592,0.434-5.437,0.095c-0.313,0.054-0.621,0.092-0.909,0.092c-7.941,0-9.061-5.077-9.024-11.649 c0.114-20.639,4.078-40.992,6.892-48.907c0.95-2.677,3.926-7.611,7.993-13.681c-4.714,0.199-11.946,0.483-15.051,0.483 c-6.939,0-13.26-1.277-17.653-3.493c6.896-1.729,19.486-4.894,19.486-4.894l11.159-2.804l-11.508-0.069 c0,0-9.019-0.053-11.076-0.125c-1.66-0.057-7.537-0.946-10.949-3.138c4.629-1.315,10.202-2.655,10.264-2.67l4.201-1.008l-3.95-1.746 c-0.094-0.042-9.324-4.139-13.049-7.383c-2.566-2.234-4.397-4.946-5.458-6.783l13.477,0.404l-2.684-2.614 c-0.05-0.054-5.16-5.033-6.48-6.482c-0.9-0.993-2.436-3.673-3.108-6.118c4.319,1.069,11.108,3.384,11.188,3.41l5.861,2.004 l-4.352-4.408c-0.069-0.069-6.928-7.033-9.12-10.268c-1.601-2.358-2.099-4.916-2.139-8.4c4.953,3.368,12.601,7.57,12.98,7.778 l3.858,2.115l-1.829-4.002c-1.379-3.011-5.022-11.465-5.334-14.399c-0.161-1.491-0.305-3.068-0.421-4.435l16.877,14.09l-1.806-3.992 c-0.046-0.076-4.622-7.607-5.821-12.664c-1.078-4.528-0.682-10.716-0.307-14.302L58.57,89.672l-1.426-5.26 c-0.025-0.098-2.688-10.008-2.3-15.83c0.203-3.017,0.767-5.52,1.26-7.227l9.566,12.69l-0.601-5.308 c-0.391-3.451-1.083-13.274,0.381-17.257c0.871-2.362,1.693-4.189,2.32-5.459l6.435,10.212l-0.382-5.752 c-0.006-0.091-0.604-9.295,0.416-13.173c0.401-1.521,0.854-2.681,1.251-3.524l5.249,8.744l-0.52-6.238 c-0.181-2.221-0.144-8.129,1.836-11.469c0.596,0.522,1.248,1.148,1.67,1.575l2.215,2.245l0.276-3.142 c0.162-1.838,0.783-7.003,1.703-8.813c1.342-2.635,4.69-3.91,7.104-4.505c-6.691,13.614-36.889,77.59-36.889,122.937 c0,23.658,16.206,23.931,16.368,23.931c4.881,0,6.947-7.914,6.947-11.063V133.45c0-2.744,1.148-2.744,1.835-2.744 c5.807,0,10.48,3.196,13.855,6.69c8.813-11.615,15.81-20.526,15.81-20.526s0.16-0.182,0.248-0.345 c-1.03-2.443-7.165-16.995-7.165-16.995l1.708-43.717c0,0-0.278-3.797,1.044-6.052c1.314-2.245,4.247-3.175,4.247-3.175 l13.307,41.443c0,0-4.107,0.866-4.107,5.585c0,2.982,2.658,4.99,6.227,5.013c3.572-0.022,6.227-2.031,6.227-5.013 c0-4.719-4.109-5.585-4.109-5.585l13.311-41.443c0,0,2.93,0.93,4.245,3.175c1.322,2.255,1.043,6.052,1.043,6.052l1.709,43.717 l-7.309,17.34c0,0,6.997,8.911,15.809,20.526c3.375-3.494,8.048-6.69,13.855-6.69c0.687,0,1.833,0,1.833,2.744v14.538 c0,3.148,2.068,11.063,6.95,11.063c0.159,0,16.367-0.272,16.367-23.931c0-45.347-30.197-109.322-36.888-122.937 c2.412,0.595,5.761,1.87,7.104,4.505c0.92,1.809,1.541,6.975,1.705,8.813l0.275,3.142l2.213-2.245 C173.226,25.972,173.875,25.345,174.473,24.823z M176.157,181.396c-1.644-2.189-41.07-55.856-41.07-55.856l-6.723,8.809 l-0.946-1.233l-0.829-1.082l-5.053-6.594l-0.095,0.101c0,0-39.427,53.667-41.07,55.856c-1.643,2.191-4.777,6.708-6.058,9.322 c-1.279,2.614-8.946,39.306-8.946,42.592c0,2.005,0.041,8.618,0.071,13.47c1.536,0.2,3.411,0.761,4.357,0.125 c1.624-1.093,2.363-2.323,2.491-3.372c0.128-1.048,1.367-12.969,2.69-20.812c1.779-10.547,4.571-19.005,4.415-18.97 c3.213-6.672,8.966-17.938,9.887-19.252c17.808-25.439,38.994-49.947,38.994-49.947s21.166,24.502,38.978,49.947 c0.921,1.313,6.672,12.58,9.888,19.252c-0.158-0.035,2.635,8.423,4.414,18.97c1.322,7.843,2.562,19.764,2.688,20.812 c0.131,1.049,0.87,2.279,2.493,3.372c0.944,0.636,2.818,0.075,4.355-0.125c0.032-4.852,0.073-11.465,0.073-13.47 c0-3.286-7.667-39.978-8.948-42.592C180.936,188.104,177.801,183.588,176.157,181.396z M82.538,21.517l-1.014-0.623l-0.813,0.872 c-2.231,2.394-3.063,6.287-3.342,9.478l-1.624-2.705l-1.323,1.433c-0.179,0.197-1.801,2.049-3.004,6.592 c-0.581,2.205-0.709,5.712-0.689,8.68l-3.057-4.85l-1.234,1.958c-0.072,0.114-1.787,2.859-3.722,8.121 c-1.22,3.307-1.179,9.262-0.949,13.547l-6.463-8.577l-1.012,2.251c-0.08,0.177-1.934,4.373-2.359,10.694 c-0.234,3.536,0.51,8.253,1.231,11.789l-7.778-7.739l-0.453,2.807c-0.073,0.446-1.754,11.048-0.02,18.338 c0.433,1.819,1.231,3.879,2.117,5.832l-10.759-9.394c0,0-0.749,5.515-0.248,10.196c0.271,2.523,2.272,7.632,3.813,11.276 c-3.503-2.016-8.539-5.019-11.099-7.047l-2.259-1.79l-0.106,2.881c-0.162,4.545-0.087,8.952,2.6,12.916 c1.161,1.717,3.433,4.291,5.459,6.484c-2.877-0.894-6.201-1.851-8.179-2.173l-1.763-0.288l0.071,1.787 c0.148,3.675,2.771,8.324,4.198,9.896c0.723,0.794,2.436,2.508,3.941,3.991L21.93,137.83l0.896,2.098 c0.1,0.234,2.493,5.74,7.324,9.943c2.464,2.146,6.876,4.516,10.047,6.088c-2.57,0.653-5.908,1.536-8.518,2.335l-2.402,0.735 l1.246,1.664c0.13,0.173,0.27,0.343,0.407,0.494c3.608,4.04,12.229,5.234,14.412,5.339c-4.774,1.197-9.767,2.451-11.896,2.979 l-2.911,0.728l2.371,1.843c4.708,3.656,13.02,5.841,22.233,5.841c2.588,0,4.539,0.099,8.954-0.081l-6.105,11.467 c0,0-2.038,9.36-3.02,12.658c-2.304-2.226-2.133-3.205-15.52-15.09c-4.829-4.284-15.411-10.026-18.429-13.813 c-1.005-1.263,5.449-1.422,6.179-1.422c0.73,0-6.393-3.385-8.582-6.123c-2.191-2.739-2.895-5.36-2.895-5.36s-0.38-0.847,0.637-1.001 c1.018-0.157,8.65-1.316,9.084-1.611c0.395-0.266,0.332-0.517-0.137-0.75c-0.469-0.236-9.248-4.724-12.548-10.672 c-2.375-4.281-2.357-6.923-2.364-7.32c-0.01-0.64,0.17-0.803,1.385-0.708c0.862,0.068,7.226,0.046,7.774-0.032 c0.546-0.08,0.453-0.324,0.019-0.576c-9.483-5.484-8.546-14.054-8.624-14.601c-0.079-0.548,0-0.783,0.548-0.704 c0.546,0.077,9.342,0.263,9.812,0.263c0.469,0,0.218-0.519,0.218-0.519s-3.452-4.27-6.056-11.001 c-2.077-5.366-2.377-11.169-2.533-11.639c-0.157-0.469-0.034-0.887,0.514-0.808c0.549,0.079,8.558,3.488,8.87,3.567 c0.313,0.077,0.548-0.103,0.235-0.259c-0.314-0.157-2.896-6.383-3.855-12.033c-1.384-8.17-0.488-10.725-0.42-11.269 c0.063-0.502,0.397-0.874,1.105-0.507c0.743,0.385,12.255,10.245,12.646,10.402c0.391,0.157,0.79-0.164,0.477-0.555 c-0.313-0.392-2.392-6.574-2.938-13.145c-0.548-6.571,0.1-14.571,0.274-15.225c0.161-0.604,0.635-0.581,1.339,0.046 c0.704,0.626,10.381,8.489,11.006,9.038c0.625,0.547,0.727,0.252,0.492-0.53c-0.235-0.782-0.484-8.435,0.375-14.381 c0.965-6.686,3.372-10.979,3.685-11.448s0.536-0.474,0.927-0.161c0.391,0.313,5.106,9.045,5.497,9.515 c0.391,0.469,0.809,0.336,0.732-0.524c-0.104-1.14-0.057-4.547,1.845-12.682c1.956-8.371,3.789-9.758,4.052-10.088 c0.313-0.396,0.521-0.392,0.833-0.002c0.309,0.387,3.945,8.536,4.519,9.377c-0.005,0,0,0.008,0.031,0.049 c-0.007-0.009-0.022-0.036-0.031-0.049c0.025,0.008,0.446,0.395,0.34-0.883c-0.058-0.707,0.396-10.055,1.574-12.653 c1.941-4.282,4.404-6.214,4.899-6.463c0.54-0.272,0.658-0.171,0.737,0.212c0.146,0.721,0.478,7.705,0.625,8.312 c0.146,0.606,0.444,0.232,0.437-0.151c-0.015-0.72,1.081-7.977,3.115-12.044c2.033-4.069,4.292-5.681,5.188-6.133 c0.742-0.376,0.989-0.156,1.018,0.391c0.022,0.422,0.645,5.719,1.206,10.452c-0.272,1.24-0.484,2.556-0.639,3.691 C83.251,22.014,82.866,21.718,82.538,21.517z M127.35,141.814c-1.158,12.032-4.978,23.045-6.326,29.486 c-1.643,7.849-4.788,18.061-6.793,20.931c-4.433,6.343-18.036,18.547-20.403,19.732c-1.094,0.547-6.376-4.115-6.56-4.846 c-0.182-0.728,2.883-3.993,2.154-3.627c-0.731,0.364-4.104,0.906-5.06,0.87c-0.753-0.026,0.633-2.728,0.633-2.728 s-1.484,2.217-3.021,2.947c-0.03,0.015,9.433-18.119,9.433-18.119S127.52,140.043,127.35,141.814z M119.7,169.39l3.104-10.647 l-1.869-0.559l-3.152,10.656L119.7,169.39z M114.072,167.242l4.687-10.051l-1.764-0.838l-4.735,10.055L114.072,167.242z M126.961,159.319l-0.82,11.06l-1.991-0.139l0.867-11.079L126.961,159.319z M131.727,170.391l-1.986,0.167l-0.828-11.078 l1.944-0.144L131.727,170.391z M164.422,186.462c0,0,9.463,18.134,9.434,18.119c-1.54-0.73-3.021-2.947-3.021-2.947 s1.384,2.701,0.633,2.728c-0.957,0.036-4.33-0.506-5.06-0.87c-0.731-0.366,2.334,2.899,2.153,3.627 c-0.185,0.73-5.467,5.393-6.56,4.846c-2.368-1.186-15.973-13.39-20.404-19.732c-2.007-2.87-5.149-13.082-6.792-20.931 c-1.349-6.441-4.621-17.127-5.778-29.16C128.854,140.373,164.422,186.462,164.422,186.462z M142.029,167.242l1.813-0.834 l-4.735-10.055l-1.762,0.838L142.029,167.242z M136.402,169.39l1.917-0.55l-3.152-10.656l-1.868,0.559L136.402,169.39z"}))}function me(){return i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_ClosedCaption",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{className:"CCBox",fill:"none",stroke:"#000000",strokeWidth:"10",strokeMiterlimit:"10",d:"M238,210c0,6.627-5.373,12-12,12H30 c-6.627,0-12-5.373-12-12V46c0-6.627,5.373-12,12-12h196c6.627,0,12,5.373,12,12V210z"}),i.createElement("path",{className:"C1",d:"M90.505,173.207c11.431,0,22.338-4.276,30.72-12.036c2.6-2.407,2.753-6.47,0.347-9.068c-2.41-2.604-6.47-2.757-9.072-0.349 c-5.998,5.559-13.811,8.62-21.995,8.62c-17.852,0-32.373-14.524-32.373-32.372c0-17.849,14.521-32.373,32.373-32.373 c8.177,0,15.981,3.055,21.979,8.603c2.603,2.407,6.662,2.25,9.072-0.353c2.407-2.602,2.249-6.662-0.353-9.068 c-8.375-7.751-19.276-12.019-30.694-12.019c-24.931,0-45.209,20.281-45.209,45.209C45.3,152.93,65.574,173.207,90.505,173.207z"}),i.createElement("path",{className:"C1",d:"M177.926,173.207c11.431,0,22.338-4.276,30.721-12.036c2.6-2.407,2.754-6.47,0.347-9.068 c-2.41-2.604-6.47-2.757-9.072-0.349c-5.998,5.559-13.812,8.62-21.995,8.62c-17.852,0-32.372-14.524-32.372-32.372 c0-17.849,14.521-32.373,32.372-32.373c8.178,0,15.981,3.055,21.979,8.603c2.604,2.407,6.663,2.25,9.072-0.353 c2.407-2.602,2.25-6.662-0.353-9.068c-8.375-7.751-19.277-12.019-30.694-12.019c-24.932,0-45.209,20.281-45.209,45.209 C132.721,152.93,152.996,173.207,177.926,173.207z"}))}function pe(){return i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Hidden",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{fill:"none",stroke:"#FFFFFF",strokeWidth:"10",strokeLinecap:"round",strokeMiterlimit:"10",d:"M62.499,172.263 c-32.755-16.197-47.415-39.509-47.415-39.509"}),i.createElement("path",{fill:"none",stroke:"#FFFFFF",strokeWidth:"10",strokeLinecap:"round",strokeMiterlimit:"10",d:"M177.948,85.392 c48.213,14.998,68.451,47.362,68.451,47.362s-36.393,54.737-115.689,54.737c-17.938,0-33.591-2.671-47.096-6.832"}),i.createElement("path",{fill:"none",stroke:"#FFFFFF",strokeWidth:"10",strokeLinecap:"round",strokeMiterlimit:"10",d:"M15.084,132.754 c0,0,32.933-56.576,115.674-54.785c8.505,0.185,16.486,0.913,23.96,2.072"}),i.createElement("path",{fill:"none",stroke:"#FFFFFF",strokeWidth:"10",strokeLinecap:"round",strokeMiterlimit:"10",d:"M93.981,141.131 c-0.475-2.385-0.725-4.852-0.725-7.377c0-20.711,16.789-37.5,37.5-37.5c2.42,0,4.787,0.229,7.08,0.668"}),i.createElement("path",{fill:"none",stroke:"#FFFFFF",strokeWidth:"10",strokeLinecap:"round",strokeMiterlimit:"10",d:"M156.528,106.512 c7.223,6.836,11.729,16.513,11.729,27.242c0,20.711-16.789,37.5-37.5,37.5c-10.609,0-20.189-4.405-27.012-11.487"}),i.createElement("line",{fill:"none",stroke:"#FFFFFF",strokeWidth:"10",strokeLinecap:"round",strokeMiterlimit:"10",x1:"53.007",y1:"210.504",x2:"208.507",y2:"55.004"}))}function ge(e){const{fullcolor:t}=e,n=(0,o._T)(e,["fullcolor"]),[r,s]=(0,c.y)(),[a,l]=(0,c.y)();return t?i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},n),i.createElement("path",{stroke:s,fill:l,d:"M10.1777 10.0258L10.3929 9.80693V9.49999V5.52777H14.2857H14.6001L14.8205 5.30358L18 2.06976L21.1795 5.30358L21.3999 5.52777H21.7143H25.6071V9.50001V9.80696L25.8223 10.0258L28.5553 12.8055L25.8223 15.5853L25.6071 15.8041V16.1111V20.0833H21.7143H21.3999L21.1795 20.3075L18 23.5413L14.8205 20.3075L14.6001 20.0833H14.2857H10.3929V16.1111V15.8042L10.1777 15.5853L7.44464 12.8055L10.1777 10.0258ZM14.7399 28.0317L11.56 33.4221L9.85164 29.9469L9.6456 29.5278H9.17857H6.29474L8.68445 25.3611H12.1142L14.7399 28.0317ZM26.8214 29.5278H26.3544L26.1484 29.9469L24.44 33.4221L21.2601 28.0317L23.8858 25.3611H27.3155L29.7053 29.5278H26.8214Z",strokeWidth:"1.5"}),i.createElement("circle",{stroke:"#FFAB2C",fill:"#FFC82C",cx:"18",cy:"13",r:"5.5"}),i.createElement("defs",null,i.createElement("linearGradient",{id:a,x1:"7.08",y1:"3.72",x2:"33.6694",y2:"25.0697",gradientUnits:"userSpaceOnUse"},i.createElement("stop",{stopColor:"#0056D6"}),i.createElement("stop",{offset:"1",stopColor:"#1A9FFF"})),i.createElement("linearGradient",{id:r,x1:"7.08",y1:"3.72",x2:"33.6694",y2:"25.0697",gradientUnits:"userSpaceOnUse"},i.createElement("stop",{stopColor:"#0056D6"}),i.createElement("stop",{offset:"1",stopColor:"#1A9FFF"})))):i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},n),i.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M9.64304 9.49988L6.39294 12.8055L9.64304 16.1112V20.8333H14.2858L18.0001 24.6111L21.7143 20.8333H26.3573V16.111L29.6072 12.8055L26.3573 9.50012V4.77777H21.7143L18.0001 1L14.2858 4.77777H9.64304V9.49988ZM22.6432 12.8056C22.6432 15.4136 20.5645 17.5278 18.0004 17.5278C15.4362 17.5278 13.3575 15.4136 13.3575 12.8056C13.3575 10.1976 15.4362 8.08334 18.0004 8.08334C20.5645 8.08334 22.6432 10.1976 22.6432 12.8056Z"}),i.createElement("path",{fill:"currentColor",d:"M5 30.2778L8.25 24.6111H12.4286L15.6786 27.9167L11.5 35L9.17857 30.2778H5Z"}),i.createElement("path",{fill:"currentColor",d:"M30.9999 30.2778L27.7499 24.6111H23.5713L20.3213 27.9167L24.4999 35L26.8213 30.2778H30.9999Z"}))}function ve(){return i.createElement("svg",{version:"1.1",id:"Layer_3",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Filter",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{d:"M236.445,23.522c-1.085-2.35-3.438-3.855-6.025-3.855H25.58c-2.586,0-4.936,1.501-6.024,3.855 c-1.08,2.349-0.698,5.112,0.983,7.083l80.328,94.039v104.181c0,2.74,1.682,5.194,4.237,6.188c0.778,0.3,1.588,0.445,2.392,0.445 c1.832,0,3.626-0.762,4.91-2.17l41.012-45.13c1.111-1.219,1.724-2.811,1.724-4.459v-59.054l80.325-94.04 C237.144,28.634,237.526,25.867,236.445,23.522z"}))}function fe(){return i.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Edit",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{d:"M16.757,233.795c-1.324,3.973,2.455,7.752,6.427,6.428l50.912-16.971l-40.368-40.367L16.757,233.795z"}),i.createElement("rect",{x:"83.614",y:"75.466",transform:"matrix(-0.7071 -0.7071 0.7071 -0.7071 93.7468 324.5916)",width:"60.971",height:"134.827"}),i.createElement("rect",{x:"149.28",y:"68.116",transform:"matrix(-0.7071 -0.7071 0.7071 -0.7071 252.0431 259.4951)",width:"60.971",height:"18.862"}),i.createElement("path",{d:"M233.545,37.803l-14.368-14.369c-7.928-7.928-20.846-7.897-28.809,0.064l-14.305,14.307l43.112,43.111l14.306-14.305 C241.511,58.582,241.513,45.771,233.545,37.803z"}))}function _e(){return i.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Information",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("polyline",{className:"I",points:"86.883,110.957 152.894,110.957 152.894,181.406 177.117,181.406 177.117,202.485 86.883,202.485 86.883,181.775 109.441,181.775 109.441,130.372 86.883,130.372 "}),i.createElement("circle",{className:"I",cx:"128.47",cy:"67.607",r:"25.517"}),i.createElement("circle",{fill:"none",stroke:"#000000",strokeWidth:"14",strokeMiterlimit:"10",cx:"128",cy:"128",r:"116.833"}))}function Ce(){return i.createElement("svg",{version:"1.1",id:"Flag",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Information",height:"100px",width:"100px",x:"0px",y:"0px",viewBox:"0 0 100 100"},i.createElement("path",{d:"M82.5,10.8c-0.8-0.7-1.9-0.8-2.9-0.7l-7.2,1.8c-7.3,1.8-15.1,1.4-22.3-1.2h-0.1c-7.8-2.9-16.2-3.5-24.2-1.9l-2.8,0.6V8.5 c0-1.9-1.5-3.5-3.5-3.5S16,6.5,16,8.5v5.1v38.8v39.2c0,1.9,1.5,3.5,3.5,3.5s3.5-1.5,3.5-3.5V55.1l4-0.8c6.9-1.4,14-0.8,20.5,1.7 l0.3,0.1c5,1.8,10.2,2.8,15.5,2.8c3.6,0,7.3-0.4,10.9-1.4l7.2-1.8c1.5-0.4,2.6-1.8,2.6-3.3V13.6C83.9,12.5,83.3,11.5,82.5,10.8z"}))}function be(){return i.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_Patch",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{d:"M171.176,136.219c-5.516-5.516-14.166-5.948-20.223-1.406L92.125,75.984l-8.002-29.738c-0.324-1.406-1.73-3.027-3.028-3.785 L46.49,24.186c-1.298-0.648-3.136-0.433-4.218,0.648L25.295,41.813c-0.974,0.973-1.298,2.92-0.649,4.217l18.276,34.605 c0.648,1.297,2.379,2.596,3.785,3.027l29.739,8.003l58.828,58.828c-4.542,6.056-4.109,14.707,1.405,20.222l56.882,56.882 c6.056,6.056,15.896,6.056,21.845,0l12.544-12.544c6.056-6.056,6.056-15.788,0-21.845L171.176,136.219z"}),i.createElement("path",{d:"M153.116,122.16c2.271-0.648,4.65-0.973,7.138-0.973c0.865,0,1.622,0,2.486,0.107l26.928-26.927 c12.328,2.92,25.846-0.324,35.361-9.948c9.517-9.625,12.869-23.034,9.949-35.254l-20.33,20.33l-21.845-5.84l-5.84-21.952 l20.331-20.33c-12.221-2.92-25.738,0.324-35.254,9.948c-9.625,9.625-12.869,23.143-9.949,35.362L129.866,98.91L153.116,122.16z"}),i.createElement("path",{d:"M99.371,129.406l-32.226,32.226c-12.328-2.92-25.845,0.324-35.362,9.948c-9.517,9.625-12.869,23.034-9.949,35.254 l20.331-20.33l21.953,5.84l5.839,21.952l-20.331,20.33c12.22,2.92,25.737-0.324,35.254-9.949 c9.625-9.624,12.869-23.142,9.949-35.361l27.035-27.035c-0.325-3.136,0-6.38,0.865-9.517L99.371,129.406z"}))}function we(){return i.createElement("svg",{version:"1.1",id:"base",xmlns:"http://www.w3.org/2000/svg",className:"SVGIcon_Button SVGIcon_AppleLogo",x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 256 256"},i.createElement("path",{d:"M138.365,26.557c16.139-21.272,38.578-21.376,38.578-21.376s3.336,19.999-12.696,39.266 c-17.12,20.572-36.58,17.206-36.58,17.206S124.012,45.473,138.365,26.557z"}),i.createElement("path",{d:"M129.719,75.662c8.305,0,23.713-11.413,43.771-11.413c34.527,0,48.109,24.566,48.109,24.566s-26.565,13.583-26.565,46.54 c0,37.179,33.093,49.991,33.093,49.991s-23.134,65.112-54.38,65.112c-14.353,0-25.509-9.672-40.631-9.672 c-15.41,0-30.702,10.032-40.662,10.032c-28.533,0-64.581-61.765-64.581-111.414c0-48.849,30.512-74.474,59.13-74.474 C105.61,64.933,120.047,75.662,129.719,75.662z"}))}function Ee(){return i.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",className:"SVGIcon_Button SVGIcon_WindowsLogo",width:"100%",height:"100%",viewBox:"0 0 128 128",enableBackground:"new 0 0 128 128"},i.createElement("rect",{fill:"currentColor",width:"60.834",height:"60.835"}),i.createElement("rect",{x:"67.165",fill:"currentColor",width:"60.835",height:"60.835"}),i.createElement("rect",{y:"67.164",fill:"currentColor",width:"60.834",height:"60.836"}),i.createElement("rect",{x:"67.165",y:"67.164",fill:"currentColor",width:"60.835",height:"60.836"}))}function Se(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 256 256"},i.createElement("circle",{cx:"126",cy:"134",r:"20.6"}),i.createElement("circle",{cx:"189.4",cy:"134",r:"20.6"}),i.createElement("circle",{cx:"62.6",cy:"134",r:"20.6"}))}function De(){return i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",version:"1.1",x:"0px",y:"0px",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.41421"},i.createElement("path",{d:"M12.621,2.491c-0.021,0.019 -0.042,0.039 -0.063,0.06l-5.125,5.201c-0.579,0.587 -0.575,1.527 -0.001,2.109l0.691,0.702c0.576,0.584 1.505,0.582 2.079,-0.001l5.126,-5.201c0.021,-0.021 0.04,-0.042 0.059,-0.063l1.573,1.595c0.573,0.582 1.04,0.386 1.04,-0.439l0,-5.957c0,-0.276 -0.219,-0.497 -0.49,-0.497l-5.87,0c-0.82,0 -1.008,0.473 -0.434,1.056l1.415,1.435Zm-9.618,-2.491c-1.665,0 -3.003,1.344 -3.003,3.003l0,11.994c0,1.665 1.344,3.003 3.003,3.003l11.994,0c1.665,0 3.003,-1.344 3.003,-3.003l0,-7.746l0,4.249l-3,-2.488l0,4.492c0,0.826 -0.671,1.496 -1.496,1.496l-9.008,0c-0.826,0 -1.496,-0.671 -1.496,-1.496l0,-9.008c0,-0.826 0.671,-1.496 1.496,-1.496l4.504,0l-2.5,-3l4.249,0l-7.746,0Z"}))}function Me(){return i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",x:"0px",y:"0px"},i.createElement("path",{d:"M50,7A43,43,0,1,1,7,50,43,43,0,0,1,50,7m0-7a50,50,0,1,0,50,50A50,50,0,0,0,50,0h0Z",fill:"currentColor"}),i.createElement("path",{d:"M50.79,25a45.51,45.51,0,0,1,5.29.87c5.33,1.51,8.5,5.77,8.9,11.43a10.4,10.4,0,0,1-4.21,9.5c-1.42,1.1-2.91,2.1-4.34,3.18a7.06,7.06,0,0,0-3.18,6.3,4,4,0,0,1-2.88,4,4.42,4.42,0,0,1-5.18-1.55,4.19,4.19,0,0,1-.59-2.07A13.89,13.89,0,0,1,50.3,45,41.55,41.55,0,0,0,54.83,41,5,5,0,0,0,56,38.19c0.23-2.83-1.59-4.65-4.52-4.84-3.54-.23-6.52.69-8.6,3.82a4.19,4.19,0,0,1-4.35,2c-3-.5-4.29-2.94-3.06-5.75a12.84,12.84,0,0,1,6.25-6.2A21.71,21.71,0,0,1,50.79,25Z",fill:"currentColor"}),i.createElement("path",{d:"M53.78,69.88C53.8,73.09,52,75,48.85,75s-5.25-1.84-5.26-4.53c0-3.73,1.67-5.59,5-5.69C51.3,64.7,54.12,66.36,53.78,69.88Z",fill:"currentColor"}))}function Le(e){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4V20V24L7 20H24V4H2ZM34 12V32L29 28H12V24H28V12H34Z",fill:"currentColor"}))}function ye(e){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M33.78 19.22L19.22 33.78L4 18.56V4H18.56L33.78 19.22Z",fill:"currentColor"}))}function Re(e,t){return(0,l.id)()?i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 4V16V20L7 16H24V4H2ZM12 20V32H29L34 36V32V20H12Z",fill:"currentColor"})):i.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:e.className,x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 409.6 409.6"},i.createElement("path",{d:"M109.9,96.2H302c16.3,0,29.6,13,29.6,29v101.4c0,16-13.2,29-29.6,29h-90.1l-57.6,57.9L138,255.6h-28.1\n\t\t\t\tc-16.3,0-29.6-13-29.6-29V125.2C80.4,109.2,93.6,96.2,109.9,96.2z"}))}function Oe(e){return i.createElement("svg",{version:"1.1",id:"Layer_2",xmlns:"http://www.w3.org/2000/svg",className:e.className,x:"0px",y:"0px",width:"256px",height:"256px",viewBox:"0 0 409.6 409.6"},i.createElement("path",{d:"M225.1,328.8c-12.6,0-15.3-1.9-29.5-5.3c-18.7-4.8-35.3-6.3-51-5.3c-3.5,0.5-7.1,0.5-10.6,1l-7.6,1\n\t\t\t\tc-2.5,0.5-4.5-1-5.6-3.4c-12.6-36.2-16.6-74.7-11.6-117.6c0-2.4,2-3.9,4.5-4.3l4.5-0.5c3.5-0.5,6.6-1,10.1-1c5-0.5,9.6-2.9,13.1-7.2\n\t\t\t\tl0.5-1c0.5-0.5,1-1.4,1.5-2.4c9.1-14.5,22.2-25.6,36.8-37.6c7.6-6.3,14.1-12.5,20.2-18.3c6.6-7.2,10.1-16.4,10.6-27\n\t\t\t\tc0-9.6,5.6-15.4,16.1-16.4c13.6-1,22.7,3.9,27.8,15.9c7.6,16.4-4.4,33.3-13.9,50.6c-2,3.9-4.5,7.2-7.1,10.6c-1,1.4-2,2.9-3,4.3\n\t\t\t\tl-3.5,4.8c-1.5,1.9-3,3.9-4.5,6.3c4,0,7.6,0,11.6,0c11.1-0.5,34.6-0.5,46.7,1.4c7.6,1,13.6,4.8,17.7,10.1c3.5,4.8,4.5,11.1,3,17.8\n\t\t\t\tc-0.5,2.9-2,5.8-5,9.2c-1.5,1.9-14.4,3.9-16.5,5.3h10.9c2.5,1.9,5,3.9,7.1,6.3c4,4.3,5.6,9.2,5,14.9c-0.5,5.3-3,10.6-7.6,14\n\t\t\t\tc-2.5,1.9-16,3.9-18.5,5.3c5,5.3,18,12.1,16.5,19.3c-2,9.6-7.6,15.4-18.2,17.8c2.5,3.9,3,8.7,1.5,13.5c-0.5,2.4-1.5,4.3-2.5,6.3\n\t\t\t\tc-2.5,5.3-6.6,8.2-13.1,9.6C253.2,327.8,233.7,328.8,225.1,328.8z"}))}function Ie(e){return i.createElement("svg",{className:e.className,height:"100px",width:"100px",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 100 100",enableBackground:"new 0 0 100 100",fill:"currentColor"},i.createElement("g",{display:"none"},i.createElement("rect",{x:"-660.877",y:"-37.172",display:"inline",width:"1370.931",height:"1263.231"})),i.createElement("g",null,i.createElement("path",{d:"M34.367,31.803c0.49,0.443,1.228,0.404,1.698-0.06c3.869-3.823,8.894-6.045,14.425-6.337 c11.044-0.495,20.558,7.281,22.518,17.866c0.133,0.717-0.429,1.379-1.157,1.413l-4.83,0.223c-1.092,0.05-1.578,1.397-0.769,2.133 l13.999,12.733c0.502,0.456,1.279,0.419,1.734-0.084L94.68,45.676c0.733-0.809,0.123-2.1-0.967-2.048l-6.486,0.309 c-1.82-18.94-18.238-33.327-37.455-32.439c-9.122,0.484-17.619,4.28-23.984,10.844c-0.48,0.495-0.439,1.299,0.072,1.762 L34.367,31.803z"}),i.createElement("path",{d:"M6.229,53.869h6.11c0.622,0,1.132,0.468,1.207,1.085c1.029,8.437,4.787,16.288,10.854,22.357 c7.249,7.217,16.85,11.23,27.047,11.23c9.778,0.07,19.009-3.568,26.131-10.258c0.502-0.471,0.502-1.276,0.015-1.763l-9.587-9.587 c-4.379,4.389-10.288,6.838-16.559,6.838c-6.224,0-12.068-2.506-16.541-6.934c-3.179-3.179-5.282-7.178-6.168-11.481 c-0.154-0.746,0.447-1.436,1.209-1.436h5.183c1.092,0,1.639-1.319,0.869-2.092L21.572,37.352c-0.478-0.48-1.255-0.481-1.734-0.003 L5.363,51.773C4.589,52.545,5.135,53.869,6.229,53.869z"})))}function xe(e){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36",fill:"none"},e),i.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M18 3C15.0333 3 12.1332 3.87973 9.66645 5.52796C7.19972 7.17618 5.27713 9.51886 4.14181 12.2597C3.0065 15.0006 2.70945 18.0166 3.28823 20.9264C3.86701 23.8361 5.29562 26.5088 7.3934 28.6066C9.49119 30.7044 12.1639 32.133 15.0737 32.7118C17.9834 33.2906 20.9994 32.9935 23.7403 31.8582C26.4811 30.7229 28.8238 28.8003 30.472 26.3336C32.1203 23.8668 33 20.9667 33 18C33 16.0302 32.612 14.0796 31.8582 12.2597C31.1044 10.4399 29.9995 8.78628 28.6066 7.3934C27.2137 6.00052 25.5601 4.89563 23.7403 4.14181C21.9204 3.38799 19.9698 3 18 3ZM9.00001 15C9.00001 14.4067 9.17595 13.8266 9.5056 13.3333C9.83524 12.8399 10.3038 12.4554 10.852 12.2284C11.4001 12.0013 12.0033 11.9419 12.5853 12.0576C13.1672 12.1734 13.7018 12.4591 14.1213 12.8787C14.5409 13.2982 14.8266 13.8328 14.9424 14.4147C15.0581 14.9967 14.9987 15.5999 14.7716 16.1481C14.5446 16.6962 14.1601 17.1648 13.6667 17.4944C13.1734 17.8241 12.5934 18 12 18C11.2044 18 10.4413 17.6839 9.87869 17.1213C9.31608 16.5587 9.00001 15.7956 9.00001 15ZM24 18C23.4067 18 22.8266 17.8241 22.3333 17.4944C21.8399 17.1648 21.4554 16.6962 21.2284 16.1481C21.0013 15.5999 20.9419 14.9967 21.0576 14.4147C21.1734 13.8328 21.4591 13.2982 21.8787 12.8787C22.2982 12.4591 22.8328 12.1734 23.4147 12.0576C23.9967 11.9419 24.5999 12.0013 25.1481 12.2284C25.6962 12.4554 26.1648 12.8399 26.4944 13.3333C26.8241 13.8266 27 14.4067 27 15C27 15.7956 26.6839 16.5587 26.1213 17.1213C25.5587 17.6839 24.7957 18 24 18ZM26.3149 23.6788C26.7672 22.8295 27 21.9193 27 21H18H9C9 21.9193 9.23279 22.8295 9.68508 23.6788C10.1374 24.5281 10.8003 25.2997 11.636 25.9497C12.4718 26.5998 13.4639 27.1154 14.5558 27.4672C15.6478 27.8189 16.8181 28 18 28C19.1819 28 20.3522 27.8189 21.4442 27.4672C22.5361 27.1154 23.5282 26.5998 24.364 25.9497C25.1997 25.2997 25.8626 24.5281 26.3149 23.6788Z"}))}function Te(e){const{className:t}=e,[n,r]=((0,o._T)(e,["className"]),(0,c.y)()),[s,a]=(0,c.y)(),[l,u]=(0,c.y)(),[d,h]=(0,c.y)(),[m,p]=(0,c.y)();return i.createElement("svg",{className:t,width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("circle",{cx:"16",cy:"16",r:"16",fill:"#BDCCDB"}),i.createElement("circle",{cx:"16",cy:"16",r:"16",fill:r}),i.createElement("circle",{cx:"16",cy:"16",r:"14.2745",fill:"#98A8B7"}),i.createElement("circle",{cx:"16",cy:"16",r:"14.2745",fill:a}),i.createElement("circle",{cx:"16",cy:"16",r:"14.2745",stroke:"#7A92A9"}),i.createElement("circle",{cx:"16",cy:"16",r:"11.1309",fill:"#BDCCDB"}),i.createElement("circle",{cx:"16",cy:"16",r:"11.1309",fill:u}),i.createElement("circle",{cx:"16",cy:"16",r:"10.2107",fill:"#5792C8"}),i.createElement("circle",{cx:"16",cy:"16",r:"10.2107",fill:h}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.6016 17.9523C22.8425 17.9523 24.6591 16.1357 24.6591 13.8948C24.6591 11.6539 22.8425 9.83727 20.6016 9.83727C18.3607 9.83727 16.5441 11.6539 16.5441 13.8948C16.5441 13.9609 16.5457 14.0266 16.5488 14.0919L14.0477 17.6314C14.0205 17.6306 13.9933 17.6303 13.966 17.6303C13.2606 17.6303 12.6127 17.8767 12.1038 18.2882L6.33398 15.9235C6.33398 17.4638 6.62381 19.1438 6.97803 19.5302C7.16531 19.7345 9.1256 20.4564 11.0502 21.127C11.3013 22.5093 12.5112 23.5574 13.966 23.5574C15.6027 23.5574 16.9296 22.2306 16.9296 20.5939C16.9296 20.5326 16.9277 20.4717 16.924 20.4113L20.2613 17.9382C20.3735 17.9475 20.487 17.9523 20.6016 17.9523ZM12.1995 21.5232C12.5338 22.1572 13.1994 22.5894 13.966 22.5894C15.0681 22.5894 15.9615 21.696 15.9615 20.5939C15.9615 19.4917 15.0681 18.5983 13.966 18.5983C13.7007 18.5983 13.4475 18.65 13.216 18.744L14.1914 19.1438L14.1886 19.1617C14.8832 19.2688 15.4151 19.8692 15.4151 20.5939C15.4151 21.3942 14.7663 22.043 13.966 22.043C13.8901 22.043 13.8157 22.0371 13.743 22.0259L13.7405 22.042L13.6136 21.9998C13.5414 21.9818 13.4713 21.9583 13.4038 21.9299C13.0402 21.8084 12.6309 21.6704 12.1995 21.5232ZM20.6016 16.5998C22.0956 16.5998 23.3066 15.3887 23.3066 13.8948C23.3066 12.4008 22.0956 11.1898 20.6016 11.1898C19.1077 11.1898 17.8966 12.4008 17.8966 13.8948C17.8966 15.3887 19.1077 16.5998 20.6016 16.5998ZM22.4 13.8948C22.4 14.888 21.5948 15.6932 20.6016 15.6932C19.6083 15.6932 18.8032 14.888 18.8032 13.8948C18.8032 12.9015 19.6083 12.0964 20.6016 12.0964C21.5948 12.0964 22.4 12.9015 22.4 13.8948Z",fill:"#BDCCDB"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.6016 17.9523C22.8425 17.9523 24.6591 16.1357 24.6591 13.8948C24.6591 11.6539 22.8425 9.83727 20.6016 9.83727C18.3607 9.83727 16.5441 11.6539 16.5441 13.8948C16.5441 13.9609 16.5457 14.0266 16.5488 14.0919L14.0477 17.6314C14.0205 17.6306 13.9933 17.6303 13.966 17.6303C13.2606 17.6303 12.6127 17.8767 12.1038 18.2882L6.33398 15.9235C6.33398 17.4638 6.62381 19.1438 6.97803 19.5302C7.16531 19.7345 9.1256 20.4564 11.0502 21.127C11.3013 22.5093 12.5112 23.5574 13.966 23.5574C15.6027 23.5574 16.9296 22.2306 16.9296 20.5939C16.9296 20.5326 16.9277 20.4717 16.924 20.4113L20.2613 17.9382C20.3735 17.9475 20.487 17.9523 20.6016 17.9523ZM12.1995 21.5232C12.5338 22.1572 13.1994 22.5894 13.966 22.5894C15.0681 22.5894 15.9615 21.696 15.9615 20.5939C15.9615 19.4917 15.0681 18.5983 13.966 18.5983C13.7007 18.5983 13.4475 18.65 13.216 18.744L14.1914 19.1438L14.1886 19.1617C14.8832 19.2688 15.4151 19.8692 15.4151 20.5939C15.4151 21.3942 14.7663 22.043 13.966 22.043C13.8901 22.043 13.8157 22.0371 13.743 22.0259L13.7405 22.042L13.6136 21.9998C13.5414 21.9818 13.4713 21.9583 13.4038 21.9299C13.0402 21.8084 12.6309 21.6704 12.1995 21.5232ZM20.6016 16.5998C22.0956 16.5998 23.3066 15.3887 23.3066 13.8948C23.3066 12.4008 22.0956 11.1898 20.6016 11.1898C19.1077 11.1898 17.8966 12.4008 17.8966 13.8948C17.8966 15.3887 19.1077 16.5998 20.6016 16.5998ZM22.4 13.8948C22.4 14.888 21.5948 15.6932 20.6016 15.6932C19.6083 15.6932 18.8032 14.888 18.8032 13.8948C18.8032 12.9015 19.6083 12.0964 20.6016 12.0964C21.5948 12.0964 22.4 12.9015 22.4 13.8948Z",fill:p}),i.createElement("defs",null,i.createElement("linearGradient",{id:n,x1:"8.4375",y1:"1.75",x2:"23.1875",y2:"22.9375",gradientUnits:"userSpaceOnUse"},i.createElement("stop",{stopColor:"white",stopOpacity:"0.54"}),i.createElement("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})),i.createElement("linearGradient",{id:s,x1:"9",y1:"3.125",x2:"22.4375",y2:"24.625",gradientUnits:"userSpaceOnUse"},i.createElement("stop",{stopColor:"white",stopOpacity:"0.25"}),i.createElement("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})),i.createElement("linearGradient",{id:l,x1:"10.3125",y1:"6.375",x2:"19.6875",y2:"23.125",gradientUnits:"userSpaceOnUse"},i.createElement("stop",{stopColor:"white",stopOpacity:"0.65"}),i.createElement("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})),i.createElement("linearGradient",{id:d,x1:"10",y1:"8",x2:"20.5",y2:"26.2107",gradientUnits:"userSpaceOnUse"},i.createElement("stop",{stopColor:"#72A5D3"}),i.createElement("stop",{offset:"1",stopColor:"#4F7294"})),i.createElement("linearGradient",{id:m,x1:"12.1875",y1:"13.5625",x2:"18.5625",y2:"23.5574",gradientUnits:"userSpaceOnUse"},i.createElement("stop",{stopColor:"white",stopOpacity:"0.44"}),i.createElement("stop",{offset:"1",stopColor:"white",stopOpacity:"0"}))))}function Ae(){return i.createElement("svg",{height:"100px",width:"100px",fill:"#000000",x:"0px",y:"0px",viewBox:"0 0 101 101",enableBackground:"new 0 0 101 101",xmlns:"http://www.w3.org/2000/svg",version:"1.1"},i.createElement("g",null,i.createElement("path",{d:"M16.929,30.115 M84.446,84.262c0-37.271-30.323-67.613-67.587-67.613l0,0l0.069,13.467 c29.777,0.039,53.995,24.256,54.051,54.042L84.446,84.262z"}),i.createElement("path",{d:"M16.843,53.089 M61.472,84.262c0-24.616-20.026-44.639-44.628-44.639l0,0v13.466c17.182,0,31.161,13.984,31.161,31.173 H61.472z"}),i.createElement("circle",{cx:"26.695",cy:"74.305",r:"9.812"})))}function Ne(e){return i.createElement("svg",Object.assign({},e,{height:"24px",width:"24px",viewBox:"0 0 24 24",x:"0px",y:"0px"}),i.createElement("path",{fill:"white",d:"M3.3,0.5v23h17.5v-23H3.3z M10.2,9.6l-3-2.2h3.7L12,3.9l1.2,3.6H17l-3,2.2l1.2,3.6L12,11l-3,2.2L10.2,9.6z M17.3,16.1 M17.4,18H6.6v-1.2h10.7L17.4,18L17.4,18z M17.3,19.9"}))}function ke(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 32 32",enableBackground:"new 0 0 32 32"},i.createElement("path",{fill:"white",d:"M24.68,19.53l6.9-5.69c0.98-0.81,0.47-2.39-0.81-2.46l-8.89-0.54c-0.54-0.03-1.01-0.37-1.21-0.88L17.4,1.61\n\t\t\tc-0.47-1.18-2.12-1.18-2.59,0l-3.27,8.32c-0.2,0.51-0.67,0.84-1.21,0.88l-8.92,0.54c-1.28,0.07-1.78,1.65-0.81,2.46l6.9,5.66\n\t\t\tc0.4,0.34,0.61,0.91,0.47,1.41l-2.26,8.65c-0.3,1.21,1.01,2.19,2.09,1.52l7.51-4.81c0.47-0.3,1.04-0.3,1.48,0l7.54,4.81\n\t\t\tc1.08,0.67,2.39-0.3,2.09-1.52l-2.26-8.62C24.07,20.4,24.24,19.86,24.68,19.53z"}))}function Be(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 32 32",enableBackground:"new 0 0 32 32"},i.createElement("g",null,i.createElement("path",{fill:"white",d:"M28.4,1.49H3.79c-1.99,0-3.6,1.61-3.6,3.6v14.88c0,1.99,1.61,3.6,3.6,3.6h2.37c0,1.61-0.38,3.7-1.51,5.88\n\t\t\tc-0.28,0.57-0.19,1.33,0.19,1.8c0.28,0.38,0.76,0.47,1.14,0.47c0.19,0,0.38,0,0.57-0.09c4.07-1.61,7.57-5.59,9.47-8.05h12.4\n\t\t\tc1.99,0,3.6-1.61,3.6-3.6V5.1C31.91,3.11,30.3,1.49,28.4,1.49z M8.23,14.97c-1.33,0-2.37-1.04-2.37-2.37s1.04-2.37,2.37-2.37\n\t\t\ts2.37,1.04,2.37,2.37S9.56,14.97,8.23,14.97z M15.99,14.97c-1.33,0-2.37-1.04-2.37-2.37s1.04-2.37,2.37-2.37\n\t\t\tc1.33,0,2.37,1.04,2.37,2.37S17.32,14.97,15.99,14.97z M23.85,14.97c-1.33,0-2.37-1.04-2.37-2.37s1.04-2.37,2.37-2.37\n\t\t\tc1.33,0,2.37,1.04,2.37,2.37S25.18,14.97,23.85,14.97z"})))}function Fe(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 32 32",enableBackground:"new 0 0 32 32"},i.createElement("g",null,i.createElement("path",{fill:"white",d:"M23.32,28.28C23,25.55,20.68,23.52,18,23.52h-3.78c-2.73,0-5,2.03-5.33,4.76L8.56,30.8h15.09L23.32,28.28z"}),i.createElement("path",{fill:"white",d:"M16.08,22.15c2.82,0,5.1-2.28,5.1-5.1c0-2.82-2.28-5.1-5.1-5.1s-5.1,2.28-5.1,5.1\n\t\t\tC10.98,19.86,13.27,22.15,16.08,22.15z"}),i.createElement("g",null,i.createElement("path",{fill:"white",d:"M24.09,10.21c-0.94-1.22-2.18-2.23-3.57-2.9c-1.39-0.68-2.94-1.02-4.48-1.01l-0.02,0L16,6.3\n\t\t\t\tc-0.03,0-0.05,0-0.08,0c-1.52,0-3.04,0.35-4.4,1.01c-1.39,0.68-2.62,1.68-3.57,2.9c-0.94,1.22-1.6,2.67-1.91,4.18\n\t\t\t\tc-0.3,1.51-0.25,3.1,0.15,4.59c0.14,0.55,0.62,0.92,1.18,0.92c0.01,0,0.02,0,0.04,0h0.27l0.03-0.01c0.32-0.08,0.59-0.29,0.76-0.57\n\t\t\t\tl0.07-0.1c0.14-0.21,0.18-0.46,0.11-0.7L8.6,18.38c-0.18-0.62-0.27-1.27-0.29-1.92c0-4.24,3.45-7.68,7.69-7.68h0.04\n\t\t\t\tc4.24,0,7.69,3.45,7.69,7.68c-0.02,0.65-0.11,1.3-0.29,1.92l-0.04,0.15c-0.07,0.24-0.03,0.49,0.11,0.7l0.07,0.1\n\t\t\t\tc0.17,0.28,0.44,0.49,0.76,0.57l0.03,0.01l0.26,0c0.01,0,0.02,0,0.04,0c0.56,0,1.04-0.37,1.18-0.92c0.4-1.49,0.46-3.08,0.15-4.59\n\t\t\t\tC25.69,12.88,25.04,11.44,24.09,10.21z"}),i.createElement("path",{fill:"white",d:"M16.02,0.68c-8.83,0-15.99,7.16-16,15.99h0.01c-0.02,2.68,0.74,5.31,2.18,7.57l0,0.01l0.01,0.01\n\t\t\t\tc0.37,0.43,1,0.51,1.47,0.19c0.47-0.32,0.62-0.94,0.36-1.44l0,0l0,0c-1.19-1.89-1.81-4.09-1.79-6.32v0v0\n\t\t\t\tc0-7.6,6.16-13.76,13.76-13.76c7.6,0,13.76,6.16,13.76,13.76v0v0c0.03,2.24-0.59,4.43-1.79,6.32l0,0l0,0\n\t\t\t\tc-0.26,0.5-0.11,1.12,0.36,1.44c0.47,0.32,1.1,0.24,1.47-0.19l0.01-0.01l0-0.01c1.45-2.26,2.2-4.89,2.18-7.57h0.01\n\t\t\t\tC32.02,7.84,24.86,0.68,16.02,0.68"}))))}function Pe(e){return i.createElement("svg",Object.assign({},e,{height:"100px",width:"100px",fill:"#000000",xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:"0 0 32 32",x:"0px",y:"0px"}),i.createElement("path",{d:"M26.286 0c-3.142 0-5.714 2.572-5.714 5.714 0 0.512 0.074 1.006 0.202 1.479l-10.573 5.287c-1.049-1.332-2.67-2.194-4.487-2.194-3.142 0-5.714 2.572-5.714 5.714s2.572 5.714 5.714 5.714c1.815 0 3.437-0.862 4.486-2.193l10.574 5.287c-0.127 0.473-0.202 0.966-0.202 1.478 0 3.142 2.572 5.714 5.714 5.714s5.714-2.572 5.714-5.714c0-3.142-2.572-5.714-5.714-5.714-1.817 0-3.438 0.862-4.487 2.194l-10.573-5.287c0.128-0.473 0.202-0.967 0.202-1.479s-0.074-1.005-0.202-1.478l10.574-5.287c1.049 1.331 2.67 2.193 4.486 2.193 3.142 0 5.714-2.572 5.714-5.714s-2.572-5.714-5.714-5.714zM26.286 2.286c1.907 0 3.429 1.522 3.429 3.429s-1.522 3.429-3.429 3.429c-1.907 0-3.429-1.522-3.429-3.429s1.522-3.429 3.429-3.429zM5.714 12.571c1.907 0 3.429 1.522 3.429 3.429s-1.522 3.429-3.429 3.429c-1.907 0-3.429-1.522-3.429-3.429s1.522-3.429 3.429-3.429zM26.286 22.857c1.907 0 3.429 1.522 3.429 3.429s-1.522 3.429-3.429 3.429c-1.907 0-3.429-1.522-3.429-3.429s1.522-3.429 3.429-3.429z"}))}function Ve(e){return i.createElement("svg",Object.assign({},e,{fill:"#000000",xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:"0 0 16 16",x:"0px",y:"0px"}),i.createElement("path",{d:"M8,11c-0.2,0-0.5-0.1-0.6-0.2c-0.2-0.2-0.3-0.3-0.3-0.6l0-7.7L5.7,3.6C5.5,3.8,5.3,3.9,5.1,3.9\n\t\t\t\t\tc-0.2,0-0.4-0.1-0.6-0.2C4.4,3.5,4.3,3.4,4.3,3.2c0-0.2,0.1-0.4,0.3-0.5l2.7-2.4C7.5,0.1,7.7,0,8,0s0.5,0.1,0.7,0.3l2.8,2.4\n\t\t\t\t\tc0.2,0.2,0.3,0.3,0.3,0.5c0,0.2-0.1,0.4-0.2,0.5c-0.1,0.1-0.3,0.2-0.6,0.2c-0.2,0-0.4-0.1-0.6-0.2L8.8,2.5l0,7.7\n\t\t\t\t\tc0,0.2-0.1,0.4-0.3,0.6C8.4,10.9,8.2,11,8,11z"}),i.createElement("path",{d:"M4,16c-0.8,0-1.3-0.2-1.7-0.6c-0.4-0.4-0.6-0.9-0.6-1.7V7.9c0-0.7,0.2-1.3,0.6-1.7c0.4-0.4,1-0.6,1.7-0.6h1.9\n\t\t\t\tV7H4.1c-0.7,0-1,0.3-1,1v5.6c0,0.7,0.3,1,1,1h7.9c0.3,0,0.6-0.1,0.7-0.3c0.2-0.2,0.3-0.4,0.3-0.7V8c0-0.3-0.1-0.6-0.3-0.7\n\t\t\t\tC12.5,7.1,12.2,7,11.9,7h-1.8V5.6H12c0.8,0,1.3,0.2,1.7,0.6c0.4,0.4,0.6,0.9,0.6,1.7v5.8c0,0.7-0.2,1.3-0.6,1.7\n\t\t\t\tc-0.4,0.4-1,0.6-1.7,0.6H4z"}))}function He(e){return(0,u.RY)()?i.createElement(Ve,Object.assign({},e)):i.createElement(Pe,Object.assign({},e))}function Ge(){return i.createElement("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 44 44",enableBackground:"new 0 0 44 44"},i.createElement("g",null,i.createElement("path",{d:"M2 5.90007C2 5.90007 4.92505 2 11.7502 2C18.5753 2 21.5003 5.90007 21.5003 5.90007V33.2005C21.5003 33.2005 18.5753 31.2505 11.7502 31.2505C4.92505 31.2505 2 33.2005 2 33.2005V5.90007Z",stroke:"#fefeef",fill:"none",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M21.4998 5.90007C21.4998 5.90007 24.4248 2 31.2499 2C38.075 2 41.0001 5.90007 41.0001 5.90007V33.2005C41.0001 33.2005 38.075 31.2505 31.2499 31.2505C24.4248 31.2505 21.4998 33.2005 21.4998 33.2005V5.90007Z",stroke:"#fefeef",fill:"none",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})))}function Ue(e){const{className:t}=e,n=(0,o._T)(e,["className"]);return i.createElement("svg",Object.assign({className:(0,r.Z)(a().SteamDeckCompatLogo,t)},n,{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),i.createElement("path",{opacity:"0.84",fillRule:"evenodd",clipRule:"evenodd",d:"M7.77715 4.30197C10.9241 4.30197 13.4752 6.85305 13.4752 9.99997C13.4752 13.1469 10.9241 15.698 7.77715 15.698V18.8889C12.6864 18.8889 16.666 14.9092 16.666 9.99997C16.666 5.09078 12.6864 1.11108 7.77715 1.11108V4.30197ZM7.77756 13.8889C9.92533 13.8889 11.6664 12.1477 11.6664 9.99997C11.6664 7.8522 9.92533 6.11108 7.77756 6.11108C5.62979 6.11108 3.88867 7.8522 3.88867 9.99997C3.88867 12.1477 5.62979 13.8889 7.77756 13.8889Z",fill:"white"}))}function We(e){const{className:t}=e,n=(0,o._T)(e,["className"]);return i.createElement("svg",Object.assign({className:(0,r.Z)(a().SteamDeckCompatIcon,a().SteamDeckCompatVerified,t)},n,{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 19C14.9706 19 19 14.9706 19 10C19 5.02944 14.9706 1 10 1C5.02944 1 1 5.02944 1 10C1 14.9706 5.02944 19 10 19ZM8.33342 11.9222L14.4945 5.76667L16.4556 7.72779L8.33342 15.8556L3.26675 10.7833L5.22786 8.82223L8.33342 11.9222Z",fill:"currentColor"}))}function je(e){const{className:t}=e,n=(0,o._T)(e,["className"]);return i.createElement("svg",Object.assign({className:(0,r.Z)(a().SteamDeckCompatIcon,a().SteamDeckCompatPlayable,t)},n,{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 19C14.9706 19 19 14.9706 19 10C19 5.02944 14.9706 1 10 1C5.02944 1 1 5.02944 1 10C1 14.9706 5.02944 19 10 19ZM8.61079 9.44444V15H11.3886V9.44444H8.61079ZM9.07372 8.05245C9.34781 8.23558 9.67004 8.33333 9.99967 8.33333C10.4417 8.33333 10.8656 8.15774 11.1782 7.84518C11.4907 7.53262 11.6663 7.10869 11.6663 6.66667C11.6663 6.33703 11.5686 6.0148 11.3855 5.74072C11.2023 5.46663 10.942 5.25301 10.6375 5.12687C10.3329 5.00072 9.99783 4.96771 9.67452 5.03202C9.35122 5.09633 9.05425 5.25507 8.82116 5.48815C8.58808 5.72124 8.42934 6.01821 8.36503 6.34152C8.30072 6.66482 8.33373 6.99993 8.45988 7.30447C8.58602 7.60902 8.79964 7.86931 9.07372 8.05245Z",fill:"currentColor"}))}function Ze(e){const{className:t}=e,n=(0,o._T)(e,["className"]);return i.createElement("svg",Object.assign({className:(0,r.Z)(a().SteamDeckCompatIcon,a().SteamDeckCompatUnsupported,t)},n,{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.1931 15.6064C13.0246 16.4816 11.5733 17 10.001 17C6.13498 17 3.00098 13.866 3.00098 10C3.00098 8.42766 3.51938 6.97641 4.39459 5.80783L14.1931 15.6064ZM15.6074 14.1922C16.4826 13.0236 17.001 11.5723 17.001 10C17.001 6.13401 13.867 3 10.001 3C8.42864 3 6.97739 3.5184 5.80881 4.39362L15.6074 14.1922ZM19.001 10C19.001 14.9706 14.9715 19 10.001 19C5.03041 19 1.00098 14.9706 1.00098 10C1.00098 5.02944 5.03041 1 10.001 1C14.9715 1 19.001 5.02944 19.001 10Z",fill:"currentColor"}))}function ze(e){const{className:t}=e,n=(0,o._T)(e,["className"]);return i.createElement("svg",Object.assign({className:(0,r.Z)(a().SteamDeckCompatIcon,a().SteamDeckCompatUnknown,t)},n,{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.3972 11.2461L18.8767 11.4932C18.9578 11.0075 19 10.5087 19 10C19 9.49131 18.9578 8.99248 18.8767 8.50682L17.3972 8.75386C17.4647 9.15821 17.5 9.57442 17.5 10C17.5 10.4256 17.4647 10.8418 17.3972 11.2461ZM17.0295 7.3783L18.4348 6.8539C18.0814 5.90668 17.5729 5.03501 16.9403 4.26971L15.7842 5.22538C16.3119 5.86387 16.7354 6.59021 17.0295 7.3783ZM14.7746 4.21582L15.7303 3.05967C14.965 2.42708 14.0933 1.91864 13.1461 1.56519L12.6217 2.97054C13.4098 3.26461 14.1361 3.68805 14.7746 4.21582ZM11.2461 2.60281L11.4932 1.1233C11.0075 1.0422 10.5087 1 10 1C9.49131 1 8.99248 1.0422 8.50682 1.1233L8.75386 2.60281C9.15821 2.5353 9.57442 2.5 10 2.5C10.4256 2.5 10.8418 2.5353 11.2461 2.60281ZM7.3783 2.97054L6.8539 1.56519C5.90668 1.91864 5.03501 2.42708 4.26971 3.05967L5.22538 4.21582C5.86387 3.68805 6.59021 3.26461 7.3783 2.97054ZM4.21582 5.22538L3.05967 4.26971C2.42708 5.03501 1.91864 5.90668 1.56519 6.8539L2.97054 7.3783C3.26461 6.59022 3.68805 5.86387 4.21582 5.22538ZM1 10C1 9.49131 1.0422 8.99248 1.1233 8.50682L2.60281 8.75386C2.5353 9.15821 2.5 9.57442 2.5 10C2.5 10.4256 2.5353 10.8418 2.60281 11.2461L1.1233 11.4932C1.0422 11.0075 1 10.5087 1 10ZM2.97054 12.6217L1.56519 13.1461C1.91864 14.0933 2.42708 14.965 3.05967 15.7303L4.21582 14.7746C3.68805 14.1361 3.26461 13.4098 2.97054 12.6217ZM5.22538 15.7842L4.26971 16.9403C5.03501 17.5729 5.90668 18.0814 6.8539 18.4348L7.3783 17.0295C6.59022 16.7354 5.86387 16.3119 5.22538 15.7842ZM8.75386 17.3972L8.50682 18.8767C8.99248 18.9578 9.49131 19 10 19C10.5087 19 11.0075 18.9578 11.4932 18.8767L11.2461 17.3972C10.8418 17.4647 10.4256 17.5 10 17.5C9.57442 17.5 9.15821 17.4647 8.75386 17.3972ZM12.6217 17.0295L13.1461 18.4348C14.0933 18.0814 14.965 17.5729 15.7303 16.9403L14.7746 15.7842C14.1361 16.3119 13.4098 16.7354 12.6217 17.0295ZM15.7842 14.7746L16.9403 15.7303C17.5729 14.965 18.0814 14.0933 18.4348 13.1461L17.0295 12.6217C16.7354 13.4098 16.3119 14.1361 15.7842 14.7746ZM9.2425 14.7702C9.46679 14.92 9.73048 15 10.0002 15C10.362 15 10.7089 14.8563 10.9646 14.6006C11.2204 14.3448 11.3641 13.998 11.3641 13.6363C11.3641 13.3666 11.2841 13.1029 11.1343 12.8787C10.9844 12.6544 10.7714 12.4796 10.5222 12.3764C10.2729 12.2732 9.99872 12.2462 9.73415 12.2988C9.46958 12.3514 9.22656 12.4813 9.03582 12.672C8.84508 12.8628 8.71518 13.1057 8.66255 13.3703C8.60993 13.6348 8.63694 13.909 8.74016 14.1582C8.84339 14.4074 9.01821 14.6203 9.2425 14.7702ZM11.0981 10.3552C11.1722 10.2348 11.2765 10.1358 11.4005 10.068C11.8099 9.82315 12.1479 9.47526 12.3808 9.05903C12.6137 8.64279 12.7333 8.17276 12.7278 7.69584C12.7223 7.21892 12.5918 6.75179 12.3493 6.34105C12.1069 5.93031 11.7609 5.59033 11.346 5.35502C10.9311 5.11972 10.4617 4.99732 9.98466 5.00004C9.50764 5.00277 9.03969 5.13052 8.62748 5.37054C8.21527 5.61057 7.87321 5.95448 7.63545 6.36796C7.39769 6.78144 7.27253 7.25004 7.27246 7.72699H9.23191C9.23191 7.6261 9.25178 7.52621 9.29039 7.43301C9.32901 7.3398 9.3856 7.25511 9.45694 7.18378C9.52829 7.11244 9.61299 7.05586 9.70621 7.01725C9.79942 6.97865 9.89933 6.95878 10.0002 6.95878C10.1659 6.96387 10.3255 7.02207 10.4556 7.12479C10.5856 7.22751 10.6792 7.3693 10.7225 7.52925C10.7658 7.6892 10.7565 7.85883 10.6961 8.01311C10.6356 8.16739 10.5271 8.29816 10.3867 8.3861C9.97322 8.62846 9.63003 8.97429 9.39088 9.38955C9.15173 9.80482 9.02487 10.2752 9.02278 10.7544V11.3635H10.9777V10.7544C10.9825 10.6131 11.024 10.4755 11.0981 10.3552Z",fill:"currentColor"}))}function Ke(e){const{className:t}=e,n=(0,o._T)(e,["className"]);return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",className:t},n,{width:"50",height:"50",viewBox:"0 0 50 50",fill:"none"}),i.createElement("circle",{fill:"currentColor",cx:"25",cy:"25",r:"25"}))}function Xe(e){return i.createElement("svg",Object.assign({width:"26",height:"26",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 26 26",fill:"none"},e),i.createElement("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M17.5133 4.65595C15.8046 6.36468 17.0366 9.2803 19.4284 9.28035C20.446 9.28035 21.0261 8.76331 21.2519 8.56209C21.2963 8.5225 21.327 8.49513 21.3447 8.48633C22.4018 7.42917 22.4024 5.71423 21.3441 4.65595C20.2817 3.59714 18.5699 3.59936 17.5133 4.65595ZM18.5553 7.44735C17.4045 6.30173 19.1522 4.54882 20.301 5.69597V5.69586C20.7836 6.18159 20.783 6.96269 20.301 7.44422C19.8189 7.92684 19.0348 7.92415 18.5553 7.44735ZM0.583974 13.873L14.455 0L24.4165 1.583L26 11.5449L12.1289 25.416C11.7368 25.805 11.2252 26 10.7156 26C10.2065 26 9.69489 25.805 9.30552 25.416L0.583974 16.6976C0.194954 16.305 0 15.7933 0 15.2843C0 14.7742 0.194948 14.2625 0.583974 13.873ZM9.26632 17.5853L8.88665 17.965C8.62416 18.2274 8.43667 18.5227 8.32418 18.8509C8.21403 19.1766 8.19645 19.5106 8.27145 19.8528C8.34879 20.1926 8.53979 20.5148 8.84446 20.8195C9.14445 21.1195 9.46318 21.307 9.80066 21.382C10.1428 21.457 10.4756 21.4382 10.7991 21.3257C11.1272 21.2132 11.4225 21.0257 11.6849 20.7633L12.0646 20.3836C12.3271 20.1211 12.5146 19.8281 12.6271 19.5047C12.7419 19.179 12.7618 18.8473 12.6868 18.5099C12.6142 18.17 12.4255 17.8478 12.1209 17.5431C11.8209 17.2431 11.4986 17.0545 11.1541 16.9771C10.8143 16.8998 10.4791 16.9162 10.1487 17.0263C9.82293 17.1365 9.5288 17.3228 9.26632 17.5853ZM9.6038 18.6821L9.98347 18.3024C10.2014 18.0845 10.4487 17.9427 10.7252 17.8771C11.0065 17.8115 11.2701 17.9017 11.5162 18.1478C11.7693 18.4009 11.8584 18.6634 11.7834 18.9352C11.7107 19.2047 11.5654 19.4485 11.3475 19.6664L10.9678 20.0461C10.7498 20.2641 10.5026 20.4082 10.226 20.4785C9.95417 20.5488 9.6952 20.4609 9.44912 20.2148C9.19601 19.9617 9.10344 19.6981 9.1714 19.4239C9.24171 19.1473 9.38584 18.9001 9.6038 18.6821ZM9.80066 9.87944L9.421 10.2591C9.15851 10.5216 8.97102 10.8169 8.85853 11.145C8.74837 11.4708 8.7308 11.8047 8.80579 12.1469C8.88313 12.4867 9.07414 12.809 9.37881 13.1136C9.6788 13.4136 9.99753 13.6011 10.335 13.6761C10.6772 13.7511 11.01 13.7324 11.3334 13.6199C11.6615 13.5074 11.9568 13.3199 12.2193 13.0574L12.599 12.6777C12.8614 12.4152 13.0489 12.1223 13.1614 11.7989C13.2763 11.4731 13.2962 11.1415 13.2212 10.804C13.1485 10.4642 12.9599 10.1419 12.6552 9.83725C12.3552 9.53727 12.033 9.34861 11.6885 9.27127C11.3486 9.19393 11.0135 9.21033 10.683 9.32048C10.3573 9.43063 10.0632 9.61695 9.80066 9.87944ZM10.1381 10.9763L10.5178 10.5966C10.7358 10.3786 10.983 10.2368 11.2596 10.1712C11.5408 10.1056 11.8045 10.1958 12.0506 10.4419C12.3037 10.695 12.3927 10.9575 12.3177 11.2294C12.2451 11.4989 12.0998 11.7426 11.8818 11.9606L11.5021 12.3403C11.2842 12.5582 11.0369 12.7023 10.7604 12.7726C10.4885 12.843 10.2295 12.7551 9.98347 12.509C9.73036 12.2559 9.63778 11.9922 9.70575 11.718C9.77606 11.4415 9.92019 11.1942 10.1381 10.9763ZM16.3675 13.7464L4.21814 15.9963L5.01966 16.7978L17.169 14.5479L16.3675 13.7464Z"}))}},25006:(e,t,n)=>{"use strict";n.d(t,{HC:()=>u,PZ:()=>g,YR:()=>p,ZP:()=>c,bJ:()=>h,ef:()=>f,xp:()=>m,zv:()=>d});var o=n(85556),i=n(47427),r=n(31421),s=n(37563);const a=i.createContext({}),l=i.createContext(void 0);function c(e){const{children:t}=e,n=(0,o._T)(e,["children"]),s=h(),l=v(),c=i.useMemo((()=>Object.assign(Object.assign(Object.assign({},r.ZP.GetDefaultParams()),s),n)),[l,s,n.domain,n.controller,n.method,n.submethod,n.feature,n.depth]);return i.createElement(a.Provider,{value:c},t)}function u(e){const{children:t}=e,n=v();let o=i.useMemo((()=>r.ZP.ParseSNR(s.De.SNR)),[n]);return i.createElement(a.Provider,{value:Object.assign(Object.assign({},r.ZP.GetDefaultParams()),o)},t)}function d(e,t,n){return Object.assign(Object.assign({},e),{feature:t||e.feature,depth:n||e.depth,countrycode:s.De.COUNTRY,is_client:s.De.IN_CLIENT})}function h(){return i.useContext(a)}function m(e,t){return d(h(),e,t)}function p(e,t,n){const o=h();return i.useMemo((()=>function(e,t,n,o){const i=r.ZP.GetLinkParam(Object.assign(Object.assign({},e),{feature:n||e.feature}),o);return r.ZP.AddNavParamToURL(t,i)}(o,e,t,n)),[e,o,t,n])}function g(e,t){const n=h();return i.useMemo((()=>r.ZP.GetLinkParam(Object.assign(Object.assign({},n),{feature:e||n.feature}),t)),[n,e,t])}function v(){const[e,t]=i.useState(r.ZP.BIsLoaded());return i.useEffect((()=>{e||r.ZP.Load().then((()=>t(!0)))}),[e]),e}function f(){const e=i.useContext(l),t=h();return e||t}},23163:(e,t,n)=>{"use strict";n.d(t,{y:()=>r});var o=n(47427);let i=0;function r(){const e=o.useRef();return void 0===e.current&&(e.current="svgid_"+i++),[e.current,`url(#${e.current})`]}},35949:(e,t,n)=>{"use strict";n.d(t,{T:()=>m});var o=n(47427),i=n(43235),r=n(62613),s=n(13129),a=n(12135),l=n(37563);function c(e){const{popup:t,onMaximize:n,bOSX:l}=e,c=(0,a.b3)(t),u=o.useCallback((()=>{n?n():(0,i.w3)(t,"Window.ToggleMaximize")&&t.SteamClient.Window.ToggleMaximize()}),[t,n]);return o.createElement(h,{className:(0,s.Z)(c?"restoreButton":"maximizeButton","windowControlButton"),onClick:u},!l&&(c?o.createElement(r.r6F,null):o.createElement(r.YqJ,null)))}function u(e){const{popup:t,onMinimize:n,bOSX:i}=e,s=o.useCallback((()=>{t.SteamClient.Window.Minimize()}),[t]);return o.createElement(h,{className:"minimizeButton windowControlButton",onClick:null!=n?n:s},!i&&o.createElement(r.gR,null))}function d(e){const{popup:t,onClose:n,bOSX:s}=e,a=o.useCallback((()=>{t&&((0,i.w3)(t,"Window.Close")?t.SteamClient.Window.Close():t.close())}),[t]);return o.createElement(h,{className:"closeButton windowControlButton",onClick:null!=n?n:a},!s&&o.createElement(r.pVO,null))}function h(e){const{className:t,onClick:n,children:i}=e,r=o.useCallback((e=>{n&&(e.stopPropagation(),n(e))}),[n]);return o.createElement("div",{className:(0,s.Z)("title-area-icon",t),onClick:r},o.createElement("div",{className:"title-area-icon-inner"},i))}function m(e){const{className:t,style:n,hideActions:i,hideClose:r,hideMin:h,hideMax:m,bOSX:p=(0,l.Uy)(),bForceWindowFocused:g,onMinimize:v,onMaximize:f,onClose:_,extraActions:C,popup:b,children:w}=e,E=(0,a.n8)(b);return o.createElement("div",{className:(0,s.Z)("TitleBar","title-area",p&&"OSX",(E||g)&&"WindowFocus",t),style:n},o.createElement("div",{className:"title-area-highlight"}),o.createElement("div",{className:"title-area-children"},w),!i&&o.createElement(o.Fragment,null,C&&o.createElement("div",{className:"title-bar-actions extra-actions"},C),o.createElement("div",{className:"title-bar-actions window-controls"},!r&&o.createElement(d,{popup:b,onClose:_,bOSX:p}),!m&&o.createElement(c,{popup:b,onMaximize:f,bOSX:p}),!h&&o.createElement(u,{popup:b,onMinimize:v,bOSX:p}))))}},59728:(e,t,n)=>{"use strict";n.d(t,{HP:()=>p,lL:()=>v});var o=n(85556),i=n(47427),r=n(42287),s=n(82493),a=n(37265),l=n(13129),c=n(31846),u=n(81212),d=n.n(u);const h=i.createContext({}),m=()=>i.useContext(h);function p(e){var t;const{divProps:n,tooltipProps:o}=g(e);return i.createElement(s.Ks,Object.assign({noFocusRing:!0,focusable:null!==(t=e.bNavStop)&&void 0!==t?t:!!n.onClick},n),i.createElement(_,Object.assign({},o)),e.children)}function g(e){const{toolTipContent:t,nDelayShowMS:n=300,bDisabled:r,direction:s,nBodyAlignment:a,nBodyDistance:l,nAllowOffscreenPx:c,nMaxLateralMoveOnScreen:u,strTooltipClassname:d,bNavStop:h,bTopmost:m,children:p}=e,g=(0,o._T)(e,["toolTipContent","nDelayShowMS","bDisabled","direction","nBodyAlignment","nBodyDistance","nAllowOffscreenPx","nMaxLateralMoveOnScreen","strTooltipClassname","bNavStop","bTopmost","children"]),v={direction:s,nBodyAlignment:a,nBodyDistance:l,nAllowOffscreenPx:c,nMaxLateralMoveOnScreen:u,className:d,bTopmost:m},[f,_]=i.useState(!1),[C,b]=i.useState(),w=i.useCallback((e=>{_(!0),b(e.currentTarget)}),[]),E=i.useCallback((()=>{_(!1)}),[]),S={active:f&&!r,target:C,nDelayShowMS:n,hoverPositionProps:v,children:t};return{divProps:Object.assign(Object.assign({},g),{onMouseEnter:w,onMouseLeave:E}),tooltipProps:S}}function v(e){const{divProps:t,tooltipProps:n}=g(e);return{divProps:t,tooltip:i.createElement(_,Object.assign({},n))}}function f(e){return i.createElement("div",Object.assign({},e,{className:(0,l.Z)(d().TextToolTip,e.className)}))}function _(e){var t;const{active:n,target:o,nDelayShowMS:s=300,hoverPositionProps:l,children:u}=e,[d,h]=i.useState(n),p=m();if(i.useLayoutEffect((()=>{if(n){if(s){const e=window.setTimeout((()=>h(!0)),s);return()=>window.clearTimeout(e)}h(!0)}else h(!1)}),[n]),!d)return null;let g=u;return"function"==typeof u?g=u():"string"==typeof u&&(g=i.createElement(f,null,(0,c.Xx)(u))),g&&o?r.createPortal(i.createElement(a.T,Object.assign({target:o},l),g),null!==(t=null==p?void 0:p.targetElement)&&void 0!==t?t:o.ownerDocument.body):null}},69406:(e,t,n)=>{"use strict";n.d(t,{R:()=>r});var o=n(47427),i=n(8285);function r(e){const t=(0,i.TH)();return t.pathname.includes("//")?(console.error(`Malformed path: "${t.pathname}"`),o.createElement(i.l_,{to:t.pathname.replace(/\/\//g,"/")})):e.redirect?o.createElement(i.l_,{push:!0,to:e.redirect||"/"}):null}},14609:(e,t,n)=>{"use strict";n.d(t,{M2:()=>C,Qc:()=>w,R6:()=>p,Sb:()=>b,b8:()=>_,ns:()=>g});var o=n(85556),i=n(54842),r=n(47427),s=n(95315),a=n(43090),l=n(43235),c=n(13129),u=n(50423),d=n(31846),h=n(37563),m=n(22042);function p(e,t){let n;n="currentTarget"in e?e.currentTarget.ownerDocument.defaultView:e,0==t.indexOf("steam://")?(0,l.w3)(n,"URL.ExecuteSteamURL")?n.SteamClient.URL.ExecuteSteamURL(t):n.location.href=t:n.open(t,void 0,"menubar,location,resizable,scrollbars,status,noopener")}function g(e){let{bDisableContextMenu:t,onContextMenu:n,bForceExternal:i,href:s,bUseLinkFilter:l,getPIDFromEvent:c}=e,u=(0,o._T)(e,["bDisableContextMenu","onContextMenu","bForceExternal","href","bUseLinkFilter","getPIDFromEvent"]);return t||n||(n=f),l&&s&&(s=(h.De.IN_CLIENT?"steam://openurl_external/":"")+(0,a.d)(s)),c||(c=()=>0),r.createElement("a",Object.assign({},u,{href:s,onClick:e=>{e.preventDefault(),_(window,s,{bForceExternal:!!i,bUseLinkFilter:!!l,unPID:c(e)})},onContextMenu:n,rel:l?"noopener noreferrer":void 0}),e.children)}function v(e){const{strURL:t,unPID:n}=e;return r.createElement(r.Fragment,null,r.createElement(m.Zo,{onSelected:()=>{u.J$(t)}},(0,d.Xx)("#ContextMenu_CopyLinkURL")),r.createElement(m.Zo,{onSelected:e=>{_(e,t,{unPID:n})}},(0,d.Xx)("#ContextMenu_OpenLinkInNewWindow")))}function f(e,t){let n=e.currentTarget;return(0,s.yV)(r.createElement(m.xV,null,r.createElement(v,{strURL:n.href,unPID:t})),e)}function _(e,t,n={}){const{bForceExternal:o,unPID:i,bUseLinkFilter:r}=n;let s;s="currentTarget"in e?e.currentTarget.ownerDocument.defaultView:e,"undefined"!=typeof SteamClient&&void 0!==SteamClient.WebChat?SteamClient.WebChat.OpenURLInClient(t,i||0,!!o):0==t.indexOf("steam://")&&0!=t.indexOf("steam://remoteplay/connect")?s.location.href=t:s.open(t,void 0,"menubar,location,resizable,scrollbars,status,noopener"+(r?",noreferrer":""))}const C=e=>r.createElement(r.Fragment,null,Boolean(e.condition)?e.wrap(e.children):e.children);function b(e){return r.forwardRef((function(t,n){return r.createElement("div",Object.assign({},t,{className:(0,c.Z)(e,t.className),ref:n}))}))}function w(e){if("string"!=typeof e)return NaN;const t=!e.includes("ms")&&e.includes("s");let n=Number.parseFloat(e);return t&&(n*=1e3),n}(0,o.gn)([i.LO],class{constructor(e){this.m_Value=void 0,(0,i.rC)(this),this.promise=e}set promise(e){this.m_Promise=e,this.m_Value=void 0,null==e||e.then((t=>{this.m_Promise===e&&(this.m_Value=t)}))}get promise(){return this.m_Promise}get value(){return this.m_Value}}.prototype,"m_Value",void 0)},77816:(e,t,n)=>{"use strict";n.d(t,{TP:()=>o,UA:()=>s,iD:()=>a,kN:()=>i});const o={x:"y",y:"x"};function i(){return{x:0,y:0}}function r(e,t){return e.x*t.x+e.y*t.y}function s(e,t){return{x:t.x-e.x,y:t.y-e.y}}function a(e,t){const n=s(e,t);return Math.sqrt(r(n,n))}},48766:(e,t,n)=>{"use strict";n.d(t,{Rq:()=>i,jg:()=>s,sw:()=>r});var o=n(50423);class i{constructor(e,t){this.m_bActive=!1,this.m_fnBoundAnimationFunc=void 0,this.m_window=e,this.m_options=Object.assign({timing:"sine"},t)}Start(){let e;switch(this.m_msStart=performance.now(),this.m_msEnd=this.m_msStart+this.m_options.msDuration,this.m_options.timing){case"linear":e=function(e){return e};break;case"cubic-in-out":e=function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1};break;default:e=function(e){return.5-Math.cos(e*Math.PI)/2}}this.m_bActive=!0,this.m_fnBoundAnimationFunc=this.OnInterval.bind(this,e),this.m_window.requestAnimationFrame(this.m_fnBoundAnimationFunc)}BIsActive(){return this.m_bActive}End(){if(this.m_bActive){try{this.Update(1)}catch(e){}this.ClearInterval(),this.FireOnComplete()}}FireOnComplete(){this.m_options.onComplete&&this.m_options.onComplete()}Cancel(){this.m_bActive=!1}OnInterval(e){if(!this.m_bActive)return;let t=performance.now()-this.m_msStart;if(t>=this.m_options.msDuration)return void this.End();let n=t/this.m_options.msDuration;try{this.Update(e(n))}catch(e){}this.m_window.requestAnimationFrame(this.m_fnBoundAnimationFunc)}ClearInterval(){this.m_bActive=!1}}class r extends i{constructor(e,t,n){super(e,t),this.m_fnCallback=n}Update(e){this.m_fnCallback(e)}}class s extends i{constructor(e,t,n){super("ownerDocument"in e?o.kR(e):e,n),this.m_props={},this.m_object=e,this.m_propTargets=t}Start(){this.m_props={};for(let e in this.m_propTargets){let t=parseFloat(this.m_object[e])||0,n=this.m_propTargets[e];t!=n&&(this.m_props[e]={start:t,end:n})}super.Start()}Update(e){for(let t in this.m_props){let n=this.m_props[t],o=n.start+(n.end-n.start)*e;this.m_object[t]=o}}}},83999:(e,t,n)=>{"use strict";function o(e,t=0){if((null==e?void 0:e.length)>1){let n=t>0?Math.min(t,e.length):e.length;for(;0!==n;){const t=Math.floor(Math.random()*n);n-=1;const o=e[n];e[n]=e[t],e[t]=o}}}function i(e,t,n){t<0||n<0||(n>=e.length&&(e[n]=void 0),e.splice(n,0,e.splice(t,1)[0]))}function r(e,t){if(!e&&!t)return!0;if(!e||!t)return!1;if(e.length!=t.length)return!1;for(let n=0;nt==e))}function l(e,t){const n=e.findIndex(t);return n>=0&&(e.splice(n,1),!0)}function c(e,t){let n=0,o=e.length-1;for(;n<=o;){const i=Math.floor((n+o)/2),r=t(e[i]);if(r>0)n=i+1;else if(r<0)o=i-1;else{if(o==i)return i;if(i==n)return o>i&&t(e[i+1])<0?i:i+1;n=i}}return o}function u(e,t,n){const o=c(e,(e=>n(t,e)));e.splice(o+1,0,t)}function d(e,t,n){return e||console.error("array should be defined for us to fill in the missing indexes"),e.lengtht.add(e))),Array.from(t)}n.d(t,{DG:()=>u,Eo:()=>s,LG:()=>d,LQ:()=>o,Qf:()=>l,Zf:()=>a,hV:()=>i,kp:()=>h,sL:()=>c,wc:()=>r})},62210:(e,t,n)=>{"use strict";function o(e,t,...n){try{console.assert?0==n.length?console.assert(!!e,t):console.assert(!!e,t,...n):e||console.warn(t,...n)}catch(e){}}function i(e,t,...n){o(!1,t,...n)}n.d(t,{X:()=>o,Z:()=>i})},16997:(e,t,n)=>{"use strict";function o(e,t,n){return{get(){let e=n.value.bind(this);return this.hasOwnProperty(t)||Object.defineProperty(this,t,{value:e}),e}}}n.d(t,{a:()=>o})},45492:(e,t,n)=>{"use strict";n.d(t,{Ar:()=>d,G_:()=>h,Hf:()=>p,bX:()=>m,km:()=>u,pB:()=>s,vq:()=>l});var o=n(85556),i=n(83999),r=n(16997);class s{constructor(){this.m_vecCallbacks=[]}Register(e){this.m_vecCallbacks.push(e);return{Unregister:()=>{i.Zf(this.m_vecCallbacks,e)}}}Dispatch(...e){for(const t of Array.from(this.m_vecCallbacks))t(...e)}ClearAllCallbacks(){this.m_vecCallbacks=[]}CountRegistered(){return this.m_vecCallbacks.length}}class a{constructor(e,t){this.m_callbacks=new s,this.m_currentValue=e,this.m_fnEquals=t}Set(e){if(this.m_fnEquals){if(this.m_fnEquals(this.m_currentValue,e))return}else if(this.m_currentValue===e)return;this.m_currentValue=e,this.m_callbacks.Dispatch(e)}get Value(){return this.m_currentValue}Subscribe(e){return{Unsubscribe:this.m_callbacks.Register(e).Unregister}}}function l(e,t){return new a(e,t)}class c{constructor(e,t,n){this.m_subscriptionRefCount=0,this.m_originalSubscribableValue=e,this.m_mappedSubscribableValue=new a(t(e.Value),n),this.m_fnMap=t}get Value(){var e;return null===(e=this.m_mappedSubscribableValue)||void 0===e?void 0:e.Value}Subscribe(e){var t;0==this.m_subscriptionRefCount++&&(this.m_mappedUnsubscribe=this.m_originalSubscribableValue.Subscribe((e=>this.m_mappedSubscribableValue.Set(this.m_fnMap(e)))));const n=null===(t=this.m_mappedSubscribableValue)||void 0===t?void 0:t.Subscribe(e);return{Unsubscribe:()=>{var e;n.Unsubscribe(),0==--this.m_subscriptionRefCount&&(null===(e=this.m_mappedUnsubscribe)||void 0===e||e.Unsubscribe(),this.m_mappedUnsubscribe=void 0)}}}}function u(e,t,n){return new c(e,t,n)}class d{Schedule(e,t){this.IsScheduled()&&this.Cancel(),this.m_fnCallback=t,this.m_schTimer=window.setTimeout(this.ScheduledInternal,e)}IsScheduled(){return void 0!==this.m_schTimer}Cancel(){this.m_schTimer&&(clearTimeout(this.m_schTimer),this.m_schTimer=void 0)}ScheduledInternal(){this.m_schTimer=void 0;const e=this.m_fnCallback;this.m_fnCallback=void 0,null==e||e()}}(0,o.gn)([r.a],d.prototype,"ScheduledInternal",null);class h{constructor(){this.m_rgListeners=[]}AddEventListener(e,t,n){e.addEventListener(t,n),this.m_rgListeners.push({element:e,type:t,listener:n})}Unregister(){for(const e of this.m_rgListeners)e.element.removeEventListener(e.type,e.listener);this.m_rgListeners=[]}}function m(e){return(0,o.mG)(this,void 0,void 0,(function*(){const t=[],n=Object.keys(e);n.forEach((n=>t.push(e[n])));return(yield Promise.all(t)).reduce(((e,t,o)=>(e[n[o]]=t,e)),{})}))}class p{constructor(){this.m_vecCallbacks=[]}Push(e){this.m_vecCallbacks.push(e)}PushArrayRemove(e,t){this.m_vecCallbacks.push((()=>i.Zf(e,t)))}Unregister(){for(const e of this.m_vecCallbacks)e();this.m_vecCallbacks=[]}GetUnregisterFunc(){return this.Unregister}}(0,o.gn)([r.a],p.prototype,"Unregister",null)},13129:(e,t,n)=>{"use strict";function o(...e){return e.reduce(((e,t)=>t?"string"==typeof t?e?`${e} ${t}`:t:"object"==typeof t?e?`${e} ${i(t)}`:i(t):e:e),"")}function i(e){return Object.keys(e).reduce(((t,n)=>e[n]?t?`${t} ${n}`:n:t),"")}n.d(t,{Z:()=>o})},46009:(e,t,n)=>{"use strict";function o(e){if(!r()||!window.document.cookie)return null;const t=document.cookie.match("(^|; )"+e+"=([^;]*)");return t&&t[2]?decodeURIComponent(t[2]):null}function i(e,t,n,o){if(!r())return;o||(o="/");let i="";if(void 0!==n&&n){const e=new Date;e.setTime(e.getTime()+864e5*n),i="; expires="+e.toUTCString()}document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+i+";path="+o}function r(){return!!window.document}n.d(t,{I1:()=>i,bG:()=>o,t$:()=>r})},60616:(e,t,n)=>{"use strict";function o(e,t=!0){return function(n,o,i){const r=i.value;i.value=function(...n){let i=this[o+"_DebounceProperties"];void 0===i&&(i=this[o+"_DebounceProperties"]={hTimer:void 0,nPending:0}),void 0===i.hTimer?(t?r.apply(this,n):i.nPending+=1,i.hTimer=window.setInterval((()=>{i.nPending>0?(r.apply(this,n),i.nPending=0):(window.clearInterval(i.hTimer),i.hTimer=void 0)}),e)):i.nPending+=1}}}n.d(t,{D:()=>o})},50423:(e,t,n)=>{"use strict";n.d(t,{Dj:()=>f,Ei:()=>u,Et:()=>C,Eu:()=>y,GB:()=>i,H8:()=>b,J$:()=>d,Jk:()=>w,LO:()=>R,Lh:()=>_,Mv:()=>D,RA:()=>l,RD:()=>m,U0:()=>E,V2:()=>M,_J:()=>v,b$:()=>L,dw:()=>s,f4:()=>S,h9:()=>h,kR:()=>c,mQ:()=>p,ni:()=>r,sH:()=>a,uk:()=>g});var o=n(85556);function i(e){return null!=e&&void 0!==e.focus}function r(e,t){var n;let o=t;for(;o;){if((null===(n=o.parentNode)||void 0===n?void 0:n.nodeType)==Node.DOCUMENT_FRAGMENT_NODE&&(o=o.parentNode.host),o==e)return!0;o=o.parentElement}return!1}function s(e,t){let n=0,o=0;return t.righte.right&&(n=t.left-e.right),t.bottome.bottom&&(o=t.top-e.bottom),Math.sqrt(n*n+o*o)}function a(e,t){return{top:e.screenTop+t.top,bottom:e.screenTop+t.bottom,left:e.screenLeft+t.left,right:e.screenLeft+t.right}}function l(e){let t;return e&&i(e.currentTarget)&&(t=e.currentTarget.ownerDocument.defaultView),t}function c(e){let t;return e&&(t=e.ownerDocument.defaultView),t}function u(e){let t=window.document;try{t=window.top.document}catch(e){}const n=t.createElement("textarea");n.textContent=e,n.style.position="fixed",t.body.appendChild(n),n.select();try{t.execCommand("copy")}catch(e){console.warn("Copy to clipboard failed.",e)}finally{t.body.removeChild(n)}}function d(e){const t="steam://openurl/";e.startsWith(t)&&(e=e.slice(16)),u(e)}function h(e){const t=e.ownerDocument;return t.fullscreen||t.webkitIsFullScreen||t.mozFullScreen||t.msFullscreenElement}function m(e,t){const n=e;n.requestFullscreen?n.requestFullscreen():n.webkitRequestFullscreen?n.webkitRequestFullscreen():t&&t.webkitSetPresentationMode?t.webkitSetPresentationMode("fullscreen"):n.mozRequestFullScreen?n.mozRequestFullScreen():n.msRequestFullscreen&&n.msRequestFullscreen()}function p(e){const t=e.ownerDocument;t.cancelFullscreen?t.cancelFullscreen():t.webkitCancelFullScreen?t.webkitCancelFullScreen():t.mozCancelFullScreen?t.mozCancelFullScreen():t.msExitFullscreen&&t.msExitFullscreen()}function g(e){return"INPUT"===e.nodeName}function v(e,t){switch(e){case"TEXTAREA":return!0;case"INPUT":switch(t){case"date":case"datetime-local":case"datetime":case"email":case"month":case"number":case"password":case"search":case"tel":case"text":case"time":case"url":case"week":return!0;default:return!1}default:return!1}}function f(e){"loading"==document.readyState?document.addEventListener("DOMContentLoaded",e):e()}function _(e,t){const n=e;return n.lastModifiedDate=new Date,n.name=t||Date.now().toString(),e}function C(e,t){let n=null==e?void 0:e.parentElement;for(;n;){if(!t||"x"==t){const e=window.getComputedStyle(n);if("scroll"==e.overflowX||"auto"==e.overflowX||"fixed"==e.position)break}if(!t||"y"==t){const e=window.getComputedStyle(n);if("scroll"==e.overflowY||"auto"==e.overflowY||"fixed"==e.position)break}n=n.parentElement}return i(n)?n:null}function b(e,t){const n=[];let o=e;for(;o=C(o,t);)n.push(o);return n}function w(e,t){let n=e;for(;n;){if(t(n))return n;n=n.parentElement}}function E(e,t){if(!("ownerDocument"in e))return!0;const n=e.ownerDocument.defaultView.getComputedStyle(e),o="x"===t?n.overflowX:n.overflowY;return"auto"===o||"scroll"===o}function S(e,t){return(0,o.mG)(this,void 0,void 0,(function*(){let n;const o=new Promise((o=>{n=o,e.addEventListener(t,o)})),i=yield o;return e.removeEventListener(t,n),i}))}function D(){return function(e){const t={};return e.querySelectorAll('link[rel="stylesheet"]').forEach((e=>{t[e.href]=e})),t}(document)}function M(e,t){L(e.document,t,!0)}function L(e,t,n){var o;const i=Object.assign({},t),r=e.getElementsByTagName("head")[0],s=r.getElementsByTagName("link"),a=s.length;for(let e=0;e{"use strict";n(80751),n(33557);new Map},31846:(e,t,n)=>{"use strict";n.d(t,{$1:()=>c.$1,CE:()=>w,LJ:()=>u,LZ:()=>_,Mh:()=>c.Mh,XG:()=>c.XG,Xx:()=>d,Yt:()=>E,is:()=>b,jr:()=>c.jr,kQ:()=>h,kb:()=>v,m9:()=>c.m9,vX:()=>c.vX,x$:()=>p,yW:()=>c.yW,yu:()=>m});var o=n(47427),i=n(77936),r=n(38071),s=n(37563),a=n(83999),l=n(45492),c=n(12251);class u{constructor(){this.m_mapTokens=new Map,this.m_mapFallbackTokens=new Map,this.m_cbkTokensChanged=new l.pB}static InstallErrorReportingStore(e){this.sm_ErrorReportingStore=e}static GetLanguageFallback(e){return"sc_schinese"===e?"schinese":"english"}static GetELanguageFallback(e){return 29===e?6:0}static IsELanguageValidInRealm(e,t){return t===(29===e?r.IN.k_ESteamRealmChina:r.IN.k_ESteamRealmGlobal)}static GetLanguageListForRealms(e){const t=new Array;for(let n=0;n<31;n++)for(const o of e)if(this.IsELanguageValidInRealm(n,o)){t.push(n);break}return t}InitFromObjects(e,t,n,o,i){i||this.m_mapTokens.clear();const r=Object.assign(Object.assign({},n||{}),e),s=Object.assign(Object.assign({},o||{}),t||{});this.AddTokens(r,s),this.m_cbkTokensChanged.Dispatch()}InitDirect(e,t){this.m_mapTokens.clear(),this.m_mapFallbackTokens.clear(),this.AddTokens(e,t),this.m_cbkTokensChanged.Dispatch()}AddTokens(e,t){Object.keys(e).forEach((t=>{this.m_mapTokens.set(t,e[t])})),t&&Object.keys(t).forEach((e=>{this.m_mapTokens.has(e)||this.m_mapTokens.set(e,t[e]),this.m_mapFallbackTokens.set(e,t[e])}))}GetTokensChangedCallbackList(){return this.m_cbkTokensChanged}GetPreferredLocales(){return this.m_rgLocalesToUse?this.m_rgLocalesToUse:navigator&&navigator.languages?navigator.languages:["en-US"]}GetELanguageFallbackOrder(e=null){let t=new Array;if(t.push((0,i.jM)(s.De.LANGUAGE)),(s.De.SUPPORTED_LANGUAGES||[]).forEach((e=>{e.value!=s.De.LANGUAGE&&t.push((0,i.jM)(e.value))})),e){u.GetLanguageListForRealms(e).forEach((e=>{-1==t.indexOf(e)&&t.push(e)}))}return t}SetPreferredLocales(e){this.m_rgLocalesToUse=e}BLooksLikeToken(e){return!!e&&e.length>0&&"#"==e.charAt(0)}LocalizeIfToken(e,t){return this.BLooksLikeToken(e)?this.LocalizeString(e,t):e}LocalizeString(e,t){if(!this.BLooksLikeToken(e))return;let n=this.m_mapTokens.get(e.substring(1));if(void 0!==n)return n;!t&&u.sm_ErrorReportingStore&&u.sm_ErrorReportingStore.ReportError(new Error(`Unable to find localization token '${e}' for language '${s.De.LANGUAGE}', ${this.m_mapTokens.size} tokens in map`),{bIncludeMessageInIdentifier:!0})}LocalizeStringFromFallback(e){if(!e||0==e.length||"#"!=e.charAt(0))return;let t=this.m_mapFallbackTokens.get(e.substring(1));return void 0!==t?t:void 0}}function d(e,...t){let n=E.LocalizeString(e);return void 0===n?e:f(n,...t)}function h(e,...t){let n=E.LocalizeString(e);if(void 0===n)return e;let i,r=[],s=/(.*?)%(\d+)\$s/g,a=0;for(;i=s.exec(n);){a+=i[0].length,r.push(i[1]);let e=parseInt(i[2]);e>=1&&e<=t.length&&r.push(t[e-1])}return r.push(n.substr(a)),o.createElement(o.Fragment,null,...r)}function m(e,...t){let n=E.LocalizeIfToken(e);return void 0===n?e:g(n,...t)}function p(e,t,...n){let o;return o=d(1===t||"1"===t?e:e+"_Plural",t),void 0===o?e:g(o,...n)}function g(e,...t){let n,i=[],r=new RegExp(/(.*?)<(\d+)>(.*?)<\/(\2)>/,"gs"),s=0;for(;n=r.exec(e);){s+=n[0].length,i.push(n[1]);let e=parseInt(n[2]),r=n[3]||"",a=g(r,...t),l=(e>=1&&e<=t.length?t[e-1]:null)?o.cloneElement(t[e-1],{},r?a:null):r;i.push(l)}return i.push(e.substr(s)),o.createElement(o.Fragment,null,...i)}function v(e,t,...n){return 1===t||"1"===t?d(e,t,...n):d(e+"_Plural",t,...n)}function f(e,...t){return 0==t.length?e:e=e.replace(/%(?:(\d+)\$)?s/g,(function(e,n){if(n<=t.length&&n>=1){let e=t[n-1];return String(null==e?"":e)}return e}))}class _{static Set(e,t,n){if(e.length<=t){if(t>=31)return e;e=(0,a.LG)(e,t+1,null)}return e[t]=n,e}static Get(e,t){return e&&e.length>t&&e[t]||""}static GetWithFallback(e,t){if(e){return _.Get(e,t)||_.Get(e,u.GetELanguageFallback(t))}return null}}const C={english:"en",german:"de",french:"fr",italian:"it",korean:"ko",latam:"es-419",spanish:"es",schinese:"zh-cn",tchinese:"zh-tw",russian:"ru",thai:"th",japanese:"ja",brazilian:"pt-br",portuguese:"pt",polish:"pl",danish:"da",dutch:"nl",finnish:"fi",norwegian:"no",swedish:"sv",hungarian:"hu",czech:"cs",romanian:"ro",turkish:"tr",arabic:"ar",bulgarian:"bg",greek:"el",ukrainian:"uk",vietnamese:"vi",indonesian:"id",sc_schinese:"zh-cn",koreana:"ko"},b={"en-US":0,"de-DE":1,"fr-FR":2,"it-IT":3,"ko-KR":4,"es-ES":5,"zh-CH":6,"zh-CN":7,"ru-RU":8,"th-TH":9,"ja-JP":10,"pt-PT":11,"pl-PL":12,"da-DK":13,"nl-NL":14,"fi-FI":15,"nb-NO":16,"sv-SE":17,"hu-HU":18,"cs-CZ":19,"ro-RO":20,"tr-TR":21,"pt-BR":22,"bg-BG":23,"el-GR":24,"ar-SA":25,"uk-UA":26,"es-419":27,"vi-VN":28,"id-ID":30};function w(){return C[s.De.LANGUAGE]||null}const E=new u;window.LocalizationManager=E},12251:(e,t,n)=>{"use strict";n.d(t,{$1:()=>l,Kb:()=>L,LO:()=>M,Mh:()=>E,Np:()=>D,SF:()=>I,Sc:()=>d,U$:()=>o,XG:()=>w,jA:()=>y,jr:()=>g,m9:()=>p,vX:()=>c,yW:()=>a});var o,i=n(24289),r=n(31846),s=n(46984);function a(e,t,n){let i;if("boolean"==typeof t){i={eSuffix:t?o.None:o.Ago,bForceSingleUnits:n,bHighGranularity:!1}}else i=Object.assign({eSuffix:o.Ago,bForceSingleUnits:!1,bHighGranularity:!1},t);let a="#TimeInterval_";i.eSuffix==o.Ago?a="#TimeSince_":i.eSuffix==o.Remaining&&(a="#TimeRemaining_");let l=e=>Math.floor(e);if(i.bAllowDecimal&&(l=e=>Math.round(10*e)/10),e>=2*s._H.PerYear)return(0,r.Xx)(a+"XYears",l(e/s._H.PerYear));if(e>=s._H.PerYear)return(e-=s._H.PerYear)>=2*s._H.PerMonth&&!i.bForceSingleUnits?(0,r.Xx)(a+"1YearXMonths",l(e/s._H.PerMonth)):(0,r.Xx)(a+"1Year");if(e>=2*s._H.PerMonth)return(0,r.Xx)(a+"XMonths",l(e/s._H.PerMonth));if(e>=2*s._H.PerWeek)return(0,r.Xx)(a+"XWeeks",l(e/s._H.PerWeek));if(e>=s._H.PerWeek)return(0,r.Xx)(a+"1Week",l(e/s._H.PerWeek));if(e>=2*s._H.PerDay)return(0,r.Xx)(a+"XDays",l(e/s._H.PerDay));if(e>=s._H.PerDay)return(e-=s._H.PerDay)>=2*s._H.PerHour&&!i.bForceSingleUnits?(0,r.Xx)(a+"1DayXHours",l(e/s._H.PerHour)):(0,r.Xx)(a+"1Day");if(e>=2*s._H.PerHour)return(0,r.Xx)(a+"XHours",l(e/s._H.PerHour));if(e>=s._H.PerHour)return(e-=s._H.PerHour)>=2*s._H.PerMinute&&!i.bForceSingleUnits?(0,r.Xx)(a+"1HourXMinutes",l(e/s._H.PerMinute)):(0,r.Xx)(a+"1Hour");if(e>=2*s._H.PerMinute){const t=Math.floor(e/s._H.PerMinute),n=e%s._H.PerMinute;return i.bHighGranularity&&0!=n?1==n?(0,r.Xx)(a+"XMinutes1Second",t):(0,r.Xx)(a+"XMinutesXSeconds",t,n):(0,r.Xx)(a+"XMinutes",l(e/s._H.PerMinute))}if(e>=s._H.PerMinute){const t=e%s._H.PerMinute;return i.bHighGranularity&&0!=t?1==t?(0,r.Xx)(a+"1Minute1Second"):(0,r.Xx)(a+"1MinuteXSeconds",t):(0,r.Xx)(a+"1Minute")}return i.bHighGranularity?1==e?(0,r.Xx)(a+"1Second"):(0,r.Xx)(a+"XSeconds",e):(0,r.Xx)(a+"LessThanAMinute")}function l(e,t,n){let o;o=void 0===t||!0===t||!1===t?{weekday:n?"long":"short",year:t?void 0:"numeric"}:t;let i=new Date(1e3*e);const s=Object.assign({weekday:"short",month:"long",day:"numeric",year:"numeric"},o);return i.toLocaleDateString(r.Yt.GetPreferredLocales(),s)}function c(e,t){let n,o=new Date(1e3*e);if(!t){const e=o.setHours(0,0,0,0);let t=h.get(e);if(t)return t}const i=Object.assign({year:"numeric",month:"short",day:"numeric"},t);return n=o.toLocaleDateString(r.Yt.GetPreferredLocales(),i),n}!function(e){e[e.None=0]="None",e[e.Ago=1]="Ago",e[e.Remaining=2]="Remaining"}(o||(o={}));const u=new Map;function d(e,t,n){const o=new Date(1e3*e),i=r.Yt.GetPreferredLocales(),s=(null==t?void 0:t.bForce24HourClock)||function(e){let t=u.get(e);if(!0===t||!1===t)return t;const n=new Date;return n.setHours(15),t=n.toLocaleTimeString(e,{hour:"numeric"})==n.toLocaleTimeString(e,{hour:"numeric",hour12:!1}),u.set(e,t),t}(i[0]),a=Object.assign(Object.assign({},s?{hour:"numeric",minute:"2-digit",hourCycle:"h23"}:{hour:"numeric",minute:"2-digit"}),n);return o.toLocaleTimeString(i,a)}const h=new Map,m=new Map;function p(e,t,n=!0,o=!0,s=!1){const a=new Date,l=new Date(1e3*e);if(l.getFullYear()!=a.getFullYear())return c(e);o&&i.zO((new Date).setHours(24,0,0,0)-a.getTime());const u=new Date;if(u.setHours(0,0,0,0),n)if(l>=u){if(u.setDate(u.getDate()+1),l=u)return(0,r.Xx)("#Time_Yesterday");const d={month:t?"long":"short",day:"numeric"};s&&(d.weekday="long");const h=l.setHours(0,0,0,0)+d.month;let p=m.get(h);return p||(p=l.toLocaleDateString(r.Yt.GetPreferredLocales(),d),m.set(h,p),p)}function g(e,t){const n=new Date(1e3*e),o=new Date,a=Object.assign({bGranularFutureTime:!1,bGranularTodayTimeOnly:!1,bGranularToday:!1,bGranularYesterday:!1,bGranularWeek:!1,bGranularPast:!1,bAbbreviateDayOfWeek:!1,bForce24HourClock:!1},t);if(n>o){if(!a.bGranularFutureTime)return i.zO(n.getTime()-o.getTime()),n.getFullYear()==o.getFullYear()?S(n):M(n);i.zO((new Date).setHours(24,0,0,0)-o.getTime());let e=new Date;return e.setHours(0,0,0,0),e.setDate(e.getDate()+1),n=c)return a.bGranularToday?a.bGranularTodayTimeOnly?d(e,{bForce24HourClock:a.bForce24HourClock}):(0,r.Xx)("#Time_Today_At",d(e,{bForce24HourClock:a.bForce24HourClock})):(0,r.Xx)("#Time_Today");if(c.setDate(o.getDate()-1),n>=c)return a.bGranularYesterday?(0,r.Xx)("#Time_Yesterday_At",d(e,{bForce24HourClock:a.bForce24HourClock})):(0,r.Xx)("#Time_Yesterday");c.setDate(o.getDate()-6);const u=new Date(c);if(a.bGranularWeek&&n>=u)return w(n,!1,!a.bAbbreviateDayOfWeek);if(a.bGranularPast)return(0,r.Xx)("#Time_Past_At",l(e,n.getFullYear()==o.getFullYear(),!a.bAbbreviateDayOfWeek),d(e,{bForce24HourClock:a.bForce24HourClock}));if(n>=u)return(0,r.Xx)("#TimeSince_ThisWeek");if(n.getMonth()==o.getMonth()&&n.getFullYear()==o.getFullYear()){const e=Math.floor((u.valueOf()-n.valueOf())/(1e3*s._H.PerWeek))+1;return 1==e?(0,r.Xx)("#TimeSince_1Week"):(0,r.Xx)("#TimeSince_XWeeks",e)}return n.getFullYear()==o.getFullYear()?S(n):M(n)}const v=new Map,f=new Map,_=new Map,C=new Map,b=new Map;new Map;function w(e,t=!1,n=!0){const o={weekday:n?"long":"short",day:"numeric",month:t?"long":"short"},i=e.setHours(0,0,0,0)+o.weekday+o.month;let s=b.get(i);return s||(s=e.toLocaleDateString(r.Yt.GetPreferredLocales(),o),b.set(i,s),s)}function E(e){let t=v.get(e.getDay());return t||(t=e.toLocaleDateString(r.Yt.GetPreferredLocales(),{weekday:"long"}),v.set(e.getDay(),t),t)}function S(e){let t=f.get(e.getMonth());return t||(t=e.toLocaleDateString(r.Yt.GetPreferredLocales(),{month:"long"}),f.set(e.getMonth(),t),t)}function D(e){let t=_.get(e.getFullYear());return t||(t=e.toLocaleDateString(r.Yt.GetPreferredLocales(),{year:"numeric"}),_.set(e.getFullYear(),t),t)}function M(e){const t=e.getMonth()+12*e.getFullYear();let n=C.get(t);return n||(n=e.toLocaleDateString(r.Yt.GetPreferredLocales(),{month:"long",year:"numeric"}),C.set(t,n),n)}function L(e){switch(e.getUTCMonth()){case 0:case 1:case 2:return(0,r.Xx)("#Time_QuarterOfYear_Q1",e.getUTCFullYear());case 3:case 4:case 5:return(0,r.Xx)("#Time_QuarterOfYear_Q2",e.getUTCFullYear());case 6:case 7:case 8:return(0,r.Xx)("#Time_QuarterOfYear_Q3",e.getUTCFullYear());default:return(0,r.Xx)("#Time_QuarterOfYear_Q4",e.getUTCFullYear())}}function y(e){const t=Math.floor(e/s._H.PerYear),n=Math.floor(e/s._H.PerMonth),o=Math.floor(e%s._H.PerMonth/s._H.PerDay),i=Math.floor(e%s._H.PerDay/s._H.PerHour),a=Math.floor(e%s._H.PerHour/s._H.PerMinute);return e%=s._H.PerMinute,t>0?(0,r.Xx)("#TimeRemaining_MoreThanOneYear"):n>0?(0,r.Xx)("#TimeRemaining_MonthsDays",n,o):o>0?(0,r.Xx)("#TimeRemaining_DaysHoursMinutes",o,i.toString().padStart(2,"0"),a.toString().padStart(2,"0")):i>0?(0,r.Xx)("#TimeRemaining_HoursMinutesSeconds",i.toString().padStart(2,"0"),a.toString().padStart(2,"0"),e.toString().padStart(2,"0")):(0,r.Xx)("#TimeRemaining_MinutesSeconds",a.toString().padStart(2,"0"),e.toString().padStart(2,"0"))}function R(e,t,n){for(;e.length{"use strict";n.d(t,{cH:()=>u,sO:()=>c});var o=n(85556),i=n(16997),r=n(61134),s=n(45492);const a=["ActionDescription","Backstack","BrowserBackstack","GroupMemberStore","Chat","ChatRoom","ChatRoomGroup","ChatHistory","CompositionState","AppOverviewImplObservable","ReducedValue","FocusNavigation","FocusNavigationMovement","GamepadEvents","VirtualKeyboard","LibraryUIStore/BasicUIStore","SystemNetworkStore","SteamClient","AudioPlaybackManager","LaunchStates","Haptics","ControllerConfigurator","FriendsUI/RemotePlay","SalePage","VR","VRDashboardPopupStore","VRGamepadUIMessages","VRPathProperties"];var l;!function(e){e[e.Debug=0]="Debug",e[e.Info=1]="Info",e[e.Warning=2]="Warning",e[e.Error=3]="Error"}(l||(l={}));class c{constructor(e,t){this.m_fnIdGenerator=void 0,this.m_sName=e,this.m_fnIdGenerator=t,u.Get().RegisterLogName(e)}Debug(...e){this.Log(l.Debug,...e)}Info(...e){this.Log(l.Info,...e)}Warning(...e){this.Log(l.Warning,...e)}Error(...e){this.Log(l.Error,...e)}Assert(e,...t){e||this.Log(l.Error,"Assertion failed:",...t)}IsDebugEnabled(){return u.Get().IsDebugLogEnabled(this.m_sName)}Log(e,...t){var n,o;const i=u.Get().IsDebugLogEnabled(this.m_sName);if(e==l.Debug&&!i)return;let r=this.m_sName;const s=null!==(o=null===(n=this.m_fnIdGenerator)||void 0===n?void 0:n.call(this))&&void 0!==o?o:null;null!=s&&(r+=" ("+s+")");d(e,i,u.Get().IncludeBacktraceInLog,r,this.m_sName,...t)}}(0,o.gn)([i.a],c.prototype,"Debug",null),(0,o.gn)([i.a],c.prototype,"Info",null),(0,o.gn)([i.a],c.prototype,"Warning",null),(0,o.gn)([i.a],c.prototype,"Error",null),(0,o.gn)([i.a],c.prototype,"Assert",null);class u{constructor(){this.m_Storage=null,this.m_setEnabledDebugLogs=new Set,this.m_bIncludeBacktraceInLog=!1,this.m_SettingsChangedCallback=new s.pB,this.m_bLoading=!1,this.m_Storage=new r.Z,this.m_rgLogNames=a.slice(),this.LoadSettings()}LogAsLogManager(...e){d(l.Info,!0,this.IncludeBacktraceInLog,"LogManager","LogManager",...e)}LoadSettings(){var e,t;return(0,o.mG)(this,void 0,void 0,(function*(){this.m_bLoading=!0,this.m_bIncludeBacktraceInLog=!!(yield null===(e=this.m_Storage)||void 0===e?void 0:e.GetObject(u.k_IncludeBacktraceInLog_StorageKey));const n=yield null===(t=this.m_Storage)||void 0===t?void 0:t.GetObject(u.k_EnabledLogNames_StorageKey);Array.isArray(n)&&(this.m_setEnabledDebugLogs=new Set(n),this.LogAsLogManager("Loaded debug enabled log names. Will print log messages for:",Array.from(this.m_setEnabledDebugLogs))),this.m_bLoading=!1,this.m_SettingsChangedCallback.Dispatch()}))}SaveSettings(){var e,t;return(0,o.mG)(this,void 0,void 0,(function*(){yield null===(e=this.m_Storage)||void 0===e?void 0:e.StoreObject(u.k_EnabledLogNames_StorageKey,Array.from(this.m_setEnabledDebugLogs)),yield null===(t=this.m_Storage)||void 0===t?void 0:t.StoreObject(u.k_IncludeBacktraceInLog_StorageKey,this.m_bIncludeBacktraceInLog),this.LogAsLogManager("Saved enabled debug log names. Will print log messages for:",Array.from(this.m_setEnabledDebugLogs))}))}static Get(){return null==u.s_Singleton&&(u.s_Singleton=new u),u.s_Singleton}get Loading(){return this.m_bLoading}get LogNames(){return this.m_rgLogNames}RegisterLogName(e){this.m_rgLogNames.includes(e)||this.m_rgLogNames.push(e)}IsLogName(e){return this.m_rgLogNames.includes(e)}IsDebugLogEnabled(e){return this.m_setEnabledDebugLogs.has(e)}ToggleDebugLogEnabled(e){return(0,o.mG)(this,void 0,void 0,(function*(){this.SetDebugLogEnabled(e,!this.IsDebugLogEnabled(e))}))}SetDebugLogEnabled(e,t){return(0,o.mG)(this,void 0,void 0,(function*(){t?this.m_setEnabledDebugLogs.add(e):this.m_setEnabledDebugLogs.delete(e),this.m_SettingsChangedCallback.Dispatch(),yield this.SaveSettings()}))}SetAllDebugLogsEnabled(e){return(0,o.mG)(this,void 0,void 0,(function*(){this.m_setEnabledDebugLogs=new Set(e?a:[]),this.m_SettingsChangedCallback.Dispatch(),yield this.SaveSettings()}))}RegisterForSettingsChanges(e){return this.m_SettingsChangedCallback.Register(e)}get IncludeBacktraceInLog(){return this.m_bIncludeBacktraceInLog}SetIncludeBacktraceInLog(e){return(0,o.mG)(this,void 0,void 0,(function*(){this.m_bIncludeBacktraceInLog=e,this.m_SettingsChangedCallback.Dispatch(),yield this.SaveSettings()}))}}function d(e,t,n,o,i,...r){const s=function(e){let t=0;for(let n=0;n>0&255,t>>8&255,t>>16&255]}(i).map(((e,t)=>Math.round(Math.max(0,Math.min(255,255*(.8*(e/255-.5)+.15)))))),a=(299*(c=s)[0]+587*c[1]+114*c[2])/1e3>=128;var c;let u=o;n&&(u=function(e){switch(e){case l.Debug:return String.fromCodePoint(128027);case l.Info:return String.fromCodePoint(8505);case l.Warning:return String.fromCodePoint(9888);case l.Error:return String.fromCodePoint(128165)}}(e)+" "+u);const d=r.length>=1&&"string"==typeof r[0]&&r[0].includes("%c"),h=d&&r.shift();let m;if(m=t?[`%c${u}%c:${d?" %c"+h:""}`,`color: ${a?"black":"white"}; background: rgb(${s.join(",")}); padding: 0 1ch; border-radius: 3px;`,"color: transparent; margin-right: -1ch",...d?[""]:[],...r]:r,n)console.groupCollapsed(...m),console.trace("Callstack"),console.groupEnd();else switch(e){case l.Debug:case l.Info:console.log(...m);break;case l.Warning:console.warn(...m);break;case l.Error:console.clogerror?console.clogerror(3,...m):console.error(...m)}}u.k_EnabledLogNames_StorageKey="EnabledWebLogs",u.k_IncludeBacktraceInLog_StorageKey="IncludeBacktraceInLog",u.s_Singleton=null;const h=()=>u.Get().LogNames.slice().sort(),m=(e,t)=>{u.Get().IsLogName(e)?u.Get().SetDebugLogEnabled(e,t):console.warn(`No log named "${e}", available logs:`,h())};window.DebugLogEnable=(...e)=>e.forEach((e=>m(e,!0))),window.DebugLogDisable=(...e)=>e.forEach((e=>m(e,!1))),window.DebugLogEnableAll=()=>u.Get().SetAllDebugLogsEnabled(!0),window.DebugLogDisableAll=()=>u.Get().SetAllDebugLogsEnabled(!1),window.DebugLogEnableBacktrace=()=>u.Get().SetIncludeBacktraceInLog(!0),window.DebugLogDisableBacktrace=()=>u.Get().SetIncludeBacktraceInLog(!1),window.DebugLogNames=h,window.EnableSteamConsole=(e=!0)=>u.Get().SetDebugLogEnabled("SteamClient",e)},45651:(e,t,n)=>{"use strict";function o(e,t){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e}function i(e,t,n){return null==e||isNaN(e)?e:Math.max(t,Math.min(n,e))}function r(e,t,n,o,i){return o+(i-o)*(e-t)/(n-t)}function s(e,t,n,o,r){return i(o+(r-o)*(e-t)/(n-t),Math.min(o,r),Math.max(o,r))}function a(e){return"string"==typeof e&&(!Number.isNaN(e)&&!Number.isNaN(Number.parseFloat(e)))}n.d(t,{LO:()=>o,Lh:()=>i,bU:()=>s,kE:()=>a,r4:()=>r})},20417:(e,t,n)=>{"use strict";n.d(t,{KM:()=>o.KM,Gt:()=>d,it:()=>u,dn:()=>i.dn,ak:()=>h.a,B8:()=>o.B8,k$:()=>i.k$,Qg:()=>o.Qg,eF:()=>o.eF,NW:()=>o.NW,JI:()=>o.JI,vK:()=>o.vK,S1:()=>c,kD:()=>o.kD,X9:()=>o.X9,BE:()=>i.BE,I5:()=>o.I5,ww:()=>i.ww,xK:()=>i.xK,yU:()=>l,LY:()=>i.LY,e1:()=>o.e1,fB:()=>o.fB,Dc:()=>o.Dc});var o=n(93855),i=n(32573),r=n(47427),s=n(62210);function a(e,t){return(0,i.xK)((n=>{if(!n)return;const o=t(n.ownerDocument.defaultView,(t=>{e(t[0])}));return o.observe(n),()=>o.unobserve(n)}),[e,t])}function l(e){return a(e,r.useCallback(((e,t)=>e.ResizeObserver?new e.ResizeObserver(t):((0,s.X)(!1,"ResizeObserver is not available"),{observe:()=>{},unobserve:()=>{},disconnect:()=>{}})),[]))}function c(e,t){return a(e,r.useCallback(((e,n)=>new e.IntersectionObserver(n,t)),[t]))}function u(e,...t){const n=new e.ownerDocument.defaultView.ResizeObserver(...t);return n.observe(e),n}function d(e,...t){const n=new e.ownerDocument.defaultView.IntersectionObserver(...t);return n.observe(e),n}var h=n(16997)},2041:(e,t,n)=>{"use strict";n.d(t,{R:()=>r,U:()=>s});var o=n(47427),i=n(42718);n(70610),n(10162);function r(e){const t=o.useRef(s),n=function(e,t,...n){console.log(`React-Query ${e}`,t,...n)};(0,i.setLogger)({log:(e,...t)=>n("LOG",e,...t),warn:(e,...t)=>n("WARN",e,...t),error:(e,...t)=>n("ERROR",e,...t)});let r=e.children;return e.debug,o.createElement(i.QueryClientProvider,{client:t.current},r)}const s=new i.QueryClient({defaultOptions:{queries:{staleTime:1/0}}})},93855:(e,t,n)=>{"use strict";n.d(t,{B8:()=>s,Dc:()=>g,I5:()=>_,JI:()=>d,KM:()=>l,NW:()=>a,Qg:()=>m,X9:()=>v,e1:()=>p,eF:()=>u,fB:()=>c,kD:()=>f,vK:()=>h});var o=n(47427),i=n(32573),r=n(50423);n(20417),n(46984),n(12251);function s(e,t,n){return[e,t,n]}function a(){const[,e]=o.useState(0);return o.useCallback((()=>e((e=>e+1))),[])}function l(e){let t=1,n=e;for(;null!=n&&"HTML"!=n.tagName;){const e=getComputedStyle(n);if(e.zoom){const n=Number.parseFloat(e.zoom);isNaN(n)||(t*=n)}n=n.parentElement}return t}function c(e){const t=o.useRef({flLastExecutionTimeMs:0,fnLatestCallback:null,nTimeoutHandle:0,fnExecuteLatestCallback(){null!=this.fnLatestCallback&&(this.fnLatestCallback(),this.fnLatestCallback=null,this.flLastExecutionTimeMs=Date.now()),window.clearTimeout(this.nTimeoutHandle),this.nTimeoutHandle=0}});return o.useEffect((()=>{const e=t.current;return()=>e.fnExecuteLatestCallback()}),[]),o.useCallback((n=>{const o=t.current;o.fnLatestCallback=n;const i=Date.now()-o.flLastExecutionTimeMs,r=Math.max(e-i,0);window.clearTimeout(o.nTimeoutHandle),o.nTimeoutHandle=window.setTimeout((()=>o.fnExecuteLatestCallback()),r)}),[e])}function u(e,t,n){return(0,i.xK)((o=>{if(o&&t)return o.addEventListener(e,t,n),()=>o.removeEventListener(e,t)}),[e,t])}function d(e,t,n,i){o.useEffect((()=>{if(e&&n)return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}),[e,t,n])}function h(e,t,n,o){return d(e,"message",(function(e){t.includes(e.data)&&n(this,e)}),o)}function m(e,t){o.useLayoutEffect((()=>{if(!t||!e)return;const n=e.Register(t);return()=>n.Unregister()}),[e,t])}function p(e){const[t,n]=o.useState(null==e?void 0:e.Value);return o.useEffect((()=>{if(null==e)return()=>{};const o=e.Subscribe(n);return t!==e.Value&&n(e.Value),null==o?void 0:o.Unsubscribe}),[e]),t}function g(e,t){return function(e,t){const[n,i]=o.useState(e);return o.useEffect((()=>{if(!e){const e=window.setTimeout((()=>i(!1)),t);return()=>window.clearTimeout(e)}i(!0)}),[e,t]),n}(e,t)||e}function v(e=!1){const[t,n]=o.useState(e);return[t,o.useCallback((()=>n(!0)),[]),o.useCallback((()=>n(!1)),[])]}function f(e){const t=o.useRef();return o.useCallback((()=>(t.current&&t.current.factory==e||(t.current={value:e(),factory:e}),t.current.value)),[e])}function _(e){return(0,i.xK)((t=>{if(!t||!e)return;const n=(0,r.H8)(t);return n.forEach((t=>t.addEventListener("scroll",e))),()=>n.forEach((t=>t.removeEventListener("scroll",e)))}),[e])}},32573:(e,t,n)=>{"use strict";n.d(t,{BE:()=>r,LY:()=>c,dn:()=>s,k$:()=>i,ww:()=>l,xK:()=>a});var o=n(47427);function i(e,t){null!=e&&("function"==typeof e?e(t):"current"in e&&(e.current=t))}function r(...e){return o.useCallback((t=>{for(const n of e)i(n,t)}),e)}function s(...e){if(e&&0!==e.length)return 1===e.length?e[0]:t=>e.forEach((e=>{e&&("function"==typeof e?e(t):e.current=t)}))}function a(e,t){const n=o.useRef();return o.useCallback((t=>{n.current&&n.current(),n.current=e(t)}),t)}function l(e){const t=o.useRef(null);return{refWithValue:t,refForElement:r(e,t)}}function c(e,t){const n=o.useRef(!1);o.useLayoutEffect((()=>()=>{n.current&&i(e,void 0)}),[e]),o.useLayoutEffect((()=>{(t||n.current)&&(i(e,t),n.current=!!t)}),[e,t])}},56617:(e,t,n)=>{"use strict";n.d(t,{i4:()=>r,lJ:()=>s});var o=n(47427),i=n(8285);function r(e,t){var n;const r=`${e}_HistoryValue`,s=(0,i.k6)(),a=(0,i.TH)(),l=null!==(n=a.state&&a.state[r])&&void 0!==n?n:t,c=o.useCallback((e=>{s.replace(s.location.pathname,Object.assign(Object.assign({},s.location.state),{[r]:e}))}),[s,r]);return[l,c]}function s(e,t,n){var r;const s=`${e}_HistoryValue`,a=(0,i.k6)(),l=(0,i.TH)(),c=null!==(r=l.state&&l.state[s])&&void 0!==r?r:n,u=o.useRef(!1),d=o.useRef(),h=o.useRef(),m=o.useCallback((e=>{if(u.current&&(d.current=e,!h.current)){const e=a.location.pathname;h.current=window.setTimeout((()=>{a.location.pathname!=e||a.location.state&&a.location.state[s]==d.current||a.replace(a.location.pathname,Object.assign(Object.assign({},a.location.state||{}),{[s]:d.current})),h.current=void 0}),t)}}),[a,s,t]);return o.useEffect((()=>{u.current=!0}),[]),[c,m]}},45284:(e,t,n)=>{"use strict";function o(e,t){return et?1:0}function i(e,t){return o(e.toLocaleLowerCase(),t.toLocaleLowerCase())}function r(e){if(!e)return"";if(DOMParser){return(new DOMParser).parseFromString(e,"text/html").documentElement.textContent}return e}function s(e,t=""){return e.replace(/\bhttps?:\/\/\S+/gi,t)}function a(e,t,n=!0){let o=e.trim();if(o=o.replace(n?/\s+/g:/[ \t]+/g," "),o.length>t){o=o.substring(0,t);let e=o.replace(/^(.*([.!?])) .*$/,"$1"),i=e.length;(i<.6*t||i==t)&&(e=o.replace(/ [^ ]*$/,"...")),o=n?e.replace(/(\r\n|\n|\r)/gm,""):e}return o}function l(e){let t,n,o=0;if(0===e.length)return o;for(t=0;tu,HA:()=>r,JD:()=>l,W5:()=>s,eT:()=>o,nh:()=>c,oU:()=>a,tN:()=>i})},46984:(e,t,n)=>{"use strict";n.d(t,{QU:()=>l,U8:()=>r,_H:()=>o,_R:()=>a,pd:()=>s,yK:()=>i});const o={PerYear:31536e3,PerMonth:2628e3,PerWeek:604800,PerDay:86400,PerHour:3600,PerMinute:60};function i(e,t){return e.getFullYear()==t.getFullYear()&&e.getMonth()==t.getMonth()&&e.getDate()==t.getDate()}function r(e,t){return e.getFullYear()==t.getFullYear()}function s(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),0,0,0)}function a(e){return new Promise((t=>setTimeout(t,e)))}function l(){return Math.floor(Date.now()/1e3)}},13499:(e,t,n)=>{"use strict";n.d(t,{Bg:()=>m,FM:()=>s,H7:()=>r,OL:()=>p,Pm:()=>c,XW:()=>a,bk:()=>v,dK:()=>d,et:()=>u,md:()=>g});var o=n(37563),i=(n(31846),n(19399));const r=/((?:(?:https?:)|(?:www[.,])|(?:[!#-;=?-Z\\\^-~]+[\.,](?:(?:[a-zA-Z]{2,4}[\.?]*[\/\\\?#])|(?:(?:biz|com|gallery|in|name|net|online|org|tech|trade|xyz)(?=\W|$)))))(?:[^ː\s"<>\[\]]*[^\\s"<>\[\],.ː:])?)/;function s(e){let t=new RegExp("^(steam://openurl(_external)?/)?((f|ht)tps?://)?([^@/?#]*@)?([^/#?]+)","im"),n=e.match(t);return n&&n.length>5?n[6].toString():e}function a(e){let t=s(e);return t.startsWith("www.")&&(t=t.slice(4)),t}const l=/^(steam|ftp|https?):\/\//;function c(e){return l.test(e)?e:"https://"+e}function u(e){return e?1!=o.De.EUNIVERSE?e:("http:"==e.substring(0,5)&&(e="https:"+e.substring(5)),e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(/https:\/\/media.steampowered.com\//g,o.De.MEDIA_CDN_URL)).replace(/https:\/\/cdn.akamai.steamstatic.com\//g,o.De.MEDIA_CDN_URL)).replace(/https:\/\/cdn.cloudflare.steamstatic.com\//g,o.De.MEDIA_CDN_URL)).replace(/https:\/\/cdn.edgecast.steamstatic.com\//g,o.De.MEDIA_CDN_URL)).replace(/https:\/\/cdn.dota2.com\//g,o.De.MEDIA_CDN_URL)).replace(/https:\/\/storefront.steampowered.com\/v\/gfx\//g,o.De.MEDIA_CDN_URL+"steam/")).replace(/https:\/\/clan.akamai.steamstatic.com\//g,o.De.CLAN_CDN_ASSET_URL)).replace(/https:\/\/clan.cloudflare.steamstatic.com\//g,o.De.CLAN_CDN_ASSET_URL)).replace(/https:\/\/cdn.steamcommunity.com\//g,o.De.COMMUNITY_CDN_URL)).replace(/https:\/\/community.akamai.steamstatic.com\//g,o.De.COMMUNITY_CDN_URL)).replace(/https:\/\/community.cloudflare.steamstatic.com\//g,o.De.COMMUNITY_CDN_URL)).replace(/https:\/\/community.edgecast.steamstatic.com\//g,o.De.COMMUNITY_CDN_URL)).replace(/{IMG_URL}/g,o.De.IMG_URL)).replace(/{MEDIA_CDN_URL}/g,o.De.MEDIA_CDN_URL)).replace(/{MEDIA_CDN_COMMUNITY_URL}/g,o.De.MEDIA_CDN_COMMUNITY_URL)).replace(/{COMMUNITY_CDN_URL}/g,o.De.COMMUNITY_CDN_URL),e=(0,i.HZ)(e)):e}function d(e){if(!e)return!0;const t=s(e).toLocaleLowerCase();return[s(o.De.COMMUNITY_CDN_URL).toLocaleLowerCase(),s(o.De.MEDIA_CDN_URL).toLocaleLowerCase(),s(o.De.MEDIA_CDN_COMMUNITY_URL).toLocaleLowerCase(),s(o.De.STORE_CDN_URL).toLocaleLowerCase(),s(o.De.BASE_URL_SHARED_CDN).toLocaleLowerCase(),s(o.De.CLAN_CDN_ASSET_URL).toLocaleLowerCase(),"support.steampowered.com","steamcdn-a.akamaihd.net","cdn.cloudflare.steamstatic.com","cdn.akamai.steamstatic.com"].indexOf(t)>=0}function h(e,t){return`${o.De.MEDIA_CDN_URL}steam/apps/${e}/${t}`}function m(e){return h(e,"header.jpg")}function p(e){return o.De.SNR&&o.De.SNR.length>0&&e&&-1==e.toLocaleLowerCase().indexOf("snr=")?e+(e.indexOf("?")>=0?"&":"?")+"snr="+o.De.SNR:e}function g(e,t){try{const n=new URL(t),o=new URL(e);return n.href.replace(/\/$/,"")+o.pathname+o.search+o.hash}catch(e){return""}}function v(e){return o.De.IN_STEAMUI&&!e.startsWith("steam://")&&(e=`steam://openurl/${e}`),e}},12135:(e,t,n)=>{"use strict";n.d(t,{b3:()=>s,n8:()=>a});var o=n(47427),i=n(43235),r=n(20417);function s(e){const[t,n]=o.useState(!1),s=o.useCallback((()=>{(0,i.w3)(e,"Window.IsWindowMaximized")?e.SteamClient.Window.IsWindowMaximized().then((e=>{n(e)})):(null==e?void 0:e.screen)&&n(e.screen.availWidth==e.innerWidth&&e.screen.availHeight==e.innerHeight)}),[e]);return o.useEffect(s,[s,e]),(0,r.JI)(e,"resize",s),(0,r.vK)(e,["window_moved"],s),t}function a(e,t=100){const[n,i]=o.useState(!1),s=o.useCallback((()=>i(!0)),[i]),a=o.useCallback((()=>i(!1)),[i]);return o.useEffect((()=>e?(e.addEventListener("focus",s),e.addEventListener("blur",a),()=>{e.removeEventListener("focus",s),e.removeEventListener("blur",a)}):void 0),[e,s,a]),(0,r.Dc)(n,t)}},6799:(e,t,n)=>{"use strict";n.d(t,{B:()=>d,M:()=>u});var o=n(47427),i=n(14243),r=n(50423),s=n(20417),a=n(37563);const l=new WeakMap;function c(e){if(e)return l.has(e)||l.set(e,new Set),l.get(e)}function u(e){const t=(0,a.qt)({bSuppressAssert:!0}).IN_VR,n=o.useMemo((()=>new Map),[]),[i,l]=o.useState(!1),u=o.useRef(void 0),d=e.onClick,h=o.useCallback((e=>{d&&d(e)}),[d]),m=e.onTouchStart,p=o.useCallback((e=>{for(const t of Array.from(e.targetTouches)){const o=c(e.view);if(!n.has(t.identifier)){if(o.has(t.identifier))continue;o.add(t.identifier),n.set(t.identifier,{bReceivedTouchMove:!1,bScrolled:!1,elemTouchStart:e.target})}}l(n.size>0),m&&m(e)}),[m,n]),g=e.onTouchMove,v=o.useCallback((e=>{for(const t of Array.from(e.changedTouches))n.has(t.identifier)&&(n.get(t.identifier).bReceivedTouchMove=!0);g&&g(e)}),[g,n]),f=e.onTouchEnd,_=o.useCallback((e=>{var t,o;let i=!1;for(const s of Array.from(e.changedTouches)){if(!n.has(s.identifier))continue;if(i||!u.current)continue;const a=n.get(s.identifier);if(n.delete(s.identifier),null===(t=c(e.view))||void 0===t||t.delete(s.identifier),!a.bReceivedTouchMove)continue;if(a.bScrolled)continue;const l=a.elemTouchStart,d=u.current.ownerDocument.elementFromPoint(s.clientX,s.clientY),h=(0,r.LO)((0,r.GB)(l)?l:void 0,(0,r.GB)(d)?d:void 0);u.current.contains(h)&&(null===(o=null==h?void 0:h.click)||void 0===o||o.call(h),i=!0)}l(n.size>0),f&&f(e)}),[f,n]);o.useEffect((()=>{var e,t,o;const i=c(null!==(o=null===(t=null===(e=u.current)||void 0===e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView)&&void 0!==o?o:void 0);return()=>{for(const e of n.keys())null==i||i.delete(e)}}),[n]);const C=o.useCallback((e=>{for(const e of n.values())e.bScrolled=!0}),[n]),b=(0,s.I5)(i?C:void 0),w=(0,s.BE)(u,b);return t&&e.onClick?(e.onClick=h,e.onTouchStart=p,e.onTouchMove=v,e.onTouchEnd=_,w):void 0}function d(e){const t=(0,a.qt)({bSuppressAssert:!0}).IN_VR,n=e.onClick,r=o.useCallback((e=>{i.LT.PlayNavSound(i.qr.BasicNav),n&&n(e)}),[n]);t&&n&&(e.onClick=r)}},37563:(e,t,n)=>{"use strict";n.d(t,{De:()=>s.De,E_:()=>c,Ek:()=>l.Ek,JA:()=>s.JA,Kc:()=>b,L7:()=>s.L7,Me:()=>p,S$:()=>_,Uy:()=>g,Wj:()=>s.Wj,Zv:()=>w,eG:()=>v,fI:()=>d,h4:()=>m,id:()=>h,ip:()=>l.ip,kQ:()=>l.kQ,qt:()=>u,wg:()=>f,y9:()=>l.y9});var o=n(47427),i=n(38071),r=n(62210),s=n(65255),a=n(41003),l=n(82756);const c=o.createContext({}),u=e=>{const t=o.useContext(c);return(0,r.X)((null==e?void 0:e.bSuppressAssert)||void 0!==t.IN_GAMEPADUI,"Trying to use ConfigContext without a provider! Add ConfigContextRoot to application."),t};function d(e){var t;const{IN_GAMEPADUI:n,IN_DESKTOPUI:i,IN_VR:r,children:l}=e,d=u({bSuppressAssert:!0}),h=null===(t=(0,a.g3)())||void 0===t?void 0:t.startsWith("Gamepad VR"),m=o.useMemo((()=>{var e,t,o;return{IN_GAMEPADUI:null!==(e=null!=n?n:null==d?void 0:d.IN_GAMEPADUI)&&void 0!==e?e:s.De.IN_GAMEPADUI,IN_DESKTOPUI:null!==(t=null!=i?i:null==d?void 0:d.IN_DESKTOPUI)&&void 0!==t&&t,IN_VR:null!==(o=null!=r?r:null==d?void 0:d.IN_VR)&&void 0!==o?o:h}}),[d,n,i,r,h]);return o.createElement(c.Provider,{value:m},l)}function h(e){const t=u(e);return null==t?void 0:t.IN_GAMEPADUI}function m(){return s.De.EREALM===i.IN.k_ESteamRealmChina}function p(){return"windows"==s.De.PLATFORM}function g(){return"macos"==s.De.PLATFORM}function v(){return"linux"==s.De.PLATFORM}function f(){return s.De.IN_CHROMEOS}function _(){return s.De.ON_STEAMOS}function C(e,t){return 0!=t.length&&e.startsWith(t)}function b(){if(!window||!window.location||!window.location.href)return console.warn("Unable to determine base url!"),"unknown";const e=window.location.href;return C(e,s.De.STORE_BASE_URL)?s.De.STORE_BASE_URL:C(e,s.De.COMMUNITY_BASE_URL)?s.De.COMMUNITY_BASE_URL:C(e,s.De.CHAT_BASE_URL)?s.De.CHAT_BASE_URL:C(e,s.De.PARTNER_BASE_URL)?s.De.PARTNER_BASE_URL:C(e,s.De.HELP_BASE_URL)?s.De.HELP_BASE_URL:C(e,s.De.STEAMTV_BASE_URL)?s.De.STEAMTV_BASE_URL:C(e,s.De.STATS_BASE_URL)?s.De.STATS_BASE_URL:C(e,s.De.INTERNAL_STATS_BASE_URL)?s.De.INTERNAL_STATS_BASE_URL:C(e,s.De.STORE_CHECKOUT_BASE_URL)?s.De.STORE_CHECKOUT_BASE_URL:C(e,"https://steamloopback.host")?"https://steamloopback.host":""}function w(){const e=window.location.href;return C(e,s.De.STORE_BASE_URL)||C(e,s.De.STORE_CHECKOUT_BASE_URL)?"store":C(e,s.De.COMMUNITY_BASE_URL)?"community":C(e,s.De.PARTNER_BASE_URL)?"partnerweb":C(e,s.De.HELP_BASE_URL)?"help":C(e,s.De.STEAMTV_BASE_URL)?"steamtv":C(e,s.De.STATS_BASE_URL)||C(e,s.De.INTERNAL_STATS_BASE_URL)?"stats":""}},65255:(e,t,n)=>{"use strict";n.d(t,{De:()=>i,JA:()=>a,L7:()=>r,Wj:()=>l,dk:()=>s});var o=n(82756);const i={EUNIVERSE:0,WEB_UNIVERSE:"",LANGUAGE:"english",SUPPORTED_LANGUAGES:[],COUNTRY:"",AVATAR_BASE_URL:"",MEDIA_CDN_COMMUNITY_URL:"",MEDIA_CDN_URL:"",CLAN_CDN_ASSET_URL:"",COMMUNITY_CDN_URL:"",COMMUNITY_CDN_ASSET_URL:"",BASE_URL_SHARED_CDN:"",STORE_CDN_URL:"",PUBLIC_SHARED_URL:"",COMMUNITY_BASE_URL:"",CHAT_BASE_URL:"",STORE_BASE_URL:"",STORE_CHECKOUT_BASE_URL:"",LOGIN_BASE_URL:"",SUPPORT_BASE_URL:"",STORE_ICON_BASE_URL:"",IMG_URL:"",STEAMTV_BASE_URL:"",HELP_BASE_URL:"",PARTNER_BASE_URL:"",STATS_BASE_URL:"",INTERNAL_STATS_BASE_URL:"",BASE_URL_STORE_CDN_ASSETS:"",IN_CLIENT:!1,USE_POPUPS:!1,IN_MOBILE:!1,IN_MOBILE_WEBVIEW:!1,IN_TENFOOT:!1,PLATFORM:"",SNR:"",LAUNCHER_TYPE:0,EREALM:0,IN_CHROMEOS:!1,TESLA:!1,LOCAL_HOSTNAME:"",WEBAPI_BASE_URL:"",TOKEN_URL:"",BUILD_TIMESTAMP:0,PAGE_TIMESTAMP:0,FROM_WEB:!1,WEBSITE_ID:"Unknown",get SESSIONID(){return(0,o.c9)()},FRIENDSUI_BETA:!1,STEAM_TV:!1,DEV_MODE:!1,IN_STEAMUI:!1,IN_GAMEPADUI:!1,IN_STEAMUI_SHARED_CONTEXT:!1,DECK_DISPLAY_MODE:!1,ON_DECK:!1,ON_STEAMOS:!1,IN_GAMESCOPE:!1,IN_LOGIN:!1,IN_LOGIN_REFRESH:!1,USE_LONGEST_LOC_STRING:!1,SILENT_STARTUP:!1,CLIENT_SESSION:0};const r={logged_in:!1,steamid:"",accountid:0,account_name:"",token:void 0,token_use_id:void 0,webapi_token:"",authwgtoken:"",is_support:!1,is_limited:!1,is_partner_member:!1,short_url:"",country_code:""},s={steamid:"",clanid:0,listid:0},a={CLANSTEAMID:"",CLANACCOUNTID:0,APPID:0,VANITY_ID:"",IS_CREATOR_HOME:!1,IS_CURATOR:!1,IS_OGG:!1,CAN_UPLOAD_IMAGES:!1,IS_VALVE_GROUP:!1,IS_ALLOWED_SC:!1},l={ANNOUNCEMENT_GID:"",TAKEOVER_ANNOUNCEMENT_GID:""}},82756:(e,t,n)=>{"use strict";n.d(t,{Ek:()=>u,c9:()=>l,ip:()=>h,kQ:()=>d,y9:()=>g});var o=n(45651),i=n(46009),r=n(65255);const s="webui_config";let a;function l(){if(!(0,i.t$)())return a||(a=c()),a;let e=(0,i.bG)("sessionid");return e||(e=c()),e}function c(){const e=function(){let e="";for(let t=0;t<24;t++)e+=(0,o.LO)(0,35).toString(36);return e}();return(0,i.I1)("sessionid",e,0),e}function u(e=s){const t={},n=d("config",e);n&&(delete n.SESSIONID,Object.assign(r.De,n),t.config=!0);const o=d("userinfo",e);o&&(Object.assign(r.L7,o),t.userConfig=!0,r.L7.is_support&&g()&&(r.L7.is_support=!1));const i=d("broadcast",e);i&&(Object.assign(r.dk,i),t.broadcastConfig=!0);const a=d("community",e);a&&(Object.assign(r.JA,a),t.communityConfig=!0);const l=d("event",e);return l&&(Object.assign(r.Wj,l),t.eventConfig=!0),t}function d(e,t=s){return m(e,t,!0)}function h(e,t=s){return m(e,t,!1)}function m(e,t=s,n){let o;if(o="string"==typeof t?{NODE_ENV:"production",STEAM_BUILD:"buildbot"}.MOBILE_BUILD?null:document.getElementById(t):t,o)try{if(o.hasAttribute("data-"+e)){return JSON.parse(o.getAttribute("data-"+e))}return null}catch(e){console.error("Failed to parse config for "+r.L7.steamid+" ("+window.location.href+")",e)}else n&&console.error("Missing config element #",t)}const p="presentation_mode";function g(){let e=null;return(0,i.t$)()&&(e=(0,i.bG)(p)),Boolean(e&&1===Number.parseInt(e))}},316:(e,t,n)=>{"use strict";"VALVE_PUBLIC_PATH"in window?n.p=window.VALVE_PUBLIC_PATH:console.error("VALVE_PUBLIC_PATH not defined; check for a call to CHTMLHelpers::WebpackConfigScriptlet"),123!==Array.from(new Set([123]))[0]&&console.error("Should not include prototypejs.")},41003:(e,t,n)=>{"use strict";n.d(t,{RY:()=>c,g3:()=>u});let o=!1,i=!1,r=!1,s=!1,a=!1,l=!1;function c(){return o||h(),l}function u(){if(!(null===navigator||void 0===navigator?void 0:navigator.userAgent))return;const e=navigator.userAgent.match(/Valve Steam ([^\/]*)\//);return e&&2==e.length?e[1]:void 0}function d(e,t){return!!window.location.href.match("[?&]"+t+"=")||!("undefined"==typeof navigator||!navigator.userAgent||-1==navigator.userAgent.toLowerCase().indexOf(e.toLowerCase()))}function h(){s=d("Valve Steam Tenfoot","force_tenfoot_client_view"),r=d("Valve Steam GameOverlay","force_overlay_view"),i=s||d("Valve Steam Client","force_client_view"),l=d("iphone","force_ios_view")||d("ipad","force_ios_view")||d("ipod","force_ios_view")||d("macintosh","force_ios_view")&&d("safari","force_ios_view"),a=d("android","force_android_view"),o=!0}},9740:(e,t,n)=>{"use strict";var o=n(85556),i=(n(316),n(69414),n(47427)),r=n(28017),s=n(8285),a=n(53923),l=n(40057),c=n(61134),u=n(77581),d=n(71630),h=n(98843),m=n(56480),p=n(69406),g=n(20417),v=n(2041),f=n(80751),_=n.n(f),C=n(1485),b=n(37563),w=n(14476),E=n(31846),S=n(13129),D=n(49632),M=n.n(D),L=n(75683);function y(e){return i.createElement("a",{href:b.De.STORE_BASE_URL+"parental/requestrecovery"},(0,E.Xx)("#FamilyView_Unlock_ForgotPIN"))}function R(e){return i.createElement("div",null,(0,E.Xx)("#FamilyView_Unlock_NoRecovery"))}function O(e){const{url:t,bHasRecoveryEmail:n,strPostFormID:r}=e,[s,a]=i.useState(""),[l,c]=i.useState(""),u=i.useRef(),d=i.useCallback((e=>{var t;(!e.target.value||(t=e.target.value.slice(-1))>="0"&&t<="9"&&e.target.value.length<=4)&&c(e.target.value)}),[]),h=i.useCallback((e=>(0,o.mG)(this,void 0,void 0,(function*(){const n=new FormData;n.append("pin",e),n.append("sessionid",b.De.SESSIONID);const o=_().post(b.De.STORE_BASE_URL+"parental/ajaxunlock/",n,{withCredentials:!0}),i=_().post(b.De.STORE_CHECKOUT_BASE_URL+"parental/ajaxunlock/",n,{withCredentials:!0}),s=_().post(b.De.COMMUNITY_BASE_URL+"parental/ajaxunlock/",n,{withCredentials:!0}),l=_().post(b.De.STEAMTV_BASE_URL+"parental/ajaxunlock",n,{withCredentials:!0}),d=yield Promise.all([o,i,s,l]);for(let e of d)if(!e.data.success&&21!=e.data.eresult)return c(""),a(e.data.error_message||(0,E.Xx)("#FamilyView_Unlock_ErrorUnknown",e.data.eresult)),void u.current.focus();if(r){const e=u.current.ownerDocument.getElementById(r);e?e.submit():console.error(`ID ${r} not found in document`)}else window.location.href=t}))),[t,r]),m=i.useCallback((e=>{h(l),e.preventDefault()}),[h,l]);return i.createElement("div",{className:M().ParentalPINDialog},i.createElement("form",{className:M().ParentalUnlock,onSubmit:m},i.createElement("div",{className:M().Body},i.createElement("div",{className:M().Title},(0,E.Xx)("#FamilyView_Dialog_Title")),i.createElement("div",{className:M().Description},(0,E.Xx)("#FamilyView_UnlockDialog_Description")),i.createElement("div",{className:M().ErrorText},s||i.createElement("span",null," ")),i.createElement("input",{className:(0,S.Z)(M().TextInput),ref:u,value:l,type:"password",autoFocus:!0,onChange:d}),i.createElement("div",{className:M().ButtonWrapper},i.createElement(C.KM,{className:M().Button,disabled:l.length<4,type:"submit"},(0,E.Xx)("#Button_OK"))),n?i.createElement(y,null):i.createElement(R,null))))}function I(e){const{feature:t,url:n,bHasRecoveryEmail:o,strRedirectFormID:r}=e;return i.createElement(O,{url:n,bHasRecoveryEmail:o,strPostFormID:r})}const x=e=>{const{feature:t}=e,n=Math.log2(t),[o,r]=i.useState(i.createElement(i.Fragment,null," ")),s=(0,a.M)(),[l,c]=i.useState(!1),u=i.useCallback((e=>{84!==e.result?r((0,E.Xx)("#FamilyView_RequestFeatureAccess_GenericError",e.result)):c(!0)}),[]),d=i.useCallback((()=>{c(!0)}),[]),h=(0,L.gS)(s,n,d,u),m=i.useCallback((e=>{r(i.createElement(i.Fragment,null," ")),h.mutate(),e.preventDefault()}),[h]);return i.createElement("div",{className:M().ParentalPINDialog},i.createElement("form",{className:M().ParentalRequest,onSubmit:m},i.createElement("div",{className:(0,S.Z)(M().Body,l&&M().Complete)},i.createElement("div",{className:M().Title},(0,E.Xx)("#FamilyView_Dialog_Title")),!l&&i.createElement(i.Fragment,null,i.createElement("div",{className:M().Description},(0,E.Xx)("#FamilyView_RequestFeatureAccess")),n!==w.JY&&i.createElement(i.Fragment,null,i.createElement("div",{className:M().ErrorText},o||i.createElement("span",null," ")),i.createElement("div",{className:M().ButtonWrapper},i.createElement(C.KM,{className:M().Button,type:"submit"},(0,E.Xx)("#FamilyView_RequestFeatureAccess_Request"))))),l&&i.createElement("div",{className:M().CompleteText},(0,E.Xx)("#FamilyView_RequestFeatureAccess_Complete")))))};var T=n(25006),A=n(10162);const N=i.lazy((()=>Promise.all([n.e(397),n.e(3801),n.e(6588),n.e(7948),n.e(4264),n.e(483),n.e(3275),n.e(823),n.e(6656),n.e(9641),n.e(6148),n.e(2822),n.e(4040),n.e(6680),n.e(2530),n.e(1496),n.e(7901),n.e(8931),n.e(2558),n.e(9427),n.e(2805),n.e(6845)]).then(n.bind(n,15323)))),k=i.lazy((()=>Promise.all([n.e(397),n.e(3801),n.e(6588),n.e(7948),n.e(4264),n.e(483),n.e(3275),n.e(823),n.e(6656),n.e(7978),n.e(9641),n.e(2829),n.e(2468),n.e(1421),n.e(2822),n.e(4040),n.e(6680),n.e(2530),n.e(1496),n.e(7901),n.e(5824),n.e(8931),n.e(2558),n.e(9427),n.e(3973),n.e(9348),n.e(8610),n.e(508),n.e(400),n.e(2136)]).then(n.bind(n,56190)))),B=i.lazy((()=>Promise.all([n.e(397),n.e(3801),n.e(6588),n.e(7948),n.e(4264),n.e(483),n.e(3275),n.e(823),n.e(6656),n.e(7978),n.e(9641),n.e(2829),n.e(2468),n.e(1421),n.e(2822),n.e(4040),n.e(6680),n.e(2530),n.e(1496),n.e(7901),n.e(5824),n.e(8931),n.e(2558),n.e(9427),n.e(3973),n.e(9348),n.e(8610),n.e(508),n.e(5119),n.e(400),n.e(9349)]).then(n.bind(n,22716)))),F=i.lazy((()=>Promise.all([n.e(397),n.e(3801),n.e(6588),n.e(7948),n.e(4264),n.e(483),n.e(3275),n.e(823),n.e(6656),n.e(7978),n.e(9641),n.e(2829),n.e(2468),n.e(1421),n.e(2822),n.e(4040),n.e(6680),n.e(2530),n.e(1496),n.e(7901),n.e(5824),n.e(8931),n.e(2558),n.e(9427),n.e(3973),n.e(9348),n.e(8610),n.e(508),n.e(400),n.e(3352)]).then(n.bind(n,18312)))),P=i.lazy((()=>Promise.all([n.e(3275),n.e(6148),n.e(2822),n.e(2805),n.e(238)]).then(n.bind(n,97953)))),V=i.lazy((()=>Promise.all([n.e(397),n.e(3801),n.e(6588),n.e(7948),n.e(4264),n.e(483),n.e(3275),n.e(823),n.e(6656),n.e(7978),n.e(4359),n.e(3070),n.e(2822),n.e(4040),n.e(6680),n.e(2530),n.e(1496),n.e(7901),n.e(5824),n.e(8931),n.e(2558),n.e(9427),n.e(3973),n.e(9348),n.e(8610),n.e(9173),n.e(5119),n.e(2449),n.e(5436)]).then(n.bind(n,5870)))),H=i.lazy((()=>Promise.all([n.e(397),n.e(823),n.e(6820),n.e(2822),n.e(2558),n.e(6838)]).then(n.bind(n,71270)))),G=i.lazy((()=>n.e(8647).then(n.bind(n,16567)))),U=i.lazy((()=>Promise.all([n.e(397),n.e(3801),n.e(6588),n.e(7948),n.e(4264),n.e(483),n.e(3275),n.e(823),n.e(6656),n.e(7978),n.e(9641),n.e(2829),n.e(2468),n.e(2837),n.e(543),n.e(2822),n.e(4040),n.e(6680),n.e(2530),n.e(1496),n.e(7901),n.e(5824),n.e(8931),n.e(2558),n.e(9427),n.e(3973),n.e(9348),n.e(8610),n.e(508),n.e(8120),n.e(3499)]).then(n.bind(n,85857)))),W=i.lazy((()=>Promise.all([n.e(397),n.e(3801),n.e(6588),n.e(7948),n.e(4264),n.e(483),n.e(3275),n.e(823),n.e(6656),n.e(7978),n.e(4359),n.e(3070),n.e(2837),n.e(2822),n.e(4040),n.e(6680),n.e(2530),n.e(1496),n.e(7901),n.e(5824),n.e(8931),n.e(2558),n.e(9427),n.e(3973),n.e(9348),n.e(9173),n.e(5119),n.e(2449),n.e(1649),n.e(2832),n.e(8120),n.e(6272)]).then(n.bind(n,538)))),j=i.lazy((()=>Promise.all([n.e(397),n.e(6588),n.e(7948),n.e(4264),n.e(2822),n.e(6680),n.e(2530),n.e(5824),n.e(1649),n.e(908)]).then(n.bind(n,83313)))),Z=i.lazy((()=>Promise.all([n.e(6588),n.e(2822),n.e(2530),n.e(4535)]).then(n.bind(n,32431)))),z=i.lazy((()=>Promise.all([n.e(397),n.e(3801),n.e(6588),n.e(7948),n.e(483),n.e(2829),n.e(3175),n.e(2822),n.e(4040),n.e(2530),n.e(1496),n.e(7901),n.e(8931),n.e(3903)]).then(n.bind(n,39047)))),K=i.lazy((()=>Promise.all([n.e(3801),n.e(4040),n.e(312)]).then(n.bind(n,11134)))),X=i.lazy((()=>Promise.all([n.e(397),n.e(3801),n.e(4359),n.e(9295),n.e(4040),n.e(6680),n.e(1496),n.e(5824),n.e(9173),n.e(3520),n.e(3068)]).then(n.bind(n,38965)))),Y=i.lazy((()=>Promise.all([n.e(397),n.e(3801),n.e(4359),n.e(9295),n.e(4040),n.e(6680),n.e(1496),n.e(5824),n.e(9173),n.e(3520),n.e(1909)]).then(n.bind(n,66714)))),$=i.lazy((()=>Promise.all([n.e(397),n.e(3863),n.e(2822),n.e(6680),n.e(7901),n.e(5710)]).then(n.bind(n,79842)))),q=()=>b.JA.IS_OGG?"games":"groups",Q={},J=Object.assign(Object.assign({DiagData:()=>"/:anything*/diagdata",Login:()=>"/login/home",OAuthLogin:()=>"/oauth/loginform",OpenidLogin:()=>"/openid/loginform",EventsInternal:()=>"/(migrateevents|migrate)",EventEditor:e=>`/${q()}/${e}/partnerevents`,EventReaders:e=>`/${q()}/${e}/(events|announcements)`,HubRoot:e=>`/app/${e}(/workshop/)?`,GroupRoot:e=>`/groups/${e}/`,ProfileVanity:e=>`/id/${e}`,ProfileSteamID:e=>`/profiles/${e}`,ProfileVanityGamesList:e=>`${J.ProfileVanity(e)}/games`,ProfileSteamIDGamesLIst:e=>`${J.ProfileSteamID(e)}/games`,UGCDetailsPage:()=>"/:anything/filedetails",UserReviewRewardAppVanity:()=>"/id/:vanity_url/recommended/:appid/",UserReviewRewardApp:()=>"/profiles/:steamid/recommended/:appid/",UserReviewsReward:()=>"/profiles/:steamid/recommended",UserReviewsRewardVanity:()=>"/id/:vanity_url/recommended",ManageFriendsApp:()=>"/id/:vanity_url/friends/add",ManageFriendsProfileApp:()=>"/profiles/:id/friends/add",BroadcastApp:()=>"/broadcast",DiscussionsAppWorkshop:()=>"/workshop/discussions",DiscussionsAppUGC:()=>"/sharedfiles/filedetails/discussions",DiscussionsAppGeneral:()=>"/discussions/forum",GameNotes:()=>"/notes/",FAQApp:()=>"/faqs/",QuestionsApp:()=>"/questions/",ConferenceApp:()=>"/(conference|steamworksvirtualconference)/",ProfileVanityNotifications:e=>`${J.ProfileVanity(e)}/notifications`,ProfileSteamIDNotifications:e=>`${J.ProfileSteamID(e)}/notifications`},Q),{CommunityHomeRoot:()=>"/"});class ee extends i.Component{render(){return i.createElement(r.VK,{basename:re()},i.createElement(te,null,i.createElement(ne,null),i.createElement(i.Suspense,{fallback:null},i.createElement(s.rs,null,i.createElement(s.AW,{exact:!0,path:J.DiagData(),render:e=>i.createElement(d.m,Object.assign({},e,{key:e.match.params.gid,strConfigID:"application_config"}))}),i.createElement(s.AW,{path:[J.Login(),J.OAuthLogin()]},i.createElement(m.d,{config:{login:e=>i.createElement(Z,Object.assign({},e))}})),i.createElement(s.AW,{path:[J.Login(),J.OpenidLogin()]},i.createElement(m.d,{config:{login:e=>i.createElement(Z,Object.assign({},e))}})),i.createElement(s.AW,{path:J.EventEditor(":appid_or_vanity_str"),component:B}),i.createElement(s.AW,{path:J.EventsInternal(),component:F}),i.createElement(s.AW,{path:J.EventReaders(":appid_or_vanity_str"),component:k}),i.createElement(s.AW,{path:J.BroadcastApp(),component:V}),i.createElement(s.AW,{path:J.HubRoot(":appid"),render:e=>i.createElement(m.d,{config:{"apphub-events":()=>i.createElement(k,null),"apphub-ugcrewards":()=>i.createElement(P,Object.assign({},e)),"community-awards":()=>i.createElement(P,Object.assign({},e))}})}),i.createElement(s.AW,{path:J.GroupRoot(":groupid_or_vanity_str"),render:e=>i.createElement(m.d,{config:{"apphub-events":()=>i.createElement(k,null),"community-awards":()=>i.createElement(P,Object.assign({},e))}})}),i.createElement(s.AW,{path:J.UserReviewRewardAppVanity(),render:e=>i.createElement(P,Object.assign({},e))}),i.createElement(s.AW,{path:J.UserReviewRewardApp(),render:e=>i.createElement(P,Object.assign({},e))}),i.createElement(s.AW,{path:J.UserReviewsRewardVanity(),render:e=>i.createElement(P,Object.assign({},e))}),i.createElement(s.AW,{path:J.UserReviewsReward(),render:e=>i.createElement(P,Object.assign({},e))}),i.createElement(s.AW,{path:[J.DiscussionsAppGeneral(),J.DiscussionsAppWorkshop(),J.DiscussionsAppUGC()],render:e=>i.createElement(m.d,{config:{"community-awards":()=>i.createElement(P,Object.assign({},e))}})}),i.createElement(s.AW,{path:[J.ManageFriendsApp(),J.ManageFriendsProfileApp()],render:()=>i.createElement(m.d,{config:{"manage-friends":()=>i.createElement(G,null)}})}),i.createElement(s.AW,{path:[J.ProfileVanityGamesList(":vanity_url"),J.ProfileSteamIDGamesLIst(":steamid")],render:e=>i.createElement(m.d,{config:{"gameslist-root":()=>i.createElement(z,Object.assign({},e))}})}),i.createElement(s.AW,{path:J.ProfileVanityNotifications(":vanity_url"),render:e=>i.createElement(Y,Object.assign({},e))}),i.createElement(s.AW,{path:J.ProfileSteamIDNotifications(":steamid"),render:e=>i.createElement(Y,Object.assign({},e))}),i.createElement(s.AW,{path:J.ProfileVanity(":vanity_url"),render:e=>i.createElement(N,Object.assign({},e))}),i.createElement(s.AW,{path:J.ProfileSteamID(":steamid"),render:e=>i.createElement(N,Object.assign({},e))}),i.createElement(s.AW,{path:J.UGCDetailsPage(),render:e=>i.createElement(i.Fragment,null,i.createElement(P,Object.assign({},e)),i.createElement(m.d,{config:{"game-recording-clip":e=>i.createElement($,Object.assign({},e))}}))}),i.createElement(s.AW,{path:J.GameNotes(),component:H}),i.createElement(s.AW,{path:J.FAQApp(),component:U}),i.createElement(s.AW,{path:J.QuestionsApp(),component:j}),i.createElement(s.AW,{path:J.ConferenceApp(),component:W}),!1,i.createElement(s.AW,{path:J.CommunityHomeRoot(),render:e=>i.createElement(m.d,{config:{"apphub-events":()=>i.createElement(k,null),"apphub-ugcrewards":()=>i.createElement(P,Object.assign({},e)),"community-home-header-v2":()=>i.createElement(K,null)}})}),i.createElement(s.AW,null,i.createElement(p.R,null))))))}}function te(e){return i.createElement(T.ZP,{domain:"steamcommunity.com"},i.createElement(b.fI,null,i.createElement(ie,null,i.createElement(v.R,null,i.createElement(h.Y0,null,e.children)))))}function ne(){return i.createElement(A.DT,null,i.createElement(i.Suspense,{fallback:null},i.createElement(m.d,{config:{"green-envelope":()=>i.createElement(X,{bResponsiveHeader:!1,notifications:(0,b.kQ)("steam_notifications","application_config")}),"green-envelope-responsive":()=>i.createElement(X,{bResponsiveHeader:!0,notifications:(0,b.kQ)("steam_notifications","application_config")})}})),i.createElement(m.d,{config:{parentalunlock:e=>i.createElement(I,Object.assign({},e))}}),i.createElement(m.d,{config:{parentalfeaturerequest:e=>i.createElement(x,Object.assign({},e))}}))}function oe(){const e=(0,b.kQ)("loyalty_webapi_token","application_config");return new u.J(b.De.WEBAPI_BASE_URL,e)}function ie(e){const t=(0,g.kD)(oe),n=(0,g.kD)(i.useCallback((()=>new c.Z),[])),o=(0,i.useMemo)((()=>({useActiveAccount:()=>b.L7.steamid})),[]);return i.createElement(a.B,{value:o},i.createElement(l.Ub,{useActiveSteamInterface:t,useStorage:n},e.children))}function re(){let e=document.createElement("a");e.href=b.De.COMMUNITY_BASE_URL;let t=e.pathname;return t.endsWith("/")||(t+="/"),t}var se=n(24522),ae=n(54842);n(34345);var le=n(62210),ce=n(92011),ue=n(50423);n(62613),n(68785),n(50898),n(90069),n(84935),n(93855);n(7765);(0,ae.jQ)({enforceActions:"never"}),(0,ue.Dj)((()=>(0,o.mG)(void 0,void 0,void 0,(function*(){document.getElementById("application_config")?(0,b.Ek)("application_config"):(0,b.Ek)(),(0,ce.Uh)().Init("Community",CLSTAMP,new u.J(b.De.WEBAPI_BASE_URL).GetServiceTransport()),yield function(e){return(0,o.mG)(this,void 0,void 0,(function*(){{const t=E.LJ.GetLanguageFallback(e),o=e===t,[i,r,s,a,l,c]=yield Promise.all([n(71574)(`./shared_${e}.json`).then((e=>e.default)),n(76430)(`./sales_${e}.json`).then((e=>e.default)),n(12923)(`./main_${e}.json`).then((e=>e.default)),o?{}:n(64050)(`./shared_${t}.json`).then((e=>e.default)),o?{}:n(60623)(`./sales_${t}.json`).then((e=>e.default)),o?{}:n(29790)(`./main_${t}.json`).then((e=>e.default))]);E.Yt.AddTokens(Object.assign(Object.assign(Object.assign({},r),i),s),Object.assign(Object.assign(Object.assign({},l),a),c))}for(const e of de)E.Yt.AddTokens(e);de=void 0}))}(b.De.LANGUAGE);const e=document.getElementById("react_root")||document.getElementById("application_root");if(e){const t=window;if(t.g_bCommunityReactInitialized)return void 0;se.createRoot(e).render(i.createElement(ee,{})),t.g_bCommunityReactInitialized=!0}}))));let de=[];function he(e,t,n){(0,le.X)("manifest"===t,`Expected manifest not "${t}"`),void 0!==de?de.push(n):E.Yt.AddTokens(n)}!function(){const e=window;e.g_rgPendingLocManifests&&e.g_rgPendingLocManifests.forEach((e=>he(...e))),e.LocalizationManifestReady=he,e.g_rgPendingLocManifests=void 0}()}},e=>{e.O(0,[3250],(()=>{return t=9740,e(e.s=t);var t}));e.O()}]);