PageSourceSearch

https://www.crealitycloud.com/_nuxt/C3eZIIa9.js

js crealitycloud.com collected 2026-09-24 09:33:17 UTC 2,202 bytes, 1 lines download raw bytes

1import{_ as W,i as v}from"./D6qU-WXZ.js";import{u as _}from"./aAnyLm7J.js";import{d as n,G as $,v as k,$ as l,I as c,B as r,N as S,a2 as C,ac as L,a5 as m,p as f}from"./BJhQhrjU.js";const N=["src","alt","fetchpriority","decoding"],G=["src","alt"],H=["src","alt"],M={__name:"index",props:{src:{type:String,required:!0},dynamic:{type:String,default:""},alt:{type:String,default:""},fit:{type:String,default:"cover"},lazy:{type:Boolean,default:!0},isBlur:{type:Boolean,default:!1},ossW:{type:Number,default:0},ossH:{type:Number,default:0},isClearResize:{type:Boolean,default:!0},gifToWebp:{type:Boolean,default:!1},priority:{type:Boolean,default:!1},trackLoadTime:{type:Boolean,default:!1}},emits:["showGifImage","load-time"],setup(a,{emit:b}){const e=a,d=n(!1),B=()=>{d.value=!0},I=f(()=>e.isBlur?"contain":e.fit),w=f(()=>{let t=e.ossW,s=e.ossH;return!d.value&&e.lazy&&(t=10,s=10),_({src:e.src,ossW:t,ossH:s,dynamic:e.dynamic,gifToWebp:e.gifToWebp,cleanOssSize:e.isClearResize})}),x=f(()=>{const{dynamic:t,ossH:s,ossW:u}=e;return t?v(t)==="gif"?"".concat(t,"?x-oss-process=image/resize,h_").concat(s,",w_").concat(u,",m_fill/format,webp/ignore-error,1"):t:""}),h=f(()=>{const s=v(e.src)==="gif"?"jpg":"webp";return"".concat(e.src,"?x-oss-process=image/resize,h_10,w_10,m_fill/format,").concat(s,"/ignore-error,1")}),z=b,g=n(!1),p=t=>{e.dynamic&&(g.value=t,z("showGifImage",t))},i=n(null),y=n(!e.lazy);let o=null;return $(()=>{e.lazy&&i.value&&(o=new IntersectionObserver(t=>{t[0].isIntersecting&&(y.value=!0,o.unobserve(i.value),o.disconnect(),o=null)},{rootMargin:"200px"}),o.observe(i.value))}),k(()=>{o&&(o.disconnect(),o=null)}),(t,s)=>(l(),c("div",{ref_key:"wrapperRef",ref:i,class:"img-wrap-content",onMouseenter:s[0]||(s[0]=u=>p(!0)),onMouseleave:s[1]||(s[1]=u=>p(!1))},[r(y)?(l(),c(S,{key:0},[C("img",{class:"normal",src:r(w),alt:a.alt,style:L({objectFit:r(I)}),fetchpriority:a.priority?"high":void 0,decoding:a.priority?"sync":void 0,onLoad:B},null,44,N),r(g)?(l(),c("img",{key:0,class:"gif",src:r(x),alt:a.alt},null,8,G)):m("",!0),a.isBlur?(l(),c("img",{key:1,class:"blur",src:r(h),alt:a.alt},null,8,H)):m("",!0)],64)):m("",!0)],544))}},j=W(M,[["__scopeId","data-v-bf794dfa"]]);export{j as C};

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.