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(we){this.m_filterSpec.filterGroups[we].bAcceptUnion=!this.m_filterSpec.filterGroups[we].bAcceptUnion}MatchesImpl(we){const fe=this.m_filterSpec.filterGroups;if(!q(fe[C.W6],We(we))||!q(fe[C.sc],be(we))||!q(fe[C.Kr],tt(we))||!q(fe[C.bp],Ye(we))||!q(fe[C.Tx],et(we))||!q(fe[C.vA],Me(we))||!q(fe[C.RB],Ne(we)))return!1;if(this.m_filterSpec.strSearchText){if
des(Fe)||we.sort_as.includes(Fe)||h(le,Fe)!==-1)}return!0}Matches(we){return this.MatchesImpl(we)}MatchesScoredImpl(we){const fe=this.m_filterSpec.filterGroups;if(!q(fe[C.W6],We(we))||!q(fe[C.sc],be(we))||!q(fe[C.Kr],tt(we))||!q(fe[C.bp],Ye(we))||!q(fe[C.Tx],et(we))||!q(fe[C.vA],Me(we))||!q(fe[C.RB],Ne(we))||we.BIsAppBlocked())return 0;if(this.m_filterSp
t pt=2,st=class Vu{m_filterSpec=void 0;constructor(we){(0,s.Gn)(this),we&&(we.filterGroups[2].rgOptions=we.filterGroups[2].rgOptions?.filter(fe=>fe!=C.eb)||[]),this.m_filterSpec={nFormatVersion:pt,strSearchText:we&&we.strSearchText||"",filterGroups:[k(!0,we&&we.filterGroups[0]),k(!1,we&&we.filterGroups[1]),k(!1,we&&we.filterGroups[2]),k(!1,we&&we.filterGroups[3]),k(!1,we&&we.filterGroups[4]),k(!1,we&&we.fi
>fe==we)}CheckForExclusiveOption(we,fe){he.forEach(Fe=>{Fe.group==we&&Fe.filters.includes(fe)&&Fe.filters.forEach(Ie=>{Ie!==fe&&this.SelectOption(we,Ie,!1)})})}SelectOption(we,fe,Fe){let le=this.m_filterSpec.filterGroups[we].rgOptions;if(we==C.sc){const Xe=fe;if(R(Xe)&&Fe&&(this.ClearSteamHWCompatOptions(le),Xe==C.eb))return}we==C.Tx&&Fe&&(E.O$.RefreshOwnedGames(fe),(0,S.L)("Library/AddFriend
e.filterGroups[4]),k(!1,we&&we.filterGroups[5]),k(!1,we&&we.filterGroups[6]),k(!1,we&&we.filterGroups[7]),k(!1,we&&we.filterGroups[8])],setSuggestions:new Set}}Reset(){this.m_filterSpec.strSearchText="",this.m_filterSpec.filterGroups.forEach(we=>we.rgOptions=[])}BIncludesTools(){const we=this.GetSelectedOptions(C.Wc);return!!we.find(fe=>fe==n.B7)||we.length==0}
).join(", "));let Ot=this.GetSelectedOptions(C.RB);return Ot.length>0&&we.push(Ot.map(yt=>(0,l.we)(`#Accessibility_Feature_${H(C.RB,yt)}`)).join(", ")),we}get bIsEmpty(){return this.searchText.length==0&&this.m_filterSpec.filterGroups.every(we=>we.rgOptions.length==0)}get searchText(){return this.m_filterSpec.strSearchText}SetSearchText(we){this.m_filterSpec.str
is.GetSelectedOptions(C.Wc);Fe.length>0&&Fe.length!=fe.length&&we.push(fe.filter(yt=>Fe.indexOf(yt)!==-1).map(yt=>(0,l.we)(Vu.LocalizeAppType(yt))).join(", "));let le=this.GetSelectedOptions(C.W6);le.length>0&&we.push(le.map(yt=>{if(yt==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,ja=i.n6.bIsGameListSortedByRecent,ra=i.n6.selectedGameListView!=i.GA,Ja=i.n6.currentAppFilter.BIsSelected(_s.W6,_s.Sr),Wa=!si,go=!(0,at.td)(),no=(0,at.CI)(),co=i.n6.currentAppFilter.BIsSelected(_s.W6,_s.Pu);return(0,e.jsxs)("div",{className:fo().Bar,children:[(0,e.jsx)(Mr.EN,{active:ms,children:(0,e.jsx)(s0,{closeModal:Vs})}),(0,e.jsxs)("div",{className:fo().SearchBar,ref:Ei,tabIndex:-1,children:[(0,e.jsxs)
ren:(0,e.jsx)(y.i3G,{angle:0})})]}),(0,e.jsx)("div",{className:fo().ViewFiltersBar,children:(0,e.jsxs)("div",{className:(0,p.A)(fo().Filters,Jn&&fo().Disabled),children:[go&&(0,e.jsxs)(ct.he,{direction:"top",nDelayShowMS:240,toolTipContent:no?"#GameList_View_Platform_Linux":"#GameList_View_Platform_Apple",className:(0,p.A)(fo().CheckboxWithImage,ra&&fo().Disabled,co&&fo().Active),onClick:()=>ra||c1(_s.W6,_s.Pu,!co),children:[no&&(0,e.jsx)(y.Wy0,{}),!no&&(0,e.jsx)(y.kPc,{})]}),(0,e.jsx)(ct.he,{direction:"top",nDelayShowMS:240,toolTipContent:"#GameList_View_SortByRecent",className:(0,p.A)(fo().CheckboxWithImage,Jn&&fo().Disabled,ja&&fo().Active),onClick:()=>Jn||l1(!ja),children:(0,e.jsx)(y.QHH,{})}),(0,e.jsx)(ct.m9,{direction:"
AppType!=n.em&&Ze.local_per_client_data&&!!Ze.local_per_client_data.installed;case C.zW:return Ze.rt_last_time_played>0;case C.jn:return!Ze.rt_last_time_played;case C.Pu:return(0,P.CI)()&&!(0,P.mP)()?Ce(Ze):(0,P.td)()?!0:Ze.is_available_on_current_platform&&!Ze.is_invalid_os_type;case C.fd:return e.tw.BIsAppPrivate(Ze.appid);default:return!1}}}function tt(Ze){return Ze.BHasStoreTag}function et(Ze){return we=>E.O$.GetOwnedGames(we).has(Ze