PageSourceSearch

https://www.transifex.com/hubfs/hub_generated/module_assets/1/1889…/module_u4m-product-section.min.js

js transifex.com collected 2026-09-24 07:54:05 UTC 2,403 bytes, 2 lines download raw bytes

1var module_188905664858=void $(function(){function getDynamicLeftSpace(){const el=document.querySelector(".test_container .page-center");if(!el)return;const leftSpace=el.getBoundingClientRect().left;return $(".scroll_item_wrp .page-center").css({"padding-left":`${leftSpace}px`}),leftSpace}getDynamicLeftSpace(),window.addEventListener("resize",getDynamicLeftSpace);var link=$(".tabs_nav_list .desktop .dots_item a"),link2=$(".tabs_nav_list .mobile .dots_item a");link.on("click",function(e){e.preventDefault();const target=$($(this).attr("href"));$("html, body").animate({scrollTop:target.offset().top-74},500)}),link2.on("click",function(e){e.preventDefault();const target=$($(this).attr("href"));$("html, body").animate({scrollTop:target.offset().top-74},500)});let isAutoScrolling=!1;$(window).on("scroll",function(){const windowHeight=$(window).height(),scrollPosition=$(window).scrollTop(),windowMid=scrollPosition+windowHeight/2+200;$(".prod_scrollbg_item.check_id").each(function(){const sectionTop=$(this).offset().top,id=$(this).attr("id");if(windowMid>=sectionTop&&windowMid<=sectionTop+$(this).height()){isAutoScrolling=!0;const currentNavItem=$(".tabs_nav_list").find('[data-nav-desktop="'+id+'"]').parent();if(!currentNavItem.hasClass("active")){link.parent().removeClass("active navactive linkremoveClass"),currentNavItem.addClass("active navactive linkremoveClass"),$(".product_slide_item").removeClass("active itemactive animate");const panelItem=$('[data-pannel="'+id+'"]');panelItem.addClass("active itemactive"),setTimeout(function(){panelItem.addClass("animate")},400)}}});const productSlideItem=$(".product_slide_item");productSlideItem.each(function(){const sectionTop=$(this).offset().top,id=$(this).attr("data-pannel");if(windowMid>=sectionTop&&windowMid<=sectionTop+$(this).height()){const currentMobileNavItem=$(".tabs_nav_list").find('[data-nav-mobile="'+id+'"]').parent();currentMobileNavItem.hasClass("active")||(link2.parent().removeClass("active mobilenavactive"),currentMobileNavItem.addClass("active mobilenavactive"))}}),scrollPosition<=$(".product_scroll_bg").offset().top-300&&(productSlideItem.removeClass("active animate itemactive"),productSlideItem.eq(0).addClass("active animate itemactive"))})});
2//# sourceURL=https://14487846.fs1.hubspotusercontent-na1.net/hubfs/14487846/hub_generated/module_assets/1/188905664858/1770394251613/module_u4m-product-section.js

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.