PageSourceSearch

https://wordshake.com/wp-content/cache/wpo-minify/1790289580/assets/wpo-minify-footer-3ff8059a.min.js

js wordshake.com collected 2026-09-25 20:24:47 UTC 3,840 bytes, 11 lines download raw bytes

1
2var localStorageData=[];function processCalendarProgress($calendar){const starSVG='<div class="star-svg"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400" width="100%" height="100%"><g><path d="M83.5 390.1c-8.8-4.1-13.5-11.1-13.5-19.9 0-2.7 4-28.5 9-57.3 4.9-28.8 9-53.8 9-55.5 0-2.8-4.3-7.3-40.4-42.3-48-46.6-48.3-46.9-44.1-60.7 1.8-5.9 6.3-11 12.1-13.5 2.7-1.3 23.7-4.8 60.4-10.3 30.9-4.7 56.3-8.6 56.5-8.8 0.1-0.2 11.2-22.7 24.6-50.1 25.7-52.4 27.4-55.4 36.1-59.8 5.7-2.9 13.2-2.5 19.4 1 2.8 1.6 6.2 4.5 7.7 6.5 1.5 1.9 13.6 25.7 26.9 52.8s24.2 49.4 24.3 49.5c0.1 0.2 25.1 3.9 55.6 8.3s57.4 8.8 59.9 9.7c8.6 3.3 15 13.1 15 22.8 0 8.4-6.8 15.6-80.2 85.5l-6.8 6.5 9.6 55c10.5 60.9 10.8 64.2 6 71.5-3 4.6-9.1 8.9-13.8 9.9-7.5 1.6-11.9-0.2-62.8-26.3-27.4-14.1-50.8-25.6-52-25.6s-24.1 11.4-50.8 25.3c-26.8 14-50.2 25.9-52.1 26.5-4.9 1.7-11 1.4-15.6-0.7z" /></g></svg></div>';const gameID=jQuery('#gameID').text();console.log(gameID);const isSinglePage=jQuery('.single').length>0;const currentMonth=$calendar.data('month');if(document.body.classList.contains('logged-in')){$calendar.find('.calendar-day').each(function(){let $day=jQuery(this);let dayGameID=$day.data('gameid');console.log(dayGameID);if($day.hasClass('completed')){$day.append(starSVG)}
3if(isSinglePage&&dayGameID==gameID){$day.addClass('completed splash');$day.append(starSVG);setTimeout(function(){$day.removeClass('splash')},800)}})}else{$calendar.find('.calendar-day').each(function(){let $day=jQuery(this);let dayGameID=$day.data('gameid');if(!dayGameID){console.warn('No gameID found for this day');return}
4let puzzleID=`puzzle-${dayGameID}`;if(localStorageData[puzzleID]&&localStorageData[puzzleID][0]===!0){$day.addClass('completed').append(starSVG)}
5if(isSinglePage&&dayGameID==gameID){$day.addClass('completed splash');$day.append(starSVG);setTimeout(function(){$day.removeClass('splash')},800)}});if(jQuery('.post-type-archive-daily-wordshake').length){let vocabChallengeObject=JSON.parse(localStorage.getItem('vocabChallengeObject'));console.log(vocabChallengeObject);if(vocabChallengeObject){jQuery('.game-link').each(function(){var dailyPuzzle='puzzle-'+jQuery(this).attr('data-gameid');if(vocabChallengeObject[dailyPuzzle]){if(vocabChallengeObject[dailyPuzzle][0]){jQuery(this).addClass('completed-puzzle').prepend('<span class="completed">COMPLETE</span>')}}})}}}
6let completedDays=$calendar.find('.calendar-day.completed').length;let totalDays=$calendar.find('.calendar-day:not(.empty)').length;let percentageCompleted=completedDays/totalDays;$calendar.find('.num-progress span').text(completedDays);let $circle=$calendar.find('.month-progress');setCircleProgress($circle,$calendar,percentageCompleted)}
7function setCircleProgress($circle,$calendar,percentageCompleted){let circleLen=$circle[0].getTotalLength();let circleOffset=percentageCompleted*circleLen;$circle.css('stroke-dashoffset',circleLen-circleOffset);if(percentageCompleted===1){$circle.parent().parent().addClass('month-completed');$calendar.addClass('month-completed')}}
8jQuery(document).ready(function($){localStorageData=JSON.parse(localStorage.getItem('vocabChallengeObject'));if(jQuery('body.single').length){}else{jQuery('.wordshake-calendar').each(function(){processCalendarProgress(jQuery(this))})}});function setCircleProgress($circle,$calendar,percentageCompleted){let circleLen=$circle[0].getTotalLength();let circleOffset=percentageCompleted*circleLen;$circle.css('stroke-dashoffset',circleLen-circleOffset);if(percentageCompleted===1){$circle.parent().parent().addClass('month-completed');$calendar.addClass('month-completed')}}
9jQuery(document).ready(function($){localStorageData=JSON.parse(localStorage.getItem('vocabChallengeObject'));if(jQuery('body.single').length){}else{jQuery('.wordshake-calendar').each(function(){processCalendarProgress(jQuery(this))})}});
10
11

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.