1window.SwymCallbacks||(window.SwymCallbacks=[]);function swymCallbackFn(swat){document.addEventListener("swym:collections-loaded",function(){swat.initializeActionButtons("#AjaxinateContainer")})}window.SwymCallbacks.push(swymCallbackFn),(function(window2,$){window2.SwymCallbacks||(window2.SwymCallbacks=[]);const wishlistRender=function(products){$(function(){var template=$("[data-wishlist-template]"),empty_template=$("[data-wishlist-empty]"),$wishlistContainer=$("#wishlist-content"),startLoading=function($context){$context?$context.addClass("loading"):$wishlistContainer.addClass("loading")},stopLoading=function($context){$context?$context.removeClass("loading"):$wishlistContainer.removeClass("loading")};if(!products||products.length<1){empty_template.show();return}products.forEach(function(p){var row=template.clone();if(row.removeClass("hidden"),row.find("[data-name]").html(p.dt),row.find("[data-vendor]").html(p.bt),row.find("[data-url]").attr("href",p.du),row.find("[data-image]").attr("src",p.iu),row.find("[data-price]").html(p.pr+_swat.currency),p.op&&p.op>p.pr){var percentage=Math.round(p.pr*100/p.op,2);row.find("[data-percentage-value]").html(percentage),row.find("[data-percentage-wrapper]").removeClass("hidden"),row.find("[data-price-container]").addClass("strike-price"),row.find("[data-original-price]").html(p.op+_swat.currency)}row.find("[data-remove]").on("click",function(e){e.preventDefault(),startLoading(row),_swat.removeFromWishList(p,function(){row.remove(),window2.loadWishlistBubble(0),stopLoading(row)})}),$wishlistContainer.append(row)})})};window2.SwymCallbacks.push(function(){_swat.fetchWrtEventTypeET(function(products){wishlistRender(products)},_swat.EventTypes.addToWishlist)})})(window,jQuery); 2//# sourceMappingURL=/cdn/shop/t/3/assets/wishlist.js.map?v=32188841228759798381717486383
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.