1"use strict";(globalThis.webpackChunkbodytalk_front=globalThis.webpackChunkbodytalk_front||[]).push([[9243],{9741(e,t,s){function n(e){return null==e||0==e.length?null:e.replace("_S.","_L.")}function i(e){return null==e||0==e.length?null:e.replace("_S.","_M.")}function l(e){return null==e||0==e.length?null:e.replace("_L.","_M.")}function r(e){return null==e||0==e.length?null:e.replace("_S.",".")}function a(e){return null==e||0==e.length?null:e.replace("_L.",".")}s.d(t,{Th:()=>r,Tq:()=>n,YS:()=>a,_4:()=>i,r0:()=>l})},6181(e,t,s){s.d(t,{A:()=>f});var n=s(3293),i=s(4778),l=s(7689),r=s(1130),a=s(1767),o=s(738),c=s(257),d=s(6092),u=s(8601),h=s(1826),m=s(7018),p=s(619),x=s(2016),g=s(5758),v=s(8615),j=s(4092),b=s(2292),w=s(3689);function f(e){const[t,s]=(0,n.useState)([]),[f,N]=(0,n.useState)(""),[_,k]=(0,n.useState)([]),[y,S]=(0,n.useState)(!1),[E,L]=(0,n.useState)(m),[C,M]=(0,n.useState)(m),[A,I]=(0,n.useState)(0),[P,T]=(0,n.useState)(0),[B,z]=(0,n.useState)(0),O=(0,l.wA)(),{t:F}=(0,i.B)(),q=(0,l.d4)(e=>e.layoutReducer.handledProduct);(0,n.useEffect)(()=>{null!==q.productId&&q.productId===e.product.id&&S(q.active)},[q,e.product.id]),(0,n.useEffect)(()=>{var t;const s=(0,d.Aq)(e.product.dimensions).slice().sort((e,t)=>void 0===e.dsc?1:void 0===t.dsc?-1:t.dsc-e.dsc);k(s);const n=(0,d.K3)(e.product||{});L(null!==(t=n.at(0))&&void 0!==t?t:m),M(n.at(1)),S(e.product.inwishlist),c.A.isAuthenticated()||S(a.A.find(e.product.id))},[e.product.id]),(0,n.useEffect)(()=>{if(_.length>0){const t=_[0],n=(0,d.Cz)(e.product.dimensions,t.cvtxt);N(t.cval),s(n),W(n,t)}else s(e.product.dimensions)},[_]),(0,n.useEffect)(()=>{let t=0;var s;f&&(t=null===(s=e.product.dimensions.find(e=>e.cval==f))||void 0===s?void 0:s.id);let n=(0,d.th)(e.product,t),i=(0,d.nf)(e.product,t),l=(0,d.xM)(e.product,t);I(n),T(i),z(l)},[e.product.id,f]);const W=(e,t)=>{let s=[];for(let n=0;n<e.length;n++){let t=e[n];if(s=(0,d.K3)(t),s.length>1)break}s.length>1?(L(s[0]),M(s[1])):1===s.length&&(L(s[0]),M(null))},$=t=>{const s=(0,d.kB)(e.product,t.id);!s||s<=0?(0,h.UG)(F("zero_price")):(O((0,p.FK)({pid:e.product.id,dimension:0==e.product.dimensions.length?0:t.id,quantity:1,product:e.product})),(0,u.zJ)(c.A.getEmail(),e.product,o.A.getItems()),window.innerWidth>900&&(O((0,p.bN)(!0)),document.body.classList.add("cart-open"),setTimeout(()=>{document.body.classList.remove("cart-open"),O((0,p.bN)(!1))},2e3)),(0,h.uA)(F("added_to_cart")),(0,v.gg)(e.product,t.id,1),(0,g.fu)(e.product),(0,b.F0)(e.product),(0,j.vm)(e.product,t.id,1))};return(0,w.jsxs)("div",{className:"product-box",id:e.product.id,children:[(0,w.jsx)("button",{type:"button",className:"add-wish",onClick:()=>{if(c.A.isAuthenticated())O((0,x.uw)({productId:e.product.id})),document.body.classList.add("overflow");else{let t="";"added"===a.A.addOrRemove(e.product)?(t=F("product_added_to_wishlist_guest"),S(!0)):(t=F("product_removed_from_wishlist_guest"),S(!1)),(0,h.uA)(t)}},"aria-label":y?"\u0391\u03c6\u03b1\u03af\u03c1\u03b5\u03c3\u03b7 \u03b1\u03c0\u03cc \u03c4\u03b1 \u03b1\u03b3\u03b1\u03c0\u03b7\u03bc\u03ad\u03bd\u03b1":"\u03a0\u03c1\u03bf\u03c3\u03b8\u03ae\u03ba\u03b7 \u03c3\u03c4\u03b1 \u03b1\u03b3\u03b1\u03c0\u03b7\u03bc\u03ad\u03bd\u03b1","aria-pressed":y,children:(0,w.jsx)("svg",{className:y?"active":"",xmlns:"http://www.w3.org/2000/svg",width:"14.646",height:"12.902",viewBox:"0 0 14.646 12.902",children:(0,w.jsx)("path",{d:"M14.917,5.549a3.59,3.59,0,0,0-5.079,0l-.692.692-.692-.692a3.591,3.591,0,1,0-5.079,5.079l.692.692L9.146,16.4l5.079-5.079.692-.692a3.59,3.59,0,0,0,0-5.079Z",transform:"translate(-1.823 -3.997)",fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1"})})}),(0,w.jsxs)("div",{className:"prod-img",children:[(0,w.jsxs)(r.N_,{to:e.product.eurl,onClick:()=>(0,j.ej)(e.product,e.idx,e.listName),children:[(0,w.jsx)("img",{src:E,alt:e.product.nm,width:"282",height:"385",loading:"lazy",style:{width:"100%",height:"auto"}}),C?(0,w.jsx)("img",{className:"on-hover",src:C,alt:e.product.nm,width:"282",height:"385",loading:"lazy"}):null]}),t.length>0?(0,w.jsxs)("div",{className:"quick-buy btn-hover flex-col",children:[(0,w.jsx)("span",{children:"Qu
1ick buy"}),(0,w.jsx)("div",{className:"prod-dim flex-col",children:(t=>null!=t&&t.length>0?(t.sort((e,t)=>e.si-t.si),t.map((t,s)=>(0,w.jsx)("button",{type:"button",disabled:!t.qty||t.qty<=0,onClick:()=>$(t),children:t.svtxt},e.product.id+"-"+s))):null)(t)})]}):(0,w.jsx)("button",{type:"button",onClick:()=>$(e.product),className:"quick-buy flex-col",children:(0,w.jsx)("span",{children:"Quick buy"})})]}),(0,w.jsxs)("div",{className:"prod-details",children:[(()=>{var t;let s=null===(t=e.product.stslst)||void 0===t?void 0:t.filter(e=>!0===e.iv);return s&&0!==s.length?(s.sort((e,t)=>e.si-t.si),s=s.map(e=>e.snm.normalize("NFD").replace(/[\u0300-\u036f]/g,"")),(0,w.jsx)("div",{className:"product-statuses",children:s.map(e=>(0,w.jsx)("span",{children:e},e))})):null})(),(0,w.jsxs)("div",{className:"flex-col",children:[(0,w.jsxs)("div",{children:[(0,w.jsx)("h4",{"aria-level":"3",children:e.product.nm}),(0,w.jsx)("div",{className:"prod-colors flex-col",children:(D=e.product.dimensions,null!=D&&D.length>1?_.map((t,n)=>(0,w.jsxs)("div",{children:[(0,w.jsx)("label",{htmlFor:t.id,style:{backgroundColor:t.chex}}),(0,w.jsx)("input",{type:"checkbox",id:t.id,onChange:()=>(t=>{const n=(0,d.Cz)(e.product.dimensions,t.cvtxt);s(n),N(t.cval),W(n,t)})(t),checked:t.cval==f,style:{backgroundColor:t.chex},"aria-label":`\u03a7\u03c1\u03ce\u03bc\u03b1 ${t.cval}`})]},n)):null)})]}),(0,w.jsx)("div",{className:"prod-price",children:(0,w.jsxs)("div",{children:[P&&(0,w.jsx)("span",{children:P}),A]})})]})]})]});var D}},667(e,t,s){s.r(t),s.d(t,{default:()=>B});var n=s(3293),i=s(7689),l=s(5955),r=s(3689);function a(){const[e,t]=(0,n.useState)({});return(0,n.useEffect)(()=>{(0,l.K9)("footer-boxes").then(e=>{t(e)}).catch(e=>console.error(e))},[]),(0,r.jsx)("div",{id:"footer-top-boxes",dangerouslySetInnerHTML:{__html:null===e||void 0===e?void 0:e.bd}})}var o=s(1130),c=s(9741);const d=()=>{const[e,t]=(0,n.useState)([]);return(0,n.useEffect)(()=>{(0,l.yM)("DoubleBanner").then(e=>{t(e.items)}).catch(e=>{console.log(e)})},[]),0===e.length?null:(0,r.jsx)("section",{id:"double-banner",children:e.map(e=>{var t,s,n,i;return e.nu?(0,r.jsx)(o.N_,{className:"banner-item",to:e.nu,children:(0,r.jsxs)("picture",{children:[(0,r.jsx)("source",{media:"(max-width:480px)",src:null!==(n=(0,c.r0)(e.img2))&&void 0!==n?n:e.img1,srcSet:null!==(i=(0,c.r0)(e.img2))&&void 0!==i?i:e.img1}),(0,r.jsx)("img",{src:(0,c.r0)(e.img1),alt:"",height:"960",width:"960"}),(0,r.jsx)("div",{className:"title-container",children:(0,r.jsx)("h3",{children:e.tl})})]})},e.id):(0,r.jsx)("div",{className:"banner-item",children:(0,r.jsxs)("picture",{children:[(0,r.jsx)("source",{media:"(max-width:480px)",src:null!==(t=(0,c.r0)(e.img2))&&void 0!==t?t:e.img1,srcSet:null!==(s=(0,c.r0)(e.img2))&&void 0!==s?s:e.img1}),(0,r.jsx)("img",{src:(0,c.r0)(e.img1),alt:"",height:"960",width:"960"}),(0,r.jsx)("div",{className:"title-container",children:(0,r.jsx)("h3",{children:e.tl})})]})},e.id)})})};var u={delay:4e3,playOnInit:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1};function h(e,t){var s,n=Object.assign({},u,h.globalOptions,e),i=n.playOnInit,l=n.stopOnInteraction,r=n.stopOnMouseEnter,a=n.stopOnLastSnap,o=n.delay,c=l?m:x,d=0;function m(){s.off("pointerDown",c),l||s.off("pointerUp",g),x(),d=0}function p(){x(),d=window.setTimeout(v,o)}function x(){d&&window.clearTimeout(d)}function g(){d&&(x(),p())}function v(){var e=s.internalEngine().index;if(a&&e.get()===e.max)return m();s.canScrollNext()?s.scrollNext():s.scrollTo(0),p()}return{name:"Autoplay",options:n,init:function(e){var n=(s=e).internalEngine().eventStore,a=s.rootNode(),o=t&&t(a)||a;s.on("pointerDown",c),l||s.on("pointerUp",g),r&&(n.add(o,"mouseenter",c),l||n.add(o,"mouseleave",g)),n.add(document,"visibilitychange",function(){if("hidden"===document.visibilityState)return x();g()}),n.add(window,"pagehide",function(e){e.persisted&&x()}),i&&p()},destroy:m,play:p,stop:x,reset:g}}h.globalOptions=void 0;const m=h;var p=s(2409),x=s(4778),g=s(8884),v=s(7597);const j=()=>{const{t:e}=(0,x.B)(),[t,s]=(0,n.useState)(m({delay:5e3,stopOnInteraction:!1,stopOnMouseEnter:!1},e=>e.parentElement)),[i,a]=(0,p.A)({loop:!0}
1,[t]),[d,u]=(0,n.useState)(!0),h=(0,v.Zp)(),[j,b]=(0,n.useState)([]),[w,f]=(0,n.useState)({prev:"",next:""}),{width:N}=function(){const[e,t]=(0,n.useState)({width:void 0,height:void 0});return(0,n.useEffect)(()=>{function e(){t({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)},[]),e}(),_=(0,n.useCallback)(()=>{a&&S(a.selectedScrollSnap())},[a]),k=(0,n.useCallback)(()=>{a&&a.scrollPrev(),t.reset()},[a]),y=(0,n.useCallback)(()=>{a&&a.scrollNext(),t.reset()},[a]),S=e=>{const t=j.length;t<2||f(0!==e?e+1!==t?{prev:j[e-1].tl,next:j[e+1].tl}:{prev:j[e-1].tl,next:j[0].tl}:{prev:j[t-1].tl,next:j[e+1].tl})};if((0,n.useEffect)(()=>{u(!0),(0,l.yM)("HeroSlider").then(e=>{b(e.items);const t=e.items.find(e=>e.video_url);s(m({delay:t?35e4:5e3,stopOnInteraction:!1,stopOnMouseEnter:!1},e=>e.parentElement)),u(!1)}).catch(e=>{u(!1),console.log(e)})},[]),(0,n.useEffect)(()=>{a&&(_(),a.on("select",_))},[a]),d)return(0,r.jsx)(g.zN,{});if(0===j.length)return(0,r.jsx)("canvas",{width:"1440",height:"805",id:"slider_placeholder"});const E=e=>{if(e.video_url){let s=e.video_url;var t;if(N<=480)s=null!==(t=e.video_url_mobile)&&void 0!==t?t:e.video_url;return(0,r.jsxs)("div",{className:"home-video",children:[(0,r.jsx)("iframe",{src:"https://www.youtube.com/embed/"+s+`?rel=0&version=3&autoplay=1&modestbranding=1&autohide=1&controls=0&showinfo=0&playlist=${s}&loop=1&mute=1&disablekb=1&fs=0`,width:1920,height:1080,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:null!==e&&void 0!==e&&e.tl&&""!==e.tl.trim()?e.tl:"Video banner"}),(0,r.jsx)(o.N_,{to:e.nu,target:e.ut,className:"banner-cta see-more",children:e.rct&&""!==e.rct?e.rct:"Show More"})]})}var s,n,i,l;return e.nu?(0,r.jsx)(o.N_,{to:e.nu,className:"viewall-button banner-item",href:h,children:(0,r.jsxs)("picture",{children:[(0,r.jsx)("source",{media:"(max-width:480px)",src:null!==(s=(0,c.YS)(e.img2))&&void 0!==s?s:e.img1,srcSet:null!==(n=(0,c.YS)(e.img2))&&void 0!==n?n:e.img}),(0,r.jsx)("img",{src:e.img1,alt:e.tl})]})},e.id):(0,r.jsxs)("picture",{children:[(0,r.jsx)("source",{media:"(max-width:480px)",src:null!==(i=(0,c.YS)(e.img2))&&void 0!==i?i:e.img1,srcSet:null!==(l=(0,c.YS)(e.img2))&&void 0!==l?l:e.img}),(0,r.jsx)("img",{src:e.img1,alt:e.tl})]})};return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"embla homepage-slider",children:[(0,r.jsx)("div",{className:"embla__viewport",ref:i,children:(0,r.jsx)("div",{className:"embla__container",children:j.map(e=>(0,r.jsx)("div",{className:"embla__slide",children:E(e)},e.id))})}),j.length>1&&a?(0,r.jsxs)("div",{className:"embla_controls",children:[(0,r.jsxs)("button",{className:"embla_control embla__prev",onClick:k,title:"Previous",children:[(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"7.095",height:"12.69",viewBox:"0 0 7.095 12.69",children:(0,r.jsx)("path",{id:"Path_38025","data-name":"Path 38025",d:"M18,7.5l5.815,5.815L18,19.129",transform:"translate(-17.47 -6.97)",fill:"none",stroke:"#000",strokeLinejoin:"round",strokeWidth:"1.5"})}),(0,r.jsx)("div",{className:"text",children:w.prev})]}),(0,r.jsxs)("button",{className:"embla_control embla__next",onClick:y,title:"Next",children:[(0,r.jsx)("div",{className:"text",children:w.next}),(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"7.095",height:"12.69",viewBox:"0 0 7.095 12.69",children:(0,r.jsx)("path",{id:"Path_38025","data-name":"Path 38025",d:"M18,7.5l5.815,5.815L18,19.129",transform:"translate(-17.47 -6.97)",fill:"none",stroke:"#000",strokeLinejoin:"round",strokeWidth:"1.5"})})]})]}):null]})})},b=()=>{(0,v.Zp)();const{t:e,i18n:t}=(0,x.B)(),[s,i]=(0,n.useState)({});return(0,n.useEffect)(()=>{(0,l.yM)("HomepageMotto").then(e=>{e.items.length>0&&i(e.items[0])}).catch(e=>{console.log(e)})},[]),0==s.length?null:(0,r.jsx)("section",{id:"homepage-motto",children:(0,r.jsxs)("div",{className:"content-wrapper",children:[(0,r.jsxs)("h2",{className:"motto-title",children:[(0,r.jsx)("div",{className:"hashtag",children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"56",viewBox:"0 0 36 56",children:(0,r.jsx)("text",{id:"_","data-name":"#",transform:"translate(1 46)",fill:"none",stroke:"#000",strokeWidth:"1",fontSize:"48",fontFamily:"Ubuntu-Bold, Ubuntu",fontWeight:"700",children:(0,r.jsx)("tspan",{x:"0",y:"0",children:"#"})})})}),s.tl]}),(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:s.bd}}),s.nu?(0,r.jsx)(o.N_,{to:s.nu,className:"motto-link",children:e("homepage_motto_history")}):null]})})};var w=s(5106);const f=()=>
1{const e=(0,n.useRef)(),t=(0,w.A)(e),[s,i]=(0,n.useState)(!1);(0,n.useEffect)(()=>{if(t&&!s){const e=document.createElement("script");e.src="https://widget.taggbox.com/embed.min.js",e.type="text/javascript",e.async=!0,document.body.appendChild(e),i(!0)}},[t]);const l=(0,r.jsx)("div",{className:"taggbox",style:{width:"100%",height:"100%",overflow:"auto"},"data-widget-id":"1973","data-website":"1"});return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{className:"homepage-insta",ref:e,children:(t||s)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"content-wrapper",children:(0,r.jsx)("div",{className:"title flex-col",children:(0,r.jsx)("h1",{children:"Inspiration from Instagram"})})}),(0,r.jsx)("div",{className:"taggbox-container",children:l})]})})})};var N=s(1688),_=s(1953),k=s(4092),y=s(6181);const S=e=>{let{productTabEntry:t,classActive:s}=e;const[i,a]=(0,n.useState)([]),[o,c]=(0,p.A)({loop:!0,slidesToScroll:2});let d={enrich:!0,keyword:"",pageIndex:0,pageSize:6,categoryIds:"",status:0};(0,n.useEffect)(()=>{0===t.mode?(0,l.DD)(t.product_ids.join(",")).then(e=>{a(e.items),(0,k.Jb)(e.items,0,t.nm)}).catch(e=>{console.error(e)}):(d.categoryIds=t.cid,d.status=t.mode,(0,l.Cs)(d).then(e=>{a(e.prds)}).catch(e=>{console.error(e)}))},[s]),(0,n.useEffect)(()=>{i.length>0&&c&&c.reInit()},[i,c]);const u=(0,n.useCallback)(()=>{c&&c.scrollPrev()},[c]),h=(0,n.useCallback)(()=>{c&&c.scrollNext()},[c]);return(0,r.jsxs)("div",{ref:o,className:s,children:[(0,r.jsx)("div",{className:"embla__container",children:i.map((e,s)=>(0,r.jsx)("div",{className:"embla__slide",children:(0,r.jsx)(y.A,{idx:s,product:e,listName:t.nm},s)},s))}),(0,r.jsxs)("div",{className:"embla_controls",children:[(0,r.jsx)("button",{className:"embla_control embla__prev",onClick:u,title:"Previous",children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"7.095",height:"12.69",viewBox:"0 0 7.095 12.69",children:(0,r.jsx)("path",{id:"Path_38025","data-name":"Path 38025",d:"M18,7.5l5.815,5.815L18,19.129",transform:"translate(-17.47 -6.97)",fill:"none",stroke:"#000",strokeLinejoin:"round",strokeWidth:"1.5"})})}),(0,r.jsx)("button",{className:"embla_control embla__next",onClick:h,title:"Next",children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"7.095",height:"12.69",viewBox:"0 0 7.095 12.69",children:(0,r.jsx)("path",{id:"Path_38025","data-name":"Path 38025",d:"M18,7.5l5.815,5.815L18,19.129",transform:"translate(-17.47 -6.97)",fill:"none",stroke:"#000",strokeLinejoin:"round",strokeWidth:"1.5"})})})]})]})},E=e=>{let{productTab:t}=e;
1const s=t.product_tab_entries.slice(0,3),[i,l]=(0,n.useState)(s[0].id),a=()=>(0,r.jsxs)("div",{className:"mobile-tabs-header",children:[(0,r.jsx)("h2",{className:"mobile-header",children:t.tl}),(0,r.jsx)("div",{className:"productTabs-select",children:(0,r.jsx)("select",{value:i,onChange:e=>{l(e.target.value),window.dispatchEvent(new Event("resize"))},children:s.map(e=>(0,r.jsx)("option",{value:e.id,children:e.nm},e.id))})})]});return t?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a,{}),(0,r.jsx)("div",{className:"tabs-header",children:s.map(e=>(0,r.jsx)("button",{onClick:t=>{return s=e.id,l(s),void window.dispatchEvent(new Event("resize"));var s},className:i==e.id?"tab-button tab-button1 active":"tab-button tab-button1",children:e.nm},e.id))}),(0,r.jsx)("div",{className:"product-carousel-container",children:s.map(e=>(0,r.jsx)(S,{productTabEntry:e,classActive:i==e.id?"embla active":"embla"},e.id))})]}):null},L=()=>{const[e,t]=(0,n.useState)([]);return(0,n.useEffect)(()=>{(0,l.NB)().then(e=>{t(e.items)}).catch(e=>{console.log(e)})},[]),(0,r.jsx)(r.Fragment,{children:e.filter(e=>e.product_tab_entries.length>0).map((e,t)=>(0,r.jsx)("section",{className:e.rtl?"product-tabs righttoleft":"product-tabs",style:""===e.img2?{backgroundImage:"none"}:{backgroundImage:"url("+(0,c.Th)(e.img2)+")"},children:(0,r.jsxs)("div",{className:"content-wrapper",children:[(0,r.jsx)("div",{className:"tabs-container",children:(0,r.jsx)(E,{productTab:e})}),(0,r.jsx)("div",{className:"main-image-container",children:(0,r.jsxs)("div",{className:"image-wrapper",children:[(0,r.jsx)("img",{src:e.img1,alt:"main-image-category"}),e.nu&&(0,r.jsx)(o.N_,{to:e.nu,className:"viewall-button arrow-button",children:(0,_.t)("see_all")})]})})]})},t))})};var C=s(3733),M=(s(375),s(1335),s(8400)),A=s(8030);const I=()=>{var e;const t="GROUPED_BANNERS",[s,i]=(0,n.useState)({}
1),[a,c]=(0,n.useState)([]),[d,u]=(0,n.useState)([]),[h,m]=(0,n.useState)([]);return(0,n.useEffect)(()=>{(0,l.vP)(t).then(e=>i(e)).catch(e=>console.log(e)),(0,l.c2)(t).then(e=>{const t=e.items;c(t),0!==t.length&&Promise.all(t.map(e=>(0,l.QP)(e.cd).then(t=>({id:e.id,groupTitle:e.nm,items:t.items})).catch(e=>{console.log(e)}))).then(e=>{u(e),m(e[0])}).catch(e=>console.log(e))}).catch(e=>{console.log(e)})},[t]),0===a.length||0===d.length?null:(0,r.jsxs)("section",{className:"banner-groups content-wrapper",children:[(0,r.jsx)("div",{className:"section-title",children:s.nm}),(0,r.jsx)("div",{className:"tabs-title-container",children:d.map(e=>(0,r.jsx)("button",{className:"tab-title tab-button "+(h.id===e.id?"active":""),onClick:()=>m(e),children:e.groupTitle},e.id))}),(0,r.jsx)(A.RC,{navigation:!0,spaceBetween:24,breakpoints:{0:{slidesPerView:1},768:{slidesPerView:2},1024:{slidesPerView:3}},className:"banners-container",modules:[M.Vx],children:null===(e=h.items)||void 0===e?void 0:e.map(e=>(0,r.jsxs)(A.qr,{className:"banner",children:[(0,r.jsxs)("div",{className:"image-links",children:[(0,r.jsx)("img",{src:e.img1,alt:"Img1"}),(0,r.jsxs)("div",{className:"links",children:[e.nu&&(0,r.jsx)(o.N_,{className:"banner-link",to:e.nu,target:e.ut,children:e.rct&&""!==e.rct?e.rct:"Show More"}),[2,3,4].map(t=>{const s=e[`nu${t}`],n=e[`ut${t}`],i=e[`rct${t}`];return s&&(0,r.jsx)(o.N_,{className:"banner-link",to:s,target:n,children:i&&""!==i?i:"Show More"},t)})]})]}),(0,r.jsx)("div",{className:"banner-title",children:e.tl}),(0,r.jsxs)("div",{className:"mobile-links",children:[e.nu&&(0,r.jsx)(o.N_,{className:"banner-link",to:e.nu,target:e.ut,children:e.rct&&""!==e.rct?e.rct:"Show More"}),[2,3,4].map(t=>{const s=e[`nu${t}`],n=e[`ut${t}`],i=e[`rct${t}`];return s&&(0,r.jsx)(o.N_,{className:"banner-link",to:s,target:n,children:i&&""!==i?i:"Show More"},t)})]})]},e.id))})]})},P=()=>{const[e,t]=(0,n.useState)([]);return(0,n.useEffect)(()=>{(0,l.yM)("QuadPuzzleBanner").then(e=>{t(e.items)}).catch(e=>{console.log(e)})},[]),0===e.length?null:(0,r.jsx)("section",{id:"quad-puzzle-banner",children:e.map(e=>e.nu?(0,r.jsx)(o.N_,{className:"banner-item",to:e.nu,children:(0,r.jsx)("img",{src:(0,c.r0)(e.img1),alt:e.tl})},e.id):(0,r.jsx)("div",{className:"banner-item",children:(0,r.jsx)("img",{src:(0,c.r0)(e.img1),alt:e.tl})},e.id))})};var T=s(2357);function B(){const e=(0,i.wA)(),{t:t}=(0,x.B)();return(0,n.useEffect)(()=>{e((0,N.Rs)());var t=window.document.getElementsByTagName("header")[0];return t.classList.add("home-header"),window.onscroll=function(){document.documentElement.scrollTop>0?t.classList.remove("home-header"):t.classList.contains("home-header")||t.classList.add("home-header")},()=>{window.onscroll=null,t.classList.remove("home-header")}},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(C.A,{page_title:t("seo_title_home"),meta_description:t("seo_description_home"),meta_keywords:t("seo_keywords_home")}),(0,r.jsx)("div",{id:"main-wrapper home",children:(0,r.jsxs)("main",{id:"homepage",children:[(0,r.jsx)("div",{className:"espa-banner",children:(0,r.jsx)(o.N_,{to:"pages/epixeirhsiako-programma-antagonistikothta-epixeirhmatikothta-kainotomia",children:(0,r.jsx)("img",{src:T,alt:"Espa Banner"})})}),(0,r.jsx)(j,{}),(0,r.jsx)(P,{}),(0,r.jsx)(I,{}),(0,r.jsx)(L,{}),(0,r.jsx)(d,{}),(0,r.jsx)(b,{}),(0,r.jsx)(f,{}),(0,r.jsx)(a,{})]})})]})}}}]); 2//# sourceMappingURL=9243.ce789028.chunk.js.map
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.