PageSourceSearch

https://www.thermage.com/Assets/Thermage-DTC-New/js/global.min.js?…h4kTH1wVVbsrGA-yosMMPzEXykHIBiNiZA06E3WihQg

js thermage.com collected 2026-09-25 23:40:34 UTC 8,132 bytes, 1 lines download raw bytes

1function initBeforeAfterSliders(){const n=document.querySelectorAll(".container1");n.forEach(n=>{const t=n.querySelector(".slider"),i=n.querySelector(".image-before"),r=n.querySelector(".slider-line"),u=n.querySelector(".slider-button");if(t&&i){const f=n=>{const f=parseFloat(n),t=Math.max(0,Math.min(100,f)),e=100-t;i.style.clipPath=`inset(0px ${e}% 0px 0px)`;r&&(r.style.left=`${t}%`);u&&(u.style.left=`${t}%`)};t.addEventListener("input",n=>{f(n.target.value)});f(t.value||50)}})}function initCarouselEvents(){const t=document.getElementById("beforeAfterCarousel");if(t){let n=null;typeof bootstrap!="undefined"&&bootstrap.Carousel&&(n=bootstrap.Carousel.getOrCreateInstance(t));const i=t.querySelectorAll(".slider");i.forEach(t=>{t.addEventListener("pointerdown",()=>{n&&n.pause()}),t.addEventListener("pointerup",()=>{n&&n.cycle()}),t.addEventListener("touchstart",()=>{n&&n.pause()},{passive:!0}),t.addEventListener("touchend",()=>{n&&n.cycle()})});t.addEventListener("slid.bs.carousel",n=>{const t=n.relatedTarget;if(t){const i=t.querySelector(".slider"),r=t.querySelector(".image-before"),u=t.querySelector(".slider-line"),f=t.querySelector(".slider-button");if(i){const n=i.value||50,t=100-n;r&&(r.style.clipPath=`inset(0px ${t}% 0px 0px)`);u&&(u.style.left=`${n}%`);f&&(f.style.left=`${n}%`)}}})}}function LocatorAPI(){}document.addEventListener("DOMContentLoaded",()=>{initBeforeAfterSliders(),initCarouselEvents()});$(document).ready(function(){function f(){return window.innerWidth>=992}function t(n,t){n.each(function(){this.style.setProperty("top",t+"px","important")})}function e(n,t){n.each(function(){this.style.setProperty("margin-top",t+"px")})}function s(){var u=$("#cmpwrapper").outerHeight(),e=$(window).scrollTop(),n=u-e;f()?(t(i,n),t(r,n+60)):(t(i,n),t(r,n+100))}function o(){f()?(t(i,0),t(r,60),e(u,130)):(t(i,0),t(r,100),e(u,100))}function n(){var n=$("#cmpwrapper").is(":visible"),t=$(window).scrollTop();if(!n){o();return}t===0?s():o()}var i=$(".mainHeader .top-bar"),r=$(".mainHeader .main-nav"),u=$(".banner");$(window).on("scroll",function(){n()});$(window).on("resize",function(){n();const t=setTimeout(n,1e3)});typeof __cmp=="function"&&(__cmp("addEventListener",["loadShowing",function(){n()},!1],null),__cmp("addEventListener",["consentapproved",function(){n()},!1],null),__cmp("addEventListener",["consentrejected",function(){n()},!1],null),__cmp("addEventListener",["loadNotShowing",function(){n()},!1],null),__cmp("addEventListener",["consentscreenoff",function(){n()},!1],null));n()}),function(n){n(function(){function y(){return window.innerWidth>=992}function l(){var t=n("header, .mainHeader, .main-nav").first(),i=t.length?t.outerHeight()||0:0;return y()?i+120:i+90}function r(t){f.removeClass("active");t&&f.filter(function(){var i=n(this).attr("href"),r=n(this).data("hash");return i===t||r===t||i&&i.endsWith(t)}).addClass("active")}function u(t){if(!t||t==="#")return!1;var i=n(t);return Boolean(i.length&&(i.hasClass("modal")||i.attr("role")==="dialog"||i.hasClass("findaHealthcarePopup")||i.hasClass("isiContainer")||t==="#isiContainer"||t==="#findaHealthcarePopup"))}function o(t){var i,r;t&&t!=="#"&&(i=n(t),i.length)&&(t==="#findaHealthcarePopup"&&LocatorAPI(),typeof i.modal=="function"?i.modal("show"):window.bootstrap&&window.bootstrap.Modal&&(r=window.bootstrap.Modal.getInstance(i[0])||new window.bootstrap.Modal(i[0]),r.show()))}function p(n){var t=n.attr("data-toggle")||n.attr("data-bs-toggle"),r=n.attr("data-slide")||n.attr("data-bs-slide"),i=n.attr("role"),u=n.hasClass("dropdown-toggle")||n.hasClass("accordion-toggle");return t==="modal"?!1:Boolean(t||r||i==="tab"||i==="button"||u)}function a(n){var t,i;return!n||n==="/"||n==="#"?null:n.indexOf("#")!==-1?(t=n.substring(n.indexOf("#")),t&&t!=="#"?t:null):(i=n.replace(/^\/*|\/*$/g,""),i?"#"+i:null)}function w(){t=[];f.each(function(){var r=n(this),f=r.attr("href"),c=r.attr("target"),i,o,s,h,e;f&&f!=="/"&&c!=="_blank"&&(i=a(f),i&&!u(i))&&(o=n(i),o.length?(r.attr("href",i).data("hash",i),s=t.some(function(n){return n.hash===i}),s||t.push({hash:i,top:Math.round(o.offset().top)}
1)):(h=f.replace(/[^/]+\/?$/,""),e=h+i,e==="/#hcp"&&(e="/hcp"),r.attr("href",e).data("hash",i)))});s()}function s(){t=t.map(function(t){var i=n(t.hash);return{hash:t.hash,top:i.length?Math.round(i.offset().top):t.top}}).sort(function(n,t){return n.top-t.top})}function h(t,i){var f,o,h;t&&!u(t)&&(f=n(t),f.length)&&(e=!0,i&&history.pushState(null,"",t),r(t),o=l(),h=Math.max(0,Math.round(f.offset().top-o)),n("html, body").stop().animate({scrollTop:h},500,function(){setTimeout(function(){e=!1;s();c()},50)}))}function c(){var u;if(!e&&t.length){var f=l(),o=n(window).scrollTop()+f+10,i=null;for(u=t.length-1;u>=0;u--)if(o>=t[u].top){i=t[u].hash;break}if(!i){r(null);window.location.hash&&history.replaceState(null,"",window.location.pathname+window.location.search);return}r(i);window.location.hash!==i&&history.replaceState(null,"",i)}}var v,i;const f=n(".navbar-nav li a, .navbar-nav a");let t=[],e=!1;w();n(document).on("click","a",function(t){var f=n(this),e=f.attr("href"),c=f.attr("target"),i,s,r;if(e&&e!=="/"&&e!=="#"&&c!=="_blank"&&(i=f.data("hash")||a(e),i)){if(u(i)){t.preventDefault();r=n("#navbarSupportedContent");r.length&&r.hasClass("show")?r.one("hidden.bs.collapse",function(){o(i)}).collapse("hide"):o(i);return}p(f)||(s=n(i),s.length&&(t.preventDefault(),r=n("#navbarSupportedContent"),r.length&&r.hasClass("show")?r.one("hidden.bs.collapse",function(){h(i,!0)}).collapse("hide"):h(i,!0)))}});n(window).on("scroll",function(){c()});n(window).on("resize",function(){clearTimeout(v);v=setTimeout(function(){s();c()},100)});window.location.hash&&(i=window.location.hash,u(i)?setTimeout(function(){o(i)},300):n(i).length&&(r(i),setTimeout(function(){h(i,!1)},300)))})}(jQuery),function(){function r(){window.innerWidth>=992||(t=window.pageYOffset,n.classList.add("menu-open"),n.style.top="-"+t+"px")}function u(){n.classList.remove("menu-open");n.style.top="";window.scrollTo(0,t)}let t=0;const n=document.body,i=document.querySelector(".main-nav");const f=new MutationObserver(function(){i.classList.contains("open-header")?r():u()});f.observe(i,{attributes:!0,attributeFilter:["class"]})}(jQuery);$(document).ready(function(){$('.btn-isi, a[href="#isiContainer"]').on("click",function(n){n.preventDefault();$("#isiContainer").modal("show");$("#navbarSupportedContent").hasClass("show")&&$(".navbar-toggler").click()});$('a[href="#findaHealthcarePopup"]').on("click",function(n){n.preventDefault();window.location.hash="#find-a-provider";LocatorAPI();$("#findaHealthcarePopup").modal("show");$("#navbarSupportedContent").hasClass("show")&&$(".navbar-toggler").click()});$("#navbarSupportedContent").on("show.bs.collapse",function(){$(".main-nav").addClass("open-header")});$("#navbarSupportedContent").on("hide.bs.collapse",function(){$(".main-nav").removeClass("open-header")})});$(document).ready(function(){function r(){var u=$(window).scrollTop();if(u>300?n.addClass("show"):n.removeClass("show"),i.length&&t.length){var e=i.offset().top,o=$(window).height(),f=t.outerHeight()||48,s=f/2,h=u+o-30-f,c=e-s,r=c-h;r<0&&(r=0);t[0].style.setProperty("--btn-offset-y",r+"px")}}var n=$("#scrollToTopBtn"),t=$("#floatingGetStartedBtn"),i=$("#age-well");$(window).on("scroll resize",r);r();n.on("click",function(n){n.preventDefault();window.scrollTo({top:0,behavior:"smooth"})})});document.addEventListener("DOMContentLoaded",()=>{const t=n=>{const t=parseFloat(n.getAttribute("data-target")),i=n.getAttribute("data-prefix")||"",r=n.getAttribute("data-suffix")||"",f=parseInt(n.getAttribute("data-decimals")||"1",10),e=n.getAttribute("data-final")||`${i}${t}${r}`,o=2e3,s=performance.now(),u=h=>{const l=h-s,c=Math.min(l/o,1),a=1-Math.pow(1-c,3),v=(t*a).toFixed(f);n.textContent=`${i}${v}${r}`;c<1?requestAnimationFrame(u):n.textContent=e};requestAnimationFrame(u)},i=new IntersectionObserver((n,i)=>{n.forEach(n=>{if(n.isIntersecting){const r=n.target.querySelectorAll("h3[data-target]");r.forEach(n=>t(n));i.unobserve(n.target)}})},{threshold:.2}),n=document.querySelector(".trusted-thermage-section");n&&i.observe(n)});

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.