whatmore-react-assets 1.0.1729 → 1.0.1731

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.
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[262,365,717],{22:function(t,e,a){a.d(e,{$S:function(){return s},_:function(){return i},b4:function(){return o},dl:function(){return n},nN:function(){return c},tn:function(){return l},vF:function(){return r}});const i="device_type",n="device_mode",o="mobile",r="tablet",s="desktop",l="portrait",c="landscape"},69:function(t,e,a){a.d(e,{Ij:function(){return o},bi:function(){return r}});let i,n=!1;function o(){return i?i.play().then(()=>{n=!0,console.debug("iOS autoplay restrictions bypassed."),i.pause()}).catch(t=>{console.error("Failed to bless videos:",t.message)}):Promise.reject(new Error("Blessing video not initialized."))}function r(){i||(i=document.createElement("video"),i.src="https://whatmore-other-assets.b-cdn.net/whatmore/dummy_for_video_pool_3s_muted_11kb.mp4",i.muted=!0,i.playsInline=!0,i.style.display="none",document.body.appendChild(i));const t=()=>{n||o()};document.addEventListener("click",t,{once:!0}),document.addEventListener("touchstart",t,{once:!0})}},851:function(t,e,a){a.d(e,{A:function(){return v}});var i=a(1005),n=a(9950),o=a(9879),r=a(22),s=a(5830),l=a(932);var c=function(t){const[e,a,i,n,o]=(0,l.A)(),[c]=(0,s.QN)("whatmoreEmbedAppVideoPlayerSizePortrait"),[d]=(0,s.QN)("whatmoreEmbedAppVideoPlayerSizeLandscape"),_=o[r.dl]===r.nN?d/100:c/100*1.2;return[e*_,a*_,o]},d=a(1628),_=a.n(d),p=a(6702),u=(a(9733),a(4365),a(1348)),m=a(4414);var h=({size:t,color:e="rgba(255, 255, 255, 0.9)"})=>(0,m.jsxs)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:{cursor:"pointer",transition:"all 0.3s ease",filter:"drop-shadow(0 2px 6px rgba(0,0,0,0.5))"},className:"premium-close-icon",children:[(0,m.jsx)("circle",{cx:"12",cy:"12",r:"10",fill:"rgba(0, 0, 0, 0.6)",stroke:"rgba(255, 255, 255, 0.3)",strokeWidth:"1.5",style:{transition:"all 0.3s ease"}}),(0,m.jsx)("path",{d:"M15 9l-6 6M9 9l6 6",stroke:e,strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",style:{transition:"all 0.3s ease"}})]});var f=({size:t,color:e="rgba(255, 255, 255, 0.95)"})=>(0,m.jsxs)("svg",{width:.7*t,height:.7*t,viewBox:"0 0 80 80",fill:"none",style:{filter:"drop-shadow(0 8px 24px rgba(0,0,0,0.5))",transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)",cursor:"pointer"},className:"premium-play-icon",children:[(0,m.jsx)("circle",{cx:"40",cy:"40",r:"28",fill:"url(#playGradient)",stroke:"rgba(255, 255, 255, 0.2)",strokeWidth:"1.5",style:{backdropFilter:"blur(20px)"}}),(0,m.jsx)("path",{d:"M32 26 L32 54 L56 40 Z",fill:e,stroke:"none",style:{filter:"drop-shadow(0 2px 8px rgba(0,0,0,0.3))"}}),(0,m.jsxs)("defs",{children:[(0,m.jsxs)("radialGradient",{id:"playGradient",cx:"0.3",cy:"0.3",r:"0.8",children:[(0,m.jsx)("stop",{offset:"0%",stopColor:"rgba(255, 255, 255, 0.25)"}),(0,m.jsx)("stop",{offset:"70%",stopColor:"rgba(255, 255, 255, 0.08)"}),(0,m.jsx)("stop",{offset:"100%",stopColor:"rgba(255, 255, 255, 0.02)"})]}),(0,m.jsxs)("radialGradient",{id:"playGradientHover",cx:"0.3",cy:"0.3",r:"0.8",children:[(0,m.jsx)("stop",{offset:"0%",stopColor:"rgba(255, 255, 255, 0.4)"}),(0,m.jsx)("stop",{offset:"70%",stopColor:"rgba(255, 255, 255, 0.15)"}),(0,m.jsx)("stop",{offset:"100%",stopColor:"rgba(255, 255, 255, 0.05)"})]})]}),(0,m.jsx)("style",{jsx:!0,children:"\n .premium-play-icon:hover { transform: scale(1.1); filter: drop-shadow(0 12px 32px rgba(0,0,0,0.6)); }\n .premium-play-icon:hover circle { fill: url(#playGradientHover); stroke: rgba(255, 255, 255, 0.4); transform: scale(1.05); }\n .premium-play-icon:hover path { fill: white; transform: translateX(1px); }\n .premium-play-icon:active { transform: scale(0.95); }\n "})]});var v=function(t){var e;const a=n.useRef(null);var[l,d,v]=c();(0,s.Xd)("whatmoreUITheme");const[b]=(0,s.QN)("whatmorePrimaryFont"),[y]=(0,s.QN)("whatmoreEmbedAppVideoTitle"),[g]=(0,s.QN)("whatmoreEmbedAppPositionPortrait"),[w]=(0,s.QN)("whatmoreEmbedAppHorizontalPaddingPortrait"),[k]=(0,s.QN)("whatmoreEmbedAppVerticalPaddingPortrait"),[x]=(0,s.QN)("whatmoreEmbedAppPositionLandscape"),[S]=(0,s.QN)("whatmoreEmbedAppHorizontalPaddingLandscape"),[j]=(0,s.QN)("whatmoreEmbedAppVerticalPaddingLandscape"),A=(0,s.Xd)("whatmoreShopId"),N=(0,s.Xd)("isWhatmorePreviewMode");var T=g,C=w,E=k;v[r.dl]===r.nN&&(T=x,C=S,E=j);const[I,R]=(0,n.useState)(["initial",window.pageYOffset]),[P,L]=(0,n.useState)(!1),q=null!==(e=t.isSpotlight)&&void 0!==e&&e,z=v[r.dl]===r.nN?.8*(0,u.O86)(A):1.2*(0,u.O86)(A),M=q?z:1.2;l*=M,d*=M;const D=q?(0,u.LrK)(A):T,O=q?(0,u._2D)(A):(0,u.GSq)(A),[F,B]=(0,n.useState)(!q&&(0,u.n8Q)(A)),G=!q&&(0,u.YE3)(A);function H(t,e){R(t),t[1]<=100?L(!1):e!=P&&(L(e),B(!1))}(0,n.useEffect)(()=>{let t=window.pageYOffset,e=!1;const a=()=>{const a=window.pageYOffset;Math.abs(a-t)<100||(H([a>t?"scrolled-down":"scrolled-up",a],!0),t=a>0?a:0),e=!1},i=()=>{e||(window.requestAnimationFrame(a),e=!0)};return window.addEventListener("scroll",i),()=>window.removeEventListener("scroll",i)},[I]),(0,i.j)({ref:a,handler:()=>{H(["scrolled-up",I[1]],!0)}});const Q=t.event,V=t.inVideoClick,K=t.closeClick,W=.25*d,J=.5*d,X=.6*d,$="20px",U=(0,u.GvQ)(A);var Y=!1,Z=0,tt=0;function et(t){Y=t}return(0,m.jsx)("div",{className:"wht-popup",children:F&&!O?(0,m.jsx)(m.Fragment,{}):P&&O?(0,m.jsx)("div",{style:"left"===D?{left:"16px",bottom:q?(0,u.pUQ)(A)+"px":E+"px",position:"fixed",zIndex:U}:{right:"16px",bottom:q?(0,u.pUQ)(A)+"px":E+"px",position:"fixed",zIndex:U},children:(0,m.jsxs)("div",{onClick:()=>{H(["initial",I[1]],!1)},style:{width:X+"px",height:X*(16/9)+"px",borderRadius:$,overflow:"hidden",backgroundColor:"transparent",boxShadow:"0 12px 24px rgba(0, 0, 0, 0.3), 0 4px 8px rgba(0, 0, 0, 0.2)",backdropFilter:"blur(15px)",cursor:"pointer",transition:"all 0.3s ease",transformStyle:"preserve-3d"},className:"left"===D?"whatmore-ultraminimized-video-view-left":"whatmore-ultraminimized-video-view-right",children:[(0,m.jsx)("div",{style:{overflow:"hidden",borderRadius:$,background:"linear-gradient(145deg, rgba(0,0,0,0.1), rgba(0,0,0,0.2))"},children:(0,m.jsx)("div",{style:{width:"100%",height:"100%",aspectRatio:16/9},children:(0,m.jsx)(o.A,{url:Q.thumbnail_image,isPlaying:!1,event:Q})})}),(0,m.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",width:"100%",height:"100%"},children:(0,m.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",height:"100%"},children:[(0,m.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"flex-end",width:"100%",height:"fit-content",padding:"2px",position:"absolute",top:"0",right:"0",zIndex:10},children:(0,m.jsx)("div",{className:"whatmore-ultraminimized-content-scale-out",onClick:t=>{t.stopPropagation(),K()},children:(0,m.jsx)(h,{size:.8*W})})}),(0,m.jsx)("div",{style:{height:"100%",display:"flex",flexFlow:"column nowrap",alignItems:"center",justifyContent:"center"},children:(0,m.jsx)(p.A,{sx:{color:"white",fontSize:2*W+"px",filter:"drop-shadow(0 0 2px black);"}})})]})})]})}):(0,m.jsx)(_(),{nodeRef:a,cancel:".activate-button,.close-btn",bounds:N?"parent":"html",defaultClassName:"whatmore-react-draggable",defaultClassNameDragging:"whatmore-react-draggable-dragging",defaultClassNameDragged:"whatmore-react-draggable-dragged",onStart:(t,e)=>{var a,i;a=e.x,i=e.y,Z=a,tt=i},onDrag:(t,e)=>{et(!0)},onStop:(t,e)=>{Y&&(Math.abs(e.x-Z)>5||Math.abs(e.y-tt)>5)?et(!1):(G&&K(t),V(Q))},children:(0,m.jsx)("div",{ref:a,style:"left"===D?{left:q?(0,u.D2A)(A)+"px":C+"px",bottom:q?(0,u.pUQ)(A)+"px":E+"px",position:"fixed",zIndex:U}:{right:q?(0,u.D2A)(A)+"px":C+"px",bottom:q?(0,u.pUQ)(A)+"px":E+"px",position:"fixed",zIndex:U},children:(0,m.jsxs)("div",{style:{boxSizing:"border-box",width:t.isSpotlight&&"60122562760"==A?l+"px":d+"px",height:t.isSpotlight&&"60122562760"==A?d+"px":l+"px",borderRadius:$,overflow:"hidden",backgroundColor:"transparent",boxShadow:"0 20px 40px rgba(0, 0, 0, 0.3), 0 8px 16px rgba(0, 0, 0, 0.2)",backdropFilter:"blur(20px)",transition:"all 0.3s ease"},className:"left"===D?"whatmore-minimized-video-view-left":"whatmore-minimized-video-view-right",children:[(0,m.jsx)("div",{style:{overflow:"hidden",position:"relative",borderRadius:$,background:"linear-gradient(145deg, rgba(0,0,0,0.1), rgba(0,0,0,0.3))"},children:(0,m.jsx)("div",{style:{width:"100%",height:"100%",aspectRatio:t.isSpotlight&&"60122562760"==A?16/9:9/16},children:(0,m.jsx)(o.A,{url:Q.thumbnail_image,isMuted:!0,isPlaying:!0,event:Q})})}),(0,m.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",width:"100%",height:"100%"},children:(0,m.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",height:"100%",position:"relative"},children:[(0,m.jsx)("div",{style:{position:"absolute",top:"2px",right:"2px",zIndex:10},children:(0,m.jsx)("div",{className:"close-btn",onClick:K,children:(0,m.jsx)(h,{size:W})})}),(0,m.jsx)("div",{style:{marginLeft:"auto",marginRight:"auto",marginTop:"auto",marginBottom:"auto"},children:(0,m.jsx)(f,{size:J})}),(0,m.jsx)("div",{style:{paddingLeft:"16px",paddingRight:"16px",paddingBottom:"16px",borderBottomLeftRadius:$,borderBottomRightRadius:$,background:y?"linear-gradient(to bottom, transparent, rgba(0,0,0,0.8))":"transparent"},children:(0,m.jsx)("p",{style:{textAlign:"center",color:"white",fontFamily:b,fontWeight:"600",fontSize:.35*W+"px",margin:0,padding:0,lineHeight:"125%",letterSpacing:"0.3px",textShadow:"0 2px 4px rgba(0,0,0,0.5)"},children:y})})]})})]})})})})}},932:function(t,e,a){var i=a(5830),n=a(1941),o=a(22),r=a(1348);e.A=function(t){const[e,a,s]=(0,n.A)(),[l]=(0,i.QN)("whatmoreLandscapePadding"),[c]=(0,i.QN)("whatmoreShopId"),[d]=(0,i.QN)("whatmoreVideoTileSize"),[_]=(0,i.QN)("whatmoreVideoTileSizePortrait"),p=s>a,u="portrait"==e?_:d,m=!("portrait"!=e||!(s>=481)),h=u/100*1.3*.5,f=u/100;var v=Math.min(s,a),[b,y,g,w]=[.6*v*(16/9),.6*v,1.4,0];function k(t){return Math.round(10*t)/10}var x={DEVICE_TYPE:o.b4,DEVICE_MODE:o.tn};if(p){const t=y*h,e=b*h;[b,y,g,w]=[e,t,(s-2*l-2*(0,r.$du)(c))/(1.1*t),l],x[o._]=o.$S,x[o.dl]=o.nN}else if(m){var S=.8*y,j=.8*b;"portrait"==e?(S*=f,j*=f,[b,y,g,w]=[j,S,k(s/(1.2*S)),0],x[o._]=o.vF,x[o.dl]=o.tn):([b,y,g,w]=[j,S,(s-2*l)/(1.1*S),l],x[o._]=o.vF,x[o.dl]=o.nN)}else{S=y,j=b;"portrait"==e?(S=S*f*.9,j=j*f*.9,[b,y,g,w]=[j,S,k(s/(1.15*S)),0],x[o._]=o.b4,x[o.dl]=o.tn):(S=.7*y,j=.7*b,[b,y,g,w]=[j,S,(s-2*l)/(1.1*S),l],x[o._]=o.b4,x[o.dl]=o.nN)}return[b,y,g,w,x]}},3262:function(t,e,a){a.r(e),a.d(e,{initiateCartSliderEvent:function(){return o}});var i=a(5830),n=a(1745);const o=async function(t,e,a,o,r="",s="",l="",c="",d="",_=""){(0,i.Xd)("whatmoreLandingLocationType");if("STRNV8MHJTF"==t||"STR6HU283UZ"==t||"STR9T3LLEJB"==t||"STRWJMIOJNX"==t||"STRUDQ36YAC"==t||"STR1D5ONOZX"==t){console.log("Executing cart refresh script..");return void(document.getElementById("whatsmorecart").value=Math.random())}if("58692075703"===t)return fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:r,quantity:1})}).then(t=>{if(!t.ok)throw new Error("Add to cart failed");return t.json()}).then(t=>{"function"===typeof window.openGokwikSideCart&&window.openGokwikSideCart(),setTimeout(()=>{f(r)},500)}).catch(t=>console.error("[Whatmore] Lakshita ATC error:",t)),void setTimeout(e,a);if("56444977250"===t){const t=document.querySelector('button[data-pf-type="ProductATC2"]');return t?(s&&t.setAttribute("data-product-id",s),t.click(),setTimeout(()=>{(0,n.js)().then(t=>t.json()).then(t=>{const e=t.items.find(t=>String(t.id)===String(r));if(e){const t=e.key,a=e.quantity,i=e.properties;(0,n.CP)(t,a,i,l,c,d,!0,!0,!0)}})},500),void setTimeout(e,a)):(fetch(null===_||void 0===_||null===(p=_.split("?"))||void 0===p?void 0:p[0]).then(t=>t.text()).then(t=>{const e=(new DOMParser).parseFromString(t,"text/html").querySelector('button[data-pf-type="ProductATC2"]');e&&s&&e.setAttribute("data-product-id",s)}),void setTimeout(e,a));var p}if("64379584700"===t)return fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:r,quantity:1})}).then(t=>t.json()).then(t=>fetch("/cart.js")).then(t=>t.json()).then(t=>{$(".paira-cart-item-count").text(t.item_count),$(".paira-cartEmpty").hide(),$(".paira-cartNotEmpty").show(),$(".paira-cart-total-price .money").text("Rs. "+t.total_price/100),$(".cart-drop").addClass("open"),$(".cart-icon").trigger("mouseenter"),setTimeout(()=>{f(r)},500)}).catch(t=>console.error("Add to cart error:",t)),void setTimeout(e,a);if("76767920441"===t)return fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:r,quantity:1})}).then(t=>t.json()).then(t=>{"function"===typeof window.openGokwikSideCart&&window.openGokwikSideCart(),setTimeout(()=>{f(r)},500)}).catch(t=>console.error("Add to cart error:",t)),void setTimeout(e,a);if("70840582336"===t){const t=r,i=1,n=document.querySelector('product-form form.product-form, form[action*="/cart/add"]');if(n){let o=n.querySelector('input[name="id"]');o||(o=document.createElement("input"),o.type="hidden",o.name="id",n.appendChild(o)),o.disabled=!1,o.value=t;const r=n.querySelector('input[name="quantity"]');r&&(r.value=i);const s=n.querySelector('button[data-add-to-cart], button[type="submit"]');return s?(s.dispatchEvent(new MouseEvent("pointerdown",{bubbles:!0})),s.click(),s.dispatchEvent(new MouseEvent("pointerup",{bubbles:!0}))):console.warn("[ATC] button not found"),setTimeout(()=>{f(t)},500),void setTimeout(e,a)}return void fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({id:t,quantity:i}),credentials:"same-origin"}).then(()=>{setTimeout(()=>{f(t)},500),setTimeout(e,a)}).catch(t=>{console.error("[ATC] error for 70840582336:",t),setTimeout(e,a)})}if("64683278550"===t){try{const t=document.querySelector('form[action="/cart/add"]');if(!t)return console.warn("[ATC 64683278550] form not found"),void setTimeout(e,a);const i=t.querySelector('input[name="id"]');if(!i)return console.warn("[ATC 64683278550] id input not found"),void setTimeout(e,a);i.value=r;const n=t.querySelector('button[type="submit"]');if(!n)return console.warn("[ATC 64683278550] submit button not found"),void setTimeout(e,a);n.click(),setTimeout(()=>{f(r)},500),setTimeout(e,a)}catch(y){console.error("[ATC 64683278550] error:",y),setTimeout(e,a)}return}const u=e=>{if("61126934766"==t){let t=e.querySelector(".productView-buttons").querySelector('form[action*="/cart/add"]');if(t)return t}let a=Array.from(e.querySelectorAll("product-form")).find(t=>t.querySelector('form > input[name="id"]')&&t.querySelector('form button[type="submit"]'));return a||(a=Array.from(e.querySelectorAll('form[action*="/cart/add"]')).find(t=>t.querySelector('button[type="submit"]'))),a},m=(e,a,i)=>{const n=e.cloneNode(!0);if(n){n.hasAttribute("data-product-variant-id")&&n.setAttribute("data-product-variant-id",a),n.hasAttribute("data-product-id")&&n.setAttribute("data-product-id",i);let e=n.querySelector('input[name="id"]');if(e)e.setAttribute("value",a),e.hasAttribute("disabled")&&e.removeAttribute("disabled");else{const t=n.querySelector('select[name="id"]');if(t){const e=t.querySelector('option[selected="selected"]');e&&e.setAttribute("value",a)}}const o=n.querySelector('input[name="product-id"]');o&&o.setAttribute("value",i);const r=document.createElement("div");return r.className="whatmore-atc",r.appendChild(n),document.body.appendChild(r),console.log(r,"formElement"),"92319318403"===t&&((t,e,a)=>{var i;const n=null!==(i=t.matches)&&void 0!==i&&i.call(t,"form")?t:t.querySelector("form");if(!n)return;let o=n.querySelector('input[name="id"]');o||(o=document.createElement("input"),o.type="hidden",o.name="id",n.prepend(o)),o.value=String(e),o.removeAttribute("disabled");const r=n.querySelector('select[name="id"]');r&&([...r.options].some(t=>t.value===String(e))?(r.value=String(e),[...r.options].forEach(t=>t.selected=t.value===String(e)),r.dispatchEvent(new Event("change",{bubbles:!0}))):r.removeAttribute("name"));const s=n.querySelector('input[name="product-id"]');s&&(s.value=String(a))})(r,a,i),r}},h=t=>{const e=null===t||void 0===t?void 0:t.querySelector('button[type="submit"]');e&&e.click()},f=t=>{(0,n.js)().then(t=>t.json()).then(e=>{const a=e.items.find(e=>e.id==t),i=a.key,o=a.quantity,r=a.properties;(0,n.CP)(i,o,r,l,c,d,!0,!0,!0)})},v=u(document);if(v||(null===v||void 0===v?void 0:v.length)>0){const t=m(v,r,s);h(t),setTimeout(()=>{f(r)},500),t.remove()}else{var b;fetch(null===_||void 0===_||null===(b=_.split("?"))||void 0===b?void 0:b[0]).then(t=>t.text()).then(t=>{const e=(new DOMParser).parseFromString(t,"text/html"),a=u(e);if(a||(null===a||void 0===a?void 0:a.length)>0){const t=m(a,r,s);h(t),setTimeout(()=>{f(r)},500),t.remove()}})}setTimeout(e,a)}},6018:function(t,e,a){a.d(e,{bannerData:function(){return o},eventsData:function(){return i},n:function(){return r},storiesData:function(){return n}});const i=[{event_id:2333,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:204,brand:"whatmore-dev",product_link:"https://www.aachho.com/products/sadabahaar-chanderi-suit-set",client_product_id:"6780183806018",price:"2800.00",currency:"INR",title:"Sadabahaar Chanderi Suit Set",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/2542/7564/products/5_72f81f91-e027-4497-9dfe-20480b862c54.jpg?v=1684509430",compare_price:"6999.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2022-12-27",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2r0bijhs9mx1s.cloudfront.net/whatmoredev/tn_b9c6f02e-6d5e-4250-97f8-71551c18c4e8.mp4",discount_coupon_image:"",event_hls_url:"https://d3syezql093hs1.cloudfront.net/whatmoredev/b9c6f02e-6d5e-4250-97f8-71551c18c4e8.mp4",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:1,event_state:"ready",poster_image:null,total_views:37,total_like:1,total_share:0,total_whatsapp:0},{event_id:2335,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:2108,brand:"whatmore-dev",product_link:"https://www.ordinaree.com/products/grease-black-designer-blackless-long-dress-for-women-online",client_product_id:"7210211311652",price:"5040.00",currency:"INR",title:"Grease Backless Long Dress",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0106/4897/7444/products/DSC_0377_45ee56eb-1240-4a17-9332-841809f132cf.jpg?v=1673001396",compare_price:"5600.00",product_metadata:null,product_status:"active"},{product_id:1955,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/black-anarkali-and-pant-with-dupatta",client_product_id:"7600010723466",price:"4125.00",currency:"INR",title:"BLACK ANARKALI AND PANT WITH DUPATTA",description:"BLACK ANARKALI AND PANT WITH DUPATTA",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/products/salwarsuitonlineindia-07285.jpg?v=1669434027&width=823",compare_price:"5200.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2022-12-27",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2r0bijhs9mx1s.cloudfront.net/whatmoredev/tn_e433898b-a5ec-4af6-b74f-2153ad609ffb.mp4",discount_coupon_image:"",event_hls_url:"https://d3syezql093hs1.cloudfront.net/whatmoredev/e433898b-a5ec-4af6-b74f-2153ad609ffb.mp4",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:4,event_state:"ready",poster_image:null,total_views:31,total_like:0,total_share:0,total_whatsapp:0},{event_id:2336,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:632,brand:"whatmore-dev",product_link:"https://www.meerasplussizestore.com/products/basil-brick-ajrakh-handblock-printed-kurta",client_product_id:"6864880173194",price:"876.00",currency:"INR",title:"Basil & Brick Ajrakh Handblock Printed Kurta",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0363/0075/0986/products/Dark-Green-Maroon-Pati-Ajrakh-Kurti-SCL_6948.jpg?v=1653729466",compare_price:"2190.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2022-12-27",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2r0bijhs9mx1s.cloudfront.net/whatmoredev/tn_5ddea9a1-4839-4db8-aa1c-843c14dd1cbb.mp4",discount_coupon_image:"",event_hls_url:"https://d3syezql093hs1.cloudfront.net/whatmoredev/5ddea9a1-4839-4db8-aa1c-843c14dd1cbb.mp4",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:5,event_state:"ready",poster_image:null,total_views:21,total_like:0,total_share:0,total_whatsapp:0},{event_id:2338,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:1728,brand:"whatmore-dev",product_link:"https://suta.in/products/ratri-kamal",client_product_id:"6916488003649",price:"4200.00",currency:"INR",title:"Ratri kamal",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0026/6544/7536/products/ratri-kamal-293774.jpg?v=1668084259",compare_price:null,product_metadata:null,product_status:"active"},{product_id:1732,brand:"whatmore-dev",product_link:"https://suta.in/products/kedar-ki-dor-blouse",client_product_id:"6625859502145",price:"4200.00",currency:"INR",title:"Kedar Ki Dor",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0026/6544/7536/files/DSC01009.jpg?v=1712326816",compare_price:null,product_metadata:null,product_status:"active"},{product_id:1736,brand:"whatmore-dev",product_link:"https://suta.in/products/swarna-kamal",client_product_id:"6916483317825",price:"4200.00",currency:"INR",title:"Swarna Kamal",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0026/6544/7536/products/swarna-kamal-472043.jpg?v=1668093054",compare_price:null,product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2022-12-27",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2r0bijhs9mx1s.cloudfront.net/whatmoredev/tn_496a26de-50cd-4823-8731-a97e0757efcf.mp4",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_496a26de-50cd-4823-8731-a97e0757efcf.mp4?v=1677477938",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:6,event_state:"ready",poster_image:null,total_views:28,total_like:0,total_share:0,total_whatsapp:0},{event_id:3255,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:3636,brand:"whatmore-dev",product_link:"https://buysohi.com/products/sohear8383",client_product_id:"7679599771864",price:"543.00",currency:"INR",title:"Gold Plated Pearl Stud",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0626/0218/2872/products/SS22_SOHEAR8383_1.jpg?v=1651755514",compare_price:"1699.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2023-01-24",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2r0bijhs9mx1s.cloudfront.net/whatmoredev/tn_b0045891-f042-47d4-a87a-187c96a1857e.mp4",discount_coupon_image:"",event_hls_url:"https://d3syezql093hs1.cloudfront.net/whatmoredev/b0045891-f042-47d4-a87a-187c96a1857e.mp4",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:7,event_state:"ready",poster_image:null,total_views:36,total_like:1,total_share:3,total_whatsapp:0},{event_id:3877,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:1955,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/black-anarkali-and-pant-with-dupatta",client_product_id:"7600010723466",price:"4125.00",currency:"INR",title:"BLACK ANARKALI AND PANT WITH DUPATTA",description:"BLACK ANARKALI AND PANT WITH DUPATTA",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/products/salwarsuitonlineindia-07285.jpg?v=1669434027&width=823",compare_price:"5200.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2023-02-03",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2r0bijhs9mx1s.cloudfront.net/whatmoredev/tn_CoH_liSAYOj.mp4",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_CoH_liSAYOj_b1999a62-134d-4301-9808-5d09e64a8979.mp4?v=1677477812",presenter_email:null,presenter_phone:null,room_id:null,event_type:"video",is_active:!0,rank:20,event_state:"ready",poster_image:null,total_views:16,total_like:0,total_share:0,total_whatsapp:0},{event_id:4188,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:4459,brand:"whatmore-dev",product_link:"https://theethnic.co/products/black-ruching-jacket-kurta-set",client_product_id:"8011323769076",price:"7499.00",currency:"INR",title:"Black Ruching Jacket Kurta Set",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0650/7937/8164/products/1_5102cd2e-a419-4682-abf1-d9619e6e96d7.jpg?v=1674275880",compare_price:"9999.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2023-02-07",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2r0bijhs9mx1s.cloudfront.net/whatmoredev/tn_c398aa0e-f0ac-4aba-91f5-4b1bcc5b1d51.mp4",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_7acda7d8-9762-47c7-9ee2-35e14db4c3fb.mp4?v=1677477803",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:23,event_state:"ready",poster_image:null,total_views:8,total_like:0,total_share:1,total_whatsapp:0},{event_id:28701,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[],cta:[{cta_id:364,cta_link:"https://lovechild.in/collections/fragrances",client_cta_id:"https://lovechild.in/collections/fragrances",cta_title:"Explore",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-01-10",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2r0bijhs9mx1s.cloudfront.net/whatmoredev/tn_20c05e5e-43cd-45cd-b1a4-5c942fb732d1.mp4",discount_coupon_image:"",event_hls_url:"https://d1zl4k1t5o4s75.cloudfront.net/whatmoredev/1080p_20c05e5e-43cd-45cd-b1a4-5c942fb732d1.mp4",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:57,event_state:"ready",poster_image:null,total_views:0,total_like:0,total_share:0,total_whatsapp:0},{event_id:28767,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:26392,brand:"whatmore-dev",product_link:"https://www.aachho.com/products/shimmering-mustard-sequin-georgette-suit-set",client_product_id:"6981740691522",price:"4199.00",currency:"INR",title:"Shimmering Mustard Sequin Georgette Suit Set",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/2542/7564/files/0H8A1426.jpg?v=1697874844",compare_price:"5999.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-01-11",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_4820fd98-246f-46b7-8af6-be1e949ff0e2.mp4?v=1704973716",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_4820fd98-246f-46b7-8af6-be1e949ff0e2.mp4?v=1704973708",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:58,event_state:"ready",poster_image:null,total_views:0,total_like:0,total_share:0,total_whatsapp:0},{event_id:48,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:24,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/evil-eye-adjustable-ring-gold",client_product_id:"6923301748874",price:"1250.00",currency:"INR",title:"Evil Eye adjustable ring - Gold",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/products/WhatsAppImage2020-09-21at11.38.01AM_1_700x_c51dd690-b6d8-4059-b3e0-13a2edf3feea.jpg?v=1656673474",compare_price:"1300",product_metadata:null,product_status:"active"},{product_id:23,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/rose-water-200ml",client_product_id:"6923319771274",price:"250.00",currency:"INR",title:"ROSE WATER 200ML",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/products/RoseWaterFront-01_250x_2x_c4cd34f3-625d-463a-bf36-3b159322b7ed.png?v=1656673764",compare_price:null,product_metadata:null,product_status:"active"},{product_id:21,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/honey-lemon-face-cleanser-200ml-1",client_product_id:"6923307647114",price:"1300.00",currency:"INR",title:"HONEY & LEMON FACE CLEANSER 200ML",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/products/C5D_9156-01_250x_2x_2f91ab64-e5a4-42f1-baf3-5f3ecffb2b50_1.png?v=1656673584",compare_price:"1340",product_metadata:null,product_status:"active"},{product_id:22,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/honey-lemon-face-cleanser-200ml-1",client_product_id:"6923317051530",price:"350.00",currency:"INR",title:"HONEY AND ROSE BODY CREAM 200ML",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/products/2_250x_2x_47ffd4b3-4100-4afb-b4c8-a09867e40ddb.png?v=1656673726",compare_price:null,product_metadata:null,product_status:"active"}],cta:[{cta_id:73,cta_link:"https://honeyandspice.in/collections/central-indian",client_cta_id:"https://honeyandspice.in/collections/central-indian",cta_title:"Shop Now",thumbnail_image:"",cta_type:""}],title:"BTS of HoneyAndSpice",description:"",brand:"whatmore-dev",scheduled_date:"2023-08-10",status:"upcoming",start_time:"19:00",end_time:"20:00",actual_start_time:null,actual_end_time:null,presenter_name:"Honey and Spice",thumbnail_image:"https://d28nus7q7qajdn.cloudfront.net/videos/whatmore-video-01942fec-68a5-4417-aa28-a0bff121a3ec.mp4",discount_coupon_image:"",event_hls_url:"https://d28nus7q7qajdn.cloudfront.net/videos/whatmore-video-2f0d18e6-a519-4e70-b8b3-529b90a04c28.mp4",presenter_email:null,presenter_phone:"+919888988889",room_id:null,event_type:"video",is_active:!0,rank:59,event_state:"ready",poster_image:null,total_views:13,total_like:0,total_share:0,total_whatsapp:0},{event_id:33888,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:26392,brand:"whatmore-dev",product_link:"https://www.aachho.com/products/shimmering-mustard-sequin-georgette-suit-set",client_product_id:"6981740691522",price:"4199.00",currency:"INR",title:"Shimmering Mustard Sequin Georgette Suit Set",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/2542/7564/files/0H8A1426.jpg?v=1697874844",compare_price:"5999.00",product_metadata:null,product_status:"active"}],cta:[{cta_id:402,cta_link:"https://custom.com",client_cta_id:"https://custom.com",cta_title:"custom",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-02-26",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_2b78b138-b18f-45e3-b8dc-6ce59075872f.mp4?v=1708937498",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_2b78b138-b18f-45e3-b8dc-6ce59075872f.mp4?v=1708937490",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:60,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_2b78b138-b18f-45e3-b8dc-6ce59075872f.webp?v=1708937505",total_views:0,total_like:0,total_share:0,total_whatsapp:0},{event_id:33890,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:26392,brand:"whatmore-dev",product_link:"https://www.aachho.com/products/shimmering-mustard-sequin-georgette-suit-set",client_product_id:"6981740691522",price:"4199.00",currency:"INR",title:"Shimmering Mustard Sequin Georgette Suit Set",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/2542/7564/files/0H8A1426.jpg?v=1697874844",compare_price:"5999.00",product_metadata:null,product_status:"active"}],cta:[{cta_id:402,cta_link:"https://custom.com",client_cta_id:"https://custom.com",cta_title:"custom",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-02-26",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_08ec5ed2-3aca-4d32-b51e-d3f88123cca8.mp4?v=1708937809",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_08ec5ed2-3aca-4d32-b51e-d3f88123cca8.mp4?v=1708937801",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:61,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_08ec5ed2-3aca-4d32-b51e-d3f88123cca8.webp?v=1708937816",total_views:0,total_like:0,total_share:0,total_whatsapp:0},{event_id:33947,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[],cta:[{cta_id:403,cta_link:"https://test.com",client_cta_id:"https://test.com",cta_title:"test",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-02-26",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_81844dee-68c7-425e-96bf-d3ac63c664e7.mp4?v=1708947355",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_81844dee-68c7-425e-96bf-d3ac63c664e7.mp4?v=1708947347",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:62,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_81844dee-68c7-425e-96bf-d3ac63c664e7.webp?v=1708947362",total_views:0,total_like:0,total_share:0,total_whatsapp:0},{event_id:41975,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[],cta:[{cta_id:482,cta_link:"https://tests.com",client_cta_id:"https://tests.com",cta_title:"",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-04-25",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_51411814-cff2-491f-aca3-303e84307049.mp4?v=1714033522",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_51411814-cff2-491f-aca3-303e84307049.mp4?v=1714033514",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:69,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_51411814-cff2-491f-aca3-303e84307049.webp?v=1714033531",total_views:0,total_like:0,total_share:0,total_whatsapp:0},{event_id:41976,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[],cta:[{cta_id:481,cta_link:"https://test1231.com",client_cta_id:"https://test1231.com",cta_title:" ",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-04-25",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_c2a47941-cafb-4765-ac6c-d6414679c6bd.mp4?v=1714033522",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_c2a47941-cafb-4765-ac6c-d6414679c6bd.mp4?v=1714033514",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:70,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_c2a47941-cafb-4765-ac6c-d6414679c6bd.webp?v=1714033530",total_views:0,total_like:0,total_share:0,total_whatsapp:0},{event_id:41977,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[],cta:[{cta_id:403,cta_link:"https://test.com",client_cta_id:"https://test.com",cta_title:"test",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-04-25",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_a0f26d1d-462b-4548-848c-806702cf9c95.mp4?v=1714033522",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_a0f26d1d-462b-4548-848c-806702cf9c95.mp4?v=1714033513",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:71,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_a0f26d1d-462b-4548-848c-806702cf9c95.webp?v=1714033530",total_views:0,total_like:0,total_share:0,total_whatsapp:0}],n=[{event_id:51771,storyset_id:2428,storyset_name:"Jordan 11",storyset_thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_d717c269-b583-49c1-a824-fbff481d4bcf.webp?v=1717565002",storyset_event_rank:1,storyset_dynamic_thumbnail:!0,products:[{product_id:45352,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/air-jordan-11-retro-low-black-varsity-royal",client_product_id:"8172829409418",price:"150.00",currency:null,title:'Air Jordan 11 Retro Low "Black/Varsity Royal"',description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/air-jordan-11-retro-low-black-varsity-royal-big-kids-shoes-Fw0r7C_5.webp?v=1717415768",compare_price:"13000.00",product_metadata:null,product_status:"active"}],cta:[{cta_id:981,cta_link:"https://www.youtube.com/watch?v=o8MPzuKa0kk",client_cta_id:"https://www.youtube.com/watch?v=o8MPzuKa0kk",cta_title:"yt video",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-05",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_6179c4ad-b50b-46ec-bea7-c295f194ee65.mp4?v=1717564356",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_6179c4ad-b50b-46ec-bea7-c295f194ee65.mp4?v=1717564349",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!1,rank:58,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_6179c4ad-b50b-46ec-bea7-c295f194ee65.webp?v=1717564363",gif_image:null,total_views:73,total_like:1,total_share:0,total_whatsapp:0,in_stock:!0},{event_id:62737,storyset_id:2428,storyset_name:"Jordan 11",storyset_thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_d717c269-b583-49c1-a824-fbff481d4bcf.webp?v=1717565002",storyset_event_rank:5,storyset_dynamic_thumbnail:!0,products:[],cta:[{cta_id:616,cta_link:"https://whatmore.ai",client_cta_id:"https://whatmore.ai",cta_title:"",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-07-18",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2oouab8j9eigo.cloudfront.net/whatmoredev/f4a0bd71-f845-4b7e-b33d-2ef49e8eb7e9.webp",discount_coupon_image:"",event_hls_url:"https://d2oouab8j9eigo.cloudfront.net/whatmoredev/f4a0bd71-f845-4b7e-b33d-2ef49e8eb7e9.webp",presenter_email:null,presenter_phone:"",room_id:null,event_type:"image",is_active:!0,rank:71,event_state:"ready",poster_image:null,gif_image:null,total_views:11,total_like:0,total_share:0,total_whatsapp:0,in_stock:!0},{event_id:51761,storyset_id:2430,storyset_name:"86 OG",storyset_thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_ed308ae1-2b51-4645-8887-3eb91e132c0f.mp4?v=1724150740",storyset_event_rank:3,storyset_dynamic_thumbnail:!0,products:[{product_id:45596,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/nike-air-max-1-86-og",client_product_id:"8177839865994",price:"160.00",currency:null,title:"Nike Air Max 1 '86 OG",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/air-max-1-86-og-mens-shoes-gKcnc4_1.jpg?v=1717563099",compare_price:"180.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-05",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_2a1b2831-f396-4ca6-b2af-4e4d2cc8c7af.mp4?v=1724151068",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_8fca9eb3-61f6-43c7-bcb2-8907829984d9.mp4?v=1717564355",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!1,rank:61,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_8fca9eb3-61f6-43c7-bcb2-8907829984d9.webp?v=1717564369",gif_image:null,total_views:38,total_like:1,total_share:0,total_whatsapp:0,in_stock:!0},{event_id:54146,storyset_id:2429,storyset_name:"Airforce",storyset_thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_2f9f937f-690d-4924-9151-b10e11ef8885.webp?v=1718369042",storyset_event_rank:1,storyset_dynamic_thumbnail:!0,products:[],cta:[{cta_id:616,cta_link:"https://whatmore.ai",client_cta_id:"https://whatmore.ai",cta_title:"",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-14",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_f4832882-abae-4211-81b1-864bb4454ec5.mp4?v=1718369029",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_f4832882-abae-4211-81b1-864bb4454ec5.mp4?v=1718369021",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:36,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_f4832882-abae-4211-81b1-864bb4454ec5.webp?v=1718369036",gif_image:null,total_views:58,total_like:2,total_share:1,total_whatsapp:0,in_stock:!0},{event_id:51764,storyset_id:2429,storyset_name:"Airforce",storyset_thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_2f9f937f-690d-4924-9151-b10e11ef8885.webp?v=1718369042",storyset_event_rank:2,storyset_dynamic_thumbnail:!0,products:[{product_id:45595,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/nike-air-force-1-07-lv8",client_product_id:"8177876074634",price:"125.00",currency:null,title:"Nike Air Force 1 '07 LV8",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/air-force-1-07-lv8-mens-shoes-CgLD9b_1.webp?v=1717564002",compare_price:"150.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-05",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_ae3074b5-de26-4ab0-ac18-cfc72dfe8abb.mp4?v=1717564353",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_ae3074b5-de26-4ab0-ac18-cfc72dfe8abb.mp4?v=1717564346",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!1,rank:59,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_ae3074b5-de26-4ab0-ac18-cfc72dfe8abb.webp?v=1717564360",gif_image:null,total_views:10,total_like:0,total_share:0,total_whatsapp:0,in_stock:!0},{event_id:54144,storyset_id:2429,storyset_name:"Airforce",storyset_thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_2f9f937f-690d-4924-9151-b10e11ef8885.webp?v=1718369042",storyset_event_rank:3,storyset_dynamic_thumbnail:!0,products:[],cta:[{cta_id:616,cta_link:"https://whatmore.ai",client_cta_id:"https://whatmore.ai",cta_title:"",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-14",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_b2df1a7d-e4fc-4947-823a-32d905e3dd65.mp4?v=1718369027",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_b2df1a7d-e4fc-4947-823a-32d905e3dd65.mp4?v=1718369020",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:34,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_b2df1a7d-e4fc-4947-823a-32d905e3dd65.webp?v=1718369034",gif_image:null,total_views:13,total_like:0,total_share:0,total_whatsapp:0,in_stock:!0},{event_id:54145,storyset_id:2429,storyset_name:"Airforce",storyset_thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_2f9f937f-690d-4924-9151-b10e11ef8885.webp?v=1718369042",storyset_event_rank:4,storyset_dynamic_thumbnail:!0,products:[{product_id:49151,brand:"whatmore-dev",product_link:"https://mymoonstruck.com/products/multi-color-floral-print-front-mid-waist-cut-maxi",client_product_id:"8451541336276",price:"1999.00",currency:"INR",title:"Mid-Waist Cut Maxi Dress with Multi-Color Floral Print",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0214/9724/9892/files/044A5356.jpg?v=1717840649",compare_price:"3499.00",product_metadata:null,product_status:"active"}],cta:[{cta_id:616,cta_link:"https://whatmore.ai",client_cta_id:"https://whatmore.ai",cta_title:"",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-14",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_2f9f937f-690d-4924-9151-b10e11ef8885.mp4?v=1718369034",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_2f9f937f-690d-4924-9151-b10e11ef8885.mp4?v=1718369026",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:35,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_2f9f937f-690d-4924-9151-b10e11ef8885.webp?v=1718369042",gif_image:null,total_views:9,total_like:0,total_share:0,total_whatsapp:0,in_stock:!0},{event_id:54143,storyset_id:2429,storyset_name:"Airforce",storyset_thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_2f9f937f-690d-4924-9151-b10e11ef8885.webp?v=1718369042",storyset_event_rank:5,storyset_dynamic_thumbnail:!0,products:[],cta:[{cta_id:616,cta_link:"https://whatmore.ai",client_cta_id:"https://whatmore.ai",cta_title:"",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-14",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2r0bijhs9mx1s.cloudfront.net/whatmoredev/tn_630a1493-8a5a-463d-baa3-e852c9f59eb0.mp4",discount_coupon_image:"",event_hls_url:"https://d1zl4k1t5o4s75.cloudfront.net/whatmoredev/1080p_630a1493-8a5a-463d-baa3-e852c9f59eb0.mp4",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:33,event_state:"ready",poster_image:"https://whatmorelive-brand-image-poster-assets.b-cdn.net/whatmoredev/poster_630a1493-8a5a-463d-baa3-e852c9f59eb0.webp",gif_image:null,total_views:13,total_like:0,total_share:0,total_whatsapp:0,in_stock:!0}],o=[{event_id:53794,title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-13",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_fa2c9012-744f-4ed4-b57f-999e4416d173.mp4?v=1718279110",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_fa2c9012-744f-4ed4-b57f-999e4416d173.mp4?v=1718279102",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:28,event_state:"ready",products:[],cta:[{cta_id:616,cta_link:"https://whatmore.ai",client_cta_id:"https://whatmore.ai",cta_title:"",thumbnail_image:"",cta_type:""}]},{event_id:53796,title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-13",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_f6a021eb-d66f-4fe6-8344-6d57f0c59bd3.mp4?v=1718279143",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_f6a021eb-d66f-4fe6-8344-6d57f0c59bd3.mp4?v=1718279136",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:30,event_state:"ready",products:[],cta:[{cta_id:616,cta_link:"https://whatmore.ai",client_cta_id:"https://whatmore.ai",cta_title:"",thumbnail_image:"",cta_type:""}]},{event_id:97566,title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-11-07",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_92d8c48a-f937-4e2e-8cd4-e93b0af583cb.mp4?v=1730968309",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_92d8c48a-f937-4e2e-8cd4-e93b0af583cb.mp4?v=1730968301",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:271,event_state:"ready",products:[],cta:[{cta_id:616,cta_link:"https://whatmore.ai",client_cta_id:"https://whatmore.ai",cta_title:"",thumbnail_image:"",cta_type:""}]}],r=[{event_id:53437,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,storyset_dynamic_thumbnail:!1,products:[{product_id:45352,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/air-jordan-11-retro-low-black-varsity-royal",client_product_id:"8172829409418",price:"150.00",currency:null,title:'Air Jordan 11 Retro Low "Black/Varsity Royal"',description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/air-jordan-11-retro-low-black-varsity-royal-big-kids-shoes-Fw0r7C_5.webp?v=1717415768",compare_price:"13000.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-12",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_dff713cb-45c9-47bd-b895-284fb57844d7.mp4?v=1718177755",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_dff713cb-45c9-47bd-b895-284fb57844d7.mp4?v=1718177747",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:20,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_dff713cb-45c9-47bd-b895-284fb57844d7.webp?v=1718177762",gif_image:null,total_views:49,total_like:1,total_share:1,total_whatsapp:0,in_stock:!0},{event_id:53412,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,storyset_dynamic_thumbnail:!1,products:[{product_id:45352,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/air-jordan-11-retro-low-black-varsity-royal",client_product_id:"8172829409418",price:"150.00",currency:null,title:'Air Jordan 11 Retro Low "Black/Varsity Royal"',description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/air-jordan-11-retro-low-black-varsity-royal-big-kids-shoes-Fw0r7C_5.webp?v=1717415768",compare_price:"13000.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-12",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_bedf634b-94eb-4f1b-be9a-cca174a1cbcb.mp4?v=1718176568",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_bedf634b-94eb-4f1b-be9a-cca174a1cbcb.mp4?v=1718176560",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:6,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_bedf634b-94eb-4f1b-be9a-cca174a1cbcb.webp?v=1718176574",gif_image:null,total_views:42,total_like:1,total_share:2,total_whatsapp:0,in_stock:!0},{event_id:51771,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,storyset_dynamic_thumbnail:!1,products:[{product_id:45352,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/air-jordan-11-retro-low-black-varsity-royal",client_product_id:"8172829409418",price:"150.00",currency:null,title:'Air Jordan 11 Retro Low "Black/Varsity Royal"',description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/air-jordan-11-retro-low-black-varsity-royal-big-kids-shoes-Fw0r7C_5.webp?v=1717415768",compare_price:"13000.00",product_metadata:null,product_status:"active"}],cta:[{cta_id:981,cta_link:"https://www.youtube.com/watch?v=o8MPzuKa0kk",client_cta_id:"https://www.youtube.com/watch?v=o8MPzuKa0kk",cta_title:"yt video",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-05",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_6179c4ad-b50b-46ec-bea7-c295f194ee65.mp4?v=1717564356",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_6179c4ad-b50b-46ec-bea7-c295f194ee65.mp4?v=1717564349",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!1,rank:58,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_6179c4ad-b50b-46ec-bea7-c295f194ee65.webp?v=1717564363",gif_image:null,total_views:73,total_like:1,total_share:0,total_whatsapp:0,in_stock:!0}]},6649:function(t,e,a){var i=a(9950);e.A=({triggerOnce:t=!1,root:e=null,rootMargin:a="0px",threshold:n=0}={})=>{const[o,r]=(0,i.useState)(!1),[s,l]=(0,i.useState)(null),c=(0,i.useRef)(null);return(0,i.useEffect)(()=>{const i=new IntersectionObserver((e,a)=>{e.forEach(e=>{l(e),e.isIntersecting?(r(!0),t&&a.disconnect()):t||r(!1)})},{root:e,rootMargin:a,threshold:n});return c.current&&i.observe(c.current),()=>{i.disconnect()}},[t,e,a,n]),[c,o,s]}},7802:function(t,e,a){a.d(e,{Hl:function(){return n},Np:function(){return r},Po:function(){return s},Z_:function(){return i},Zf:function(){return c},d8:function(){return l},zJ:function(){return o}});const i=function(t,e){return!((void 0==t.products||0==t.products.length)&&(void 0==t.cta||0==t.cta.length))},n=function(t,e){return!(void 0==t.products||0==t.products.length)},o=function(t){if(null!=t)return t.filter(t=>{var e;return null===(e=null===t||void 0===t?void 0:t.in_stock)||void 0===e||e})},r=function(t,e=!1){var a,i;if(null!=t)return e?{events:t.events[0].events,all_events:null!==(i=null===t||void 0===t?void 0:t.all_events)&&void 0!==i?i:[]}:{events:null===t||void 0===t?void 0:t.events,all_events:null!==(a=null===t||void 0===t?void 0:t.all_events)&&void 0!==a?a:[]}};const s=function(t,e){var a,i;let n=[];if(null==t)return[];if("eventsets"in t&&t.eventsets[e]){const a=function(t){if(null==t||0==t.length)return[];let e=[];return t.forEach(t=>{e=e.concat(t.events)}),e}(t.eventsets[e]);n=[...a]}return{events:n,all_events:null!==(a=null===(i=n)||void 0===i?void 0:i.all_events)&&void 0!==a?a:[]}};function l(t){if(null!=t){var e=0;return t.forEach(t=>{t.index=e++}),t}}function c(t){if(null==t)return;let e=0;return t.reduce((t,a)=>{var i;return(null===(i=null===a||void 0===a?void 0:a.in_stock)||void 0===i||i)&&(a.index=e++,t.push(a)),t},[])}},8154:function(t,e,a){a.r(e);var i=a(9950),n=a(1348),o=a(964),r=a(5830),s=a(140),l=a(4533),c=a(851),d=a(1085),_=a(6613),p=a(3330),u=(a(3262),a(572)),m=a(6641),h=a(8603),f=a(2039),v=a(4833),b=a(7802),y=a(2979),g=a(6157),w=a(5551),k=a(69),x=a(9821),S=a(6018),j=a(4414);const A=(0,h.A)({key:"whatmore-css-wsv"}),N=i.lazy(()=>Promise.all([a.e(304),a.e(946),a.e(607),a.e(187),a.e(987),a.e(411),a.e(688),a.e(657)]).then(a.bind(a,4688)));e.default=function(t){const[e,a]=(0,i.useState)(),[h,T]=(0,i.useState)(),[C]=(0,r.QN)("isInDesignMode"),[E]=(0,r.QN)("isDemoBrand"),[I,R]=(0,i.useState)(-2),[P]=(0,r.QN)("whatmoreShopId"),L=(0,r.Xd)("isLandingSharedLink"),q=(0,r.Xd)("whatmoreShareTemplateId"),z=((0,r.Xd)("whatmoreShareStoryId"),(0,r.Xd)("whatmoreShareEventId")),M=(0,r.Xd)("whatmoreLandingLocationType"),D=(0,r.Xd)("whatmoreLoggingActive"),O=(0,r.Xd)("isWhatmorePreviewMode"),{whatmoreWidgetSourceDetails:F}=(0,i.useContext)(w.B);var B=(0,n.SOt)(P)?o.aD+"/get_eventset/":o.$$+"/get_eventset/",G=(0,n.SOt)(P)?o.aD+"/get_eventset_v1/":o.$$+"/get_eventset_v1/";(0,i.useEffect)(()=>{(0,l.wm)()},[]),(0,i.useEffect)(()=>{(0,p.initializeGA)(P)},[]),(0,i.useEffect)(()=>{null==e||0==e.length||h||!(0,_.MN)()||(0,r.Xd)("whatmoreVideoPlayerPoolInitiated")||((0,x._)()?(0,d.Pc)(d.F5):(0,k.bi)())},[e]),(0,i.useEffect)(()=>{R(-1);const t=v.JA,e=(0,v.t6)(M),i="78232846646"===P.toString()?G.toString()+P.toString()+"?eventset_type="+t+"&event_type=video&source="+e+"&source_id="+P:B.toString()+P.toString()+"?eventset_type="+t+"&source="+e+"&source_id="+P;fetch(i).then(t=>t.json()).then(e=>(0,b.Po)(e,t)).then(t=>{if(O&&(null==t||t&&0==(null===t||void 0===t?void 0:t.length)))return a(S.n),S.n;let e=[...null===t||void 0===t?void 0:t.events,...null===t||void 0===t?void 0:t.all_events];return(0,n.xku)(P)||(e=(0,b.zJ)(e)),a(e),e}).catch(t=>{T(t.message)})},[]),(0,i.useEffect)(()=>{R(-2)},[e]),(0,i.useEffect)(()=>{null==e||0==e.length||h||L&&"template-embed"==(0,v.Mm)(q)&&null!=z&&e.forEach((t,e)=>{z==t.event_id&&V(t,!0,e)})},[e]);const H=F.landingLocationType,Q=F.templateType,V=(t,e=!1,a=0)=>{if((0,_.MN)()&&!e&&((0,x._)()?(0,d.bo)():(0,k.Ij)()),(0,f.ij)(t)||(0,f.Il)(t))return C||E||(async()=>{const e=(0,v.Wd)(H)+(0,v.gf)(Q)+(null!==t&&void 0!==t&&t.isRelatedEvent?"R":"E")+"_"+(null===t||void 0===t?void 0:t.event_id);(0,s.lB)(t),(0,p.sendVideoViewEventToGA)(P,o.DK,o.K1),(0,l.Ch)(t.event_id,t.products,"spotlight","video_popup",e)})(),void R(a)};function K(){return(0,j.jsx)(j.Fragment,{})}return null==e||0==e.length||h?(0,j.jsx)("div",{}):(D&&(0,m.xv)(e),(0,n.ALN)(P)&&I<0&&null!==localStorage.getItem("_whatmore_spotlight_viewed")?(0,j.jsx)(j.Fragment,{}):(localStorage.setItem("_whatmore_spotlight_viewed",!0),(0,j.jsx)(u.C,{value:A,children:-1===I||0===e.length?(0,j.jsx)(K,{}):-2===I&&e.length>0?(0,j.jsx)("div",{children:(0,j.jsx)(y.S,{userInteractionType:g.O.SPOTLIGHT_WIDGET_VIEW,event:e[0],productList:e[0].products,cta:e[0].cta,triggerFlag:!C&&!E,children:(0,j.jsx)(c.A,{event:e[0],inVideoClick:V,closeClick:t=>{t.stopPropagation(),R(-1)},isSpotlight:!0})})}):(0,j.jsx)("div",{children:(0,j.jsx)(i.Suspense,{children:(0,j.jsx)(y.S,{userInteractionType:g.O.EVENT_VIEW,event:e[0],productList:e[0].products,cta:e[0].cta,triggerFlag:!C&&!E,children:(0,j.jsx)(N,{events:e,index:I,onBack:function(){R(-2)},template:"template-embed"})})})})})))}},9733:function(){}}]);
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[262,365,717],{22:function(t,e,a){a.d(e,{$S:function(){return s},_:function(){return i},b4:function(){return n},dl:function(){return o},nN:function(){return c},tn:function(){return l},vF:function(){return r}});const i="device_type",o="device_mode",n="mobile",r="tablet",s="desktop",l="portrait",c="landscape"},69:function(t,e,a){a.d(e,{Ij:function(){return n},bi:function(){return r}});let i,o=!1;function n(){return i?i.play().then(()=>{o=!0,console.debug("iOS autoplay restrictions bypassed."),i.pause()}).catch(t=>{console.error("Failed to bless videos:",t.message)}):Promise.reject(new Error("Blessing video not initialized."))}function r(){i||(i=document.createElement("video"),i.src="https://whatmore-other-assets.b-cdn.net/whatmore/dummy_for_video_pool_3s_muted_11kb.mp4",i.muted=!0,i.playsInline=!0,i.style.display="none",document.body.appendChild(i));const t=()=>{o||n()};document.addEventListener("click",t,{once:!0}),document.addEventListener("touchstart",t,{once:!0})}},851:function(t,e,a){a.d(e,{A:function(){return v}});var i=a(1005),o=a(9950),n=a(9879),r=a(22),s=a(5830),l=a(932);var c=function(t){const[e,a,i,o,n]=(0,l.A)(),[c]=(0,s.QN)("whatmoreEmbedAppVideoPlayerSizePortrait"),[d]=(0,s.QN)("whatmoreEmbedAppVideoPlayerSizeLandscape"),_=n[r.dl]===r.nN?d/100:c/100*1.2;return[e*_,a*_,n]},d=a(1628),_=a.n(d),p=a(6702),u=(a(9733),a(4365),a(1348)),m=a(4414);var h=({size:t,color:e="rgba(255, 255, 255, 0.9)"})=>(0,m.jsxs)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:{cursor:"pointer",transition:"all 0.3s ease",filter:"drop-shadow(0 2px 6px rgba(0,0,0,0.5))"},className:"premium-close-icon",children:[(0,m.jsx)("circle",{cx:"12",cy:"12",r:"10",fill:"rgba(0, 0, 0, 0.6)",stroke:"rgba(255, 255, 255, 0.3)",strokeWidth:"1.5",style:{transition:"all 0.3s ease"}}),(0,m.jsx)("path",{d:"M15 9l-6 6M9 9l6 6",stroke:e,strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",style:{transition:"all 0.3s ease"}})]});var f=({size:t,color:e="rgba(255, 255, 255, 0.95)"})=>(0,m.jsxs)("svg",{width:.7*t,height:.7*t,viewBox:"0 0 80 80",fill:"none",style:{filter:"drop-shadow(0 8px 24px rgba(0,0,0,0.5))",transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)",cursor:"pointer"},className:"premium-play-icon",children:[(0,m.jsx)("circle",{cx:"40",cy:"40",r:"28",fill:"url(#playGradient)",stroke:"rgba(255, 255, 255, 0.2)",strokeWidth:"1.5",style:{backdropFilter:"blur(20px)"}}),(0,m.jsx)("path",{d:"M32 26 L32 54 L56 40 Z",fill:e,stroke:"none",style:{filter:"drop-shadow(0 2px 8px rgba(0,0,0,0.3))"}}),(0,m.jsxs)("defs",{children:[(0,m.jsxs)("radialGradient",{id:"playGradient",cx:"0.3",cy:"0.3",r:"0.8",children:[(0,m.jsx)("stop",{offset:"0%",stopColor:"rgba(255, 255, 255, 0.25)"}),(0,m.jsx)("stop",{offset:"70%",stopColor:"rgba(255, 255, 255, 0.08)"}),(0,m.jsx)("stop",{offset:"100%",stopColor:"rgba(255, 255, 255, 0.02)"})]}),(0,m.jsxs)("radialGradient",{id:"playGradientHover",cx:"0.3",cy:"0.3",r:"0.8",children:[(0,m.jsx)("stop",{offset:"0%",stopColor:"rgba(255, 255, 255, 0.4)"}),(0,m.jsx)("stop",{offset:"70%",stopColor:"rgba(255, 255, 255, 0.15)"}),(0,m.jsx)("stop",{offset:"100%",stopColor:"rgba(255, 255, 255, 0.05)"})]})]}),(0,m.jsx)("style",{jsx:!0,children:"\n .premium-play-icon:hover { transform: scale(1.1); filter: drop-shadow(0 12px 32px rgba(0,0,0,0.6)); }\n .premium-play-icon:hover circle { fill: url(#playGradientHover); stroke: rgba(255, 255, 255, 0.4); transform: scale(1.05); }\n .premium-play-icon:hover path { fill: white; transform: translateX(1px); }\n .premium-play-icon:active { transform: scale(0.95); }\n "})]});var v=function(t){var e;const a=o.useRef(null);var[l,d,v]=c();(0,s.Xd)("whatmoreUITheme");const[b]=(0,s.QN)("whatmorePrimaryFont"),[y]=(0,s.QN)("whatmoreEmbedAppVideoTitle"),[g]=(0,s.QN)("whatmoreEmbedAppPositionPortrait"),[w]=(0,s.QN)("whatmoreEmbedAppHorizontalPaddingPortrait"),[k]=(0,s.QN)("whatmoreEmbedAppVerticalPaddingPortrait"),[x]=(0,s.QN)("whatmoreEmbedAppPositionLandscape"),[S]=(0,s.QN)("whatmoreEmbedAppHorizontalPaddingLandscape"),[j]=(0,s.QN)("whatmoreEmbedAppVerticalPaddingLandscape"),A=(0,s.Xd)("whatmoreShopId"),N=(0,s.Xd)("isWhatmorePreviewMode");var T=g,C=w,E=k;v[r.dl]===r.nN&&(T=x,C=S,E=j);const[I,R]=(0,o.useState)(["initial",window.pageYOffset]),[P,L]=(0,o.useState)(!1),q=null!==(e=t.isSpotlight)&&void 0!==e&&e,z=v[r.dl]===r.nN?.8*(0,u.O86)(A):1.2*(0,u.O86)(A),M=q?z:1.2;l*=M,d*=M;const D=q?(0,u.LrK)(A):T,O=q?(0,u._2D)(A):(0,u.GSq)(A),[F,B]=(0,o.useState)(!q&&(0,u.n8Q)(A)),G=!q&&(0,u.YE3)(A);function Q(t,e){R(t),t[1]<=100?L(!1):e!=P&&(L(e),B(!1))}(0,o.useEffect)(()=>{let t=window.pageYOffset,e=!1;const a=()=>{const a=window.pageYOffset;Math.abs(a-t)<100||(Q([a>t?"scrolled-down":"scrolled-up",a],!0),t=a>0?a:0),e=!1},i=()=>{e||(window.requestAnimationFrame(a),e=!0)};return window.addEventListener("scroll",i),()=>window.removeEventListener("scroll",i)},[I]),(0,i.j)({ref:a,handler:()=>{Q(["scrolled-up",I[1]],!0)}});const V=t.event,H=t.inVideoClick,K=t.closeClick,W=.25*d,J=.5*d,X=.6*d,$="20px",U=(0,u.GvQ)(A);var Y=!1,Z=0,tt=0;function et(t){Y=t}return(0,m.jsx)("div",{className:"wht-popup",children:F&&!O?(0,m.jsx)(m.Fragment,{}):P&&O?(0,m.jsx)("div",{style:"left"===D?{left:"16px",bottom:q?(0,u.pUQ)(A)+"px":E+"px",position:"fixed",zIndex:U}:{right:"16px",bottom:q?(0,u.pUQ)(A)+"px":E+"px",position:"fixed",zIndex:U},children:(0,m.jsxs)("div",{onClick:()=>{Q(["initial",I[1]],!1)},style:{width:X+"px",height:X*(16/9)+"px",borderRadius:$,overflow:"hidden",backgroundColor:"transparent",boxShadow:"0 12px 24px rgba(0, 0, 0, 0.3), 0 4px 8px rgba(0, 0, 0, 0.2)",backdropFilter:"blur(15px)",cursor:"pointer",transition:"all 0.3s ease",transformStyle:"preserve-3d"},className:"left"===D?"whatmore-ultraminimized-video-view-left":"whatmore-ultraminimized-video-view-right",children:[(0,m.jsx)("div",{style:{overflow:"hidden",borderRadius:$,background:"linear-gradient(145deg, rgba(0,0,0,0.1), rgba(0,0,0,0.2))"},children:(0,m.jsx)("div",{style:{width:"100%",height:"100%",aspectRatio:16/9},children:(0,m.jsx)(n.A,{url:V.thumbnail_image,isPlaying:!1,event:V})})}),(0,m.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",width:"100%",height:"100%"},children:(0,m.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",height:"100%"},children:[(0,m.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"flex-end",width:"100%",height:"fit-content",padding:"2px",position:"absolute",top:"0",right:"0",zIndex:10},children:(0,m.jsx)("div",{className:"whatmore-ultraminimized-content-scale-out",onClick:t=>{t.stopPropagation(),K()},children:(0,m.jsx)(h,{size:.8*W})})}),(0,m.jsx)("div",{style:{height:"100%",display:"flex",flexFlow:"column nowrap",alignItems:"center",justifyContent:"center"},children:(0,m.jsx)(p.A,{sx:{color:"white",fontSize:2*W+"px",filter:"drop-shadow(0 0 2px black);"}})})]})})]})}):(0,m.jsx)(_(),{nodeRef:a,cancel:".activate-button,.close-btn",bounds:N?"parent":"html",defaultClassName:"whatmore-react-draggable",defaultClassNameDragging:"whatmore-react-draggable-dragging",defaultClassNameDragged:"whatmore-react-draggable-dragged",onStart:(t,e)=>{var a,i;a=e.x,i=e.y,Z=a,tt=i},onDrag:(t,e)=>{et(!0)},onStop:(t,e)=>{Y&&(Math.abs(e.x-Z)>5||Math.abs(e.y-tt)>5)?et(!1):(G&&K(t),H(V))},children:(0,m.jsx)("div",{ref:a,style:"left"===D?{left:q?(0,u.D2A)(A)+"px":C+"px",bottom:q?(0,u.pUQ)(A)+"px":E+"px",position:"fixed",zIndex:U}:{right:q?(0,u.D2A)(A)+"px":C+"px",bottom:q?(0,u.pUQ)(A)+"px":E+"px",position:"fixed",zIndex:U},children:(0,m.jsxs)("div",{style:{boxSizing:"border-box",width:t.isSpotlight&&"60122562760"==A?l+"px":d+"px",height:t.isSpotlight&&"60122562760"==A?d+"px":l+"px",borderRadius:$,overflow:"hidden",backgroundColor:"transparent",boxShadow:"0 20px 40px rgba(0, 0, 0, 0.3), 0 8px 16px rgba(0, 0, 0, 0.2)",backdropFilter:"blur(20px)",transition:"all 0.3s ease"},className:"left"===D?"whatmore-minimized-video-view-left":"whatmore-minimized-video-view-right",children:[(0,m.jsx)("div",{style:{overflow:"hidden",position:"relative",borderRadius:$,background:"linear-gradient(145deg, rgba(0,0,0,0.1), rgba(0,0,0,0.3))"},children:(0,m.jsx)("div",{style:{width:"100%",height:"100%",aspectRatio:t.isSpotlight&&"60122562760"==A?16/9:9/16},children:(0,m.jsx)(n.A,{url:V.thumbnail_image,isMuted:!0,isPlaying:!0,event:V})})}),(0,m.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",width:"100%",height:"100%"},children:(0,m.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",height:"100%",position:"relative"},children:[(0,m.jsx)("div",{style:{position:"absolute",top:"2px",right:"2px",zIndex:10},children:(0,m.jsx)("div",{className:"close-btn",onClick:K,children:(0,m.jsx)(h,{size:W})})}),(0,m.jsx)("div",{style:{marginLeft:"auto",marginRight:"auto",marginTop:"auto",marginBottom:"auto"},children:(0,m.jsx)(f,{size:J})}),(0,m.jsx)("div",{style:{paddingLeft:"16px",paddingRight:"16px",paddingBottom:"16px",borderBottomLeftRadius:$,borderBottomRightRadius:$,background:y?"linear-gradient(to bottom, transparent, rgba(0,0,0,0.8))":"transparent"},children:(0,m.jsx)("p",{style:{textAlign:"center",color:"white",fontFamily:b,fontWeight:"600",fontSize:.35*W+"px",margin:0,padding:0,lineHeight:"125%",letterSpacing:"0.3px",textShadow:"0 2px 4px rgba(0,0,0,0.5)"},children:y})})]})})]})})})})}},932:function(t,e,a){var i=a(5830),o=a(1941),n=a(22),r=a(1348);e.A=function(t){const[e,a,s]=(0,o.A)(),[l]=(0,i.QN)("whatmoreLandscapePadding"),[c]=(0,i.QN)("whatmoreShopId"),[d]=(0,i.QN)("whatmoreVideoTileSize"),[_]=(0,i.QN)("whatmoreVideoTileSizePortrait"),p=s>a,u="portrait"==e?_:d,m=!("portrait"!=e||!(s>=481)),h=u/100*1.3*.5,f=u/100;var v=Math.min(s,a),[b,y,g,w]=[.6*v*(16/9),.6*v,1.4,0];function k(t){return Math.round(10*t)/10}var x={DEVICE_TYPE:n.b4,DEVICE_MODE:n.tn};if(p){const t=y*h,e=b*h;[b,y,g,w]=[e,t,(s-2*l-2*(0,r.$du)(c))/(1.1*t),l],x[n._]=n.$S,x[n.dl]=n.nN}else if(m){var S=.8*y,j=.8*b;"portrait"==e?(S*=f,j*=f,[b,y,g,w]=[j,S,k(s/(1.2*S)),0],x[n._]=n.vF,x[n.dl]=n.tn):([b,y,g,w]=[j,S,(s-2*l)/(1.1*S),l],x[n._]=n.vF,x[n.dl]=n.nN)}else{S=y,j=b;"portrait"==e?(S=S*f*.9,j=j*f*.9,[b,y,g,w]=[j,S,k(s/(1.15*S)),0],x[n._]=n.b4,x[n.dl]=n.tn):(S=.7*y,j=.7*b,[b,y,g,w]=[j,S,(s-2*l)/(1.1*S),l],x[n._]=n.b4,x[n.dl]=n.nN)}return[b,y,g,w,x]}},3262:function(t,e,a){a.r(e),a.d(e,{initiateCartSliderEvent:function(){return n}});var i=a(5830),o=a(1745);const n=async function(t,e,a,n,r="",s="",l="",c="",d="",_=""){(0,i.Xd)("whatmoreLandingLocationType");if("STRNV8MHJTF"==t||"STR6HU283UZ"==t||"STR9T3LLEJB"==t||"STRWJMIOJNX"==t||"STRUDQ36YAC"==t||"STR1D5ONOZX"==t){console.log("Executing cart refresh script..");return void(document.getElementById("whatsmorecart").value=Math.random())}if("58692075703"===t)return fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:r,quantity:1})}).then(t=>{if(!t.ok)throw new Error("Add to cart failed");return t.json()}).then(t=>{"function"===typeof window.openGokwikSideCart&&window.openGokwikSideCart(),setTimeout(()=>{f(r)},500)}).catch(t=>console.error("[Whatmore] Lakshita ATC error:",t)),void setTimeout(e,a);if("56444977250"===t){const t=document.querySelector('button[data-pf-type="ProductATC2"]');return t?(s&&t.setAttribute("data-product-id",s),t.click(),setTimeout(()=>{(0,o.js)().then(t=>t.json()).then(t=>{const e=t.items.find(t=>String(t.id)===String(r));if(e){const t=e.key,a=e.quantity,i=e.properties;(0,o.CP)(t,a,i,l,c,d,!0,!0,!0)}})},500),void setTimeout(e,a)):(fetch(null===_||void 0===_||null===(p=_.split("?"))||void 0===p?void 0:p[0]).then(t=>t.text()).then(t=>{const e=(new DOMParser).parseFromString(t,"text/html").querySelector('button[data-pf-type="ProductATC2"]');e&&s&&e.setAttribute("data-product-id",s)}),void setTimeout(e,a));var p}if("64379584700"===t)return fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:r,quantity:1})}).then(t=>t.json()).then(t=>fetch("/cart.js")).then(t=>t.json()).then(t=>{$(".paira-cart-item-count").text(t.item_count),$(".paira-cartEmpty").hide(),$(".paira-cartNotEmpty").show(),$(".paira-cart-total-price .money").text("Rs. "+t.total_price/100),$(".cart-drop").addClass("open"),$(".cart-icon").trigger("mouseenter"),setTimeout(()=>{f(r)},500)}).catch(t=>console.error("Add to cart error:",t)),void setTimeout(e,a);if("76767920441"===t)return fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:r,quantity:1})}).then(t=>t.json()).then(t=>{"function"===typeof window.openGokwikSideCart&&window.openGokwikSideCart(),setTimeout(()=>{f(r)},500)}).catch(t=>console.error("Add to cart error:",t)),void setTimeout(e,a);if("70840582336"===t){const t=r,i=1,o=document.querySelector('product-form form.product-form, form[action*="/cart/add"]');if(o){let n=o.querySelector('input[name="id"]');n||(n=document.createElement("input"),n.type="hidden",n.name="id",o.appendChild(n)),n.disabled=!1,n.value=t;const r=o.querySelector('input[name="quantity"]');r&&(r.value=i);const s=o.querySelector('button[data-add-to-cart], button[type="submit"]');return s?(s.dispatchEvent(new MouseEvent("pointerdown",{bubbles:!0})),s.click(),s.dispatchEvent(new MouseEvent("pointerup",{bubbles:!0}))):console.warn("[ATC] button not found"),setTimeout(()=>{f(t)},500),void setTimeout(e,a)}return void fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({id:t,quantity:i}),credentials:"same-origin"}).then(()=>{setTimeout(()=>{f(t)},500),setTimeout(e,a)}).catch(t=>{console.error("[ATC] error for 70840582336:",t),setTimeout(e,a)})}if("64683278550"===t){try{const t=document.querySelector('form[action="/cart/add"]');if(!t)return console.warn("[ATC 64683278550] form not found"),void setTimeout(e,a);const i=t.querySelector('input[name="id"]');if(!i)return console.warn("[ATC 64683278550] id input not found"),void setTimeout(e,a);i.value=r;const o=t.querySelector('button[type="submit"]');if(!o)return console.warn("[ATC 64683278550] submit button not found"),void setTimeout(e,a);o.click(),setTimeout(()=>{f(r)},500),setTimeout(e,a)}catch(y){console.error("[ATC 64683278550] error:",y),setTimeout(e,a)}return}const u=e=>{if("61126934766"==t){let t=e.querySelector(".productView-buttons").querySelector('form[action*="/cart/add"]');if(t)return t}let a=Array.from(e.querySelectorAll("product-form")).find(t=>t.querySelector('form > input[name="id"]')&&t.querySelector('form button[type="submit"]'));return a||(a=Array.from(e.querySelectorAll('form[action*="/cart/add"]')).find(t=>t.querySelector('button[type="submit"]'))),a},m=(e,a,i)=>{const o=e.cloneNode(!0);if(o){o.hasAttribute("data-product-variant-id")&&o.setAttribute("data-product-variant-id",a),o.hasAttribute("data-product-id")&&o.setAttribute("data-product-id",i);let e=o.querySelector('input[name="id"]');if(e)e.setAttribute("value",a),e.hasAttribute("disabled")&&e.removeAttribute("disabled");else{const t=o.querySelector('select[name="id"]');if(t){const e=t.querySelector('option[selected="selected"]');e&&e.setAttribute("value",a)}}const n=o.querySelector('input[name="product-id"]');n&&n.setAttribute("value",i);const r=document.createElement("div");return r.className="whatmore-atc",r.appendChild(o),document.body.appendChild(r),console.log(r,"formElement"),"92319318403"===t&&((t,e,a)=>{var i;const o=null!==(i=t.matches)&&void 0!==i&&i.call(t,"form")?t:t.querySelector("form");if(!o)return;let n=o.querySelector('input[name="id"]');n||(n=document.createElement("input"),n.type="hidden",n.name="id",o.prepend(n)),n.value=String(e),n.removeAttribute("disabled");const r=o.querySelector('select[name="id"]');r&&([...r.options].some(t=>t.value===String(e))?(r.value=String(e),[...r.options].forEach(t=>t.selected=t.value===String(e)),r.dispatchEvent(new Event("change",{bubbles:!0}))):r.removeAttribute("name"));const s=o.querySelector('input[name="product-id"]');s&&(s.value=String(a))})(r,a,i),r}},h=t=>{const e=null===t||void 0===t?void 0:t.querySelector('button[type="submit"]');e&&e.click()},f=t=>{(0,o.js)().then(t=>t.json()).then(e=>{const a=e.items.find(e=>e.id==t),i=a.key,n=a.quantity,r=a.properties;(0,o.CP)(i,n,r,l,c,d,!0,!0,!0)})},v=u(document);if(v||(null===v||void 0===v?void 0:v.length)>0){const t=m(v,r,s);h(t),setTimeout(()=>{f(r)},500),t.remove()}else{var b;fetch(null===_||void 0===_||null===(b=_.split("?"))||void 0===b?void 0:b[0]).then(t=>t.text()).then(t=>{const e=(new DOMParser).parseFromString(t,"text/html"),a=u(e);if(a||(null===a||void 0===a?void 0:a.length)>0){const t=m(a,r,s);h(t),setTimeout(()=>{f(r)},500),t.remove()}})}setTimeout(e,a)}},6018:function(t,e,a){a.d(e,{bannerData:function(){return n},eventsData:function(){return i},n:function(){return r},storiesData:function(){return o}});const i=[{event_id:2333,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:204,brand:"whatmore-dev",product_link:"https://www.aachho.com/products/sadabahaar-chanderi-suit-set",client_product_id:"6780183806018",price:"2800.00",currency:"INR",title:"Sadabahaar Chanderi Suit Set",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/2542/7564/products/5_72f81f91-e027-4497-9dfe-20480b862c54.jpg?v=1684509430",compare_price:"6999.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2022-12-27",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2r0bijhs9mx1s.cloudfront.net/whatmoredev/tn_b9c6f02e-6d5e-4250-97f8-71551c18c4e8.mp4",discount_coupon_image:"",event_hls_url:"https://d3syezql093hs1.cloudfront.net/whatmoredev/b9c6f02e-6d5e-4250-97f8-71551c18c4e8.mp4",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:1,event_state:"ready",poster_image:null,total_views:37,total_like:1,total_share:0,total_whatsapp:0},{event_id:2335,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:2108,brand:"whatmore-dev",product_link:"https://www.ordinaree.com/products/grease-black-designer-blackless-long-dress-for-women-online",client_product_id:"7210211311652",price:"5040.00",currency:"INR",title:"Grease Backless Long Dress",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0106/4897/7444/products/DSC_0377_45ee56eb-1240-4a17-9332-841809f132cf.jpg?v=1673001396",compare_price:"5600.00",product_metadata:null,product_status:"active"},{product_id:1955,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/black-anarkali-and-pant-with-dupatta",client_product_id:"7600010723466",price:"4125.00",currency:"INR",title:"BLACK ANARKALI AND PANT WITH DUPATTA",description:"BLACK ANARKALI AND PANT WITH DUPATTA",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/products/salwarsuitonlineindia-07285.jpg?v=1669434027&width=823",compare_price:"5200.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2022-12-27",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2r0bijhs9mx1s.cloudfront.net/whatmoredev/tn_e433898b-a5ec-4af6-b74f-2153ad609ffb.mp4",discount_coupon_image:"",event_hls_url:"https://d3syezql093hs1.cloudfront.net/whatmoredev/e433898b-a5ec-4af6-b74f-2153ad609ffb.mp4",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:4,event_state:"ready",poster_image:null,total_views:31,total_like:0,total_share:0,total_whatsapp:0},{event_id:2336,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:632,brand:"whatmore-dev",product_link:"https://www.meerasplussizestore.com/products/basil-brick-ajrakh-handblock-printed-kurta",client_product_id:"6864880173194",price:"876.00",currency:"INR",title:"Basil & Brick Ajrakh Handblock Printed Kurta",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0363/0075/0986/products/Dark-Green-Maroon-Pati-Ajrakh-Kurti-SCL_6948.jpg?v=1653729466",compare_price:"2190.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2022-12-27",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2r0bijhs9mx1s.cloudfront.net/whatmoredev/tn_5ddea9a1-4839-4db8-aa1c-843c14dd1cbb.mp4",discount_coupon_image:"",event_hls_url:"https://d3syezql093hs1.cloudfront.net/whatmoredev/5ddea9a1-4839-4db8-aa1c-843c14dd1cbb.mp4",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:5,event_state:"ready",poster_image:null,total_views:21,total_like:0,total_share:0,total_whatsapp:0},{event_id:2338,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:1728,brand:"whatmore-dev",product_link:"https://suta.in/products/ratri-kamal",client_product_id:"6916488003649",price:"4200.00",currency:"INR",title:"Ratri kamal",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0026/6544/7536/products/ratri-kamal-293774.jpg?v=1668084259",compare_price:null,product_metadata:null,product_status:"active"},{product_id:1732,brand:"whatmore-dev",product_link:"https://suta.in/products/kedar-ki-dor-blouse",client_product_id:"6625859502145",price:"4200.00",currency:"INR",title:"Kedar Ki Dor",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0026/6544/7536/files/DSC01009.jpg?v=1712326816",compare_price:null,product_metadata:null,product_status:"active"},{product_id:1736,brand:"whatmore-dev",product_link:"https://suta.in/products/swarna-kamal",client_product_id:"6916483317825",price:"4200.00",currency:"INR",title:"Swarna Kamal",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0026/6544/7536/products/swarna-kamal-472043.jpg?v=1668093054",compare_price:null,product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2022-12-27",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2r0bijhs9mx1s.cloudfront.net/whatmoredev/tn_496a26de-50cd-4823-8731-a97e0757efcf.mp4",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_496a26de-50cd-4823-8731-a97e0757efcf.mp4?v=1677477938",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:6,event_state:"ready",poster_image:null,total_views:28,total_like:0,total_share:0,total_whatsapp:0},{event_id:3255,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:3636,brand:"whatmore-dev",product_link:"https://buysohi.com/products/sohear8383",client_product_id:"7679599771864",price:"543.00",currency:"INR",title:"Gold Plated Pearl Stud",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0626/0218/2872/products/SS22_SOHEAR8383_1.jpg?v=1651755514",compare_price:"1699.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2023-01-24",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2r0bijhs9mx1s.cloudfront.net/whatmoredev/tn_b0045891-f042-47d4-a87a-187c96a1857e.mp4",discount_coupon_image:"",event_hls_url:"https://d3syezql093hs1.cloudfront.net/whatmoredev/b0045891-f042-47d4-a87a-187c96a1857e.mp4",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:7,event_state:"ready",poster_image:null,total_views:36,total_like:1,total_share:3,total_whatsapp:0},{event_id:3877,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:1955,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/black-anarkali-and-pant-with-dupatta",client_product_id:"7600010723466",price:"4125.00",currency:"INR",title:"BLACK ANARKALI AND PANT WITH DUPATTA",description:"BLACK ANARKALI AND PANT WITH DUPATTA",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/products/salwarsuitonlineindia-07285.jpg?v=1669434027&width=823",compare_price:"5200.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2023-02-03",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2r0bijhs9mx1s.cloudfront.net/whatmoredev/tn_CoH_liSAYOj.mp4",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_CoH_liSAYOj_b1999a62-134d-4301-9808-5d09e64a8979.mp4?v=1677477812",presenter_email:null,presenter_phone:null,room_id:null,event_type:"video",is_active:!0,rank:20,event_state:"ready",poster_image:null,total_views:16,total_like:0,total_share:0,total_whatsapp:0},{event_id:4188,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:4459,brand:"whatmore-dev",product_link:"https://theethnic.co/products/black-ruching-jacket-kurta-set",client_product_id:"8011323769076",price:"7499.00",currency:"INR",title:"Black Ruching Jacket Kurta Set",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0650/7937/8164/products/1_5102cd2e-a419-4682-abf1-d9619e6e96d7.jpg?v=1674275880",compare_price:"9999.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2023-02-07",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2r0bijhs9mx1s.cloudfront.net/whatmoredev/tn_c398aa0e-f0ac-4aba-91f5-4b1bcc5b1d51.mp4",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_7acda7d8-9762-47c7-9ee2-35e14db4c3fb.mp4?v=1677477803",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:23,event_state:"ready",poster_image:null,total_views:8,total_like:0,total_share:1,total_whatsapp:0},{event_id:28701,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[],cta:[{cta_id:364,cta_link:"https://lovechild.in/collections/fragrances",client_cta_id:"https://lovechild.in/collections/fragrances",cta_title:"Explore",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-01-10",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2r0bijhs9mx1s.cloudfront.net/whatmoredev/tn_20c05e5e-43cd-45cd-b1a4-5c942fb732d1.mp4",discount_coupon_image:"",event_hls_url:"https://d1zl4k1t5o4s75.cloudfront.net/whatmoredev/1080p_20c05e5e-43cd-45cd-b1a4-5c942fb732d1.mp4",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:57,event_state:"ready",poster_image:null,total_views:0,total_like:0,total_share:0,total_whatsapp:0},{event_id:28767,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:26392,brand:"whatmore-dev",product_link:"https://www.aachho.com/products/shimmering-mustard-sequin-georgette-suit-set",client_product_id:"6981740691522",price:"4199.00",currency:"INR",title:"Shimmering Mustard Sequin Georgette Suit Set",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/2542/7564/files/0H8A1426.jpg?v=1697874844",compare_price:"5999.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-01-11",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_4820fd98-246f-46b7-8af6-be1e949ff0e2.mp4?v=1704973716",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_4820fd98-246f-46b7-8af6-be1e949ff0e2.mp4?v=1704973708",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:58,event_state:"ready",poster_image:null,total_views:0,total_like:0,total_share:0,total_whatsapp:0},{event_id:48,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:24,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/evil-eye-adjustable-ring-gold",client_product_id:"6923301748874",price:"1250.00",currency:"INR",title:"Evil Eye adjustable ring - Gold",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/products/WhatsAppImage2020-09-21at11.38.01AM_1_700x_c51dd690-b6d8-4059-b3e0-13a2edf3feea.jpg?v=1656673474",compare_price:"1300",product_metadata:null,product_status:"active"},{product_id:23,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/rose-water-200ml",client_product_id:"6923319771274",price:"250.00",currency:"INR",title:"ROSE WATER 200ML",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/products/RoseWaterFront-01_250x_2x_c4cd34f3-625d-463a-bf36-3b159322b7ed.png?v=1656673764",compare_price:null,product_metadata:null,product_status:"active"},{product_id:21,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/honey-lemon-face-cleanser-200ml-1",client_product_id:"6923307647114",price:"1300.00",currency:"INR",title:"HONEY & LEMON FACE CLEANSER 200ML",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/products/C5D_9156-01_250x_2x_2f91ab64-e5a4-42f1-baf3-5f3ecffb2b50_1.png?v=1656673584",compare_price:"1340",product_metadata:null,product_status:"active"},{product_id:22,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/honey-lemon-face-cleanser-200ml-1",client_product_id:"6923317051530",price:"350.00",currency:"INR",title:"HONEY AND ROSE BODY CREAM 200ML",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/products/2_250x_2x_47ffd4b3-4100-4afb-b4c8-a09867e40ddb.png?v=1656673726",compare_price:null,product_metadata:null,product_status:"active"}],cta:[{cta_id:73,cta_link:"https://honeyandspice.in/collections/central-indian",client_cta_id:"https://honeyandspice.in/collections/central-indian",cta_title:"Shop Now",thumbnail_image:"",cta_type:""}],title:"BTS of HoneyAndSpice",description:"",brand:"whatmore-dev",scheduled_date:"2023-08-10",status:"upcoming",start_time:"19:00",end_time:"20:00",actual_start_time:null,actual_end_time:null,presenter_name:"Honey and Spice",thumbnail_image:"https://d28nus7q7qajdn.cloudfront.net/videos/whatmore-video-01942fec-68a5-4417-aa28-a0bff121a3ec.mp4",discount_coupon_image:"",event_hls_url:"https://d28nus7q7qajdn.cloudfront.net/videos/whatmore-video-2f0d18e6-a519-4e70-b8b3-529b90a04c28.mp4",presenter_email:null,presenter_phone:"+919888988889",room_id:null,event_type:"video",is_active:!0,rank:59,event_state:"ready",poster_image:null,total_views:13,total_like:0,total_share:0,total_whatsapp:0},{event_id:33888,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:26392,brand:"whatmore-dev",product_link:"https://www.aachho.com/products/shimmering-mustard-sequin-georgette-suit-set",client_product_id:"6981740691522",price:"4199.00",currency:"INR",title:"Shimmering Mustard Sequin Georgette Suit Set",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/2542/7564/files/0H8A1426.jpg?v=1697874844",compare_price:"5999.00",product_metadata:null,product_status:"active"}],cta:[{cta_id:402,cta_link:"https://custom.com",client_cta_id:"https://custom.com",cta_title:"custom",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-02-26",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_2b78b138-b18f-45e3-b8dc-6ce59075872f.mp4?v=1708937498",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_2b78b138-b18f-45e3-b8dc-6ce59075872f.mp4?v=1708937490",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:60,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_2b78b138-b18f-45e3-b8dc-6ce59075872f.webp?v=1708937505",total_views:0,total_like:0,total_share:0,total_whatsapp:0},{event_id:33890,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:26392,brand:"whatmore-dev",product_link:"https://www.aachho.com/products/shimmering-mustard-sequin-georgette-suit-set",client_product_id:"6981740691522",price:"4199.00",currency:"INR",title:"Shimmering Mustard Sequin Georgette Suit Set",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/2542/7564/files/0H8A1426.jpg?v=1697874844",compare_price:"5999.00",product_metadata:null,product_status:"active"}],cta:[{cta_id:402,cta_link:"https://custom.com",client_cta_id:"https://custom.com",cta_title:"custom",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-02-26",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_08ec5ed2-3aca-4d32-b51e-d3f88123cca8.mp4?v=1708937809",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_08ec5ed2-3aca-4d32-b51e-d3f88123cca8.mp4?v=1708937801",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:61,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_08ec5ed2-3aca-4d32-b51e-d3f88123cca8.webp?v=1708937816",total_views:0,total_like:0,total_share:0,total_whatsapp:0},{event_id:33947,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[],cta:[{cta_id:403,cta_link:"https://test.com",client_cta_id:"https://test.com",cta_title:"test",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-02-26",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_81844dee-68c7-425e-96bf-d3ac63c664e7.mp4?v=1708947355",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_81844dee-68c7-425e-96bf-d3ac63c664e7.mp4?v=1708947347",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:62,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_81844dee-68c7-425e-96bf-d3ac63c664e7.webp?v=1708947362",total_views:0,total_like:0,total_share:0,total_whatsapp:0},{event_id:41975,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[],cta:[{cta_id:482,cta_link:"https://tests.com",client_cta_id:"https://tests.com",cta_title:"",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-04-25",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_51411814-cff2-491f-aca3-303e84307049.mp4?v=1714033522",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_51411814-cff2-491f-aca3-303e84307049.mp4?v=1714033514",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:69,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_51411814-cff2-491f-aca3-303e84307049.webp?v=1714033531",total_views:0,total_like:0,total_share:0,total_whatsapp:0},{event_id:41976,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[],cta:[{cta_id:481,cta_link:"https://test1231.com",client_cta_id:"https://test1231.com",cta_title:" ",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-04-25",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_c2a47941-cafb-4765-ac6c-d6414679c6bd.mp4?v=1714033522",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_c2a47941-cafb-4765-ac6c-d6414679c6bd.mp4?v=1714033514",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:70,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_c2a47941-cafb-4765-ac6c-d6414679c6bd.webp?v=1714033530",total_views:0,total_like:0,total_share:0,total_whatsapp:0},{event_id:41977,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[],cta:[{cta_id:403,cta_link:"https://test.com",client_cta_id:"https://test.com",cta_title:"test",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-04-25",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_a0f26d1d-462b-4548-848c-806702cf9c95.mp4?v=1714033522",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_a0f26d1d-462b-4548-848c-806702cf9c95.mp4?v=1714033513",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:71,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_a0f26d1d-462b-4548-848c-806702cf9c95.webp?v=1714033530",total_views:0,total_like:0,total_share:0,total_whatsapp:0}],o=[{event_id:51771,storyset_id:2428,storyset_name:"Jordan 11",storyset_thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_d717c269-b583-49c1-a824-fbff481d4bcf.webp?v=1717565002",storyset_event_rank:1,storyset_dynamic_thumbnail:!0,products:[{product_id:45352,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/air-jordan-11-retro-low-black-varsity-royal",client_product_id:"8172829409418",price:"150.00",currency:null,title:'Air Jordan 11 Retro Low "Black/Varsity Royal"',description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/air-jordan-11-retro-low-black-varsity-royal-big-kids-shoes-Fw0r7C_5.webp?v=1717415768",compare_price:"13000.00",product_metadata:null,product_status:"active"}],cta:[{cta_id:981,cta_link:"https://www.youtube.com/watch?v=o8MPzuKa0kk",client_cta_id:"https://www.youtube.com/watch?v=o8MPzuKa0kk",cta_title:"yt video",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-05",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_6179c4ad-b50b-46ec-bea7-c295f194ee65.mp4?v=1717564356",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_6179c4ad-b50b-46ec-bea7-c295f194ee65.mp4?v=1717564349",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!1,rank:58,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_6179c4ad-b50b-46ec-bea7-c295f194ee65.webp?v=1717564363",gif_image:null,total_views:73,total_like:1,total_share:0,total_whatsapp:0,in_stock:!0},{event_id:62737,storyset_id:2428,storyset_name:"Jordan 11",storyset_thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_d717c269-b583-49c1-a824-fbff481d4bcf.webp?v=1717565002",storyset_event_rank:5,storyset_dynamic_thumbnail:!0,products:[],cta:[{cta_id:616,cta_link:"https://whatmore.ai",client_cta_id:"https://whatmore.ai",cta_title:"",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-07-18",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2oouab8j9eigo.cloudfront.net/whatmoredev/f4a0bd71-f845-4b7e-b33d-2ef49e8eb7e9.webp",discount_coupon_image:"",event_hls_url:"https://d2oouab8j9eigo.cloudfront.net/whatmoredev/f4a0bd71-f845-4b7e-b33d-2ef49e8eb7e9.webp",presenter_email:null,presenter_phone:"",room_id:null,event_type:"image",is_active:!0,rank:71,event_state:"ready",poster_image:null,gif_image:null,total_views:11,total_like:0,total_share:0,total_whatsapp:0,in_stock:!0},{event_id:51761,storyset_id:2430,storyset_name:"86 OG",storyset_thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_ed308ae1-2b51-4645-8887-3eb91e132c0f.mp4?v=1724150740",storyset_event_rank:3,storyset_dynamic_thumbnail:!0,products:[{product_id:45596,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/nike-air-max-1-86-og",client_product_id:"8177839865994",price:"160.00",currency:null,title:"Nike Air Max 1 '86 OG",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/air-max-1-86-og-mens-shoes-gKcnc4_1.jpg?v=1717563099",compare_price:"180.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-05",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_2a1b2831-f396-4ca6-b2af-4e4d2cc8c7af.mp4?v=1724151068",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_8fca9eb3-61f6-43c7-bcb2-8907829984d9.mp4?v=1717564355",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!1,rank:61,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_8fca9eb3-61f6-43c7-bcb2-8907829984d9.webp?v=1717564369",gif_image:null,total_views:38,total_like:1,total_share:0,total_whatsapp:0,in_stock:!0},{event_id:54146,storyset_id:2429,storyset_name:"Airforce",storyset_thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_2f9f937f-690d-4924-9151-b10e11ef8885.webp?v=1718369042",storyset_event_rank:1,storyset_dynamic_thumbnail:!0,products:[],cta:[{cta_id:616,cta_link:"https://whatmore.ai",client_cta_id:"https://whatmore.ai",cta_title:"",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-14",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_f4832882-abae-4211-81b1-864bb4454ec5.mp4?v=1718369029",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_f4832882-abae-4211-81b1-864bb4454ec5.mp4?v=1718369021",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:36,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_f4832882-abae-4211-81b1-864bb4454ec5.webp?v=1718369036",gif_image:null,total_views:58,total_like:2,total_share:1,total_whatsapp:0,in_stock:!0},{event_id:51764,storyset_id:2429,storyset_name:"Airforce",storyset_thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_2f9f937f-690d-4924-9151-b10e11ef8885.webp?v=1718369042",storyset_event_rank:2,storyset_dynamic_thumbnail:!0,products:[{product_id:45595,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/nike-air-force-1-07-lv8",client_product_id:"8177876074634",price:"125.00",currency:null,title:"Nike Air Force 1 '07 LV8",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/air-force-1-07-lv8-mens-shoes-CgLD9b_1.webp?v=1717564002",compare_price:"150.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-05",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_ae3074b5-de26-4ab0-ac18-cfc72dfe8abb.mp4?v=1717564353",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_ae3074b5-de26-4ab0-ac18-cfc72dfe8abb.mp4?v=1717564346",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!1,rank:59,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_ae3074b5-de26-4ab0-ac18-cfc72dfe8abb.webp?v=1717564360",gif_image:null,total_views:10,total_like:0,total_share:0,total_whatsapp:0,in_stock:!0},{event_id:54144,storyset_id:2429,storyset_name:"Airforce",storyset_thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_2f9f937f-690d-4924-9151-b10e11ef8885.webp?v=1718369042",storyset_event_rank:3,storyset_dynamic_thumbnail:!0,products:[],cta:[{cta_id:616,cta_link:"https://whatmore.ai",client_cta_id:"https://whatmore.ai",cta_title:"",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-14",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_b2df1a7d-e4fc-4947-823a-32d905e3dd65.mp4?v=1718369027",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_b2df1a7d-e4fc-4947-823a-32d905e3dd65.mp4?v=1718369020",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:34,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_b2df1a7d-e4fc-4947-823a-32d905e3dd65.webp?v=1718369034",gif_image:null,total_views:13,total_like:0,total_share:0,total_whatsapp:0,in_stock:!0},{event_id:54145,storyset_id:2429,storyset_name:"Airforce",storyset_thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_2f9f937f-690d-4924-9151-b10e11ef8885.webp?v=1718369042",storyset_event_rank:4,storyset_dynamic_thumbnail:!0,products:[{product_id:49151,brand:"whatmore-dev",product_link:"https://mymoonstruck.com/products/multi-color-floral-print-front-mid-waist-cut-maxi",client_product_id:"8451541336276",price:"1999.00",currency:"INR",title:"Mid-Waist Cut Maxi Dress with Multi-Color Floral Print",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0214/9724/9892/files/044A5356.jpg?v=1717840649",compare_price:"3499.00",product_metadata:null,product_status:"active"}],cta:[{cta_id:616,cta_link:"https://whatmore.ai",client_cta_id:"https://whatmore.ai",cta_title:"",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-14",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_2f9f937f-690d-4924-9151-b10e11ef8885.mp4?v=1718369034",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_2f9f937f-690d-4924-9151-b10e11ef8885.mp4?v=1718369026",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:35,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_2f9f937f-690d-4924-9151-b10e11ef8885.webp?v=1718369042",gif_image:null,total_views:9,total_like:0,total_share:0,total_whatsapp:0,in_stock:!0},{event_id:54143,storyset_id:2429,storyset_name:"Airforce",storyset_thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_2f9f937f-690d-4924-9151-b10e11ef8885.webp?v=1718369042",storyset_event_rank:5,storyset_dynamic_thumbnail:!0,products:[],cta:[{cta_id:616,cta_link:"https://whatmore.ai",client_cta_id:"https://whatmore.ai",cta_title:"",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-14",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2r0bijhs9mx1s.cloudfront.net/whatmoredev/tn_630a1493-8a5a-463d-baa3-e852c9f59eb0.mp4",discount_coupon_image:"",event_hls_url:"https://d1zl4k1t5o4s75.cloudfront.net/whatmoredev/1080p_630a1493-8a5a-463d-baa3-e852c9f59eb0.mp4",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:33,event_state:"ready",poster_image:"https://whatmorelive-brand-image-poster-assets.b-cdn.net/whatmoredev/poster_630a1493-8a5a-463d-baa3-e852c9f59eb0.webp",gif_image:null,total_views:13,total_like:0,total_share:0,total_whatsapp:0,in_stock:!0}],n=[{event_id:53794,title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-13",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_fa2c9012-744f-4ed4-b57f-999e4416d173.mp4?v=1718279110",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_fa2c9012-744f-4ed4-b57f-999e4416d173.mp4?v=1718279102",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:28,event_state:"ready",products:[],cta:[{cta_id:616,cta_link:"https://whatmore.ai",client_cta_id:"https://whatmore.ai",cta_title:"",thumbnail_image:"",cta_type:""}]},{event_id:53796,title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-13",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_f6a021eb-d66f-4fe6-8344-6d57f0c59bd3.mp4?v=1718279143",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_f6a021eb-d66f-4fe6-8344-6d57f0c59bd3.mp4?v=1718279136",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:30,event_state:"ready",products:[],cta:[{cta_id:616,cta_link:"https://whatmore.ai",client_cta_id:"https://whatmore.ai",cta_title:"",thumbnail_image:"",cta_type:""}]},{event_id:97566,title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-11-07",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_92d8c48a-f937-4e2e-8cd4-e93b0af583cb.mp4?v=1730968309",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_92d8c48a-f937-4e2e-8cd4-e93b0af583cb.mp4?v=1730968301",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:271,event_state:"ready",products:[],cta:[{cta_id:616,cta_link:"https://whatmore.ai",client_cta_id:"https://whatmore.ai",cta_title:"",thumbnail_image:"",cta_type:""}]}],r=[{event_id:53437,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,storyset_dynamic_thumbnail:!1,products:[{product_id:45352,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/air-jordan-11-retro-low-black-varsity-royal",client_product_id:"8172829409418",price:"150.00",currency:null,title:'Air Jordan 11 Retro Low "Black/Varsity Royal"',description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/air-jordan-11-retro-low-black-varsity-royal-big-kids-shoes-Fw0r7C_5.webp?v=1717415768",compare_price:"13000.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-12",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_dff713cb-45c9-47bd-b895-284fb57844d7.mp4?v=1718177755",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_dff713cb-45c9-47bd-b895-284fb57844d7.mp4?v=1718177747",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:20,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_dff713cb-45c9-47bd-b895-284fb57844d7.webp?v=1718177762",gif_image:null,total_views:49,total_like:1,total_share:1,total_whatsapp:0,in_stock:!0},{event_id:53412,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,storyset_dynamic_thumbnail:!1,products:[{product_id:45352,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/air-jordan-11-retro-low-black-varsity-royal",client_product_id:"8172829409418",price:"150.00",currency:null,title:'Air Jordan 11 Retro Low "Black/Varsity Royal"',description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/air-jordan-11-retro-low-black-varsity-royal-big-kids-shoes-Fw0r7C_5.webp?v=1717415768",compare_price:"13000.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-12",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_bedf634b-94eb-4f1b-be9a-cca174a1cbcb.mp4?v=1718176568",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_bedf634b-94eb-4f1b-be9a-cca174a1cbcb.mp4?v=1718176560",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:6,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_bedf634b-94eb-4f1b-be9a-cca174a1cbcb.webp?v=1718176574",gif_image:null,total_views:42,total_like:1,total_share:2,total_whatsapp:0,in_stock:!0},{event_id:51771,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,storyset_dynamic_thumbnail:!1,products:[{product_id:45352,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/air-jordan-11-retro-low-black-varsity-royal",client_product_id:"8172829409418",price:"150.00",currency:null,title:'Air Jordan 11 Retro Low "Black/Varsity Royal"',description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/air-jordan-11-retro-low-black-varsity-royal-big-kids-shoes-Fw0r7C_5.webp?v=1717415768",compare_price:"13000.00",product_metadata:null,product_status:"active"}],cta:[{cta_id:981,cta_link:"https://www.youtube.com/watch?v=o8MPzuKa0kk",client_cta_id:"https://www.youtube.com/watch?v=o8MPzuKa0kk",cta_title:"yt video",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-05",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_6179c4ad-b50b-46ec-bea7-c295f194ee65.mp4?v=1717564356",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_6179c4ad-b50b-46ec-bea7-c295f194ee65.mp4?v=1717564349",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!1,rank:58,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_6179c4ad-b50b-46ec-bea7-c295f194ee65.webp?v=1717564363",gif_image:null,total_views:73,total_like:1,total_share:0,total_whatsapp:0,in_stock:!0}]},6649:function(t,e,a){var i=a(9950);e.A=({triggerOnce:t=!1,root:e=null,rootMargin:a="0px",threshold:o=0}={})=>{const[n,r]=(0,i.useState)(!1),[s,l]=(0,i.useState)(null),c=(0,i.useRef)(null);return(0,i.useEffect)(()=>{const i=new IntersectionObserver((e,a)=>{e.forEach(e=>{l(e),e.isIntersecting?(r(!0),t&&a.disconnect()):t||r(!1)})},{root:e,rootMargin:a,threshold:o});return c.current&&i.observe(c.current),()=>{i.disconnect()}},[t,e,a,o]),[c,n,s]}},8154:function(t,e,a){a.r(e);var i=a(9950),o=a(1348),n=a(964),r=a(5830),s=a(140),l=a(4533),c=a(851),d=a(1085),_=a(6613),p=a(3330),u=(a(3262),a(572)),m=a(6641),h=a(8603),f=a(2039),v=a(4833),b=a(7802),y=a(2979),g=a(6157),w=a(5551),k=a(69),x=a(9821),S=a(6018),j=a(4414);const A=(0,h.A)({key:"whatmore-css-wsv"}),N=i.lazy(()=>Promise.all([a.e(304),a.e(946),a.e(607),a.e(187),a.e(987),a.e(411),a.e(688),a.e(657)]).then(a.bind(a,4688)));e.default=function(t){const[e,a]=(0,i.useState)(),[h,T]=(0,i.useState)(),[C]=(0,r.QN)("isInDesignMode"),[E]=(0,r.QN)("isDemoBrand"),[I,R]=(0,i.useState)(-2),[P]=(0,r.QN)("whatmoreShopId"),L=(0,r.Xd)("isLandingSharedLink"),q=(0,r.Xd)("whatmoreShareTemplateId"),z=((0,r.Xd)("whatmoreShareStoryId"),(0,r.Xd)("whatmoreShareEventId")),M=(0,r.Xd)("whatmoreLandingLocationType"),D=(0,r.Xd)("whatmoreLoggingActive"),O=(0,r.Xd)("isWhatmorePreviewMode"),{whatmoreWidgetSourceDetails:F}=(0,i.useContext)(w.B);var B=(0,o.SOt)(P)?n.aD+"/get_eventset/":n.$$+"/get_eventset/",G=(0,o.SOt)(P)?n.aD+"/get_eventset_v1/":n.$$+"/get_eventset_v1/";(0,i.useEffect)(()=>{(0,l.wm)()},[]),(0,i.useEffect)(()=>{(0,p.initializeGA)(P)},[]),(0,i.useEffect)(()=>{null==e||0==e.length||h||!(0,_.MN)()||(0,r.Xd)("whatmoreVideoPlayerPoolInitiated")||((0,x._)()?(0,d.Pc)(d.F5):(0,k.bi)())},[e]),(0,i.useEffect)(()=>{R(-1);const t=v.JA,e=(0,v.t6)(M),i="78232846646"===P.toString()?G.toString()+P.toString()+"?eventset_type="+t+"&event_type=video&source="+e+"&source_id="+P:B.toString()+P.toString()+"?eventset_type="+t+"&source="+e+"&source_id="+P;fetch(i).then(t=>t.json()).then(e=>(0,b.Po)(e,t)).then(t=>{if(O&&(null==t||t&&0==(null===t||void 0===t?void 0:t.length)))return a(S.n),S.n;let e=[...null===t||void 0===t?void 0:t.events,...null===t||void 0===t?void 0:t.all_events];return(0,o.xku)(P)||(e=(0,b.zJ)(e)),a(e),e}).catch(t=>{T(t.message)})},[]),(0,i.useEffect)(()=>{R(-2)},[e]),(0,i.useEffect)(()=>{null==e||0==e.length||h||L&&"template-embed"==(0,v.Mm)(q)&&null!=z&&e.forEach((t,e)=>{z==t.event_id&&H(t,!0,e)})},[e]);const Q=F.landingLocationType,V=F.templateType,H=(t,e=!1,a=0)=>{if((0,_.MN)()&&!e&&((0,x._)()?(0,d.bo)():(0,k.Ij)()),(0,f.ij)(t)||(0,f.Il)(t))return C||E||(async()=>{const e=(0,v.Wd)(Q)+(0,v.gf)(V)+(null!==t&&void 0!==t&&t.isRelatedEvent?"R":"E")+"_"+(null===t||void 0===t?void 0:t.event_id);(0,s.lB)(t),(0,p.sendVideoViewEventToGA)(P,n.DK,n.K1),(0,l.Ch)(t.event_id,t.products,"spotlight","video_popup",e)})(),void R(a)};function K(){return(0,j.jsx)(j.Fragment,{})}return null==e||0==e.length||h?(0,j.jsx)("div",{}):(D&&(0,m.xv)(e),(0,o.ALN)(P)&&I<0&&null!==localStorage.getItem("_whatmore_spotlight_viewed")?(0,j.jsx)(j.Fragment,{}):(localStorage.setItem("_whatmore_spotlight_viewed",!0),(0,j.jsx)(u.C,{value:A,children:-1===I||0===e.length?(0,j.jsx)(K,{}):-2===I&&e.length>0?(0,j.jsx)("div",{children:(0,j.jsx)(y.S,{userInteractionType:g.O.SPOTLIGHT_WIDGET_VIEW,event:e[0],productList:e[0].products,cta:e[0].cta,triggerFlag:!C&&!E,children:(0,j.jsx)(c.A,{event:e[0],inVideoClick:H,closeClick:t=>{t.stopPropagation(),R(-1)},isSpotlight:!0})})}):(0,j.jsx)("div",{children:(0,j.jsx)(i.Suspense,{children:(0,j.jsx)(y.S,{userInteractionType:g.O.EVENT_VIEW,event:e[0],productList:e[0].products,cta:e[0].cta,triggerFlag:!C&&!E,children:(0,j.jsx)(N,{events:e,index:I,onBack:function(){R(-2)},template:"template-embed"})})})})})))}},9733:function(){}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[199],{1019:function(e,t,n){n.d(t,{B:function(){return l}});var i=n(1348),o=n(964);function l(e){return`${(0,i.jpW)(e)?o.$$:o.MT}/v2/brand/${e}/product-events/recommendation/cdn`}},1351:function(e,t,n){n.d(t,{PG:function(){return s},kz:function(){return c},UM:function(){return u},yP:function(){return v},DG:function(){return d}});var i=n(1348),o=n(3330),l=n(6157);function a(e,t,n={},i){var o;const a=s[e];if(!a)return;const r=a.isActionEnabled(),c=null===i||void 0===i||null===(o=i.meta_actions)||void 0===o?void 0:o[a.customAction];(r||c)&&"function"==typeof fbq&&(async()=>{const i={id:null===t||void 0===t?void 0:t.client_product_id,product_url:null===t||void 0===t?void 0:t.product_link,...e===l.O.VIDEO_PLAYBACK&&{watch_time:n.watch_time,video_duration:n.video_duration}};fbq("trackCustom",a.action,i),c&&setTimeout(()=>{null===c||void 0===c||c.forEach(e=>{fbq("trackCustom",e,i)})},500)})()}var r=n(7145);const s={[l.O.EVENT_VIEW]:{isActionEnabled:i.NFF,action:"whatmore_video_click_event",customAction:"video_clicked"},[l.O.VIDEO_PLAYBACK]:{isActionEnabled:i.Eel,action:"whatmore_video_watch_event",customAction:"video_watched"},[l.O.VIDEO_LIKED]:{isActionEnabled:i.Mz3,action:"whatmore_video_like_event",customAction:"video_liked"},[l.O.VIDEO_SHARE_CTA_CLICKED]:{isActionEnabled:i.OLZ,action:"whatmore_video_share_event",customAction:"video_shared"},[l.O.SHOPNOW_ATC_CLICKED]:{isActionEnabled:i.T9r,action:"whatmore_video_atc_event",customAction:"video_atc_clicked"},[l.O.PRODUCT_TILE_ATC_CLICKED]:{isActionEnabled:i.T9r,action:"whatmore_video_atc_event",customAction:"video_atc_clicked"},[l.O.SHOPNOW_CLICKED]:{isActionEnabled:i.nEf,action:"whatmore_product_tile_click_event",customAction:"video_product_tile_clicked"},[l.O.PRODUCT_TILE_SHOPNOW_CLICKED]:{isActionEnabled:i.nEf,action:"whatmore_product_tile_click_event",customAction:"video_product_tile_clicked"}};function c({userInteractionType:e,userInteractionMetadata:t,widgetSourceDetails:n,event:i,productList:l,ctaList:c}){var d,u,v,p;((0,r.B)({userInteractionType:e,userInteractionMetadata:t,widgetSourceDetails:n,event:i,productList:l,ctaList:c}),e in s)&&(a(e,null!==(d=null===l||void 0===l?void 0:l[1])&&void 0!==d?d:null===l||void 0===l?void 0:l[0],t,i),(0,o.n)({page_type:n.landingLocationType,selection_type:e,video_name:i.event_id,video_percentage:"NA",product_name:null!==(u=null===l||void 0===l||null===(v=l[1])||void 0===v?void 0:v.title)&&void 0!==u?u:null===l||void 0===l||null===(p=l[0])||void 0===p?void 0:p.title}))}function d({userInteractionType:e,userInteractionMetadata:t,widgetSourceDetails:n,event:i,productList:l,ctaList:c}){var d,u,v,p;((0,r.B)({userInteractionType:e,userInteractionMetadata:t,widgetSourceDetails:n,event:i,productList:l,ctaList:c}),e in s)&&(a(e,null!==(d=null===l||void 0===l?void 0:l[1])&&void 0!==d?d:null===l||void 0===l?void 0:l[0],t,i),(0,o.n)({page_type:n.landingLocationType,selection_type:e,video_name:i.event_id,video_percentage:t.video_duration>0?Math.ceil(t.watch_time/t.video_duration*100):"NA",product_name:null!==(u=null===l||void 0===l||null===(v=l[1])||void 0===v?void 0:v.title)&&void 0!==u?u:null===l||void 0===l||null===(p=l[0])||void 0===p?void 0:p.title}))}function u({userInteractionType:e,userInteractionMetadata:t,widgetSourceDetails:n,event:i,productList:l,ctaList:a}){var c,d,u;((0,r.B)({userInteractionType:e,userInteractionMetadata:t,widgetSourceDetails:n,event:i,productList:l,ctaList:a}),e in s)&&(0,o.n)({page_type:n.landingLocationType,selection_type:e,video_name:i.event_id,video_percentage:"NA",product_name:null!==(c=null===l||void 0===l||null===(d=l[1])||void 0===d?void 0:d.title)&&void 0!==c?c:null===l||void 0===l||null===(u=l[0])||void 0===u?void 0:u.title})}function v({userInteractionType:e,userInteractionMetadata:t,widgetSourceDetails:n,event:i,productList:o,ctaList:l}){(0,r.B)({userInteractionType:e,userInteractionMetadata:t,widgetSourceDetails:n,event:i,productList:o,ctaList:l})}},3350:function(e,t,n){n.r(t),n.d(t,{default:function(){return z}});var i=n(9950),o=n(964),l=n(140),a=n(5830),r=n(1348),s=n(4533),c=n(6613),d=n(1085),u=n(5551),v=n(2039),p=n(4833),m=n(2979),h=n(6157),_=n(8945),g=n(9821),y=n(4414);const S=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(59),n.e(946),n.e(340),n.e(571),n.e(987),n.e(411),n.e(261),n.e(665)]).then(n.bind(n,5213))),w=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(59),n.e(607),n.e(571),n.e(620),n.e(116)]).then(n.bind(n,7144))),f=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(59),n.e(257),n.e(571),n.e(987),n.e(714),n.e(423)]).then(n.bind(n,517))),I=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(59),n.e(257),n.e(571),n.e(987),n.e(714),n.e(412)]).then(n.bind(n,7646))),E=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(59),n.e(257),n.e(571),n.e(987),n.e(714),n.e(221)]).then(n.bind(n,5451))),x=i.lazy(()=>Promise.all([n.e(283),n.e(59),n.e(571),n.e(491)]).then(n.bind(n,4295))),T=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(59),n.e(946),n.e(607),n.e(187),n.e(534),n.e(571),n.e(987),n.e(411),n.e(688),n.e(142),n.e(620),n.e(474)]).then(n.bind(n,6945))),O=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(59),n.e(946),n.e(607),n.e(187),n.e(184),n.e(571),n.e(987),n.e(411),n.e(688),n.e(485)]).then(n.bind(n,4431))),C=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(59),n.e(946),n.e(571),n.e(987),n.e(676)]).then(n.bind(n,3369))),j=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(59),n.e(946),n.e(607),n.e(187),n.e(534),n.e(571),n.e(987),n.e(411),n.e(688),n.e(142),n.e(891)]).then(n.bind(n,7178))),D=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(59),n.e(946),n.e(607),n.e(187),n.e(534),n.e(571),n.e(987),n.e(411),n.e(688),n.e(142),n.e(306)]).then(n.bind(n,9406))),b=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(946),n.e(571),n.e(987),n.e(411),n.e(497)]).then(n.bind(n,3795))),L=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(59),n.e(946),n.e(607),n.e(187),n.e(340),n.e(571),n.e(987),n.e(411),n.e(688),n.e(261),n.e(933)]).then(n.bind(n,6989))),P=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(59),n.e(946),n.e(607),n.e(187),n.e(744),n.e(571),n.e(987),n.e(411),n.e(688),n.e(806)]).then(n.bind(n,3278))),A=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(59),n.e(257),n.e(571),n.e(987),n.e(1)]).then(n.bind(n,4596))),q=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(59),n.e(946),n.e(607),n.e(187),n.e(571),n.e(987),n.e(411),n.e(688),n.e(906)]).then(n.bind(n,4688))),W=i.lazy(()=>n.e(374).then(n.bind(n,5100)));var k=function(e){var t,k;const[G]=(0,a.QN)("isInDesignMode"),[$]=(0,a.QN)("isDemoBrand"),[N]=(0,a.QN)("whatmoreTopBottomPadding"),[V]=(0,a.QN)("whatmoreStoriesTopBottomPadding"),{whatmoreIsStoriesTemplate:B}=(0,i.useContext)(u.B),[M]=(0,a.QN)("whatmoreShopId"),{whatmoreEventsBrowsingTemplate:F}=(0,i.useContext)(u.B),z=(0,a.Xd)("isLandingSharedLink"),R=(0,a.Xd)("whatmoreShareTemplateId"),H=(0,a.Xd)("whatmoreShareStoryId"),K=(0,a.Xd)("whatmoreShareEventId"),{whatmoreWidgetSourceDetails:J,whatmoreUserInfo:U}=(0,i.useContext)(u.B),Q=z&&F===(0,p.Mm)(R),[X,Y]=(0,i.useState)(Q),[Z,ee]=(0,i.useState)(-1),[te,ne]=(0,i.useState)(null);let ie=e.events;const oe=e.allEvents;var le=null;B&&!le&&(le=function(e){var t=e.reduce((e,t,n)=>{var i,o=t.storyset_id;return o in e?(e[o].total_events=e[o].total_events+1,e[o].events.push(t)):e[o]={id:t.storyset_id,title:t.storyset_name,thumbnail_image:t.storyset_thumbnail_image,total_events:1,start_event_index:n,storyset_dynamic_thumbnail:null!==(i=null===t||void 0===t?void 0:t.storyset_dynamic_thumbnail)&&void 0!==i&&i,events:[t]},e},{}),n=Object.values(t);return n.sort((e,t)=>e.start_event_index-t.start_event_index),n}(ie));const ae=J.landingLocationType,re=J.templateType;function se(e,t=!1,i=null){(0,c.MN)()&&(0,g._)()&&!t&&(0,d.bo)(),G||$||(async()=>{const{initializeGA:t,sendVideoViewEventToGA:i}=await Promise.resolve().then(n.bind(n,3330));t();const a=le[e].events[0],r=(0,p.Wd)(ae)+(0,p.gf)(re)+(null!==a&&void 0!==a&&a.isRelatedEvent?"R":"E")+"_"+(null===a||void 0===a?void 0:a.event_id);(0,l.lB)(a),i(M,o.TB,o.OL),(0,s.Ch)(a.event_id,a.products,"homepage","stories",r,null===a||void 0===a?void 0:a.location,null===U||void 0===U?void 0:U.userType)})();var a=0;null!=i&&le[e].events.map((e,t)=>{e.event_id==i&&(a=t)}),ee(a),ne(e)}async function ce(e,t=!1){(0,c.MN)()&&(0,g._)()&&!t&&await(0,d.bo)(),ee(e.index),((0,v.ij)(e)||(0,v.Il)(e))&&(G||$||(async()=>{const{initializeGA:t,sendVideoViewEventToGA:i}=await Promise.resolve().then(n.bind(n,3330));t();const a=(0,p.Wd)(ae)+(0,p.gf)(re)+(null!==e&&void 0!==e&&e.isRelatedEvent?"R":"E")+"_"+(null===e||void 0===e?void 0:e.event_id);(0,l.lB)(e),i(M,o.TB,o.Dk),(0,s.Ch)(e.event_id,e.products,"homepage","carousel",a)})())}function de(e){return(0,y.jsx)(y.Fragment,{})}return(0,i.useEffect)(()=>{if(Q)if((0,_.H)("whatmore-video-player",()=>{Y(!1)}),null!=H&&B){const e=le.find(e=>H==e.id);if(e)return void se(le.indexOf(e),!0,K)}else if(null!=K){const e=ie.find(e=>K==e.event_id);if(e)return void ce(e,!0)}},[]),(0,y.jsxs)(y.Fragment,{children:[X&&(0,y.jsx)(W,{}),-1==Z||-2==Z?(0,y.jsx)(de,{}):(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(m.S,{userInteractionType:h.O.EVENT_VIEW,event:ie[Z],productList:null===(t=ie[Z])||void 0===t?void 0:t.products,cta:null===(k=ie[Z])||void 0===k?void 0:k.cta,triggerFlag:!G&&!$,children:(0,y.jsx)(q,{events:oe,index:Z,onBack:async function(){ee(-1),Y(!1)},slideDirection:B||"horizontal"===(0,r.br0)(M)?"horizontal":"vertical",eventsStories:le,initialStoryIndex:te,template:F})})}),(0,y.jsx)("div",{className:"whatmore-widget-container",style:{height:"100%",marginTop:(B?V:N)+"px",marginBottom:(B?V:N)+"px"},children:"template-b"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(m.S,{userInteractionType:h.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!G&&!$,children:(0,y.jsx)(S,{events:ie,onClick:ce,heading:e.heading})})}):"template-a-1"===F||"template-collections-a-1"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(w,{events:ie,onClick:ce,heading:e.heading})}):"template-feed-a"===F||"template-collections-feed-a"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(L,{events:ie,onClick:ce,heading:e.heading})}):"template-collections-a"===F||"template-c"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(m.S,{userInteractionType:h.O.COLLECTION_WIDGET_VIEW,triggerFlag:!G&&!$,children:(0,y.jsx)(f,{events:ie,index:Z,setScreen:ee,onClick:ce,heading:e.heading})})}):"template-collections-b"===F||"template-d"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(m.S,{userInteractionType:h.O.COLLECTION_WIDGET_VIEW,triggerFlag:!G&&!$,children:(0,y.jsx)(I,{events:ie,index:Z,setScreen:ee,onClick:ce,heading:e.heading})})}):"template-collections-c"===F||"template-e"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(m.S,{userInteractionType:h.O.COLLECTION_WIDGET_VIEW,triggerFlag:!G&&!$,children:(0,y.jsx)(E,{events:ie,index:Z,setScreen:ee,onClick:ce,heading:e.heading})})}):"template-collections-d"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(m.S,{userInteractionType:h.O.COLLECTION_WIDGET_VIEW,triggerFlag:!G&&!$,children:(0,y.jsx)(S,{events:ie,index:Z,setScreen:ee,onClick:ce,heading:e.heading})})}):"template-collections-e"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(m.S,{userInteractionType:h.O.COLLECTION_WIDGET_VIEW,triggerFlag:!G&&!$,children:(0,y.jsx)(T,{events:ie,index:Z,setScreen:ee,onClick:ce,heading:e.heading})})}):"template-collections-stories"===F||"template-stories"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(m.S,{userInteractionType:h.O.COLLECTION_WIDGET_VIEW,triggerFlag:!G&&!$,children:(0,y.jsx)(A,{events:ie,index:Z,setScreen:ee,onClick:ce,heading:e.heading})})}):"template-f"===F||"template-collections-f"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(m.S,{userInteractionType:h.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!G&&!$,children:(0,y.jsx)(O,{events:ie,onClick:ce,heading:e.heading})})}):"template-g"===F||"template-collections-g"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(m.S,{userInteractionType:h.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!G&&!$,children:(0,y.jsx)(C,{events:ie,onClick:ce,heading:e.heading})})}):"template-h"===F||"template-collections-h"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(m.S,{userInteractionType:h.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!G&&!$,children:(0,y.jsx)(j,{events:ie,onClick:ce,heading:e.heading})})}):"template-i"===F||"template-collections-i"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(m.S,{userInteractionType:h.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!G&&!$,children:(0,y.jsx)(D,{index:Z,events:ie,onClick:ce,heading:e.heading})})}):"template-j"===F||"template-collections-j"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(m.S,{userInteractionType:h.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!G&&!$,children:(0,y.jsx)(b,{events:ie,onClick:ce,heading:e.heading})})}):"template-banner-a"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(m.S,{userInteractionType:h.O.BANNER_WIDGET_VIEW,event:ie[0],triggerFlag:!G&&!$,children:(0,y.jsx)(P,{events:ie})})}):B?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(m.S,{userInteractionType:h.O.STORIES_WIDGET_VIEW,triggerFlag:!G&&!$,children:(0,y.jsx)(x,{eventsStories:le,onClick:se,template:F})})}):(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(m.S,{userInteractionType:h.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!G&&!$,children:(0,y.jsx)(T,{events:ie,onClick:ce,heading:e.heading})})})})]})},G=n(7802),$=n(6641),N=n(1351),V=n(5873),B=n(1019);function M(e){return e.split(/[?#]/)[0]}function F(e){return e.split(/[?#]/)[0]}var z=function(e){const[t,l]=(0,i.useState)(),[v,m]=(0,i.useState)(),[_,S]=(0,i.useState)(),{whatmoreIsStoriesTemplate:w}=(0,i.useContext)(u.B),{whatmoreIsCollectionsTemplate:f}=(0,i.useContext)(u.B),{whatmoreIsBannerTemplate:I}=(0,i.useContext)(u.B),[E]=(0,a.QN)("whatmoreShopId"),{whatmoreCollectionId:x}=(0,i.useContext)(u.B),T=(0,a.Xd)("whatmoreLandingLocationType"),O=(0,a.Xd)("whatmoreLoggingActive"),{whatmoreWidgetSourceDetails:C}=(0,i.useContext)(u.B),{whatmoreUserInfo:j,whatmoreIsPreviewMode:D}=(0,i.useContext)(u.B),b=(0,a.Xd)("whatmoreCollectionUrl"),[L]=(0,a.QN)("isInDesignMode"),[P]=(0,a.QN)("isDemoBrand"),A="19506115"==E?"343270603":(0,r.mJ$)(E)?(0,r.jLA)(E)?b:M(window.location.href):x||M(window.location.href),[q,W]=(0,a.QN)("productRatings"),[z,R]=(0,i.useState)(!1);var H=(0,r.SOt)(E)?o.aD+"/v2/events/":o.$$+"/v2/events/",K=(0,r.SOt)(E)?o.aD+"/v3/events/":o.$$+"/v3/events/",J=(0,r.SOt)(E)?o.aD+"/v4/events/":o.$$+"/v4/events/",U=(0,r.SOt)(E)?o.aD+"/v5/events/":o.$$+"/v5/events/",Q=((0,r.SOt)(E)?o.aD:o.$$,(0,r.SOt)(E)?o.aD+"/get_eventset/":o.$$+"/get_eventset/"),X=(0,r.SOt)(E)?o.aD+"/v2/collection":o.$$+"/v2/collection",Y=(0,r.SOt)(E)?o.aD+"/v3/collection":o.$$+"/v3/collection",Z=(0,r.SOt)(E)?o.aD+"/v4/collection":o.$$+"/v4/collection",ee=((0,r.jpW)(E)?o.$$:o.MT)+"/v2/brand/"+E+"/product-events",te=e.shopId,ne="live,upcoming",ie="true";return(0,i.useEffect)(()=>{null!=t&&0!=t.length&&!_&&(0,c.MN)()&&!(0,a.Xd)("whatmoreVideoPlayerPoolInitiated")&&(0,g._)()&&(0,d.Pc)(d.F5)},[t]),(0,i.useEffect)(()=>{var e,t,i,o;if((0,s.wm)(),T.startsWith("product")){var c=(0,a.Xd)("whatmoreProductId");if(c=(0,r.BcY)(E)?function(e){return"STRQMPNF7QK"==e?encodeURIComponent(window.location.href):"STR6HARJ3QY"==e||"STRI4V3OYCH"==e||"STRGZ9TGDEQ"==e||"STRJ2T2QPKI"==e?F(window.location.href).split("/").pop():F(window.location.href)}(E):c,(0,r.vvU)(E))o=H.toString()+te.toString()+"?status="+ne.toString()+"&is_active="+ie.toString()+(w?"&template_type=stories":"");else if((0,r.WH1)(E)){o=`${o=(0,B.B)(E)}?client_product_id=${c}&limit=10&recommended=${!(0,r.buK)(E)}&origin=${window.location.hostname}&status=live,upcoming&event_type=video`}else o=ee.toString()+"?client_product_id="+c.toString()+"&status="+ne.toString()+"&event_type=video"}else if(f||"invalid-url"!==b)o=(0,r.JwJ)(E)?`${Y.toString()}?store_id=${te.toString()}&client_collection_id=${"index"==T&&(0,r.FKG)(E).length>0?(0,r.FKG)(E)[0]:A}`:"78232846646"==E?`${Z.toString()}?store_id=${te.toString()}&client_collection_id=${"index"==T&&(0,r.FKG)(E).length>0?(0,r.FKG)(E)[0]:A}`:`${X.toString()}?store_id=${te.toString()}&client_collection_id=${"index"==T&&1==(0,r.FKG)(E).length?(0,r.FKG)(E)[0]:A}`;else if(I){const e=p.Jh,t=(0,p.t6)(T);o=Q.toString()+te.toString()+"?eventset_type="+e+"&source="+t+"&source_id="+E}else{var d,u,v,h;if(("72201044272"==E||"2665447536"==E&&D)&&!w)o=K.toString()+te.toString()+"?status="+ne.toString()+"&is_active="+ie.toString()+"&latitude="+(null!==(d=null===(u=JSON.parse(localStorage.getItem("_user_wh_lc")))||void 0===u?void 0:u.latitude)&&void 0!==d?d:"")+"&longitude="+(null!==(v=null===(h=JSON.parse(localStorage.getItem("_user_wh_lc")))||void 0===h?void 0:h.longitude)&&void 0!==v?v:"")+"&user_type="+(null!==j&&void 0!==j&&j.userType?"olduser":"newuser");else o=(0,r.JwJ)(E)&&!w?J.toString()+te.toString()+"?status="+ne.toString()+"&is_active="+ie.toString():"78232846646"!=E||w?H.toString()+te.toString()+"?status="+ne.toString()+"&is_active="+ie.toString()+(w?"&template_type=stories":""):U.toString()+te.toString()+"?status="+ne.toString()+"&is_active="+ie.toString()}const _=null===(e=window)||void 0===e||null===(t=e.whatmore)||void 0===t||null===(i=t.storyEvents)||void 0===i?void 0:i.events;w&&T.startsWith("index")&&"object"==typeof _&&(null===_||void 0===_?void 0:_.length)>0?(l(_),m(_),R(!0)):fetch(o).then(e=>e.json()).then(e=>{var t;if(I){const t=p.Jh;return(0,G.Po)(e,t)}return(0,r.JwJ)(E)&&(null===e||void 0===e||null===(t=e.questions)||void 0===t?void 0:t.length)>0&&(null==localStorage.getItem("_whatmore_qview_index")&&localStorage.setItem("_whatmore_qview_index",0),(0,s.d3)(null===e||void 0===e?void 0:e.questions)),(0,G.Np)(e,f||"invalid-url"!==b)}).then(e=>{var t,n;O&&console.debug("initial received events size : "+e.length);let i=[...null===e||void 0===e?void 0:e.events,...null===e||void 0===e?void 0:e.all_events];i=(0,r.xku)(E)?(0,G.d8)(i):(0,G.Zf)(i),m(i);const o=null!==(t=null===e||void 0===e||null===(n=e.events)||void 0===n?void 0:n.length)&&void 0!==t?t:0;return i.slice(0,o)}).then(e=>{if((P||L)&&(null==e||e&&0==(null===e||void 0===e?void 0:e.length))){const e=async()=>{const{eventsData:e,storiesData:t,bannerData:i}=await n.e(365).then(n.bind(n,6018));l(w?t:I?i:e)};e()}else l(e);R(!0)}).catch(e=>{S(e.message),R(!0)})},[]),(0,i.useEffect)(()=>{"index"===T?t&&t.length>0&&(0,N.yP)({userInteractionType:h.O.HOMEPAGE_VISITED,widgetSourceDetails:C}):"collection"===T?(t&&t.length>0||"Scale"==(0,r.yt9)(E)||"Enterprise"==(0,r.yt9)(E)||"Premium"==(0,r.yt9)(E))&&(0,N.yP)({userInteractionType:h.O.COLLECTION_PAGE_VISITED,widgetSourceDetails:C}):"product"===T&&(t&&t.length>0||"Scale"==(0,r.yt9)(E)||"Enterprise"==(0,r.yt9)(E)||"Premium"==(0,r.yt9)(E))&&(0,N.yP)({userInteractionType:h.O.PDP_VISITED,widgetSourceDetails:C})},[t]),z&&(null==t||0==t.length||_)&&V.Sn.forEach(e=>{var t,n,i,o;const l=null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-stories-a"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-stories-a"]'),a=null!==(n=e.querySelector('.whatmore-template-type[data-wh="template-a"]')||e.querySelector('.whatmore-template-type[data-wh="template-feed-a"]')||e.querySelector('.whatmore-template-type[data-wh="template-b"]')||e.querySelector('.whatmore-template-type[data-wh="template-f"]')||e.querySelector('.whatmore-template-type[data-wh="template-stories"]')||e.querySelector('.whatmore-template-type[data-wh="template-e"]')||e.querySelector('.whatmore-template-type[data-wh="template-a-1"]')||e.querySelector('.whatmore-template-type[data-wh="template-g"]')||e.querySelector('.whatmore-template-type[data-wh="template-h"]')||e.querySelector('.whatmore-template-type[data-wh="template-j"]'))&&void 0!==n?n:e.querySelector('.whatmore-template-type[data="template-a"]')||e.querySelector('.whatmore-template-type[data="template-b"]')||e.querySelector('.whatmore-template-type[data="template-f"]')||e.querySelector('.whatmore-template-type[data="template-stories"]')||e.querySelector('.whatmore-template-type[data="template-e"]')||e.querySelector('.whatmore-template-type[data="template-a-1"]')||e.querySelector('.whatmore-template-type[data="template-g"]')||e.querySelector('.whatmore-template-type[data="template-h"]')||e.querySelector('.whatmore-template-type[data="template-j"]'),r=null!==(i=e.querySelector('.whatmore-template-type[data-wh="template-collections-a"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-b"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-c"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-stories"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-d"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-e"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-f"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-g"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-h"]'))&&void 0!==i?i:e.querySelector('.whatmore-template-type[data="template-collections-a"]')||e.querySelector('.whatmore-template-type[data="template-collections-b"]')||e.querySelector('.whatmore-template-type[data="template-collections-c"]')||e.querySelector('.whatmore-template-type[data="template-collections-stories"]')||e.querySelector('.whatmore-template-type[data="template-collections-e"]')||e.querySelector('.whatmore-template-type[data="template-collections-d"]')||e.querySelector('.whatmore-template-type[data="template-collections-f"]')||e.querySelector('.whatmore-template-type[data="template-collections-g"]')||e.querySelector('.whatmore-template-type[data="template-collections-h"]')||e.querySelector('.whatmore-template-type[data="template-collections-j"]'),s=null!==(o=e.querySelector('.whatmore-template-type[data-wh="template-banner-a"]'))&&void 0!==o?o:e.querySelector('.whatmore-template-type[data="template-banner-a"]'),c=e;if(w){const t=e.querySelector(".whatmore-shimmer-stories");t&&(t.style.display="none")}else if(!f){const t=e.querySelector(".loading-skeleton-wrapper");t&&(t.style.display="none")}(s||r||a||l)&&(a&&c||l&&c||s&&c||r&&c)&&(c.style.minHeight="0px")}),null==t||0==t.length||_?(0,y.jsx)("div",{}):(O&&(0,$.xv)(t),O&&console.debug("final transformed events data : "+JSON.stringify(t)),O&&console.debug("valid events size : "+t.length),(0,y.jsx)(k,{heading:e.heading,events:t,allEvents:v}))}},7802:function(e,t,n){n.d(t,{Hl:function(){return o},Np:function(){return a},Po:function(){return r},Z_:function(){return i},Zf:function(){return c},d8:function(){return s},zJ:function(){return l}});const i=function(e,t){return!((void 0==e.products||0==e.products.length)&&(void 0==e.cta||0==e.cta.length))},o=function(e,t){return!(void 0==e.products||0==e.products.length)},l=function(e){if(null!=e)return e.filter(e=>{var t;return null===(t=null===e||void 0===e?void 0:e.in_stock)||void 0===t||t})},a=function(e,t=!1){var n,i;if(null!=e)return t?{events:e.events[0].events,all_events:null!==(i=null===e||void 0===e?void 0:e.all_events)&&void 0!==i?i:[]}:{events:null===e||void 0===e?void 0:e.events,all_events:null!==(n=null===e||void 0===e?void 0:e.all_events)&&void 0!==n?n:[]}};const r=function(e,t){var n,i;let o=[];if(null==e)return[];if("eventsets"in e&&e.eventsets[t]){const n=function(e){if(null==e||0==e.length)return[];let t=[];return e.forEach(e=>{t=t.concat(e.events)}),t}(e.eventsets[t]);o=[...n]}return{events:o,all_events:null!==(n=null===(i=o)||void 0===i?void 0:i.all_events)&&void 0!==n?n:[]}};function s(e){if(null!=e){var t=0;return e.forEach(e=>{e.index=t++}),e}}function c(e){if(null==e)return;let t=0;return e.reduce((e,n)=>{var i;return(null===(i=null===n||void 0===n?void 0:n.in_stock)||void 0===i||i)&&(n.index=t++,e.push(n)),e},[])}},8945:function(e,t,n){function i(e,t){let n=0;let i=new MutationObserver(function(){document.querySelector("."+e)?(t(),i.disconnect()):0==n&&(n=1,setTimeout(()=>{t(),i.disconnect()},8e3))});i.observe(document.body,{childList:!0,subtree:!0})}n.d(t,{H:function(){return i}})}}]);
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[199],{1019:function(e,t,n){n.d(t,{B:function(){return a}});var i=n(1348),o=n(964);function a(e){return`${(0,i.jpW)(e)?o.$$:o.MT}/v2/brand/${e}/product-events/recommendation/cdn`}},1351:function(e,t,n){n.d(t,{PG:function(){return s},kz:function(){return c},UM:function(){return u},yP:function(){return p},DG:function(){return d}});var i=n(1348),o=n(3330),a=n(6157);function l(e,t,n={},i){var o;const l=s[e];if(!l)return;const r=l.isActionEnabled(),c=null===i||void 0===i||null===(o=i.meta_actions)||void 0===o?void 0:o[l.customAction];(r||c)&&"function"==typeof fbq&&(async()=>{const i={id:null===t||void 0===t?void 0:t.client_product_id,product_url:null===t||void 0===t?void 0:t.product_link,...e===a.O.VIDEO_PLAYBACK&&{watch_time:n.watch_time,video_duration:n.video_duration}};fbq("trackCustom",l.action,i),c&&setTimeout(()=>{null===c||void 0===c||c.forEach(e=>{fbq("trackCustom",e,i)})},500)})()}var r=n(7145);const s={[a.O.EVENT_VIEW]:{isActionEnabled:i.NFF,action:"whatmore_video_click_event",customAction:"video_clicked"},[a.O.VIDEO_PLAYBACK]:{isActionEnabled:i.Eel,action:"whatmore_video_watch_event",customAction:"video_watched"},[a.O.VIDEO_LIKED]:{isActionEnabled:i.Mz3,action:"whatmore_video_like_event",customAction:"video_liked"},[a.O.VIDEO_SHARE_CTA_CLICKED]:{isActionEnabled:i.OLZ,action:"whatmore_video_share_event",customAction:"video_shared"},[a.O.SHOPNOW_ATC_CLICKED]:{isActionEnabled:i.T9r,action:"whatmore_video_atc_event",customAction:"video_atc_clicked"},[a.O.PRODUCT_TILE_ATC_CLICKED]:{isActionEnabled:i.T9r,action:"whatmore_video_atc_event",customAction:"video_atc_clicked"},[a.O.SHOPNOW_CLICKED]:{isActionEnabled:i.nEf,action:"whatmore_product_tile_click_event",customAction:"video_product_tile_clicked"},[a.O.PRODUCT_TILE_SHOPNOW_CLICKED]:{isActionEnabled:i.nEf,action:"whatmore_product_tile_click_event",customAction:"video_product_tile_clicked"}};function c({userInteractionType:e,userInteractionMetadata:t,widgetSourceDetails:n,event:i,productList:a,ctaList:c}){var d,u,p,m;((0,r.B)({userInteractionType:e,userInteractionMetadata:t,widgetSourceDetails:n,event:i,productList:a,ctaList:c}),e in s)&&(l(e,null!==(d=null===a||void 0===a?void 0:a[1])&&void 0!==d?d:null===a||void 0===a?void 0:a[0],t,i),(0,o.n)({page_type:n.landingLocationType,selection_type:e,video_name:i.event_id,video_percentage:"NA",product_name:null!==(u=null===a||void 0===a||null===(p=a[1])||void 0===p?void 0:p.title)&&void 0!==u?u:null===a||void 0===a||null===(m=a[0])||void 0===m?void 0:m.title}))}function d({userInteractionType:e,userInteractionMetadata:t,widgetSourceDetails:n,event:i,productList:a,ctaList:c}){var d,u,p,m;((0,r.B)({userInteractionType:e,userInteractionMetadata:t,widgetSourceDetails:n,event:i,productList:a,ctaList:c}),e in s)&&(l(e,null!==(d=null===a||void 0===a?void 0:a[1])&&void 0!==d?d:null===a||void 0===a?void 0:a[0],t,i),(0,o.n)({page_type:n.landingLocationType,selection_type:e,video_name:i.event_id,video_percentage:t.video_duration>0?Math.ceil(t.watch_time/t.video_duration*100):"NA",product_name:null!==(u=null===a||void 0===a||null===(p=a[1])||void 0===p?void 0:p.title)&&void 0!==u?u:null===a||void 0===a||null===(m=a[0])||void 0===m?void 0:m.title}))}function u({userInteractionType:e,userInteractionMetadata:t,widgetSourceDetails:n,event:i,productList:a,ctaList:l}){var c,d,u;((0,r.B)({userInteractionType:e,userInteractionMetadata:t,widgetSourceDetails:n,event:i,productList:a,ctaList:l}),e in s)&&(0,o.n)({page_type:n.landingLocationType,selection_type:e,video_name:i.event_id,video_percentage:"NA",product_name:null!==(c=null===a||void 0===a||null===(d=a[1])||void 0===d?void 0:d.title)&&void 0!==c?c:null===a||void 0===a||null===(u=a[0])||void 0===u?void 0:u.title})}function p({userInteractionType:e,userInteractionMetadata:t,widgetSourceDetails:n,event:i,productList:o,ctaList:a}){(0,r.B)({userInteractionType:e,userInteractionMetadata:t,widgetSourceDetails:n,event:i,productList:o,ctaList:a})}},3350:function(e,t,n){n.r(t),n.d(t,{default:function(){return z}});var i=n(9950),o=n(964),a=n(140),l=n(5830),r=n(1348),s=n(4533),c=n(6613),d=n(1085),u=n(5551),p=n(2039),m=n(4833),v=n(2979),h=n(6157),_=n(8945),g=n(9821),y=n(4414);const S=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(59),n.e(946),n.e(340),n.e(571),n.e(987),n.e(411),n.e(261),n.e(665)]).then(n.bind(n,5213))),w=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(59),n.e(607),n.e(571),n.e(620),n.e(116)]).then(n.bind(n,7144))),I=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(59),n.e(257),n.e(571),n.e(987),n.e(714),n.e(423)]).then(n.bind(n,517))),E=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(59),n.e(257),n.e(571),n.e(987),n.e(714),n.e(412)]).then(n.bind(n,7646))),T=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(59),n.e(257),n.e(571),n.e(987),n.e(714),n.e(221)]).then(n.bind(n,5451))),x=i.lazy(()=>Promise.all([n.e(283),n.e(59),n.e(571),n.e(491)]).then(n.bind(n,4295))),f=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(59),n.e(946),n.e(607),n.e(187),n.e(534),n.e(571),n.e(987),n.e(411),n.e(688),n.e(142),n.e(620),n.e(474)]).then(n.bind(n,6945))),O=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(59),n.e(946),n.e(607),n.e(187),n.e(184),n.e(571),n.e(987),n.e(411),n.e(688),n.e(485)]).then(n.bind(n,4431))),C=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(59),n.e(946),n.e(571),n.e(987),n.e(676)]).then(n.bind(n,3369))),j=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(59),n.e(946),n.e(607),n.e(187),n.e(534),n.e(571),n.e(987),n.e(411),n.e(688),n.e(142),n.e(891)]).then(n.bind(n,7178))),D=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(59),n.e(946),n.e(607),n.e(187),n.e(534),n.e(571),n.e(987),n.e(411),n.e(688),n.e(142),n.e(306)]).then(n.bind(n,9406))),b=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(946),n.e(571),n.e(987),n.e(411),n.e(497)]).then(n.bind(n,3795))),L=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(59),n.e(946),n.e(607),n.e(187),n.e(340),n.e(571),n.e(987),n.e(411),n.e(688),n.e(261),n.e(933)]).then(n.bind(n,6989))),A=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(59),n.e(946),n.e(607),n.e(187),n.e(744),n.e(571),n.e(987),n.e(411),n.e(688),n.e(806)]).then(n.bind(n,3278))),P=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(59),n.e(257),n.e(571),n.e(987),n.e(1)]).then(n.bind(n,4596))),q=i.lazy(()=>Promise.all([n.e(283),n.e(304),n.e(59),n.e(946),n.e(607),n.e(187),n.e(571),n.e(987),n.e(411),n.e(688),n.e(906)]).then(n.bind(n,4688))),W=i.lazy(()=>n.e(374).then(n.bind(n,5100)));var k=function(e){var t,k;const[G]=(0,l.QN)("isInDesignMode"),[$]=(0,l.QN)("isDemoBrand"),[N]=(0,l.QN)("whatmoreTopBottomPadding"),[V]=(0,l.QN)("whatmoreStoriesTopBottomPadding"),{whatmoreIsStoriesTemplate:B}=(0,i.useContext)(u.B),[M]=(0,l.QN)("whatmoreShopId"),{whatmoreEventsBrowsingTemplate:F}=(0,i.useContext)(u.B),z=(0,l.Xd)("isLandingSharedLink"),R=(0,l.Xd)("whatmoreShareTemplateId"),H=(0,l.Xd)("whatmoreShareStoryId"),K=(0,l.Xd)("whatmoreShareEventId"),{whatmoreWidgetSourceDetails:U,whatmoreUserInfo:J}=(0,i.useContext)(u.B),Q=z&&F===(0,m.Mm)(R),[X,Y]=(0,i.useState)(Q),[Z,ee]=(0,i.useState)(-1),[te,ne]=(0,i.useState)(null);let ie=e.events;const oe=e.allEvents;var ae=null;B&&!ae&&(ae=function(e){var t=e.reduce((e,t,n)=>{var i,o=t.storyset_id;return o in e?(e[o].total_events=e[o].total_events+1,e[o].events.push(t)):e[o]={id:t.storyset_id,title:t.storyset_name,thumbnail_image:t.storyset_thumbnail_image,total_events:1,start_event_index:n,storyset_dynamic_thumbnail:null!==(i=null===t||void 0===t?void 0:t.storyset_dynamic_thumbnail)&&void 0!==i&&i,events:[t]},e},{}),n=Object.values(t);return n.sort((e,t)=>e.start_event_index-t.start_event_index),n}(ie));const le=U.landingLocationType,re=U.templateType;function se(e,t=!1,i=null){(0,c.MN)()&&(0,g._)()&&!t&&(0,d.bo)(),G||$||(async()=>{const{initializeGA:t,sendVideoViewEventToGA:i}=await Promise.resolve().then(n.bind(n,3330));t();const l=ae[e].events[0],r=(0,m.Wd)(le)+(0,m.gf)(re)+(null!==l&&void 0!==l&&l.isRelatedEvent?"R":"E")+"_"+(null===l||void 0===l?void 0:l.event_id);(0,a.lB)(l),i(M,o.TB,o.OL),(0,s.Ch)(l.event_id,l.products,"homepage","stories",r,null===l||void 0===l?void 0:l.location,null===J||void 0===J?void 0:J.userType)})();var l=0;null!=i&&ae[e].events.map((e,t)=>{e.event_id==i&&(l=t)}),ee(l),ne(e)}async function ce(e,t=!1){(0,c.MN)()&&(0,g._)()&&!t&&await(0,d.bo)(),ee(e.index),((0,p.ij)(e)||(0,p.Il)(e))&&(G||$||(async()=>{const{initializeGA:t,sendVideoViewEventToGA:i}=await Promise.resolve().then(n.bind(n,3330));t();const l=(0,m.Wd)(le)+(0,m.gf)(re)+(null!==e&&void 0!==e&&e.isRelatedEvent?"R":"E")+"_"+(null===e||void 0===e?void 0:e.event_id);(0,a.lB)(e),i(M,o.TB,o.Dk),(0,s.Ch)(e.event_id,e.products,"homepage","carousel",l)})())}function de(e){return(0,y.jsx)(y.Fragment,{})}return(0,i.useEffect)(()=>{if(Q)if((0,_.H)("whatmore-video-player",()=>{Y(!1)}),null!=H&&B){const e=ae.find(e=>H==e.id);if(e)return void se(ae.indexOf(e),!0,K)}else if(null!=K){const e=ie.find(e=>K==e.event_id);if(e)return void ce(e,!0)}},[]),(0,y.jsxs)(y.Fragment,{children:[X&&(0,y.jsx)(W,{}),-1==Z||-2==Z?(0,y.jsx)(de,{}):(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(v.S,{userInteractionType:h.O.EVENT_VIEW,event:ie[Z],productList:null===(t=ie[Z])||void 0===t?void 0:t.products,cta:null===(k=ie[Z])||void 0===k?void 0:k.cta,triggerFlag:!G&&!$,children:(0,y.jsx)(q,{events:oe,index:Z,onBack:async function(){ee(-1),Y(!1)},slideDirection:B||"horizontal"===(0,r.br0)(M)?"horizontal":"vertical",eventsStories:ae,initialStoryIndex:te,template:F})})}),(0,y.jsx)("div",{className:"whatmore-widget-container",style:{height:"100%",marginTop:(B?V:N)+"px",marginBottom:(B?V:N)+"px"},children:"template-b"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(v.S,{userInteractionType:h.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!G&&!$,children:(0,y.jsx)(S,{events:ie,onClick:ce,heading:e.heading})})}):"template-a-1"===F||"template-collections-a-1"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(w,{events:ie,onClick:ce,heading:e.heading})}):"template-feed-a"===F||"template-collections-feed-a"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(L,{events:ie,onClick:ce,heading:e.heading})}):"template-collections-a"===F||"template-c"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(v.S,{userInteractionType:h.O.COLLECTION_WIDGET_VIEW,triggerFlag:!G&&!$,children:(0,y.jsx)(I,{events:ie,index:Z,setScreen:ee,onClick:ce,heading:e.heading})})}):"template-collections-b"===F||"template-d"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(v.S,{userInteractionType:h.O.COLLECTION_WIDGET_VIEW,triggerFlag:!G&&!$,children:(0,y.jsx)(E,{events:ie,index:Z,setScreen:ee,onClick:ce,heading:e.heading})})}):"template-collections-c"===F||"template-e"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(v.S,{userInteractionType:h.O.COLLECTION_WIDGET_VIEW,triggerFlag:!G&&!$,children:(0,y.jsx)(T,{events:ie,index:Z,setScreen:ee,onClick:ce,heading:e.heading})})}):"template-collections-d"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(v.S,{userInteractionType:h.O.COLLECTION_WIDGET_VIEW,triggerFlag:!G&&!$,children:(0,y.jsx)(S,{events:ie,index:Z,setScreen:ee,onClick:ce,heading:e.heading})})}):"template-collections-e"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(v.S,{userInteractionType:h.O.COLLECTION_WIDGET_VIEW,triggerFlag:!G&&!$,children:(0,y.jsx)(f,{events:ie,index:Z,setScreen:ee,onClick:ce,heading:e.heading})})}):"template-collections-stories"===F||"template-stories"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(v.S,{userInteractionType:h.O.COLLECTION_WIDGET_VIEW,triggerFlag:!G&&!$,children:(0,y.jsx)(P,{events:ie,index:Z,setScreen:ee,onClick:ce,heading:e.heading})})}):"template-f"===F||"template-collections-f"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(v.S,{userInteractionType:h.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!G&&!$,children:(0,y.jsx)(O,{events:ie,onClick:ce,heading:e.heading})})}):"template-g"===F||"template-collections-g"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(v.S,{userInteractionType:h.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!G&&!$,children:(0,y.jsx)(C,{events:ie,onClick:ce,heading:e.heading})})}):"template-h"===F||"template-collections-h"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(v.S,{userInteractionType:h.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!G&&!$,children:(0,y.jsx)(j,{events:ie,onClick:ce,heading:e.heading})})}):"template-i"===F||"template-collections-i"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(v.S,{userInteractionType:h.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!G&&!$,children:(0,y.jsx)(D,{index:Z,events:ie,onClick:ce,heading:e.heading})})}):"template-j"===F||"template-collections-j"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(v.S,{userInteractionType:h.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!G&&!$,children:(0,y.jsx)(b,{events:ie,onClick:ce,heading:e.heading})})}):"template-banner-a"===F?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(v.S,{userInteractionType:h.O.BANNER_WIDGET_VIEW,event:ie[0],triggerFlag:!G&&!$,children:(0,y.jsx)(A,{events:ie})})}):B?(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(v.S,{userInteractionType:h.O.STORIES_WIDGET_VIEW,triggerFlag:!G&&!$,children:(0,y.jsx)(x,{eventsStories:ae,onClick:se,template:F})})}):(0,y.jsx)(i.Suspense,{children:(0,y.jsx)(v.S,{userInteractionType:h.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!G&&!$,children:(0,y.jsx)(f,{events:ie,onClick:ce,heading:e.heading})})})})]})},G=n(7802),$=n(6641),N=n(1351),V=n(5873),B=n(1019);function M(e){return e.split(/[?#]/)[0]}function F(e){return e.split(/[?#]/)[0]}var z=function(e){const[t,a]=(0,i.useState)(),[p,v]=(0,i.useState)(),[_,S]=(0,i.useState)(),{whatmoreIsStoriesTemplate:w}=(0,i.useContext)(u.B),{whatmoreIsCollectionsTemplate:I}=(0,i.useContext)(u.B),{whatmoreIsBannerTemplate:E}=(0,i.useContext)(u.B),[T]=(0,l.QN)("whatmoreShopId"),{whatmoreCollectionId:x}=(0,i.useContext)(u.B),f=(0,l.Xd)("whatmoreLandingLocationType"),O=(0,l.Xd)("whatmoreLoggingActive"),{whatmoreWidgetSourceDetails:C}=(0,i.useContext)(u.B),{whatmoreUserInfo:j,whatmoreIsPreviewMode:D}=(0,i.useContext)(u.B),b=(0,l.Xd)("whatmoreCollectionUrl"),[L]=(0,l.QN)("isInDesignMode"),[A]=(0,l.QN)("isDemoBrand"),P="19506115"==T?"343270603":(0,r.mJ$)(T)?(0,r.jLA)(T)?b:M(window.location.href):x||M(window.location.href),[q,W]=(0,l.QN)("productRatings"),[z,R]=(0,i.useState)(!1);var H=(0,r.SOt)(T)?o.aD+"/v2/events/":o.$$+"/v2/events/",K=(0,r.SOt)(T)?o.aD+"/v3/events/":o.$$+"/v3/events/",U=(0,r.SOt)(T)?o.aD+"/v4/events/":o.$$+"/v4/events/",J=(0,r.SOt)(T)?o.aD+"/v5/events/":o.$$+"/v5/events/",Q=((0,r.SOt)(T)?o.aD:o.$$,(0,r.SOt)(T)?o.aD+"/get_eventset/":o.$$+"/get_eventset/"),X=(0,r.SOt)(T)?o.aD+"/v2/collection":o.$$+"/v2/collection",Y=(0,r.SOt)(T)?o.aD+"/v3/collection":o.$$+"/v3/collection",Z=(0,r.SOt)(T)?o.aD+"/v4/collection":o.$$+"/v4/collection",ee=((0,r.jpW)(T)?o.$$:o.MT)+"/v2/brand/"+T+"/product-events",te=e.shopId,ne="live,upcoming",ie="true";return(0,i.useEffect)(()=>{null!=t&&0!=t.length&&!_&&(0,c.MN)()&&!(0,l.Xd)("whatmoreVideoPlayerPoolInitiated")&&(0,g._)()&&(0,d.Pc)(d.F5)},[t]),(0,i.useEffect)(()=>{var e,t,i,o;if((0,s.wm)(),f.startsWith("product")){var c=(0,l.Xd)("whatmoreProductId");if(c=(0,r.BcY)(T)?function(e){return"STRQMPNF7QK"==e?encodeURIComponent(window.location.href):"STR6HARJ3QY"==e||"STRI4V3OYCH"==e||"STRGZ9TGDEQ"==e||"STRJ2T2QPKI"==e?F(window.location.href).split("/").pop():F(window.location.href)}(T):c,(0,r.vvU)(T))o=H.toString()+te.toString()+"?status="+ne.toString()+"&is_active="+ie.toString()+(w?"&template_type=stories":"");else if((0,r.WH1)(T)){o=`${o=(0,B.B)(T)}?client_product_id=${c}&limit=10&recommended=${!(0,r.buK)(T)}&origin=${window.location.hostname}&status=live,upcoming&event_type=video`}else o=ee.toString()+"?client_product_id="+c.toString()+"&status="+ne.toString()+"&event_type=video"}else if(I||"invalid-url"!==b)o=(0,r.JwJ)(T)?`${Y.toString()}?store_id=${te.toString()}&client_collection_id=${"index"==f&&(0,r.FKG)(T).length>0?(0,r.FKG)(T)[0]:P}`:"78232846646"==T?`${Z.toString()}?store_id=${te.toString()}&client_collection_id=${"index"==f&&(0,r.FKG)(T).length>0?(0,r.FKG)(T)[0]:P}`:`${X.toString()}?store_id=${te.toString()}&client_collection_id=${"index"==f&&1==(0,r.FKG)(T).length?(0,r.FKG)(T)[0]:P}`;else if(E){const e=m.Jh,t=(0,m.t6)(f);o=Q.toString()+te.toString()+"?eventset_type="+e+"&source="+t+"&source_id="+T}else{var d,u,p,h;if(("72201044272"==T||"2665447536"==T&&D)&&!w)o=K.toString()+te.toString()+"?status="+ne.toString()+"&is_active="+ie.toString()+"&latitude="+(null!==(d=null===(u=JSON.parse(localStorage.getItem("_user_wh_lc")))||void 0===u?void 0:u.latitude)&&void 0!==d?d:"")+"&longitude="+(null!==(p=null===(h=JSON.parse(localStorage.getItem("_user_wh_lc")))||void 0===h?void 0:h.longitude)&&void 0!==p?p:"")+"&user_type="+(null!==j&&void 0!==j&&j.userType?"olduser":"newuser");else o=(0,r.JwJ)(T)&&!w?U.toString()+te.toString()+"?status="+ne.toString()+"&is_active="+ie.toString():"78232846646"!=T||w?H.toString()+te.toString()+"?status="+ne.toString()+"&is_active="+ie.toString()+(w?"&template_type=stories":""):J.toString()+te.toString()+"?status="+ne.toString()+"&is_active="+ie.toString()}const _=null===(e=window)||void 0===e||null===(t=e.whatmore)||void 0===t||null===(i=t.storyEvents)||void 0===i?void 0:i.events;w&&f.startsWith("index")&&"object"==typeof _&&(null===_||void 0===_?void 0:_.length)>0?(a(_),v(_),R(!0)):fetch(o).then(e=>e.json()).then(e=>{var t;if(E){const t=m.Jh;return(0,G.Po)(e,t)}return(0,r.JwJ)(T)&&(null===e||void 0===e||null===(t=e.questions)||void 0===t?void 0:t.length)>0&&(null==localStorage.getItem("_whatmore_qview_index")&&localStorage.setItem("_whatmore_qview_index",0),(0,s.d3)(null===e||void 0===e?void 0:e.questions)),(0,G.Np)(e,I||"invalid-url"!==b)}).then(e=>{var t,n;O&&console.debug("initial received events size : "+e.length);let i=[...null===e||void 0===e?void 0:e.events,...null===e||void 0===e?void 0:e.all_events];i=(0,r.xku)(T)?(0,G.d8)(i):(0,G.Zf)(i),v(i);const o=null!==(t=null===e||void 0===e||null===(n=e.events)||void 0===n?void 0:n.length)&&void 0!==t?t:0;return i.slice(0,o)}).then(e=>{if((A||L)&&(null==e||e&&0==(null===e||void 0===e?void 0:e.length))){const e=async()=>{const{eventsData:e,storiesData:t,bannerData:i}=await n.e(365).then(n.bind(n,6018));a(w?t:E?i:e)};e()}else a(e);R(!0)}).catch(e=>{S(e.message),R(!0)})},[]),(0,i.useEffect)(()=>{"index"===f?t&&t.length>0&&(0,N.yP)({userInteractionType:h.O.HOMEPAGE_VISITED,widgetSourceDetails:C}):"collection"===f?(t&&t.length>0||"Scale"==(0,r.yt9)(T)||"Enterprise"==(0,r.yt9)(T)||"Premium"==(0,r.yt9)(T))&&(0,N.yP)({userInteractionType:h.O.COLLECTION_PAGE_VISITED,widgetSourceDetails:C}):"product"===f&&(t&&t.length>0||"Scale"==(0,r.yt9)(T)||"Enterprise"==(0,r.yt9)(T)||"Premium"==(0,r.yt9)(T))&&(0,N.yP)({userInteractionType:h.O.PDP_VISITED,widgetSourceDetails:C})},[t]),z&&(null==t||0==t.length||_)&&V.Sn.forEach(e=>{var t,n,i,o;const a=null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-stories-a"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-stories-a"]'),l=null!==(n=e.querySelector('.whatmore-template-type[data-wh="template-a"]')||e.querySelector('.whatmore-template-type[data-wh="template-feed-a"]')||e.querySelector('.whatmore-template-type[data-wh="template-b"]')||e.querySelector('.whatmore-template-type[data-wh="template-f"]')||e.querySelector('.whatmore-template-type[data-wh="template-stories"]')||e.querySelector('.whatmore-template-type[data-wh="template-e"]')||e.querySelector('.whatmore-template-type[data-wh="template-a-1"]')||e.querySelector('.whatmore-template-type[data-wh="template-g"]')||e.querySelector('.whatmore-template-type[data-wh="template-h"]')||e.querySelector('.whatmore-template-type[data-wh="template-j"]'))&&void 0!==n?n:e.querySelector('.whatmore-template-type[data="template-a"]')||e.querySelector('.whatmore-template-type[data="template-b"]')||e.querySelector('.whatmore-template-type[data="template-f"]')||e.querySelector('.whatmore-template-type[data="template-stories"]')||e.querySelector('.whatmore-template-type[data="template-e"]')||e.querySelector('.whatmore-template-type[data="template-a-1"]')||e.querySelector('.whatmore-template-type[data="template-g"]')||e.querySelector('.whatmore-template-type[data="template-h"]')||e.querySelector('.whatmore-template-type[data="template-j"]'),r=null!==(i=e.querySelector('.whatmore-template-type[data-wh="template-collections-a"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-b"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-c"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-stories"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-d"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-e"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-f"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-g"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-h"]'))&&void 0!==i?i:e.querySelector('.whatmore-template-type[data="template-collections-a"]')||e.querySelector('.whatmore-template-type[data="template-collections-b"]')||e.querySelector('.whatmore-template-type[data="template-collections-c"]')||e.querySelector('.whatmore-template-type[data="template-collections-stories"]')||e.querySelector('.whatmore-template-type[data="template-collections-e"]')||e.querySelector('.whatmore-template-type[data="template-collections-d"]')||e.querySelector('.whatmore-template-type[data="template-collections-f"]')||e.querySelector('.whatmore-template-type[data="template-collections-g"]')||e.querySelector('.whatmore-template-type[data="template-collections-h"]')||e.querySelector('.whatmore-template-type[data="template-collections-j"]'),s=null!==(o=e.querySelector('.whatmore-template-type[data-wh="template-banner-a"]'))&&void 0!==o?o:e.querySelector('.whatmore-template-type[data="template-banner-a"]'),c=e;if(w){const t=e.querySelector(".whatmore-shimmer-stories");t&&(t.style.display="none")}else if(!I){const t=e.querySelector(".loading-skeleton-wrapper");t&&(t.style.display="none")}(s||r||l||a)&&(l&&c||a&&c||s&&c||r&&c)&&(c.style.minHeight="0px")}),null==t||0==t.length||_?(0,y.jsx)("div",{}):(O&&(0,$.xv)(t),O&&console.debug("final transformed events data : "+JSON.stringify(t)),O&&console.debug("valid events size : "+t.length),(0,y.jsx)(k,{heading:e.heading,events:t,allEvents:p}))}},8945:function(e,t,n){function i(e,t){let n=0;let i=new MutationObserver(function(){document.querySelector("."+e)?(t(),i.disconnect()):0==n&&(n=1,setTimeout(()=>{t(),i.disconnect()},8e3))});i.observe(document.body,{childList:!0,subtree:!0})}n.d(t,{H:function(){return i}})}}]);