PageSourceSearch

https://www.tataaia.com/etc.clientlibs/tataaialifeinsurancecompany…lib.min.f7905e422f0e44fa95b0cd5f894c575a.js

js tataaia.com collected 2026-09-24 22:19:57 UTC 5,736 bytes, 13 lines download raw bytes

1function repositionWishlistDropdown(){document.querySelectorAll(".wishlist--dropdown__wrp:not(.hide-newdropdown)").forEach(function(b){b.style.top="";b.style.bottom="";b.style.marginTop="";b.getBoundingClientRect().bottom>window.innerHeight&&(b.style.marginTop="0",b.style.bottom="auto",b.style.top=-(b.offsetHeight+2)+"px")})}window.addEventListener("scroll",repositionWishlistDropdown,{passive:!0,capture:!0});
2document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".wishlistmain--wrapper").forEach(function(b){var a=b.querySelector(".selected-wish"),d=b.querySelector(".wishlist--dropdown__wrp a.selected");b=b.querySelector(".wishlist__redirectbtn");d&&a&&b&&(a.value=d.textContent.trim(),b.href=d.href)});document.querySelectorAll(".wishlist--dropdown__wrp li").forEach(function(b){b.addEventListener("click",function(a){a.preventDefault();var d=this.closest(".wishlistmain--wrapper");
3a=d.querySelector(".wishlist--dropdown__wrp");var c=d.querySelector(".selected-wish");d=d.querySelector(".wishlist__redirectbtn");var e=this.querySelector("a");a.querySelectorAll("a").forEach(function(g){return g.classList.remove("selected")});e.classList.add("selected");c.value=e.textContent.trim();d.href=e.href;a.classList.add("hide-newdropdown")})});document.querySelectorAll(".wishlist__wrapper").forEach(function(b){b.addEventListener("click",function(a){a.target.closest(".wishlist--dropdown__wrp")||
4(a=this.closest(".wishlistmain--wrapper").querySelector(".wishlist--dropdown__wrp"),a.classList.toggle("hide-newdropdown"),a.classList.contains("hide-newdropdown")||repositionWishlistDropdown())})});document.body.addEventListener("click",function(b){b.target.closest(".wishlistmain--wrapper")||document.querySelectorAll(".wishlist--dropdown__wrp").forEach(function(a){return a.classList.add("hide-newdropdown")})});document.querySelectorAll(".wishlist__redirectbtn").forEach(function(b){b.addEventListener("click",
5function(a){a.preventDefault();a=this.closest(".wishlistmain--wrapper");var d=this.href;a={linkName:a.querySelector(".wishlist__wrapper input").value.trim(),linkType:"button",linkPosition:a.querySelector(".wishlistleft__txt p").innerText.trim(),linkURL:d,componentName:"homepagewishlistcomp",pageName:getPageNameFromURL(),siteSection:getSiteSectionFromURL(),siteSubsection:getSiteSubSectionFromURL(),productName:this.dataset.newProdname,productId:this.dataset.newProdid,productCategory:this.dataset.newProdcat,
6eventName:"Click"};analyticsUtility.objectWiseLinkClick(a);setTimeout(function(){window.location.href=d},500)})});document.querySelectorAll(".newhomepagewishlist-toggle").forEach(function(b){b.addEventListener("click",function(){var a=this.closest(".homepagewishlist--sec");if(a){var d=a.querySelector(".wishlist--new"),c=a.querySelector(".wishlist--existing"),e=a.querySelector(".helpme-tabs-wrapper--new");a=a.querySelector(".helpme-tabs-wrapper--existing");this.classList.contains("off")?(null==c||
7c.classList.add("dsp-none"),null==d||d.classList.remove("dsp-none"),null==a||a.classList.remove("dsp-none"),null==e||e.classList.add("dsp-none")):(null==d||d.classList.add("dsp-none"),null==c||c.classList.remove("dsp-none"),null==e||e.classList.remove("dsp-none"),null==a||a.classList.add("dsp-none"))}})})});
8document.addEventListener("DOMContentLoaded",function(){var b=document.querySelectorAll(".helpme-tab"),a=document.querySelectorAll(".helpme-redirect-btn");if(0<a.length){var d=document.querySelector(".helpme-tab--active");(null==d?0:d.dataset.url)&&a.forEach(function(c){c.setAttribute("href",d.dataset.url)})}b.forEach(function(c){c.addEventListener("click",function(){var e=this.closest(".helpme-tabs-wrapper:not(.dsp-none)");if(e){var g=e.querySelectorAll(".helpme-tab");e=e.querySelectorAll(".helpme-redirect-btn");
9var h=0<e.length;g.forEach(function(k){return k.classList.remove("helpme-tab--active")});this.classList.add("helpme-tab--active");var f=this.dataset.url;f&&(h?e.forEach(function(k){return k.setAttribute("href",f)}):window.location.href=f)}})});document.querySelectorAll(".helpme-tabs-wrapper .helpme-tabs").forEach(function(c){var e=!1,g,h;c.addEventListener("mousedown",function(f){e=!0;c.style.userSelect="none";g=f.pageX-c.offsetLeft;h=c.scrollLeft});c.addEventListener("mouseleave",function(){e=!1});
10c.addEventListener("mouseup",function(){e=!1});c.addEventListener("mousemove",function(f){e&&(f.preventDefault(),c.scrollLeft=h-2*(f.pageX-c.offsetLeft-g))});c.addEventListener("touchstart",function(f){g=f.touches[0].pageX-c.offsetLeft;h=c.scrollLeft},{passive:!0});c.addEventListener("touchmove",function(f){c.scrollLeft=h-2*(f.touches[0].pageX-c.offsetLeft-g)},{passive:!0})})});
11document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".benefit-Illustration--btn-wrap").forEach(function(b){b.addEventListener("click",function(a){a.preventDefault();var d=this.querySelector("a").getAttribute("href");a=this.querySelector(".benefitillustrationdata");try{var c,e={linkName:(null==(c=this.querySelector(".benefit-Illustration--text"))?void 0:c.innerText.trim())||"",linkType:"button",linkPosition:(null==a?void 0:a.dataset.bibtnlinkposition)||"",linkURL:d,componentName:(null==
12a?void 0:a.dataset.bibtncomponentname)||"",pageName:getPageNameFromURL(),siteSection:getSiteSectionFromURL(),siteSubsection:getSiteSubSectionFromURL(),productName:(null==a?void 0:a.dataset.bibtnproductname)||"",productId:(null==a?void 0:a.dataset.bibtnproductid)||"",productCategory:(null==a?void 0:a.dataset.bibtnproductcat)||"",eventName:"click"};analyticsUtility.objectWiseLinkClick(e)}catch(g){console.error("Error occurred while processing benefit illustration button click:",g)}setTimeout(function(){window.location.href=
13d},500)})})});

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.