PageSourceSearch

https://apptovid.com/_nuxt/NjuYLCXK.js

js apptovid.com collected 2026-09-29 19:07:21 UTC 2,759 bytes, 1 lines download raw bytes

1import{g as U,aE as B,i as M,ag as E,s as T,u as F,A as H,z as g,C as I,c2 as w,o as t,c as a,l as e,E as S,F as P,r as $,a as o,m as p,N as z,V as O,t as C,b as v,w as d,a8 as j,p as J,c3 as K,y as N,_ as Q}from"./Bl7aIc7Y.js";import{_ as X}from"./BxD-oAKD.js";import{N as Y}from"./bo3eocFh.js";import{N as A}from"./C-5_00hN.js";import"./Cd8TS6ny.js";const q=""+new URL("ic-down.DhFg2oIm.png",import.meta.url).href,G=""+new URL("ic-like.CiS9LaJh.png",import.meta.url).href,W=""+new URL("ic-unlike.POPXgQKc.png",import.meta.url).href,Z={key:0,"transition-duration":".3s","item-selector":".masonry-item",class:"masonry-container"},ee=["src"],se=["src"],oe={class:"menu-bar"},te=["onClick"],ne=["src","onClick"],ae={key:1,class:"nodata-tips"},re={key:2,class:"bottom-loading"},ie=U({__name:"index",setup(le){const R=B("redrawVueMasonry"),{isLoggedIn:f}=M(),h=E(),{fetchAssetsList:c}=h,{isLoading:i,assetsList:m,hasMore:k}=T(h);let u=J(null);F({title:"Assets"}),H(()=>{f?c():g.emit("showLoginDialog"),g.on("loginSuccess",y)}),I(()=>{g.off("loginSuccess",y)});const y=()=>{c()},b=r=>{if(!u.value||i.value||!k.value)return;const{scrollTop:s,scrollHeight:l,clientHeight:_}=u.value;s+_>=l-100&&c()},V=(r,s)=>{K({image_id:r.image_id,is_assets:!!r.has_removed}).then(()=>{N(`${r.has_removed?"Added":"Removed"} successfully! `,"success"),r.has_removed=!r.has_removed}).catch(l=>{N(l,"error")})},x=()=>{R()};return(r,s)=>{const l=w("masonry-tile"),_=w("masonry");return t(),a("div",{class:"page-container",ref_key:"containerRef",ref:u,onScroll:b},[e(m).length>0?S((t(),a("div",Z,[(t(!0),a(P,null,$(e(m),(n,L)=>S((t(),a("div",{class:"masonry-item",key:L},[n.is_video?(t(),a("video",{key:0,src:n.image_url,controls:"",onLoadeddata:x},null,40,ee)):(t(),a("img",{key:1,class:"img-cover",src:n.image_url},null,8,se)),o("div",oe,[v(e(A),{trigger:"hover"},{trigger:d(()=>[o("img",{src:q,onClick:D=>e(j)(n)},null,8,te)]),default:d(()=>[s[0]||(s[0]=o("span",null,"Download",-1))]),_:2},1024),v(e(A),{trigger:"hover",placement:"top-end"},{trigger:d(()=>[o("img",{src:n.has_removed?e(G):e(W),onClick:D=>V(n,L)},null,8,ne)]),default:d(()=>[o("span",null,C(n.has_removed?"Add to assets":"Remove from assets"),1)]),_:2},1024)])])),[[l]])),128))])),[[_]]):e(i)?p("",!0):(t(),a("div",ae,[...s[1]||(s[1]=[o("img",{src:X},null,-1),o("span",null,"You haven't added any assets yet.",-1)])])),e(f)&&(e(m).length>0||e(i))?(t(),a("div",re,[s[2]||(s[2]=o("div",{class:"line"},null,-1)),e(i)?(t(),z(e(O),{key:0,size:"medium",stroke:"606266"})):p("",!0),o("span",null,C(e(i)?"Loading...":e(k)?"Scroll down for more":"End of list"),1),s[3]||(s[3]=o("div",{class:"line"},null,-1))])):p("",!0),v(e(Y),{right:12,bottom:48})],544)}}}),ge=Q(ie,[["__scopeId","data-v-d3b6112d"]]);export{ge as default};

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.