whatmore-react-assets 1.0.1835 → 1.0.1836

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whatmore-react-assets",
3
- "version": "1.0.1835",
3
+ "version": "1.0.1836",
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([[508,579,838],{5e3:function(e,t,n){n.d(t,{Au:function(){return s},YJ:function(){return l},k5:function(){return d}});const o=6,a="https://whatmore-other-assets.b-cdn.net/whatmore/dummy_for_video_pool_3s_muted_11kb.mp4",i="whatmore-video-player whatmore-main-video-player-from-pool";function r(){return"undefined"===typeof window?{}:(window.__whatmoreNeoVideoPool||(window.__whatmoreNeoVideoPool={}),window.__whatmoreNeoVideoPool)}function s(){const e=r();if(e.armed||"undefined"===typeof document)return;e.armed=!0,function(){const e=r();if(e.pool||"undefined"===typeof document)return;const t=document.createDocumentFragment();for(let n=0;n<o;n++){const e=document.createElement("video");e.setAttribute("class",i),e.setAttribute("src",a),e.muted=!0,e.setAttribute("width","100%"),e.setAttribute("height","100%"),e.setAttribute("preload","auto"),e.setAttribute("loop",""),e.setAttribute("playsinline",""),e.setAttribute("webkit-playsinline",""),e.setAttribute("x-webkit-airplay","allow"),e.controls=!1,t.appendChild(e)}e.pool=t}();const t=()=>{document.removeEventListener("click",t),document.removeEventListener("touchstart",t),function(){const e=r();if(e.blessed||!e.pool)return;const t=e.pool.childNodes;for(let n=0;n<t.length;n++){const e=t[n];e.muted=!0;const o=e.play();o&&o.then&&o.then(()=>e.pause()).catch(()=>{})}e.blessed=!0}()};document.addEventListener("click",t,{passive:!0}),document.addEventListener("touchstart",t,{passive:!0})}function d(){return r().pool||null}function l(){return!!r().blessed}},5071:function(e){e.exports='.wht-neo-rail{-webkit-overflow-scrolling:touch;display:flex;gap:var(--wht-neo-gap,var(--wht-neo-gap-auto,14px));height:100%;overflow-x:auto;overscroll-behavior-x:contain;padding-block:0;padding-inline:var(--wht-neo-rail-pad-inline,calc((100% - var(--wht-neo-slide-width, var(--wht-neo-slide-width-auto, 64%)))/2));scroll-padding-inline:0;scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:pan-x}.wht-neo-rail::-webkit-scrollbar{display:none}.wht-neo-slide{aspect-ratio:var(--wht-neo-aspect,9/16);background:var(--wht-neo-slide-bg,#ececec);border-radius:var(--wht-neo-radius,12px);box-shadow:none;cursor:pointer;flex:0 0 auto;max-width:var(--wht-neo-slide-max-width,none);opacity:var(--wht-neo-side-opacity,.94);overflow:hidden;position:relative;scroll-snap-align:center;scroll-snap-stop:always;transform:scale(var(--wht-neo-side-scale,.94));transform-origin:center center;transition:transform .28s ease,opacity .28s ease;width:var(--wht-neo-slide-width,var(--wht-neo-slide-width-auto,64%))}.wht-neo-slide.wht-neo-active{opacity:1;transform:scale(1)}.wht-neo-media{aspect-ratio:auto;background:transparent;border-radius:0;height:100%;overflow:visible;position:relative;width:100%}.wht-neo-video{display:block;height:100%;object-fit:var(--wht-neo-fit,cover);width:100%}:where([data-wht-vp=landscape]) .wht-neo-rail{padding-inline:var(--wht-neo-rail-pad-inline,0)}:where([data-wht-vp=landscape]) .wht-neo-slide{scroll-snap-align:start}.wht-neo-rail-wrap{position:relative}.wht-neo-nav{display:none}:where([data-wht-vp=landscape]) .wht-neo-nav{align-items:center;background:var(--wht-neo-nav-bg,#fff);border:none;border-radius:50%;box-shadow:var(--wht-neo-nav-shadow,0 1px 4px rgba(0,0,0,.18));color:var(--wht-neo-nav-color,#090a0b);cursor:pointer;display:flex;height:var(--wht-neo-nav-size,36px);justify-content:center;padding:0;position:absolute;top:50%;transform:translateY(-50%);width:var(--wht-neo-nav-size,36px);z-index:2}:where([data-wht-vp=landscape]) .wht-neo-nav-prev{left:var(--wht-neo-nav-inset,6px)}:where([data-wht-vp=landscape]) .wht-neo-nav-next{right:var(--wht-neo-nav-inset,6px)}.wht-neo-nav svg{display:block;height:42%;width:42%}.wht-neo-products{align-items:flex-end;bottom:0;font-family:var(--wht-neo-font,inherit);justify-content:center;left:0;padding-bottom:var(--wht-neo-drawer-bottom,12px);pointer-events:none;position:absolute;right:0;top:0}.wht-neo-products>*{pointer-events:auto}.wht-neo-pill{align-items:center;-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);background:var(--wht-neo-pill-bg,hsla(0,0%,100%,.72));border:none;border-radius:999px;box-shadow:0 4px 16px rgba(0,0,0,.12);cursor:pointer;gap:6px;padding:5px 10px 5px 6px}.wht-neo-pill,.wht-neo-pill-thumbs{display:inline-flex}.wht-neo-pill-thumb{background:#f4f4f4;border:var(--wht-neo-thumb-border,2px solid #fff);border-radius:50%;height:var(--wht-neo-pill-thumb-size,34px);object-fit:cover;width:var(--wht-neo-pill-thumb-size,34px)}.wht-neo-pill-thumb+.wht-neo-pill-thumb{margin-left:-14px}.wht-neo-chevron{background:transparent;border:none;cursor:pointer;display:inline-block;flex-shrink:0;height:16px;position:relative;width:16px}.wht-neo-chevron:before{border-left:2px solid var(--wht-neo-chevron-color,#303632);border-top:2px solid var(--wht-neo-chevron-color,#303632);content:"";height:7px;left:50%;margin:-2px 0 0 -4px;position:absolute;top:50%;transform:rotate(45deg);width:7px}.wht-neo-chevron-down:before{margin-top:-6px;transform:rotate(225deg)}.wht-neo-panel{-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);background:var(--wht-neo-panel-bg,hsla(0,0%,100%,.72));border-radius:var(--wht-neo-panel-radius,16px);box-shadow:0 8px 30px rgba(0,0,0,.12);display:none;flex-direction:column;padding:8px;width:var(--wht-neo-panel-width,88%)}.wht-neo-products[data-wht-expanded=true] .wht-neo-pill{display:none}.wht-neo-products[data-wht-expanded=true] .wht-neo-panel{display:flex}.wht-neo-row{align-items:center;border-bottom:1px solid rgba(0,0,0,.06);cursor:pointer;display:flex;gap:var(--wht-neo-row-gap,10px);padding:var(--wht-neo-row-padding,7px 8px)}.wht-neo-row:last-of-type{border-bottom:none}.wht-neo-row-thumb{background:#f4f4f4;border:var(--wht-neo-thumb-border,2px solid #fff);border-radius:50%;flex-shrink:0;height:var(--wht-neo-row-thumb-size,38px);object-fit:cover;width:var(--wht-neo-row-thumb-size,38px)}.wht-neo-row-info{display:flex;flex-direction:column;gap:3px;min-width:0;text-align:left}.wht-neo-row-title{color:var(--wht-neo-row-title-color,#1a1a1a);font-size:var(--wht-neo-row-title-size,14px);font-weight:var(--wht-neo-row-title-weight,500);line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wht-neo-row-price{color:var(--wht-neo-row-price-color,#1a1a1a);font-size:var(--wht-neo-row-price-size,14px);font-weight:700;line-height:1.2}.wht-neo-panel .wht-neo-chevron-down{align-self:center;box-sizing:content-box;margin-top:12px;padding:8px 28px}:where([data-wht-vp=portrait]) .wht-neo-panel{padding:6px;width:var(--wht-neo-panel-width,96%)}:where([data-wht-vp=portrait]) .wht-neo-row{gap:var(--wht-neo-row-gap,7px);padding:var(--wht-neo-row-padding,5px 6px)}:where([data-wht-vp=portrait]) .wht-neo-row-thumb{border-width:1.5px;height:var(--wht-neo-row-thumb-size,30px);width:var(--wht-neo-row-thumb-size,30px)}:where([data-wht-vp=portrait]) .wht-neo-row-title{font-size:var(--wht-neo-row-title-size,12px)}:where([data-wht-vp=portrait]) .wht-neo-row-price{font-size:var(--wht-neo-row-price-size,12.5px)}:where([data-wht-vp=portrait]) .wht-neo-pill-thumb{height:var(--wht-neo-pill-thumb-size,28px);width:var(--wht-neo-pill-thumb-size,28px)}.wht-neo-poster{background:#000;height:100%;left:0;overflow:hidden;pointer-events:none;position:fixed;top:0;width:100%;z-index:2147483648}.wht-neo-poster--hidden{height:0;visibility:hidden;width:0}.wht-neo-poster-img{height:100%;object-fit:cover;pointer-events:none;width:100%}.wht-neo-poster-spin{left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%)}.wht-neo-sfp-spinner{height:64px;position:relative;width:64px}.wht-neo-sfp-spinner span{animation:wht-neo-sfp-fade 1s linear infinite;background-color:#d8cdd0;border-radius:50%;height:10px;left:50%;margin:-5px 0 0 -5px;position:absolute;top:50%;width:10px}.wht-neo-sfp-spinner span:first-child{animation-delay:-1s;transform:rotate(0deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(2){animation-delay:-.875s;transform:rotate(45deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(3){animation-delay:-.75s;transform:rotate(90deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(4){animation-delay:-.625s;transform:rotate(135deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(5){animation-delay:-.5s;transform:rotate(180deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(6){animation-delay:-.375s;transform:rotate(225deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(7){animation-delay:-.25s;transform:rotate(270deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(8){animation-delay:-.125s;transform:rotate(315deg) translateY(-22px)}@keyframes wht-neo-sfp-fade{0%,87.5%,to{background-color:#d8cdd0}12.5%{background-color:#8d6f78}}.wht-neo-heading{align-items:center;display:flex;flex-direction:column;justify-content:center;margin-bottom:6px;position:relative;z-index:1}.wht-neo-heading-inner{padding:2px 24px;position:relative}.wht-neo-heading h2{color:#1a1a1a;font-weight:300;letter-spacing:.5px;line-height:1.2;margin:0;position:relative;text-align:center;text-transform:uppercase;z-index:1}.wht-neo-heading-basic h2{font-family:var(--wht-neo-title-font,inherit);font-size:var(--wht-neo-title-size-portrait,24px)}:where([data-wht-vp=landscape]) .wht-neo-heading{margin-bottom:2px}:where([data-wht-vp=landscape]) .wht-neo-heading-basic h2{font-size:var(--wht-neo-title-size,24px)}.wht-neo-atc,.wht-neo-card,.wht-neo-mute,.wht-neo-playpause,.wht-neo-views{display:none}.wht-neo-products{display:flex}'},6387:function(e,t,n){n.d(t,{P:function(){return a}});const o={standard:()=>n.e(508).then(n.t.bind(n,5071,17)),card:()=>n.e(545).then(n.t.bind(n,9362,17)),"mosaic-ring":()=>n.e(838).then(n.t.bind(n,8171,17)),"mosaic-plain":()=>n.e(764).then(n.t.bind(n,5635,17)),hoverplay:()=>n.e(781).then(n.t.bind(n,787,17)),"info-strip":()=>n.e(94).then(n.t.bind(n,2109,17)),"text-overlay":()=>n.e(833).then(n.t.bind(n,3930,17)),focused:()=>n.e(506).then(n.t.bind(n,1987,17)),coverflow:()=>n.e(172).then(n.t.bind(n,9033,17)),minimal:()=>n.e(244).then(n.t.bind(n,6362,17)),feed:()=>n.e(315).then(n.t.bind(n,7456,17)),circle:()=>n.e(31).then(n.t.bind(n,5112,17)),viewmore:()=>n.e(343).then(n.t.bind(n,7672,17)),overlay:()=>n.e(936).then(n.t.bind(n,75,17)),"stories-b":()=>n.e(565).then(n.t.bind(n,1958,17))};async function a(e,t){const n=o["carousel"===e||"collections"===e?t:e+"-"+t];if(!n)return"";try{return(await n()).default||""}catch(a){return""}}},7983:function(e,t,n){function o(e,t=!1){if(null==e)return{events:[],all_events:[]};if(t){return{events:e.events&&e.events[0]&&e.events[0].events||[],all_events:e.all_events||[]}}return{events:e.events||[],all_events:e.all_events||[]}}function a(e,t){if(null==e||!e.eventsets||!e.eventsets[t])return{events:[],all_events:[]};return{events:e.eventsets[t].reduce((e,t)=>e.concat(t.events||[]),[]),all_events:[]}}n.d(t,{Np:function(){return o},Po:function(){return a}})},8171:function(e){e.exports=".wht-neo-rail{-webkit-overflow-scrolling:touch;display:flex;gap:var(--wht-neo-gap,var(--wht-neo-gap-auto,14px));height:100%;overflow-x:auto;overscroll-behavior-x:contain;padding-block:var(--wht-neo-rail-pad-block-inner,6px);padding-inline:var(--wht-neo-rail-pad-inline,12px);scroll-padding-inline:var(--wht-neo-rail-pad-inline,12px);scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:pan-x}.wht-neo-rail::-webkit-scrollbar{display:none}.wht-neo-slide{aspect-ratio:var(--wht-neo-aspect,9/16);background:var(--wht-neo-slide-bg,#ececec);border-radius:var(--wht-neo-radius,10%);box-shadow:1px 1px 1px 0 var(--wht-neo-ring-c1,var(--wht-neo-ring-c1-auto,rgba(52,52,52,.55))),-1px -1px 1px 0 var(--wht-neo-ring-c2,var(--wht-neo-ring-c2-auto,rgba(188,42,141,.55))),1px -1px 1px 0 var(--wht-neo-ring-c1,var(--wht-neo-ring-c1-auto,rgba(52,52,52,.55))),-1px 1px 1px 0 var(--wht-neo-ring-c2,var(--wht-neo-ring-c2-auto,rgba(188,42,141,.55)));cursor:pointer;flex:0 0 auto;max-width:var(--wht-neo-slide-max-width,240px);overflow:hidden;position:relative;scroll-snap-align:start;scroll-snap-stop:normal;transform-origin:bottom center;transition:transform .2s ease;width:var(--wht-neo-slide-width,var(--wht-neo-slide-width-auto,44%))}.wht-neo-slide,.wht-neo-slide.wht-neo-active{opacity:1;transform:none}:where([data-wht-vp=landscape]) .wht-neo-slide:hover{transform:scale(1.04)}.wht-neo-slide--duo{background:transparent;border-radius:0;box-shadow:none;display:flex;flex-direction:column;gap:var(--wht-neo-duo-gap,8px);overflow:visible}:where([data-wht-vp=landscape]) .wht-neo-slide--duo:hover{transform:none}.wht-neo-duo-item{background:var(--wht-neo-slide-bg,#ececec);border-radius:var(--wht-neo-radius,10%);box-shadow:1px 1px 1px 0 var(--wht-neo-ring-c1,var(--wht-neo-ring-c1-auto,rgba(52,52,52,.55))),-1px -1px 1px 0 var(--wht-neo-ring-c2,var(--wht-neo-ring-c2-auto,rgba(188,42,141,.55)));cursor:pointer;flex:1 1 0;min-height:0;overflow:hidden;position:relative;transition:transform .2s ease}:where([data-wht-vp=landscape]) .wht-neo-duo-item:hover{transform:scale(1.04)}.wht-neo-media{aspect-ratio:auto;background:transparent;border-radius:0;height:100%;overflow:visible;position:relative;width:100%}.wht-neo-video{display:block;height:100%;object-fit:var(--wht-neo-fit,cover);width:100%}:where([data-wht-vp=landscape]) .wht-neo-rail{padding-inline:var(--wht-neo-rail-pad-inline,12px)}:where([data-wht-vp=landscape]) .wht-neo-slide{scroll-snap-align:start}.wht-neo-rail-wrap{position:relative}.wht-neo-nav{display:none}:where([data-wht-vp=landscape]) .wht-neo-nav{align-items:center;background:var(--wht-neo-nav-bg,#fff);border:none;border-radius:50%;box-shadow:var(--wht-neo-nav-shadow,0 1px 4px rgba(0,0,0,.18));color:var(--wht-neo-nav-color,#090a0b);cursor:pointer;display:flex;height:var(--wht-neo-nav-size,36px);justify-content:center;padding:0;position:absolute;top:50%;transform:translateY(-50%);width:var(--wht-neo-nav-size,36px);z-index:2}:where([data-wht-vp=landscape]) .wht-neo-nav-prev{left:var(--wht-neo-nav-inset,6px)}:where([data-wht-vp=landscape]) .wht-neo-nav-next{right:var(--wht-neo-nav-inset,6px)}.wht-neo-nav svg{display:block;height:42%;width:42%}.wht-neo-poster{background:#000;height:100%;left:0;overflow:hidden;pointer-events:none;position:fixed;top:0;width:100%;z-index:2147483648}.wht-neo-poster--hidden{height:0;visibility:hidden;width:0}.wht-neo-poster-img{height:100%;object-fit:cover;pointer-events:none;width:100%}.wht-neo-poster-spin{left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%)}.wht-neo-sfp-spinner{height:64px;position:relative;width:64px}.wht-neo-sfp-spinner span{animation:wht-neo-sfp-fade 1s linear infinite;background-color:#d8cdd0;border-radius:50%;height:10px;left:50%;margin:-5px 0 0 -5px;position:absolute;top:50%;width:10px}.wht-neo-sfp-spinner span:first-child{animation-delay:-1s;transform:rotate(0deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(2){animation-delay:-.875s;transform:rotate(45deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(3){animation-delay:-.75s;transform:rotate(90deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(4){animation-delay:-.625s;transform:rotate(135deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(5){animation-delay:-.5s;transform:rotate(180deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(6){animation-delay:-.375s;transform:rotate(225deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(7){animation-delay:-.25s;transform:rotate(270deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(8){animation-delay:-.125s;transform:rotate(315deg) translateY(-22px)}@keyframes wht-neo-sfp-fade{0%,87.5%,to{background-color:#d8cdd0}12.5%{background-color:#8d6f78}}.wht-neo-heading{align-items:center;display:flex;flex-direction:column;justify-content:center;margin-bottom:6px;position:relative;z-index:1}.wht-neo-heading-inner{padding:2px 24px;position:relative}.wht-neo-heading h2{color:#1a1a1a;font-weight:300;letter-spacing:.5px;line-height:1.2;margin:0;position:relative;text-align:center;text-transform:uppercase;z-index:1}.wht-neo-heading-basic h2{font-family:var(--wht-neo-title-font,inherit);font-size:var(--wht-neo-title-size-portrait,24px)}:where([data-wht-vp=landscape]) .wht-neo-heading{margin-bottom:2px}:where([data-wht-vp=landscape]) .wht-neo-heading-basic h2{font-size:var(--wht-neo-title-size,24px)}.wht-neo-atc,.wht-neo-card,.wht-neo-mute,.wht-neo-playpause,.wht-neo-products,.wht-neo-title,.wht-neo-views{display:none}"},8933:function(e,t,n){n.r(t),n.d(t,{REGISTRY:function(){return b},renderNeoCarousel:function(){return W}});var o=n(7983),a=n(6287),i=n(5e3),r=n(9439),s=n(6387),d=n(8924),l=n(5071),c=n(8171);const p=e=>e?"collections":"carousel",h="https://consumer.whatmore.live",u="wht-neo-css",w="wht-neo-critical",v='.wht-neo-widget{margin-block:var(--wht-neo-rail-pad-block,var(--wht-neo-rail-pad-block-auto,20px))}:where([data-wht-vp="landscape"]) .wht-neo-rail{margin-inline:var(--wht-neo-widget-pad-inline,var(--wht-neo-widget-pad-inline-auto,40px))}.wht-neo-rail{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}.wht-neo-rail::-webkit-scrollbar{display:none}.wht-neo-slide{position:relative;display:flex;flex-direction:column;flex:0 0 auto;width:60%;max-width:360px;scroll-snap-align:center}.wht-neo-media{position:relative;width:100%;aspect-ratio:9/16;border-radius:12px;overflow:hidden;background:#ececec}.wht-neo-video{width:100%;height:100%;object-fit:cover;display:block}.wht-neo-views,.wht-neo-mute,.wht-neo-playpause,.wht-neo-card,.wht-neo-products,.wht-neo-nav,.wht-neo-title,.wht-neo-viewmore,.wht-neo-discount{display:none}';function m(e,t){let n=document.getElementById(e);n||(n=document.createElement("style"),n.id=e,document.head.appendChild(n)),n.textContent=t}function f(e,t){if(!e)return null;const n=e[t];return n&&"object"===typeof n?{skin:n.skin,customCss:n.customCss}:e}async function g(e,t){let n=null;try{n=new URLSearchParams(window.location.search).get("neoskin")}catch(w){}const o="collections"===e?c:l;let a="";const i=n||t&&t.skin,r=(0,d.Ny)(e,i);r&&r!==d.f1[e]&&(a=await(0,s.P)(e,r));const p=t&&t.customCss;let h="";if("string"===typeof p)h=p;else if(p&&"object"===typeof p){const t=r||d.f1[e],n="string"===typeof p[i]?i:Object.keys(p).find(n=>"string"===typeof p[n]&&((0,d.Ny)(e,n)||d.f1[e])===t);n&&(h=p[n])}return m(u,o+"\n"+a+(h?"\n"+h:"")),!0}const b={heading:{data:{source:"embed",field:"whatmoreHeading"},action:null},viewBadge:{data:{source:"backend",field:"event.total_views"},action:null},muteButton:{data:{source:"runtime",field:"video.muted"},action:"toggleMute"},playPauseButton:{data:{source:"runtime",field:"video.paused"},action:"togglePlay"},productCard:{data:{source:"backend",field:"event.products"},action:"redirectPdp"},eventTitle:{data:{source:"backend",field:"event.title"},action:null},productDrawer:{data:{source:"backend",field:"event.products"},action:"redirectPdp"},productThumb:{data:{source:"backend",field:"product.thumbnail_image"},action:null},productTitle:{data:{source:"backend",field:"product.title"},action:null},price:{data:{source:"backend",field:"product.price"},action:null},mrp:{data:{source:"backend",field:"product.compare_price"},action:null},ctaButton:{data:{source:"backend",field:"product.product_link"},action:"redirectPdp"},atcButton:{data:{source:"backend",field:"product.variants"},action:"addToCart"},navArrows:{data:{source:"runtime",field:"rail.scrollLeft"},action:"step"}};function x(e){var t,n;return null!==(t=null===(n=b[e])||void 0===n?void 0:n.action)&&void 0!==t?t:"none"}function y(e,t){var n,o,a;const i=null===(n=b[e])||void 0===n?void 0:n.data;if(!i)return;if("embed"===i.source)return null===(o=t.embed)||void 0===o?void 0:o[i.field];if("runtime"===i.source)return null===(a=t.video)||void 0===a?void 0:a[i.field.split(".").pop()];const r=i.field.split("."),s="product"===r.shift()?t.product:t.event;return r.reduce((e,t)=>null==e?void 0:e[t],s)}const k={INR:"\u20b9",USD:"$",EUR:"\u20ac",GBP:"\xa3",AUD:"A$",CAD:"C$",AED:"AED",SGD:"S$"},_=3,E=3e3,C=5;function L(e){var t,n,o,a;const i=e.event_media_urls;let r=i?(null===(t=i.primary)||void 0===t||null===(n=t.portrait)||void 0===n?void 0:n.poster_image)||(null===(o=i.secondary)||void 0===o||null===(a=o.portrait)||void 0===a?void 0:a.poster_image)||e.poster_image||"":e.poster_image||"";return r&&r.startsWith("https://cdn.shopify.com")&&(r=r.split("?")[0]+"?width=400&height=400"),r}function N(e){return e?e.startsWith("https://cdn.shopify.com")?e.split("?")[0]+"?width=160&height=160":e:""}function z(e,t){const n=Math.round(Number(e));if(!isFinite(n))return"";const o=k[t]||t||"",a=n.toLocaleString("en-IN");return o?`${o} ${a}`:a}function A(e){return(e.products||[]).filter(e=>e&&e.thumbnail_image).sort((e,t)=>("active"===t.product_status)-("active"===e.product_status))}function P(){try{return JSON.parse(localStorage.getItem("whatmore_brand_customizations")).customizations}catch(e){return null}}function I(e,t,n,o){const a=(t||"").trim();if(!a)return null;const i=document.createElement("div");i.className="wht-neo-heading wht-neo-heading-basic",i.dataset.role="heading",null!=n&&""!==n&&i.setAttribute("data-wht-heading-id",String(n));const r=document.createElement("div");r.className="wht-neo-heading-inner";const s=document.createElement("h2");s.className="wht-premium-heading";const d=(e,t)=>{const n=document.createElement("span");return n.className=e,n.textContent=t,n},l=e=>{var t,n,a,i;return null!==(t=null!==(n=null===o||void 0===o||null===(a=o.querySelector("#"+e))||void 0===a?void 0:a.getAttribute("data-wh"))&&void 0!==n?n:null===o||void 0===o||null===(i=o.querySelector("#"+e))||void 0===i?void 0:i.getAttribute("data"))&&void 0!==t?t:""};i.style.setProperty("--wht-neo-title-font",function(){const e=P();return e&&(e.brand_fonts&&e.brand_fonts.carousel_title_font||e.homepage_carousel&&e.homepage_carousel.carousel_title_font)||"inherit"}()),i.style.setProperty("--wht-neo-title-size-portrait",(parseInt(l("whatmoreTitleFontSizePortrait"),10)||24)+"px"),i.style.setProperty("--wht-neo-title-size",(parseInt(l("whatmoreTitleFontSize"),10)||24)+"px");const c=a.split(" ");s.appendChild(d("wht-neo-heading-lead",c.slice(0,2).join(" ")));const p=c.slice(2,4).join(" ");p&&(s.appendChild(document.createTextNode(" ")),s.appendChild(d("wht-neo-heading-mid",p)));const h=c.slice(4).join(" ");return h&&(s.appendChild(document.createTextNode(" ")),s.appendChild(d("wht-neo-heading-tail",h))),r.appendChild(s),i.appendChild(r),i}async function M({shopId:e,widgetIdentity:t,landingLocationType:n="index",collectionId:a,productId:i,isCollections:r}){let s;if(t&&"wgt_default"!==t){const i=r?"collection":"carousel",d=r?n.startsWith("collection")?"collection":n.startsWith("page")?"page":"collection":n.startsWith("product")?"product":"homepage",l=`${h}/brand/${e}/eventset?widget_id=${t}&source_type=${d}&source_id=${r&&a||e}&eventset_type=${i}&status=active,active`;s=(0,o.Po)(await fetch(l).then(e=>e.json()),i)}else if(r){const t=function(){const e=P();return!(!e||!0!==e.collection_product_sync)}()?`${h}/v5/collection?store_id=${e}&client_collection_id=${a||e}&sync_products=true`:`${h}/v2/collection?store_id=${e}&client_collection_id=${a||e}`;s=(0,o.Np)(await fetch(t).then(e=>e.json()),!0)}else if(n.startsWith("product")&&i&&!function(){const e=P();return!(!e||!0!==e.show_homepage_videos_in_pdp)}()){const t=function(){const e=P();return!(!e||!e.recommendation_config||!0!==e.recommendation_config.show_collection_events)}()?`${h}/v2/brand/${e}/product-events/collection/cdn?client_product_id=${i}&limit=50&status=live,upcoming&event_type=video`:function(){const e=P();return!(!e||!e.recommendation_config||!0!==e.recommendation_config.show_recommended_events)}()?`${h}/v2/brand/${e}/product-events/recommendation/cdn?client_product_id=${i}&limit=10&recommended=${!function(){const e=P();return!(!e||!e.product_page_popup_config||!0!==e.product_page_popup_config.show_all_events)}()}&origin=${window.location.hostname}&status=live,upcoming&event_type=video`:`${h}/v2/brand/${e}/product-events?client_product_id=${i}&status=live,upcoming&event_type=video`;s=(0,o.Np)(await fetch(t).then(e=>e.json()),!1)}else{const t=`${h}/v2/events/${e}?status=live,upcoming&is_active=true`;s=(0,o.Np)(await fetch(t).then(e=>e.json()),!1)}return s&&s.events||[]}const $=e=>{const t=`<svg viewBox="0 0 24 24" fill="none" aria-hidden="true">${e}</svg>`,n=document.createElement("span");return n.innerHTML=t,n.firstChild};function S(e){const t=function(e){return e=Number(e),!isFinite(e)||e<=0?"":e<1e3?String(e):e<1e5?(e/1e3).toFixed(0)+"K":(e/1e5).toFixed(0)+"L"}(y("viewBadge",{event:e}));if(!t)return null;const n=document.createElement("div");n.className="wht-neo-views",n.dataset.role="viewBadge",n.appendChild($('<path d="M1 12s4-7 11-7 11 7 11 7-4 7-11 7S1 12 1 12z" stroke="currentColor" stroke-width="2"/><circle cx="12" cy="12" r="3" stroke="currentColor" stroke-width="2"/>'));const o=document.createElement("span");return o.textContent=t,n.appendChild(o),n}function T(e,t,n,o){const a=document.createElement("button");return a.type="button",a.className=t,a.dataset.role=e,a.appendChild($(n)),a.addEventListener("click",e=>{e.stopPropagation(),o(e)}),a}function B(e,t){const n=A(e);if(!n.length)return null;const o=document.createElement("div");o.className="wht-neo-card",o.dataset.role="productCard",n.slice(0,_).forEach(n=>{const a=document.createElement("div");a.className="wht-neo-card-row",a.dataset.role="productRow";const i=y("productThumb",{product:n});if(i){const e=document.createElement("img");e.className="wht-neo-card-thumb",e.dataset.role="productThumb",e.loading="lazy",e.alt="",e.src=N(i),a.appendChild(e)}const r=document.createElement("div");r.className="wht-neo-card-info";const s=document.createElement("div");s.className="wht-neo-card-title",s.dataset.role="productTitle",s.textContent=y("productTitle",{product:n})||"",r.appendChild(s);const d=document.createElement("div");d.className="wht-neo-price-line";const l=z(y("price",{product:n}),n.currency);if(l){const e=document.createElement("span");e.className="wht-neo-price",e.dataset.role="price",e.textContent=l,d.appendChild(e)}const c=function(e){return null!=e.compare_at_price?Number(e.compare_at_price)/100:null!=e.compare_price?Number(e.compare_price):null}(n);if(c&&c>Number(n.price)){const e=document.createElement("span");e.className="wht-neo-mrp",e.dataset.role="mrp",e.textContent=z(c,n.currency),d.appendChild(e);const t=Math.round((c-Number(n.price))/c*100);if(t>0){const e=document.createElement("span");e.className="wht-neo-discount",e.dataset.role="discount",e.textContent=t+"% OFF",d.appendChild(e)}}if(r.appendChild(d),a.appendChild(r),y("ctaButton",{product:n})){const o=document.createElement("button");o.type="button",o.className="wht-neo-cta",o.dataset.role="ctaButton",o.textContent="Shop now",o.addEventListener("click",o=>{o.stopPropagation(),t.action(x("ctaButton"),{event:e,product:n})}),a.appendChild(o)}if(y("atcButton",{product:n})){const o=T("atcButton","wht-neo-atc",'<path d="M12 5v14M5 12h14" stroke="currentColor" stroke-width="2.4" stroke-linecap="round"/>',()=>t.action(x("atcButton"),{event:e,product:n}));a.appendChild(o)}a.addEventListener("click",()=>t.action(x("productCard"),{event:e,product:n})),o.appendChild(a)});const a=Math.min(n.length,_);if(a>1){o.dataset.cyActive="0";let e=0;const t=setInterval(()=>{o.isConnected?(e=(e+1)%a,o.dataset.cyActive=String(e)):clearInterval(t)},E)}return o}function j(e){const t=document.createElement("button");t.type="button",t.className="wht-neo-nav wht-neo-nav-"+e,t.dataset.role="navArrows",t.setAttribute("aria-label","prev"===e?"Previous":"Next");const n="prev"===e?"M15 5l-7 7 7 7":"M9 5l7 7-7 7";return t.innerHTML='<svg viewBox="0 0 24 24" fill="none" aria-hidden="true"><path d="'+n+'" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/></svg>',t}function Y(e,t,n,o){const a=document.createElement("div");a.className="wht-neo-slide",a.setAttribute("role","option"),a.tabIndex=0,a.dataset.ri=t;const i=document.createElement("div");i.className="wht-neo-media";const r=function(e){const t=document.createElement("video");t.muted=!0,t.loop=!0,t.playsInline=!0,t.preload="none",t.setAttribute("muted",""),t.setAttribute("playsinline",""),t.setAttribute("webkit-playsinline",""),t.dataset.role="video",t.className="wht-neo-video";const n=L(e),o=function(e){return e.thumbnail_image||""}(e);return n&&(t.dataset.poster=n),o&&(t.dataset.src=o),t}(e);i.appendChild(r);const s=S(e);s&&i.appendChild(s),i.appendChild(T("muteButton","wht-neo-mute",'<path d="M11 5 6 9H2v6h4l5 4V5z" fill="currentColor"/><path d="M16 9l5 6M21 9l-5 6" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>',()=>o.action(x("muteButton"),{video:r}))),i.appendChild(T("playPauseButton","wht-neo-playpause",'<rect x="7" y="6" width="3" height="12" fill="currentColor"/><rect x="14" y="6" width="3" height="12" fill="currentColor"/>',()=>o.action(x("playPauseButton"),{video:r})));const d=function(e,t){const n=A(e);if(!n.length)return null;const o=document.createElement("div");o.className="wht-neo-products",o.dataset.role="productDrawer",o.setAttribute("data-wht-expanded","false");const a=document.createElement("button");a.type="button",a.className="wht-neo-pill",a.setAttribute("aria-label","Show products");const i=document.createElement("span");i.className="wht-neo-pill-thumbs",n.slice(0,2).forEach(e=>{const t=document.createElement("img");t.className="wht-neo-pill-thumb",t.loading="lazy",t.alt="",t.src=N(e.thumbnail_image),i.appendChild(t)}),a.appendChild(i);const r=document.createElement("span");r.className="wht-neo-chevron",r.setAttribute("aria-hidden","true"),a.appendChild(r);const s=document.createElement("div");s.className="wht-neo-panel",n.slice(0,C).forEach(n=>{const o=document.createElement("div");o.className="wht-neo-row",o.setAttribute("role","button"),o.tabIndex=0;const a=document.createElement("img");a.className="wht-neo-row-thumb",a.loading="lazy",a.alt="",a.src=N(n.thumbnail_image),o.appendChild(a);const i=document.createElement("div");i.className="wht-neo-row-info";const r=document.createElement("div");r.className="wht-neo-row-title",r.textContent=n.title||"",i.appendChild(r);const d=z(n.price,n.currency);if(d){const e=document.createElement("div");e.className="wht-neo-row-price",e.textContent=d,i.appendChild(e)}o.appendChild(i);const l=o=>{o.stopPropagation(),t.action(x("productDrawer"),{event:e,product:n})};o.addEventListener("click",l),o.addEventListener("keydown",e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),l(e))}),s.appendChild(o)});const d=document.createElement("button");d.type="button",d.className="wht-neo-chevron wht-neo-chevron-down",d.setAttribute("aria-label","Hide products"),s.appendChild(d);const l=e=>o.setAttribute("data-wht-expanded",e?"true":"false");return a.addEventListener("click",e=>{e.stopPropagation(),l(!0)}),d.addEventListener("click",e=>{e.stopPropagation(),l(!1)}),o.appendChild(a),o.appendChild(s),o}(e,o);if(d&&i.appendChild(d),a.appendChild(i),e.title){const t=document.createElement("div");t.className="wht-neo-title",t.dataset.role="eventTitle",t.textContent=e.title,a.appendChild(t)}const l=B(e,o);l&&a.appendChild(l);const c=()=>o.action("openFullscreen",{event:e,index:t,events:n});return a.addEventListener("click",c),a.addEventListener("keydown",e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),c())}),{slide:a,video:r}}function F(e,t,n){const o=n||e.getAttribute("data-wht-mode"),a=(0,r.di)(t,o);a&&e.style.setProperty("--wht-neo-slide-width-auto",a+"px");const i=(0,r.ub)(t);i&&e.style.setProperty("--wht-neo-circle-size-auto",i+"px");const s=(0,r.GK)(t,o);s&&e.style.setProperty("--wht-neo-slide-height-auto",s+"px")}function D(e,t,{slides:n,realSlides:o,videos:a,cloneCount:i,isLoop:s,onSwipe:d,navPrev:l,navNext:c,mosaic:p,mode:h}){const u=o.length,w=()=>{const e=(0,r.vC)();return e.w>e.h},v="hoverplay"===h&&!(!window.matchMedia||!window.matchMedia("(hover: hover)").matches),m=e=>{if(!e.dataset.loaded&&(e.dataset.loaded="1",e.dataset.poster&&(e.poster=e.dataset.poster),e.dataset.src)){const t=document.createElement("source");t.src=e.dataset.src,t.type="video/mp4",e.appendChild(t),e.load&&e.load()}};let f=null;if("IntersectionObserver"in window?f=(()=>{if(!("IntersectionObserver"in window))return null;const e=new IntersectionObserver(e=>{e.forEach(e=>{const t=e.target;if(e.isIntersecting){if(m(t),!v){const e=t.play&&t.play();e&&e.catch&&e.catch(()=>{})}}else t.pause&&t.pause()})},{threshold:.01,rootMargin:"0px 150px 0px 150px"});return a.forEach(t=>e.observe(t)),e})():a.forEach(e=>{if(m(e),!v){const t=e.play&&e.play();t&&t.catch&&t.catch(()=>{})}}),v&&n.forEach(e=>{const t=e.querySelector(".wht-neo-video");t&&(e.addEventListener("pointerenter",()=>{m(t);const e=t.play&&t.play();e&&e.catch&&e.catch(()=>{})}),e.addEventListener("pointerleave",()=>{t.pause&&t.pause()}))}),"coverflow"===h){f&&(f.disconnect(),f=null);const n=o.length;e.style.overflow="hidden",e.style.scrollSnapType="none";let a=Math.floor(n/2),i=0,s=null,p=0,h=1,u=!0,w=null;const v=e=>(n<=1||(e=(e%n+n)%n)>n/2&&(e-=n),e),g=()=>{o.forEach((e,t)=>{const n=v(t-a)+i,o=Math.max(-3,Math.min(3,n));e.style.setProperty("--wht-neo-cf",o.toFixed(3)),e.style.zIndex=String(100-Math.abs(Math.round(o)))})},b=()=>{o.forEach((e,t)=>{const n=e.querySelector(".wht-neo-video");if(!n)return;const o=Math.abs(v(t-a));if(o<=2&&m(n),o<.5){const e=n.play&&n.play();e&&e.catch&&e.catch(()=>{})}else n.pause&&n.pause()})},x=()=>{var n;const a=null!==(n=(0,r.eG)(t))&&void 0!==n?n:(0,r.vC)().w;a>0&&(e.style.width=Math.round(a)+"px");const i=o[0]&&o[0].offsetWidth;i&&(e.style.height=Math.round(i*(16/9)+48)+"px")},y=e=>{a=((a+e)%n+n)%n,g(),b()};e.addEventListener("pointerdown",t=>{s=t.clientX,p=0,h=o[0]&&o[0].getBoundingClientRect().width||1,e.setAttribute("data-dragging","1");try{e.setPointerCapture(t.pointerId)}catch(n){}}),e.addEventListener("pointermove",e=>{if(null==s)return;const t=e.clientX-s;p=Math.max(p,Math.abs(t)),i=t/h,g()});const k=()=>{null!=s&&(a=((a-Math.round(i))%n+n)%n,i=0,s=null,e.removeAttribute("data-dragging"),g(),b(),p>8&&d&&d())};return e.addEventListener("pointerup",k),e.addEventListener("pointercancel",k),e.addEventListener("click",e=>{p>8&&(e.stopPropagation(),e.preventDefault())},!0),e.addEventListener("wheel",e=>{if(Math.abs(e.deltaX)<=Math.abs(e.deltaY))return;e.preventDefault();const t=Math.abs(e.deltaX);clearTimeout(w),w=setTimeout(()=>{u=!0},70),t<4?u=!0:u&&t>=10&&(u=!1,y(e.deltaX>0?1:-1))},{passive:!1}),l&&l.addEventListener("click",e=>{e.stopPropagation(),y(-1)}),c&&c.addEventListener("click",e=>{e.stopPropagation(),y(1)}),window.addEventListener("resize",()=>{(0,r.Vo)(e.closest(".wht-neo-widget")),x(),g()},{passive:!0}),x(),g(),void b()}let g=0,b=0,x=0,y=0;const k=()=>{g=n.length>1?n[1].offsetLeft-n[0].offsetLeft:n[0].offsetWidth,b=n[0].offsetWidth,x=n[0].offsetLeft,y=u*g};k();const _=t=>{if(!g)return;const n=Math.round((e.scrollLeft-x)/g);e.scrollTo({left:x+(n+t)*g,behavior:"smooth"})};l&&l.addEventListener("click",e=>{e.stopPropagation(),_(-1)}),c&&c.addEventListener("click",e=>{e.stopPropagation(),_(1)});const E=(0,r.vC)(),C=E.h>=E.w,L=t=>Math.max(0,t.offsetLeft-(e.clientWidth-t.offsetWidth)/2);if(s){const t=o[C&&!p&&u>=2?1:0];e.scrollLeft=C&&!p?L(t):t.offsetLeft}else n.length>=2&&C&&!p&&(e.scrollLeft=L(n[1]));const N=()=>{const t=Math.round((e.scrollLeft+e.clientWidth/2-x-b/2)/g);t<i?e.scrollLeft+=y:t>=i+u&&(e.scrollLeft-=y)};let z=!1,A=null,P=!1,I=-1;const M=()=>{P=!0};e.addEventListener("pointerdown",M,{passive:!0}),e.addEventListener("touchstart",M,{passive:!0});const $=e=>n.forEach(t=>t.classList.toggle("wht-neo-active",t===e)),S=()=>{if(z=!1,w())return;const t=e.getBoundingClientRect(),o=t.left+t.width/2;let a=null,i=1/0;n.forEach(e=>{const t=e.getBoundingClientRect(),n=Math.abs(t.left+t.width/2-o);n<i&&(i=n,a=e)});const r=a?parseInt(a.dataset.ri,10):-1;r!==I&&(-1!==I&&P&&d&&d(),P=!1,I=r),$(a)};n.forEach(e=>{e.addEventListener("mouseenter",()=>{w()&&(A=e,$(e))}),e.addEventListener("mouseleave",()=>{w()&&A===e&&(A=null,$(null))})}),e.addEventListener("mouseleave",()=>{w()&&(A=null,$(null))});let T=null;const B=()=>{clearTimeout(T),T=setTimeout(N,120)};e.addEventListener("scroll",()=>{z||(z=!0,requestAnimationFrame(S)),s&&B()},{passive:!0}),s&&(e.addEventListener("touchend",B,{passive:!0}),e.addEventListener("touchcancel",B,{passive:!0})),requestAnimationFrame(S);let j=!1;window.addEventListener("resize",()=>{j||(j=!0,requestAnimationFrame(()=>{j=!1,(0,r.Vo)(e.closest(".wht-neo-widget")),F(e,t,h),k(),S()}))},{passive:!0})}async function W(e){const{rootElement:t,widgetContainer:n,shopId:o,widgetIdentity:s,landingLocationType:l="index",collectionId:c,productId:h,isCollections:u,whatmoreRootId:b,onWidgetView:x,onSwipe:y,showMockOnEmpty:k}=e;if(!t||!o)return!1;let _;document.getElementById(w)||m(w,v);try{[_]=await Promise.all([M({shopId:o,widgetIdentity:s,landingLocationType:l,collectionId:c,productId:h,isCollections:u}),g(p(u),f(e.neoJson,p(u)))])}catch(de){_=null}if(!_||!_.length){if(k)try{const e=await fetch("https://api.whatmore.live/vs/mock-data").then(e=>e.json());_=e&&e.eventsData||[]}catch(de){_=[]}if(!_||!_.length)return!1}const E=(C=e,{action(e,t){var n,o,i,r,s,d,l,c;switch(e){case"openFullscreen":(0,a.w)(L(t.event)),null===(n=C.onOpenEvent)||void 0===n||n.call(C,t.event,t.index,t.events);break;case"redirectPdp":var p;null!==(o=t.product)&&void 0!==o&&o.product_link?window.location.href=t.product.product_link:((0,a.w)(L(t.event)),null===(p=C.onOpenEvent)||void 0===p||p.call(C,t.event));break;case"toggleMute":t.video.muted=!t.video.muted,null===(i=t.video.closest(".wht-neo-slide"))||void 0===i||i.classList.toggle("wht-neo-muted",t.video.muted);break;case"togglePlay":t.video.paused?null===(r=(s=t.video).play)||void 0===r||r.call(s):null===(d=(l=t.video).pause)||void 0===d||d.call(l);break;case"addToCart":null===(c=C.onAddToCart)||void 0===c||c.call(C,t.product,t.event)}}});var C;const N=p(u);let z=null;try{z=new URLSearchParams(window.location.search).get("neoskin")||(f(e.neoJson,N)||{}).skin}catch(de){}const A=(0,d.Ny)(N,z)||d.f1[N],$=(0,d.U5)(A),S="mosaic"===$,T=function(){const e=P();return!!(e&&e.carousel_config&&e.carousel_config.is_event_loop)}()&&_.length>1&&("rail"===$||"mosaic"===$||"hoverplay"===$),B=_.length,W=document.createElement("div");W.className="wht-neo-rail","rail"!==$&&W.setAttribute("data-wht-mode",$),W.setAttribute("role","listbox"),W.setAttribute("aria-label","Video shopping carousel"),o&&W.setAttribute("data-wht-shop",o),s&&W.setAttribute("data-wht-widget",s);const O=[];if(S)for(let a=0,i=!1;a<B;i=!i)i&&a+1<B?(O.push([a,a+1]),a+=2):(O.push([a]),a+=1);else for(let a=0;a<B;a++)O.push([a]);const R=[],q=[],V=[];let H=0;const U=(e,t)=>{let n;if(1===e.length){const t=Y(_[e[0]],e[0],_,E);V.push(t.video),n=t.slide}else n=document.createElement("div"),n.className="wht-neo-slide wht-neo-slide--duo",n.dataset.ri=String(e[0]),e.forEach(e=>{const t=Y(_[e],e,_,E);t.slide.classList.remove("wht-neo-slide"),t.slide.classList.add("wht-neo-duo-item"),V.push(t.video),n.appendChild(t.slide)});R.push(n),t&&q.push(n),W.appendChild(n)};if(T){H=Math.min(O.length,Math.ceil((0,r.vC)().w/((0,r.di)(n,$)||200))+3);for(let e=O.length-H;e<O.length;e++)U(O[e],!1)}if(O.forEach(e=>U(e,!0)),T)for(let a=0;a<H;a++)U(O[a],!1);F(W,n,$),(0,r.aT)(W,n);const G=P();G&&G.tertiary_color&&W.style.setProperty("--wht-neo-cta-bg-auto",G.tertiary_color),S&&G&&(G.brand_theme_color&&W.style.setProperty("--wht-neo-ring-c1-auto",G.brand_theme_color),G.tertiary_color&&W.style.setProperty("--wht-neo-ring-c2-auto",G.tertiary_color));const X=e=>{var t,o,a,i;return null!==(t=null!==(o=null===n||void 0===n||null===(a=n.querySelector("#"+e))||void 0===a?void 0:a.getAttribute("data-wh"))&&void 0!==o?o:null===n||void 0===n||null===(i=n.querySelector("#"+e))||void 0===i?void 0:i.getAttribute("data"))&&void 0!==t?t:""},J=X("whatmoreCollectionHeading"),K=J&&"W"!==J?J:X("whatmoreHeading"),Q=X("whatmoreCollectionId"),Z=I(0,K,Q&&"0"!==Q?Q:X("whatmorePageId"),n),ee=document.createElement("div");ee.className="wht-neo-widget",(0,r.Vo)(ee);const te=parseInt(X("whatmoreTopBottomPadding"),10);ee.style.setProperty("--wht-neo-rail-pad-block-auto",(isFinite(te)?te:20)+"px");const ne=parseInt(X("whatmoreLandscapePadding"),10);ee.style.setProperty("--wht-neo-widget-pad-inline-auto",(isFinite(ne)?ne:40)+"px"),Z&&ee.appendChild(Z);let oe=null;"viewmore"===$&&(W.setAttribute("data-wht-collapsed","1"),oe=document.createElement("button"),oe.type="button",oe.className="wht-neo-viewmore",oe.textContent="View more",oe.addEventListener("click",e=>{e.stopPropagation(),W.removeAttribute("data-wht-collapsed"),oe.remove()}));const ae=document.createElement("div");ae.className="wht-neo-rail-wrap";const ie=j("prev"),re=j("next");if(ae.appendChild(W),ae.appendChild(ie),ae.appendChild(re),ee.appendChild(ae),oe&&ee.appendChild(oe),t.innerHTML="",t.appendChild(ee),t.style.opacity="1",(0,i.Au)(),D(W,n,{slides:R,realSlides:q,videos:V,cloneCount:H,isLoop:T,onSwipe:y,navPrev:ie,navNext:re,mosaic:S,mode:$}),x)if("IntersectionObserver"in window){new IntersectionObserver((e,t)=>{e.some(e=>e.isIntersecting)&&(x(),t.disconnect())},{threshold:0}).observe(W)}else x();const se=document.querySelector(`.whatmore-shimmer-container[data-widget-id="${b}"]`);return se&&se.remove(),t.removeAttribute("data-shimmer-active"),n&&(n.style.minHeight="0px"),!0}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[508],{5071:function(e){e.exports='.wht-neo-rail{-webkit-overflow-scrolling:touch;display:flex;gap:var(--wht-neo-gap,var(--wht-neo-gap-auto,14px));height:100%;overflow-x:auto;overscroll-behavior-x:contain;padding-block:0;padding-inline:var(--wht-neo-rail-pad-inline,calc((100% - var(--wht-neo-slide-width, var(--wht-neo-slide-width-auto, 64%)))/2));scroll-padding-inline:0;scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:pan-x}.wht-neo-rail::-webkit-scrollbar{display:none}.wht-neo-slide{aspect-ratio:var(--wht-neo-aspect,9/16);background:var(--wht-neo-slide-bg,#ececec);border-radius:var(--wht-neo-radius,12px);box-shadow:none;cursor:pointer;flex:0 0 auto;max-width:var(--wht-neo-slide-max-width,none);opacity:var(--wht-neo-side-opacity,.94);overflow:hidden;position:relative;scroll-snap-align:center;scroll-snap-stop:always;transform:scale(var(--wht-neo-side-scale,.94));transform-origin:center center;transition:transform .28s ease,opacity .28s ease;width:var(--wht-neo-slide-width,var(--wht-neo-slide-width-auto,64%))}.wht-neo-slide.wht-neo-active{opacity:1;transform:scale(1)}.wht-neo-media{aspect-ratio:auto;background:transparent;border-radius:0;height:100%;overflow:visible;position:relative;width:100%}.wht-neo-video{display:block;height:100%;object-fit:var(--wht-neo-fit,cover);width:100%}:where([data-wht-vp=landscape]) .wht-neo-rail{padding-inline:var(--wht-neo-rail-pad-inline,0)}:where([data-wht-vp=landscape]) .wht-neo-slide{scroll-snap-align:start}.wht-neo-rail-wrap{position:relative}.wht-neo-nav{display:none}:where([data-wht-vp=landscape]) .wht-neo-nav{align-items:center;background:var(--wht-neo-nav-bg,#fff);border:none;border-radius:50%;box-shadow:var(--wht-neo-nav-shadow,0 1px 4px rgba(0,0,0,.18));color:var(--wht-neo-nav-color,#090a0b);cursor:pointer;display:flex;height:var(--wht-neo-nav-size,36px);justify-content:center;padding:0;position:absolute;top:50%;transform:translateY(-50%);width:var(--wht-neo-nav-size,36px);z-index:2}:where([data-wht-vp=landscape]) .wht-neo-nav-prev{left:var(--wht-neo-nav-inset,6px)}:where([data-wht-vp=landscape]) .wht-neo-nav-next{right:var(--wht-neo-nav-inset,6px)}.wht-neo-nav svg{display:block;height:42%;width:42%}.wht-neo-products{align-items:flex-end;bottom:0;font-family:var(--wht-neo-font,inherit);justify-content:center;left:0;padding-bottom:var(--wht-neo-drawer-bottom,12px);pointer-events:none;position:absolute;right:0;top:0}.wht-neo-products>*{pointer-events:auto}.wht-neo-pill{align-items:center;-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);background:var(--wht-neo-pill-bg,hsla(0,0%,100%,.72));border:none;border-radius:999px;box-shadow:0 4px 16px rgba(0,0,0,.12);cursor:pointer;gap:6px;padding:5px 10px 5px 6px}.wht-neo-pill,.wht-neo-pill-thumbs{display:inline-flex}.wht-neo-pill-thumb{background:#f4f4f4;border:var(--wht-neo-thumb-border,2px solid #fff);border-radius:50%;height:var(--wht-neo-pill-thumb-size,34px);object-fit:cover;width:var(--wht-neo-pill-thumb-size,34px)}.wht-neo-pill-thumb+.wht-neo-pill-thumb{margin-left:-14px}.wht-neo-chevron{background:transparent;border:none;cursor:pointer;display:inline-block;flex-shrink:0;height:16px;position:relative;width:16px}.wht-neo-chevron:before{border-left:2px solid var(--wht-neo-chevron-color,#303632);border-top:2px solid var(--wht-neo-chevron-color,#303632);content:"";height:7px;left:50%;margin:-2px 0 0 -4px;position:absolute;top:50%;transform:rotate(45deg);width:7px}.wht-neo-chevron-down:before{margin-top:-6px;transform:rotate(225deg)}.wht-neo-panel{-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);background:var(--wht-neo-panel-bg,hsla(0,0%,100%,.72));border-radius:var(--wht-neo-panel-radius,16px);box-shadow:0 8px 30px rgba(0,0,0,.12);display:none;flex-direction:column;padding:8px;width:var(--wht-neo-panel-width,88%)}.wht-neo-products[data-wht-expanded=true] .wht-neo-pill{display:none}.wht-neo-products[data-wht-expanded=true] .wht-neo-panel{display:flex}.wht-neo-row{align-items:center;border-bottom:1px solid rgba(0,0,0,.06);cursor:pointer;display:flex;gap:var(--wht-neo-row-gap,10px);padding:var(--wht-neo-row-padding,7px 8px)}.wht-neo-row:last-of-type{border-bottom:none}.wht-neo-row-thumb{background:#f4f4f4;border:var(--wht-neo-thumb-border,2px solid #fff);border-radius:50%;flex-shrink:0;height:var(--wht-neo-row-thumb-size,38px);object-fit:cover;width:var(--wht-neo-row-thumb-size,38px)}.wht-neo-row-info{display:flex;flex-direction:column;gap:3px;min-width:0;text-align:left}.wht-neo-row-title{color:var(--wht-neo-row-title-color,#1a1a1a);font-size:var(--wht-neo-row-title-size,14px);font-weight:var(--wht-neo-row-title-weight,500);line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wht-neo-row-price{color:var(--wht-neo-row-price-color,#1a1a1a);font-size:var(--wht-neo-row-price-size,14px);font-weight:700;line-height:1.2}.wht-neo-panel .wht-neo-chevron-down{align-self:center;box-sizing:content-box;margin-top:12px;padding:8px 28px}.wht-neo-poster{background:#000;height:100%;left:0;overflow:hidden;pointer-events:none;position:fixed;top:0;width:100%;z-index:2147483648}.wht-neo-poster--hidden{height:0;visibility:hidden;width:0}.wht-neo-poster-img{height:100%;object-fit:cover;pointer-events:none;width:100%}.wht-neo-poster-spin{left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%)}.wht-neo-sfp-spinner{height:64px;position:relative;width:64px}.wht-neo-sfp-spinner span{animation:wht-neo-sfp-fade 1s linear infinite;background-color:#d8cdd0;border-radius:50%;height:10px;left:50%;margin:-5px 0 0 -5px;position:absolute;top:50%;width:10px}.wht-neo-sfp-spinner span:first-child{animation-delay:-1s;transform:rotate(0deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(2){animation-delay:-.875s;transform:rotate(45deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(3){animation-delay:-.75s;transform:rotate(90deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(4){animation-delay:-.625s;transform:rotate(135deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(5){animation-delay:-.5s;transform:rotate(180deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(6){animation-delay:-.375s;transform:rotate(225deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(7){animation-delay:-.25s;transform:rotate(270deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(8){animation-delay:-.125s;transform:rotate(315deg) translateY(-22px)}@keyframes wht-neo-sfp-fade{0%,87.5%,to{background-color:#d8cdd0}12.5%{background-color:#8d6f78}}.wht-neo-heading{align-items:center;display:flex;flex-direction:column;justify-content:center;margin-bottom:6px;position:relative;z-index:1}.wht-neo-heading-inner{padding:2px 24px;position:relative}.wht-neo-heading h2{color:#1a1a1a;font-weight:300;letter-spacing:.5px;line-height:1.2;margin:0;position:relative;text-align:center;text-transform:uppercase;z-index:1}.wht-neo-heading-basic h2{font-family:var(--wht-neo-title-font,inherit);font-size:var(--wht-neo-title-size-portrait,24px)}:where([data-wht-vp=landscape]) .wht-neo-heading{margin-bottom:2px}:where([data-wht-vp=landscape]) .wht-neo-heading-basic h2{font-size:var(--wht-neo-title-size,24px)}.wht-neo-atc,.wht-neo-card,.wht-neo-mute,.wht-neo-playpause,.wht-neo-views{display:none}.wht-neo-products{display:flex}'}}]);
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[508],{5071:function(e){e.exports='.wht-neo-rail{-webkit-overflow-scrolling:touch;display:flex;gap:var(--wht-neo-gap,var(--wht-neo-gap-auto,14px));height:100%;overflow-x:auto;overscroll-behavior-x:contain;padding-block:0;padding-inline:var(--wht-neo-rail-pad-inline,calc((100% - var(--wht-neo-slide-width, var(--wht-neo-slide-width-auto, 64%)))/2));scroll-padding-inline:0;scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:pan-x}.wht-neo-rail::-webkit-scrollbar{display:none}.wht-neo-slide{aspect-ratio:var(--wht-neo-aspect,9/16);background:var(--wht-neo-slide-bg,#ececec);border-radius:var(--wht-neo-radius,12px);box-shadow:none;cursor:pointer;flex:0 0 auto;max-width:var(--wht-neo-slide-max-width,none);opacity:var(--wht-neo-side-opacity,.94);overflow:hidden;position:relative;scroll-snap-align:center;scroll-snap-stop:always;transform:scale(var(--wht-neo-side-scale,.94));transform-origin:center center;transition:transform .28s ease,opacity .28s ease;width:var(--wht-neo-slide-width,var(--wht-neo-slide-width-auto,64%))}.wht-neo-slide.wht-neo-active{opacity:1;transform:scale(1)}.wht-neo-media{aspect-ratio:auto;background:transparent;border-radius:0;height:100%;overflow:visible;position:relative;width:100%}.wht-neo-video{display:block;height:100%;object-fit:var(--wht-neo-fit,cover);width:100%}:where([data-wht-vp=landscape]) .wht-neo-rail{padding-inline:var(--wht-neo-rail-pad-inline,0)}:where([data-wht-vp=landscape]) .wht-neo-slide{scroll-snap-align:start}.wht-neo-rail-wrap{position:relative}.wht-neo-nav{display:none}:where([data-wht-vp=landscape]) .wht-neo-nav{align-items:center;background:var(--wht-neo-nav-bg,#fff);border:none;border-radius:50%;box-shadow:var(--wht-neo-nav-shadow,0 1px 4px rgba(0,0,0,.18));color:var(--wht-neo-nav-color,#090a0b);cursor:pointer;display:flex;height:var(--wht-neo-nav-size,36px);justify-content:center;padding:0;position:absolute;top:50%;transform:translateY(-50%);width:var(--wht-neo-nav-size,36px);z-index:2}:where([data-wht-vp=landscape]) .wht-neo-nav-prev{left:var(--wht-neo-nav-inset,6px)}:where([data-wht-vp=landscape]) .wht-neo-nav-next{right:var(--wht-neo-nav-inset,6px)}.wht-neo-nav svg{display:block;height:42%;width:42%}.wht-neo-products{align-items:flex-end;bottom:0;font-family:var(--wht-neo-font,inherit);justify-content:center;left:0;padding-bottom:var(--wht-neo-drawer-bottom,12px);pointer-events:none;position:absolute;right:0;top:0}.wht-neo-products>*{pointer-events:auto}.wht-neo-pill{align-items:center;-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);background:var(--wht-neo-pill-bg,hsla(0,0%,100%,.72));border:none;border-radius:999px;box-shadow:0 4px 16px rgba(0,0,0,.12);cursor:pointer;gap:6px;padding:5px 10px 5px 6px}.wht-neo-pill,.wht-neo-pill-thumbs{display:inline-flex}.wht-neo-pill-thumb{background:#f4f4f4;border:var(--wht-neo-thumb-border,2px solid #fff);border-radius:50%;height:var(--wht-neo-pill-thumb-size,34px);object-fit:cover;width:var(--wht-neo-pill-thumb-size,34px)}.wht-neo-pill-thumb+.wht-neo-pill-thumb{margin-left:-14px}.wht-neo-chevron{background:transparent;border:none;cursor:pointer;display:inline-block;flex-shrink:0;height:16px;position:relative;width:16px}.wht-neo-chevron:before{border-left:2px solid var(--wht-neo-chevron-color,#303632);border-top:2px solid var(--wht-neo-chevron-color,#303632);content:"";height:7px;left:50%;margin:-2px 0 0 -4px;position:absolute;top:50%;transform:rotate(45deg);width:7px}.wht-neo-chevron-down:before{margin-top:-6px;transform:rotate(225deg)}.wht-neo-panel{-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);background:var(--wht-neo-panel-bg,hsla(0,0%,100%,.72));border-radius:var(--wht-neo-panel-radius,16px);box-shadow:0 8px 30px rgba(0,0,0,.12);display:none;flex-direction:column;padding:8px;width:var(--wht-neo-panel-width,88%)}.wht-neo-products[data-wht-expanded=true] .wht-neo-pill{display:none}.wht-neo-products[data-wht-expanded=true] .wht-neo-panel{display:flex}.wht-neo-row{align-items:center;border-bottom:1px solid rgba(0,0,0,.06);cursor:pointer;display:flex;gap:var(--wht-neo-row-gap,10px);padding:var(--wht-neo-row-padding,7px 8px)}.wht-neo-row:last-of-type{border-bottom:none}.wht-neo-row-thumb{background:#f4f4f4;border:var(--wht-neo-thumb-border,2px solid #fff);border-radius:50%;flex-shrink:0;height:var(--wht-neo-row-thumb-size,38px);object-fit:cover;width:var(--wht-neo-row-thumb-size,38px)}.wht-neo-row-info{display:flex;flex-direction:column;gap:3px;min-width:0;text-align:left}.wht-neo-row-title{color:var(--wht-neo-row-title-color,#1a1a1a);font-size:var(--wht-neo-row-title-size,14px);font-weight:var(--wht-neo-row-title-weight,500);line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wht-neo-row-price{color:var(--wht-neo-row-price-color,#1a1a1a);font-size:var(--wht-neo-row-price-size,14px);font-weight:700;line-height:1.2}.wht-neo-panel .wht-neo-chevron-down{align-self:center;box-sizing:content-box;margin-top:12px;padding:8px 28px}:where([data-wht-vp=portrait]) .wht-neo-panel{padding:6px;width:var(--wht-neo-panel-width,96%)}:where([data-wht-vp=portrait]) .wht-neo-row{gap:var(--wht-neo-row-gap,7px);padding:var(--wht-neo-row-padding,5px 6px)}:where([data-wht-vp=portrait]) .wht-neo-row-thumb{border-width:1.5px;height:var(--wht-neo-row-thumb-size,30px);width:var(--wht-neo-row-thumb-size,30px)}:where([data-wht-vp=portrait]) .wht-neo-row-title{font-size:var(--wht-neo-row-title-size,12px)}:where([data-wht-vp=portrait]) .wht-neo-row-price{font-size:var(--wht-neo-row-price-size,12.5px)}:where([data-wht-vp=portrait]) .wht-neo-pill-thumb{height:var(--wht-neo-pill-thumb-size,28px);width:var(--wht-neo-pill-thumb-size,28px)}.wht-neo-poster{background:#000;height:100%;left:0;overflow:hidden;pointer-events:none;position:fixed;top:0;width:100%;z-index:2147483648}.wht-neo-poster--hidden{height:0;visibility:hidden;width:0}.wht-neo-poster-img{height:100%;object-fit:cover;pointer-events:none;width:100%}.wht-neo-poster-spin{left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%)}.wht-neo-sfp-spinner{height:64px;position:relative;width:64px}.wht-neo-sfp-spinner span{animation:wht-neo-sfp-fade 1s linear infinite;background-color:#d8cdd0;border-radius:50%;height:10px;left:50%;margin:-5px 0 0 -5px;position:absolute;top:50%;width:10px}.wht-neo-sfp-spinner span:first-child{animation-delay:-1s;transform:rotate(0deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(2){animation-delay:-.875s;transform:rotate(45deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(3){animation-delay:-.75s;transform:rotate(90deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(4){animation-delay:-.625s;transform:rotate(135deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(5){animation-delay:-.5s;transform:rotate(180deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(6){animation-delay:-.375s;transform:rotate(225deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(7){animation-delay:-.25s;transform:rotate(270deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(8){animation-delay:-.125s;transform:rotate(315deg) translateY(-22px)}@keyframes wht-neo-sfp-fade{0%,87.5%,to{background-color:#d8cdd0}12.5%{background-color:#8d6f78}}.wht-neo-heading{align-items:center;display:flex;flex-direction:column;justify-content:center;margin-bottom:6px;position:relative;z-index:1}.wht-neo-heading-inner{padding:2px 24px;position:relative}.wht-neo-heading h2{color:#1a1a1a;font-weight:300;letter-spacing:.5px;line-height:1.2;margin:0;position:relative;text-align:center;text-transform:uppercase;z-index:1}.wht-neo-heading-basic h2{font-family:var(--wht-neo-title-font,inherit);font-size:var(--wht-neo-title-size-portrait,24px)}:where([data-wht-vp=landscape]) .wht-neo-heading{margin-bottom:2px}:where([data-wht-vp=landscape]) .wht-neo-heading-basic h2{font-size:var(--wht-neo-title-size,24px)}.wht-neo-atc,.wht-neo-card,.wht-neo-mute,.wht-neo-playpause,.wht-neo-views{display:none}.wht-neo-products{display:flex}'}}]);
package/whatmore.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! For license information please see main.8a9ca28b.js.LICENSE.txt */
2
- !function(){"use strict";var e={121:function(e,t,n){n.d(t,{A:function(){return o},H:function(){return i}});const o=n(1637).mM?12:null;function i(e){if(!e||0===e.length)return e;if(null!==o){return e.slice(0,o)}return e}},256:function(e,t,n){n.d(t,{Fk:function(){return c},gv:function(){return s},xv:function(){return l}});var o=n(2567);const i="Whatmore : ",r=(0,o.Ry)();function a(e){console.debug(i+e)}function l(e,t="200"){var n;null!==(n="true"==localStorage.getItem("whatmoreActivateLogs"))&&void 0!==n&&n&&(a("total events received : "+(e&&e.length)),a("events data : "+JSON.stringify(e)))}function s(e){var t;null!==(t="true"==localStorage.getItem("whatmoreActivateLogs"))&&void 0!==t&&t&&a(e)}const c=e=>{"STR60LW4WMA"!=r&&"77604192550"!=r&&"80856187185"!=r&&"86486974743"!=r&&console.log(`%c ${e}`,"background: #D53F8C; color: white; font-size: 19px; padding: 5px; font-weight: semibold;","\n\nFind us here -> https://www.whatmore.ai/shoppable-videos/")}},1637:function(e,t,n){n.d(t,{$$:function(){return i},DK:function(){return p},Dk:function(){return c},K1:function(){return d},MT:function(){return a},OL:function(){return u},Sx:function(){return g},TB:function(){return m},YZ:function(){return o},aD:function(){return r},mM:function(){return s},qW:function(){return l},rz:function(){return h}});const o="58669793418",i="https://consumer.whatmore.live",r="https://whatmore-api-cdn-cache.azureedge.net",a="https://cdn-consumer.whatmore.live",l="https://analytics.whatmore.live",s="undefined"!==typeof window&&/^(localhost|127\.0\.0\.1)$/.test(window.location.hostname)&&new URLSearchParams(window.location.search).has("shimmerTest"),c="carousel",d="video_popup",u="stories",h="collections",m="homepage",p="product_page",g="collection_page"},2567:function(e,t,n){n.d(t,{Ry:function(){return r},U:function(){return l},yI:function(){return a}});var o=n(1637);function i(e,t){const n=document.getElementById(e);return n&&(n.getAttribute("data-wh")||n.getAttribute("data"))||t}function r(){return i("whatmoreShopId",o.YZ)}function a(){return i("whatmoreExtensionType","index")}function l(){return"true"===i("whatmoreIsInDesignMode","false")}},2873:function(e,t,n){n.d(t,{U:function(){return f},W:function(){return u}});var o=n(5443),i=n(2567),r=n(3403);const a=()=>{try{return"true"===localStorage.getItem("whatmoreActivateLogs")}catch(e){return!1}};function l(e,t){const n=e.querySelector(`#${t}`);return n?n.getAttribute("data-wh")||n.getAttribute("data"):null}function s(e){const t=document.getElementById(e);return t?t.getAttribute("data-wh")||t.getAttribute("data"):null}function c(e){const t=parseInt(e,10);return Number.isFinite(t)?t:0}function d(e,t,n,o,i){var r,a;if(!e||!o)return null;if(/^\d+$/.test(o))return null!==(r=null===(a=e[`${t}_${c(o)%n}`])||void 0===a?void 0:a[i])&&void 0!==r?r:null;for(const l of Object.values(e))if(l&&l[i])return l[i];return null}function u({enableSpotlight:e,enableOnHP:t,pageIdSet:n,enableAllPages:o},i,r){return!(!e||!(t&&(i||"").includes("index")||r&&(n||[]).includes(r)||o))}function h(e,t){var n,i;const r=(0,o.hG)(t,"oos_config->show_oos_videos"),a=(0,o.hG)(t,"recommendation_config->show_recommended_events"),u=e=>{if(!e||c(e.etc)<=0)return 0;return c(r?e.etc:e.esc)+(a?c(r?e.rtc:e.rsc):0)},h=null===(n=window.whatmore)||void 0===n?void 0:n.videoPageSignals;if(h&&"pdp"in h)return u(h.pdp);const m=window.whatmorePdpCarouselEvents,p=null!==(i=l(e,"whatmoreProductId"))&&void 0!==i?i:s("whatmoreProductId");return u(d(m,"p",127,p,p))}function m(e,t,n){var i;const r=null===(i=window.whatmore)||void 0===i?void 0:i.collectionMetafields;if(!r)return 0;let a=l(e,"whatmoreCollectionId");if((n||"").startsWith("index")){const e=(0,o.hG)(t,"collections_config->homepage_collection_ids")||[];((0,o.hG)(t,"quiz_config->is_active")?e.length>0:1===e.length)&&(a=String(e[0]))}if(a&&"0"!==a||(a=l(e,"whatmorePageId")),!a)return 0;const s=l(e,"whatmoreWidgetIdentity")||"wgt_default",u=d(r,"c",63,a,"wgt_default"!==s?`${a}_${s}`:a);if(!u)return 0;return c((0,o.hG)(t,"oos_config->show_oos_videos")?u.tc:u.sc)}function p(e,t,n){const i=function(e){const t=e.querySelector(".whatmore-widget"),n=t&&(t.getAttribute("data-wh")||t.getAttribute("data"));if(n)return n;const o=e.querySelector(".whatmore-template-type"),i=o&&(o.getAttribute("data-wh")||o.getAttribute("data"))||"";return"template-banner-a"===i?"banner":i.startsWith("template-collections")?"collection":"template-stories-a"===i||"template-stories-b"===i?"stories":"template-embed"===i?"embed":i.startsWith("template-")?"carousel":null}(e);switch(i){case"carousel":return function(e,t,n){var i,r,a;const u=l(e,"whatmoreWidgetIdentity")||"wgt_default",h=(0,o.hG)(t,"oos_config->show_oos_videos"),m=(0,o.hG)(t,"show_homepage_videos_in_pdp"),p="wgt_default"!==u;if((n||"").startsWith("product")&&(p||!m)){var g,f;const t=window.whatmorePdpCarouselEvents,n=null!==(g=l(e,"whatmoreProductId"))&&void 0!==g?g:s("whatmoreProductId");if("wgt_default"===u){var w,v,_;const e=null!==(w=d(t,"p",127,n,n))&&void 0!==w?w:null===(v=window.whatmore)||void 0===v||null===(_=v.videoPageSignals)||void 0===_?void 0:_.pdp;return e?c(h?e.etc:e.esc):0}if(!t)return 0;const o=u.split("_")[1];if(!o)return 0;const i=null===(f=t[`w_${o[0]}`])||void 0===f?void 0:f[u];if(!i)return 0;const r=i.scope_mode||"all",a=i.scope_targets||[];return"all"===r||"include"===r&&a.includes(n)||"exclude"===r&&!a.includes(n)?c(h?i.etc:i.esc):0}const y=null!==(i=window.whatmoreHomepageCarouselEvents)&&void 0!==i?i:null===(r=window.whatmore)||void 0===r||null===(a=r.videoPageSignals)||void 0===a?void 0:a.hp;if(!y)return 0;if("wgt_default"===u)return c(h?y.tc:y.sc);const b=y[u];return b?c(h?b.tc:b.sc):0}(e,t,n);case"collection":return m(e,t,n);case"banner":return function(e){var t,n,o;const i=window.whatmoreHpBannerEventCounts;if(!i)return c(null===(t=window.whatmore)||void 0===t||null===(n=t.videoPageSignals)||void 0===n?void 0:n.banner_tc);const r=l(e,"whatmoreWidgetIdentity")||"wgt_default";return c("wgt_default"!==r?null===(o=i[r])||void 0===o?void 0:o.tc:i.tc)}(e);case"stories":return function(e,t,n){var i,r;const a=(0,o.hG)(t,"stories_config")||{},l=window.innerWidth>window.innerHeight;return l&&!a.show_stories_in_landscape_mode?0:l||a.show_stories_in_mobile_mode?(n||"").startsWith("index")?c(null===(s=window.whatmore)||void 0===s||null===(d=s.storyEvents)||void 0===d||null===(u=d.events)||void 0===u?void 0:u.length):(n||"").startsWith("product")?h(e,t):c(null===(i=window.whatmore)||void 0===i||null===(r=i.videoPageSignals)||void 0===r?void 0:r.stories_tc):0;var s,d,u}(e,t,n);case"embed":return function(e,t,n){var i,r,a;if((n||"").startsWith("product"))return(0,o.hG)(t,"product_page_popup_config->show_product_page_popup")?h(e,t):0;if((n||"").startsWith("collection"))return function({showCollectionPagePopup:e},t){return!(!0!==e||!(t||"").startsWith("collection"))}({showCollectionPagePopup:(0,o.hG)(t,"collection_page_popup_config->show_collection_page_popup")},n)?m(e,t,n):0;const l=s("whatmoreCollectionId");if(!u({enableSpotlight:(0,o.hG)(t,"spotlight_config->enable_spotlight"),enableOnHP:(0,o.hG)(t,"spotlight_config->enable_in_homepage"),pageIdSet:(0,o.hG)(t,"spotlight_config->enable_page_id_set"),enableAllPages:(0,o.hG)(t,"spotlight_config->enable_all_pages")},n,l))return 0;const d=null===(i=window.whatmore)||void 0===i||null===(r=i.videoPageSignals)||void 0===r||null===(a=r.eventset)||void 0===a?void 0:a.homepage;return d?c((0,o.hG)(t,"oos_config->show_oos_videos")?d.tc:d.sc):0}(e,t,n);default:return 0}}let g={path:null,flags:null};function f(){const e=window.location.pathname;if(g.path===e&&g.flags)return g.flags;let t=!1,n=!1;try{var l,s,c,d;const e=null!==(l=null===(s=window.whatmore)||void 0===s?void 0:s.frontendCustomizations)&&void 0!==l?l:(0,o.VA)(),a=(0,i.yI)(),u=document.getElementsByClassName("whatmore-base");for(const o of u){if(p(o,e,a)>0&&(t=!0,!(0,r.i)(o))){n=!0;break}}!0===(null===(c=window.whatmore)||void 0===c||null===(d=c.videoPageSignals)||void 0===d?void 0:d.quota_breached)&&(n=!1)}catch(h){a()&&console.error("Whatmore :: video-page flag resolution failed",h),t=!1,n=!1}const u={is_video_page:t,eligible_own_group:n};return g={path:e,flags:u},a()&&console.log("[VideoPageResolver]",e,u),u}},3064:function(e,t,n){n.d(t,{A:function(){return o}});const o=function(e,t,n,o){var i,r;return{landing_location_type:t.landingLocationType,template_type:t.templateType,whatmore_event:{id:e.event_id,event_type:null!==(i=null===e||void 0===e?void 0:e.event_type)&&void 0!==i?i:null,eventset_id:null!==(r=e.eventset_id)&&void 0!==r?r:null,cta_list:o.map(e=>e.cta_id),product_list:n.map(e=>e.product_id)}}}},3208:function(e,t,n){n.d(t,{Z:function(){return m},$:function(){return h}});var o=n(6074);const i=function(e,t){const n={metric_event_list:e},i=void 0!==t?t:e.length<10;return(0,o.d)(n,i)},r="_whatmore_bulk_events",a=9,l=9e3;let s=null,c=!1;function d(){try{return JSON.parse(localStorage.getItem(r))||[]}catch(e){return[]}}function u(){null===s&&0!==d().length&&(s=setTimeout(()=>{s=null,h()},l))}function h(e){if(c&&!e)return Promise.resolve();const t=d();if(0===t.length)return Promise.resolve();c=!0,null!==s&&(clearTimeout(s),s=null);const n=new Set(t.map(e=>e.event_id));return i(t,e).then(()=>{const e=d().filter(e=>!n.has(e.event_id));e.length>0?localStorage.setItem(r,JSON.stringify(e)):localStorage.removeItem(r)}).catch(()=>{}).finally(()=>{c=!1,u()})}function m(e){const t=d();t.push(e),localStorage.setItem(r,JSON.stringify(t)),t.length>=a?h():u()}},3403:function(e,t,n){function o(e){try{if(window.Shopify&&window.Shopify.designMode)return!1;let t=localStorage.getItem("wht_user_group");if("qa_preview"===t&&(t=sessionStorage.getItem("wht_ab_preview")||t),!t||"default_group"===t)return!1;const n=window.whatmore&&window.whatmore.abTestConfig;if(!n||!n.groups||!n.groups[t])return!1;const o=e.getAttribute("data-wht-surface")+":"+e.getAttribute("data-wht-type")+":"+e.getAttribute("data-wht-widget");return!(n.groups[t].widget_ids||[]).includes(o)}catch(t){return!1}}n.d(t,{i:function(){return o}})},4421:function(e,t,n){n.d(t,{Q:function(){return l},a:function(){return a}});const o="_whatmore_session_utm",i={utm_source:"source",utm_medium:"medium",utm_campaign:"campaign",utm_term:"term",utm_content:"content",gclid:"gclid",fbclid:"fbclid"},r=200;function a(){try{if(null!==sessionStorage.getItem(o))return;sessionStorage.setItem(o,JSON.stringify(function(){const e=new URLSearchParams(window.location.search),t={};return Object.keys(i).forEach(n=>{const o=e.get(n);o&&(t[i[n]]=o.slice(0,r))}),t}()))}catch(e){}}function l(){try{const e=JSON.parse(sessionStorage.getItem(o))||{};return Object.keys(e).length?{utm:e}:{}}catch(e){return{}}}},5443:function(e,t,n){var o;n.d(t,{C2:function(){return p},VA:function(){return d},cp:function(){return c},dE:function(){return m},hG:function(){return h}});const i="https://api.whatmore.live",r="whatmore_brand_customizations",a=3e5,l=null!==(o="true"==localStorage.getItem("whatmoreActivateLogs"))&&void 0!==o&&o;function s(e){return new URLSearchParams(window.location.search).get(e)}function c(){const e=s("wtt"),t=s("weid");return null!=e&&null!=t}function d(){try{const e=localStorage.getItem(r);return e?JSON.parse(e).customizations:null}catch(e){return null}}function u(e){try{const t={customizations:e,timestamp:(new Date).getTime()};localStorage.setItem(r,JSON.stringify(t)),l&&console.log(`[${(new Date).toLocaleTimeString()}] \u2705 Customizations saved to cache`)}catch(t){console.error("Whatmore: Error saving customizations to cache:",t)}}function h(e,t){if(!e)return null;const n=t.split("->");let o=e;for(const i of n){if(!o||"object"!==typeof o||!(i in o))return null;o=o[i]}return o}async function m(e){var t,n;if(l&&console.log(`[${(new Date).toLocaleTimeString()}] \ud83d\udd0d Getting customizations...`),null!==(t=window)&&void 0!==t&&null!==(n=t.whatmore)&&void 0!==n&&n.frontendCustomizations&&"object"===typeof window.whatmore.frontendCustomizations){l&&console.log(`[${(new Date).toLocaleTimeString()}] \u2705 Using customizations from window.whatmore.frontendCustomizations`);const e=window.whatmore.frontendCustomizations;return u(e),e}const o=function(){try{const e=localStorage.getItem(r);if(!e)return null;const t=JSON.parse(e);return t.timestamp+a>=(new Date).getTime()?t.customizations:null}catch(e){return console.error("Whatmore: Error reading customizations cache:",e),null}}();if(o)return l&&console.log(`[${(new Date).toLocaleTimeString()}] \u2705 Using customizations from cache`),o;l&&console.log(`[${(new Date).toLocaleTimeString()}] \u26a0\ufe0f No cached customizations, fetching from backend...`);const s=await async function(e){try{l&&console.log(`[${(new Date).toLocaleTimeString()}] \ud83c\udf10 Fetching customizations from backend for shopId: ${e}`);const t=await fetch(`${i}/customization/frontend/${e}`);if(!t.ok)throw new Error(`HTTP error! status: ${t.status}`);const n=await t.json();return l&&console.log(`[${(new Date).toLocaleTimeString()}] \u2705 Customizations fetched from backend`),u(n),n}catch(t){return console.error("Whatmore: Error fetching customizations from backend:",t),null}}(e);return s}function p(e,t,n,o,i){if(n)return l&&console.log(`[${(new Date).toLocaleTimeString()}] \ud83d\udccc Shared link detected - immediate load`),!1;if("template-embed"===o||"template-floating-neo"===o)return l&&console.log(`[${(new Date).toLocaleTimeString()}] \ud83d\udecd\ufe0f Embed/floating widget - immediate load on every page`),!1;if(!e)return l&&console.log(`[${(new Date).toLocaleTimeString()}] \u26a0\ufe0f No customizations - defaulting to immediate load`),!1;const r=h(e,"lazy_load_config->block_widgets"),a=h(e,"collections_config->show_popup_out_of_view");return t&&a?(l&&console.log(`[${(new Date).toLocaleTimeString()}] \ud83d\udce6 Collections with showPopupOutOfView=true - immediate load`),!1):r?(l&&console.log(`[${(new Date).toLocaleTimeString()}] \ud83d\udd04 lazyloadConfig_blockWidget=true - lazy load enabled`),!0):(l&&console.log(`[${(new Date).toLocaleTimeString()}] \u26a1 lazyloadConfig_blockWidget=false - immediate load`),!1)}},5566:function(e,t,n){n.d(t,{CK:function(){return T},Ch:function(){return I},Fu:function(){return S},Hm:function(){return x},NF:function(){return C},d3:function(){return P},wm:function(){return y},zv:function(){return b}});var o=n(5616),i=n(2567),r=n(3208);const a="_whatmore_user_id",l="_whatmore_session_id",s="_whatmore_viewed_products",c="_whatmore_add_to_cart_products",d="_whatmore_session_time",u="_whatmore_store_id",h="_whatmore_qview_index",m="_whatmore_brand_questions",p="_whatmore_seen_questions",g="w_user_type",f=(0,i.Ry)(),w=18e5,v=2592e5,_=6e5;function y(){localStorage.getItem(u)!=f&&localStorage.setItem(u,f),null==localStorage.getItem(a)&&function(){new Date;const e=(0,o.Ak)();localStorage.setItem(a,e)}();const e=new Date,t=localStorage.getItem(d);return null==t?localStorage.setItem(g,"newuser"):null!==t&&e.getTime()>t&&localStorage.setItem(g,"olduser"),localStorage.getItem(a)}function b(){const e=new Date,t=localStorage.getItem(d);return(null==localStorage.getItem(l)||null==t||e.getTime()>t)&&(localStorage.removeItem(l),localStorage.removeItem(d),function(){const e=(0,o.Ak)(),t=(new Date).getTime()+w;localStorage.setItem(l,e),localStorage.setItem(d,t)}(),(0,r.$)()),localStorage.getItem(l)}function S(e,t,n,o,i){const r=(new Date).getTime(),a={event_id:e.event_id,product_id:t.client_product_id,product_title:t.title,price:t.price,timestamp:r,widget_info:n,location:o,user_type:i?"olduser":"newuser",variants:[]};if(null===localStorage.getItem(c))localStorage.setItem(c,JSON.stringify([a]));else{let e=JSON.parse(localStorage.getItem(c)).filter(e=>e.timestamp+v>r);localStorage.setItem(c,JSON.stringify([...e,a]))}}function I(e,t,n,o,i,r="default",a){const l=[],c=(new Date).getTime();if(localStorage.setItem("_whatmore_last_video_view_session",b()),t.map(t=>{const s={event_id:e,product_id:t.client_product_id,product_title:t.title,price:t.price,timestamp:c,variants:[],page:n,widget_type:o,widget_info:i,location:r,user_type:a?"olduser":"newuser"};l.push(s)}),null===localStorage.getItem(s))console.debug("viewed Products",JSON.stringify(l)),localStorage.setItem(s,JSON.stringify(l));else{let t=JSON.parse(localStorage.getItem(s)),n=!1;t.map(t=>{let o=Object.assign({},t);return t.event_id===e&&(t.timestamp=c,n=!0),o}),n?localStorage.setItem(s,JSON.stringify(t)):localStorage.setItem(s,JSON.stringify([...t,...l]))}}function T(){const e=(new Date).getTime();let t=JSON.parse(localStorage.getItem(s));if(!t)return[];let n=t.filter(t=>t.timestamp+v>e);return localStorage.setItem(s,JSON.stringify(n)),n}function x(){if(null!=localStorage.getItem(h)){const e=parseInt(localStorage.getItem(h))+1;localStorage.setItem(h,e)}}function E(){const e=localStorage.getItem(p);return new Set(e?JSON.parse(e):[])}function C(e){const t=E();t.add(e),localStorage.setItem(p,JSON.stringify([...t]))}function P(e){const t=(new Date).getTime(),n=JSON.parse(localStorage.getItem(m));if(!n||(null===n||void 0===n?void 0:n.timestamp)+_<t){const n=null===e||void 0===e?void 0:e.filter(e=>!0===(null===e||void 0===e?void 0:e.is_active)),o=E(),i={questionList:n.filter(e=>!o.has(e.id)),timestamp:t};localStorage.setItem(m,JSON.stringify(i)),localStorage.setItem(h,"0")}}},5616:function(e,t,n){n.d(t,{Ak:function(){return o}});let o=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((e,t)=>e+=(t&=63)<36?t.toString(36):t<62?(t-26).toString(36).toUpperCase():t>62?"-":"_","")},6074:function(e,t,n){n.d(t,{d:function(){return r}});var o=n(1637),i=n(256);const r=function(e,t){const n="ingesting analytis-event";return(0,i.gv)(n),fetch(o.qW+"/event_metrics/bulk",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(e),keepalive:t}).then(e=>{if(!e.ok)throw new Error(n+" failed: HTTP "+e.status);return e}).catch(e=>{throw console.error("error "+n,e),e})}},6080:function(e,t,n){n.d(t,{B_:function(){return o},dK:function(){return r}});const o="_whatmore-tracking-id",i=new Set(["10588815418","64805306592","69385027902","69075894527","9407168559"]);function r(e){return i.has(String(e))}},6287:function(e,t,n){n.d(t,{B:function(){return c},w:function(){return s}});const o={"https://d3syezql093hs1.cloudfront.net":"https://whatmore-brand-video-assets.azureedge.net","https://d2r0bijhs9mx1s.cloudfront.net":"https://whatmore-brand-thumbnail-video-assets.azureedge.net","https://d2oouab8j9eigo.cloudfront.net":"https://whatmore-brand-story-assets.azureedge.net","https://d28nus7q7qajdn.cloudfront.net":"https://whatmore-video-assets.azureedge.net","https://d1zl4k1t5o4s75.cloudfront.net":"https://whatmore-brand-video-assets-720p.azureedge.net"},i={"https://d3syezql093hs1.cloudfront.net":"https://whatmore-brand-video-assets.b-cdn.net","https://d2r0bijhs9mx1s.cloudfront.net":"https://whatmore-brand-thumbnail-video-assets.b-cdn.net","https://d2oouab8j9eigo.cloudfront.net":"https://whatmore-brand-story-assets.b-cdn.net","https://d28nus7q7qajdn.cloudfront.net":"https://whatmore-video-assets-old.b-cdn.net","https://d1zl4k1t5o4s75.cloudfront.net":"https://whatmore-brand-video-assets-720p.b-cdn.net"};const r="whatmore-neo-instant-poster",a="wht-neo-poster--hidden",l=8;function s(e){if(!e)return;if(window.innerWidth>window.innerHeight)return;const t=function(){let e=document.getElementById(r);if(e)return e;e=document.createElement("div"),e.id=r,e.className="wht-neo-poster "+a;const t=document.createElement("img");t.className="wht-neo-poster-img",t.alt="",e.appendChild(t);const n=document.createElement("div");n.className="wht-neo-poster-spin";const o=document.createElement("div");o.className="wht-neo-sfp-spinner";for(let i=0;i<l;i++)o.appendChild(document.createElement("span"));return n.appendChild(o),e.appendChild(n),document.documentElement.appendChild(e),e}();t.querySelector(".wht-neo-poster-img").src=function(e,t){if(!e)return e;if(e.startsWith("https://cdn.shopify.com"))return e;if("AWSCDN"===t)return e;if(!e.includes(".cloudfront.net"))return e;const n="AZURECDN"===t?o:"BUNNYCDN"===t?i:null;if(!n)return e;for(const o of Object.keys(n))if(e.includes(o))return e.replace(o,n[o]);return e}(e,function(){try{const e=localStorage.getItem("whatmore_brand_customizations");if(!e)return null;const t=JSON.parse(e).customizations;return t&&t.cdn_config?t.cdn_config.fallback_cdn:null}catch(e){return null}}()),t.classList.remove(a)}function c(){const e=document.getElementById(r);e&&e.classList.add(a)}},6431:function(e,t,n){n.d(t,{i:function(){return r}});const o={wgt_1bn9ng8b:{portrait:.5625,landscape:700/1440}};function i(e,t){if(!e)return null;const n=t?e.portrait:e.landscape;return void 0===n||null===n?null:n}function r(e,t,n){const r=i(null===e||void 0===e?void 0:e[t],n);return null!==r?r:i(o[t],n)}},6694:function(e,t,n){n.d(t,{B:function(){return m},G:function(){return h}});var o=n(256),i=n(2567),r=n(1637),a=n(5443),l=n(3208),s=n(4421),c=n(3064),d=n(7156),u=n(9296);function h(){try{return["localhost","127.0.0.1"].includes(window.location.hostname)&&"true"!==localStorage.getItem("whatmoreAllowLocalAnalytics")}catch(e){return!1}}const m=function({userInteractionType:e="",userInteractionMetadata:t={},widgetSourceDetails:n={},event:m="",productList:p=[],ctaList:g=[]}={}){var f;const w=(0,i.U)(),v=(0,i.Ry)(),_=v===r.YZ,y="72201044272"==v&&"event-view"==e?null!==(f=JSON.parse(localStorage.getItem("_user_wh_lc")))&&void 0!==f?f:{latitude:"",longitude:""}:{};if(t={...(0,s.Q)(),...t,...y,user_type:null!=localStorage.getItem("w_user_type")?"olduser":"newuser"},!(0,a.hG)((0,a.VA)(),"event_tracking->is_enabled")||_||w||h())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 b={...(0,u.S)(),interaction_data:(0,d.l)(e,t),data:(0,c.A)(m,n,p,g)};"true"==localStorage.getItem("whatmoreActivateLogs")&&(0,o.xv)(b),(0,l.Z)(b)}},7020:function(e,t,n){function o(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)e[o]=n[o]}return e}n.d(t,{A:function(){return i}});var i=function e(t,n){function i(e,i,r){if("undefined"!==typeof document){"number"===typeof(r=o({},n,r)).expires&&(r.expires=new Date(Date.now()+864e5*r.expires)),r.expires&&(r.expires=r.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var l in r)r[l]&&(a+="; "+l,!0!==r[l]&&(a+="="+r[l].split(";")[0]));return document.cookie=e+"="+t.write(i,e)+a}}return Object.create({set:i,get:function(e){if("undefined"!==typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],o={},i=0;i<n.length;i++){var r=n[i].split("="),a=r.slice(1).join("=");try{var l=decodeURIComponent(r[0]);if(o[l]=t.read(a,l),e===l)break}catch(s){}}return e?o[e]:o}},remove:function(e,t){i(e,"",o({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,o({},this.attributes,t))},withConverter:function(t){return e(o({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},7156:function(e,t,n){n.d(t,{O:function(){return o},l:function(){return i}});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",SHOPNOW_VIEWMORE_CLICKED:"shop-now-view-more-clicked",SHOPNOW_PRODUCT_TITLE_CLICKED:"shop-now-product-title-clicked",VIDEO_TILE_PRODUCT_THUMBNAIL_CLICKED:"video-tile-product-thumbnail-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",PAGE_VISITED:"page-visited",FIRST_TOUCH:"first-touch",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"}),i=function(e,t){return{name:e,metadata:t}}},8924:function(e,t,n){n.d(t,{Ny:function(){return l},U5:function(){return s},f1:function(){return i}});const o={"mosaic-ring":"mosaic","mosaic-plain":"mosaic",hoverplay:"hoverplay",viewmore:"viewmore",feed:"feed",coverflow:"coverflow"},i={carousel:"standard",collections:"mosaic-ring"},r={carousel:{a:"standard",b:"card",c:"mosaic-ring",d:"mosaic-plain",e:"hoverplay",f:"info-strip",g:"text-overlay",h:"focused",i:"coverflow",j:"minimal",l:"feed",s:"circle",v:"viewmore",overlay:"overlay"},collections:{a:"mosaic-ring",b:"mosaic-plain",c:"hoverplay",d:"card",e:"standard",f:"info-strip",g:"text-overlay",h:"focused",i:"coverflow",j:"minimal",l:"feed",s:"circle",v:"viewmore"}},a=new Set(["standard","card","mosaic-ring","mosaic-plain","hoverplay","info-strip","text-overlay","focused","coverflow","minimal","feed","circle","viewmore","overlay"]);function l(e,t){return t&&"default"!==t&&"a"!==t?a.has(t)?t:(r[e]||r.carousel)[t]||null:null}function s(e){return o[e]||"rail"}},9296:function(e,t,n){n.d(t,{S:function(){return s}});var o=n(5616),i=n(5566),r=n(2567),a=n(7020);var l=n(2873);const s=function(){const e=(0,i.wm)(),t=(0,i.zv)(),n=navigator.userAgent,s=(0,r.Ry)();let c;const d=localStorage.getItem("wht_show_carousel");var u;"75310563627"===s&&null!==d?c="true"===d?"jockey-test-group":"jockey-control-group":c=null!==(u=localStorage.getItem("wht_user_group"))&&void 0!==u?u:"";const h=window.location.hostname,m=window.location.pathname,p=(0,o.Ak)(),g=Math.round((new Date).getTime()/1e3),f=function(){var e;return null!==(e=a.A.get("_shopify_s"))&&void 0!==e?e:""}(),w=function(){var e;return null!==(e=a.A.get("_shopify_y"))&&void 0!==e?e:""}(),v="undefined"!==typeof window&&window.whatmore&&window.whatmore.abTestConfig||null,_=v&&null!=v.ab_test_id?v.ab_test_id:null,y=v&&null!=v.version?v.version:null;let b;try{b=(0,l.U)()}catch(S){b={is_video_page:!1,eligible_own_group:!1}}return{user_id:e,session_id:t,user_group:c,ab_test_id:_,ab_test_version:y,user_agent:n,store_id:s,hostname:h,page_path:m,event_id:p,event_timestamp:g,shopify_session_id:f,shopify_user_id:w,is_video_page:b.is_video_page,eligible_own_group:b.eligible_own_group}}},9439:function(e,t,n){function o(e,t){const n=e&&e.querySelector("#"+t),o=n&&(n.getAttribute("data-wh")||n.getAttribute("data")),i=null!=o?parseFloat(o):NaN;return isFinite(i)?i:null}function i(){try{const e=document.getElementById("whatmorePreviewMode");if(e){const t=parseInt(e.getAttribute("width-wh"),10),n=parseInt(e.getAttribute("height-wh"),10);if(t>0&&n>0)return{w:t,h:n}}}catch(e){}return{w:window.innerWidth,h:window.innerHeight}}function r(e){if(!e)return;const t=i();e.setAttribute("data-wht-vp",t.w>t.h?"landscape":"portrait")}n.d(t,{GK:function(){return u},Vo:function(){return r},aT:function(){return m},di:function(){return d},eG:function(){return s},ub:function(){return h},vC:function(){return i}});const a={mosaic:1,hoverplay:1.08};function l(e){return e&&null!=a[e]?a[e]:null}function s(e){if("undefined"===typeof window)return null;try{const e=document.getElementById("whatmorePreviewMode");if(e){const t=parseInt(e.getAttribute("width-wh"),10);if(t>0)return t}}catch(i){}if(!e||!e.parentElement)return null;let t=e;for(;t&&t!==document&&(t=t.parentElement,!t||!t.classList||t.classList.contains("whatmore-base")););if(!t||!t.getBoundingClientRect)return null;const n=t.getBoundingClientRect().width;if(!(n>0))return null;const o=window.getComputedStyle(t);return n-(parseFloat(o.paddingLeft)||0)-(parseFloat(o.paddingRight)||0)}function c(e){var t,n;if("undefined"===typeof window)return null;const r=i(),a=null!==(t=s(e))&&void 0!==t?t:r.w,l=r.h,c=Math.min(a,l),d=l>=a,u=a>=481,h=(null!==(n=o(e,d?"whatmoreVideoTileSizePortrait":"whatmoreVideoTileSize"))&&void 0!==n?n:60)/100,m=.6*c;let p;return p=d?u?.8*m*h:m*h*.9:m*(.5*h*1.3),{widthPx:p,ts:h}}function d(e,t){const n=c(e);if(!n)return null;let o=n.widthPx;const i=l(t);return null!=i&&(o=o*n.ts*i),o=Math.round(o),o>0?o:null}function u(e,t){if(null==l(t))return null;const n=c(e);if(!n)return null;const o=Math.round(n.widthPx*(16/9)*n.ts);return o>0?o:null}function h(e){var t,n;if("undefined"===typeof window)return null;const{w:r,h:a}=i(),l=r>a,s=l?(null!==(t=o(e,"whatmoreStoryTileSizeDesktop"))&&void 0!==t?t:40)/340:(null!==(n=o(e,"whatmoreStoryTileSize"))&&void 0!==n?n:40)/200,c=Math.round((l?a:r)*s);return c>0?c:null}function m(e,t){var n,i;n="--wht-neo-gap-auto",null!=(i=o(t,"whatmoreCollectionsTilesSpacing"))&&isFinite(i)&&e.style.setProperty(n,i+"px")}}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var r=t[o]={id:o,loaded:!1,exports:{}};return e[o](r,r.exports,n),r.loaded=!0,r.exports}n.m=e,n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(o,i){if(1&i&&(o=this(o)),8&i)return o;if("object"===typeof o&&o){if(4&i&&o.__esModule)return o;if(16&i&&"function"===typeof o.then)return o}var r=Object.create(null);n.r(r);var a={};e=e||[null,t({}),t([]),t(t)];for(var l=2&i&&o;("object"==typeof l||"function"==typeof l)&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach(function(e){a[e]=function(){return o[e]}});return a.default=function(){return o},n.d(r,a),r}}(),n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce(function(t,o){return n.f[o](e,t),t},[]))},n.u=function(e){return"static/js/"+({31:"wht-skin-shared-circle",94:"wht-skin-shared-info-strip",126:"wht-neo-banner",172:"wht-skin-shared-coverflow",244:"wht-skin-shared-minimal",259:"location-details",260:"event-click-component",268:"react-main-app",310:"wht-neo-floating",315:"wht-skin-shared-feed",343:"wht-skin-shared-viewmore",506:"wht-skin-shared-focused",508:"wht-skin-shared-standard",545:"wht-skin-shared-card",561:"hls-light",565:"wht-skin-stories-b",579:"wht-neo",719:"wht-neo-stories",760:"homepage-carousel-view",764:"wht-skin-shared-mosaic-plain",781:"wht-skin-shared-hoverplay",833:"wht-skin-shared-text-overlay",838:"wht-skin-shared-mosaic-ring",936:"wht-skin-carousel-overlay",939:"atc-with-form"}[e]||e)+"."+{12:"8b847224",31:"24a0fe1a",94:"c3925c8e",126:"3fb4afc0",172:"e5ba966c",244:"d9ee0e1a",252:"28f145eb",259:"6d7d3e42",260:"d6a08b8e",268:"d82d7b0a",310:"23ff28fb",315:"304d31b7",343:"27108d01",506:"000b6c17",508:"ad609777",545:"8269254f",561:"a58e7660",565:"fc7b5a76",579:"3ab06c8d",580:"f21f06a5",712:"ba396dc5",719:"b5099fc0",760:"1dc820df",764:"374916a6",781:"8a470ec7",833:"8c1ae9ff",838:"cffb44cb",936:"1b3e31a4",939:"88b97d7d"}[e]+".chunk.js"},n.miniCssF=function(e){return"static/css/"+{260:"event-click-component",268:"react-main-app",760:"homepage-carousel-view"}[e]+"."+{260:"f4759a24",268:"9d2b0879",760:"522128da"}[e]+".chunk.css"},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="whatmorelive-react:";n.l=function(o,i,r,a){if(e[o])e[o].push(i);else{var l,s;if(void 0!==r)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var u=c[d];if(u.getAttribute("src")==o||u.getAttribute("data-webpack")==t+r){l=u;break}}l||(s=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,n.nc&&l.setAttribute("nonce",n.nc),l.setAttribute("data-webpack",t+r),l.src=o),e[o]=[i];var h=function(t,n){l.onerror=l.onload=null,clearTimeout(m);var i=e[o];if(delete e[o],l.parentNode&&l.parentNode.removeChild(l),i&&i.forEach(function(e){return e(n)}),t)return t(n)},m=setTimeout(h.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=h.bind(null,l.onerror),l.onload=h.bind(null,l.onload),s&&document.head.appendChild(l)}}}(),n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},n.p="https://cdn.jsdelivr.net/npm/whatmore-react-assets@latest/",function(){if("undefined"!==typeof document){var e=function(e){return new Promise(function(t,o){var i=n.miniCssF(e),r=n.p+i;if(function(e,t){for(var n=document.getElementsByTagName("link"),o=0;o<n.length;o++){var i=(a=n[o]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(i===e||i===t))return a}var r=document.getElementsByTagName("style");for(o=0;o<r.length;o++){var a;if((i=(a=r[o]).getAttribute("data-href"))===e||i===t)return a}}(i,r))return t();!function(e,t,o,i,r){var a=document.createElement("link");a.rel="stylesheet",a.type="text/css",n.nc&&(a.nonce=n.nc),a.onerror=a.onload=function(n){if(a.onerror=a.onload=null,"load"===n.type)i();else{var o=n&&n.type,l=n&&n.target&&n.target.href||t,s=new Error("Loading CSS chunk "+e+" failed.\n("+o+": "+l+")");s.name="ChunkLoadError",s.code="CSS_CHUNK_LOAD_FAILED",s.type=o,s.request=l,a.parentNode&&a.parentNode.removeChild(a),r(s)}},a.href=t,o?o.parentNode.insertBefore(a,o.nextSibling):document.head.appendChild(a)}(e,r,null,t,o)})},t={792:0};n.f.miniCss=function(n,o){t[n]?o.push(t[n]):0!==t[n]&&{260:1,268:1,760:1}[n]&&o.push(t[n]=e(n).then(function(){t[n]=0},function(e){throw delete t[n],e}))}}}(),function(){var e={792:0};n.f.j=function(t,o){var i=n.o(e,t)?e[t]:void 0;if(0!==i)if(i)o.push(i[2]);else{var r=new Promise(function(n,o){i=e[t]=[n,o]});o.push(i[2]=r);var a=n.p+n.u(t),l=new Error;n.l(a,function(o){if(n.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var r=o&&("load"===o.type?"missing":o.type),a=o&&o.target&&o.target.src;l.message="Loading chunk "+t+" failed.\n("+r+": "+a+")",l.name="ChunkLoadError",l.type=r,l.request=a,i[1](l)}},"chunk-"+t,t)}};var t=function(t,o){var i,r,a=o[0],l=o[1],s=o[2],c=0;if(a.some(function(t){return 0!==e[t]})){for(i in l)n.o(l,i)&&(n.m[i]=l[i]);if(s)s(n)}for(t&&t(o);c<a.length;c++)r=a[c],n.o(e,r)&&e[r]&&e[r][0](),e[r]=0},o=self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))}(),n.nc=void 0;var o=n(5443),i=n(121),r=n(6431);const a={heightFactor:1,widthFactor:1,collectionsScale:!1,maxTileWidth:null,useWindowWidth:!1,neoSlideWidth:!1,landscapePadding:null,landscapeSlides:null,portraitTiles:null,tileMarginV:25,tileMarginH:10,centerScale:1,sideScale:1,emphasizeAlways:!1,radius:"5px",headingMode:"ifPresent",headingFlag:null,headingShop:null},l={"template-a":{portraitTiles:3,centerScale:1.05},"template-b":{portraitTiles:3,centerScale:1.05,heightFactor:1.2},"template-g":{portraitTiles:3,centerScale:1.05},"template-neo":{portraitTiles:3,centerScale:1,sideScale:.94,emphasizeAlways:!0,maxTileWidth:340,useWindowWidth:!0,tileMarginV:0,tileMarginH:0,landscapePadding:0,neoSlideWidth:!0},"template-collections-neo":{portraitTiles:3,centerScale:1,sideScale:.94,emphasizeAlways:!0,maxTileWidth:340,useWindowWidth:!0,tileMarginV:0,tileMarginH:0,landscapePadding:0,neoSlideWidth:!0},"template-h":{portraitTiles:3,centerScale:1.05,tileMarginV:12},"template-i":{portraitTiles:3,widthFactor:1.3,landscapeSlides:5,tileMarginV:24,centerScale:1,sideScale:.72},"template-j":{portraitTiles:3,tileMarginV:0,centerScale:1.02,sideScale:.98},"template-c":{tileMarginV:5,tileMarginH:5,radius:"10%",headingMode:"never",collectionsScale:!0},"template-d":{tileMarginV:2,tileMarginH:2,radius:"0%",headingMode:"never",collectionsScale:!0},"template-e":{tileMarginV:2,tileMarginH:2,radius:"5%",collectionsScale:!0,headingMode:"flag",headingFlag:"event_tile_config->show_heading_in_single_tile_carousel",headingShop:["5032640601","53425012925"]},"template-f":{radius:"8px"},"template-feed-a":{tileMarginV:3,headingMode:"never"}};var s,c=n(9439);const d=null!==(s="true"==localStorage.getItem("whatmoreActivateLogs"))&&void 0!==s&&s,u=16/9;function h(e){return(t,n)=>{const o=e.querySelector(`#${t}`);if(!o)return n;return o.getAttribute("data-wh")||o.getAttribute("data")||n}}function m(e,t){if(!e)return null;const n=t.split("->");let o=e;for(const i of n){if(!o||"object"!==typeof o||!(i in o))return null;o=o[i]}return o}function p(e,t){var n,o;const i=(null===(n=e.querySelector("#whatmoreShopId"))||void 0===n?void 0:n.getAttribute("data-wh"))||(null===(o=e.querySelector("#whatmoreShopId"))||void 0===o?void 0:o.getAttribute("data"));if("51273072796"==i||"64967540952"==i)return[document.documentElement.clientHeight,document.documentElement.clientWidth];let r=e;for(;r&&r!==document&&(r=r.parentElement,!r||r.classList.contains("whatmore-base")););let a=window.innerWidth;if(r){const e=r.getBoundingClientRect().width;if(e>0){const t=window.getComputedStyle(r);a=e-(parseFloat(t.paddingLeft)||0)-(parseFloat(t.paddingRight)||0)}0==e&&r.style.setProperty("width","100%","important")}return[window.innerHeight,a]}function g(){return window.location.href.split(/[?#]/)[0]}function f(e,t){const n=h(e),o=n("whatmoreExtensionType",null),i=function(e){return e.querySelector('.whatmore-template-type[data-wh="template-banner-a"]')||e.querySelector('.whatmore-template-type[data="template-banner-a"]')||e.querySelector('.whatmore-template-type[data-wh="template-banner-neo"]')||e.querySelector('.whatmore-template-type[data="template-banner-neo"]')?"banner":e.querySelector('[data-wh="collection"]')||e.querySelector('[data="collection"]')?"collection":e.querySelector('[data-wh="carousel"]')||e.querySelector('[data="carousel"]')?"carousel":null}(e),r=function(e,t,n,o){const i=h(e),r=i("whatmoreShopId",null);if("index"===t&&"carousel"===n)return"homepage";if(t&&t.startsWith("product"))return m(o,"show_homepage_videos_in_pdp")?"homepage":i("whatmoreProductId",null);if("collection"===n){let e;return"19506115"===r?e="343270603":m(o,"collections_config->use_page_link_as_collection_id")?e=m(o,"collections_config->multi_carousel_enabled")?i("whatmoreCollectionUrl",null):g():(e=i("whatmoreCollectionId",null),"0"===e&&(e=i("whatmorePageId",null)),e&&"0"!==e||(e=g())),e}return"carousel"===n?"homepage":null}(e,o,i,t);return{shopId:n("whatmoreShopId",null),landingLocationType:o,widgetType:i,actualId:r,widgetIdentity:n("whatmoreWidgetIdentity","wgt_default"),isValidId:(a=r,!(!a||null===a||"null"===a||""===a)&&/^\d+$/.test(String(a))||"homepage"===r)};var a}function w(e,t,n,o,r){var a;if(null!==(a=m(r,"shimmer_config->enable_shimmer"))&&void 0!==a&&!a)return null;if(null!==i.A)return i.A;if(!n||""===n||"undefined"===n||"null"===n)return null;let l=null;return"homepage"===n?l=function(e,t){const n=window.whatmoreHomepageCarouselEvents;if(!n)return null;const o=m(t,"show_out_of_stock_videos");if(e&&"wgt_default"!==e){const t=n[e];return t?o?t.tc:t.sc||t.tc:null}return o?n.tc:n.sc}(o,r):t&&t.startsWith("product")?l=function(e,t,n){var o;const i=window.whatmorePdpCarouselEvents;if(!i)return null;const r=m(n,"show_out_of_stock_videos");if(t&&"wgt_default"!==t){var a;const n=t.split("_");if(n.length<2||!n[1])return null;const o=null===(a=i[`w_${n[1][0]}`])||void 0===a?void 0:a[t];if(!o)return null;const l=o.scope_mode||"all",s=o.scope_targets||[],c=String(e);let d=!1;return"all"===l?d=!0:"include"===l?d=s.includes(c):"exclude"===l&&(d=!s.includes(c)),d?r?o.etc:o.esc:null}const l=null===(o=i["p_"+parseInt(e)%127])||void 0===o?void 0:o[e];return l?r?l.etc:l.esc:null}(n,o,r):"collection"===e&&(l=function(e,t,n){var o,i;const r=null===(o=window.whatmore)||void 0===o?void 0:o.collectionMetafields;if(!r)return null;const a=t&&"wgt_default"!==t?`${e}_${t}`:e,l=null===(i=r["c_"+parseInt(e)%63])||void 0===i?void 0:i[a];return l?m(n,"show_out_of_stock_videos")?l.tc:l.sc:null}(n,o,r)),null===l||void 0===l||0===l?(d&&console.log(`[Shimmer] Event count is ${l}, skipping shimmer`),null):l}function v(e){const t=h(e);return{videoTileSize:parseInt(t("whatmoreVideoTileSize","60")),videoTileSizePortrait:parseInt(t("whatmoreVideoTileSizePortrait","60")),topBottomPadding:parseInt(t("whatmoreTopBottomPadding","20")),landscapePadding:parseInt(t("whatmoreLandscapePadding","40")),heading:t("whatmoreCollectionHeading","")&&"W"!==t("whatmoreCollectionHeading","")?t("whatmoreCollectionHeading",""):t("whatmoreHeading",""),titleFontSize:parseInt(t("whatmoreTitleFontSize","24")),titleFontSizePortrait:parseInt(t("whatmoreTitleFontSizePortrait","24")),shopId:t("whatmoreShopId",null),collectionsTilesSpacing:parseInt(t("whatmoreCollectionsTilesSpacing","14"))}}function _(e,t,n,o,i){const r=Math.min(t,n);let a,l,s=.6*r*u,c=.6*r;const d="desktop"===e||"mobileLandscape"===e;if("mobilePortrait"===e){const e=o.videoTileSizePortrait/100;c=c*e*.9,s=s*e*.9,a=2,l=0}else if("tablet"===e){const e=o.videoTileSizePortrait/100;c=.8*c*e,s=.8*s*e,h=t/(1.2*c),a=Math.round(10*h)/10,l=0}else if("mobileLandscape"===e)c*=.7,s*=.7,l=o.landscapePadding,a=(t-2*l)/(1.1*c);else{const e=o.videoTileSize/100*1.3*.5;c*=e,s*=e,l=o.landscapePadding,a=(t-2*l)/(1.1*c)}var h;if(i.collectionsScale){const t=("mobilePortrait"===e||"tablet"===e?o.videoTileSizePortrait:o.videoTileSize)/100;c*=t,s*=t}return s*=i.heightFactor,d&&(c*=i.widthFactor,s*=i.widthFactor),d&&i.landscapeSlides&&(a=i.landscapeSlides),null!=i.landscapePadding&&(l=i.landscapePadding),i.maxTileWidth&&c>i.maxTileWidth&&(s*=i.maxTileWidth/c,c=i.maxTileWidth),{height:s,width:c,slidesPerView:a,landscapePadding:l}}function y(e){var t;const{widgetContainer:n,customizations:o,eventCount:i,templateType:r}=e,s=function(e){return{...a,...l[e]||{}}}(r),[d,h]=s.useWindowWidth?[window.innerHeight,window.innerWidth]:p(n),g=v(n),f=function(e,t){const n=e>t,o=e>=481;return n&&o?"desktop":!n&&o?"tablet":n&&!o?"mobileLandscape":"mobilePortrait"}(h,d),w=_(f,h,d,g,s);if(s.neoSlideWidth){let e=(0,c.di)(n);e&&(s.maxTileWidth&&(e=Math.min(e,s.maxTileWidth)),w.width=e,w.height=e*u)}const y=("mobilePortrait"===f||"tablet"===f)&&s.portraitTiles?s.portraitTiles:i,b="never"!==s.headingMode&&("flag"!==s.headingMode||(!!m(o,s.headingFlag)||!!s.headingShop&&(Array.isArray(s.headingShop)?s.headingShop.includes(g.shopId):g.shopId===s.headingShop)))?(S=g.heading,I=g.titleFontSize,S&&""!==S.trim()?Math.round(1.2*I+16):0):0;var S,I;const T=null!==(t=m(o,"carousel_config->width_multiplier"))&&void 0!==t?t:1.1,x=g.topBottomPadding+b+s.tileMarginV+w.height+s.tileMarginV+g.topBottomPadding,E=function(e){const{tileWidth:t,tileHeight:n,numberOfTiles:o,headingHeight:i,topBottomPadding:r,landscapePadding:l,deviceMode:s,windowWidth:c,slidesPerView:d,widthMultiplier:u=1.1,cfg:h=a,gap:m=null}=e,p="desktop"===s||"mobileLandscape"===s;let g=`<div class="whatmore-shimmer-widget-container" style="height: 100%; margin-top: ${r}px; margin-bottom: ${r}px;">\n <div class="whatmore-shimmer-carousel-events" style="height: 100%;">`;i>0&&(g+=`<div style="display:flex;flex-direction:column;justify-content:center;align-items:center;">\n <div style="height:${i-16}px;width:200px;background:#e0e0e0;border-radius:4px;margin-bottom:16px;position:relative;overflow:hidden;">\n <div class="whatmore-shimmer-animation"></div></div></div>`),g+=`<div class="${p?"whatmore-shimmer-events-carousel-landscape":"whatmore-shimmer-events-carousel-portrait"}" style="display:flex;justify-content:center;align-items:center;${p?`padding-left:${l}px;padding-right:${l}px;`:""}">`,g+=`<div style="width:${p?t*d*u+"px":c+"px"};height:fit-content;overflow:hidden;${p?"":"display:flex;justify-content:center;"}">`;const f=`<div style="width:${t}px;height:${n}px;background:#e0e0e0;border-radius:${h.radius};position:relative;overflow:hidden;"><div class="whatmore-shimmer-animation"></div></div>`,w=h.emphasizeAlways||!p&&h.portraitTiles||p&&h.landscapeSlides,v=Math.floor(o/2),_=e=>{const t=w?e===v?h.centerScale:h.sideScale:1,n=1!==t?`transform:scale(${t});`:"";return`<div style="flex-shrink:0;margin:${h.tileMarginV}px ${h.tileMarginH}px;${n}">${f}</div>`};g+=`<div style="display:flex;gap:${null!=m?m:p?Math.round(t*u-t-20):0}px;margin:0 auto;width:max-content;">`;for(let a=0;a<o;a++)g+=_(a);return g+="</div></div></div></div></div>",g}({tileWidth:w.width,tileHeight:w.height,numberOfTiles:y,headingHeight:b,topBottomPadding:g.topBottomPadding,landscapePadding:w.landscapePadding,deviceMode:f,windowWidth:h,slidesPerView:w.slidesPerView,widthMultiplier:T,cfg:s,gap:s.neoSlideWidth?g.collectionsTilesSpacing:null});return{totalHeight:Math.round(x),shimmerHTML:E}}const b={standard:{widthFactor:1,aspect:16/9,scale:.94,maxW:1/0,portraitCenter:!0},card:{widthFactor:1,aspect:2.09,scale:1,maxW:360,portraitCenter:!0},"mosaic-ring":{widthFactor:1,aspect:16/9,scale:1,maxW:240},"mosaic-plain":{widthFactor:1,aspect:16/9,scale:1,maxW:240},"info-strip":{widthFactor:1,aspect:16/9,extraH:45,scale:1,maxW:340,portraitCenter:!0},"text-overlay":{widthFactor:1,aspect:16/9,scale:1,maxW:340,portraitCenter:!0},focused:{widthFactor:1,aspect:16/9,extraH:50,scale:.94,maxW:340,portraitCenter:!0},coverflow:{widthFactor:1.15,aspect:16/9,scale:1,maxW:320},hoverplay:{vwFactor:.575,aspect:16/9,scale:1,maxW:420},feed:{widthFactor:1,aspect:16/9,scale:1,maxW:340},circle:{storySize:!0,aspect:1,scale:1,maxW:120},overlay:{widthFactor:1,aspect:16/9,scale:1,maxW:360,portraitCenter:!0},viewmore:{widthFactor:1,aspect:16/9,scale:1,maxW:220}},S={widthFactor:1,aspect:16/9,scale:1,maxW:340};function I(e){var t,n;const{windowWidth:o,windowHeight:i,customizations:a,widgetIdentity:l}=e,s=function(e){const t=window.whatmoreHpBannerEventCounts;return t?e&&"wgt_default"!==e?t[e]||null:t:null}(l);if(!s||!s.tc)return null;const c={landscape:s.landscape_poster||null,portrait:s.portrait_poster||null};if(!c.landscape&&!c.portrait)return null;const d=o<=i,u=d?c.portrait:c.landscape;if(!u)return null;const h=parseInt(((e,t)=>{const n=document.querySelector(`#${e}`);return n&&(n.getAttribute("data-wh")||n.getAttribute("data"))||t})("whatmoreVideoTileSize","60")),p=m(a,"banner_config->portrait_multiplier"),g=m(a,"banner_config->landscape_multiplier"),f=h/100*(null!==p&&void 0!==p?p:1),w=h/100*(null!==g&&void 0!==g?g:1),v=(0,r.i)(m(a,"banner_config->widget_aspect_ratios"),l,d),_=null!==v&&void 0!==v?v:d?null!==(t=m(a,"banner_config->portrait_aspect_ratio"))&&void 0!==t?t:1:null!==(n=m(a,"banner_config->landscape_aspect_ratio"))&&void 0!==n?n:.5625,y=d?o*f:o*w,b=m(a,"banner_config->is_full_screen")||!1,S=b?o*_:y*_;return{totalHeight:S,shimmerHTML:`\n <div class="whatmore-banner-shimmer-wrapper" style="position:relative;margin:0 auto;width:${b?"100%":`${y}px`};height:${S}px;border-width:${m(a,"theme_config->event_tile->border_width")||"0px"};border-color:${m(a,"theme_config->event_tile->border_color")||"transparent"};border-style:solid;overflow:hidden;background:linear-gradient(135deg,#c0c0c0 0%,#d0d0d0 25%,#e0e0e0 50%,#d0d0d0 75%,#c0c0c0 100%);box-shadow:0 2px 8px rgba(0,0,0,0.08);">\n <img src="${u}" alt="Loading preview" class="whatmore-banner-shimmer-poster" style="position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;display:block;opacity:1;" />\n <div class="whatmore-banner-shimmer-overlay" style="position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(90deg,rgba(255,255,255,0.05) 0%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.05) 100%);background-size:200% 100%;animation:whatmore-banner-shimmer-wave 2.5s ease-in-out infinite;"></div>\n </div>`}}function T(e){var t;const{customizations:n,widgetContainer:o,eventCount:i}=e,[r,a]=p(o),l=function(e){const t=h(e);return{videoTileSize:parseInt(t("whatmoreVideoTileSize","60")),videoTileSizePortrait:parseInt(t("whatmoreVideoTileSizePortrait","60")),landscapePadding:parseInt(t("whatmoreLandscapePadding","0")),collectionsTilesSpacing:parseInt(t("whatmoreCollectionsTilesSpacing","3")),topBottomPadding:parseInt(t("whatmoreTopBottomPadding","20"))}}(o),s=r>a?"portrait":"landscape",c="portrait"===s?l.videoTileSizePortrait:l.videoTileSize,{WIDTH:d}=function(e,t,n){const o=e>t,i=t>e,r=i&&e>=481,a=n/100*1.3*.5,l=n/100,s=Math.min(e,t);let c=.6*s,d=.6*s*(16/9);return o?(c*=a,d*=a):r?(c=.8*c*l,d=.8*d*l):i?(c=c*l*.9,d=d*l*.9):(c*=.7,d*=.7),{WIDTH:c,HEIGHT:d}}(a,r,c),u="portrait"===s?0:l.landscapePadding,g=l.collectionsTilesSpacing,f=d*c*.01,w=m(n,"collections_config->story_tile_size_factor")||1,v=null!==(t=m(n,"collections_config->story_tile_shape"))&&void 0!==t?t:"circle",_=m(n,"collections_config->remove_borders"),y=parseInt(m(n,"collections_config->tile_margin_right"))||0,b=_?2:y||0,S=_?2:5,I=_?2:5,T="circle"===v?"50%":"6%",x=f*w,E="rectangle"===v?1.5*x:x,C=S+E+10+I,P=2*l.topBottomPadding+C,O=a-2*u,k=x+b,W=Math.min(Math.ceil((O+g)/(k+g)),8),A=void 0!==i?i:W,M="landscape"===s?"whatmore-shimmer-events-carousel-landscape":"whatmore-shimmer-events-carousel-portrait";let L=`<div class="whatmore-shimmer-widget-container" style="height:100%;margin-top:${l.topBottomPadding}px;margin-bottom:${l.topBottomPadding}px;overflow:hidden;">\n <div class="whatmore-shimmer-carousel-events" style="height:100%;overflow:hidden;">\n <div class="${M}" style="margin-left:${u}px;margin-right:${u}px;">\n <div class="whatmore-shimmer-collections-flex-stories" style="display:flex;flex-direction:row;gap:${g}px;overflow:hidden;">`;for(let h=0;h<A;h++)L+=`<div style="display:flex;flex-direction:column;justify-content:center;align-items:center;flex-shrink:0;margin-right:${b}px;margin-top:${S}px;margin-bottom:${I}px;">\n <div style="border-radius:${T};overflow:hidden;">\n <div class="whatmore-shimmer-tile" style="flex-shrink:0;height:${E}px;width:${x}px;border-radius:${T};background-color:#e0e0e0;overflow:hidden;border:3px solid #d0d0d0;box-sizing:border-box;">\n <div class="whatmore-shimmer-animation"></div></div></div>\n <div style="width:${x}px;padding-top:10px;"><p style="margin:0;height:0;"></p></div></div>`;return L+="</div></div></div></div>",{totalHeight:Math.round(P),shimmerHTML:L}}function x(e){const{templateType:t,widgetContainer:n,customizations:o}=e,i=f(n,o);if("template-banner-a"===t||"template-banner-neo"===t)return e.widgetIdentity=i.widgetIdentity,I(e);const r=w(i.widgetType,i.landingLocationType,i.actualId,i.widgetIdentity,o);return null===r?null:(e.eventCount=r,e.neoMode?function(e){const{widgetContainer:t,neoMode:n,neoSkin:o,eventCount:i}=e,r=v(t),{w:a,h:l}=(0,c.vC)(),s=a>l?"landscape":"portrait",d=(0,c.di)(t,n)||Math.round(.3*Math.min(a,l)),u=b[o]||S,h=(0,c.GK)(t,n);let m,p;h?(m=Math.min(d,u.maxW),p=h):u.storySize?(m=Math.min((0,c.ub)(t)||Math.round(.135*Math.min(a,l)),u.maxW),p=Math.round(m*u.aspect)+(u.extraH||0)):u.vwFactor?(m=Math.min(Math.round(u.vwFactor*a),u.maxW),p=Math.round(m*u.aspect)+(u.extraH||0)):(m=Math.min(Math.round(d*u.widthFactor),u.maxW,Math.round(.55*a)),p=Math.round(m*u.aspect)+(u.extraH||0));const g=!!r.heading,f="landscape"===s?r.titleFontSize:r.titleFontSizePortrait,w=g?Math.round(1.2*f+4):0,_=r.collectionsTilesSpacing,y="landscape"===s?u.scale:1,I=m*y+_,T=Math.max(1,Math.ceil(a/I)),x=i>0?i:T+2,E=x>T;let C=E?T+2:x,P=E?"overflow":"fit",O=1;if("viewmore"===n){C=Math.min(6,x);const e=(t&&t.getBoundingClientRect().width||a)-24,n=Math.max(1,Math.min(C,Math.floor(e/(m+_))));O=Math.ceil(C/n),P="grid"}else if("feed"===n){const e="landscape"===s?3:2;C=Math.min(8,x),O=Math.ceil(C/e),P="grid"}if("portrait"===s&&u.portraitCenter){const e=Math.max(T+1,3);C=e%2===0?e+1:e}const k="feed"===n?Math.round(m*("landscape"===s?.31:.37)):_,W=Math.round((O*p+Math.max(0,O-1)*k)*y),A=2*r.topBottomPadding+w+W,M=u.portraitCenter?"center":"start",L="landscape"===s?r.landscapePadding:0;let D=`<div class="whatmore-shimmer-neo" data-wht-mode="${n}" data-wht-skin="${o||""}" data-wht-vp="${s}" data-wht-fill="${P}" data-wht-palign="${M}" style="--sh-tile-w:${m}px;--sh-tile-h:${p}px;--sh-gap:${_}px;--sh-scale:${u.scale};margin-top:${r.topBottomPadding}px;margin-bottom:${r.topBottomPadding}px;">`;w>0&&(D+=`<div class="whatmore-shimmer-neo-heading" style="height:${w-16}px;"><div class="whatmore-shimmer-animation"></div></div>`),D+=`<div class="whatmore-shimmer-neo-rail" style="margin-inline:${L}px;">`;for(let c=0;c<C;c++)D+='<div class="whatmore-shimmer-neo-tile"><div class="whatmore-shimmer-animation"></div></div>';return D+="</div></div>",{totalHeight:Math.round(A),shimmerHTML:D}}(e):"template-stories"===t?T(e):y(e))}var E=n(1637);const C="wht-net-probe",P="wht-net-probe-style";function O(e){return"number"===typeof e&&isFinite(e)}function k(e){return e>=10?Math.round(e).toString():e.toFixed(1)}function W(){const e=performance.getEntriesByType&&performance.getEntriesByType("resource")||[];let t=null;for(let n=0;n<e.length;n++){const o=e[n],i=o.transferSize,r=o.responseEnd-o.responseStart;if(i>8192&&r>4){const e=8*i/(r/1e3)/1e6;(!t||i>t.bytes)&&(t={mbps:e,bytes:i,ms:r})}}return t}function A(){try{if("undefined"===typeof window||"undefined"===typeof URLSearchParams||!new URLSearchParams(window.location.search).has("whtProbe"))return;if("undefined"===typeof document||!document.body||document.getElementById(C))return;!function(){!function(){if(document.getElementById(P))return;const e=document.createElement("style");e.id=P,e.textContent=".wht-net{position:fixed;right:8px;bottom:8px;z-index:2147483000;pointer-events:none;font:600 11px/1.35 ui-monospace,SFMono-Regular,Menlo,monospace;color:#fff;background:rgba(12,12,16,.82);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.14);border-radius:9px;padding:7px 9px;min-width:172px;box-shadow:0 4px 14px rgba(0,0,0,.35);letter-spacing:.2px;}.wht-net-grp+.wht-net-grp{margin-top:6px;padding-top:6px;border-top:1px solid rgba(255,255,255,.1);}.wht-net-r1{display:flex;align-items:center;gap:6px;}.wht-net-tag{flex:0 0 auto;width:30px;font-size:9px;font-weight:700;opacity:.5;letter-spacing:.5px;}.wht-net-bar{position:relative;flex:1;height:5px;border-radius:3px;background:rgba(255,255,255,.16);overflow:hidden;}.wht-net-bar>i{position:absolute;left:0;top:0;bottom:0;width:0;border-radius:3px;transition:width .5s ease,background .3s ease;}.wht-net-val{white-space:nowrap;font-weight:700;}.wht-net-sub{margin-top:3px;padding-left:36px;font-size:10px;opacity:.72;font-weight:500;white-space:nowrap;}.wht-net-hdr{margin-bottom:6px;font-size:9px;font-weight:700;letter-spacing:.5px;color:#fc739c;}.wht-net-hdr small{display:block;margin-top:1px;font-size:9px;font-weight:500;letter-spacing:.2px;color:rgba(255,255,255,.6);white-space:nowrap;line-height:1.3;}",document.head.appendChild(e)}();const e=document.createElement("div");e.id=C,e.className="wht-net",e.innerHTML='<div class="wht-net-hdr">WHATMORE DIAGNOSTIC<small>Visible only here, don\'t worry.</small></div><div class="wht-net-grp"><div class="wht-net-r1"><span class="wht-net-tag">NET</span><span class="wht-net-bar"><i></i></span><span class="wht-net-val wht-net-mbps">\u2026</span></div><div class="wht-net-sub wht-net-nsub"></div></div><div class="wht-net-grp"><div class="wht-net-r1"><span class="wht-net-tag">HOST</span><span class="wht-net-bar"><i></i></span><span class="wht-net-val wht-net-hval">\u2026</span></div><div class="wht-net-sub wht-net-hsub"></div><div class="wht-net-sub wht-net-hsub2"></div></div>',document.body.appendChild(e);const t=t=>e.querySelector(t),n=e.querySelectorAll(".wht-net-bar > i"),o=n[0],i=t(".wht-net-mbps"),r=t(".wht-net-nsub"),a=n[1],l=t(".wht-net-hval"),s=t(".wht-net-hsub"),c=t(".wht-net-hsub2"),d={measured:W(),blockedMs:0,longtaskSupported:!1},u=()=>{d.measured=W()||d.measured;const e=navigator&&navigator.connection||{},t=d.measured?d.measured.mbps:O(e.downlink)?e.downlink:null,n=(u=t,h=e.effectiveType,null==u&&h&&(u={"slow-2g":.3,"2g":.6,"3g":2.5,"4g":12}[h]),null==u?{frac:.5,color:"#9a9aa2"}:u<1.5?{frac:.15,color:"#ff4d4f"}:u<4?{frac:.4,color:"#ffa940"}:u<10?{frac:.68,color:"#bae637"}:{frac:.92,color:"#52c41a"});var u,h;o.style.width=Math.round(100*n.frac)+"%",o.style.background=n.color,i.textContent=null!=t?k(t)+" Mbps":"unknown",i.style.color=n.color;const m=[];e.effectiveType&&m.push(e.effectiveType),O(e.rtt)&&m.push(e.rtt+"ms"),d.measured?m.push(Math.round(d.measured.bytes/1024)+"KB in "+Math.round(d.measured.ms)+"ms"):O(e.downlink)&&m.push("\u2193"+k(e.downlink)+" est"),r.textContent=m.length?m.join(" \xb7 "):"no Network Information API";const p=function(){const e=e=>performance.getEntriesByType&&performance.getEntriesByType(e)||[],t=e("navigation")[0]||null;return{fcp:e("paint").reduce((e,t)=>"first-contentful-paint"===t.name?t.startTime:e,null),req:e("resource").length,ttfb:t?t.responseStart:null}}(),g=d.longtaskSupported||O(p.fcp),f=function(e,t,n){if(!n)return{frac:.5,color:"#9a9aa2",label:"n/a"};const o=e||0;return o>600||O(t)&&t>4e3?{frac:.2,color:"#ff4d4f",label:"heavy"}:o>250||O(t)&&t>2200?{frac:.5,color:"#ffa940",label:"moderate"}:{frac:.9,color:"#52c41a",label:"light"}}(d.blockedMs,p.fcp,g);a.style.width=Math.round(100*f.frac)+"%",a.style.background=f.color,l.textContent=f.label,l.style.color=f.color;const w=[];d.longtaskSupported&&w.push("blocked "+Math.round(d.blockedMs)+"ms"),w.push(p.req+" req"),s.textContent=w.join(" \xb7 ");const v=[];O(p.fcp)&&v.push("fcp "+(p.fcp/1e3).toFixed(1)+"s"),O(p.ttfb)&&v.push("ttfb "+Math.round(p.ttfb)+"ms"),c.textContent=v.join(" \xb7 "),c.style.display=v.length?"":"none"};u(),navigator&&navigator.connection&&navigator.connection.addEventListener&&navigator.connection.addEventListener("change",u);"complete"!==document.readyState&&window.addEventListener("load",u,{once:!0});if(setTimeout(u,2500),"undefined"!==typeof PerformanceObserver)try{new PerformanceObserver(e=>{e.getEntries().forEach(e=>{d.blockedMs+=e.duration}),u()}).observe({type:"longtask",buffered:!0}),d.longtaskSupported=!0}catch(h){}}()}catch(e){"undefined"!==typeof console&&console.warn("[whtProbe] disabled:",e)}}var M=n(6287),L=n(9296),D=n(7156),$=n(3064),N=n(6074),H=n(2567),z=n(5566),R=n(4421);let B=!1;const j="_whatmore_first_touch_session";function V(){if(B)return;const e=(0,H.yI)(),t=function(e){return null!==e&&void 0!==e&&e.startsWith("collection")?D.O.COLLECTION_PAGE_VISITED:null!==e&&void 0!==e&&e.startsWith("product")?D.O.PDP_VISITED:null!==e&&void 0!==e&&e.startsWith("index")?D.O.HOMEPAGE_VISITED:null!==e&&void 0!==e&&e.startsWith("page")?D.O.PAGE_VISITED:null}(e),n=(0,z.zv)();if(localStorage.getItem(j)!==n&&(localStorage.setItem(j,n),function(e){const t=(0,L.S)(),n=(0,D.l)(D.O.FIRST_TOUCH,{path:window.location.pathname,landing_location_type:e,...(0,R.Q)()}),o=(0,$.A)("",{landingLocationType:e,templateType:""},[],[]),i={...t,interaction_data:n,data:o};(0,N.d)({metric_event_list:[i]},!0)}(e)),!t)return;B=!0;const o={...(0,L.S)(),interaction_data:(0,D.l)(t,{user_type:null!=localStorage.getItem("w_user_type")?"olduser":"newuser",...(0,R.Q)()}),data:(0,$.A)("",{landingLocationType:e,templateType:""},[],[])};(0,N.d)({metric_event_list:[o]},!0)}var q=n(3208);let G=!1;var F,U,J,K,Y,Z,X,Q,ee=n(6694),te=n(6080),ne=n(3403),oe=n(2873),ie=n(8924);const re=Array.from(document.getElementsByClassName("whatmore-base")),ae=null!==(F="true"==localStorage.getItem("whatmoreActivateLogs"))&&void 0!==F&&F,le=function(e){return"template-banner-a"===e||"template-banner-neo"===e},se=function(e){return"template-collections-a"==e||"template-collections-b"==e||"template-collections-c"==e||"template-collections-d"==e||"template-collections-e"==e||"template-collections-stories"==e||"template-collections-f"==e||"template-collections-g"==e||"template-collections-h"==e||"template-collections-i"==e||"template-collections-feed-a"==e||"template-collections-j"==e||"template-collections-a-1"==e||"template-collections-neo"==e},ce=function(e){return"template-stories-a"===e||"template-stories-b"===e||"template-stories-neo"===e};const de={1:{"template-collections-a":"mosaic-ring","template-collections-b":"mosaic-plain","template-collections-c":"hoverplay","template-collections-d":"card","template-collections-e":"standard","template-collections-f":"info-strip","template-collections-g":"text-overlay","template-collections-h":"focused","template-collections-i":"coverflow","template-collections-j":"minimal","template-collections-feed-a":"feed","template-collections-a-1":"viewmore","template-collections-stories":"circle","template-stories-a":"a","template-stories-b":"b"},2:{"template-a":"standard","template-b":"card","template-c":"mosaic-ring","template-d":"mosaic-plain","template-e":"hoverplay","template-f":"info-strip","template-g":"text-overlay","template-h":"focused","template-i":"coverflow","template-j":"minimal","template-feed-a":"feed","template-a-1":"viewmore","template-stories":"circle"},3:{}};function ue(e){for(let t=1;t<=0;t++){const n=de[t];if(n&&n[e])return n[e]}return null}function he(e,t){const n=document.getElementById(e);if(!n)return t;return n.getAttribute("data-wh")||n.getAttribute("data")||t}function me(e,t,n,i,r){var a;if("template-embed"===n||"template-floating-neo"===n)return;if(ce(n))return;if("60595503283"===ge)return;if(!(null===(a=(0,o.hG)(i,"shimmer_config->enable_shimmer"))||void 0===a||a))return;const l=function(e){return{"template-collections-a":"template-c","template-collections-b":"template-d","template-collections-c":"template-e","template-collections-d":"template-b","template-collections-e":"template-a","template-collections-f":"template-f","template-collections-feed-a":"template-feed-a","template-collections-g":"template-g","template-collections-h":"template-h","template-collections-i":"template-i","template-collections-j":"template-j","template-collections-stories":"template-stories"}[e]||e}(n),[s,c]=p(t);try{const o=function(e,t){const n=ue(e);if("template-neo"!==e&&"template-collections-neo"!==e&&(null===n||ce(e)||le(e)))return{mode:null,skin:null};const o=se(e)?"collections":"carousel";let i=null;try{i=new URLSearchParams(window.location.search).get("neoskin")}catch(l){}const r=null!==n?null:t&&t.neo&&t.neo[o]&&t.neo[o].skin,a=(0,ie.Ny)(o,i||r)||n||ie.f1[o];return{mode:(0,ie.U5)(a),skin:a}}(n,i),a=x({templateType:l,widgetContainer:t,customizations:i,windowWidth:c,windowHeight:s,neoMode:o.mode,neoSkin:o.skin});if(a&&a.totalHeight&&a.shimmerHTML){if(!document.getElementById("whatmore-shimmer-styles")){const e=document.createElement("style");e.id="whatmore-shimmer-styles",e.textContent='\n@keyframes whatmore-shimmer-wave {\n 0% { transform: translateX(-100%); }\n 100% { transform: translateX(100%); }\n}\n@keyframes whatmore-banner-shimmer-wave {\n 0% { background-position: 200% 0; }\n 100% { background-position: -200% 0; }\n}\n@keyframes whatmore-banner-shimmer-pulse {\n 0%, 100% { opacity: 0.3; }\n 50% { opacity: 0.5; }\n}\n.whatmore-pixel-shimmer-container { width: 100%; overflow: hidden; }\n.whatmore-shimmer-heading { position: relative; overflow: hidden; }\n.whatmore-shimmer-tiles-row { display: flex; gap: 12px; overflow: hidden; }\n.whatmore-shimmer-tile-wrapper { flex-shrink: 0; }\n.whatmore-shimmer-tile { position: relative; overflow: hidden; }\n.whatmore-shimmer-product-info { margin-top: 8px; }\n.whatmore-shimmer-animation {\n position: absolute; top: 0; left: 0; width: 100%; height: 100%;\n background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);\n animation: whatmore-shimmer-wave 1.5s infinite;\n}\n/* stories row: center when tiles fit, else start-from-left (left tile never clipped). Auto-margin\n pseudo-elements collapse to 0 on overflow \u2014 unlike justify-content:center, which clips both edges. */\n.whatmore-shimmer-collections-flex-stories::before,\n.whatmore-shimmer-collections-flex-stories::after { content: \'\'; margin: auto; }\n\n/* ===== NEO skin shimmer: one generic skeleton, per-mode SHAPE keyed off data-wht-mode (mirrors the\n neo engine\'s generic-DOM + skin-CSS split). Tile size comes from the engine\'s own computeSlideWidthPx\n via the --sh-tile-w/h vars set inline. ===== */\n.whatmore-shimmer-neo { width: 100%; }\n.whatmore-shimmer-neo-heading { width: 200px; margin: 0 auto 16px; background: #e0e0e0; border-radius: 4px; position: relative; overflow: hidden; }\n.whatmore-shimmer-neo-rail { display: flex; justify-content: center; align-items: center; gap: var(--sh-gap, 14px); position: relative; }\n.whatmore-shimmer-neo-tile { flex: 0 0 auto; width: var(--sh-tile-w, 120px); height: var(--sh-tile-h, 213px); background: #e0e0e0; border-radius: 12px; position: relative; overflow: hidden; }\n\n/* ALIGNMENT is driven by fill, NOT mode: the tile count comes from the real event count, so when the\n * videos DON\'T fill the rail (few videos \u2192 data-wht-fill="fit") the carousel CENTRES them; when they\n * overflow (data-wht-fill="overflow") it start-aligns like a scroll list \u2014 in BOTH orientations. A scroll\n * list always begins at the first tile; centring an overflowing row would push the leftmost tile half\n * off-screen (the portrait bug). Base is centred; overflow (either orientation) flips to flex-start. */\n.whatmore-shimmer-neo[data-wht-fill="overflow"] .whatmore-shimmer-neo-rail { justify-content: flex-start; }\n/* standard-family rails (a/b/f) centre-hero in PORTRAIT even when overflowing (higher specificity wins over\n * the flex-start above); mosaic rails (c/d, palign="start") keep the start-left scroll. */\n.whatmore-shimmer-neo[data-wht-vp="portrait"][data-wht-palign="center"] .whatmore-shimmer-neo-rail { justify-content: center; }\n/* per-skin tile scale (inline --sh-scale). Some rail skins render every tile at --wht-neo-side-scale\n * (e.g. standard/a = 0.94): the layout box shows smaller AND the flex-gap reads wider (tiles shrink\n * from centre). Skins with no side-scale (e.g. card/b = 1) keep box size + real gap. Mirrors the render. */\n.whatmore-shimmer-neo[data-wht-vp="landscape"] .whatmore-shimmer-neo-tile { transform: scale(var(--sh-scale, 1)); transform-origin: center center; }\n\n/* hoverplay: a FLUSH-LEFT row of WIDE tiles \u2014 first tile at the edge, next peeking on the right, in BOTH\n orientations (the engine renders scroll-snap-align:start with padding-inline:0, and starts flush-left even\n with infinite-loop on). Force flex-start so it beats the default centre AND the fit-centre in either vp. */\n.whatmore-shimmer-neo[data-wht-mode="hoverplay"] .whatmore-shimmer-neo-rail { justify-content: flex-start; }\n\n/* viewmore: wrapped grid, 6 (smaller) tiles in ~3 columns */\n/* viewmore: CENTRED wrapping grid \u2014 tiles wrap by width (landscape 6-in-a-row, portrait ~2 cols), like\n the real skin (flex-wrap + justify-content:center + padding-inline:12). Collapsed to \u22646 tiles. */\n.whatmore-shimmer-neo[data-wht-mode="viewmore"] .whatmore-shimmer-neo-rail { flex-wrap: wrap; justify-content: center; align-content: flex-start; row-gap: var(--sh-gap, 14px); padding-inline: 12px; }\n.whatmore-shimmer-neo[data-wht-mode="viewmore"] .whatmore-shimmer-neo-tile:nth-child(n+7) { display: none; }\n\n/* feed: vertical GRID (mirrors shared-skin-feed) \u2014 2 columns portrait / 3 landscape, page-scroll */\n.whatmore-shimmer-neo[data-wht-mode="feed"] .whatmore-shimmer-neo-rail { display: grid; grid-template-columns: repeat(auto-fill, calc(var(--sh-tile-w) * 1.15)); justify-items: center; justify-content: center; align-items: start; column-gap: 0; row-gap: calc(var(--sh-tile-w) * 0.37); }\n.whatmore-shimmer-neo[data-wht-mode="feed"][data-wht-vp="landscape"] .whatmore-shimmer-neo-rail { grid-template-columns: repeat(auto-fill, calc(var(--sh-tile-w) * 1.1)); row-gap: calc(var(--sh-tile-w) * 0.31); }\n.whatmore-shimmer-neo[data-wht-mode="feed"] .whatmore-shimmer-neo-tile { width: var(--sh-tile-w); height: auto; aspect-ratio: 9 / 16; }\n.whatmore-shimmer-neo[data-wht-mode="feed"] .whatmore-shimmer-neo-tile:nth-child(n+9) { display: none; }\n\n/* coverflow: fan \u2014 centre on top, neighbours behind + scaled (5 landscape / 3 portrait) */\n.whatmore-shimmer-neo[data-wht-mode="coverflow"] .whatmore-shimmer-neo-rail { gap: 0; height: var(--sh-tile-h); }\n.whatmore-shimmer-neo[data-wht-mode="coverflow"] .whatmore-shimmer-neo-tile { position: absolute; left: 50%; top: 50%; }\n.whatmore-shimmer-neo[data-wht-mode="coverflow"][data-wht-vp="landscape"] .whatmore-shimmer-neo-tile:nth-child(n+6) { display: none; }\n.whatmore-shimmer-neo[data-wht-mode="coverflow"][data-wht-vp="landscape"] .whatmore-shimmer-neo-tile:nth-child(3) { transform: translate(-50%, -50%) scale(1); z-index: 5; }\n.whatmore-shimmer-neo[data-wht-mode="coverflow"][data-wht-vp="landscape"] .whatmore-shimmer-neo-tile:nth-child(2) { transform: translate(-50%, -50%) translateX(-64%) scale(0.9); z-index: 4; }\n.whatmore-shimmer-neo[data-wht-mode="coverflow"][data-wht-vp="landscape"] .whatmore-shimmer-neo-tile:nth-child(4) { transform: translate(-50%, -50%) translateX(64%) scale(0.9); z-index: 4; }\n.whatmore-shimmer-neo[data-wht-mode="coverflow"][data-wht-vp="landscape"] .whatmore-shimmer-neo-tile:nth-child(1) { transform: translate(-50%, -50%) translateX(-128%) scale(0.8); z-index: 3; }\n.whatmore-shimmer-neo[data-wht-mode="coverflow"][data-wht-vp="landscape"] .whatmore-shimmer-neo-tile:nth-child(5) { transform: translate(-50%, -50%) translateX(128%) scale(0.8); z-index: 3; }\n.whatmore-shimmer-neo[data-wht-mode="coverflow"][data-wht-vp="portrait"] .whatmore-shimmer-neo-tile:nth-child(n+4) { display: none; }\n.whatmore-shimmer-neo[data-wht-mode="coverflow"][data-wht-vp="portrait"] .whatmore-shimmer-neo-tile:nth-child(2) { transform: translate(-50%, -50%) scale(1); z-index: 5; }\n.whatmore-shimmer-neo[data-wht-mode="coverflow"][data-wht-vp="portrait"] .whatmore-shimmer-neo-tile:nth-child(1) { transform: translate(-50%, -50%) translateX(-72%) scale(0.88); z-index: 4; }\n.whatmore-shimmer-neo[data-wht-mode="coverflow"][data-wht-vp="portrait"] .whatmore-shimmer-neo-tile:nth-child(3) { transform: translate(-50%, -50%) translateX(72%) scale(0.88); z-index: 4; }\n\n/* circle (skin s): small CIRCULAR thumbnails \u2014 square tile (aspect 1) rounded to a circle. Align with the\n SAME safe-center the real skin uses, NOT the JS fill flag: on a small screen the fill estimate can say\n \'fit\' while the tiles actually overflow, so center would clip both edges \u2014 safe-center lets the browser\n decide from real layout (few centre, many start-align), guaranteeing the shimmer can\'t diverge from the\n render. palign is \'start\' for circle, so the portrait centre-hero rule never applies. */\n.whatmore-shimmer-neo[data-wht-skin="circle"] .whatmore-shimmer-neo-tile { border-radius: 50%; }\n.whatmore-shimmer-neo[data-wht-skin="circle"] .whatmore-shimmer-neo-rail { justify-content: safe center; }\n',document.head.appendChild(e)}t.style.setProperty("position","relative","important"),t.style.setProperty("height","auto","important"),t.style.setProperty("border-top","0.1px solid transparent","important"),t.style.minHeight=a.totalHeight+"px";const o=document.createElement("div");o.className="whatmore-shimmer-container",o.setAttribute("data-template",n),o.setAttribute("data-widget-id",r),o.style.cssText="position: absolute; top: 0; left: 0; width: 100%; height: auto; z-index: 2; transition: opacity 0.1s ease;",o.innerHTML=a.shimmerHTML,t.insertBefore(o,e),e.style.cssText="opacity: 0; z-index: 1; transition: opacity 0.3s ease;",e.setAttribute("data-shimmer-active","true"),e.setAttribute("data-widget-id",r)}}catch(d){console.error(`[${(new Date).toLocaleTimeString()}] Error calculating shimmer for ${n}:`,d)}}const pe=null!==document.getElementById("whatmoreRoot"),ge=he("whatmoreShopId",E.YZ),fe=he("whatmoreExtensionType","index"),we=null!==(U=(null===(J=window)||void 0===J||null===(K=J.Shopify)||void 0===K||null===(Y=K.theme)||void 0===Y?void 0:Y.role)&&"main"!==(null===(Z=window)||void 0===Z||null===(X=Z.Shopify)||void 0===X||null===(Q=X.theme)||void 0===Q?void 0:Q.role))&&void 0!==U&&U,ve=("2665447536"==ge||"72201044272"==ge)&&null!=localStorage.getItem("w_user_type"),_e=(0,o.cp)();!async function(){A();const e=await(0,o.dE)(ge);if(null!==e&&void 0!==e&&e.brand_custom_css){const t=document.createElement("style");t.innerHTML=e.brand_custom_css,document.head.appendChild(t)}const t=pe||re&&re.length>0,i=ge!==E.YZ&&!(window.Shopify&&window.Shopify.designMode)&&!(0,H.U)()&&!(0,ee.G)()&&!!(0,o.hG)(e,"event_tracking->is_enabled");if(t&&i&&((0,R.a)(),V(),function(){if(G||"undefined"===typeof document)return;G=!0;const e=()=>{(0,q.$)(!0)};document.addEventListener("visibilitychange",()=>{"hidden"===document.visibilityState&&e()}),window.addEventListener("pagehide",e)}()),(0,o.hG)(e,"order_tracking->add_whatmore_attribute")&&"shopify"===(0,o.hG)(e,"brand_metadata->domain_context")){const e=localStorage.getItem("_whatmore_session_id"),t=localStorage.getItem("_whatmore_user_id"),o=localStorage.getItem("wht_user_group"),i=localStorage.getItem("wht_ab_test_id"),r=localStorage.getItem("wht_ab_test_version"),a=localStorage.getItem("_whatmore_last_video_view_session");if(null!=e&&null!=t&&fetch("/cart.js").then(e=>e.ok?e.json():null).then(n=>{if(!n)return;const l={wht_session_id:null!==a&&void 0!==a?a:e,wht_user_id:t,...o&&{wht_user_group:o},...i&&{wht_ab_test_id:i},...r&&{wht_ab_test_version:r}},s={wht_user_attributes:(0,te.dK)((0,H.Ry)())?JSON.stringify(l):l};return fetch("/cart/update.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({attributes:s})})}).catch(e=>console.error("Whatmore :: eager cart-attribute write failed",e)),"undefined"!==typeof PerformanceObserver){const e="true"===he("whatmoreEmbedAppUseVariant","false"),t=1e3,o=[`${window.location.origin}/cart/add.js`,`${window.location.origin}/cart/add`];new PerformanceObserver(i=>{for(const r of i.getEntries())o.includes(r.name)&&setTimeout(()=>{Promise.all([n.e(580),n.e(268)]).then(n.bind(n,8513)).then(t=>t.addWhatmoreAttributeToCart(e)).catch(e=>console.error("Whatmore :: ATC attribute write failed",e))},t)}).observe({entryTypes:["resource"]})}}if(!pe&&re&&re.length>0)for(let W=0;W<re.length;W++){var r,a,l,s,c,d,u,h,m,p;const t=re[W];if((0,ne.i)(t))continue;const A=t.querySelector(".whatmore-render-root"),L=t.querySelector(".whatmore-template-type");let $=!1,N=!1,z=!1;const R=null!==(r=null!==(a=null===L||void 0===L?void 0:L.getAttribute("data-wh"))&&void 0!==a?a:null===L||void 0===L?void 0:L.getAttribute("data"))&&void 0!==r?r:"template-embed";ce(R)?$=!0:se(R)?N=!0:le(R)&&(z=!0);let B="",j="";var g,f,w,v,_,y,b,S,I,T,x;if(N)if(B=null!==(g=null!==(f=null===(w=t.querySelector("#whatmoreCollectionId"))||void 0===w?void 0:w.getAttribute("data-wh"))&&void 0!==f?f:null===(v=t.querySelector("#whatmoreCollectionId"))||void 0===v?void 0:v.getAttribute("data"))&&void 0!==g?g:"",j=null!==(_=null!==(y=null===(b=t.querySelector("#whatmoreCollectionHeading"))||void 0===b?void 0:b.getAttribute("data-wh"))&&void 0!==y?y:null===(S=t.querySelector("#whatmoreCollectionHeading"))||void 0===S?void 0:S.getAttribute("data"))&&void 0!==_?_:"","0"==B)B=null!==(I=null===(T=t.querySelector("#whatmorePageId"))||void 0===T?void 0:T.getAttribute("data-wh"))&&void 0!==I?I:null===(x=t.querySelector("#whatmorePageId"))||void 0===x?void 0:x.getAttribute("data");let V="";if(fe.startsWith("product")){var C,P,O,k;const n=null!==(C=null!==(P=null===(O=t.querySelector("#whatmoreProductId"))||void 0===O?void 0:O.getAttribute("data-wh"))&&void 0!==P?P:null===(k=t.querySelector("#whatmoreProductId"))||void 0===k?void 0:k.getAttribute("data"))&&void 0!==C?C:"";V=(0,o.hG)(e,"product_config->use_product_page_link_as_client_product_id")?window.location.href.split(/[?#]/)[0]:n}const q=null!==(l=null!==(s=null===(c=t.querySelector("#whatmoreHeading"))||void 0===c?void 0:c.getAttribute("data-wh"))&&void 0!==s?s:null===(d=t.querySelector("#whatmoreHeading"))||void 0===d?void 0:d.getAttribute("data"))&&void 0!==l?l:"",G=null!==(u=null!==(h=null===(m=t.querySelector("#whatmoreWidgetIdentity"))||void 0===m?void 0:m.getAttribute("data-wh"))&&void 0!==h?h:null===(p=t.querySelector("#whatmoreWidgetIdentity"))||void 0===p?void 0:p.getAttribute("data"))&&void 0!==u?u:"wgt_default",F="whatmoreRoot"+W;if(me(A,t,R,e,F),E.mM)continue;const U=(0,o.C2)(e,N,_e,R,fe),J=()=>{Promise.all([n.e(580),n.e(268)]).then(n.bind(n,4234)).then(e=>{e.initializeReactApp({rootElement:A,templateType:R,isStoriesTemplate:$,isCollectionsTemplate:N,_isTemplateTypeBanner:z,whatmoreCollectionId:B,whatmoreCollectionHeading:j,whatmoreHeadingCarousel:q,whatmoreWidgetIdentity:G,whatmoreRootId:F,landingLocationType:fe,isInPreviewMode:we,userType:ve})}).catch(e=>{console.error("Whatmore: Failed to load React chunk:",e);const n=document.querySelector(`.whatmore-shimmer-container[data-widget-id="${F}"]`);n&&(n.remove(),ae&&console.log(`[Chunk Error] Removed shimmer for widget ${F}`)),t&&(t.style.minHeight="0px",ae&&console.log(`[Chunk Error] Reset minHeight to 0px for widget ${F}`)),A&&(A.style.opacity="0",A.removeAttribute("data-shimmer-active"))})},K=ue(R),Y="template-neo"===R||"template-collections-neo"===R||null!==K&&!$&&!z,Z="template-stories-neo"===R||null!==K&&$,X="template-embed"===R&&!!(e&&e.neo&&e.neo.floating&&e.neo.floating.enabled),Q=fe.startsWith("product")?!0===(0,o.hG)(e,"product_page_popup_config->show_product_page_popup"):fe.startsWith("collection")?!0===(0,o.hG)(e,"collection_page_popup_config->show_collection_page_popup"):(0,oe.W)({enableSpotlight:(0,o.hG)(e,"spotlight_config->enable_spotlight"),enableOnHP:(0,o.hG)(e,"spotlight_config->enable_in_homepage"),pageIdSet:(0,o.hG)(e,"spotlight_config->enable_page_id_set"),enableAllPages:(0,o.hG)(e,"spotlight_config->enable_all_pages")},fe,B),te="template-floating-neo"===R||X&&Q,ie="template-banner-neo"===R||null!==K&&z,de=Y||Z||te||ie?()=>{const o={rootElement:A,widgetContainer:t,shopId:ge,widgetIdentity:G,landingLocationType:fe,collectionId:B,productId:V,isCollections:N,whatmoreRootId:F,showMockOnEmpty:ge===E.YZ||(0,H.U)(),neoJson:(()=>{const t=e&&e.neo;if(null===K)return t;const n=$?"stories":z?"banner":N?"collections":"carousel",o=t&&t[n]||{};return Object.assign({},t,{[n]:Object.assign({},o,{skin:K})})})(),floatingMode:fe.startsWith("product")||"embed"===fe?"pdp":"spotlight",onWidgetView:()=>{if(!i)return;const e=te&&(fe.startsWith("product")||"embed"===fe);(0,ee.B)({userInteractionType:Z?D.O.STORIES_WIDGET_VIEW:ie?D.O.BANNER_WIDGET_VIEW:te?e?D.O.PDP_POPUP_WIDGET_VIEW:D.O.SPOTLIGHT_WIDGET_VIEW:N?D.O.COLLECTION_WIDGET_VIEW:D.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,widgetSourceDetails:{landingLocationType:fe,templateType:R}})},onSwipe:()=>{i&&(0,ee.B)({userInteractionType:D.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:{landingLocationType:fe,templateType:R}})},onBannerClick:e=>{i&&(0,ee.B)({userInteractionType:D.O.BANNER_WIDGET_CLICKED,widgetSourceDetails:{landingLocationType:fe,templateType:R},event:e})},onClose:e=>{i&&(fe.startsWith("product")||"embed"===fe)&&(0,ee.B)({userInteractionType:D.O.PDP_POPUP_CLOSED,widgetSourceDetails:{landingLocationType:fe,templateType:R},event:e,productList:e&&e.products})},onOpenStories:({events:e,eventIndex:t,eventsStories:o,storyIndex:i})=>{Promise.all([n.e(580),n.e(268)]).then(n.bind(n,4234)).then(n=>n.mountNeoFullscreen({templateType:R,isStoriesTemplate:$,isCollectionsTemplate:N,_isTemplateTypeBanner:z,whatmoreCollectionId:B,whatmoreCollectionHeading:j,whatmoreHeadingCarousel:q,whatmoreWidgetIdentity:G,whatmoreRootId:F,landingLocationType:fe,isInPreviewMode:we,userType:ve},{events:e,eventIndex:t,eventsStories:o,storyIndex:i})).catch(e=>{(0,M.B)(),ae&&console.log("[Neo] stories fullscreen mount failed, booting React:",e),J()})},onOpenEvent:(e,t,o)=>{Promise.all([n.e(580),n.e(268)]).then(n.bind(n,4234)).then(e=>e.mountNeoFullscreen({templateType:R,isStoriesTemplate:$,isCollectionsTemplate:N,_isTemplateTypeBanner:z,whatmoreCollectionId:B,whatmoreCollectionHeading:j,whatmoreHeadingCarousel:q,whatmoreWidgetIdentity:G,whatmoreRootId:F,landingLocationType:fe,isInPreviewMode:we,userType:ve},{events:o,eventIndex:t})).catch(e=>{(0,M.B)(),ae&&console.log("[Neo] fullscreen mount failed, booting React:",e),J()})}};(Z?n.e(719).then(n.bind(n,8235)).then(e=>e.renderNeoStories):te?n.e(310).then(n.bind(n,7119)).then(e=>e.renderNeoFloating):ie?n.e(126).then(n.bind(n,5348)).then(e=>e.renderNeoBanner):n.e(579).then(n.bind(n,8933)).then(e=>e.renderNeoCarousel)).then(e=>e(o)).then(e=>{!1===e&&J()}).catch(e=>{ae&&console.log("[Neo] failed, falling back to React:",e),J()})}:J;if(U){let e=!1;const n=()=>{e||(e=!0,de())},o=new IntersectionObserver(e=>{e.forEach(e=>{if(ae&&console.log(`[OBSERVER] Widget ${W}: isIntersecting=${e.isIntersecting}, top=${e.boundingClientRect.top}, bottom=${e.boundingClientRect.bottom}, viewportHeight=${window.innerHeight}, layoutHeight=${document.documentElement.clientHeight}`),e.isIntersecting){if("67841720509"===ge){const e=t.getBoundingClientRect();if(e.top>=document.documentElement.clientHeight||e.bottom<=0)return void(ae&&console.log(`[OBSERVER] Widget ${W}: Rejected \u2014 outside layout viewport (iOS rescale guard)`))}ae&&console.log(`[OBSERVER] Widget ${W}: Loading React chunk`),n(),o.disconnect()}})},{threshold:0,rootMargin:"0px 0px 0px 0px"});o.observe(t);const i=t.getBoundingClientRect();ae&&console.log(`[SETUP] Widget ${W}: Observer attached, position top=${i.top}, bottom=${i.bottom}, viewportHeight=${window.innerHeight}, margin=500px`);const r=10;let a=window.pageYOffset;ae&&console.log(`[SCROLL LISTENER] Widget ${W}: Initial scroll position=${a}`);const l=()=>{const e=window.pageYOffset,t=Math.abs(e-a);ae&&console.log(`[SCROLL LISTENER] Widget ${W}: Scroll event fired, scrollY=${e}, lastScrollY=${a}, delta=${t}`),t>r&&(ae&&console.log(`[SCROLL LISTENER] Widget ${W}: Delta > ${r}, triggering load`),n(),window.removeEventListener("scroll",l))};window.addEventListener("scroll",l,{passive:!0})}else de()}else if(pe){const e=document.getElementById("whatmoreRoot"),t="whatmoreRoot",o=he("whatmoreTemplateType","invalid-template"),i=ce(o),r=se(o),a=le(o);Promise.all([n.e(580),n.e(268)]).then(n.bind(n,4234)).then(n=>{n.initializeReactApp({rootElement:e,templateType:o,isStoriesTemplate:i,isCollectionsTemplate:r,_isTemplateTypeBanner:a,whatmoreCollectionId:"",whatmoreCollectionHeading:"",whatmoreHeadingCarousel:"",whatmoreWidgetIdentity:"wgt_default",whatmoreRootId:t,landingLocationType:fe,isInPreviewMode:we,userType:ve})}).catch(e=>{console.error("Whatmore: Failed to load React chunk for legacy store:",e)})}if(("75310563627"===ge||"35680321669"===ge||"75649450207"===ge||"72626569514"===ge)&&!pe&&"undefined"!==typeof MutationObserver){const e=document.querySelectorAll(".whatmore-base");e.forEach(e=>e.setAttribute("data-wht-mounted","true")),ae&&console.log(`[Rehydrate] installed for shop ${ge}; marked ${e.length} load-time host(s) as mounted, watching document.body`);let t=0;const o=e=>{var t,n;const o=e.querySelector(".whatmore-template-type");return null!==(t=null!==(n=null===o||void 0===o?void 0:o.getAttribute("data-wh"))&&void 0!==n?n:null===o||void 0===o?void 0:o.getAttribute("data"))&&void 0!==t?t:"template-embed"},i=()=>[...document.querySelectorAll(".whatmore-base:not([data-wht-mounted])")].filter(e=>se(o(e))),r=e=>{var i,r,a,l,s,c,d,u,h,m,p,g,f,w,v,_,y,b,S;const I=o(e);if(!se(I))return void(ae&&console.log(`[Rehydrate] skip host: not a collection template (${I})`,e));const T=e.querySelector(".whatmore-render-root");if(!T)return void(ae&&console.log("[Rehydrate] skip host: .whatmore-render-root not present yet (will retry on next mutation)",e));e.setAttribute("data-wht-mounted","true");let x=null!==(i=null!==(r=null===(a=e.querySelector("#whatmoreCollectionId"))||void 0===a?void 0:a.getAttribute("data-wh"))&&void 0!==r?r:null===(l=e.querySelector("#whatmoreCollectionId"))||void 0===l?void 0:l.getAttribute("data"))&&void 0!==i?i:"";const E=null!==(s=null!==(c=null===(d=e.querySelector("#whatmoreCollectionHeading"))||void 0===d?void 0:d.getAttribute("data-wh"))&&void 0!==c?c:null===(u=e.querySelector("#whatmoreCollectionHeading"))||void 0===u?void 0:u.getAttribute("data"))&&void 0!==s?s:"";"0"===x&&(x=null!==(h=null===(m=e.querySelector("#whatmorePageId"))||void 0===m?void 0:m.getAttribute("data-wh"))&&void 0!==h?h:null===(p=e.querySelector("#whatmorePageId"))||void 0===p?void 0:p.getAttribute("data"));const C=null!==(g=null!==(f=null===(w=e.querySelector("#whatmoreHeading"))||void 0===w?void 0:w.getAttribute("data-wh"))&&void 0!==f?f:null===(v=e.querySelector("#whatmoreHeading"))||void 0===v?void 0:v.getAttribute("data"))&&void 0!==g?g:"",P=null!==(_=null!==(y=null===(b=e.querySelector("#whatmoreWidgetIdentity"))||void 0===b?void 0:b.getAttribute("data-wh"))&&void 0!==y?y:null===(S=e.querySelector("#whatmoreWidgetIdentity"))||void 0===S?void 0:S.getAttribute("data"))&&void 0!==_?_:"wgt_default",O="whatmoreRootRehydrate"+t++;ae&&console.log("[Rehydrate] mounting fresh collection host ->",O,e),Promise.all([n.e(580),n.e(268)]).then(n.bind(n,4234)).then(e=>e.initializeReactApp({rootElement:T,templateType:I,isStoriesTemplate:!1,isCollectionsTemplate:!0,_isTemplateTypeBanner:!1,whatmoreCollectionId:x,whatmoreCollectionHeading:E,whatmoreHeadingCarousel:C,whatmoreWidgetIdentity:P,whatmoreRootId:O,landingLocationType:fe,isInPreviewMode:we,userType:ve})).catch(e=>console.error("Whatmore: rehydrate mount failed",e))};let a=!1;const l=()=>{a=!1;const e=i();ae&&console.log(`[Rehydrate] rescan: ${e.length} fresh collection host(s) to mount`),e.forEach(r)};new MutationObserver(e=>{if(a)return;let t=!1;for(const o of e)if(o.addedNodes&&o.addedNodes.length){t=!0;break}if(!t)return;const n=i();0!==n.length&&(ae&&console.log(`[Rehydrate] DOM mutation: ${n.length} freshly-added collection host(s) need mounting (re-render, not a removal), scheduling in 50ms`),a=!0,setTimeout(l,50))}).observe(document.body,{childList:!0,subtree:!0})}}()}();
1
+ /*! For license information please see main.fdbaf001.js.LICENSE.txt */
2
+ !function(){"use strict";var e={121:function(e,t,n){n.d(t,{A:function(){return o},H:function(){return i}});const o=n(1637).mM?12:null;function i(e){if(!e||0===e.length)return e;if(null!==o){return e.slice(0,o)}return e}},256:function(e,t,n){n.d(t,{Fk:function(){return c},gv:function(){return s},xv:function(){return l}});var o=n(2567);const i="Whatmore : ",r=(0,o.Ry)();function a(e){console.debug(i+e)}function l(e,t="200"){var n;null!==(n="true"==localStorage.getItem("whatmoreActivateLogs"))&&void 0!==n&&n&&(a("total events received : "+(e&&e.length)),a("events data : "+JSON.stringify(e)))}function s(e){var t;null!==(t="true"==localStorage.getItem("whatmoreActivateLogs"))&&void 0!==t&&t&&a(e)}const c=e=>{"STR60LW4WMA"!=r&&"77604192550"!=r&&"80856187185"!=r&&"86486974743"!=r&&console.log(`%c ${e}`,"background: #D53F8C; color: white; font-size: 19px; padding: 5px; font-weight: semibold;","\n\nFind us here -> https://www.whatmore.ai/shoppable-videos/")}},1637:function(e,t,n){n.d(t,{$$:function(){return i},DK:function(){return p},Dk:function(){return c},K1:function(){return d},MT:function(){return a},OL:function(){return u},Sx:function(){return g},TB:function(){return m},YZ:function(){return o},aD:function(){return r},mM:function(){return s},qW:function(){return l},rz:function(){return h}});const o="58669793418",i="https://consumer.whatmore.live",r="https://whatmore-api-cdn-cache.azureedge.net",a="https://cdn-consumer.whatmore.live",l="https://analytics.whatmore.live",s="undefined"!==typeof window&&/^(localhost|127\.0\.0\.1)$/.test(window.location.hostname)&&new URLSearchParams(window.location.search).has("shimmerTest"),c="carousel",d="video_popup",u="stories",h="collections",m="homepage",p="product_page",g="collection_page"},2567:function(e,t,n){n.d(t,{Ry:function(){return r},U:function(){return l},yI:function(){return a}});var o=n(1637);function i(e,t){const n=document.getElementById(e);return n&&(n.getAttribute("data-wh")||n.getAttribute("data"))||t}function r(){return i("whatmoreShopId",o.YZ)}function a(){return i("whatmoreExtensionType","index")}function l(){return"true"===i("whatmoreIsInDesignMode","false")}},2873:function(e,t,n){n.d(t,{U:function(){return f},W:function(){return u}});var o=n(5443),i=n(2567),r=n(3403);const a=()=>{try{return"true"===localStorage.getItem("whatmoreActivateLogs")}catch(e){return!1}};function l(e,t){const n=e.querySelector(`#${t}`);return n?n.getAttribute("data-wh")||n.getAttribute("data"):null}function s(e){const t=document.getElementById(e);return t?t.getAttribute("data-wh")||t.getAttribute("data"):null}function c(e){const t=parseInt(e,10);return Number.isFinite(t)?t:0}function d(e,t,n,o,i){var r,a;if(!e||!o)return null;if(/^\d+$/.test(o))return null!==(r=null===(a=e[`${t}_${c(o)%n}`])||void 0===a?void 0:a[i])&&void 0!==r?r:null;for(const l of Object.values(e))if(l&&l[i])return l[i];return null}function u({enableSpotlight:e,enableOnHP:t,pageIdSet:n,enableAllPages:o},i,r){return!(!e||!(t&&(i||"").includes("index")||r&&(n||[]).includes(r)||o))}function h(e,t){var n,i;const r=(0,o.hG)(t,"oos_config->show_oos_videos"),a=(0,o.hG)(t,"recommendation_config->show_recommended_events"),u=e=>{if(!e||c(e.etc)<=0)return 0;return c(r?e.etc:e.esc)+(a?c(r?e.rtc:e.rsc):0)},h=null===(n=window.whatmore)||void 0===n?void 0:n.videoPageSignals;if(h&&"pdp"in h)return u(h.pdp);const m=window.whatmorePdpCarouselEvents,p=null!==(i=l(e,"whatmoreProductId"))&&void 0!==i?i:s("whatmoreProductId");return u(d(m,"p",127,p,p))}function m(e,t,n){var i;const r=null===(i=window.whatmore)||void 0===i?void 0:i.collectionMetafields;if(!r)return 0;let a=l(e,"whatmoreCollectionId");if((n||"").startsWith("index")){const e=(0,o.hG)(t,"collections_config->homepage_collection_ids")||[];((0,o.hG)(t,"quiz_config->is_active")?e.length>0:1===e.length)&&(a=String(e[0]))}if(a&&"0"!==a||(a=l(e,"whatmorePageId")),!a)return 0;const s=l(e,"whatmoreWidgetIdentity")||"wgt_default",u=d(r,"c",63,a,"wgt_default"!==s?`${a}_${s}`:a);if(!u)return 0;return c((0,o.hG)(t,"oos_config->show_oos_videos")?u.tc:u.sc)}function p(e,t,n){const i=function(e){const t=e.querySelector(".whatmore-widget"),n=t&&(t.getAttribute("data-wh")||t.getAttribute("data"));if(n)return n;const o=e.querySelector(".whatmore-template-type"),i=o&&(o.getAttribute("data-wh")||o.getAttribute("data"))||"";return"template-banner-a"===i?"banner":i.startsWith("template-collections")?"collection":"template-stories-a"===i||"template-stories-b"===i?"stories":"template-embed"===i?"embed":i.startsWith("template-")?"carousel":null}(e);switch(i){case"carousel":return function(e,t,n){var i,r,a;const u=l(e,"whatmoreWidgetIdentity")||"wgt_default",h=(0,o.hG)(t,"oos_config->show_oos_videos"),m=(0,o.hG)(t,"show_homepage_videos_in_pdp"),p="wgt_default"!==u;if((n||"").startsWith("product")&&(p||!m)){var g,f;const t=window.whatmorePdpCarouselEvents,n=null!==(g=l(e,"whatmoreProductId"))&&void 0!==g?g:s("whatmoreProductId");if("wgt_default"===u){var w,v,_;const e=null!==(w=d(t,"p",127,n,n))&&void 0!==w?w:null===(v=window.whatmore)||void 0===v||null===(_=v.videoPageSignals)||void 0===_?void 0:_.pdp;return e?c(h?e.etc:e.esc):0}if(!t)return 0;const o=u.split("_")[1];if(!o)return 0;const i=null===(f=t[`w_${o[0]}`])||void 0===f?void 0:f[u];if(!i)return 0;const r=i.scope_mode||"all",a=i.scope_targets||[];return"all"===r||"include"===r&&a.includes(n)||"exclude"===r&&!a.includes(n)?c(h?i.etc:i.esc):0}const y=null!==(i=window.whatmoreHomepageCarouselEvents)&&void 0!==i?i:null===(r=window.whatmore)||void 0===r||null===(a=r.videoPageSignals)||void 0===a?void 0:a.hp;if(!y)return 0;if("wgt_default"===u)return c(h?y.tc:y.sc);const b=y[u];return b?c(h?b.tc:b.sc):0}(e,t,n);case"collection":return m(e,t,n);case"banner":return function(e){var t,n,o;const i=window.whatmoreHpBannerEventCounts;if(!i)return c(null===(t=window.whatmore)||void 0===t||null===(n=t.videoPageSignals)||void 0===n?void 0:n.banner_tc);const r=l(e,"whatmoreWidgetIdentity")||"wgt_default";return c("wgt_default"!==r?null===(o=i[r])||void 0===o?void 0:o.tc:i.tc)}(e);case"stories":return function(e,t,n){var i,r;const a=(0,o.hG)(t,"stories_config")||{},l=window.innerWidth>window.innerHeight;return l&&!a.show_stories_in_landscape_mode?0:l||a.show_stories_in_mobile_mode?(n||"").startsWith("index")?c(null===(s=window.whatmore)||void 0===s||null===(d=s.storyEvents)||void 0===d||null===(u=d.events)||void 0===u?void 0:u.length):(n||"").startsWith("product")?h(e,t):c(null===(i=window.whatmore)||void 0===i||null===(r=i.videoPageSignals)||void 0===r?void 0:r.stories_tc):0;var s,d,u}(e,t,n);case"embed":return function(e,t,n){var i,r,a;if((n||"").startsWith("product"))return(0,o.hG)(t,"product_page_popup_config->show_product_page_popup")?h(e,t):0;if((n||"").startsWith("collection"))return function({showCollectionPagePopup:e},t){return!(!0!==e||!(t||"").startsWith("collection"))}({showCollectionPagePopup:(0,o.hG)(t,"collection_page_popup_config->show_collection_page_popup")},n)?m(e,t,n):0;const l=s("whatmoreCollectionId");if(!u({enableSpotlight:(0,o.hG)(t,"spotlight_config->enable_spotlight"),enableOnHP:(0,o.hG)(t,"spotlight_config->enable_in_homepage"),pageIdSet:(0,o.hG)(t,"spotlight_config->enable_page_id_set"),enableAllPages:(0,o.hG)(t,"spotlight_config->enable_all_pages")},n,l))return 0;const d=null===(i=window.whatmore)||void 0===i||null===(r=i.videoPageSignals)||void 0===r||null===(a=r.eventset)||void 0===a?void 0:a.homepage;return d?c((0,o.hG)(t,"oos_config->show_oos_videos")?d.tc:d.sc):0}(e,t,n);default:return 0}}let g={path:null,flags:null};function f(){const e=window.location.pathname;if(g.path===e&&g.flags)return g.flags;let t=!1,n=!1;try{var l,s,c,d;const e=null!==(l=null===(s=window.whatmore)||void 0===s?void 0:s.frontendCustomizations)&&void 0!==l?l:(0,o.VA)(),a=(0,i.yI)(),u=document.getElementsByClassName("whatmore-base");for(const o of u){if(p(o,e,a)>0&&(t=!0,!(0,r.i)(o))){n=!0;break}}!0===(null===(c=window.whatmore)||void 0===c||null===(d=c.videoPageSignals)||void 0===d?void 0:d.quota_breached)&&(n=!1)}catch(h){a()&&console.error("Whatmore :: video-page flag resolution failed",h),t=!1,n=!1}const u={is_video_page:t,eligible_own_group:n};return g={path:e,flags:u},a()&&console.log("[VideoPageResolver]",e,u),u}},3064:function(e,t,n){n.d(t,{A:function(){return o}});const o=function(e,t,n,o){var i,r;return{landing_location_type:t.landingLocationType,template_type:t.templateType,whatmore_event:{id:e.event_id,event_type:null!==(i=null===e||void 0===e?void 0:e.event_type)&&void 0!==i?i:null,eventset_id:null!==(r=e.eventset_id)&&void 0!==r?r:null,cta_list:o.map(e=>e.cta_id),product_list:n.map(e=>e.product_id)}}}},3208:function(e,t,n){n.d(t,{Z:function(){return m},$:function(){return h}});var o=n(6074);const i=function(e,t){const n={metric_event_list:e},i=void 0!==t?t:e.length<10;return(0,o.d)(n,i)},r="_whatmore_bulk_events",a=9,l=9e3;let s=null,c=!1;function d(){try{return JSON.parse(localStorage.getItem(r))||[]}catch(e){return[]}}function u(){null===s&&0!==d().length&&(s=setTimeout(()=>{s=null,h()},l))}function h(e){if(c&&!e)return Promise.resolve();const t=d();if(0===t.length)return Promise.resolve();c=!0,null!==s&&(clearTimeout(s),s=null);const n=new Set(t.map(e=>e.event_id));return i(t,e).then(()=>{const e=d().filter(e=>!n.has(e.event_id));e.length>0?localStorage.setItem(r,JSON.stringify(e)):localStorage.removeItem(r)}).catch(()=>{}).finally(()=>{c=!1,u()})}function m(e){const t=d();t.push(e),localStorage.setItem(r,JSON.stringify(t)),t.length>=a?h():u()}},3403:function(e,t,n){function o(e){try{if(window.Shopify&&window.Shopify.designMode)return!1;let t=localStorage.getItem("wht_user_group");if("qa_preview"===t&&(t=sessionStorage.getItem("wht_ab_preview")||t),!t||"default_group"===t)return!1;const n=window.whatmore&&window.whatmore.abTestConfig;if(!n||!n.groups||!n.groups[t])return!1;const o=e.getAttribute("data-wht-surface")+":"+e.getAttribute("data-wht-type")+":"+e.getAttribute("data-wht-widget");return!(n.groups[t].widget_ids||[]).includes(o)}catch(t){return!1}}n.d(t,{i:function(){return o}})},4421:function(e,t,n){n.d(t,{Q:function(){return l},a:function(){return a}});const o="_whatmore_session_utm",i={utm_source:"source",utm_medium:"medium",utm_campaign:"campaign",utm_term:"term",utm_content:"content",gclid:"gclid",fbclid:"fbclid"},r=200;function a(){try{if(null!==sessionStorage.getItem(o))return;sessionStorage.setItem(o,JSON.stringify(function(){const e=new URLSearchParams(window.location.search),t={};return Object.keys(i).forEach(n=>{const o=e.get(n);o&&(t[i[n]]=o.slice(0,r))}),t}()))}catch(e){}}function l(){try{const e=JSON.parse(sessionStorage.getItem(o))||{};return Object.keys(e).length?{utm:e}:{}}catch(e){return{}}}},5443:function(e,t,n){var o;n.d(t,{C2:function(){return p},VA:function(){return d},cp:function(){return c},dE:function(){return m},hG:function(){return h}});const i="https://api.whatmore.live",r="whatmore_brand_customizations",a=3e5,l=null!==(o="true"==localStorage.getItem("whatmoreActivateLogs"))&&void 0!==o&&o;function s(e){return new URLSearchParams(window.location.search).get(e)}function c(){const e=s("wtt"),t=s("weid");return null!=e&&null!=t}function d(){try{const e=localStorage.getItem(r);return e?JSON.parse(e).customizations:null}catch(e){return null}}function u(e){try{const t={customizations:e,timestamp:(new Date).getTime()};localStorage.setItem(r,JSON.stringify(t)),l&&console.log(`[${(new Date).toLocaleTimeString()}] \u2705 Customizations saved to cache`)}catch(t){console.error("Whatmore: Error saving customizations to cache:",t)}}function h(e,t){if(!e)return null;const n=t.split("->");let o=e;for(const i of n){if(!o||"object"!==typeof o||!(i in o))return null;o=o[i]}return o}async function m(e){var t,n;if(l&&console.log(`[${(new Date).toLocaleTimeString()}] \ud83d\udd0d Getting customizations...`),null!==(t=window)&&void 0!==t&&null!==(n=t.whatmore)&&void 0!==n&&n.frontendCustomizations&&"object"===typeof window.whatmore.frontendCustomizations){l&&console.log(`[${(new Date).toLocaleTimeString()}] \u2705 Using customizations from window.whatmore.frontendCustomizations`);const e=window.whatmore.frontendCustomizations;return u(e),e}const o=function(){try{const e=localStorage.getItem(r);if(!e)return null;const t=JSON.parse(e);return t.timestamp+a>=(new Date).getTime()?t.customizations:null}catch(e){return console.error("Whatmore: Error reading customizations cache:",e),null}}();if(o)return l&&console.log(`[${(new Date).toLocaleTimeString()}] \u2705 Using customizations from cache`),o;l&&console.log(`[${(new Date).toLocaleTimeString()}] \u26a0\ufe0f No cached customizations, fetching from backend...`);const s=await async function(e){try{l&&console.log(`[${(new Date).toLocaleTimeString()}] \ud83c\udf10 Fetching customizations from backend for shopId: ${e}`);const t=await fetch(`${i}/customization/frontend/${e}`);if(!t.ok)throw new Error(`HTTP error! status: ${t.status}`);const n=await t.json();return l&&console.log(`[${(new Date).toLocaleTimeString()}] \u2705 Customizations fetched from backend`),u(n),n}catch(t){return console.error("Whatmore: Error fetching customizations from backend:",t),null}}(e);return s}function p(e,t,n,o,i){if(n)return l&&console.log(`[${(new Date).toLocaleTimeString()}] \ud83d\udccc Shared link detected - immediate load`),!1;if("template-embed"===o||"template-floating-neo"===o)return l&&console.log(`[${(new Date).toLocaleTimeString()}] \ud83d\udecd\ufe0f Embed/floating widget - immediate load on every page`),!1;if(!e)return l&&console.log(`[${(new Date).toLocaleTimeString()}] \u26a0\ufe0f No customizations - defaulting to immediate load`),!1;const r=h(e,"lazy_load_config->block_widgets"),a=h(e,"collections_config->show_popup_out_of_view");return t&&a?(l&&console.log(`[${(new Date).toLocaleTimeString()}] \ud83d\udce6 Collections with showPopupOutOfView=true - immediate load`),!1):r?(l&&console.log(`[${(new Date).toLocaleTimeString()}] \ud83d\udd04 lazyloadConfig_blockWidget=true - lazy load enabled`),!0):(l&&console.log(`[${(new Date).toLocaleTimeString()}] \u26a1 lazyloadConfig_blockWidget=false - immediate load`),!1)}},5566:function(e,t,n){n.d(t,{CK:function(){return T},Ch:function(){return I},Fu:function(){return S},Hm:function(){return x},NF:function(){return C},d3:function(){return P},wm:function(){return y},zv:function(){return b}});var o=n(5616),i=n(2567),r=n(3208);const a="_whatmore_user_id",l="_whatmore_session_id",s="_whatmore_viewed_products",c="_whatmore_add_to_cart_products",d="_whatmore_session_time",u="_whatmore_store_id",h="_whatmore_qview_index",m="_whatmore_brand_questions",p="_whatmore_seen_questions",g="w_user_type",f=(0,i.Ry)(),w=18e5,v=2592e5,_=6e5;function y(){localStorage.getItem(u)!=f&&localStorage.setItem(u,f),null==localStorage.getItem(a)&&function(){new Date;const e=(0,o.Ak)();localStorage.setItem(a,e)}();const e=new Date,t=localStorage.getItem(d);return null==t?localStorage.setItem(g,"newuser"):null!==t&&e.getTime()>t&&localStorage.setItem(g,"olduser"),localStorage.getItem(a)}function b(){const e=new Date,t=localStorage.getItem(d);return(null==localStorage.getItem(l)||null==t||e.getTime()>t)&&(localStorage.removeItem(l),localStorage.removeItem(d),function(){const e=(0,o.Ak)(),t=(new Date).getTime()+w;localStorage.setItem(l,e),localStorage.setItem(d,t)}(),(0,r.$)()),localStorage.getItem(l)}function S(e,t,n,o,i){const r=(new Date).getTime(),a={event_id:e.event_id,product_id:t.client_product_id,product_title:t.title,price:t.price,timestamp:r,widget_info:n,location:o,user_type:i?"olduser":"newuser",variants:[]};if(null===localStorage.getItem(c))localStorage.setItem(c,JSON.stringify([a]));else{let e=JSON.parse(localStorage.getItem(c)).filter(e=>e.timestamp+v>r);localStorage.setItem(c,JSON.stringify([...e,a]))}}function I(e,t,n,o,i,r="default",a){const l=[],c=(new Date).getTime();if(localStorage.setItem("_whatmore_last_video_view_session",b()),t.map(t=>{const s={event_id:e,product_id:t.client_product_id,product_title:t.title,price:t.price,timestamp:c,variants:[],page:n,widget_type:o,widget_info:i,location:r,user_type:a?"olduser":"newuser"};l.push(s)}),null===localStorage.getItem(s))console.debug("viewed Products",JSON.stringify(l)),localStorage.setItem(s,JSON.stringify(l));else{let t=JSON.parse(localStorage.getItem(s)),n=!1;t.map(t=>{let o=Object.assign({},t);return t.event_id===e&&(t.timestamp=c,n=!0),o}),n?localStorage.setItem(s,JSON.stringify(t)):localStorage.setItem(s,JSON.stringify([...t,...l]))}}function T(){const e=(new Date).getTime();let t=JSON.parse(localStorage.getItem(s));if(!t)return[];let n=t.filter(t=>t.timestamp+v>e);return localStorage.setItem(s,JSON.stringify(n)),n}function x(){if(null!=localStorage.getItem(h)){const e=parseInt(localStorage.getItem(h))+1;localStorage.setItem(h,e)}}function E(){const e=localStorage.getItem(p);return new Set(e?JSON.parse(e):[])}function C(e){const t=E();t.add(e),localStorage.setItem(p,JSON.stringify([...t]))}function P(e){const t=(new Date).getTime(),n=JSON.parse(localStorage.getItem(m));if(!n||(null===n||void 0===n?void 0:n.timestamp)+_<t){const n=null===e||void 0===e?void 0:e.filter(e=>!0===(null===e||void 0===e?void 0:e.is_active)),o=E(),i={questionList:n.filter(e=>!o.has(e.id)),timestamp:t};localStorage.setItem(m,JSON.stringify(i)),localStorage.setItem(h,"0")}}},5616:function(e,t,n){n.d(t,{Ak:function(){return o}});let o=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((e,t)=>e+=(t&=63)<36?t.toString(36):t<62?(t-26).toString(36).toUpperCase():t>62?"-":"_","")},6074:function(e,t,n){n.d(t,{d:function(){return r}});var o=n(1637),i=n(256);const r=function(e,t){const n="ingesting analytis-event";return(0,i.gv)(n),fetch(o.qW+"/event_metrics/bulk",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(e),keepalive:t}).then(e=>{if(!e.ok)throw new Error(n+" failed: HTTP "+e.status);return e}).catch(e=>{throw console.error("error "+n,e),e})}},6080:function(e,t,n){n.d(t,{B_:function(){return o},dK:function(){return r}});const o="_whatmore-tracking-id",i=new Set(["10588815418","64805306592","69385027902","69075894527","9407168559"]);function r(e){return i.has(String(e))}},6287:function(e,t,n){n.d(t,{B:function(){return c},w:function(){return s}});const o={"https://d3syezql093hs1.cloudfront.net":"https://whatmore-brand-video-assets.azureedge.net","https://d2r0bijhs9mx1s.cloudfront.net":"https://whatmore-brand-thumbnail-video-assets.azureedge.net","https://d2oouab8j9eigo.cloudfront.net":"https://whatmore-brand-story-assets.azureedge.net","https://d28nus7q7qajdn.cloudfront.net":"https://whatmore-video-assets.azureedge.net","https://d1zl4k1t5o4s75.cloudfront.net":"https://whatmore-brand-video-assets-720p.azureedge.net"},i={"https://d3syezql093hs1.cloudfront.net":"https://whatmore-brand-video-assets.b-cdn.net","https://d2r0bijhs9mx1s.cloudfront.net":"https://whatmore-brand-thumbnail-video-assets.b-cdn.net","https://d2oouab8j9eigo.cloudfront.net":"https://whatmore-brand-story-assets.b-cdn.net","https://d28nus7q7qajdn.cloudfront.net":"https://whatmore-video-assets-old.b-cdn.net","https://d1zl4k1t5o4s75.cloudfront.net":"https://whatmore-brand-video-assets-720p.b-cdn.net"};const r="whatmore-neo-instant-poster",a="wht-neo-poster--hidden",l=8;function s(e){if(!e)return;if(window.innerWidth>window.innerHeight)return;const t=function(){let e=document.getElementById(r);if(e)return e;e=document.createElement("div"),e.id=r,e.className="wht-neo-poster "+a;const t=document.createElement("img");t.className="wht-neo-poster-img",t.alt="",e.appendChild(t);const n=document.createElement("div");n.className="wht-neo-poster-spin";const o=document.createElement("div");o.className="wht-neo-sfp-spinner";for(let i=0;i<l;i++)o.appendChild(document.createElement("span"));return n.appendChild(o),e.appendChild(n),document.documentElement.appendChild(e),e}();t.querySelector(".wht-neo-poster-img").src=function(e,t){if(!e)return e;if(e.startsWith("https://cdn.shopify.com"))return e;if("AWSCDN"===t)return e;if(!e.includes(".cloudfront.net"))return e;const n="AZURECDN"===t?o:"BUNNYCDN"===t?i:null;if(!n)return e;for(const o of Object.keys(n))if(e.includes(o))return e.replace(o,n[o]);return e}(e,function(){try{const e=localStorage.getItem("whatmore_brand_customizations");if(!e)return null;const t=JSON.parse(e).customizations;return t&&t.cdn_config?t.cdn_config.fallback_cdn:null}catch(e){return null}}()),t.classList.remove(a)}function c(){const e=document.getElementById(r);e&&e.classList.add(a)}},6431:function(e,t,n){n.d(t,{i:function(){return r}});const o={wgt_1bn9ng8b:{portrait:.5625,landscape:700/1440}};function i(e,t){if(!e)return null;const n=t?e.portrait:e.landscape;return void 0===n||null===n?null:n}function r(e,t,n){const r=i(null===e||void 0===e?void 0:e[t],n);return null!==r?r:i(o[t],n)}},6694:function(e,t,n){n.d(t,{B:function(){return m},G:function(){return h}});var o=n(256),i=n(2567),r=n(1637),a=n(5443),l=n(3208),s=n(4421),c=n(3064),d=n(7156),u=n(9296);function h(){try{return["localhost","127.0.0.1"].includes(window.location.hostname)&&"true"!==localStorage.getItem("whatmoreAllowLocalAnalytics")}catch(e){return!1}}const m=function({userInteractionType:e="",userInteractionMetadata:t={},widgetSourceDetails:n={},event:m="",productList:p=[],ctaList:g=[]}={}){var f;const w=(0,i.U)(),v=(0,i.Ry)(),_=v===r.YZ,y="72201044272"==v&&"event-view"==e?null!==(f=JSON.parse(localStorage.getItem("_user_wh_lc")))&&void 0!==f?f:{latitude:"",longitude:""}:{};if(t={...(0,s.Q)(),...t,...y,user_type:null!=localStorage.getItem("w_user_type")?"olduser":"newuser"},!(0,a.hG)((0,a.VA)(),"event_tracking->is_enabled")||_||w||h())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 b={...(0,u.S)(),interaction_data:(0,d.l)(e,t),data:(0,c.A)(m,n,p,g)};"true"==localStorage.getItem("whatmoreActivateLogs")&&(0,o.xv)(b),(0,l.Z)(b)}},7020:function(e,t,n){function o(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)e[o]=n[o]}return e}n.d(t,{A:function(){return i}});var i=function e(t,n){function i(e,i,r){if("undefined"!==typeof document){"number"===typeof(r=o({},n,r)).expires&&(r.expires=new Date(Date.now()+864e5*r.expires)),r.expires&&(r.expires=r.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var l in r)r[l]&&(a+="; "+l,!0!==r[l]&&(a+="="+r[l].split(";")[0]));return document.cookie=e+"="+t.write(i,e)+a}}return Object.create({set:i,get:function(e){if("undefined"!==typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],o={},i=0;i<n.length;i++){var r=n[i].split("="),a=r.slice(1).join("=");try{var l=decodeURIComponent(r[0]);if(o[l]=t.read(a,l),e===l)break}catch(s){}}return e?o[e]:o}},remove:function(e,t){i(e,"",o({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,o({},this.attributes,t))},withConverter:function(t){return e(o({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},7156:function(e,t,n){n.d(t,{O:function(){return o},l:function(){return i}});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",SHOPNOW_VIEWMORE_CLICKED:"shop-now-view-more-clicked",SHOPNOW_PRODUCT_TITLE_CLICKED:"shop-now-product-title-clicked",VIDEO_TILE_PRODUCT_THUMBNAIL_CLICKED:"video-tile-product-thumbnail-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",PAGE_VISITED:"page-visited",FIRST_TOUCH:"first-touch",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"}),i=function(e,t){return{name:e,metadata:t}}},8924:function(e,t,n){n.d(t,{Ny:function(){return l},U5:function(){return s},f1:function(){return i}});const o={"mosaic-ring":"mosaic","mosaic-plain":"mosaic",hoverplay:"hoverplay",viewmore:"viewmore",feed:"feed",coverflow:"coverflow"},i={carousel:"standard",collections:"mosaic-ring"},r={carousel:{a:"standard",b:"card",c:"mosaic-ring",d:"mosaic-plain",e:"hoverplay",f:"info-strip",g:"text-overlay",h:"focused",i:"coverflow",j:"minimal",l:"feed",s:"circle",v:"viewmore",overlay:"overlay"},collections:{a:"mosaic-ring",b:"mosaic-plain",c:"hoverplay",d:"card",e:"standard",f:"info-strip",g:"text-overlay",h:"focused",i:"coverflow",j:"minimal",l:"feed",s:"circle",v:"viewmore"}},a=new Set(["standard","card","mosaic-ring","mosaic-plain","hoverplay","info-strip","text-overlay","focused","coverflow","minimal","feed","circle","viewmore","overlay"]);function l(e,t){return t&&"default"!==t&&"a"!==t?a.has(t)?t:(r[e]||r.carousel)[t]||null:null}function s(e){return o[e]||"rail"}},9296:function(e,t,n){n.d(t,{S:function(){return s}});var o=n(5616),i=n(5566),r=n(2567),a=n(7020);var l=n(2873);const s=function(){const e=(0,i.wm)(),t=(0,i.zv)(),n=navigator.userAgent,s=(0,r.Ry)();let c;const d=localStorage.getItem("wht_show_carousel");var u;"75310563627"===s&&null!==d?c="true"===d?"jockey-test-group":"jockey-control-group":c=null!==(u=localStorage.getItem("wht_user_group"))&&void 0!==u?u:"";const h=window.location.hostname,m=window.location.pathname,p=(0,o.Ak)(),g=Math.round((new Date).getTime()/1e3),f=function(){var e;return null!==(e=a.A.get("_shopify_s"))&&void 0!==e?e:""}(),w=function(){var e;return null!==(e=a.A.get("_shopify_y"))&&void 0!==e?e:""}(),v="undefined"!==typeof window&&window.whatmore&&window.whatmore.abTestConfig||null,_=v&&null!=v.ab_test_id?v.ab_test_id:null,y=v&&null!=v.version?v.version:null;let b;try{b=(0,l.U)()}catch(S){b={is_video_page:!1,eligible_own_group:!1}}return{user_id:e,session_id:t,user_group:c,ab_test_id:_,ab_test_version:y,user_agent:n,store_id:s,hostname:h,page_path:m,event_id:p,event_timestamp:g,shopify_session_id:f,shopify_user_id:w,is_video_page:b.is_video_page,eligible_own_group:b.eligible_own_group}}},9439:function(e,t,n){function o(e,t){const n=e&&e.querySelector("#"+t),o=n&&(n.getAttribute("data-wh")||n.getAttribute("data")),i=null!=o?parseFloat(o):NaN;return isFinite(i)?i:null}function i(){try{const e=document.getElementById("whatmorePreviewMode");if(e){const t=parseInt(e.getAttribute("width-wh"),10),n=parseInt(e.getAttribute("height-wh"),10);if(t>0&&n>0)return{w:t,h:n}}}catch(e){}return{w:window.innerWidth,h:window.innerHeight}}function r(e){if(!e)return;const t=i();e.setAttribute("data-wht-vp",t.w>t.h?"landscape":"portrait")}n.d(t,{GK:function(){return u},Vo:function(){return r},aT:function(){return m},di:function(){return d},eG:function(){return s},ub:function(){return h},vC:function(){return i}});const a={mosaic:1,hoverplay:1.08};function l(e){return e&&null!=a[e]?a[e]:null}function s(e){if("undefined"===typeof window)return null;try{const e=document.getElementById("whatmorePreviewMode");if(e){const t=parseInt(e.getAttribute("width-wh"),10);if(t>0)return t}}catch(i){}if(!e||!e.parentElement)return null;let t=e;for(;t&&t!==document&&(t=t.parentElement,!t||!t.classList||t.classList.contains("whatmore-base")););if(!t||!t.getBoundingClientRect)return null;const n=t.getBoundingClientRect().width;if(!(n>0))return null;const o=window.getComputedStyle(t);return n-(parseFloat(o.paddingLeft)||0)-(parseFloat(o.paddingRight)||0)}function c(e){var t,n;if("undefined"===typeof window)return null;const r=i(),a=null!==(t=s(e))&&void 0!==t?t:r.w,l=r.h,c=Math.min(a,l),d=l>=a,u=a>=481,h=(null!==(n=o(e,d?"whatmoreVideoTileSizePortrait":"whatmoreVideoTileSize"))&&void 0!==n?n:60)/100,m=.6*c;let p;return p=d?u?.8*m*h:m*h*.9:m*(.5*h*1.3),{widthPx:p,ts:h}}function d(e,t){const n=c(e);if(!n)return null;let o=n.widthPx;const i=l(t);return null!=i&&(o=o*n.ts*i),o=Math.round(o),o>0?o:null}function u(e,t){if(null==l(t))return null;const n=c(e);if(!n)return null;const o=Math.round(n.widthPx*(16/9)*n.ts);return o>0?o:null}function h(e){var t,n;if("undefined"===typeof window)return null;const{w:r,h:a}=i(),l=r>a,s=l?(null!==(t=o(e,"whatmoreStoryTileSizeDesktop"))&&void 0!==t?t:40)/340:(null!==(n=o(e,"whatmoreStoryTileSize"))&&void 0!==n?n:40)/200,c=Math.round((l?a:r)*s);return c>0?c:null}function m(e,t){var n,i;n="--wht-neo-gap-auto",null!=(i=o(t,"whatmoreCollectionsTilesSpacing"))&&isFinite(i)&&e.style.setProperty(n,i+"px")}}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var r=t[o]={id:o,loaded:!1,exports:{}};return e[o](r,r.exports,n),r.loaded=!0,r.exports}n.m=e,n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(o,i){if(1&i&&(o=this(o)),8&i)return o;if("object"===typeof o&&o){if(4&i&&o.__esModule)return o;if(16&i&&"function"===typeof o.then)return o}var r=Object.create(null);n.r(r);var a={};e=e||[null,t({}),t([]),t(t)];for(var l=2&i&&o;("object"==typeof l||"function"==typeof l)&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach(function(e){a[e]=function(){return o[e]}});return a.default=function(){return o},n.d(r,a),r}}(),n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce(function(t,o){return n.f[o](e,t),t},[]))},n.u=function(e){return"static/js/"+({31:"wht-skin-shared-circle",94:"wht-skin-shared-info-strip",126:"wht-neo-banner",172:"wht-skin-shared-coverflow",244:"wht-skin-shared-minimal",259:"location-details",260:"event-click-component",268:"react-main-app",310:"wht-neo-floating",315:"wht-skin-shared-feed",343:"wht-skin-shared-viewmore",506:"wht-skin-shared-focused",508:"wht-skin-shared-standard",545:"wht-skin-shared-card",561:"hls-light",565:"wht-skin-stories-b",579:"wht-neo",719:"wht-neo-stories",760:"homepage-carousel-view",764:"wht-skin-shared-mosaic-plain",781:"wht-skin-shared-hoverplay",833:"wht-skin-shared-text-overlay",838:"wht-skin-shared-mosaic-ring",936:"wht-skin-carousel-overlay",939:"atc-with-form"}[e]||e)+"."+{12:"8b847224",31:"24a0fe1a",94:"c3925c8e",126:"3fb4afc0",172:"e5ba966c",244:"d9ee0e1a",252:"28f145eb",259:"6d7d3e42",260:"d6a08b8e",268:"d82d7b0a",310:"23ff28fb",315:"304d31b7",343:"27108d01",506:"000b6c17",508:"1ddaa382",545:"8269254f",561:"a58e7660",565:"fc7b5a76",579:"9d80b713",580:"f21f06a5",712:"ba396dc5",719:"b5099fc0",760:"1dc820df",764:"374916a6",781:"8a470ec7",833:"8c1ae9ff",838:"cffb44cb",936:"1b3e31a4",939:"88b97d7d"}[e]+".chunk.js"},n.miniCssF=function(e){return"static/css/"+{260:"event-click-component",268:"react-main-app",760:"homepage-carousel-view"}[e]+"."+{260:"f4759a24",268:"9d2b0879",760:"522128da"}[e]+".chunk.css"},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="whatmorelive-react:";n.l=function(o,i,r,a){if(e[o])e[o].push(i);else{var l,s;if(void 0!==r)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var u=c[d];if(u.getAttribute("src")==o||u.getAttribute("data-webpack")==t+r){l=u;break}}l||(s=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,n.nc&&l.setAttribute("nonce",n.nc),l.setAttribute("data-webpack",t+r),l.src=o),e[o]=[i];var h=function(t,n){l.onerror=l.onload=null,clearTimeout(m);var i=e[o];if(delete e[o],l.parentNode&&l.parentNode.removeChild(l),i&&i.forEach(function(e){return e(n)}),t)return t(n)},m=setTimeout(h.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=h.bind(null,l.onerror),l.onload=h.bind(null,l.onload),s&&document.head.appendChild(l)}}}(),n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},n.p="https://cdn.jsdelivr.net/npm/whatmore-react-assets@latest/",function(){if("undefined"!==typeof document){var e=function(e){return new Promise(function(t,o){var i=n.miniCssF(e),r=n.p+i;if(function(e,t){for(var n=document.getElementsByTagName("link"),o=0;o<n.length;o++){var i=(a=n[o]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(i===e||i===t))return a}var r=document.getElementsByTagName("style");for(o=0;o<r.length;o++){var a;if((i=(a=r[o]).getAttribute("data-href"))===e||i===t)return a}}(i,r))return t();!function(e,t,o,i,r){var a=document.createElement("link");a.rel="stylesheet",a.type="text/css",n.nc&&(a.nonce=n.nc),a.onerror=a.onload=function(n){if(a.onerror=a.onload=null,"load"===n.type)i();else{var o=n&&n.type,l=n&&n.target&&n.target.href||t,s=new Error("Loading CSS chunk "+e+" failed.\n("+o+": "+l+")");s.name="ChunkLoadError",s.code="CSS_CHUNK_LOAD_FAILED",s.type=o,s.request=l,a.parentNode&&a.parentNode.removeChild(a),r(s)}},a.href=t,o?o.parentNode.insertBefore(a,o.nextSibling):document.head.appendChild(a)}(e,r,null,t,o)})},t={792:0};n.f.miniCss=function(n,o){t[n]?o.push(t[n]):0!==t[n]&&{260:1,268:1,760:1}[n]&&o.push(t[n]=e(n).then(function(){t[n]=0},function(e){throw delete t[n],e}))}}}(),function(){var e={792:0};n.f.j=function(t,o){var i=n.o(e,t)?e[t]:void 0;if(0!==i)if(i)o.push(i[2]);else{var r=new Promise(function(n,o){i=e[t]=[n,o]});o.push(i[2]=r);var a=n.p+n.u(t),l=new Error;n.l(a,function(o){if(n.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var r=o&&("load"===o.type?"missing":o.type),a=o&&o.target&&o.target.src;l.message="Loading chunk "+t+" failed.\n("+r+": "+a+")",l.name="ChunkLoadError",l.type=r,l.request=a,i[1](l)}},"chunk-"+t,t)}};var t=function(t,o){var i,r,a=o[0],l=o[1],s=o[2],c=0;if(a.some(function(t){return 0!==e[t]})){for(i in l)n.o(l,i)&&(n.m[i]=l[i]);if(s)s(n)}for(t&&t(o);c<a.length;c++)r=a[c],n.o(e,r)&&e[r]&&e[r][0](),e[r]=0},o=self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))}(),n.nc=void 0;var o=n(5443),i=n(121),r=n(6431);const a={heightFactor:1,widthFactor:1,collectionsScale:!1,maxTileWidth:null,useWindowWidth:!1,neoSlideWidth:!1,landscapePadding:null,landscapeSlides:null,portraitTiles:null,tileMarginV:25,tileMarginH:10,centerScale:1,sideScale:1,emphasizeAlways:!1,radius:"5px",headingMode:"ifPresent",headingFlag:null,headingShop:null},l={"template-a":{portraitTiles:3,centerScale:1.05},"template-b":{portraitTiles:3,centerScale:1.05,heightFactor:1.2},"template-g":{portraitTiles:3,centerScale:1.05},"template-neo":{portraitTiles:3,centerScale:1,sideScale:.94,emphasizeAlways:!0,maxTileWidth:340,useWindowWidth:!0,tileMarginV:0,tileMarginH:0,landscapePadding:0,neoSlideWidth:!0},"template-collections-neo":{portraitTiles:3,centerScale:1,sideScale:.94,emphasizeAlways:!0,maxTileWidth:340,useWindowWidth:!0,tileMarginV:0,tileMarginH:0,landscapePadding:0,neoSlideWidth:!0},"template-h":{portraitTiles:3,centerScale:1.05,tileMarginV:12},"template-i":{portraitTiles:3,widthFactor:1.3,landscapeSlides:5,tileMarginV:24,centerScale:1,sideScale:.72},"template-j":{portraitTiles:3,tileMarginV:0,centerScale:1.02,sideScale:.98},"template-c":{tileMarginV:5,tileMarginH:5,radius:"10%",headingMode:"never",collectionsScale:!0},"template-d":{tileMarginV:2,tileMarginH:2,radius:"0%",headingMode:"never",collectionsScale:!0},"template-e":{tileMarginV:2,tileMarginH:2,radius:"5%",collectionsScale:!0,headingMode:"flag",headingFlag:"event_tile_config->show_heading_in_single_tile_carousel",headingShop:["5032640601","53425012925"]},"template-f":{radius:"8px"},"template-feed-a":{tileMarginV:3,headingMode:"never"}};var s,c=n(9439);const d=null!==(s="true"==localStorage.getItem("whatmoreActivateLogs"))&&void 0!==s&&s,u=16/9;function h(e){return(t,n)=>{const o=e.querySelector(`#${t}`);if(!o)return n;return o.getAttribute("data-wh")||o.getAttribute("data")||n}}function m(e,t){if(!e)return null;const n=t.split("->");let o=e;for(const i of n){if(!o||"object"!==typeof o||!(i in o))return null;o=o[i]}return o}function p(e,t){var n,o;const i=(null===(n=e.querySelector("#whatmoreShopId"))||void 0===n?void 0:n.getAttribute("data-wh"))||(null===(o=e.querySelector("#whatmoreShopId"))||void 0===o?void 0:o.getAttribute("data"));if("51273072796"==i||"64967540952"==i)return[document.documentElement.clientHeight,document.documentElement.clientWidth];let r=e;for(;r&&r!==document&&(r=r.parentElement,!r||r.classList.contains("whatmore-base")););let a=window.innerWidth;if(r){const e=r.getBoundingClientRect().width;if(e>0){const t=window.getComputedStyle(r);a=e-(parseFloat(t.paddingLeft)||0)-(parseFloat(t.paddingRight)||0)}0==e&&r.style.setProperty("width","100%","important")}return[window.innerHeight,a]}function g(){return window.location.href.split(/[?#]/)[0]}function f(e,t){const n=h(e),o=n("whatmoreExtensionType",null),i=function(e){return e.querySelector('.whatmore-template-type[data-wh="template-banner-a"]')||e.querySelector('.whatmore-template-type[data="template-banner-a"]')||e.querySelector('.whatmore-template-type[data-wh="template-banner-neo"]')||e.querySelector('.whatmore-template-type[data="template-banner-neo"]')?"banner":e.querySelector('[data-wh="collection"]')||e.querySelector('[data="collection"]')?"collection":e.querySelector('[data-wh="carousel"]')||e.querySelector('[data="carousel"]')?"carousel":null}(e),r=function(e,t,n,o){const i=h(e),r=i("whatmoreShopId",null);if("index"===t&&"carousel"===n)return"homepage";if(t&&t.startsWith("product"))return m(o,"show_homepage_videos_in_pdp")?"homepage":i("whatmoreProductId",null);if("collection"===n){let e;return"19506115"===r?e="343270603":m(o,"collections_config->use_page_link_as_collection_id")?e=m(o,"collections_config->multi_carousel_enabled")?i("whatmoreCollectionUrl",null):g():(e=i("whatmoreCollectionId",null),"0"===e&&(e=i("whatmorePageId",null)),e&&"0"!==e||(e=g())),e}return"carousel"===n?"homepage":null}(e,o,i,t);return{shopId:n("whatmoreShopId",null),landingLocationType:o,widgetType:i,actualId:r,widgetIdentity:n("whatmoreWidgetIdentity","wgt_default"),isValidId:(a=r,!(!a||null===a||"null"===a||""===a)&&/^\d+$/.test(String(a))||"homepage"===r)};var a}function w(e,t,n,o,r){var a;if(null!==(a=m(r,"shimmer_config->enable_shimmer"))&&void 0!==a&&!a)return null;if(null!==i.A)return i.A;if(!n||""===n||"undefined"===n||"null"===n)return null;let l=null;return"homepage"===n?l=function(e,t){const n=window.whatmoreHomepageCarouselEvents;if(!n)return null;const o=m(t,"show_out_of_stock_videos");if(e&&"wgt_default"!==e){const t=n[e];return t?o?t.tc:t.sc||t.tc:null}return o?n.tc:n.sc}(o,r):t&&t.startsWith("product")?l=function(e,t,n){var o;const i=window.whatmorePdpCarouselEvents;if(!i)return null;const r=m(n,"show_out_of_stock_videos");if(t&&"wgt_default"!==t){var a;const n=t.split("_");if(n.length<2||!n[1])return null;const o=null===(a=i[`w_${n[1][0]}`])||void 0===a?void 0:a[t];if(!o)return null;const l=o.scope_mode||"all",s=o.scope_targets||[],c=String(e);let d=!1;return"all"===l?d=!0:"include"===l?d=s.includes(c):"exclude"===l&&(d=!s.includes(c)),d?r?o.etc:o.esc:null}const l=null===(o=i["p_"+parseInt(e)%127])||void 0===o?void 0:o[e];return l?r?l.etc:l.esc:null}(n,o,r):"collection"===e&&(l=function(e,t,n){var o,i;const r=null===(o=window.whatmore)||void 0===o?void 0:o.collectionMetafields;if(!r)return null;const a=t&&"wgt_default"!==t?`${e}_${t}`:e,l=null===(i=r["c_"+parseInt(e)%63])||void 0===i?void 0:i[a];return l?m(n,"show_out_of_stock_videos")?l.tc:l.sc:null}(n,o,r)),null===l||void 0===l||0===l?(d&&console.log(`[Shimmer] Event count is ${l}, skipping shimmer`),null):l}function v(e){const t=h(e);return{videoTileSize:parseInt(t("whatmoreVideoTileSize","60")),videoTileSizePortrait:parseInt(t("whatmoreVideoTileSizePortrait","60")),topBottomPadding:parseInt(t("whatmoreTopBottomPadding","20")),landscapePadding:parseInt(t("whatmoreLandscapePadding","40")),heading:t("whatmoreCollectionHeading","")&&"W"!==t("whatmoreCollectionHeading","")?t("whatmoreCollectionHeading",""):t("whatmoreHeading",""),titleFontSize:parseInt(t("whatmoreTitleFontSize","24")),titleFontSizePortrait:parseInt(t("whatmoreTitleFontSizePortrait","24")),shopId:t("whatmoreShopId",null),collectionsTilesSpacing:parseInt(t("whatmoreCollectionsTilesSpacing","14"))}}function _(e,t,n,o,i){const r=Math.min(t,n);let a,l,s=.6*r*u,c=.6*r;const d="desktop"===e||"mobileLandscape"===e;if("mobilePortrait"===e){const e=o.videoTileSizePortrait/100;c=c*e*.9,s=s*e*.9,a=2,l=0}else if("tablet"===e){const e=o.videoTileSizePortrait/100;c=.8*c*e,s=.8*s*e,h=t/(1.2*c),a=Math.round(10*h)/10,l=0}else if("mobileLandscape"===e)c*=.7,s*=.7,l=o.landscapePadding,a=(t-2*l)/(1.1*c);else{const e=o.videoTileSize/100*1.3*.5;c*=e,s*=e,l=o.landscapePadding,a=(t-2*l)/(1.1*c)}var h;if(i.collectionsScale){const t=("mobilePortrait"===e||"tablet"===e?o.videoTileSizePortrait:o.videoTileSize)/100;c*=t,s*=t}return s*=i.heightFactor,d&&(c*=i.widthFactor,s*=i.widthFactor),d&&i.landscapeSlides&&(a=i.landscapeSlides),null!=i.landscapePadding&&(l=i.landscapePadding),i.maxTileWidth&&c>i.maxTileWidth&&(s*=i.maxTileWidth/c,c=i.maxTileWidth),{height:s,width:c,slidesPerView:a,landscapePadding:l}}function y(e){var t;const{widgetContainer:n,customizations:o,eventCount:i,templateType:r}=e,s=function(e){return{...a,...l[e]||{}}}(r),[d,h]=s.useWindowWidth?[window.innerHeight,window.innerWidth]:p(n),g=v(n),f=function(e,t){const n=e>t,o=e>=481;return n&&o?"desktop":!n&&o?"tablet":n&&!o?"mobileLandscape":"mobilePortrait"}(h,d),w=_(f,h,d,g,s);if(s.neoSlideWidth){let e=(0,c.di)(n);e&&(s.maxTileWidth&&(e=Math.min(e,s.maxTileWidth)),w.width=e,w.height=e*u)}const y=("mobilePortrait"===f||"tablet"===f)&&s.portraitTiles?s.portraitTiles:i,b="never"!==s.headingMode&&("flag"!==s.headingMode||(!!m(o,s.headingFlag)||!!s.headingShop&&(Array.isArray(s.headingShop)?s.headingShop.includes(g.shopId):g.shopId===s.headingShop)))?(S=g.heading,I=g.titleFontSize,S&&""!==S.trim()?Math.round(1.2*I+16):0):0;var S,I;const T=null!==(t=m(o,"carousel_config->width_multiplier"))&&void 0!==t?t:1.1,x=g.topBottomPadding+b+s.tileMarginV+w.height+s.tileMarginV+g.topBottomPadding,E=function(e){const{tileWidth:t,tileHeight:n,numberOfTiles:o,headingHeight:i,topBottomPadding:r,landscapePadding:l,deviceMode:s,windowWidth:c,slidesPerView:d,widthMultiplier:u=1.1,cfg:h=a,gap:m=null}=e,p="desktop"===s||"mobileLandscape"===s;let g=`<div class="whatmore-shimmer-widget-container" style="height: 100%; margin-top: ${r}px; margin-bottom: ${r}px;">\n <div class="whatmore-shimmer-carousel-events" style="height: 100%;">`;i>0&&(g+=`<div style="display:flex;flex-direction:column;justify-content:center;align-items:center;">\n <div style="height:${i-16}px;width:200px;background:#e0e0e0;border-radius:4px;margin-bottom:16px;position:relative;overflow:hidden;">\n <div class="whatmore-shimmer-animation"></div></div></div>`),g+=`<div class="${p?"whatmore-shimmer-events-carousel-landscape":"whatmore-shimmer-events-carousel-portrait"}" style="display:flex;justify-content:center;align-items:center;${p?`padding-left:${l}px;padding-right:${l}px;`:""}">`,g+=`<div style="width:${p?t*d*u+"px":c+"px"};height:fit-content;overflow:hidden;${p?"":"display:flex;justify-content:center;"}">`;const f=`<div style="width:${t}px;height:${n}px;background:#e0e0e0;border-radius:${h.radius};position:relative;overflow:hidden;"><div class="whatmore-shimmer-animation"></div></div>`,w=h.emphasizeAlways||!p&&h.portraitTiles||p&&h.landscapeSlides,v=Math.floor(o/2),_=e=>{const t=w?e===v?h.centerScale:h.sideScale:1,n=1!==t?`transform:scale(${t});`:"";return`<div style="flex-shrink:0;margin:${h.tileMarginV}px ${h.tileMarginH}px;${n}">${f}</div>`};g+=`<div style="display:flex;gap:${null!=m?m:p?Math.round(t*u-t-20):0}px;margin:0 auto;width:max-content;">`;for(let a=0;a<o;a++)g+=_(a);return g+="</div></div></div></div></div>",g}({tileWidth:w.width,tileHeight:w.height,numberOfTiles:y,headingHeight:b,topBottomPadding:g.topBottomPadding,landscapePadding:w.landscapePadding,deviceMode:f,windowWidth:h,slidesPerView:w.slidesPerView,widthMultiplier:T,cfg:s,gap:s.neoSlideWidth?g.collectionsTilesSpacing:null});return{totalHeight:Math.round(x),shimmerHTML:E}}const b={standard:{widthFactor:1,aspect:16/9,scale:.94,maxW:1/0,portraitCenter:!0},card:{widthFactor:1,aspect:2.09,scale:1,maxW:360,portraitCenter:!0},"mosaic-ring":{widthFactor:1,aspect:16/9,scale:1,maxW:240},"mosaic-plain":{widthFactor:1,aspect:16/9,scale:1,maxW:240},"info-strip":{widthFactor:1,aspect:16/9,extraH:45,scale:1,maxW:340,portraitCenter:!0},"text-overlay":{widthFactor:1,aspect:16/9,scale:1,maxW:340,portraitCenter:!0},focused:{widthFactor:1,aspect:16/9,extraH:50,scale:.94,maxW:340,portraitCenter:!0},coverflow:{widthFactor:1.15,aspect:16/9,scale:1,maxW:320},hoverplay:{vwFactor:.575,aspect:16/9,scale:1,maxW:420},feed:{widthFactor:1,aspect:16/9,scale:1,maxW:340},circle:{storySize:!0,aspect:1,scale:1,maxW:120},overlay:{widthFactor:1,aspect:16/9,scale:1,maxW:360,portraitCenter:!0},viewmore:{widthFactor:1,aspect:16/9,scale:1,maxW:220}},S={widthFactor:1,aspect:16/9,scale:1,maxW:340};function I(e){var t,n;const{windowWidth:o,windowHeight:i,customizations:a,widgetIdentity:l}=e,s=function(e){const t=window.whatmoreHpBannerEventCounts;return t?e&&"wgt_default"!==e?t[e]||null:t:null}(l);if(!s||!s.tc)return null;const c={landscape:s.landscape_poster||null,portrait:s.portrait_poster||null};if(!c.landscape&&!c.portrait)return null;const d=o<=i,u=d?c.portrait:c.landscape;if(!u)return null;const h=parseInt(((e,t)=>{const n=document.querySelector(`#${e}`);return n&&(n.getAttribute("data-wh")||n.getAttribute("data"))||t})("whatmoreVideoTileSize","60")),p=m(a,"banner_config->portrait_multiplier"),g=m(a,"banner_config->landscape_multiplier"),f=h/100*(null!==p&&void 0!==p?p:1),w=h/100*(null!==g&&void 0!==g?g:1),v=(0,r.i)(m(a,"banner_config->widget_aspect_ratios"),l,d),_=null!==v&&void 0!==v?v:d?null!==(t=m(a,"banner_config->portrait_aspect_ratio"))&&void 0!==t?t:1:null!==(n=m(a,"banner_config->landscape_aspect_ratio"))&&void 0!==n?n:.5625,y=d?o*f:o*w,b=m(a,"banner_config->is_full_screen")||!1,S=b?o*_:y*_;return{totalHeight:S,shimmerHTML:`\n <div class="whatmore-banner-shimmer-wrapper" style="position:relative;margin:0 auto;width:${b?"100%":`${y}px`};height:${S}px;border-width:${m(a,"theme_config->event_tile->border_width")||"0px"};border-color:${m(a,"theme_config->event_tile->border_color")||"transparent"};border-style:solid;overflow:hidden;background:linear-gradient(135deg,#c0c0c0 0%,#d0d0d0 25%,#e0e0e0 50%,#d0d0d0 75%,#c0c0c0 100%);box-shadow:0 2px 8px rgba(0,0,0,0.08);">\n <img src="${u}" alt="Loading preview" class="whatmore-banner-shimmer-poster" style="position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;display:block;opacity:1;" />\n <div class="whatmore-banner-shimmer-overlay" style="position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(90deg,rgba(255,255,255,0.05) 0%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.05) 100%);background-size:200% 100%;animation:whatmore-banner-shimmer-wave 2.5s ease-in-out infinite;"></div>\n </div>`}}function T(e){var t;const{customizations:n,widgetContainer:o,eventCount:i}=e,[r,a]=p(o),l=function(e){const t=h(e);return{videoTileSize:parseInt(t("whatmoreVideoTileSize","60")),videoTileSizePortrait:parseInt(t("whatmoreVideoTileSizePortrait","60")),landscapePadding:parseInt(t("whatmoreLandscapePadding","0")),collectionsTilesSpacing:parseInt(t("whatmoreCollectionsTilesSpacing","3")),topBottomPadding:parseInt(t("whatmoreTopBottomPadding","20"))}}(o),s=r>a?"portrait":"landscape",c="portrait"===s?l.videoTileSizePortrait:l.videoTileSize,{WIDTH:d}=function(e,t,n){const o=e>t,i=t>e,r=i&&e>=481,a=n/100*1.3*.5,l=n/100,s=Math.min(e,t);let c=.6*s,d=.6*s*(16/9);return o?(c*=a,d*=a):r?(c=.8*c*l,d=.8*d*l):i?(c=c*l*.9,d=d*l*.9):(c*=.7,d*=.7),{WIDTH:c,HEIGHT:d}}(a,r,c),u="portrait"===s?0:l.landscapePadding,g=l.collectionsTilesSpacing,f=d*c*.01,w=m(n,"collections_config->story_tile_size_factor")||1,v=null!==(t=m(n,"collections_config->story_tile_shape"))&&void 0!==t?t:"circle",_=m(n,"collections_config->remove_borders"),y=parseInt(m(n,"collections_config->tile_margin_right"))||0,b=_?2:y||0,S=_?2:5,I=_?2:5,T="circle"===v?"50%":"6%",x=f*w,E="rectangle"===v?1.5*x:x,C=S+E+10+I,P=2*l.topBottomPadding+C,O=a-2*u,k=x+b,W=Math.min(Math.ceil((O+g)/(k+g)),8),A=void 0!==i?i:W,M="landscape"===s?"whatmore-shimmer-events-carousel-landscape":"whatmore-shimmer-events-carousel-portrait";let L=`<div class="whatmore-shimmer-widget-container" style="height:100%;margin-top:${l.topBottomPadding}px;margin-bottom:${l.topBottomPadding}px;overflow:hidden;">\n <div class="whatmore-shimmer-carousel-events" style="height:100%;overflow:hidden;">\n <div class="${M}" style="margin-left:${u}px;margin-right:${u}px;">\n <div class="whatmore-shimmer-collections-flex-stories" style="display:flex;flex-direction:row;gap:${g}px;overflow:hidden;">`;for(let h=0;h<A;h++)L+=`<div style="display:flex;flex-direction:column;justify-content:center;align-items:center;flex-shrink:0;margin-right:${b}px;margin-top:${S}px;margin-bottom:${I}px;">\n <div style="border-radius:${T};overflow:hidden;">\n <div class="whatmore-shimmer-tile" style="flex-shrink:0;height:${E}px;width:${x}px;border-radius:${T};background-color:#e0e0e0;overflow:hidden;border:3px solid #d0d0d0;box-sizing:border-box;">\n <div class="whatmore-shimmer-animation"></div></div></div>\n <div style="width:${x}px;padding-top:10px;"><p style="margin:0;height:0;"></p></div></div>`;return L+="</div></div></div></div>",{totalHeight:Math.round(P),shimmerHTML:L}}function x(e){const{templateType:t,widgetContainer:n,customizations:o}=e,i=f(n,o);if("template-banner-a"===t||"template-banner-neo"===t)return e.widgetIdentity=i.widgetIdentity,I(e);const r=w(i.widgetType,i.landingLocationType,i.actualId,i.widgetIdentity,o);return null===r?null:(e.eventCount=r,e.neoMode?function(e){const{widgetContainer:t,neoMode:n,neoSkin:o,eventCount:i}=e,r=v(t),{w:a,h:l}=(0,c.vC)(),s=a>l?"landscape":"portrait",d=(0,c.di)(t,n)||Math.round(.3*Math.min(a,l)),u=b[o]||S,h=(0,c.GK)(t,n);let m,p;h?(m=Math.min(d,u.maxW),p=h):u.storySize?(m=Math.min((0,c.ub)(t)||Math.round(.135*Math.min(a,l)),u.maxW),p=Math.round(m*u.aspect)+(u.extraH||0)):u.vwFactor?(m=Math.min(Math.round(u.vwFactor*a),u.maxW),p=Math.round(m*u.aspect)+(u.extraH||0)):(m=Math.min(Math.round(d*u.widthFactor),u.maxW,Math.round(.55*a)),p=Math.round(m*u.aspect)+(u.extraH||0));const g=!!r.heading,f="landscape"===s?r.titleFontSize:r.titleFontSizePortrait,w=g?Math.round(1.2*f+4):0,_=r.collectionsTilesSpacing,y="landscape"===s?u.scale:1,I=m*y+_,T=Math.max(1,Math.ceil(a/I)),x=i>0?i:T+2,E=x>T;let C=E?T+2:x,P=E?"overflow":"fit",O=1;if("viewmore"===n){C=Math.min(6,x);const e=(t&&t.getBoundingClientRect().width||a)-24,n=Math.max(1,Math.min(C,Math.floor(e/(m+_))));O=Math.ceil(C/n),P="grid"}else if("feed"===n){const e="landscape"===s?3:2;C=Math.min(8,x),O=Math.ceil(C/e),P="grid"}if("portrait"===s&&u.portraitCenter){const e=Math.max(T+1,3);C=e%2===0?e+1:e}const k="feed"===n?Math.round(m*("landscape"===s?.31:.37)):_,W=Math.round((O*p+Math.max(0,O-1)*k)*y),A=2*r.topBottomPadding+w+W,M=u.portraitCenter?"center":"start",L="landscape"===s?r.landscapePadding:0;let D=`<div class="whatmore-shimmer-neo" data-wht-mode="${n}" data-wht-skin="${o||""}" data-wht-vp="${s}" data-wht-fill="${P}" data-wht-palign="${M}" style="--sh-tile-w:${m}px;--sh-tile-h:${p}px;--sh-gap:${_}px;--sh-scale:${u.scale};margin-top:${r.topBottomPadding}px;margin-bottom:${r.topBottomPadding}px;">`;w>0&&(D+=`<div class="whatmore-shimmer-neo-heading" style="height:${w-16}px;"><div class="whatmore-shimmer-animation"></div></div>`),D+=`<div class="whatmore-shimmer-neo-rail" style="margin-inline:${L}px;">`;for(let c=0;c<C;c++)D+='<div class="whatmore-shimmer-neo-tile"><div class="whatmore-shimmer-animation"></div></div>';return D+="</div></div>",{totalHeight:Math.round(A),shimmerHTML:D}}(e):"template-stories"===t?T(e):y(e))}var E=n(1637);const C="wht-net-probe",P="wht-net-probe-style";function O(e){return"number"===typeof e&&isFinite(e)}function k(e){return e>=10?Math.round(e).toString():e.toFixed(1)}function W(){const e=performance.getEntriesByType&&performance.getEntriesByType("resource")||[];let t=null;for(let n=0;n<e.length;n++){const o=e[n],i=o.transferSize,r=o.responseEnd-o.responseStart;if(i>8192&&r>4){const e=8*i/(r/1e3)/1e6;(!t||i>t.bytes)&&(t={mbps:e,bytes:i,ms:r})}}return t}function A(){try{if("undefined"===typeof window||"undefined"===typeof URLSearchParams||!new URLSearchParams(window.location.search).has("whtProbe"))return;if("undefined"===typeof document||!document.body||document.getElementById(C))return;!function(){!function(){if(document.getElementById(P))return;const e=document.createElement("style");e.id=P,e.textContent=".wht-net{position:fixed;right:8px;bottom:8px;z-index:2147483000;pointer-events:none;font:600 11px/1.35 ui-monospace,SFMono-Regular,Menlo,monospace;color:#fff;background:rgba(12,12,16,.82);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.14);border-radius:9px;padding:7px 9px;min-width:172px;box-shadow:0 4px 14px rgba(0,0,0,.35);letter-spacing:.2px;}.wht-net-grp+.wht-net-grp{margin-top:6px;padding-top:6px;border-top:1px solid rgba(255,255,255,.1);}.wht-net-r1{display:flex;align-items:center;gap:6px;}.wht-net-tag{flex:0 0 auto;width:30px;font-size:9px;font-weight:700;opacity:.5;letter-spacing:.5px;}.wht-net-bar{position:relative;flex:1;height:5px;border-radius:3px;background:rgba(255,255,255,.16);overflow:hidden;}.wht-net-bar>i{position:absolute;left:0;top:0;bottom:0;width:0;border-radius:3px;transition:width .5s ease,background .3s ease;}.wht-net-val{white-space:nowrap;font-weight:700;}.wht-net-sub{margin-top:3px;padding-left:36px;font-size:10px;opacity:.72;font-weight:500;white-space:nowrap;}.wht-net-hdr{margin-bottom:6px;font-size:9px;font-weight:700;letter-spacing:.5px;color:#fc739c;}.wht-net-hdr small{display:block;margin-top:1px;font-size:9px;font-weight:500;letter-spacing:.2px;color:rgba(255,255,255,.6);white-space:nowrap;line-height:1.3;}",document.head.appendChild(e)}();const e=document.createElement("div");e.id=C,e.className="wht-net",e.innerHTML='<div class="wht-net-hdr">WHATMORE DIAGNOSTIC<small>Visible only here, don\'t worry.</small></div><div class="wht-net-grp"><div class="wht-net-r1"><span class="wht-net-tag">NET</span><span class="wht-net-bar"><i></i></span><span class="wht-net-val wht-net-mbps">\u2026</span></div><div class="wht-net-sub wht-net-nsub"></div></div><div class="wht-net-grp"><div class="wht-net-r1"><span class="wht-net-tag">HOST</span><span class="wht-net-bar"><i></i></span><span class="wht-net-val wht-net-hval">\u2026</span></div><div class="wht-net-sub wht-net-hsub"></div><div class="wht-net-sub wht-net-hsub2"></div></div>',document.body.appendChild(e);const t=t=>e.querySelector(t),n=e.querySelectorAll(".wht-net-bar > i"),o=n[0],i=t(".wht-net-mbps"),r=t(".wht-net-nsub"),a=n[1],l=t(".wht-net-hval"),s=t(".wht-net-hsub"),c=t(".wht-net-hsub2"),d={measured:W(),blockedMs:0,longtaskSupported:!1},u=()=>{d.measured=W()||d.measured;const e=navigator&&navigator.connection||{},t=d.measured?d.measured.mbps:O(e.downlink)?e.downlink:null,n=(u=t,h=e.effectiveType,null==u&&h&&(u={"slow-2g":.3,"2g":.6,"3g":2.5,"4g":12}[h]),null==u?{frac:.5,color:"#9a9aa2"}:u<1.5?{frac:.15,color:"#ff4d4f"}:u<4?{frac:.4,color:"#ffa940"}:u<10?{frac:.68,color:"#bae637"}:{frac:.92,color:"#52c41a"});var u,h;o.style.width=Math.round(100*n.frac)+"%",o.style.background=n.color,i.textContent=null!=t?k(t)+" Mbps":"unknown",i.style.color=n.color;const m=[];e.effectiveType&&m.push(e.effectiveType),O(e.rtt)&&m.push(e.rtt+"ms"),d.measured?m.push(Math.round(d.measured.bytes/1024)+"KB in "+Math.round(d.measured.ms)+"ms"):O(e.downlink)&&m.push("\u2193"+k(e.downlink)+" est"),r.textContent=m.length?m.join(" \xb7 "):"no Network Information API";const p=function(){const e=e=>performance.getEntriesByType&&performance.getEntriesByType(e)||[],t=e("navigation")[0]||null;return{fcp:e("paint").reduce((e,t)=>"first-contentful-paint"===t.name?t.startTime:e,null),req:e("resource").length,ttfb:t?t.responseStart:null}}(),g=d.longtaskSupported||O(p.fcp),f=function(e,t,n){if(!n)return{frac:.5,color:"#9a9aa2",label:"n/a"};const o=e||0;return o>600||O(t)&&t>4e3?{frac:.2,color:"#ff4d4f",label:"heavy"}:o>250||O(t)&&t>2200?{frac:.5,color:"#ffa940",label:"moderate"}:{frac:.9,color:"#52c41a",label:"light"}}(d.blockedMs,p.fcp,g);a.style.width=Math.round(100*f.frac)+"%",a.style.background=f.color,l.textContent=f.label,l.style.color=f.color;const w=[];d.longtaskSupported&&w.push("blocked "+Math.round(d.blockedMs)+"ms"),w.push(p.req+" req"),s.textContent=w.join(" \xb7 ");const v=[];O(p.fcp)&&v.push("fcp "+(p.fcp/1e3).toFixed(1)+"s"),O(p.ttfb)&&v.push("ttfb "+Math.round(p.ttfb)+"ms"),c.textContent=v.join(" \xb7 "),c.style.display=v.length?"":"none"};u(),navigator&&navigator.connection&&navigator.connection.addEventListener&&navigator.connection.addEventListener("change",u);"complete"!==document.readyState&&window.addEventListener("load",u,{once:!0});if(setTimeout(u,2500),"undefined"!==typeof PerformanceObserver)try{new PerformanceObserver(e=>{e.getEntries().forEach(e=>{d.blockedMs+=e.duration}),u()}).observe({type:"longtask",buffered:!0}),d.longtaskSupported=!0}catch(h){}}()}catch(e){"undefined"!==typeof console&&console.warn("[whtProbe] disabled:",e)}}var M=n(6287),L=n(9296),D=n(7156),$=n(3064),N=n(6074),H=n(2567),z=n(5566),R=n(4421);let B=!1;const j="_whatmore_first_touch_session";function V(){if(B)return;const e=(0,H.yI)(),t=function(e){return null!==e&&void 0!==e&&e.startsWith("collection")?D.O.COLLECTION_PAGE_VISITED:null!==e&&void 0!==e&&e.startsWith("product")?D.O.PDP_VISITED:null!==e&&void 0!==e&&e.startsWith("index")?D.O.HOMEPAGE_VISITED:null!==e&&void 0!==e&&e.startsWith("page")?D.O.PAGE_VISITED:null}(e),n=(0,z.zv)();if(localStorage.getItem(j)!==n&&(localStorage.setItem(j,n),function(e){const t=(0,L.S)(),n=(0,D.l)(D.O.FIRST_TOUCH,{path:window.location.pathname,landing_location_type:e,...(0,R.Q)()}),o=(0,$.A)("",{landingLocationType:e,templateType:""},[],[]),i={...t,interaction_data:n,data:o};(0,N.d)({metric_event_list:[i]},!0)}(e)),!t)return;B=!0;const o={...(0,L.S)(),interaction_data:(0,D.l)(t,{user_type:null!=localStorage.getItem("w_user_type")?"olduser":"newuser",...(0,R.Q)()}),data:(0,$.A)("",{landingLocationType:e,templateType:""},[],[])};(0,N.d)({metric_event_list:[o]},!0)}var q=n(3208);let G=!1;var F,U,J,K,Y,Z,X,Q,ee=n(6694),te=n(6080),ne=n(3403),oe=n(2873),ie=n(8924);const re=Array.from(document.getElementsByClassName("whatmore-base")),ae=null!==(F="true"==localStorage.getItem("whatmoreActivateLogs"))&&void 0!==F&&F,le=function(e){return"template-banner-a"===e||"template-banner-neo"===e},se=function(e){return"template-collections-a"==e||"template-collections-b"==e||"template-collections-c"==e||"template-collections-d"==e||"template-collections-e"==e||"template-collections-stories"==e||"template-collections-f"==e||"template-collections-g"==e||"template-collections-h"==e||"template-collections-i"==e||"template-collections-feed-a"==e||"template-collections-j"==e||"template-collections-a-1"==e||"template-collections-neo"==e},ce=function(e){return"template-stories-a"===e||"template-stories-b"===e||"template-stories-neo"===e};const de={1:{"template-collections-a":"mosaic-ring","template-collections-b":"mosaic-plain","template-collections-c":"hoverplay","template-collections-d":"card","template-collections-e":"standard","template-collections-f":"info-strip","template-collections-g":"text-overlay","template-collections-h":"focused","template-collections-i":"coverflow","template-collections-j":"minimal","template-collections-feed-a":"feed","template-collections-a-1":"viewmore","template-collections-stories":"circle","template-stories-a":"a","template-stories-b":"b"},2:{"template-a":"standard","template-b":"card","template-c":"mosaic-ring","template-d":"mosaic-plain","template-e":"hoverplay","template-f":"info-strip","template-g":"text-overlay","template-h":"focused","template-i":"coverflow","template-j":"minimal","template-feed-a":"feed","template-a-1":"viewmore","template-stories":"circle"},3:{}};function ue(e){for(let t=1;t<=0;t++){const n=de[t];if(n&&n[e])return n[e]}return null}function he(e,t){const n=document.getElementById(e);if(!n)return t;return n.getAttribute("data-wh")||n.getAttribute("data")||t}function me(e,t,n,i,r){var a;if("template-embed"===n||"template-floating-neo"===n)return;if(ce(n))return;if("60595503283"===ge)return;if(!(null===(a=(0,o.hG)(i,"shimmer_config->enable_shimmer"))||void 0===a||a))return;const l=function(e){return{"template-collections-a":"template-c","template-collections-b":"template-d","template-collections-c":"template-e","template-collections-d":"template-b","template-collections-e":"template-a","template-collections-f":"template-f","template-collections-feed-a":"template-feed-a","template-collections-g":"template-g","template-collections-h":"template-h","template-collections-i":"template-i","template-collections-j":"template-j","template-collections-stories":"template-stories"}[e]||e}(n),[s,c]=p(t);try{const o=function(e,t){const n=ue(e);if("template-neo"!==e&&"template-collections-neo"!==e&&(null===n||ce(e)||le(e)))return{mode:null,skin:null};const o=se(e)?"collections":"carousel";let i=null;try{i=new URLSearchParams(window.location.search).get("neoskin")}catch(l){}const r=null!==n?null:t&&t.neo&&t.neo[o]&&t.neo[o].skin,a=(0,ie.Ny)(o,i||r)||n||ie.f1[o];return{mode:(0,ie.U5)(a),skin:a}}(n,i),a=x({templateType:l,widgetContainer:t,customizations:i,windowWidth:c,windowHeight:s,neoMode:o.mode,neoSkin:o.skin});if(a&&a.totalHeight&&a.shimmerHTML){if(!document.getElementById("whatmore-shimmer-styles")){const e=document.createElement("style");e.id="whatmore-shimmer-styles",e.textContent='\n@keyframes whatmore-shimmer-wave {\n 0% { transform: translateX(-100%); }\n 100% { transform: translateX(100%); }\n}\n@keyframes whatmore-banner-shimmer-wave {\n 0% { background-position: 200% 0; }\n 100% { background-position: -200% 0; }\n}\n@keyframes whatmore-banner-shimmer-pulse {\n 0%, 100% { opacity: 0.3; }\n 50% { opacity: 0.5; }\n}\n.whatmore-pixel-shimmer-container { width: 100%; overflow: hidden; }\n.whatmore-shimmer-heading { position: relative; overflow: hidden; }\n.whatmore-shimmer-tiles-row { display: flex; gap: 12px; overflow: hidden; }\n.whatmore-shimmer-tile-wrapper { flex-shrink: 0; }\n.whatmore-shimmer-tile { position: relative; overflow: hidden; }\n.whatmore-shimmer-product-info { margin-top: 8px; }\n.whatmore-shimmer-animation {\n position: absolute; top: 0; left: 0; width: 100%; height: 100%;\n background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);\n animation: whatmore-shimmer-wave 1.5s infinite;\n}\n/* stories row: center when tiles fit, else start-from-left (left tile never clipped). Auto-margin\n pseudo-elements collapse to 0 on overflow \u2014 unlike justify-content:center, which clips both edges. */\n.whatmore-shimmer-collections-flex-stories::before,\n.whatmore-shimmer-collections-flex-stories::after { content: \'\'; margin: auto; }\n\n/* ===== NEO skin shimmer: one generic skeleton, per-mode SHAPE keyed off data-wht-mode (mirrors the\n neo engine\'s generic-DOM + skin-CSS split). Tile size comes from the engine\'s own computeSlideWidthPx\n via the --sh-tile-w/h vars set inline. ===== */\n.whatmore-shimmer-neo { width: 100%; }\n.whatmore-shimmer-neo-heading { width: 200px; margin: 0 auto 16px; background: #e0e0e0; border-radius: 4px; position: relative; overflow: hidden; }\n.whatmore-shimmer-neo-rail { display: flex; justify-content: center; align-items: center; gap: var(--sh-gap, 14px); position: relative; }\n.whatmore-shimmer-neo-tile { flex: 0 0 auto; width: var(--sh-tile-w, 120px); height: var(--sh-tile-h, 213px); background: #e0e0e0; border-radius: 12px; position: relative; overflow: hidden; }\n\n/* ALIGNMENT is driven by fill, NOT mode: the tile count comes from the real event count, so when the\n * videos DON\'T fill the rail (few videos \u2192 data-wht-fill="fit") the carousel CENTRES them; when they\n * overflow (data-wht-fill="overflow") it start-aligns like a scroll list \u2014 in BOTH orientations. A scroll\n * list always begins at the first tile; centring an overflowing row would push the leftmost tile half\n * off-screen (the portrait bug). Base is centred; overflow (either orientation) flips to flex-start. */\n.whatmore-shimmer-neo[data-wht-fill="overflow"] .whatmore-shimmer-neo-rail { justify-content: flex-start; }\n/* standard-family rails (a/b/f) centre-hero in PORTRAIT even when overflowing (higher specificity wins over\n * the flex-start above); mosaic rails (c/d, palign="start") keep the start-left scroll. */\n.whatmore-shimmer-neo[data-wht-vp="portrait"][data-wht-palign="center"] .whatmore-shimmer-neo-rail { justify-content: center; }\n/* per-skin tile scale (inline --sh-scale). Some rail skins render every tile at --wht-neo-side-scale\n * (e.g. standard/a = 0.94): the layout box shows smaller AND the flex-gap reads wider (tiles shrink\n * from centre). Skins with no side-scale (e.g. card/b = 1) keep box size + real gap. Mirrors the render. */\n.whatmore-shimmer-neo[data-wht-vp="landscape"] .whatmore-shimmer-neo-tile { transform: scale(var(--sh-scale, 1)); transform-origin: center center; }\n\n/* hoverplay: a FLUSH-LEFT row of WIDE tiles \u2014 first tile at the edge, next peeking on the right, in BOTH\n orientations (the engine renders scroll-snap-align:start with padding-inline:0, and starts flush-left even\n with infinite-loop on). Force flex-start so it beats the default centre AND the fit-centre in either vp. */\n.whatmore-shimmer-neo[data-wht-mode="hoverplay"] .whatmore-shimmer-neo-rail { justify-content: flex-start; }\n\n/* viewmore: wrapped grid, 6 (smaller) tiles in ~3 columns */\n/* viewmore: CENTRED wrapping grid \u2014 tiles wrap by width (landscape 6-in-a-row, portrait ~2 cols), like\n the real skin (flex-wrap + justify-content:center + padding-inline:12). Collapsed to \u22646 tiles. */\n.whatmore-shimmer-neo[data-wht-mode="viewmore"] .whatmore-shimmer-neo-rail { flex-wrap: wrap; justify-content: center; align-content: flex-start; row-gap: var(--sh-gap, 14px); padding-inline: 12px; }\n.whatmore-shimmer-neo[data-wht-mode="viewmore"] .whatmore-shimmer-neo-tile:nth-child(n+7) { display: none; }\n\n/* feed: vertical GRID (mirrors shared-skin-feed) \u2014 2 columns portrait / 3 landscape, page-scroll */\n.whatmore-shimmer-neo[data-wht-mode="feed"] .whatmore-shimmer-neo-rail { display: grid; grid-template-columns: repeat(auto-fill, calc(var(--sh-tile-w) * 1.15)); justify-items: center; justify-content: center; align-items: start; column-gap: 0; row-gap: calc(var(--sh-tile-w) * 0.37); }\n.whatmore-shimmer-neo[data-wht-mode="feed"][data-wht-vp="landscape"] .whatmore-shimmer-neo-rail { grid-template-columns: repeat(auto-fill, calc(var(--sh-tile-w) * 1.1)); row-gap: calc(var(--sh-tile-w) * 0.31); }\n.whatmore-shimmer-neo[data-wht-mode="feed"] .whatmore-shimmer-neo-tile { width: var(--sh-tile-w); height: auto; aspect-ratio: 9 / 16; }\n.whatmore-shimmer-neo[data-wht-mode="feed"] .whatmore-shimmer-neo-tile:nth-child(n+9) { display: none; }\n\n/* coverflow: fan \u2014 centre on top, neighbours behind + scaled (5 landscape / 3 portrait) */\n.whatmore-shimmer-neo[data-wht-mode="coverflow"] .whatmore-shimmer-neo-rail { gap: 0; height: var(--sh-tile-h); }\n.whatmore-shimmer-neo[data-wht-mode="coverflow"] .whatmore-shimmer-neo-tile { position: absolute; left: 50%; top: 50%; }\n.whatmore-shimmer-neo[data-wht-mode="coverflow"][data-wht-vp="landscape"] .whatmore-shimmer-neo-tile:nth-child(n+6) { display: none; }\n.whatmore-shimmer-neo[data-wht-mode="coverflow"][data-wht-vp="landscape"] .whatmore-shimmer-neo-tile:nth-child(3) { transform: translate(-50%, -50%) scale(1); z-index: 5; }\n.whatmore-shimmer-neo[data-wht-mode="coverflow"][data-wht-vp="landscape"] .whatmore-shimmer-neo-tile:nth-child(2) { transform: translate(-50%, -50%) translateX(-64%) scale(0.9); z-index: 4; }\n.whatmore-shimmer-neo[data-wht-mode="coverflow"][data-wht-vp="landscape"] .whatmore-shimmer-neo-tile:nth-child(4) { transform: translate(-50%, -50%) translateX(64%) scale(0.9); z-index: 4; }\n.whatmore-shimmer-neo[data-wht-mode="coverflow"][data-wht-vp="landscape"] .whatmore-shimmer-neo-tile:nth-child(1) { transform: translate(-50%, -50%) translateX(-128%) scale(0.8); z-index: 3; }\n.whatmore-shimmer-neo[data-wht-mode="coverflow"][data-wht-vp="landscape"] .whatmore-shimmer-neo-tile:nth-child(5) { transform: translate(-50%, -50%) translateX(128%) scale(0.8); z-index: 3; }\n.whatmore-shimmer-neo[data-wht-mode="coverflow"][data-wht-vp="portrait"] .whatmore-shimmer-neo-tile:nth-child(n+4) { display: none; }\n.whatmore-shimmer-neo[data-wht-mode="coverflow"][data-wht-vp="portrait"] .whatmore-shimmer-neo-tile:nth-child(2) { transform: translate(-50%, -50%) scale(1); z-index: 5; }\n.whatmore-shimmer-neo[data-wht-mode="coverflow"][data-wht-vp="portrait"] .whatmore-shimmer-neo-tile:nth-child(1) { transform: translate(-50%, -50%) translateX(-72%) scale(0.88); z-index: 4; }\n.whatmore-shimmer-neo[data-wht-mode="coverflow"][data-wht-vp="portrait"] .whatmore-shimmer-neo-tile:nth-child(3) { transform: translate(-50%, -50%) translateX(72%) scale(0.88); z-index: 4; }\n\n/* circle (skin s): small CIRCULAR thumbnails \u2014 square tile (aspect 1) rounded to a circle. Align with the\n SAME safe-center the real skin uses, NOT the JS fill flag: on a small screen the fill estimate can say\n \'fit\' while the tiles actually overflow, so center would clip both edges \u2014 safe-center lets the browser\n decide from real layout (few centre, many start-align), guaranteeing the shimmer can\'t diverge from the\n render. palign is \'start\' for circle, so the portrait centre-hero rule never applies. */\n.whatmore-shimmer-neo[data-wht-skin="circle"] .whatmore-shimmer-neo-tile { border-radius: 50%; }\n.whatmore-shimmer-neo[data-wht-skin="circle"] .whatmore-shimmer-neo-rail { justify-content: safe center; }\n',document.head.appendChild(e)}t.style.setProperty("position","relative","important"),t.style.setProperty("height","auto","important"),t.style.setProperty("border-top","0.1px solid transparent","important"),t.style.minHeight=a.totalHeight+"px";const o=document.createElement("div");o.className="whatmore-shimmer-container",o.setAttribute("data-template",n),o.setAttribute("data-widget-id",r),o.style.cssText="position: absolute; top: 0; left: 0; width: 100%; height: auto; z-index: 2; transition: opacity 0.1s ease;",o.innerHTML=a.shimmerHTML,t.insertBefore(o,e),e.style.cssText="opacity: 0; z-index: 1; transition: opacity 0.3s ease;",e.setAttribute("data-shimmer-active","true"),e.setAttribute("data-widget-id",r)}}catch(d){console.error(`[${(new Date).toLocaleTimeString()}] Error calculating shimmer for ${n}:`,d)}}const pe=null!==document.getElementById("whatmoreRoot"),ge=he("whatmoreShopId",E.YZ),fe=he("whatmoreExtensionType","index"),we=null!==(U=(null===(J=window)||void 0===J||null===(K=J.Shopify)||void 0===K||null===(Y=K.theme)||void 0===Y?void 0:Y.role)&&"main"!==(null===(Z=window)||void 0===Z||null===(X=Z.Shopify)||void 0===X||null===(Q=X.theme)||void 0===Q?void 0:Q.role))&&void 0!==U&&U,ve=("2665447536"==ge||"72201044272"==ge)&&null!=localStorage.getItem("w_user_type"),_e=(0,o.cp)();!async function(){A();const e=await(0,o.dE)(ge);if(null!==e&&void 0!==e&&e.brand_custom_css){const t=document.createElement("style");t.innerHTML=e.brand_custom_css,document.head.appendChild(t)}const t=pe||re&&re.length>0,i=ge!==E.YZ&&!(window.Shopify&&window.Shopify.designMode)&&!(0,H.U)()&&!(0,ee.G)()&&!!(0,o.hG)(e,"event_tracking->is_enabled");if(t&&i&&((0,R.a)(),V(),function(){if(G||"undefined"===typeof document)return;G=!0;const e=()=>{(0,q.$)(!0)};document.addEventListener("visibilitychange",()=>{"hidden"===document.visibilityState&&e()}),window.addEventListener("pagehide",e)}()),(0,o.hG)(e,"order_tracking->add_whatmore_attribute")&&"shopify"===(0,o.hG)(e,"brand_metadata->domain_context")){const e=localStorage.getItem("_whatmore_session_id"),t=localStorage.getItem("_whatmore_user_id"),o=localStorage.getItem("wht_user_group"),i=localStorage.getItem("wht_ab_test_id"),r=localStorage.getItem("wht_ab_test_version"),a=localStorage.getItem("_whatmore_last_video_view_session");if(null!=e&&null!=t&&fetch("/cart.js").then(e=>e.ok?e.json():null).then(n=>{if(!n)return;const l={wht_session_id:null!==a&&void 0!==a?a:e,wht_user_id:t,...o&&{wht_user_group:o},...i&&{wht_ab_test_id:i},...r&&{wht_ab_test_version:r}},s={wht_user_attributes:(0,te.dK)((0,H.Ry)())?JSON.stringify(l):l};return fetch("/cart/update.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({attributes:s})})}).catch(e=>console.error("Whatmore :: eager cart-attribute write failed",e)),"undefined"!==typeof PerformanceObserver){const e="true"===he("whatmoreEmbedAppUseVariant","false"),t=1e3,o=[`${window.location.origin}/cart/add.js`,`${window.location.origin}/cart/add`];new PerformanceObserver(i=>{for(const r of i.getEntries())o.includes(r.name)&&setTimeout(()=>{Promise.all([n.e(580),n.e(268)]).then(n.bind(n,8513)).then(t=>t.addWhatmoreAttributeToCart(e)).catch(e=>console.error("Whatmore :: ATC attribute write failed",e))},t)}).observe({entryTypes:["resource"]})}}if(!pe&&re&&re.length>0)for(let W=0;W<re.length;W++){var r,a,l,s,c,d,u,h,m,p;const t=re[W];if((0,ne.i)(t))continue;const A=t.querySelector(".whatmore-render-root"),L=t.querySelector(".whatmore-template-type");let $=!1,N=!1,z=!1;const R=null!==(r=null!==(a=null===L||void 0===L?void 0:L.getAttribute("data-wh"))&&void 0!==a?a:null===L||void 0===L?void 0:L.getAttribute("data"))&&void 0!==r?r:"template-embed";ce(R)?$=!0:se(R)?N=!0:le(R)&&(z=!0);let B="",j="";var g,f,w,v,_,y,b,S,I,T,x;if(N)if(B=null!==(g=null!==(f=null===(w=t.querySelector("#whatmoreCollectionId"))||void 0===w?void 0:w.getAttribute("data-wh"))&&void 0!==f?f:null===(v=t.querySelector("#whatmoreCollectionId"))||void 0===v?void 0:v.getAttribute("data"))&&void 0!==g?g:"",j=null!==(_=null!==(y=null===(b=t.querySelector("#whatmoreCollectionHeading"))||void 0===b?void 0:b.getAttribute("data-wh"))&&void 0!==y?y:null===(S=t.querySelector("#whatmoreCollectionHeading"))||void 0===S?void 0:S.getAttribute("data"))&&void 0!==_?_:"","0"==B)B=null!==(I=null===(T=t.querySelector("#whatmorePageId"))||void 0===T?void 0:T.getAttribute("data-wh"))&&void 0!==I?I:null===(x=t.querySelector("#whatmorePageId"))||void 0===x?void 0:x.getAttribute("data");let V="";if(fe.startsWith("product")){var C,P,O,k;const n=null!==(C=null!==(P=null===(O=t.querySelector("#whatmoreProductId"))||void 0===O?void 0:O.getAttribute("data-wh"))&&void 0!==P?P:null===(k=t.querySelector("#whatmoreProductId"))||void 0===k?void 0:k.getAttribute("data"))&&void 0!==C?C:"";V=(0,o.hG)(e,"product_config->use_product_page_link_as_client_product_id")?window.location.href.split(/[?#]/)[0]:n}const q=null!==(l=null!==(s=null===(c=t.querySelector("#whatmoreHeading"))||void 0===c?void 0:c.getAttribute("data-wh"))&&void 0!==s?s:null===(d=t.querySelector("#whatmoreHeading"))||void 0===d?void 0:d.getAttribute("data"))&&void 0!==l?l:"",G=null!==(u=null!==(h=null===(m=t.querySelector("#whatmoreWidgetIdentity"))||void 0===m?void 0:m.getAttribute("data-wh"))&&void 0!==h?h:null===(p=t.querySelector("#whatmoreWidgetIdentity"))||void 0===p?void 0:p.getAttribute("data"))&&void 0!==u?u:"wgt_default",F="whatmoreRoot"+W;if(me(A,t,R,e,F),E.mM)continue;const U=(0,o.C2)(e,N,_e,R,fe),J=()=>{Promise.all([n.e(580),n.e(268)]).then(n.bind(n,4234)).then(e=>{e.initializeReactApp({rootElement:A,templateType:R,isStoriesTemplate:$,isCollectionsTemplate:N,_isTemplateTypeBanner:z,whatmoreCollectionId:B,whatmoreCollectionHeading:j,whatmoreHeadingCarousel:q,whatmoreWidgetIdentity:G,whatmoreRootId:F,landingLocationType:fe,isInPreviewMode:we,userType:ve})}).catch(e=>{console.error("Whatmore: Failed to load React chunk:",e);const n=document.querySelector(`.whatmore-shimmer-container[data-widget-id="${F}"]`);n&&(n.remove(),ae&&console.log(`[Chunk Error] Removed shimmer for widget ${F}`)),t&&(t.style.minHeight="0px",ae&&console.log(`[Chunk Error] Reset minHeight to 0px for widget ${F}`)),A&&(A.style.opacity="0",A.removeAttribute("data-shimmer-active"))})},K=ue(R),Y="template-neo"===R||"template-collections-neo"===R||null!==K&&!$&&!z,Z="template-stories-neo"===R||null!==K&&$,X="template-embed"===R&&!!(e&&e.neo&&e.neo.floating&&e.neo.floating.enabled),Q=fe.startsWith("product")?!0===(0,o.hG)(e,"product_page_popup_config->show_product_page_popup"):fe.startsWith("collection")?!0===(0,o.hG)(e,"collection_page_popup_config->show_collection_page_popup"):(0,oe.W)({enableSpotlight:(0,o.hG)(e,"spotlight_config->enable_spotlight"),enableOnHP:(0,o.hG)(e,"spotlight_config->enable_in_homepage"),pageIdSet:(0,o.hG)(e,"spotlight_config->enable_page_id_set"),enableAllPages:(0,o.hG)(e,"spotlight_config->enable_all_pages")},fe,B),te="template-floating-neo"===R||X&&Q,ie="template-banner-neo"===R||null!==K&&z,de=Y||Z||te||ie?()=>{const o={rootElement:A,widgetContainer:t,shopId:ge,widgetIdentity:G,landingLocationType:fe,collectionId:B,productId:V,isCollections:N,whatmoreRootId:F,showMockOnEmpty:ge===E.YZ||(0,H.U)(),neoJson:(()=>{const t=e&&e.neo;if(null===K)return t;const n=$?"stories":z?"banner":N?"collections":"carousel",o=t&&t[n]||{};return Object.assign({},t,{[n]:Object.assign({},o,{skin:K})})})(),floatingMode:fe.startsWith("product")||"embed"===fe?"pdp":"spotlight",onWidgetView:()=>{if(!i)return;const e=te&&(fe.startsWith("product")||"embed"===fe);(0,ee.B)({userInteractionType:Z?D.O.STORIES_WIDGET_VIEW:ie?D.O.BANNER_WIDGET_VIEW:te?e?D.O.PDP_POPUP_WIDGET_VIEW:D.O.SPOTLIGHT_WIDGET_VIEW:N?D.O.COLLECTION_WIDGET_VIEW:D.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,widgetSourceDetails:{landingLocationType:fe,templateType:R}})},onSwipe:()=>{i&&(0,ee.B)({userInteractionType:D.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:{landingLocationType:fe,templateType:R}})},onBannerClick:e=>{i&&(0,ee.B)({userInteractionType:D.O.BANNER_WIDGET_CLICKED,widgetSourceDetails:{landingLocationType:fe,templateType:R},event:e})},onClose:e=>{i&&(fe.startsWith("product")||"embed"===fe)&&(0,ee.B)({userInteractionType:D.O.PDP_POPUP_CLOSED,widgetSourceDetails:{landingLocationType:fe,templateType:R},event:e,productList:e&&e.products})},onOpenStories:({events:e,eventIndex:t,eventsStories:o,storyIndex:i})=>{Promise.all([n.e(580),n.e(268)]).then(n.bind(n,4234)).then(n=>n.mountNeoFullscreen({templateType:R,isStoriesTemplate:$,isCollectionsTemplate:N,_isTemplateTypeBanner:z,whatmoreCollectionId:B,whatmoreCollectionHeading:j,whatmoreHeadingCarousel:q,whatmoreWidgetIdentity:G,whatmoreRootId:F,landingLocationType:fe,isInPreviewMode:we,userType:ve},{events:e,eventIndex:t,eventsStories:o,storyIndex:i})).catch(e=>{(0,M.B)(),ae&&console.log("[Neo] stories fullscreen mount failed, booting React:",e),J()})},onOpenEvent:(e,t,o)=>{Promise.all([n.e(580),n.e(268)]).then(n.bind(n,4234)).then(e=>e.mountNeoFullscreen({templateType:R,isStoriesTemplate:$,isCollectionsTemplate:N,_isTemplateTypeBanner:z,whatmoreCollectionId:B,whatmoreCollectionHeading:j,whatmoreHeadingCarousel:q,whatmoreWidgetIdentity:G,whatmoreRootId:F,landingLocationType:fe,isInPreviewMode:we,userType:ve},{events:o,eventIndex:t})).catch(e=>{(0,M.B)(),ae&&console.log("[Neo] fullscreen mount failed, booting React:",e),J()})}};(Z?n.e(719).then(n.bind(n,8235)).then(e=>e.renderNeoStories):te?n.e(310).then(n.bind(n,7119)).then(e=>e.renderNeoFloating):ie?n.e(126).then(n.bind(n,5348)).then(e=>e.renderNeoBanner):n.e(579).then(n.bind(n,8933)).then(e=>e.renderNeoCarousel)).then(e=>e(o)).then(e=>{!1===e&&J()}).catch(e=>{ae&&console.log("[Neo] failed, falling back to React:",e),J()})}:J;if(U){let e=!1;const n=()=>{e||(e=!0,de())},o=new IntersectionObserver(e=>{e.forEach(e=>{if(ae&&console.log(`[OBSERVER] Widget ${W}: isIntersecting=${e.isIntersecting}, top=${e.boundingClientRect.top}, bottom=${e.boundingClientRect.bottom}, viewportHeight=${window.innerHeight}, layoutHeight=${document.documentElement.clientHeight}`),e.isIntersecting){if("67841720509"===ge){const e=t.getBoundingClientRect();if(e.top>=document.documentElement.clientHeight||e.bottom<=0)return void(ae&&console.log(`[OBSERVER] Widget ${W}: Rejected \u2014 outside layout viewport (iOS rescale guard)`))}ae&&console.log(`[OBSERVER] Widget ${W}: Loading React chunk`),n(),o.disconnect()}})},{threshold:0,rootMargin:"0px 0px 0px 0px"});o.observe(t);const i=t.getBoundingClientRect();ae&&console.log(`[SETUP] Widget ${W}: Observer attached, position top=${i.top}, bottom=${i.bottom}, viewportHeight=${window.innerHeight}, margin=500px`);const r=10;let a=window.pageYOffset;ae&&console.log(`[SCROLL LISTENER] Widget ${W}: Initial scroll position=${a}`);const l=()=>{const e=window.pageYOffset,t=Math.abs(e-a);ae&&console.log(`[SCROLL LISTENER] Widget ${W}: Scroll event fired, scrollY=${e}, lastScrollY=${a}, delta=${t}`),t>r&&(ae&&console.log(`[SCROLL LISTENER] Widget ${W}: Delta > ${r}, triggering load`),n(),window.removeEventListener("scroll",l))};window.addEventListener("scroll",l,{passive:!0})}else de()}else if(pe){const e=document.getElementById("whatmoreRoot"),t="whatmoreRoot",o=he("whatmoreTemplateType","invalid-template"),i=ce(o),r=se(o),a=le(o);Promise.all([n.e(580),n.e(268)]).then(n.bind(n,4234)).then(n=>{n.initializeReactApp({rootElement:e,templateType:o,isStoriesTemplate:i,isCollectionsTemplate:r,_isTemplateTypeBanner:a,whatmoreCollectionId:"",whatmoreCollectionHeading:"",whatmoreHeadingCarousel:"",whatmoreWidgetIdentity:"wgt_default",whatmoreRootId:t,landingLocationType:fe,isInPreviewMode:we,userType:ve})}).catch(e=>{console.error("Whatmore: Failed to load React chunk for legacy store:",e)})}if(("75310563627"===ge||"35680321669"===ge||"75649450207"===ge||"72626569514"===ge)&&!pe&&"undefined"!==typeof MutationObserver){const e=document.querySelectorAll(".whatmore-base");e.forEach(e=>e.setAttribute("data-wht-mounted","true")),ae&&console.log(`[Rehydrate] installed for shop ${ge}; marked ${e.length} load-time host(s) as mounted, watching document.body`);let t=0;const o=e=>{var t,n;const o=e.querySelector(".whatmore-template-type");return null!==(t=null!==(n=null===o||void 0===o?void 0:o.getAttribute("data-wh"))&&void 0!==n?n:null===o||void 0===o?void 0:o.getAttribute("data"))&&void 0!==t?t:"template-embed"},i=()=>[...document.querySelectorAll(".whatmore-base:not([data-wht-mounted])")].filter(e=>se(o(e))),r=e=>{var i,r,a,l,s,c,d,u,h,m,p,g,f,w,v,_,y,b,S;const I=o(e);if(!se(I))return void(ae&&console.log(`[Rehydrate] skip host: not a collection template (${I})`,e));const T=e.querySelector(".whatmore-render-root");if(!T)return void(ae&&console.log("[Rehydrate] skip host: .whatmore-render-root not present yet (will retry on next mutation)",e));e.setAttribute("data-wht-mounted","true");let x=null!==(i=null!==(r=null===(a=e.querySelector("#whatmoreCollectionId"))||void 0===a?void 0:a.getAttribute("data-wh"))&&void 0!==r?r:null===(l=e.querySelector("#whatmoreCollectionId"))||void 0===l?void 0:l.getAttribute("data"))&&void 0!==i?i:"";const E=null!==(s=null!==(c=null===(d=e.querySelector("#whatmoreCollectionHeading"))||void 0===d?void 0:d.getAttribute("data-wh"))&&void 0!==c?c:null===(u=e.querySelector("#whatmoreCollectionHeading"))||void 0===u?void 0:u.getAttribute("data"))&&void 0!==s?s:"";"0"===x&&(x=null!==(h=null===(m=e.querySelector("#whatmorePageId"))||void 0===m?void 0:m.getAttribute("data-wh"))&&void 0!==h?h:null===(p=e.querySelector("#whatmorePageId"))||void 0===p?void 0:p.getAttribute("data"));const C=null!==(g=null!==(f=null===(w=e.querySelector("#whatmoreHeading"))||void 0===w?void 0:w.getAttribute("data-wh"))&&void 0!==f?f:null===(v=e.querySelector("#whatmoreHeading"))||void 0===v?void 0:v.getAttribute("data"))&&void 0!==g?g:"",P=null!==(_=null!==(y=null===(b=e.querySelector("#whatmoreWidgetIdentity"))||void 0===b?void 0:b.getAttribute("data-wh"))&&void 0!==y?y:null===(S=e.querySelector("#whatmoreWidgetIdentity"))||void 0===S?void 0:S.getAttribute("data"))&&void 0!==_?_:"wgt_default",O="whatmoreRootRehydrate"+t++;ae&&console.log("[Rehydrate] mounting fresh collection host ->",O,e),Promise.all([n.e(580),n.e(268)]).then(n.bind(n,4234)).then(e=>e.initializeReactApp({rootElement:T,templateType:I,isStoriesTemplate:!1,isCollectionsTemplate:!0,_isTemplateTypeBanner:!1,whatmoreCollectionId:x,whatmoreCollectionHeading:E,whatmoreHeadingCarousel:C,whatmoreWidgetIdentity:P,whatmoreRootId:O,landingLocationType:fe,isInPreviewMode:we,userType:ve})).catch(e=>console.error("Whatmore: rehydrate mount failed",e))};let a=!1;const l=()=>{a=!1;const e=i();ae&&console.log(`[Rehydrate] rescan: ${e.length} fresh collection host(s) to mount`),e.forEach(r)};new MutationObserver(e=>{if(a)return;let t=!1;for(const o of e)if(o.addedNodes&&o.addedNodes.length){t=!0;break}if(!t)return;const n=i();0!==n.length&&(ae&&console.log(`[Rehydrate] DOM mutation: ${n.length} freshly-added collection host(s) need mounting (re-render, not a removal), scheduling in 50ms`),a=!0,setTimeout(l,50))}).observe(document.body,{childList:!0,subtree:!0})}}()}();
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[508,579,838],{5e3:function(e,t,n){n.d(t,{Au:function(){return s},YJ:function(){return l},k5:function(){return d}});const o=6,a="https://whatmore-other-assets.b-cdn.net/whatmore/dummy_for_video_pool_3s_muted_11kb.mp4",i="whatmore-video-player whatmore-main-video-player-from-pool";function r(){return"undefined"===typeof window?{}:(window.__whatmoreNeoVideoPool||(window.__whatmoreNeoVideoPool={}),window.__whatmoreNeoVideoPool)}function s(){const e=r();if(e.armed||"undefined"===typeof document)return;e.armed=!0,function(){const e=r();if(e.pool||"undefined"===typeof document)return;const t=document.createDocumentFragment();for(let n=0;n<o;n++){const e=document.createElement("video");e.setAttribute("class",i),e.setAttribute("src",a),e.muted=!0,e.setAttribute("width","100%"),e.setAttribute("height","100%"),e.setAttribute("preload","auto"),e.setAttribute("loop",""),e.setAttribute("playsinline",""),e.setAttribute("webkit-playsinline",""),e.setAttribute("x-webkit-airplay","allow"),e.controls=!1,t.appendChild(e)}e.pool=t}();const t=()=>{document.removeEventListener("click",t),document.removeEventListener("touchstart",t),function(){const e=r();if(e.blessed||!e.pool)return;const t=e.pool.childNodes;for(let n=0;n<t.length;n++){const e=t[n];e.muted=!0;const o=e.play();o&&o.then&&o.then(()=>e.pause()).catch(()=>{})}e.blessed=!0}()};document.addEventListener("click",t,{passive:!0}),document.addEventListener("touchstart",t,{passive:!0})}function d(){return r().pool||null}function l(){return!!r().blessed}},5071:function(e){e.exports='.wht-neo-rail{-webkit-overflow-scrolling:touch;display:flex;gap:var(--wht-neo-gap,var(--wht-neo-gap-auto,14px));height:100%;overflow-x:auto;overscroll-behavior-x:contain;padding-block:0;padding-inline:var(--wht-neo-rail-pad-inline,calc((100% - var(--wht-neo-slide-width, var(--wht-neo-slide-width-auto, 64%)))/2));scroll-padding-inline:0;scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:pan-x}.wht-neo-rail::-webkit-scrollbar{display:none}.wht-neo-slide{aspect-ratio:var(--wht-neo-aspect,9/16);background:var(--wht-neo-slide-bg,#ececec);border-radius:var(--wht-neo-radius,12px);box-shadow:none;cursor:pointer;flex:0 0 auto;max-width:var(--wht-neo-slide-max-width,none);opacity:var(--wht-neo-side-opacity,.94);overflow:hidden;position:relative;scroll-snap-align:center;scroll-snap-stop:always;transform:scale(var(--wht-neo-side-scale,.94));transform-origin:center center;transition:transform .28s ease,opacity .28s ease;width:var(--wht-neo-slide-width,var(--wht-neo-slide-width-auto,64%))}.wht-neo-slide.wht-neo-active{opacity:1;transform:scale(1)}.wht-neo-media{aspect-ratio:auto;background:transparent;border-radius:0;height:100%;overflow:visible;position:relative;width:100%}.wht-neo-video{display:block;height:100%;object-fit:var(--wht-neo-fit,cover);width:100%}:where([data-wht-vp=landscape]) .wht-neo-rail{padding-inline:var(--wht-neo-rail-pad-inline,0)}:where([data-wht-vp=landscape]) .wht-neo-slide{scroll-snap-align:start}.wht-neo-rail-wrap{position:relative}.wht-neo-nav{display:none}:where([data-wht-vp=landscape]) .wht-neo-nav{align-items:center;background:var(--wht-neo-nav-bg,#fff);border:none;border-radius:50%;box-shadow:var(--wht-neo-nav-shadow,0 1px 4px rgba(0,0,0,.18));color:var(--wht-neo-nav-color,#090a0b);cursor:pointer;display:flex;height:var(--wht-neo-nav-size,36px);justify-content:center;padding:0;position:absolute;top:50%;transform:translateY(-50%);width:var(--wht-neo-nav-size,36px);z-index:2}:where([data-wht-vp=landscape]) .wht-neo-nav-prev{left:var(--wht-neo-nav-inset,6px)}:where([data-wht-vp=landscape]) .wht-neo-nav-next{right:var(--wht-neo-nav-inset,6px)}.wht-neo-nav svg{display:block;height:42%;width:42%}.wht-neo-products{align-items:flex-end;bottom:0;font-family:var(--wht-neo-font,inherit);justify-content:center;left:0;padding-bottom:var(--wht-neo-drawer-bottom,12px);pointer-events:none;position:absolute;right:0;top:0}.wht-neo-products>*{pointer-events:auto}.wht-neo-pill{align-items:center;-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);background:var(--wht-neo-pill-bg,hsla(0,0%,100%,.72));border:none;border-radius:999px;box-shadow:0 4px 16px rgba(0,0,0,.12);cursor:pointer;gap:6px;padding:5px 10px 5px 6px}.wht-neo-pill,.wht-neo-pill-thumbs{display:inline-flex}.wht-neo-pill-thumb{background:#f4f4f4;border:var(--wht-neo-thumb-border,2px solid #fff);border-radius:50%;height:var(--wht-neo-pill-thumb-size,34px);object-fit:cover;width:var(--wht-neo-pill-thumb-size,34px)}.wht-neo-pill-thumb+.wht-neo-pill-thumb{margin-left:-14px}.wht-neo-chevron{background:transparent;border:none;cursor:pointer;display:inline-block;flex-shrink:0;height:16px;position:relative;width:16px}.wht-neo-chevron:before{border-left:2px solid var(--wht-neo-chevron-color,#303632);border-top:2px solid var(--wht-neo-chevron-color,#303632);content:"";height:7px;left:50%;margin:-2px 0 0 -4px;position:absolute;top:50%;transform:rotate(45deg);width:7px}.wht-neo-chevron-down:before{margin-top:-6px;transform:rotate(225deg)}.wht-neo-panel{-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);background:var(--wht-neo-panel-bg,hsla(0,0%,100%,.72));border-radius:var(--wht-neo-panel-radius,16px);box-shadow:0 8px 30px rgba(0,0,0,.12);display:none;flex-direction:column;padding:8px;width:var(--wht-neo-panel-width,88%)}.wht-neo-products[data-wht-expanded=true] .wht-neo-pill{display:none}.wht-neo-products[data-wht-expanded=true] .wht-neo-panel{display:flex}.wht-neo-row{align-items:center;border-bottom:1px solid rgba(0,0,0,.06);cursor:pointer;display:flex;gap:var(--wht-neo-row-gap,10px);padding:var(--wht-neo-row-padding,7px 8px)}.wht-neo-row:last-of-type{border-bottom:none}.wht-neo-row-thumb{background:#f4f4f4;border:var(--wht-neo-thumb-border,2px solid #fff);border-radius:50%;flex-shrink:0;height:var(--wht-neo-row-thumb-size,38px);object-fit:cover;width:var(--wht-neo-row-thumb-size,38px)}.wht-neo-row-info{display:flex;flex-direction:column;gap:3px;min-width:0;text-align:left}.wht-neo-row-title{color:var(--wht-neo-row-title-color,#1a1a1a);font-size:var(--wht-neo-row-title-size,14px);font-weight:var(--wht-neo-row-title-weight,500);line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wht-neo-row-price{color:var(--wht-neo-row-price-color,#1a1a1a);font-size:var(--wht-neo-row-price-size,14px);font-weight:700;line-height:1.2}.wht-neo-panel .wht-neo-chevron-down{align-self:center;box-sizing:content-box;margin-top:12px;padding:8px 28px}.wht-neo-poster{background:#000;height:100%;left:0;overflow:hidden;pointer-events:none;position:fixed;top:0;width:100%;z-index:2147483648}.wht-neo-poster--hidden{height:0;visibility:hidden;width:0}.wht-neo-poster-img{height:100%;object-fit:cover;pointer-events:none;width:100%}.wht-neo-poster-spin{left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%)}.wht-neo-sfp-spinner{height:64px;position:relative;width:64px}.wht-neo-sfp-spinner span{animation:wht-neo-sfp-fade 1s linear infinite;background-color:#d8cdd0;border-radius:50%;height:10px;left:50%;margin:-5px 0 0 -5px;position:absolute;top:50%;width:10px}.wht-neo-sfp-spinner span:first-child{animation-delay:-1s;transform:rotate(0deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(2){animation-delay:-.875s;transform:rotate(45deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(3){animation-delay:-.75s;transform:rotate(90deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(4){animation-delay:-.625s;transform:rotate(135deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(5){animation-delay:-.5s;transform:rotate(180deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(6){animation-delay:-.375s;transform:rotate(225deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(7){animation-delay:-.25s;transform:rotate(270deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(8){animation-delay:-.125s;transform:rotate(315deg) translateY(-22px)}@keyframes wht-neo-sfp-fade{0%,87.5%,to{background-color:#d8cdd0}12.5%{background-color:#8d6f78}}.wht-neo-heading{align-items:center;display:flex;flex-direction:column;justify-content:center;margin-bottom:6px;position:relative;z-index:1}.wht-neo-heading-inner{padding:2px 24px;position:relative}.wht-neo-heading h2{color:#1a1a1a;font-weight:300;letter-spacing:.5px;line-height:1.2;margin:0;position:relative;text-align:center;text-transform:uppercase;z-index:1}.wht-neo-heading-basic h2{font-family:var(--wht-neo-title-font,inherit);font-size:var(--wht-neo-title-size-portrait,24px)}:where([data-wht-vp=landscape]) .wht-neo-heading{margin-bottom:2px}:where([data-wht-vp=landscape]) .wht-neo-heading-basic h2{font-size:var(--wht-neo-title-size,24px)}.wht-neo-atc,.wht-neo-card,.wht-neo-mute,.wht-neo-playpause,.wht-neo-views{display:none}.wht-neo-products{display:flex}'},6387:function(e,t,n){n.d(t,{P:function(){return a}});const o={standard:()=>n.e(508).then(n.t.bind(n,5071,17)),card:()=>n.e(545).then(n.t.bind(n,9362,17)),"mosaic-ring":()=>n.e(838).then(n.t.bind(n,8171,17)),"mosaic-plain":()=>n.e(764).then(n.t.bind(n,5635,17)),hoverplay:()=>n.e(781).then(n.t.bind(n,787,17)),"info-strip":()=>n.e(94).then(n.t.bind(n,2109,17)),"text-overlay":()=>n.e(833).then(n.t.bind(n,3930,17)),focused:()=>n.e(506).then(n.t.bind(n,1987,17)),coverflow:()=>n.e(172).then(n.t.bind(n,9033,17)),minimal:()=>n.e(244).then(n.t.bind(n,6362,17)),feed:()=>n.e(315).then(n.t.bind(n,7456,17)),circle:()=>n.e(31).then(n.t.bind(n,5112,17)),viewmore:()=>n.e(343).then(n.t.bind(n,7672,17)),overlay:()=>n.e(936).then(n.t.bind(n,75,17)),"stories-b":()=>n.e(565).then(n.t.bind(n,1958,17))};async function a(e,t){const n=o["carousel"===e||"collections"===e?t:e+"-"+t];if(!n)return"";try{return(await n()).default||""}catch(a){return""}}},7983:function(e,t,n){function o(e,t=!1){if(null==e)return{events:[],all_events:[]};if(t){return{events:e.events&&e.events[0]&&e.events[0].events||[],all_events:e.all_events||[]}}return{events:e.events||[],all_events:e.all_events||[]}}function a(e,t){if(null==e||!e.eventsets||!e.eventsets[t])return{events:[],all_events:[]};return{events:e.eventsets[t].reduce((e,t)=>e.concat(t.events||[]),[]),all_events:[]}}n.d(t,{Np:function(){return o},Po:function(){return a}})},8171:function(e){e.exports=".wht-neo-rail{-webkit-overflow-scrolling:touch;display:flex;gap:var(--wht-neo-gap,var(--wht-neo-gap-auto,14px));height:100%;overflow-x:auto;overscroll-behavior-x:contain;padding-block:var(--wht-neo-rail-pad-block-inner,6px);padding-inline:var(--wht-neo-rail-pad-inline,12px);scroll-padding-inline:var(--wht-neo-rail-pad-inline,12px);scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:pan-x}.wht-neo-rail::-webkit-scrollbar{display:none}.wht-neo-slide{aspect-ratio:var(--wht-neo-aspect,9/16);background:var(--wht-neo-slide-bg,#ececec);border-radius:var(--wht-neo-radius,10%);box-shadow:1px 1px 1px 0 var(--wht-neo-ring-c1,var(--wht-neo-ring-c1-auto,rgba(52,52,52,.55))),-1px -1px 1px 0 var(--wht-neo-ring-c2,var(--wht-neo-ring-c2-auto,rgba(188,42,141,.55))),1px -1px 1px 0 var(--wht-neo-ring-c1,var(--wht-neo-ring-c1-auto,rgba(52,52,52,.55))),-1px 1px 1px 0 var(--wht-neo-ring-c2,var(--wht-neo-ring-c2-auto,rgba(188,42,141,.55)));cursor:pointer;flex:0 0 auto;max-width:var(--wht-neo-slide-max-width,240px);overflow:hidden;position:relative;scroll-snap-align:start;scroll-snap-stop:normal;transform-origin:bottom center;transition:transform .2s ease;width:var(--wht-neo-slide-width,var(--wht-neo-slide-width-auto,44%))}.wht-neo-slide,.wht-neo-slide.wht-neo-active{opacity:1;transform:none}:where([data-wht-vp=landscape]) .wht-neo-slide:hover{transform:scale(1.04)}.wht-neo-slide--duo{background:transparent;border-radius:0;box-shadow:none;display:flex;flex-direction:column;gap:var(--wht-neo-duo-gap,8px);overflow:visible}:where([data-wht-vp=landscape]) .wht-neo-slide--duo:hover{transform:none}.wht-neo-duo-item{background:var(--wht-neo-slide-bg,#ececec);border-radius:var(--wht-neo-radius,10%);box-shadow:1px 1px 1px 0 var(--wht-neo-ring-c1,var(--wht-neo-ring-c1-auto,rgba(52,52,52,.55))),-1px -1px 1px 0 var(--wht-neo-ring-c2,var(--wht-neo-ring-c2-auto,rgba(188,42,141,.55)));cursor:pointer;flex:1 1 0;min-height:0;overflow:hidden;position:relative;transition:transform .2s ease}:where([data-wht-vp=landscape]) .wht-neo-duo-item:hover{transform:scale(1.04)}.wht-neo-media{aspect-ratio:auto;background:transparent;border-radius:0;height:100%;overflow:visible;position:relative;width:100%}.wht-neo-video{display:block;height:100%;object-fit:var(--wht-neo-fit,cover);width:100%}:where([data-wht-vp=landscape]) .wht-neo-rail{padding-inline:var(--wht-neo-rail-pad-inline,12px)}:where([data-wht-vp=landscape]) .wht-neo-slide{scroll-snap-align:start}.wht-neo-rail-wrap{position:relative}.wht-neo-nav{display:none}:where([data-wht-vp=landscape]) .wht-neo-nav{align-items:center;background:var(--wht-neo-nav-bg,#fff);border:none;border-radius:50%;box-shadow:var(--wht-neo-nav-shadow,0 1px 4px rgba(0,0,0,.18));color:var(--wht-neo-nav-color,#090a0b);cursor:pointer;display:flex;height:var(--wht-neo-nav-size,36px);justify-content:center;padding:0;position:absolute;top:50%;transform:translateY(-50%);width:var(--wht-neo-nav-size,36px);z-index:2}:where([data-wht-vp=landscape]) .wht-neo-nav-prev{left:var(--wht-neo-nav-inset,6px)}:where([data-wht-vp=landscape]) .wht-neo-nav-next{right:var(--wht-neo-nav-inset,6px)}.wht-neo-nav svg{display:block;height:42%;width:42%}.wht-neo-poster{background:#000;height:100%;left:0;overflow:hidden;pointer-events:none;position:fixed;top:0;width:100%;z-index:2147483648}.wht-neo-poster--hidden{height:0;visibility:hidden;width:0}.wht-neo-poster-img{height:100%;object-fit:cover;pointer-events:none;width:100%}.wht-neo-poster-spin{left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%)}.wht-neo-sfp-spinner{height:64px;position:relative;width:64px}.wht-neo-sfp-spinner span{animation:wht-neo-sfp-fade 1s linear infinite;background-color:#d8cdd0;border-radius:50%;height:10px;left:50%;margin:-5px 0 0 -5px;position:absolute;top:50%;width:10px}.wht-neo-sfp-spinner span:first-child{animation-delay:-1s;transform:rotate(0deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(2){animation-delay:-.875s;transform:rotate(45deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(3){animation-delay:-.75s;transform:rotate(90deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(4){animation-delay:-.625s;transform:rotate(135deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(5){animation-delay:-.5s;transform:rotate(180deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(6){animation-delay:-.375s;transform:rotate(225deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(7){animation-delay:-.25s;transform:rotate(270deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(8){animation-delay:-.125s;transform:rotate(315deg) translateY(-22px)}@keyframes wht-neo-sfp-fade{0%,87.5%,to{background-color:#d8cdd0}12.5%{background-color:#8d6f78}}.wht-neo-heading{align-items:center;display:flex;flex-direction:column;justify-content:center;margin-bottom:6px;position:relative;z-index:1}.wht-neo-heading-inner{padding:2px 24px;position:relative}.wht-neo-heading h2{color:#1a1a1a;font-weight:300;letter-spacing:.5px;line-height:1.2;margin:0;position:relative;text-align:center;text-transform:uppercase;z-index:1}.wht-neo-heading-basic h2{font-family:var(--wht-neo-title-font,inherit);font-size:var(--wht-neo-title-size-portrait,24px)}:where([data-wht-vp=landscape]) .wht-neo-heading{margin-bottom:2px}:where([data-wht-vp=landscape]) .wht-neo-heading-basic h2{font-size:var(--wht-neo-title-size,24px)}.wht-neo-atc,.wht-neo-card,.wht-neo-mute,.wht-neo-playpause,.wht-neo-products,.wht-neo-title,.wht-neo-views{display:none}"},8933:function(e,t,n){n.r(t),n.d(t,{REGISTRY:function(){return b},renderNeoCarousel:function(){return W}});var o=n(7983),a=n(6287),i=n(5e3),r=n(9439),s=n(6387),d=n(8924),l=n(5071),c=n(8171);const p=e=>e?"collections":"carousel",h="https://consumer.whatmore.live",u="wht-neo-css",w="wht-neo-critical",v='.wht-neo-widget{margin-block:var(--wht-neo-rail-pad-block,var(--wht-neo-rail-pad-block-auto,20px))}:where([data-wht-vp="landscape"]) .wht-neo-rail{margin-inline:var(--wht-neo-widget-pad-inline,var(--wht-neo-widget-pad-inline-auto,40px))}.wht-neo-rail{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}.wht-neo-rail::-webkit-scrollbar{display:none}.wht-neo-slide{position:relative;display:flex;flex-direction:column;flex:0 0 auto;width:60%;max-width:360px;scroll-snap-align:center}.wht-neo-media{position:relative;width:100%;aspect-ratio:9/16;border-radius:12px;overflow:hidden;background:#ececec}.wht-neo-video{width:100%;height:100%;object-fit:cover;display:block}.wht-neo-views,.wht-neo-mute,.wht-neo-playpause,.wht-neo-card,.wht-neo-products,.wht-neo-nav,.wht-neo-title,.wht-neo-viewmore,.wht-neo-discount{display:none}';function m(e,t){let n=document.getElementById(e);n||(n=document.createElement("style"),n.id=e,document.head.appendChild(n)),n.textContent=t}function f(e,t){if(!e)return null;const n=e[t];return n&&"object"===typeof n?{skin:n.skin,customCss:n.customCss}:e}async function g(e,t){let n=null;try{n=new URLSearchParams(window.location.search).get("neoskin")}catch(w){}const o="collections"===e?c:l;let a="";const i=n||t&&t.skin,r=(0,d.Ny)(e,i);r&&r!==d.f1[e]&&(a=await(0,s.P)(e,r));const p=t&&t.customCss;let h="";if("string"===typeof p)h=p;else if(p&&"object"===typeof p){const t=r||d.f1[e],n="string"===typeof p[i]?i:Object.keys(p).find(n=>"string"===typeof p[n]&&((0,d.Ny)(e,n)||d.f1[e])===t);n&&(h=p[n])}return m(u,o+"\n"+a+(h?"\n"+h:"")),!0}const b={heading:{data:{source:"embed",field:"whatmoreHeading"},action:null},viewBadge:{data:{source:"backend",field:"event.total_views"},action:null},muteButton:{data:{source:"runtime",field:"video.muted"},action:"toggleMute"},playPauseButton:{data:{source:"runtime",field:"video.paused"},action:"togglePlay"},productCard:{data:{source:"backend",field:"event.products"},action:"redirectPdp"},eventTitle:{data:{source:"backend",field:"event.title"},action:null},productDrawer:{data:{source:"backend",field:"event.products"},action:"redirectPdp"},productThumb:{data:{source:"backend",field:"product.thumbnail_image"},action:null},productTitle:{data:{source:"backend",field:"product.title"},action:null},price:{data:{source:"backend",field:"product.price"},action:null},mrp:{data:{source:"backend",field:"product.compare_price"},action:null},ctaButton:{data:{source:"backend",field:"product.product_link"},action:"redirectPdp"},atcButton:{data:{source:"backend",field:"product.variants"},action:"addToCart"},navArrows:{data:{source:"runtime",field:"rail.scrollLeft"},action:"step"}};function x(e){var t,n;return null!==(t=null===(n=b[e])||void 0===n?void 0:n.action)&&void 0!==t?t:"none"}function y(e,t){var n,o,a;const i=null===(n=b[e])||void 0===n?void 0:n.data;if(!i)return;if("embed"===i.source)return null===(o=t.embed)||void 0===o?void 0:o[i.field];if("runtime"===i.source)return null===(a=t.video)||void 0===a?void 0:a[i.field.split(".").pop()];const r=i.field.split("."),s="product"===r.shift()?t.product:t.event;return r.reduce((e,t)=>null==e?void 0:e[t],s)}const k={INR:"\u20b9",USD:"$",EUR:"\u20ac",GBP:"\xa3",AUD:"A$",CAD:"C$",AED:"AED",SGD:"S$"},_=3,E=3e3,C=5;function L(e){var t,n,o,a;const i=e.event_media_urls;let r=i?(null===(t=i.primary)||void 0===t||null===(n=t.portrait)||void 0===n?void 0:n.poster_image)||(null===(o=i.secondary)||void 0===o||null===(a=o.portrait)||void 0===a?void 0:a.poster_image)||e.poster_image||"":e.poster_image||"";return r&&r.startsWith("https://cdn.shopify.com")&&(r=r.split("?")[0]+"?width=400&height=400"),r}function N(e){return e?e.startsWith("https://cdn.shopify.com")?e.split("?")[0]+"?width=160&height=160":e:""}function A(e,t){const n=Math.round(Number(e));if(!isFinite(n))return"";const o=k[t]||t||"",a=n.toLocaleString("en-IN");return o?`${o} ${a}`:a}function P(e){return(e.products||[]).filter(e=>e&&e.thumbnail_image).sort((e,t)=>("active"===t.product_status)-("active"===e.product_status))}function z(){try{return JSON.parse(localStorage.getItem("whatmore_brand_customizations")).customizations}catch(e){return null}}function I(e,t,n,o){const a=(t||"").trim();if(!a)return null;const i=document.createElement("div");i.className="wht-neo-heading wht-neo-heading-basic",i.dataset.role="heading",null!=n&&""!==n&&i.setAttribute("data-wht-heading-id",String(n));const r=document.createElement("div");r.className="wht-neo-heading-inner";const s=document.createElement("h2");s.className="wht-premium-heading";const d=(e,t)=>{const n=document.createElement("span");return n.className=e,n.textContent=t,n},l=e=>{var t,n,a,i;return null!==(t=null!==(n=null===o||void 0===o||null===(a=o.querySelector("#"+e))||void 0===a?void 0:a.getAttribute("data-wh"))&&void 0!==n?n:null===o||void 0===o||null===(i=o.querySelector("#"+e))||void 0===i?void 0:i.getAttribute("data"))&&void 0!==t?t:""};i.style.setProperty("--wht-neo-title-font",function(){const e=z();return e&&(e.brand_fonts&&e.brand_fonts.carousel_title_font||e.homepage_carousel&&e.homepage_carousel.carousel_title_font)||"inherit"}()),i.style.setProperty("--wht-neo-title-size-portrait",(parseInt(l("whatmoreTitleFontSizePortrait"),10)||24)+"px"),i.style.setProperty("--wht-neo-title-size",(parseInt(l("whatmoreTitleFontSize"),10)||24)+"px");const c=a.split(" ");s.appendChild(d("wht-neo-heading-lead",c.slice(0,2).join(" ")));const p=c.slice(2,4).join(" ");p&&(s.appendChild(document.createTextNode(" ")),s.appendChild(d("wht-neo-heading-mid",p)));const h=c.slice(4).join(" ");return h&&(s.appendChild(document.createTextNode(" ")),s.appendChild(d("wht-neo-heading-tail",h))),r.appendChild(s),i.appendChild(r),i}async function M({shopId:e,widgetIdentity:t,landingLocationType:n="index",collectionId:a,productId:i,isCollections:r}){let s;if(t&&"wgt_default"!==t){const i=r?"collection":"carousel",d=r?n.startsWith("collection")?"collection":n.startsWith("page")?"page":"collection":n.startsWith("product")?"product":"homepage",l=`${h}/brand/${e}/eventset?widget_id=${t}&source_type=${d}&source_id=${r&&a||e}&eventset_type=${i}&status=active,active`;s=(0,o.Po)(await fetch(l).then(e=>e.json()),i)}else if(r){const t=function(){const e=z();return!(!e||!0!==e.collection_product_sync)}()?`${h}/v5/collection?store_id=${e}&client_collection_id=${a||e}&sync_products=true`:`${h}/v2/collection?store_id=${e}&client_collection_id=${a||e}`;s=(0,o.Np)(await fetch(t).then(e=>e.json()),!0)}else if(n.startsWith("product")&&i&&!function(){const e=z();return!(!e||!0!==e.show_homepage_videos_in_pdp)}()){const t=function(){const e=z();return!(!e||!e.recommendation_config||!0!==e.recommendation_config.show_collection_events)}()?`${h}/v2/brand/${e}/product-events/collection/cdn?client_product_id=${i}&limit=50&status=live,upcoming&event_type=video`:function(){const e=z();return!(!e||!e.recommendation_config||!0!==e.recommendation_config.show_recommended_events)}()?`${h}/v2/brand/${e}/product-events/recommendation/cdn?client_product_id=${i}&limit=10&recommended=${!function(){const e=z();return!(!e||!e.product_page_popup_config||!0!==e.product_page_popup_config.show_all_events)}()}&origin=${window.location.hostname}&status=live,upcoming&event_type=video`:`${h}/v2/brand/${e}/product-events?client_product_id=${i}&status=live,upcoming&event_type=video`;s=(0,o.Np)(await fetch(t).then(e=>e.json()),!1)}else{const t=`${h}/v2/events/${e}?status=live,upcoming&is_active=true`;s=(0,o.Np)(await fetch(t).then(e=>e.json()),!1)}return s&&s.events||[]}const $=e=>{const t=`<svg viewBox="0 0 24 24" fill="none" aria-hidden="true">${e}</svg>`,n=document.createElement("span");return n.innerHTML=t,n.firstChild};function S(e){const t=function(e){return e=Number(e),!isFinite(e)||e<=0?"":e<1e3?String(e):e<1e5?(e/1e3).toFixed(0)+"K":(e/1e5).toFixed(0)+"L"}(y("viewBadge",{event:e}));if(!t)return null;const n=document.createElement("div");n.className="wht-neo-views",n.dataset.role="viewBadge",n.appendChild($('<path d="M1 12s4-7 11-7 11 7 11 7-4 7-11 7S1 12 1 12z" stroke="currentColor" stroke-width="2"/><circle cx="12" cy="12" r="3" stroke="currentColor" stroke-width="2"/>'));const o=document.createElement("span");return o.textContent=t,n.appendChild(o),n}function T(e,t,n,o){const a=document.createElement("button");return a.type="button",a.className=t,a.dataset.role=e,a.appendChild($(n)),a.addEventListener("click",e=>{e.stopPropagation(),o(e)}),a}function B(e,t){const n=P(e);if(!n.length)return null;const o=document.createElement("div");o.className="wht-neo-card",o.dataset.role="productCard",n.slice(0,_).forEach(n=>{const a=document.createElement("div");a.className="wht-neo-card-row",a.dataset.role="productRow";const i=y("productThumb",{product:n});if(i){const e=document.createElement("img");e.className="wht-neo-card-thumb",e.dataset.role="productThumb",e.loading="lazy",e.alt="",e.src=N(i),a.appendChild(e)}const r=document.createElement("div");r.className="wht-neo-card-info";const s=document.createElement("div");s.className="wht-neo-card-title",s.dataset.role="productTitle",s.textContent=y("productTitle",{product:n})||"",r.appendChild(s);const d=document.createElement("div");d.className="wht-neo-price-line";const l=A(y("price",{product:n}),n.currency);if(l){const e=document.createElement("span");e.className="wht-neo-price",e.dataset.role="price",e.textContent=l,d.appendChild(e)}const c=function(e){return null!=e.compare_at_price?Number(e.compare_at_price)/100:null!=e.compare_price?Number(e.compare_price):null}(n);if(c&&c>Number(n.price)){const e=document.createElement("span");e.className="wht-neo-mrp",e.dataset.role="mrp",e.textContent=A(c,n.currency),d.appendChild(e);const t=Math.round((c-Number(n.price))/c*100);if(t>0){const e=document.createElement("span");e.className="wht-neo-discount",e.dataset.role="discount",e.textContent=t+"% OFF",d.appendChild(e)}}if(r.appendChild(d),a.appendChild(r),y("ctaButton",{product:n})){const o=document.createElement("button");o.type="button",o.className="wht-neo-cta",o.dataset.role="ctaButton",o.textContent="Shop now",o.addEventListener("click",o=>{o.stopPropagation(),t.action(x("ctaButton"),{event:e,product:n})}),a.appendChild(o)}if(y("atcButton",{product:n})){const o=T("atcButton","wht-neo-atc",'<path d="M12 5v14M5 12h14" stroke="currentColor" stroke-width="2.4" stroke-linecap="round"/>',()=>t.action(x("atcButton"),{event:e,product:n}));a.appendChild(o)}a.addEventListener("click",()=>t.action(x("productCard"),{event:e,product:n})),o.appendChild(a)});const a=Math.min(n.length,_);if(a>1){o.dataset.cyActive="0";let e=0;const t=setInterval(()=>{o.isConnected?(e=(e+1)%a,o.dataset.cyActive=String(e)):clearInterval(t)},E)}return o}function j(e){const t=document.createElement("button");t.type="button",t.className="wht-neo-nav wht-neo-nav-"+e,t.dataset.role="navArrows",t.setAttribute("aria-label","prev"===e?"Previous":"Next");const n="prev"===e?"M15 5l-7 7 7 7":"M9 5l7 7-7 7";return t.innerHTML='<svg viewBox="0 0 24 24" fill="none" aria-hidden="true"><path d="'+n+'" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/></svg>',t}function Y(e,t,n,o){const a=document.createElement("div");a.className="wht-neo-slide",a.setAttribute("role","option"),a.tabIndex=0,a.dataset.ri=t;const i=document.createElement("div");i.className="wht-neo-media";const r=function(e){const t=document.createElement("video");t.muted=!0,t.loop=!0,t.playsInline=!0,t.preload="none",t.setAttribute("muted",""),t.setAttribute("playsinline",""),t.setAttribute("webkit-playsinline",""),t.dataset.role="video",t.className="wht-neo-video";const n=L(e),o=function(e){return e.thumbnail_image||""}(e);return n&&(t.dataset.poster=n),o&&(t.dataset.src=o),t}(e);i.appendChild(r);const s=S(e);s&&i.appendChild(s),i.appendChild(T("muteButton","wht-neo-mute",'<path d="M11 5 6 9H2v6h4l5 4V5z" fill="currentColor"/><path d="M16 9l5 6M21 9l-5 6" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>',()=>o.action(x("muteButton"),{video:r}))),i.appendChild(T("playPauseButton","wht-neo-playpause",'<rect x="7" y="6" width="3" height="12" fill="currentColor"/><rect x="14" y="6" width="3" height="12" fill="currentColor"/>',()=>o.action(x("playPauseButton"),{video:r})));const d=function(e,t){const n=P(e);if(!n.length)return null;const o=document.createElement("div");o.className="wht-neo-products",o.dataset.role="productDrawer",o.setAttribute("data-wht-expanded","false");const a=document.createElement("button");a.type="button",a.className="wht-neo-pill",a.setAttribute("aria-label","Show products");const i=document.createElement("span");i.className="wht-neo-pill-thumbs",n.slice(0,2).forEach(e=>{const t=document.createElement("img");t.className="wht-neo-pill-thumb",t.loading="lazy",t.alt="",t.src=N(e.thumbnail_image),i.appendChild(t)}),a.appendChild(i);const r=document.createElement("span");r.className="wht-neo-chevron",r.setAttribute("aria-hidden","true"),a.appendChild(r);const s=document.createElement("div");s.className="wht-neo-panel",n.slice(0,C).forEach(n=>{const o=document.createElement("div");o.className="wht-neo-row",o.setAttribute("role","button"),o.tabIndex=0;const a=document.createElement("img");a.className="wht-neo-row-thumb",a.loading="lazy",a.alt="",a.src=N(n.thumbnail_image),o.appendChild(a);const i=document.createElement("div");i.className="wht-neo-row-info";const r=document.createElement("div");r.className="wht-neo-row-title",r.textContent=n.title||"",i.appendChild(r);const d=A(n.price,n.currency);if(d){const e=document.createElement("div");e.className="wht-neo-row-price",e.textContent=d,i.appendChild(e)}o.appendChild(i);const l=o=>{o.stopPropagation(),t.action(x("productDrawer"),{event:e,product:n})};o.addEventListener("click",l),o.addEventListener("keydown",e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),l(e))}),s.appendChild(o)});const d=document.createElement("button");d.type="button",d.className="wht-neo-chevron wht-neo-chevron-down",d.setAttribute("aria-label","Hide products"),s.appendChild(d);const l=e=>o.setAttribute("data-wht-expanded",e?"true":"false");return a.addEventListener("click",e=>{e.stopPropagation(),l(!0)}),d.addEventListener("click",e=>{e.stopPropagation(),l(!1)}),o.appendChild(a),o.appendChild(s),o}(e,o);if(d&&i.appendChild(d),a.appendChild(i),e.title){const t=document.createElement("div");t.className="wht-neo-title",t.dataset.role="eventTitle",t.textContent=e.title,a.appendChild(t)}const l=B(e,o);l&&a.appendChild(l);const c=()=>o.action("openFullscreen",{event:e,index:t,events:n});return a.addEventListener("click",c),a.addEventListener("keydown",e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),c())}),{slide:a,video:r}}function F(e,t,n){const o=n||e.getAttribute("data-wht-mode"),a=(0,r.di)(t,o);a&&e.style.setProperty("--wht-neo-slide-width-auto",a+"px");const i=(0,r.ub)(t);i&&e.style.setProperty("--wht-neo-circle-size-auto",i+"px");const s=(0,r.GK)(t,o);s&&e.style.setProperty("--wht-neo-slide-height-auto",s+"px")}function D(e,t,{slides:n,realSlides:o,videos:a,cloneCount:i,isLoop:s,onSwipe:d,navPrev:l,navNext:c,mosaic:p,mode:h}){const u=o.length,w=()=>{const e=(0,r.vC)();return e.w>e.h},v="hoverplay"===h&&!(!window.matchMedia||!window.matchMedia("(hover: hover)").matches),m=e=>{if(!e.dataset.loaded&&(e.dataset.loaded="1",e.dataset.poster&&(e.poster=e.dataset.poster),e.dataset.src)){const t=document.createElement("source");t.src=e.dataset.src,t.type="video/mp4",e.appendChild(t),e.load&&e.load()}};let f=null;if("IntersectionObserver"in window?f=(()=>{if(!("IntersectionObserver"in window))return null;const e=new IntersectionObserver(e=>{e.forEach(e=>{const t=e.target;if(e.isIntersecting){if(m(t),!v){const e=t.play&&t.play();e&&e.catch&&e.catch(()=>{})}}else t.pause&&t.pause()})},{threshold:.01,rootMargin:"0px 150px 0px 150px"});return a.forEach(t=>e.observe(t)),e})():a.forEach(e=>{if(m(e),!v){const t=e.play&&e.play();t&&t.catch&&t.catch(()=>{})}}),v&&n.forEach(e=>{const t=e.querySelector(".wht-neo-video");t&&(e.addEventListener("pointerenter",()=>{m(t);const e=t.play&&t.play();e&&e.catch&&e.catch(()=>{})}),e.addEventListener("pointerleave",()=>{t.pause&&t.pause()}))}),"coverflow"===h){f&&(f.disconnect(),f=null);const n=o.length;e.style.overflow="hidden",e.style.scrollSnapType="none";let a=Math.floor(n/2),i=0,s=null,p=0,h=1,u=!0,w=null;const v=e=>(n<=1||(e=(e%n+n)%n)>n/2&&(e-=n),e),g=()=>{o.forEach((e,t)=>{const n=v(t-a)+i,o=Math.max(-3,Math.min(3,n));e.style.setProperty("--wht-neo-cf",o.toFixed(3)),e.style.zIndex=String(100-Math.abs(Math.round(o)))})},b=()=>{o.forEach((e,t)=>{const n=e.querySelector(".wht-neo-video");if(!n)return;const o=Math.abs(v(t-a));if(o<=2&&m(n),o<.5){const e=n.play&&n.play();e&&e.catch&&e.catch(()=>{})}else n.pause&&n.pause()})},x=()=>{var n;const a=null!==(n=(0,r.eG)(t))&&void 0!==n?n:(0,r.vC)().w;a>0&&(e.style.width=Math.round(a)+"px");const i=o[0]&&o[0].offsetWidth;i&&(e.style.height=Math.round(i*(16/9)+48)+"px")},y=e=>{a=((a+e)%n+n)%n,g(),b()};e.addEventListener("pointerdown",t=>{s=t.clientX,p=0,h=o[0]&&o[0].getBoundingClientRect().width||1,e.setAttribute("data-dragging","1");try{e.setPointerCapture(t.pointerId)}catch(n){}}),e.addEventListener("pointermove",e=>{if(null==s)return;const t=e.clientX-s;p=Math.max(p,Math.abs(t)),i=t/h,g()});const k=()=>{null!=s&&(a=((a-Math.round(i))%n+n)%n,i=0,s=null,e.removeAttribute("data-dragging"),g(),b(),p>8&&d&&d())};return e.addEventListener("pointerup",k),e.addEventListener("pointercancel",k),e.addEventListener("click",e=>{p>8&&(e.stopPropagation(),e.preventDefault())},!0),e.addEventListener("wheel",e=>{if(Math.abs(e.deltaX)<=Math.abs(e.deltaY))return;e.preventDefault();const t=Math.abs(e.deltaX);clearTimeout(w),w=setTimeout(()=>{u=!0},70),t<4?u=!0:u&&t>=10&&(u=!1,y(e.deltaX>0?1:-1))},{passive:!1}),l&&l.addEventListener("click",e=>{e.stopPropagation(),y(-1)}),c&&c.addEventListener("click",e=>{e.stopPropagation(),y(1)}),window.addEventListener("resize",()=>{(0,r.Vo)(e.closest(".wht-neo-widget")),x(),g()},{passive:!0}),x(),g(),void b()}let g=0,b=0,x=0,y=0;const k=()=>{g=n.length>1?n[1].offsetLeft-n[0].offsetLeft:n[0].offsetWidth,b=n[0].offsetWidth,x=n[0].offsetLeft,y=u*g};k();const _=t=>{if(!g)return;const n=Math.round((e.scrollLeft-x)/g);e.scrollTo({left:x+(n+t)*g,behavior:"smooth"})};l&&l.addEventListener("click",e=>{e.stopPropagation(),_(-1)}),c&&c.addEventListener("click",e=>{e.stopPropagation(),_(1)});const E=(0,r.vC)(),C=E.h>=E.w,L=t=>Math.max(0,t.offsetLeft-(e.clientWidth-t.offsetWidth)/2);if(s){const t=o[C&&!p&&u>=2?1:0];e.scrollLeft=C&&!p?L(t):t.offsetLeft}else n.length>=2&&C&&!p&&(e.scrollLeft=L(n[1]));const N=()=>{const t=Math.round((e.scrollLeft+e.clientWidth/2-x-b/2)/g);t<i?e.scrollLeft+=y:t>=i+u&&(e.scrollLeft-=y)};let A=!1,P=null,z=!1,I=-1;const M=()=>{z=!0};e.addEventListener("pointerdown",M,{passive:!0}),e.addEventListener("touchstart",M,{passive:!0});const $=e=>n.forEach(t=>t.classList.toggle("wht-neo-active",t===e)),S=()=>{if(A=!1,w())return;const t=e.getBoundingClientRect(),o=t.left+t.width/2;let a=null,i=1/0;n.forEach(e=>{const t=e.getBoundingClientRect(),n=Math.abs(t.left+t.width/2-o);n<i&&(i=n,a=e)});const r=a?parseInt(a.dataset.ri,10):-1;r!==I&&(-1!==I&&z&&d&&d(),z=!1,I=r),$(a)};n.forEach(e=>{e.addEventListener("mouseenter",()=>{w()&&(P=e,$(e))}),e.addEventListener("mouseleave",()=>{w()&&P===e&&(P=null,$(null))})}),e.addEventListener("mouseleave",()=>{w()&&(P=null,$(null))});let T=null;const B=()=>{clearTimeout(T),T=setTimeout(N,120)};e.addEventListener("scroll",()=>{A||(A=!0,requestAnimationFrame(S)),s&&B()},{passive:!0}),s&&(e.addEventListener("touchend",B,{passive:!0}),e.addEventListener("touchcancel",B,{passive:!0})),requestAnimationFrame(S);let j=!1;window.addEventListener("resize",()=>{j||(j=!0,requestAnimationFrame(()=>{j=!1,(0,r.Vo)(e.closest(".wht-neo-widget")),F(e,t,h),k(),S()}))},{passive:!0})}async function W(e){const{rootElement:t,widgetContainer:n,shopId:o,widgetIdentity:s,landingLocationType:l="index",collectionId:c,productId:h,isCollections:u,whatmoreRootId:b,onWidgetView:x,onSwipe:y,showMockOnEmpty:k}=e;if(!t||!o)return!1;let _;document.getElementById(w)||m(w,v);try{[_]=await Promise.all([M({shopId:o,widgetIdentity:s,landingLocationType:l,collectionId:c,productId:h,isCollections:u}),g(p(u),f(e.neoJson,p(u)))])}catch(de){_=null}if(!_||!_.length){if(k)try{const e=await fetch("https://api.whatmore.live/vs/mock-data").then(e=>e.json());_=e&&e.eventsData||[]}catch(de){_=[]}if(!_||!_.length)return!1}const E=(C=e,{action(e,t){var n,o,i,r,s,d,l,c;switch(e){case"openFullscreen":(0,a.w)(L(t.event)),null===(n=C.onOpenEvent)||void 0===n||n.call(C,t.event,t.index,t.events);break;case"redirectPdp":var p;null!==(o=t.product)&&void 0!==o&&o.product_link?window.location.href=t.product.product_link:((0,a.w)(L(t.event)),null===(p=C.onOpenEvent)||void 0===p||p.call(C,t.event));break;case"toggleMute":t.video.muted=!t.video.muted,null===(i=t.video.closest(".wht-neo-slide"))||void 0===i||i.classList.toggle("wht-neo-muted",t.video.muted);break;case"togglePlay":t.video.paused?null===(r=(s=t.video).play)||void 0===r||r.call(s):null===(d=(l=t.video).pause)||void 0===d||d.call(l);break;case"addToCart":null===(c=C.onAddToCart)||void 0===c||c.call(C,t.product,t.event)}}});var C;const N=p(u);let A=null;try{A=new URLSearchParams(window.location.search).get("neoskin")||(f(e.neoJson,N)||{}).skin}catch(de){}const P=(0,d.Ny)(N,A)||d.f1[N],$=(0,d.U5)(P),S="mosaic"===$,T=function(){const e=z();return!!(e&&e.carousel_config&&e.carousel_config.is_event_loop)}()&&_.length>1&&("rail"===$||"mosaic"===$||"hoverplay"===$),B=_.length,W=document.createElement("div");W.className="wht-neo-rail","rail"!==$&&W.setAttribute("data-wht-mode",$),W.setAttribute("role","listbox"),W.setAttribute("aria-label","Video shopping carousel"),o&&W.setAttribute("data-wht-shop",o),s&&W.setAttribute("data-wht-widget",s);const O=[];if(S)for(let a=0,i=!1;a<B;i=!i)i&&a+1<B?(O.push([a,a+1]),a+=2):(O.push([a]),a+=1);else for(let a=0;a<B;a++)O.push([a]);const R=[],q=[],V=[];let H=0;const U=(e,t)=>{let n;if(1===e.length){const t=Y(_[e[0]],e[0],_,E);V.push(t.video),n=t.slide}else n=document.createElement("div"),n.className="wht-neo-slide wht-neo-slide--duo",n.dataset.ri=String(e[0]),e.forEach(e=>{const t=Y(_[e],e,_,E);t.slide.classList.remove("wht-neo-slide"),t.slide.classList.add("wht-neo-duo-item"),V.push(t.video),n.appendChild(t.slide)});R.push(n),t&&q.push(n),W.appendChild(n)};if(T){H=Math.min(O.length,Math.ceil((0,r.vC)().w/((0,r.di)(n,$)||200))+3);for(let e=O.length-H;e<O.length;e++)U(O[e],!1)}if(O.forEach(e=>U(e,!0)),T)for(let a=0;a<H;a++)U(O[a],!1);F(W,n,$),(0,r.aT)(W,n);const G=z();G&&G.tertiary_color&&W.style.setProperty("--wht-neo-cta-bg-auto",G.tertiary_color),S&&G&&(G.brand_theme_color&&W.style.setProperty("--wht-neo-ring-c1-auto",G.brand_theme_color),G.tertiary_color&&W.style.setProperty("--wht-neo-ring-c2-auto",G.tertiary_color));const X=e=>{var t,o,a,i;return null!==(t=null!==(o=null===n||void 0===n||null===(a=n.querySelector("#"+e))||void 0===a?void 0:a.getAttribute("data-wh"))&&void 0!==o?o:null===n||void 0===n||null===(i=n.querySelector("#"+e))||void 0===i?void 0:i.getAttribute("data"))&&void 0!==t?t:""},J=X("whatmoreCollectionHeading"),K=J&&"W"!==J?J:X("whatmoreHeading"),Q=X("whatmoreCollectionId"),Z=I(0,K,Q&&"0"!==Q?Q:X("whatmorePageId"),n),ee=document.createElement("div");ee.className="wht-neo-widget",(0,r.Vo)(ee);const te=parseInt(X("whatmoreTopBottomPadding"),10);ee.style.setProperty("--wht-neo-rail-pad-block-auto",(isFinite(te)?te:20)+"px");const ne=parseInt(X("whatmoreLandscapePadding"),10);ee.style.setProperty("--wht-neo-widget-pad-inline-auto",(isFinite(ne)?ne:40)+"px"),Z&&ee.appendChild(Z);let oe=null;"viewmore"===$&&(W.setAttribute("data-wht-collapsed","1"),oe=document.createElement("button"),oe.type="button",oe.className="wht-neo-viewmore",oe.textContent="View more",oe.addEventListener("click",e=>{e.stopPropagation(),W.removeAttribute("data-wht-collapsed"),oe.remove()}));const ae=document.createElement("div");ae.className="wht-neo-rail-wrap";const ie=j("prev"),re=j("next");if(ae.appendChild(W),ae.appendChild(ie),ae.appendChild(re),ee.appendChild(ae),oe&&ee.appendChild(oe),t.innerHTML="",t.appendChild(ee),t.style.opacity="1",(0,i.Au)(),D(W,n,{slides:R,realSlides:q,videos:V,cloneCount:H,isLoop:T,onSwipe:y,navPrev:ie,navNext:re,mosaic:S,mode:$}),x)if("IntersectionObserver"in window){new IntersectionObserver((e,t)=>{e.some(e=>e.isIntersecting)&&(x(),t.disconnect())},{threshold:0}).observe(W)}else x();const se=document.querySelector(`.whatmore-shimmer-container[data-widget-id="${b}"]`);return se&&se.remove(),t.removeAttribute("data-shimmer-active"),n&&(n.style.minHeight="0px"),!0}}}]);