javascript:(function(){var e,t=document.querySelector("shopping-page-base")?.shadowRoot.querySelector("shopping-homepage")?.shadowRoot.querySelector("msft-feed-layout")?.shadowRoot.querySelector("msn-shopping-game-pane");function a(){t.displayedShoppingEntities.length>1&&(t.displayedShoppingEntities=[t.displayedShoppingEntities[0]]),localStorage.removeItem("gamesPerDay"),t.dailyLimitReached=!1,t.leaderboardRecord&&(t.leaderboardRecord.dailyGuessingGamesPlayed=0),t.gameState="idle"==t.gameState?"active":t.gameState}window.scOg||(window.scOg=t.startCountdown),t.startCountdown=function(e){setTimeout((()=>{if(!window.gameCounterElem){window.gameCounter=0;var e=document.createElement("div");e.className="view-leaderboard stats-game-counter",e.style="right:unset;left:25px;font-size:13px;",t.gameContainerRef.getElementsByClassName("game-panel-container")[0].appendChild(e),window.gameCounterElem=e}window.gameCounter++,window.gameCounterElem.textContent=`Game: ${window.gameCounter}`}),1==e?e:1e3*t.gameSettings.newGameCountdown+1150),1!=e&&window.scOg.call(t)},t.gSCS=function(e){return t.isGameFinished?"--price-color:#00AE56;--price-color-dark:#00AE56":""},t.getGameResult=async function(n){if(t.isGameFinished)return t.gameState="win",a(),t.selectedCardIndex!=t.c_ai&&t.selectedCardIndex>-1&&(t.gameContainerRef.querySelector("fluent-card").parentElement.style="border:4px solid rgb(0, 174, 86)",t.selectedCardIndex=-1,t.confettiAnimate.play(),await async function(){return await fetch("https://assets.msn.com/service/news/feed/segments/shopping?ocid=shopping-shophp-Peregrine&apikey=Xr2pbC1j5NMUwFF5YHTlhDDkcftEafmPoVP3pfA5eZ&timeOut=10000&cm="+MeControl.Config.mkt.toLowerCase()+"&scn=MSNRPSAuth&$select=rewards|reportactivity|guessinggame|0|"+window.gameHash+"&$filter=~5000&t="+Date.now().toString(),{cache:"no-store",headers:{Authorization:`Bearer ${e}`}})}()),"win"};var n=localStorage.getItem("1s-tokens");n?(window.gameHash=t.displayedShoppingEntities[0].gameHash,t.style.gridArea="slot2",window.scrollTo(0,0),e=JSON.parse(n).accessToken,setInterval(a,100),t.startCountdown(1)):alert("Failed'");})();