PageSourceSearch

https://secondwinddigital.com/clients/js/www.mothercare.co.id/stat…/id_ID/Swissup_Breeze/js/core/turbo.min.js

js secondwinddigital.com collected 2026-10-09 18:16:53 UTC 2,886 bytes, 10 lines download raw bytes

1(function(){'use strict';var config=$('#breeze-turbo').data('config'),mergedCss=$('link[href*="/merged/"]')[0],restoreInlineScripts=true;function onBeforeRender(event){var newConfig=$(event.data.newBody).find('#breeze-turbo').data('config'),shouldReload;shouldReload=!newConfig||config.store!==newConfig.store;if(shouldReload){event.preventDefault();window.location.reload();}}
2function onRender(){if(restoreInlineScripts){$(document.body).find('script[type="text/breeze"]').each(function(){this.parentNode.insertBefore($(this).clone().removeAttr('type').get(0),this);$(this).remove();});}
3restoreInlineScripts=true;}
4function onRequestStart(){restoreInlineScripts=false;}
5function onRequestEnd(event){var hashRegex=/\/_cache\/merged\/([a-z0-9]+)/,newMergedCss=event.data.xhr.responseText.match(hashRegex),oldMergedCss,shouldReload;if(!mergedCss){return;}
6oldMergedCss=mergedCss.href.match(hashRegex);shouldReload=!newMergedCss||oldMergedCss[1]!==newMergedCss[1];if(shouldReload){event.preventDefault();window.location.reload();}}
7function onBeforeCache(){$.registry.delete();$(document).find('[data-breeze-temporary]').remove();$(document).find('[data-breeze-processed]').removeAttr('data-breeze-processed');$(document.body).find('script:not([type]), script[type="text/javascript"], script[type="module"]').attr('type','text/breeze');$('script[src]').each(function(){$.breeze.loadedScripts[this.src]=true;});}
8function onBeforeVisit(event){var url=event.data.url,excluded=false;if(!config.enabled){excluded=true;}else{excluded=_.some(config.excludedUrls,function(excludedUrl){return url.indexOf(excludedUrl)!==-1;});}
9if(excluded){event.preventDefault();window.location.href=url;}}
10document.addEventListener('turbolinks:before-render',onBeforeRender);document.addEventListener('turbolinks:render',onRender);document.addEventListener('turbolinks:request-start',onRequestStart);document.addEventListener('turbolinks:request-end',onRequestEnd);document.addEventListener('turbolinks:before-cache',onBeforeCache);document.addEventListener('turbolinks:before-visit',onBeforeVisit);(function(){var referrers={};$.breeze.referrer=$.storage.ns('breeze').get('referrer')||document.referrer;document.addEventListener('turbolinks:before-visit',function(event){referrers[event.data.url]=window.location.href;});$(document).on('turbolinks:visit',function(){$.breeze.referrer=referrers[window.location.href]||document.referrer;$.storage.ns('breeze').set('referrer',$.breeze.referrer);});})();Turbolinks.HttpRequest.prototype.requestLoaded=function(){return this.endRequest(function(){var code=this.xhr.status;if(200<=code&&code<300||code===403||code===404||code===500){this.delegate.requestCompletedWithResponse(this.xhr.responseText,this.xhr.getResponseHeader("Turbolinks-Location"));}else{this.failed=true;this.delegate.requestFailedWithStatusCode(code,this.xhr.responseText);}}.bind(this));};})();

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.