whatmore-react-assets 1.0.1821 → 1.0.1823

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/package.json +1 -1
  2. package/static/css/411.742a9cfc.chunk.css +1 -0
  3. package/static/css/event-click-component.5626d6a2.chunk.css +1 -0
  4. package/static/css/homepage-carousel-view.5cbaba8c.chunk.css +1 -0
  5. package/static/js/245.495d00ff.chunk.js +2 -0
  6. package/static/js/411.14a5f69c.chunk.js +52 -0
  7. package/static/js/598.9757157f.chunk.js +281 -0
  8. package/static/js/865.da3e721a.chunk.js +2 -0
  9. package/static/js/atc-with-form.14662671.chunk.js +1 -0
  10. package/static/js/event-click-component.86dd3ac5.chunk.js +76 -0
  11. package/static/js/homepage-carousel-view.b720e002.chunk.js +15 -0
  12. package/static/js/react-main-app.b83e466d.chunk.js +1 -0
  13. package/whatmore.js +1 -2
  14. package/static/css/banner-template-a.475a42b7.chunk.css +0 -1
  15. package/static/css/carousel-template-a.475a42b7.chunk.css +0 -1
  16. package/static/css/carousel-template-ai.5886a824.chunk.css +0 -1
  17. package/static/css/carousel-template-f.475a42b7.chunk.css +0 -1
  18. package/static/css/carousel-template-feed.475a42b7.chunk.css +0 -1
  19. package/static/css/carousel-template-g.475a42b7.chunk.css +0 -1
  20. package/static/css/carousel-template-h.475a42b7.chunk.css +0 -1
  21. package/static/css/carousel-template-i.475a42b7.chunk.css +0 -1
  22. package/static/css/carousel-template-j.475a42b7.chunk.css +0 -1
  23. package/static/css/carousel-template-view-more.475a42b7.chunk.css +0 -1
  24. package/static/css/collections-template-a.83e3340f.chunk.css +0 -1
  25. package/static/css/collections-template-b.83e3340f.chunk.css +0 -1
  26. package/static/css/collections-template-c.83e3340f.chunk.css +0 -1
  27. package/static/css/collections-template-stories.83e3340f.chunk.css +0 -1
  28. package/static/css/event-click-product.68e25b66.chunk.css +0 -1
  29. package/static/css/spotlight-view.a1594fd1.chunk.css +0 -2
  30. package/static/css/stories-template-a.8292e9da.chunk.css +0 -1
  31. package/static/css/whatmore-root.09bcc075.chunk.css +0 -2
  32. package/static/js/257.731cff2e.chunk.js +0 -1
  33. package/static/js/286.70655d59.chunk.js +0 -1
  34. package/static/js/33.46a8c962.chunk.js +0 -1
  35. package/static/js/512.c411674d.chunk.js +0 -1
  36. package/static/js/526.706d86bb.chunk.js +0 -2
  37. package/static/js/620.8b81307a.chunk.js +0 -1
  38. package/static/js/820.3abb966c.chunk.js +0 -1
  39. package/static/js/832.8a126a68.chunk.js +0 -1
  40. package/static/js/981.93048a23.chunk.js +0 -281
  41. package/static/js/banner-template-a.32ec8591.chunk.js +0 -1
  42. package/static/js/carousel-template-a.f15148d1.chunk.js +0 -1
  43. package/static/js/carousel-template-ai.2232a497.chunk.js +0 -1
  44. package/static/js/carousel-template-b.52683dec.chunk.js +0 -1
  45. package/static/js/carousel-template-f.4ca967f4.chunk.js +0 -1
  46. package/static/js/carousel-template-feed.6e0611d8.chunk.js +0 -15
  47. package/static/js/carousel-template-g.2f11a57c.chunk.js +0 -1
  48. package/static/js/carousel-template-h.95284d4b.chunk.js +0 -1
  49. package/static/js/carousel-template-i.ef4eaa14.chunk.js +0 -1
  50. package/static/js/carousel-template-j.6e45a3e9.chunk.js +0 -1
  51. package/static/js/carousel-template-view-more.faaa02f7.chunk.js +0 -15
  52. package/static/js/collections-template-a.1f191615.chunk.js +0 -1
  53. package/static/js/collections-template-b.27d9d0b6.chunk.js +0 -1
  54. package/static/js/collections-template-c.5bcd3559.chunk.js +0 -1
  55. package/static/js/collections-template-stories.3684ecbf.chunk.js +0 -1
  56. package/static/js/embed-tracking-component.64b05bcf.chunk.js +0 -1
  57. package/static/js/event-click-product.ffdab8eb.chunk.js +0 -127
  58. package/static/js/event-click-spotlight.50e0f126.chunk.js +0 -1
  59. package/static/js/homepage-carousel-view.9dd55d57.chunk.js +0 -1
  60. package/static/js/product-page-view.9c0ab6ef.chunk.js +0 -1
  61. package/static/js/share-shimmer-loader.fe4b39e4.chunk.js +0 -1
  62. package/static/js/spotlight-view.a4edee17.chunk.js +0 -1
  63. package/static/js/stories-template-a.7a417d48.chunk.js +0 -1
  64. package/static/js/whatmore-root.cc24f244.chunk.js +0 -1
  65. /package/static/css/{product-page-view.a1594fd1.chunk.css → react-main-app.a1594fd1.chunk.css} +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[806],{69:function(e,t,n){n.d(t,{Ij:function(){return r},bi:function(){return a}});let o,i=!1;function r(){return o?o.play().then(()=>{i=!0,console.debug("iOS autoplay restrictions bypassed."),o.pause()}).catch(e=>{console.error("Failed to bless videos:",e.message)}):Promise.reject(new Error("Blessing video not initialized."))}function a(){o||(o=document.createElement("video"),o.src="https://whatmore-other-assets.b-cdn.net/whatmore/dummy_for_video_pool_3s_muted_11kb.mp4",o.muted=!0,o.playsInline=!0,o.style.display="none",document.body.appendChild(o));const e=()=>{i||r()};document.addEventListener("click",e,{once:!0}),document.addEventListener("touchstart",e,{once:!0})}},2257:function(e,t,n){var o=n(4994);t.A=void 0;var i=o(n(9526)),r=n(4414);t.A=(0,i.default)((0,r.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext")},3278:function(e,t,n){n.r(t),n.d(t,{default:function(){return P}});var o=n(9950),i=n(340),r=n(5089),a=n(1941),s=n(5830),l=(n(3997),n(9130),n(4669),n(9733),n(4365),n(7229),n(6042),n(572)),d=n(8603),c=n(7509),u=n(5903),h=(n(4826),n(7575)),p=n(2257),v=n(1348),g=n(6649),x=n(3788),f=n(6493),m=n(4895),b=n(5375),y=n(4833),w=n(4414);var j=function(e){var t;const[n]=(0,s.QN)("whatmoreShopId"),i=e.isMuted,{whatmoreWidgetSourceDetails:r}=(0,o.useContext)(u.B),a=r.templateType,l=(0,y.l2)(a),d=null!==(t=e.iconSize)&&void 0!==t?t:30;function c(t){e.onToggle(t)}return!0===(0,v.GZ2)(n)?(0,w.jsx)(w.Fragment,{}):(0,w.jsx)("div",{style:{height:"fit-content",cursor:"pointer"},children:i?(0,w.jsx)(b.A,{sx:{color:"white",fontSize:l?1.3*d:d,backgroundColor:"rgba(0, 0, 0, 0.4)",borderRadius:"50%",padding:"10px"},onClick:e=>{c(e)}}):(0,w.jsx)(m.A,{sx:{color:"white",fontSize:l?1.3*d:d,backgroundColor:"rgba(0, 0, 0, 0.4)",borderRadius:"50%",padding:"10px"},onClick:e=>{c(e)}})})},C=n(3771),I=n(6613),k=n(1085),A=n(1079),S=n(5873),M=n(1351),E=n(6157),N=n(3294),_=n(9879),R=n(9821),z=n(69);function D(e){const[t,n]=(0,o.useState)(e.initialMuteState),i=e.events,r=e.activeEventIndex,a=e.setActiveEventIndex,l=(0,s.Xd)("whatmoreShopId"),d="portrait"===e.mode;function c(o){o.stopPropagation(),n(!t),(0,I.MN)()&&((0,R._)()?(0,k.bo)():(0,z.bi)()),e.onMuteToggle()}const u=e.event;return(0,w.jsxs)("div",{style:{position:(0,v.D7t)(l)?"absolute":"relative",top:(0,v.D7t)(l)?0:"",zIndex:1,bottom:(0,v.D7t)(l)?"":"100%",width:"100%",height:"100%",overflow:"hidden",backgroundColor:"transparent"},className:"whatmore-ios-css-relative-fix",children:[(0,w.jsxs)("div",{className:"banner-event-overlay",style:{display:"flex",position:"relative",height:"100%",paddingRight:"1%",paddingLeft:"1%",paddingTop:"1%",backgroundImage:"linear-gradient(to top, rgba(0,0,0,0), rgba(0,0,0,0.1), rgba(0,0,0,0.3))"},children:["video"==u.event_type&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("div",{style:{width:"100%"},onClick:e=>{(0,v.OC6)(l)||c(e)}}),(0,w.jsx)(j,{isMuted:t,onToggle:e=>{c(e)}})]}),i.length>1&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("div",{classname:"banner-navigation-overlay-left",style:{position:"absolute",left:"10px",top:"50%",transform:"translateY(-50%)",backgroundColor:"transparent",borderRadius:"50%",zIndex:2,border:"2px solid white",padding:"2px",cursor:"pointer"},onClick:e=>{e.stopPropagation(),a(0===r?i.length-1:r-1)},children:(0,w.jsx)("div",{style:{backgroundColor:"#fff",borderRadius:"50%",padding:"6px"},children:(0,w.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"20px",color:"#252525",height:"20px"},children:(0,w.jsx)(h.A,{})})})}),(0,w.jsx)("div",{classname:"banner-navigation-overlay-right",style:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)",backgroundColor:"transparent",borderRadius:"50%",zIndex:2,border:"2px solid white",padding:"2px",cursor:"pointer"},onClick:e=>{e.stopPropagation(),a(r===i.length-1?0:r+1)},children:(0,w.jsx)("div",{style:{backgroundColor:"#fff",borderRadius:"50%",padding:"6px"},children:(0,w.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"20px",color:"#252525",height:"20px",textAlign:"center"},children:(0,w.jsx)(p.A,{})})})}),(0,v.JiT)(l)&&(0,w.jsx)("div",{style:{display:"flex",position:"absolute",bottom:"7%",left:"50%",transform:"translateX(-50%)",gap:"24px",zIndex:1},children:i.map((e,t)=>{const n=t===r;return(0,w.jsx)("button",{onClick:e=>{e.stopPropagation(),a(t)},style:{width:n?"25px":d?"12px":"14px",height:d?"12px":"14px",borderRadius:n?"10px":"50%",backgroundColor:n?(0,v.z1s)(l):"#f8eeec",boxShadow:"0px 0px 8px rgba(0, 0, 0, 0.3)"}},t)})})]})]}),!(0,v.OC6)(l)&&(0,w.jsx)("div",{style:{width:"100%",height:"100%"},onClick:c})]})}var B=function(e){var t,n,i,r;const[l,d,c]=(0,a.A)(),[h,p]=(0,o.useState)(!0),m=(0,s.Xd)("whatmoreVideoTileSize"),[b,y,j]=(0,g.A)({triggerOnce:!1}),{whatmoreWidgetSourceDetails:I}=(0,o.useContext)(u.B),k=(0,s.Xd)("whatmoreShopId"),R=e.events,z=e.activeEventIndex,B=e.setActiveEventIndex,T=R[z],P=(0,f.lP)(T),F=(0,f.cb)(T);if((0,o.useEffect)(()=>{S.Sn.forEach(e=>{var t;if(!(null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-banner-a"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-banner-a"]')))return;e&&(e.style.minHeight="0px")})},[]),"portrait"===l&&!P)return(0,w.jsx)(w.Fragment,{});if("landscape"===l&&!F)return(0,w.jsx)(w.Fragment,{});const L=(0,x.s)("portrait"===l?P:F),O=m/100*(0,v.igk)(k),X=m/100*(0,v.Y_l)(k),Y="portrait"===l?(0,v.G0Q)(k):(0,v.ga9)(k),V="portrait"===l?c*O:c*X,W=V*Y,G=null!=(null===(t=T.cta)||void 0===t||null===(n=t[1])||void 0===n?void 0:n.cta_link);return(0,w.jsxs)("div",{ref:b,onClick:()=>{var e,t;(0,M.kz)({userInteractionType:E.O.BANNER_WIDGET_CLICKED,widgetSourceDetails:I,event:R[z]}),(0,v.OC6)(k)&&window.open(null===(e=T.cta)||void 0===e||null===(t=e[1])||void 0===t?void 0:t.cta_link,"_self")},className:"wht-banner-event-tile",style:{position:"relative",margin:"0 auto",width:(0,v.D7t)(k)?"100%":V,minHeight:(0,v.D7t)(k)?c*Y:"",height:(0,v.D7t)(k)?"auto":W,borderWidth:(0,v.YcK)(k),borderColor:(0,v.Fwt)(k),overflow:"hidden",cursor:"pointer"},children:["28273541192"===k?(0,w.jsx)(_.A,{height:"100%",width:"100%",url:L,isPlaying:y,event:T,isVideoMuted:!y||h,source:N.N.BANNER}):(0,w.jsx)(C.A,{height:"100%",width:"100%",url:L,isPlaying:y,event:T,isVideoMuted:!y||h,setDuration:e.setDuration,source:N.N.BANNER}),(0,w.jsx)(D,{isCTAPresent:G,events:R,activeEventIndex:z,setActiveEventIndex:B,event:T,mode:l,onMuteToggle:()=>p(!h),initialMuteState:h}),(0,v.XYM)(k)&&(null===T||void 0===T||null===(i=T.cta)||void 0===i?void 0:i.length)>1&&(0,w.jsx)("div",{style:{position:"absolute",zIndex:1,bottom:"10%",left:"50%",transform:"translateX(-50%)"},className:"whatmore-ios-css-relative-fix",children:(0,w.jsx)(A.A,{isBanner:!0,event:T,cta:null===T||void 0===T||null===(r=T.cta)||void 0===r?void 0:r[1],fontFactor:.6})})]})};const T=(0,d.A)({key:"whatmore-css-bv"});var P=function(e){const{whatmoreRootId:t}=(0,o.useContext)(u.B),[n,d]=(0,o.useState)(0),h=e.events,[p,v]=(0,o.useState)(-1),[g]=(0,s.QN)("whatmoreShopId"),[x]=(0,a.A)();let f;return(0,o.useEffect)(()=>{f&&clearInterval(f);const e="video"===h[n].event_type,t=e?1e3*p:6e3;return e?-1!=p&&(f=setInterval(()=>{d(e=>e===h.length-1?0:e+1)},t)):f=setInterval(()=>{d(e=>e===h.length-1?0:e+1)},t),()=>{clearInterval(f)}},[p,n]),delete r.Ay.styles.global,(0,w.jsx)(l.C,{value:T,children:(0,w.jsx)("div",{className:"whatmore-banner-events",style:{height:"60183543963"===g&&"portrait"==x?"200px":void 0},children:(0,w.jsx)(i.s,{theme:r.Ay,cssVarsRoot:t,resetCSS:!1,children:(0,w.jsx)(c.h.Provider,{value:{tileTopMargin:0,tileBottomMMargin:0,tileLeftMargin:0,tileRightMargin:0,showPlayButton:!1},children:(0,w.jsx)(B,{activeEventIndex:n,events:h,setActiveEventIndex:d,setDuration:v})})})})})}},4826:function(){},7509:function(e,t,n){n.d(t,{h:function(){return o}});const o=(0,n(9950).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},7575:function(e,t,n){var o=n(4994);t.A=void 0;var i=o(n(9526)),r=n(4414);t.A=(0,i.default)((0,r.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore")}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[474],{6945:function(e,t,n){n.r(t);var i=n(9950),s=n(340),o=n(5089),r=n(5873),a=(n(3997),n(9130),n(4669),n(9733),n(4365),n(7229),n(6042),n(1012),n(572)),l=n(8603),c=n(9946),h=n(9094),d=n(932),u=n(1941),p=n(5491),m=n.n(p),x=n(5830),g=n(7509),w=n(7136),v=n(1348),y=n(5903),f=n(5620),S=n(1351),j=n(6157),C=n(6641),I=n(1957),O=n(4414);const A=(0,l.A)({key:"whatmore-css-hv"});function k(e){const[t,n,s]=(0,d.A)(),[o,r,a]=(0,u.A)(),l=(0,x.Xd)("whatmoreShopId"),p=e.events,m=e.onClick,g=s*(0,v.kcl)(l),C=(0,v.cbh)(l),[A,k]=(0,i.useState)(C?p.length:g),{whatmoreWidgetSourceDetails:P}=(0,i.useContext)(y.B);return(0,i.useEffect)(()=>{A<=g&&k(e=>e+g)},[g]),(0,O.jsx)("div",{className:"whatmore-events-carousel-portrait",style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,O.jsxs)("div",{style:{width:"8968077397"===l&&p.length<4?"200px":a,height:"fit-content",position:"90518552861"!==l&&"63512346790"!==l||!(0,v.JSQ)(l)?void 0:"relative"},children:[("90518552861"===l||"63512346790"===l)&&(0,v.JSQ)(l)&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("div",{className:"whatmore-swiper-button-prev"}),(0,O.jsx)("div",{className:"whatmore-swiper-button-next"})]}),(0,O.jsx)(c.RC,{slidesPerView:p.length>1?"51394281658"==l||"55820812447"==l?2:g:1,initialSlide:p.length>1&&"51394281658"!=l&&"55820812447"!=l?1:0,centeredSlides:"51394281658"!=l&&"55820812447"!=l,centeredSlidesBounds:!1,watchSlidesProgress:!0,touchRatio:"51394281658"==l?1:.5,onSlideChange:e=>{(0,S.UM)({userInteractionType:j.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:P}),e.realIndex>e.previousIndex&&k(e=>e+g)},loop:C&&p.length>2,modules:[...(0,v.JSQ)(l)?[h.Vx]:[],..."79550939348"==l||"37274026115"==l||"90518552861"===l||"63512346790"===l?[h.Ij]:[]],navigation:"90518552861"!==l&&"63512346790"!==l||!(0,v.JSQ)(l)?(0,v.JSQ)(l):{nextEl:".whatmore-swiper-button-next",prevEl:".whatmore-swiper-button-prev"},autoplay:("79550939348"==l||"37274026115"==l||"90518552861"===l||"63512346790"===l)&&{delay:4e3,disableOnInteraction:!1,waitForTransition:!1},children:p.map((e,t)=>t<=A&&(0,O.jsx)(c.qr,{children:({isActive:t,isPrev:n,isNext:i,isVisible:s})=>n||i||t?(0,v.DmD)(l)?(0,O.jsx)(I.A,{isOnFocus:t&&s,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{m(e)}}):(0,O.jsx)(f.A,{isOnFocus:("51394281658"==l||"55820812447"==l||t)&&s,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{m(e)}}):(0,O.jsx)(w.A,{})},"whatmore-event-tile-portrait-"+e.index))})]})})}function P(e){const[t,n,s,o]=(0,d.A)(),[r,a]=(0,i.useState)(-1),l=(0,x.Xd)("whatmoreShopId"),u=e.onClick,p=e.events,g=(0,v.cbh)(l),[C,A]=(0,i.useState)(g?p.length:s),k="8968077397"==l||"19501891"==l?Math.floor(Math.min(s,p.length)):Math.min(s,p.length),P="79550939348"==l||"37274026115"==l?1:k,E=Math.floor(Math.min(4,p.length)),{whatmoreWidgetSourceDetails:M}=(0,i.useContext)(y.B),F=(0,i.useRef)(null);return(0,i.useEffect)(()=>{if(F.current){const e="8968077397"===l&&p.length>=4?.7:(0,v.fHt)(l),t=n*k*e+"px";p.length<4||"8968077397"===l?F.current.style.setProperty("width",t,"important"):F.current.style.width=t}},[n,k,l,C,p.length]),(0,i.useEffect)(()=>{C<=s&&A(e=>e+s)},[s]),(0,O.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%",paddingLeft:o+"px",paddingRight:o+"px"},className:"whatmore-events-carousel-landscape",children:(0,O.jsx)("div",{ref:F,style:{height:"100%"},children:(0,O.jsx)(c.RC,{slidesPerView:"8968077397"==l?E:k,watchSlidesProgress:!0,modules:[h.Vx,h.Ij],navigation:!0,slidesPerGroup:"8968077397"==l||"19501891"==l?Math.min(2,p.length):parseInt(P),onSlideChange:e=>{(0,S.UM)({userInteractionType:j.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:M}),e.realIndex>e.previousIndex&&A(e=>e+s)},spaceBetween:0,loop:(g||"8968077397"==l||"19501891"==l)&&p.length>4,autoplay:("79550939348"==l||"37274026115"==l||"90518552861"===l||"63512346790"===l)&&{delay:4e3,disableOnInteraction:!1,waitForTransition:!1},style:{height:"100%"},children:p.map((e,t)=>{const n=m()(()=>a(t),300);return t<=C&&(0,O.jsx)(c.qr,{onMouseEnter:()=>{n()},onMouseLeave:()=>{n.cancel(),a(-1)},style:{height:"100%"},children:({isActive:n,isPrev:i,isNext:s,isVisible:o})=>o||"8968077397"==l||"19501891"==l&&(i||s)?(0,v.DmD)(l)?(0,O.jsx)(I.A,{isOnFocus:t==r,playOnUnfocus:!(0,v.aO7)(l)||t==parseInt(k/2)&&-1==r,animateOnFocus:!0,event:e,onClick:()=>{u(e)}}):(0,O.jsx)(f.A,{isOnFocus:t==r,playOnUnfocus:!(0,v.aO7)(l)||t==parseInt(k/2)&&-1==r,animateOnFocus:!0,event:e,onClick:()=>{u(e)}}):(0,O.jsx)(w.A,{})},"whatmore-event-tile-landscape-"+e.index)})})})})}t.default=function(e){const[t,n,l]=(0,u.A)(),[c]=(0,x.QN)("whatmoreShopId"),[h]=(0,x.QN)("whatmorePrimaryColor"),[d]=(0,x.QN)("whatmoreTitleFont"),p="portrait"==t?(0,x.Xd)("whatmoreTitleFontSizePortrait"):(0,x.Xd)("whatmoreTitleFontSize"),{whatmoreRootId:m}=(0,i.useContext)(y.B),{whatmoreCollectionHeading:w}=(0,i.useContext)(y.B),{whatmoreIsCollectionsTemplate:f}=(0,i.useContext)(y.B),S=e.events,j=e.onClick,I=d;function E(e){j(e)}return(0,i.useEffect)(()=>{(0,C.Fk)("Video shopping powered by Whatmore!")},[]),(0,i.useEffect)(()=>{r.Sn.forEach(e=>{var t;const n=null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-a"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-a"]');if(!n)return;n&&e&&(e.style.minHeight="0px")})},[]),delete o.Ay.styles.global,(0,O.jsx)(a.C,{value:A,children:(0,O.jsx)("div",{className:"whatmore-carousel-events",style:{height:"100%"},children:(0,O.jsx)(s.s,{theme:o.Ay,cssVarsRoot:m,resetCSS:!1,children:(0,O.jsxs)(g.h.Provider,{value:{tileTopMargin:25,tileBottomMMargin:25,tileLeftMargin:4,tileRightMargin:4,showPlayButton:!0},children:[e.heading.trim().length>0||f?(0,O.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},children:(0,O.jsx)("p",{ref:e=>{e&&(e.style.setProperty("font-family",I,"important"),e.style.setProperty("font-size",p+"px","important"))},style:{color:h,backgroundClip:"text",textAlign:"center",fontWeight:(0,v.Odx)(c),lineHeight:(0,v.L0y)(c),letterSpacing:(0,v.l3V)(c)},children:f?"W"!==w?w:"":e.heading})}):(0,O.jsx)(O.Fragment,{}),"landscape"===t?"90518552861"===c||"63512346790"===c?(0,O.jsx)(k,{events:S,onClick:E}):(0,O.jsx)(P,{events:S,onClick:E}):(0,O.jsx)(k,{events:S,onClick:E})]})})})})}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[151],{7136:function(e,t,r){var i=r(9950),o=r(932),a=r(7509),l=r(5830),s=r(4414);t.A=function(e){var[t,r]=(0,o.A)();(0,i.useContext)(a.h);const n=(0,l.Xd)("whatmoreShopId");return e.event,(0,s.jsx)("div",{style:{margin:"0 auto",width:"8968077397"==n?void 0:r,aspectRatio:"8968077397"==n?9/16:void 0,height:"8968077397"==n?"100%":t,overflow:"hidden"}})}},7509:function(e,t,r){r.d(t,{h:function(){return i}});const i=(0,r(9950).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},9112:function(e,t,r){r.r(t),r.d(t,{default:function(){return I}});var i=r(9950),o=r(340),a=r(5089),l=r(5873),s=r(572),n=r(8603),c=r(9946),d=r(9094),u=(r(9130),r(932)),m=r(1941),p=r(5491),h=r.n(p),v=r(5830),w=r(7509),g=r(7136),y=r(1348),f=r(5903),x=r(1351),_=r(6157),j=(r(6641),r(9879)),S=r(22),N=r(6594),C=r(8149),P=r(7740),b=r(4414);var M=function(e){var t,r,o,a,l,s,n,c,d,m,p,h,w,g,f;const x=(0,i.useRef)(null),[_,M,A,R,k]=(0,u.A)(),I=1*M,T=1*_,E=((0,v.Xd)("whatmoreUITheme"),(0,v.Xd)("whatmoreShopId")),F="portrait"===k[S.dl],B=F?(0,y.HWj)(E):(0,y.N_4)(E),O=(0,v.Xd)("whatmorePrimaryFont"),U=(0,v.Xd)("whatmoreSecondaryColor"),V=e.onClick,W=null===(t=e.isOnFocus)||void 0===t||t,X=null!==(r=e.playOnUnfocus)&&void 0!==r&&r,[D,H]=(0,i.useState)(e.event),[L,z]=(0,i.useState)(),[q,$]=(0,i.useState)(!1),Q=null!==(o=null===(a=D.products)||void 0===a?void 0:a.find(e=>"active"==e.product_status))&&void 0!==o?o:null===(l=D.products)||void 0===l?void 0:l[0],G=Math.round(+(null===Q||void 0===Q?void 0:Q.price)),J=Math.round(+(null===Q||void 0===Q?void 0:Q.compare_price)),K=J&&0!=J&&J>G?Math.round((J-G)/J*100):NaN,[Y,Z]=(0,i.useState)(K),[ee,te]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{(0,y.w4b)(E)?(0,N.fu)(D,(0,y.NCy)(E),E).then(e=>{var t,r,i;H(e);const o=Math.round(null===(t=e.products)||void 0===t||null===(r=t[0])||void 0===r?void 0:r.price),a=Math.round(null===e||void 0===e||null===(i=e.products[0])||void 0===i?void 0:i.compare_price),l=a&&0!=a&&a>o?Math.round((a-o)/a*100):NaN;Z(l),te(!0)}).catch(e=>{console.warn("Whatmore AI Template: Failed to enrich event with price data, using fallback",e),te(!0)}):(async()=>{try{const e=await(0,C.M)(Q,(0,y.NCy)(E),E);z(e),te(!0)}catch(e){console.warn("Whatmore AI Template: Failed to fetch product details, using fallback data",e),te(!0)}})()},[]),(0,i.useEffect)(()=>{if(x.current){const e=x.current,t=F?"portrait":"landscape",r=getComputedStyle(e),i=parseFloat(r.getPropertyValue(`--wtmr-name-font-scale-${t}`))||(F?1.25:1.38),o=parseFloat(r.getPropertyValue(`--wtmr-price-font-scale-${t}`))||(F?1.4:1.56),a=parseFloat(r.getPropertyValue(`--wtmr-category-font-scale-${t}`))||(F?1:1.08),l=parseFloat(r.getPropertyValue(`--wtmr-discount-font-scale-${t}`))||(F?1.1:1.2);e.style.setProperty("--wtmr-font-family",O),e.style.setProperty("--wtmr-discount-badge-bg",U),e.style.setProperty("--wtmr-tile-width",M+"px"),e.style.setProperty("--wtmr-font-multiplier",B),e.style.setProperty("--wtmr-name-font-scale",i),e.style.setProperty("--wtmr-price-font-scale",o),e.style.setProperty("--wtmr-category-font-scale",a),e.style.setProperty("--wtmr-discount-font-scale",l)}},[O,U,M,B,F]),(0,b.jsxs)("div",{ref:x,className:"wtmr-carousel-tile",style:{maxWidth:I},onClick:()=>V(D),children:[(0,b.jsxs)("div",{className:"wtmr-carousel-tile__video-container",style:{maxHeight:T},children:[(0,b.jsx)(j.A,{className:"wtmr-carousel-tile__video",height:(0,y.u06)(E)+" !important",width:"100%",url:D.thumbnail_image,isPlaying:W||X,event:D}),Q&&(0,b.jsx)("div",{className:"wtmr-carousel-tile__add-to-cart-overlay",onClick:e=>e.stopPropagation(),children:(0,b.jsx)("span",{className:"wtmr-carousel-tile__add-to-cart-label",children:"ADD TO CART"})})]}),Q&&(0,b.jsxs)("div",{className:"wtmr-carousel-tile__product-details-container",children:[(0,b.jsxs)("div",{className:"wtmr-carousel-tile__product-information-section",children:[(null===Q||void 0===Q?void 0:Q.thumbnail_image)&&(0,b.jsx)("div",{className:"wtmr-carousel-tile__product-image-container",children:(0,b.jsx)("img",{className:"wtmr-carousel-tile__product-image "+(q?"wtmr-carousel-tile__product-image--loaded":""),src:(null===Q||void 0===Q||null===(s=Q.thumbnail_image)||void 0===s||null===(n=s.split("?"))||void 0===n?void 0:n[0])+"?width=400&height=400",alt:"thumbnail",onLoad:()=>$(!0)})}),(0,b.jsxs)("div",{className:"wtmr-carousel-tile__product-text-container",children:[(null===Q||void 0===Q?void 0:Q.product_type)&&(0,b.jsx)("p",{className:"wtmr-carousel-tile__product-category-label",children:null===Q||void 0===Q?void 0:Q.product_type}),(null===Q||void 0===Q?void 0:Q.title)&&(0,b.jsx)("p",{className:"wtmr-carousel-tile__product-name",children:null===Q||void 0===Q?void 0:Q.title})]})]}),ee&&(0,b.jsxs)("div",{className:"wtmr-carousel-tile__product-pricing-section",children:[(0,b.jsx)("p",{className:"wtmr-carousel-tile__price-selling",children:(0,N.Sb)(parseFloat((0,P.U)()?(null!==(c=null===L||void 0===L||null===(d=L.variants)||void 0===d||null===(m=d[0])||void 0===m?void 0:m.price)&&void 0!==c?c:null===L||void 0===L?void 0:L.price)/100:null===Q||void 0===Q?void 0:Q.price)," ",E,null===(p=D.products[0])||void 0===p?void 0:p.currency)}),!isNaN(J)&&J>G&&(0,b.jsx)("p",{className:"wtmr-carousel-tile__price-original",children:(0,N.Sb)(parseFloat((0,P.U)()?(null!==(h=null===L||void 0===L||null===(w=L.variants)||void 0===w||null===(g=w[0])||void 0===g?void 0:g.compare_at_price)&&void 0!==h?h:null===L||void 0===L?void 0:L.compare_at_price)/100:null===Q||void 0===Q?void 0:Q.compare_price)," ",E,null===(f=D.products[0])||void 0===f?void 0:f.currency)}),!isNaN(Y)&&0!=Y&&(0,b.jsx)("div",{className:"wtmr-carousel-tile__discount-percentage-badge",children:(0,b.jsxs)("p",{className:"wtmr-carousel-tile__discount-percentage-value",children:[Y,"%"]})})]})]})]})};const A=(0,n.A)({key:"whatmore-css-ai"});function R(e){const[t,r,o]=(0,u.A)(),[a,l,s]=(0,m.A)(),n=(0,v.Xd)("whatmoreShopId"),p=e.events,h=e.onClick,w=o*(0,y.kcl)(n),j=(0,y.cbh)(n),[S,N]=(0,i.useState)(j?p.length:w),{whatmoreWidgetSourceDetails:C}=(0,i.useContext)(f.B);return(0,i.useEffect)(()=>{S<=w&&N(e=>e+w)},[w]),(0,b.jsx)("div",{className:"wtmr-carousel-container-portrait whatmore-events-carousel-portrait ai-carousel-portrait",style:{width:s-48,zIndex:1},children:(0,b.jsx)(c.RC,{slidesPerView:p.length>1?w:1,initialSlide:p.length>1?1:0,centeredSlides:!0,centeredSlidesBounds:!1,watchSlidesProgress:!0,modules:[d.U1],spaceBetween:12,freeMode:{enabled:!0,sticky:!1,momentum:!0,momentumRatio:.7,momentumBounce:!1,momentumVelocityRatio:.9},touchRatio:1.2,simulateTouch:!0,allowTouchMove:!0,grabCursor:!0,resistance:!0,resistanceRatio:.75,speed:400,onSlideChange:e=>{(0,x.UM)({userInteractionType:_.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:C}),e.realIndex>e.previousIndex&&N(e=>e+w)},loop:j,style:{paddingTop:"8px",paddingBottom:"8px"},children:p.map((e,t)=>t<=S&&(0,b.jsx)(c.qr,{children:({isActive:t,isPrev:r,isNext:i,isVisible:o})=>r||i||t?(0,b.jsx)("div",{className:"wm-carousel__slide-wrapper "+(t?"wtmr-carousel__slide-wrapper--active":"wtmr-carousel__slide-wrapper--inactive"),children:(0,b.jsx)(M,{isOnFocus:t&&o,playOnUnfocus:!1,event:e,onClick:()=>{h(e)}})}):(0,b.jsx)(g.A,{})},"whatmore-event-tile-ai-portrait-"+e.index))})})}function k(e){const[t,r,o,a]=(0,u.A)(),[l,s,n]=(0,m.A)(),[p,w]=(0,i.useState)(-1),j=(0,v.Xd)("whatmoreShopId"),S=e.onClick,N=e.events,C=(0,y.cbh)(j),[P,A]=(0,i.useState)(C?N.length:o),R=Math.min(o,N.length),{whatmoreWidgetSourceDetails:k}=(0,i.useContext)(f.B),I=(0,i.useRef)(null);return(0,i.useEffect)(()=>{if(I.current){const e=r*R*(0,y.fHt)(j)+"px";N.length<4?I.current.style.setProperty("width",e,"important"):I.current.style.width=e}},[r,R,j,P,N.length]),(0,i.useEffect)(()=>{P<=o&&A(e=>e+o)},[o]),(0,b.jsx)("div",{className:"wtmr-carousel-container-landscape whatmore-events-carousel-landscape ai-carousel-landscape",style:{width:n,paddingLeft:a+"px",paddingRight:a+"px"},children:(0,b.jsx)("div",{ref:I,style:{zIndex:1},children:(0,b.jsx)(c.RC,{slidesPerView:R,watchSlidesProgress:!0,modules:[d.FJ,d.U1],freeMode:{enabled:!0,sticky:!1,momentum:!0,momentumRatio:.5,momentumBounce:!1,momentumVelocityRatio:.7},onSlideChange:e=>{(0,x.UM)({userInteractionType:_.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:k}),e.realIndex>e.previousIndex&&A(e=>e+o)},spaceBetween:0,loop:!1,touchRatio:1,simulateTouch:!0,allowTouchMove:!0,grabCursor:!0,resistance:!0,resistanceRatio:.75,speed:500,mousewheel:{forceToAxis:!0,sensitivity:.6,releaseOnEdges:!0,invert:!1},children:N.map((e,t)=>{const r=h()(()=>w(t),50);return t<=P&&(0,b.jsx)(c.qr,{onMouseEnter:()=>{r()},onMouseLeave:()=>{r.cancel(),w(-1)},style:{height:"100%"},children:({isActive:r,isPrev:i,isNext:o,isVisible:a})=>a||i||o?(0,b.jsx)("div",{style:{height:"100%",transform:t===p?"translate3d(0, -1px, 0)":"translate3d(0, 0, 0)",transition:"transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.3s ease-out, opacity 0.3s ease-out",filter:t===p?"brightness(1.02)":"none",opacity:t===p?1:.98,willChange:"transform, filter, opacity"},children:(0,b.jsx)(M,{isOnFocus:t==p,playOnUnfocus:!(0,y.aO7)(j)||t==parseInt(R/2)&&-1==p,event:e,onClick:()=>{S(e)}})}):(0,b.jsx)(g.A,{})},"wht-event-tile-ai-landscape-"+e.index)})})})})}var I=function(e){const[t,r,n]=(0,m.A)(),[c]=(0,v.QN)("whatmoreShopId"),[d]=(0,v.QN)("whatmorePrimaryColor"),[u]=(0,v.QN)("whatmoreTitleFont"),p="portrait"==t?(0,v.Xd)("whatmoreTitleFontSizePortrait"):(0,v.Xd)("whatmoreTitleFontSize"),{whatmoreRootId:h}=(0,i.useContext)(f.B),{whatmoreCollectionHeading:g}=(0,i.useContext)(f.B),{whatmoreIsCollectionsTemplate:y}=(0,i.useContext)(f.B),x=e.events,_=e.onClick,j=u,S=(0,i.useRef)(null);function N(e){_(e)}return(0,i.useEffect)(()=>{l.Sn.forEach(e=>{var t;const r=null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-ai"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-ai"]');if(!r)return;r&&e&&(e.style.minHeight="0px")})},[]),(0,i.useEffect)(()=>{if(S.current){const e=S.current;e.style.setProperty("--wtmr-font-family",j),e.setAttribute("data-mode",t)}},[j,t]),delete a.Ay.styles.global,(0,b.jsx)(s.C,{value:A,children:(0,b.jsx)("div",{ref:S,className:"wtmr-carousel whatmore-carousel-events ai-carousel-container",style:{height:"100%",background:"transparent",position:"relative"},children:(0,b.jsx)(o.s,{theme:a.Ay,cssVarsRoot:h,resetCSS:!1,children:(0,b.jsxs)(w.h.Provider,{value:{tileTopMargin:8,tileBottomMMargin:8,tileLeftMargin:2,tileRightMargin:2,showPlayButton:!0},children:[console.log("test",e.heading.trim())&&(e.heading.trim().length>0||y)&&(0,b.jsx)("div",{className:"wtmr-carousel-header",children:(0,b.jsx)("h2",{className:"wtmr-carousel-title",style:{fontSize:p+"px"},children:y?"W"!==g?g:"":e.heading})}),"landscape"===t?(0,b.jsx)(k,{events:x,onClick:N}):(0,b.jsx)(R,{events:x,onClick:N})]})})})})}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[665],{5213:function(e,t,i){i.r(t),i.d(t,{default:function(){return R}});var n=i(9950),o=i(340),r=i(5089),l=i(5873),s=(i(3997),i(9130),i(4669),i(9733),i(4365),i(7229),i(6042),i(572)),a=i(8603),d=i(9946),h=i(9094),c=i(932),p=i(1941),x=i(5491),u=i.n(x),m=i(5830),g=i(7509),f=i(1348),w=i(5903),C=i(7136),v=i(9879),y=i(6649),j=i(9258),I=i(9664),S=i(7802),b=i(8141),P=i(4414);function O(e){const[t,i,n,o,r]=(0,c.A)(),l=(0,m.Xd)("whatmoreUITheme"),s=(0,m.Xd)("whatmoreShowViews"),a=(0,m.Xd)("whatmoreShopId"),d=e.PRODUCT_BOX_HEIGHT,h=e.PRODUCT_BOX_HEIGHT_IN_PX,p=e.PRODUCT_BOX_MARGIN,[x,u,g]=(0,y.A)({triggerOnce:!0}),w=e.event;e.isOnFocus;return(0,P.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",overflow:"hidden",width:"100%",height:"100%",overflow:"hidden",backgroundColor:"transparent"},className:"whatmore-ios-css-relative-fix",children:(0,P.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"100%",justifyContent:"space-between",alignItems:"center"},children:[(0,P.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"flex-start",alignItems:"center",width:"100%"},onClick:()=>{e.onClick(w)},children:["56411783377"===a&&(0,P.jsx)("div",{style:{width:"100%",marginLeft:"5px",marginTop:"10px"},children:(0,P.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",paddingLeft:"5px",width:"fit-content",height:"fit-content",justifyContent:"space-between",alignItems:"center",filter:"drop-shadow(0px 2px 3px rgba(0, 0, 0, 0.2))"},children:(0,P.jsx)(b.A,{width:.15*i,height:.15*i})})}),"show"===s?(0,P.jsx)("div",{style:{width:"100%",marginLeft:"5px",marginRight:"5px",marginTop:"10px"},children:(0,P.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",paddingLeft:"5px",width:"fit-content",height:"fit-content",justifyContent:"space-between",alignItems:"center"},children:(0,P.jsx)(j.A,{event:w,fontSize:.07*i+"px"})})}):(0,P.jsx)(P.Fragment,{})]}),(0,P.jsx)("div",{style:{display:"flex",width:"100%",height:t-d+"px"},onClick:()=>{e.onClick(w)}}),(0,S.Hl)(w,a)?(0,P.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"28062416930"===a?void 0:p+"px",display:"flex",flexFlow:"column nowrap",justifyContent:"center",alignItems:"center",width:"28062416930"===a?"110%":.95*i,height:"28062416930"===a?"20%":h,marginLeft:p+"px",marginRight:p+"px",backgroundColor:"white",borderRadius:"round"==l?"5px":"0px",borderWidth:(0,f.YcK)(a),borderColor:(0,f.Fwt)(a),paddingLeft:"5px",paddingRight:"5px",overflow:"hidden"},children:(0,P.jsx)("div",{ref:x,children:u&&(0,f.imx)(a)?(0,P.jsx)(I.Ay,{event:w,onClick:()=>{var t,i;(0,f.gq8)(a)?window.location.href=(i=null===(t=w.products)||void 0===t?void 0:t[0],(0,f.BLb)(a)?i.product_link+"?"+(0,f.VCz)(a)+"&"+(0,f.Spk)(a)+"&"+(0,f.$lz)(a):i.product_link):e.onClick(w)}}):(0,P.jsx)("div",{height:"20px"})})}):(0,P.jsx)(P.Fragment,{})]})})}var A=function(e){var t,i,o;const[r,l,s,a,d]=(0,c.A)();var h=(0,n.useContext)(g.h);const p=(0,m.Xd)("whatmoreUITheme"),x=(0,m.Xd)("whatmoreShopId"),u=(0,m.Xd)("whatmoreSecondaryColorShade600"),w=e.event,C=e.onClick,y=null===(t=e.isOnFocus)||void 0===t||t,j=null!==(i=e.playOnUnfocus)&&void 0!==i&&i,I=null!==(o=e.animateOnFocus&&(0,f.n5O)(x))&&void 0!==o&&o,b=(0,f.nP1)(x)?.7:.8,A=r*b+"px",k=1-b,_=r*k,F=r*k+"px",L=r*k*.1,T=(0,f.VYo)(x),M="56411783377"==x?1:1.2;return(0,P.jsxs)("div",{ref:e=>{e&&(e.style.setProperty("margin-top",h.tileTopMargin+"px","important"),e.style.setProperty("margin-bottom",h.tileBottomMMargin+"px","important"))},style:{margin:"0 auto",width:l+"px",height:r*M+"px",borderRadius:"round"==p?"5px":"0px",boxShadow:"28062416930"===x?void 0:"round"===p?T:null,borderWidth:(0,f.YcK)(x),borderColor:(0,f.Fwt)(x),overflow:"hidden",cursor:"pointer",position:"relative"},className:I?y?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",children:[(0,P.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"100%",justifyContent:"flex-start",alignItems:"center"},className:"whatmore-template-b-event-tile",onClick:()=>{C(w)},children:[(0,P.jsx)(v.A,{height:A,width:"100%",url:w.thumbnail_image,isPlaying:y||j,event:w}),(0,f.Q$)(x)&&(0,S.Hl)(w,x)&&"56411783377"!==x?(0,P.jsx)("div",{style:{width:"100%",height:F,backgroundColor:u}}):(0,P.jsx)(P.Fragment,{})]}),(0,f.Q$)(x)&&(0,P.jsx)(O,{event:w,isOnFocus:y,PRODUCT_BOX_HEIGHT:_,PRODUCT_BOX_HEIGHT_IN_PX:F,PRODUCT_BOX_MARGIN:L,onClick:C})]})},k=i(6157),_=i(1351),F=i(6641);const L=(0,a.A)({key:"whatmore-css-hv"});function T(e){const[t,i,o]=(0,c.A)(),[r,l,s]=(0,p.A)(),a=(0,m.Xd)("whatmoreShopId"),h=e.events,x=e.onClick,u=o*(0,f.kcl)(a),g=(0,f.cbh)(a),[C,v]=(0,n.useState)(Math.min(h.length,g?h.length:u+5)),{whatmoreWidgetSourceDetails:y}=(0,n.useContext)(w.B);return(0,n.useEffect)(()=>{C<u+5&&v(e=>Math.min(e+5,h.length))},[u,5]),(0,P.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,P.jsx)("div",{style:{width:s,height:"fit-content"},children:(0,P.jsx)(d.RC,{slidesPerView:h.length>1?"56411783377"==a?2:u:1,initialSlide:"25075712047"===a||"56411783377"==a?0:h.length>1?1:0,centeredSlides:"25075712047"!==a&&"56411783377"!=a,centeredSlidesBounds:!1,watchSlidesProgress:!0,touchRatio:.5,onSlideChange:e=>{(0,_.UM)({userInteractionType:k.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:y}),e.realIndex>e.previousIndex&&v(e=>Math.min(e+5,h.length))},loop:(0,f.cbh)(a),children:h.map((e,t)=>t<=C&&(0,P.jsx)(d.qr,{children:({isActive:t,isPrev:i,isNext:n,isVisible:o})=>(0,P.jsx)(A,{isOnFocus:("56411783377"==a||t)&&o,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{x(e)}})},"whatmore-event-tile-portrait-"+e.index))})})})}function M(e){const[t,i,o,r]=(0,c.A)(),[l,s]=(0,n.useState)(-1),a=(0,m.Xd)("whatmoreShopId"),p=e.onClick,x=e.events,g=(0,f.cbh)(a),[v,y]=(0,n.useState)(g?x.length:o),j=Math.min(o,x.length),{whatmoreWidgetSourceDetails:I}=(0,n.useContext)(w.B);return(0,n.useEffect)(()=>{v<=o&&y(e=>e+o)},[o]),(0,P.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:r+"px",paddingRight:r+"px"},children:(0,P.jsx)("div",{style:{width:i*j*1.1+"px"},children:(0,P.jsx)(d.RC,{slidesPerView:j,watchSlidesProgress:!0,modules:[h.Vx],navigation:!0,slidesPerGroup:parseInt(j),onSlideChange:e=>{(0,_.UM)({userInteractionType:k.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:I}),e.realIndex>e.previousIndex&&y(e=>e+o)},spaceBetween:(0,f.If9)(a),loop:(0,f.cbh)(a),children:x.map((e,t)=>{const i=u()(()=>s(t),300);return t<=v&&(0,P.jsx)(d.qr,{onMouseEnter:()=>{i()},onMouseLeave:()=>{i.cancel(),s(-1)},children:({isActive:i,isPrev:n,isNext:o,isVisible:r})=>r?(0,P.jsx)(A,{isOnFocus:t==l,playOnUnfocus:!(0,f.aO7)(a)||t==parseInt(j/2)&&-1==l,animateOnFocus:!0,event:e,onClick:()=>{p(e)}}):(0,P.jsx)(C.A,{})},"whatmore-event-tile-landscape-"+e.index)})})})})}var R=function(e){const[t,i,a]=(0,p.A)(),[d]=(0,m.QN)("whatmorePrimaryColor"),[h]=(0,m.QN)("whatmoreShopId"),[c]=(0,m.QN)("whatmoreTitleFont"),x="portrait"==t?(0,m.Xd)("whatmoreTitleFontSizePortrait"):(0,m.Xd)("whatmoreTitleFontSize"),{whatmoreRootId:u}=(0,n.useContext)(w.B),f=e.events,C=e.onClick,v=c,{whatmoreCollectionHeading:y}=(0,n.useContext)(w.B),{whatmoreIsCollectionsTemplate:j}=(0,n.useContext)(w.B);function I(e){C(e)}function S(e){const t=e.indexOf(" ",e.indexOf(" ")+1);return-1===t?[e,""]:[e.substring(0,t),e.substring(t)]}return(0,n.useEffect)(()=>{(0,F.Fk)("Video shopping powered by Whatmore!")},[]),(0,n.useEffect)(()=>{l.Sn.forEach(e=>{var t;const i=null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-b"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-b"]');if(!i)return;i&&e&&(e.style.minHeight="0px")})},[]),delete r.Ay.styles.global,(0,P.jsx)(s.C,{value:L,children:(0,P.jsx)("div",{className:"whatmore-carousel-events",children:(0,P.jsx)(o.s,{theme:r.Ay,cssVarsRoot:u,resetCSS:!1,children:(0,P.jsxs)(g.h.Provider,{value:{tileTopMargin:25,tileBottomMMargin:25,tileLeftMargin:4,tileRightMargin:4,showPlayButton:!1},children:["10588815418"!==h&&"2310668401"!==h&&"10648977444"!==h&&(e.heading.trim().length>0||j)?(0,P.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},children:(0,P.jsx)("p",{ref:e=>{e&&(e.style.setProperty("font-family",v,"important"),e.style.setProperty("font-size",x+"px","important"))},style:{color:d,backgroundClip:"text",textAlign:"center"},children:j?"W"!==y?y:"":e.heading})}):(0,P.jsx)(P.Fragment,{}),"10588815418"==h||"2310668401"==h||"10648977444"==h?(0,P.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"left"},children:(0,P.jsxs)("div",{style:{display:"flex",gap:"4px"},children:[(0,P.jsx)("p",{ref:e=>{e&&(e.style.setProperty("font-family",v,"important"),e.style.setProperty("font-size",x+"px","important"))},style:{color:d,backgroundClip:"text",textAlign:"center",fontStyle:"normal"},children:j?"W"!==y?y:"":S(e.heading)[0]}),(0,P.jsx)("p",{ref:e=>{e&&(e.style.setProperty("font-family","Austin Text SemiBold Trial","important"),e.style.setProperty("font-size",x+"px","important"))},style:{color:d,backgroundClip:"text",textAlign:"center"},children:j?"W"!==y?y:"":S(e.heading)[1]})]})}):(0,P.jsx)(P.Fragment,{}),"landscape"===t?(0,P.jsx)(M,{events:f,onClick:I}):(0,P.jsx)(T,{events:f,onClick:I})]})})})})}},7136:function(e,t,i){var n=i(9950),o=i(932),r=i(7509),l=i(5830),s=i(4414);t.A=function(e){var[t,i]=(0,o.A)();(0,n.useContext)(r.h);const a=(0,l.Xd)("whatmoreShopId");return e.event,(0,s.jsx)("div",{style:{margin:"0 auto",width:"8968077397"==a?void 0:i,aspectRatio:"8968077397"==a?9/16:void 0,height:"8968077397"==a?"100%":t,overflow:"hidden"}})}},8141:function(e,t,i){i(9950);var n=i(4414);t.A=({width:e=30,height:t=30})=>(0,n.jsxs)("svg",{width:e,height:t,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("rect",{width:"30",height:"30",rx:"15",fill:"white"}),(0,n.jsx)("g",{clipPath:"url(#clip0_1_19)",children:(0,n.jsx)("path",{d:"M16.942 9.3568C16.8684 9.32095 16.7862 9.30645 16.7048 9.31496C16.6234 9.32347 16.5461 9.35464 16.4815 9.40493L12.6621 12.375H10.1875C9.95544 12.375 9.73288 12.4672 9.56878 12.6313C9.40469 12.7954 9.3125 13.0179 9.3125 13.25V16.75C9.3125 16.9821 9.40469 17.2046 9.56878 17.3687C9.73288 17.5328 9.95544 17.625 10.1875 17.625H12.6621L16.4815 20.5951C16.5461 20.6453 16.6235 20.6764 16.705 20.6849C16.7864 20.6933 16.8686 20.6787 16.9421 20.6427C17.0157 20.6068 17.0777 20.5509 17.121 20.4815C17.1644 20.4121 17.1874 20.3319 17.1875 20.25V9.75C17.1875 9.66804 17.1645 9.58773 17.1211 9.51821C17.0777 9.44869 17.0156 9.39276 16.942 9.3568ZM16.3125 19.3553L13.081 16.8424C13.0044 16.7824 12.9098 16.7498 12.8125 16.75H10.1875V13.25H12.8125C12.9098 13.2502 13.0044 13.2176 13.081 13.1576L16.3125 10.6447V19.3553ZM21.872 16.003C21.9541 16.0851 22.0002 16.1964 22.0002 16.3125C22.0002 16.4286 21.9541 16.5399 21.872 16.622C21.7899 16.7041 21.6786 16.7502 21.5625 16.7502C21.4464 16.7502 21.3351 16.7041 21.253 16.622L20.25 15.6185L19.247 16.622C19.1649 16.7041 19.0536 16.7502 18.9375 16.7502C18.8214 16.7502 18.7101 16.7041 18.628 16.622C18.5459 16.5399 18.4998 16.4286 18.4998 16.3125C18.4998 16.1964 18.5459 16.0851 18.628 16.003L19.6315 15L18.628 13.997C18.5459 13.9149 18.4998 13.8036 18.4998 13.6875C18.4998 13.5714 18.5459 13.4601 18.628 13.378C18.7101 13.2959 18.8214 13.2498 18.9375 13.2498C19.0536 13.2498 19.1649 13.2959 19.247 13.378L20.25 14.3815L21.253 13.378C21.3351 13.2959 21.4464 13.2498 21.5625 13.2498C21.6786 13.2498 21.7899 13.2959 21.872 13.378C21.9541 13.4601 22.0002 13.5714 22.0002 13.6875C22.0002 13.8036 21.9541 13.9149 21.872 13.997L20.8685 15L21.872 16.003Z",fill:"#1A1A1A"})}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_1_19",children:(0,n.jsx)("rect",{width:"14",height:"14",fill:"white",transform:"translate(8 8)"})})})]})}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[485],{4063:function(t,e,o){var i=o(9950),n=o(3731),r=o(3247),l=o(5830),s=o(5144),a=o(4414);e.A=function(t){var e,o;const[d,p]=(0,i.useState)(!1),[c,u]=(0,i.useState)(!1),[h]=(0,l.QN)("whatmoreSecondaryColor"),[x]=(0,l.QN)("whatmoreSecondaryColorShade600"),[v]=(0,l.QN)("whatmoreSecondaryColorShade300"),[f]=(0,l.QN)("whatmorePrimaryFont"),m=t.onClick,y=t.icon,g=null!==(e=t.borderRadius)&&void 0!==e?e:"sm",w=null!==(o=t.baseFontSize)&&void 0!==o?o:12;return(0,a.jsxs)(r.az,{display:"flex",alignItems:"center",width:"fit-content",height:"fit-content",boxShadow:"lg",borderRadius:g,backgroundColor:d?v:h,animation:c?s.jd:null,padding:"6px 12px",cursor:"pointer",gap:"6px",onClick:t=>{t.stopPropagation(),u(!0),m()},onMouseEnter:()=>{p(!0)},onMouseLeave:()=>{p(!1)},children:[(0,a.jsx)(n.E,{fontSize:w+"px !important",fontWeight:"normal",sx:{fontFamily:f+" !important",color:"white !important"},children:"VIEW MORE"}),y]})}},4431:function(t,e,o){o.r(e),o.d(e,{default:function(){return $}});var i=o(9950),n=(o(4826),o(340)),r=o(5873),l=o(5089),s=(o(3997),o(4669),o(9733),o(4365),o(7229),o(572)),a=o(8603),d=o(932),p=o(1941),c=o(5491),u=o.n(c),h=o(5830),x=o(7509),v=o(7136),f=o(1348),m=o(5903),y=o(1351),g=o(6157),w=o(9879),b=o(6663),j=o(8538),C=o(6594),S=o(22),P=o(6613),M=o(8149),k=o(7740),I=o(7035),T=o(6305),_=o(4833),R=o(4533),E=o(63),N=o(7973),A=o(4414);var z=function({productList:t,firstAvailableProduct:e,setFirstAvailableProduct:o,tileWidth:i}){const n=.06*i,r=n+"px",[l]=(0,h.QN)("whatmorePrimaryFont");return(0,A.jsxs)("div",{onClick:t=>{t.stopPropagation()},style:{display:"flex",flexDirection:"column",borderTopLeftRadius:"12px",borderTopRightRadius:"12px",backgroundColor:"#fff",height:"fit-content",padding:"14px",boxShadow:"0px 0px 6px 0px rgba(0, 0, 0, 0.7)"},children:[(0,A.jsx)("p",{ref:t=>{t&&(t.style.setProperty("font-size",r,"important"),t.style.setProperty("font-weight","600","important"),t.style.setProperty("-webkit-line-clamp",2,"important"),t.style.setProperty("line-clamp",2,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"))},children:"Select Product"}),(0,A.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:"4px",paddingTop:"8px",maxHeight:.9*i,overflowY:"auto",paddingBottom:"12px"},children:t.map((t,i)=>(0,A.jsxs)("div",{onClick:e=>{e.stopPropagation(),(t=>{o(t)})(t)},style:{WebkitTapHighlightColor:"transparent",cursor:"pointer",padding:"8px",display:"flex",alignItems:"center",gap:"8px",borderRadius:"6px",backgroundColor:(null===e||void 0===e?void 0:e.client_product_id)==(null===t||void 0===t?void 0:t.client_product_id)?"#f0f0f0":"white",border:(null===e||void 0===e?void 0:e.client_product_id)==(null===t||void 0===t?void 0:t.client_product_id)?"1px solid #343434":"none"},children:[(0,A.jsx)("img",{src:(0,N.b)(null===t||void 0===t?void 0:t.thumbnail_image),alt:null===t||void 0===t?void 0:t.title,style:{width:2*n,height:2*n}}),(0,A.jsx)("p",{style:{fontSize:.8*n+"px",fontFamily:l,textTransform:"uppercase",backgroundColor:"inherit"},children:null===t||void 0===t?void 0:t.title})]},i))})]})};var L=function(t){var e,o,n,r,l,s,a,p,c,u,v,L,O,F,W,X,D,Y,B,$,U,H,Q,V,q;const[G,K,J,Z,tt]=(0,d.A)(),et=(0,h.Xd)("whatmoreShopId"),ot=(0,h.Xd)("whatmoreLandingLocationType"),it="portrait"===tt[S.dl],nt=it?1.076*K*(0,f.HWj)(et):K*(0,f.N_4)(et),rt=nt+"px",lt=(it?1.076*K*(0,f.HWj)(et):K*(0,f.N_4)(et))+"px",st=(it?.965*K*(0,f.HWj)(et):.859*K*(0,f.N_4)(et))+"px",[at,dt]=(0,i.useState)(t.event),[pt,ct]=(0,i.useState)(!1),ut=(0,h.Xd)("whatmoreSecondaryColor");(0,h.Xd)("whatmoreProductId");var ht=(0,i.useContext)(x.h);const xt=null===(e=t.isOnFocus)||void 0===e||e,vt=null!==(o=t.playOnUnfocus)&&void 0!==o&&o,ft=t.onClick,mt=(0,h.Xd)("whatmoreUITheme"),yt=(0,h.Xd)("websiteLanguage"),gt=null!==(n=t.animateOnFocus&&(0,f.n5O)(et))&&void 0!==n&&n,[wt,bt]=(0,i.useState)(!1),jt=(0,h.Xd)("whatmorePrimaryFont"),[Ct,St]=(0,i.useState)(null!==(r=null===(l=at.products)||void 0===l?void 0:l.find(t=>"active"==t.product_status))&&void 0!==r?r:null===(s=at.products)||void 0===s?void 0:s[0]),Pt=Ct&&Object.keys(Ct).length>0;let Mt,kt,It;Mt=null===Ct||void 0===Ct?void 0:Ct.price,kt=null===Ct||void 0===Ct?void 0:Ct.compare_price,It=kt&&0!=kt&&kt>Mt?Math.round((kt-Mt)/kt*100):NaN;const[Tt,_t]=(0,i.useState)(It),[Rt,Et]=(0,i.useState)(),{whatmoreIsPreviewMode:Nt,whatmoreWidgetSourceDetails:At,whatmoreUserInfo:zt}=(0,i.useContext)(m.B),[Lt,Ot]=(0,i.useState)(!1),[Ft,Wt,Xt,Dt,Yt,Bt]=(0,T.A)(0,Ct,at),$t=Pt&&(0,f.mRH)(et),Ut=Pt&&(0,f.VhI)(et),Ht=(0,f.WRx)(et)||ut,Qt=(0,f.jsS)(et)||"white",Vt=(0,f.KPq)(et)||"ADD TO CART",[qt,Gt]=(0,i.useState)(!1),Kt="76767920441"===et||"55840899223"===et,Jt=.25*K,[Zt,te]=(0,i.useState)(null),[ee,oe]=(0,i.useState)(!1),ie="64287408360"===et&&Rt&&Rt.options&&1===Rt.options.length&&"size"===Rt.options[0].name.toLowerCase()&&Rt.variants&&Rt.variants.length>0,ne=ie?Rt.variants.filter(t=>t.available):[];(0,i.useEffect)(()=>{if("6573064236"!==et){if(Pt&&(0,f.w4b)(et)&&(0,C.fu)(at,(0,f.NCy)(et),et).then(t=>{var e,o,i;dt(t),(null===t||void 0===t||null===(e=t.products)||void 0===e||null===(o=e[0])||void 0===o?void 0:o.discount)&&_t(null===t||void 0===t||null===(i=t.products[0])||void 0===i?void 0:i.discount),bt(!0)}),Pt){(async()=>{let t=Ct;for(let i=0;i<(null===at||void 0===at||null===(e=at.products)||void 0===e?void 0:e.length);i++){var e;const o=await(0,M.M)(null===at||void 0===at?void 0:at.products[i],(0,f.NCy)(et),et);if(null!==o&&void 0!==o&&o.available){St(null===at||void 0===at?void 0:at.products[i]),t=null===at||void 0===at?void 0:at.products[i];break}}const o=await(0,M.M)(t,(0,f.NCy)(et),et);Et(o),bt(!0)})()}}else bt(!0)},[Pt]),(0,i.useEffect)(()=>{if(Pt){if("6573064236"===et)return void bt(!0);(async()=>{const t=await(0,M.M)(Ct,(0,f.NCy)(et),et);Et(t),bt(!0)})()}},[Ct]),(0,i.useEffect)(()=>{ie&&ne.length>0&&!Zt&&te(ne[0])},[ie,ne,Zt]),(0,i.useEffect)(()=>{if("awaitingVariantSelection"===Ft.state&&Zt&&ie&&!ee){const t=At.landingLocationType,e=At.templateType,o=(0,_.Wd)(t)+(0,_.gf)(e)+(null!==at&&void 0!==at&&at.isRelatedEvent?"R":"E")+"_"+(null===at||void 0===at?void 0:at.event_id);console.log("selectedVariant : ",Zt.option1),Bt([Zt.option1,null,null],o)}},[Ft]);const re=async t=>{if("6573064236"===et&&null!==Ct&&void 0!==Ct&&Ct.product_link)return t.stopPropagation(),void(window.location.href=Ct.product_link);if(t.stopPropagation(),!Pt)return;if(ie)return void oe(!0);ct(!0);const e=At.landingLocationType,o=At.templateType,i=(0,_.Wd)(e)+(0,_.gf)(o)+(null!==at&&void 0!==at&&at.isRelatedEvent?"R":"E")+"_"+(null===at||void 0===at?void 0:at.event_id);(0,R.Ch)(at.event_id,at.products,"homepage","carousel",i,null===at||void 0===at?void 0:at.location,null===zt||void 0===zt?void 0:zt.userType),"init"==Ft.state?(Yt(i,!0),(0,y.kz)({userInteractionType:g.O.PRODUCT_TILE_ATC_CLICKED,widgetSourceDetails:At,event:at,productList:[Ct],ctaList:at.cta})):"awaitingVariantSelection"==Ft.state&&Bt(null,i),setTimeout(()=>{ct(!1),Gt(!1)},3e3)},le=it?"36px":"44px",se=Kt&&it?{width:.22*K,height:.29*K}:Kt?{width:1.2*Jt,height:1.6*Jt}:null;return(0,A.jsxs)("div",{ref:t=>{t&&(t.style.setProperty("margin-top",ht.tileTopMargin+"px"),t.style.setProperty("margin-bottom",ht.tileBottomMMargin+"px"))},className:gt&&!it?xt?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",style:{margin:"0 auto",cursor:"pointer",width:Kt&&!it?1.1*K:K,position:"relative"},onClick:()=>{ft(at)},onMouseEnter:()=>Ot(!0),onMouseLeave:()=>Ot(!1),children:[(0,A.jsxs)("div",{className:"wht-event-tile-parent-scroll",style:{borderRadius:"round"==mt?"5%":"0px",boxShadow:"round"==mt?"0px 0px 5px 0px #B0B0B0":null,height:G,borderWidth:(0,f.YcK)(et),borderColor:(0,f.Fwt)(et),overflow:"hidden",position:"relative"},children:[(0,A.jsx)(w.A,{height:(0,f.u06)(et)+" !important",width:"100%",url:at.thumbnail_image,isPlaying:xt||vt||(0,P.At)(),event:at}),Ut&&Pt&&(Lt||it)&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("div",{style:{position:"absolute",bottom:le,left:0,right:0,display:qt?"block":"none"},children:(0,A.jsx)(z,{productList:at.products,firstAvailableProduct:Ct,setFirstAvailableProduct:St,tileWidth:K})}),(0,A.jsxs)("div",{style:{position:"absolute",bottom:0,left:0,right:0,background:Ht||"rgba(0, 0, 0, 0.75)",height:le,display:"flex",alignItems:"center",justifyContent:"center",transition:"all 0.3s ease",cursor:"pointer",transform:Lt||it?"translateY(0)":"translateY(100%)",opacity:Lt||it?1:0,WebkitTapHighlightColor:"transparent",WebkitTouchCallout:"none"},onClick:re,children:[(0,A.jsx)("div",{style:{flex:1,textAlign:"center",color:Qt,fontSize:"12px",fontFamily:jt,fontWeight:"500",letterSpacing:"0.5px"},children:pt?(0,A.jsx)(E.y,{size:"sm",color:"white"}):Vt}),(0,A.jsx)("span",{style:{height:"100%",borderRight:`1px solid ${Qt}`,opacity:.5}}),(0,A.jsx)("div",{onClick:t=>{t.stopPropagation(),Gt(!qt)},style:{padding:"0 5%",display:"flex",alignItems:"center",justifyContent:"center",color:Qt,transform:qt?"rotate(180deg)":"rotate(0deg)",transition:"all 0.25s ease"},children:(0,A.jsx)(b.A,{sx:{fontSize:2*nt}})})]})]})]}),(0,A.jsxs)("div",{className:"wht-prod-info",style:{display:(0,f.AmR)(et)?"flex":"none",flexDirection:"row",padding:Kt&&it?"6px 4px":"12px 4px",gap:Kt&&it?"4px":"12px",alignItems:"stretch",minHeight:$t?Kt&&it?"85px":"110px":"auto"},children:[Kt&&Pt&&se&&(0,A.jsx)("div",{style:{flexShrink:0,display:"flex",alignItems:"stretch"},children:(0,A.jsx)("img",{ref:t=>{t&&t.style.setProperty("object-fit",(0,f.KZe)(et),"important")},src:(0,N.b)((null===Ct||void 0===Ct?void 0:Ct.thumbnail_image)||(null===Ct||void 0===Ct?void 0:Ct.image)||(null===Ct||void 0===Ct?void 0:Ct.featured_image),"&width=400&height=400"),alt:null===Ct||void 0===Ct?void 0:Ct.title,style:{width:se.width,height:se.height,borderRadius:"round"==mt?"5px":"0px",backgroundColor:"#f5f5f5",objectFit:"contain",marginLeft:it?"0px":"-3px"}})}),(0,A.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:Kt&&it?"2px":"5px",flex:1,minWidth:0},children:[Pt&&(0,A.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,f.m5c)(et),"important"),t.style.setProperty("font-size","45034766485"==et&&"product"==ot?"9px":rt),t.style.setProperty("line-height","120%"),t.style.setProperty("font-family",jt,"important"),t.style.setProperty("-webkit-line-clamp","55840899223"===et?"2":"1","important"),t.style.setProperty("line-clamp","55840899223"===et?"2":"1","important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"),"55840899223"===et&&t.style.setProperty("height",1.2*nt*2+"px","important"))},children:(0,j.v)(null===Ct||void 0===Ct?void 0:Ct.title)}),Pt&&wt&&(0,f.Nzx)(et)&&(0,A.jsxs)("div",{style:{display:"flex",gap:Kt&&it?"6px":"12px",flexDirection:(0,f.vw2)(et)?"row":"row-reverse",justifyContent:(0,f.vw2)(et)?"flex-start":"flex-end",alignItems:"center",flexWrap:"wrap"},children:[(0,A.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,f.m5c)(et),"important"),t.style.setProperty("font-size","45034766485"==et&&"product"==ot?"8px":lt),t.style.setProperty("font-family",jt,"important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-align","left","important"),t.style.setProperty("width","auto","important"))},style:{fontWeight:"normal"==(0,f.i6j)(et)?"normal":"bold"},children:(0,C.Sb)(parseFloat((0,k.U)()?(null!==(a=null===Rt||void 0===Rt||null===(p=Rt.variants)||void 0===p||null===(c=p[0])||void 0===c?void 0:c.price)&&void 0!==a?a:null===Rt||void 0===Rt?void 0:Rt.price)?(null!==(u=null===Rt||void 0===Rt||null===(v=Rt.variants)||void 0===v||null===(L=v[0])||void 0===L?void 0:L.price)&&void 0!==u?u:null===Rt||void 0===Rt?void 0:Rt.price)/100:Mt:Mt>0?Mt:null===Ct||void 0===Ct?void 0:Ct.price_max)," ",et,null===(O=at.products[0])||void 0===O?void 0:O.currency)}),!isNaN(kt)&&kt>Mt&&(0,A.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,f.gld)(et),"important"),t.style.setProperty("font-size",lt),t.style.setProperty("font-family",jt,"important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("width","auto","important"))},style:{textDecoration:"line-through"},children:(0,C.Sb)(parseFloat((0,k.U)()&&(null!==(F=null===Rt||void 0===Rt||null===(W=Rt.variants)||void 0===W||null===(X=W[0])||void 0===X?void 0:X.compare_at_price)&&void 0!==F?F:null===Rt||void 0===Rt?void 0:Rt.compare_at_price)?(null!==(D=null===Rt||void 0===Rt||null===(Y=Rt.variants)||void 0===Y||null===(B=Y[0])||void 0===B?void 0:B.compare_at_price)&&void 0!==D?D:null===Rt||void 0===Rt?void 0:Rt.compare_at_price)/100:kt)," ",et,null===($=at.products[0])||void 0===$?void 0:$.currency)}),(0,f.Nzx)(et)&&!isNaN(Tt)&&0!=Tt&&wt&&$t&&(0,A.jsx)("div",{style:{display:(0,f.QNr)(et)?"flex":"none",backgroundColor:"green"===(0,f.ub$)(et)?"#343434"===ut?(0,f.ub$)(et):ut:(0,f.ub$)(et),alignItems:"center",borderRadius:(0,f.v8m)(et)+"px",width:"fit-content",padding:(0,f.Cf)(et)?"3px 6px":"0px"},children:(0,f.Cf)(et)?(0,A.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,f.BRY)(et),"important"),t.style.setProperty("font-size",st,"important"),t.style.setProperty("font-family",jt,"important"),t.style.setProperty("font-weight","normal","important"))},children:`${Tt}% ${null!==(U=null===I.m||void 0===I.m||null===(H=I.m[yt])||void 0===H?void 0:H.off)&&void 0!==U?U:"off"}`}):(0,A.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,f._zx)(et),"important"),t.style.setProperty("font-size",st,"important"),t.style.setProperty("font-family",(0,f.ogW)(et),"important"))},children:(0,f.rsz)(et)})})]}),Pt&&(0,f.Nzx)(et)&&!isNaN(Tt)&&0!=Tt&&wt&&!$t&&(0,A.jsx)("div",{style:{display:(0,f.QNr)(et)?"flex":"none",backgroundColor:"green"===(0,f.ub$)(et)?"#343434"===ut?(0,f.ub$)(et):ut:(0,f.ub$)(et),alignItems:"center",borderRadius:(0,f.v8m)(et)+"px",width:"fit-content",padding:(0,f.Cf)(et)?"3px 6px":"0px"},children:(0,f.Cf)(et)?(0,A.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,f.BRY)(et),"important"),t.style.setProperty("font-size",st,"important"),t.style.setProperty("font-family",jt,"important"),t.style.setProperty("font-weight","normal","important"))},children:`${Tt}% ${null!==(Q=null===I.m||void 0===I.m||null===(V=I.m[yt])||void 0===V?void 0:V.off)&&void 0!==Q?Q:"off"}`}):(0,A.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,f._zx)(et),"important"),t.style.setProperty("font-size",st,"important"),t.style.setProperty("font-family",(0,f.ogW)(et),"important"))},children:(0,f.rsz)(et)})}),$t&&(0,A.jsx)("button",{style:{backgroundColor:ut,display:"flex",justifyContent:"center",color:"white",borderRadius:"4px",padding:"8px 16px",fontSize:rt,fontFamily:jt,fontWeight:"500",cursor:"pointer",textAlign:"center",letterSpacing:"0.5px",transition:"opacity 0.2s ease",width:Kt&&it?"100px":"90%",marginTop:Kt?"6px":"0px",alignSelf:"flex-start",marginLeft:Kt&&it?"-30px":"0px"},onClick:re,onMouseEnter:t=>{t.target.style.opacity="0.8"},onMouseLeave:t=>{t.target.style.opacity="1"},children:pt?(0,A.jsx)(E.y,{size:"sm",display:"flex !important",color:"white"}):Vt})]})]}),ie&&ee&&(0,A.jsx)("div",{onClick:t=>{t.stopPropagation(),oe(!1)},style:{position:"absolute",bottom:it?"25px":"10px",left:0,right:0,zIndex:1e4},children:(0,A.jsxs)("div",{onClick:t=>t.stopPropagation(),style:{backgroundColor:"#f5f5f5",borderRadius:it?"10px 10px 0 0":"12px 12px 0 0",padding:it?"8px":"14px",width:"100%",boxShadow:"0 -4px 20px rgba(0,0,0,0.15)"},children:[(0,A.jsx)("div",{style:{width:it?"30px":"45px",height:"3px",backgroundColor:"#ccc",borderRadius:"2px",margin:it?"0 auto 2px":"0 auto 4px"}}),(0,A.jsx)("h3",{style:{fontSize:it?"10px":"12px",fontFamily:jt,fontWeight:"500",textAlign:"center",margin:it?"0 0 5px 0":"0 0 8px 0",color:"#000"},children:"Size"}),(0,A.jsx)("div",{style:{display:"flex",flexWrap:"wrap",gap:it?"5px":"8px",marginBottom:it?"5px":"8px",justifyContent:"center"},children:null===Rt||void 0===Rt||null===(q=Rt.variants)||void 0===q?void 0:q.map(t=>(0,A.jsx)("div",{onClick:()=>{t.available&&te(t)},style:{padding:it?"4px 4px":"6px 8px",borderRadius:it?"4px":"5px",border:`1px solid ${(null===Zt||void 0===Zt?void 0:Zt.id)===t.id?"white":ut}`,textAlign:"center",cursor:t.available?"pointer":"not-allowed",fontSize:it?"7px":"10px",fontFamily:jt,fontWeight:"200",backgroundColor:(null===Zt||void 0===Zt?void 0:Zt.id)===t.id?ut:"white",color:(null===Zt||void 0===Zt?void 0:Zt.id)===t.id?"white":ut,textDecoration:t.available?"none":"line-through",whiteSpace:"nowrap",opacity:t.available?1:.5,boxShadow:(null===Zt||void 0===Zt?void 0:Zt.id)===t.id?"0px 1px 8px 0px rgba(0,0,0,0.18)":"none"},children:t.option1},t.id))}),(0,A.jsxs)("div",{style:{display:"flex",gap:it?"5px":"6px"},children:[(0,A.jsx)("button",{onClick:()=>oe(!1),style:{flex:1,padding:it?"6px":"9px",backgroundColor:"white",color:"#000",borderRadius:it?"5px":"6px",fontSize:it?"10px":"12px",fontFamily:jt,fontWeight:"600",cursor:"pointer",border:"1px solid #ddd"},children:"Cancel"}),(0,A.jsx)("button",{onClick:async()=>{oe(!1),ct(!0);const t=At.landingLocationType,e=At.templateType,o=(0,_.Wd)(t)+(0,_.gf)(e)+(null!==at&&void 0!==at&&at.isRelatedEvent?"R":"E")+"_"+(null===at||void 0===at?void 0:at.event_id);(0,R.Ch)(at.event_id,at.products,"homepage","carousel",o,null===at||void 0===at?void 0:at.location,null===zt||void 0===zt?void 0:zt.userType),(0,y.kz)({userInteractionType:g.O.PRODUCT_TILE_ATC_CLICKED,widgetSourceDetails:At,event:at,productList:[Ct],ctaList:at.cta}),"init"==Ft.state?Yt(o,!1):"awaitingVariantSelection"==Ft.state&&Bt([null===Zt||void 0===Zt?void 0:Zt.option1,null,null],o),setTimeout(()=>{ct(!1),Gt(!1),oe(!1)},3e3)},style:{flex:1,padding:it?"6px":"9px",backgroundColor:ut,color:"white",border:"1px solid #ddd",borderRadius:it?"5px":"6px",fontSize:it?"10px":"12px",fontFamily:jt,fontWeight:"600",cursor:"pointer"},children:"Done"})]})]})})]})},O=o(6641),F=o(4063);const W=(0,a.A)({key:"whatmore-css-hv"});function X(t){const[e,o,n]=(0,d.A)(),r=(0,h.Xd)("whatmoreShopId"),l=(0,h.Xd)("whatmoreLandingLocationType"),s=t.events,a=t.onClick,{whatmoreWidgetSourceDetails:p}=(0,i.useContext)(m.B),c=Math.ceil(n),u=2*c,[x,w]=(0,i.useState)(u),[b,j]=(0,i.useState)(2*c),C=0===(0,f.If9)(r)?24:(0,f.If9)(r),[S,P]=(0,i.useState)({touchX:0,touchY:0}),M=()=>(0,A.jsx)("div",{className:"navigation-button-next-container",style:{width:"50px",borderRadius:"50%",height:"50px",backgroundColor:"rgba(0, 0, 0, 0.3)"},children:(0,A.jsx)("div",{style:{display:"flex"},className:"whatmore-arrow-right-portrait"})}),k=()=>(0,A.jsx)("div",{className:"navigation-button-prev-container",style:{width:"50px",borderRadius:"50%",height:"50px",backgroundColor:"rgba(0, 0, 0, 0.3)"},children:(0,A.jsx)("div",{style:{display:"flex"},className:"whatmore-arrow-left-portrait"})}),I=t=>{if("next"===t){const t=2;j(t=>Math.min(t+Math.floor(n),s.length+c+1)),w(e=>Math.min(e+t,s.length+c+1))}else j(t=>Math.max(t-Math.floor(n),u));(0,y.UM)({userInteractionType:g.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:p})};return(0,A.jsxs)("div",{className:"whatmore-events-carousel-portrait",style:{display:"flex",justifyContent:"45034766485"==r&&"product"==l?"center":"flex-start",paddingLeft:"12px",overflow:"hidden",position:"relative"},onTouchStart:t=>{P({touchX:t.touches[0].clientX,touchY:t.touches[0].clientY})},onTouchEnd:t=>{var e,o,i,n;const r=(null===(e=t.changedTouches)||void 0===e||null===(o=e[0])||void 0===o?void 0:o.clientX)-S.touchX,l=(null===(i=t.changedTouches)||void 0===i||null===(n=i[0])||void 0===n?void 0:n.clientY)-S.touchY;Math.sqrt(r**2+l**2)>10&&Math.abs(r)>Math.abs(l)&&I(r>0?"prev":"next")},children:[(0,f.JSQ)(r)&&(0,A.jsxs)(A.Fragment,{children:[b<=s.length+c&&(0,A.jsx)("div",{onClick:()=>I("next"),style:{position:"absolute",zIndex:1,top:"50%",right:"0",transform:"translateY(-100%)"},children:(0,A.jsx)(M,{})}),b>2*c&&(0,A.jsx)("div",{onClick:()=>I("prev"),style:{position:"absolute",left:"0",zIndex:1,top:"50%",transform:"translateY(-100%)"},children:(0,A.jsx)(k,{})})]}),(0,A.jsx)("div",{style:{display:"flex",gap:C,transform:`translateX(-${(b-u)*(o+C)}px)`,transition:"transform 0.4s ease-in-out"},children:s.map((t,e)=>e<x?(0,A.jsx)("div",{children:(0,A.jsx)(L,{isOnFocus:e<=b-c-1&&e>=Math.max(0,b-u),playOnUnfocus:!1,animateOnFocus:!0,event:t,onClick:()=>a(t)})},`whatmore-carousel-tile-${e}`):(0,A.jsx)(v.A,{}))})]})}function D(t){const[e,o,n,r]=(0,d.A)(),[l,s]=(0,i.useState)(-1),a=(0,h.Xd)("whatmoreShopId"),[p,c]=(0,i.useState)("next"),x=t.onClick,v=t.events,{whatmoreWidgetSourceDetails:w}=(0,i.useContext)(m.B),b=Math.min(Math.ceil(n),v.length),[j,C]=(0,i.useState)(0),S=0===(0,f.If9)(a)?24:(0,f.If9)(a),P=()=>(0,A.jsx)("div",{children:(0,A.jsx)("button",{onClick:T,style:{width:"50px",borderRadius:"6px",height:"100px",backgroundColor:"rgba(0, 0, 0, 0.3)"},children:(0,A.jsx)("div",{style:{display:"flex"},className:"whatmore-arrow-right"})})}),M=()=>(0,A.jsx)("div",{children:(0,A.jsx)("button",{onClick:I,style:{width:"50px",borderRadius:"6px",height:"100px",backgroundColor:"rgba(0, 0, 0, 0.3)"},children:(0,A.jsx)("div",{style:{display:"flex"},className:"whatmore-arrow-left"})})});(0,i.useEffect)(()=>{j<=b&&C(t=>t+b)},[b]);const k=()=>{s(-1)},I=()=>{j!==b&&(c("prev"),C(t=>Math.max(Math.ceil(t-n),b)),(0,y.UM)({userInteractionType:g.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:w}))},T=()=>{j>v.length+n||(c("next"),C(t=>Math.floor(t+n)),(0,y.UM)({userInteractionType:g.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:w}))},_=j>v.length?v.length-b+1:j-b,R=j>=v.length?v.length:_+b,E=v.slice(_,R);return(0,A.jsxs)("div",{className:"whatmore-events-carousel-landscape",style:{position:"relative",display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:`${r}px`,paddingRight:`${r}px`},children:[j!==b&&(0,A.jsx)("div",{className:"wht-vst-button-prev",style:{position:"absolute",left:r+"px",zIndex:1,top:"50%",transform:"translateY(-65%)"},children:(0,A.jsx)(M,{})}),(0,A.jsx)("div",{className:"wht-hide-scrollbar",style:{display:"flex",gap:S+"px",width:o*n*(0,f.fHt)(a)+"px",justifyContent:v.length>b?"flex-start":"center",overflow:"auto"},children:E.map((t,e)=>{const o=`whatmore-event-tile-landscape-${t.index}${e===b-1?"-last":""}`,i=e===l;return(0,A.jsx)("div",{className:"whatmore-event-tile-horizontal-swipe-animation-"+("next"===p?"next":"prev"),onMouseEnter:()=>(t=>{const e=u()(()=>s(t),300);return e(),e.cancel})(e),onMouseLeave:k,children:(0,A.jsx)(L,{isOnFocus:i,playOnUnfocus:!(0,f.aO7)(a)||e==parseInt(b/2)&&-1==l,animateOnFocus:!0,event:t,onClick:()=>(t=>{x(t)})(t)})},o)})}),j<v.length&&(0,A.jsx)("div",{className:"wht-vst-button-next",style:{position:"absolute",zIndex:1,top:"50%",right:r+"px",transform:"translateY(-65%)"},children:(0,A.jsx)(P,{})})]})}function Y(t){const[e,o,n,r]=(0,d.A)(),[l,s]=(0,i.useState)(-1),a=(0,h.Xd)("whatmoreShopId"),[p,c]=(0,i.useState)("next"),x=t.onClick,v=t.events,{whatmoreWidgetSourceDetails:w}=(0,i.useContext)(m.B),b=Math.min(Math.ceil(n),v.length),[j,C]=(0,i.useState)(0),S=0===(0,f.If9)(a)?24:(0,f.If9)(a),[P,M]=(0,i.useState)(!1),[k,I]=(0,i.useState)(0),[T,_]=(0,i.useState)(0),R=({disabled:t})=>(0,A.jsx)("button",{onClick:t?void 0:O,className:"wht-custom-nav-dot-next",style:{width:"32px",height:"32px",borderRadius:"50%",backgroundColor:"#F97316",border:"none",cursor:"pointer",opacity:1,padding:0,display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},children:(0,A.jsx)("div",{style:{width:"8px",height:"8px",borderRight:"2px solid #fff",borderBottom:"2px solid #fff",transform:"rotate(-45deg)",position:"absolute"}})}),E=({disabled:t})=>(0,A.jsx)("button",{onClick:t?void 0:z,className:"wht-custom-nav-dot-prev",style:{width:"32px",height:"32px",borderRadius:"50%",backgroundColor:"#F97316",border:"none",cursor:"pointer",opacity:1,padding:0,display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},children:(0,A.jsx)("div",{style:{width:"8px",height:"8px",borderLeft:"2px solid #fff",borderBottom:"2px solid #fff",transform:"rotate(45deg)",position:"absolute"}})});(0,i.useEffect)(()=>{j<=b&&C(t=>t+b)},[b]);const N=()=>{s(-1)},z=()=>{j!==b&&(c("prev"),C(t=>Math.max(Math.ceil(t-n),b)),(0,y.UM)({userInteractionType:g.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:w}))},O=()=>{j>v.length+n||(c("next"),C(t=>Math.floor(t+n)),(0,y.UM)({userInteractionType:g.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:w}))},F=j>v.length?v.length-b+1:j-b,W=j>=v.length?v.length:F+b,X=v.slice(F,W);return(0,A.jsxs)("div",{style:{position:"relative",width:"100%",minHeight:`${e+60}px`,paddingBottom:"50px"},children:[(0,A.jsx)("div",{className:"whatmore-events-carousel-landscape",style:{position:"relative",display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:`${r}px`,paddingRight:`${r}px`,cursor:P?"grabbing":"grab",userSelect:"none"},onMouseDown:t=>{M(!0),I(t.clientX),_(t.clientY)},onMouseMove:t=>{P&&t.preventDefault()},onMouseUp:t=>{if(!P)return;M(!1);const e=t.clientX-k,o=t.clientY-T;Math.sqrt(e**2+o**2)>50&&Math.abs(e)>Math.abs(o)&&(e>0?z():O())},onMouseLeave:()=>{P&&M(!1)},onTouchStart:t=>{M(!0),I(t.touches[0].clientX),_(t.touches[0].clientY)},onTouchMove:t=>{},onTouchEnd:t=>{if(!P)return;M(!1);const e=t.changedTouches[0].clientX-k,o=t.changedTouches[0].clientY-T;Math.sqrt(e**2+o**2)>50&&Math.abs(e)>Math.abs(o)&&(e>0?z():O())},children:(0,A.jsx)("div",{className:"wht-hide-scrollbar",style:{display:"flex",gap:S+"px",width:o*n*(0,f.fHt)(a)+"px",justifyContent:v.length>b?"flex-start":"center",overflow:"auto"},children:X.map((t,e)=>{const o=`whatmore-event-tile-landscape-${t.index}${e===b-1?"-last":""}`,i=e===l;return(0,A.jsx)("div",{className:"whatmore-event-tile-horizontal-swipe-animation-"+("next"===p?"next":"prev"),onMouseEnter:()=>(t=>{const e=u()(()=>s(t),300);return e(),e.cancel})(e),onMouseLeave:N,children:(0,A.jsx)(L,{isOnFocus:i,playOnUnfocus:!(0,f.aO7)(a)||e==parseInt(b/2)&&-1==l,animateOnFocus:!0,event:t,onClick:()=>(t=>{x(t)})(t)})},o)})})}),(0,A.jsxs)("div",{style:{position:"absolute",bottom:"0",left:"50%",transform:"translateX(-50%)",display:"flex",gap:"14px",width:"78px",height:"33px",alignItems:"center",justifyContent:"center"},children:[(0,A.jsx)(E,{disabled:j===b}),(0,A.jsx)(R,{disabled:j>=v.length})]})]})}function B(t){const[e,o,n]=(0,d.A)(),r=(0,h.Xd)("whatmoreShopId"),l=(0,h.Xd)("whatmoreLandingLocationType"),s=t.events,a=t.onClick,{whatmoreWidgetSourceDetails:p}=(0,i.useContext)(m.B),c=.6*n,u=Math.ceil(c),x=2*u,[w,b]=(0,i.useState)(x),[j,C]=(0,i.useState)(2*u),S=0===(0,f.If9)(r)?24:(0,f.If9)(r),P=(0,i.useRef)({touchX:0,touchY:0}),M=(0,i.useRef)(!1),k=({disabled:t})=>(0,A.jsx)("button",{onClick:t?void 0:()=>T("next"),className:"wht-custom-nav-dot-next-portrait",style:{width:"32px",height:"32px",borderRadius:"50%",backgroundColor:"#F97316",border:"none",cursor:"pointer",opacity:1,padding:0,display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},children:(0,A.jsx)("div",{style:{width:"8px",height:"8px",borderRight:"2px solid #fff",borderBottom:"2px solid #fff",transform:"rotate(-45deg)",position:"absolute"}})}),I=({disabled:t})=>(0,A.jsx)("button",{onClick:t?void 0:()=>T("prev"),className:"wht-custom-nav-dot-prev-portrait",style:{width:"32px",height:"32px",borderRadius:"50%",backgroundColor:"#F97316",border:"none",cursor:"pointer",opacity:1,padding:0,display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},children:(0,A.jsx)("div",{style:{width:"8px",height:"8px",borderLeft:"2px solid #fff",borderBottom:"2px solid #fff",transform:"rotate(45deg)",position:"absolute"}})}),T=t=>{if("next"===t){const t=2,e=s.length+1;C(t=>Math.min(t+Math.floor(n),e)),b(e=>Math.min(e+t,s.length))}else C(t=>Math.max(t-Math.floor(n),x));(0,y.UM)({userInteractionType:g.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:p})};return(0,A.jsx)("div",{style:{width:"100%",overflow:"hidden",paddingBottom:"50px"},children:(0,A.jsxs)("div",{className:"whatmore-events-carousel-portrait",style:{display:"flex",justifyContent:"45034766485"==r&&"product"==l?"center":"flex-start",paddingLeft:"12px",overflow:"visible",position:"relative",zoom:1.3,paddingBottom:"60px"},onTouchStart:t=>{t.target.closest("button")||(M.current=!1,P.current={touchX:t.touches[0].clientX,touchY:t.touches[0].clientY})},onTouchMove:t=>{if(0===P.current.touchX&&0===P.current.touchY)return;const e=t.touches[0].clientX-P.current.touchX,o=t.touches[0].clientY-P.current.touchY;Math.sqrt(e**2+o**2)>10&&!M.current&&(M.current=!0)},onTouchEnd:t=>{var e,o,i,n;if(t.target.closest("button"))return;if(!M.current)return void(P.current={touchX:0,touchY:0});const r=(null===(e=t.changedTouches)||void 0===e||null===(o=e[0])||void 0===o?void 0:o.clientX)-P.current.touchX,l=(null===(i=t.changedTouches)||void 0===i||null===(n=i[0])||void 0===n?void 0:n.clientY)-P.current.touchY;Math.sqrt(r**2+l**2)>50&&Math.abs(r)>Math.abs(l)&&T(r>0?"prev":"next"),P.current={touchX:0,touchY:0},M.current=!1},children:[(0,A.jsx)("div",{style:{display:"flex",gap:S,transform:`translateX(-${(j-x)*(o+S)}px)`,transition:"transform 0.4s ease-in-out"},children:s.map((t,e)=>e<w?(0,A.jsx)("div",{children:(0,A.jsx)(L,{isOnFocus:e<=j-u-1&&e>=Math.max(0,j-x),playOnUnfocus:!1,animateOnFocus:!0,event:t,onClick:()=>a(t)})},`whatmore-carousel-tile-${e}`):(0,A.jsx)(v.A,{}))}),(0,A.jsxs)("div",{style:{position:"absolute",bottom:"-35px",left:"50%",transform:"translateX(-50%)",display:"flex",gap:"14px",width:"78px",height:"33px",alignItems:"center",justifyContent:"center"},children:[(0,A.jsx)(I,{disabled:j<=2*u}),(0,A.jsx)(k,{disabled:j>=s.length+1})]})]})})}var $=function(t){const[e,o,a]=(0,p.A)(),[d]=(0,h.QN)("whatmoreShopId"),[c]=(0,h.QN)("whatmorePrimaryColor"),[u]=(0,h.QN)("whatmoreSecondaryColor"),[v]=(0,h.QN)("whatmoreTitleFont"),y="portrait"==e?(0,h.Xd)("whatmoreTitleFontSizePortrait"):(0,h.Xd)("whatmoreTitleFontSize"),{whatmoreRootId:g}=(0,i.useContext)(m.B),{whatmoreCollectionHeading:w}=((0,h.Xd)("isInDesignMode"),(0,i.useContext)(m.B)),{whatmoreIsCollectionsTemplate:b}=(0,i.useContext)(m.B),j=t.events,C=t.onClick,S=v;function P(t){C(t)}return(0,i.useEffect)(()=>{(0,O.Fk)("Video shopping powered by Whatmore!")},[]),(0,i.useEffect)(()=>{r.Sn.forEach(t=>{var e;const o=null!==(e=t.querySelector('.whatmore-template-type[data-wh="template-f"]'))&&void 0!==e?e:t.querySelector('.whatmore-template-type[data="template-f"]');if(!o)return;o&&t&&(t.style.minHeight="0px")})},[]),delete l.Ay.styles.global,(0,A.jsx)(s.C,{value:W,children:(0,A.jsx)("div",{className:"whatmore-carousel-events",children:(0,A.jsx)(n.s,{theme:l.Ay,cssVarsRoot:g,resetCSS:!1,children:(0,A.jsxs)(x.h.Provider,{value:{tileTopMargin:25,tileBottomMMargin:10,tileLeftMargin:4,tileRightMargin:4,showPlayButton:!0},children:[t.heading.trim().length>0||b?(0,A.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"62636458233"==d?"flex-start":"center"},children:(0,A.jsx)("p",{ref:t=>{t&&(t.style.setProperty("font-family",S,"important"),t.style.setProperty("font-size",y+"px"))},style:{color:c,backgroundClip:"text",textAlign:"center",fontWeight:(0,f.Odx)(d),lineHeight:(0,f.L0y)(d),letterSpacing:(0,f.l3V)(d)},children:b?"W"!==w?w:"":t.heading})}):(0,A.jsx)(A.Fragment,{}),"landscape"===e?"6573064236"===d?(0,A.jsx)(Y,{events:j,onClick:P}):(0,A.jsx)(D,{events:j,onClick:P}):(0,A.jsxs)(A.Fragment,{children:["6573064236"===d?(0,A.jsx)(B,{events:j,onClick:P}):(0,A.jsx)(X,{events:"45034766485"==d?j.slice(0,5):j,onClick:P}),"45034766485"==d&&(0,A.jsx)("div",{className:"wht-tf-view-cta",style:{display:"flex",justifyContent:"center",margin:"8px 0px"},children:(0,A.jsx)(F.A,{baseFontSize:.5*y,onClick:()=>P(null===j||void 0===j?void 0:j[5])})})]})]})})})})}},4826:function(){},6663:function(t,e,o){var i=o(4994);e.A=void 0;var n=i(o(9526)),r=o(4414);e.A=(0,n.default)((0,r.jsx)("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown")},7136:function(t,e,o){var i=o(9950),n=o(932),r=o(7509),l=o(5830),s=o(4414);e.A=function(t){var[e,o]=(0,n.A)();(0,i.useContext)(r.h);const a=(0,l.Xd)("whatmoreShopId");return t.event,(0,s.jsx)("div",{style:{margin:"0 auto",width:"8968077397"==a?void 0:o,aspectRatio:"8968077397"==a?9/16:void 0,height:"8968077397"==a?"100%":e,overflow:"hidden"}})}},7509:function(t,e,o){o.d(e,{h:function(){return i}});const i=(0,o(9950).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})}}]);
@@ -1,15 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[933],{3852:function(t,e,n){n.d(e,{A:function(){return y}});var i=n(3247),o=n(1422),r=n(3731),a=n(211),l=n(9950),s=n(932),d=n(5242),c=n(8781),h=n(8283);const p=h.i7`
2
- 0% {
3
- transform: scale(1);
4
- }
5
- 100% {
6
- transform: scale(1.05);
7
- }
8
- `,u=h.i7`
9
- 0% {
10
- transform: scale(1.05);
11
- }
12
- 100% {
13
- transform: scale(1);
14
- }
15
- `,m=`\n ${p}; \n infinite;\n animation-duration:0.2s; \n animation-direction: linear ;\n animation-timing-function: ease-in;\n animation-fill-mode: forwards;\n`,x=`\n ${u}; \n infinite;\n animation-duration:0.2s; \n animation-direction: linear ;\n animation-timing-function: ease-in;\n animation-fill-mode: forwards;\n`;var f=n(5830),g=n(7509),v=n(4414);var y=function(t){var e,n,[h,p]=(0,s.A)();const[u]=(0,f.QN)("whatmorePrimaryFont");var y=(0,l.useContext)(g.h);const w=t.event,j=t.onClick,b=null===(e=t.isOnFocus)||void 0===e||e,C=(t.playOnUnfocus,null!==(n=t.animateOnFocus)&&void 0!==n&&n);return(0,v.jsxs)(i.az,{animation:C?b?m:x:"none",marginTop:y.tileTopMargin,marginBottom:y.tileBottomMMargin,marginLeft:y.tileLeftMargin,marginRight:y.tileRightMargin,width:p,height:h,borderRadius:"lg",sx:{boxShadow:"0px 0px 10px 3px #B0B0B0"},overflow:"hidden",onClick:()=>{j(w)},cursor:"pointer",children:[(0,v.jsx)(a._,{width:"full",height:"full",src:w.thumbnail_image,objectFit:"cover",fallback:(0,v.jsx)(c.A,{width:p,height:h}),borderRadius:"lg"}),(0,v.jsx)(i.az,{style:{position:"relative",zIndex:1,bottom:"100%",overflow:"hidden"},width:"full",height:"full",borderRadius:"lg",overflow:"hidden",className:"whatmore-ios-css-relative-fix",children:(0,v.jsxs)(o.B,{direction:"column",height:"full",width:"full",justifyContent:"space-between",children:[(0,v.jsx)(i.az,{w:"100%",borderRadius:"lg",bgGradient:"linear(to-t, transparent, blackAlpha.200, blackAlpha.400, blackAlpha.600)",children:(0,v.jsx)(o.B,{direction:"column",justifyContent:"flex-start",children:(0,v.jsx)(i.az,{width:"100%",marginLeft:"5px",marginRight:"5px",marginTop:"10px",children:(0,v.jsx)(o.B,{direction:"row",justifyContent:"space-between",children:(0,v.jsx)(d.A,{event:w,fontSize:.05*h+"px",maxWidth:.8*p})})})})}),(0,v.jsx)(i.az,{w:"100%",borderRadius:"lg",bgGradient:"linear(to-b, transparent, blackAlpha.300, blackAlpha.400, blackAlpha.500, blackAlpha.600)",children:(0,v.jsx)(o.B,{direction:"column",width:"full",height:"full",justifyContent:"flex-end",alignContent:"center",children:(0,v.jsx)(i.az,{width:"full",borderRadius:"lg",children:(0,v.jsxs)(o.B,{direction:"column",justifyContent:"space-between",alignContent:"flex-start",marginLeft:"5px",marginRight:"5px",marginBottom:"2px",children:[(0,v.jsx)(r.E,{color:"white",fontSize:.08*p+"px",fontWeight:"normal",align:"left",children:" "}),(0,v.jsx)(r.E,{fontSize:.08*p+"px",fontWeight:"normal",align:"left",sx:{fontFamily:u+" !important",color:"white !important"},children:w.title.substring(0,40)}),(0,v.jsx)(r.E,{fontSize:.08*p+"px",fontWeight:"bold",align:"left",sx:{fontFamily:u+" !important",color:"white !important"},children:w.presenter_name.substring(0,15)})]})})})})]})})]})}},4826:function(){},6989:function(t,e,n){n.r(e),n.d(e,{default:function(){return U}});var i=n(9950),o=n(3852),r=n(340),a=n(5089),l=(n(3997),n(9733),n(4365),n(572)),s=n(8603),d=n(6086),c=n(3731),h=n(1941),p=n(5830),u=n(7509),m=n(1348),x=n(5903),f=n(1422),g=n(932),v=n(6649),y=n(4414);function w(t){var e;const[n,i,o]=(0,v.A)({triggerOnce:!1}),r=null!==(e=t.defaultHeight)&&void 0!==e?e:"fit-content";return(0,y.jsx)(f.B,{ref:n,direction:"row",minHeight:r,height:r,width:"100%",justifyContent:"center",alignItems:"center",children:i?t.data.map((e,n)=>(0,y.jsx)("div",{children:t.renderElement({eventData:e})},"key"+n)):(0,y.jsx)("div",{style:{minHeight:{rowHeight:r},minWidth:"100%"}})})}function j(t){var e;const[n,i,o]=(0,g.A)(),r=null!==(e=t.elementsPerRow)&&void 0!==e?e:Math.floor(Math.min(o,t.dataList.length)),a=function(t,e){var n=[];const i=e;for(let o=0;o<t.length;o+=i){const e=t.slice(o,o+i);n.push(e)}return n}(t.dataList,r);return(0,y.jsx)(f.B,{direction:"column",height:"100%",width:"100%",justifyContent:"flex-start",alignItems:"center",spacing:.2*n,children:a.map((e,o)=>(0,y.jsx)(w,{renderElement:t.renderElement,data:e,defaultHeight:n,defaultWidth:i},"key-"+o))})}var b=n(2039),C=(n(4826),n(9879)),k=n(9258),A=n(8538),F=n(6594),P=n(7973),S=n(8149),R=n(7740),I=n(22);var M=function(t){var e,n,o,r,[a,l,s,d,c]=(0,g.A)();const h="portrait"===c[I.dl],[u,x]=(0,i.useState)(0),[f,v]=(0,i.useState)(t.event),[w]=(0,p.QN)("whatmoreShopId"),j=(0,p.QN)("whatmoreUITheme"),[b]=(0,p.QN)("whatmorePrimaryFont"),[C]=(0,p.QN)("whatmoreSecondaryColorShade900"),k=f.products.length,[M,z]=(0,i.useState)(),[N,O]=(0,i.useState)(!1);if(0==k)return(0,y.jsx)(y.Fragment,{});(0,i.useEffect)(()=>{const t=setInterval(()=>{x(t=>(t+1)%k)},3e3);return()=>{clearInterval(t)}},[]),(0,i.useEffect)(()=>{(0,m.w4b)(w)?(0,F.fu)(f,(0,m.NCy)(w),w).then(t=>{v(t),O(!0)}):(async()=>{var t;const e=await(0,S.M)(null===f||void 0===f||null===(t=f.products)||void 0===t?void 0:t[0],(0,m.NCy)(w),w);z(e),O(!0)})()},[]);const B=(h?1.23*l*(0,m.HWj)(w):1.4*l*(0,m.N_4)(w))+"px",_=(h?1.15*l*(0,m.HWj)(w):1.31*l*(0,m.N_4)(w))+"px",T=(+f.products[u].price).toFixed(),L=(+f.products[u].compare_price).toFixed(),E=.25*l,W=(0,m.zAb)(w);return(0,y.jsxs)("div",{style:{background:"9238315068"===w?"transparent":(0,m.ivR)(w),display:"flex",flexDirection:W?"row":"column",padding:"10px 12px",gap:W?"8px":"6px",borderRadius:"round"==j?"0 0 12px 12px":"0",alignItems:W?"center":"stretch"},children:[(0,y.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"6px",flex:W?"1":"none"},children:[(0,y.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color","black","important"),t.style.setProperty("font-size",B),t.style.setProperty("line-height","120%","important"),t.style.setProperty("font-family",b,"important"),t.style.setProperty("-webkit-line-clamp",1),t.style.setProperty("line-clamp",1,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"))},style:{textAlign:"left",fontWeight:"bolder"},children:(0,A.v)(f.products[u].title)}),(0,y.jsxs)("div",{style:{display:"flex",gap:"4px"},children:[N&&(0,y.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color","black","important"),t.style.setProperty("font-size",_),t.style.setProperty("font-family",b,"important"),t.style.setProperty("overflow","hidden","important"))},style:{textAlign:"left",fontWeight:"bold"},children:(0,F.Sb)(parseFloat((0,R.U)()?(null===M||void 0===M?void 0:M.price)/100:null===f||void 0===f||null===(e=f.products)||void 0===e||null===(n=e[0])||void 0===n?void 0:n.price)," ",w,f.products[u].currency)}),!isNaN(L)&&L>T&&N&&(0,y.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color","#808191","important"),t.style.setProperty("font-size",_),t.style.setProperty("font-family",b,"important"),t.style.setProperty("overflow","hidden","important"))},style:{fontWeight:"bold",textDecoration:"line-through"},children:(0,F.Sb)(parseFloat((0,R.U)()?(null===M||void 0===M?void 0:M.compare_at_price)/100:null===f||void 0===f||null===(o=f.products)||void 0===o||null===(r=o[0])||void 0===r?void 0:r.compare_price)," ",w,f.products[u].currency)})]})]}),W&&(0,y.jsx)("img",{ref:t=>{t&&t.style.setProperty("object-fit",(0,m.KZe)(w),"important")},src:(0,P.b)(f.products[u].thumbnail_image,"&width=400&height=400"),style:{width:E,height:E,borderRadius:"round"==j?"5px":"0px",backgroundColor:C,flexShrink:0},alt:"product img"})]})},z=n(6613),N=n(6305),O=n(4833),B=n(1351),_=n(6157),T=n(4533),L=n(9664);function E(t){const[e,n]=(0,g.A)(),[i]=(0,p.QN)("whatmoreShowViews"),o=t.event;return(0,y.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",overflow:"hidden",width:"100%",height:"100%",overflow:"hidden",backgroundColor:"transparent"},className:"whatmore-ios-css-relative-fix",children:(0,y.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"100%",justifyContent:"space-between",alignItems:"center"},children:(0,y.jsx)("div",{style:{width:"100%",backgroundImage:"linear-gradient(to top, rgba(0,0,0,0), rgba(0,0,0,0.1), rgba(0,0,0,0.3))"},children:(0,y.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"flex-start",alignItems:"center"},children:"show"===i?(0,y.jsx)("div",{style:{width:"100%",marginLeft:"5px",marginRight:"5px",marginTop:"10px"},children:(0,y.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",paddingLeft:"5px",width:"fit-content",height:"fit-content",justifyContent:"space-between",alignItems:"center"},children:(0,y.jsx)(k.A,{event:o,fontSize:.07*n+"px"})})}):(0,y.jsx)(y.Fragment,{})})})})})}var W=function(t){var e,n,o,r,a,l,s=(0,i.useContext)(u.h);const d=(0,p.Xd)("whatmoreUITheme"),c=(0,p.Xd)("whatmoreSecondaryColor"),h=(0,p.Xd)("whatmoreShopId"),[f]=(0,p.QN)("whatmorePrimaryFont");var[w,j,b,k,A]=(0,g.A)();const F="portrait"===A[I.dl],P=t.event,S=t.onClick,R=null===(e=t.isOnFocus)||void 0===e||e,W=null!==(n=t.playOnUnfocus)&&void 0!==n&&n,D=null!==(o=t.animateOnFocus&&(0,m.n5O)(h))&&void 0!==o&&o,[U,Q,H]=(0,v.A)({triggerOnce:!0}),[X,K]=(0,i.useState)(!1),{whatmoreWidgetSourceDetails:V,whatmoreUserInfo:Y}=(0,i.useContext)(x.B),G=null!==(r=null===(a=P.products)||void 0===a?void 0:a.find(t=>"active"==t.product_status))&&void 0!==r?r:null===(l=P.products)||void 0===l?void 0:l[0],Z=G&&Object.keys(G).length>0,[$,q,J,tt,et,nt]=(0,N.A)(0,G,P),it=.07*j+"px",ot=Z&&(0,m.Kr7)(h),rt=(0,m.ZzM)(h),at=rt?"BUY NOW":"ADD TO CART",lt=t=>{if(t.stopPropagation(),!Z)return;const e=V.landingLocationType,n=V.templateType,i=(0,O.Wd)(e)+(0,O.gf)(n)+(null!==P&&void 0!==P&&P.isRelatedEvent?"R":"E")+"_"+(null===P||void 0===P?void 0:P.event_id);if((0,T.Ch)(P.event_id,P.products,"homepage","carousel",i,null===P||void 0===P?void 0:P.location,null===Y||void 0===Y?void 0:Y.userType),rt&&G){const t=G.product_link;if(t)return void window.open(t,"_blank")}"init"==$.state?(et(i,!0),(0,B.kz)({userInteractionType:_.O.PRODUCT_TILE_ATC_CLICKED,widgetSourceDetails:V,event:P,productList:[G],ctaList:P.cta})):"awaitingVariantSelection"==$.state&&nt(null,i)};return(0,y.jsxs)("div",{style:{display:"flex",flexDirection:"column",margin:"0 auto"},children:[(0,y.jsxs)("div",{ref:t=>{t&&(t.style.setProperty("margin-top",s.tileTopMargin+"px","important"),t.style.setProperty("margin-bottom","9238315068"===h?"0px":s.tileBottomMMargin+"px","important"))},style:{width:j,height:w,borderRadius:"round"==d?"12px":"0px",borderWidth:"9238315068"===h?0:(0,m.MRv)(h),borderColor:"9238315068"===h?"transparent":"white"==(0,m.Fwt)(h)?c:(0,m.Fwt)(h),overflow:"hidden",cursor:"pointer",position:"relative"},className:D?R?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",onClick:()=>{S(P)},onMouseEnter:()=>K(!0),onMouseLeave:()=>K(!1),children:[(0,y.jsx)(C.A,{height:"100%",width:"100%",url:P.thumbnail_image,isPlaying:R||W||(0,z.At)(),event:P}),"9238315068"===h&&Z&&(X||F)&&(0,y.jsx)("div",{style:{position:"absolute",bottom:0,left:0,right:0,background:X||F?"rgba(0, 0, 0, 0.75)":"rgba(0, 0, 0, 0.6)",padding:"12px",display:"flex",alignItems:"center",justifyContent:"center",transition:"all 0.3s ease",cursor:"pointer",transform:X||F?"translateY(0)":"translateY(100%)",opacity:X||F?1:0,zIndex:10},onClick:lt,onMouseEnter:t=>{t.target.style.background="rgba(0, 0, 0, 0.85)"},onMouseLeave:t=>{t.target.style.background="rgba(0, 0, 0, 0.75)"},children:(0,y.jsx)("span",{style:{color:"white",fontSize:it,fontFamily:f,fontWeight:"500",textAlign:"center",letterSpacing:"0.5px"},children:at})}),(0,y.jsxs)("div",{style:{width:j,height:w},ref:U,children:[(0,y.jsx)(E,{event:P,isOnFocus:R}),"9238315068"!==h&&(0,y.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"200%",overflow:"hidden",width:"100%",height:"100%",overflow:"hidden",backgroundColor:"transparent"},className:"whatmore-ios-css-relative-fix",children:(0,y.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",alignItems:"center",height:"100%",width:"100%"},children:[(0,y.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:(0,y.jsx)("p",{children:" "})}),(0,y.jsx)("div",{style:{width:"100%"},children:Q&&(0,m.imx)(h)?(0,y.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",style:"40273707171"===h?{backgroundColor:"white",borderRadius:"2px",margin:"5px"}:{},children:"40273707171"===h?(0,y.jsx)(L.Ay,{event:P}):(0,y.jsx)(M,{event:P})}):(0,y.jsx)("div",{height:"20px"})})]})})]})]}),"9238315068"===h&&Q&&(0,m.imx)(h)&&(0,y.jsx)("div",{style:{width:j,marginBottom:s.tileBottomMMargin+"px"},className:"whatmore-event-tile-component-fade-in-animation",children:(0,y.jsx)(M,{event:P})}),ot&&(0,y.jsx)("div",{style:{width:j,padding:"15px 0"},children:(0,y.jsx)("button",{style:{backgroundColor:c,color:"white",border:"none",borderRadius:"12px",padding:"8px 8px",fontSize:it,fontFamily:f,fontWeight:"500",cursor:"pointer",textAlign:"center",letterSpacing:"0.5px",transition:"opacity 0.2s ease",width:"100%"},onClick:lt,onMouseEnter:t=>{t.target.style.opacity="0.8"},onMouseLeave:t=>{t.target.style.opacity="1"},children:at})})]})};const D=(0,s.A)({key:"whatmore-css-hv"});var U=function(t){var e;const[n,s,f]=(0,h.A)(),[v,w,C]=(0,g.A)(),[k]=(0,p.QN)("whatmoreShopId"),[A]=(0,p.QN)("whatmorePrimaryColor"),[F]=(0,p.QN)("whatmoreTitleFont"),P="portrait"==n?(0,p.Xd)("whatmoreTitleFontSizePortrait"):(0,p.Xd)("whatmoreTitleFontSize"),{whatmoreRootId:S}=(0,i.useContext)(x.B),R=t.events,I=t.onClick,M=null!==(e=(0,m.sa6)(k))&&void 0!==e?e:F;function z(t){I(t)}const N=parseInt(Math.floor(C));return delete a.Ay.styles.global,(0,y.jsx)(l.C,{value:D,children:(0,y.jsx)("div",{className:"whatmore-carousel-events-feed",children:(0,y.jsx)(r.s,{theme:a.Ay,cssVarsRoot:S,resetCSS:!1,children:(0,y.jsxs)(u.h.Provider,{value:{tileTopMargin:3,tileBottomMMargin:3,tileLeftMargin:3,tileRightMargin:3,showPlayButton:!1},children:[t.heading.trim().length>0?(0,y.jsx)(d.o,{paddingBottom:"28px",children:(0,y.jsx)(c.E,{bgColor:A,bgClip:"text",fontSize:P,sx:{fontFamily:M+" !important"},align:"center",children:t.heading})}):(0,y.jsx)(y.Fragment,{}),"landscape"===n?(0,y.jsx)(j,{renderElement:t=>{const e=t.eventData;return(0,y.jsx)("div",{style:{margin:"10px"},children:(0,b.ij)(e)||(0,b.Il)(e)?(0,y.jsx)(W,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{z(e)}}):(0,y.jsx)(o.A,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{z(e)}})})},dataList:R,elementsPerRow:N}):(0,y.jsx)(j,{renderElement:t=>{const e=t.eventData;return(0,y.jsx)("div",{style:{margin:"10px"},children:(0,y.jsx)(W,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{z(e)}})})},dataList:R,elementsPerRow:N})]})})})})}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[676],{1131:function(t,e,i){var o=i(4994);e.A=void 0;var n=o(i(9526)),r=i(4414);e.A=(0,n.default)([(0,r.jsx)("path",{d:"M18 20H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2z",opacity:".3"},"0"),(0,r.jsx)("path",{d:"M18 6h-2c0-2.21-1.79-4-4-4S8 3.79 8 6H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m-6-2c1.1 0 2 .9 2 2h-4c0-1.1.9-2 2-2m6 16H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2z"},"1")],"ShoppingBagTwoTone")},3369:function(t,e,i){i.r(e),i.d(e,{default:function(){return N}});var o=i(9950),n=i(340),r=i(5089),l=i(5873),s=(i(3997),i(9130),i(4669),i(9733),i(4365),i(7229),i(6042),i(572)),a=i(8603),d=i(9946),c=i(9094),h=i(932),p=i(1941),u=i(5491),x=i.n(u),v=i(5830),m=i(7509),g=i(7136),y=i(1348),f=i(5903),w=i(1351),b=i(6157),j=i(6641),C=(i(4826),i(9879)),P=i(4616),S=i(6649),k=i(6613),A=i(1131),I=i(8141),_=i(4414);function F(t){var e;const[i]=(0,v.QN)("whatmoreShopId"),[o,n,r,l,s]=(0,h.A)(),[a,d,c]=(0,S.A)({triggerOnce:!0}),p=t.event,u=(0,k.At)()?t.isOnFocus:d,x="56411783377"==i,m="56411783377"===i&&Array.isArray(null===p||void 0===p?void 0:p.products)&&!!p.products[0];return(0,_.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"200%",overflow:"hidden",width:"100%",height:"100%",backgroundColor:"transparent"},className:"whatmore-ios-css-relative-fix",children:(0,_.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",alignItems:"center",height:"100%",width:"100%"},children:["56411783377"===i&&(0,_.jsx)("div",{style:{width:"100%",marginLeft:"5px",marginTop:"10px"},children:(0,_.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",paddingLeft:"5px",width:"fit-content",height:"fit-content",justifyContent:"space-between",alignItems:"center",filter:"drop-shadow(0px 2px 3px rgba(0, 0, 0, 0.2))"},children:(0,_.jsx)(I.A,{width:.15*n,height:.15*n})})}),(0,_.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:(0,_.jsx)("p",{children:" "})}),(0,_.jsx)("div",{ref:a,children:u&&(0,y.imx)(i)?(0,_.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:(0,_.jsx)(P.A,{event:p})}):(0,_.jsx)("div",{height:"20px"})}),x&&(0,_.jsx)("div",{style:{position:"absolute",top:.045*n,right:.05*n,width:.35*n,height:.15*n,display:"flex",alignItems:"center",justifyContent:"center"},children:(0,_.jsx)("img",{src:"https://whatmorelive-brand-image-poster-assets.b-cdn.net/trunativ_56411783377/trunativ_white_logo.svg",alt:"Trunativ",style:{width:"100%",height:"100%",objectFit:"contain"}})}),m&&(0,_.jsxs)("div",{style:{overflow:"visible",background:"white",position:"absolute",left:.05*n+"px",width:.9*n+"px",bottom:.06*n+"px",borderRadius:.07*n,display:"flex",alignItems:"center",justifyContent:"center",padding:`${.015*n}px ${.04*n}px`,boxShadow:"0 2px 12px rgba(23, 18, 18, 0.08)"},children:[(null===(e=p.products[0])||void 0===e?void 0:e.thumbnail_image)&&(0,_.jsx)("img",{src:p.products[0].thumbnail_image,style:{width:.12*n,height:.12*n,borderRadius:"50%",objectFit:"cover",marginRight:.03*n,border:"1.5px solid #E3E3E3",background:"#fff"}}),(0,_.jsx)("span",{style:{fontWeight:500,fontSize:.048*n,color:"#2D2D2D",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:p.products[0].title?p.products[0].title:"SHOP AMAZING WITH TRUNATIV"})]})]})})}var O=function(t){var e,i,n,r,l,s,a,d;const[c,p,u,x,g]=(0,h.A)();var f=(0,o.useContext)(m.h);const w=(0,v.Xd)("whatmoreUITheme"),b=(0,v.Xd)("whatmoreShopId"),j=(0,v.Xd)("whatmorePrimaryFont"),P=(0,v.Xd)("whatmoreSecondaryColor"),S=t.event,k=t.onClick,I=null===(e=t.isOnFocus)||void 0===e||e,O=null!==(i=t.playOnUnfocus)&&void 0!==i&&i,M=null!==(n=t.animateOnFocus&&(0,y.n5O)(b))&&void 0!==n&&n,L=(0,y.VYo)(b);return(0,_.jsxs)("div",{ref:t=>{t&&(t.style.setProperty("margin-top",f.tileTopMargin+"px"),t.style.setProperty("margin-bottom",f.tileBottomMMargin+"px"))},style:{margin:"0 10px",width:"8968077397"==b||"19501891"==b?void 0:p,aspectRatio:"8968077397"==b||"19501891"==b?9/16:void 0,height:"8968077397"==b||"19501891"==b?"100%":c,borderRadius:"round"==w?"5px":"0px",boxShadow:"round"==w||"61187850326"==b||"19501891"==b?L:null,borderWidth:(0,y.YcK)(b),borderColor:(0,y.Fwt)(b),overflow:"hidden",cursor:"pointer",position:"relative"},className:M?I?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",onClick:()=>{var t,e,i;if("12326200"==b&&"image"==S.event_type&&(null===(t=S.products)||void 0===t?void 0:t.length)>0&&"oos"!=(null===(e=S.products)||void 0===e||null===(i=e[0])||void 0===i?void 0:i.product_status)){var o,n;window.location.href=null===(o=S.products)||void 0===o||null===(n=o[0])||void 0===n?void 0:n.product_link}else{if("12326200"==b&&"image"==S.event_type)return;var r,l,s,a,d,c,h,p,u,x,v,m,g,y,f,w;if("10588815418"==b){if(null!==(r=S.cta)&&void 0!==r&&null!==(l=r[0])&&void 0!==l&&null!==(s=l.cta_link)&&void 0!==s&&s.includes("whatmore")&&""!=(null===(a=S.cta)||void 0===a||null===(d=a[1])||void 0===d?void 0:d.cta_link)&&""==(null===(c=S.cta)||void 0===c||null===(h=c[1])||void 0===h?void 0:h.cta_title))window.location.href=null===(f=S.cta)||void 0===f||null===(w=f[1])||void 0===w?void 0:w.cta_link;else if(null!==(p=S.cta)&&void 0!==p&&null!==(u=p[1])&&void 0!==u&&null!==(x=u.cta_link)&&void 0!==x&&x.includes("whatmore")&&""!=(null===(v=S.cta)||void 0===v||null===(m=v[0])||void 0===m?void 0:m.cta_link)&&""==(null===(g=S.cta)||void 0===g||null===(y=g[0])||void 0===y?void 0:y.cta_title)){var j,C;window.location.href=null===(j=S.cta)||void 0===j||null===(C=j[0])||void 0===C?void 0:C.cta_link}}else k(S)}},children:[(0,_.jsx)(C.A,{height:(0,y.u06)(b)+" !important",width:"100%",url:S.thumbnail_image,isPlaying:I||O,event:S}),""!==(null===S||void 0===S?void 0:S.title)?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)("div",{className:"wht-overlay-text",style:{position:"absolute",bottom:"4%",left:"50%",transform:"translateX(-50%)",color:"white",padding:"0.5rem 0rem 0rem 0.5rem",zIndex:1,width:"90%",maxWidth:"100%",wordWrap:"break-word",textShadow:"2px 2px 4px rgba(0, 0, 0, 0.5)",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:3,overflow:"hidden",textOverflow:"ellipsis"},children:(0,_.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"1px",alignItems:"center"},children:[(0,_.jsx)("p",{style:{fontFamily:j,fontSize:.1*p+"px",fontWeight:"600"},children:"12326200"==b?null===S||void 0===S||null===(r=S.title)||void 0===r?void 0:r.slice(7):null===S||void 0===S?void 0:S.title}),"12326200"==b&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)("p",{style:{fontFamily:'"brandon-grotesque"',fontSize:.08*p+"px",fontWeight:"normal"},children:null===S||void 0===S||null===(l=S.title)||void 0===l?void 0:l.slice(0,7)}),(null===(s=S.products)||void 0===s?void 0:s.length)>0&&"oos"!=(null===(a=S.products)||void 0===a||null===(d=a[0])||void 0===d?void 0:d.product_status)&&(0,_.jsx)("button",{style:{display:"flex",alignItems:"center",borderRadius:"200px",marginTop:"4px",backgroundColor:P,padding:"8px 28px"},children:(0,_.jsx)("p",{style:{fontFamily:'"brandon-grotesque"',fontSize:.05*p+"px",fontWeight:"normal"},children:"SHOP NOW"})})]})]})}),(0,_.jsx)("div",{className:"wht-shopping-icon",style:{position:"absolute",top:"10px",right:"10px",zIndex:2},children:(0,_.jsx)(A.A,{sx:{color:"white",fontSize:"1.3rem",filter:"drop-shadow(0 0 5px black)"}})})]}):(0,y.Q$)(b)&&(0,_.jsxs)("div",{style:{width:p,height:c},children:[(0,_.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",overflow:"hidden",width:"100%",height:"100%",backgroundColor:"transparent"},className:"whatmore-ios-css-relative-fix"}),(0,_.jsx)(F,{event:S,unfocusedDisplay:!I,isOnFocus:I})]})]})};const M=(0,a.A)({key:"whatmore-css-hv"});function L(t){const[e,i,n]=(0,h.A)(),[r,l,s]=(0,p.A)(),a=(0,v.Xd)("whatmoreShopId"),u=t.events,x=t.onClick,m=n*(0,y.kcl)(a),j=(0,y.cbh)(a),[C,P]=(0,o.useState)(j?u.length:m),{whatmoreWidgetSourceDetails:S}=(0,o.useContext)(f.B);(0,o.useEffect)(()=>{C<=m&&P(t=>t+m)},[m]);const k="6573064236"===a?.9*s:s,A="6573064236"===a?1.5:2;return(0,_.jsx)("div",{className:"whatmore-events-carousel-portrait",style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,_.jsx)("div",{style:{width:k,height:"fit-content"},children:(0,_.jsx)(d.RC,{slidesPerView:A,initialSlide:0,centeredSlides:!1,centeredSlidesBounds:!1,watchSlidesProgress:!0,touchRatio:1,onSlideChange:t=>{(0,w.UM)({userInteractionType:b.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:S}),t.realIndex>t.previousIndex&&P(t=>t+m)},loop:j,modules:(0,y.JSQ)(a)?[c.Vx]:[],navigation:(0,y.JSQ)(a),children:u.map((t,e)=>e<=C&&(0,_.jsx)(d.qr,{children:({isActive:e,isPrev:i,isNext:o,isVisible:n})=>i||o||e?(0,_.jsx)(O,{isOnFocus:n,playOnUnfocus:!1,animateOnFocus:!0,event:t,onClick:()=>{x(t)}}):(0,_.jsx)(g.A,{})},"whatmore-event-tile-portrait-"+t.index))})})})}function R(t){const[e,i,n,r]=(0,h.A)(),[l,s]=(0,o.useState)(-1),a=(0,v.Xd)("whatmoreShopId"),[p]=(0,v.QN)("whatmoreLandingLocationType"),u=t.onClick,m=t.events,j=(0,y.cbh)(a),[C,P]=(0,o.useState)(j?m.length:n),S=Math.min(n,m.length),{whatmoreWidgetSourceDetails:k}=(0,o.useContext)(f.B),A=(0,o.useRef)(null);return(0,o.useEffect)(()=>{if(A.current){const t=i*S*(0,y.fHt)(a)+"px";m.length<4?A.current.style.setProperty("width",t,"important"):A.current.style.width=t}},[i,S,a,C,m.length]),(0,o.useEffect)(()=>{C<=n&&P(t=>t+n)},[n]),(0,_.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%",paddingLeft:r+"px",paddingRight:r+"px"},className:"whatmore-events-carousel-landscape",children:(0,_.jsx)("div",{ref:A,style:{height:"100%"},children:(0,_.jsx)(d.RC,{slidesPerView:"product"===p&&"87174349065"===a?2:S,watchSlidesProgress:!0,modules:[c.Vx],navigation:!0,slidesPerGroup:parseInt(S),onSlideChange:t=>{(0,w.UM)({userInteractionType:b.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:k}),t.realIndex>t.previousIndex&&P(t=>t+n)},spaceBetween:0,loop:j&&m.length>4,style:{height:"100%"},children:m.map((t,e)=>{const i=x()(()=>s(e),300);return e<=C&&(0,_.jsx)(d.qr,{onMouseEnter:()=>{i()},onMouseLeave:()=>{i.cancel(),s(-1)},style:{height:"100%"},children:({isActive:i,isPrev:o,isNext:n,isVisible:r})=>r||o||n?(0,_.jsx)(O,{isOnFocus:e==l,playOnUnfocus:!(0,y.aO7)(a)||e==parseInt(S/2)&&-1==l,animateOnFocus:!0,event:t,onClick:()=>{u(t)}}):(0,_.jsx)(g.A,{})},"whatmore-event-tile-landscape-"+t.index)})})})})}var N=function(t){const[e,i,a]=(0,p.A)(),[d]=(0,v.QN)("whatmoreShopId"),[c]=(0,v.QN)("whatmorePrimaryColor"),[h]=(0,v.QN)("whatmoreTitleFont"),u="portrait"==e?(0,v.Xd)("whatmoreTitleFontSizePortrait"):(0,v.Xd)("whatmoreTitleFontSize"),{whatmoreRootId:x}=(0,o.useContext)(f.B),{whatmoreCollectionHeading:g}=(0,o.useContext)(f.B),{whatmoreIsCollectionsTemplate:w}=(0,o.useContext)(f.B),b=t.events,C=t.onClick,P=h;function S(t){C(t)}return(0,o.useEffect)(()=>{(0,j.Fk)("Video shopping powered by Whatmore!")},[]),(0,o.useEffect)(()=>{l.Sn.forEach(t=>{var e;const i=null!==(e=t.querySelector('.whatmore-template-type[data-wh="template-g"]'))&&void 0!==e?e:t.querySelector('.whatmore-template-type[data="template-g"]');if(!i)return;i&&t&&(t.style.minHeight="0px")})},[]),delete r.Ay.styles.global,(0,_.jsx)(s.C,{value:M,children:(0,_.jsx)("div",{className:"whatmore-carousel-events",style:{height:"100%"},children:(0,_.jsx)(n.s,{theme:r.Ay,cssVarsRoot:x,resetCSS:!1,children:(0,_.jsxs)(m.h.Provider,{value:{tileTopMargin:25,tileBottomMMargin:25,tileLeftMargin:4,tileRightMargin:4,showPlayButton:!0},children:[t.heading.trim().length>0||w?(0,_.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},children:(0,_.jsx)("p",{ref:t=>{t&&(t.style.setProperty("font-family",P),t.style.setProperty("font-size",u+"px","important"))},style:{color:c,backgroundClip:"text",textAlign:"center",fontWeight:(0,y.Odx)(d),lineHeight:(0,y.L0y)(d),letterSpacing:(0,y.l3V)(d)},children:w?"W"!==g?g:"":t.heading})}):(0,_.jsx)(_.Fragment,{}),"landscape"===e?(0,_.jsx)(R,{events:b,onClick:S}):(0,_.jsx)(L,{events:b,onClick:S})]})})})})}},4616:function(t,e,i){var o=i(9950),n=i(5830),r=i(932),l=i(8538),s=(i(4826),i(1348)),a=i(7973),d=i(4414);e.A=function(t){var e,i,c,h,[p,u]=(0,r.A)();const x=(0,n.Xd)("whatmoreUITheme"),[v]=(0,n.QN)("whatmorePrimaryFont"),[m,g]=(0,o.useState)(0),y=(0,n.Xd)("whatmoreShopId"),f=t.event;if(0==f.products.length)return(0,d.jsx)(d.Fragment,{});const w=.3*u,b=w+"px",j=w+"px",C=.07*u,P=C+"px";return(0,d.jsx)("div",{style:{width:u+"px",height:"fit-content",backgroundImage:"linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.1), rgba(0,0,0,0.3)"},children:(0,d.jsxs)("div",{ref:t=>{t&&t.style.setProperty("height","fit-content","important")},style:{display:"flex",flexFlow:"row nowrap",width:"100%",justifyContent:"space-between",alignItems:"center",paddingLeft:"5px",paddingRight:"5px",paddingTop:"5px",paddingBottom:"5px",gap:"5px"},className:"whatmore-event-tile-product-scale-in-and-out-animation",children:[(0,d.jsx)("div",{ref:t=>{t&&t.style.setProperty("height",j,"important")},style:{width:(0,s.H$k)(y)?b:"auto",boxShadow:"round"==x?"0px 0px 5px 2px #B0B0B0":null,borderRadius:"round"==x?"5px":"0px",borderWidth:(0,s.YcK)(y),borderColor:(0,s.Fwt)(y),overflow:"hidden",backgroundColor:"rgb(220, 220, 220, 1)"},children:(0,d.jsx)("img",{ref:t=>{t&&(t.style.setProperty("object-fit",(0,s.KZe)(y),"important"),t.style.setProperty("max-width",b,"important"))},src:(0,a.b)(f.products[m].thumbnail_image,"&width=400&height=400"),style:{width:"100%",height:"100%",borderRadius:"round"==x?"5px":"0px"},alt:"product image"})}),(0,d.jsxs)("div",{style:{width:u-5-w+"px",height:"100%",borderRadius:"round"==x?"5px":"0px",overflow:"visible"},children:[(0,d.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"fit-content",justifyContent:"center",alignItems:"center",paddingBottom:"4px"},children:(0,d.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color","white","important"),t.style.setProperty("font-size",P),t.style.setProperty("line-height","120%","important"),t.style.setProperty("font-family",v,"important"),t.style.setProperty("-webkit-line-clamp",3,"important"),t.style.setProperty("line-clamp",3,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"))},style:{textAlign:"left",fontWeight:"normal"},children:(0,l.v)(f.products[m].title)})}),(0,s.gZ6)(y)&&(null===(e=f.products[m])||void 0===e||null===(i=e.product_metadata)||void 0===i?void 0:i.product_type)&&(0,d.jsx)("div",{style:{display:"flex",opacity:.8,width:"fit-content",maxWidth:u-5-w+"px",padding:"3px 6px",backgroundColor:"#D3D3D3",borderRadius:"round"==x?"3px":"0"},children:(0,d.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color","#000","important"),t.style.setProperty("maxWidth",u-5-w+"px","important"),t.style.setProperty("font-size",.7*C+"px","important"),t.style.setProperty("font-family",v,"important"),t.style.setProperty("font-weight","bold","important"),t.style.setProperty("text-overflow","ellipsis","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("-webkit-line-clamp",1,"important"),t.style.setProperty("line-clamp",1,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"))},children:null===(c=f.products[m])||void 0===c||null===(h=c.product_metadata)||void 0===h?void 0:h.product_type})})]})]},m)})}},4826:function(){},7136:function(t,e,i){var o=i(9950),n=i(932),r=i(7509),l=i(5830),s=i(4414);e.A=function(t){var[e,i]=(0,n.A)();(0,o.useContext)(r.h);const a=(0,l.Xd)("whatmoreShopId");return t.event,(0,s.jsx)("div",{style:{margin:"0 auto",width:"8968077397"==a?void 0:i,aspectRatio:"8968077397"==a?9/16:void 0,height:"8968077397"==a?"100%":e,overflow:"hidden"}})}},7509:function(t,e,i){i.d(e,{h:function(){return o}});const o=(0,i(9950).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},8141:function(t,e,i){i(9950);var o=i(4414);e.A=({width:t=30,height:e=30})=>(0,o.jsxs)("svg",{width:t,height:e,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("rect",{width:"30",height:"30",rx:"15",fill:"white"}),(0,o.jsx)("g",{clipPath:"url(#clip0_1_19)",children:(0,o.jsx)("path",{d:"M16.942 9.3568C16.8684 9.32095 16.7862 9.30645 16.7048 9.31496C16.6234 9.32347 16.5461 9.35464 16.4815 9.40493L12.6621 12.375H10.1875C9.95544 12.375 9.73288 12.4672 9.56878 12.6313C9.40469 12.7954 9.3125 13.0179 9.3125 13.25V16.75C9.3125 16.9821 9.40469 17.2046 9.56878 17.3687C9.73288 17.5328 9.95544 17.625 10.1875 17.625H12.6621L16.4815 20.5951C16.5461 20.6453 16.6235 20.6764 16.705 20.6849C16.7864 20.6933 16.8686 20.6787 16.9421 20.6427C17.0157 20.6068 17.0777 20.5509 17.121 20.4815C17.1644 20.4121 17.1874 20.3319 17.1875 20.25V9.75C17.1875 9.66804 17.1645 9.58773 17.1211 9.51821C17.0777 9.44869 17.0156 9.39276 16.942 9.3568ZM16.3125 19.3553L13.081 16.8424C13.0044 16.7824 12.9098 16.7498 12.8125 16.75H10.1875V13.25H12.8125C12.9098 13.2502 13.0044 13.2176 13.081 13.1576L16.3125 10.6447V19.3553ZM21.872 16.003C21.9541 16.0851 22.0002 16.1964 22.0002 16.3125C22.0002 16.4286 21.9541 16.5399 21.872 16.622C21.7899 16.7041 21.6786 16.7502 21.5625 16.7502C21.4464 16.7502 21.3351 16.7041 21.253 16.622L20.25 15.6185L19.247 16.622C19.1649 16.7041 19.0536 16.7502 18.9375 16.7502C18.8214 16.7502 18.7101 16.7041 18.628 16.622C18.5459 16.5399 18.4998 16.4286 18.4998 16.3125C18.4998 16.1964 18.5459 16.0851 18.628 16.003L19.6315 15L18.628 13.997C18.5459 13.9149 18.4998 13.8036 18.4998 13.6875C18.4998 13.5714 18.5459 13.4601 18.628 13.378C18.7101 13.2959 18.8214 13.2498 18.9375 13.2498C19.0536 13.2498 19.1649 13.2959 19.247 13.378L20.25 14.3815L21.253 13.378C21.3351 13.2959 21.4464 13.2498 21.5625 13.2498C21.6786 13.2498 21.7899 13.2959 21.872 13.378C21.9541 13.4601 22.0002 13.5714 22.0002 13.6875C22.0002 13.8036 21.9541 13.9149 21.872 13.997L20.8685 15L21.872 16.003Z",fill:"#1A1A1A"})}),(0,o.jsx)("defs",{children:(0,o.jsx)("clipPath",{id:"clip0_1_19",children:(0,o.jsx)("rect",{width:"14",height:"14",fill:"white",transform:"translate(8 8)"})})})]})}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[891],{7178:function(e,t,n){n.r(t);var i=n(9950),s=n(340),r=n(5089),l=n(5873),o=(n(3997),n(9130),n(4669),n(9733),n(4365),n(7229),n(6042),n(572)),a=n(8603),c=n(9946),h=n(9094),d=n(932),u=n(1941),p=n(5491),m=n.n(p),x=n(5830),g=n(7509),f=n(7136),y=n(1348),w=n(5903),v=n(1351),C=n(6157),S=n(6641),j=n(1957),A=n(4414);const I=(0,a.A)({key:"whatmore-css-hv"});function P(e){const[t,n,s]=(0,d.A)(),[r,l,o]=(0,u.A)(),a=(0,x.Xd)("whatmoreShopId"),h=e.events,p=e.onClick,m=s*(0,y.kcl)(a),g=(0,y.cbh)(a),[S,I]=(0,i.useState)(g?h.length:m),{whatmoreWidgetSourceDetails:P}=(0,i.useContext)(w.B);return(0,i.useEffect)(()=>{S<=m&&I(e=>e+m)},[m]),(0,A.jsx)("div",{className:"whatmore-events-carousel-portrait",style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,A.jsx)("div",{style:{width:o,height:"fit-content"},children:(0,A.jsx)(c.RC,{slidesPerView:h.length>1?m:1,initialSlide:h.length>1?1:0,centeredSlides:!0,centeredSlidesBounds:!1,watchSlidesProgress:!0,touchRatio:.5,onSlideChange:e=>{(0,v.UM)({userInteractionType:C.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:P}),e.realIndex>e.previousIndex&&I(e=>e+m)},loop:g,children:h.map((e,t)=>t<=S&&(0,A.jsx)(c.qr,{children:({isActive:t,isPrev:n,isNext:i,isVisible:s})=>n||i||t?(0,A.jsx)(j.A,{isOnFocus:t&&s,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{p(e)}}):(0,A.jsx)(f.A,{})},"whatmore-event-tile-portrait-"+e.index))})})})}function k(e){const[t,n,s,r]=(0,d.A)(),[l,o]=(0,i.useState)(-1),a=(0,x.Xd)("whatmoreShopId"),u=e.onClick,p=e.events,g=(0,y.cbh)(a),[S,I]=(0,i.useState)(g?p.length:s),P=Math.min(s,p.length),{whatmoreWidgetSourceDetails:k}=(0,i.useContext)(w.B),E=(0,i.useRef)(null);return(0,i.useEffect)(()=>{if(E.current){const e=n*P*(0,y.fHt)(a)+"px";p.length<4?E.current.style.setProperty("width",e,"important"):E.current.style.width=e}},[n,P,a,S,p.length]),(0,i.useEffect)(()=>{S<=s&&I(e=>e+s)},[s]),(0,A.jsx)("div",{style:{display:"flex",justifyContent:"72471412977"==a?"flex-start":"center",alignItems:"center",height:"100%",paddingLeft:r+"px",paddingRight:r+"px"},className:"whatmore-events-carousel-landscape",children:(0,A.jsx)("div",{ref:E,style:{height:"100%"},children:(0,A.jsx)(c.RC,{slidesPerView:P,watchSlidesProgress:!0,modules:[h.Vx],navigation:!0,slidesPerGroup:"91705082162"==a?1:parseInt(P),onSlideChange:e=>{(0,v.UM)({userInteractionType:C.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:k}),e.realIndex>e.previousIndex&&I(e=>e+s)},spaceBetween:0,loop:g&&p.length>4,style:{height:"100%"},children:p.map((e,t)=>{const n=m()(()=>o(t),300);return t<=S&&(0,A.jsx)(c.qr,{onMouseEnter:()=>{n()},onMouseLeave:()=>{n.cancel(),o(-1)},style:{height:"100%"},children:({isActive:n,isPrev:i,isNext:s,isVisible:r})=>r||i||s?(0,A.jsx)(j.A,{isOnFocus:t==l,playOnUnfocus:!(0,y.aO7)(a)||t==parseInt(P/2)&&-1==l,animateOnFocus:!0,event:e,onClick:()=>{u(e)}}):(0,A.jsx)(f.A,{})},"whatmore-event-tile-landscape-"+e.index)})})})})}t.default=function(e){const[t,n,a]=(0,u.A)(),[c]=(0,x.QN)("whatmoreShopId"),[h]=(0,x.QN)("whatmorePrimaryColor"),[d]=(0,x.QN)("whatmoreTitleFont"),p="portrait"==t?(0,x.Xd)("whatmoreTitleFontSizePortrait"):(0,x.Xd)("whatmoreTitleFontSize"),{whatmoreRootId:m}=(0,i.useContext)(w.B),{whatmoreCollectionHeading:f}=(0,i.useContext)(w.B),{whatmoreIsCollectionsTemplate:v}=(0,i.useContext)(w.B),C=e.events,j=e.onClick,E=d;function O(e){j(e)}return(0,i.useEffect)(()=>{(0,S.Fk)("Video shopping powered by Whatmore!")},[]),(0,i.useEffect)(()=>{l.Sn.forEach(e=>{var t;const n=null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-h"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-h"]');if(!n)return;n&&e&&(e.style.minHeight="0px")})},[]),delete r.Ay.styles.global,(0,A.jsx)(o.C,{value:I,children:(0,A.jsx)("div",{className:"whatmore-carousel-events",style:{height:"100%"},children:(0,A.jsx)(s.s,{theme:r.Ay,cssVarsRoot:m,resetCSS:!1,children:(0,A.jsxs)(g.h.Provider,{value:{tileTopMargin:25,tileBottomMMargin:25,tileLeftMargin:4,tileRightMargin:4,showPlayButton:!0},children:[e.heading.trim().length>0||v?(0,A.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},children:(0,A.jsx)("p",{ref:e=>{e&&(e.style.setProperty("font-family",E,"important"),e.style.setProperty("font-size",p+"px","important"))},style:{color:h,backgroundClip:"text",textAlign:"center",fontWeight:(0,y.Odx)(c),lineHeight:(0,y.L0y)(c),letterSpacing:(0,y.l3V)(c)},children:v?"W"!==f?f:"":e.heading})}):(0,A.jsx)(A.Fragment,{}),"landscape"===t?(0,A.jsx)(k,{events:C,onClick:O}):(0,A.jsx)(P,{events:C,onClick:O})]})})})})}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[306],{9406:function(e,t,i){i.r(t),i.d(t,{default:function(){return R}});var o=i(9950),r=i(340),l=i(5089),n=i(5873),s=(i(3997),i(9130),i(4669),i(9733),i(4365),i(7229),i(6042),i(572)),a=i(8603),d=i(9946),p=i(9094),c=i(1941),u=i(5830),h=i(7509),v=i(7136),y=i(1348),m=i(5903),x=i(1351),f=i(6157),g=i(6641),w=i(3080),P=i(932),j=(i(4826),i(22)),b=i(6594),C=i(7740),S=i(8538),N=i(8149),A=i(3771),k=i(3936),I=i(7035),_=i(4414);var F=function(e){var t,i,r,l,n,s,a,d,p,c,h,v,x,f,g,w,F,M,z,W,O,R,B,[E,$,T,U,V]=(0,P.A)();$*=null!==(t=e.scaleFactor)&&void 0!==t?t:1,E*=null!==(i=e.scaleFactor)&&void 0!==i?i:1;const D=(0,u.Xd)("whatmoreUITheme"),H=(0,u.Xd)("whatmoreShopId"),X=(0,u.Xd)("whatmorePrimaryFont"),q=(0,u.Xd)("whatmoreSecondaryColor"),L=(0,u.Xd)("websiteLanguage"),Y=e.onClick,Q=null===(r=e.isOnFocus)||void 0===r||r,G=null!==(l=e.playOnUnfocus)&&void 0!==l&&l,K="portrait"===V[j.dl],J=(K?1.076*$*(0,y.HWj)(H):$*(0,y.N_4)(H))+"px",Z=(K?1.076*$*(0,y.HWj)(H):$*(0,y.N_4)(H))+"px",ee=(K?.965*$*(0,y.HWj)(H):.859*$*(0,y.N_4)(H))+"px",te=(0,y.VYo)(H),{whatmoreIsPreviewMode:ie}=(0,o.useContext)(m.B),oe=.25*$,re=oe+"px",le=1.25*oe+"px",[ne,se]=(0,o.useState)(e.event),[ae,de]=(0,o.useState)(),pe=null!==(n=null===(s=ne.products)||void 0===s?void 0:s.find(e=>"active"==e.product_status))&&void 0!==n?n:null===(a=ne.products)||void 0===a?void 0:a[0],ce=Math.round(+(null===pe||void 0===pe?void 0:pe.price)),ue=Math.round(+(null===pe||void 0===pe?void 0:pe.compare_price)),he=ue&&0!=ue&&ue>ce?Math.round((ue-ce)/ue*100):NaN,[ve,ye]=(0,o.useState)(he),[me,xe]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{(0,y.w4b)(H)?(0,b.fu)(ne,(0,y.NCy)(H),H).then(e=>{var t,i,o;se(e);const r=Math.round(null===(t=e.products)||void 0===t||null===(i=t[0])||void 0===i?void 0:i.price),l=Math.round(null===e||void 0===e||null===(o=e.products[0])||void 0===o?void 0:o.compare_price),n=l&&0!=l&&l>r?Math.round((l-r)/l*100):NaN;ye(n),xe(!0)}):(async()=>{const e=await(0,N.M)(pe,(0,y.NCy)(H),H);de(e),xe(!0)})()},[]),(0,_.jsxs)("div",{ref:e=>{e&&(e.style.setProperty("margin-top","24px"),e.style.setProperty("margin-bottom","12px"))},style:{width:$,margin:"0 auto",cursor:"pointer",filter:Q||e.isActive?void 0:"blur(2.5px) drop-shadow(0 0 20px rgba(0, 0, 0, 0.2))"},onClick:()=>{Y(ne)},children:[(0,_.jsxs)("div",{style:{position:"relative",width:$,height:E,borderRadius:"round"==D?"5px":"0px",boxShadow:"round"==D?te:null,borderWidth:(0,y.YcK)(H),borderColor:(0,y.Fwt)(H),overflow:"hidden"},children:[(0,_.jsx)("div",{onClick:e=>e.stopPropagation(),style:{display:Q||e.isActive?"block":"none",position:"absolute",right:6,top:6,zIndex:10},children:(0,_.jsx)(k.A,{})}),(0,_.jsx)(A.A,{height:"100%",width:"100%",url:null!==(d=null===ne||void 0===ne?void 0:ne.event_hls_url)&&void 0!==d?d:null===ne||void 0===ne?void 0:ne.thumbnail_image,isPlaying:Q||G,event:ne})]}),(0,_.jsxs)("div",{style:{cursor:"pointer",display:"flex",gap:"6px",padding:"12px 4px"},children:[(ie?(0,y.Tr1)(H):(0,y.UmS)(H))&&(null===ne||void 0===ne||null===(p=ne.products)||void 0===p?void 0:p.length)>0&&(0,_.jsx)("div",{style:{maxHeight:le,maxWidth:re,minWidth:null!==pe&&void 0!==pe&&pe.thumbnail_image?re:"0",overflow:"hidden"},children:(0,_.jsx)("img",{ref:e=>{e&&e.style.setProperty("object-fit",(0,y.KZe)(H),"important")},style:{height:"100%"},src:(null===pe||void 0===pe||null===(c=pe.thumbnail_image)||void 0===c||null===(h=c.split("?"))||void 0===h?void 0:h[0])+"?width=400&height=400",alt:"thumbnail"})}),(0,_.jsxs)("div",{className:"wht-prod-info",style:{display:"flex",flexDirection:"column",gap:"5px"},children:[(0,_.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,y.m5c)(H),"important"),e.style.setProperty("font-size",J,"important"),e.style.setProperty("line-height","120%","important"),e.style.setProperty("font-family",X,"important"),e.style.setProperty("-webkit-line-clamp",1,"important"),e.style.setProperty("line-clamp",1,"important"),e.style.setProperty("-webkit-box-orient","vertical","important"),e.style.setProperty("display","-webkit-box","important"),e.style.setProperty("overflow","hidden","important"),e.style.setProperty("text-overflow","ellipsis","important"))},children:(0,S.v)(null===pe||void 0===pe?void 0:pe.title)}),me&&(0,y.Nzx)(H)&&(0,_.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"12px",flexDirection:(0,y.vw2)(H)?"row":"row-reverse",justifyContent:(0,y.vw2)(H)?"flex-start":"flex-end"},children:[(0,_.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,y.m5c)(H),"important"),e.style.setProperty("font-size",Z,"important"),e.style.setProperty("font-family",X,"important"),e.style.setProperty("white-space","nowrap","important"),e.style.setProperty("width","fit-content","important"))},style:{textAlign:"left",fontWeight:"normal"==(0,y.i6j)(H)?"normal":"bold"},children:(0,b.Sb)(parseFloat((0,C.U)()?(null!==(v=null===ae||void 0===ae||null===(x=ae.variants)||void 0===x||null===(f=x[0])||void 0===f?void 0:f.price)&&void 0!==v?v:null===ae||void 0===ae?void 0:ae.price)/100:null===pe||void 0===pe?void 0:pe.price)," ",H,null===(g=ne.products[0])||void 0===g?void 0:g.currency)}),!isNaN(ue)&&ue>ce&&(0,_.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,y.gld)(H),"important"),e.style.setProperty("font-size",Z,"important"),e.style.setProperty("font-family",X,"important"),e.style.setProperty("width","fit-content","important"),e.style.setProperty("white-space","nowrap","important"))},style:{textDecoration:0!==ce?"line-through":"none"},children:(0,b.Sb)(parseFloat((0,C.U)()?(null!==(w=null===ae||void 0===ae||null===(F=ae.variants)||void 0===F||null===(M=F[0])||void 0===M?void 0:M.compare_at_price)&&void 0!==w?w:null===ae||void 0===ae?void 0:ae.compare_at_price)/100:null===pe||void 0===pe?void 0:pe.compare_price)," ",H,null===(z=ne.products[0])||void 0===z?void 0:z.currency)}),"56352899156"==H&&(0,y.Nzx)(H)&&me&&!isNaN(ve)&&0!=ve&&(0,_.jsx)("div",{style:{display:"flex",backgroundColor:"green"==(0,y.ub$)(H)?"#343434"==q?(0,y.ub$)(H):q:(0,y.ub$)(H),alignItems:"center",borderRadius:(0,y.v8m)(H)+"px",width:"fit-content",padding:"3px 4px"},children:(0,_.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,y.BRY)(H),"important"),e.style.setProperty("font-size",ee,"important"),e.style.setProperty("font-family",X,"important"),e.style.setProperty("width","fit-content","important"),e.style.setProperty("white-space","nowrap","important"))},children:`${ve}% ${null!==(W=null===I.m||void 0===I.m||null===(O=I.m[L])||void 0===O?void 0:O.off)&&void 0!==W?W:"off"}`})})]}),(Q||e.isActive)&&(0,y.Nzx)(H)&&me&&!isNaN(ve)&&0!=ve&&(0,_.jsx)("div",{style:{display:"flex",backgroundColor:"green"==(0,y.ub$)(H)?"#343434"==q?(0,y.ub$)(H):q:(0,y.ub$)(H),alignItems:"center",borderRadius:(0,y.v8m)(H)+"px",width:"fit-content",padding:(0,y.Cf)(H)?"3px 6px":"0px"},children:(0,y.Cf)(H)?(0,_.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,y.BRY)(H),"important"),e.style.setProperty("font-size",ee,"important"),e.style.setProperty("font-family",X,"important"))},children:`${ve}% ${null!==(R=null===I.m||void 0===I.m||null===(B=I.m[L])||void 0===B?void 0:B.off)&&void 0!==R?R:"off"}`}):(0,_.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,y._zx)(H),"important"),e.style.setProperty("font-size",ee,"important"),e.style.setProperty("font-family",(0,y.ogW)(H),"important"))},children:(0,y.rsz)(H)})})]})]})]})},M=i(1957);const z=(0,a.A)({key:"whatmore-css-hv"});function W(e){const[t,i,r]=(0,P.A)(),[l,n,s]=(0,c.A)(),a=(0,u.Xd)("whatmoreShopId"),p=e.events,h=e.onClick,g=r*(0,y.kcl)(a),w=(0,y.cbh)(a),[j,b]=(0,o.useState)(w?p.length:g),{whatmoreWidgetSourceDetails:C}=(0,o.useContext)(m.B);return(0,o.useEffect)(()=>{j<=g&&b(e=>e+g)},[g]),(0,_.jsx)("div",{className:"whatmore-events-carousel-portrait",style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,_.jsx)("div",{style:{width:s,height:"fit-content"},children:(0,_.jsx)(d.RC,{slidesPerView:p.length>1?g:1,initialSlide:p.length>1?1:0,centeredSlides:!0,centeredSlidesBounds:!1,watchSlidesProgress:!0,touchRatio:.5,onSlideChange:e=>{(0,x.UM)({userInteractionType:f.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:C}),e.realIndex>e.previousIndex&&b(e=>e+g)},loop:w,children:p.map((e,t)=>t<=j&&(0,_.jsx)(d.qr,{children:({isActive:t,isPrev:i,isNext:o,isVisible:r})=>i||o||t?(0,_.jsx)(M.A,{isOnFocus:t&&r,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{h(e)}}):(0,_.jsx)(v.A,{})},"whatmore-event-tile-portrait-"+e.index))})})})}function O(e){var[t,i,r,l]=(0,w.A)();const n=e.onClick,s=e.index,a=e.events,[u,h]=(0,o.useState)(6),[y,m,x]=(0,c.A)();return(0,_.jsx)("div",{className:"wht-3d-temp",style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,_.jsx)("div",{style:{width:x,height:"fit-content"},children:(0,_.jsx)(d.RC,{effect:"coverflow",slidesPerView:a.length>=5?5:a.length,slidesPerGroup:1,initialSlide:a.length>=5?2:Math.floor(a.length/2),centeredSlides:!0,onSlideChange:e=>{const t=e.realIndex>e.previousIndex,i=e.realIndex<e.previousIndex&&e.previousIndex>=u;(t||i)&&h(e=>e+1)},mousewheel:{forceToAxis:!0,thresholdDelta:10},modules:[p.t9,p.Vx,p.FJ],watchSlidesProgress:!0,navigation:!0,loop:!0,coverflowEffect:{rotate:0,stretch:Math.floor(.21*l),depth:100,scale:.8,modifier:1,slideShadows:!1},children:a.map((e,t)=>t<=u&&(0,_.jsx)(d.qr,{children:({isActive:t,isPrev:i,isNext:o,isVisible:r})=>r?(0,_.jsx)(F,{isOnFocus:t&&s<0,isActive:t,playOnUnfocus:!1,animateOnFocus:!0,event:e,scaleFactor:1.3,onClick:()=>{n(e)}}):(0,_.jsx)(v.A,{})},"whatmore-event-tile-portr-"+e.index))})})})}var R=function(e){const[t,i,a]=(0,c.A)(),[d]=(0,u.QN)("whatmoreShopId"),[p]=(0,u.QN)("whatmorePrimaryColor"),[v]=(0,u.QN)("whatmoreTitleFont"),x="portrait"==t?(0,u.Xd)("whatmoreTitleFontSizePortrait"):(0,u.Xd)("whatmoreTitleFontSize"),{whatmoreRootId:f}=(0,o.useContext)(m.B),{whatmoreCollectionHeading:w}=(0,o.useContext)(m.B),{whatmoreIsCollectionsTemplate:P}=(0,o.useContext)(m.B),j=e.events,b=e.onClick,C=v;function S(e){b(e)}return(0,o.useEffect)(()=>{(0,g.Fk)("Video shopping powered by Whatmore!")},[]),(0,o.useEffect)(()=>{n.Sn.forEach(e=>{var t;const i=null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-a"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-a"]');if(!i)return;i&&e&&(e.style.minHeight="0px")}),(0,u.t2)("muted",!0)},[]),delete l.Ay.styles.global,(0,_.jsx)(s.C,{value:z,children:(0,_.jsx)("div",{className:"whatmore-carousel-events",style:{height:"100%"},children:(0,_.jsx)(r.s,{theme:l.Ay,cssVarsRoot:f,resetCSS:!1,children:(0,_.jsxs)(h.h.Provider,{value:{tileTopMargin:25,tileBottomMMargin:25,tileLeftMargin:4,tileRightMargin:4,showPlayButton:!0},children:[e.heading.trim().length>0||P?(0,_.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},children:(0,_.jsx)("p",{ref:e=>{e&&(e.style.setProperty("font-family",C,"important"),e.style.setProperty("font-size",x+"px","important"))},style:{color:p,backgroundClip:"text",textAlign:"center",fontWeight:(0,y.Odx)(d),lineHeight:(0,y.L0y)(d),letterSpacing:(0,y.l3V)(d)},children:P?"W"!==w?w:"":e.heading})}):(0,_.jsx)(_.Fragment,{}),"landscape"===t?(0,_.jsx)(O,{index:e.index,events:j,onClick:S}):(0,_.jsx)(W,{index:e.index,events:j,onClick:S})]})})})})}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[497],{3795:function(e,t,o){o.r(t),o.d(t,{default:function(){return O}});var i=o(9950),r=o(340),n=o(5089),s=o(5873),l=(o(3997),o(9130),o(4669),o(9733),o(4365),o(7229),o(6042),o(572)),a=o(8603),d=o(9946),p=o(9094),c=o(932),u=o(1941),y=o(5491),h=o.n(y),m=o(5830),f=o(7509),x=o(7136),v=o(1348),g=o(5903),w=o(1351),P=o(6157),b=o(6641),j=(o(4826),o(9879)),C=o(22),S=o(6594),k=o(8149),M=o(7740),I=(o(7035),o(4414));var A=function(e){var t,o,r,n,s,l,a,d,p,u,y,h,f,x,w,P;const[b,A,N,R,_]=(0,c.A)(),O=1*A,T=1*b,z=((0,m.Xd)("whatmoreUITheme"),(0,m.Xd)("whatmoreShopId")),E=(0,m.Xd)("whatmorePrimaryFont"),B=(0,m.Xd)("whatmoreSecondaryColor"),W=((0,m.Xd)("websiteLanguage"),e.onClick),D=null===(t=e.isOnFocus)||void 0===t||t,F=null!==(o=e.playOnUnfocus)&&void 0!==o&&o,U=null!==(r=e.animateOnFocus&&(0,v.n5O)(z))&&void 0!==r&&r,L="portrait"===_[C.dl],X=(L?1.15*A*(0,v.HWj)(z):1.05*A*(0,v.N_4)(z))+"px",H=L?1.2*A*(0,v.HWj)(z):1.1*A*(0,v.N_4)(z),V=H+"px",q=L?.8*A*(0,v.HWj)(z):.7*A*(0,v.N_4)(z),{whatmoreIsPreviewMode:Y,whatmoreWidgetSourceDetails:Q}=(0,i.useContext)(g.B),[G,J]=(0,i.useState)(e.event),[K,Z]=(0,i.useState)(),[$,ee]=(0,i.useState)(!1),[te,oe]=(0,i.useState)(!1),ie=null!==(n=null===(s=G.products)||void 0===s?void 0:s.find(e=>"active"==e.product_status))&&void 0!==n?n:null===(l=G.products)||void 0===l?void 0:l[0],re=Math.round(+(null===ie||void 0===ie?void 0:ie.price)),ne=Math.round(+(null===ie||void 0===ie?void 0:ie.compare_price)),se=ne&&0!=ne&&ne>re?Math.round((ne-re)/ne*100):NaN,[le,ae]=(0,i.useState)(se),[de,pe]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{(0,v.w4b)(z)?(0,S.fu)(G,(0,v.NCy)(z),z).then(e=>{var t,o,i;J(e);const r=Math.round(null===(t=e.products)||void 0===t||null===(o=t[0])||void 0===o?void 0:o.price),n=Math.round(null===e||void 0===e||null===(i=e.products[0])||void 0===i?void 0:i.compare_price),s=n&&0!=n&&n>r?Math.round((n-r)/n*100):NaN;ae(s),pe(!0)}):(async()=>{const e=await(0,k.M)(ie,(0,v.NCy)(z),z);Z(e),pe(!0)})()},[]),(0,I.jsxs)("div",{className:U&&!L?D?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",style:{width:O,margin:"0",cursor:"pointer",display:"flex",flexDirection:"column",alignItems:"stretch",justifyContent:"flex-start",background:"transparent",position:"relative",transition:"transform 0.2s ease-out",transform:$?"translateY(-2px)":"translateY(0)"},onClick:()=>{W(G)},onMouseEnter:()=>ee(!0),onMouseLeave:()=>ee(!1),children:[(0,I.jsxs)("div",{style:{width:"100%",height:T,borderRadius:"0px",overflow:"hidden",position:"relative",display:"flex",alignItems:"center",justifyContent:"center",background:"#fafafa",transition:"box-shadow 0.2s ease-out",boxShadow:$?"0 2px 8px rgba(0, 0, 0, 0.08)":"none"},children:[(0,I.jsx)(j.A,{height:(0,v.u06)(z)+" !important",width:"100%",url:G.thumbnail_image,isPlaying:D||F,event:G,style:{objectFit:"cover",filter:"none",transition:"none"}}),ie&&(0,v.WDJ)(z)&&($||L)&&(0,I.jsx)("div",{style:{position:"absolute",bottom:0,left:0,right:0,background:"rgba(0, 0, 0, 0.6)",padding:"12px",display:"flex",alignItems:"center",justifyContent:"center",transition:"all 0.2s ease-out",cursor:"pointer",transform:$||L?"translateY(0)":"translateY(100%)",opacity:$||L?1:0,zIndex:10},onClick:e=>{e.stopPropagation()},onMouseEnter:e=>{e.target.style.background="rgba(0, 0, 0, 0.7)"},onMouseLeave:e=>{e.target.style.background="rgba(0, 0, 0, 0.6)"},children:(0,I.jsx)("span",{style:{color:"white",fontSize:X,fontFamily:E,fontWeight:"400",textAlign:"center",letterSpacing:"0.5px",textTransform:"uppercase"},children:"ADD TO CART"})})]}),ie&&(0,v.LPW)(z)&&(0,I.jsxs)("div",{style:{cursor:"pointer",display:"flex",flexDirection:"column",gap:"4px",padding:"12px 0 8px 0",width:"100%",background:"transparent"},children:[(null===ie||void 0===ie?void 0:ie.product_type)&&(0,I.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color","#999999"),e.style.setProperty("font-size","9px"),e.style.setProperty("font-family",E),e.style.setProperty("font-weight","400"),e.style.setProperty("text-transform","uppercase"),e.style.setProperty("letter-spacing","0.7px"),e.style.setProperty("margin","0"),e.style.setProperty("line-height","1"),e.style.setProperty("overflow","hidden"),e.style.setProperty("text-overflow","ellipsis"),e.style.setProperty("white-space","nowrap"))},children:null===ie||void 0===ie?void 0:ie.product_type}),(0,I.jsxs)("div",{style:{display:"flex",gap:"8px",alignItems:"flex-start",width:"100%"},children:[(null===ie||void 0===ie?void 0:ie.thumbnail_image)&&(0,v.UmS)(z)&&(0,I.jsx)("div",{style:{width:"48px",height:"48px",flexShrink:0,borderRadius:"0px",overflow:"hidden",background:"#f8f8f8"},children:(0,I.jsx)("img",{ref:e=>{e&&e.style.setProperty("object-fit","cover")},src:(null===ie||void 0===ie||null===(a=ie.thumbnail_image)||void 0===a||null===(d=a.split("?"))||void 0===d?void 0:d[0])+"?width=400&height=400",alt:"thumbnail",onLoad:()=>oe(!0),style:{width:"100%",height:"100%",opacity:te?1:0}})}),(0,I.jsxs)("div",{style:{flex:1,display:"flex",flexDirection:"column",gap:"4px",minWidth:0},children:[(null===ie||void 0===ie?void 0:ie.title)&&(0,I.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color","#000000"),e.style.setProperty("font-size",X),e.style.setProperty("line-height","1.2"),e.style.setProperty("font-family",E),e.style.setProperty("font-weight","400"),e.style.setProperty("letter-spacing","0px"),e.style.setProperty("margin","0"),e.style.setProperty("overflow","hidden"),e.style.setProperty("text-overflow","ellipsis"),e.style.setProperty("display","-webkit-box","important"),e.style.setProperty("-webkit-line-clamp","1"),e.style.setProperty("-webkit-box-orient","vertical"),e.style.setProperty("text-transform","uppercase"),e.style.setProperty("letter-spacing","0.7px"))},children:null===ie||void 0===ie?void 0:ie.title}),de&&(0,v.Nzx)(z)&&(0,I.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"8px",flexWrap:"wrap",marginTop:"6px"},children:[(0,I.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color","#000000"),e.style.setProperty("font-size",V),e.style.setProperty("font-family",E),e.style.setProperty("font-weight","500"),e.style.setProperty("letter-spacing","0px"),e.style.setProperty("white-space","nowrap"),e.style.setProperty("margin","0"))},children:(0,S.Sb)(parseFloat((0,M.U)()?(null!==(p=null===K||void 0===K||null===(u=K.variants)||void 0===u||null===(y=u[0])||void 0===y?void 0:y.price)&&void 0!==p?p:null===K||void 0===K?void 0:K.price)/100:null===ie||void 0===ie?void 0:ie.price)," ",z,null===(h=G.products[0])||void 0===h?void 0:h.currency)}),!isNaN(ne)&&ne>re&&(0,I.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color","#999999"),e.style.setProperty("font-size",.9*H+"px"),e.style.setProperty("font-family",E),e.style.setProperty("font-weight","400"),e.style.setProperty("white-space","nowrap"),e.style.setProperty("margin","0"))},style:{textDecoration:"line-through",textDecorationColor:"#cccccc"},children:(0,S.Sb)(parseFloat((0,M.U)()?(null!==(f=null===K||void 0===K||null===(x=K.variants)||void 0===x||null===(w=x[0])||void 0===w?void 0:w.compare_at_price)&&void 0!==f?f:null===K||void 0===K?void 0:K.compare_at_price)/100:null===ie||void 0===ie?void 0:ie.compare_price)," ",z,null===(P=G.products[0])||void 0===P?void 0:P.currency)}),(0,v.Nzx)(z)&&de&&!isNaN(le)&&0!=le&&(0,v.Cf)(z)&&(0,I.jsx)("div",{style:{display:"inline-flex",background:B,alignItems:"center",justifyContent:"center",borderRadius:"0px",padding:"4px 8px"},children:(0,I.jsxs)("p",{ref:e=>{e&&(e.style.setProperty("color","#ffffff"),e.style.setProperty("font-size",1.2*q+"px"),e.style.setProperty("font-family",E),e.style.setProperty("font-weight","600"),e.style.setProperty("letter-spacing","0.5px"),e.style.setProperty("text-transform","uppercase"),e.style.setProperty("margin","0"),e.style.setProperty("line-height","1.2"),e.style.setProperty("white-space","nowrap"))},children:[le,"%"]})})]})]})]}),""!=(null===G||void 0===G?void 0:G.title)&&(window.location.pathname.includes("/categories/")||window.location.pathname.includes("/products/"))&&(0,I.jsx)("div",{className:"wht-video-title",style:{display:"none",marginTop:"8px"},children:(0,I.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color","#666666"),e.style.setProperty("font-family",E),e.style.setProperty("font-weight","400"),e.style.setProperty("font-size","11px"),e.style.setProperty("line-height","1.4"),e.style.setProperty("letter-spacing","0px"))},style:{margin:"0",textAlign:"left",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical"},children:null===G||void 0===G?void 0:G.title})})]})]})};const N=(0,a.A)({key:"whatmore-css-hv"});function R(e){const[t,o,r]=(0,c.A)(),[n,s,l]=(0,u.A)(),a=(0,m.Xd)("whatmoreShopId"),y=e.events,h=e.onClick,f=r*(0,v.kcl)(a),b=(0,v.cbh)(a),[j,C]=(0,i.useState)(b?y.length:f),{whatmoreWidgetSourceDetails:S}=(0,i.useContext)(g.B);return(0,i.useEffect)(()=>{j<=f&&C(e=>e+f)},[f]),(0,I.jsx)("div",{className:"whatmore-events-carousel-portrait premium-carousel-portrait",style:{display:"flex",justifyContent:"center",alignItems:"center",padding:"0 24px",background:"transparent",margin:"8px 0",position:"relative",overflow:"hidden"},children:(0,I.jsx)("div",{style:{width:l-48,height:"fit-content",position:"relative",zIndex:1},children:(0,I.jsx)(d.RC,{slidesPerView:y.length>1?f:1,initialSlide:y.length>1?1:0,centeredSlides:!0,centeredSlidesBounds:!1,watchSlidesProgress:!0,modules:[p.U1],spaceBetween:12,freeMode:{enabled:!0,sticky:!1,momentum:!0,momentumRatio:.7,momentumBounce:!1,momentumVelocityRatio:.9},touchRatio:1.2,simulateTouch:!0,allowTouchMove:!0,grabCursor:!0,resistance:!0,resistanceRatio:.75,speed:400,onSlideChange:e=>{(0,w.UM)({userInteractionType:P.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:S}),e.realIndex>e.previousIndex&&C(e=>e+f)},loop:b,style:{paddingTop:"8px",paddingBottom:"8px"},children:y.map((e,t)=>t<=j&&(0,I.jsx)(d.qr,{children:({isActive:t,isPrev:o,isNext:i,isVisible:r})=>o||i||t?(0,I.jsx)("div",{style:{transform:t?"scale(1.02)":"scale(0.98)",transition:"transform 0.3s ease-out",filter:t?"none":"brightness(0.9)",opacity:t?1:.85},children:(0,I.jsx)(A,{isOnFocus:t&&r,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{h(e)}})}):(0,I.jsx)(x.A,{})},"whatmore-event-tile-portrait-"+e.index))})})})}function _(e){const[t,o,r,n]=(0,c.A)(),[s,l]=(0,i.useState)(-1),a=(0,m.Xd)("whatmoreShopId"),u=e.onClick,y=e.events,f=(0,v.cbh)(a),[b,j]=(0,i.useState)(f?y.length:r),C=Math.min(r,y.length),{whatmoreWidgetSourceDetails:S}=(0,i.useContext)(g.B),k=(0,i.useRef)(null);return(0,i.useEffect)(()=>{if(k.current){const e=o*C*(0,v.fHt)(a)+"px";y.length<4?k.current.style.setProperty("width",e,"important"):k.current.style.width=e}},[o,C,a,b,y.length]),(0,i.useEffect)(()=>{b<=r&&j(e=>e+r)},[r]),(0,I.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%",paddingLeft:n+"px",paddingRight:n+"px",background:"transparent"},className:"whatmore-events-carousel-landscape premium-carousel-landscape",children:(0,I.jsx)("div",{ref:k,style:{zIndex:1},children:(0,I.jsx)(d.RC,{slidesPerView:C,watchSlidesProgress:!0,modules:[p.FJ,p.U1],freeMode:{enabled:!0,sticky:!1,momentum:!0,momentumRatio:.5,momentumBounce:!1,momentumVelocityRatio:.7},onSlideChange:e=>{(0,w.UM)({userInteractionType:P.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:S}),e.realIndex>e.previousIndex&&j(e=>e+r)},spaceBetween:0,loop:!1,touchRatio:1,simulateTouch:!0,allowTouchMove:!0,grabCursor:!0,resistance:!0,resistanceRatio:.75,speed:500,mousewheel:{forceToAxis:!0,sensitivity:.6,releaseOnEdges:!0,invert:!1},children:y.map((e,t)=>{const o=h()(()=>l(t),50);return t<=b&&(0,I.jsx)(d.qr,{onMouseEnter:()=>{o()},onMouseLeave:()=>{o.cancel(),l(-1)},style:{height:"100%"},children:({isActive:o,isPrev:i,isNext:r,isVisible:n})=>n||i||r?(0,I.jsx)("div",{style:{height:"100%",transform:t===s?"translate3d(0, -1px, 0)":"translate3d(0, 0, 0)",transition:"transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.3s ease-out, opacity 0.3s ease-out",filter:t===s?"brightness(1.02)":"none",opacity:t===s?1:.98,willChange:"transform, filter, opacity"},children:(0,I.jsx)(A,{isOnFocus:t==s,playOnUnfocus:!(0,v.aO7)(a)||t==parseInt(C/2)&&-1==s,animateOnFocus:!0,event:e,onClick:()=>{u(e)}})}):(0,I.jsx)(x.A,{})},"wht-event-tile-landscape-"+e.index)})})})})}var O=function(e){const[t,o,a]=(0,u.A)(),[d]=(0,m.QN)("whatmoreShopId"),[p]=(0,m.QN)("whatmorePrimaryColor"),[c]=(0,m.QN)("whatmoreTitleFont"),y="portrait"==t?(0,m.Xd)("whatmoreTitleFontSizePortrait"):(0,m.Xd)("whatmoreTitleFontSize"),{whatmoreRootId:h}=(0,i.useContext)(g.B),{whatmoreCollectionHeading:x}=(0,i.useContext)(g.B),{whatmoreIsCollectionsTemplate:v}=(0,i.useContext)(g.B),w=e.events,P=e.onClick,j=c;function C(e){P(e)}return(0,i.useEffect)(()=>{(0,b.Fk)("Video shopping powered by Whatmore!")},[]),(0,i.useEffect)(()=>{s.Sn.forEach(e=>{var t;const o=null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-h"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-h"]');if(!o)return;o&&e&&(e.style.minHeight="0px")})},[]),delete n.Ay.styles.global,(0,I.jsx)(l.C,{value:N,children:(0,I.jsx)("div",{className:"whatmore-carousel-events premium-carousel-container",style:{height:"100%",background:"transparent",position:"relative",padding:"portrait"===t?"8px 0":"16px 0"},children:(0,I.jsx)(r.s,{theme:n.Ay,cssVarsRoot:h,resetCSS:!1,children:(0,I.jsxs)(f.h.Provider,{value:{tileTopMargin:8,tileBottomMMargin:8,tileLeftMargin:2,tileRightMargin:2,showPlayButton:!0},children:[(e.heading.trim().length>0||v)&&(0,I.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",marginBottom:"portrait"===t?"12px":"16px",position:"relative",zIndex:1},children:(0,I.jsx)("div",{style:{background:"transparent",padding:"8px 24px",position:"relative"},children:(0,I.jsx)("h2",{ref:e=>{e&&(e.style.setProperty("font-family",j,"important"),e.style.setProperty("font-size",y+"px","important"))},style:{color:"#1a1a1a",textAlign:"center",fontWeight:"300",lineHeight:"1.2",letterSpacing:"0.5px",margin:0,position:"relative",zIndex:1,textTransform:"uppercase",fontSize:y+"px"},children:v?"W"!==x?x:"":e.heading})})}),"landscape"===t?(0,I.jsx)(_,{events:w,onClick:C}):(0,I.jsx)(R,{events:w,onClick:C})]})})})})}},4826:function(){},7136:function(e,t,o){var i=o(9950),r=o(932),n=o(7509),s=o(5830),l=o(4414);t.A=function(e){var[t,o]=(0,r.A)();(0,i.useContext)(n.h);const a=(0,s.Xd)("whatmoreShopId");return e.event,(0,l.jsx)("div",{style:{margin:"0 auto",width:"8968077397"==a?void 0:o,aspectRatio:"8968077397"==a?9/16:void 0,height:"8968077397"==a?"100%":t,overflow:"hidden"}})}},7509:function(e,t,o){o.d(t,{h:function(){return i}});const i=(0,o(9950).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})}}]);
@@ -1,15 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[116],{3852:function(n,t,e){e.d(t,{A:function(){return w}});var i=e(3247),o=e(1422),r=e(3731),a=e(211),l=e(9950),s=e(932),c=e(5242),h=e(8781),d=e(8283);const m=d.i7`
2
- 0% {
3
- transform: scale(1);
4
- }
5
- 100% {
6
- transform: scale(1.05);
7
- }
8
- `,u=d.i7`
9
- 0% {
10
- transform: scale(1.05);
11
- }
12
- 100% {
13
- transform: scale(1);
14
- }
15
- `,g=`\n ${m}; \n infinite;\n animation-duration:0.2s; \n animation-direction: linear ;\n animation-timing-function: ease-in;\n animation-fill-mode: forwards;\n`,f=`\n ${u}; \n infinite;\n animation-duration:0.2s; \n animation-direction: linear ;\n animation-timing-function: ease-in;\n animation-fill-mode: forwards;\n`;var x=e(5830),p=e(7509),j=e(4414);var w=function(n){var t,e,[d,m]=(0,s.A)();const[u]=(0,x.QN)("whatmorePrimaryFont");var w=(0,l.useContext)(p.h);const v=n.event,C=n.onClick,b=null===(t=n.isOnFocus)||void 0===t||t,y=(n.playOnUnfocus,null!==(e=n.animateOnFocus)&&void 0!==e&&e);return(0,j.jsxs)(i.az,{animation:y?b?g:f:"none",marginTop:w.tileTopMargin,marginBottom:w.tileBottomMMargin,marginLeft:w.tileLeftMargin,marginRight:w.tileRightMargin,width:m,height:d,borderRadius:"lg",sx:{boxShadow:"0px 0px 10px 3px #B0B0B0"},overflow:"hidden",onClick:()=>{C(v)},cursor:"pointer",children:[(0,j.jsx)(a._,{width:"full",height:"full",src:v.thumbnail_image,objectFit:"cover",fallback:(0,j.jsx)(h.A,{width:m,height:d}),borderRadius:"lg"}),(0,j.jsx)(i.az,{style:{position:"relative",zIndex:1,bottom:"100%",overflow:"hidden"},width:"full",height:"full",borderRadius:"lg",overflow:"hidden",className:"whatmore-ios-css-relative-fix",children:(0,j.jsxs)(o.B,{direction:"column",height:"full",width:"full",justifyContent:"space-between",children:[(0,j.jsx)(i.az,{w:"100%",borderRadius:"lg",bgGradient:"linear(to-t, transparent, blackAlpha.200, blackAlpha.400, blackAlpha.600)",children:(0,j.jsx)(o.B,{direction:"column",justifyContent:"flex-start",children:(0,j.jsx)(i.az,{width:"100%",marginLeft:"5px",marginRight:"5px",marginTop:"10px",children:(0,j.jsx)(o.B,{direction:"row",justifyContent:"space-between",children:(0,j.jsx)(c.A,{event:v,fontSize:.05*d+"px",maxWidth:.8*m})})})})}),(0,j.jsx)(i.az,{w:"100%",borderRadius:"lg",bgGradient:"linear(to-b, transparent, blackAlpha.300, blackAlpha.400, blackAlpha.500, blackAlpha.600)",children:(0,j.jsx)(o.B,{direction:"column",width:"full",height:"full",justifyContent:"flex-end",alignContent:"center",children:(0,j.jsx)(i.az,{width:"full",borderRadius:"lg",children:(0,j.jsxs)(o.B,{direction:"column",justifyContent:"space-between",alignContent:"flex-start",marginLeft:"5px",marginRight:"5px",marginBottom:"2px",children:[(0,j.jsx)(r.E,{color:"white",fontSize:.08*m+"px",fontWeight:"normal",align:"left",children:" "}),(0,j.jsx)(r.E,{fontSize:.08*m+"px",fontWeight:"normal",align:"left",sx:{fontFamily:u+" !important",color:"white !important"},children:v.title.substring(0,40)}),(0,j.jsx)(r.E,{fontSize:.08*m+"px",fontWeight:"bold",align:"left",sx:{fontFamily:u+" !important",color:"white !important"},children:v.presenter_name.substring(0,15)})]})})})})]})})]})}},4063:function(n,t,e){var i=e(9950),o=e(3731),r=e(3247),a=e(5830),l=e(5144),s=e(4414);t.A=function(n){var t,e;const[c,h]=(0,i.useState)(!1),[d,m]=(0,i.useState)(!1),[u]=(0,a.QN)("whatmoreSecondaryColor"),[g]=(0,a.QN)("whatmoreSecondaryColorShade600"),[f]=(0,a.QN)("whatmoreSecondaryColorShade300"),[x]=(0,a.QN)("whatmorePrimaryFont"),p=n.onClick,j=n.icon,w=null!==(t=n.borderRadius)&&void 0!==t?t:"sm",v=null!==(e=n.baseFontSize)&&void 0!==e?e:12;return(0,s.jsxs)(r.az,{display:"flex",alignItems:"center",width:"fit-content",height:"fit-content",boxShadow:"lg",borderRadius:w,backgroundColor:c?f:u,animation:d?l.jd:null,padding:"6px 12px",cursor:"pointer",gap:"6px",onClick:n=>{n.stopPropagation(),m(!0),p()},onMouseEnter:()=>{h(!0)},onMouseLeave:()=>{h(!1)},children:[(0,s.jsx)(o.E,{fontSize:v+"px !important",fontWeight:"normal",sx:{fontFamily:x+" !important",color:"white !important"},children:"VIEW MORE"}),j]})}},4826:function(){},7144:function(n,t,e){e.r(t);var i=e(9950),o=e(3852),r=e(340),a=e(5089),l=e(8726),s=(e(3997),e(9733),e(4365),e(572)),c=e(8603),h=e(3731),d=e(1422),m=e(3247),u=e(6086),g=e(932),f=e(1941),x=e(5830),p=(e(5144),e(7509)),j=e(1348),w=e(5903),v=e(2039),C=e(5620),b=e(4063),y=e(4414);const F=(0,c.A)({key:"whatmore-css-hv"});function k(n,t){var e=[];const i=t;for(let o=0;o<n.length;o+=i){const t=n.slice(o,o+i);e.push(t)}return e}function A(n){var t;const[e,r,a]=(0,g.A)();var[s,c]=(0,i.useState)(0);const h=n.events,f=n.onClick,x=null!==(t=n.seeMoreIncrement)&&void 0!==t?t:1,p=k(h,Math.floor(Math.min(a,h.length)));return(0,y.jsx)(u.o,{children:(0,y.jsxs)(d.B,{direction:"column",width:"100%",height:"fit-content",justifyContent:"center",alignContent:"center",children:[(0,y.jsx)(y.Fragment,{children:p.map((n,t)=>t>s?(0,y.jsx)(y.Fragment,{}):(0,y.jsx)(d.B,{direction:"row",width:"100%",height:"fit-content",justifyContent:"center",alignContent:"center",children:n.map((n,t)=>(0,y.jsx)(m.az,{style:{margin:"10px"},children:(0,v.ij)(n)||(0,v.Il)(n)?(0,y.jsx)(C.A,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:n,onClick:()=>{f(n)}}):(0,y.jsx)(o.A,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:n,onClick:()=>{f(n)}})},"event-"+t))},"event-stack-"+t))}),(0,y.jsx)(y.Fragment,{children:s<p.length-1?(0,y.jsx)(d.B,{direction:"row",width:"100%",height:"fit-content",marginY:"10px !important",justifyContent:"center",alignContent:"center",children:(0,y.jsx)(b.A,{baseFontSize:.1*r,icon:(0,y.jsx)(l.A,{style:{color:"white"}}),onClick:()=>{s>=p.length-1||c(n=>n+x)}})}):(0,y.jsx)(y.Fragment,{})})]})})}function M(n){var t;const[e,r,a,s]=(0,g.A)();var[c,h]=(0,i.useState)(0);const f=n.events,x=n.onClick,p=null!==(t=n.seeMoreIncrement)&&void 0!==t?t:1,j=k(f,Math.floor(Math.min(a,f.length)));return(0,y.jsx)(u.o,{paddingLeft:s+"px",paddingRight:s+"px",children:(0,y.jsxs)(d.B,{direction:"column",width:"100%",height:"fit-content",justifyContent:"center",alignContent:"center",children:[(0,y.jsx)(y.Fragment,{children:j.map((n,t)=>t>c?(0,y.jsx)(y.Fragment,{}):(0,y.jsx)(d.B,{direction:"row",width:"100%",height:"fit-content",marginY:"10px",justifyContent:"center",alignContent:"center",children:n.map((n,t)=>(0,y.jsx)(m.az,{style:{margin:"10px"},children:(0,v.ij)(n)||(0,v.Il)(n)?(0,y.jsx)(C.A,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:n,onClick:()=>{x(n)}}):(0,y.jsx)(o.A,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:n,onClick:()=>{x(n)}})},"event-"+t))},"event-stack-"+t))}),(0,y.jsx)(y.Fragment,{children:c<j.length-1?(0,y.jsx)(d.B,{direction:"row",width:"100%",height:"fit-content",marginY:"10px !important",justifyContent:"center",alignContent:"center",children:(0,y.jsx)(b.A,{baseFontSize:.1*r,onClick:()=>{c>=j.length-1||h(n=>n+p)},icon:(0,y.jsx)(l.A,{style:{color:"white"}})})}):(0,y.jsx)(y.Fragment,{})})]})})}t.default=function(n){var t;const[e,o,l]=(0,f.A)(),[c]=(0,x.QN)("whatmoreShopId"),[d]=(0,x.QN)("whatmorePrimaryColor"),[m]=(0,x.QN)("whatmoreSecondaryColor"),[g]=(0,x.QN)("whatmoreTitleFont"),v="portrait"==e?(0,x.Xd)("whatmoreTitleFontSizePortrait"):(0,x.Xd)("whatmoreTitleFontSize"),{whatmoreRootId:C}=(0,i.useContext)(w.B),b=n.events,k=n.onClick,S=null!==(t=(0,j.sa6)(c))&&void 0!==t?t:g;function z(n){k(n)}return delete a.Ay.styles.global,(0,y.jsx)(s.C,{value:F,children:(0,y.jsx)("div",{className:"whatmore-carousel-events-view-more",children:(0,y.jsx)(r.s,{theme:a.Ay,cssVarsRoot:C,resetCSS:!1,children:(0,y.jsxs)(p.h.Provider,{value:{tileTopMargin:3,tileBottomMMargin:3,tileLeftMargin:3,tileRightMargin:3,showPlayButton:!1},children:[n.heading.trim().length>0?(0,y.jsx)(u.o,{children:(0,y.jsx)(h.E,{bgColor:d,bgClip:"text",fontSize:v,sx:{fontFamily:S+" !important"},align:"center",children:n.heading})}):(0,y.jsx)(y.Fragment,{}),"landscape"===e?(0,y.jsx)(M,{events:b,onClick:z,seeMoreIncrement:1}):(0,y.jsx)(A,{events:b,onClick:z,seeMoreIncrement:2})]})})})})}},7509:function(n,t,e){e.d(t,{h:function(){return i}});const i=(0,e(9950).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},8726:function(n,t,e){var i=e(4994);t.A=void 0;var o=i(e(9526)),r=e(4414);t.A=(0,o.default)((0,r.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore")}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[423],{517:function(e,t,o){o.r(t);var r=o(9950),i=o(340),n=o(5089),a=(o(3997),o(9130),o(4669),o(9733),o(4365),o(7229),o(6042),o(572)),l=o(8603),p=o(1941),s=o(5830),d=o(7509),x=o(5903),h=o(2410),c=o(9611),m=o(8385),u=o(932),g=o(6641),w=o(851),f=o(6649),v=o(1348),y=o(5873),b=o(4414);const j=(0,l.A)({key:"whatmore-css-cv"});t.default=function(e){const t=e.events,[o]=(0,p.A)(),[l,S]=(0,u.A)(),[C,k]=(0,r.useState)(Array(t.length).fill(0).map(()=>Math.random())),A=(0,s.Xd)("whatmoreVideoTileSize"),R=(0,s.Xd)("whatmoreVideoTileSizePortrait"),T="portrait"===o?R:A,B="portrait"==o?0:(0,s.Xd)("whatmoreLandscapePadding"),P=(0,s.Xd)("whatmoreCollectionsTilesSpacing"),{whatmoreIsCollectionsTemplate:L}=(0,r.useContext)(x.B),V=(0,s.Xd)("whatmoreShopId"),{whatmoreRootId:F}=(0,r.useContext)(x.B),M=e.onClick;function N(e){M(e)}(0,r.useEffect)(()=>{(0,g.Fk)("Video shopping powered by Whatmore!")},[]),delete n.Ay.styles.global;var E=[];for(let r=0,i=!1;r<t.length;)i&&r!=t.length-1&&C[r]>.2?(E.push((0,b.jsx)(c.A,{mode:o,event1:t[r],event2:t[r+1],onClick:()=>{N(t[r-1])}},"collections-tile-"+r)),r+=2,i=!i):(E.push((0,b.jsx)(h.A,{mode:o,event:t[r],onClick:()=>{N(t[r-1])},borderRadius:"10%",removeBorders:!1},"collections-tile-"+r)),r+=1,i=!i);(0,r.useEffect)(()=>{y.Sn.forEach(e=>{var t;if(!(null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-collections-a"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-collections-a"]')))return;e&&(e.style.minHeight="0px")})},[]);const[I,Q,X]=(0,f.A)({triggerOnce:!1});return(0,b.jsx)(a.C,{value:j,children:(0,b.jsx)("div",{className:L?"whatmore-collection-events":"whatmore-carousel-events",children:(0,b.jsx)(i.s,{theme:n.Ay,cssVarsRoot:F,resetCSS:!1,children:(0,b.jsxs)(d.h.Provider,{value:{tileTopMargin:0,tileBottomMMargin:0,tileLeftMargin:0,tileRightMargin:0,showPlayButton:!1},children:[(0,b.jsx)("div",{ref:I,style:{marginLeft:B+"px",marginRight:B+"px"},children:(0,b.jsx)(m.c,{renderElement:e=>(0,b.jsx)(b.Fragment,{children:e.eventData}),dataList:E,spacing:P,defaultHeight:l*T*.01+"px",defaultWidth:S*T*.01+"px",retainAlreadyRenderedElements:!0})}),(0,v.wQ2)(V)&&L&&!Q&&-1==e.index&&(0,b.jsx)(w.A,{event:t[0],inVideoClick:N,closeClick:t=>{t.stopPropagation(),e.setScreen(-2)}})]})})})})}},9611:function(e,t,o){var r=o(9950),i=o(1348),n=o(5830),a=(o(6125),o(4365),o(6614),o(9879)),l=o(932),p=o(4414);t.A=function(e){var t;const[o,s]=(0,l.A)(),[d]=(0,n.QN)("whatmoreSecondaryColor"),[x]=(0,n.QN)("whatmoreShopId"),[h]=(0,n.QN)("whatmoreVideoTileSize"),[c]=(0,n.QN)("whatmoreVideoTileSizePortrait"),m="portrait"===e.mode?c:h,[u,g]=(0,r.useState)(!1),w=(0,i.ivI)(x),f=e.event1,v=e.event2,y=e.onClick,b=.01*m,j=o*b,S=o*b*.5,C=s*b,k=null!==(t=e.borderRadius)&&void 0!==t?t:"10%",A="15%",R=e.removeBorders;return(0,p.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",flexShrink:0,height:j+"px",width:C+"px",marginLeft:R?"2px":"5px",marginRight:R?"2px":"5px",marginTop:R?"2px":"5px",marginBottom:R?"2px":"5px",cursor:"pointer"},children:(0,p.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"center",flexShrink:0,height:"fit-content",width:"fit-content",borderRadius:R?"0px":k,boxShadow:R?"":"0px 1px 1px 0px "+d+"50, 0px -1px 1px 0px "+w+"50, 1px 0px 1px 0px "+d+"50, -1px 0px 1px 0px "+w+"80, 1px -1px 1px 0px "+d+"80, -1px 1px 1px 0px "+w+"DA, 1px 1px 1px 0px "+d+"DA, -1px -1px 1px 0px "+w+"DA"},onClick:()=>{g(!0),y(f)},className:[u?"whatmore-scale-on-tap":""].join(" "),children:[(0,p.jsx)("div",{style:{flexShrink:0,objectFit:"cover",height:S+"px",width:C+"px",borderTopLeftRadius:R?"0px":A,borderTopRightRadius:R?"0px":A,borderBottom:"2px solid transparent",backgroundColor:"transparent",overflow:"hidden"},children:(0,p.jsx)(a.A,{height:"100%",width:"100%",url:f.thumbnail_image,isPlaying:!0,event:f})}),(0,p.jsx)("div",{style:{flexShrink:0,objectFit:"cover",height:S+"px",width:C+"px",borderBottomLeftRadius:R?"0px":A,borderBottomRightRadius:R?"0px":A,borderTop:"2px solid transparent",backgroundColor:"transparent",overflow:"hidden"},children:(0,p.jsx)(a.A,{height:"100%",width:"100%",url:v.thumbnail_image,isPlaying:!0,event:v})})]})})}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[412],{7646:function(e,t,o){o.r(t);var r=o(9950),i=o(340),a=o(5089),n=(o(3997),o(9130),o(4669),o(9733),o(4365),o(7229),o(6042),o(572)),l=o(8603),p=o(1941),s=o(5830),d=o(7509),h=o(5903),x=o(5873),c=o(2410),m=o(9611),u=o(8385),w=o(932),g=o(6641),v=o(1348),f=o(851),y=o(6649),b=o(4414);const S=(0,l.A)({key:"whatmore-css-cv"});t.default=function(e){const t=e.events,[o]=(0,p.A)(),[l,j]=(0,r.useState)(Array(t.length).fill(0).map(()=>Math.random())),[C,k]=(0,w.A)(),A=(0,s.Xd)("whatmoreVideoTileSize"),R=(0,s.Xd)("whatmoreVideoTileSizePortrait"),B="portrait"===o?R:A,T="portrait"==o?0:(0,s.Xd)("whatmoreLandscapePadding"),P=(0,s.Xd)("whatmoreCollectionsTilesSpacing"),{whatmoreIsCollectionsTemplate:L}=(0,r.useContext)(h.B),V=(0,s.Xd)("whatmoreShopId"),{whatmoreRootId:F}=(0,r.useContext)(h.B),M=e.onClick,[N,E,I]=(0,y.A)({triggerOnce:!1});function Q(e){M(e)}delete a.Ay.styles.global;var X=[];for(let r=0,i=!1;r<t.length;)i&&r!=t.length-1&&l[r]>.2?(X.push((0,b.jsx)(m.A,{event1:t[r],event2:t[r+1],onClick:()=>{Q(t[r-1])},removeBorders:!0},"collections-tile-"+r)),r+=2,i=!i):(X.push((0,b.jsx)(c.A,{mode:o,event:t[r],onClick:()=>{Q(t[r-1])},removeBorders:!0,borderRadius:"0%"},"collections-tile-"+r)),r+=1,i=!i);return(0,r.useEffect)(()=>{(0,g.Fk)("Video shopping powered by Whatmore!")},[]),(0,r.useEffect)(()=>{x.Sn.forEach(e=>{var t;if(!(null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-collections-b"]')||e.querySelector('.whatmore-template-type[data-wh="template-d"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-collections-b"]')||e.querySelector('.whatmore-template-type[data="template-d"]')))return;e&&(e.style.minHeight="0px")})},[]),(0,b.jsx)(n.C,{value:S,children:(0,b.jsx)("div",{className:L?"whatmore-collection-events":"whatmore-carousel-events",children:(0,b.jsx)(i.s,{theme:a.Ay,cssVarsRoot:F,resetCSS:!1,children:(0,b.jsxs)(d.h.Provider,{value:{tileTopMargin:0,tileBottomMMargin:0,tileLeftMargin:0,tileRightMargin:0,showPlayButton:!1},children:[(0,b.jsx)("div",{ref:N,style:{marginLeft:T+"px",marginRight:T+"px"},children:(0,b.jsx)(u.c,{showBgPlaceholder:!0,renderElement:e=>(0,b.jsx)(b.Fragment,{children:e.eventData}),dataList:X,spacing:P,defaultHeight:C*B*.01+"px",defaultWidth:k*B*.01+"px",retainAlreadyRenderedElements:!0})}),(0,v.wQ2)(V)&&L&&!E&&-1==e.index&&(0,b.jsx)(f.A,{event:t[0],inVideoClick:Q,closeClick:t=>{t.stopPropagation(),e.setScreen(-2)}})]})})})})}},9611:function(e,t,o){var r=o(9950),i=o(1348),a=o(5830),n=(o(6125),o(4365),o(6614),o(9879)),l=o(932),p=o(4414);t.A=function(e){var t;const[o,s]=(0,l.A)(),[d]=(0,a.QN)("whatmoreSecondaryColor"),[h]=(0,a.QN)("whatmoreShopId"),[x]=(0,a.QN)("whatmoreVideoTileSize"),[c]=(0,a.QN)("whatmoreVideoTileSizePortrait"),m="portrait"===e.mode?c:x,[u,w]=(0,r.useState)(!1),g=(0,i.ivI)(h),v=e.event1,f=e.event2,y=e.onClick,b=.01*m,S=o*b,j=o*b*.5,C=s*b,k=null!==(t=e.borderRadius)&&void 0!==t?t:"10%",A="15%",R=e.removeBorders;return(0,p.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",flexShrink:0,height:S+"px",width:C+"px",marginLeft:R?"2px":"5px",marginRight:R?"2px":"5px",marginTop:R?"2px":"5px",marginBottom:R?"2px":"5px",cursor:"pointer"},children:(0,p.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"center",flexShrink:0,height:"fit-content",width:"fit-content",borderRadius:R?"0px":k,boxShadow:R?"":"0px 1px 1px 0px "+d+"50, 0px -1px 1px 0px "+g+"50, 1px 0px 1px 0px "+d+"50, -1px 0px 1px 0px "+g+"80, 1px -1px 1px 0px "+d+"80, -1px 1px 1px 0px "+g+"DA, 1px 1px 1px 0px "+d+"DA, -1px -1px 1px 0px "+g+"DA"},onClick:()=>{w(!0),y(v)},className:[u?"whatmore-scale-on-tap":""].join(" "),children:[(0,p.jsx)("div",{style:{flexShrink:0,objectFit:"cover",height:j+"px",width:C+"px",borderTopLeftRadius:R?"0px":A,borderTopRightRadius:R?"0px":A,borderBottom:"2px solid transparent",backgroundColor:"transparent",overflow:"hidden"},children:(0,p.jsx)(n.A,{height:"100%",width:"100%",url:v.thumbnail_image,isPlaying:!0,event:v})}),(0,p.jsx)("div",{style:{flexShrink:0,objectFit:"cover",height:j+"px",width:C+"px",borderBottomLeftRadius:R?"0px":A,borderBottomRightRadius:R?"0px":A,borderTop:"2px solid transparent",backgroundColor:"transparent",overflow:"hidden"},children:(0,p.jsx)(n.A,{height:"100%",width:"100%",url:f.thumbnail_image,isPlaying:!0,event:f})})]})})}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[221],{1131:function(t,e,r){var o=r(4994);e.A=void 0;var i=o(r(9526)),s=r(4414);e.A=(0,i.default)([(0,s.jsx)("path",{d:"M18 20H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2z",opacity:".3"},"0"),(0,s.jsx)("path",{d:"M18 6h-2c0-2.21-1.79-4-4-4S8 3.79 8 6H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m-6-2c1.1 0 2 .9 2 2h-4c0-1.1.9-2 2-2m6 16H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2z"},"1")],"ShoppingBagTwoTone")},5451:function(t,e,r){r.r(e);var o=r(9950),i=r(340),s=r(5089),a=r(5873),l=(r(3997),r(9130),r(4669),r(9733),r(4365),r(7229),r(6042),r(1131)),n=r(572),p=r(8603),c=r(1941),m=r(5830),d=r(7509),h=r(5903),y=r(2410),x=r(932),w=r(8385),f=r(6641),g=r(1348),u=r(851),v=r(6649),P=r(4414);const j=(0,p.A)({key:"whatmore-css-cv"});e.default=function(t){var e;const[r]=(0,c.A)(),[p,S]=(0,x.A)(),b=(0,m.Xd)("whatmoreShopId"),k=(0,m.Xd)("whatmoreVideoTileSize"),C=(0,m.Xd)("whatmoreVideoTileSizePortrait"),A="portrait"===r?C:k,T="portrait"==r?0:(0,m.Xd)("whatmoreLandscapePadding"),V=(0,m.Xd)("whatmoreCollectionsTilesSpacing"),[X]=(0,m.Xd)("whatmorePrimaryColor"),{whatmoreRootId:z}=(0,o.useContext)(h.B),{whatmoreIsCollectionsTemplate:F}=(0,o.useContext)(h.B),M=t.events,R=t.onClick,B=(0,m.Xd)("whatmoreTitleFont"),E="portrait"==r?(0,m.Xd)("whatmoreTitleFontSizePortrait"):(0,m.Xd)("whatmoreTitleFontSize"),L=null!==(e=(0,g.sa6)(b))&&void 0!==e?e:B,H=(0,m.Xd)("whatmorePrimaryFont");function I(t){R(t)}delete s.Ay.styles.global;const q=.055*S;var D=[];for(let o=0;o<M.length;){const t=M[o],e="STR1EXZ7ZRD"===b;D.push((0,P.jsxs)("div",{style:{position:"relative",transition:"transform 0.2s ease"},onMouseEnter:t=>t.currentTarget.style.transform="scale(1.01)",onMouseLeave:t=>t.currentTarget.style.transform="scale(1)",children:[(0,P.jsx)(y.A,{mode:r,event:t,onClick:()=>{I(M[o-1])},removeBorders:!0,borderRadius:"5%",fontSize:q},"collections-tile-"+o),e&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)("p",{ref:t=>{t&&(t.style.setProperty("position","absolute","important"),t.style.setProperty("bottom","4%","important"),t.style.setProperty("left","50%","important"),t.style.setProperty("transform","translateX(-50%)","important"),t.style.setProperty("color","white","important"),t.style.setProperty("padding","0.5rem 0rem 0rem 0.5rem","important"),t.style.setProperty("font-size",.9*q+"px","important"),t.style.setProperty("font-weight","600","important"),t.style.setProperty("width","90%","important"),t.style.setProperty("max-width","100%","important"),t.style.setProperty("word-wrap","break-word","important"),t.style.setProperty("text-shadow","2px 2px 4px rgba(0, 0, 0, 0.5)","important"),t.style.setProperty("font-family",H,"important"),t.style.setProperty("-webkit-line-clamp",3,"important"),t.style.setProperty("line-clamp",3,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"))},children:null===t||void 0===t?void 0:t.title}),(0,P.jsx)("div",{style:{position:"absolute",top:"10px",right:"10px",zIndex:2},children:(0,P.jsx)(l.A,{sx:{color:"white",fontSize:"1.3rem",filter:"drop-shadow(0 0 5px black)"}})})]})]})),o++}(0,o.useEffect)(()=>{(0,f.Fk)("Video shopping powered by Whatmore!")},[]),(0,o.useEffect)(()=>{a.Sn.forEach(t=>{var e;const r=null!==(e=t.querySelector('.whatmore-template-type[data-wh="template-collections-c"]')||t.querySelector('.whatmore-template-type[data-wh="template-e"]'))&&void 0!==e?e:t.querySelector('.whatmore-template-type[data="template-collections-c"]')||t.querySelector('.whatmore-template-type[data="template-e"]');if(!r)return;r&&t&&(t.style.minHeight="0px")})},[]);const[W,O,Z]=(0,v.A)({triggerOnce:!1});return(0,P.jsx)(n.C,{value:j,children:(0,P.jsx)("div",{className:F?"whatmore-collection-events":"whatmore-carousel-events",children:(0,P.jsx)(i.s,{theme:s.Ay,cssVarsRoot:z,resetCSS:!1,children:(0,P.jsxs)(d.h.Provider,{value:{tileTopMargin:0,tileBottomMargin:0,tileLeftMargin:0,tileRightMargin:0,showPlayButton:!1},children:[t.heading.trim().length>0&&!F&&(0,g.DLl)(b)?(0,P.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,P.jsx)("p",{ref:t=>{t&&(t.style.setProperty("font-family",L,"important"),t.style.setProperty("font-size",E+"px","important"))},style:{color:X,backgroundClip:"text",textAlign:"center",fontWeight:(0,g.Odx)(b),lineHeight:(0,g.L0y)(b),letterSpacing:(0,g.l3V)(b)},children:t.heading})}):(0,P.jsx)(P.Fragment,{}),(0,P.jsx)("div",{ref:W,style:{marginLeft:T+"px",marginRight:T+"px"},children:(0,P.jsx)(w.c,{showBgPlaceholder:!0,renderElement:t=>(0,P.jsx)(P.Fragment,{children:t.eventData}),dataList:D,spacing:V,defaultHeight:p*A*.01+"px",defaultWidth:S*A*.01+"px",retainAlreadyRenderedElements:!0,shopId:b})}),(0,g.wQ2)(b)&&F&&!O&&-1==t.index&&(0,P.jsx)(u.A,{event:M[0],inVideoClick:I,closeClick:e=>{e.stopPropagation(),t.setScreen(-2)}})]})})})})}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[1],{851:function(e,t,i){i.d(t,{A:function(){return u}});var r=i(1005),o=i(9950),a=i(9879),n=i(22),l=i(5830),s=i(932);var d=function(e){const[t,i,r,o,a]=(0,s.A)(),[d]=(0,l.QN)("whatmoreEmbedAppVideoPlayerSizePortrait"),[p]=(0,l.QN)("whatmoreEmbedAppVideoPlayerSizeLandscape"),c=a[n.dl]===n.nN?p/100:d/100*1.2;return[t*c,i*c,a]},p=i(1628),c=i.n(p),x=i(6702),h=(i(9733),i(4365),i(1348)),m=i(4414);var g=({size:e,color:t="rgba(255, 255, 255, 0.9)"})=>(0,m.jsxs)("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",style:{cursor:"pointer",transition:"all 0.3s ease",filter:"drop-shadow(0 2px 6px rgba(0,0,0,0.5))"},className:"premium-close-icon",children:[(0,m.jsx)("circle",{cx:"12",cy:"12",r:"10",fill:"rgba(0, 0, 0, 0.6)",stroke:"rgba(255, 255, 255, 0.3)",strokeWidth:"1.5",style:{transition:"all 0.3s ease"}}),(0,m.jsx)("path",{d:"M15 9l-6 6M9 9l6 6",stroke:t,strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",style:{transition:"all 0.3s ease"}})]});var f=({size:e,color:t="rgba(255, 255, 255, 0.95)"})=>(0,m.jsxs)("svg",{width:.7*e,height:.7*e,viewBox:"0 0 80 80",fill:"none",style:{filter:"drop-shadow(0 8px 24px rgba(0,0,0,0.5))",transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)",cursor:"pointer"},className:"premium-play-icon",children:[(0,m.jsx)("circle",{cx:"40",cy:"40",r:"28",fill:"url(#playGradient)",stroke:"rgba(255, 255, 255, 0.2)",strokeWidth:"1.5",style:{backdropFilter:"blur(20px)"}}),(0,m.jsx)("path",{d:"M32 26 L32 54 L56 40 Z",fill:t,stroke:"none",style:{filter:"drop-shadow(0 2px 8px rgba(0,0,0,0.3))"}}),(0,m.jsxs)("defs",{children:[(0,m.jsxs)("radialGradient",{id:"playGradient",cx:"0.3",cy:"0.3",r:"0.8",children:[(0,m.jsx)("stop",{offset:"0%",stopColor:"rgba(255, 255, 255, 0.25)"}),(0,m.jsx)("stop",{offset:"70%",stopColor:"rgba(255, 255, 255, 0.08)"}),(0,m.jsx)("stop",{offset:"100%",stopColor:"rgba(255, 255, 255, 0.02)"})]}),(0,m.jsxs)("radialGradient",{id:"playGradientHover",cx:"0.3",cy:"0.3",r:"0.8",children:[(0,m.jsx)("stop",{offset:"0%",stopColor:"rgba(255, 255, 255, 0.4)"}),(0,m.jsx)("stop",{offset:"70%",stopColor:"rgba(255, 255, 255, 0.15)"}),(0,m.jsx)("stop",{offset:"100%",stopColor:"rgba(255, 255, 255, 0.05)"})]})]}),(0,m.jsx)("style",{jsx:!0,children:"\n .premium-play-icon:hover { transform: scale(1.1); filter: drop-shadow(0 12px 32px rgba(0,0,0,0.6)); }\n .premium-play-icon:hover circle { fill: url(#playGradientHover); stroke: rgba(255, 255, 255, 0.4); transform: scale(1.05); }\n .premium-play-icon:hover path { fill: white; transform: translateX(1px); }\n .premium-play-icon:active { transform: scale(0.95); }\n "})]});var u=function(e){var t;const i=o.useRef(null);var[s,p,u]=d();(0,l.Xd)("whatmoreUITheme");const[w]=(0,l.QN)("whatmorePrimaryFont"),[v]=(0,l.QN)("whatmoreEmbedAppVideoTitle"),[y]=(0,l.QN)("whatmoreEmbedAppPositionPortrait"),[b]=(0,l.QN)("whatmoreEmbedAppHorizontalPaddingPortrait"),[j]=(0,l.QN)("whatmoreEmbedAppVerticalPaddingPortrait"),[S]=(0,l.QN)("whatmoreEmbedAppPositionLandscape"),[k]=(0,l.QN)("whatmoreEmbedAppHorizontalPaddingLandscape"),[C]=(0,l.QN)("whatmoreEmbedAppVerticalPaddingLandscape"),A=(0,l.Xd)("whatmoreShopId"),z=(0,l.Xd)("isWhatmorePreviewMode");var P=y,N=b,R=j;u[n.dl]===n.nN&&(P=S,N=k,R=C);const[F,M]=(0,o.useState)(["initial",window.pageYOffset]),[L,E]=(0,o.useState)(!1),I=null!==(t=e.isSpotlight)&&void 0!==t&&t,Q=u[n.dl]===n.nN?.8*(0,h.O86)(A):1.2*(0,h.O86)(A),B=I?Q:1.2;s*=B,p*=B;const X=I?(0,h.LrK)(A):P,T=I?(0,h._2D)(A):(0,h.GSq)(A),[V,D]=(0,o.useState)(!I&&(0,h.n8Q)(A)),G=!I&&(0,h.YE3)(A);function q(e,t){M(e),e[1]<=100?E(!1):t!=L&&(E(t),D(!1))}(0,o.useEffect)(()=>{let e=window.pageYOffset,t=!1;const i=()=>{const i=window.pageYOffset;Math.abs(i-e)<100||(q([i>e?"scrolled-down":"scrolled-up",i],!0),e=i>0?i:0),t=!1},r=()=>{t||(window.requestAnimationFrame(i),t=!0)};return window.addEventListener("scroll",r),()=>window.removeEventListener("scroll",r)},[F]),(0,r.j)({ref:i,handler:()=>{q(["scrolled-up",F[1]],!0)}});const H=e.event,W=e.inVideoClick,O=e.closeClick,U=.25*p,_=.5*p,Y=.6*p,Z="20px",K=(0,h.GvQ)(A);var J=!1,$=0,ee=0;function te(e){J=e}return(0,m.jsx)("div",{className:"wht-popup",children:V&&!T?(0,m.jsx)(m.Fragment,{}):L&&T?(0,m.jsx)("div",{style:"left"===X?{left:"16px",bottom:I?(0,h.pUQ)(A)+"px":R+"px",position:"fixed",zIndex:K}:{right:"16px",bottom:I?(0,h.pUQ)(A)+"px":R+"px",position:"fixed",zIndex:K},children:(0,m.jsxs)("div",{onClick:()=>{q(["initial",F[1]],!1)},style:{width:Y+"px",height:Y*(16/9)+"px",borderRadius:Z,overflow:"hidden",backgroundColor:"transparent",boxShadow:"0 12px 24px rgba(0, 0, 0, 0.3), 0 4px 8px rgba(0, 0, 0, 0.2)",backdropFilter:"blur(15px)",cursor:"pointer",transition:"all 0.3s ease",transformStyle:"preserve-3d"},className:"left"===X?"whatmore-ultraminimized-video-view-left":"whatmore-ultraminimized-video-view-right",children:[(0,m.jsx)("div",{style:{overflow:"hidden",borderRadius:Z,background:"linear-gradient(145deg, rgba(0,0,0,0.1), rgba(0,0,0,0.2))"},children:(0,m.jsx)("div",{style:{width:"100%",height:"100%",aspectRatio:16/9},children:(0,m.jsx)(a.A,{url:H.thumbnail_image,isPlaying:!1,event:H})})}),(0,m.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",width:"100%",height:"100%"},children:(0,m.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",height:"100%"},children:[(0,m.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"flex-end",width:"100%",height:"fit-content",padding:"2px",position:"absolute",top:"0",right:"0",zIndex:10},children:(0,m.jsx)("div",{className:"whatmore-ultraminimized-content-scale-out",onClick:e=>{e.stopPropagation(),O()},children:(0,m.jsx)(g,{size:.8*U})})}),(0,m.jsx)("div",{style:{height:"100%",display:"flex",flexFlow:"column nowrap",alignItems:"center",justifyContent:"center"},children:(0,m.jsx)(x.A,{sx:{color:"white",fontSize:2*U+"px",filter:"drop-shadow(0 0 2px black);"}})})]})})]})}):(0,m.jsx)(c(),{nodeRef:i,cancel:".activate-button,.close-btn",bounds:z?"parent":"html",defaultClassName:"whatmore-react-draggable",defaultClassNameDragging:"whatmore-react-draggable-dragging",defaultClassNameDragged:"whatmore-react-draggable-dragged",onStart:(e,t)=>{var i,r;i=t.x,r=t.y,$=i,ee=r},onDrag:(e,t)=>{te(!0)},onStop:(e,t)=>{J&&(Math.abs(t.x-$)>5||Math.abs(t.y-ee)>5)?te(!1):(G&&O(e),W(H))},children:(0,m.jsx)("div",{ref:i,style:"left"===X?{left:I?(0,h.D2A)(A)+"px":N+"px",bottom:I?(0,h.pUQ)(A)+"px":R+"px",position:"fixed",zIndex:K}:{right:I?(0,h.D2A)(A)+"px":N+"px",bottom:I?(0,h.pUQ)(A)+"px":R+"px",position:"fixed",zIndex:K},children:(0,m.jsxs)("div",{style:{boxSizing:"border-box",width:e.isSpotlight&&"60122562760"==A?s+"px":p+"px",height:e.isSpotlight&&"60122562760"==A?p+"px":s+"px",borderRadius:Z,overflow:"hidden",backgroundColor:"transparent",boxShadow:"0 20px 40px rgba(0, 0, 0, 0.3), 0 8px 16px rgba(0, 0, 0, 0.2)",backdropFilter:"blur(20px)",transition:"all 0.3s ease"},className:"left"===X?"whatmore-minimized-video-view-left":"whatmore-minimized-video-view-right",children:[(0,m.jsx)("div",{style:{overflow:"hidden",position:"relative",borderRadius:Z,background:"linear-gradient(145deg, rgba(0,0,0,0.1), rgba(0,0,0,0.3))"},children:(0,m.jsx)("div",{style:{width:"100%",height:"100%",aspectRatio:e.isSpotlight&&"60122562760"==A?16/9:9/16},children:(0,m.jsx)(a.A,{url:H.thumbnail_image,isMuted:!0,isPlaying:!0,event:H})})}),(0,m.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",width:"100%",height:"100%"},children:(0,m.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",height:"100%",position:"relative"},children:[(0,m.jsx)("div",{style:{position:"absolute",top:"2px",right:"2px",zIndex:10},children:(0,m.jsx)("div",{className:"close-btn",onClick:O,children:(0,m.jsx)(g,{size:U})})}),(0,m.jsx)("div",{style:{marginLeft:"auto",marginRight:"auto",marginTop:"auto",marginBottom:"auto"},children:(0,m.jsx)(f,{size:_})}),(0,m.jsx)("div",{style:{paddingLeft:"16px",paddingRight:"16px",paddingBottom:"16px",borderBottomLeftRadius:Z,borderBottomRightRadius:Z,background:v?"linear-gradient(to bottom, transparent, rgba(0,0,0,0.8))":"transparent"},children:(0,m.jsx)("p",{style:{textAlign:"center",color:"white",fontFamily:w,fontWeight:"600",fontSize:.35*U+"px",margin:0,padding:0,lineHeight:"125%",letterSpacing:"0.3px",textShadow:"0 2px 4px rgba(0,0,0,0.5)"},children:v})})]})})]})})})})}},4596:function(e,t,i){i.r(t),i.d(t,{default:function(){return k}});var r=i(9950),o=i(340),a=i(5089),n=i(5873),l=(i(3997),i(9130),i(4669),i(9733),i(4365),i(7229),i(6042),i(572)),s=i(8603),d=i(1941),p=i(5830),c=i(7509),x=i(5903),h=i(1348),m=(i(6125),i(6614),i(9879)),g=i(932),f=i(8538),u=i(4414);var w=function(e){var t,i;const[o,a,n,l,s]=(0,g.A)(),d=(0,p.Xd)("whatmoreSecondaryColor"),c=(0,p.Xd)("whatmorePrimaryFont"),x=(0,p.Xd)("whatmoreShopId"),w=(0,p.Xd)("whatmoreVideoTileSize"),v=(0,p.Xd)("whatmoreVideoTileSizePortrait"),y="portrait"===e.mode?v:w,[b,j]=(0,r.useState)(!1),S=(0,h.ivI)(x),k=e.event,C=e.onClick,A=e.removeBorders,z=a*y*.01,P=(0,h.esc)(x);let N=null!==(t=(0,h.qAx)(x))&&void 0!==t?t:[d,S,d,S,d];return Array.isArray(N)||(N=Array(5).fill(N)),(0,u.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"center",alignItems:"center",flexShrink:0,marginRight:A?"2px":(0,h.FZM)(x)+"px",marginTop:A?"2px":"5px",marginBottom:A?"2px":"5px",cursor:"pointer"},onClick:()=>{j(!0),C(k)},className:[b?"whatmore-scale-on-tap":""].join(" "),children:[(0,u.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"center",flexShrink:0,borderRadius:"50%",overflow:"hidden",boxShadow:A?"":"0px 1px 1px 0px "+N[0]+"50, 0px -1px 1px 0px "+N[1]+"50, 1px 0px 1px 0px "+N[2]+"50, -1px 0px 1px 0px "+N[3]+"80, 1px -1px 1px 0px "+N[4]+"80, -1px 1px 1px 0px "+N[0]+"DA, 1px 1px 1px 0px "+N[1]+"DA, -1px -1px 1px 0px "+N[2]+"DA"},children:(0,u.jsx)(u.Fragment,{children:(0,u.jsx)("div",{style:{flexShrink:0,objectFit:"cover",height:z*P+"px",width:z*P+"px",borderRadius:"50%",backgroundColor:d,overflow:"hidden",border:"3px solid white"},children:(0,u.jsx)(m.A,{height:"100%",width:"100%",url:k.thumbnail_image,isPlaying:!0,event:k})})})}),(0,u.jsx)("div",{className:"wht-car-vid-title",style:{display:"flex",justifyContent:"center",width:z*P+"px",fontFamily:c,paddingTop:"10px",fontSize:null!==(i=e.fontSize)&&void 0!==i?i:10},children:(0,u.jsx)("p",{ref:e=>{e&&(e.style.setProperty("-webkit-line-clamp",2,"important"),e.style.setProperty("line-clamp",2,"important"),e.style.setProperty("-webkit-box-orient","vertical","important"),e.style.setProperty("display","-webkit-box","important"),e.style.setProperty("overflow","hidden","important"),e.style.setProperty("text-overflow","ellipsis","important"))},children:(0,f.v)(k.title)})})]})},v=i(8385),y=i(6641),b=i(851),j=i(6649);const S=(0,s.A)({key:"whatmore-css-cv"});var k=function(e){const[t]=(0,d.A)(),[i,s]=(0,g.A)(),m=(0,p.Xd)("whatmoreVideoTileSize"),f=(0,p.Xd)("whatmoreVideoTileSizePortrait"),k="portrait"===t?f:m,C="portrait"==t?0:(0,p.Xd)("whatmoreLandscapePadding"),A=(0,p.Xd)("whatmoreCollectionsTilesSpacing"),z=(0,p.Xd)("whatmoreShopId"),{whatmoreRootId:P}=(0,r.useContext)(x.B),N=e.events,R=e.onClick,{whatmoreIsCollectionsTemplate:F,whatmoreIsPreviewMode:M}=(0,r.useContext)(x.B);function L(e){R(e)}const[E,I,Q]=(0,j.A)({triggerOnce:!1});delete a.Ay.styles.global;const B=.055*s;var X=[];for(let r=0;r<N.length;)X.push((0,u.jsx)(w,{mode:t,event:N[r],onClick:()=>{L(N[r-1])},removeBorders:(0,h.U74)(z),fontSize:.8*B},"collections-tile-"+r)),r+=1;return(0,r.useEffect)(()=>{(0,y.Fk)("Video shopping powered by Whatmore!")},[]),(0,r.useEffect)(()=>{n.Sn.forEach(e=>{var t;const i=null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-collections-stories"]')||e.querySelector('.whatmore-template-type[data-wh="template-stories"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-collections-stories"]')||e.querySelector('.whatmore-template-type[data="template-stories"]');if(!i)return;i&&e&&(e.style.minHeight="0px")})},[]),"8111554613"!=z||"landscape"!=t||M?(0,u.jsx)(l.C,{value:S,children:(0,u.jsx)("div",{className:F?"whatmore-collection-events":"whatmore-carousel-events",children:(0,u.jsx)(o.s,{theme:a.Ay,cssVarsRoot:P,resetCSS:!1,children:(0,u.jsxs)(c.h.Provider,{value:{tileTopMargin:0,tileBottomMMargin:0,tileLeftMargin:0,tileRightMargin:0,showPlayButton:!1},children:[(0,u.jsx)("div",{ref:E,style:{marginLeft:C+"px",marginRight:C+"px"},children:(0,u.jsx)(v.c,{renderElement:e=>(0,u.jsx)(u.Fragment,{children:e.eventData}),dataList:X,spacing:A,defaultHeight:s*k*.01+"px",defaultWidth:s*k*.01+"px",retainAlreadyRenderedElements:!0})}),(0,h.wQ2)(z)&&!I&&-1==e.index&&(0,u.jsx)(b.A,{event:N[0],inVideoClick:L,closeClick:t=>{t.stopPropagation(),e.setScreen(-2)}})]})})})}):(0,u.jsx)(u.Fragment,{})}},6614:function(){},7509:function(e,t,i){i.d(t,{h:function(){return r}});const r=(0,i(9950).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[798],{1351:function(e,t,i){i.d(t,{PG:function(){return r},kz:function(){return _},UM:function(){return u},yP:function(){return s},DG:function(){return l}});var o=i(1348),n=i(3330),a=i(6157);function c(e,t,i={},o){var n;const c=r[e];if(!c)return;const d=c.isActionEnabled(),_=null===o||void 0===o||null===(n=o.meta_actions)||void 0===n?void 0:n[c.customAction];(d||_)&&"function"==typeof fbq&&(async()=>{const o={id:null===t||void 0===t?void 0:t.client_product_id,product_url:null===t||void 0===t?void 0:t.product_link,...e===a.O.VIDEO_PLAYBACK&&{watch_time:i.watch_time,video_duration:i.video_duration}};fbq("trackCustom",c.action,o),_&&setTimeout(()=>{null===_||void 0===_||_.forEach(e=>{fbq("trackCustom",e,o)})},500)})()}var d=i(7145);const r={[a.O.EVENT_VIEW]:{isActionEnabled:o.NFF,action:"whatmore_video_click_event",customAction:"video_clicked"},[a.O.VIDEO_PLAYBACK]:{isActionEnabled:o.Eel,action:"whatmore_video_watch_event",customAction:"video_watched"},[a.O.VIDEO_LIKED]:{isActionEnabled:o.Mz3,action:"whatmore_video_like_event",customAction:"video_liked"},[a.O.VIDEO_SHARE_CTA_CLICKED]:{isActionEnabled:o.OLZ,action:"whatmore_video_share_event",customAction:"video_shared"},[a.O.SHOPNOW_ATC_CLICKED]:{isActionEnabled:o.T9r,action:"whatmore_video_atc_event",customAction:"video_atc_clicked"},[a.O.PRODUCT_TILE_ATC_CLICKED]:{isActionEnabled:o.T9r,action:"whatmore_video_atc_event",customAction:"video_atc_clicked"},[a.O.SHOPNOW_CLICKED]:{isActionEnabled:o.nEf,action:"whatmore_product_tile_click_event",customAction:"video_product_tile_clicked"},[a.O.PRODUCT_TILE_SHOPNOW_CLICKED]:{isActionEnabled:o.nEf,action:"whatmore_product_tile_click_event",customAction:"video_product_tile_clicked"}};function _({userInteractionType:e,userInteractionMetadata:t,widgetSourceDetails:i,event:o,productList:a,ctaList:_}){var l,u,s,v;((0,d.B)({userInteractionType:e,userInteractionMetadata:t,widgetSourceDetails:i,event:o,productList:a,ctaList:_}),e in r)&&(c(e,null!==(l=null===a||void 0===a?void 0:a[1])&&void 0!==l?l:null===a||void 0===a?void 0:a[0],t,o),(0,n.n)({page_type:i.landingLocationType,selection_type:e,video_name:o.event_id,video_percentage:"NA",product_name:null!==(u=null===a||void 0===a||null===(s=a[1])||void 0===s?void 0:s.title)&&void 0!==u?u:null===a||void 0===a||null===(v=a[0])||void 0===v?void 0:v.title}))}function l({userInteractionType:e,userInteractionMetadata:t,widgetSourceDetails:i,event:o,productList:a,ctaList:_}){var l,u,s,v;((0,d.B)({userInteractionType:e,userInteractionMetadata:t,widgetSourceDetails:i,event:o,productList:a,ctaList:_}),e in r)&&(c(e,null!==(l=null===a||void 0===a?void 0:a[1])&&void 0!==l?l:null===a||void 0===a?void 0:a[0],t,o),(0,n.n)({page_type:i.landingLocationType,selection_type:e,video_name:o.event_id,video_percentage:t.video_duration>0?Math.ceil(t.watch_time/t.video_duration*100):"NA",product_name:null!==(u=null===a||void 0===a||null===(s=a[1])||void 0===s?void 0:s.title)&&void 0!==u?u:null===a||void 0===a||null===(v=a[0])||void 0===v?void 0:v.title}))}function u({userInteractionType:e,userInteractionMetadata:t,widgetSourceDetails:i,event:o,productList:a,ctaList:c}){var _,l,u;((0,d.B)({userInteractionType:e,userInteractionMetadata:t,widgetSourceDetails:i,event:o,productList:a,ctaList:c}),e in r)&&(0,n.n)({page_type:i.landingLocationType,selection_type:e,video_name:o.event_id,video_percentage:"NA",product_name:null!==(_=null===a||void 0===a||null===(l=a[1])||void 0===l?void 0:l.title)&&void 0!==_?_:null===a||void 0===a||null===(u=a[0])||void 0===u?void 0:u.title})}function s({userInteractionType:e,userInteractionMetadata:t,widgetSourceDetails:i,event:o,productList:n,ctaList:a}){(0,d.B)({userInteractionType:e,userInteractionMetadata:t,widgetSourceDetails:i,event:o,productList:n,ctaList:a})}},1369:function(e,t,i){i.r(t);var o=i(9950),n=i(5903),a=i(1351),c=i(6157),d=i(1348),r=i(5830),_=i(4414);t.default=function(e){const[t]=(0,r.QN)("whatmoreShopId"),i=(0,r.Xd)("whatmoreLandingLocationType"),{whatmoreWidgetSourceDetails:l}=(0,o.useContext)(n.B);return(0,o.useEffect)(()=>{i.startsWith("collection")&&("Scale"!=(0,d.yt9)(t)&&"Enterprise"!=(0,d.yt9)(t)&&"Premium"!=(0,d.yt9)(t)||(0,a.yP)({userInteractionType:c.O.COLLECTION_PAGE_VISITED,widgetSourceDetails:l}))},[]),(0,_.jsx)(_.Fragment,{})}},3330:function(e,t,i){i.d(t,{initializeGA:function(){return p},n:function(){return I},sendVideoViewEventToGA:function(){return E}});var o,n=i(2595),a=i(7732),c=i(1348),d=i(5830),r=i(6157);const _="Whatmore Video Shopping",l=null!==(o="true"==localStorage.getItem("whatmoreActivateLogs"))&&void 0!==o&&o,u={video_view:"Video View",add_to_cart:"Add to Cart",buy_now:"Buy Now"},s={carousel:"Carousel",stories:"Stories",video_popup:"Video Popup"},v={homepage:"Home Page",product_page:"Product Page"};async function p(e){if((0,c.M$H)(e)&&null!==(0,c.xIo)(e)&&(a.Ay.initialize((0,c.xIo)(e)),l&&console.debug("Whatmore: initialized GA4")),(0,c.B6P)(e)&&null!==(0,c.jWS)(e)){const t=(0,c.Gc6)(e);n.Ay.initialize((0,c.jWS)(e),{useExistingGa:t}),l&&console.debug("Whatmore: initialized GA3")}}async function E(e,t,i){(0,c.B6P)(e)&&null!==(0,c.jWS)(e)&&(n.Ay.event({category:_,action:u.video_view,label:v[t]+":"+s[i]}),l&&console.debug("Whatmore: pushed view event to GA3")),(0,c.M$H)(e)&&null!==(0,c.xIo)(e)&&(a.Ay.event({category:_,action:u.video_view+":"+v[t]+":"+s[i],value:1,nonInteraction:!1}),l&&console.debug("Whatmore: pushed view event to GA4"))}async function I(e){const t=(0,d.Xd)("whatmoreShopId");if(["56352899156"].includes(t)&&"object"==typeof window.dataLayer){var i,o,n,a;const t=(_=e.selection_type)==r.O.EVENT_VIEW?"whatmore_video_click_event":_==r.O.PRODUCT_TILE_ATC_CLICKED||_==r.O.SHOPNOW_ATC_CLICKED?"whatmore_video_atc_event":_==r.O.PRODUCT_TILE_SHOPNOW_CLICKED?"whatmore_product_tile_click_event":_==r.O.VIDEO_LIKED?"whatmore_video_like_event":_==r.O.VIDEO_SHARE_CTA_CLICKED?"whatmore_video_share_event":_==r.O.VIDEO_PLAYBACK?"whatmore_video_watch_event":void 0;if(!t)return;const d={event:"video_interaction",page_type:null!==(c=e.page_type,i=c.startsWith("index")?"home":c.startsWith("product")?"product_page":c.startsWith("collection")||c.startsWith("page")?"collection_page":void 0)&&void 0!==i?i:"NA",selection_type:t,video_name:null!==(o=e.video_name)&&void 0!==o?o:"NA",video_percentage:null!==(n=e.video_percentage)&&void 0!==n?n:"NA",product_name:null!==(a=e.product_name)&&void 0!==a?a:"NA"};window.dataLayer.push(d),l&&console.debug("Whatmore: pushed event to dataLayer",d)}var c,_}},6157:function(e,t,i){i.d(t,{O:function(){return o},l:function(){return n}});const o=Object.freeze({EVENT_VIEW:"event-view",PRODUCT_CTA_VIEW:"product-cta-view",SHOPNOW_ATC_CLICKED:"shop-now-atc-clicked",SHOPNOW_BUYNOW_CLICKED:"shop-now-buy-now-clicked",PRODUCT_TILE_ATC_CLICKED:"product-tile-atc-clicked",PRODUCT_TILE_SHOPNOW_CLICKED:"product-tile-shopnow-clicked",VIDEO_LIKED:"video-liked",VIDEO_UNLIKED:"video-unliked",VIDEO_SHARE_CTA_CLICKED:"video-share-cta-clicked",VIDEO_MUTED:"video-muted",HOMEPAGE_CAROUSEL_SWIPED:"homepage-carousel-swiped",HOMEPAGE_VISITED:"homepage-visited",COLLECTION_PAGE_VISITED:"collection-page-visited",PDP_VISITED:"product-page-visited",HOMEPAGE_CAROUSEL_WIDGET_VIEW:"homepage-carousel-widget-view",BANNER_WIDGET_VIEW:"banner-widget-view",STORIES_WIDGET_VIEW:"stories-widget-view",COLLECTION_WIDGET_VIEW:"collection-widget-view",SPOTLIGHT_WIDGET_VIEW:"spotlight-widget-view",PDP_POPUP_WIDGET_VIEW:"pdp-popup-widget-view",PDP_POPUP_CLOSED:"pdp-popup-closed",VIDEO_PLAYBACK:"video-watched",SHOPNOW_CLICKED:"shopnow-clicked",WHATSAPP_ICON_CLICKED:"whatsapp-icon-clicked",BANNER_WIDGET_CLICKED:"banner-widget-clicked",QUESTION_VIEWED:"question-viewed",QUESTION_ANSWERED:"question-answered",QUESTION_CLOSED:"question-closed",PRODUCT_TILE_ALL_ATC_CLICKED:"product-tile-all-atc"}),n=function(e,t){return{name:e,metadata:t}}},7145:function(e,t,i){i.d(t,{B:function(){return l}});var o=i(6641),n=i(1348),a=i(5830),c=i(4820);var d=i(6157),r=i(2089),_=i(4533);const l=function({userInteractionType:e="",userInteractionMetadata:t={},widgetSourceDetails:i={},event:l="",productList:u=[],ctaList:s=[]}={}){var v;const p=(0,a.Xd)("isInDesignMode"),E=(0,a.Xd)("isDemoBrand"),I=(0,a.Xd)("whatmoreShopId"),m="72201044272"==I&&"event-view"==e?null!==(v=JSON.parse(localStorage.getItem("_user_wh_lc")))&&void 0!==v?v:{latitude:"",longitude:""}:{};if(t={...t,...m,user_type:null!=localStorage.getItem("w_user_type")?"olduser":"newuser"},!(0,n.rkx)(I)||E||p)return;e!=d.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW&&e!=d.O.STORIES_WIDGET_VIEW&&e!=d.O.COLLECTION_WIDGET_VIEW&&e!=d.O.PDP_POPUP_WIDGET_VIEW||null!=localStorage.getItem("wht_is_impression")||localStorage.setItem("wht_is_impression",!0);const w="_whatmore_bulk_events",O=function(){var e;return{user_id:(0,_.wm)(),session_id:(0,_.zv)(),user_group:null!==(e=localStorage.getItem("wht_user_group"))&&void 0!==e?e:"",user_agent:navigator.userAgent,store_id:(0,a.Xd)("whatmoreShopId"),hostname:window.location.hostname,page_path:window.location.pathname,event_id:(0,r.Ak)(),event_timestamp:Math.round((new Date).getTime()/1e3)}}(),g=(0,d.l)(e,t),h=function(e,t,i,o){var n;return{landing_location_type:t.landingLocationType,template_type:t.templateType,whatmore_event:{id:e.event_id,eventset_id:null!==(n=e.eventset_id)&&void 0!==n?n:null,cta_list:o.map(e=>e.cta_id),product_list:i.map(e=>e.product_id)}}}(l,i,u,s),D=(0,a.Xd)("whatmoreLoggingActive"),C={...O,interaction_data:g,data:h},T=JSON.parse(localStorage.getItem(w))||[];if(T.push(C),localStorage.setItem(w,JSON.stringify(T)),D&&(0,o.xv)(C),clearTimeout(localStorage.getItem("_whatmore_bulk_timer_id")),T.length>=9)(0,c.u)(T),localStorage.removeItem(w);else if(T.length>0){let e=setTimeout(()=>{(0,c.u)(T),localStorage.removeItem(w)},9e3);localStorage.setItem("_whatmore_bulk_timer_id",e)}}}}]);