PageSourceSearch

https://www.bodyhelix.com/cdn/shop/t/77/assets/component-toggle.js?v=111245783311208913721787249402

js bodyhelix.com collected 2026-10-03 23:22:08 UTC 3,624 bytes, 2 lines download raw bytes

1if(typeof ToggleTab!="function"){class ToggleTab2 extends HTMLElement{constructor(){super(),this._prefix=window.KT_PREFIX||"",this.titleEl=this.querySelector("[data-js-title]"),this.contentEl=this.querySelector("[data-js-content]"),this.titleEl.innerHTML=`${this.titleEl.innerHTML}${this.hasAttribute("data-togglepack-alternate")?KROWN.settings.symbols.toggle_pack_alternate:KROWN.settings.symbols.toggle_pack}`,this.hasAttribute("data-toggle-inert")&&(this.toggleInert=!0),this.titleEl.addEventListener("click",this.onClickHandler.bind(this)),this.titleEl.addEventListener("keydown",e=>{e.keyCode==window.KEYCODES.RETURN&&this.onClickHandler()})}onClickHandler(){this.classList.contains(`${this._prefix}opened`)?(this.classList.remove(`${this._prefix}opened`),this.titleEl.setAttribute("aria-expanded","false"),this.toggleInert&&this.contentEl.setAttribute("inert",""),this.#slideUp(this.contentEl,200)):(this.classList.add(`${this._prefix}opened`),this.titleEl.setAttribute("aria-expanded","true"),this.#slideDown(this.contentEl,200),this.toggleInert&&this.contentEl.removeAttribute("inert"),setTimeout(()=>{this.contentEl.querySelector("css-slider")?.resetSlider()},200))}#slideUp(target,duration){target.style.transitionProperty="height, margin, padding",target.style.transitionDuration=duration+"ms",target.style.boxSizing="border-box",target.style.height=target.offsetHeight+"px",target.offsetHeight,target.style.overflow="hidden",target.style.height=0,target.style.paddingTop=0,target.style.paddingBottom=0,target.style.marginTop=0,target.style.marginBottom=0,setTimeout(()=>{target.style.display="none",target.style.removeProperty("height"),target.style.removeProperty("padding-top"),target.style.removeProperty("padding-bottom"),target.style.removeProperty("margin-top"),target.style.removeProperty("margin-bottom"),target.style.removeProperty("overflow"),target.style.removeProperty("transition-duration"),target.style.removeProperty("transition-property")},duration)}#slideDown(target,duration){target.style.removeProperty("display");var display=window.getComputedStyle(target).display;display==="none"&&(display="block"),target.style.display=display;var height=target.offsetHeight;target.style.overflow="hidden",target.style.height=0,target.style.paddingTop=0,target.style.paddingBottom=0,target.style.marginTop=0,target.style.marginBottom=0,target.offsetHeight,target.style.boxSizing="border-box",target.style.transitionProperty="height, margin, padding",target.style.transitionDuration=duration+"ms",target.style.height=height+"px",target.style.removeProperty("padding-top"),target.style.removeProperty("padding-bottom"),target.style.removeProperty("margin-top"),target.style.removeProperty("margin-bottom"),setTimeout(()=>{target.style.removeProperty("height"),target.style.removeProperty("overflow"),target.style.removeProperty("transition-duration"),target.style.removeProperty("transition-property")},duration)}}typeof customElements.get("toggle-tab")>"u"&&customElements.define("toggle-tab",ToggleTab2)}if(typeof ToggleGroup!="function"){class ToggleGroup2 extends HTMLElement{constructor(){super(),this._prefix=window.KT_PREFIX||"",this.querySelectorAll("toggle-tab").forEach(allToggle=>{allToggle.querySelector("[data-js-title]").addEventListener("click",()=>{this.querySelectorAll(`toggle-tab.${this._prefix}opened`).forEach(openedToggle=>{allToggle!==openedToggle&&openedToggle.onClickHandler()})})})}}typeof customElements.get("toggle-group")>"u"&&customElements.define("toggle-group",ToggleGroup2)}
2//# sourceMappingURL=/cdn/shop/t/77/assets/component-toggle.js.map?v=111245783311208913721787249402

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.