PageSourceSearch

https://www.silesiacitycenter.com.pl/_next/static/chunks/8352-d08bbfd06d97f848.js

js silesiacitycenter.com.pl collected 2026-10-02 08:34:16 UTC 34,617 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8352],{47443:function(a,c,b){var d=b(42118);a.exports=function(a,b){return!!(null==a?0:a.length)&&d(a,b,0)> -1}},1196:function(a){a.exports=function(a,c,d){for(var b=-1,e=null==a?0:a.length;++b<e;)if(d(c,a[b]))return!0;return!1}},41848:function(a){a.exports=function(b,d,e,c){for(var f=b.length,a=e+(c?1:-1);c?a--:++a<f;)if(d(b[a],a,b))return a;return -1}},42118:function(b,c,a){var d=a(41848),e=a(62722),f=a(42351);b.exports=function(b,a,c){return a==a?f(b,a,c):d(b,e,c)}},62722:function(a){function b(a){return a!=a}a.exports=b},45652:function(b,c,a){var d=a(88668),e=a(47443),f=a(1196),g=a(74757),h=a(23593),i=a(21814);b.exports=function(l,k,m){var p=-1,n=e,q=l.length,o=!0,c=[],a=c;if(m)o=!1,n=f;else if(q>=200){var r=k?null:h(l);if(r)return i(r);o=!1,n=g,a=new d}else a=k?[]:c;outer:for(;++p<q;){var b=l[p],j=k?k(b):b;if(b=m||0!==b?b:0,o&&j==j){for(var s=a.length;s--;)if(a[s]===j)continue outer;k&&a.push(j),c.push(b)}else n(a,j,m)||(a!==c&&a.push(j),c.push(b))}return c}},23593:function(c,g,a){var b=a(58525),d=a(50308),e=a(21814),f=b&&1/e(new b([,-0]))[1]==1/0?function(a){return new b(a)}:d;c.exports=f},42351:function(a){a.exports=function(b,c,d){for(var a=d-1,e=b.length;++a<e;)if(b[a]===c)return a;return -1}},50308:function(a){a.exports=function(){}},44908:function(a,c,b){var d=b(45652);a.exports=function(a){return a&&a.length?d(a):[]}},54868:function(c,b,a){"use strict";var d=a(85893),e=a(67294),f=a(61782),g=function(a){var c=a.entry,b=a.isOpen,e=a.onToggle;return(0,d.jsxs)("div",{className:"flex flex-col rounded-lg border border-gray.200 bg-white overflow-hidden transition-shadow duration-300 hover:shadow-sm",children:[(0,d.jsxs)("button",{onClick:e,className:"flex items-center justify-between gap-4 py-4 px-5 md:px-6 text-left text-base md:text-lg font-semibold cursor-pointer transition-colors duration-300 ".concat(b?"bg-black text-white":"hover:bg-black hover:text-white"),children:[(0,d.jsx)("span",{children:c.title}),(0,d.jsx)(f.Z,{className:"w-5 h-5 shrink-0 transition-transform duration-300 ".concat(b?"rotate-180":"")})]}),b&&(0,d.jsx)("div",{className:"text-sm md:text-base text-gray.300 leading-relaxed px-5 md:px-6 py-4 border-t border-gray.200",children:(0,d.jsx)("div",{id:"strapi-editor",children:(0,d.jsx)("div",{dangerouslySetInnerHTML:{__html:c.description}})})})]})};b.Z=function(a){var b=a.faqLines,c=a.faqTitle,i=a.faqTitleColor,f=a.faqSubTitle,j=a.faqSubTitleColor,k=a.parentStyle,l=a.faqBgColor,h=(0,e.useState)(null),m=h[0],n=h[1],o=function(a){n(function(b){return b===a?null:a})};return b.length>0?(0,d.jsx)("section",{id:"faq-section",className:"w-full ".concat(k),style:{backgroundColor:l||"#ffffff"},children:(0,d.jsxs)("div",{className:"max-w-[1024px] mx-auto px-4 sm:px-6 lg:px-12 py-10 md:py-16",children:[c&&(0,d.jsx)("h2",{className:"text-2xl sm:text-3xl md:text-4xl font-semibold text-center mb-3",style:{color:i||"#000000"},children:c}),f&&(0,d.jsx)("p",{className:"text-center text-gray.300 mb-8 md:mb-12 max-w-xl mx-auto",style:{color:j||"#000000"},children:f}),(0,d.jsx)("div",{className:"flex flex-col gap-3",children:b.map(function(a){return(0,d.jsx)(g,{entry:a,isOpen:m===a.id,onToggle:function(){return o(a.id)}},a.id)})})]})}):null}},93988:function(c,b,a){"use strict";var d=a(85893);a(67294);var e=a(30719),f=a(88116),g=a(93463),h=a(37901),i=function(a){var b=a.rating;return(0,d.jsx)("div",{className:"flex gap-0.5",children:Array.from({length:5}).map(function(c,a){return(0,d.jsx)(h.Z,{className:"w-4 h-4 ".concat(a<b?"text-yellow-400":"text-gray.400")},a)})})};b.Z=function(b){var a=b.feedback,c=b.reviewTitle,h=b.reviewSubTitle,j=b.bgColor,k=b.titleColor,l=b.subtitleColor,m=(null==a?void 0:a.length)>0&&a.length<3,n=function(a){var b;return(0,d.jsxs)("article",{className:"relative w-full h-full min-h-[320px] bg-white border border-gray.200 p-6 lg:p-8 flex flex-col overflow-hidden shadow-lg",children:[(0,d.jsx)("div",{className:"absolute top-5 right-6 text-6xl leading-none text-gray.100 pointer-events-none",children:"\u201D"}),(0,d.jsxs)("div",{className:"relative flex flex-col gap-6 h-full",children:[(0,d.jsx)("div",{className:"flex justify-center",children:(0,d.jsx)(i,{rating:a.rating})}),(0,d.jsxs)("p",{className:"text-base md:text-lg text-primaryBlack leading-8 flex-1 min-h-[8rem] md:min-
1h-[9rem] pr-2",children:["\u201C",a.description,"\u201D"]}),(0,d.jsxs)("div",{className:"flex items-center gap-3 pt-5 mt-auto border-t border-gray.200",children:[(0,d.jsx)("div",{className:"w-11 h-11 rounded-full bg-primaryBlack text-white flex items-center justify-center text-sm font-semibold",children:(0,a.name).split(" ").map(function(a){return a[0].toUpperCase()}).join("")}),(0,d.jsx)("div",{className:"flex flex-col",children:(0,d.jsx)("span",{className:"text-sm font-semibold text-primaryBlack",children:a.name})})]})]})]})};return a.length>0?(0,d.jsx)("section",{id:"gift-card-reviews",className:"w-full min-h-[700px] py-12",style:{backgroundColor:j||"#fffff"},children:(0,d.jsxs)("div",{className:"max-w-7xl mx-auto px-4 lg:px-8 py-12 md:py-18",children:[(0,d.jsxs)("div",{className:"max-w-3xl mx-auto text-center mb-12 md:mb-14",children:[c&&(0,d.jsx)("h2",{className:"text-center text-5xl tracking-tight",style:{color:k||"#000000"},children:c}),h&&(0,d.jsx)("p",{className:"text-base md:text-lg leading-relaxed",style:{color:l||"#666666"},children:h})]}),m?(0,d.jsx)("div",{className:"mx-auto flex max-w-5xl flex-wrap justify-center gap-6",children:null==a?void 0:a.map(function(b){return(0,d.jsx)("div",{className:"w-full ".concat(1===a.length?"max-w-3xl":"md:max-w-[31rem]"),children:n(b)},b.id)})}):(0,d.jsx)(g.Z,{slidesPerView:1,spaceBetween:24,pagination:{clickable:!0},navigation:!0,modules:[f.W_,f.tl],breakpoints:{768:{slidesPerView:2},1025:{slidesPerView:3}},className:"mySwiper pb-12",children:null==a?void 0:a.map(function(a){return(0,d.jsx)(e.o5,{children:n(a)},a.id)})})]})}):null}},43315:function(c,b,a){"use strict";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}},51909:function(d,b,a){"use strict";a.d(b,{Z:function(){return h}});var e=a(85893),f=a(67294),c=a(44908),g=a.n(c);function h(b){var c=b.data,a=void 0===c?{}:c,o=b.giftcardPaymentURL,d=(0,f.useState)([]),l=d[0],p=d[1],h=(0,f.useState)([]),m=h[0],q=h[1],i=(0,f.useState)(null),r=i[0],s=i[1],j=(0,f.useState)(null),t=j[0],u=j[1],k=(0,f.useState)(1),n=k[0],v=k[1],w=a.variations,x={red:"#f2144d",purple:"#c314d9",green:"#c6e44e",blue:"#0dc7f8",orange:"#f88a0d",yellow:"#ffcd16"};(0,f.useEffect)(function(){y()},[]);var y=function(){if((null==w?void 0:w.length)&&!l.length){var a=g()(w.map(function(a){return a.color}));p(a),z(a[0])}},z=function(b){if(b!==r&&(s(b),null==w?void 0:w.length)){var a=w.filter(function(a){return a.color===b});q(a),t&&a.map(function(a){return a.value}).includes(t)||u(a[0].value)}};return(0,e.jsxs)("div",{className:"flex flex-col gap-y-6 pt-8",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{className:"text-md text-gray-900",children:a.colorLabel}),(0,e.jsx)("div",{className:"flex gap-4 pt-4",children:l.map(function(a){var b="";return a===r&&(b="border-[2px] border-neutral-900 p-[4px]"),(0,e.jsx)("div",{className:"w-[100px] h-[50px] cursor-pointer ".concat(b),onClick:function(){return z(a)},children:(0,e.jsx)("div",{className:"w-full h-full",style:{backgroundColor:x[a]}})},a)})})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{className:"text-md text-gray-900",children:a.valueLabel}),(0,e.jsx)("div",{className:"flex flex-col md:flex-row gap-4 pt-4",children:m.map(function(a){var b="";return a.value===t&&(b="border-neutral-900 p-[3px]"),(0,e.jsx)("div",{className:"h-[72px] px-6 cursor-pointer border-[2px] ".concat(b),onClick:function(){return u(a.value)},children:(0,e.jsx)("div",{className:"w-full h-full flex items-center justify-center text-xl font-medium",children:"".concat(a.value)})},a.variationId)})})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{className:"text-md text-gray-900",children:a.quantityLabel}),(0,e.jsxs)("div",{className:"flex gap-4 pt-6 items-center",children:[(0,e.jsx)("span",{className:"material-symbols-rounded icon-medium text-[1.8rem] text-gray-900 cursor-pointer select-none",onClick:function(){v(function(a){return Math.max(a-1,1)})},children:"remove"}),(0,e.jsx)("span",{className:"text-2xl font-medium w-16 text-center",children:n}),(0,e.jsx)("span",{className:"material-symbols-rounded icon-medium text-[1.8rem] text-gray-900 cursor-pointer select-none",onClick:function(){v(function(a){return a+1})},children:"add"})]})]}),function(){var b=null==w?void 0:w.find(function(a){return a.color===r&&a.value===t});if(b){var c="".concat(o,"/?add-to-cart=").concat(b.variationId,"&quantity=").concat(n);return(0,e.jsx)("a",{className:"flex justify-center mt-2 font-medium p-4 px-12 text-md border-[2px] border-gray-900 transform duration-300 ease-in hover:bg-gray-900 hover:text-white md:w-fit",href:c,children:a.buttonLabel})}}()]})}},48352:function(g,b,a){"use strict";a.d(b,{Z:function(){return N}});var h=a(85893),c=a(67294),i=a(27044),j=a(7371),k=function(a){var b=a.menuItems,c=a.menuButtonLink,g=void 0===c?"":c,d=a.displayButtonOnMenu,e=a.menuButtonLabel,f
1=void 0===e?"":e,i=function(a){return a.startsWith("http")},k=function(c){var a,b,d=(null===(b=null===(a=null==c?void 0:c.split("#").pop())|| void 0===a?void 0:a.split("?")[0])|| void 0===b?void 0:b.replace(/^\/+/,""))||"";return"gift-card-types"===d?"gift-card-type":d},l=function(b,a){if(i(a)){"BUTTON"===b.currentTarget.tagName&&window.open(a,"_blank","noopener,noreferrer");return}var c=k(a);c&&(b.preventDefault(),(0,j.cx)(c,window.innerWidth>=1024?220:160))};return(0,h.jsx)("nav",{className:"sticky top-[5rem] lg:top-[8rem] z-40 w-full bg-white border-b border-gray.200 shadow-sm",children:(0,h.jsx)("div",{className:"relative flex items-center justify-between lg:justify-center max-w-7xl mx-auto px-4 lg:px-12 py-3",children:(0,h.jsxs)("ul",{className:"flex flex-1 min-w-0 items-center gap-4 sm:gap-6 overflow-x-auto whitespace-nowrap scrollbar-hide pr-3 lg:pr-0 lg:flex-none",children:[(void 0===b?[]:b).map(function(a){return(0,h.jsx)("li",{children:i(null==a?void 0:a.link)?(0,h.jsx)("a",{href:a.link,target:"_blank",rel:"noreferrer",className:"text-base font-semibold text-gray.300 hover:text-black transition-colors duration-200 menu-item",children:a.title}):i(null==a?void 0:a.link)?null:(0,h.jsx)("a",{href:"#".concat(k(a.link)),onClick:function(b){return l(b,a.link)},className:"text-base font-semibold text-gray.300 hover:text-black transition-colors duration-200 menu-item",children:a.title})},a.title)}),void 0!==d&&d&&f&&g&&(0,h.jsx)("li",{children:(0,h.jsx)("button",{onClick:function(a){return l(a,g)},className:"shrink-0 font-semibold text-sm px-3 sm:px-3 lg:px-4 py-2 sm:py-2.5 bg-red.100 text-white border border-red.100 transform duration-300 ease-in hover:bg-black hover:border-black",children:f})},"button")]})})})},l=a(75426),m=a(73984),n=function(k){var b,c,d,e,a=k.mainBanner,g=(null==a?void 0:null===(b=a.image)|| void 0===b?void 0:b.hash)?"".concat(m.API_URL,"/uploads/").concat(null==a?void 0:null===(c=a.image)|| void 0===c?void 0:c.hash).concat(null==a?void 0:null===(d=a.image)|| void 0===d?void 0:d.ext):"",f=null==a?void 0:a.bgColor;return(0,h.jsx)("section",{id:"gift-card-hero",className:"w-full text-white ".concat(f?"":"bg-primaryBlack"),style:f?{backgroundColor:f}:void 0,children:(0,h.jsxs)("div",{className:"max-w-7xl mx-auto px-4 lg:px-12 py-16 md:py-24 grid grid-cols-1 md:grid-cols-2 gap-12 items-center",children:[(0,h.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,h.jsx)("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-semibold leading-tight tracking-tight",children:null==a?void 0:a.headline}),(0,h.jsx)("p",{className:"text-lg text-gray.400 max-w-lg",children:null==a?void 0:a.subHeadline}),(0,h.jsx)("div",{className:"flex flex-wrap gap-4 pt-2",children:null==a?void 0:null===(e=a.ctaButtons)|| void 0===e?void 0:e.map(function(a){var b,c,d,e,f=(0,h.jsx)("div",{id:"strapi-editor",dangerouslySetInnerHTML:{__html:a.value}}),g=a.redirectInside?j.oW[a.redirectInside]:null;return g?(0,h.jsx)("a",{className:"font-semibold p-3 px-6 bg border border-gray.200 transform duration-300 ease-in hover:bg-black mb-16",style:{backgroundColor:a.color},href:"#".concat(g),onClick:function(a){a.preventDefault(),(0,j.cx)(g)},children:f},a.id):(null===(b=a.link)|| void 0===b?void 0:b.startsWith("http://"))||(null===(c=a.link)|| void 0===c?void 0:c.startsWith("https://"))?(0,h.jsx)("a",{className:"font-semibold p-3 px-6 bg border border-gray.200 transform duration-300 ease-in hover:bg-black mb-16",style:{backgroundColor:a.color},target:"_blank",rel:"noopener noreferrer",href:null!==(d=a.link)&& void 0!==d?d:"#",children:f},a.id):(0,h.jsx)("a",{className:"font-semibold p-3 px-6 bg border border-gray.200 transform duration-300 ease-in hover:bg-black mb-16",style:{backgroundColor:a.color},href:null!==(e=a.link)&& void 0!==e?e:"#",children:f},a.id)})}),(null==a?void 0:a.trustBadge)&&(0,h.jsxs)("div",{className:"flex items-center gap-2 pt-2 text-sm text-gray.400",children:[(0,h.jsx)(l.Z,{className:"w-5 h-5 text-green.100"}),(0,h.jsx)("span",{children:null==a?void 0:a.trustBadge})]})]}),(0,h.jsx)("div",{className:"flex justify-center md:justify-end",children:(0,h.jsxs)("div",{className:"relative w-full max-w-sm",children:[(0,h.jsx)("div",{className:"absolute -inset-4 bg-gradient-to-br from-red.100/20 to-transparent roun
1ded-lg blur-2xl"}),g?(0,h.jsx)("div",{className:"relative w-full aspect-[1.6/1] rounded-lg overflow-hidden shadow-2xl border border-gray.200 transform rotate-[-6deg] md:rotate-[-8deg] transition-transform duration-500 ease-out hover:rotate-[-2deg]",children:(0,h.jsx)(i.Z,{image:g,alt:(null==a?void 0:a.headline)||"Gift Card",className:"w-full h-full object-cover"})}):(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("div",{className:"relative w-full aspect-[1.6/1] bg-gradient-to-br from-gray.300 via-primaryBlack to-gray.200 border border-gray.200 rounded-lg overflow-hidden shadow-2xl",children:[(0,h.jsxs)("div",{className:"absolute inset-0 flex flex-col justify-between p-6",children:[(0,h.jsxs)("div",{className:"flex justify-between items-start",children:[(0,h.jsx)("div",{className:"text-xs font-medium tracking-widest uppercase opacity-60",children:"Gift Card"}),(0,h.jsx)("div",{className:"w-10 h-10 rounded-full bg-red.100/80"})]}),(0,h.jsxs)("div",{children:[(0,h.jsx)("div",{className:"text-2xl font-semibold tracking-tight",children:"$50 \u2013 $500"}),(0,h.jsx)("div",{className:"text-xs opacity-50 mt-1 tracking-wide",children:"VALID AT ALL STORES"})]})]}),(0,h.jsx)("div",{className:"absolute top-0 right-0 w-32 h-32 bg-red.100/10 rounded-full -translate-y-1/2 translate-x-1/2"})]}),(0,h.jsx)("div",{className:"absolute -bottom-3 -right-3 w-full aspect-[1.6/1] bg-gradient-to-br from-gray.200 to-gray.300 border border-gray.200 rounded-lg -z-10 opacity-40"})]})]})})]})})};let d=c.forwardRef(function(a,b){return c.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:b},a),c.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 8v13m0-13V6a2 2 0 112 2h-2zm0 0V5.5A2.5 2.5 0 109.5 8H12zm-7 4h14M5 12a2 2 0 110-4h14a2 2 0 110 4M5 12v7a2 2 0 002 2h10a2 2 0 002-2v-7"}))});var o=d,p=a(61782),q=a(15254),r=function(a){var d=a.cardTypes,e=a.cardSectionSubHeading,f=a.cardSectionHeading,b=(0,c.useState)(null),g=b[0],i=b[1],j=(0,q.$G)("common").t,k=function(a){i(function(b){return b===a?null:a})};return(0,h.jsx)("section",{id:"gift-card-types",className:"w-full bg-white scroll-mt-[8rem] lg:scroll-mt-[12rem]",children:(0,h.jsxs)("div",{id:"gift-card-type",className:"max-w-7xl mx-auto px-4 lg:px-12 py-16 md:py-12 scroll-mt-[8rem] lg:scroll-mt-[12rem]",children:[(0,h.jsx)("h2",{className:"text-3xl md:text-4xl font-semibold text-center mb-4",children:f}),(0,h.jsx)("p",{className:"text-center text-gray.300 mb-12 max-w-2xl mx-auto",children:e}),(0,h.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 lg:gap-8",children:d.map(function(a,i){var b,c,d,e=g===a.id,f="".concat((null===(b=a.icon)|| void 0===b?void 0:b.hash)?"".concat(m.API_URL,"/uploads/").concat(null===(c=a.icon)|| void 0===c?void 0:c.hash).concat(null===(d=a.icon)|| void 0===d?void 0:d.ext):"");return(0,h.jsxs)("div",{id:"".concat(0===i?"personal":"business"),className:"border border-gray.200 flex flex-col transition-all duration-300 scroll-mt-[8rem] lg:scroll-mt-[12rem]",children:[(0,h.jsxs)("div",{className:"p-6 lg:p-8 flex flex-col gap-5 flex-1",children:[(0,h.jsxs)("div",{className:"flex items-center gap-3",children:[(0,h.jsx)("div",{className:"text-gray.300",children:f?(0,h.jsx)("img",{src:f,alt:a.title,className:"w-6 h-6"}):(0,h.jsx)(o,{className:"w-8 h-8 "})}),(0,h.jsxs)("div",{children:[(0,h.jsx)("h3",{className:"text-xl font-semibold",children:a.title}),(0,h.jsxs)("p",{className:"text-sm text-gray.300",children:[a.subtitle,a.termsAndConditionsLabel&&a.termsAndConditionsLink&&(0,h.jsxs)(h.Fragment,{children:[" - ",(0,h.jsx)("a",{href:a.termsAndConditionsLink,target:"_blank",rel:"noopener noreferrer",className:"text-blue-400 underline-offset-2 hover:text-black transition-colors duration-200",children:a.termsAndConditionsLabel})]})]})]})]}),(0,h.jsx)("ul",{className:"flex flex-col gap-3",children:a.list.map(function(a){return(0,h.jsxs)("li",{className:"flex items-center gap-2 text-sm text-gray.300",children:[(0,h.jsx)("span",{className:"w-1.5 h-1.5 rounded-full bg-red.100 shrink-0"}),(0,h.jsx)("span",{className:"",children:a.name})]},a.id)})}),e&&(0,h.jsx)("div",{className:"text-sm text-gray.300 leading-relaxed border-t border-gray.200 pt-5 mt-1",children:(0,h.jsx)("div",{id:"strapi-editor",dangerouslySetInnerHTML:{__html:a.description}})})]}),(0,h.jsxs)("div",{className:"border-t border-gray.200 p-6 lg:px-8 flex flex-col sm:flex-row items-center gap-4",children:[(0,h.jsxs)("button",{onClick:function(){return k(a.id)},className:"flex items-center gap-2 text-sm font-medium text-gray.300 hover:text-black transition-colors duration-200",children:[e?j("hide"):j("view"),(0,h.jsx)(p.Z,{className:"w-4 h-4 transition-transform duration-300 ".concat(e?"rotate-180":"")})]}),(null==a?void 0:a.buttonLabel)&&(null==a?void 0:a.buttonLink)&&(0,h.jsx)("a",{href:(null==a?void 0:a.buttonLink)?a.buttonLink:"#",target:(null==a?void 0:a.buttonLink)?"_blank":"",rel:"noopener noreferrer",className:"font-semibold text-sm px-6 py-3 bg-white border border-gray.200 transform duration-300 ease-in hover:bg-black hover:text-white text-center w-full sm:w-auto 
1sm:ml-auto",children:a.buttonLabel})]})]},a.id)})})]})})},s=a(58057),t=a(92592),u=function(l){var e,f,g,i,j,a=l.appIntegration,n=(0,c.useRef)(null),b=null==a?void 0:a.appleDownload,d=null==a?void 0:a.androidDownload,o=null==b?void 0:null===(e=b.image)|| void 0===e?void 0:e.url,p=null==b?void 0:b.href,q=null==b?void 0:b.isActive,r=null==d?void 0:d.isActive,u=null==d?void 0:null===(f=d.image)|| void 0===f?void 0:f.url,v=null==d?void 0:d.href;(0,c.useEffect)(function(){n.current&&(null==a?void 0:a.qrCodeLnk)&&t.toCanvas(n.current,a.qrCodeLnk,{width:128})},[null==a?void 0:a.qrCodeLnk]);var k=(null==a?void 0:null===(g=a.image)|| void 0===g?void 0:g.url)?"".concat(m.API_URL).concat(null==a?void 0:null===(i=a.image)|| void 0===i?void 0:i.url):"",w=(null==a?void 0:null===(j=a.image)|| void 0===j?void 0:j.alt)||(null==a?void 0:a.title)||"SPOT App";return(0,h.jsx)("section",{id:"spot",className:"w-full bg-white.100 min-h-[700px] py-12",children:(0,h.jsxs)("div",{className:"max-w-7xl mx-auto px-4 lg:px-8 py-12 md:py-18 grid grid-cols-1 md:grid-cols-2 gap-12 lg:gap-16 items-center",children:[k?(0,h.jsxs)("div",{className:"flex justify-center order-2 md:order-1",children:[(0,h.jsx)("div",{className:"absolute inset-0 translate-y-6 scale-95 rounded-[2.75rem] bg-primaryBlack/10 blur-2xl -z-10"}),(0,h.jsxs)("div",{className:"relative w-64 h-[500px] bg-primaryBlack rounded-[2.5rem] border-4 border-gray.300 shadow-2xl overflow-hidden",children:[(0,h.jsx)("img",{className:"absolute inset-0 w-full h-full object-cover",src:k,alt:w}),(0,h.jsx)("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-24 h-6 bg-primaryBlack rounded-b-2xl z-10"})]})]}):(0,h.jsx)("div",{className:"flex justify-center order-2 md:order-1",children:(0,h.jsxs)("div",{className:"relative",children:[(0,h.jsx)("div",{className:"absolute inset-0 translate-y-6 scale-95 rounded-[2.75rem] bg-primaryBlack/10 blur-2xl -z-10"}),(0,h.jsxs)("div",{className:"relative w-64 h-[500px] bg-primaryBlack rounded-[2.5rem] border-4 border-gray.300 shadow-2xl overflow-hidden",children:[(0,h.jsx)("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-32 h-6 bg-primaryBlack rounded-b-2xl z-20"}),(0,h.jsxs)("div",{className:"absolute inset-2 rounded-[2rem] bg-white overflow-hidden",children:[(0,h.jsx)("div",{className:"h-10 bg-white"}),(0,h.jsxs)("div",{className:"px-5 py-3 border-b border-gray.200/50",children:[(0,h.jsx)("div",{className:"text-xs font-semibold text-gray.300 tracking-wider uppercase",children:"SPOT App"}),(0,h.jsx)("div",{className:"text-lg font-semibold mt-0.5",children:"My Gift Card"})]}),(0,h.jsxs)("div",{className:"mx-4 mt-4 p-5 bg-gradient-to-br from-primaryBlack to-gray.300 rounded-xl text-white",children:[(0,h.jsx)("div",{className:"text-xs opacity-60 tracking-wide",children:"CURRENT BALANCE"}),(0,h.jsx)("div",{className:"text-3xl font-semibold mt-1",children:"$247.50"}),(0,h.jsx)("div",{className:"text-xs opacity-40 mt-2",children:"**** **** **** 4829"})]}),(0,h.jsxs)("div",{className:"px-4 mt-5",children:[(0,h.jsx)("div",{className:"text-xs font-medium text-gray.300 mb-3",children:"Quick Actions"}),(0,h.jsx)("div",{className:"space-y-2",children:["Top up card","Transaction history","SPOT Points"].map(function(a){return(0,h.jsxs)("div",{className:"flex items-center justify-between px-3 py-2.5 bg-white.100 rounded-lg",children:[(0,h.jsx)("span",{className:"text-xs font-medium",children:a}),(0,h.jsx)("span",{className:"text-gray.400 text-xs",children:"\u2192"})]},a)})})]}),(0,h.jsx)("div",{className:"mx-4 mt-4 px-4 py-3 border border-red.100/20 bg-red.100/5 rounded-lg",children:(0,h.jsxs)("div",{className:"flex items-center gap-2",children:[(0,h.jsx)("div",{className:"w-6 h-6 rounded-full bg-red.100 flex items-center justify-center",children:(0,h.jsx)("span",{className:"text-white text-xs font-bold",children:"S"})}),(0,h.jsxs)("div",{children:[(0,h.jsx)("div",{className:"text-xs font-semibold",children:"1,240 SPOT Points"}),(0,h.jsx)("div",{className:"text-[10px] text-gray.300",children:"Premium member"})]})]})})]})]}),(0,h.jsx)("div",{className:"absolute -inset-8 bg-red.100/5 rounded-full blur-3xl -z-10"})]})}),(0,h.jsxs)("div",{className:"flex flex-col gap-6 order-1 md:order-2",children:[(null==a?void 0:a.appName)&&(0,h.jsxs)("div",{className:"inline-flex items-center gap-2 px-3 py-1.5 bg-red.100/10 text-red.100 text-xs font-semibold rounded-full w-fit",children:[(0,h.jsx)("span",{className:"w-1.5 h-1.5 rounded-full bg-red.100"}),a.appName]}),(0,h.jsx)("h2",{className:"text-3xl md:text-4xl font-semibold leading-tight",children:null==a?void 0:a.title}),(0,h.jsx)("div",{id:"strapi-editor",children:(0,h.jsx)("div",{dangerouslySetInnerHTML:{__html:null==a?void 0:a.description}})}),(0,h.jsx)("ul",{className:"flex flex-col gap-3 pt-2",children:null==a?void 0:a.list.map(function(a){return(0,h.jsxs)("li",{className:"flex items-center gap-3",children:[(0,h.jsx)("div",{className:"w-5 h-5 rounded-full bg-green.100/10 flex items-center justify-center shrink-0",children:(0,h.jsx)(s.Z,{className:"w-3 h-3 text-green.100"})}),(0,h.jsx)("span",{className:"text-sm text-gray.300",children:null==a?void 0:a.name})]},a.id)})}),(0,h.jsxs)("div",{className:"flex flex-wrap gap-3 pt-4",children:[q&&(0,h.jsx)("a",{target:"_blank",href:p,className:"w-[148px] hover:opacity-[70%]",rel:"noreferrer",children:(0,h.jsx)("img",{className:"w-full h-full object-fit",src:"".concat(m.API_URL).concat(o),alt:(null==b?void 0:b.name)||"Download on the App Store"})}),r&&(0,h.jsx)("a",{target:"_blank",href:v,className:"w-[148px] hover:opacity-[70%]",rel:"noreferrer",children:(0,h.jsx)("img",{className:"w-full h-full object-fit",src:"".concat(m.API_URL).concat(u),alt:(null==d?void 0:d.name)||"Get it on Google Play"})})]}),(0,h.jsx)("div",{className:"flex items-center gap-4 pt-2",children:(0,h.jsx)("canvas",{ref:n})})]})]})})},e=a(34051),v=a.n(e),w=a(71335),x=a(96652),y=a(1968),z=a(11163),f=a(41664),A=a.n(f);function B(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}function C(c,d,e,f,g,h,i){try{var a=c[h](i),b=a.value}catch(j){e(j);return}a.done?d(b):Promise.resolve(b).then(f,g)}function D(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}
1function E(a){return function(a){if(Array.isArray(a))return B(a)}(a)||function(a){if("undefined"!=typeof Symbol&&null!=a[Symbol.iterator]||null!=a["@@iterator"])return Array.from(a)}(a)||F(a)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function F(a,c){if(a){if("string"==typeof a)return B(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 B(a,c)}}var G=function(d){var e,f,g,i,r,s,m=d.title,n=d.seeAllLabel,a=d.menuData,k=(0,q.$G)("common").t,o=(0,c.useState)({page:1,pageCount:1,pageSize:12,total:1}),l=o[0],G=o[1],p=(0,c.useState)([]),b=p[0],H=p[1],t=null==a?void 0:a.href,u=null===(f=null==a?void 0:null===(e=a.menu_sub_categories)|| void 0===e?void 0:e.at(0))|| void 0===f?void 0:null===(g=f.menu_cat_specialties)|| void 0===g?void 0:g.length,B=null==a?void 0:a.categorySlug,F=u?"?".concat(k("category"),"=").concat(null==a?void 0:null===(i=a.menu_sub_categories)|| void 0===i?void 0:i.at(0).subCategorySlug):"",I=(0,z.useRouter)();(0,c.useEffect)(function(){J()},[l.page]);var J=(s=(r=v().mark(function a(){var b,c,d;return v().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=3,x.d.getGiftCardTenants(I.locale,l);case 3:d=a.sent,H(function(b){var a;return E(b).concat(E(null===(a=d.tenants)|| void 0===a?void 0:a.data))}),G(null==d?void 0:null===(b=d.tenants)|| void 0===b?void 0:null===(c=b.meta)|| void 0===c?void 0:c.pagination);case 6:case"end":return a.stop()}},a)}),function(){var a=this,b=arguments;return new Promise(function(d,e){var f=r.apply(a,b);function c(a){C(f,d,e,c,g,"next",a)}function g(a){C(f,d,e,c,g,"throw",a)}c(void 0)})}),function(){return s.apply(this,arguments)});return(0,h.jsx)("section",{id:"gift-card-tenants",className:"w-full bg-white",children:(0,h.jsxs)("div",{className:"max-w-7xl mx-auto px-4 lg:px-8 py-12 md:py-18",children:[(0,h.jsxs)("div",{className:"mb-8 flex flex-col gap-4 md:flex-row md:items-center md:justify-between",children:[m&&(0,h.jsx)("h2",{className:"mx-auto max-w-[12ch] text-center text-2xl font-semibold leading-tight sm:text-3xl md:mx-0 md:max-w-none md:text-left md:text-4xl",children:m}),n&&(0,h.jsx)(A(),{href:"".concat(k("url.".concat(t)),"/").concat(B).concat(F),passHref:!0,children:(0,h.jsxs)("a",{className:"flex w-full items-center justify-center gap-2 border border-gray.200 px-5 py-3 text-center font-semibold transition-colors duration-300 ease-in hover:bg-black hover:text-white sm:w-auto md:shrink-0",children:[(0,h.jsx)("span",{children:n}),(0,h.jsx)(w.Z,{className:"w-4 h-4"})]})})]}),(null==b?void 0:b.length)>0&&(0,h.jsx)("ul",{className:"list-none grid grid-cols-2 md:grid-cols-4 lg:grid-cols-6 w-full py-8 bg-white",children:null==b?void 0:b.map(function(a){var b,c,d,e,f=null==a?void 0:null===(b=a.logo)|| void 0===b?void 0:b.hash,g=null==a?void 0:null===(c=a.logo)|| void 0===c?void 0:c.ext,i=null==a?void 0:a.slug,k=null==a?void 0:a.id,l=null==a?void 0:null===(d=a.menu_category)|| void 0===d?void 0:d.categorySlug,m=null==a?void 0:null===(e=a.menu_sub_category)|| void 0===e?void 0:e.subCategorySlug,n=(0,j.je)(a);return(0,h.jsx)("li",{className:"p-4",children:(0,h.jsx)(y.Z,{tenantName:null==a?void 0:a.name,href:(0,j.NM)(l,i,m,n,I.locale),hash:f,ext:g})},k)})}),l.page<l.pageCount&&(0,h.jsx)("div",{className:"flex justify-center mt-6",children:(0,h.jsx)("button",{className:"w-fit font-semibold border border-gray.200 ease-in duration-200 p-3 px-6 hover:bg-black hover:text-white",onClick:function(){G(function(a){return function(d){for(var a=1;a<arguments.length;a++){var c=null!=arguments[a]?arguments[a]:{},b=Object.keys(c);"function"==typeof Object.getOwnPropertySymbols&&(b=b.concat(Object.getOwnPropertySymbols(c).filter(function(a){return Object.getOwnPropertyDescriptor(c,a).enumerable}))),b.forEach(function(a){D(d,a,c[a])})}return d}({},a,{page:a.page+1})})},children:k("loadMore")})})]})})},H=a(43315),I=a(51909),J=a(11250),K=a(93988),L=a(20141),M=a(54868),N=function(z){var g,j,l,m,o,p,q,s,t,v,w,x,b=z.props,a=null==b?void 0:null===(g=b.giftCardData)|| void 0===g?void 0:null===(j=g.giftCardData)|| void 0===j?void 0:j.data,A=null==b?void 0:null===(l=b.staticData)|| void 0===l?void 0:null===(m=l.menuData)|| void 0===m?void 0:m.find(function(a){return"/tenants"===a.href}),c=null==a?void 0:a.section,N=null!==(x=null==a?void 0:a.ctabuttons)&& void 0!==x?x:[],O=null==b?void 0:b.hasGiftcardIntegration,P=null==b?void 0:b.giftcardPaymentURL,B=null==a?void 0:a.giftcardSection,d=null==a?void 0:a.mobileMedia,y=(0,L.o)().mobile,C=y&&(null==d?void 0:d.hash)?d.hash:null==a?void 0:null===(o=a.media)|| void 0===o?void 0:o.hash,D=y&&(null==d?void 0:d.ext)?d.ext:null==a?void 0:null===(p=a.media)|| void 0===p?void 0:p.ext,E=null==c?void 0:c.find(function(a){return(null==a?void 0:a.role)==="giftcard"}),e=null==b?void 0:null===(q=b.staticData)|| void 0===q?void 0:null===(s=q.seoData)|| void 0===s?void 0:s.seo,f=null==a?void 0:a.seo,Q=function(a){var b,c,d,e=(null===(b=a.link)|| void 0===b?void 0:b.startsWith("http://"))||(null===(c=a.link)|| void 0===c?void 0:c.startsWith("https://"));return(0,h.jsx)("a",{className:"font-semibold p-3 px-6 bg border border-gray.200 transform duration-300 ease-in hover:bg-black mb-16",style:{backgroundColor:a.color},target:e?"_blank":"_self",rel:e?"noopener noreferrer":"noreferrer",href:null!==(d=a.link)&& void 0!==d?d:"#",children:(0,h.jsx)("div",{id:"strapi-editor",dangerouslySetInnerHTML:{__html:a.value}})})},F=(null==a?void 0:a.useEditableBanner)===null||(null==a?void 0:a.useEditableBanner)=== !0;return(0,h.jsxs)("section",{className:"flex flex-col items-center justify-center h-fit w-full",children:[(0,h.jsx)(J.Z,{title:(null==f?void 0:f.metaTitle)||(null==e?void 0:e.metaTitle),description:(null==f?void 0:f.metaDescription)||(null==e?void 0:e.metaDescription),keywords:(null==f?void 0:f.keywords)||(null==e?void 0:e.keywords)}),(0,h.jsx)(k,{menuItems:null==a?void 0:a.menuItems,menuButtonLink:null==a?void 0:a.menuButtonLink,displayButtonOnMenu:null==a?void 0:a.displayButtonOnMenu,menuButtonLabel:null==a?void 0:a.menuButtonLabel}),(null==a?void 0:a.mainBanner)&&F?(0,h.jsx)(n,{mainBanner:null==a?void 0:a.mainBanner}):(0,h.jsx)("div",{className:"flex flex-col w-full max-w-7xl lg:px-12",children:(0,h.jsx)("div",{className:"relative overflow-hidden min-h-[210px] h-[calc(100vw*0.4)] max-h-[800px]",children:(0,h.jsx)(i.Z,{url:C,ext:D,className:"w-full h-full object-cover",priority:!0,isContain:y})})}),(null==a?void 0:null===(t=a.cardTypes)|| void 0===t?void 0:t.length)>0?(0,h.jsx)(r,{cardTypes:null==a?void 0:a.cardTypes,cardSectionHeading:null==a?void 0:a.cardSectionHeading,cardSectionSubHeading:null==a?void 0:a.cardSectionSubHeading}):null,(null==c?void 0:c.length)>0&&E&&B&&(0,h.jsx)("section",{id:"gift-card-old",className:"w-full bg-white scroll-mt-[8rem] lg:scroll-mt-[12rem]",children:(0,h.jsx)("div",{className:"max-w-7xl mx-auto px-2 lg:px-12 py-8 md:py-6",children:(0,h.jsx)("div",{className:"w-full md:col-span-2 col-span-1 flex flex-col order-2 md:order-none overflow-x-auto",children:(0,h.jsx)("ul",{className:"flex flex-col gap-12 col-span-2",children:null==c?void 0:c.map(function(a){var b,c=N.find(function(b){return b.title===(null==a?void 0:a.heading)}),d=!!O&&!!P&&!!B&&"giftcard"===a.role;return d?(0,h.jsxs)("li",{id:null==a?void 0:a.heading,className:"overflow-x-auto overflow-y-hidden",children:[(0,h.jsx)("div",{id:"strapi-editor",dangerouslySetInnerHTML:{__html:null==a?void 0:a.description}}),(0,h.jsx)("div",{className:"flex space-x-4 pt-2",children:null==c?void 0:null===(b=c.buttons)|| void 0===b?void 0:b.filter(function(a){return a.display}).map(function(a){return Q(a)})}),!!d&&(0,h.jsx)(I.Z,{data:B,giftcardPaymentURL:P})]},null==a?void 0:a.heading):null})})})})}),(null==a?void 0:a.appIntegration)&&(0,h.jsx)(u,{appIntegration:null==a?void 0:a.appIntegration}),(null==a?void 0:null===(v=a.feedback)|| void 0===v?void 0:v.length)>0&&(0,h.jsx)(K.Z,{feedback:(null==a?void 0:a.feedback)||[],reviewTitle:null==a?void 0:a.reviewTitle,reviewSubTitle:null==a?void 0:a.reviewSubTitle}),(null==a?void 0:a.youtubeVideoUrl)&&(0,h.jsx)("div",{className:"w-full aspect-video",id:"youtube-section",children:(0,h.jsx)(H.Z,{videoUrl:null==a?void 0:a.youtubeVideoUrl})}),(0,h.jsx)(G,{title:null==a?void 0:a.tenantTitle,seeAllLabel:null==a?void 0:a.seeMoreTenants,menuData:A}),(null==a?void 0:null===(w=a.faq_lines)|| void 0===w?void 0:w.length)>0&&(0,h.jsx)(M.Z,{faqLines:(null==a?void 0:a.faq_lines)||[],faqTitle:null==a?void 0:a.faqTitle,faqSubTitle:null==a?void 0:a.faqSubTitle,parentStyle:"min-h-[700px] py-12"})]})}},71335:function(e,a,b){"use strict";var c=b(67294);let d=c.forwardRef(function(a,b){return c.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:b},a),c.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14 5l7 7m0 0l-7 7m7-7H3"}))});a.Z=d}}])

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.