{"version":3,"sources":["assets/src/modules/ElcaCrossSellingBlocks/js/ElcaCrossSellingBlocks.js"],"names":["$","document","ready","hover","this","id","children","toggleClass","window","resize","width","attr"],"mappings":"AAAAA,EAAEC,UAAUC,MAAM,WACdF,EAAE,qCAAqCG,MAAM,WACzCH,EAAE,IAAMI,KAAKC,IAAIC,SAAS,0CAA0CC,YAAY,iDAGpFP,EAAEQ,QAAQC,OAAO,WAEY,MAArBT,EAAEQ,QAAQE,SACVV,EAAE,oCAAoCW,KAAK,SAAU,OACrDX,EAAE,oCAAoCW,KAAK,QAAS,SAIpDX,EAAE,oCAAoCW,KAAK,SAAU,OACrDX,EAAE,oCAAoCW,KAAK,QAAS,UAEzDF","file":"ElcaCrossSellingBlocks.js","sourcesContent":["$(document).ready(function () {\r\n $(\".mi-corpo-product-listing-product\").hover(function () {\r\n $('#' + this.id).children('.mi-corpo-product-listing-product-link').toggleClass('mi-corpo-product-listing-product-link-hover');\r\n });\r\n\r\n $(window).resize(function () {\r\n // This will fire each time the window is resized:\r\n if ($(window).width() >= 1024) {\r\n $(\"#mi-corpo-crosssellingblocks-img\").attr(\"height\", \"186\");\r\n $(\"#mi-corpo-crosssellingblocks-img\").attr(\"width\", \"190\");\r\n\r\n\r\n } else {\r\n $(\"#mi-corpo-crosssellingblocks-img\").attr(\"height\", \"100\");\r\n $(\"#mi-corpo-crosssellingblocks-img\").attr(\"width\", \"100\");\r\n }\r\n }).resize(); // This will simulate a resize to trigger the initial run.\r\n});"]}