PageSourceSearch

https://edubears.com/wp-content/themes/edu-bears-page/public/build/assets/Tab-693f317e.js

js edubears.com collected 2026-10-02 00:00:25 UTC 945 bytes, 1 lines download raw bytes

1import{g as h}from"./index-0fa819ad.js";function a(s,e){var i;const t=s.cloneNode(!0),o=s.getBoundingClientRect();t.style.position="absolute",t.style.display="block",t.style.height="auto",t.style.width=o.width+"px",t.classList.add(e===void 0?"open":e),t.style.left="-100000em",t.id="tmp-"+Math.floor(Math.random()*99999),s.parentNode.appendChild(t);const n=(i=document.getElementById(t.id))==null?void 0:i.offsetHeight;return t.remove(),n}class p{constructor(e){this.root=e,this.isOpen=!1,this.setIsOpen=()=>{this.root.classList.toggle("is-open"),this.isOpen=!this.isOpen,this.animateRoot()},this.setIsClose=()=>{this.root.classList.remove("is-open"),this.isOpen=!1,this.animateRoot()},this.animateRoot=()=>{if(!this.tabContent)return;const t=a(this.tabContent);h.to(this.tabContent,{duration:.5,height:this.isOpen?t:0,ease:"power4.inOut"})},this.getIsOpen=()=>this.isOpen,this.tabContent=e.querySelector(".accordion__content")}}export{p as T};

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.