whatmore-react-assets 1.0.1839 → 1.0.1841

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/whatmore.js CHANGED
@@ -1,2 +1,2 @@
1
- /*! For license information please see main.35bb6fd9.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 h},YZ:function(){return o},aD:function(){return r},mM:function(){return s},qW:function(){return l},rz:function(){return m}});const o="58669793418",i="https://consumer.whatmore.live",r="https://whatmore-api-cdn-cache.azureedge.net",a="https://cdn-consumer.whatmore.live",l="https://data.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",m="collections",h="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 w},W:function(){return m}});var o=n(5443),i=n(2567),r=n(3403),a=n(4300);const l=()=>{try{return"true"===localStorage.getItem("whatmoreActivateLogs")}catch(e){return!1}};function s(e,t){const n=e.querySelector(`#${t}`);return n?n.getAttribute("data-wh")||n.getAttribute("data"):null}function c(e){const t=document.getElementById(e);return t?t.getAttribute("data-wh")||t.getAttribute("data"):null}function d(e){const t=parseInt(e,10);return Number.isFinite(t)?t:0}function u(e,t,n,o,i){var r,a;if(!e||!o)return null;if(/^\d+$/.test(o))return null!==(r=null===(a=e[`${t}_${d(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 m({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"),l=e=>{if(!e||d(e.etc)<=0)return 0;return d(r?e.etc:e.esc)+(a?d(r?e.rtc:e.rsc):0)},m=null===(n=window.whatmore)||void 0===n?void 0:n.videoPageSignals;if(m&&"pdp"in m)return l(m.pdp);const h=window.whatmorePdpCarouselEvents,p=null!==(i=s(e,"whatmoreProductId"))&&void 0!==i?i:c("whatmoreProductId");return l(u(h,"p",127,p,p))}function p(e,t,n){var i;const r=null===(i=window.whatmore)||void 0===i?void 0:i.collectionMetafields;if(!r)return 0;let a=s(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=s(e,"whatmorePageId")),!a)return 0;const l=s(e,"whatmoreWidgetIdentity")||"wgt_default",c=u(r,"c",63,a,"wgt_default"!==l?`${a}_${l}`:a);if(!c)return 0;return d((0,o.hG)(t,"oos_config->show_oos_videos")?c.tc:c.sc)}function g(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,l,m;const h=s(e,"whatmoreWidgetIdentity")||"wgt_default",p=null!==(i=s(e,"whatmoreShopId"))&&void 0!==i?i:c("whatmoreShopId"),g=(0,o.hG)(t,"oos_config->show_oos_videos"),f=(0,o.hG)(t,"show_homepage_videos_in_pdp"),w=!(0,a.M)(h,p);if((n||"").startsWith("product")&&(w||!f)){var v,_;const t=window.whatmorePdpCarouselEvents,n=null!==(v=s(e,"whatmoreProductId"))&&void 0!==v?v:c("whatmoreProductId");if(!w){var b,y,S;const e=null!==(b=u(t,"p",127,n,n))&&void 0!==b?b:null===(y=window.whatmore)||void 0===y||null===(S=y.videoPageSignals)||void 0===S?void 0:S.pdp;return e?d(g?e.etc:e.esc):0}if(!t)return 0;const o=h.split("_")[1];if(!o)return 0;const i=null===(_=t[`w_${o[0]}`])||void 0===_?void 0:_[h];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)?d(g?i.etc:i.esc):0}const I=null!==(r=window.whatmoreHomepageCarouselEvents)&&void 0!==r?r:null===(l=window.whatmore)||void 0===l||null===(m=l.videoPageSignals)||void 0===m?void 0:m.hp;if(!I)return 0;if(!w)return d(g?I.tc:I.sc);const T=I[h];return T?d(g?T.tc:T.sc):0}(e,t,n);case"collection":return p(e,t,n);case"banner":return function(e){var t,n,o;const i=window.whatmoreHpBannerEventCounts;if(!i)return d(null===(t=window.whatmore)||void 0===t||null===(n=t.videoPageSignals)||void 0===n?void 0:n.banner_tc);const r=s(e,"whatmoreWidgetIdentity")||"wgt_default";return d("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")?d(null===(s=window.whatmore)||void 0===s||null===(c=s.storyEvents)||void 0===c||null===(u=c.events)||void 0===u?void 0:u.length):(n||"").startsWith("product")?h(e,t):d(null===(i=window.whatmore)||void 0===i||null===(r=i.videoPageSignals)||void 0===r?void 0:r.stories_tc):0;var s,c,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)?p(e,t,n):0;const l=c("whatmoreCollectionId");if(!m({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 s=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 s?d((0,o.hG)(t,"oos_config->show_oos_videos")?s.tc:s.sc):0}(e,t,n);default:return 0}}let f={path:null,flags:null};function w(){const e=window.location.pathname;if(f.path===e&&f.flags)return f.flags;let t=!1,n=!1;try{var a,s,c,d;const e=null!==(a=null===(s=window.whatmore)||void 0===s?void 0:s.frontendCustomizations)&&void 0!==a?a:(0,o.VA)(),l=(0,i.yI)(),u=document.getElementsByClassName("whatmore-base");for(const o of u){if(g(o,e,l)>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(m){l()&&console.error("Whatmore :: video-page flag resolution failed",m),t=!1,n=!1}const u={is_video_page:t,eligible_own_group:n};return f={path:e,flags:u},l()&&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 h},$:function(){return m}});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,m()},l))}function m(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 h(e){const t=d();t.push(e),localStorage.setItem(r,JSON.stringify(t)),t.length>=a?m():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}})},4300:function(e,t,n){n.d(t,{M:function(){return a}});const o="wgt_default",i="wgt_default_",r=["26077888559","80505864496","90485817629"];function a(e,t){return!e||e===o||!!r.includes(String(t))&&e.startsWith(i)}},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 h},hG:function(){return m}});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 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}async function h(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=m(e,"lazy_load_config->block_widgets"),a=m(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 b},zv:function(){return y}});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",m="_whatmore_qview_index",h="_whatmore_brand_questions",p="_whatmore_seen_questions",g="w_user_type",f=(0,i.Ry)(),w=18e5,v=2592e5,_=6e5;function b(){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 y(){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",y()),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(m)){const e=parseInt(localStorage.getItem(m))+1;localStorage.setItem(m,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(h));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(h,JSON.stringify(i)),localStorage.setItem(m,"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,{AG:function(){return l},B_:function(){return c},Rm:function(){return r},SW:function(){return s},Um:function(){return i},Uv:function(){return o},bZ:function(){return a},dK:function(){return d}});const o="_wht_user_attributes",i="wht_user_attributes",r="_wvs",a="wvs",l="_wvi",s="wvi",c="_whatmore-tracking-id";new Set(["10588815418","64805306592","69385027902","69075894527","9407168559","75310563627","75026858234","60692988070","41096085665"]);function d(e){return!0}},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 h},G:function(){return m}});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 m(){try{return["localhost","127.0.0.1"].includes(window.location.hostname)&&"true"!==localStorage.getItem("whatmoreAllowLocalAnalytics")}catch(e){return!1}}const h=function({userInteractionType:e="",userInteractionMetadata:t={},widgetSourceDetails:n={},event:h="",productList:p=[],ctaList:g=[]}={}){var f;const w=(0,i.U)(),v=(0,i.Ry)(),_=v===r.YZ,b="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,...b,user_type:null!=localStorage.getItem("w_user_type")?"olduser":"newuser"},!(0,a.hG)((0,a.VA)(),"event_tracking->is_enabled")||_||w||m())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 y={...(0,u.S)(),interaction_data:(0,d.l)(e,t),data:(0,c.A)(h,n,p,g)};"true"==localStorage.getItem("whatmoreActivateLogs")&&(0,o.xv)(y),(0,l.Z)(y)}},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}}},7900:function(e,t,n){n.d(t,{Gy:function(){return s},Ig:function(){return h},JA:function(){return w},Jh:function(){return f},Mm:function(){return l},S0:function(){return m},Wd:function(){return d},Yt:function(){return p},gf:function(){return c},io:function(){return u},l2:function(){return g},t6:function(){return v}});const o={ta:"template-a",ta1:"template-a-1",tb:"template-b",tc:"template-c",td:"template-d",te:"template-e",tf:"template-f",tg:"template-g",th:"template-h",ti:"template-i","template-j":"tj",ts:"template-stories",tba:"template-banner-a",tem:"template-embed",tsa:"template-stories-a",tsb:"template-stories-b",tfa:"template-feed-a",tca:"template-collections-a",tcb:"template-collections-b",tcc:"template-collections-c",tcd:"template-collections-d",tce:"template-collections-e",tcs:"template-collections-stories",tcf:"template-collections-f",tcg:"template-collections-g",tch:"template-collections-h","template-collections-j":"tcj"},i={"template-a":"ta","template-a-1":"ta1","template-c":"tc","template-d":"td","template-e":"te","template-b":"tb","template-f":"tf","template-g":"tg","template-h":"th","template-i":"ti","template-j":"tj","template-stories":"ts","template-banner-a":"tba","template-embed":"tem","template-stories-a":"tsa","template-stories-b":"tsb","template-feed-a":"tfa","template-collections-a":"tca","template-collections-b":"tcb","template-collections-c":"tcc","template-collections-d":"tcd","template-collections-e":"tce","template-collections-stories":"tcs","template-collections-f":"tcf","template-collections-g":"tcg","template-collections-h":"tch","template-collections-j":"tcj"},r={"template-embed":"0","template-stories-a":"1","template-stories-b":"2","template-a":"3","template-a-1":"4","template-c":"5","template-d":"6","template-e":"7","template-b":"8","template-f":"9","template-stories":"10","template-feed-a":"11","template-collections-a":"12","template-collections-b":"13","template-collections-c":"14","template-collections-d":"15","template-collections-e":"16","template-collections-stories":"17","template-collections-f":"18","template-banner-a":"19","template-g":"20","template-h":"21","template-collections-g":"22","template-collections-h":"23","template-i":"24","template-collections-i":"25","template-j":"26","template-collections-j":"27","template-neo":"28","template-collections-neo":"29","template-stories-neo":"30","template-floating-neo":"31","template-banner-neo":"32"},a={index:"h",collection:"c",product:"p",page:"l"},l=function(e){return o[e]},s=function(e){return i[e]},c=function(e){return r[e]},d=function(e){var t;const n=null===(t=e.split("."))||void 0===t?void 0:t[0];return a[n]},u=function(e){return"template-embed"===e},m=function(e){return"non-existent-template"===e||!e},h=function(e){return"invalid-template"===e||!e},p=function(e){return"template-stories-a"===e||"template-stories-b"===e||"template-stories-neo"===e},g=function(e){return"template-banner-a"===e||"template-banner-neo"===e},f="banner",w="spotlight",v=function(e){return"index"===e?"homepage":"collection"===e?"collection":"product"===e||"embed"===e?"product":"homepage"}},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 m=window.location.hostname,h=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,b=v&&null!=v.version?v.version:null;let y;try{y=(0,l.U)()}catch(S){y={is_video_page:!1,eligible_own_group:!1}}return{user_id:e,session_id:t,user_group:c,ab_test_id:_,ab_test_version:b,user_agent:n,store_id:s,hostname:m,page_path:h,event_id:p,event_timestamp:g,shopify_session_id:f,shopify_user_id:w,is_video_page:y.is_video_page,eligible_own_group:y.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},PV:function(){return m},Vo:function(){return r},aT:function(){return h},di:function(){return d},eG:function(){return s},vC:function(){return i}});const a={mosaic:1.08,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,m=(null!==(n=o(e,d?"whatmoreVideoTileSizePortrait":"whatmoreVideoTileSize"))&&void 0!==n?n:60)/100,h=.6*c;let p;return p=d?u?.8*h*m:h*m*.9:h*(.5*m*1.3),{widthPx:p,ts:m}}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 m(e,t){var n;const r=d(e,t);if(!r)return null;const{w:a,h:l}=i(),s=null!==(n=o(e,a>l?"whatmoreVideoTileSize":"whatmoreVideoTileSizePortrait"))&&void 0!==n?n:100,c=Math.round(r*s/100);return c>0?c:null}function h(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",866:"wht-neo-atc",936:"wht-skin-carousel-overlay",939:"atc-with-form"}[e]||e)+"."+{12:"0695d38d",31:"4516194e",94:"6c0d316e",126:"8c736a20",172:"19f003d3",244:"2e8a077b",252:"28f145eb",259:"6d7d3e42",260:"1acb23ef",268:"c4f63b42",310:"03f78956",315:"a3f86c52",343:"2db08d77",506:"20689a27",508:"0dcbce67",545:"07eb908a",561:"a58e7660",565:"fc7b5a76",579:"24e3ebfe",580:"f21f06a5",712:"ba396dc5",719:"2d691503",760:"37d5cb91",764:"564fa4b4",781:"9959051a",833:"b9343045",838:"067519e4",866:"a8e9ee2c",936:"05a75658",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:"32e197e4",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 m=function(t,n){l.onerror=l.onload=null,clearTimeout(h);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)},h=setTimeout(m.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=m.bind(null,l.onerror),l.onload=m.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,sideScale:1,startAlign:!0,tileMarginH:4},"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(4300),d=n(9439);const u=null!==(s="true"==localStorage.getItem("whatmoreActivateLogs"))&&void 0!==s&&s,m=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 p(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 g(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 f(){return window.location.href.split(/[?#]/)[0]}function w(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 p(o,"show_homepage_videos_in_pdp")?"homepage":i("whatmoreProductId",null);if("collection"===n){let e;return"19506115"===r?e="343270603":p(o,"collections_config->use_page_link_as_collection_id")?e=p(o,"collections_config->multi_carousel_enabled")?i("whatmoreCollectionUrl",null):f():(e=i("whatmoreCollectionId",null),"0"===e&&(e=i("whatmorePageId",null)),e&&"0"!==e||(e=f())),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 v(e,t,n,o,r,a){var l;if(null!==(l=p(r,"shimmer_config->enable_shimmer"))&&void 0!==l&&!l)return null;if(null!==i.A)return i.A;if(!n||""===n||"undefined"===n||"null"===n)return null;let s=null;return"homepage"===n?s=function(e,t,n){const o=window.whatmoreHomepageCarouselEvents;if(!o)return null;const i=p(t,"show_out_of_stock_videos");if(!(0,c.M)(e,n)){const t=o[e];return t?i?t.tc:t.sc||t.tc:null}return i?o.tc:o.sc}(o,r,a):t&&t.startsWith("product")?s=function(e,t,n,o){var i;const r=window.whatmorePdpCarouselEvents;if(!r)return null;const a=p(n,"show_out_of_stock_videos");if(!(0,c.M)(t,o)){var l;const n=t.split("_");if(n.length<2||!n[1])return null;const o=null===(l=r[`w_${n[1][0]}`])||void 0===l?void 0:l[t];if(!o)return null;const i=o.scope_mode||"all",s=o.scope_targets||[],c=String(e);let d=!1;return"all"===i?d=!0:"include"===i?d=s.includes(c):"exclude"===i&&(d=!s.includes(c)),d?a?o.etc:o.esc:null}const s=null===(i=r["p_"+parseInt(e)%127])||void 0===i?void 0:i[e];return s?a?s.etc:s.esc:null}(n,o,r,a):"collection"===e&&(s=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?p(n,"show_out_of_stock_videos")?l.tc:l.sc:null}(n,o,r)),null===s||void 0===s||0===s?(u&&console.log(`[Shimmer] Event count is ${s}, skipping shimmer`),null):s}function _(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 b(e,t,n,o,i){const r=Math.min(t,n);let a,l,s=.6*r*m,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,u=t/(1.2*c),a=Math.round(10*u)/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 u;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),[c,u]=s.useWindowWidth?[window.innerHeight,window.innerWidth]:g(n),h=_(n),f=function(e,t){const n=e>t,o=e>=481;return n&&o?"desktop":!n&&o?"tablet":n&&!o?"mobileLandscape":"mobilePortrait"}(u,c),w=b(f,u,c,h,s);if(s.neoSlideWidth){let e=(0,d.di)(n);e&&(s.maxTileWidth&&(e=Math.min(e,s.maxTileWidth)),w.width=e,w.height=e*m)}const v=("mobilePortrait"===f||"tablet"===f)&&s.portraitTiles?s.portraitTiles:i,y="never"!==s.headingMode&&("flag"!==s.headingMode||(!!p(o,s.headingFlag)||!!s.headingShop&&(Array.isArray(s.headingShop)?s.headingShop.includes(h.shopId):h.shopId===s.headingShop)))?(S=h.heading,I=h.titleFontSize,S&&""!==S.trim()?Math.round(1.2*I+16):0):0;var S,I;const T=null!==(t=p(o,"carousel_config->width_multiplier"))&&void 0!==t?t:1.1,x=h.topBottomPadding+y+s.tileMarginV+w.height+s.tileMarginV+h.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:m=a,gap:h=null}=e,p="desktop"===s||"mobileLandscape"===s,g=p?"whatmore-shimmer-events-carousel-landscape":"whatmore-shimmer-events-carousel-portrait",f=m.startAlign&&!p;let w=`<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&&(w+=`<div style="display:flex;flex-direction:column;justify-content:center;align-items:center;">\n <div style="height:${Math.max(8,i-24)}px;width:140px;background:#e0e0e0;border-radius:4px;margin-bottom:6px;position:relative;overflow:hidden;">\n <div class="whatmore-shimmer-animation"></div></div></div>`),w+=`<div class="${g}" style="display:flex;justify-content:center;align-items:center;${p?`padding-left:${l}px;padding-right:${l}px;`:""}">`,w+=`<div style="width:${p?t*d*u+"px":c+"px"};height:fit-content;overflow:hidden;${p?"":"display:flex;justify-content:"+(f?"flex-start":"center")+";"}">`;const v=`<div style="width:${t}px;height:${n}px;background:#e0e0e0;border-radius:${m.radius};position:relative;overflow:hidden;"><div class="whatmore-shimmer-animation"></div></div>`,_=m.emphasizeAlways||!p&&m.portraitTiles||p&&m.landscapeSlides,b=Math.floor(o/2),y=e=>{const t=_?e===b?m.centerScale:m.sideScale:1,n=1!==t?`transform:scale(${t});`:"";return`<div style="flex-shrink:0;margin:${m.tileMarginV}px ${m.tileMarginH}px;${n}">${v}</div>`};w+=`<div style="display:flex;gap:${null!=h?h:p?Math.round(t*u-t-20):0}px;margin:${f?"0":"0 auto"};width:max-content;">`;for(let a=0;a<o;a++)w+=y(a);return w+="</div></div></div></div></div>",w}({tileWidth:w.width,tileHeight:w.height,numberOfTiles:v,headingHeight:y,topBottomPadding:h.topBottomPadding,landscapePadding:w.landscapePadding,deviceMode:f,windowWidth:u,slidesPerView:w.slidesPerView,widthMultiplier:T,cfg:s,gap:s.neoSlideWidth?h.collectionsTilesSpacing:null});return{totalHeight:Math.round(x),shimmerHTML:E}}const S={standard:{widthFactor:1,aspect:16/9,scale:1,maxW:1/0,portraitCenter:!0,gapRatio:.13,gapRatioLandscape:.1,portraitCenterScale:1.05},minimal:{widthFactor:1,aspect:16/9,scale:1,maxW:1/0,portraitCenter:!0,gapRatio:.11,gapRatioLandscape:.11,portraitCenterScale:1.05},card:{widthFactor:1,aspect:2.22,scale:1,maxW:360,portraitCenter:!0,portraitCenterScale:1.05},"mosaic-ring":{widthFactor:1,aspect:1.5,scale:1,maxW:240},"mosaic-plain":{widthFactor:1,aspect:1.5,scale:1,maxW:240},"info-strip":{widthFactor:1,aspect:16/9,extraH:45,scale:1,maxW:340,portraitCenter:!0},"text-overlay":{widthFactor:1.05,aspect:16/9,scale:1,maxW:340,gapPx:9},focused:{widthFactor:1,aspect:16/9,extraH:50,scale:1,maxW:340,portraitCenter:!0,marginBlock:12,gapRatio:.156,gapRatioLandscape:.1,portraitHeroTall:1.1},coverflow:{widthFactor:1.15,aspect:16/9,extraH:52,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:1/0},overlay:{widthFactor:1,aspect:16/9,scale:1,maxW:360,portraitCenter:!0},viewmore:{widthFactor:1,aspect:16/9,scale:1,maxW:340}},I={widthFactor:1,aspect:16/9,scale:1,maxW:340};function T(e){var t;const{widgetContainer:n,neoMode:o,neoSkin:i,neoSurface:r,eventCount:a}=e,l=_(n),{w:s,h:c}=(0,d.vC)(),u=s>c?"landscape":"portrait",m=(0,d.di)(n,o)||Math.round(.3*Math.min(s,c)),h=S[i]||I,g=(0,d.GK)(n,o);let f,w;if(g)f=Math.min(m,h.maxW),w=g;else if(h.storySize){const e=p(function(){try{return JSON.parse(localStorage.getItem("whatmore_brand_customizations")).customizations}catch(e){return null}}(),"collections_config->story_tile_size_factor"),t=(0,d.PV)(n,o);f=Math.round((t||Math.round(.135*Math.min(s,c)))*("number"===typeof e&&e>0?e:1)),w=Math.round(f*h.aspect)+(h.extraH||0)}else h.vwFactor?(f=Math.min(Math.round(h.vwFactor*s),h.maxW),w=Math.round(f*h.aspect)+(h.extraH||0)):(f=Math.min(Math.round(m*h.widthFactor),h.maxW,Math.round(.55*s)),"mosaic-ring"!==i&&"mosaic-plain"!==i||"portrait"!==u||(f=Math.min(Math.round(1.08*f),h.maxW)),w=Math.round(f*h.aspect)+(h.extraH||0));const v=!!l.heading&&"circle"!==i&&!(("mosaic-ring"===i||"mosaic-plain"===i)&&"carousel"===r),b="landscape"===u?l.titleFontSize:l.titleFontSizePortrait,y=v?Math.round(1.2*b+4):0,T=null!=h.gapPx?h.gapPx:null!=h.gapRatio?Math.round(f*("landscape"===u&&null!==(t=h.gapRatioLandscape)&&void 0!==t?t:h.gapRatio)):l.collectionsTilesSpacing,x="landscape"===u?h.scale:1,E=f*x+T,C=Math.max(1,Math.ceil(s/E)),P=a>0?a:C+2,k=P>C;let O=k?C+2:P,W=k?"overflow":"fit",A=1;if("viewmore"===o){O=Math.min(6,P);const e=(n&&n.getBoundingClientRect().width||s)-24,t=Math.max(1,Math.min(O,Math.floor(e/(f+T))));A=Math.ceil(O/t),W="grid"}else if("feed"===o){const e="landscape"===u?3:2;O=Math.min(8,P),A=Math.ceil(O/e),W="grid"}if("portrait"===u&&h.portraitCenter){const e=Math.max(C+1,3);O=e%2===0?e+1:e}const M="feed"===o?Math.round(f*("landscape"===u?.31:.37)):T,L="portrait"===u&&h.portraitHeroTall?Math.round(f*h.aspect*h.portraitHeroTall)+(h.extraH||0):"portrait"===u&&h.portraitCenterScale?Math.round(w*h.portraitCenterScale):w,D=2*(h.marginBlock||0),$=Math.round((A*L+Math.max(0,A-1)*M)*x)+A*D,N=2*l.topBottomPadding+y+$,H=h.portraitCenter?"center":"start",R="landscape"===u?l.landscapePadding:0;let z=`<div class="whatmore-shimmer-neo" data-wht-mode="${o}" data-wht-skin="${i||""}" data-wht-vp="${u}" data-wht-fill="${W}" data-wht-palign="${H}" style="--sh-tile-w:${f}px;--sh-tile-h:${w}px;--sh-gap:${T}px;--sh-scale:${h.scale};margin-top:${l.topBottomPadding}px;margin-bottom:${l.topBottomPadding}px;">`;y>0&&(z+=`<div class="whatmore-shimmer-neo-heading" style="height:${y-16}px;"><div class="whatmore-shimmer-animation"></div></div>`),z+=`<div class="whatmore-shimmer-neo-rail" style="margin-inline:${R}px;">`;const B="portrait"===u&&(h.portraitHeroTall||h.portraitCenterScale)?Math.floor(O/2):-1,j=B>=0&&h.portraitCenterScale?Math.round(f*h.portraitCenterScale):f,V=B<0?0:h.portraitHeroTall?Math.round(f*h.aspect*h.portraitHeroTall)+(h.extraH||0):Math.round(w*h.portraitCenterScale);for(let d=0;d<O;d++){z+=`<div class="whatmore-shimmer-neo-tile"${d===B?` style="width:${j}px;height:${V}px;"`:""}><div class="whatmore-shimmer-animation"></div></div>`}return z+="</div></div>",{totalHeight:Math.round(N),shimmerHTML:z}}function x(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 m=parseInt(((e,t)=>{const n=document.querySelector(`#${e}`);return n&&(n.getAttribute("data-wh")||n.getAttribute("data"))||t})("whatmoreVideoTileSize","60")),h=p(a,"banner_config->portrait_multiplier"),g=p(a,"banner_config->landscape_multiplier"),f=m/100*(null!==h&&void 0!==h?h:1),w=m/100*(null!==g&&void 0!==g?g:1),v=(0,r.i)(p(a,"banner_config->widget_aspect_ratios"),l,d),_=null!==v&&void 0!==v?v:d?null!==(t=p(a,"banner_config->portrait_aspect_ratio"))&&void 0!==t?t:1:null!==(n=p(a,"banner_config->landscape_aspect_ratio"))&&void 0!==n?n:.5625,b=d?o*f:o*w,y=p(a,"banner_config->is_full_screen")||!1,S=y?o*_:b*_;return{totalHeight:S,shimmerHTML:`\n <div class="whatmore-banner-shimmer-wrapper" style="position:relative;margin:0 auto;width:${y?"100%":`${b}px`};height:${S}px;border-width:${p(a,"theme_config->event_tile->border_width")||"0px"};border-color:${p(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 E(e){var t;const{customizations:n,widgetContainer:o,eventCount:i}=e,[r,a]=g(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,m=l.collectionsTilesSpacing,f=d*c*.01,w=p(n,"collections_config->story_tile_size_factor")||1,v=null!==(t=p(n,"collections_config->story_tile_shape"))&&void 0!==t?t:"circle",_=p(n,"collections_config->remove_borders"),b=parseInt(p(n,"collections_config->tile_margin_right"))||0,y=_?2:b||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,k=a-2*u,O=x+y,W=Math.min(Math.ceil((k+m)/(O+m)),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:${m}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:${y}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}}var C=n(1637),P=n(5566);const k="wht-net-probe",O="wht-net-probe-style";function W(e){return"number"===typeof e&&isFinite(e)}function A(e){return e>=10?Math.round(e).toString():e.toFixed(1)}function M(){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 L(){try{if("undefined"===typeof window||"undefined"===typeof URLSearchParams||!new URLSearchParams(window.location.search).has("whtProbe"))return;if("undefined"===typeof document||!document.body||document.getElementById(k))return;!function(){!function(){if(document.getElementById(O))return;const e=document.createElement("style");e.id=O,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=k,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:M(),blockedMs:0,longtaskSupported:!1},u=()=>{d.measured=M()||d.measured;const e=navigator&&navigator.connection||{},t=d.measured?d.measured.mbps:W(e.downlink)?e.downlink:null,n=(u=t,m=e.effectiveType,null==u&&m&&(u={"slow-2g":.3,"2g":.6,"3g":2.5,"4g":12}[m]),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,m;o.style.width=Math.round(100*n.frac)+"%",o.style.background=n.color,i.textContent=null!=t?A(t)+" Mbps":"unknown",i.style.color=n.color;const h=[];e.effectiveType&&h.push(e.effectiveType),W(e.rtt)&&h.push(e.rtt+"ms"),d.measured?h.push(Math.round(d.measured.bytes/1024)+"KB in "+Math.round(d.measured.ms)+"ms"):W(e.downlink)&&h.push("\u2193"+A(e.downlink)+" est"),r.textContent=h.length?h.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||W(p.fcp),f=function(e,t,n){if(!n)return{frac:.5,color:"#9a9aa2",label:"n/a"};const o=e||0;return o>600||W(t)&&t>4e3?{frac:.2,color:"#ff4d4f",label:"heavy"}:o>250||W(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=[];W(p.fcp)&&v.push("fcp "+(p.fcp/1e3).toFixed(1)+"s"),W(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(m){}}()}catch(e){"undefined"!==typeof console&&console.warn("[whtProbe] disabled:",e)}}var D=n(6287),$=n(9296),N=n(7156),H=n(3064),R=n(6074),z=n(2567),B=n(4421);let j=!1;const V="_whatmore_first_touch_session";function G(){if(j)return;const e=(0,z.yI)(),t=function(e){return null!==e&&void 0!==e&&e.startsWith("collection")?N.O.COLLECTION_PAGE_VISITED:null!==e&&void 0!==e&&e.startsWith("product")?N.O.PDP_VISITED:null!==e&&void 0!==e&&e.startsWith("index")?N.O.HOMEPAGE_VISITED:null!==e&&void 0!==e&&e.startsWith("page")?N.O.PAGE_VISITED:null}(e),n=(0,P.zv)();if(localStorage.getItem(V)!==n&&(localStorage.setItem(V,n),function(e){const t=(0,$.S)(),n=(0,N.l)(N.O.FIRST_TOUCH,{path:window.location.pathname,landing_location_type:e,...(0,B.Q)()}),o=(0,H.A)("",{landingLocationType:e,templateType:""},[],[]),i={...t,interaction_data:n,data:o};(0,R.d)({metric_event_list:[i]},!0)}(e)),!t)return;j=!0;const o={...(0,$.S)(),interaction_data:(0,N.l)(t,{user_type:null!=localStorage.getItem("w_user_type")?"olduser":"newuser",...(0,B.Q)()}),data:(0,H.A)("",{landingLocationType:e,templateType:""},[],[])};(0,R.d)({metric_event_list:[o]},!0)}var F=n(3208);let U=!1;var q,J,K,Y,Z,X,Q,ee,te=n(6694),ne=n(6080),oe=n(3403),ie=n(2873),re=n(8924),ae=n(7900);const le=Array.from(document.getElementsByClassName("whatmore-base")),se=null!==(q="true"==localStorage.getItem("whatmoreActivateLogs"))&&void 0!==q&&q,ce=function(e){return"template-banner-a"===e||"template-banner-neo"===e},de=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},ue=function(e){return"template-stories-a"===e||"template-stories-b"===e||"template-stories-neo"===e};const me={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"},2:{"template-stories-a":"a","template-stories-b":"b"},3:{},4:{"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"},5:{}};function he(e){for(let n=1;n<=1;n++){const t=me[n];if(t&&t[e])return t[e]}try{if("1"===localStorage.getItem("whatmore_neo_collections_preview")&&de(e)&&me[1][e])return me[1][e]}catch(t){}return null}function pe(e,t){const n=document.getElementById(e);if(!n)return t;return n.getAttribute("data-wh")||n.getAttribute("data")||t}function ge(e,t,n,i,r){var a;if("template-embed"===n||"template-floating-neo"===n)return;if(ue(n))return;if("60595503283"===we)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]=g(t);try{const o=function(e,t){const n=he(e);if("template-neo"!==e&&"template-collections-neo"!==e&&(null===n||ue(e)||ce(e)))return{mode:null,skin:null};const o=de(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,re.Ny)(o,i||r)||n||re.f1[o];return{mode:(0,re.U5)(a),skin:a}}(n,i),a=function(e){const{templateType:t,widgetContainer:n,customizations:o}=e,i=w(n,o);if("template-banner-a"===t||"template-banner-neo"===t)return e.widgetIdentity=i.widgetIdentity,x(e);const r=v(i.widgetType,i.landingLocationType,i.actualId,i.widgetIdentity,o,i.shopId);return null===r?null:(e.eventCount=r,e.neoMode?T(e):"template-stories"===t?E(e):y(e))}({templateType:l,widgetContainer:t,customizations:i,windowWidth:c,windowHeight:s,neoMode:o.mode,neoSkin:o.skin,neoSurface:n.includes("collections")?"collections":"carousel"});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%; overflow: hidden; }\n.whatmore-shimmer-neo-heading { width: 200px; margin: 0 auto 16px; background: #e0e0e0; border-radius: 4px; position: relative; overflow: hidden; }\n/* overflow:hidden so the tile row CLIPS to the rail\'s own box \u2014 the rail\'s margin-inline (collection=40,\n carousel=user value) then holds on BOTH sides; without it the overflowing tiles spill past the right margin. */\n.whatmore-shimmer-neo-rail { display: flex; justify-content: center; align-items: center; gap: var(--sh-gap, 14px); position: relative; overflow: hidden; }\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: 5px; position: relative; overflow: hidden; } /* match the render\'s radius (brand_ui_theme round default = 5px) */\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; gap: 20px; padding-inline: 12px; max-height: calc(var(--sh-tile-w) * 16 / 9 + 2px); overflow: hidden; }\n.whatmore-shimmer-neo[data-wht-mode="viewmore"] .whatmore-shimmer-neo-tile { width: var(--sh-tile-w); height: auto; aspect-ratio: 9 / 16; }\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-fit, 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-fit, 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/* focused (skin h): 12px per-tile vertical breathing room \u2014 mirrors shared-skin-focused .wht-neo-slide\n margin-block:12px (the centred hero tile is drawn taller inline by the skeleton builder). */\n.whatmore-shimmer-neo[data-wht-skin="focused"] .whatmore-shimmer-neo-tile { margin-block: 12px; }\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 fe=null!==document.getElementById("whatmoreRoot"),we=pe("whatmoreShopId",C.YZ),ve=pe("whatmoreExtensionType","index"),_e=null!==(J=(null===(K=window)||void 0===K||null===(Y=K.Shopify)||void 0===Y||null===(Z=Y.theme)||void 0===Z?void 0:Z.role)&&"main"!==(null===(X=window)||void 0===X||null===(Q=X.Shopify)||void 0===Q||null===(ee=Q.theme)||void 0===ee?void 0:ee.role))&&void 0!==J&&J,be=("2665447536"==we||"72201044272"==we)&&null!=localStorage.getItem("w_user_type"),ye=(0,o.cp)();!async function(){L();const e=await(0,o.dE)(we);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=fe||le&&le.length>0,i=we!==C.YZ&&!(window.Shopify&&window.Shopify.designMode)&&!(0,z.U)()&&!(0,te.G)()&&!!(0,o.hG)(e,"event_tracking->is_enabled");if(t&&i&&((0,B.a)(),G(),function(){if(U||"undefined"===typeof document)return;U=!0;const e=()=>{(0,F.$)(!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={[ne.Uv]:(0,ne.dK)((0,z.Ry)())?JSON.stringify(l):l,[ne.Um]:""};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"===pe("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"]})}}let r;if(!fe&&le&&le.length>0){r=(t,r)=>{var a,l,s,c,d,u,m,h,p,g;if((0,oe.i)(t))return;const f=t.querySelector(".whatmore-render-root"),w=t.querySelector(".whatmore-template-type");let v=!1,_=!1,b=!1;const y=null!==(a=null!==(l=null===w||void 0===w?void 0:w.getAttribute("data-wh"))&&void 0!==l?l:null===w||void 0===w?void 0:w.getAttribute("data"))&&void 0!==a?a:"template-embed";ue(y)?v=!0:de(y)?_=!0:ce(y)&&(b=!0);let S="",I="";if(_){var T,x,E,k,O,W,A,M;I=null!==(T=null!==(x=null===(E=t.querySelector("#whatmoreCollectionHeading"))||void 0===E?void 0:E.getAttribute("data-wh"))&&void 0!==x?x:null===(k=t.querySelector("#whatmoreCollectionHeading"))||void 0===k?void 0:k.getAttribute("data"))&&void 0!==T?T:"";const n=null!==(O=null!==(W=null===(A=t.querySelector("#whatmoreCollectionId"))||void 0===A?void 0:A.getAttribute("data-wh"))&&void 0!==W?W:null===(M=t.querySelector("#whatmoreCollectionId"))||void 0===M?void 0:M.getAttribute("data"))&&void 0!==O?O:"",i=window.location.href.split(/[?#]/)[0];var L,$,H,R,B,j,V,G;if((0,o.hG)(e,"collections_config->use_page_link_as_collection_id"))S=(0,o.hG)(e,"collections_config->multi_carousel_enabled")?null!==(L=null!==($=null===(H=t.querySelector("#whatmoreCollectionUrl"))||void 0===H?void 0:H.getAttribute("data-wh"))&&void 0!==$?$:null===(R=t.querySelector("#whatmoreCollectionUrl"))||void 0===R?void 0:R.getAttribute("data"))&&void 0!==L?L:"":i;else S=n||i;if("0"==S)S=null!==(B=null!==(j=null===(V=t.querySelector("#whatmorePageId"))||void 0===V?void 0:V.getAttribute("data-wh"))&&void 0!==j?j:null===(G=t.querySelector("#whatmorePageId"))||void 0===G?void 0:G.getAttribute("data"))&&void 0!==B?B:S;const r=(0,o.hG)(e,"collections_config->homepage_collection_ids");"index"===ve&&Array.isArray(r)&&1===r.length&&(S=r[0])}let F="";if(ve.startsWith("product")){var U,q,J,K;const n=null!==(U=null!==(q=null===(J=t.querySelector("#whatmoreProductId"))||void 0===J?void 0:J.getAttribute("data-wh"))&&void 0!==q?q:null===(K=t.querySelector("#whatmoreProductId"))||void 0===K?void 0:K.getAttribute("data"))&&void 0!==U?U:"";F=(0,o.hG)(e,"product_config->use_product_page_link_as_client_product_id")?window.location.href.split(/[?#]/)[0]:n}const Y=null!==(s=null!==(c=null===(d=t.querySelector("#whatmoreHeading"))||void 0===d?void 0:d.getAttribute("data-wh"))&&void 0!==c?c:null===(u=t.querySelector("#whatmoreHeading"))||void 0===u?void 0:u.getAttribute("data"))&&void 0!==s?s:"",Z=null!==(m=null!==(h=null===(p=t.querySelector("#whatmoreWidgetIdentity"))||void 0===p?void 0:p.getAttribute("data-wh"))&&void 0!==h?h:null===(g=t.querySelector("#whatmoreWidgetIdentity"))||void 0===g?void 0:g.getAttribute("data"))&&void 0!==m?m:"wgt_default",X="whatmoreRoot"+r;if(ge(f,t,y,e,X),C.mM)return;const Q=(0,o.C2)(e,_,ye,y,ve),ee=()=>{Promise.all([n.e(580),n.e(268)]).then(n.bind(n,4234)).then(e=>{e.initializeReactApp({rootElement:f,templateType:y,isStoriesTemplate:v,isCollectionsTemplate:_,_isTemplateTypeBanner:b,whatmoreCollectionId:S,whatmoreCollectionHeading:I,whatmoreHeadingCarousel:Y,whatmoreWidgetIdentity:Z,whatmoreRootId:X,landingLocationType:ve,isInPreviewMode:_e,userType:be})}).catch(e=>{console.error("Whatmore: Failed to load React chunk:",e);const n=document.querySelector(`.whatmore-shimmer-container[data-widget-id="${X}"]`);n&&(n.remove(),se&&console.log(`[Chunk Error] Removed shimmer for widget ${X}`)),t&&(t.style.minHeight="0px",se&&console.log(`[Chunk Error] Reset minHeight to 0px for widget ${X}`)),f&&(f.style.opacity="0",f.removeAttribute("data-shimmer-active"))})},ne=he(y),re="template-neo"===y||"template-collections-neo"===y||null!==ne&&!v&&!b,le="template-stories-neo"===y||null!==ne&&v,me="template-embed"===y&&!!(e&&e.neo&&e.neo.floating&&e.neo.floating.enabled),pe=ve.startsWith("product")?!0===(0,o.hG)(e,"product_page_popup_config->show_product_page_popup"):ve.startsWith("collection")?!0===(0,o.hG)(e,"collection_page_popup_config->show_collection_page_popup"):(0,ie.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")},ve,S),fe="template-floating-neo"===y||me&&pe,Se="template-banner-neo"===y||null!==ne&&b,Ie=re||le||fe||Se?()=>{const o={rootElement:f,widgetContainer:t,shopId:we,widgetIdentity:Z,landingLocationType:ve,collectionId:S,productId:F,isCollections:_,whatmoreRootId:X,showMockOnEmpty:we===C.YZ||(0,z.U)(),neoJson:(()=>{const t=e&&e.neo;if(null===ne)return t;const n=v?"stories":b?"banner":_?"collections":"carousel",o=t&&t[n]||{};return Object.assign({},t,{[n]:Object.assign({},o,{skin:ne})})})(),floatingMode:ve.startsWith("product")||"embed"===ve?"pdp":"spotlight",onWidgetView:()=>{if(!i)return;const e=fe&&(ve.startsWith("product")||"embed"===ve);(0,te.B)({userInteractionType:le?N.O.STORIES_WIDGET_VIEW:Se?N.O.BANNER_WIDGET_VIEW:fe?e?N.O.PDP_POPUP_WIDGET_VIEW:N.O.SPOTLIGHT_WIDGET_VIEW:_?N.O.COLLECTION_WIDGET_VIEW:N.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,widgetSourceDetails:{landingLocationType:ve,templateType:y}})},onSwipe:()=>{i&&(0,te.B)({userInteractionType:N.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:{landingLocationType:ve,templateType:y}})},onBannerClick:e=>{i&&(0,te.B)({userInteractionType:N.O.BANNER_WIDGET_CLICKED,widgetSourceDetails:{landingLocationType:ve,templateType:y},event:e})},onClose:e=>{i&&(ve.startsWith("product")||"embed"===ve)&&(0,te.B)({userInteractionType:N.O.PDP_POPUP_CLOSED,widgetSourceDetails:{landingLocationType:ve,templateType:y},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:y,isStoriesTemplate:v,isCollectionsTemplate:_,_isTemplateTypeBanner:b,whatmoreCollectionId:S,whatmoreCollectionHeading:I,whatmoreHeadingCarousel:Y,whatmoreWidgetIdentity:Z,whatmoreRootId:X,landingLocationType:ve,isInPreviewMode:_e,userType:be},{events:e,eventIndex:t,eventsStories:o,storyIndex:i})).catch(e=>{(0,D.B)(),se&&console.log("[Neo] stories fullscreen mount failed, booting React:",e),ee()})},onOpenEvent:(e,t,o)=>{if(!(0,z.U)()&&we!==C.YZ&&e&&e.products)try{const t=(0,ae.Wd)(ve)+(0,ae.gf)(y)+(e.isRelatedEvent?"R":"E")+"_"+e.event_id,[n,o]="index"===ve?[C.TB,C.Dk]:ve.startsWith("product")||"embed"===ve?[C.DK,C.K1]:ve.startsWith("collection")?[C.Sx,C.rz]:[C.TB,C.Dk];(0,P.Ch)(e.event_id,e.products,n,o,t,e.location,be)}catch(i){se&&console.log("[Neo] viewed-product write failed:",i)}Promise.all([n.e(580),n.e(268)]).then(n.bind(n,4234)).then(e=>e.mountNeoFullscreen({templateType:y,isStoriesTemplate:v,isCollectionsTemplate:_,_isTemplateTypeBanner:b,whatmoreCollectionId:S,whatmoreCollectionHeading:I,whatmoreHeadingCarousel:Y,whatmoreWidgetIdentity:Z,whatmoreRootId:X,landingLocationType:ve,isInPreviewMode:_e,userType:be},{events:o,eventIndex:t})).catch(e=>{(0,D.B)(),se&&console.log("[Neo] fullscreen mount failed, booting React:",e),ee()})},onAtcEnabled:()=>{n.e(866).then(n.bind(n,29)).catch(()=>{})},onAddToCart:(t,o)=>n.e(866).then(n.bind(n,29)).then(n=>(n.fireNeoAtcClick({event:o,productList:[t],ctaList:o&&o.cta||[],customizations:e,widgetSourceDetails:{landingLocationType:ve,templateType:y}}),n.fireNeoOutsideAtcFunnel({event:o,product:t,customizations:e,widgetSourceDetails:{landingLocationType:ve,templateType:y}}),n.neoAddToCart({product:t,event:o,customizations:e,widgetSourceDetails:{landingLocationType:ve,templateType:y},widget:(0,ae.Wd)(ve)+(0,ae.gf)(y)+(o&&o.isRelatedEvent?"R":"E")+"_"+(o&&o.event_id),userType:be,mode:"direct"}))).catch(e=>console.error("Whatmore :: neo ATC add failed",e)),onVariantAdd:({product:t,event:o,selectedOptions:i,variants:r})=>n.e(866).then(n.bind(n,29)).then(n=>(n.fireNeoAtcClick({event:o,productList:[t],ctaList:o&&o.cta||[],customizations:e,widgetSourceDetails:{landingLocationType:ve,templateType:y}}),n.fireNeoOutsideAtcFunnel({event:o,product:t,customizations:e,widgetSourceDetails:{landingLocationType:ve,templateType:y}}),n.neoAddToCart({product:t,event:o,selectedOptions:i,variants:r,customizations:e,widgetSourceDetails:{landingLocationType:ve,templateType:y},widget:(0,ae.Wd)(ve)+(0,ae.gf)(y)+(o&&o.isRelatedEvent?"R":"E")+"_"+(o&&o.event_id),userType:be,mode:"direct"}))).catch(e=>(console.error("Whatmore :: neo variant ATC add failed",e),{status:"errored"})),onProductClick:(t,o,i)=>n.e(866).then(n.bind(n,29)).then(n=>n.fireNeoProductClick({event:o,product:t,kind:i,customizations:e,widgetSourceDetails:{landingLocationType:ve,templateType:y}})).catch(e=>console.error("Whatmore :: neo product-click track failed",e))},r=le?n.e(719).then(n.bind(n,8235)).then(e=>e.renderNeoStories):fe?n.e(310).then(n.bind(n,7119)).then(e=>e.renderNeoFloating):Se?n.e(126).then(n.bind(n,5348)).then(e=>e.renderNeoBanner):n.e(579).then(n.bind(n,3755)).then(e=>e.renderNeoCarousel),a=(e,t)=>{se&&console.log(`[Neo] ${e} \u2014 falling back to React:`,t||""),ee()};r.then(e=>e(o)).then(e=>{!1===e&&a("render returned false (empty/unsupported)")}).catch(e=>a("render threw",e))}:ee;if(Q){let e=!1;const n=()=>{e||(e=!0,Ie())},o=new IntersectionObserver(e=>{e.forEach(e=>{if(se&&console.log(`[OBSERVER] Widget ${r}: isIntersecting=${e.isIntersecting}, top=${e.boundingClientRect.top}, bottom=${e.boundingClientRect.bottom}, viewportHeight=${window.innerHeight}, layoutHeight=${document.documentElement.clientHeight}`),e.isIntersecting){if("67841720509"===we){const e=t.getBoundingClientRect();if(e.top>=document.documentElement.clientHeight||e.bottom<=0)return void(se&&console.log(`[OBSERVER] Widget ${r}: Rejected \u2014 outside layout viewport (iOS rescale guard)`))}se&&console.log(`[OBSERVER] Widget ${r}: Loading React chunk`),n(),o.disconnect()}})},{threshold:0,rootMargin:"0px 0px 0px 0px"});o.observe(t);const i=t.getBoundingClientRect();se&&console.log(`[SETUP] Widget ${r}: Observer attached, position top=${i.top}, bottom=${i.bottom}, viewportHeight=${window.innerHeight}, margin=500px`);const a=10;let l=window.pageYOffset;se&&console.log(`[SCROLL LISTENER] Widget ${r}: Initial scroll position=${l}`);const s=()=>{const e=window.pageYOffset,t=Math.abs(e-l);se&&console.log(`[SCROLL LISTENER] Widget ${r}: Scroll event fired, scrollY=${e}, lastScrollY=${l}, delta=${t}`),t>a&&(se&&console.log(`[SCROLL LISTENER] Widget ${r}: Delta > ${a}, triggering load`),n(),window.removeEventListener("scroll",s))};window.addEventListener("scroll",s,{passive:!0})}else Ie()};for(let e=0;e<le.length;e++)r(le[e],e)}else if(fe){const e=document.getElementById("whatmoreRoot"),t="whatmoreRoot",o=pe("whatmoreTemplateType","invalid-template"),i=ue(o),r=de(o),a=ce(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:ve,isInPreviewMode:_e,userType:be})}).catch(e=>{console.error("Whatmore: Failed to load React chunk for legacy store:",e)})}if(("75310563627"===we||"35680321669"===we||"75649450207"===we||"72626569514"===we||"75000480020"===we||"79550939348"===we)&&!fe&&"undefined"!==typeof MutationObserver){const e=document.querySelectorAll(".whatmore-base");e.forEach(e=>e.setAttribute("data-wht-mounted","true")),se&&console.log(`[Rehydrate] installed for shop ${we}; marked ${e.length} load-time host(s) as mounted, watching document.body`);let t=0;const n=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"},o=()=>[...document.querySelectorAll(".whatmore-base:not([data-wht-mounted])")].filter(e=>de(n(e))),i=e=>{const o=n(e);de(o)?e.querySelector(".whatmore-render-root")?(e.setAttribute("data-wht-mounted","true"),se&&console.log("[Rehydrate] mounting fresh collection host ->",e),r?r(e,"Rehydrate"+t++):console.error("Whatmore: rehydrate \u2014 mountWidgetHost unavailable (no base elements at page load?)")):se&&console.log("[Rehydrate] skip host: .whatmore-render-root not present yet (will retry on next mutation)",e):se&&console.log(`[Rehydrate] skip host: not a collection template (${o})`,e)};let a=!1;const l=()=>{a=!1;const e=o();se&&console.log(`[Rehydrate] rescan: ${e.length} fresh collection host(s) to mount`),e.forEach(i)};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=o();0!==n.length&&(se&&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.ee84ac91.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 h},YZ:function(){return o},aD:function(){return r},mM:function(){return s},qW:function(){return l},rz:function(){return m}});const o="58669793418",i="https://consumer.whatmore.live",r="https://whatmore-api-cdn-cache.azureedge.net",a="https://cdn-consumer.whatmore.live",l="https://data.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",m="collections",h="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 w},W:function(){return m}});var o=n(5443),i=n(2567),r=n(3403),a=n(4300);const l=()=>{try{return"true"===localStorage.getItem("whatmoreActivateLogs")}catch(e){return!1}};function s(e,t){const n=e.querySelector(`#${t}`);return n?n.getAttribute("data-wh")||n.getAttribute("data"):null}function c(e){const t=document.getElementById(e);return t?t.getAttribute("data-wh")||t.getAttribute("data"):null}function d(e){const t=parseInt(e,10);return Number.isFinite(t)?t:0}function u(e,t,n,o,i){var r,a;if(!e||!o)return null;if(/^\d+$/.test(o))return null!==(r=null===(a=e[`${t}_${d(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 m({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"),l=e=>{if(!e||d(e.etc)<=0)return 0;return d(r?e.etc:e.esc)+(a?d(r?e.rtc:e.rsc):0)},m=null===(n=window.whatmore)||void 0===n?void 0:n.videoPageSignals;if(m&&"pdp"in m)return l(m.pdp);const h=window.whatmorePdpCarouselEvents,p=null!==(i=s(e,"whatmoreProductId"))&&void 0!==i?i:c("whatmoreProductId");return l(u(h,"p",127,p,p))}function p(e,t,n){var i;const r=null===(i=window.whatmore)||void 0===i?void 0:i.collectionMetafields;if(!r)return 0;let a=s(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=s(e,"whatmorePageId")),!a)return 0;const l=s(e,"whatmoreWidgetIdentity")||"wgt_default",c=u(r,"c",63,a,"wgt_default"!==l?`${a}_${l}`:a);if(!c)return 0;return d((0,o.hG)(t,"oos_config->show_oos_videos")?c.tc:c.sc)}function g(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,l,m;const h=s(e,"whatmoreWidgetIdentity")||"wgt_default",p=null!==(i=s(e,"whatmoreShopId"))&&void 0!==i?i:c("whatmoreShopId"),g=(0,o.hG)(t,"oos_config->show_oos_videos"),f=(0,o.hG)(t,"show_homepage_videos_in_pdp"),w=!(0,a.M)(h,p);if((n||"").startsWith("product")&&(w||!f)){var v,_;const t=window.whatmorePdpCarouselEvents,n=null!==(v=s(e,"whatmoreProductId"))&&void 0!==v?v:c("whatmoreProductId");if(!w){var b,y,S;const e=null!==(b=u(t,"p",127,n,n))&&void 0!==b?b:null===(y=window.whatmore)||void 0===y||null===(S=y.videoPageSignals)||void 0===S?void 0:S.pdp;return e?d(g?e.etc:e.esc):0}if(!t)return 0;const o=h.split("_")[1];if(!o)return 0;const i=null===(_=t[`w_${o[0]}`])||void 0===_?void 0:_[h];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)?d(g?i.etc:i.esc):0}const I=null!==(r=window.whatmoreHomepageCarouselEvents)&&void 0!==r?r:null===(l=window.whatmore)||void 0===l||null===(m=l.videoPageSignals)||void 0===m?void 0:m.hp;if(!I)return 0;if(!w)return d(g?I.tc:I.sc);const T=I[h];return T?d(g?T.tc:T.sc):0}(e,t,n);case"collection":return p(e,t,n);case"banner":return function(e){var t,n,o;const i=window.whatmoreHpBannerEventCounts;if(!i)return d(null===(t=window.whatmore)||void 0===t||null===(n=t.videoPageSignals)||void 0===n?void 0:n.banner_tc);const r=s(e,"whatmoreWidgetIdentity")||"wgt_default";return d("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")?d(null===(s=window.whatmore)||void 0===s||null===(c=s.storyEvents)||void 0===c||null===(u=c.events)||void 0===u?void 0:u.length):(n||"").startsWith("product")?h(e,t):d(null===(i=window.whatmore)||void 0===i||null===(r=i.videoPageSignals)||void 0===r?void 0:r.stories_tc):0;var s,c,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)?p(e,t,n):0;const l=c("whatmoreCollectionId");if(!m({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 s=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 s?d((0,o.hG)(t,"oos_config->show_oos_videos")?s.tc:s.sc):0}(e,t,n);default:return 0}}let f={path:null,flags:null};function w(){const e=window.location.pathname;if(f.path===e&&f.flags)return f.flags;let t=!1,n=!1;try{var a,s,c,d;const e=null!==(a=null===(s=window.whatmore)||void 0===s?void 0:s.frontendCustomizations)&&void 0!==a?a:(0,o.VA)(),l=(0,i.yI)(),u=document.getElementsByClassName("whatmore-base");for(const o of u){if(g(o,e,l)>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(m){l()&&console.error("Whatmore :: video-page flag resolution failed",m),t=!1,n=!1}const u={is_video_page:t,eligible_own_group:n};return f={path:e,flags:u},l()&&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 h},$:function(){return m}});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,m()},l))}function m(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 h(e){const t=d();t.push(e),localStorage.setItem(r,JSON.stringify(t)),t.length>=a?m():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}})},4300:function(e,t,n){n.d(t,{M:function(){return a}});const o="wgt_default",i="wgt_default_",r=["26077888559","80505864496","90485817629"];function a(e,t){return!e||e===o||!!r.includes(String(t))&&e.startsWith(i)}},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 h},hG:function(){return m}});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 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}async function h(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=m(e,"lazy_load_config->block_widgets"),a=m(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 b},zv:function(){return y}});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",m="_whatmore_qview_index",h="_whatmore_brand_questions",p="_whatmore_seen_questions",g="w_user_type",f=(0,i.Ry)(),w=18e5,v=2592e5,_=6e5;function b(){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 y(){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",y()),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(m)){const e=parseInt(localStorage.getItem(m))+1;localStorage.setItem(m,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(h));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(h,JSON.stringify(i)),localStorage.setItem(m,"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,{AG:function(){return l},B_:function(){return c},Rm:function(){return r},SW:function(){return s},Um:function(){return i},Uv:function(){return o},bZ:function(){return a},dK:function(){return d}});const o="_wht_user_attributes",i="wht_user_attributes",r="_wvs",a="wvs",l="_wvi",s="wvi",c="_whatmore-tracking-id";new Set(["10588815418","64805306592","69385027902","69075894527","9407168559","75310563627","75026858234","60692988070","41096085665"]);function d(e){return!0}},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 h},G:function(){return m}});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 m(){try{return["localhost","127.0.0.1"].includes(window.location.hostname)&&"true"!==localStorage.getItem("whatmoreAllowLocalAnalytics")}catch(e){return!1}}const h=function({userInteractionType:e="",userInteractionMetadata:t={},widgetSourceDetails:n={},event:h="",productList:p=[],ctaList:g=[]}={}){var f;const w=(0,i.U)(),v=(0,i.Ry)(),_=v===r.YZ,b="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,...b,user_type:null!=localStorage.getItem("w_user_type")?"olduser":"newuser"},!(0,a.hG)((0,a.VA)(),"event_tracking->is_enabled")||_||w||m())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 y={...(0,u.S)(),interaction_data:(0,d.l)(e,t),data:(0,c.A)(h,n,p,g)};"true"==localStorage.getItem("whatmoreActivateLogs")&&(0,o.xv)(y),(0,l.Z)(y)}},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}}},7900:function(e,t,n){n.d(t,{Gy:function(){return s},Ig:function(){return h},JA:function(){return w},Jh:function(){return f},Mm:function(){return l},S0:function(){return m},Wd:function(){return d},Yt:function(){return p},gf:function(){return c},io:function(){return u},l2:function(){return g},t6:function(){return v}});const o={ta:"template-a",ta1:"template-a-1",tb:"template-b",tc:"template-c",td:"template-d",te:"template-e",tf:"template-f",tg:"template-g",th:"template-h",ti:"template-i","template-j":"tj",ts:"template-stories",tba:"template-banner-a",tem:"template-embed",tsa:"template-stories-a",tsb:"template-stories-b",tfa:"template-feed-a",tca:"template-collections-a",tcb:"template-collections-b",tcc:"template-collections-c",tcd:"template-collections-d",tce:"template-collections-e",tcs:"template-collections-stories",tcf:"template-collections-f",tcg:"template-collections-g",tch:"template-collections-h","template-collections-j":"tcj"},i={"template-a":"ta","template-a-1":"ta1","template-c":"tc","template-d":"td","template-e":"te","template-b":"tb","template-f":"tf","template-g":"tg","template-h":"th","template-i":"ti","template-j":"tj","template-stories":"ts","template-banner-a":"tba","template-embed":"tem","template-stories-a":"tsa","template-stories-b":"tsb","template-feed-a":"tfa","template-collections-a":"tca","template-collections-b":"tcb","template-collections-c":"tcc","template-collections-d":"tcd","template-collections-e":"tce","template-collections-stories":"tcs","template-collections-f":"tcf","template-collections-g":"tcg","template-collections-h":"tch","template-collections-j":"tcj"},r={"template-embed":"0","template-stories-a":"1","template-stories-b":"2","template-a":"3","template-a-1":"4","template-c":"5","template-d":"6","template-e":"7","template-b":"8","template-f":"9","template-stories":"10","template-feed-a":"11","template-collections-a":"12","template-collections-b":"13","template-collections-c":"14","template-collections-d":"15","template-collections-e":"16","template-collections-stories":"17","template-collections-f":"18","template-banner-a":"19","template-g":"20","template-h":"21","template-collections-g":"22","template-collections-h":"23","template-i":"24","template-collections-i":"25","template-j":"26","template-collections-j":"27","template-neo":"28","template-collections-neo":"29","template-stories-neo":"30","template-floating-neo":"31","template-banner-neo":"32"},a={index:"h",collection:"c",product:"p",page:"l"},l=function(e){return o[e]},s=function(e){return i[e]},c=function(e){return r[e]},d=function(e){var t;const n=null===(t=e.split("."))||void 0===t?void 0:t[0];return a[n]},u=function(e){return"template-embed"===e},m=function(e){return"non-existent-template"===e||!e},h=function(e){return"invalid-template"===e||!e},p=function(e){return"template-stories-a"===e||"template-stories-b"===e||"template-stories-neo"===e},g=function(e){return"template-banner-a"===e||"template-banner-neo"===e},f="banner",w="spotlight",v=function(e){return"index"===e?"homepage":"collection"===e?"collection":"product"===e||"embed"===e?"product":"homepage"}},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 m=window.location.hostname,h=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,b=v&&null!=v.version?v.version:null;let y;try{y=(0,l.U)()}catch(S){y={is_video_page:!1,eligible_own_group:!1}}return{user_id:e,session_id:t,user_group:c,ab_test_id:_,ab_test_version:b,user_agent:n,store_id:s,hostname:m,page_path:h,event_id:p,event_timestamp:g,shopify_session_id:f,shopify_user_id:w,is_video_page:y.is_video_page,eligible_own_group:y.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},PV:function(){return m},Vo:function(){return r},aT:function(){return h},di:function(){return d},eG:function(){return s},vC:function(){return i}});const a={mosaic:1.08,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,m=(null!==(n=o(e,d?"whatmoreVideoTileSizePortrait":"whatmoreVideoTileSize"))&&void 0!==n?n:60)/100,h=.6*c;let p;return p=d?u?.8*h*m:h*m*.9:h*(.5*m*1.3),{widthPx:p,ts:m}}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 m(e,t){var n;const r=d(e,t);if(!r)return null;const{w:a,h:l}=i(),s=null!==(n=o(e,a>l?"whatmoreVideoTileSize":"whatmoreVideoTileSizePortrait"))&&void 0!==n?n:100,c=Math.round(r*s/100);return c>0?c:null}function h(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",866:"wht-neo-atc",936:"wht-skin-carousel-overlay",939:"atc-with-form"}[e]||e)+"."+{12:"0695d38d",31:"4516194e",94:"6c0d316e",126:"8c736a20",172:"19f003d3",244:"2e8a077b",252:"28f145eb",259:"6d7d3e42",260:"e05e49cb",268:"aa3aa45c",310:"03f78956",315:"a3f86c52",343:"2db08d77",506:"20689a27",508:"0dcbce67",545:"07eb908a",561:"a58e7660",565:"fc7b5a76",579:"24e3ebfe",580:"f21f06a5",712:"ba396dc5",719:"2d691503",760:"1bda4920",764:"564fa4b4",781:"9959051a",833:"b9343045",838:"067519e4",866:"a8e9ee2c",936:"05a75658",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:"32e197e4",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 m=function(t,n){l.onerror=l.onload=null,clearTimeout(h);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)},h=setTimeout(m.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=m.bind(null,l.onerror),l.onload=m.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,sideScale:1,startAlign:!0,tileMarginH:4},"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(4300),d=n(9439);const u=null!==(s="true"==localStorage.getItem("whatmoreActivateLogs"))&&void 0!==s&&s,m=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 p(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 g(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 f(){return window.location.href.split(/[?#]/)[0]}function w(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 p(o,"show_homepage_videos_in_pdp")?"homepage":i("whatmoreProductId",null);if("collection"===n){let e;return"19506115"===r?e="343270603":p(o,"collections_config->use_page_link_as_collection_id")?e=p(o,"collections_config->multi_carousel_enabled")?i("whatmoreCollectionUrl",null):f():(e=i("whatmoreCollectionId",null),"0"===e&&(e=i("whatmorePageId",null)),e&&"0"!==e||(e=f())),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 v(e,t,n,o,r,a){var l;if(null!==(l=p(r,"shimmer_config->enable_shimmer"))&&void 0!==l&&!l)return null;if(null!==i.A)return i.A;if(!n||""===n||"undefined"===n||"null"===n)return null;let s=null;return"homepage"===n?s=function(e,t,n){const o=window.whatmoreHomepageCarouselEvents;if(!o)return null;const i=p(t,"show_out_of_stock_videos");if(!(0,c.M)(e,n)){const t=o[e];return t?i?t.tc:t.sc||t.tc:null}return i?o.tc:o.sc}(o,r,a):t&&t.startsWith("product")?s=function(e,t,n,o){var i;const r=window.whatmorePdpCarouselEvents;if(!r)return null;const a=p(n,"show_out_of_stock_videos");if(!(0,c.M)(t,o)){var l;const n=t.split("_");if(n.length<2||!n[1])return null;const o=null===(l=r[`w_${n[1][0]}`])||void 0===l?void 0:l[t];if(!o)return null;const i=o.scope_mode||"all",s=o.scope_targets||[],c=String(e);let d=!1;return"all"===i?d=!0:"include"===i?d=s.includes(c):"exclude"===i&&(d=!s.includes(c)),d?a?o.etc:o.esc:null}const s=null===(i=r["p_"+parseInt(e)%127])||void 0===i?void 0:i[e];return s?a?s.etc:s.esc:null}(n,o,r,a):"collection"===e&&(s=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?p(n,"show_out_of_stock_videos")?l.tc:l.sc:null}(n,o,r)),null===s||void 0===s||0===s?(u&&console.log(`[Shimmer] Event count is ${s}, skipping shimmer`),null):s}function _(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 b(e,t,n,o,i){const r=Math.min(t,n);let a,l,s=.6*r*m,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,u=t/(1.2*c),a=Math.round(10*u)/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 u;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),[c,u]=s.useWindowWidth?[window.innerHeight,window.innerWidth]:g(n),h=_(n),f=function(e,t){const n=e>t,o=e>=481;return n&&o?"desktop":!n&&o?"tablet":n&&!o?"mobileLandscape":"mobilePortrait"}(u,c),w=b(f,u,c,h,s);if(s.neoSlideWidth){let e=(0,d.di)(n);e&&(s.maxTileWidth&&(e=Math.min(e,s.maxTileWidth)),w.width=e,w.height=e*m)}const v=("mobilePortrait"===f||"tablet"===f)&&s.portraitTiles?s.portraitTiles:i,y="never"!==s.headingMode&&("flag"!==s.headingMode||(!!p(o,s.headingFlag)||!!s.headingShop&&(Array.isArray(s.headingShop)?s.headingShop.includes(h.shopId):h.shopId===s.headingShop)))?(S=h.heading,I=h.titleFontSize,S&&""!==S.trim()?Math.round(1.2*I+16):0):0;var S,I;const T=null!==(t=p(o,"carousel_config->width_multiplier"))&&void 0!==t?t:1.1,x=h.topBottomPadding+y+s.tileMarginV+w.height+s.tileMarginV+h.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:m=a,gap:h=null}=e,p="desktop"===s||"mobileLandscape"===s,g=p?"whatmore-shimmer-events-carousel-landscape":"whatmore-shimmer-events-carousel-portrait",f=m.startAlign&&!p;let w=`<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&&(w+=`<div style="display:flex;flex-direction:column;justify-content:center;align-items:center;">\n <div style="height:${Math.max(8,i-24)}px;width:140px;background:#e0e0e0;border-radius:4px;margin-bottom:6px;position:relative;overflow:hidden;">\n <div class="whatmore-shimmer-animation"></div></div></div>`),w+=`<div class="${g}" style="display:flex;justify-content:center;align-items:center;${p?`padding-left:${l}px;padding-right:${l}px;`:""}">`,w+=`<div style="width:${p?t*d*u+"px":c+"px"};height:fit-content;overflow:hidden;${p?"":"display:flex;justify-content:"+(f?"flex-start":"center")+";"}">`;const v=`<div style="width:${t}px;height:${n}px;background:#e0e0e0;border-radius:${m.radius};position:relative;overflow:hidden;"><div class="whatmore-shimmer-animation"></div></div>`,_=m.emphasizeAlways||!p&&m.portraitTiles||p&&m.landscapeSlides,b=Math.floor(o/2),y=e=>{const t=_?e===b?m.centerScale:m.sideScale:1,n=1!==t?`transform:scale(${t});`:"";return`<div style="flex-shrink:0;margin:${m.tileMarginV}px ${m.tileMarginH}px;${n}">${v}</div>`};w+=`<div style="display:flex;gap:${null!=h?h:p?Math.round(t*u-t-20):0}px;margin:${f?"0":"0 auto"};width:max-content;">`;for(let a=0;a<o;a++)w+=y(a);return w+="</div></div></div></div></div>",w}({tileWidth:w.width,tileHeight:w.height,numberOfTiles:v,headingHeight:y,topBottomPadding:h.topBottomPadding,landscapePadding:w.landscapePadding,deviceMode:f,windowWidth:u,slidesPerView:w.slidesPerView,widthMultiplier:T,cfg:s,gap:s.neoSlideWidth?h.collectionsTilesSpacing:null});return{totalHeight:Math.round(x),shimmerHTML:E}}const S={standard:{widthFactor:1,aspect:16/9,scale:1,maxW:1/0,portraitCenter:!0,gapRatio:.13,gapRatioLandscape:.1,portraitCenterScale:1.05},minimal:{widthFactor:1,aspect:16/9,scale:1,maxW:1/0,portraitCenter:!0,gapRatio:.11,gapRatioLandscape:.11,portraitCenterScale:1.05},card:{widthFactor:1,aspect:2.22,scale:1,maxW:360,portraitCenter:!0,portraitCenterScale:1.05},"mosaic-ring":{widthFactor:1,aspect:1.5,scale:1,maxW:240},"mosaic-plain":{widthFactor:1,aspect:1.5,scale:1,maxW:240},"info-strip":{widthFactor:1,aspect:16/9,extraH:45,scale:1,maxW:340,portraitCenter:!0},"text-overlay":{widthFactor:1.05,aspect:16/9,scale:1,maxW:340,gapPx:9},focused:{widthFactor:1,aspect:16/9,extraH:50,scale:1,maxW:340,portraitCenter:!0,marginBlock:12,gapRatio:.156,gapRatioLandscape:.1,portraitHeroTall:1.1},coverflow:{widthFactor:1.15,aspect:16/9,extraH:52,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:1/0},overlay:{widthFactor:1,aspect:16/9,scale:1,maxW:360,portraitCenter:!0},viewmore:{widthFactor:1,aspect:16/9,scale:1,maxW:340}},I={widthFactor:1,aspect:16/9,scale:1,maxW:340};function T(e){var t;const{widgetContainer:n,neoMode:o,neoSkin:i,neoSurface:r,eventCount:a}=e,l=_(n),{w:s,h:c}=(0,d.vC)(),u=s>c?"landscape":"portrait",m=(0,d.di)(n,o)||Math.round(.3*Math.min(s,c)),h=S[i]||I,g=(0,d.GK)(n,o);let f,w;if(g)f=Math.min(m,h.maxW),w=g;else if(h.storySize){const e=p(function(){try{return JSON.parse(localStorage.getItem("whatmore_brand_customizations")).customizations}catch(e){return null}}(),"collections_config->story_tile_size_factor"),t=(0,d.PV)(n,o);f=Math.round((t||Math.round(.135*Math.min(s,c)))*("number"===typeof e&&e>0?e:1)),w=Math.round(f*h.aspect)+(h.extraH||0)}else h.vwFactor?(f=Math.min(Math.round(h.vwFactor*s),h.maxW),w=Math.round(f*h.aspect)+(h.extraH||0)):(f=Math.min(Math.round(m*h.widthFactor),h.maxW,Math.round(.55*s)),"mosaic-ring"!==i&&"mosaic-plain"!==i||"portrait"!==u||(f=Math.min(Math.round(1.08*f),h.maxW)),w=Math.round(f*h.aspect)+(h.extraH||0));const v=!!l.heading&&"circle"!==i&&!(("mosaic-ring"===i||"mosaic-plain"===i)&&"carousel"===r),b="landscape"===u?l.titleFontSize:l.titleFontSizePortrait,y=v?Math.round(1.2*b+4):0,T=null!=h.gapPx?h.gapPx:null!=h.gapRatio?Math.round(f*("landscape"===u&&null!==(t=h.gapRatioLandscape)&&void 0!==t?t:h.gapRatio)):l.collectionsTilesSpacing,x="landscape"===u?h.scale:1,E=f*x+T,C=Math.max(1,Math.ceil(s/E)),P=a>0?a:C+2,k=P>C;let O=k?C+2:P,W=k?"overflow":"fit",A=1;if("viewmore"===o){O=Math.min(6,P);const e=(n&&n.getBoundingClientRect().width||s)-24,t=Math.max(1,Math.min(O,Math.floor(e/(f+T))));A=Math.ceil(O/t),W="grid"}else if("feed"===o){const e="landscape"===u?3:2;O=Math.min(8,P),A=Math.ceil(O/e),W="grid"}if("portrait"===u&&h.portraitCenter){const e=Math.max(C+1,3);O=e%2===0?e+1:e}const M="feed"===o?Math.round(f*("landscape"===u?.31:.37)):T,L="portrait"===u&&h.portraitHeroTall?Math.round(f*h.aspect*h.portraitHeroTall)+(h.extraH||0):"portrait"===u&&h.portraitCenterScale?Math.round(w*h.portraitCenterScale):w,D=2*(h.marginBlock||0),$=Math.round((A*L+Math.max(0,A-1)*M)*x)+A*D,N=2*l.topBottomPadding+y+$,H=h.portraitCenter?"center":"start",R="landscape"===u?l.landscapePadding:0;let z=`<div class="whatmore-shimmer-neo" data-wht-mode="${o}" data-wht-skin="${i||""}" data-wht-vp="${u}" data-wht-fill="${W}" data-wht-palign="${H}" style="--sh-tile-w:${f}px;--sh-tile-h:${w}px;--sh-gap:${T}px;--sh-scale:${h.scale};margin-top:${l.topBottomPadding}px;margin-bottom:${l.topBottomPadding}px;">`;y>0&&(z+=`<div class="whatmore-shimmer-neo-heading" style="height:${y-16}px;"><div class="whatmore-shimmer-animation"></div></div>`),z+=`<div class="whatmore-shimmer-neo-rail" style="margin-inline:${R}px;">`;const B="portrait"===u&&(h.portraitHeroTall||h.portraitCenterScale)?Math.floor(O/2):-1,j=B>=0&&h.portraitCenterScale?Math.round(f*h.portraitCenterScale):f,V=B<0?0:h.portraitHeroTall?Math.round(f*h.aspect*h.portraitHeroTall)+(h.extraH||0):Math.round(w*h.portraitCenterScale);for(let d=0;d<O;d++){z+=`<div class="whatmore-shimmer-neo-tile"${d===B?` style="width:${j}px;height:${V}px;"`:""}><div class="whatmore-shimmer-animation"></div></div>`}return z+="</div></div>",{totalHeight:Math.round(N),shimmerHTML:z}}function x(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 m=parseInt(((e,t)=>{const n=document.querySelector(`#${e}`);return n&&(n.getAttribute("data-wh")||n.getAttribute("data"))||t})("whatmoreVideoTileSize","60")),h=p(a,"banner_config->portrait_multiplier"),g=p(a,"banner_config->landscape_multiplier"),f=m/100*(null!==h&&void 0!==h?h:1),w=m/100*(null!==g&&void 0!==g?g:1),v=(0,r.i)(p(a,"banner_config->widget_aspect_ratios"),l,d),_=null!==v&&void 0!==v?v:d?null!==(t=p(a,"banner_config->portrait_aspect_ratio"))&&void 0!==t?t:1:null!==(n=p(a,"banner_config->landscape_aspect_ratio"))&&void 0!==n?n:.5625,b=d?o*f:o*w,y=p(a,"banner_config->is_full_screen")||!1,S=y?o*_:b*_;return{totalHeight:S,shimmerHTML:`\n <div class="whatmore-banner-shimmer-wrapper" style="position:relative;margin:0 auto;width:${y?"100%":`${b}px`};height:${S}px;border-width:${p(a,"theme_config->event_tile->border_width")||"0px"};border-color:${p(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 E(e){var t;const{customizations:n,widgetContainer:o,eventCount:i}=e,[r,a]=g(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,m=l.collectionsTilesSpacing,f=d*c*.01,w=p(n,"collections_config->story_tile_size_factor")||1,v=null!==(t=p(n,"collections_config->story_tile_shape"))&&void 0!==t?t:"circle",_=p(n,"collections_config->remove_borders"),b=parseInt(p(n,"collections_config->tile_margin_right"))||0,y=_?2:b||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,k=a-2*u,O=x+y,W=Math.min(Math.ceil((k+m)/(O+m)),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:${m}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:${y}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}}var C=n(1637),P=n(5566);const k="wht-net-probe",O="wht-net-probe-style";function W(e){return"number"===typeof e&&isFinite(e)}function A(e){return e>=10?Math.round(e).toString():e.toFixed(1)}function M(){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 L(){try{if("undefined"===typeof window||"undefined"===typeof URLSearchParams||!new URLSearchParams(window.location.search).has("whtProbe"))return;if("undefined"===typeof document||!document.body||document.getElementById(k))return;!function(){!function(){if(document.getElementById(O))return;const e=document.createElement("style");e.id=O,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=k,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:M(),blockedMs:0,longtaskSupported:!1},u=()=>{d.measured=M()||d.measured;const e=navigator&&navigator.connection||{},t=d.measured?d.measured.mbps:W(e.downlink)?e.downlink:null,n=(u=t,m=e.effectiveType,null==u&&m&&(u={"slow-2g":.3,"2g":.6,"3g":2.5,"4g":12}[m]),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,m;o.style.width=Math.round(100*n.frac)+"%",o.style.background=n.color,i.textContent=null!=t?A(t)+" Mbps":"unknown",i.style.color=n.color;const h=[];e.effectiveType&&h.push(e.effectiveType),W(e.rtt)&&h.push(e.rtt+"ms"),d.measured?h.push(Math.round(d.measured.bytes/1024)+"KB in "+Math.round(d.measured.ms)+"ms"):W(e.downlink)&&h.push("\u2193"+A(e.downlink)+" est"),r.textContent=h.length?h.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||W(p.fcp),f=function(e,t,n){if(!n)return{frac:.5,color:"#9a9aa2",label:"n/a"};const o=e||0;return o>600||W(t)&&t>4e3?{frac:.2,color:"#ff4d4f",label:"heavy"}:o>250||W(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=[];W(p.fcp)&&v.push("fcp "+(p.fcp/1e3).toFixed(1)+"s"),W(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(m){}}()}catch(e){"undefined"!==typeof console&&console.warn("[whtProbe] disabled:",e)}}var D=n(6287),$=n(9296),N=n(7156),H=n(3064),R=n(6074),z=n(2567),B=n(4421);let j=!1;const V="_whatmore_first_touch_session";function G(){if(j)return;const e=(0,z.yI)(),t=function(e){return null!==e&&void 0!==e&&e.startsWith("collection")?N.O.COLLECTION_PAGE_VISITED:null!==e&&void 0!==e&&e.startsWith("product")?N.O.PDP_VISITED:null!==e&&void 0!==e&&e.startsWith("index")?N.O.HOMEPAGE_VISITED:null!==e&&void 0!==e&&e.startsWith("page")?N.O.PAGE_VISITED:null}(e),n=(0,P.zv)();if(localStorage.getItem(V)!==n&&(localStorage.setItem(V,n),function(e){const t=(0,$.S)(),n=(0,N.l)(N.O.FIRST_TOUCH,{path:window.location.pathname,landing_location_type:e,...(0,B.Q)()}),o=(0,H.A)("",{landingLocationType:e,templateType:""},[],[]),i={...t,interaction_data:n,data:o};(0,R.d)({metric_event_list:[i]},!0)}(e)),!t)return;j=!0;const o={...(0,$.S)(),interaction_data:(0,N.l)(t,{user_type:null!=localStorage.getItem("w_user_type")?"olduser":"newuser",...(0,B.Q)()}),data:(0,H.A)("",{landingLocationType:e,templateType:""},[],[])};(0,R.d)({metric_event_list:[o]},!0)}var F=n(3208);let U=!1;var q,J,K,Y,Z,X,Q,ee,te=n(6694),ne=n(6080),oe=n(3403),ie=n(2873),re=n(8924),ae=n(7900);const le=Array.from(document.getElementsByClassName("whatmore-base")),se=null!==(q="true"==localStorage.getItem("whatmoreActivateLogs"))&&void 0!==q&&q,ce=function(e){return"template-banner-a"===e||"template-banner-neo"===e},de=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},ue=function(e){return"template-stories-a"===e||"template-stories-b"===e||"template-stories-neo"===e};const me={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"},2:{"template-stories-a":"a","template-stories-b":"b"},3:{},4:{"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"},5:{}};function he(e){for(let n=1;n<=1;n++){const t=me[n];if(t&&t[e])return t[e]}try{if("1"===localStorage.getItem("whatmore_neo_collections_preview")&&de(e)&&me[1][e])return me[1][e]}catch(t){}return null}function pe(e,t){const n=document.getElementById(e);if(!n)return t;return n.getAttribute("data-wh")||n.getAttribute("data")||t}function ge(e,t,n,i,r){var a;if("template-embed"===n||"template-floating-neo"===n)return;if(ue(n))return;if("60595503283"===we)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]=g(t);try{const o=function(e,t){const n=he(e);if("template-neo"!==e&&"template-collections-neo"!==e&&(null===n||ue(e)||ce(e)))return{mode:null,skin:null};const o=de(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,re.Ny)(o,i||r)||n||re.f1[o];return{mode:(0,re.U5)(a),skin:a}}(n,i),a=function(e){const{templateType:t,widgetContainer:n,customizations:o}=e,i=w(n,o);if("template-banner-a"===t||"template-banner-neo"===t)return e.widgetIdentity=i.widgetIdentity,x(e);const r=v(i.widgetType,i.landingLocationType,i.actualId,i.widgetIdentity,o,i.shopId);return null===r?null:(e.eventCount=r,e.neoMode?T(e):"template-stories"===t?E(e):y(e))}({templateType:l,widgetContainer:t,customizations:i,windowWidth:c,windowHeight:s,neoMode:o.mode,neoSkin:o.skin,neoSurface:n.includes("collections")?"collections":"carousel"});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%; overflow: hidden; }\n.whatmore-shimmer-neo-heading { width: 200px; margin: 0 auto 16px; background: #e0e0e0; border-radius: 4px; position: relative; overflow: hidden; }\n/* overflow:hidden so the tile row CLIPS to the rail\'s own box \u2014 the rail\'s margin-inline (collection=40,\n carousel=user value) then holds on BOTH sides; without it the overflowing tiles spill past the right margin. */\n.whatmore-shimmer-neo-rail { display: flex; justify-content: center; align-items: center; gap: var(--sh-gap, 14px); position: relative; overflow: hidden; }\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: 5px; position: relative; overflow: hidden; } /* match the render\'s radius (brand_ui_theme round default = 5px) */\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; gap: 20px; padding-inline: 12px; max-height: calc(var(--sh-tile-w) * 16 / 9 + 2px); overflow: hidden; }\n.whatmore-shimmer-neo[data-wht-mode="viewmore"] .whatmore-shimmer-neo-tile { width: var(--sh-tile-w); height: auto; aspect-ratio: 9 / 16; }\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-fit, 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-fit, 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/* focused (skin h): 12px per-tile vertical breathing room \u2014 mirrors shared-skin-focused .wht-neo-slide\n margin-block:12px (the centred hero tile is drawn taller inline by the skeleton builder). */\n.whatmore-shimmer-neo[data-wht-skin="focused"] .whatmore-shimmer-neo-tile { margin-block: 12px; }\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 fe=null!==document.getElementById("whatmoreRoot"),we=pe("whatmoreShopId",C.YZ),ve=pe("whatmoreExtensionType","index"),_e=null!==(J=(null===(K=window)||void 0===K||null===(Y=K.Shopify)||void 0===Y||null===(Z=Y.theme)||void 0===Z?void 0:Z.role)&&"main"!==(null===(X=window)||void 0===X||null===(Q=X.Shopify)||void 0===Q||null===(ee=Q.theme)||void 0===ee?void 0:ee.role))&&void 0!==J&&J,be=("2665447536"==we||"72201044272"==we)&&null!=localStorage.getItem("w_user_type"),ye=(0,o.cp)();!async function(){L();const e=await(0,o.dE)(we);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=fe||le&&le.length>0,i=we!==C.YZ&&!(window.Shopify&&window.Shopify.designMode)&&!(0,z.U)()&&!(0,te.G)()&&!!(0,o.hG)(e,"event_tracking->is_enabled");if(t&&i&&((0,B.a)(),G(),function(){if(U||"undefined"===typeof document)return;U=!0;const e=()=>{(0,F.$)(!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={[ne.Uv]:(0,ne.dK)((0,z.Ry)())?JSON.stringify(l):l,[ne.Um]:""};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"===pe("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"]})}}let r;if(!fe&&le&&le.length>0){r=(t,r)=>{var a,l,s,c,d,u,m,h,p,g;if((0,oe.i)(t))return;const f=t.querySelector(".whatmore-render-root"),w=t.querySelector(".whatmore-template-type");let v=!1,_=!1,b=!1;const y=null!==(a=null!==(l=null===w||void 0===w?void 0:w.getAttribute("data-wh"))&&void 0!==l?l:null===w||void 0===w?void 0:w.getAttribute("data"))&&void 0!==a?a:"template-embed";ue(y)?v=!0:de(y)?_=!0:ce(y)&&(b=!0);let S="",I="";if(_){var T,x,E,k,O,W,A,M;I=null!==(T=null!==(x=null===(E=t.querySelector("#whatmoreCollectionHeading"))||void 0===E?void 0:E.getAttribute("data-wh"))&&void 0!==x?x:null===(k=t.querySelector("#whatmoreCollectionHeading"))||void 0===k?void 0:k.getAttribute("data"))&&void 0!==T?T:"";const n=null!==(O=null!==(W=null===(A=t.querySelector("#whatmoreCollectionId"))||void 0===A?void 0:A.getAttribute("data-wh"))&&void 0!==W?W:null===(M=t.querySelector("#whatmoreCollectionId"))||void 0===M?void 0:M.getAttribute("data"))&&void 0!==O?O:"",i=window.location.href.split(/[?#]/)[0];var L,$,H,R,B,j,V,G;if((0,o.hG)(e,"collections_config->use_page_link_as_collection_id"))S=(0,o.hG)(e,"collections_config->multi_carousel_enabled")?null!==(L=null!==($=null===(H=t.querySelector("#whatmoreCollectionUrl"))||void 0===H?void 0:H.getAttribute("data-wh"))&&void 0!==$?$:null===(R=t.querySelector("#whatmoreCollectionUrl"))||void 0===R?void 0:R.getAttribute("data"))&&void 0!==L?L:"":i;else S=n||i;if("0"==S)S=null!==(B=null!==(j=null===(V=t.querySelector("#whatmorePageId"))||void 0===V?void 0:V.getAttribute("data-wh"))&&void 0!==j?j:null===(G=t.querySelector("#whatmorePageId"))||void 0===G?void 0:G.getAttribute("data"))&&void 0!==B?B:S;const r=(0,o.hG)(e,"collections_config->homepage_collection_ids");"index"===ve&&Array.isArray(r)&&1===r.length&&(S=r[0])}let F="";if(ve.startsWith("product")){var U,q,J,K;const n=null!==(U=null!==(q=null===(J=t.querySelector("#whatmoreProductId"))||void 0===J?void 0:J.getAttribute("data-wh"))&&void 0!==q?q:null===(K=t.querySelector("#whatmoreProductId"))||void 0===K?void 0:K.getAttribute("data"))&&void 0!==U?U:"";F=(0,o.hG)(e,"product_config->use_product_page_link_as_client_product_id")?window.location.href.split(/[?#]/)[0]:n}const Y=null!==(s=null!==(c=null===(d=t.querySelector("#whatmoreHeading"))||void 0===d?void 0:d.getAttribute("data-wh"))&&void 0!==c?c:null===(u=t.querySelector("#whatmoreHeading"))||void 0===u?void 0:u.getAttribute("data"))&&void 0!==s?s:"",Z=null!==(m=null!==(h=null===(p=t.querySelector("#whatmoreWidgetIdentity"))||void 0===p?void 0:p.getAttribute("data-wh"))&&void 0!==h?h:null===(g=t.querySelector("#whatmoreWidgetIdentity"))||void 0===g?void 0:g.getAttribute("data"))&&void 0!==m?m:"wgt_default",X="whatmoreRoot"+r;if(ge(f,t,y,e,X),C.mM)return;const Q=(0,o.C2)(e,_,ye,y,ve),ee=()=>{Promise.all([n.e(580),n.e(268)]).then(n.bind(n,4234)).then(e=>{e.initializeReactApp({rootElement:f,templateType:y,isStoriesTemplate:v,isCollectionsTemplate:_,_isTemplateTypeBanner:b,whatmoreCollectionId:S,whatmoreCollectionHeading:I,whatmoreHeadingCarousel:Y,whatmoreWidgetIdentity:Z,whatmoreRootId:X,landingLocationType:ve,isInPreviewMode:_e,userType:be})}).catch(e=>{console.error("Whatmore: Failed to load React chunk:",e);const n=document.querySelector(`.whatmore-shimmer-container[data-widget-id="${X}"]`);n&&(n.remove(),se&&console.log(`[Chunk Error] Removed shimmer for widget ${X}`)),t&&(t.style.minHeight="0px",se&&console.log(`[Chunk Error] Reset minHeight to 0px for widget ${X}`)),f&&(f.style.opacity="0",f.removeAttribute("data-shimmer-active"))})},ne=he(y),re="template-neo"===y||"template-collections-neo"===y||null!==ne&&!v&&!b,le="template-stories-neo"===y||null!==ne&&v,me="template-embed"===y&&!!(e&&e.neo&&e.neo.floating&&e.neo.floating.enabled),pe=ve.startsWith("product")?!0===(0,o.hG)(e,"product_page_popup_config->show_product_page_popup"):ve.startsWith("collection")?!0===(0,o.hG)(e,"collection_page_popup_config->show_collection_page_popup"):(0,ie.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")},ve,S),fe="template-floating-neo"===y||me&&pe,Se="template-banner-neo"===y||null!==ne&&b,Ie=re||le||fe||Se?()=>{const o={rootElement:f,widgetContainer:t,shopId:we,widgetIdentity:Z,landingLocationType:ve,collectionId:S,productId:F,isCollections:_,whatmoreRootId:X,showMockOnEmpty:we===C.YZ||(0,z.U)(),neoJson:(()=>{const t=e&&e.neo;if(null===ne)return t;const n=v?"stories":b?"banner":_?"collections":"carousel",o=t&&t[n]||{};return Object.assign({},t,{[n]:Object.assign({},o,{skin:ne})})})(),floatingMode:ve.startsWith("product")||"embed"===ve?"pdp":"spotlight",onWidgetView:()=>{if(!i)return;const e=fe&&(ve.startsWith("product")||"embed"===ve);(0,te.B)({userInteractionType:le?N.O.STORIES_WIDGET_VIEW:Se?N.O.BANNER_WIDGET_VIEW:fe?e?N.O.PDP_POPUP_WIDGET_VIEW:N.O.SPOTLIGHT_WIDGET_VIEW:_?N.O.COLLECTION_WIDGET_VIEW:N.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,widgetSourceDetails:{landingLocationType:ve,templateType:y}})},onSwipe:()=>{i&&(0,te.B)({userInteractionType:N.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:{landingLocationType:ve,templateType:y}})},onBannerClick:e=>{i&&(0,te.B)({userInteractionType:N.O.BANNER_WIDGET_CLICKED,widgetSourceDetails:{landingLocationType:ve,templateType:y},event:e})},onClose:e=>{i&&(ve.startsWith("product")||"embed"===ve)&&(0,te.B)({userInteractionType:N.O.PDP_POPUP_CLOSED,widgetSourceDetails:{landingLocationType:ve,templateType:y},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:y,isStoriesTemplate:v,isCollectionsTemplate:_,_isTemplateTypeBanner:b,whatmoreCollectionId:S,whatmoreCollectionHeading:I,whatmoreHeadingCarousel:Y,whatmoreWidgetIdentity:Z,whatmoreRootId:X,landingLocationType:ve,isInPreviewMode:_e,userType:be},{events:e,eventIndex:t,eventsStories:o,storyIndex:i})).catch(e=>{(0,D.B)(),se&&console.log("[Neo] stories fullscreen mount failed, booting React:",e),ee()})},onOpenEvent:(e,t,o)=>{if(!(0,z.U)()&&we!==C.YZ&&e&&e.products)try{const t=(0,ae.Wd)(ve)+(0,ae.gf)(y)+(e.isRelatedEvent?"R":"E")+"_"+e.event_id,[n,o]="index"===ve?[C.TB,C.Dk]:ve.startsWith("product")||"embed"===ve?[C.DK,C.K1]:ve.startsWith("collection")?[C.Sx,C.rz]:[C.TB,C.Dk];(0,P.Ch)(e.event_id,e.products,n,o,t,e.location,be)}catch(i){se&&console.log("[Neo] viewed-product write failed:",i)}Promise.all([n.e(580),n.e(268)]).then(n.bind(n,4234)).then(e=>e.mountNeoFullscreen({templateType:y,isStoriesTemplate:v,isCollectionsTemplate:_,_isTemplateTypeBanner:b,whatmoreCollectionId:S,whatmoreCollectionHeading:I,whatmoreHeadingCarousel:Y,whatmoreWidgetIdentity:Z,whatmoreRootId:X,landingLocationType:ve,isInPreviewMode:_e,userType:be},{events:o,eventIndex:t})).catch(e=>{(0,D.B)(),se&&console.log("[Neo] fullscreen mount failed, booting React:",e),ee()})},onAtcEnabled:()=>{n.e(866).then(n.bind(n,29)).catch(()=>{})},onAddToCart:(t,o)=>n.e(866).then(n.bind(n,29)).then(n=>(n.fireNeoAtcClick({event:o,productList:[t],ctaList:o&&o.cta||[],customizations:e,widgetSourceDetails:{landingLocationType:ve,templateType:y}}),n.fireNeoOutsideAtcFunnel({event:o,product:t,customizations:e,widgetSourceDetails:{landingLocationType:ve,templateType:y}}),n.neoAddToCart({product:t,event:o,customizations:e,widgetSourceDetails:{landingLocationType:ve,templateType:y},widget:(0,ae.Wd)(ve)+(0,ae.gf)(y)+(o&&o.isRelatedEvent?"R":"E")+"_"+(o&&o.event_id),userType:be,mode:"direct"}))).catch(e=>console.error("Whatmore :: neo ATC add failed",e)),onVariantAdd:({product:t,event:o,selectedOptions:i,variants:r})=>n.e(866).then(n.bind(n,29)).then(n=>(n.fireNeoAtcClick({event:o,productList:[t],ctaList:o&&o.cta||[],customizations:e,widgetSourceDetails:{landingLocationType:ve,templateType:y}}),n.fireNeoOutsideAtcFunnel({event:o,product:t,customizations:e,widgetSourceDetails:{landingLocationType:ve,templateType:y}}),n.neoAddToCart({product:t,event:o,selectedOptions:i,variants:r,customizations:e,widgetSourceDetails:{landingLocationType:ve,templateType:y},widget:(0,ae.Wd)(ve)+(0,ae.gf)(y)+(o&&o.isRelatedEvent?"R":"E")+"_"+(o&&o.event_id),userType:be,mode:"direct"}))).catch(e=>(console.error("Whatmore :: neo variant ATC add failed",e),{status:"errored"})),onProductClick:(t,o,i)=>n.e(866).then(n.bind(n,29)).then(n=>n.fireNeoProductClick({event:o,product:t,kind:i,customizations:e,widgetSourceDetails:{landingLocationType:ve,templateType:y}})).catch(e=>console.error("Whatmore :: neo product-click track failed",e))},r=le?n.e(719).then(n.bind(n,8235)).then(e=>e.renderNeoStories):fe?n.e(310).then(n.bind(n,7119)).then(e=>e.renderNeoFloating):Se?n.e(126).then(n.bind(n,5348)).then(e=>e.renderNeoBanner):n.e(579).then(n.bind(n,3755)).then(e=>e.renderNeoCarousel),a=(e,t)=>{se&&console.log(`[Neo] ${e} \u2014 falling back to React:`,t||""),ee()};r.then(e=>e(o)).then(e=>{!1===e&&a("render returned false (empty/unsupported)")}).catch(e=>a("render threw",e))}:ee;if(Q){let e=!1;const n=()=>{e||(e=!0,Ie())},o=new IntersectionObserver(e=>{e.forEach(e=>{if(se&&console.log(`[OBSERVER] Widget ${r}: isIntersecting=${e.isIntersecting}, top=${e.boundingClientRect.top}, bottom=${e.boundingClientRect.bottom}, viewportHeight=${window.innerHeight}, layoutHeight=${document.documentElement.clientHeight}`),e.isIntersecting){if("67841720509"===we){const e=t.getBoundingClientRect();if(e.top>=document.documentElement.clientHeight||e.bottom<=0)return void(se&&console.log(`[OBSERVER] Widget ${r}: Rejected \u2014 outside layout viewport (iOS rescale guard)`))}se&&console.log(`[OBSERVER] Widget ${r}: Loading React chunk`),n(),o.disconnect()}})},{threshold:0,rootMargin:"0px 0px 0px 0px"});o.observe(t);const i=t.getBoundingClientRect();se&&console.log(`[SETUP] Widget ${r}: Observer attached, position top=${i.top}, bottom=${i.bottom}, viewportHeight=${window.innerHeight}, margin=500px`);const a=10;let l=window.pageYOffset;se&&console.log(`[SCROLL LISTENER] Widget ${r}: Initial scroll position=${l}`);const s=()=>{const e=window.pageYOffset,t=Math.abs(e-l);se&&console.log(`[SCROLL LISTENER] Widget ${r}: Scroll event fired, scrollY=${e}, lastScrollY=${l}, delta=${t}`),t>a&&(se&&console.log(`[SCROLL LISTENER] Widget ${r}: Delta > ${a}, triggering load`),n(),window.removeEventListener("scroll",s))};window.addEventListener("scroll",s,{passive:!0})}else Ie()};for(let e=0;e<le.length;e++)r(le[e],e)}else if(fe){const e=document.getElementById("whatmoreRoot"),t="whatmoreRoot",o=pe("whatmoreTemplateType","invalid-template"),i=ue(o),r=de(o),a=ce(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:ve,isInPreviewMode:_e,userType:be})}).catch(e=>{console.error("Whatmore: Failed to load React chunk for legacy store:",e)})}if(("75310563627"===we||"35680321669"===we||"75649450207"===we||"72626569514"===we||"75000480020"===we||"79550939348"===we)&&!fe&&"undefined"!==typeof MutationObserver){const e=document.querySelectorAll(".whatmore-base");e.forEach(e=>e.setAttribute("data-wht-mounted","true")),se&&console.log(`[Rehydrate] installed for shop ${we}; marked ${e.length} load-time host(s) as mounted, watching document.body`);let t=0;const n=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"},o=()=>[...document.querySelectorAll(".whatmore-base:not([data-wht-mounted])")].filter(e=>de(n(e))),i=e=>{const o=n(e);de(o)?e.querySelector(".whatmore-render-root")?(e.setAttribute("data-wht-mounted","true"),se&&console.log("[Rehydrate] mounting fresh collection host ->",e),r?r(e,"Rehydrate"+t++):console.error("Whatmore: rehydrate \u2014 mountWidgetHost unavailable (no base elements at page load?)")):se&&console.log("[Rehydrate] skip host: .whatmore-render-root not present yet (will retry on next mutation)",e):se&&console.log(`[Rehydrate] skip host: not a collection template (${o})`,e)};let a=!1;const l=()=>{a=!1;const e=o();se&&console.log(`[Rehydrate] rescan: ${e.length} fresh collection host(s) to mount`),e.forEach(i)};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=o();0!==n.length&&(se&&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})}}()}();