whatmore-react-assets 1.0.1533 → 1.0.1535
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/static/js/921.bc803c51.chunk.js +1 -0
- package/static/js/app-main.16ead260.chunk.js +1 -0
- package/static/js/homepage-carousel-view.88f612cf.chunk.js +1 -0
- package/static/js/product-page-view.9e1354de.chunk.js +1 -0
- package/whatmore.js +2 -2
- package/static/js/app-main.24a7245a.chunk.js +0 -1
- package/static/js/homepage-carousel-view.b12f610e.chunk.js +0 -1
- package/static/js/product-page-view.41cee781.chunk.js +0 -1
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[921],{5100:function(t,e,a){var i=a(9950),s=a(7300),n=a(5830),r=a(4414);const o=i.memo((()=>{if(!(0,n.Xd)("isLandingSharedLink"))return(0,r.jsx)(r.Fragment,{});const[t]=(0,s.A)();return(0,r.jsxs)("div",{className:`shimmer-container ${t}`,children:["portrait"===t?(0,r.jsx)("div",{className:"shimmer-item portrait-full",children:(0,r.jsx)("div",{className:"shimmer-effect"})}):Array(3).fill().map(((t,e)=>(0,r.jsx)("div",{className:"shimmer-item landscape-item "+(1===e?"center-item":""),children:(0,r.jsx)("div",{className:"shimmer-effect"})},e))),(0,r.jsx)("style",{children:"\n .shimmer-container {\n display: flex;\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n overflow-x: scroll;\n scroll-snap-type: x mandatory;\n scroll-behavior: smooth;\n z-index: 1000;\n }\n\n .portrait {\n justify-content: center;\n align-items: center;\n background: rgba(0, 0, 0, 0.6);\n }\n\n .landscape {\n justify-content: center;\n align-items: center;\n background: rgba(0, 0, 0, 0.8);\n }\n\n .shimmer-item {\n scroll-snap-align: start;\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n transition: transform 0.3s ease;\n }\n\n .portrait-full {\n width: 100vw;\n height: 100vh;\n margin: 0; \n }\n\n .landscape-item {\n width: 250px;\n height: 450px;\n background: #D3D3D3;\n border-radius: 8px;\n margin-left: -50px; \n }\n\n .center-item {\n width: 360px;\n height: 620px;\n box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5); \n z-index: 10; \n }\n\n .shimmer-effect {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: linear-gradient(90deg, rgba(0, 0, 0, 0.3) 25%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.3) 75%);\n animation: shimmer 2s infinite;\n background-size: 200% 100%;\n }\n\n @keyframes shimmer {\n 0% {\n background-position: -200% 0;\n }\n 100% {\n background-position: 200% 0;\n }\n }\n "})]})}));e.A=o},8945:function(t,e,a){function i(t,e){let a=0;let i=new MutationObserver((function(){document.querySelector("."+t)?(e(),i.disconnect()):0==a&&(a=1,setTimeout((()=>{e(),i.disconnect()}),8e3))}));i.observe(document.body,{childList:!0,subtree:!0})}a.d(e,{H:function(){return i}})},6018:function(t,e,a){a.d(e,{N9:function(){return n},Yo:function(){return s},nw:function(){return r},uG:function(){return i}});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}],s=[{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}]},1351:function(t,e,a){a.d(e,{Qj:function(){return _},kz:function(){return l},UM:function(){return d},yP:function(){return p},DG:function(){return c}});var i=a(1348),s=a(5830),n=a(6157);function r(t,e){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=(0,s.Xd)("whatmoreShopId");(t!=n.O.EVENT_VIEW||(0,i.NFF)(r))&&(t!=n.O.VIDEO_PLAYBACK||(0,i.Eel)(r))&&(t!=n.O.SHOPNOW_ATC_CLICKED&&t!=n.O.PRODUCT_TILE_ATC_CLICKED||(0,i.T9r)(r))&&(t!=n.O.VIDEO_LIKED||(0,i.Mz3)(r))&&(t!=n.O.VIDEO_SHARE_CTA_CLICKED||(0,i.OLZ)(r))&&(t!=n.O.PRODUCT_TILE_SHOPNOW_CLICKED&&t!=n.O.SHOPNOW_CLICKED||(0,i.nEf)(r))&&"function"==typeof fbq&&(async()=>{fbq("trackCustom",_[t],{id:null===e||void 0===e?void 0:e.client_product_id,product_url:null===e||void 0===e?void 0:e.product_link,...t===n.O.VIDEO_PLAYBACK?{watch_time:a.watch_time,video_duration:a.video_duration}:{}})})()}var o=a(7145);const _={[n.O.EVENT_VIEW]:"whatmore_video_click_event",[n.O.VIDEO_LIKED]:"whatmore_video_like_event",[n.O.VIDEO_SHARE_CTA_CLICKED]:"whatmore_video_share_event",[n.O.PRODUCT_TILE_ATC_CLICKED]:"whatmore_video_atc_event",[n.O.SHOPNOW_ATC_CLICKED]:"whatmore_video_atc_event",[n.O.SHOPNOW_CLICKED]:"whatmore_product_tile_click_event",[n.O.PRODUCT_TILE_SHOPNOW_CLICKED]:"whatmore_product_tile_click_event",[n.O.VIDEO_PLAYBACK]:"whatmore_video_watch_event"};function l(t){var e;let{userInteractionType:a,userInteractionMetadata:i,widgetSourceDetails:s,event:n,productList:l,ctaList:c}=t;(0,o.B)({userInteractionType:a,userInteractionMetadata:i,widgetSourceDetails:s,event:n,productList:l,ctaList:c}),a in _&&r(a,null!==(e=null===l||void 0===l?void 0:l[1])&&void 0!==e?e:null===l||void 0===l?void 0:l[0])}function c(t){var e;let{userInteractionType:a,userInteractionMetadata:i,widgetSourceDetails:s,event:n,productList:l,ctaList:c}=t;(0,o.B)({userInteractionType:a,userInteractionMetadata:i,widgetSourceDetails:s,event:n,productList:l,ctaList:c}),a in _&&r(a,null!==(e=null===l||void 0===l?void 0:l[1])&&void 0!==e?e:null===l||void 0===l?void 0:l[0],i)}function d(t){let{userInteractionType:e,userInteractionMetadata:a,widgetSourceDetails:i,event:s,productList:n,ctaList:r}=t;(0,o.B)({userInteractionType:e,userInteractionMetadata:a,widgetSourceDetails:i,event:s,productList:n,ctaList:r})}function p(t){let{userInteractionType:e,userInteractionMetadata:a,widgetSourceDetails:i,event:s,productList:n,ctaList:r}=t;(0,o.B)({userInteractionType:e,userInteractionMetadata:a,widgetSourceDetails:i,event:s,productList:n,ctaList:r})}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[590],{7220:function(t,e,o){"use strict";o.r(e),o.d(e,{default:function(){return y}});var n=o(5830),i=o(9950),r=o(1348),l=o(1745);const a=function(t){new PerformanceObserver((e=>{for(const o of e.getEntries()){[`${window.location.origin}/cart/add.js`,`${window.location.origin}/cart/add`].includes(o.name)&&(console.debug("Whatmore :: Fetch request detected to",o.name),(0,r.dnh)(whatmoreShopId)&&setTimeout((()=>{(0,l.sw)(t)}),1e3))}})).observe({entryTypes:["resource"]})};var c=o(7740),s=o(4737),u=o(4833);var d,f=o(5491),h=o.n(f),m=o(964),g=o(4414);const p=i.lazy((()=>Promise.all([o.e(286),o.e(461),o.e(921),o.e(760)]).then(o.bind(o,8289)))),v=i.lazy((()=>Promise.all([o.e(572),o.e(526),o.e(879),o.e(286),o.e(296),o.e(461),o.e(921),o.e(774)]).then(o.bind(o,3389)))),w=i.lazy((()=>Promise.all([o.e(572),o.e(526),o.e(879),o.e(286),o.e(296),o.e(461),o.e(717)]).then(o.bind(o,8154)))),S=null!==(d="true"==localStorage.getItem("whatmoreActivateLogs"))&&void 0!==d&&d;let _=h()((t=>{fetch(m.$$+"/customization/frontend/"+t).then((t=>t.json())).then((e=>{(0,r.Tzr)(e,t),(0,n.t2)("brandCustomizationsLoaded",!0)})).catch((t=>{console.error("Whatmore : Error while fetching brandCustomizations : "+t)}))}),100,{leading:!0,trailing:!1});var y=function(){var t;const[e]=(0,n.QN)("whatmoreLandingLocationType"),[d]=(0,n.QN)("whatmoreShopId"),f=(0,n.Xd)("isInDesignMode"),h=(0,n.Xd)("isWhatmorePreviewModeWidth"),[m,y]=(0,n.QN)("brandCustomizationsLoaded"),[b]=(0,n.QN)("whatmoreEmbedAppUseVariant"),{whatmoreEventsBrowsingTemplate:j}=(0,i.useContext)(s.B),[x]=null===(t=performance)||void 0===t?void 0:t.getEntriesByType("navigation");if((0,i.useEffect)((()=>{if(!m){const t=3e5;(0,r.tVc)(t)&&"reload"!=(null===x||void 0===x?void 0:x.type)||0!=h?(console.log("preview not calling customs"),y(!0)):(console.log("preview calling customs"),_(d))}null==localStorage.getItem("_user_wh_lc")&&"72201044272"==d&&o.e(259).then(o.bind(o,3446)).then((t=>{let{getLocationDetails:e}=t;return e()})).then((t=>(localStorage.setItem("_user_wh_lc",JSON.stringify(t)),{}))).catch((t=>{localStorage.setItem("_user_wh_lc",JSON.stringify({latitude:"",longitude:""})),console.error(`Error: ${t}`)}))}),[]),(0,i.useEffect)((()=>{a("true"===b),(0,r.WmJ)(d)&&function(t){let e=document.createElement("style");e.innerHTML=t,document.head.appendChild(e)}((0,r.WmJ)(d))}),[m]),!m)return(0,g.jsx)(g.Fragment,{});if((0,c.U)()){if((0,u.Ig)(j))return(0,g.jsx)(g.Fragment,{});if("index"===e||"collection"===e||e.startsWith("collection")||e.startsWith("page")){if(!(0,u.io)(j))return S&&console.debug("Whatmore : Shopify, rendering index/collection page carousels : "+j),(0,g.jsx)(g.Fragment,{children:(0,g.jsx)(i.Suspense,{children:(0,g.jsx)(p,{})})});if(function(){var t,e,o,i,l,a,c,s,u,h,m,g;const p=(0,n.Xd)("whatmoreCollectionId");return f||(null===(t=window)||void 0===t||null===(e=t.Shopify)||void 0===e||null===(o=e.theme)||void 0===o?void 0:o.role)&&"main"!==(null===(i=window)||void 0===i||null===(l=i.Shopify)||void 0===l||null===(a=l.theme)||void 0===a?void 0:a.role)||(0,r.hbj)(d)&&(null===(c=window)||void 0===c||null===(s=c.Shopify)||void 0===s||null===(u=s.theme)||void 0===u?void 0:u.role)&&"main"===(null===(h=window)||void 0===h||null===(m=h.Shopify)||void 0===m||null===(g=m.theme)||void 0===g?void 0:g.role)&&((0,r.R2w)(d)||p&&(0,r.Idi)(d).includes(p))}())return S&&console.debug("Whatmore : Shopify, rendering index/collection page spotlight : "+j),(0,g.jsx)(g.Fragment,{children:(0,g.jsx)(i.Suspense,{children:(0,g.jsx)(w,{})})})}var I,T,O,N,W,$,E,J,P,k,F,C;return e.startsWith("product")?(0,u.io)(j)?(null!==(I=window)&&void 0!==I&&null!==(T=I.Shopify)&&void 0!==T&&null!==(O=T.theme)&&void 0!==O&&O.role&&"main"===(null===(N=window)||void 0===N||null===(W=N.Shopify)||void 0===W||null===($=W.theme)||void 0===$?void 0:$.role)||window.location.href.includes("localhost:"))&&(0,r.fDZ)(d)?(S&&console.debug("Whatmore : Shopify, rendering PDP-page popup : "+j),(0,g.jsx)(g.Fragment,{children:(0,g.jsx)(i.Suspense,{children:(0,g.jsx)(v,{})})})):(null!==(E=window)&&void 0!==E&&null!==(J=E.Shopify)&&void 0!==J&&null!==(P=J.theme)&&void 0!==P&&P.role&&"main"!==(null===(k=window)||void 0===k||null===(F=k.Shopify)||void 0===F||null===(C=F.theme)||void 0===C?void 0:C.role)||f)&&(0,r.C1J)(d)?(0,g.jsx)(g.Fragment,{children:(0,g.jsx)(i.Suspense,{children:(0,g.jsx)(v,{})})}):(S&&console.debug("Whatmore : Shopify, PDP-page popup disabled."),(0,g.jsx)(g.Fragment,{})):(S&&console.debug("Whatmore : Shopify, rendering PDP-page carousels : "+j),(0,g.jsx)(g.Fragment,{children:(0,g.jsx)(i.Suspense,{children:(0,g.jsx)(p,{})})})):((0,r.dnh)(d)&&(0,r.bQo)(d)&&"cart"===e&&(S&&console.debug("Whatmore : initiating whatmore attribution from cart page."),(0,l.sw)("true"===b)),(0,g.jsx)(g.Fragment,{}))}return"index"===e||"collection"===e?(0,u.io)(j)?(S&&console.debug("Whatmore : External, rendering index/collection page popup : "+j),(0,g.jsx)(g.Fragment,{})):(S&&console.debug("Whatmore : External, rendering index/collection page carousels : "+j),(0,g.jsx)(g.Fragment,{children:(0,g.jsx)(i.Suspense,{children:(0,g.jsx)(p,{})})})):e.startsWith("product")||"embed"===e?(0,u.Ig)(j)||(0,u.io)(j)?(0,r.fDZ)(d)?(S&&console.debug("Whatmore : External, rendering PDP-page popup : "+j),(0,g.jsx)(g.Fragment,{children:(0,g.jsx)(i.Suspense,{children:(0,g.jsx)(v,{})})})):(S&&console.debug("Whatmore : External, PDP-page popup disabled."),(0,g.jsx)(g.Fragment,{})):(S&&console.debug("Whatmore : External, rendering PDP-page carousels : "+j),(0,g.jsx)(g.Fragment,{children:(0,g.jsx)(i.Suspense,{children:(0,g.jsx)(p,{})})})):(0,g.jsx)(g.Fragment,{})}},7740:function(t,e,o){"use strict";function n(){return!(void 0==window.Shopify&&!window.location.href.includes("shopify")&&!window.location.href.includes("localhost:"))}o.d(e,{U:function(){return n}})},6641:function(t,e,o){"use strict";o.d(e,{Fk:function(){return s},gv:function(){return c},xv:function(){return a}});var n=o(5830);const i="Whatmore : ",r=(0,n.Xd)("whatmoreShopId");function l(t){console.debug(i+t)}function a(t){var e;null!==(e="true"==localStorage.getItem("whatmoreActivateLogs"))&&void 0!==e&&e&&(l("total events received : "+(t&&t.length)),l("events data : "+JSON.stringify(t)))}function c(t){var e;null!==(e="true"==localStorage.getItem("whatmoreActivateLogs"))&&void 0!==e&&e&&l(t)}const s=t=>{"STR60LW4WMA"!=r&&console.log(`%c ${t}`,"background: #D53F8C; color: white; font-size: 19px; padding: 5px; font-weight: semibold;","\n\nFind us here -> https://www.whatmore.ai")}},1745:function(t,e,o){"use strict";o.d(e,{RX:function(){return d},sw:function(){return u},iL:function(){return h},oV:function(){return f},Lt:function(){return c},js:function(){return s},tN:function(){return m},_N:function(){return g}});var n=o(1348);const i="_whatmore-tracking-id";var r=o(2089),l=o(4533),a=o(5830);function c(){const t="https://"+window.location.hostname+"/cart.json";return fetch(t,{method:"GET"})}async function s(){const t="https://"+window.location.hostname+"/cart.json";return await fetch(t,{method:"GET"})}async function u(t){var e;let o,c=(0,r.Ak)(),u=null,d=null,f={},h=null,m=null,g=null,p={};const v=(0,a.Xd)("whatmoreShopId");let w=(0,l.CK)(),S=null===(e=localStorage)||void 0===e?void 0:e.wht_is_impression,_=w.length>0;w.forEach((t=>{p.hasOwnProperty(null===t||void 0===t?void 0:t.product_id)||(p[null===t||void 0===t?void 0:t.product_id]={widgetInfo:null===t||void 0===t?void 0:t.widget_info,location:null===t||void 0===t?void 0:t.location,userType:null===t||void 0===t?void 0:t.user_type})})),await s().then((t=>t.json())).then((e=>{c=e.token,o=e.attributes;let r=[];if(r=!0===t?e.items.map((t=>{const e=p[null===t||void 0===t?void 0:t.variant_id];return{...t,location:null===e||void 0===e?void 0:e.location,userType:null===e||void 0===e?void 0:e.userType,widget_info:null===e||void 0===e?void 0:e.widgetInfo}})):e.items.map((t=>{const e=p[null===t||void 0===t?void 0:t.product_id];return{...t,location:null===e||void 0===e?void 0:e.location,userType:null===e||void 0===e?void 0:e.userType,widget_info:null===e||void 0===e?void 0:e.widgetInfo}})),0==r.length)return console.debug("Whatmore :: no cart items available for view products"),null;r.map(((e,c)=>{if(u=e.key,d=e.quantity,f=e.properties,h=e.widget_info,m=e.location,g=e.userType,null!==f&&i in f||!p.hasOwnProperty(JSON.stringify(!0===t?e.variant_id:e.product_id))){if((S||_)&&0==c&&!(0,n.tSy)(v)){let t=o;if(1===r.length){const{_wvi:e,_wvs:n,...i}=o;t=i}!async function(t,e){const o=t?"__wvs":"__wvi",n={...e,[o]:"1"},i=await fetch("https://"+window.location.hostname+"/cart/update.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({attributes:n})}).then((t=>t.json())).catch((t=>{console.error("Whatmore :: Error while updating cart attribute.",t)}))}(_,t,null===e||void 0===e||e.product_id)}}else!async function(t,e,o,n){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"default",c=arguments.length>5?arguments[5]:void 0,s=arguments.length>6?arguments[6]:void 0,u=arguments.length>7?arguments[7]:void 0,d=arguments.length>8?arguments[8]:void 0;const f=(0,a.Xd)("whatmoreShopId"),h=s?(0,l.wm)()+("72201044272"==f?`#${n}#${r}#${c?"olduser":"newuser"}`:`#${n}`):d?"_wt_vs":u?"_wt_vi":"";if(""==h||"_wt_vs"==h||"_wt_vi"==h||"77604192550"==f||"80856187185"==f||"86486974743"==f)return;let m={id:t,quantity:e,properties:{...h?{[i]:h}:{},...o}};const g=await fetch("https://"+window.location.hostname+"/cart/change.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(m)}).then((t=>t.json())).catch((t=>{console.error("Whatmore :: Error while updating cart line item properties.",t)}))}(u,d,f,h,m,g,!0,S,_)}))})).catch((t=>{console.error("Whatmore :: Error while fetching cart_token for cart attribute update.",t)}))}async function d(t,e,o,r){let a,c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"default",s=arguments.length>5?arguments[5]:void 0;if((0,n.dnh)(o)){const n=(0,l.wm)()+("72201044272"==o?`#${r}#${c}#${s?"olduser":"newuser"}:direct`:`#${r}:direct`);a={items:t.map((t=>({id:t,quantity:e,properties:{[i]:n}})))}}else a={items:t.map((t=>({id:t,quantity:e})))};return await fetch("https://"+window.location.hostname+"/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)})}function f(t,e,o,i){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"default",l=arguments.length>5?arguments[5]:void 0;const a="https://"+window.location.hostname;var c;const s="72201044272"==o?`came-from-whatmore-live_${i}_${r}_${l?"olduser":"newuser"}`:`came-from-whatmore-live_${i}`;(0,n.BLb)(o)?(c=`${a}/cart/${t}:${e}?`+(0,n.VCz)(o)+"&"+(0,n.Spk)(o)+"&"+(0,n.KMo)(o),(0,n.dnh)(o)&&(c=`${c}&ref=`+s)):(c=`${a}/cart/${t}:${e}`,(0,n.dnh)(o)&&(c=`${c}?ref=`+s)),window.location.href=c}function h(t){const e="https://"+window.location.hostname+"/cart";(0,n.BLb)(t)?window.location.href=e+"?"+(0,n.VCz)(t)+"&"+(0,n.Spk)(t)+"&"+(0,n.yD5)(t):window.location.href=e}async function m(t){let e;if("27303477337"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"")){var o,n;const i="https://"+window.location.hostname,r=window.location.pathname.split("/");e=i+"/"+(null!==r&&void 0!==r&&null!==(o=r[1])&&void 0!==o&&o.startsWith("en-")?(null===r||void 0===r?void 0:r[1])+"/":"")+(null===t||void 0===t||null===(n=t.product_link)||void 0===n?void 0:n.split(".co")[1])+".js"}else e=(null===t||void 0===t?void 0:t.product_link)+".js";const i=await fetch(e,{method:"GET"});if(!i.ok)throw new Error(`Error! status: ${i.status}`);return await i.json()}async function g(t){const e=t.product_link+".json",o=await fetch(e,{method:"GET"});if(!o.ok)throw new Error(`Error! status: ${o.status}`);return await o.json()}},4533:function(t,e,o){"use strict";o.d(e,{CK:function(){return j},Ch:function(){return b},Fu:function(){return y},Hm:function(){return x},d3:function(){return I},wm:function(){return S},zv:function(){return _}});var n=o(2089),i=o(5830),r=o(4820);const l="_whatmore_user_id",a="_whatmore_session_id",c="_whatmore_viewed_products",s="_whatmore_add_to_cart_products",u="_whatmore_session_time",d="_whatmore_store_id",f="_whatmore_qview_index",h="_whatmore_brand_questions",m=(0,i.Xd)("whatmoreShopId"),g=18e5,p=2592e5,v=6e5,w="_whatmore_bulk_events";function S(){return localStorage.getItem(d)!=m&&localStorage.setItem(d,m),null==localStorage.getItem(l)&&function(){new Date;const t=(0,n.Ak)();localStorage.setItem(l,t)}(),localStorage.getItem(l)}function _(){const t=new Date,e=JSON.parse(localStorage.getItem(w))||[],o=localStorage.getItem(u);return(null==localStorage.getItem(a)||null==o||t.getTime()>o)&&(localStorage.removeItem(a),localStorage.removeItem(u),function(){const t=(0,n.Ak)(),e=(new Date).getTime()+g;localStorage.setItem(a,t),localStorage.setItem(u,e)}(),e&&e.length>0&&((0,r.u)(e),localStorage.removeItem(w))),localStorage.getItem(a)}function y(t,e,o,n,i){const r=(new Date).getTime(),l={event_id:t.event_id,product_id:e.client_product_id,product_title:e.title,price:e.price,timestamp:r,widget_info:o,location:n,user_type:i?"olduser":"newuser",variants:[]};if(null===localStorage.getItem(s))localStorage.setItem(s,JSON.stringify([l]));else{let t=JSON.parse(localStorage.getItem(s)).filter((t=>t.timestamp+p>r));localStorage.setItem(s,JSON.stringify([...t,l]))}}function b(t,e,o,n,i){let r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"default",l=arguments.length>6?arguments[6]:void 0;const a=[],s=(new Date).getTime();if(e.map((e=>{const c={event_id:t,product_id:e.client_product_id,product_title:e.title,price:e.price,timestamp:s,variants:[],page:o,widget_type:n,widget_info:i,location:r,user_type:l?"olduser":"newuser"};a.push(c)})),null===localStorage.getItem(c))console.debug("viewed Products",JSON.stringify(a)),localStorage.setItem(c,JSON.stringify(a));else{let e=JSON.parse(localStorage.getItem(c)),o=!1;e.map((e=>{let n=Object.assign({},e);return e.event_id===t&&(e.timestamp=s,o=!0),n})),o?localStorage.setItem(c,JSON.stringify(e)):localStorage.setItem(c,JSON.stringify([...e,...a]))}}function j(){const t=(new Date).getTime();let e=JSON.parse(localStorage.getItem(c));if(!e)return[];let o=e.filter((e=>e.timestamp+p>t));return localStorage.setItem(c,JSON.stringify(o)),o}function x(){if(null!=localStorage.getItem(f)){const t=parseInt(localStorage.getItem(f))+1;localStorage.setItem(f,t)}}function I(t){const e=(new Date).getTime();if(null==localStorage.getItem(h)){const o={questionList:null===t||void 0===t?void 0:t.filter((t=>1==(null===t||void 0===t?void 0:t.is_active))),timestamp:e};localStorage.setItem(h,JSON.stringify(o))}else{const o=JSON.parse(localStorage.getItem(h));if((null===o||void 0===o?void 0:o.timestamp)+v>e){const o={questionList:null===t||void 0===t?void 0:t.filter((t=>1==(null===t||void 0===t?void 0:t.is_active))),timestamp:e};localStorage.setItem(h,JSON.stringify(o))}}}},4820:function(t,e,o){"use strict";o.d(e,{u:function(){return r}});var n=o(964),i=o(6641);const r=function(t){let e={};const o=t.length<10;e.metric_event_list=t,(async()=>{!function(t,e){const o="ingesting analytis-event";(0,i.gv)(o);const r=t;fetch(n.qW+"/event_metrics/bulk",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(r),keepalive:e}).then((t=>t.json())).then((t=>{})).catch((t=>{console.error("error "+o,t)}))}(e,o)})()}},4635:function(t,e,o){var n=o(4759).Symbol;t.exports=n},2022:function(t,e,o){var n=o(4635),i=o(1581),r=o(5336),l=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":l&&l in Object(t)?i(t):r(t)}},6914:function(t,e,o){var n=o(8798),i=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(i,""):t}},6658:function(t,e,o){var n="object"==typeof o.g&&o.g&&o.g.Object===Object&&o.g;t.exports=n},1581:function(t,e,o){var n=o(4635),i=Object.prototype,r=i.hasOwnProperty,l=i.toString,a=n?n.toStringTag:void 0;t.exports=function(t){var e=r.call(t,a),o=t[a];try{t[a]=void 0;var n=!0}catch(c){}var i=l.call(t);return n&&(e?t[a]=o:delete t[a]),i}},5336:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},4759:function(t,e,o){var n=o(6658),i="object"==typeof self&&self&&self.Object===Object&&self,r=n||i||Function("return this")();t.exports=r},8798:function(t){var e=/\s/;t.exports=function(t){for(var o=t.length;o--&&e.test(t.charAt(o)););return o}},5491:function(t,e,o){var n=o(4567),i=o(4378),r=o(2588),l=Math.max,a=Math.min;t.exports=function(t,e,o){var c,s,u,d,f,h,m=0,g=!1,p=!1,v=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function w(e){var o=c,n=s;return c=s=void 0,m=e,d=t.apply(n,o)}function S(t){var o=t-h;return void 0===h||o>=e||o<0||p&&t-m>=u}function _(){var t=i();if(S(t))return y(t);f=setTimeout(_,function(t){var o=e-(t-h);return p?a(o,u-(t-m)):o}(t))}function y(t){return f=void 0,v&&c?w(t):(c=s=void 0,d)}function b(){var t=i(),o=S(t);if(c=arguments,s=this,h=t,o){if(void 0===f)return function(t){return m=t,f=setTimeout(_,e),g?w(t):d}(h);if(p)return clearTimeout(f),f=setTimeout(_,e),w(h)}return void 0===f&&(f=setTimeout(_,e)),d}return e=r(e)||0,n(o)&&(g=!!o.leading,u=(p="maxWait"in o)?l(r(o.maxWait)||0,e):u,v="trailing"in o?!!o.trailing:v),b.cancel=function(){void 0!==f&&clearTimeout(f),m=0,c=h=s=f=void 0},b.flush=function(){return void 0===f?d:y(i())},b}},4567:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},9248:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},184:function(t,e,o){var n=o(2022),i=o(9248);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==n(t)}},4378:function(t,e,o){var n=o(4759);t.exports=function(){return n.Date.now()}},2588:function(t,e,o){var n=o(6914),i=o(4567),r=o(184),l=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,s=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(r(t))return NaN;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var o=a.test(t);return o||c.test(t)?s(t.slice(2),o?2:8):l.test(t)?NaN:+t}},2089:function(t,e,o){"use strict";o.d(e,{Ak:function(){return n}});let n=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:21;return crypto.getRandomValues(new Uint8Array(t)).reduce(((t,e)=>t+=(e&=63)<36?e.toString(36):e<62?(e-26).toString(36).toUpperCase():e>62?"-":"_"),"")}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[760],{8289:function(e,t,n){n.r(t),n.d(t,{default:function(){return V}});var l=n(5830),o=n(9950),a=n(964),i=n(140),r=n(1348),s=n(4533),d=n(6613),c=n(1085),u=n(3330),h=n(852),p=n(4737),m=n(2039),v=n(4833),g=n(2979),S=n(6157),y=n(5100),w=n(8945),_=n(9821),f=n(4414);const x=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(378),n.e(296),n.e(987),n.e(669),n.e(665)]).then(n.bind(n,7206)))),I=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(437),n.e(296),n.e(620),n.e(116)]).then(n.bind(n,7144)))),E=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(879),n.e(296),n.e(987),n.e(920),n.e(423)]).then(n.bind(n,517)))),O=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(879),n.e(296),n.e(987),n.e(920),n.e(412)]).then(n.bind(n,7646)))),j=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(879),n.e(296),n.e(987),n.e(221)]).then(n.bind(n,5451)))),T=o.lazy((()=>Promise.all([n.e(572),n.e(491)]).then(n.bind(n,3319)))),C=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(378),n.e(437),n.e(181),n.e(987),n.e(669),n.e(650),n.e(956)]).then(n.bind(n,8650)))),q=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(378),n.e(296),n.e(987),n.e(669),n.e(620),n.e(474)]).then(n.bind(n,6945)))),b=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(296),n.e(669),n.e(485)]).then(n.bind(n,9418)))),D=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(378),n.e(296),n.e(987),n.e(676)]).then(n.bind(n,3369)))),N=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(378),n.e(296),n.e(987),n.e(669),n.e(891)]).then(n.bind(n,7178)))),L=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(437),n.e(296),n.e(669),n.e(620),n.e(933)]).then(n.bind(n,6989)))),P=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(378),n.e(437),n.e(181),n.e(987),n.e(669),n.e(650),n.e(806)]).then(n.bind(n,3278)))),W=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(879),n.e(296),n.e(987),n.e(1)]).then(n.bind(n,4596))));var $=function(e){const[t]=(0,l.QN)("isInDesignMode"),[n]=(0,l.QN)("isDemoBrand"),[$]=(0,l.QN)("whatmoreTopBottomPadding"),[k]=(0,l.QN)("whatmoreStoriesTopBottomPadding"),{whatmoreIsStoriesTemplate:F}=(0,o.useContext)(p.B),[G]=(0,l.QN)("whatmoreShopId"),{whatmoreEventsBrowsingTemplate:B}=(0,o.useContext)(p.B),R=(0,l.Xd)("isLandingSharedLink"),z=(0,l.Xd)("whatmoreShareTemplateId"),A=(0,l.Xd)("whatmoreShareStoryId"),M=(0,l.Xd)("whatmoreShareEventId"),{whatmoreWidgetSourceDetails:J,whatmoreUserInfo:V}=(0,o.useContext)(p.B),Q=R&&B===(0,v.Mm)(z),[X,H]=(0,o.useState)(Q),[U,K]=(0,o.useState)(-1),[Y,Z]=(0,o.useState)(null);let ee=e.events,te=null===e||void 0===e?void 0:e.allEvents,ne=[],le=[];if("template-banner-a"!==B){let e=0;for(let t=0;t<(null===ee||void 0===ee?void 0:ee.length);t++){var oe,ae;((0,m.ij)(ee[t])||(0,m.Il)(ee[t]))&&(null===(oe=null===(ae=ee[t])||void 0===ae?void 0:ae.in_stock)||void 0===oe||oe||(0,r.xku)(G))&&(ne.push({...null===ee||void 0===ee?void 0:ee[t],index:e}),e++)}for(let t=0;t<(null===te||void 0===te?void 0:te.length);t++){var ie,re;!(0,m.ij)(null===te||void 0===te?void 0:te[t])&&!(0,m.Il)(null===te||void 0===te?void 0:te[t])||null!==(ie=null===te||void 0===te||null===(re=te[t])||void 0===re?void 0:re.in_stock)&&void 0!==ie&&!ie||(le.push({...null===te||void 0===te?void 0:te[t],index:e}),e++)}}let se=[...ne,...le];var de=null;F&&!de&&(de=function(e){var t=e.reduce(((e,t,n)=>{var l,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!==(l=null===t||void 0===t?void 0:t.storyset_dynamic_thumbnail)&&void 0!==l&&l,events:[t]},e}),{}),n=Object.values(t);return n.sort(((e,t)=>e.start_event_index-t.start_event_index)),n}(ne));const ce=J.landingLocationType,ue=J.templateType;function he(e){let l=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;(0,d.MN)()&&(0,_._)()&&!l&&(0,c.bo)(),t||n||(async()=>{const t=de[e].events[0],n=(0,v.Wd)(ce)+(0,v.gf)(ue)+(null!==t&&void 0!==t&&t.isRelatedEvent?"R":"E")+"_"+(null===t||void 0===t?void 0:t.event_id);(0,i.lB)(t),(0,u.Si)(G,a.TB,a.OL),(0,s.Ch)(t.event_id,t.products,"homepage","stories",n,null===t||void 0===t?void 0:t.location,null===V||void 0===V?void 0:V.userType)})();var r=0;null!=o&&de[e].events.map(((e,t)=>{e.event_id==o&&(r=t)})),K(r),Z(e)}async function pe(e){let l=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,d.MN)()&&(0,_._)()&&!l&&await(0,c.bo)(),K(e.index),((0,m.ij)(e)||(0,m.Il)(e))&&(t||n||(async()=>{const t=(0,v.Wd)(ce)+(0,v.gf)(ue)+(null!==e&&void 0!==e&&e.isRelatedEvent?"R":"E")+"_"+(null===e||void 0===e?void 0:e.event_id);(0,i.lB)(e),(0,u.Si)(G,a.TB,a.Dk),(0,s.Ch)(e.event_id,e.products,"homepage","carousel",t)})())}function me(e){return(0,f.jsx)(f.Fragment,{})}return(0,o.useEffect)((()=>{if(Q)if((0,w.H)("whatmore-video-player",(()=>{H(!1)})),null!=A&&F){const e=de.find((e=>A==e.id));if(e)return void he(de.indexOf(e),!0,M)}else if(null!=M){const e=ne.find((e=>M==e.event_id));if(e)return void pe(e,!0)}}),[]),(0,f.jsxs)(f.Fragment,{children:[X&&(0,f.jsx)(y.A,{}),(0,f.jsx)("div",{className:"whatmore-widget-container",style:{height:"100%",marginTop:(F?k:$)+"px",marginBottom:(F?k:$)+"px"},children:"template-b"===B?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(x,{events:ne,onClick:pe,heading:e.heading})})}):"template-a-1"===B?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(I,{events:ne,onClick:pe,heading:e.heading})}):"template-feed-a"===B?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(L,{events:ne,onClick:pe,heading:e.heading})}):"template-collections-a"===B||"template-c"===B?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.COLLECTION_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(E,{events:ne,index:U,setScreen:K,onClick:pe,heading:e.heading})})}):"template-collections-b"===B||"template-d"===B?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.COLLECTION_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(O,{events:ne,index:U,setScreen:K,onClick:pe,heading:e.heading})})}):"template-collections-c"===B||"template-e"===B?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.COLLECTION_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(j,{events:ne,index:U,setScreen:K,onClick:pe,heading:e.heading})})}):"template-collections-d"===B?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.COLLECTION_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(x,{events:ne,index:U,setScreen:K,onClick:pe,heading:e.heading})})}):"template-collections-e"===B?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.COLLECTION_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(q,{events:ne,index:U,setScreen:K,onClick:pe,heading:e.heading})})}):"template-collections-stories"===B||"template-stories"===B?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.COLLECTION_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(W,{events:ne,index:U,setScreen:K,onClick:pe,heading:e.heading})})}):"template-f"===B||"template-collections-f"===B?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(b,{events:ne,onClick:pe,heading:e.heading})})}):"template-g"===B||"template-collections-g"===B?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(D,{events:ne,onClick:pe,heading:e.heading})})}):"template-h"===B||"template-collections-h"===B?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(N,{events:ne,onClick:pe,heading:e.heading})})}):"template-banner-a"===B?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.BANNER_WIDGET_VIEW,event:ee[0],triggerFlag:!t&&!n,children:(0,f.jsx)(P,{events:ee})})}):F?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.STORIES_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(T,{eventsStories:de,onClick:he,template:B})})}):(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(q,{events:ne,onClick:pe,heading:e.heading})})})}),-1==U||-2==U?(0,f.jsx)(me,{}):(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.EVENT_VIEW,event:ee[U],productList:ee[U].products,cta:ee[U].cta,triggerFlag:!t&&!n,children:(0,f.jsx)(C,{events:se,index:U,onBack:function(e){(0,r.ei)(G)&&(0,l.Xd)("whatmoreAddedToCart")&&(0,h.H)(G,(()=>{}),100,window.location.hostname,e),K(-1),H(!1)},slideDirection:F||"horizontal"===(0,r.br0)(G)?"horizontal":"vertical",eventsStories:de,initialStoryIndex:Y,template:B})})})]})};const k=function(e,t,n){const o=(0,l.Xd)("whatmoreShopId");var a=t.reduce(((e,t,n)=>(t.products.map((e=>e.client_product_id)).forEach((t=>{t in e||(e[t]=!0)})),e)),{}),i=Object.keys(a);if("60960964855"==o&&"undefined"!=typeof fera&&"function"===typeof fera.getRatings){var r={};fera.getRatings(i,(e=>{new Promise(((t,n)=>{e.forEach((e=>{r[e.external_product_id]={avgRating:e.average,totalRatings:e.count}})),t(r)})).then((e=>n(e)))}))}if("23114481744"==o){const e="1e6MQXxzYR19mpw9Km6Dcm86";r={};fetch("https://api.juniphq.com/v1/products?filter[remote_ids]="+i.toString(),{headers:{"Junip-Store-Key":e}}).then((e=>e.json())).then((e=>(e.products.forEach((e=>{r[e.remote_id]={avgRating:parseFloat(e.rating_average).toFixed(1),totalRatings:e.rating_count}})),r))).then((e=>n(e))).catch((e=>console.error(e)))}};var F=n(7802),G=n(6641),B=n(1351),R=n(4820),z=n(5873),A=n(6018);var M=function(e){const[t,n]=(0,o.useState)(),[i,u]=(0,o.useState)([]),[h,m]=(0,o.useState)(),{whatmoreIsStoriesTemplate:g}=(0,o.useContext)(p.B),{whatmoreIsCollectionsTemplate:y}=(0,o.useContext)(p.B),{whatmoreIsBannerTemplate:w}=(0,o.useContext)(p.B),[x]=(0,l.QN)("whatmoreShopId"),[I]=(0,l.QN)("whatmoreCollectionId"),E=(0,l.Xd)("whatmoreLandingLocationType"),O=(0,l.Xd)("whatmoreLoggingActive"),{whatmoreWidgetSourceDetails:j}=(0,o.useContext)(p.B),{whatmoreUserInfo:T,whatmoreIsPreviewMode:C}=(0,o.useContext)(p.B),q=(0,l.Xd)("whatmoreCollectionUrl"),[b]=(0,l.QN)("isInDesignMode"),[D]=(0,l.QN)("isDemoBrand"),N=(0,r.mJ$)(x)?(0,r.jLA)(x)?q:window.location.href.split(/[?#]/)[0]:I,[L,P]=(0,l.QN)("productRatings"),[W,M]=(0,o.useState)(!1);var J=(0,r.SOt)(x)?a.aD+"/v2/events/":a.$$+"/v2/events/",V=(0,r.SOt)(x)?a.aD+"/v3/events/":a.$$+"/v3/events/",Q=(0,r.SOt)(x)?a.aD+"/v4/events/":a.$$+"/v4/events/",X=(0,r.SOt)(x)?a.aD+"/v5/events/":a.$$+"/v5/events/",H=(0,r.SOt)(x)?a.aD+"/v6/events/":a.$$+"/v6/events/",U=(0,r.SOt)(x)?a.aD+"/get_eventset/":a.$$+"/get_eventset/",K=(0,r.SOt)(x)?a.aD+"/v2/collection":a.$$+"/v2/collection",Y=(0,r.SOt)(x)?a.aD+"/v3/collection":a.$$+"/v3/collection",Z=(0,r.SOt)(x)?a.aD+"/v4/collection":a.$$+"/v4/collection",ee=(0,r.SOt)(x)?a.aD+"/v2/brand/"+x+"/product-events":a.$$+"/v2/brand/"+x+"/product-events",te=e.shopId,ne="live,upcoming",le="true";return(0,o.useEffect)((()=>{(0,s.wm)();const e=()=>{const e="_whatmore_bulk_events",t=JSON.parse(localStorage.getItem(e))||[];t&&t.length>0&&((0,R.u)(t),localStorage.removeItem(e))};return window.addEventListener("beforeunload",e),()=>{window.removeEventListener("beforeunload",e)}}),[]),(0,o.useEffect)((()=>{null!=t&&0!=t.length&&!h&&(0,d.MN)()&&!(0,l.Xd)("whatmoreVideoPlayerPoolInitiated")&&(0,_._)()&&(0,c.Pc)(c.F5)}),[t]),(0,o.useEffect)((()=>{var e;if(E.startsWith("product"))if((0,r.vvU)(x))e=J.toString()+te.toString()+"?status="+ne.toString()+"&is_active="+le.toString()+(g?"&template_type=stories":"");else{var t=(0,l.Xd)("whatmoreProductId");t=(0,r.BcY)(x)?function(e,t){return"STRQMPNF7QK"==t?encodeURIComponent(e):e.split(/[?#]/)[0]}(window.location.href,x):t,e=ee.toString()+"?client_product_id="+t.toString()+"&status="+ne.toString()+"&event_type=video"}else if(y||"invalid-url"!==q)e=(0,r.JwJ)(x)?`${Y.toString()}?store_id=${te.toString()}&client_collection_id=${"index"==E&&(0,r.FKG)(x).length>0?(0,r.FKG)(x)[0]:N}`:"78232846646"==x?`${Z.toString()}?store_id=${te.toString()}&client_collection_id=${"index"==E&&(0,r.FKG)(x).length>0?(0,r.FKG)(x)[0]:N}`:`${K.toString()}?store_id=${te.toString()}&client_collection_id=${"index"==E&&(0,r.FKG)(x).length>0?(0,r.FKG)(x)[0]:N}`;else if(w){const t=v.Jh,n=(0,v.t6)(E);e=U.toString()+te.toString()+"?eventset_type="+t+"&source="+n+"&source_id="+x}else{var o,a,i,d;if(("72201044272"==x||"2665447536"==x&&C)&&!g)e=V.toString()+te.toString()+"?status="+ne.toString()+"&is_active="+le.toString()+"&latitude="+(null!==(o=null===(a=JSON.parse(localStorage.getItem("_user_wh_lc")))||void 0===a?void 0:a.latitude)&&void 0!==o?o:"")+"&longitude="+(null!==(i=null===(d=JSON.parse(localStorage.getItem("_user_wh_lc")))||void 0===d?void 0:d.longitude)&&void 0!==i?i:"")+"&user_type="+(null!==T&&void 0!==T&&T.userType?"olduser":"newuser");else if((0,r.JwJ)(x)&&!g)e=Q.toString()+te.toString()+"?status="+ne.toString()+"&is_active="+le.toString();else if("78232846646"==x&&C){var c,h,p,S;e=H.toString()+te.toString()+"?status="+ne.toString()+"&is_active="+le.toString()+"&latitude="+(null!==(c=null===(h=JSON.parse(localStorage.getItem("_user_wh_lc")))||void 0===h?void 0:h.latitude)&&void 0!==c?c:"")+"&longitude="+(null!==(p=null===(S=JSON.parse(localStorage.getItem("_user_wh_lc")))||void 0===S?void 0:S.longitude)&&void 0!==p?p:"")+"&user_type="+(null!==T&&void 0!==T&&T.userType?"olduser":"newuser")}else e="78232846646"==x?X.toString()+te.toString()+"?status="+ne.toString()+"&is_active="+le.toString():J.toString()+te.toString()+"?status="+ne.toString()+"&is_active="+le.toString()+(g?"&template_type=stories":"")}fetch(e).then((e=>e.json())).then((e=>{var t;if(w){const t=v.Jh;return(0,F.Po)(e,t)}return(0,r.JwJ)(x)&&(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)),(null===e||void 0===e?void 0:e.all_events)&&u(null===e||void 0===e?void 0:e.all_events),(0,F.Np)(e,y||"invalid-url"!==q)})).then((e=>(O&&console.debug("initial received events size : "+e.length),g||y||w?e:(0,F.zJ)(e,te)))).then((e=>(("28849832033"===x||"85317058852"===x&&Array.isArray(e))&&(e=function(e){for(let t=e.length-1;t>0;t--){const n=Math.floor(Math.random()*(t+1));[e[t],e[n]]=[e[n],e[t]]}return e}(e)),null!=e&&0!=e.length&&(0,r.WiD)(x)&&function(e,t,n){const o=setInterval((()=>{null===(0,l.Xd)("productRatings")&&k(e,t,n)}),1e3);setTimeout((()=>{clearInterval(o)}),1e4)}(x,e,(e=>{P(e)})),e))).then((e=>{(D||b)&&(null==e||e&&0==(null===e||void 0===e?void 0:e.length))?n(g?A.Yo:w?A.N9:A.uG):n(e),M(!0)})).catch((e=>{m(e.message),M(!0)}))}),[]),(0,o.useEffect)((()=>{"index"===E?t&&t.length>0&&(0,B.yP)({userInteractionType:S.O.HOMEPAGE_VISITED,widgetSourceDetails:j}):"collection"===E&&(t&&t.length>0||(0,r.BZ$)(x))&&(0,B.yP)({userInteractionType:S.O.COLLECTION_PAGE_VISITED,widgetSourceDetails:j})}),[t]),W&&(null==t||0==t.length||h)&&z.Sn.forEach((e=>{var t,n,l,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"]'),i=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"]'))&&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"]'),r=null!==(l=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!==l?l: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"]'),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"]'),d=e;if(g){const t=e.querySelector(".whatmore-shimmer-stories");t&&(t.style.display="none")}else if(!y){const t=e.querySelector(".loading-skeleton-wrapper");t&&(t.style.display="none")}(s||r||i||a)&&(i&&d||a&&d||s&&d||r&&d)&&(d.style.minHeight="0px")})),null==t||0==t.length||h?(0,f.jsx)("div",{}):(O&&(0,G.xv)(t),function(e){if(null!=e){var t=0;e.forEach((e=>{e.index=t++}))}}(t),O&&console.debug("final transformed events data : "+JSON.stringify(t)),O&&console.debug("valid events size : "+t.length),(0,f.jsx)($,{heading:e.heading,events:t,allEvents:i}))},J=n(6649);var V=function(e){const[t]=(0,l.QN)("whatmoreShopId"),[n]=(0,l.QN)("whatmoreHeading"),[a,i]=(0,o.useState)(["initial",window.pageYOffset]),[s,d]=(0,o.useState)(!1),c="2665447536"==t?30:10,h=(0,l.Xd)("isLandingSharedLink");(0,o.useEffect)((()=>{if((0,u.hr)(t),!(0,r.FlM)(t))return;const e=c;let n=window.pageYOffset,l=!1;const o=()=>{const t=window.pageYOffset;var o,a;Math.abs(t-n)<e?l=!1:(a=!0,i(o=[t>n?"scrolled-down":"scrolled-up",t]),o[1]>c&&d(a),n=t>0?t:0,l=!1)},a=()=>{l||(window.requestAnimationFrame(o),l=!0)};return window.addEventListener("scroll",a),()=>window.removeEventListener("scroll",a)}),[]);const[p,m,v]=(0,J.A)({triggerOnce:!0});return(0,f.jsx)("div",{ref:p,style:{display:"block",height:"100%"},children:s||m||h||!(0,r.FlM)(t)||(0,r.wQ2)(t)?(0,f.jsx)(M,{heading:n,shopId:t}):(0,f.jsx)("div",{})})}},7802:function(e,t,n){n.d(t,{Hl:function(){return o},Np:function(){return i},Po:function(){return r},Z_:function(){return l},zJ:function(){return a}});const l=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)},a=function(e,t){if(null!=e)return e},i=function(e){if(null!=e)return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?e.events[0].events:e.events};const r=function(e,t){var n;if(null==e)return[];if(!("eventsets"in e))return[];const l=null!==(n=e.eventsets[t])&&void 0!==n?n:null;return l?function(e){if(null==e||0==e.length)return[];let t=[];return e.forEach((e=>{e.events.forEach((e=>{t.push(e)}))})),t}(l):[]}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[774],{69:function(e,t,i){i.d(t,{Ij:function(){return d},bi:function(){return l}});let n,o=!1;function d(){return n?n.play().then((()=>{o=!0,console.debug("iOS autoplay restrictions bypassed."),n.pause()})).catch((e=>{console.error("Failed to bless videos:",e.message)})):Promise.reject(new Error("Blessing video not initialized."))}function l(){n||(n=document.createElement("video"),n.src="https://whatmore-other-assets.b-cdn.net/whatmore/dummy_for_video_pool_3s_muted_11kb.mp4",n.muted=!0,n.playsInline=!0,n.style.display="none",document.body.appendChild(n));const e=()=>{o||d()};document.addEventListener("click",e,{once:!0}),document.addEventListener("touchstart",e,{once:!0})}},5901:function(e,t,i){i.d(t,{A:function(){return f}});var n=i(1005),o=i(9950),d=i(9879),l=i(22),r=i(5830),a=i(932);var s=function(e){const[t,i,n,o,d]=(0,a.A)(),[s]=(0,r.QN)("whatmoreEmbedAppVideoPlayerSizePortrait"),[c]=(0,r.QN)("whatmoreEmbedAppVideoPlayerSizeLandscape"),p=d[l.dl]===l.nN?c/100:s/100*1.2;return[t*p,i*p,d]},c=i(5727),p=i(1628),h=i.n(p),u=i(2209),v=i(6702),m=(i(9733),i(4365),i(1348)),w=i(4414);var f=function(e){var t;const i=o.useRef(null);var[a,p,f]=s();const g=(0,r.Xd)("whatmoreUITheme"),[x]=(0,r.QN)("whatmoreEmbedAppVideoTitle"),[y]=(0,r.QN)("whatmoreEmbedAppPositionPortrait"),[b]=(0,r.QN)("whatmoreEmbedAppHorizontalPaddingPortrait"),[j]=(0,r.QN)("whatmoreEmbedAppVerticalPaddingPortrait"),[S]=(0,r.QN)("whatmoreEmbedAppPositionLandscape"),[E]=(0,r.QN)("whatmoreEmbedAppHorizontalPaddingLandscape"),[_]=(0,r.QN)("whatmoreEmbedAppVerticalPaddingLandscape"),P=(0,r.Xd)("whatmoreShopId");var I=y,N=b,A=j;f[l.dl]===l.nN&&(I=S,N=E,A=_);const[k,z]=(0,o.useState)(["initial",window.pageYOffset]),[L,C]=(0,o.useState)(!1),Q=null!==(t=e.isSpotlight)&&void 0!==t&&t,D=f[l.dl]===l.nN?.7*(0,m.O86)(P):(0,m.O86)(P),O=Q?D:1;a*=O,p*=O;const T=Q?(0,m.LrK)(P):I,F=Q?(0,m._2D)(P):(0,m.GSq)(P),[V,R]=(0,o.useState)(!Q&&(0,m.n8Q)(P));function $(e,t){z(e),e[1]<=100?C(!1):t!=L&&(C(t),R(!1))}(0,o.useEffect)((()=>{let e=window.pageYOffset,t=!1;const i=()=>{const i=window.pageYOffset;Math.abs(i-e)<100||($([i>e?"scrolled-down":"scrolled-up",i],!0),e=i>0?i:0),t=!1},n=()=>{t||(window.requestAnimationFrame(i),t=!0)};return window.addEventListener("scroll",n),()=>window.removeEventListener("scroll",n)}),[k]),(0,n.j)({ref:i,handler:()=>{$(["scrolled-up",k[1]],!0)}});const U=e.event,B=e.inVideoClick,M=e.closeClick,W=.3*p,X=.6*p,H=.1*p,K=.1*(.5*p),Y="round"==g?"10px":"0px",G=(0,m.GvQ)(P);var q=!1,J=0,Z=0;function ee(e){q=e}return(0,w.jsx)("div",{children:V&&!F?(0,w.jsx)(w.Fragment,{}):L&&F?(0,w.jsx)("div",{style:"left"===T?{left:"1px",bottom:Q?(0,m.pUQ)(P)+"px":A+"px",position:"fixed",zIndex:G}:{right:"5px",bottom:Q?(0,m.pUQ)(P)+"px":A+"px",position:"fixed",zIndex:G},children:(0,w.jsxs)("div",{onClick:()=>{$(["initial",k[1]],!1)},style:{margin:"1px",width:p+"px",height:a+"px"},className:"left"===T?"whatmore-ultraminimized-video-view-left":"whatmore-ultraminimized-video-view-right",children:[(0,w.jsx)("div",{style:{overflow:"hidden"},children:(0,w.jsx)("div",{style:{width:"100%",height:"100%",aspectRatio:9/16},children:(0,w.jsx)(d.A,{url:U.thumbnail_image,isPlaying:!1,event:U})})}),(0,w.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",width:"100%",height:"100%"},children:(0,w.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",height:"100%"},children:[(0,w.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"flex-end",width:"100%",height:"fit-content"},children:(0,w.jsx)("div",{className:"whatmore-ultraminimized-content-scale-out",children:(0,w.jsx)(u.A,{sx:{filter:"drop-shadow(0 0 2px black);",color:"white",fontSize:W+"px"},style:{position:"relative",zIndex:1,left:K+"px",bottom:K+"px"},onClick:M})})}),(0,w.jsx)("div",{style:{height:"100%",display:"flex",flexFlow:"column nowrap",alignItems:"center",justifyContent:"center"},children:(0,w.jsx)(v.A,{sx:{color:"white",fontSize:2*W+"px",filter:"drop-shadow(0 0 2px black);"}})})]})})]})}):(0,w.jsx)(h(),{nodeRef:i,cancel:".activate-button,.close-btn",defaultClassName:"whatmore-react-draggable",defaultClassNameDragging:"whatmore-react-draggable-dragging",defaultClassNameDragged:"whatmore-react-draggable-dragged",bounds:"html",onStart:(e,t)=>{var i,n;i=t.x,n=t.y,J=i,Z=n},onDrag:(e,t)=>{ee(!0)},onStop:(e,t)=>{q&&(Math.abs(t.x-J)>5||Math.abs(t.y-Z)>5)?ee(!1):B(U)},children:(0,w.jsx)("div",{ref:i,style:"left"===T?{left:Q?(0,m.D2A)(P)+"px":N+"px",bottom:Q?(0,m.pUQ)(P)+"px":A+"px",position:"fixed",zIndex:G}:{right:Q?(0,m.D2A)(P)+"px":N+"px",bottom:Q?(0,m.pUQ)(P)+"px":A+"px",position:"fixed",zIndex:G},children:(0,w.jsxs)("div",{style:Object.assign({},{boxSizing:"border-box",margin:"1px",width:e.isSpotlight&&"60122562760"==P?a+"px":p+"px",height:e.isSpotlight&&"60122562760"==P?p+"px":a+"px"}),className:"left"===T?"whatmore-minimized-video-view-left":"whatmore-minimized-video-view-right",children:[(0,w.jsx)("div",{style:{overflow:"hidden",position:"relative"},children:(0,w.jsx)("div",{style:{width:"100%",height:"100%",aspectRatio:e.isSpotlight&&"60122562760"==P?16/9:9/16},children:(0,w.jsx)(d.A,{url:U.thumbnail_image,isMuted:!0,isPlaying:!0,event:U})})}),(0,w.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",width:"100%",height:"100%"},children:(0,w.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",height:"100%"},children:[(0,w.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"flex-end",width:"100%",height:"fit-content"},children:(0,w.jsx)(u.A,{className:"close-btn",sx:{filter:"drop-shadow(0 0 2px black);",color:"white",fontSize:W+"px"},onClick:M,style:{position:"relative",zIndex:1,left:H+"px",bottom:H+"px"}})}),(0,w.jsx)("div",{style:{marginLeft:"auto",marginRight:"auto"},children:(0,w.jsx)(c.A,{sx:{color:(0,m.KFN)(P),fontSize:X+"px",filter:"drop-shadow(0 0 2px black);"}})}),(0,w.jsx)("div",{style:{paddingLeft:"2px",paddingRight:"2px",borderBottomLeftRadius:Y,borderBottomRightRadius:Y,backgroundImage:x?"linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.2), rgba(0,0,0,0.6))":""},children:(0,w.jsxs)("p",{style:{textAlign:"center",color:"white",fontFamily:"Sans-serif",fontWeight:"semi-bold",fontSize:.4*W+"px",margin:0,padding:0,lineHeight:"110%"},children:["\xa0",x]})})]})})]})})})})}},3389:function(e,t,i){i.r(t);var n=i(9950),o=i(1348),d=i(964),l=i(5830),r=i(140),a=i(4533),s=i(5901),c=i(1085),p=i(6613),h=i(3330),u=i(852),v=i(572),m=i(8603),w=i(2039),f=i(4833),g=i(4737),x=i(1351),y=i(6157),b=i(2979),j=i(4820),S=i(6641),E=i(5100),_=i(8945),P=i(9821),I=i(69),N=i(6018),A=i(4414);const k=(0,m.A)({key:"whatmore-css-ppv"}),z=n.lazy((()=>Promise.all([i.e(714),i.e(378),i.e(437),i.e(181),i.e(987),i.e(669),i.e(650),i.e(592)]).then(i.bind(i,8650))));function L(e){return e.split(/[?#]/)[0]}t.default=function(e){const[t,i]=(0,n.useState)(),[m,C]=(0,n.useState)(),{whatmoreIsPreviewMode:Q}=(0,n.useContext)(g.B),[D]=(0,l.QN)("isInDesignMode"),[O]=(0,l.QN)("isDemoBrand"),[T]=(0,l.QN)("whatmoreEmbedAppUseVariant"),[F,V]=(0,n.useState)(-2),[R]=(0,l.QN)("whatmoreVariantId"),[$]=(0,l.QN)("whatmoreShopId");var[U]=(0,l.QN)("whatmoreProductId");const B=(0,l.Xd)("isLandingSharedLink"),M=(0,l.Xd)("whatmoreShareTemplateId"),W=(0,l.Xd)("whatmoreShareEventId"),X=B&&"template-embed"===(0,f.Mm)(M),[H,K]=(0,n.useState)(X);U=(0,o.BcY)($)?L(window.location.href):U;const[Y,G]=(0,n.useState)((()=>"true"===T?R:U));var q=d.$$+"/v2/brand/"+$+"/product-events";const{whatmoreWidgetSourceDetails:J}=(0,n.useContext)(g.B);(0,n.useEffect)((()=>{(0,S.Fk)("Video shopping powered by Whatmore!"),(0,a.wm)();const e=()=>{const e="_whatmore_bulk_events",t=JSON.parse(localStorage.getItem(e))||[];t&&t.length>0&&((0,j.u)(t),localStorage.removeItem(e))};return window.addEventListener("beforeunload",e),()=>{window.removeEventListener("beforeunload",e)}}),[]),(0,n.useEffect)((()=>{(0,h.hr)($)}),[]),(0,n.useEffect)((()=>{null==t||0==t.length||m||!(0,p.MN)()||(0,l.Xd)("whatmoreVideoPlayerPoolInitiated")||((0,P._)()?(0,c.Pc)(c.F5):(0,I.bi)())}),[t]),(0,n.useEffect)((()=>{if(V(-1),(0,o.WH1)($)){const e=`${d.$$}/v2/brand/${$}/product-events/recommendation`,t=(0,o.buK)($);fetch(`${e}?client_product_id=${Y}&limit=10&recommended=${!t}&origin=${window.location.hostname}&status=live,upcoming&event_type=video`).then((e=>e.json())).then((e=>{var n;const o=e=>{var t;return null===(t=e.products)||void 0===t?void 0:t.some((e=>"oos"!=(null===e||void 0===e?void 0:e.product_status)))},d=null===e||void 0===e||null===(n=e.events)||void 0===n?void 0:n.filter((e=>o(e)));if(null==e||e&&0==(null===e||void 0===e?void 0:e.length))i(N.nw);else if((null===d||void 0===d?void 0:d.length)>0){var l,r,a;const n=t?null===e||void 0===e||null===(l=e.all_events)||void 0===l?void 0:l.filter((e=>o(e))):null===e||void 0===e||null===(r=e.related_events)||void 0===r?void 0:r.filter((e=>o(e))).map((e=>({...e,isRelatedEvent:!0})));(null===n||void 0===n?void 0:n.length)>0&&(null===e||void 0===e||null===(a=e.product_info)||void 0===a?void 0:a.length)>0&&"6749782119"!=$?i([...d,...n,{event_type:"recommended_images",product_list:[...e.product_info]}]):i([...d,...n])}else i([])})).catch((e=>C(e.message)))}else fetch(q.toString()+"?client_product_id="+Y.toString()+"&status="+"upcoming".toString()+"&event_type=video").then((e=>e.json())).then((e=>e.events)).then((e=>(null!=e&&0!=e.length&&(0,o.vfi)($)&&(0,o.YOR)(e),i(e),e))).then((e=>((0,o.Uht)($)&&function(e,t){setTimeout((async()=>{const i=e.reduce(((e,t)=>[...e,...t.products]),[]).filter((e=>e.client_product_id==t))[0];if(!i||i.product_link==L(window.location.href))return;const n={product_id:i.product_id,product_link:L(window.location.href)};fetch(d.$$+"/product",{method:"PUT",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(n)})}),500)}(e,Y),e))).catch((e=>{C(e.message)}))}),[Y]),(0,n.useEffect)((()=>{var e,i;V(-2),(t&&t.length>0||(0,o.WKl)($))&&(0,x.yP)({userInteractionType:y.O.PDP_VISITED,widgetSourceDetails:J,event:null===t||void 0===t?void 0:t[0],productList:null===t||void 0===t||null===(e=t[0])||void 0===e?void 0:e.products,ctaList:null===t||void 0===t||null===(i=t[0])||void 0===i?void 0:i.cta})}),[t]),(0,n.useEffect)((()=>{const e=L(window.location.href);let t=history.pushState;history.pushState=function(){let e=t.apply(this,arguments);return window.dispatchEvent(new Event("pushstate")),window.dispatchEvent(new Event("locationchange")),e};let i=history.replaceState;history.replaceState=function(){let e=i.apply(this,arguments);return window.dispatchEvent(new Event("replacestate")),window.dispatchEvent(new Event("locationchange")),e},window.addEventListener("popstate",(()=>{window.dispatchEvent(new Event("locationchange"))})),window.addEventListener("locationchange",(function(){if("24950997070"==$&&window.location.origin+window.location.pathname!=e&&fetch(window.location.origin+window.location.pathname+".json").then((e=>e.json())).then((e=>{var t;return G(null===e||void 0===e||null===(t=e.product)||void 0===t?void 0:t.id)})),"true"===T){const e=function(e){for(var t=window.location.search.substring(1).split("&"),i=0;i<t.length;i++){var n=t[i].split("=");if(n[0]==e)return n[1]}return!1}("variant");e&&""!==e&&G(e)}}))}),[]),(0,n.useEffect)((()=>{if(null!=t&&0!==t.length&&!m&&X&&((0,_.H)("whatmore-video-player",(()=>{K(!1)})),null!=W)){const e=t.find((e=>W==e.event_id));if(e)return void te(e,!0,t.indexOf(e))}}),[t]);const Z=J.landingLocationType,ee=J.templateType,te=async function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if((0,p.MN)()&&!t&&await((0,P._)()?(0,c.bo)():(0,I.bi)()),(0,w.ij)(e)||(0,w.Il)(e))return D||O||(async()=>{const t=(0,f.Wd)(Z)+(0,f.gf)(ee)+(null!==e&&void 0!==e&&e.isRelatedEvent?"R":"E")+"_"+(null===e||void 0===e?void 0:e.event_id);(0,r.lB)(e),(0,h.Si)($,d.DK,d.K1),(0,a.Ch)(e.event_id,e.products,"product_page","video_popup",t)})(),void V(i)};function ie(){return(0,A.jsx)(A.Fragment,{})}return null==t||0==t.length||m?(0,A.jsx)("div",{}):(0,A.jsxs)(v.C,{value:k,children:[H&&(0,A.jsx)(E.A,{}),"no-product"===Y||-1===F||0===t.length?(0,A.jsx)(ie,{}):-2===F&&t.length>0?(0,A.jsx)("div",{children:(0,A.jsx)(b.S,{userInteractionType:y.O.PDP_POPUP_WIDGET_VIEW,event:t[0],productList:t[0].products,cta:t[0].cta,triggerFlag:!D&&!O,children:(0,A.jsx)(s.A,{event:t[0],inVideoClick:te,closeClick:e=>{var i;e.stopPropagation(),V(-1),(0,x.kz)({userInteractionType:y.O.PDP_POPUP_CLOSED,widgetSourceDetails:J,event:null===t||void 0===t?void 0:t[0],productList:null===t||void 0===t||null===(i=t[0])||void 0===i?void 0:i.products})}})})}):(0,A.jsx)("div",{children:(0,A.jsx)(n.Suspense,{children:(0,A.jsx)(b.S,{userInteractionType:y.O.EVENT_VIEW,event:t[0],productList:t[0].products,cta:t[0].cta,triggerFlag:!D&&!O,children:(0,A.jsx)(z,{events:t,index:F,onBack:function(e){(0,o.ei)($)&&(0,l.Xd)("whatmoreAddedToCart")&&(0,u.H)($,(()=>{}),100,window.location.hostname,e),V(-2),K(!1)},template:"template-product-page"})})})})]})}}}]);
|