PageSourceSearch

https://wp-modula.com/wp-content/plugins/modula-best-grid-gallery/…/js/front/66.d81ff8d5.modula-gallery.js

js wp-modula.com collected 2026-10-02 02:55:29 UTC 2,812 bytes, 1 lines download raw bytes

1"use strict";(this.webpackChunkModulaGallery=this.webpackChunkModulaGallery||[]).push([[66],{3066:(t,e,n)=>{n.r(e),n.d(e,{default:()=>v});var i=n(4467),r=n(6764),o=n(1468),l=n(6078),a=n(8030),c=n(3320),u=n(7568),s=n(7225),d=n(6372),h=n(9748),f=n(8880),m=n(6178),p=n(4848);function g(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function b(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?g(Object(n),!0).forEach((function(e){(0,i.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function v(){var t,e,n,i=(0,o.d4)((function(t){return t.items.items})),g=(0,o.d4)((function(t){return t.gallery.config})),v=(0,o.d4)((function(t){var e;return null!==(e=t.gallery.galleryId)&&void 0!==e?e:0})),y=(0,c.z)(0),w=y.containerRef,j=y.containerWidth,O=parseInt(null!==(t=(0,u.Ri)(b(b({},g),{},{enableResponsive:1})))&&void 0!==t?t:0,10),x=Number(null!==(e=null==g?void 0:g.randomFactor)&&void 0!==e?e:0),P=(0,s.MU)(g),k=(0,m.PY)(g),M=parseInt(null!==(n=null==g?void 0:g.shadowSize)&&void 0!==n?n:0,10)>0?"visible":"hidden",D=(0,f.Z)(i,g),S=(0,r.useMemo)((function(){return j<=0?D.map((function(t){return{chunk:t,tiles:[]}})):D.map((function(t,e){var n=t.length;if(0===n)return{chunk:t,tiles:[]};var i=t.map((function(t,e){return(0,h.Jm)(t,e)})).join(":"),r=(0,d.VP)("".concat(v,"|").concat(e,"|").concat(i,"|").concat(x,"|").concat(O,"|").concat(Math.round(Number(P)||0),"|").concat(k?"below-image":"inside-image"));return{chunk:t,tiles:(0,d.CC)(j,P,n,{gutter:O,randomFactor:x,layoutSeed:r})}}))}),[D,j,P,O,x,v,k]);return(0,p.jsx)("div",{ref:w,className:"modula-items modula-creative-gallery modula-creative-gallery--editor-pages",style:{display:"flex",flexDirection:"column",gap:0,width:"100%",minHeight:0},children:S.map((function(t,e){return(0,p.jsxs)(r.Fragment,{children:[e>0?(0,p.jsx)(a.A,{}):null,(0,p.jsx)("div",{style:{position:"relative",width:"100%",height:t.tiles.length>0||j<=0?P:"auto",minHeight:P},children:t.tiles.map((function(n,i){var r=t.chunk[i];return r?(0,p.jsx)("div",{className:"modula-item modula-item-tiled","data-tile-width":Math.round(n.width),"data-tile-height":Math.round(n.height),style:{position:"absolute",left:n.left,top:n.top,width:n.width,height:n.height,boxSizing:"border-box",overflow:M},children:(0,p.jsx)(l.A,{itemData:r,config:g,slotWidth:n.width,slotHeight:n.height,fillSlot:!0,style:{position:"absolute",inset:0,width:"100%",height:"100%"}})},"".concat(e,"-").concat((0,h.Jm)(r,i))):null}))})]},e)}))})}}}]);

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.