PageSourceSearch

https://www.diadora.com/on/demandware.static/Sites-US-Site/-/es_US/v1790235927970/js/gtmEvents.js

js diadora.com collected 2026-09-24 19:44:38 UTC 39,468 bytes, 1 lines download raw bytes

1!function(t){var e={};function a(i){if(e[i])return e[i].exports;var n=e[i]={i:i,l:!1,exports:{}};return t[i].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=t,a.c=e,a.d=function(t,e,i){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},a.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(a.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)a.d(i,n,function(e){return t[e]}.bind(null,n));return i},a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="",a(a.s=104)}({104:function(t,e,a){var n=a(2);const o=a(40),r=a(12);function s(t,e,a){var i={event:"GAevent",eventID:"18",eventCategory:"B_help",eventAction:n.gtmCleanValue(t)};window.dataLayer.push(i),e&&("_blank"==a?window.open(e,"_blank"):window.location.href=e)}function c(t){var e={event:"GAevent",eventID:$("#productSetDetails").length?"86":"22",eventCategory:$("#productSetDetails").length?"B_product_page_set":"B_product_page",eventAction:"visualizzazione_descrizione",eventLabel:t.attr("data-name"),product_id:t.attr("data-pid")};window.dataLayer.push(e)}function l(t){var e={event:"GAevent",eventID:"23",eventCategory:"B_product_page",eventAction:"visualizzazione_caratteristiche",eventLabel:t.attr("data-name"),product_id:t.attr("data-pid")};window.dataLayer.push(e)}$(document).ready((function(){r.init()})),$(document).ajaxComplete((function(t,e,a){a.url&&-1!==a.url.indexOf("Search-UpdateGrid")&&r.init()})),$("body").on("click",".gtmProductImageClick",(function(t){t.preventDefault();var e=$(t.target);(e.is("img")||e.is("h4")||e.is("p")||$(t).hasClass("product-title"))&&n.gtmProductImageClick($(this))})),$("body").on("click",".clickProductImagePLP",(function(t){var e=$(t.target);if(e.is("img")||e.is("span")&&e.hasClass("itemProduct__coverImage")){t.preventDefault();var a=$(this).attr("href"),i=$(this).attr("data-pid"),o=$(this);try{var s=$(this).closest(".gtmPromoProductClick"),c=$(s).attr("data-gtm-name"),l=$(s).attr("data-gtm-creative");if(c&&l){var d={event:"promoClick",eventID:"7",eventCategory:"ecommerce",eventAction:"promo_click",ecommerce:{promoClick:{promotions:[{id:"editorial",name:n.gtmCleanValue(c,150),creative:n.gtmCleanValue(l)}]}}};window.dataLayer.push(d)}var u=window.gtm.customEvents.clickProductImagePLP[i.toString()].detail,p=$(this).closest(".gtmPromoProductParent"),h=r.resolvePlpClickGtm(o),g=h.listType||$(p).attr("data-gtm-listtype"),m=h.gtmIndex||"";if(u){if(g){u.eventLabel=g,u.ecommerce.click.actionField.list=g;var v=u.ecommerce.click.products||[];for(let t=0;t<v.length;t++)v[t].list=g}if(m&&u.ecommerce&&u.ecommerce.click&&u.ecommerce.click.products)for(let t=0;t<u.ecommerce.click.products.length;t++)u.ecommerce.click.products[t].position=m}u&&p&&p.length>0&&g&&u?window.dataLayer.push(u):window.gtm.trigger("clickProductImagePLP",i.toString())}catch(t){window.gtm.trigger("clickProductImagePLP",i.toString())}a&&(window.location.href=a)}})),$(".gtmFooter a").on("click",(function(t){t.preventDefault();var e=$(this).attr("data-gtm-label")||$(this).text()||"",a=$(this).attr("href"),i=$(this).attr("target"),o={event:"GAevent",eventID:"14",eventCategory:"B_footer",eventAction:"footer",eventLabel:n.gtmCleanValue(e)};window.dataLayer.push(o),a&&("_blank"==i?window.open(a,"_blank"):window.location.href=a)})),$(".gtmSocial a").on("click",(function(t){t.preventDefault();var e=$(this).attr("data-gtm"),a=$(this).attr("href"),i=$(this).attr("target"),o={event:"GAevent",eventID:"15",eventCategory:"B__social",eventAction:"social",eventLabel:n.gtmCleanValue(e)};window.dataLayer.push(o),a&&("_blank"==i?window.open(a,"_blank"):window.location.href=a)})),$(".gtmMyAccount a").on("click",(function(t){t.preventDefault();var e=$(this).attr("data-gtm"),a=$(this).attr("href"),i=$(this).attr("target"),o={event:"GAevent",eventID:"16",eventCategory:"B_myaccount",eventAction:"behavior_myaccount",eventLabel:n.gtmCleanValue(e)};window.dataLayer.push(o),a&&("_blank"==i?window.open(a,"_blank"):window.location.href=a)})),$("body").on("click",".gtmMyAccountHelp",(function(t){t.preventDefault();
1var e=$(this).attr("href");window.dataLayer.push({event:"GAevent",eventID:"16",eventCategory:"B_myaccount",eventAction:"behavior_myaccount",eventLabel:"help"}),e&&(window.location.href=e)})),$(".gtmPreFooterShipping a").click((function(t){t.preventDefault(),s("shipping",$(this).attr("href"),$(this).attr("target"))})),$(".gtmPreFooterHelp a").click((function(t){t.preventDefault(),s("Help",$(this).attr("href"),$(this).attr("target"))})),$(".gtmPreFooterHelpRefund a").click((function(t){t.preventDefault(),s("help_refund",$(this).attr("href"),$(this).attr("target"))})),$("body").on("click",".gtmProductFeatures",(function(t){t.preventDefault();var e=$(this).attr("data-gtm"),a=$(this).attr("data-gtm-productid"),i=$(this).attr("data-gtm-productname"),n=$(this).attr("href"),o=$(this).attr("target"),r={event:"GAevent",eventID:"19",eventCategory:"B_product_page",eventAction:e,eventLabel:i,product_id:a};window.dataLayer.push(r),n&&("_blank"==o?window.open(n,"_blank"):window.location.href=n)})),$(".pdp-paypal").click((function(){o.trigger("pdpFastPaypal")})),$(".ratingPdp").click((function(){var t=$(this).attr("data-gtm-average"),e={event:"GAevent",eventID:"21",eventCategory:"B_product_page",eventAction:"leggi_recensioni",eventLabel:"review"+$(this).attr("data-gtm-count")+"_score"+t,product_id:$(this).attr("data-gtm-product")};window.dataLayer.push(e),$("html, body").animate({scrollTop:$(".container.feedaty-review-container").offset().top},1200)})),$(".gtmCompleteLook").click((function(t){t.preventDefault();var e=$(this).attr("data-pid"),a=$(this).attr("href"),i={event:"GAevent",eventID:"28",eventCategory:"B_product_page",eventAction:"complete_look",eventLabel:e};window.dataLayer.push(i),a&&(window.location.href=a)})),$(".gtmHeaderMenuIcons").click((function(t){t.preventDefault();var e=$(this).attr("data-gtmaction"),a=$(this).attr("href"),i={event:"GAevent",eventID:"34",eventCategory:"B_menu",eventAction:"icons",eventLabel:n.gtmCleanValue(e)};window.dataLayer.push(i),a&&(window.location.href=a)})),$(".gtmHeaderMenu").click((function(t){t.preventDefault();var e=$(this).attr("data-gtm-postition"),a=$(this).attr("data-gtm-label")||$(this).text()||"",i=$(this).attr("href"),n={event:"GAevent",eventID:"34",eventCategory:"B_menu",eventAction:e,eventLabel:a};window.dataLayer.push(n),i&&(window.location.href=i)})),$(".gtmMenuHeaderLeftColumn a").click((function(t){t.preventDefault();var e=$(this).attr("data-gtm-label")||$(this).text()||"",a=$(this).attr("href"),i=$(this).attr("target"),o=$(this).closest(".nav-item").find(".gtmHeaderMenu").attr("data-gtm-label"),r={event:"GAevent",eventID:"34",eventCategory:"B_menu",eventAction:"left_column",eventLabel:(o?n.gtmCleanValue(o)+"|":"")+n.gtmCleanValue(e)};window.dataLayer.push(r),a&&("_blank"==i?window.open(a,"_blank"):window.location.href=a)})),$(".gtmMenuHeaderHighlights a").click((function(t){t.preventDefault();var e=$(this).attr("data-gtm-label")||$(this).text()||"",a=$(this).attr("href"),i=$(this).attr("target"),o=$(this).closest(".nav-item").find(".gtmHeaderMenu").attr("data-gtm-label"),r={event:"GAevent",eventID:"34",eventCategory:"B_menu",eventAction:"highlights",eventLabel:(o?n.gtmCleanValue(o)+"|":"")+n.gtmCleanValue(e)};window.dataLayer.push(r),a&&("_blank"==i?window.open(a,"_blank"):window.location.href=a)})),$("body").on("click",".gtmMenuSearch",(function(t){t.preventDefault();var e=$(this).attr("data-gtm-type"),a=$(this).attr("data-gtm-label")||$(this).text()||"",i=$(this).attr("href"),o={event:"GAevent",eventID:"35",eventCategory:"B_menu",eventAction:e,eventLabel:n.gtmCleanValue(a)};window.dataLayer.push(o),i&&(window.location.href=i)})),$("body").on("click",".gtmMenuSearchLinkSuggestion a",(function(t){t.preventDefault();var e=$(this).text()||$(this).find("p").text(),a=$(this).attr("href"),i=$(this).attr("target"),o={event:"GAevent",eventID:"35",eventCategory:"B_menu",eventAction:"link_suggeriti",eventLabel:n.gtmCleanValue(e)};window.dataLayer.push(o),a&&("_blank"==i?window.open(a,"_blank"):window.location.href=a)})),$(".gtmMenuQuicklinks a, .account-show-btn").on("click",(function(t){t.preventDefault();
1var e=$(this).attr("data-gtm-login"),a=$(this).attr("data-gtm-action"),i=$(this).attr("href"),n={event:"GAevent",eventID:"36",eventCategory:"B_menu",eventAction:e,eventLabel:a};window.dataLayer.push(n),i&&(window.location.href=i)})),$(".gtmLoginRegistrationSocial").click((function(t){t.preventDefault();var e=$(this).attr("data-gtm-eventid"),a=$(this).attr("data-gtm-action"),i=$(this).attr("href"),n={event:"GAevent",eventID:e,eventCategory:"B_login",eventAction:"login_registration",eventLabel:a,frontend_error:""};window.dataLayer.push(n),i&&(window.location.href=i)})),$("body").on("click",".gtmMiniCart",(function(t){t.preventDefault();var e=$(this).attr("data-gtm-action"),a=$(this).attr("href"),i={event:"GAevent",eventID:"44",eventCategory:"B_cart",eventAction:"mini-cart",eventLabel:e};window.dataLayer.push(i),a&&(window.location.href=a)})),$(".gtmMenuHeaderBanner a:not(.carousel-control-prev):not(.carousel-control-next)").click((function(t){t.preventDefault();var e=$(this).closest(".gtmMenuHeaderBanner").attr("data-gtm-root")||"",a=$(this).attr("data-gtm-label")||$(this).text()||"",i=$(this).attr("href"),o=$(this).attr("target"),r={event:"GAevent",eventID:"34",eventCategory:"B_menu",eventAction:"banner",eventLabel:e+"|"+n.gtmCleanValue(a)};window.dataLayer.push(r),i&&("_blank"==o?window.open(i,"_blank"):window.location.href=i)})),$("body").on("click",".gtmThkPage a",(function(t){t.preventDefault();var e=$(this).attr("data-gtm-label")||"pagina_aiuto",a=$(this).attr("href"),i=$(this).closest(".gtmThkPage").attr("data-gtm-userid")||"",n=$(this).closest(".gtmThkPage").attr("data-gtm-usermailmd5")||"",o=$(this).attr("target"),r={event:"GAevent",eventID:"56",eventCategory:"B_checkout",eventAction:e,user_id:i,user_email_md5:n};window.dataLayer.push(r),a&&("_blank"==o?window.open(a,"_blank"):window.location.href=a)})),$(".gtmSetDescription").click((function(t){$(this).hasClass("active")||c($(this))})),$(".gtmSetFeatures").click((function(t){$(this).hasClass("active")||l($(this))})),$("body").on("click",".gtmStoreLocatorStoreDetail",(function(t){t.preventDefault();var e=$(this).attr("data-gtm-label"),a=$(this).attr("href"),i=$(this).attr("target"),o={event:"GAevent",eventID:"49",eventCategory:"store_locator",eventAction:n.gtmCleanValue(e),eventLabel:"scheda_negozio"};window.dataLayer.push(o),a&&("_blank"==i?window.open(a,"_blank"):window.location.href=a)}));var d,u,p=!1,h=$("#gtmDescription,#gtmFeatures"),g=$("#promoMessageAlert"),m=$(".gtmPromoView"),v=[],f=[],w=[];function y(){!0,clearTimeout(d),d=setTimeout((function(){!1,$(h).length>0&&h.each((function(){var t=this.id;if($(this).visible(!1))v.some((function(e){return e.id==t}))||(v.push({id:t,time:(new Date).getTime(),eventSended:!1}),p||(p=!0,u=setInterval((function(){h.each((function(){if($(this).visible(!1)){for(i=0;i<v.length;i++)if(v[i].id==this.id&&!v[i].eventSended&&(((new Date).getTime()-v[i].time)/1e3).toFixed(1)>5){switch(v[i].eventSended=!0,v[i].id){case"gtmDescription":c($("#gtmDescription"));break;case"gtmFeatures":l($("#gtmFeatures"))}_()}}else for(i=0;i<v.length;i++)v[i].id==this.id&&(v.splice(i,1),_())}))}),500)));else for(let e=0;e<v.length;e++)v[e].id==t&&v.splice(e,1)})),$(g).length>0&&g.each((function(){var t=this.id;if($(this).visible(!1))f.some((function(e){return e.id==t}))||(!function(){var t={event:"GAevent",eventID:"26",eventCategory:"B_product_page",eventAction:"popup_visualization",eventLabel:"",product_id:$("#promoMessageAlert").attr("data-pid")};window.dataLayer.push(t)}(),f.push({id:t}));else for(let e=0;e<f.length;e++)f[e].id==t&&f.splice(e,1)})),$(m).length>0&&m.each((function(){var t,e,a,i=this.id,o=$(this).attr("class"),r=$(this).attr("data-gtm-name");if(t=$(this),e=t[0].getBoundingClientRect(),a=window.innerHeight||document.documentElement.clientHeight,e.top&&e.bottom&&e.top>=0&&e.top<a&&e.bottom<=a||e.top>=0&&e.top<=a/2&&e.bottom>a||e.top<=0&&e.bottom>a/2)w.some((function(t){return t.id==i&&t.classes==o&&t.name==r}))||(!function(t){if(!t)return;var e=t.attr("data-gtm-name"),a=[];try{var i=window.screen.width;a=i>767?$(".gtmPromoViewContentDesktop",t):$(".gtmPromoViewContentMobile",t)}catch(t){}var o=[];e&&o.push({id:"editorial",name:n.gtmCleanValue(e,150)});if(a&&a.length>0)for(let t=0;t<a.length;t++){var r=a[t];childName=$(r).attr("data-gtm-name"),childName&&o.push({id:"editorial",name:n.gtmCleanValue(childName,150)})}if(o.length>0){var s={event:"promoView",eventID:"6",eventCategory:"ecommerce",eventAction:"promo_view",ecommerce:{promoView:{promotions:o}}};window.dataLayer.push(s)}}($(this)),w.push({id:i,classes:o,name:r}));else for(let t=0;t<w.length;t++)w[t].id==i&&w[t].classes==o&&w[t].name==r&&w.splice(t,1)}))}),200)}function _(){var t=v.some((function(t){return!t.eventSended}));0!=v.length&&t||(clearInterval(u),p=!1)}$(document).ready((function(){($(".gtmPromoView").length>0||$("#gtmDescription,#gtmFeatures").length>0||$("#promoMessageAlert").length>0)&&$(window).on("scroll",y)})),$(".gtmPromoClick").click((function(t){t.preventDefault();
1var e=$(this).attr("data-gtm-name")||"",a=$(this).attr("data-gtm-creative")||"",i=$(this).attr("data-gtm-a-is-image")||!1,o=$(this).attr("href");($(t.target).is("img")||i&&$(t.target).is("a"))&&(a="image");var r={event:"promoClick",eventID:"7",eventCategory:"ecommerce",eventAction:"promo_click",ecommerce:{promoClick:{promotions:[{id:"editorial",name:n.gtmCleanValue(e,150),creative:n.gtmCleanValue(a)}]}}};window.dataLayer.push(r),o&&(window.location.href=o)})),$(document).ready((function(){$(document).on("click",".ga4Event",(function(t){var e={event:"GA4event",eventname:"widget",wg_id:$(this).attr("data-ga4-id")||"",wg_type:$(this).attr("data-ga4-type")||"",wg_tab:parseInt($(this).closest(".carousel-item").attr("data-slide-number"))+1,wg_label:$(this).attr("data-gtm-name")||"",wg_vert_pos:$(this).attr("data-vertical-position")||""};if("wg_heroban"==e.wg_id)if(window.screen.width>767){e.wg_type=$(this).closest("#herobanner").attr("data-ga4-type");const t=$(this).closest("#herobanner").find(".ga4Event");e.wg_tab="tab"+(t.index(this)+1),e.wg_vert_pos=$(this).closest("#herobanner").attr("data-vertical-position")}else{e.wg_type=$(this).closest("#herobannerm").attr("data-ga4-type");const t=$(this).closest("#herobannerm").find(".ga4Event");e.wg_tab="tab"+(t.index(this)+1),e.wg_vert_pos=$(this).closest("#herobannerm").attr("data-vertical-position")}("wg_2"==e.wg_id&&(e.wg_tab="tab"+(parseInt($(this).attr("data-ga4-tab")||"")+1),e.wg_label=$(this).find(".product_title_name").text(),e.wg_label||(e.wg_label=$(this).find(".cta__btn").text())),"wg_suggested_einstein"==e.wg_id&&(e.wg_tab="tab1",e.wg_label=$(this).find(".product_title_name").text()),"wg_8"==e.wg_id&&(e.wg_vert_pos=$(this).closest("#widget-8").attr("data-vertical-position"),e.wg_tab="tab"+($(this).index("#widget-8 .ga4Event")+1)),"wg_11"==e.wg_id&&(e.wg_tab="tab"+($(this).index(".widget_11__content .ga4Event")+1)),"wg_14"==e.wg_id&&(e.wg_vert_pos=$(this).closest(".widget_14").attr("data-vertical-position"),e.wg_type=$(".widget-14-title").text(),e.wg_tab="tab"+($(this).index(".widget_14__content .ga4Event")+1)),"wg_18"==e.wg_id)&&(window.screen.width>767?(e.wg_type=$(this).closest(".widget18row").attr("data-ga4-type"),e.wg_vert_pos=$(this).closest(".widget18row").attr("data-vertical-position"),e.wg_label=$(this).find(".subtitle").text(),e.wg_tab="tab"+($(this).index("#widget18 .ga4Event")+1)):(e.wg_type=$(this).closest("#widget18mobile").attr("data-ga4-type"),e.wg_vert_pos=$(this).closest("#widget18mobile").attr("data-vertical-position"),e.wg_label=$(this).find(".title").text(),e.wg_tab="tab"+$(this).attr("data-item-position")));window.dataLayer.push(e)}))})),$(".gtmBackInStock").click((function(t){t.preventDefault();var e=$(this).attr("data-gtm-action"),a=$(this).closest(".backToStockParentItem").attr("data-gtm-available"),i=$(this).closest(".backToStockParentItem").attr("data-gtm-userid"),n=$(this).closest(".backToStockParentItem").attr("data-gtm-usermailmd5"),o=$(this).closest(".backToStockParentItem").attr("data-gtm-pid"),r=$(this).attr("href"),s={event:"GAevent",eventID:"57",eventCategory:"B_back_in_stock",eventAction:e,eventLabel:a,user_id:i,user_email_md5:n,product_id:o};window.dataLayer.push(s),r&&(window.location.href=r)}))},12:function(t,e,a){"use strict";var i=".product-grid, .grid-container";function n(){var t=$(".search-results[data-gtm-listtype]").first(),e=(t.length?t.attr("data-gtm-listtype"):"")||"listing",a=parseInt((t.length?t.attr("data-gtm-start"):"0")||"0",10);return isNaN(a)&&(a=0),{listType:e,startOffset:a}}t.exports={init:function(){var t=$(i);if(t.length){var e=n();t.find(".clickProductImagePLP").each((function(t){var a=$(this),i=(e.startOffset+t+1).toString();a.attr("data-gtm-type",e.listType),a.attr("data-gtm-index",i);var n=a.attr("data-pid");if(n&&window.gtm&&window.gtm.customEvents&&window.gtm.customEvents.clickProductImagePLP){var o=window.gtm.customEvents.clickProductImagePLP[n.toString()];if(o&&o.detail&&o.detail.ecommerce&&o.detail.ecommerce.click){var r=o.detail;r.eventLabel=e.listType,r.ecommerce.click.actionField.list=e.listType;for(var s=r.ecommerce.click.products||[],c=0;c<s.length;c++)s[c].list=e.listType,s[c].position=i}}}))}},resolvePlpClickGtm:function(t){var e=n(),a=t.attr("data-gtm-type")||e.listType,o=t.attr("data-gtm-index")||"";if(!o){var r=t.closest(i);r.length||(r=$(i));var s=r.find(".clickProductImagePLP").index(t);s>=0&&(o=(e.startOffset+s+1).toString())}return o&&(t.attr("data-gtm-type",a),t.attr("data-gtm-index",o)),{listType:a,gtmIndex:o}}}},2:function(t,e){t.exports={showWishlistFeedback:function(t,e,a){0===$(".add-to-wis
1hlist-messages").length&&$("body").append('<div class="add-to-wishlist-messages" style="top: 185px !important;z-index:2000"></div>'),e.feedbackHtml?$(".add-to-wishlist-messages").append(e.feedbackHtml):$(".add-to-wishlist-messages").append('<div class="add-to-wishlist-alert text-center '+t+'">'+e.msg+"</div>"),setTimeout((function(){$(".add-to-wishlist-messages").remove(),a&&a.removeAttr("disabled")}),3e3)},gtmProductImageClick:function(t){var e=t.attr("data-pid");t.attr("data-gtmurl")||(t=t.closest("[data-gtmurl]"));var a=t.attr("data-productname"),i=t.attr("data-gtm-iscart"),n=t.attr("data-gtm-type"),o=t.attr("data-redirecturl"),r=t.attr("data-gtmurl"),s={pid:e,type:n,index:t.attr("data-gtm-index")||"",productSet:"null"!=t.attr("data-product-set")&&t.attr("data-product-set")||""};try{if(1==i||"true"==i){var c={event:"GAevent",eventID:"43",eventCategory:"B_cart",eventAction:"product_click_cart",eventLabel:a,product_id:e};window.dataLayer.push(c)}$.post(r,s).always((function(t){window.dataLayer.push(t.result),o&&(window.location.href=o)}))}catch(t){o&&(window.location.href=o)}},gtmCleanValue:function(t,e){if(!t)return"";var a=t.replace(/[^\w\s|]/gi,"_").replace(/\s/g,"_").toLowerCase();return e&&e>0&&a.length>e&&(a=a.substring(0,e)),a},openGoogleMaps:function(t,e,a,i,n){t=JSON.parse(t),e=parseFloat(e.replace(",",".")||41.87194),a=parseFloat(a.replace(",",".")||12.56738);var o,r=[];o={zoom:13,center:{lat:e||41.87194,lng:a||12.56738}};var s=new google.maps.Map(document.getElementById("map"),o);if(function(t){var e=new google.maps.Marker({position:t.coords,map:s,icon:t.imgMarker});r.push(e),t.imgMarker&&e.setIcon(t.imgMarker);if(t.urlDetail&&t.name){var a=`<div id="contentInfoWindowStore"><p id="${t.insegna?"insegna":"firstHeading"}">${t.insegna||t.name}</p><p>Latitude is: ${t.coords.lat}</p><p>Longitude is: ${t.coords.lng}</p><p>Province is: ${t.province}</p><p class="small mb-0">${t.address||""}</p><p class="small mb-0">${t.postalCode||""}, ${t.city||""}, ${t.countryCode.value||""}</p><a href="${t.urlDetail}" class="right-decoration cta__underline dark">Store Detail</a><a href="${t.getTracking}" class="right-decoration cta__underline dark">Tracking</a></div>`,i=new google.maps.InfoWindow({content:a});e.addListener("click",(function(){i.open(s,e)}))}}(t),s&&r.length>0){var c=new MarkerClusterer(s,r,{imagePath:n+"/m"});c.setStyles(c.getStyles().map((function(t){return t.textColor="#fff",t.textSize=14,t})))}},productFeaturesEvent:function(){var t,e,a,i=$(".features-nav-item").length,n=!0,o=0,r=0;function s(){c(),$(window).width()>768&&$("#features-nav .features-nav-item").length>5?setTimeout((function(){l()}),0):$(window).width()<=768&&$("#features-nav .features-nav-item").length>3&&setTimeout((function(){d()}),0)}function c(){$(".features-nav-item").each((function(e,a){setTimeout((function(e){value_div_item=$(e).attr("id"),n?(featuresTab(e,value_div_item,!1),n=!0):clearInterval(t)}),3e3*e,this)}))}function l(){var t=$("#features-nav").owlCarousel();setTimeout((function(){t.trigger("stop.owl.autoplay"),t.trigger("to.owl.carousel",0)}),0),e=setTimeout((function(){t.trigger("play.owl.autoplay")}),9e3)}function d(){var t=$("#features-nav").owlCarousel();setTimeout((function(){t.trigger("stop.owl.autoplay"),t.trigger("to.owl.carousel",0)}),0),a=setTimeout((function(){t.trigger("play.owl.autoplay")}),6e3)}$(window).on("scroll",(function(){0==o&&$("#features-nav").isInViewport()&&(c(),$(window).width()>768&&$("#features-nav .features-nav-item").length>5&&l(),$(window).width()<=768&&$("#features-nav .features-nav-item").length>3&&d(),t||(t=setInterval(s,3e3*i)),o=1)})),$(window).width()>768&&$("#features-nav .features-nav-item").length>5?($("#features-nav").css({maxWidth:"564px"}),$(".features .buttons-nav").css("display","flex"),$("#features-nav .owl-stage").css("display","flex"),$(window).on("scroll",(function(){0==r&&$("#features-nav").isInViewport()&&($("#features-nav").owlCarousel("destroy"),$("#features-nav").addClass("owl-carousel").owlCarousel({loop:!1,margin:16,slideBy:1,autoWidth:!0,items:5,autoplayTimeout:3e3}),r=1)}))):$(window).width()<=768&&$("#features-nav .features-nav-item").length>3?($("#features-nav").css({maxWidth:"470px"}),$("#features-nav .owl-stage").css("display","flex"),$(".features .buttons-nav").css("display","flex"),$(window).on("scroll",(function(){0==r&&$("#features-nav").isInViewport()&&($("#features-nav").owlCarousel("destroy"),$("#features-nav").addClass("owl-carousel").owlCarousel({loop:!1,margin:16,slideBy:1,autoWidth:!0,items:3,autoplayTimeout:3e3}),r=1)}))):($(".features .buttons-nav").hide(),$("#features-nav .owl-stage").css("display","flex")),$(".buttons-nav .next").click((function(){$(this).parent().siblings("#features-nav").trigger("next.owl.carousel"),clearTimeout(e),clearTimeout(a)})),$(".buttons-nav .back").click((function(){$(this).parent().siblings("#features-nav");$("#features-nav").trigger("prev.owl.carousel"),clearTimeout(e),clearTimeout(a)})),$(".features-nav-item, .buttons-nav").click((function(){$("#features-nav").owlCarousel().trigger("stop.owl.autoplay"),clearTimeout(e),clearTimeout(a)})),$(".features-nav-item").on("click",(function(){n=!1,$("#features-nav").owlCarousel().trigger("stop.owl.autoplay"),l=function(){},clearInterval(t)}))},productSetFeaturesEvent:function(t){var e,a,i,n,o,r=$(t).parents(".productSetDetails__accordion").find(".features .features-nav-item").length,s=$(t).parents(".productSetDetails__accordion").find(".features .features-nav-item"),c=$(t).parents(".productSetDetails__accordion").find(".features .features-nav"),l=$(t).parents(".productSetDetails__accordion").find(".features .buttons-nav"),d=$(t).parents(".productSetDetails__accordion").find(".features .features-nav .owl-stage"),u=$
1(t).parents(".productSetDetails__accordion").find(".features .buttons-nav .next"),p=$(t).parents(".productSetDetails__accordion").find(".features .buttons-nav .back"),h=!0;function g(){var t=[];t[products]=0,$(s).each((function(){$(this);setTimeout((function(t){value_div_item=$(t).attr("id"),h?(featuresTab(t,value_div_item,!1),h=!0):clearInterval(e)}),3e3*t[products],this),t[products]++}))}function m(){var t=$(c).owlCarousel();n=setTimeout((function(){t.trigger("stop.owl.autoplay"),t.trigger("to.owl.carousel",0)}),3e3),a=setTimeout((function(){t.trigger("play.owl.autoplay")}),9e3)}e||(e=setInterval((function(){g(),$(window).width()>768&&r>5?setTimeout((function(){m()}),0):$(window).width()<768&&r>3&&setTimeout((function(){var t;t=$(c).owlCarousel(),o=setTimeout((function(){t.trigger("stop.owl.autoplay"),t.trigger("to.owl.carousel",0)}),3e3),i=setTimeout((function(){t.trigger("play.owl.autoplay")}),6e3)}),0)}),3e3*r)),g(),$(window).width()>768&&$(s).length>5?($(c).css({maxWidth:"564px"}),$(l).css("display","flex"),$(d).css("display","flex"),$(c).owlCarousel("destroy"),$(c).addClass("owl-carousel").owlCarousel({loop:!1,margin:16,slideBy:1,autoWidth:!0,items:5,autoplayTimeout:3e3})):$(window).width()<768&&$(s).length>3?($(c).css({maxWidth:"470px"}),$(d).css("display","flex"),$(l).css("display","flex"),$(c).owlCarousel("destroy"),$(c).addClass("owl-carousel").owlCarousel({loop:!1,margin:16,slideBy:1,autoWidth:!0,items:3,autoplayTimeout:3e3})):($(l).hide(),$(d).css("display","flex")),$(l).click((function(){$(c).owlCarousel().trigger("stop.owl.autoplay"),clearTimeout(a),clearTimeout(i),clearTimeout(n),clearTimeout(o),clearInterval(e)})),$(u).click((function(){$(c).trigger("next.owl.carousel"),clearTimeout(a),clearTimeout(i),clearTimeout(n),clearTimeout(o),clearInterval(e)})),$(p).click((function(){$(c).trigger("prev.owl.carousel"),clearTimeout(a),clearTimeout(i),clearTimeout(n),clearTimeout(o),clearInterval(e)})),$(s).on("click",(function(){h=!1,$(c).owlCarousel().trigger("stop.owl.autoplay"),m=function(){},clearInterval(e)}))},initPDPLayer:function(){var t;function e(){$("#PDP-layer-technologies-container .details-layer-tecnology-content .span-layer-tecnology-description").each((function(e,a){var i=$(this);i.contents().wrapAll('<span class="pWrap" />');var n=i.find("span.pWrap").height(),o=i.siblings(".read-more-technologies.read-more");t=i.height();i.parent();i.height()<n&&o.show()}))}function a(){$(".pWrap").length&&$(".pWrap").contents().unwrap(),$(".span-layer-tecnology-description").hasClass("block")&&$(".span-layer-tecnology-description").removeClass("block"),$(".read-more-technologies").hide(),$(".span-layer-tecnology-description").css({"max-height":"unset",height:"unset"})}$(".PDP-layer-technologies-plus").click((function(){$("#modal-PDP-layer-technologies-plus").modal("show"),$(".wrapTopDeskPdp .detailsDes").css("position","relative")})),$("#close-PDP-layer-free-shipping").click((function(){$("#close-PDP-layer-technologies-certifications").modal("hide"),$(".wrapTopDeskPdp .detailsDes").css("position","sticky")})),$(".pdp_layer_tecnologie_tab_tecnologie").click((function(){$("#pdp_layer_tecnologie_tab_plus").removeClass("switch-technologies-selected"),$("#pdp_layer_tecnologie_tab_tecnologie").addClass("switch-technologies-selected"),$("#pdp_layer_tecnologie_content_plus").addClass("d-none"),$("#pdp_layer_tecnologie_content_tecnologie").removeClass("d-none")})),$(".pdp_layer_tecnologie_tab_plus").click((function(){$("#pdp_layer_tecnologie_tab_tecnologie").removeClass("switch-technologies-selected"),$("#pdp_layer_tecnologie_tab_plus").addClass("switch-technologies-selected"),$("#pdp_layer_tecnologie_content_tecnologie").addClass("d-none"),$("#pdp_layer_tecnologie_content_plus").removeClass("d-none")})),$(".PDP-layer-availability").click((function(){$("#modal-PDP-layer-availability").show(),$(".wrapTopDeskPdp .detailsDes").css("position","relative")})),$(".close-PDP-layer-availability").click((function(){$("#modal-PDP-layer-availability").hide(),$(".wrapTopDeskPdp .detailsDes").css("position","sticky")}
1)),$(".PDP-layer-free-shipping").click((function(){$("#modal-PDP-layer-free-shipping").modal("show"),$(".wrapTopDeskPdp .detailsDes").css("position","relative");var t=window.screen.height,e=window.screen.width;(320===e&&480===t||320===e&&568===t||t<=480)&&$("modal-PDP-layer-free-shipping .modal-body").addClass("popup-margin-negative-75")})),$("#close-PDP-layer-free-shipping").click((function(){$(".wrapTopDeskPdp .detailsDes").css("position","sticky"),$("#modal-PDP-layer-free-shipping").modal("hide")})),$(".PDP-layer-returned").click((function(){$("#modal-PDP-layer-returned").modal("show"),$(".wrapTopDeskPdp .detailsDes").css("position","relative");var t=window.screen.height,e=window.screen.width;(320===e&&480===t||320===e&&568===t||t<=480)&&$("#modal-PDP-layer-returned .modal-body").addClass("popup-margin-negative-75")})),$("#close-PDP-layer-returned").click((function(){$("#modal-PDP-layer-returned").modal("hide"),$(".wrapTopDeskPdp .detailsDes").css("position","sticky")})),$(".PDP-layer-datasheet").click((function(){$("#modal-PDP-layer-datasheet").modal("show"),$(".wrapTopDeskPdp .detailsDes").css("position","relative");var t=window.screen.height,e=window.screen.width;(320===e&&480===t||320===e&&568===t||t<=480)&&$("#modal-PDP-layer-datasheet .modal-body").addClass("popup-margin-negative-75")})),$("#close-PDP-layer-datasheet").click((function(){$("#modal-PDP-layer-datasheet").modal("hide"),$(".wrapTopDeskPdp .detailsDes").css("position","sticky")})),$(".PDP-layer-certifications-requirements").click((function(){$("#modal-PDP-layer-certifications-requirements").modal("show"),$(".wrapTopDeskPdp .detailsDes").css("position","relative")})),$(".pdp_layer_certifications_tab_certifications").click((function(){$("#pdp_layer_certifications_tab_requirements").removeClass("switch-technologies-selected"),$("#pdp_layer_certifications_tab_certifications").addClass("switch-technologies-selected"),$("#pdp_layer_certifications_content_requirements").addClass("d-none"),$("#pdp_layer_certifications_content_certifications").removeClass("d-none")})),$(".pdp_layer_certifications_tab_requirements").click((function(){$("#pdp_layer_certifications_tab_certifications").removeClass("switch-technologies-selected"),$("#pdp_layer_certifications_tab_requirements").addClass("switch-technologies-selected"),$("#pdp_layer_certifications_content_certifications").addClass("d-none"),$("#pdp_layer_certifications_content_requirements").removeClass("d-none")})),$(".close-PDP-layer-certifications-plus").click((function(){$("#modal-PDP-layer-certifications-requirements").modal("hide"),$(".wrapTopDeskPdp .detailsDes").css("position","sticky")})),$(".read-more-technologies.read-more").hide(),$(".read-more-technologies.read-less").hide(),$("#modal-PDP-layer-technologies-plus").on("shown.bs.modal",(function(){e()})),$("#pdp_layer_tecnologie_tab_tecnologie").click((function(){a(),e()})),$("#pdp_layer_tecnologie_tab_plus").click((function(){a(),e()})),$(".read-more-technologies").click((function(e){var a=$(this),i=$(this).siblings("p");i.toggleClass("block");var n=i.find("span.pWrap").height()+3,o=i.height()==n?t:n;i.animate({"max-height":o,height:o},300),a.hasClass("read-more")&&(a.hide(),a.siblings(".read-less").show()),a.hasClass("read-less")&&(a.hide(),a.siblings(".read-more").show())})),$("#modal-PDP-layer-technologies-plus").on("hidden.bs.modal",(function(){a()}))},menuUnderlineFunction:function(){$(".navbar-nav .dropdown-menu .menu-wraplink").each((function(t,e){$(this).contents().wrapAll('<span class="pMenuWrap" />')})),$("body").on("mouseenter",".navbar .nav-item",(function(){$(".navbar-nav .dropdown-menu .menu-wraplink").each((function(t,e){setTimeout((function(){var t=e,a=$(t).find("span.pMenuWrap a"),i=a.height();$(t).height(),$(t).height()<i&&($(t).addClass("underline-text"),$(t).css("margin-bottom","32px"),$(a).removeClass("cta__underline__hover"))}),500)}))}))},selectSize:function(){var t=$($(".attribute.variationAttribute .filterOrder__size.select-size")[0]).find("button.filterOrder__item").not(".d-none");t&&1==t.length&&!$(t).hasClass("active")&&$(t[0]).trigger("click")}},$.fn.isInViewport=function(){var t=$(this).offset().top,e=t+$(this).outerHeight(),a=$(window).scrollTop(),i=a+$(window).height();return e>a&&t<i}},40:function(t,e,a){"use strict";const i=a(41),n=a(42),o=a(43),r=Object.assign({},i,n,o);var s={};function c(){for(var t in r)if(r.hasOwnProperty(t)){var e=t;window.addEventListener(e,(function(t){var e=t.detail;"init"===r[t.type].type?window.dataLayer=[e]:window.dataLayer.push(e)}))}}function l(t,e,a){var i,n=u(e);i=new CustomEvent(t,{detail:n}),void 0!==a?(s.hasOwnProperty(t)||(s[t]={}),s[t][a]=i):s[t]=i}function d(t,e){s.hasOwnProperty(t)&&(void 0!==e?s[t].hasOwnProperty(e)&&window.dataLayer.push(s[t][e].detail):window.dataLayer.push(s[t].detail))}function u(t){var e={};if(!t||"object"==typeof t)return t;try{e=JSON.parse(t)}catch(t){console.log("JSON NOT VALID",t)}return e}function p(t,e){for(var a in r)if("push"===r[a].type&&r[a].hasOwnProperty("on")&&r[a].on.hasOwnProperty(e.type)){var i=r[a].on[e.type].selectors;if(void 0!==t.id&&-1!==i.indexOf("#"+t.id))return a;
1if(void 0!==t.classList)for(var n=0;n<t.classList.length;n++)for(var o=0;o<i.length;o++)for(var s=i[o].split(" "),c=0;c<s.length;c++)if(-1!==s[c].indexOf("."+t.classList[n]))return a}}function h(t,e){let a=p(t,e);return window.gtm.eventsMixed[a].on[e.type].hasOwnProperty("source")?r[a].on[e.type].source:"gtmkey"}t.exports={init:function(){c()},listener:c,register:l,trigger:d,scraping:function(t,e,a){var i;if(s.hasOwnProperty(t))if(s[t]instanceof CustomEvent)(i=Object.assign(s[t].detail))[a]=e,delete s[t],l(t,JSON.stringify(i));else{var n=Object.create(s)[t][a];(i=Object.assign(n.detail))[a]=e,delete s[t][a],l(t,JSON.stringify(i),a)}},hooks:function(t){var e;if(t)switch(t){case 1:e=n;break;case 2:e=o}else e=i;for(var a in e)if(e.hasOwnProperty(a)&&e[a].hasOwnProperty("on")){var r="";for(var s in e[a].on)for(var c in r=e[a].on[s].hasOwnProperty("source")?e[a].on[s].source:"gtmkey",e[a].on[s].selectors){var l=[];switch(e[a].on[s].selectors[c]){case"document":l=[document];break;case"window":l=[window];break;default:l=document.querySelectorAll(e[a].on[s].selectors[c])}for(var u=0;u<l.length;u++)""!==r&&void 0!==l[u]&&void 0!==l[u].dataset&&l[u].dataset.hasOwnProperty(r)?l[u].addEventListener(s,(function(t){let e=this.dataset[h(this,t)];d(p(this,t),e)})):l[u].addEventListener(s,(function(t){d(p(this,t))}))}}},customEvents:s,events:r,products:[],promotions:[],mergeImpression:function(t,e,a){if(t=u(t),e=u(e),void 0!==a){var i=e.map((function(t){return t.list=a,t}));e=i}return t.ecommerce.impressions=e,t},mergePromotions:function(t,e){return t=u(t),e=u(e),t.ecommerce.promoView.promotions=e,t},validate:u,mergeDl:function(t,e){var a=u(t),i=u(e);return Object.assign({},a,i)},addDataLayerValue:function(t,e){window.dataLayer?window.dataLayer.push({[t]:e}):window.dataLayer=[{[t]:e}]}}},41:function(t){t.exports=JSON.parse('{"livestorySliderNext":{"type":"push"},"livestorySliderPrev":{"type":"push"},"livestoryVideo":{"type":"push"},"livestoryMore1":{"type":"push"},"livestoryMore2":{"type":"push"},"datalayer:init":{"type":"init"},"productDetail":{"type":"push"},"addToCart":{"type":"push"},"addQuantityToCart":{"type":"push"},"addToWishlist":{"type":"push","on":{"click":{"selectors":[".add-wishlist"]}}},"removeFromCart":{"type":"push"},"removeQuantityFromCart":{"type":"push"},"cartClick":{"type":"push","on":{"click":{"selectors":[".item-image"],"source":"productid"}}},"clickGoToCart":{"type":"push","on":{"click":{"selectors":["#goto-cart"]}}},"clickGoToCheckout":{"type":"push","on":{"click":{"selectors":["#goto-checkout"]}}},"cartContinueShoppingTop":{"type":"push","on":{"click":{"selectors":["#btnContinueShoppingTopId"]}}},"cartCheckoutTop":{"type":"push","on":{"click":{"selectors":["#btnCheckoutTopId"]}}},"cartApplyCoupon":{"type":"push"},"cartContinueShoppingBottom":{"type":"push","on":{"click":{"selectors":["#btnContinueShoppingBottomId"]}}},"cartFastPaypal":{"type":"push","on":{"click":{"selectors":[".fast-checkout-paypal"]}}},"pdpFastPaypal":{"type":"push","on":{"click":{"selectors":[".pdp-paypal","#pdp-paypal","#paypal-pdp-button-mobile",".bottom-payment-btn"]}}},"cartCheckoutBottom":{"type":"push","on":{"click":{"selectors":["#btnCheckoutBottomId"]}}},"checkoutStep0":{"type":"push"},"checkoutStep1":{"type":"push"},"checkoutStep2":{"type":"push"},"checkoutStep3":{"type":"push"},"thankYouPage":{"type":"push"},"impressions":{"type":"push"},"productClick":{"type":"push","on":{"click":{"selectors":[".product-tile",".slick-slide"],"source":"itemid"}}},"gaPlpAlternative":{"type":"push","on":{"click":{"selectors":[".alternative-click"],"source":"id"}}},"gaPdpAlternative":{"type":"push","on":{"click":{"selectors":[".swatchanchor"],"source":"itemid"}}},"newsletterPopUp":{"type":"push"},"sizeChartClick":{"type":"push","on":{"click":{"selectors":["#product-size-chart"]}}},"social":{"type":"push","on":{"click":{"selectors":[".share-icon"],"source":"share"}}},"socialFooter":{"type":"push","on":{"click":{"selectors":[".social-links .fa"],"source":"share"}}},"infiniteScroll":{"type":"push","on":{"click":{"selectors":[".social-links .fa"],"source":"share"}}},"cta":{"type":"push"},"country":{"type":"push"},"help":{"type":"push"},"storeLocation":{"type":"push"},"headerLogo":{"type":"push","on":{"click":{"selectors":[".logo-image"]}}},"headerSearch":{"type":"push"},"headerAccount":{"type":"push","on":{"click":{"selectors":["#aAccountHeaderId"]}}},"headerShopping":{"type":"push","on":{"click":{"selectors":["#aCartHeaderId"]}}},"classicLogin":{"type":"push"},"facebookLogin":{"type":"push"},"loginComplete":{"type":"push"},"createAccount":{"type":"push","on":{"click":{"selectors":["#btnCreateAccountLoginId","#btnCreateAccountId"]}}},"resetPassword":{"type":"push","on":{"click":{"selectors":["#password-reset"]}}},"checkoutGuest":{"type":"push","on":{"click":{"selectors":["#btnCheckoutguestId"]}}},"registerThks":{"type":"push"},"clickStoreLocator":{"type":"push","on":{"click":{"selectors":["#store-locator-footer"]}}},"searchStore":{"type":"push"},"submitStore":{"type":"push"},"updateWishlist":{"type":"push","on":{"click":{"selectors":[".update-item"]}}},"updateRemoveWishlist":{"type":"push","on":{"click":{"selectors":[".delete-item"]}}},"changePriority":{"type":"push"},"socialWall":{"type":"push"},"return":{"type":"push"},"review":{"type":"push","on":{"click":{"selectors":[".feedaty-product-anchor"]}}},"refinement":{"type":"push","on":{"click":{"selectors":[".refinement-value"]}}},"refinementPrice":{"type":"push"},"newsletterSubscription":{"type":"push"},"footerClick":{"type":"push"},"clickHeaderMenu":{"type":"push"}
1,"clickHeaderMenuCustom":{"type":"push"},"gaMenuBody":{"type":"push"},"myAccount":{"type":"push"},"pdpZoom":{"type":"push","on":{"click":{"selectors":[".main-image"]}}},"thumbnails":{"type":"push"},"gaPdpDescription":{"type":"push"},"promoView":{"type":"push"},"promoClick":{"type":"push"}}')},42:function(t){t.exports=JSON.parse('{"miniCartCheckout":{"type":"push","on":{"click":{"selectors":[".miniCartCheckout"]}}},"miniCartShowCart":{"type":"push","on":{"click":{"selectors":[".miniCartShowCart"]}}},"miniCartApplePay":{"type":"push","on":{"click":{"selectors":[".miniCartApplePay"]}}}}')},43:function(t){t.exports=JSON.parse('{"cartEdit":{"type":"push","on":{"click":{"selectors":[".cartEditItem"]}}}}')}});

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.