PageSourceSearch

https://inshotapp.com/js/music.449024be.js

js inshotapp.com collected 2026-10-01 14:13:48 UTC 9,998 bytes, 1 lines download raw bytes

1(self.webpackChunkinshot_guanwang_web=self.webpackChunkinshot_guanwang_web||[]).push([[692],{110:e=>{function t(e){if(!e||"true"===e.dataset.mediaLoaded)return e;let t=!1;return e.dataset.poster&&(e.poster=e.dataset.poster),e.dataset.src&&(e.src=e.dataset.src,t=!0),e.querySelectorAll("source[data-src]").forEach((e=>{e.src=e.dataset.src,t=!0})),t&&(e.dataset.mediaLoaded="true",e.load()),e}e.exports={prepareMedia:t,safePlay:function(e){t(e);const i=e.play();return i&&"function"==typeof i.catch&&i.catch((()=>{})),i}}},913:(e,t,i)=>{const{prepareMedia:s,safePlay:c}=i(110);function r(e,t){s(e);const i=()=>{Number.isFinite(t)&&Math.abs(e.currentTime-t)>.25&&(e.currentTime=t)};e.readyState>=HTMLMediaElement.HAVE_METADATA?i():e.addEventListener("loadedmetadata",i,{once:!0}),c(e)}function n(e){"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e,{once:!0}):e()}const m=document.querySelectorAll(".music-card");let p=null;m.forEach((function(e){const t=e.querySelector(".play-icon"),i=e.querySelector(".pause-icon"),s=e.querySelector(".music-player");i.style.display="none","ontouchstart"in document.documentElement?(t.style.display="inline-block",t.addEventListener("click",(function(){e.classList.add("music-card-hover"),m.forEach((function(t){const i=t.querySelector(".music-player"),s=t.querySelector(".play-icon"),c=t.querySelector(".pause-icon");t===e||i.paused||(t.classList.remove("music-card-hover"),s.style.display="inline-block",i.pause(),t.setAttribute("current-play-time",i.currentTime)),c.style.display="none"})),console.log("播放音乐 - 卡片索引: "+e.getAttribute("data-index")),t.style.display="none",i.style.display="inline-block";const c=parseFloat(e.getAttribute("start-play-time")),n=parseFloat(e.getAttribute("current-play-time"));r(s,c===n?c:n),p=e})),s.addEventListener("ended",(function(){const s=parseFloat(e.getAttribute("start-play-time"));e.classList.remove("music-card-hover"),t.style.display="inline-block",i.style.display="none",e.setAttribute("current-play-time",s),p=null})),i.addEventListener("click",(function(){e.classList.remove("music-card-hover");const c=e.getAttribute("data-index");console.log("暂停音乐 - 卡片索引: "+c),t.style.display="inline-block",i.style.display="none",s.pause(),e.setAttribute("current-play-time",s.currentTime)})),document.addEventListener("visibilitychange",(function(){if(document.hidden&&p){const e=p.querySelector(".music-player"),t=p.querySelector(".play-icon"),i=p.querySelector(".pause-icon");e.pause(),p.setAttribute("current-play-time",e.currentTime),t.style.display="inline-block",i.style.display="none",p.classList.remove("music-card-hover"),p=null}}))):(e.addEventListener("mouseover",(function(){e.classList.add("music-card-hover"),s.paused?(t.style.display="inline-block",i.style.display="none"):(t.style.display="none",i.style.display="inline-block")})),e.addEventListener("mouseout",(function(){s.paused?(t.style.display="none",i.style.display="none",e.classList.remove("music-card-hover")):(t.style.display="none",i.style.display="inline-block",e.classList.add("music-card-hover"))})),t.addEventListener("click",(function(){m.forEach((function(t){const i=t.querySelector(".music-player"),s=t.querySelector(".play-icon"),c=t.querySelector(".pause-icon");t===e||i.paused||(i.pause(),t.classList.remove("music-card-hover"),t.setAttribute("current-play-time",i.currentTime)),s.style.display="none",c.style.display="none"})),console.log("播放音乐 - 卡片索引: "+e.getAttribute("data-index")),t.style.display="none",i.style.display="inline-block";const c=parseFloat(e.getAttribute("start-play-time")),n=parseFloat(e.getAttribute("current-play-time"));r(s,c===n?c:n),p=e,s.addEventListener("ended",(function(){e.classList.remove("music-card-hover"),t.style.display="inline-block",i.style.display="none",e.setAttribute("current-play-time",c),p=null}))})),i.addEventListener("click",(function(){const c=e.getAttribute("data-index");console.log("暂停音乐 - 卡片索引: "+c),t.style.display="inline-block",i.style.display="none",s.pause(),e.setAttribute("current-play-time",s.currentTime)})),document.addEventListener("visibilitychange",(function(){if(document.hidden&&p){const e=p.querySelector(".music-player"),t=p.querySelector(".play-icon"),i=p.querySelector(".pause-icon");e.pause(),p.setAttribute("current-play-time",e.currentTime),t.style.display="none",i.style.display="none",p.classList.remove("music-card-hover"),p=null}})))}
1));const o=document.getElementById("img_sticker_01_animation"),a=document.getElementById("img_sticker_02_animation"),l=document.getElementById("img_sticker_03_animation"),g=document.getElementById("img_sticker_07_animation"),b=document.getElementById("img_sticker_09_animation"),k=document.getElementById("img_sticker_10_animation"),_=["img-webp/sticker-text/img_sticker_01/1.webp","img-webp/sticker-text/img_sticker_01/2.webp","img-webp/sticker-text/img_sticker_01/3.webp","img-webp/sticker-text/img_sticker_01/4.webp","img-webp/sticker-text/img_sticker_01/5.webp","img-webp/sticker-text/img_sticker_01/6.webp","img-webp/sticker-text/img_sticker_01/7.webp","img-webp/sticker-text/img_sticker_01/8.webp","img-webp/sticker-text/img_sticker_01/9.webp","img-webp/sticker-text/img_sticker_01/10.webp","img-webp/sticker-text/img_sticker_01/11.webp","img-webp/sticker-text/img_sticker_01/12.webp","img-webp/sticker-text/img_sticker_01/13.webp","img-webp/sticker-text/img_sticker_01/14.webp","img-webp/sticker-text/img_sticker_01/15.webp","img-webp/sticker-text/img_sticker_01/16.webp"],w=["img-webp/sticker-text/img_sticker_02/1.webp","img-webp/sticker-text/img_sticker_02/2.webp","img-webp/sticker-text/img_sticker_02/3.webp","img-webp/sticker-text/img_sticker_02/4.webp","img-webp/sticker-text/img_sticker_02/5.webp","img-webp/sticker-text/img_sticker_02/6.webp","img-webp/sticker-text/img_sticker_02/7.webp","img-webp/sticker-text/img_sticker_02/8.webp","img-webp/sticker-text/img_sticker_02/9.webp","img-webp/sticker-text/img_sticker_02/cover.webp"],u=["img-webp/sticker-text/img_sticker_03/1.webp","img-webp/sticker-text/img_sticker_03/2.webp","img-webp/sticker-text/img_sticker_03/3.webp","img-webp/sticker-text/img_sticker_03/4.webp","img-webp/sticker-text/img_sticker_03/5.webp","img-webp/sticker-text/img_sticker_03/6.webp","img-webp/sticker-text/img_sticker_03/7.webp","img-webp/sticker-text/img_sticker_03/8.webp","img-webp/sticker-text/img_sticker_03/9.webp","img-webp/sticker-text/img_sticker_03/10.webp","img-webp/sticker-text/img_sticker_03/cover.webp"],d=["img-webp/sticker-text/img_sticker_07/1.webp","img-webp/sticker-text/img_sticker_07/2.webp","img-webp/sticker-text/img_sticker_07/3.webp","img-webp/sticker-text/img_sticker_07/4.
1webp","img-webp/sticker-text/img_sticker_07/5.webp","img-webp/sticker-text/img_sticker_07/6.webp","img-webp/sticker-text/img_sticker_07/7.webp","img-webp/sticker-text/img_sticker_07/8.webp","img-webp/sticker-text/img_sticker_07/9.webp","img-webp/sticker-text/img_sticker_07/10.webp","img-webp/sticker-text/img_sticker_07/cover.webp"],y=["img-webp/sticker-text/img_sticker_09/1.webp","img-webp/sticker-text/img_sticker_09/2.webp","img-webp/sticker-text/img_sticker_09/3.webp","img-webp/sticker-text/img_sticker_09/4.webp","img-webp/sticker-text/img_sticker_09/5.webp","img-webp/sticker-text/img_sticker_09/6.webp","img-webp/sticker-text/img_sticker_09/7.webp","img-webp/sticker-text/img_sticker_09/8.webp","img-webp/sticker-text/img_sticker_09/9.webp","img-webp/sticker-text/img_sticker_09/10.webp","img-webp/sticker-text/img_sticker_09/11.webp","img-webp/sticker-text/img_sticker_09/12.webp","img-webp/sticker-text/img_sticker_09/13.webp","img-webp/sticker-text/img_sticker_09/14.webp","img-webp/sticker-text/img_sticker_09/15.webp"],x=["img-webp/sticker-text/img_sticker_10/1.webp","img-webp/sticker-text/img_sticker_10/2.webp","img-webp/sticker-text/img_sticker_10/3.webp","img-webp/sticker-text/img_sticker_10/4.webp","img-webp/sticker-text/img_sticker_10/5.webp","img-webp/sticker-text/img_sticker_10/6.webp","img-webp/sticker-text/img_sticker_10/7.webp","img-webp/sticker-text/img_sticker_10/8.webp","img-webp/sticker-text/img_sticker_10/9.webp","img-webp/sticker-text/img_sticker_10/10.webp","img-webp/sticker-text/img_sticker_10/11.webp","img-webp/sticker-text/img_sticker_10/12.webp","img-webp/sticker-text/img_sticker_10/13.webp","img-webp/sticker-text/img_sticker_10/14.webp","img-webp/sticker-text/img_sticker_10/15.webp","img-webp/sticker-text/img_sticker_10/16.webp","img-webp/sticker-text/img_sticker_10/cover.webp"],v=[],f=[],h=[],E=[],L=[],A=[];function S(e,t){e.forEach(((e,i)=>{const s=new Image;s.onload=function(){t[i]=e},s.src=e}))}let q=!1;function I(){q||(q=!0,S(_,v),S(w,f),S(u,h),S(d,E),S(y,L),S(x,A))}let T=0,B=0,M=0,F=0,C=0,H=0;function D(){T=(T+1)%_.length,B=(B+1)%w.length,M=(M+1)%u.length,F=(F+1)%d.length,C=(C+1)%y.length,H=(H+1)%x.length,v[T]&&(o.src=v[T]),f[B]&&(a.src=f[B]),h[M]&&(l.src=h[M]),E[F]&&(g.src=E[F]),L[C]&&(b.src=L[C]),A[H]&&(k.src=A[H])}n((function(){const e=document.querySelector(".artistWrap"),t=e.querySelectorAll("img");let i,s=!1;function c(){const c=function(e){const t=e.getBoundingClientRect();return t.top>=0&&t.bottom<=window.innerHeight}(e);c&&!s?(I(),t.forEach((e=>{e.classList.add("show")})),s=!0,i=setInterval(D,100)):c&&s||function(e){const t=e.getBoundingClientRect();return t.bottom>0&&t.top<window.innerHeight}(e)||(t.forEach((e=>{e.classList.remove("show")})),s=!1,i&&(clearInterval(i),i=null))}document.querySelector(".content").addEventListener("scroll",c),document.addEventListener("visibilitychange",(function(){document.hidden&&i?(clearInterval(i),i=null,s=!1):document.hidden||c()})),c()})),n((function(){const e=document.querySelector(".artistWrap");new IntersectionObserver(((t,i)=>{if(!t.some((e=>e.isIntersecting)))return;const s="./img-webp/sticker-text/img_model.webp",c=new Image;c.onload=function(){e.style.backgroundImage=`url('${s}')`},c.src=s,I(),i.disconnect()}),{rootMargin:"600px 0px"}).observe(e)}))}}]);

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.