PageSourceSearch

https://filter-blocks.netlify.app/_app/chunks/index-ad10b068.js

js filter-blocks.netlify.app collected 2026-10-03 10:44:11 UTC 4,023 bytes, 1 lines download raw bytes

1import{S as t,i as e,s,H as n,e as o,c as i,a as r,d as a,b as c,E as l,f as u,I as p,v as d,r as $,z as m,M as f,N as g,O as A,P as h,G as b,j as v,m as w,o as k,w as x,l as I,B as y,u as E}from"./vendor-01c7f58c.js";/* empty css                                            */const M=t=>({intersecting:2&t}),O=t=>({intersecting:t[1]});function z(t){let e,s;const m=t[9].default,f=n(m,t,t[8],O);return{c(){e=o("div"),f&&f.c(),this.h()},l(t){e=i(t,"DIV",{class:!0,style:!0});var s=r(e);f&&f.l(s),s.forEach(a),this.h()},h(){c(e,"class","img__container svelte-zla4v"),l(e,"padding-bottom",1/t[0]*100+"%")},m(n,o){u(n,e,o),f&&f.m(e,null),t[10](e),s=!0},p(t,[n]){f&&f.p&&(!s||258&n)&&p(f,m,t,t[8],n,M,O),(!s||1&n)&&l(e,"padding-bottom",1/t[0]*100+"%")},i(t){s||(d(f,t),s=!0)},o(t){$(f,t),s=!1},d(s){s&&a(e),f&&f.d(s),t[10](null)}}}function B(t,e,s){let n,{$$slots:o={},$$scope:i}=e,{ratio:r=1}=e,{once:a=!1}=e,{top:c=0}=e,{bottom:l=200}=e,{left:u=0}=e,{right:p=0}=e,d=!1;return m((()=>{if("undefined"!=typeof IntersectionObserver){const t=new IntersectionObserver((e=>{s(1,d=e[0].isIntersecting),d&&a&&t.unobserve(n)}),{rootMargin:`${c}px ${p}px ${l}px ${u}px`});return t.observe(n),()=>t.unobserve(n)}})),t.$$set=t=>{"ratio"in t&&s(0,r=t.ratio),"once"in t&&s(3,a=t.once),"top"in t&&s(4,c=t.top),"bottom"in t&&s(5,l=t.bottom),"left"in t&&s(6,u=t.left),"right"in t&&s(7,p=t.right),"$$scope"in t&&s(8,i=t.$$scope)},[r,d,n,a,c,l,u,p,i,o,function(t){f[t?"unshift":"push"]((()=>{n=t,s(2,n)}))}]}class _ extends t{constructor(t){super(),e(this,t,B,z,s,{ratio:0,once:3,top:4,bottom:5,left:6,right:7})}}function j(t){let e,s,n,r;return{c(){e=o("img"),this.h()},l(t){e=i(t,"IMG",{loading:!0,class:!0}),this.h()},h(){c(e,"loading","lazy"),c(e,"class","svelte-p8mwr3"),g(e,"visible",t[1])},m(o,i){u(o,e,i),t[5](e),n||(r=A(s=t[3].call(null,e,t[0])),n=!0)},p(t,[n]){s&&h(s.update)&&1&n&&s.update.call(null,t[0]),2&n&&g(e,"visible",t[1])},i:b,o:b,d(s){s&&a(e),t[5](null),n=!1,r()}}}function F(t,e,s){let{tokenid:n}=e,{ratio:o=1}=e;const i=new Map;let r,a=!1;m((()=>{s(2,r.onload=()=>{s(1,a=!0)},r)}));return t.$$set=t=>{"tokenid"in t&&s(0,n=t.tokenid),"ratio"in t&&s(4,o=t.ratio)},[n,a,r,(t,e)=>{const s=e=>{const s=`https://www.artblocks.io/_next/image?url=https%3A%2F%2Fartblocks-mainnet.s3.amazonaws.com%2F${e}.png&w=640&q=75`;if(i.has(e))t.setAttribute("src",s);else{t.setAttribute("src","data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==");const n=new Image;n.src=s,n.onload=()=>{i.set(e,n),t.setAttribute("src",s)}}};return s(e),{update(t){s(t)},destroy(){t.setAttribute("src","")}}},o,function(t){f[t?"unshift":"push"]((()=>{r=t,s(2,r)}))}]}class G extends t{constructor(t){super(),e(this,t,F,j,s,{tokenid:0,ratio:4})}}function H(t){let e,s;return e=new G({props:{tokenid:t[0],ratio:t[1]}}),{c(){v(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),s=!0},p(t,s){const n={};1&s&&(n.tokenid=t[0]),2&s&&(n.ratio=t[1]),e.$set(n)},i(t){s||(d(e.$$.fragment,t),s=!0)},o(t){$(e.$$.fragment,t),s=!1},d(t){x(e,t)}}}function C(t){let e,s,n=(t[3]||t[2])&&H(t);return{c(){n&&n.c(),e=I()},l(t){n&&n.l(t),e=I()},m(t,o){n&&n.m(t,o),u(t,e,o),s=!0},p(t,s){t[3]||t[2]?n?(n.p(t,s),12&s&&d(n,1)):(n=H(t),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(y(),$(n,1,1,(()=>{n=null})),E())},i(t){s||(d(n),s=!0)},o(t){$(n),s=!1},d(t){n&&n.d(t),t&&a(e)}}}function D(t){let e,s;return e=new _({props:{once:!0,ratio:t[1],$$slots:{default:[C,({intersecting:t})=>({3:t}),({intersecting:t})=>t?8:0]},$$scope:{ctx:t}}}),{c(){v(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),s=!0},p(t,[s]){const n={};2&s&&(n.ratio=t[1]),31&s&&(n.$$scope={dirty:s,ctx:t}),e.$set(n)},i(t){s||(d(e.$$.fragment,t),s=!0)},o(t){$(e.$$.fragment,t),s=!1},d(t){x(e,t)}}}function L(t,e,s){let{tokenid:n}=e,{ratio:o}=e,i=!1;return m((()=>{"loading"in HTMLImageElement.prototype&&s(2,i=!0)})),t.$$set=t=>{"tokenid"in t&&s(0,n=t.tokenid),"ratio"in t&&s(1,o=t.ratio)},[n,o,i]}class N extends t{constructor(t){super(),e(this,t,L,D,s,{tokenid:0,ratio:1})}}export{N as I};

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.