whatmore-react-assets 1.0.1410 → 1.0.1411

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whatmore-react-assets",
3
- "version": "1.0.1410",
3
+ "version": "1.0.1411",
4
4
  "description": "public repo for all whatmore js and css assets",
5
5
  "main": "whatmore.js",
6
6
  "scripts": {
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[733],{1092:function(t,e,i){var n=i(237),o=i(9854),r=i(7753),l=i(6417);function s(t){return t<1e3?t:t<1e5?(t/1e3).toFixed(0)+"K":(t/1e5).toFixed(0)+"L"}e.Z=function(t){const e=(0,r.MO)("whatmoreUITheme"),i=(0,r.MO)("whatmoreShopId"),a=(0,r.MO)("whatmorePrimaryFont"),d=t.event,p=t.fontSize;if(d.total_views<=0)return(0,l.jsx)(l.Fragment,{});const c=(0,o.S_M)(i);return"template-icon"==c?(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{style:{width:"fit-content",padding:"2px",paddingLeft:"6px",paddingRight:"6px",backgroundColor:(0,o.XCH)(i),color:"white",borderRadius:"round"==e?"5px":"0px",borderWidth:(0,o.alU)(i),borderColor:(0,o.qPe)(i)},children:(0,l.jsxs)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"center",gap:"3px",alignItems:"center"},children:[(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,l.jsx)(n.Z,{sx:{color:(0,o.aLw)(i)+" !important",fontSize:p,fontWeight:"normal"}})}),(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,l.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,o.aLw)(i),"important"),t.style.setProperty("line-height","120%","important"),t.style.setProperty("font-family",a,"important"),t.style.setProperty("font-size",p,"important"),t.style.setProperty("min-height","0","important"),t.style.setProperty("display","inline","important"),t.style.setProperty("width","auto","important"))},style:{fontWeight:"normal"},children:" "+s(d.total_views)+" "})})]})})}):"template-text"==c?(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{style:{width:"fit-content",padding:"2px",paddingLeft:"6px",paddingRight:"6px",backgroundColor:(0,o.XCH)(i),color:"white",borderRadius:"round"==e?"5px":"0px",borderWidth:(0,o.alU)(i),borderColor:(0,o.qPe)(i)},children:(0,l.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"center",gap:"3px",alignItems:"center"},children:(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,l.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,o.aLw)(i),"important"),t.style.setProperty("line-height","120%","important"),t.style.setProperty("font-family",a,"important"))},style:{fontSize:p,fontWeight:"bold"},children:" "+s(d.total_views)+" views"})})})})}):void 0}},7129:function(t,e,i){i.d(e,{V:function(){return n}});const n=(0,i(7313).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},8390:function(t,e,i){var n=i(7313),o=i(7753),r=i(9821),l=i(5945),s=(i(3439),i(9854)),a=i(9363),d=i(6417);e.Z=function(t){var e,i,p,c,[h,m]=(0,r.Z)();const x=(0,o.MO)("whatmoreUITheme"),[f]=(0,o.j1)("whatmorePrimaryFont"),[y,u]=(0,n.useState)(0),v=(0,o.MO)("whatmoreShopId"),w=t.event;if(0==w.products.length)return(0,d.jsx)(d.Fragment,{});const g=.3*m,j=g+"px",b=g+"px",P=.07*m,C=P+"px";return(0,d.jsx)("div",{style:{width:m+"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",b,"important")},style:{width:(0,s.uNj)(v)?j:"auto",boxShadow:"round"==x?"0px 0px 5px 2px #B0B0B0":null,borderRadius:"round"==x?"5px":"0px",borderWidth:(0,s.alU)(v),borderColor:(0,s.qPe)(v),overflow:"hidden",backgroundColor:"rgb(220, 220, 220, 1)"},children:(0,d.jsx)("img",{ref:t=>{t&&(t.style.setProperty("object-fit",(0,s.yOX)(v),"important"),t.style.setProperty("max-width",j,"important"))},src:(0,a.s)(w.products[y].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:m-5-g+"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",C,"important"),t.style.setProperty("line-height","120%","important"),t.style.setProperty("font-family",f,"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.s)(w.products[y].title)})}),(0,s.in5)(v)&&(null===(e=w.products[y])||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:m-5-g+"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",m-5-g+"px","important"),t.style.setProperty("font-size",.7*P+"px","important"),t.style.setProperty("font-family",f,"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===(p=w.products[y])||void 0===p||null===(c=p.product_metadata)||void 0===c?void 0:c.product_type})})]})]},y)})}},2891:function(t,e,i){i.d(e,{Z:function(){return g}});var n=i(7313),o=i(9821),r=(i(3439),i(9723)),l=i(7753),s=i(4892),a=i(7129),d=i(6805),p=i(9854),c=i(1092),h=i(8390),m=i(6775),x=i(8984),f=i(9212),y=(i(123),i(6417));function u(t){var e,[i,s]=(0,o.Z)();const[d]=(0,l.j1)("whatmoreShopId"),[c,f,u]=(0,m.Z)({triggerOnce:!0});var v=(0,n.useContext)(a.V);const w=t.event,g=null!==(e=t.unfocusedDisplay)&&void 0!==e&&e,j=.5*s,b=(0,x.gE)()?t.isOnFocus:f;return(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:" "})}),v.showPlayButton&&!g||"55194878152"==d?(0,y.jsx)("div",{style:{position:"relative",top:"10%",overflow:"hidden",marginLeft:"5px",marginRight:"5px",width:"100%"},children:(0,y.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"center",alignItems:"center"},children:(0,y.jsxs)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:["55194878152"==d&&(0,y.jsx)("div",{style:{boxShadow:"dark-lg",transform:"scale(1.3)"},children:(0,y.jsx)("img",{src:"https://s3.ap-south-1.amazonaws.com/whatmorelive.brand.other.assets/nureh/Shop_by_Sale_50_-removebg-preview.png"})}),"video"==w.event_type&&(0,y.jsx)(r.Z,{sx:{color:(0,p.Ya_)(d)+" !important",opacity:.8,fontSize:j,filter:"drop-shadow(0 0 15px black);"}})]})})}):(0,y.jsx)(y.Fragment,{}),(0,y.jsx)("div",{ref:c,children:b&&(0,p.PWD)(d)?(0,y.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:(0,y.jsx)(h.Z,{event:w})}):(0,y.jsx)("div",{height:"20px"})})]})})}function v(t){var[e,i]=(0,o.Z)();const[n]=(0,l.j1)("whatmorePrimaryFont"),r=t.event;return r.title.trim().length?(0,y.jsx)("div",{style:{width:"100%",height:"fit-content",backgroundImage:"linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.2), rgba(0,0,0,0.6))"},children:(0,y.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"flex-end",alignContent:"center",width:"100%",height:"100%"},children:(0,y.jsx)("div",{style:{width:"100%",padding:"2px"},children:(0,y.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",alignItems:"flex-start",marginLeft:"5px",marginRight:"5px",marginBottom:"2px"},children:[(0,y.jsx)("p",{style:{color:"white",fontSize:.08*i+"px",fontWeight:"normal",textAlign:"left"},children:" "}),(0,y.jsx)("p",{ref:t=>{t&&t.style.setProperty("font-family",n,"important")},style:{color:"white",fontSize:.08*i+"px",fontWeight:"normal",textAlign:"left"},children:r.title.substring(0,60)})]})})})}):(0,y.jsx)(y.Fragment,{})}function w(t){const[e,i,n,r,s]=(0,o.Z)(),[a]=(0,l.j1)("whatmoreShowViews"),h=(0,l.MO)("whatmoreShopId"),m=t.event,x=t.isOnFocus;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.jsxs)("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.jsxs)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"flex-end",alignItems:"center"},children:["show"===a&&"show"===(0,p.qcC)(h)?(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)(c.Z,{event:m,fontSize:.07*i+"px"})})}):(0,y.jsx)(y.Fragment,{}),!1]})}),d.$w===s[d.YP]?(0,y.jsx)(y.Fragment,{}):x?(0,y.jsx)("div",{className:"whatmore-event-tile-component-fade-out-animation",children:(0,y.jsx)(v,{event:m})}):(0,y.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:(0,y.jsx)(v,{event:m})})]})})}var g=function(t){var e,i,r;const[c,h,m,x,v]=(0,o.Z)();var g=(0,n.useContext)(a.V);const j=(0,l.MO)("whatmoreUITheme"),b=(0,l.MO)("whatmoreShopId"),[P]=(0,l.MO)("whatmorePrimaryFont"),C=t.event,I=t.onClick,F=null===(e=t.isOnFocus)||void 0===e||e,k=null!==(i=t.playOnUnfocus)&&void 0!==i&&i,S=null!==(r=t.animateOnFocus&&(0,p.iWI)(b))&&void 0!==r&&r,z=(0,p.nzC)(b);return(0,y.jsxs)("div",{ref:t=>{t&&(t.style.setProperty("margin-top",g.tileTopMargin+"px"),t.style.setProperty("margin-bottom",g.tileBottomMMargin+"px"))},style:{margin:"0 10px",width:"8968077397"==b||"19501891"==b?void 0:h,aspectRatio:"8968077397"==b||"19501891"==b?9/16:void 0,height:"8968077397"==b||"19501891"==b?"100%":c,borderRadius:"round"==j?"5px":"0px",boxShadow:"round"==j||"61187850326"==b||"19501891"==b?z:null,borderWidth:(0,p.alU)(b),borderColor:(0,p.qPe)(b),overflow:"hidden",cursor:"pointer",position:"relative"},className:S?F?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",onClick:()=>{I(C)},children:[(0,y.jsx)(s.Z,{height:(0,p.dXm)(b)+" !important",width:"100%",url:C.thumbnail_image,isPlaying:F||k,event:C}),"51394281658"===b?(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("div",{style:{position:"absolute",bottom:"4%",left:"50%",transform:"translateX(-50%)",color:"white",padding:"0.5rem 0rem 0rem 0.5rem",zIndex:1,fontSize:"1.4rem",fontWeight:"600",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",fontFamily:P+" !important"},children:null===C||void 0===C?void 0:C.title}),(0,y.jsx)("div",{style:{position:"absolute",top:"10px",right:"10px",zIndex:2},children:(0,y.jsx)(f.Z,{sx:{color:"white",fontSize:"1.3rem",filter:"drop-shadow(0 0 5px black)"}})})]}):(0,p.wxm)(b)&&(0,y.jsxs)("div",{style:{width:h,height:c},children:[(0,y.jsx)(w,{event:C,isOnFocus:F}),"87043703105"===b||"76467011883"===b||!F&&d.$w!==v[d.YP]?null:(0,y.jsx)(u,{event:C,unfocusedDisplay:!F,isOnFocus:F})]})]})}},9363:function(t,e,i){i.d(e,{$:function(){return l},s:function(){return r}});var n=i(9854),o=i(7753);function r(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const i=(0,o.MO)("whatmoreShopId");return"shopify"!=(0,n.Ipo)(i)?"STRNV8MHJTF"==i?t+"?format=webp":t:t+e}function l(t){var e;if(null!==t&&void 0!==t&&t.includes("https://w-media.b-cdn.net/process-media"))return"image";const i=null===t||void 0===t||null===(e=t.trim())||void 0===e?void 0:e.split("?")[0],n=/\.(jpeg|jpg|gif|png|svg|webp)$/i,o=/\.(mp4|mov|wmv|avi|flv|mkv)$/i;return null!==n&&void 0!==n&&n.test(i)?"image":null!==o&&void 0!==o&&o.test(i)?"video":void 0}},6805:function(t,e,i){i.d(e,{$I:function(){return s},$w:function(){return d},AK:function(){return r},AL:function(){return l},YP:function(){return o},me:function(){return n},rE:function(){return a}});const n="device_type",o="device_mode",r="mobile",l="tablet",s="desktop",a="portrait",d="landscape"},9821:function(t,e,i){var n=i(7753),o=i(8866),r=i(6805),l=i(9854);e.Z=function(t){const[e,i,s]=(0,o.Z)(),[a]=(0,n.j1)("whatmoreLandscapePadding"),[d]=(0,n.j1)("whatmoreShopId"),[p]=(0,n.j1)("whatmoreVideoTileSize"),[c]=(0,n.j1)("whatmoreVideoTileSizePortrait"),h=s>=1025,m="portrait"==e?c:p,x=!("portrait"!=e||!(s>=481)),f=m/100*1.3*.5,y=m/100;var u=Math.min(s,i),[v,w,g,j]=[.6*u*(16/9),.6*u,1.4,0];function b(t){return Math.round(10*t)/10}var P={DEVICE_TYPE:r.AK,DEVICE_MODE:r.rE};if(h){const t=w*f,e=v*f;[v,w,g,j]=[e,t,(s-2*a-2*(0,l.mZU)(d))/(1.1*t),a],P[r.me]=r.$I,P[r.YP]=r.$w}else if(x){var C=.8*w,I=.8*v;"portrait"==e?(C*=y,I*=y,[v,w,g,j]=[I,C,b(s/(1.2*C)),0],P[r.me]=r.AL,P[r.YP]=r.rE):([v,w,g,j]=[I,C,(s-2*a)/(1.1*C),a],P[r.me]=r.AL,P[r.YP]=r.$w)}else{C=w,I=v;"portrait"==e?(C=C*y*.9,I=I*y*.9,[v,w,g,j]=[I,C,b(s/(1.15*C)),0],P[r.me]=r.AK,P[r.YP]=r.rE):(C=.7*w,I=.7*v,[v,w,g,j]=[I,C,(s-2*a)/(1.1*C),a],P[r.me]=r.AK,P[r.YP]=r.$w)}return[v,w,g,j,P]}},9723:function(t,e,i){var n=i(5318);e.Z=void 0;var o=n(i(5045)),r=i(6417),l=(0,o.default)((0,r.jsx)("path",{d:"M8 6.82v10.36c0 .79.87 1.27 1.54.84l8.14-5.18c.62-.39.62-1.29 0-1.69L9.54 5.98C8.87 5.55 8 6.03 8 6.82z"}),"PlayArrowRounded");e.Z=l},9212:function(t,e,i){var n=i(5318);e.Z=void 0;var o=n(i(5045)),r=i(6417),l=(0,o.default)([(0,r.jsx)("path",{d:"M18 20H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2v12z",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-2zm-6-2c1.1 0 2 .9 2 2h-4c0-1.1.9-2 2-2zm6 16H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2v12z"},"1")],"ShoppingBagTwoTone");e.Z=l},237:function(t,e,i){var n=i(5318);e.Z=void 0;var o=n(i(5045)),r=i(6417),l=(0,o.default)((0,r.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");e.Z=l},3439:function(){},7244:function(){}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[892],{5090:function(e,t,i){i.r(t),i.d(t,{default:function(){return Z}});var n=i(7313),o=i(6090),r=i(7616),s=i(32),l=(i(6143),i(7850),i(4444),i(7244),i(123),i(5892),i(1811),i(9302)),a=i(2575),d=i(2210),c=i(8486),p=i(9821),h=i(8866),u=i(2279),m=i.n(u),x=i(7753),v=i(7129),f=i(1855),y=i(9854),g=i(364),w=i(4522),j=i(778),b=i(7381),P=(i(3439),i(4892)),S=i(8390),C=i(6775),I=i(8984),M=i(9212),O=i(6417);function k(e){const[t]=(0,x.j1)("whatmoreShopId"),[i,n,o]=(0,C.Z)({triggerOnce:!0}),r=e.event,s=(0,I.gE)()?e.isOnFocus:n;return(0,O.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,O.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",alignItems:"center",height:"100%",width:"100%"},children:[(0,O.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:(0,O.jsx)("p",{children:" "})}),(0,O.jsx)("div",{ref:i,children:s&&(0,y.PWD)(t)?(0,O.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:(0,O.jsx)(S.Z,{event:r})}):(0,O.jsx)("div",{height:"20px"})})]})})}var E=function(e){var t,i,o,r,s;const[l,a,d,c,h]=(0,p.Z)();var u=(0,n.useContext)(v.V);const m=(0,x.MO)("whatmoreUITheme"),f=(0,x.MO)("whatmoreShopId"),g=(0,x.MO)("whatmorePrimaryFont"),w=(0,x.MO)("whatmoreSecondaryColor"),j=e.event,b=e.onClick,S=null===(t=e.isOnFocus)||void 0===t||t,C=null!==(i=e.playOnUnfocus)&&void 0!==i&&i,I=null!==(o=e.animateOnFocus&&(0,y.iWI)(f))&&void 0!==o&&o,E=(0,y.nzC)(f);return(0,O.jsxs)("div",{ref:e=>{e&&(e.style.setProperty("margin-top",u.tileTopMargin+"px"),e.style.setProperty("margin-bottom",u.tileBottomMMargin+"px"))},style:{margin:"0 10px",width:"8968077397"==f||"19501891"==f?void 0:a,aspectRatio:"8968077397"==f||"19501891"==f?9/16:void 0,height:"8968077397"==f||"19501891"==f?"100%":l,borderRadius:"round"==m?"5px":"0px",boxShadow:"round"==m||"61187850326"==f||"19501891"==f?E:null,borderWidth:(0,y.alU)(f),borderColor:(0,y.qPe)(f),overflow:"hidden",cursor:"pointer",position:"relative"},className:I?S?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",onClick:()=>{var e,t;"12326200"==f&&"image"==j.event_type?window.location.href=null===(e=j.products)||void 0===e||null===(t=e[0])||void 0===t?void 0:t.product_link:b(j)},children:[(0,O.jsx)(P.Z,{height:(0,y.dXm)(f)+" !important",width:"100%",url:j.thumbnail_image,isPlaying:S||C,event:j}),""!==(null===j||void 0===j?void 0:j.title)?(0,O.jsxs)(O.Fragment,{children:[(0,O.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,O.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"1px",alignItems:"center"},children:[(0,O.jsx)("p",{style:{fontFamily:g,fontSize:.1*a+"px",fontWeight:"600"},children:"12326200"==f?null===j||void 0===j||null===(r=j.title)||void 0===r?void 0:r.slice(7):null===j||void 0===j?void 0:j.title}),"12326200"==f&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("p",{style:{fontFamily:'"brandon-grotesque"',fontSize:.08*a+"px",fontWeight:"normal"},children:null===j||void 0===j||null===(s=j.title)||void 0===s?void 0:s.slice(0,7)}),(0,O.jsx)("button",{style:{display:"flex",alignItems:"center",borderRadius:"200px",marginTop:"4px",backgroundColor:w,padding:"8px 28px"},children:(0,O.jsx)("p",{style:{fontFamily:'"brandon-grotesque"',fontSize:.05*a+"px",fontWeight:"normal"},children:"SHOP NOW"})})]})]})}),(0,O.jsx)("div",{className:"wht-shopping-icon",style:{position:"absolute",top:"10px",right:"10px",zIndex:2},children:(0,O.jsx)(M.Z,{sx:{color:"white",fontSize:"1.3rem",filter:"drop-shadow(0 0 5px black)"}})})]}):(0,y.wxm)(f)&&(0,O.jsxs)("div",{style:{width:a,height:l},children:[(0,O.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",overflow:"hidden",width:"100%",height:"100%",backgroundColor:"transparent"},className:"whatmore-ios-css-relative-fix"}),(0,O.jsx)(k,{event:j,unfocusedDisplay:!S,isOnFocus:S})]})]})};const F=(0,a.Z)({key:"whatmore-css-hv"});function W(e){const[t,i,o]=(0,p.Z)(),r=(0,x.MO)("whatmoreShopId"),s=e.events,l=e.onClick,a=o*(0,y.u6l)(r),c=(0,y.yBw)(r),[h,u]=(0,n.useState)(c?s.length:a),{whatmoreWidgetSourceDetails:m}=(0,n.useContext)(g.I);return(0,n.useEffect)((()=>{h<=a&&u((e=>e+a))}),[a]),(0,O.jsx)("div",{className:"whatmore-events-carousel-portrait",style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,O.jsx)("div",{style:{width:window.innerWidth,height:"fit-content"},children:(0,O.jsx)(d.tq,{slidesPerView:2,initialSlide:0,centeredSlides:!1,centeredSlidesBounds:!1,watchSlidesProgress:!0,touchRatio:1,onSlideChange:e=>{(0,w.y4)({userInteractionType:j.K.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:m}),e.realIndex>e.previousIndex&&u((e=>e+a))},loop:c,children:s.map(((e,t)=>t<=h&&(0,O.jsx)(d.o5,{children:t=>{let{isActive:i,isPrev:n,isNext:o,isVisible:r}=t;return n||o||i?(0,O.jsx)(E,{isOnFocus:r,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{l(e)}}):(0,O.jsx)(f.Z,{})}},"whatmore-event-tile-portrait-"+e.index)))})})})}function V(e){const[t,i,o,r]=(0,p.Z)(),[s,l]=(0,n.useState)(-1),a=(0,x.MO)("whatmoreShopId"),[h]=(0,x.j1)("whatmoreLandingLocationType"),u=e.onClick,v=e.events,b=(0,y.yBw)(a),[P,S]=(0,n.useState)(b?v.length:o),C=Math.min(o,v.length),{whatmoreWidgetSourceDetails:I}=(0,n.useContext)(g.I),M=(0,n.useRef)(null);return(0,n.useEffect)((()=>{if(M.current){const e=i*C*(0,y.Su5)(a)+"px";v.length<4?M.current.style.setProperty("width",e,"important"):M.current.style.width=e}}),[i,C,a,P,v.length]),(0,n.useEffect)((()=>{P<=o&&S((e=>e+o))}),[o]),(0,O.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%",paddingLeft:r+"px",paddingRight:r+"px"},className:"whatmore-events-carousel-landscape",children:(0,O.jsx)("div",{ref:M,style:{height:"100%"},children:(0,O.jsx)(d.tq,{slidesPerView:"product"===h&&"87174349065"===a?2:C,watchSlidesProgress:!0,modules:[c.W_],navigation:!0,slidesPerGroup:parseInt(C),onSlideChange:e=>{(0,w.y4)({userInteractionType:j.K.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:I}),e.realIndex>e.previousIndex&&S((e=>e+o))},spaceBetween:0,loop:b&&v.length>4,style:{height:"100%"},children:v.map(((e,t)=>{const i=m()((()=>l(t)),300);return t<=P&&(0,O.jsx)(d.o5,{onMouseEnter:()=>{i()},onMouseLeave:()=>{i.cancel(),l(-1)},style:{height:"100%"},children:i=>{let{isActive:n,isPrev:o,isNext:r,isVisible:l}=i;return l||o||r?(0,O.jsx)(E,{isOnFocus:t==s,playOnUnfocus:!(0,y.dHy)(a)||t==parseInt(C/2)&&-1==s,animateOnFocus:!0,event:e,onClick:()=>{u(e)}}):(0,O.jsx)(f.Z,{})}},"whatmore-event-tile-landscape-"+e.index)}))})})})}var Z=function(e){const[t,i,a]=(0,h.Z)(),[d]=(0,x.j1)("whatmoreShopId"),[c]=(0,x.j1)("whatmorePrimaryColor"),[p]=(0,x.j1)("whatmoreTitleFont"),u="portrait"==t?(0,x.MO)("whatmoreTitleFontSizePortrait"):(0,x.MO)("whatmoreTitleFontSize"),{whatmoreRootId:m}=(0,n.useContext)(g.I),f=(0,x.MO)("whatmoreCollectionHeading"),{whatmoreIsCollectionsTemplate:w}=(0,n.useContext)(g.I),j=e.events,P=e.onClick,S=p;function C(e){P(e)}return(0,n.useEffect)((()=>{(0,b.Oo)("Video shopping powered by Whatmore!")}),[]),(0,n.useEffect)((()=>{s.IR.forEach((e=>{var t;const i=null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-g"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-g"]');if(!i)return;i&&e&&(e.style.minHeight="0px")}))}),[]),delete r.ZP.styles.global,(0,O.jsx)(l.C,{value:F,children:(0,O.jsx)("div",{className:"whatmore-carousel-events",style:{height:"100%"},children:(0,O.jsx)(o.x,{theme:r.ZP,cssVarsRoot:m,resetCSS:!1,children:(0,O.jsxs)(v.V.Provider,{value:{tileTopMargin:25,tileBottomMMargin:25,tileLeftMargin:4,tileRightMargin:4,showPlayButton:!0},children:[e.heading.trim().length>0||w?(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",S),e.style.setProperty("font-size",u+"px","important"))},style:{color:c,backgroundClip:"text",textAlign:"center",fontWeight:(0,y.wOV)(d),lineHeight:(0,y.vY4)(d),letterSpacing:(0,y.X2K)(d)},children:w?"W"!==f?f:"":e.heading})}):(0,O.jsx)(O.Fragment,{}),"landscape"===t?(0,O.jsx)(V,{events:j,onClick:C}):(0,O.jsx)(W,{events:j,onClick:C})]})})})})}},7129:function(e,t,i){i.d(t,{V:function(){return n}});const n=(0,i(7313).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},5945:function(e,t,i){i.d(t,{s:function(){return o}});var n=i(7753);function o(e,t){const i=(0,n.MO)("whatmoreShopId");return"undefined"==typeof e||"undefined"==e||null==e?"":"6873415750"==i||"72442478904"==i||"58562281529"==i?e:"66168324332"==i&&"prod-tile"!=t?null===e||void 0===e||null===(o=e.split("- "))||void 0===o?void 0:o[0]:e.replace(/\w\S*/g,(function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()}));var o}},1855:function(e,t,i){var n=i(7313),o=i(9821),r=i(7129),s=i(7753),l=i(6417);t.Z=function(e){var[t,i]=(0,o.Z)();(0,n.useContext)(r.V);const a=(0,s.MO)("whatmoreShopId");return e.event,(0,l.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"}})}},8390:function(e,t,i){var n=i(7313),o=i(7753),r=i(9821),s=i(5945),l=(i(3439),i(9854)),a=i(9363),d=i(6417);t.Z=function(e){var t,i,[c,p]=(0,r.Z)();const h=(0,o.MO)("whatmoreUITheme"),[u]=(0,o.j1)("whatmorePrimaryFont"),[m,x]=(0,n.useState)(0),v=(0,o.MO)("whatmoreShopId"),f=e.event;if(0==f.products.length)return(0,d.jsx)(d.Fragment,{});const y=.3*p,g=y+"px",w=y+"px",j=.07*p,b=j+"px";return(0,d.jsx)("div",{style:{width:p+"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:e=>{e&&e.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:e=>{e&&e.style.setProperty("height",w,"important")},style:{width:(0,l.uNj)(v)?g:"auto",boxShadow:"round"==h?"0px 0px 5px 2px #B0B0B0":null,borderRadius:"round"==h?"5px":"0px",borderWidth:(0,l.alU)(v),borderColor:(0,l.qPe)(v),overflow:"hidden",backgroundColor:"rgb(220, 220, 220, 1)"},children:(0,d.jsx)("img",{ref:e=>{e&&(e.style.setProperty("object-fit",(0,l.yOX)(v),"important"),e.style.setProperty("max-width",g,"important"))},src:(0,a.s)(f.products[m].thumbnail_image,"&width=400&height=400"),style:{width:"100%",height:"100%",borderRadius:"round"==h?"5px":"0px"},alt:"product image"})}),(0,d.jsxs)("div",{style:{width:p-5-y+"px",height:"100%",borderRadius:"round"==h?"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:e=>{e&&(e.style.setProperty("color","white","important"),e.style.setProperty("font-size",b,"important"),e.style.setProperty("line-height","120%","important"),e.style.setProperty("font-family",u,"important"),e.style.setProperty("-webkit-line-clamp",3,"important"),e.style.setProperty("line-clamp",3,"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"))},style:{textAlign:"left",fontWeight:"normal"},children:(0,s.s)(f.products[m].title)})}),(0,l.in5)(v)&&(0,d.jsx)("div",{style:{display:"flex",opacity:.8,width:"fit-content",maxWidth:p-5-y+"px",padding:"3px 6px",backgroundColor:"#D3D3D3",borderRadius:"round"==h?"3px":"0"},children:(0,d.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color","#000","important"),e.style.setProperty("maxWidth",p-5-y+"px","important"),e.style.setProperty("font-size",.7*j+"px","important"),e.style.setProperty("font-family",u,"important"),e.style.setProperty("font-weight","bold","important"),e.style.setProperty("text-overflow","ellipsis","important"),e.style.setProperty("overflow","hidden","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"))},children:null===(t=f.products[m])||void 0===t||null===(i=t.product_metadata)||void 0===i?void 0:i.product_type})})]})]},m)})}},9363:function(e,t,i){i.d(t,{$:function(){return s},s:function(){return r}});var n=i(9854),o=i(7753);function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const i=(0,o.MO)("whatmoreShopId");return"shopify"!=(0,n.Ipo)(i)?"STRNV8MHJTF"==i?e+"?format=webp":e:e+t}function s(e){var t;if(null!==e&&void 0!==e&&e.includes("https://w-media.b-cdn.net/process-media"))return"image";const i=null===e||void 0===e||null===(t=e.trim())||void 0===t?void 0:t.split("?")[0],n=/\.(jpeg|jpg|gif|png|svg|webp)$/i,o=/\.(mp4|mov|wmv|avi|flv|mkv)$/i;return null!==n&&void 0!==n&&n.test(i)?"image":null!==o&&void 0!==o&&o.test(i)?"video":void 0}},6805:function(e,t,i){i.d(t,{$I:function(){return l},$w:function(){return d},AK:function(){return r},AL:function(){return s},YP:function(){return o},me:function(){return n},rE:function(){return a}});const n="device_type",o="device_mode",r="mobile",s="tablet",l="desktop",a="portrait",d="landscape"},9821:function(e,t,i){var n=i(7753),o=i(8866),r=i(6805),s=i(9854);t.Z=function(e){const[t,i,l]=(0,o.Z)(),[a]=(0,n.j1)("whatmoreLandscapePadding"),[d]=(0,n.j1)("whatmoreShopId"),[c]=(0,n.j1)("whatmoreVideoTileSize"),[p]=(0,n.j1)("whatmoreVideoTileSizePortrait"),h=l>=1025,u="portrait"==t?p:c,m=!("portrait"!=t||!(l>=481)),x=u/100*1.3*.5,v=u/100;var f=Math.min(l,i),[y,g,w,j]=[.6*f*(16/9),.6*f,1.4,0];function b(e){return Math.round(10*e)/10}var P={DEVICE_TYPE:r.AK,DEVICE_MODE:r.rE};if(h){const e=g*x,t=y*x;[y,g,w,j]=[t,e,(l-2*a-2*(0,s.mZU)(d))/(1.1*e),a],P[r.me]=r.$I,P[r.YP]=r.$w}else if(m){var S=.8*g,C=.8*y;"portrait"==t?(S*=v,C*=v,[y,g,w,j]=[C,S,b(l/(1.2*S)),0],P[r.me]=r.AL,P[r.YP]=r.rE):([y,g,w,j]=[C,S,(l-2*a)/(1.1*S),a],P[r.me]=r.AL,P[r.YP]=r.$w)}else{S=g,C=y;"portrait"==t?(S=S*v*.9,C=C*v*.9,[y,g,w,j]=[C,S,b(l/(1.15*S)),0],P[r.me]=r.AK,P[r.YP]=r.rE):(S=.7*g,C=.7*y,[y,g,w,j]=[C,S,(l-2*a)/(1.1*S),a],P[r.me]=r.AK,P[r.YP]=r.$w)}return[y,g,w,j,P]}},9212:function(e,t,i){var n=i(5318);t.Z=void 0;var o=n(i(5045)),r=i(6417),s=(0,o.default)([(0,r.jsx)("path",{d:"M18 20H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2v12z",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-2zm-6-2c1.1 0 2 .9 2 2h-4c0-1.1.9-2 2-2zm6 16H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2v12z"},"1")],"ShoppingBagTwoTone");t.Z=s},3439:function(){},7244:function(){},5892:function(){},4444:function(){},1811:function(){},6143:function(){},7850:function(){}}]);
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[892],{5090:function(e,t,i){i.r(t),i.d(t,{default:function(){return Z}});var n=i(7313),o=i(6090),r=i(7616),l=i(32),s=(i(6143),i(7850),i(4444),i(7244),i(123),i(5892),i(1811),i(9302)),a=i(2575),d=i(2210),c=i(8486),p=i(9821),h=i(8866),u=i(2279),m=i.n(u),x=i(7753),v=i(7129),f=i(1855),y=i(9854),g=i(364),w=i(4522),j=i(778),b=i(7381),P=(i(3439),i(4892)),S=i(8390),C=i(6775),I=i(8984),M=i(9212),O=i(6417);function k(e){const[t]=(0,x.j1)("whatmoreShopId"),[i,n,o]=(0,C.Z)({triggerOnce:!0}),r=e.event,l=(0,I.gE)()?e.isOnFocus:n;return(0,O.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,O.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",alignItems:"center",height:"100%",width:"100%"},children:[(0,O.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:(0,O.jsx)("p",{children:" "})}),(0,O.jsx)("div",{ref:i,children:l&&(0,y.PWD)(t)?(0,O.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:(0,O.jsx)(S.Z,{event:r})}):(0,O.jsx)("div",{height:"20px"})})]})})}var E=function(e){var t,i,o,r,l;const[s,a,d,c,h]=(0,p.Z)();var u=(0,n.useContext)(v.V);const m=(0,x.MO)("whatmoreUITheme"),f=(0,x.MO)("whatmoreShopId"),g=(0,x.MO)("whatmorePrimaryFont"),w=(0,x.MO)("whatmoreSecondaryColor"),j=e.event,b=e.onClick,S=null===(t=e.isOnFocus)||void 0===t||t,C=null!==(i=e.playOnUnfocus)&&void 0!==i&&i,I=null!==(o=e.animateOnFocus&&(0,y.iWI)(f))&&void 0!==o&&o,E=(0,y.nzC)(f);return(0,O.jsxs)("div",{ref:e=>{e&&(e.style.setProperty("margin-top",u.tileTopMargin+"px"),e.style.setProperty("margin-bottom",u.tileBottomMMargin+"px"))},style:{margin:"0 10px",width:"8968077397"==f||"19501891"==f?void 0:a,aspectRatio:"8968077397"==f||"19501891"==f?9/16:void 0,height:"8968077397"==f||"19501891"==f?"100%":s,borderRadius:"round"==m?"5px":"0px",boxShadow:"round"==m||"61187850326"==f||"19501891"==f?E:null,borderWidth:(0,y.alU)(f),borderColor:(0,y.qPe)(f),overflow:"hidden",cursor:"pointer",position:"relative"},className:I?S?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",onClick:()=>{var e,t;"12326200"==f&&"image"==j.event_type?window.location.href=null===(e=j.products)||void 0===e||null===(t=e[0])||void 0===t?void 0:t.product_link:b(j)},children:[(0,O.jsx)(P.Z,{height:(0,y.dXm)(f)+" !important",width:"100%",url:j.thumbnail_image,isPlaying:S||C,event:j}),""!==(null===j||void 0===j?void 0:j.title)?(0,O.jsxs)(O.Fragment,{children:[(0,O.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,O.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"1px",alignItems:"center"},children:[(0,O.jsx)("p",{style:{fontFamily:g,fontSize:.1*a+"px",fontWeight:"600"},children:"12326200"==f?null===j||void 0===j||null===(r=j.title)||void 0===r?void 0:r.slice(7):null===j||void 0===j?void 0:j.title}),"12326200"==f&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("p",{style:{fontFamily:'"brandon-grotesque"',fontSize:.08*a+"px",fontWeight:"normal"},children:null===j||void 0===j||null===(l=j.title)||void 0===l?void 0:l.slice(0,7)}),(0,O.jsx)("button",{style:{display:"flex",alignItems:"center",borderRadius:"200px",marginTop:"4px",backgroundColor:w,padding:"8px 28px"},children:(0,O.jsx)("p",{style:{fontFamily:'"brandon-grotesque"',fontSize:.05*a+"px",fontWeight:"normal"},children:"SHOP NOW"})})]})]})}),(0,O.jsx)("div",{className:"wht-shopping-icon",style:{position:"absolute",top:"10px",right:"10px",zIndex:2},children:(0,O.jsx)(M.Z,{sx:{color:"white",fontSize:"1.3rem",filter:"drop-shadow(0 0 5px black)"}})})]}):(0,y.wxm)(f)&&(0,O.jsxs)("div",{style:{width:a,height:s},children:[(0,O.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",overflow:"hidden",width:"100%",height:"100%",backgroundColor:"transparent"},className:"whatmore-ios-css-relative-fix"}),(0,O.jsx)(k,{event:j,unfocusedDisplay:!S,isOnFocus:S})]})]})};const F=(0,a.Z)({key:"whatmore-css-hv"});function W(e){const[t,i,o]=(0,p.Z)(),r=(0,x.MO)("whatmoreShopId"),l=e.events,s=e.onClick,a=o*(0,y.u6l)(r),c=(0,y.yBw)(r),[h,u]=(0,n.useState)(c?l.length:a),{whatmoreWidgetSourceDetails:m}=(0,n.useContext)(g.I);return(0,n.useEffect)((()=>{h<=a&&u((e=>e+a))}),[a]),(0,O.jsx)("div",{className:"whatmore-events-carousel-portrait",style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,O.jsx)("div",{style:{width:window.innerWidth,height:"fit-content"},children:(0,O.jsx)(d.tq,{slidesPerView:2,initialSlide:0,centeredSlides:!1,centeredSlidesBounds:!1,watchSlidesProgress:!0,touchRatio:1,onSlideChange:e=>{(0,w.y4)({userInteractionType:j.K.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:m}),e.realIndex>e.previousIndex&&u((e=>e+a))},loop:c,children:l.map(((e,t)=>t<=h&&(0,O.jsx)(d.o5,{children:t=>{let{isActive:i,isPrev:n,isNext:o,isVisible:r}=t;return n||o||i?(0,O.jsx)(E,{isOnFocus:r,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{s(e)}}):(0,O.jsx)(f.Z,{})}},"whatmore-event-tile-portrait-"+e.index)))})})})}function V(e){const[t,i,o,r]=(0,p.Z)(),[l,s]=(0,n.useState)(-1),a=(0,x.MO)("whatmoreShopId"),[h]=(0,x.j1)("whatmoreLandingLocationType"),u=e.onClick,v=e.events,b=(0,y.yBw)(a),[P,S]=(0,n.useState)(b?v.length:o),C=Math.min(o,v.length),{whatmoreWidgetSourceDetails:I}=(0,n.useContext)(g.I),M=(0,n.useRef)(null);return(0,n.useEffect)((()=>{if(M.current){const e=i*C*(0,y.Su5)(a)+"px";v.length<4?M.current.style.setProperty("width",e,"important"):M.current.style.width=e}}),[i,C,a,P,v.length]),(0,n.useEffect)((()=>{P<=o&&S((e=>e+o))}),[o]),(0,O.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%",paddingLeft:r+"px",paddingRight:r+"px"},className:"whatmore-events-carousel-landscape",children:(0,O.jsx)("div",{ref:M,style:{height:"100%"},children:(0,O.jsx)(d.tq,{slidesPerView:"product"===h&&"87174349065"===a?2:C,watchSlidesProgress:!0,modules:[c.W_],navigation:!0,slidesPerGroup:parseInt(C),onSlideChange:e=>{(0,w.y4)({userInteractionType:j.K.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:I}),e.realIndex>e.previousIndex&&S((e=>e+o))},spaceBetween:0,loop:b&&v.length>4,style:{height:"100%"},children:v.map(((e,t)=>{const i=m()((()=>s(t)),300);return t<=P&&(0,O.jsx)(d.o5,{onMouseEnter:()=>{i()},onMouseLeave:()=>{i.cancel(),s(-1)},style:{height:"100%"},children:i=>{let{isActive:n,isPrev:o,isNext:r,isVisible:s}=i;return s||o||r?(0,O.jsx)(E,{isOnFocus:t==l,playOnUnfocus:!(0,y.dHy)(a)||t==parseInt(C/2)&&-1==l,animateOnFocus:!0,event:e,onClick:()=>{u(e)}}):(0,O.jsx)(f.Z,{})}},"whatmore-event-tile-landscape-"+e.index)}))})})})}var Z=function(e){const[t,i,a]=(0,h.Z)(),[d]=(0,x.j1)("whatmoreShopId"),[c]=(0,x.j1)("whatmorePrimaryColor"),[p]=(0,x.j1)("whatmoreTitleFont"),u="portrait"==t?(0,x.MO)("whatmoreTitleFontSizePortrait"):(0,x.MO)("whatmoreTitleFontSize"),{whatmoreRootId:m}=(0,n.useContext)(g.I),f=(0,x.MO)("whatmoreCollectionHeading"),{whatmoreIsCollectionsTemplate:w}=(0,n.useContext)(g.I),j=e.events,P=e.onClick,S=p;function C(e){P(e)}return(0,n.useEffect)((()=>{(0,b.Oo)("Video shopping powered by Whatmore!")}),[]),(0,n.useEffect)((()=>{l.IR.forEach((e=>{var t;const i=null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-g"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-g"]');if(!i)return;i&&e&&(e.style.minHeight="0px")}))}),[]),delete r.ZP.styles.global,(0,O.jsx)(s.C,{value:F,children:(0,O.jsx)("div",{className:"whatmore-carousel-events",style:{height:"100%"},children:(0,O.jsx)(o.x,{theme:r.ZP,cssVarsRoot:m,resetCSS:!1,children:(0,O.jsxs)(v.V.Provider,{value:{tileTopMargin:25,tileBottomMMargin:25,tileLeftMargin:4,tileRightMargin:4,showPlayButton:!0},children:[e.heading.trim().length>0||w?(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",S),e.style.setProperty("font-size",u+"px","important"))},style:{color:c,backgroundClip:"text",textAlign:"center",fontWeight:(0,y.wOV)(d),lineHeight:(0,y.vY4)(d),letterSpacing:(0,y.X2K)(d)},children:w?"W"!==f?f:"":e.heading})}):(0,O.jsx)(O.Fragment,{}),"landscape"===t?(0,O.jsx)(V,{events:j,onClick:C}):(0,O.jsx)(W,{events:j,onClick:C})]})})})})}},7129:function(e,t,i){i.d(t,{V:function(){return n}});const n=(0,i(7313).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},5945:function(e,t,i){i.d(t,{s:function(){return o}});var n=i(7753);function o(e,t){const i=(0,n.MO)("whatmoreShopId");return"undefined"==typeof e||"undefined"==e||null==e?"":"6873415750"==i||"72442478904"==i||"58562281529"==i?e:"66168324332"==i&&"prod-tile"!=t?null===e||void 0===e||null===(o=e.split("- "))||void 0===o?void 0:o[0]:e.replace(/\w\S*/g,(function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()}));var o}},1855:function(e,t,i){var n=i(7313),o=i(9821),r=i(7129),l=i(7753),s=i(6417);t.Z=function(e){var[t,i]=(0,o.Z)();(0,n.useContext)(r.V);const a=(0,l.MO)("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"}})}},8390:function(e,t,i){var n=i(7313),o=i(7753),r=i(9821),l=i(5945),s=(i(3439),i(9854)),a=i(9363),d=i(6417);t.Z=function(e){var t,i,c,p,[h,u]=(0,r.Z)();const m=(0,o.MO)("whatmoreUITheme"),[x]=(0,o.j1)("whatmorePrimaryFont"),[v,f]=(0,n.useState)(0),y=(0,o.MO)("whatmoreShopId"),g=e.event;if(0==g.products.length)return(0,d.jsx)(d.Fragment,{});const w=.3*u,j=w+"px",b=w+"px",P=.07*u,S=P+"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:e=>{e&&e.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:e=>{e&&e.style.setProperty("height",b,"important")},style:{width:(0,s.uNj)(y)?j:"auto",boxShadow:"round"==m?"0px 0px 5px 2px #B0B0B0":null,borderRadius:"round"==m?"5px":"0px",borderWidth:(0,s.alU)(y),borderColor:(0,s.qPe)(y),overflow:"hidden",backgroundColor:"rgb(220, 220, 220, 1)"},children:(0,d.jsx)("img",{ref:e=>{e&&(e.style.setProperty("object-fit",(0,s.yOX)(y),"important"),e.style.setProperty("max-width",j,"important"))},src:(0,a.s)(g.products[v].thumbnail_image,"&width=400&height=400"),style:{width:"100%",height:"100%",borderRadius:"round"==m?"5px":"0px"},alt:"product image"})}),(0,d.jsxs)("div",{style:{width:u-5-w+"px",height:"100%",borderRadius:"round"==m?"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:e=>{e&&(e.style.setProperty("color","white","important"),e.style.setProperty("font-size",S,"important"),e.style.setProperty("line-height","120%","important"),e.style.setProperty("font-family",x,"important"),e.style.setProperty("-webkit-line-clamp",3,"important"),e.style.setProperty("line-clamp",3,"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"))},style:{textAlign:"left",fontWeight:"normal"},children:(0,l.s)(g.products[v].title)})}),(0,s.in5)(y)&&(null===(t=g.products[v])||void 0===t||null===(i=t.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"==m?"3px":"0"},children:(0,d.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color","#000","important"),e.style.setProperty("maxWidth",u-5-w+"px","important"),e.style.setProperty("font-size",.7*P+"px","important"),e.style.setProperty("font-family",x,"important"),e.style.setProperty("font-weight","bold","important"),e.style.setProperty("text-overflow","ellipsis","important"),e.style.setProperty("overflow","hidden","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"))},children:null===(c=g.products[v])||void 0===c||null===(p=c.product_metadata)||void 0===p?void 0:p.product_type})})]})]},v)})}},9363:function(e,t,i){i.d(t,{$:function(){return l},s:function(){return r}});var n=i(9854),o=i(7753);function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const i=(0,o.MO)("whatmoreShopId");return"shopify"!=(0,n.Ipo)(i)?"STRNV8MHJTF"==i?e+"?format=webp":e:e+t}function l(e){var t;if(null!==e&&void 0!==e&&e.includes("https://w-media.b-cdn.net/process-media"))return"image";const i=null===e||void 0===e||null===(t=e.trim())||void 0===t?void 0:t.split("?")[0],n=/\.(jpeg|jpg|gif|png|svg|webp)$/i,o=/\.(mp4|mov|wmv|avi|flv|mkv)$/i;return null!==n&&void 0!==n&&n.test(i)?"image":null!==o&&void 0!==o&&o.test(i)?"video":void 0}},6805:function(e,t,i){i.d(t,{$I:function(){return s},$w:function(){return d},AK:function(){return r},AL:function(){return l},YP:function(){return o},me:function(){return n},rE:function(){return a}});const n="device_type",o="device_mode",r="mobile",l="tablet",s="desktop",a="portrait",d="landscape"},9821:function(e,t,i){var n=i(7753),o=i(8866),r=i(6805),l=i(9854);t.Z=function(e){const[t,i,s]=(0,o.Z)(),[a]=(0,n.j1)("whatmoreLandscapePadding"),[d]=(0,n.j1)("whatmoreShopId"),[c]=(0,n.j1)("whatmoreVideoTileSize"),[p]=(0,n.j1)("whatmoreVideoTileSizePortrait"),h=s>=1025,u="portrait"==t?p:c,m=!("portrait"!=t||!(s>=481)),x=u/100*1.3*.5,v=u/100;var f=Math.min(s,i),[y,g,w,j]=[.6*f*(16/9),.6*f,1.4,0];function b(e){return Math.round(10*e)/10}var P={DEVICE_TYPE:r.AK,DEVICE_MODE:r.rE};if(h){const e=g*x,t=y*x;[y,g,w,j]=[t,e,(s-2*a-2*(0,l.mZU)(d))/(1.1*e),a],P[r.me]=r.$I,P[r.YP]=r.$w}else if(m){var S=.8*g,C=.8*y;"portrait"==t?(S*=v,C*=v,[y,g,w,j]=[C,S,b(s/(1.2*S)),0],P[r.me]=r.AL,P[r.YP]=r.rE):([y,g,w,j]=[C,S,(s-2*a)/(1.1*S),a],P[r.me]=r.AL,P[r.YP]=r.$w)}else{S=g,C=y;"portrait"==t?(S=S*v*.9,C=C*v*.9,[y,g,w,j]=[C,S,b(s/(1.15*S)),0],P[r.me]=r.AK,P[r.YP]=r.rE):(S=.7*g,C=.7*y,[y,g,w,j]=[C,S,(s-2*a)/(1.1*S),a],P[r.me]=r.AK,P[r.YP]=r.$w)}return[y,g,w,j,P]}},9212:function(e,t,i){var n=i(5318);t.Z=void 0;var o=n(i(5045)),r=i(6417),l=(0,o.default)([(0,r.jsx)("path",{d:"M18 20H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2v12z",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-2zm-6-2c1.1 0 2 .9 2 2h-4c0-1.1.9-2 2-2zm6 16H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2v12z"},"1")],"ShoppingBagTwoTone");t.Z=l},3439:function(){},7244:function(){},5892:function(){},4444:function(){},1811:function(){},6143:function(){},7850:function(){}}]);