PageSourceSearch

https://atico3.com/_astro/Masthead.astro_astro_type_script_index_0_lang.iE3ENpxG.js

js atico3.com collected 2026-10-07 17:52:33 UTC 3,472 bytes, 1 lines download raw bytes

1import r from"./index.CgAXP8uT.js";const h=6;function C(){const t=document.querySelector(".masthead")?.dataset.slideImages??"{}";return JSON.parse(t)}function q(){const e=C();return[{cssClass:"sheldonn-hero",images:[]},{cssClass:"mobile m-one",images:e.appDesign},{cssClass:"ipad-pro",images:e.ipad}]}let l=[];function u(e){return[...e.el?.querySelectorAll("img")??[]]}function v(){const e=document.querySelector(".masthead .slideshow");if(e){for(const t of[...e.children])t.matches(".display-box")||t.remove();for(const[t,s]of l.entries()){if(t===0){const o=e.querySelector(".display-box");if(o){s.el=o;continue}}const n=document.createElement("div");n.className=`display-box ${s.cssClass}`;const c=document.createElement("div");for(const o of s.images){const i=document.createElement("img");i.alt="",i.width=o.w,i.height=o.h,i.decoding="async",t===0?o.srcSm&&o.srcMd?(i.srcset=`${o.srcSm} 350w, ${o.srcMd} 700w, ${o.src} 1405w`,i.sizes="(max-width: 600px) 165px, (max-width: 900px) 350px, 703px",i.src=o.srcSm):o.srcSm?(i.srcset=`${o.srcSm} 700w, ${o.src} 1405w`,i.sizes="(max-width: 900px) 350px, 703px",i.src=o.srcSm):i.src=o.src:i.dataset.src=o.src,c.appendChild(i)}n.appendChild(c),e.appendChild(n),s.el=n,r.set(u(s),{opacity:0})}}}function m(e){for(const t of e.el?.querySelectorAll("img")??[])t.dataset.src&&(t.src=t.dataset.src,delete t.dataset.src)}let a=-1,d=null,p=!1;function y(e){d=r.delayedCall(e,w)}function w(){d=null;const e=a>=0?l[a]:null;a=(a+1)%l.length;const t=l[a];if(m(t),e&&m(l[(a+1)%l.length]),e&&r.to(u(e),{opacity:0,duration:.6,ease:"power2.in",stagger:.05}),!e){y(h);return}const s=e?.7:.3;d=r.delayedCall(s,()=>{const n=u(t);t.cssClass.includes("mobile")?(r.set(n,{x:20,opacity:0,scale:.97,filter:"blur(1px)"}),r.to(n,{x:0,opacity:1,scale:1,filter:"blur(0px)",duration:1.6,ease:"power2.out",stagger:.2})):(r.set(n,{x:20,opacity:0}),r.to(n,{x:0,opacity:1,duration:1.6,ease:"power2.out",stagger:.15})),y(h)})}function g(){if(p)return;p=!0,w();const e=()=>{(window.requestIdleCallback??(s=>setTimeout(s,0)))(()=>{for(let s=1;s<l.length;s++)m(l[s])})};document.readyState==="complete"?e():window.addEventListener("load",e,{once:!0})}function L(){p=!1,d?.kill(),d=null,l.forEach(e=>r.killTweensOf(u(e)))}function M(){l=q(),v()}function x(){g();const e=document.querySelector(".masthead");e&&new IntersectionObserver(([t])=>{t.isIntersecting?g():L()},{threshold:0}).observe(e)}document.addEventListener("DOMContentLoaded",()=>{M();const e=document.querySelector(".masthead"),t=e?.querySelector(".masthead-loader")??null,s=document.querySelector(".masthead .title"),n=document.querySelector(".masthead .subtitle");if(!s||!n)return;const c=Array.from(e?.querySelectorAll(".slideshow .display-box:not(:first-of-type) img")??[]);if(r.set(c,{x:30,opacity:0}),window.matchMedia("(max-width: 768px)").matches){e?.classList.remove("is-loading"),t?.remove(),x();return}const i=(s.textContent??"").split(" ");s.innerHTML=i.map(S=>`<span class="word">${[...S].map(b=>`<span class="char">${b}</span>`).join("")}</span>`).join(" ");const f=Array.from(s.querySelectorAll(".char"));r.set(f,{y:24,opacity:0,filter:"blur(8px)"}),r.set(n,{y:16,opacity:0,filter:"blur(4px)"}),e?.classList.remove("is-loading"),r.to(t,{opacity:0,duration:.25,ease:"power1.in",onComplete(){t?.remove(),x(),r.to(f,{y:0,opacity:1,filter:"blur(0px)",duration:.55,stagger:.028,ease:"power2.out",onComplete(){r.to(n,{opacity:1,y:0,filter:"blur(0px)",duration:.6,ease:"power2.out"})}})}})});

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.