1(function(window2){if(!window2||window2.BumpJackpotTicker)return;function normalizeTickerText(text){return String(text||"").replace(/\u00a0/g," ").trim()}function parseMoneyValue(text){var digits=normalizeTickerText(text).match(/\d+/g);return digits?Number.parseInt(digits.join(""),10):0}function extractTickerPattern(targetText){var rawText=String(targetText||"").trim(),parts=rawText.match(/^(.*?)(\d(?:[\d\s\u00A0,.'â]*\d)?)(.*?)$/);if(!parts)return{prefix:"",suffix:"",groupSeparator:","};var numericPortion=parts[2],separatorMatches=numericPortion.match(/[\s\u00A0,.'â]/g)||[];return{prefix:parts[1],suffix:parts[3],groupSeparator:separatorMatches[0]||","}}function formatGroupedInteger(value,separator){var roundedValue=Math.max(0,Math.round(value)),digits=String(roundedValue);return separator?digits.replace(/\B(?=(\d{3})+(?!\d))/g,separator):digits}function formatTickerValue(targetText,value){var pattern=extractTickerPattern(targetText),groupedDigits=formatGroupedInteger(value,pattern.groupSeparator);return""+pattern.prefix+groupedDigits+pattern.suffix}function prefersReducedMotion(){return!!(window2.matchMedia&&window2.matchMedia("(prefers-reduced-motion: reduce)").matches)}function animateValue(element,nextText,options){if(!element)return;var settings=options||{},rawTargetText=String(nextText||"").trim(),normalizedTargetText=normalizeTickerText(rawTargetText);if(!rawTargetText.length)return;var targetValue=parseMoneyValue(normalizedTargetText),reducedMotion=typeof settings.reducedMotion=="boolean"?settings.reducedMotion:prefersReducedMotion(),threshold=Number.isFinite(settings.threshold)?settings.threshold:0,duration=Number.isFinite(settings.duration)?settings.duration:2e3;if(!targetValue||reducedMotion||targetValue<threshold){element.textContent=rawTargetText;return}var initialValue=Number.isFinite(settings.startValue)?settings.startValue:parseMoneyValue(normalizeTickerText(element.textContent));if(!settings.force&&normalizeTickerText(element.textContent)===normalizedTargetText)return;element.__bumpTickerFrame&&window2.cancelAnimationFrame(element.__bumpTickerFrame);try{element.textContent=formatTickerValue(rawTargetText,initialValue)}catch(error){element.textContent=rawTargetText}function restoreTargetText(){element.textContent=rawTargetText,delete element.__bumpTickerFrame}var startTimestamp=null;function step(timestamp){startTimestamp===null&&(startTimestamp=timestamp);var progress=Math.min((timestamp-startTimestamp)/duration,1),eased=1-Math.pow(1-progress,3),currentValue=initialValue+(targetValue-initialValue)*eased;if(progress>=1){restoreTargetText();return}try{element.textContent=formatTickerValue(rawTargetText,currentValue)}catch(error){restoreTargetText();return}element.__bumpTickerFrame=window2.requestAnimationFrame(step)}try{element.__bumpTickerFrame=window2.requestAnimationFrame(step)}catch(error){restoreTargetText()}}window2.BumpJackpotTicker={animateValue:animateValue,normalizeText:normalizeTickerText,parseMoneyValue:parseMoneyValue}})(window); 2//# sourceMappingURL=/cdn/shop/t/13/assets/jackpot-ticker.js.map?v=105265933580950339311790348604
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.