Free fork of NotProton: Windows Steam games in Mac Steam, on CodeWeavers' Wine and Apple's Game Porting Toolkit
Swift apple-silicond3dmetaldxmtdxvkgame-porting-toolkitgptkmac-gamingmacosmetalfxrosetta-2steamsteam-playwinewinecx
on(Me){this.m_filterSpec.filterGroups[Me].bAcceptUnion=!this.m_filterSpec.filterGroups[Me].bAcceptUnion}MatchesImpl(Me){const ge=this.m_filterSpec.filterGroups;if(!q(ge[C.W6],Fe(Me))||!q(ge[C.sc],Ae(Me))||!q(ge[C.Kr],et(Me))||!q(ge[C.bp],Ze(Me))||!q(ge[C.Tx],$e(Me))||!q(ge[C.vA],Ie(Me))||!q(ge[C.RB],Ue(Me)))return!1;if(this.m_filterSpec.strSearchText){if
des(We)||Me.sort_as.includes(We)||g(ae,We)!==-1)}return!0}Matches(Me){return this.MatchesImpl(Me)}MatchesScoredImpl(Me){const ge=this.m_filterSpec.filterGroups;if(!q(ge[C.W6],Fe(Me))||!q(ge[C.sc],Ae(Me))||!q(ge[C.Kr],et(Me))||!q(ge[C.bp],Ze(Me))||!q(ge[C.Tx],$e(Me))||!q(ge[C.vA],Ie(Me))||!q(ge[C.RB],Ue(Me))||Me.BIsAppBlocked())return 0;if(this.m_filterSp
t At=2,at=class Mu{m_filterSpec=void 0;constructor(Me){(0,s.Gn)(this),Me&&(Me.filterGroups[2].rgOptions=Me.filterGroups[2].rgOptions?.filter(ge=>ge!=C.eb)||[]),this.m_filterSpec={nFormatVersion:At,strSearchText:Me&&Me.strSearchText||"",filterGroups:[H(!0,Me&&Me.filterGroups[0]),H(!1,Me&&Me.filterGroups[1]),H(!1,Me&&Me.filterGroups[2]),H(!1,Me&&Me.filterGroups[3]),H(!1,Me&&Me.filterGroups[4]),H(!1,Me&&Me.fi
>ge==Me)}CheckForExclusiveOption(Me,ge){fe.forEach(We=>{We.group==Me&&We.filters.includes(ge)&&We.filters.forEach(Ee=>{Ee!==ge&&this.SelectOption(Me,Ee,!1)})})}SelectOption(Me,ge,We){let ae=this.m_filterSpec.filterGroups[Me].rgOptions;if(Me==C.sc){const Xe=ge;if(U(Xe)&&We&&(this.ClearSteamHWCompatOptions(ae),Xe==C.eb))return}Me==C.Tx&&We&&(S.O$.RefreshOwnedGames(ge),(0,x.L)("Library/AddFriend
e.filterGroups[4]),H(!1,Me&&Me.filterGroups[5]),H(!1,Me&&Me.filterGroups[6]),H(!1,Me&&Me.filterGroups[7]),H(!1,Me&&Me.filterGroups[8])],setSuggestions:new Set}}Reset(){this.m_filterSpec.strSearchText="",this.m_filterSpec.filterGroups.forEach(Me=>Me.rgOptions=[])}BIncludesTools(){const Me=this.GetSelectedOptions(C.Wc);return!!Me.find(ge=>ge==n.B7)||Me.length==0}
).join(", "));let Tt=this.GetSelectedOptions(C.RB);return Tt.length>0&&Me.push(Tt.map(Mt=>(0,l.we)(`#Accessibility_Feature_${R(C.RB,Mt)}`)).join(", ")),Me}get bIsEmpty(){return this.searchText.length==0&&this.m_filterSpec.filterGroups.every(Me=>Me.rgOptions.length==0)}get searchText(){return this.m_filterSpec.strSearchText}SetSearchText(Me){this.m_filterSpec.str
is.GetSelectedOptions(C.Wc);We.length>0&&We.length!=ge.length&&Me.push(ge.filter(Mt=>We.indexOf(Mt)!==-1).map(Mt=>(0,l.we)(Mu.LocalizeAppType(Mt))).join(", "));let ae=this.GetSelectedOptions(C.W6);ae.length>0&&Me.push(ae.map(Mt=>{if(Mt==C.Pu){if((0,P.CI)())return(0,l.we)("#FilterElement_ValidPlatform_Linux");if((0,P.Pr)())return(0,l.we)("#FilterElement_ValidPlatform_MacOS")}return(0,l.we)("#FilterEle
.VQ,Ia=i.n6.bIsGameListSortedByRecent,Js=i.n6.selectedGameListView!=i.GA,Ha=i.n6.currentAppFilter.BIsSelected(Is.W6,Is.Sr),Ta=!ii,io=!(0,nt.td)(),Ya=(0,nt.CI)(),$a=i.n6.currentAppFilter.BIsSelected(Is.W6,Is.Pu);return(0,e.jsxs)("div",{className:ho().Bar,children:[(0,e.jsx)(Ir.EN,{active:Us,children:(0,e.jsx)(T0,{closeModal:Vs})}),(0,e.jsxs)("div",{className:ho().SearchBar,ref:Ii,tabIndex:-1,children:[(0,e.jsxs)
ren:(0,e.jsx)(y.i3G,{angle:0})})]}),(0,e.jsx)("div",{className:ho().ViewFiltersBar,children:(0,e.jsxs)("div",{className:(0,f.A)(ho().Filters,kn&&ho().Disabled),children:[io&&(0,e.jsxs)(lt.he,{direction:"top",nDelayShowMS:240,toolTipContent:Ya?"#GameList_View_Platform_Linux":"#GameList_View_Platform_Apple",className:(0,f.A)(ho().CheckboxWithImage,Js&&ho().Disabled,$a&&ho().Active),onClick:()=>Js||G1(Is.W6,Is.Pu,!$a),children:[Ya&&(0,e.jsx)(y.Wy0,{}),!Ya&&(0,e.jsx)(y.kPc,{})]}),(0,e.jsx)(lt.he,{direction:"top",nDelayShowMS:240,toolTipContent:"#GameList_View_SortByRecent",className:(0,f.A)(ho().CheckboxWithImage,kn&&ho().Disabled,Ia&&ho().Active),onClick:()=>kn||y1(!Ia),children:(0,e.jsx)(y.QHH,{})}),(0,e.jsx)(lt.m9,{direction:"
AppType!=n.em&&Qe.local_per_client_data&&!!Qe.local_per_client_data.installed;case C.zW:return Qe.rt_last_time_played>0;case C.jn:return!Qe.rt_last_time_played;case C.Pu:return(0,P.CI)()&&!(0,P.mP)()?Pe(Qe):(0,P.td)()?!0:Qe.is_available_on_current_platform&&!Qe.is_invalid_os_type;case C.fd:return e.tw.BIsAppPrivate(Qe.appid);default:return!1}}}function et(Qe){return Qe.BHasStoreTag}function $e(Qe){return Me=>S.O$.GetOwnedGames(Me).has(Qe