1import{M as i}from"./masonry-CmAG9zKo.js";import{i as r}from"./handlerShim-BYTyRQMS.js";import"./graphql-lsp-B6A8sSuz.js";class o{constructor(t,e=""){if(this.el=t,this.m=null,e){const s=t.querySelector(e);s!==null?this.el=s:console.log("Unable to find target for masonry")}this.update()}static frontend(t,e){return new this(t,e.select||"")}static cleanup(t){t.destroy()}update(){this.destroy(),this.m=new i(this.el,{itemSelector:".item.masonry"})}destroy(){this.m&&(this.m.destroy(),this.m=null)}add(t){this.m.appended([t])}del(t){this.m.remove([t])}}const d=r(o);export{o as MasonryHelper,d as handler};
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.