PageSourceSearch

https://cwench.fi/assets/SearchProduct-DouMj1sO.js

js cwench.fi collected 2026-10-08 20:55:10 UTC 1,633 bytes, 2 lines download raw bytes

1import{S,i as y,s as k,a6 as A,d as g,t as I,b as z,a3 as b,ad as E,c,a7 as D,a8 as G,a9 as M,e as O,f as p,E as R,ar as V,g as v,h as P,k as j,o as q,q as w,aC as B,O as F}from"./main-t1aUS3yC.js";function H(i){let e,n,a,f,u,d,_,r,m,o;const h=i[4].default,t=A(h,i,i[3],null);return{c(){e=q("a"),n=q("div"),a=q("img"),d=w(),t&&t.c(),this.h()},l(s){e=v(s,"A",{class:!0,href:!0});var l=P(e);n=v(l,"DIV",{class:!0});var C=P(n);a=v(C,"IMG",{class:!0,src:!0,alt:!0,style:!0}),C.forEach(g),d=j(l),t&&t.l(l),l.forEach(g),this.h()},h(){c(a,"class","product-image svelte-19bfyq1"),b(a.src,f=i[0].images.main+E)||c(a,"src",f),c(a,"alt",u=i[0].name),c(a,"style","aspect-ratio:"+V),c(n,"class","image-holder svelte-19bfyq1"),c(e,"class","slot-product svelte-19bfyq1"),c(e,"href",_=i[0].url)},m(s,l){O(s,e,l),p(e,n),p(n,a),p(e,d),t&&t.m(e,null),r=!0,m||(o=R(e,"click",i[5]),m=!0)},p(s,[l]){(!r||l&1&&!b(a.src,f=s[0].images.main+E))&&c(a,"src",f),(!r||l&1&&u!==(u=s[0].name))&&c(a,"alt",u),t&&t.p&&(!r||l&8)&&D(t,h,s,s[3],r?M(h,s[3],l,null):G(s[3]),null),(!r||l&1&&_!==(_=s[0].url))&&c(e,"href",_)},i(s){r||(z(t,s),r=!0)},o(s){I(t,s),r=!1},d(s){s&&g(e),t&&t.d(s),m=!1,o()}}}function J(i,e,n){let{$$slots:a={},$$scope:f}=e,{onClose:u}=e,{product:d}=e;const _=()=>{r(),u()},r=()=>{const o={id:d.id};B("/service/logEvent/searchProduct",o).catch(h=>{F(h)})},m=()=>_();return i.$$set=o=>{"onClose"in o&&n(2,u=o.onClose),"product"in o&&n(0,d=o.product),"$$scope"in o&&n(3,f=o.$$scope)},[d,_,u,f,a,m]}class L extends S{constructor(e){super(),y(this,e,J,H,k,{onClose:2,product:0})}}export{L as default};
2//# sourceMappingURL=SearchProduct-DouMj1sO.js.map

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.