PageSourceSearch

https://www.silesiacitycenter.com.pl/_next/static/chunks/3160-63cc08834465e375.js

js silesiacitycenter.com.pl collected 2026-10-02 08:37:24 UTC 9,171 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3160],{83160:function(d,b,a){a.d(b,{Z:function(){return u}});var e=a(85893),f=a(88116),g=a(30719),h=a(67294),i=a(5506),j=a(17176),k=a(27044),l=a(93463),m=a(43315),n=function(h){var a=h.data,i=h.className;if(!a)return null;var c,d,f=!!(null==a?void 0:a.videoUrl),b=a.videoPosition,j=function(a){switch(a){case"top":case"down":default:return"flex-col";case"left":return"flex-col md:flex-row";case"right":return"flex-col md:flex-row-reverse"}},g=function(){return f?(0,e.jsx)("div",{className:"w-full aspect-video",children:(0,e.jsx)(m.Z,{videoUrl:a.videoUrl})}):null};return(0,e.jsxs)("div",{className:"w-full mt-8 ".concat(void 0===i?"":i),children:[a.title&&(0,e.jsx)("div",{id:"strapi-editor",className:"overflow-hidden mt-8 mb-8 first:mt-0",dangerouslySetInnerHTML:{__html:a.title}}),f&&"top"===b&&(0,e.jsx)("div",{className:"w-full mb-8",children:g()}),(0,e.jsxs)("div",{className:"flex ".concat(j(a.position)," gap-6 md:gap-8"),children:[(0,e.jsx)("div",{className:function(a){switch(a){case"top":case"down":default:return"flex flex-col justify-center w-full";case"left":case"right":return"flex flex-col justify-start w-full md:w-1/2 md:px-12"}}(a.position),children:(0,e.jsx)(e.Fragment,{children:a.description&&(0,e.jsx)("div",{id:"strapi-editor",className:"text-base md:text-lg leading-relaxed text-gray-700 overflow-hidden",style:{overflowY:"hidden"},dangerouslySetInnerHTML:{__html:a.description}})})}),(0,e.jsx)("div",{className:function(a){switch(a){case"top":case"down":default:return"w-full";case"left":case"right":return"w-full md:w-1/2"}}(a.position),children:(0,e.jsx)(e.Fragment,{children:null===(d=null===(c=a.media)|| void 0===c?void 0:c.slice(0,1))|| void 0===d?void 0:d.map(function(a){var b=null==a?void 0:a.hash,c=null==a?void 0:a.ext,d=(null==a?void 0:a.alternativeText)||(null==a?void 0:a.name)||"Gallery image";return(0,e.jsx)("div",{className:"w-full rounded-lg shadow-md hover:shadow-xl transition-shadow duration-300 overflow-hidden",children:(0,e.jsx)(k.Z,{alt:d,url:b,ext:c,className:"w-full h-auto",priority:!1,native:!0})},a.id)})})})]}),f&&("left"===b||"right"===b)&&(0,e.jsx)("div",{className:"flex ".concat(j(b)," gap-6 md:gap-8 mt-8"),children:(0,e.jsx)("div",{className:"w-full md:w-1/2",children:g()})}),f&&("down"===b||!b)&&(0,e.jsx)("div",{className:"w-full mt-8",children:g()})]})},c=a(41664),o=a.n(c),p=a(73984),q=function(a){var c=a.name,m=a.hash,n=a.ext,q=a.href,d=a.description,b=a.cardMedia,r=a.mediaUrl,s=a.target,t=a.preload,f=a.onClick,g=(0,h.useState)(),u=g[0],v=g[1],i=(null==b?void 0:b.hash)?null==b?void 0:b.hash:m,j=(null==b?void 0:b.ext)?null==b?void 0:b.ext:n,l=(0,e.jsxs)("div",{className:"relative max-w-sm h-[54
10px]",children:[(0,e.jsx)(k.Z,{className:"object-cover w-full h-full",title:c,alt:c,url:i,ext:j,image:"".concat(r||"".concat(p.API_URL,"/uploads/").concat("".concat(i).concat(j))),preload:t}),d&&(0,e.jsx)("div",{className:"".concat(u?"bg-black":"bg-[#00000099]"," absolute w-full transition duration-500 z-50 bottom-0  h-16 p-4 flex flex-col gap-2 text-ellipsis items-start overflow-hidden"),children:(0,e.jsx)("div",{className:"text-white w-full text-sm font-light tracking-[0.2px] h-full overflow-hidden text-center ",children:d})})]});return(0,e.jsx)("div",{className:"w-full h-full",onMouseOver:function(){v(!0)},onMouseLeave:function(){v(!1)},children:f?(0,e.jsx)("button",{type:"button",className:"w-full h-full text-left",onClick:f,children:l}):(0,e.jsx)(o(),{href:q,passHref:!0,children:(0,e.jsx)("a",{target:s||"_self",children:l})})})},r=a(7371),s=a(86271);function t(c,a){(null==a||a>c.length)&&(a=c.length);for(var b=0,d=new Array(a);b<a;b++)d[b]=c[b];return d}var u=function(o){var a,c,p,b,d,D=o.section,E=o.cardName,F=(a=(0,s.i)(),c=1,function(a){if(Array.isArray(a))return a}(a)||function(b,e){var f,g,a=null==b?null:"undefined"!=typeof Symbol&&b[Symbol.iterator]||b["@@iterator"];if(null!=a){var c=[],d=!0,h=!1;try{for(a=a.call(b);!(d=(f=a.next()).done)&&(c.push(f.value),!e||c.length!==e);d=!0);}catch(i){h=!0,g=i}finally{try{d||null==a.return||a.return()}finally{if(h)throw g}}return c}}(a,c)||function(a,c){if(a){if("string"==typeof a)return t(a,c);var b=Object.prototype.toString.call(a).slice(8,-1);if("Object"===b&&a.constructor&&(b=a.constructor.name),"Map"===b||"Set"===b)return Array.from(b);if("Arguments"===b||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return t(a,c)}}(a,c)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],u=(0,h.useState)(null),A=u[0],G=u[1],v=(0,h.useState)(null),B=v[0],H=v[1],w=(0,h.useState)(!1),C=w[0],I=w[1],x=(0,h.useState)(),y=x[0],J=x[1],z=(0,h.useState)(),K=z[0],L=z[1],M=function(b){var a;return/<h[1-6]\b/.test(null!==(a=null==b?void 0:b.title)&& void 0!==a?a:"")?"pt-2":"pt-10"},N=function(a){var b=null==a?void 0:a.videoPosition,c=!!(null==a?void 0:a.videoUrl),h="right"===b,i="left"===b||h,j=function(){return(null==a?void 0:a.description)?(0,e.jsx)("div",{id:"strapi-editor",className:"w-full",dangerouslySetInnerHTML:{__html:a.description}}):null},d=function(){return c?(0,e.jsx)("div",{className:"w-full aspect-video",children:(0,e.jsx)(m.Z,{videoUrl:a.videoUrl})}):null};return(0,e.jsxs)("li",{className:"first:mt-8 flex flex-col gap-8",children:[(0,e.jsx)("div",{className:"flex flex-col items-center w-full",children:(null==a?void 0:a.title)?(0,e.jsx)("div",{id:"strapi-editor",className:M(a),dangerouslySetInnerHTML:{__html:a.title}}):null}),c&&"top"===b&&d(),c&&i?(0,e.jsxs)("div",{className:"flex flex-col md:flex-row items-start gap-6 md:gap-8 ".concat(h?"md:flex-row":"md:flex-row-reverse"),children:[(0,e.jsx)("div",{className:"w-full md:w-1/2 mt-2",children:j()}),(0,e.jsx)("div",{className:"w-full md:w-1/2",children:d()})]}):j(),function(){var b=null==a?void 0:a.media;if(!b||0===b.length)return null;var c=(0,r.Cx)(F),d=b.length<5?"center":"left";return(0,e.jsx)("div",{className:"w-full overflow-hidden swiper-align-".concat(d),children:(0,e.jsx)(l.Z,{slidesPerView:c,spaceBetween:16,modules:[f.tl],className:"mySwiper",children:b.map(function(a){var c=null==a?void 0:a.hash,d=null==a?void 0:a.ext,f=(null==a?void 0:a.caption)||"";return(0,e.jsx)(g.o5,{children:function(g){var h,i,j=g.preload;return(0,e.jsx)(q,{hash:c,ext:d,name:null!=E?E:f,description:f,onClick:(h=b,i=a.id,function(){J(h),L(i),I(function(a){return!a})}),preload:j})}},(null==a?void 0:a.id)||c)})})})}(),c&&("down"===b|| !b&&!i)&&d()]})};return(0,e.jsxs)(e.Fragment,{children:[function(){switch(null==D?void 0:D.sectionType){case"Galery":return D.showSection?N(D):null;case"SimpleSection":return D.showSection?(0,e.jsx)(n,{data:D}):null;case"Video":return D.showSection&&D.videoUrl?(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{className:"flex flex-col items-center w-full",children:(0,e.jsx)("div",{id:"strapi-editor",className:M(D),dangerouslySetInnerHTML:{__html:D.title}})}),(0,e.jsx)(m.Z,{videoUrl:D.videoUrl})]}):null;default:return null}}(),C&&(0,e.jsxs)("div",{className:"flex flex-col justify-center items-center fixed z-20 h-screen inset-0 bg-black bg-opacity-80 text-center text-white pt-28 md:pt-40 px-4 md:px-12",children:[(0,e.jsx)("button",{onClick:function(){I(!1)},children:(0,e.jsx)(i.Z,{className:"absolute z-50 w-6 md:top-[170px] top-[15%] right-[5%] text-white"})}),(0,e.jsxs)("div",{className:"flex flex-row w-[100%] md:w-[80%] h-[90%] ga
1p-4 items-center",children:[(0,e.jsx)("div",{className:"hidden md:block rotate-180 cursor-pointer text-white",ref:function(a){return G(a)},children:(0,e.jsx)(j.Z,{})}),(0,e.jsx)(l.Z,{centeredSlides:!0,loop:!0,keyboard:!0,navigation:{prevEl:A,nextEl:B},modules:[f.W_],className:"mySwiper",id:"inspiration-swiper",children:(p=y.find(function(a){return a.id===K}),b=y.filter(function(a){return a.id!==K}),b.splice(0,0,p),b.join(),d=b,null==d?void 0:d.map(function(a,b){var c=null==a?void 0:a.hash,d=null==a?void 0:a.ext,f=(null==a?void 0:a.caption)||"";return(0,e.jsx)(g.o5,{children:function(){return(0,e.jsxs)("div",{className:"w-full h-full flex flex-col items-center",children:[(0,e.jsx)(k.Z,{native:!0,alt:"".concat((null==a?void 0:a.alternativeText)||f),url:"".concat(c),ext:"".concat(d),className:"rounded flex-1 min-h-0 max-w-full !object-contain"}),f&&(0,e.jsx)("p",{className:"text-white text-center text-sm md:text-base mt-4 px-4 max-w-2xl flex-shrink-0",children:f})]})}},b)}))}),(0,e.jsx)("div",{className:"hidden md:block cursor-pointer text-white",ref:function(a){return H(a)},children:(0,e.jsx)(j.Z,{})})]})]})]})}},43315:function(c,b,a){var d=a(85893),e=a(7371);b.Z=function(b){var a=b.videoUrl;return a?(0,d.jsx)("div",{className:"grid grid-cols-2 py-4",children:(0,d.jsx)("ul",{className:"flex flex-col col-span-3 md:col-span-2 gap-12",children:(0,d.jsx)("div",{className:"w-full aspect-video",children:(0,d.jsx)("iframe",{className:"w-full h-full",src:"https://www.youtube.com/embed/".concat((0,e.P9)(a)),title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})})})}):null}}}])

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.