"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[5220],{78813:(e,t,i)=>{i.d(t,{Z:()=>sl});var n=i(67294),r=i(76861);const a=e=>localStorage&&e?localStorage.getItem(e):null,l=(e,t)=>!(!localStorage||!e||null===t||(localStorage.setItem(e,t),0)),o=e=>!(!localStorage||!e||(localStorage.removeItem(e),0)),s="HP_IMP",d="TP_IMP",c="HP_IMP_V2",p="0px",u="PRODUCT",g={event:"adplatform:impressions",impressions:1},m={event:"adplatform:impressionsv2",impressions:1},h={event:"adplatform:clicks",clicks:1},b=()=>+new Date;class v{}v.syncCallback=null,v.initialize=(e,t)=>{v.callback=e,t&&(v.syncCallback=t)},v.initializeImpressionEvent=e=>{e&&(v.impressionEvent=e)},v.pushImpressions=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s;const t=a(e);if(t){o(e);const i=JSON.parse(t);if(i){const e=Object.keys(i),t=[];e.forEach((e=>{const n=i[e];n&&(n.tStamp&&(n.timestamp=n.tStamp/1e3,delete n.tStamp),t.push(n))})),v.callback?t.length>0&&v.callback(t).catch((()=>{})):console.warn("Callback not provided for ImpressionHandler")}}},v.handleImpression=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];const{transaction_id:r}=e,o=a(t),d=Object.assign(Object.assign(Object.assign(Object.assign({},e),i),n&&v.impressionEvent&&{event:v.impressionEvent}),{timestamp:b()/1e3});if(v.syncCallback&&v.syncCallback([d]),o){const e=JSON.parse(o);if(e){const i=e[r];if(i){const{impressions:e}=i;i.impressions=e+1,i.timestamp=b()/1e3}else e[r]=d;return l(t,JSON.stringify(e)),void(Object.keys(e).length>=20&&v.pushImpressions(t))}}const c={[r]:d},p=JSON.stringify(c);l(t,p)},v.handleImpressionV2=e=>{const t=e;t.tStamp=b();const{transaction_id:i}=e,n=a(d);if(n){const e=JSON.parse(n);if(e){const n=Object.assign(Object.assign({},t),m);return e[i]=n,void l(d,JSON.stringify(e))}}const r={[i]:Object.assign(Object.assign(Object.assign({},t),m),v.impressionEvent&&{event:v.impressionEvent})},o=JSON.stringify(r);l(d,o)},v.removeImpression=e=>{const{transaction_id:t}=e,i=b(),n=a(d);if(n){const e=JSON.parse(n);if(e){const n=e[t];if(n){v.isValidImpression(n.tStamp,i)&&v.handleImpression(n,c,m,!1),delete e[t];const r=JSON.stringify(e);l(d,r)}}}},v.dataCollector=()=>{const e=b(),t=a(d);if(t){const i=JSON.parse(t);if(i){Object.keys(i).forEach((t=>{const n=i[t];n&&v.isValidImpression(n.tStamp,e)&&(v.handleImpression(n,c,m,!1),delete i[t])}));const t=JSON.stringify(i);l(d,t)}}},v.handleClick=e=>{const t=Object.assign(Object.assign({},e),h);return v.callback?v.callback([t]):new Promise((e=>{e("Callback Not Provided")}))},v.isValidImpression=(e,t)=>{const i=(t||0)-(e||0);return!!(i&&i>=1e3)};const f=v,w={styleKeyMapping:{banner:"childBannerStyle",bannerCallout:"childCalloutStyle",bannerLogo:"childLogoStyle",bannerTag:"childTagStyle",bannerTitle:"childTitleStyle",swTitle:"titleStyle",bannerDescription:"childDescriptionStyle",swDescription:"descriptionStyle",bannerTextArea:"childTextAreaStyle",footerButton:"footerButtonStyle",clposition:"positionindicatorStyle",position_indicator:"positionIndicatorFlag",swSpacing:"spacingStyle",highlight:"highlightStyle",rating:"ratingStyle",priceUnit:"priceUnitStyle",message:"messageStyle",cta:"ctaStyle",imageui:"imageUIStyle",productTag:"productTagStyle",sticker:"stickerStyle",shadeSize:"shadeSizeStyle",brandProduct:"brandProductStyle",cardProperties:"cardPropertiesStyle",unitArea:"unitAreaStyle",unitTag:"unitTagStyle",imageArea:"imageAreaStyle",imageCallout:"imageCalloutStyle",unitTitle:"unitTitleStyle",unitDescription:"unitDescriptionStyle",separatorStyle:"separatorStyle",trailingIconStyle:"trailingIconStyle",swButton:"buttonWidgetStyle",categoryFilters:"categoryFiltersStyle",tabs:"tabsStyle",outsideTag:"outsideTagStyle"},iconsKeyMapping:{arrow:"/2022/core/arrow-right.svg",chevron_down:"/2022/core/chevron-down-small.svg",chevron_right:"/2022/core/chevron-right-small.svg",alert:"/2022/core/alert-info.svg",more:"/2022/core/more-vertical.svg"},IMAGE_STATIC_URL:"https://www.nykaa.com/media/wysiwyg"},y=(e,t)=>{let i;try{let n=e.replace("#","");3===n.length&&(n+=n);const r=parseInt(n.substring(0,2),16);i=`rgba(${r},${parseInt(n.substring(2,4),16)},${parseInt(n.substring(4,6),16)},${t})`}catch(t){i=e}return i},x=e=>{const t=e;return Object.keys(t).forEach((e=>{"object"==typeof t[e]?x(t[e]):"web"===e&&void 0!==t.desktop&&null!==t.desktop&&(t[e]=t.desktop)})),Object.assign({},t)},k=(e,t)=>t?x(e):e,E={transformStyles:function(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];const r={};if(e&&e.indexOf("V2")>-1||n.indexOf(e)>-1){const e=t||[];for(let t=0;e.length>t;t+=1)if(e[t]){const n=e[t].name;if(n&&e[t].style){const a=w.styleKeyMapping[n];a&&(r[a]=k(e[t].style,i))}}}return r},constants:w,utils:{getFontStyles:e=>`\n color: ${e.color};\n color: #${e.color};\n font-size: ${e.size.web};\n font-family: ${e.fontFamily};\n letter-spacing: ${e.letterSpacing.web};\n font-weight: ${e.fontWeight||500};\n text-align:${e.alignment};\n line-height: initial !important;\n`,getMarginStyles:e=>`\n margin: ${e.top.web} ${e.right.web} ${e.bottom.web} ${e.left.web}\n`,getPaddingStyles:e=>`\n padding: ${e.top.web} ${e.right.web} ${e.bottom.web} ${e.left.web}\n`,getBKGStyles:e=>`\nbackground: linear-gradient(${null==e?void 0:e.degree}deg, ${y(null==e?void 0:e.colorStart,null==e?void 0:e.alpha)}, ${y((null==e?void 0:e.colorEnd)?null==e?void 0:e.colorEnd:null==e?void 0:e.colorStart,null==e?void 0:e.alpha)});\n`,getBorderStyles:e=>{const t=e.color||"#fff",i=e.width.web||0,n=(null==e?void 0:e.alpha)||0===(null==e?void 0:e.alpha)?e.alpha:1;return`\n border: ${i} solid ${y(t,n)};\n `},getIndividualBorderRadius:e=>{const{topLeft:t,topRight:i,bottomRight:n,bottomLeft:r}=e;return`\n border-top-left-radius: ${null==t?void 0:t.web};\n border-top-right-radius: ${null==i?void 0:i.web};\n border-bottom-right-radius: ${null==n?void 0:n.web};\n border-bottom-left-radius: ${null==r?void 0:r.web}; \n`},getIndividualBorder:e=>{var t,i,n,r;const{top:a,right:l,bottom:o,left:s}=e;return`\n border-top: ${null===(t=null==a?void 0:a.width)||void 0===t?void 0:t.web} solid ${y(null==a?void 0:a.color,null==a?void 0:a.alpha)};\n border-right: ${null===(i=null==l?void 0:l.width)||void 0===i?void 0:i.web} solid ${y(null==l?void 0:l.color,null==l?void 0:l.alpha)};\n border-left: ${null===(n=null==s?void 0:s.width)||void 0===n?void 0:n.web} solid ${y(null==s?void 0:s.color,null==s?void 0:s.alpha)};\n border-bottom: ${null===(r=null==o?void 0:o.width)||void 0===r?void 0:r.web} solid ${y(null==o?void 0:o.color,null==o?void 0:o.alpha)};\n `},addAlpha:y,setVisibility:e=>`\n display: ${e?"":"none !important"} ;\n`,getIcon:e=>`\nmask-image: url(${w.IMAGE_STATIC_URL}${w.iconsKeyMapping[e]});\nmask-repeat: no-repeat;\nmask-position: center;\nmask-size: 24px 24px;\n`}},S=E,$={FASHION_FOOTLOCKER_STORE:["nf","fl"],platforms:{MWEB:"mweb",DWEB:"dweb"},pageTypes:{PDP:"pd-page",HOMEPAGE:"mweb-homepage"}},C={isPartialPersonalization:e=>"partial"===e,isFullPersonalization:e=>"full"===e,handleShimmer:e=>{let{pageprefix:t,inventoryPageType:i,remoteConfigs:n,isPersonalizationSupported:r,isDesktop:a}=e,l="0px";const{configs:o,switches:s}=n||{},{isShimmer:d=!1}=s||{},{shimmerHeights:c={}}=o||{},{platforms:p,pageTypes:u}=$;if(d&&r&&Object.keys(c).length>0){const e=a?p.DWEB:p.MWEB;try{l=t?c[t][e]:i===u.PDP?c.pdp[e]:c.others[e]}catch(e){l="0px"}}return l}},D=2,T=3,I=()=>n.createElement(n.Fragment,null);class _ extends n.Component{constructor(e){super(e),this.state={hasError:!1,error:void 0,errorInfo:void 0}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){this.setState({hasError:!0,error:e,errorInfo:t})}render(){const{renderFallbackUI:e=I,children:t}=this.props,{hasError:i,error:n,errorInfo:r}=this.state;return i?e(n,r):t}}const O=_;var P=i(67190);const N="CAROUSEL_V2",A="VIDEO",L="LIST_VIEW_WIDGET",z="LIST_VIEW_CHILD",j=e=>{const t=(e=>e.find((e=>e.widgetData&&"APP_CONFIG"===e.widgetData.widgetType)))(e),i={};if(!t)return i;const{widgetData:n}=t;if(n&&n.params){const{params:e}=n,{hpBkgType:t,hpBkgColor:r,hpBkgImageUrl:a}=e;"image_url"===t&&a?(r&&(i["background-color"]=r||""),i["background-image"]=`url(${a})`):"color"===t&&r&&(i.background=r)}return i},M=e=>{let t="";try{t=JSON.stringify(e)}catch(e){t=""}return t},R=e=>{const t={title:"NDN DevMode Debugging Data - FE WEB",text:M({devModeData:e,browser:window.navigator.userAgent||"",timeStamp:new Date||""}),url:window.location.href||""},i=M(t);try{navigator.share(t)}catch(e){alert(i)}},B=e=>{let{widgetData:t,isServer:i=!1,isDesktop:r,inventoryPosition:a,position:l=1,eagerLoadImages:o,eagerLoadInventories:s,componentMap:d,cssStyle:c={},cta:p,rootMargin:u,remoteConfigs:g={},store:m}=e;const{children:h,widgetType:b,trackingData:v,previewMode:f}=t,w=(e=>{if(e)return!1;let t=!1;try{const e=(0,P.ej)("DEV_MODE");t=!(!e||""===e||"ACTIVE"!==e)}catch(e){t=!1}return t})(i),y=d[b];if(!y)return null;const x=h.map(((e,t)=>{const h=d[e.widgetType],{children:b}=e;if(b&&b.length>0)return B({widgetData:e,position:t+1,isServer:i,isDesktop:r,inventoryPosition:a,eagerLoadImages:o,eagerLoadInventories:s,componentMap:d,cssStyle:c,cta:p,rootMargin:u,remoteConfigs:g,store:m});const{id:f,positionInParent:y,params:x,transactionId:k,devModeData:E,pwType:S,cwType:$}=e;return n.createElement(h,{id:f,key:f,positionInParent:y,params:x,transactionId:k,isServer:i,isDesktop:r,trackingData:v,inventoryPosition:a,parentPosition:l,eagerLoadImages:o,eagerLoadInventories:s,cssStyle:c,cta:p,isDevModeEnabled:w,devModeData:E,rootMargin:u,pwType:S,cwType:$,remoteConfigs:g,store:m})})),{id:k,positionInParent:E,params:S,transactionId:$,devModeData:C,pwType:D,cwType:T}=t;return n.createElement(O,{isServer:i},n.createElement(y,{key:k,id:k,positionInParent:E,params:S,transactionId:$,isServer:i,isDesktop:r,trackingData:v,inventoryPosition:a,parentPosition:l,eagerLoadImages:o,eagerLoadInventories:s,cssStyle:c,isDevModeEnabled:w,devModeData:C,previewMode:f,rootMargin:u,pwType:D,cwType:T,remoteConfigs:g,store:m},x))},F=B,W="ANDROID",H="WEB",U=/nykaa-ios/i,V=/nykaa-ios-version:([\d.]+)/,G=/nykaa-android/i,q=/nykaa-android-version:([\d.]+)/,Z=e=>{if(!e)throw new Error('"userAgent" cannot be empty');if("string"!=typeof e)throw new Error(`"userAgent" has to be a string passes: ${e}`);let t,i=H;if(e.match(G)){i=W;const[,n]=e.match(q)||[];n&&(t=n)}if(e.match(U)){i="IOS";const[,n]=e.match(V)||[];n&&(t=n)}return{device:i,version:t}};var K=i(92335);const{FASHION_FOOTLOCKER_STORE:J}=$,Y={nFormatter:function(e,t){try{const i=/\.0+$|(\.[0-9]*[1-9])0+$/,n=[{value:1,symbol:""},{value:1e3,symbol:"k"},{value:1e6,symbol:"M"}].slice().reverse().find((t=>e>=t.value));return n?(e/n.value).toFixed(t).replace(i,"$1")+n.symbol:"0"}catch(e){return"0"}},isEmpty:e=>0===Object.keys(e).length,arrayToObjectIndexFromOne:e=>e.reduce(((e,t,i)=>Object.assign(Object.assign({},e),{[i+1]:t})),{}),isEmptyWidget:(e,t,i,n)=>!(e||t||i&&i.length>0||!(null==n?void 0:n.isEmptyWidget)),truncateEllipsis:(e,t)=>e.length>t?`${e.slice(0,t)}...`:e,isFashionFootlockerStore:e=>!!J.includes(e),commaSeparatedPrice:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="",i=e;try{for(;"0"===i.substring(0,1)&&i.length>1;)i=e.substring(1);if(i.length<=3)return i;for(i.length%2!=0?(t=i.substring(0,2),i=i.substring(2)):(t=i.substring(0,1),i=i.substring(1));i.length>3;)t=`${t},${i.substring(0,2)}`,i=i.substring(2);return`${t},${i}`}catch(t){return e}},getAndroidVersion:()=>{const e=(navigator.userAgent||navigator.vendor).match(/nykaa-android-version:([\d.]+)/);return Array.isArray(e)&&e.length?e[1]:null}},X="";class Q{}Q.setClient=e=>{Q.client=e},Q.handleAndroid=e=>{const{appLinkData:t,appLinkType:i,trackingParams:n="",appTrackingParams:r}=e;let a;try{a=JSON.stringify(r)}catch(e){a=r}const l=Y.getAndroidVersion();if(t&&i)switch(i){case K.dG.CATEGORY:{const e=+t;try{window.AndroidFunction.showCategory(e,X,n)}catch(t){window.AndroidFunction.showCategory(e,X)}break}case K.dG.PRODUCT:try{window.AndroidFunction.showProduct(`${t}`,n,a)}catch(e){window.AndroidFunction.showProduct(`${t}`)}break;case K.dG.LANDING:window.location.href=t;break;case K.dG.DEEPLINK:try{window.AndroidFunction.handleDeeplink(`${t}`)}catch(e){window.AndroidFunction.handleDeeplink(`${t}`)}break;case K.dG.BRAND:try{const e=+t;window.AndroidFunction.showBrand(e,X,n,X,X)}catch(e){window.AndroidFunction.showBrand(`${t}`)}break;case K.dG.CTA_CALLBACKS_SHADE:try{l&&l>="3.4.9"?window.AndroidFunction.selectShade(`${t}`,a):window.AndroidFunction.selectShade(`${t}`)}catch(e){window.AndroidFunction.selectShade(`${t}`)}break;case K.dG.CTA_CALLBACKS_SIZE:try{l&&l>="3.4.9"?window.AndroidFunction.selectSize(`${t}`,a):window.AndroidFunction.selectSize(`${t}`)}catch(e){window.AndroidFunction.selectSize(`${t}`)}}},Q.handleIos=e=>{const{appLinkData:t,appLinkType:i,trackingParams:n="",appTrackingParams:r}=e;if(t&&i)switch(i){case K.dG.CATEGORY:try{const e=n&&n.split(":").pop();window.webkit.messageHandlers.showCategory.postMessage({id:`${t}`,title:X,sourceURL:X,transactionId:e,source:K.qW})}catch(e){window.location.href=`nykaaioslanding://category?id=${t}&title=&int_cmp=${n}`}break;case K.dG.PRODUCT:try{window.webkit.messageHandlers.showProduct.postMessage({id:`${t}`,marketingParams:{title:X},int_cmp:n,appTrackingParams:r})}catch(e){window.location.href=`nykaaioslanding://product?id=${t}&type=show&title=&int_cmp=${n}`}break;case K.dG.DEEPLINK:try{window.webkit.messageHandlers.handleDeeplink.postMessage(`${t}`)}catch(e){window.webkit.messageHandlers.handleDeeplink.postMessage(`${t}`)}break;case K.dG.BRAND:try{window.webkit.messageHandlers.showBrand.postMessage({id:`${t}`,int_cmp:n})}catch(e){window.webkit.messageHandlers.showBrand.postMessage({id:`${t}`,int_cmp:n})}break;case K.dG.LANDING:window.location.href=t;break;case K.dG.CTA_CALLBACKS_SHADE:window.webkit.messageHandlers.selectShade.postMessage({id:t,appTrackingParams:r});break;case K.dG.CTA_CALLBACKS_SIZE:window.webkit.messageHandlers.selectSize.postMessage({id:t,appTrackingParams:r})}},Q.handleWeb=e=>{const{webActionType:t,webActionUrl:i,isDesktop:n}=e;if(i){let e=i;if(t===K.Tw.URL_REDIRECTION){try{e=decodeURIComponent(i)}catch(e){}window.location.href=e}else t!==K.Tw.PHONE||n||(window.location.href=`tel:${i}`)}},Q.executeClickBasedOnClient=e=>{const{device:t}=Q.client,{appLinkData:i,appLinkType:n,webActionType:r,webActionUrl:a,trackingParams:l,isDesktop:o,appTrackingParams:s,onlyWebRedirections:d}=e;switch(d?H:t){case W:Q.handleAndroid({appLinkData:i,appLinkType:n,trackingParams:l,appTrackingParams:s});break;case"IOS":Q.handleIos({appLinkData:i,appLinkType:n,trackingParams:l,appTrackingParams:s});break;case H:Q.handleWeb({webActionType:r,webActionUrl:a,isDesktop:o})}},Q.handleClick=e=>{if(!Q.client&&window.navigator){const e=Z(window.navigator.userAgent);Q.setClient(e)}Q.executeClickBasedOnClient(e)};const ee=Q;var te=i(71604);const ie={sm:500,md:768,lg:992,xl:1200},ne={brandPrimary:"#fc2779",brandSecondary:"#ffd3e4",darkGrey:"#3f414d",lightGrey:"#8c8d94",darkGreen:"#5cd285",lightOrange:"#fa6400",brickColor:"#E02020",lightBorder:"#eeeeee",lightBlack:"#1b1b1b",fontFamily:"sans-serif",breakpoints:ie},re=Object.keys(ie).map((e=>[e,ie[e]])).reduce(((e,t)=>{let[i,n]=t;const r=e;return r[i]=`(min-width: ${n}px)`,r}),{}),ae=te.Z;var le=i(66158),oe=i(75286);const se="HP_IMP_V2",de=[L,z],ce="product_impression",pe="product_card_clicked",ue="video",ge=function(e){let{onIntersect:t,exitCallBack:i=(()=>{}),children:r,onIntersectV2:a,className:l="",childClassName:o="",rootMargin:s=p,isV2Present:d=!0}=e;const[c]=(0,le.Z)({rootMargin:s},t),[u]=(0,oe.Z)({},50,a,i),g=d&&{ref:u};return n.createElement("div",{ref:c,style:{display:"inherit"},className:l},n.createElement("div",Object.assign({},g,{style:{display:"inherit"},className:o}),r))},me=function(e){let{onIntersect:t,exitCallBack:i,children:r,onIntersectV2:a,className:l,childClassName:o,rootMargin:s,isV2Present:d=!0}=e;return n.createElement(ge,{className:l,childClassName:o,onIntersect:t,exitCallBack:i,onIntersectV2:a,rootMargin:s,isV2Present:d},r)},he=e=>{let{title:t,width:i,height:r,src:a,frameBorder:l,allowFullScreen:o}=e;return n.createElement("iframe",{title:t,width:i,height:r,src:a,frameBorder:l,allowFullScreen:o})},be=ae.div` text-decoration: none; color: inherit; border-radius: 3px; box-shadow: 0 1px 2px 0 rgba(0,0,0,0.22); display: block; background: white; cursor: pointer; @media ${e=>e.theme.mq.md} { &:hover { box-shadow: 0 2px 12px 0 rgba(0,0,0,0.3); -moz-box-shadow: 0 2px 12px 0 rgba(0,0,0,0.3); -webkit-box-shadow: 0 2px 12px 0 rgba(0,0,0,0.3); } } `,ve=ae.div` border-radius: 4px; width: auto; `,fe=ae.div` text-align: center; .titles-description { width: 100%; position: relative; border-radius: 0 0 3px 3px; background: #fff; word-wrap: break-word; padding: 10px 0; text-transform: capitalize; @media ${e=>e.theme.mq.lg} { padding: 12px 4px; height: 66px; width: auto; } .titles-wrap { @media ${e=>e.theme.mq.md} { font-size: 14px; } @media ${e=>e.theme.mq.lg} { font-size: 16px; } } .description { @media ${e=>e.theme.mq.md} { font-size: 13px; } @media ${e=>e.theme.mq.lg} { font-size: 15px; } } } .titles-description-sticky { border-radius: 3px; background:rgba(255,255,255, ${e=>{let{opacity:t}=e;return t||1}} ); word-wrap: break-word; padding: 5px; text-align: center; position: absolute; left: 0; right: 0; bottom: 20px; max-width: 100%; width: auto; margin-right: 20px; margin-left: 20px; box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1); bottom: 10px; text-transform: capitalize; @media ${e=>e.theme.mq.md} { padding: 16px 5px; height: 65px; width: auto; } @media ${e=>e.theme.mq.lg} { padding: 20px 5px; height: 85px; width: auto; } .titles-wrap { @media ${e=>e.theme.mq.md} { font-size: 14px; } @media ${e=>e.theme.mq.lg} { font-size: 18px; } } .description { @media ${e=>e.theme.mq.md} { font-size: 12px; } @media ${e=>e.theme.mq.lg} { font-size: 16px; } } } .titles-wrap { font-weight: 400; font-size: 4vw; line-height: 1.2; padding: 0 5px; .title-text{ display: inline-block; } .discount-text { display: inline-block; color: ${e=>e.theme.brandPrimary}; margin: 0 4px; } } .description { color: #3f414d; } .sub-description { color: #8c8d94; } .youtube-video-counts { display: flex; flex-direction: row; justify-content: center; } `,we=ae.div` padding: 0 8px 0 0; font-size: 14px; color: #fc2779; vertical-align: middle; .label { color: #8c8d94; margin-left: 2px; } &::before { content: ''; background: url(https://adn-static1.nykaa.com/uploads/76207a80-64f6-4c5e-b89f-0fcde24d54f4.png) no-repeat; width: 14px; height: 14px; background-size: contain; display: inline-block; vertical-align: middle; margin-right: 3px; margin-top: -4px; } `,ye=ae.div` padding: 0 8px 0 0; font-size: 14px; color: #fc2779; vertical-align: middle; .label { color: #8c8d94; margin-left: 2px; } &::before { content: ''; background: url(https://adn-static1.nykaa.com/uploads/27cff6f9-3c2e-47ca-9173-34e06a1f310b.png) no-repeat; width: 14px; height: 14px; background-size: contain; display: inline-block; vertical-align: middle; margin-top: -4px; } `,xe=ae.h2` color: #3f414d; font-size: 17px; font-weight: 700; letter-spacing: normal; text-transform: uppercase; margin: ${e=>{let{isDesktop:t}=e;return t?"10px auto 5px":"10px 10px 5px 10px"}}; max-width: 1140px; @media ${e=>e.theme.mq.md} { font-size: 24px; font-weight: normal; } `,ke=e=>{let{title:t,isDesktop:i}=e;return n.createElement(xe,{isDesktop:i},t)},Ee=ae.div` padding-bottom: 5px; padding-top: 5px; margin-bottom: ${e=>{let{isDesktop:t}=e;return t?"16px":"auto"}}; text-align: ${e=>{let{align:t}=e;return t}}; background-color:${e=>{let{color:t,isFullWidth:i}=e;return i?t:"transparent"}}; .fixed-width-wrapper { margin: 0 auto; max-width: 1140px; } img { max-width: 100%; max-height: 100%; } `,Se=ae.div` display: flex; flex-wrap: wrap; margin-left: ${e=>{let{isDesktop:t}=e;return t?"-10px":"auto"}}; margin-right: ${e=>{let{isDesktop:t}=e;return t?"-10px":"auto"}}; @media ${e=>e.theme.mq.md} { align-items: flex-start; justify-content: center; } `,$e=ae.div` display: inline-flex; box-sizing: border-box; width: ${e=>{let{width:t}=e;return t}}%; vertical-align: top; padding: ${e=>{let{isDesktop:t}=e;return t?"10px":"5px 7px"}}; position: relative; @media ${e=>e.theme.mq.md} { display: inline-block; } `,Ce=ae.h3` letter-spacing: 0.3px; color: rgba(3, 2, 26, 0.8); display: block; font-weight: 600; margin: ${e=>{let{isDesktop:t}=e;return t?"5px auto 5px":"5px 10px 10px 10px"}}; max-width: 1140px; `,De=ae.button` padding: 5px 10px; margin-top: -32px; margin-right: 10px; background: transparent; border: none; font-size: 14px; letter-spacing: 1.1px; color: red; float: right; color: #fc2779; cursor: pointer; @media ${e=>e.theme.mq.md} { &::after { content: ''; background-image: url(https://adn-static1.nykaa.com/uploads/dde85e97-9102-4d97-8477-83659e8bb4b9.png); background-repeat: no-repeat; background-size: contain; text-align: center; width: 6.9px; height: 12px; display: inline-block; margin-left: 10px; } } `;var Te=i(94809),Ie=i(18323);const _e=/([/]tr[:])(.*)(,cm[-]pad[_]resize)/,Oe="padResize";var Pe=i(73039),Ne=i(95833);const Ae=e=>{let{cropStrategy:t,width:i,height:n,trim:r,scale:a=1}=e,l="?tr=",o="";return t&&(l+=(e=>e===Oe?"cm-pad_resize":"")(t),o=","),i&&(l+=`${o}w-${i*a}`,o=","),n&&(l+=`${o}h-${n*a}`,o=","),i||n||(l+=`${o}w-${500*a},h-${500*a}`,o=","),r&&(l+=`${o}t-${r}`),l},Le=e=>{let{url:t,width:i,height:n,cropStrategy:r}=e,a="",l=`${t}`;return(i||n)&&(-1===t.indexOf("?")&&(a="?"),a+="tr=",i&&(a+=`w-${i},`),n&&(a+=`h-${n},`),r===Oe&&(a+="cm-pad_resize")),l+=a,l},ze=e=>{let{url:t,width:i,height:n,cropStrategy:r,newImageUrlEnabled:a,requiredScaleSize:l}=e;if(!t)return{src:"",srcSet:""};if(a)return(e=>{let{url:t,width:i,height:n,trim:r,cropStrategy:a,isAbsoluteSize:l}=e;const o=(e=>{if(!(0,Pe.M_)(e))return"";const t=e.split("?")[0];return null==t?void 0:t.replace(_e,"")})(t);if(!(e=>{var t;if(!(0,Pe.M_)(e))return!1;const i=e.split(".");return!("gif"===(null===(t=i[i.length-1])||void 0===t?void 0:t.toLowerCase()))})(o))return{src:o,srcSet:""};const{width:s,height:d}=((e,t,i)=>{if(i)return{width:e,height:t};if(!e)return{width:null,height:t};let n;switch(!0){case e<=50:n=50;break;case e<=150:n=150;break;case e<=200:n=200;break;case e<=300:n=300;break;case e<=500:n=500;break;case e<=600:n=600;break;default:n=e<=1200?e:1200}return{width:n,height:t&&n}})(i,n,l),c=`${o}${Ae({cropStrategy:a,width:s,height:d,trim:r})}`;return{src:c,srcSet:`${c} 1x, ${o}${Ae({cropStrategy:a,width:s,height:d,trim:r,scale:1.5})} 1.5x`}})({url:t,width:i,height:n,cropStrategy:r});const o=Object.assign({width:i,height:n,url:t},t.match(_e)?{}:{cropStrategy:r}),s=t.match(_e)?Ne.MV:Le,d=s(o);let c="";return l&&(c=`${d} 1x, ${s(Object.assign(Object.assign(Object.assign({},o),{width:o.width*l}),(null==o?void 0:o.height)&&{height:o.height*l}))} ${l}x`),{src:d,srcSet:c}},je=(0,Te.default)("a",{target:"etj7ng30"})({name:"13o7eu2",styles:"display:block;"}),Me=e=>e.preventDefault(),Re=e=>{let{children:t,url:i}=e;return n.createElement(je,{onClick:Me,href:i,target:"_blank","aria-label":"DN_BANNER_IMAGE"},t)},Be=(0,Te.default)("div",{target:"ean6s9n0"})("width:100%;min-height:",(e=>{let{minHeight:t}=e;return t}),"px;"),Fe=(0,Te.default)("div",{target:"ean6s9n1"})("min-height:",(e=>{let{minHeight:t}=e;return t}),"px;img{display:inline-block;width:100%;vertical-align:bottom;min-height:",(e=>{let{minHeight:t}=e;return t}),"px;}"),We=e=>{let{imgUrl:t,largerImgUrl:i,alt:r,url:a}=e;return n.createElement(Re,{url:a},n.createElement("img",{src:t,alt:r,loading:"eager",srcSet:`${i}`}))},He=(0,Te.default)("h2",{target:"e16o04m00"})("color:#3f414d;font-size:17px;font-weight:700;letter-spacing:normal;text-transform:uppercase;margin:10px 10px 5px 10px;text-align:",(e=>{let{align:t}=e;return t||"left"}),";"),Ue=(0,Te.default)("div",{target:"e16o04m01"})({name:"19svtiv",styles:"width:43%;display:inline-block;padding:10px 5px;border:1px solid #eeee;margin-left:10px;margin-bottom:12px;border-radius:3px;"}),Ve=(0,Te.default)("div",{target:"e16o04m02"})({name:"1j5c6ty",styles:"width:100%;padding:0px 0px 10px 0px"});var Ge=i(45338);const qe=(e,t)=>{let i=!1;return e>-1&&e{const i=e-1;return qe(i,t)?i:e},Ke=(e,t)=>qe(e+1,t)?e+1:0,Je=function(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.5;if(document){const a=Array.from(document.getElementsByClassName(t));if(a&&a.length){const{clientWidth:t}=a[0],l=/\d+/g;let o=0;if(i&&i.web&&(o=+i.web.match(l).join(".")),t){let i=`transition: transform ${r}s ease;transform: translateX(-${(t+16*o)*e}px)`;"edgetoedge"===n&&(i=`transition: transform ${r}s ease;transform: translateX(-${t*e}px)`),[].forEach.call(a,(e=>{e.setAttribute("style",i)}))}}}},Ye=ae.ul` list-style: none; text-align: center; width: 100%; padding: 0; margin: 10px 0 0 0; `,Xe=ae.li` position: relative; display: inline-block; width: 15px; margin: 0 3px; &.active { button { &:before { opacity: .75; } } } `,Qe=ae.button` font-size: 0; line-height: 0; display: block; width: 20px; height: 20px; padding: 5px; cursor: pointer; color: transparent; border: 0; outline: none; background: transparent; &:before { font-family: 'slick'; font-size: 25px; line-height: 20px; position: absolute; top: 0; left: 0; width: 20px; height: 20px; content: '•'; text-align: center; opacity: .25; color: ${e=>e.theme.brandPrimary}; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; @media ${e=>e.theme.mq.md} { font-size: 40px; } } `,et=e=>{let{length:t,active:i,onClickHandler:r}=e;return t<=1?null:n.createElement(Ye,null,((e,t,i)=>{const r=[];for(let a=0;ai(a)},n.createElement(Qe,{"aria-label":`${a}`})))}return r})(t,i,r))},tt=(0,Te.default)("div",{target:"en1fyme0"})({name:"18u8mwg",styles:"height:100%;width:100%;display:flex;overflow:hidden;position:relative;"}),it=(0,Te.default)("div",{target:"en1fyme1"})({name:"17quusp",styles:"align-items:center;flex:0 0 auto;width:100%;text-align:center;display:flex;"}),nt=(0,Te.default)("div",{target:"en1fyme2"})({name:"1ltkx2n",styles:'background:url("https://images-static.nykaa.com/uploads/3df01759-af0c-4d81-b2f7-f61577ac3807.svg");background-repeat:no-repeat;transform:initial;height:56px;width:56px;top:45%;content:"";display:inline-block;position:absolute;left:8px;border:0;cursor:pointer;z-index:2;'}),rt=(0,Te.default)("div",{target:"en1fyme3"})({name:"1h05i80",styles:'background:url("https://images-static.nykaa.com/uploads/45d5a7b6-86eb-4850-9568-4d6ed91731fe.svg");background-repeat:no-repeat;transform:initial;height:56px;width:56px;top:45%;content:"";display:inline-block;position:absolute;right:6px;border:0;cursor:pointer;z-index:2;'}),at=(0,Te.default)("div",{target:"e1tjt82s0"})({name:"15qgbg6",styles:"text-decoration:none;color:inherit;cursor:pointer;border-radius:3px;box-shadow:0 1px 2px 0 rgba(0,0,0,0.22);width:100%;"}),lt=ae.div` display: flex; overflow: hidden; white-space: nowrap; overflow-x: ${e=>{let{isDesktop:t}=e;return t?"hide":"scroll"}}; overflow-y: hide; -webkit-overflow-scrolling: touch; &.disable-scrollbars::-webkit-scrollbar { width: 0px; background: transparent; } .disable-scrollbars { scrollbar-width: none; -ms-overflow-style: none; } `,ot=ae.div` padding:0px 8px; `,st=ae.div` align-items: stretch; flex: 0 0 auto; display: flex; width: ${e=>{let{width:t}=e;return t}}%; padding: 0px 10px 10px 0px; margin: 0px 2px; .titles-description { padding: 10px 0px; white-space: normal; } @media ${e=>e.theme.mq.md} { display: inline-block; } `,dt=ae.h2` color: #3f414d; font-size: 17px; font-weight: bold; letter-spacing: normal; text-transform: uppercase; margin: 10px auto 5px auto; max-width: 1140px; text-align:${e=>{let{textAlign:t}=e;return t}}; @media ${e=>e.theme.mq.md} { font-size: 24px; font-weight: normal; } `,ct=ae.div` background: url("https://images-static.nykaa.com/uploads/3df01759-af0c-4d81-b2f7-f61577ac3807.svg"); background-repeat: no-repeat; transform: initial; height: 56px; width: 56px; top: 45%; content: ""; display: inline-block; position: absolute; left: 8px; border: 0; cursor: pointer; z-index: 2; `,pt=ae.div` background: url("https://images-static.nykaa.com/uploads/45d5a7b6-86eb-4850-9568-4d6ed91731fe.svg"); background-repeat: no-repeat; transform: initial; height: 56px; width: 56px; top: 45%; content: ""; display: inline-block; position: absolute; right: 8px; border: 0; cursor: pointer; z-index: 2; `,ut="vertical",gt="horizontal",mt=e=>!(!e||e!==ut),ht=e=>{let{isDesktop:t,designVersion:i}=e;return t?"v1"===i?"51%":"v2"===i?"47%":"65%":"auto"},bt=ae.div` background: ${e=>{let{background:t,isDesktop:i,layout:n}=e;return i&&n===gt?"transparent":t}}; padding: ${e=>{let{isDesktop:t}=e;return t?"2px 0px":"2px 8px"}};; position: relative; max-width: ${e=>{let{isDesktop:t}=e;return t?"1140px":"auto"}}; margin: ${e=>{let{isDesktop:t}=e;return t?"0px auto":"auto"}}; `,vt=ae.div` display: flex; overflow: hidden; white-space: nowrap; overflow-x: ${e=>{let{isDesktop:t}=e;return t?"hide":"scroll"}}; margin: ${e=>{let{isDesktop:t}=e;return t?"0px auto":"auto"}}; max-width: ${e=>{let{isDesktop:t}=e;return t?"1080px":"auto"}}; overflow-y: hide; flex-direction: ${e=>{let{layout:t}=e;return mt(t)?"column":"row"}}; -webkit-overflow-scrolling: touch; &.disable-scrollbars::-webkit-scrollbar { width: 0px; background: transparent; } .disable-scrollbars { scrollbar-width: none; -ms-overflow-style: none; } align-items: center; padding-left: ${e=>{let{isDesktop:t}=e;return t?"32px":"0px"}}; height: ${e=>{let{isDesktop:t}=e;return t?"100%":"auto"}}; background: ${e=>{let{background:t,isDesktop:i}=e;return i?t:"transparent"}}; `,ft=ae.div` height: ${e=>{let{isDesktop:t}=e;return t?"100%":"auto"}}; background: ${e=>{let{background:t,isDesktop:i}=e;return i?t:"transparent"}}; `,wt=ae.div` background: url("https://images-static.nykaa.com/uploads/3df01759-af0c-4d81-b2f7-f61577ac3807.svg"); background-repeat: no-repeat; transform: initial; height: 56px; width: 56px; top: 45%; content: ""; display: inline-block; position: absolute; left: 14px; border: 0; cursor: pointer; z-index: 2; `,yt=ae.div` background: url("https://images-static.nykaa.com/uploads/45d5a7b6-86eb-4850-9568-4d6ed91731fe.svg"); background-repeat: no-repeat; transform: initial; height: 56px; width: 56px; top: 45%; content: ""; display: inline-block; position: absolute; right: 4px; border: 0; cursor: pointer; z-index: 2; `,xt=ae.div` align-items: center; flex: 0 0 auto; width: ${e=>{let{width:t}=e;return t}}${e=>{let{isDesktop:t}=e;return t?"":"%"}}; text-align: center; padding: ${e=>{let{layout:t,isDesktop:i}=e;return(e=>{let{isDesktop:t,layout:i}=e;return t?mt(i)?"0px 10px 10px 0px":"8px 12px":mt(i)?"0px 0px 10px 0px":"0px 10px 10px 0px"})({isDesktop:i,layout:t})}}; display: flex; margin: ${e=>{let{layout:t}=e;return mt(t)?"0px":"0px 2px"}}; @media ${e=>e.theme.mq.md} { display: inline-block; } `,kt=ae.div` width: ${e=>{let{width:t}=e;return t}}${e=>{let{isDesktop:t}=e;return t?"":"%"}}; padding: 10px; display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; box-sizing: border-box; position: relative; vertical-align: top; @media ${e=>e.theme.mq.md} { display: inline-block; } `,Et=ae.h2` color: #3f414d; font-size: 17px; font-weight: bold; letter-spacing: normal; text-transform: uppercase; margin: 8px 4px 8px 4px; text-align:${e=>{let{textAlign:t}=e;return t}}; `,St=ae.div` padding: 0px; margin-bottom: ${e=>{let{isDesktop:t}=e;return t?"16px":"10px"}};; height: ${e=>{let{isDesktop:t,layout:i}=e;return t&&i===gt?"338px":"auto"}}; img { box-shadow: 0px; min-height: 20px !important; } `,{getPaddingStyles:$t,setVisibility:Ct}=S.utils,Dt=ae.div` background: url("https://images-static.nykaa.com/uploads/3df01759-af0c-4d81-b2f7-f61577ac3807.svg"); background-repeat: no-repeat; transform: initial; height: 56px; width: 56px; top: 45%; content: ""; display: inline-block; position: absolute; left: 8px; border: 0; cursor: pointer; z-index: 2; `,Tt=ae.div` height: 100%; width: 90px; position: absolute; left: 0px; top: 0px; z-index: 1; @media only screen and (min-width : 1600px) { ${e=>{let{isDesktop:t}=e;return t&&"\n left: -48px;\n "}}; `,It=ae.div` height: 100%; width: 90px; position: absolute; right: 0px; top: 0px; z-index: 1; @media only screen and (min-width : 1600px) { ${e=>{let{isDesktop:t}=e;return t&&"\n right: -48px;\n "}}; } `,_t=ae.div` background: url("https://images-static.nykaa.com/uploads/45d5a7b6-86eb-4850-9568-4d6ed91731fe.svg"); background-repeat: no-repeat; transform: initial; height: 56px; width: 56px; top: 45%; content: ""; display: inline-block; position: absolute; right: 8px; border: 0; cursor: pointer; z-index: 2; `,Ot=ae.div` display: flex; overflow: hidden; overflow-x: ${e=>{let{isDesktop:t}=e;return t?"hidden":"scroll"}}; overflow-y: hidden; -webkit-overflow-scrolling: touch; -ms-overflow-style: none; scrollbar-width: none; ::-webkit-scrollbar { display: none; } padding-bottom: ${e=>{let{isDesktop:t}=e;return t?"14px":"0px"}}; padding-left: ${e=>{let{padding:t,isDesktop:i}=e;return!i&&t.left.web}}; padding-top: ${e=>{let{padding:t}=e;return t.top.web}}; ${e=>{let{isDesktop:t}=e;return t&&"\n overflow: hidden;\n overflow-x: hidden;\n overflow-y: hidden;\n "}}; ${e=>{let{isDesktop:t}=e;return t&&"\n margin-left: 48px;\n margin-right: 48px;\n "}}; @media only screen and (min-width : 1600px) { ${e=>{let{isDesktop:t}=e;return t&&"\n margin-right: 0;\n margin-left: 0;\n "}}; } `,Pt=ae.div` ${e=>{let{padding:t}=e;return $t(t)}}; padding:0; padding-top: 0; padding-bottom: ${e=>{let{padding:t}=e;return t.bottom.web}}; background: #${e=>{let{bkgColor:t}=e;return t}}; background: ${e=>{let{bkgColor:t}=e;return t}}; @media only screen and (min-width : 768px) { } @media only screen and (min-width : 1600px) { margin-left: auto; margin-right: auto; max-width: 1600px; } `,Nt=ae.div` align-items: stretch; flex: 0 0 auto; display: flex; width: ${e=>{let{width:t}=e;return t}}%; margin:0px ${e=>{let{margin:t}=e;return t}} 0px 0px; :last-child{ margin-right:${e=>{let{padding:t}=e;return t.right.web}}; } .titles-description { white-space: normal; } > last-child { padding:0px 0px 0px 0px; } .banner-container{ padding-bottom:0; } @media ${e=>e.theme.mq.md} { display: inline-block; } `,At=ae.div` ${e=>{let{isDesktop:t,bkgColor:i}=e;return t&&`\n background: ${i};\n `}}; ${e=>{let{setEmptyWidget:t}=e;return Ct(!t)}}; `,Lt=ae.div` padding-left: ${e=>{let{padding:t}=e;return t.left.web}}; padding-right: ${e=>{let{padding:t}=e;return t.right.web}}; ${e=>{let{isDesktop:t}=e;return t&&"\n padding-left: 48px;\n padding-right: 48px;\n "}}; @media only screen and (min-width : 1600px) { ${e=>{let{isDesktop:t}=e;return t&&"\n padding-left: 0;\n padding-right: 0;\n "}}; } `,{setVisibility:zt,getMarginStyles:jt,getPaddingStyles:Mt,getFontStyles:Rt,addAlpha:Bt}=S.utils,Ft=(0,Te.default)("button",{target:"e1pozm180"})("background:none;color:inherit;border:none;padding:0;font:inherit;cursor:pointer;outline:inherit;",(e=>{let{visible:t}=e;return zt(t)}),";",(e=>{let{padding:t}=e;return Mt(t)}),";",(e=>{let{margin:t}=e;return jt(t)}),";",(e=>{let{buttonText:t}=e;return Rt(t)}),";background:",(e=>{let{bkg:t}=e;return Bt(null==t?void 0:t.color,t.alpha)})," !important;margin-bottom:-",(e=>{let{padding:t}=e;var i;return null===(i=null==t?void 0:t.top)||void 0===i?void 0:i.web}),";z-index:1;"),Wt=e=>{const{title:t,style:i,clickData:r,isDesktop:a}=e,{buttonAppLinkType:l,buttonAppLinkData:o,buttonTrackingData:s,buttonTrackingUrl:d}=r,c=Object.assign(Object.assign({},s),{button_type:"button"}),{buttonText:p,bkg:u,margin:g,padding:m,visible:h}=i;return n.createElement(me,{onIntersect:()=>{f.handleImpression(Object.assign({},c))},onIntersectV2:()=>"",isServer:!1},n.createElement(Ft,{visible:h,bkg:u,padding:m,margin:g,buttonText:p,onClick:e=>{e.preventDefault(),f.handleClick(c).finally((()=>{ee.handleClick({appLinkData:o,appLinkType:l,webActionType:K.Tw.URL_REDIRECTION,webActionUrl:d,isDesktop:a})}))}},t))},{getFontStyles:Ht,getMarginStyles:Ut,getPaddingStyles:Vt,setVisibility:Gt}=S.utils,qt=(0,Te.default)("div",{target:"ej9jzzj0"})("display:flex;flex-direction:row;width:100%;align-items:end;margin-bottom:",(e=>{let{isDefaultWidgetTopSpacingNeeded:t}=e;return`${t}em`}),";"),Zt=(0,Te.default)("div",{target:"ej9jzzj1"})({name:"b95f0i",styles:"display:flex;flex-direction:column;flex:1;"}),Kt=(0,Te.default)("div",{target:"ej9jzzj2"})({name:"fef5n4",styles:"display:flex;flexDirection:column;align-self:flex-end;align-content:flex-end;align-items:flex-end;"}),Jt=(0,Te.default)("p",{target:"ej9jzzj3"})((e=>{let{text:t}=e;return Ht(t)}),";",(e=>{let{margin:t}=e;return Ut(t)}),";",(e=>{let{padding:t}=e;return Vt(t)}),";display:-webkit-box;-webkit-line-clamp:",(e=>{let{text:t}=e;return t.maxLines.web}),";-webkit-box-orient:vertical;overflow:hidden;margin-right:-1em;padding-right:1em;",(e=>{let{visible:t,isVisibilty:i}=e;return i&&Gt(t)}),";"),Yt=(0,Te.default)("h2",{target:"ej9jzzj4"})((e=>{let{text:t}=e;return Ht(t)}),";",(e=>{let{padding:t}=e;return Vt(t)}),";text-transform:capitalize;display:-webkit-box;-webkit-line-clamp:",(e=>{let{text:t}=e;return t.maxLines.web}),";-webkit-box-orient:vertical;overflow:hidden;margin:0;margin-right:-1em;padding-right:1em;",(e=>{let{visible:t,isVisibilty:i}=e;return i&&Gt(t)}),";"),Xt=e=>{var t,i;const{cssStyle:r,title:a,description:l,isDesktop:o,buttonData:s,isVisibilty:d}=e,{titleStyle:c,descriptionStyle:p,buttonWidgetStyle:u,spacingStyle:g}=r,m=!!(null==u?void 0:u.visible),{buttonTitle:h,buttonAppLinkData:b,buttonAppLinkType:v,buttonWebActionType:f,buttonTrackingData:w,buttonTrackingUrl:y}=s,x={buttonAppLinkData:b,buttonAppLinkType:v,buttonWebActionType:f,buttonTrackingData:w,buttonTrackingUrl:y},k=parseFloat(null===(i=null===(t=null==g?void 0:g.padding)||void 0===t?void 0:t.top)||void 0===i?void 0:i.web),E=m&&k<.5&&.5-k;return n.createElement(qt,{isDefaultWidgetTopSpacingNeeded:E},n.createElement(Zt,null,a&&n.createElement(Yt,{isVisibilty:d,text:null==c?void 0:c.text,padding:null==c?void 0:c.padding,visible:null==c?void 0:c.visible},a),l&&n.createElement(Jt,{text:null==p?void 0:p.text,padding:null==p?void 0:p.padding,margin:null==p?void 0:p.margin,isVisibilty:d,visible:null==c?void 0:c.visible},l)),n.createElement(Kt,null,m&&n.createElement(Wt,{isDesktop:o,clickData:x,style:u,title:h})))},Qt="none",ei=(e,t)=>{const{tagType:i,tagText:n}=e;return i!==Qt&&void 0!==i&&i===t&&n!==Qt&&void 0!==n&&""!==n},ti=(0,Te.default)("span",{target:"e13h0shy0"})({name:"13o7eu2",styles:"display:block;"}),ii=e=>{const{timeStamp:t,timerEndText:i,tagTimerEnd:r,tagText:a,tagType:l}=e,o=e=>{let t=e.toString();for(;t.length<2;)t=`0${t}`;return t},s=e=>{const t=e-+new Date;return t>0?{days:Math.floor(t/864e5),hours:o(Math.floor(t/36e5%24)),minutes:o(Math.floor(t/1e3/60%60)),seconds:o(Math.floor(t/1e3%60)),completed:!1,difference:t}:{completed:!0,difference:0,days:"00",hours:"00",minutes:"00",seconds:"00"}},d=s(Number(t)),[c,p]=(0,n.useState)(d),u=(e=>{const{tagType:t}=e;return t!==Qt&&void 0!==t&&"timer"===t})({tagType:l}),g=ei({tagType:l,tagText:a},"text"),m=ei({tagType:l,tagText:a},"html");(0,n.useEffect)((()=>{c.difference>0&&setTimeout((()=>{const e=s(Number(t));p(e)}),1e3)}),[c.difference]);const h=!(!u||!c.completed||""!==i);return n.createElement("div",{className:`${r} tag-text-wrapper ${h?"tag-text-visible":""}`},(u||!c.completed||g||m)&&n.createElement("div",{className:"tag-type-text "+(""===i&&c.completed&&""===a?"empty":"")},(!c.completed||g)&&n.createElement(ti,{className:"tag-text"},a),m&&n.createElement("span",{dangerouslySetInnerHTML:{__html:a}}),u&&n.createElement("span",{className:c.completed?"color-tag":"tag-timer-text"},((e,t)=>{const{completed:i,days:r,hours:a,minutes:l,seconds:o}=e;return i?n.createElement("span",null,t):r>=1?n.createElement("span",null,r,"d"," ",a,"h"," ",l,"m"," ",o,"s"):n.createElement("span",null,a,"h"," ",l,"m"," ",o,"s")})(c,i))))},{getFontStyles:ni,getMarginStyles:ri,getPaddingStyles:ai,getBKGStyles:li,getBorderStyles:oi,getIndividualBorderRadius:si,getIndividualBorder:di}=S.utils,ci=e=>{switch(e){case"center":return"\n justify-content: center;\n ";case"right":return"\n justify-content: flex-end;\n ";default:return"\n justify-content: flex-start;\n "}},pi=ae.div` text-decoration: none; color: inherit; display: block; background: trasparent; padding-bottom: ${e=>{let{bannerCss:t}=e;return t.spacingStyle.interItem.web}}; padding-left: 0; padding-right:0; &.inside{ padding: 27px 27px; border: 2px solid red; } `,ui=ae.div` cursor: pointer; ${e=>{let{styleTextarea:t,isNewTemplate:i}=e;return i&&di(t.individualBorders)}}; ${e=>{let{styleTextarea:t,isNewTemplate:i}=e;return i&&si(t.individualCornerRadius)}}; ${e=>{let{styleTextarea:t}=e;return li(t.bkg)}}; ${e=>{let{styleTextarea:t}=e;return ai(t.padding)}}; ${e=>{let{styleTextarea:t}=e;return ri(t.margin)}}; `,gi=ae.div` width: auto; position: relative; .tag-text-wrapper { display: flex; justify-content: center; align-items: center; position: absolute; left: 0; top: 0; width: fill-available; ${e=>{let{bannerCss:t}=e;return ci(t.childTagStyle.tagPosition)}}; ${e=>{let{bannerCss:t}=e;return ri(t.childTagStyle.margin)}}; } .tag-text-visible { display: none; } .tag-type-text { ${e=>{let{bannerCss:t}=e;return li(t.childTagStyle.bkg)}}; ${e=>{let{bannerCss:t}=e;return ai(t.childTagStyle.padding)}}; ${e=>{let{bannerCss:t}=e;return ni(t.childTagStyle.text)}}; ${e=>{let{bannerCss:t}=e;return oi(t.childTagStyle.border)}}; border-radius: ${e=>{let{bannerCss:t}=e;return t.childTagStyle.cornerRadius.web}}; .tag-text, .color-tag { float:left; ${e=>{let{bannerCss:t}=e;return"right"===t.childTagStyle.timerAlignment&&"\n float:left;\n "}}; ${e=>{let{bannerCss:t}=e;return"left"===t.childTagStyle.timerAlignment&&"\n float:right;\n "}}; display: -webkit-box; -webkit-line-clamp: ${e=>{let{bannerCss:t}=e;return t.childTagStyle.text.maxLines.web}}; -webkit-box-orient: vertical; overflow: hidden; ${e=>{let{bannerCss:t}=e;return ni(t.childTagStyle.text)}}; } .tag-timer-text { ${e=>{let{bannerCss:t}=e;return ni(t.childTagStyle.textTimer)}}; min-width: 48px; float:${e=>{let{bannerCss:t}=e;return t.childTagStyle.text.alignment}}; padding: 0px 1px; display: -webkit-box; -webkit-line-clamp: ${e=>{let{bannerCss:t}=e;return t.childTagStyle.text.maxLines.web}}; -webkit-box-orient: vertical; overflow: hidden; padding-left: ${e=>{let{bannerCss:t}=e;return"right"===t.childTagStyle.timerAlignment&&"4px"}}; padding-right: ${e=>{let{bannerCss:t}=e;return"left"===t.childTagStyle.timerAlignment&&"4px"}}; } } .tag-type-text.empty { display: none ; } .image-tag-wrapper { position: relative; overflow: hidden; cursor: pointer; ${e=>{let{bannerCss:t,isNewTemplate:i}=e;var n;return i?si(null===(n=null==t?void 0:t.childBannerStyle)||void 0===n?void 0:n.individualCornerRadius):`border-radius: ${t.childBannerStyle.cornerRadius.web} !important`}}; .outline-wrapper { position: absolute; left: 0; top: 0; width: 100%; height: 100%; ${e=>{let{bannerCss:t,isNewTemplate:i}=e;var n;return i?si(null===(n=null==t?void 0:t.childBannerStyle)||void 0===n?void 0:n.individualCornerRadius):`border-radius: ${t.childBannerStyle.cornerRadius.web} !important`}}; outline: ${e=>{let{bannerCss:t,isNewTemplate:i}=e;return i&&`${t.childBannerStyle.border.width.web} solid ${t.childBannerStyle.border.color}`}}; outline-offset: ${e=>{let{bannerCss:t,isNewTemplate:i}=e;return i&&`-${t.childBannerStyle.border.width.web}`}}; border: ${e=>{let{bannerCss:t,isNewTemplate:i}=e;return!i&&`${t.childBannerStyle.border.width.web} solid ${t.childBannerStyle.border.color}`}}; } } .image-container { cursor: pointer; min-height: 50px; .card-view {} .image-with-logo { .image-wrapper:nth-of-type(2) { border-radius: ${e=>{let{bannerCss:t}=e;return t.childLogoStyle.cornerRadius.web}}; position: absolute; ${e=>{let{bannerCss:t}=e;return(e=>{switch(e){case"top":return"\n left: 0;\n top:0;\n right:0;\n margin:auto;\n ";case"top_left":return"\n left: 0;\n top:0;\n margin:auto;\n ";case"below":return"\n display:none;\n ";default:return"\n left: 0;\n top:0;\n bottom:0;\n margin:auto;\n "}})(t.childLogoStyle.alignment)}}; width: ${e=>{let{bannerCss:t}=e;return t.childLogoStyle.width}}%; height: ${e=>{let{bannerCss:t}=e;return parseInt(t.childLogoStyle.width,10)/1.5}}%; background: #fff; z-index: 999; ${e=>{let{bannerCss:t}=e;return ai(t.childLogoStyle.padding)}}; } .video-loader { z-index: 1; width: 100%; height: 100%; display: flex; position: absolute; justify-content: center; align-items: center; } } .callout-radius { border-radius: 0px 0px ${e=>{let{bannerCss:t,isNewTemplate:i}=e;var n;return i?null===(n=t.childBannerStyle.individualCornerRadius.bottomRight)||void 0===n?void 0:n.web:t.childBannerStyle.cornerRadius.web}} ${e=>{let{bannerCss:t,isNewTemplate:i}=e;return i?t.childBannerStyle.individualCornerRadius.bottomLeft.web:t.childBannerStyle.cornerRadius.web}}; } }`,mi=ae.div` width: auto; ${e=>{let{cssCallout:t}=e;return li(t.bkg)}}; ${e=>{let{cssCallout:t}=e;return ai(t.padding)}}; ${e=>{let{cssCallout:t}=e;return ni(t.textCallout1?t.textCallout1:t.text)}}; position:absolute; bottom:0; left:0; right:0; .callout-text { display: -webkit-box; -webkit-line-clamp: ${e=>{let{cssCallout:t}=e;return t.textCallout1?t.textCallout1.maxLines.web:t.text.maxLines.web}}; -webkit-box-orient: vertical; overflow: hidden; ${e=>{let{callout2:t,callout3:i}=e;return t&&i&&"\n padding-bottom: 0;\n "}}; ${e=>{let{callout:t}=e;return t&&"\n padding-bottom: 0px;\n "}}; ${e=>{let{callout:t,callout2:i,cssCallout:n}=e;return t&&i&&`\n padding-bottom: ${n.interItem1?n.interItem1.web:0};`}}; ${e=>{let{callout:t,callout2:i,cssCallout:n,isDesktop:r}=e;return t&&i&&r&&`\n padding-bottom: ${n.interItem1?n.interItem1.desktop:0};`}}; ${e=>{let{callout:t,callout3:i,cssCallout:n}=e;return t&&i&&`\n padding-bottom: ${n.interItem1?n.interItem1.web:0};`}}; ${e=>{let{callout:t,callout3:i,cssCallout:n,isDesktop:r}=e;return t&&i&&r&&`\n padding-bottom: ${n.interItem1?n.interItem1.desktop:0};`}}; }; }; .callout-text2{ color:${e=>{let{cssCallout:t}=e;return t.textCallout2?t.textCallout2.color:t.text.color}}; ${e=>{let{cssCallout:t}=e;return ni(t.textCallout2?t.textCallout2:t.text)}}; display: -webkit-box; -webkit-line-clamp: ${e=>{let{cssCallout:t}=e;return t.textCallout2?t.textCallout2.maxLines.web:t.text.maxLines.web}}; -webkit-box-orient: vertical; overflow: hidden; ${e=>{let{callout:t,callout2:i}=e;return t&&i&&"\n padding-bottom: 0;\n "}}; ${e=>{let{callout2:t}=e;return t&&"\n padding-bottom: 0px;\n "}}; ${e=>{let{callout3:t,callout2:i,cssCallout:n}=e;return t&&i&&`\n padding-bottom: ${n.interItem2?n.interItem2.web:0};`}}; ${e=>{let{callout3:t,callout2:i,cssCallout:n,isDesktop:r}=e;return t&&i&&r&&`\n padding-bottom: ${n.interItem2?n.interItem2.desktop:0};`}}; } .callout-text3{ color:${e=>{let{cssCallout:t}=e;return t.textCallout3?t.textCallout3.color:t.text.color}}; ${e=>{let{cssCallout:t}=e;return ni(t.textCallout3?t.textCallout3:t.text)}}; display: -webkit-box; -webkit-line-clamp: ${e=>{let{cssCallout:t}=e;return t.textCallout3?t.textCallout3.maxLines.web:t.text.maxLines.web}}; -webkit-box-orient: vertical; overflow: hidden; } `,hi=ae.div` width: ${e=>{let{bannerCss:t}=e;return t.childLogoStyle.width}}%; height: ${e=>{let{bannerCss:t}=e;return parseInt(t.childLogoStyle.width,10)/1.5}}%; background:#fff; z-index: 999; ${e=>{let{bannerCss:t}=e;return ai(t.childLogoStyle.padding)}}; ${e=>{let{bannerCss:t}=e;return"below"===t.childLogoStyle.alignment?"\n display: block;\n ":"\n display: none;\n "}}; `,bi=ae.div` ${e=>{let{styleTextarea:t}=e;return ni(t.childDescriptionStyle.text)}}; .titles-description { width: 100%; position: relative; word-wrap: break-word; } .titles-description-sticky { border-radius: 3px; background:rgba(255,255,255, ${e=>{let{opacity:t}=e;return t}} ); word-wrap: break-word; padding: 5px; text-align: center; position: absolute; left: 0; right: 0; bottom: 20px; max-width: 100%; width: auto; margin-right: 20px; margin-left: 20px; box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1); bottom: 10px; text-transform: capitalize; } .titles-wrap { ${e=>{let{styleTextarea:t}=e;return ni(t.childTitleStyle.text)}}; ${e=>{let{styleTextarea:t}=e;return ai(t.childTitleStyle.padding)}}; ${e=>{let{styleTextarea:t}=e;return ri(t.childTitleStyle.margin)}}; line-height: 1.2; .title-text{ display: inline-block; display: -webkit-box; -webkit-line-clamp: ${e=>e.styleTextarea.childTitleStyle.text.maxLines.web}; -webkit-box-orient: vertical; overflow: hidden; } .discount-text { display: inline-block; color: ${e=>e.theme.brandPrimary}; margin: 0 4px; } } .description { ${e=>{let{styleTextarea:t}=e;return ni(t.childDescriptionStyle.text)}}; ${e=>{let{styleTextarea:t}=e;return ai(t.childDescriptionStyle.padding)}}; display: -webkit-box; -webkit-line-clamp: ${e=>e.styleTextarea.childDescriptionStyle.text.maxLines.web}; -webkit-box-orient: vertical; overflow: hidden; @media only screen and (min-width : 768px) { padding-bottom: 0; } } `,vi={video_duration:0,view_duration:0},{getPaddingStyles:fi,setVisibility:wi}=S.utils,yi=(0,Te.default)("div",{target:"e1yocmwb0"})("text-align:",(e=>{let{align:t}=e;return t}),";background-color:",(e=>{let{color:t}=e;return t}),";",(e=>{let{padding:t}=e;return fi(t)}),";@media only screen and (min-width:768px){margin-left:48px;margin-right:48px;}@media only screen and (min-width:1600px){margin-left:auto;margin-right:auto;max-width:1600px;}.list-wrap{display:flex;flex-wrap:wrap;margin:0px -",(e=>{let{interItemMargin:t}=e;return t}),"px 0px -",(e=>{let{interItemMargin:t}=e;return t}),"px;}img{max-width:100%;max-height:100%;}"),xi=(0,Te.default)("div",{target:"e1yocmwb1"})("display:flex;flex-wrap:wrap;margin-left:",(e=>{let{isDesktop:t,interItemMargin:i}=e;return t?`-${i}px`:"auto"}),";margin-right:",(e=>{let{isDesktop:t,interItemMargin:i}=e;return t?`-${i}px`:"auto"}),";@media ",(e=>e.theme.mq.md),"{align-items:flex-start;justify-content:center;}padding-top:",(e=>{let{padding:t}=e;return t.top.web}),";"),ki=((0,Te.default)("button",{target:"e1yocmwb2"})({name:"r7f82p",styles:"padding:5px 10px;margin-top:-32px;margin-right:10px;background:transparent;border:none;font-size:14px;letter-spacing:1.1px;color:red;float:right;color:#fc2779;cursor:pointer;"}),(0,Te.default)("div",{target:"e1yocmwb3"})("box-sizing:border-box;width:",(e=>{let{width:t}=e;return t}),"%;vertical-align:top;padding:0px ",(e=>{let{interItemMargin:t}=e;return t}),"px 0px ",(e=>{let{interItemMargin:t}=e;return t}),"px;position:relative;")),Ei=((0,Te.default)("h3",{target:"e1yocmwb4"})("letter-spacing:0.3px;color:rgba(3,2,26,0.8);display:block;font-weight:600;margin:",(e=>{let{isDesktop:t}=e;return t?"5px auto 5px":"5px 10px 10px 10px"}),";"),(0,Te.default)("div",{target:"e1yocmwb5"})((e=>{let{isDesktop:t,color:i}=e;return t&&`\n background: ${i};\n `}),";",(e=>{let{setEmptyWidget:t}=e;return wi(!t)}),";")),{getMarginStyles:Si,getPaddingStyles:$i,setVisibility:Ci}=S.utils,Di=(e,t)=>`linear-gradient(to left, ${e} 50%, ${t} 50%)`,Ti=(0,Te.default)("div",{target:"e150ol5z0"})((e=>{let{wrapperSpacing:t,isDesktop:i}=e;return i?"":$i(t.padding)}),";padding-top:0;overflow:hidden;.swtitleWrapper{display:flex;}.edgetoedge{margin-left:-",(e=>{let{wrapperSpacing:t,isDesktop:i}=e;var n,r;return i?"":null===(r=null===(n=null==t?void 0:t.padding)||void 0===n?void 0:n.left)||void 0===r?void 0:r.web}),";margin-right:-",(e=>{let{wrapperSpacing:t,isDesktop:i}=e;var n,r;return i?"":null===(r=null===(n=null==t?void 0:t.padding)||void 0===n?void 0:n.right)||void 0===r?void 0:r.web}),";}background:",(e=>e.bkgColor),";@media only screen and (min-width:768px){.edgetoedge{padding-left:0px;padding-right:0px;}.snaptogrid{padding-left:48px;padding-right:48px;}}@media only screen and (min-width:1600px){margin-left:auto;margin-right:auto;max-width:1600px;.snaptogrid{padding-left:0px;padding-right:5px;}}"),Ii=(0,Te.default)("div",{target:"e150ol5z1"})("height:100%;width:100%;display:flex;overflow:hidden;position:relative;padding-top:",(e=>{let{swPadding:t}=e;var i;return null===(i=null==t?void 0:t.top)||void 0===i?void 0:i.web}),";"),_i=(0,Te.default)("div",{target:"e150ol5z2"})("height:100%;width:100%;display:flex;flex:1 0 100%;flex-basis:84%;position:relative;padding-top:",(e=>{let{swPadding:t}=e;var i;return null===(i=null==t?void 0:t.top)||void 0===i?void 0:i.web}),";padding-bottom:",(e=>{let{isDesktop:t,swPadding:i}=e;var n,r;return null!==(r=t?null===(n=null==i?void 0:i.bottom)||void 0===n?void 0:n.web:"0px")&&void 0!==r?r:"0px"}),";"),Oi=(0,Te.default)("div",{target:"e150ol5z3"})({name:"1nsx03g",styles:"align-items:center;flex:0 0 auto;width:100%;text-align:center;.banner-container{padding-bottom:0;}"}),Pi=(0,Te.default)("div",{target:"e150ol5z4"})("align-items:center;flex:0 0 auto;width:",(e=>{let{isDesktop:t}=e;return"100%"}),";text-align:center;display:",(e=>{let{isDesktop:t}=e;return t?"inline-block":""}),";margin:0px ",(e=>{let{interItem:t,isDesktop:i}=e;return t.web})," 0px 0px;:last-child{margin-right:0;}.banner-container{padding-bottom:0;}"),Ni=(0,Te.default)("span",{target:"e150ol5z5"})("color:",(e=>{let{positionIndicator:t,isNewTemplate:i}=e;var n,r,a,l;return i?null===(r=null===(n=null==t?void 0:t.snapToGridIndicator)||void 0===n?void 0:n.text)||void 0===r?void 0:r.color:null===(l=null===(a=null==t?void 0:t.indicator)||void 0===a?void 0:a.text)||void 0===l?void 0:l.color}),";color:#",(e=>{let{positionIndicator:t,isNewTemplate:i}=e;var n,r,a,l;return i?null===(r=null===(n=null==t?void 0:t.snapToGridIndicator)||void 0===n?void 0:n.text)||void 0===r?void 0:r.color:null===(l=null===(a=null==t?void 0:t.indicator)||void 0===a?void 0:a.text)||void 0===l?void 0:l.color}),";font-size:",(e=>{let{positionIndicator:t,isNewTemplate:i}=e;var n,r,a,l,o,s;return i?null===(a=null===(r=null===(n=null==t?void 0:t.snapToGridIndicator)||void 0===n?void 0:n.text)||void 0===r?void 0:r.size)||void 0===a?void 0:a.web:null===(s=null===(o=null===(l=null==t?void 0:t.indicator)||void 0===l?void 0:l.text)||void 0===o?void 0:o.size)||void 0===s?void 0:s.web}),";flex:none;font-family:",(e=>{let{positionIndicator:t,isNewTemplate:i}=e;var n,r,a,l;return i?null===(r=null===(n=null==t?void 0:t.snapToGridIndicator)||void 0===n?void 0:n.text)||void 0===r?void 0:r.fontFamily:null===(l=null===(a=null==t?void 0:t.indicator)||void 0===a?void 0:a.text)||void 0===l?void 0:l.fontFamily}),";font-weight:",(e=>{let{positionIndicator:t,isNewTemplate:i}=e;var n,r,a,l;return i?null===(r=null===(n=null==t?void 0:t.snapToGridIndicator)||void 0===n?void 0:n.text)||void 0===r?void 0:r.fontWeight:null===(l=null===(a=null==t?void 0:t.indicator)||void 0===a?void 0:a.text)||void 0===l?void 0:l.fontWeight}),";line-height:",(e=>{let{positionIndicator:t,isNewTemplate:i}=e;var n,r,a,l;return i?null===(r=null===(n=null==t?void 0:t.snapToGridIndicator)||void 0===n?void 0:n.text)||void 0===r?void 0:r.size.web:null===(l=null===(a=null==t?void 0:t.indicator)||void 0===a?void 0:a.text)||void 0===l?void 0:l.size.web}),";text-align:end;align-self:flex-end;",(e=>{let{titleCss:t}=e;return Si(t.margin)}),";"),Ai=(0,Te.default)("button",{target:"e150ol5z6"})("display:block;width:",(e=>{let{positionindicatorCss:t,isNewTemplate:i}=e;var n,r,a,l,o,s;return i?null===(a=null===(r=null===(n=null==t?void 0:t.edgeToEdgeIndicator)||void 0===n?void 0:n.size)||void 0===r?void 0:r.width)||void 0===a?void 0:a.web:null===(s=null===(o=null===(l=null==t?void 0:t.indicator)||void 0===l?void 0:l.size)||void 0===o?void 0:o.width)||void 0===s?void 0:s.web}),";height:",(e=>{let{positionindicatorCss:t,isNewTemplate:i}=e;var n,r,a,l,o,s;return i?null===(a=null===(r=null===(n=null==t?void 0:t.edgeToEdgeIndicator)||void 0===n?void 0:n.size)||void 0===r?void 0:r.width)||void 0===a?void 0:a.web:null===(s=null===(o=null===(l=null==t?void 0:t.indicator)||void 0===l?void 0:l.size)||void 0===o?void 0:o.width)||void 0===s?void 0:s.web}),";cursor:pointer;color:transparent;border:0;outline:none;border-radius:100%;background:#",(e=>{let{positionindicatorCss:t,isNewTemplate:i}=e;var n,r;return i?null===(n=null==t?void 0:t.indicatorBkg)||void 0===n?void 0:n.baseColour:null===(r=null==t?void 0:t.bkg)||void 0===r?void 0:r.colorStart}),";background:",(e=>{let{positionindicatorCss:t,isNewTemplate:i}=e;var n,r;return i?null===(n=null==t?void 0:t.indicatorBkg)||void 0===n?void 0:n.baseColour:null===(r=null==t?void 0:t.bkg)||void 0===r?void 0:r.colorStart}),";"),Li=(0,Te.default)("ul",{target:"e150ol5z7"})("list-style:none;text-align:center;width:100%;padding:0;margin:0;line-height:0;",(e=>{let{positionindicatorCss:t}=e;return $i(t.padding)}),";"),zi=(0,Te.default)("li",{target:"e150ol5z8"})("position:relative;display:inline-block;margin:0 3px;&.active{button{background:",(e=>{let{positionindicatorCss:t,isNewTemplate:i}=e;var n,r,a,l;return i?Di(null===(n=null==t?void 0:t.indicatorBkg)||void 0===n?void 0:n.baseColour,null===(r=null==t?void 0:t.indicatorBkg)||void 0===r?void 0:r.highlightColour):Di(null===(a=null==t?void 0:t.bkg)||void 0===a?void 0:a.colorStart,null===(l=null==t?void 0:t.bkg)||void 0===l?void 0:l.colorEnd)}),";background-size:200% 100%;background-position:left bottom;background-position:0px 100%;}}"),ji=(0,Te.default)("button",{target:"e150ol5z9"})("font-size:0;line-height:0;display:block;width:",(e=>{let{positionindicatorCss:t,isNewTemplate:i}=e;var n,r,a,l,o,s;return i?null===(a=null===(r=null===(n=null==t?void 0:t.edgeToEdgeIndicator)||void 0===n?void 0:n.size)||void 0===r?void 0:r.width)||void 0===a?void 0:a.web:null===(s=null===(o=null===(l=null==t?void 0:t.indicator)||void 0===l?void 0:l.size)||void 0===o?void 0:o.width)||void 0===s?void 0:s.web}),";height:",(e=>{let{positionindicatorCss:t,isNewTemplate:i}=e;var n,r,a,l,o,s;return i?null===(a=null===(r=null===(n=null==t?void 0:t.edgeToEdgeIndicator)||void 0===n?void 0:n.size)||void 0===r?void 0:r.height)||void 0===a?void 0:a.web:null===(s=null===(o=null===(l=null==t?void 0:t.indicator)||void 0===l?void 0:l.size)||void 0===o?void 0:o.height)||void 0===s?void 0:s.web}),";cursor:pointer;color:transparent;border:0;outline:none;border-radius:3px;background:#",(e=>{let{positionindicatorCss:t,isNewTemplate:i}=e;var n,r;return i?null===(n=null==t?void 0:t.indicatorBkg)||void 0===n?void 0:n.baseColour:null===(r=null==t?void 0:t.bkg)||void 0===r?void 0:r.colorStart}),";background:",(e=>{let{positionindicatorCss:t,isNewTemplate:i}=e;var n,r;return i?null===(n=null==t?void 0:t.indicatorBkg)||void 0===n?void 0:n.baseColour:null===(r=null==t?void 0:t.bkg)||void 0===r?void 0:r.colorStart}),";"),Mi=(0,Te.default)("ul",{target:"e150ol5z10"})("list-style:none;text-align:center;width:100%;padding:0;margin:0;line-height:0;",(e=>{let{positionindicatorCss:t}=e;return $i(t.padding)}),";"),Ri=(0,Te.default)("li",{target:"e150ol5z11"})("position:relative;display:inline-block;margin:0 3px;button{background-position:right bottom;transition:background-position 0ms ease-out;}&.active{button{background:",(e=>{let{positionindicatorCss:t,isNewTemplate:i}=e;var n,r,a,l;return i?Di(null===(n=null==t?void 0:t.indicatorBkg)||void 0===n?void 0:n.baseColour,null===(r=null==t?void 0:t.indicatorBkg)||void 0===r?void 0:r.highlightColour):Di(null===(a=null==t?void 0:t.bkg)||void 0===a?void 0:a.colorStart,null===(l=null==t?void 0:t.bkg)||void 0===l?void 0:l.colorEnd)}),";background-size:200% 100%;background-position:left bottom;background-position:0px 100%;transition:background-position ",(e=>{let{delayTime:t}=e;return t}),"ms ease-in;}}"),Bi=(0,Te.default)("div",{target:"e150ol5z12"})({name:"1ltkx2n",styles:'background:url("https://images-static.nykaa.com/uploads/3df01759-af0c-4d81-b2f7-f61577ac3807.svg");background-repeat:no-repeat;transform:initial;height:56px;width:56px;top:45%;content:"";display:inline-block;position:absolute;left:8px;border:0;cursor:pointer;z-index:2;'}),Fi=(0,Te.default)("div",{target:"e150ol5z13"})({name:"1h05i80",styles:'background:url("https://images-static.nykaa.com/uploads/45d5a7b6-86eb-4850-9568-4d6ed91731fe.svg");background-repeat:no-repeat;transform:initial;height:56px;width:56px;top:45%;content:"";display:inline-block;position:absolute;right:6px;border:0;cursor:pointer;z-index:2;'}),Wi=(0,Te.default)("div",{target:"e150ol5z14"})((e=>{let{isDesktop:t,bkgColor:i}=e;return t&&`\n background: ${i};\n `}),";",(e=>{let{setEmptyWidget:t}=e;return Ci(!t)}),";"),Hi=e=>{let{length:t,active:i,timer:r,onClickHandler:a,positionindicatorCss:l,isNewTemplate:o}=e;return t<=1?null:n.createElement(Mi,{isNewTemplate:o,positionindicatorCss:l},((e,t,i,r,a,l)=>{const o=[];for(let s=0;sr(s)},n.createElement(ji,{isNewTemplate:l,"aria-label":`${s}`,positionindicatorCss:a})))}return o})(t,i,r,a,l,o))},Ui=e=>{let{length:t,active:i,onClickHandler:r,positionindicatorCss:a,isNewTemplate:l}=e;return t<=1?null:n.createElement(Li,{isNewTemplate:l,positionindicatorCss:a},((e,t,i,r,a)=>{const l=[];for(let o=0;oi(o)},n.createElement(Ai,{isNewTemplate:a,positionindicatorCss:r,"aria-label":`${o}`})))}return l})(t,i,r,a,l))},Vi="progressive",Gi=["snaptogrid","tabbed"],{getPaddingStyles:qi,getFontStyles:Zi,addAlpha:Ki,getBorderStyles:Ji,getMarginStyles:Yi}=S.utils,Xi=ae.div` display: inline-flex; align-items: center; ${e=>{let{padding:t}=e;return qi(t)}}; text-transform: capitalize; cursor: pointer; background-color: ${e=>{let{bkg:t}=e;return Ki(null==t?void 0:t.color,null==t?void 0:t.alpha)}}; ${e=>{let{text:t}=e;return Zi(t)}}; ${e=>{let{border:t}=e;return Ji(t)}}; border-radius: ${e=>{let{cornerRadius:t}=e;return null==t?void 0:t.web}}; .filter-text { display:inline-block; white-space: nowrap; } .tabs-text { display:inline-block; white-space: nowrap; } `,Qi=ae.div` overflow-y: hidden; height: auto; width: 100%; scroll-behavior: smooth; display: flex; white-space: nowrap; -ms-overflow-style: none; scrollbar-width: none; ::-webkit-scrollbar { display: none; } column-gap: ${e=>{let{gap:t}=e;return null==t?void 0:t.web}}; ${e=>{let{margin:t}=e;return Yi(t)}}; `,en=ae.div` display: block; position: relative; vertical-align: top; :last-of-type { margin-right: ${e=>{let{isDesktop:t}=e;return t?"3rem":"1.25rem"}}; } :first-of-type { margin-left: ${e=>{let{isDesktop:t}=e;return t?"3rem":"1.25rem"}}; } `,tn=(0,Te.default)("h2",{target:"e1vrem5l0"})({name:"1ws4dgx",styles:"color:#3f414d;font-size:17px;font-weight:700;letter-spacing:normal;text-transform:uppercase;margin:10px 10px 5px 10px;"}),nn=e=>{let{title:t}=e;return n.createElement(tn,null,t)},rn=(0,Te.default)("div",{target:"e1wxcimh0"})("padding-bottom:5px;padding-top:5px;text-align:",(e=>{let{align:t}=e;return t}),";background-color:",(e=>{let{color:t}=e;return t}),";.list-wrap{display:flex;flex-wrap:wrap;}img{max-width:100%;max-height:100%;}"),an=(0,Te.default)("div",{target:"e1wxcimh1"})("display:inline-flex;box-sizing:border-box;width:",(e=>{let{width:t}=e;return t}),"%;vertical-align:top;padding:5px 7px;position:relative;"),ln=(0,Te.default)("h3",{target:"e1wxcimh2"})({name:"1v9bjtx",styles:"letter-spacing:0.3px;color:rgba(3,2,26,0.8);display:block;margin-bottom:10px;font-weight:600;margin-top:5px;margin-left:10px;"}),on=ae.div` padding: 15px 10px; background-color: transparent; margin-top: 10px; color: #3f414d; font-size: 17px; font-weight: 700; max-width: 1140px; margin: 0px auto; text-align: ${e=>{let{isDesktop:t}=e;return t?"center":"start"}}; @media ${e=>e.theme.mq.md} { font-size: 24px; font-weight: normal; } `,sn=ae.div` width: 100%; white-space: nowrap; overflow-x: auto; overflow-y: hidden; height: auto; margin-bottom: 12px; max-width: 1140px; display: flex; margin: ${e=>{let{isDesktop:t}=e;return t?"0px auto 28px":"0px auto"}}; `,dn=()=>{let e=!1;try{if("undefined"==typeof window)return!1;Z(window.navigator.userAgent).device===H&&(e=!0)}catch(t){e=!1}return e},cn=(e,t)=>dn()?e:t,pn=ae.article` width: 100%; padding: 0 ${10}px; background: #ffffff; & a[href] { color: ${e=>e.theme.brandPrimary}; text-decoration: underline; margin: 0 3px; } `,un=ae.div` font-family: inherit; width: 100%; max-width: ${1200}px; font-size: 24px; line-height: 28px; font-weight: 500; text-transform: capitalize; padding: 0; margin-top: 56px; padding-right: 15px; text-align: ${e=>e.alignment}; @media (max-width: ${e=>e.theme.breakpoints.xl}px) { margin-top: ${25}px; } @media (max-width: ${e=>e.theme.breakpoints.md}px) { font-size: 20px; font-weight: 400; line-height: 24px; padding: 5px 0px 0px; } `,gn=ae.div` width: 100%; height: 100%; position relative; background: #ffffff; `,mn=ae.div` width: 100%; height: 100%; `,{setVisibility:hn}=S.utils,bn=ae.div` width: 100%; display: inline-block; white-space: nowrap; overflow-x: ${e=>{let{isDesktop:t}=e;return t?"hidden":"auto"}} ; overflow-y: hidden; height: auto; -ms-overflow-style: none; scrollbar-width: none; ::-webkit-scrollbar { display: none; } `,vn=ae.div` position: relative; .title-description { padding: 0 ${e=>{let{isDesktop:t}=e;return t?"3rem":"1.25rem"}}; } @media only screen and (min-width : 1600px) { margin-left: auto; margin-right: auto; max-width: 1600px; .title-description { padding: 0; } } `,fn=ae.div` display: inline-block ; transition: transform 0.4s ease-in; transform: translateX(${e=>{let{transform:t}=e;return t}}px); `,wn=ae.div` height: 65%; width: 90px; position: absolute; left: 12px; top: 0px; z-index: 1; `,yn=ae.div` height: 65%; width: 90px; position: absolute; right: 12px; top: 0px; z-index: 1; `,xn=ae.div` background-color: ${e=>{let{appBkgColor:t}=e;return t}}; width: fill-available; ${e=>{let{setEmptyWidget:t}=e;return hn(!t)}}; `,kn=e=>{const{isDesktop:t,position:i,cssStyle:r,text:a,handleTagClick:l,selectedTags:o,trackingData:s,remoteConfigs:d}=e,c=!!o[i],p=(0,n.useRef)(o),u=(0,n.useRef)(null);(0,n.useEffect)((()=>{(null==p?void 0:p.current)&&(p.current=o,u.current=!!p.current[i])}),[o,p]);const g=Object.assign(Object.assign({button_text:a,button_position:i,button_type:"filter"},s),{button_status:!c}),{selectedStateBkg:m,unselectedBorder:h,selectedText:b,unselectedText:v,selectedBorder:w,unSelectedStateBkg:y,cornerRadius:x,padding:k,ellipsis:E}=r,{ellipsisCategoryFilters:S}=(null==d?void 0:d.configs)||{},$=()=>{},C=0===(D=t?null==E?void 0:E.desktop:null==E?void 0:E.web)?"unset":D||S;var D;const T="unset"===C?a:Y.truncateEllipsis(a,C);return n.createElement(en,{isDesktop:t},n.createElement(me,{isServer:!1,onIntersect:()=>{f.handleImpression(Object.assign(Object.assign({},g),{widget_filters_selected:null==p?void 0:p.current,button_status:null==u?void 0:u.current}))},onIntersectV2:$,exitCallBack:$},n.createElement("div",{onClick:e=>{e.preventDefault(),e.stopPropagation(),l(g,c)},className:"io_wrapper_category_filters"},n.createElement(Xi,{bkg:c?m:y,cornerRadius:x,border:c?w:h,text:c?b:v,padding:k,isDesktop:t},n.createElement("span",{className:"filter-text"},T)))))},En=n.memo(kn),Sn=e=>{const{filterTags:t,styles:i,handleSelected:r,isDesktop:a,trackingData:l,remoteConfigs:o,isSingleSelect:s}=e,[d,c]=(0,n.useState)(!1),p={1:"all"},u=(0,n.useRef)(null),[g,m]=(0,n.useState)(p);(0,n.useEffect)((()=>{d&&(u.current.scrollLeft=0)}),[d]);const h=e=>{f.handleClick(e)},b=(e,t)=>{const{button_text:i,button_position:n}=e;let a=Object.assign({},g);if("all"===a[1]&&(c(!1),delete a[1]),"all"!==i)if(t){if(delete a[n],Y.isEmpty(a))return c(!0),h(Object.assign(Object.assign({},e),{widget_filters_selected:p})),r(Object.values(p)),m(p),p;r(Object.values(a)),m(a),h(Object.assign(Object.assign({},e),{widget_filters_selected:a}))}else a=s?{[n]:i}:Object.assign(Object.assign({},a),{[n]:i}),r(Object.values(a)),m(a),h(Object.assign(Object.assign({},e),{widget_filters_selected:a}));else r(Object.values(p)),m(p),h(Object.assign(Object.assign({},e),{widget_filters_selected:p}));return a},{margin:v,interItem:w}=i;return n.createElement(Qi,{isDesktop:a,ref:u,margin:v,gap:w},t.map(((e,t)=>n.createElement(En,{isDesktop:a,cssStyle:i,text:e,position:t+1,trackingData:l,selectedTags:g,handleTagClick:b,remoteConfigs:o}))))};var $n=i(67032);const Cn=(0,Te.default)("div",{target:"et0zhq80"})({name:"hnczym",styles:"position:absolute;right:0;z-index:2;"}),Dn=()=>n.createElement(Cn,null,n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"45",height:"45",viewBox:"0 0 45 45"},n.createElement("g",{fill:"none",fillRule:"nonzero"},n.createElement("path",{fill:"#FFF",d:"M0 0h45v45z"}),n.createElement("path",{fill:"#FC2779",d:"M0 0h45v45L0 0zm25.43 5.711l-4.958 4.957 1.471 1.47 1.337-1.336.777.778c1.28 1.28 2.694 1.337 3.875.156 1.125-1.125 1.026-2.496-.254-3.776L25.429 5.71zm.339 2.602l.707.707c.438.439.452.934.02 1.365-.445.446-.94.431-1.378-.007l-.707-.707 1.358-1.358zm2.44 10.09l1.668 1.67.615-2.624c.842.233 1.676-.007 2.411-.742 1.125-1.125.997-2.525-.332-3.854l-2.312-2.312-4.957 4.957 1.47 1.47 1.337-1.336.778.778-.679 1.994zM29.24 14.5l1.358-1.357.842.841c.438.439.452.934.02 1.365-.445.445-.94.431-1.378-.007l-.842-.842zm8.606 3.543c-1.556-1.556-3.762-1.64-5.218-.184-1.464 1.464-1.4 3.691.155 5.247 1.556 1.556 3.79 1.612 5.247.156 1.45-1.45 1.372-3.663-.184-5.219zm-1.21 1.252c.651.65.63 1.718-.12 2.467-.749.75-1.83.785-2.481.135-.65-.65-.658-1.775.092-2.525s1.852-.735 2.51-.077z"}))));var Tn=i(29657);const In="156px",_n=$n.Z.img` text-align: center; // height: 156px; position: relative; max-height: ${e=>{let{maxHeight:t}=e;return t}}; max-width: ${e=>{let{maxWidth:t}=e;return t}}; vertical-align: middle; `,On=e=>{let{src:t,alt:i,hasDynamicHeight:r,cardHeight:a,cardWidth:l,maxCardHeight:o}=e;return n.createElement(_n,{src:t,alt:i,height:r&&a?a:In,maxWidth:r&&l?l:"none",maxHeight:r&&o?o:In})},Pn=$n.Z.div` text-align: center; height: ${e=>{let{height:t}=e;return t}}; position: relative; display: ${e=>{let{hasDynamicHeight:t}=e;return t?"flex":"block"}}; justify-content: center; margin-bottom: ${e=>{let{hasDynamicHeight:t}=e;return t?"8px":"0"}}; align-items: center; .lazy-load-wrap{ width: 100%; height: 100%; } `,Nn=$n.Z.div` width: 100%; height: 156px; background: #dfe6e9; `,An=e=>{let{src:t,alt:i,isLazy:r,hasDynamicHeight:a,cardHeight:l,cardWidth:o,maxCardHeight:s}=e;const d=(0,Tn.Tf)(a,l,"156px");return n.createElement(Pn,{height:d,hasDynamicHeight:a},r?n.createElement(Ie.Z,{bottomMargin:250,rightMargin:100,placeHolder:n.createElement(Nn,null),wrapperClassName:"lazy-load-wrap"},n.createElement(On,{src:t,alt:i,hasDynamicHeight:a,cardHeight:l,cardWidth:o,maxCardHeight:s})):n.createElement(On,{src:t,alt:i,hasDynamicHeight:a,cardHeight:l,cardWidth:o,maxCardHeight:s}))},Ln=$n.Z.div` ${e=>{let{theme:t}=e;return t.typography.bodyMedium}}; overflow: hidden; height: 40px; display: block; margin: ${e=>{let{theme:t}=e;return t.spacing.spacing0}}; margin-bottom: ${e=>{let{theme:t}=e;return t.spacing.spacing10}}; color: ${e=>{let{theme:t}=e;return t.colors.textPrimary}}; text-overflow: ellipsis; `,zn=e=>{let{title:t,elipsTitleLength:i=100}=e,r=t;return t&&t.length>i&&(r=`${t.substr(0,i)}...`),n.createElement(Ln,null,r)},jn=$n.Z.div` ${e=>{let{theme:t}=e;return t.typography.bodySmall}}; color: #757575; margin: ${e=>{let{theme:t}=e;return t.spacing.spacing0}}; margin-bottom: ${e=>{let{theme:t}=e;return t.spacing.spacing20}}; padding: ${e=>{let{theme:{spacing:t}}=e;return`${t.spacing0}`}}; text-transform: capitalize; `,Mn=e=>{let{variantType:t,variantCount:i=100,isTranslated:r=!1}=e;if(!i||!t)return null;let a="";return r||(a=i>1?`${t}s`:t),n.createElement(jn,null,i," ",a||t)};var Rn=i(94267),Bn=i(29649),Fn=i(72618);const Wn=Fn.z.span` margin: 8px; display: flex; justify-content: center; text-transform: uppercase; position: absolute; top: 0; left: 0; right: 0; z-index: 1; `,Hn=Fn.z.span` ${e=>{let{theme:t}=e;return t.typography.bodySmall}}; border-radius: ${e=>{let{theme:t}=e;return t.borders.radius10}}; padding: ${e=>{let{theme:t}=e;return t.spacing.spacing20}}; color: ${e=>{let{theme:t}=e;return t.colors.primary40}}; background-color: ${e=>{let{theme:t}=e;return t.colors.primary10}}; border: none; & { background-color: ${e=>{let{badgeColor:t}=e;return t}}; color: ${e=>{let{textColor:t}=e;return t}}; } `,Un=e=>{let{plpPriceReveal:t}=e;const{text:i="",textColor:r,badgeColor:a}=t;return n.createElement(Wn,null,n.createElement(Hn,{textColor:r,badgeColor:a},i))};var Vn=i(53102);const Gn=Fn.z.p` color: ${e=>{let{theme:t,color:i}=e;var n;return i||(null===(n=t.colors)||void 0===n?void 0:n.primary)}}; margin-bottom: ${e=>{let{theme:t}=e;var i;return null===(i=t.spacing)||void 0===i?void 0:i.spacing40}}; ${e=>{let{theme:t}=e;var i;return null===(i=t.typography)||void 0===i?void 0:i.subTitleSmall}}; `,qn=function(e){let{message:t="",color:i=""}=e;const r="string"==typeof i&&i.length;return n.createElement(Gn,{color:r&&i},t)};var Zn=i(31889);const Kn=Fn.z.li` margin-right: 4px; border: none; display: inline-block; padding: 0 5px; text-transform: capitalize; ${e=>{let{theme:t}=e;return t.typography.labelSmall}}; &.custom-tag { padding: 3px 5px; background-color: ${e=>{let{customStyle:t}=e;return null==t?void 0:t.bgColor}}; border: ${e=>{let{customStyle:t}=e;return(null==t?void 0:t.borderColor)&&`1px solid ${t.borderColor}`}}; color: ${e=>{let{customStyle:t}=e;return null==t?void 0:t.titleColor}}; ${e=>{let{theme:t}=e;return t.typography.subTitleSmall}}; font-weight: ${e=>{let{customStyle:t}=e;return null==t?void 0:t.fontWeight}}; opacity: ${e=>{let{customStyle:t}=e;return null==t?void 0:t.opacity}}; font-size: ${e=>{let{customStyle:t}=e;return null==t?void 0:t.fontSize}}; } &.featured { background-color: #ffeed7; border: 1px solid #ffe4c0; color: #fea838; } &.offer { background-color: #ffeed7; border: 1px solid #ffe4c0; color: #fea838; } &.new { background-color: #e6f8ff; border: 1px solid #cee9f3; color: #6dcff6; } &.bestseller { background-color: #dff9e5; border: 1px solid #c3e7ce; color: #68a677; } `,Jn=e=>{let{index:t,tag:i="",handleTagClick:r,offersCount:a,showMultipleTag:l,customStyle:o}=e,s=i;if("string"==typeof i)s={name:i||"",id:(0,Tn.Ox)(i)};else if(null===s||!s.name)return null;const{name:d="",id:c=""}=s;let p=d;"offer"===p&&a>1&&(p="offers");const u=`tagItem${t}`,g=l&&Object.keys(o).length?Vn.DF:`${null==c?void 0:c.toLowerCase()} ${Vn.mq}`;return n.createElement(Kn,{tabIndex:0,role:"button",onClick:()=>r((null==p?void 0:p.toLowerCase())||p),key:u,className:g,customStyle:o},p)},Yn=Fn.z.div` ${e=>{let{theme:t}=e;return t.typography.subTitleSmall}}; margin: ${e=>{let{theme:t}=e;return t.spacing.spacing40}}; position: absolute; top: 0; left: 0; z-index: 1; `,Xn=Fn.z.ul` padding-left: 0; list-style: none; margin: 0 0 10px; display: flex; `,Qn=function(e){let{showMultipleTag:t=!1,tags:i,offersCount:r=0,newTags:a=[]}=e;return n.createElement(Yn,null,n.createElement(Xn,null,n.createElement(Zn.oC,{showMultipleTag:t,tags:i,newTagsStyle:a,offersCount:r,Component:Jn})))},er=$n.Z.div` position: relative; height: 100%; padding-bottom: 32px; overflow: hidden; `,tr=$n.Z.a` display: block; padding-top: ${e=>{let{hasDynamicHeight:t}=e;return t?"0":"10px"}}; text-decoration: none; `,ir=$n.Z.span` ${e=>{let{theme:t}=e;return t.typography.subTitleMedium}} background-color: #eee; color: #000000; position: absolute; top: 20%; left: 25%; padding: 4% 8%; `,nr=$n.Z.div` margin-top: 4px; padding-left: 15px; padding-right: 15px; white-space: normal; `,rr=$n.Z.div` ${e=>{let{theme:t}=e;return t.typography.bodySmall}}; color: #fa6400; `,ar=e=>{const{product:t,showProFlag:i,imageUrl:r,pdpPageUrl:a,lazyLoadImage:l,size:o,hasDynamicHeight:s=!1,cardHeight:d,cardWidth:c,showReview:p=!0,maxCardHeight:u,plpPriceReveal:g,translations:m={}}=e,h=(0,Tn.GO)(m,Vn.Mc),{outOfStock:b,fewLeft:v,quantityLeft:f,variant:w,variants:y,discount:x}=h,{title:k,offersCount:E,dynamicTags:S,inStock:$,quantity:C,variantCount:D,mrp:T,price:I,discount:_,rating:O,ratingCount:P,isBackorder:N,newTags:A,variantType:L,offer:z="",offerColor:j="",showOffer:M=!1}=t;let R=S;const B=Array.isArray(A);B&&(R=A.map((e=>e.title)));let F="";C>0&&!N&&(C<10?F=`${C} ${f}`:C<100&&(F=v));let W="";D&&L&&(W=D>1?y||`${L}s`:w||L);const H=g&&g.status,U=(!z||!M)&&F;return n.createElement(er,null,i&&n.createElement(Dn,null),H&&n.createElement(Un,{plpPriceReveal:g}),!H&&n.createElement(Qn,{showMultipleTag:B,tags:R,newTags:A,newTagsStyle:A,offersCount:E}),n.createElement(tr,{hasDynamicHeight:s,href:a},n.createElement(An,{src:r,alt:k,inStock:$,isLazy:l,hasDynamicHeight:s,cardHeight:d,cardWidth:c,maxCardHeight:u}),!$&&n.createElement(ir,null,b),n.createElement(nr,null,n.createElement(zn,{title:k,elipsTitleLength:57}),n.createElement(Mn,{variantType:W,variantCount:D,isTranslated:Boolean(W)}),(!s||p)&&n.createElement(Bn.Z,{rating:O,ratingCount:P}),n.createElement(Rn.Z,{mrp:T,price:I,discount:_,size:o,discountTranslation:x}),M&&n.createElement(qn,{message:z,color:j}),U&&n.createElement(rr,null,F))))},lr=ae.div` position: relative; display: inline-block; background: #fff; width: ${e=>{let{isDesktop:t}=e;return t?"218px":"auto"}}; min-width: ${e=>{let{isDesktop:t}=e;return t?"218px":"172px"}}; max-height: ${e=>{let{isDesktop:t}=e;return"324px"}}; vertical-align: top; cursor: pointer; border: 1px solid #e1e1e1; border-left: none; a { text-decoration: none; } .width-limiter { max-width: 100%; height: 100%; } `,or=ae.div` width: 100%; height: 32px; font-size: 14px; font-weight: 600; line-height: 2; letter-spacing: 0.57px; text-align: center; position: absolute; bottom: 0px; cursor: pointer; margin-bottom: 2px; color: ${e=>e.theme.brandPrimary}; `,{getPaddingStyles:sr,getMarginStyles:dr,getFontStyles:cr,getBKGStyles:pr,setVisibility:ur,getBorderStyles:gr,getIndividualBorderRadius:mr}=S.utils,hr=ae.ul` ${e=>{let{bkg:t}=e;return pr(t)}}; ${e=>{let{margin:t}=e;return dr(t)}}; ${e=>{let{padding:t}=e;return sr(t)}}; ${e=>{let{text:t}=e;return cr(t)}}; line-height: ${e=>{let{text:t}=e;var i;return`${null===(i=null==t?void 0:t.lineHeight)||void 0===i?void 0:i.web} !important`}}; ${e=>{let{visible:t,isHighlight:i,ishighlights:n,visibility:r}=e;return i&&t&&!n?"visibility: hidden":r&&ur(t)}}; list-style-type: none; overflow: hidden; text-overflow: ellipsis; display: flex; flex-direction: row; justify-content: center; white-space: nowrap; flex: 2; li { display: inline-flex; white-space: nowrap; } li:after { content: " "; letter-spacing: 1em; background: center center no-repeat url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwAAADsABataJCQAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMkMEa+wAAAAnSURBVBhXY/Dz89MA4sNA/B9Ka4AEYQIwfBgkiCwAxjhVopnppwEApxQqhnyQ+VkAAAAASUVORK5CYII=); } ${e=>{let{individualCornerRadius:t}=e;return t&&mr(t)}}; ${e=>{let{position:t}=e;return"top"===t?"border-bottom-left-radius: 0px;\n border-bottom-right-radius: 0px;":"border-top-left-radius: 0px;\n border-top-right-radius: 0px;"}}; ${e=>{let{position:t,borders:i}=e;return"top"===t&&i&&`${gr(i)};\n border-bottom : 0px;`}}; .highlight-image { display: inline-block; width: ${e=>{let{text:t}=e;return`${t.size.web}`}}; height: ${e=>{let{text:t}=e;return`${t.lineHeight.web}`}}; mask-image: ${e=>{let{highlightImage:t}=e;return`url(${t})`}}; mask-repeat: no-repeat; mask-position: center; mask-size: ${e=>{let{text:t}=e;return`${t.size.web} ${t.size.web}`}}; background-color: ${e=>{let{text:t}=e;return null==t?void 0:t.color}}; } `,br=e=>{let{style:t,highlights:i,isHighlight:r,position:a,hightlightImage:l,isDesktop:o,visibility:s}=e;return r&&!!i[0]&&n.createElement(hr,Object.assign({},t,{isHighlight:r,ishighlights:!!i[0],position:a,highlightImage:l,isDesktop:o,visibility:s}),i.map((e=>n.createElement("li",{key:e},l&&n.createElement("div",{className:"highlight-image"}),n.createElement("span",null,e)))))},{getPaddingStyles:vr,getMarginStyles:fr,getFontStyles:wr}=S.utils,yr=ae.div` ${e=>{let{margin:t}=e;return fr(t)}}; ${e=>{let{padding:t}=e;return vr(t)}}; overflow: hidden; white-space: nowrap; display: block; text-overflow: ellipsis; .sale-price { ${e=>{let{salePriceText:t}=e;return wr(t)}}; display: inline; } .mrp-price { text-decoration: line-through; ${e=>{let{mrpPriceText:t}=e;return wr(t)}}; padding-top: 1px; margin: 0rem 0.25rem; display: inline; } .discounted-price { ${e=>{let{discountText:t}=e;return wr(t)}}; padding: 2px 0px 1px; display: inline; } `,xr=e=>{let{style:t,salePrice:i,discountedPrice:r,discountPercent:a,isCommaSeparated:l}=e;const{commaSeparatedPrice:o}=Y,s=e=>Math.round(e),d=s(i||0),c=s(r||0),p=c-d!=0;return n.createElement(yr,{discountText:t.discountText,margin:t.margin,padding:t.padding,mrpPriceText:t.mrpPriceText,salePriceText:t.salePriceText},n.createElement("div",{className:"sale-price"},"₹",l?o(c.toString()):c),p&&n.createElement(n.Fragment,null,n.createElement("div",{className:"mrp-price"},"₹",l?o(d.toString()):d),n.createElement("div",{className:"discounted-price"},`${a}%`)))};var kr;!function(e){e.NOTIFY_ME="Notify Me",e.ADDING="Adding...",e.ADD_TO_CART="Add to Bag"}(kr||(kr={}));const{getPaddingStyles:Er,getMarginStyles:Sr,getFontStyles:$r,setVisibility:Cr}=S.utils,Dr=ae.div` color: green; ${e=>{let{margin:t}=e;return Sr(t)}}; ${e=>{let{padding:t}=e;return Er(t)}}; ${e=>{let{text:t}=e;return $r(t)}}; text-overflow: ellipsis; max-width: -webkit-fill-available; clear: both; visibility: ${e=>{let{isMessage:t}=e;return!t&&"hidden"}}; overflow: hidden; white-space: nowrap; min-height: 18.5px; ${e=>{let{visible:t}=e;return Cr(t)}}; `,Tr=e=>{let{style:t,inStock:i,message:r}=e;const a=i?r:"Out of Stock";return n.createElement(Dr,{visible:null==t?void 0:t.visible,margin:t.margin,padding:t.padding,isMessage:!!a,text:i?t.positiveText:t.negativeText},a)},{getPaddingStyles:Ir,getMarginStyles:_r,getFontStyles:Or,getBKGStyles:Pr,setVisibility:Nr}=S.utils,Ar=ae.span` ${e=>{let{margin:t}=e;return _r(t)}}; ${e=>{let{padding:t}=e;return Ir(t)}}; border-radius: ${e=>{let{cornerRadius:t}=e;return t.web}}; ${e=>{let{text:t}=e;return Or(t)}}; ${e=>{let{bkg:t}=e;return Pr(t)}}; text-overflow: ellipsis; max-width: -webkit-fill-available; clear: both; display: inline-block; overflow: hidden; position: ${e=>{let{position:t}=e;return t?"absolute":"relative"}}; ${e=>{let{position:t}=e;return t}}; white-space: nowrap; ${e=>{let{visible:t,visibility:i}=e;return i&&Nr(t)}}; `,Lr=e=>{let{tag:t,style:i,position:r,className:a,visibility:l}=e;return n.createElement("div",{className:a},t&&n.createElement(Ar,Object.assign({},i,{visibility:l,position:r}),t))},{getPaddingStyles:zr,getMarginStyles:jr,getFontStyles:Mr,setVisibility:Rr}=S.utils,Br=ae.div` ${e=>{let{margin:t}=e;return jr(t)}}; ${e=>{let{padding:t}=e;return zr(t)}}; ${e=>{let{text:t}=e;return Mr(t)}}; min-height: 14px; text-overflow: ellipsis; max-width: -webkit-fill-available; clear: both; display: list-item; overflow: hidden; white-space: nowrap; ${e=>{let{visible:t,visibility:i}=e;return i&&Rr(t)}}; `,Fr=e=>{let{style:t,productOptions:i,visibility:r}=e;return n.createElement(Br,Object.assign({},t,{visibility:r}),i)},{getPaddingStyles:Wr,getMarginStyles:Hr,getFontStyles:Ur,getBKGStyles:Vr,setVisibility:Gr}=S.utils,qr=ae.div` ${e=>{let{margin:t}=e;return Hr(t)}}; ${e=>{let{padding:t}=e;return Wr(t)}}; ${e=>{let{bkg:t}=e;return Vr(t)}}; display: flex; flex-direction: row; justify-content: center; align-items: center; border-radius: ${e=>{let{cornerRadius:t}=e;return t.web}}; .actual-rating { display: flex; margin-right: 2px; ${e=>{let{actualRatingtext:t}=e;return Ur(t)}} } .rating-icon { background-size: 16px 16px; background-position: cover; background-repeat: no-repeat; background-image: url(https://images-static.naikaa.com/media/wysiwyg/2023/core/star.svg); } .rating-count { display: flex; ${e=>{let{maxRatingtext:t}=e;return Ur(t)}}; } ${e=>{let{visible:t,visibility:i}=e;return i&&Gr(t)}}; `,Zr=e=>{let{style:t,ratingCount:i,rating:r,visibility:a}=e;var l;const{nFormatter:o}=Y,s=` ${null===(l=Number(r||0))||void 0===l?void 0:l.toFixed(1)}`,d=` (${o(i,1)})`;return!!r&&n.createElement(qr,Object.assign({},t,{visibility:a}),n.createElement("span",{className:"actual-rating"},s,"★"),n.createElement("span",{className:"rating-count"},` /5 ${d}`))},{getMarginStyles:Kr,setVisibility:Jr}=S.utils,Yr=ae.div` width: 33px; height: 33px; background-size: contain; background-image: url(${e=>{let{url:t}=e;return t}}); background-repeat: no-repeat; background-position: center; ${e=>{let{margin:t}=e;return Kr(t)}}; ${e=>{let{visible:t,visibility:i}=e;return i&&Jr(t)}}; `,Xr=e=>{let{style:t,url:i,visibility:r}=e;return n.createElement(Yr,Object.assign({},t,{url:i,visibility:r}))};var Qr=i(87077);const{getPaddingStyles:ea,getMarginStyles:ta,getFontStyles:ia,getBKGStyles:na,getBorderStyles:ra,addAlpha:aa,getIndividualBorderRadius:la}=S.utils,oa=ae.div` position: relative; display: inline-block; width: ${e=>{let{width:t}=e;return`${t}px`}}; margin-right: ${e=>{let{interItem:t,isDesktop:i}=e;return i?"1.5rem":t.web}}; ${e=>{let{padding:t}=e;return ea(t)}}; a { text-decoration: none; } .width-limiter { max-width: 100%; display: block !important; } :first-of-type { margin-left: ${e=>{let{isDesktop:t}=e;return t?"3rem":"1.25rem"}}; } :last-of-type { margin-right: ${e=>{let{isDesktop:t}=e;return t?"3rem":"1.25rem"}}; } @media only screen and (min-width : 1600px) { margin-right: ${e=>{let{interItem:t}=e;return t.web}}; :first-of-type { margin-left: auto; } :last-of-type { margin-right: auto; } } `,sa={name:"1srovgc",styles:"display:inline-block;background:none;border:none;"},da=ae.div` width: 100%; position: relative; bottom: 0px; height: ${e=>{let{isDesktop:t}=e;return t?"2.5rem":"2rem"}}; display: flex; height: ${e=>{let{onlyWishlist:t}=e;return t&&"2rem"}}; ${e=>{let{margin:t}=e;return ta(t)}}; .add_to_cart { ${sa}; ${e=>{let{padding:t}=e;return ea(t)}}; ${e=>{let{text:t}=e;return ia(t)}}; width: calc(100% - 2rem); flex-basis: 100%; text-overflow: ellipsis; max-width: -webkit-fill-available; clear: both; display: inline-block; overflow: hidden; border-radius: ${e=>{let{cornerRadius:t}=e;return t.web}}; white-space: nowrap; ${e=>{let{background:t}=e;return na(t)}}; .disabled { color: gray; } } .wishlist-wrapper { ${e=>{let{border:t}=e;return ra(t)}}; margin-right: ${e=>{let{interItem:t,onlyWishlist:i}=e;return!i&&(null==t?void 0:t.web)}}; border-radius: ${e=>{let{cornerRadius:t}=e;return t.web}}; .wishlist { ${sa} width: ${e=>{let{isDesktop:t}=e;return t?"2.375rem":"1.875rem"}}; height: ${e=>{let{isDesktop:t}=e;return t?"2.375rem":"1.875rem"}}; ${e=>{let{padding:t}=e;return ea(t)}}; ${e=>{let{text:t}=e;return ia(t)}}; mask-image: ${e=>{let{isProductInWishList:t}=e;return t?"url(https://www.nykaa.com/media/wysiwyg/2022/core/heart-filled.svg)":"url(https://www.nykaa.com/media/wysiwyg/2022/core/heart-plus.svg)"}}; mask-repeat: no-repeat; mask-position: center; mask-size: ${e=>{let{isDesktop:t,wishlistIconSize:i}=e;return t?"24px 24px":`${i}px ${i}px`}}; background-color: ${e=>{let{background:t}=e;return null==t?void 0:t.colorStart}}; } .nf-wishlist { width: 2rem; height: 2rem; } } .nf-wishlist-wrapper { background-color: #fff; } `,ca=ae.div` flex-grow: 1; border: none; background: 0 0; margin: 0; -webkit-box-shadow: none; box-shadow: none; font-size: 1em; border-radius: 0; max-width: 100%; overflow: hidden; .header { display: inline-block; ${e=>{let{padding:t}=e;return ea(t)}}; min-height: 39.5px; ${e=>{let{brandStyle:t}=e;return ia(t)}}; vertical-align: top; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; text-overflow: ellipsis; -webkit-line-clamp: ${e=>{let{productStyle:t}=e;return t.maxLines.web}}; line-height: ${e=>{let{brandStyle:t}=e;return t.font.web.lineHeight}} !important; span { margin-right: 4px; } .product-name { display: inline; ${e=>{let{productStyle:t}=e;return ia(t)}}; overflow: hidden; text-overflow: ellipsis; vertical-align: top; -webkit-line-clamp: ${e=>{let{brandStyle:t}=e;return t.maxLines.web}}; line-height: ${e=>{let{productStyle:t}=e;return t.font.web.lineHeight}} !important; } .nf-product-name { white-space: nowrap; display: inline-block; vertical-align: top; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; text-overflow: ellipsis; line-height: ${e=>{let{brandStyle:t}=e;return t.font.web.lineHeight}} !important; -webkit-line-clamp: ${e=>{let{productStyle:t}=e;return t.maxLines.web}}; span { margin-right: 0px; } } .nf-brand-name { ${e=>{let{brandStyle:t}=e;return ia(t)}}; ${e=>{let{brandStyle:t}=e;return ia(t)}}; display: inline-block; vertical-align: top; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; text-overflow: ellipsis; -webkit-line-clamp: ${e=>{let{brandStyle:t}=e;return t.maxLines.web}}; line-height: ${e=>{let{brandStyle:t}=e;return t.font.web.lineHeight}} !important; span { margin-right: 0px; } } } .outsidetag { display: flex; } .nf-header { min-height: auto !important; } `,pa=ae.div` max-width: 100%; position: relative; display: flex; flex-direction: column; min-height: 0; border: none; border-radius: 0.58571429rem; z-index: ''; cursor: ${e=>{let{isDesktop:t}=e;return t&&"pointer"}}; } .nf-wishlist-button-wrapper { position: absolute; top: 0; right: 0; } .product-image{ display: flex; flex-direction: column; width: 100%; height: ${e=>{let{width:t,border:i}=e;return i&&0===(null==i?void 0:i.alpha)?`calc(calc(${t}px - 2*${i.width.web}) - 1px)`:`calc(${t}px - 1px)`}}; position: relative; aspect-ratio: 3/4; background: #fff; box-sizing: border-box; ${e=>{let{border:t}=e;return t&&0!==(null==t?void 0:t.alpha)&&ra(t)}} border-radius: ${e=>{let{cornerRadius:t}=e;return t&&(null==t?void 0:t.web)}}; ${e=>{let{individualCornerRadius:t}=e;return t&&la(t)}}; ${e=>{let{highlightPosition:t}=e;return"top"===t&&"\n border-top-left-radius: 0rem;\n border-top-right-radius: 0rem;\n border-top: 0rem;\n "}} .product-head{ flex: 1; z-index: 1; display: flex; visibility : ${e=>{let{tagText:t}=e;return t?"visible":"hidden"}}; } img { width: 100%; } } `,ua=ae.div` .container { display: flex; background: linear-gradient(0deg, ${e=>{let{overlay:t}=e;return aa(null==t?void 0:t.color,null==t?void 0:t.alpha)}}, ${e=>{let{overlay:t}=e;return aa(null==t?void 0:t.color,null==t?void 0:t.alpha)}}), url(${e=>{let{imageUrl:t}=e;return t}}); height: ${e=>{let{isHighlight:t,width:i,border:n}=e;return t?`calc(${i}px - 22px)`:`calc(calc(${i}px - 2*${n&&n.width.web||"0px"}) - 1px)`}}; background-size: contain; background-position: center; background-repeat: no-repeat; position: inherit; align-self: flex-end; flex-direction: column; border-radius: ${e=>{let{cornerRadius:t,border:i}=e;var n;return(0===(null==i?void 0:i.alpha)||"0px"===(null===(n=null==i?void 0:i.width)||void 0===n?void 0:n.web))&&(null==t?void 0:t.web)}}; ${e=>{let{individualCornerRadius:t}=e;return t&&la(t)}}; ${e=>{let{highlightPosition:t}=e;return"top"===t&&"\n border-top-left-radius: 0rem;\n border-top-right-radius: 0rem;\n border-top: 0rem;\n"}} } .rating-sticker-highlight-wrapper { position: absolute; bottom: 0; width: fill-available; } .rating-sticker-wrapper { display: flex; flex-direction: row; flex: 1; } .sticker-container { flex: 2; width: 100%; display: flex; justify-content: flex-end; align-self: flex-end; } .ratings-container { flex: 1; align-self: flex-end; width: -webkit-fill-available; } `,ga=e=>{let{params:t,widgetData:i,store:r}=e;const[a,l]=(0,n.useState)(!1),o=(0,n.useRef)(null),{trackingData:s,isDevModeEnabled:d,devModeData:c,childPosition:p,isDesktop:g,cta:m}=i,{id:h,slug:b,highlight:v,sku:w,price:y,mrp:x,insideTag:k,quantity:E,title:S,brandName:C,parentWidgetId:D,appLinkData:T,appLinkType:I,trackingParams:_,variantType:O,outsideTag:P,inStock:N,tagText:A,name2:L,appTrackingParams:z}=t,{FASHION_FOOTLOCKER_STORE:j}=$;n.useEffect((()=>{o.current=p}),[p]);const M=!!d&&{onContextMenu:()=>R(c)};let B=157;B=g?184:B;let F=210;F=g?245:F;let W=b||"";W&&"/"!==W[0]&&(W=`/${W}`);const H=!!(v&&v.length>0),U="quickCommerce"===r,{handleAddToCart:V,wishlist:G}=m,{wishlistData:q,handleWishList:Z}=G,J=n.useMemo((()=>q&&q.length>0&&-1!==q.indexOf(h.toString())),[q,h]),Y={position1:s.position1,dn_page_type:s.namespace0,dn_page_section:s.namespace1,dn_tile_id:s.namespace2,dn_inventory_position:s.position1-1,dn_tile_position:p,dn_transaction_id:s.transaction_id||`wid_${D}`,dn_tracking_metadata:t.trackingData.dn_tracking_metadata,dn_request_page_data:s.pageData1,dn_inventory_page_data:s.pageData2,dn_wtype:s.wtype,dn_wtype_version:s.wtype_version},X={product_sku:w,product_price:y,product_mrp:x,product_dp:y,product_inventory:E,product_name:j.includes(r)?L:S,product_tags:[A||P]||0,product_badges:[k]||0,product_id:h,product_position:p,product_brand:C,page_url:"undefined"!=typeof window?window.location.href:""},Q=Object.assign(Object.assign({},X),Y),te=Object.assign(Object.assign({},Q),{event_name:pe,event_type:"click"});return{devModeHandler:M,cardWidth:B,cardHeight:F,isHighlight:H,handleWishListClick:()=>{Z(t,J,Object.assign({},Q))},isProductInWishlist:J,clickHandler:e=>{e.preventDefault(),e.stopPropagation(),f.handleClick(Object.assign(Object.assign({},te),{dn_tile_position:null==o?void 0:o.current,product_position:null==o?void 0:o.current})).finally((()=>{ee.handleClick({appLinkData:T,appLinkType:I,trackingParams:_,webActionType:K.Tw.URL_REDIRECTION,webActionUrl:W,isDesktop:g,appTrackingParams:z,onlyWebRedirections:U})}))},handleIntersect:()=>{f.syncCallback([Object.assign(Object.assign({},Q),{hit_recorded_at:(new Date).getTime()/1e3,event:"product:impressions",event_name:ce,dn_tile_position:null==o?void 0:o.current,product_position:null==o?void 0:o.current,id:h})],u)},getCTAtext:()=>N?a?kr.ADDING:O?`Select ${O}`:kr.ADD_TO_CART:kr.NOTIFY_ME,handleAddToCartClick:()=>{if(!a&&(V(t,l,Object.assign({},Q)),!U)){const e="Shade"===O,t="Size"===O,i=()=>e?K.dG.CTA_CALLBACKS_SHADE:t?K.dG.CTA_CALLBACKS_SIZE:null;ee.handleClick({appLinkData:h,appLinkType:i(),trackingParams:null,webActionType:"none",webActionUrl:"",isDesktop:g,appTrackingParams:z})}},isQCStore:U}},ma=e=>{var t;const{params:i,isServer:r,isDesktop:a,positionInParent:l,cssStyle:o,store:s,remoteConfigs:d}=e,{id:c,imageUrl:p,productOptions:u,title:g,salePrice:m,discountedPrice:h,message:b,rating:v,ratingCount:f,stickerUrl:w,tagText:y,inStock:x,highlights:k,discountPercent:E}=i;if(!c)return null;const{devModeHandler:S,cardHeight:$,cardWidth:C,isHighlight:D,handleWishListClick:T,isProductInWishlist:I,clickHandler:_,handleIntersect:O,getCTAtext:P,handleAddToCartClick:N,isQCStore:A}=ga({params:i,widgetData:e,store:s}),{ctaStyle:L,messageStyle:z,priceUnitStyle:j,brandProductStyle:M,shadeSizeStyle:R,highlightStyle:B,productTagStyle:F,stickerStyle:W,ratingStyle:H,spacingStyle:U,imageUIStyle:V}=o,{src:G}=ze({url:encodeURI(p),width:2*C,height:$,cropStrategy:Oe,newImageUrlEnabled:null===(t=null==d?void 0:d.switches)||void 0===t?void 0:t.optimizedImageUrlEnabled});return n.createElement(oa,{interItem:U.interItem,padding:U.padding,key:c+l,isDesktop:a,width:C,style:{boxSizing:"revert"}},n.createElement(me,{isServer:r,onIntersect:O,className:"width-limiter",childClassName:"width-limiter",isV2Present:!1},n.createElement(pa,{isDesktop:a,width:$,tagText:y,overlay:null==V?void 0:V.overlay,border:null==V?void 0:V.border,cornerRadius:null==V?void 0:V.cornerRadius},n.createElement("div",Object.assign({onClick:_,className:"product-image"},S),n.createElement(Lr,{position:{top:0,left:0},tag:y,className:"product-head",style:F}),n.createElement(ua,{width:$,isHighlight:!1,imageUrl:G,overlay:null==V?void 0:V.overlay,cornerRadius:null==V?void 0:V.cornerRadius,border:null==V?void 0:V.border},n.createElement("div",{className:"container"},n.createElement("div",{className:"rating-sticker-highlight-wrapper"},n.createElement("div",{className:"rating-sticker-wrapper"},n.createElement("div",{className:"ratings-container"},n.createElement(Zr,{style:H,rating:v,ratingCount:f})),n.createElement("div",{className:"sticker-container"},n.createElement(Xr,{url:w,style:W}))),n.createElement(br,{style:Object.assign(Object.assign({},B),{borders:null==V?void 0:V.border,cornerRadius:null==V?void 0:V.cornerRadius}),isHighlight:D,highlights:k,position:"bottom",isDesktop:a}))))),n.createElement(ca,{brandStyle:M.brandText,productStyle:M.productText,padding:M.padding},n.createElement("div",Object.assign({onClick:_},S),n.createElement("div",{className:"header"},n.createElement("p",{className:"product-name"},g)),n.createElement(Fr,{style:R,productOptions:u}),n.createElement(xr,{style:j,salePrice:m,discountPercent:E,discountedPrice:h}),n.createElement(Tr,{style:z,inStock:x,message:b}))),!a&&n.createElement(da,{margin:L.margin,padding:L.padding,text:L.text,background:L.bkg,border:L.border,cornerRadius:L.cornerRadius,isProductInWishList:I,isDesktop:a,interItem:L.interItem,wishlistIconSize:16},!A&&n.createElement("div",{className:"wishlist-wrapper"},n.createElement("button",{type:"button","aria-label":"wishlist",className:"wishlist",onClick:T})),n.createElement("button",{type:"button",className:"add_to_cart",onClick:N},P())))))},ha=e=>{var t;const{params:i,isServer:r,isDesktop:a,positionInParent:l,cssStyle:o,store:s,remoteConfigs:d}=e,{id:c,imageUrl:p,productOptions:u,salePrice:g,discountedPrice:m,message:h,rating:b,ratingCount:v,stickerUrl:f,brandName:w,inStock:y,highlight:x,discountPercent:k,outsideTag:E,highlightImage:S,insideTag:$,name2:C,onlyWishlistButton:D}=i;if(!c)return null;const{devModeHandler:T,cardWidth:I,cardHeight:_,isHighlight:O,handleWishListClick:P,isProductInWishlist:N,clickHandler:A,handleIntersect:L}=ga({params:i,widgetData:e,store:s}),{ctaStyle:z,messageStyle:j,priceUnitStyle:M,brandProductStyle:R,shadeSizeStyle:B,highlightStyle:F,productTagStyle:W,stickerStyle:H,ratingStyle:U,spacingStyle:V,imageUIStyle:G,outsideTagStyle:q}=o,{src:Z}=ze({url:encodeURI(p),width:2*I,cropStrategy:Oe,newImageUrlEnabled:null===(t=null==d?void 0:d.switches)||void 0===t?void 0:t.optimizedImageUrlEnabled});return n.createElement(oa,{interItem:V.interItem,padding:V.padding,key:c+l,isDesktop:a,width:I,style:{boxSizing:"revert"}},n.createElement(me,{isServer:r,onIntersect:L,className:"width-limiter",childClassName:"width-limiter",isV2Present:!1},n.createElement(br,{style:F,position:"top",isHighlight:O,highlights:x,isDesktop:a,hightlightImage:S,visibility:!0}),n.createElement(pa,{isDesktop:a,width:_,tagText:$,overlay:null==G?void 0:G.overlay,border:null==G?void 0:G.border,individualCornerRadius:null==G?void 0:G.individualCornerRadius,highlightPosition:O&&!!x[0]&&"top"},n.createElement("div",{className:"product-image"},D&&n.createElement("div",{className:"nf-wishlist-button-wrapper"},n.createElement(da,{margin:z.margin,padding:z.padding,text:z.text,background:z.bkg,border:z.border,cornerRadius:z.cornerRadius,isProductInWishList:N,isDesktop:a,interItem:z.interItem,wishlistIconSize:24,onlyWishlist:!0},n.createElement("div",{className:"wishlist-wrapper nf-wishlist-wrapper"},n.createElement("button",{type:"button","aria-label":"wishlist",className:"wishlist nf-wishlist",onClick:P})))),n.createElement(ua,Object.assign({width:_,isHighlight:!1,imageUrl:Z,overlay:null==G?void 0:G.overlay,individualCornerRadius:null==G?void 0:G.individualCornerRadius,border:null==G?void 0:G.border,onClick:A,highlightPosition:O&&!!x[0]&&"top"},T),n.createElement("div",{className:"container"},n.createElement("div",{className:"rating-sticker-highlight-wrapper"},n.createElement("div",{className:"rating-sticker-wrapper"},n.createElement("div",{className:"ratings-container"},n.createElement(Zr,{style:U,rating:b,ratingCount:v,visibility:!0}),n.createElement(Lr,{tag:$,className:"product-head",style:W,visibility:!0})),n.createElement("div",{className:"sticker-container"},n.createElement(Xr,{visibility:!0,url:f,style:H}))))))),n.createElement(ca,{brandStyle:R.brandText,productStyle:R.productText,padding:R.padding},n.createElement(Lr,{className:"outsidetag",tag:E,style:q,visibility:!0}),n.createElement("div",Object.assign({onClick:A},T),n.createElement("div",{className:"header nf-header"},n.createElement("div",{className:"nf-brand-name"},w&&n.createElement("span",null,w)),n.createElement("div",{className:"product-name nf-product-name"},n.createElement("span",null,C))),n.createElement(Fr,{style:B,productOptions:u,visibility:!0}),n.createElement(xr,{style:M,salePrice:g,discountPercent:k,discountedPrice:m,isCommaSeparated:!0}),n.createElement(Tr,{style:j,inStock:y,message:h}))))))};var ba=i(10328);const va={mobile:{min:360,max:600},desktop:{min:1e3,max:1200}},fa=(0,Te.default)("div",{target:"etlatgt0"})("width:100%;min-height:",(e=>{let{minHeight:t}=e;return t}),"px;video,img{display:inline-block;width:100%;vertical-align:bottom;min-height:",(e=>{let{minHeight:t}=e;return t}),"px;object-fit:fill;}"),wa=e=>{let{children:t,className:i,isDesktop:r,params:a}=e;const[l,o]=(0,n.useState)(va.mobile.min),[s,d]=(0,n.useState)(50),{aspectRatio:c,childWidth:p,columnsInRow:u}=a;return(0,n.useEffect)((()=>{r&&o(va.desktop.min)}),[r]),(0,n.useEffect)((()=>{if(!p){const e=l/(u||1);d(Math.round(e/(c||e)))}}),[p,u,c,l]),n.createElement(fa,{minHeight:s,className:i},t)},{getPaddingStyles:ya,getBKGStyles:xa,getBorderStyles:ka,getIndividualBorderRadius:Ea,getFontStyles:Sa,getMarginStyles:$a,setVisibility:Ca}=S.utils,Da=(0,Te.default)("div",{target:"e1g1hn4h0"})("max-width:100%;width:100%;display:flex;flex-direction:column;justify-content:center;align-content:center;background-color:",(e=>{let{appBkgColor:t}=e;return t}),";",(e=>{let{setEmptyWidget:t}=e;return Ca(!t)}),";"),Ta=(0,Te.default)("div",{target:"e1g1hn4h1"})((e=>{let{padding:t}=e;return ya(t)}),";",(e=>{let{background:t}=e;return xa(t)}),";",(e=>{let{individualCornerRadius:t}=e;return Ea(t)}),";",(e=>{let{border:t}=e;return ka(t)}),";",(e=>{let{outerPadding:t}=e;return $a(t)}),";display:flex;width:fill-available;flex-direction:column;align-self:center;margin-left:20px;margin-right:20px;"),Ia=(0,Te.default)("div",{target:"e1g1hn4h2"})((e=>{let{padding:t}=e;return ya(t)}),";",(e=>{let{text:t}=e;return Sa(t)}),";",(e=>{let{visible:t}=e;return Ca(t)}),";"),_a=(0,Te.default)("div",{target:"e1g1hn4h3"})((e=>{let{padding:t}=e;return ya(t)}),";",(e=>{let{text:t}=e;return Sa(t)}),";",(e=>{let{visible:t}=e;return Ca(t)}),";"),Oa=(0,Te.default)("div",{target:"e1g1hn4h4"})("position:relative;border-radius:",(e=>{let{endpoints:t,separatorHeight:i}=e;return"round"===t?null==i?void 0:i.web:0}),";height:",(e=>{let{separatorHeight:t}=e;return null==t?void 0:t.web}),";",(e=>{let{margin:t}=e;return $a(t)}),";",(e=>{let{backgroundColor:t}=e;return xa(t)}),";",(e=>{let{visible:t}=e;return Ca(t)}),";:last-child{display:none !important;}"),{getPaddingStyles:Pa,getBKGStyles:Na,getBorderStyles:Aa,getFontStyles:La,getIndividualBorderRadius:za,getMarginStyles:ja,addAlpha:Ma,setVisibility:Ra,getIcon:Ba}=S.utils,Fa=(0,Te.default)("div",{target:"es6vp1g0"})((e=>{let{padding:t}=e;return Pa(t)}),";",(e=>{let{unitBkg:t}=e;return Na(t)}),";border-radius:",(e=>{let{cornerRadius:t}=e;return null==t?void 0:t.web}),";",(e=>{let{border:t}=e;return t&&Aa(t)}),";cursor:pointer;.row{display:flex;flex-direction:row;justify-content:space-between;column-count:3;column-gap:",(e=>{let{interItem:t}=e;return null==t?void 0:t.web}),";}.flexible-row{flex:1 1 auto;}.column{display:flex;flex-direction:column;position:relative;.image-callout{position:absolute;bottom:0;}}.order-left-right{order:",(e=>{let{imageAlignment:t}=e;return"left"===t?1:2}),"}.unit-tag-order{order:",(e=>{let{imageAlignment:t}=e;return"left"===t?2:1}),"}.trailingicon-order{order:3;}.center{justify-content:center;}",(e=>{let{visible:t}=e;return Ra(t)}),";"),Wa=(0,Te.default)("div",{target:"es6vp1g1"})("position:relative;overflow:hidden;width:",(e=>{let{imageSize:t}=e;return null==t?void 0:t.web}),";height:",(e=>{let{bannerHeight:t}=e;return`${t}px`}),";",(e=>{let{individualCornerRadius:t}=e;return za(t)}),";.image-wrapper{min-height:",(e=>{let{bannerHeight:t}=e;return`${t}px`})," !important;}img{background-size:cover;",(e=>{let{individualCornerRadius:t}=e;return za(t)}),";min-height:",(e=>{let{bannerHeight:t}=e;return`${t}px`})," !important;}.image-callout{bottom:0;position:absolute;}.outline-wrapper{position:absolute;left:0;top:0;width:inherit;height:inherit;",(e=>{let{individualCornerRadius:t}=e;return za(t)}),";outline:",(e=>{let{border:t}=e;return`${t.width.web} solid ${Ma(t.color,t.alpha)}`}),";outline-offset:",(e=>{let{border:t}=e;return`-${t.width.web}`}),";}",(e=>{let{visible:t}=e;return Ra(t)}),";"),Ha=(0,Te.default)("div",{target:"es6vp1g2"})((e=>{let{padding:t,unitTitlePaddingTop:i}=e;return i&&Pa(t)}),";",(e=>{let{text:t}=e;return La(t)}),";overflow:hidden;text-overflow:ellipsis;white-space:initial;display:-webkit-box;",(e=>{let{visible:t}=e;return Ra(t)}),";-webkit-line-clamp:",(e=>{let{text:t}=e;var i;return null===(i=null==t?void 0:t.maxLines)||void 0===i?void 0:i.web}),";-webkit-box-orient:vertical;"),Ua=(0,Te.default)("div",{target:"es6vp1g3"})((e=>{let{padding:t,unitDescriptionPaddingTop:i}=e;return i&&Pa(t)}),";",(e=>{let{text:t}=e;return La(t)}),";overflow:hidden;text-overflow:ellipsis;white-space:initial;display:-webkit-box;",(e=>{let{visible:t}=e;return Ra(t)}),";-webkit-line-clamp:",(e=>{let{text:t}=e;var i;return null===(i=null==t?void 0:t.maxLines)||void 0===i?void 0:i.web}),";-webkit-box-orient:vertical;"),Va=(0,Te.default)("div",{target:"es6vp1g4"})("width:fill-available;position:relative;",(e=>{let{background:t}=e;return Na(t)}),";",(e=>{let{padding:t}=e;return Pa(t)}),";",(e=>{let{border:t}=e;return Aa(t)}),";border-radius:",(e=>{let{cornerRadius:t}=e;return null==t?void 0:t.web}),";",(e=>{let{margin:t}=e;return ja(t)}),";",(e=>{let{text:t}=e;return La(t)}),";overflow:hidden;text-overflow:ellipsis;white-space:initial;display:-webkit-box !important;-webkit-line-clamp:",(e=>{let{text:t}=e;var i;return null===(i=null==t?void 0:t.maxLines)||void 0===i?void 0:i.web}),";-webkit-box-orient:vertical;",(e=>{let{visible:t}=e;return Ra(t)}),";"),Ga=(0,Te.default)("div",{target:"es6vp1g5"})((e=>{let{visible:t}=e;return Ra(t)}),";.tag-text-wrapper{display:flex;justify-content:center;align-items:center;width:fill-available;",(e=>{let{tagPosition:t}=e;return ci(t)}),";}.tag-text-visible{display:none;}.tag-type-text{",(e=>{let{background:t}=e;return Na(t)}),";",(e=>{let{padding:t}=e;return Pa(t)}),";",(e=>{let{text:t}=e;return La(t)}),";",(e=>{let{border:t}=e;return Aa(t)}),";border-radius:",(e=>{let{cornerRadius:t}=e;return t.web}),";.tag-text,.color-tag{float:left;",(e=>{let{timerAlignment:t}=e;return"right"===t&&"float: left;"}),";",(e=>{let{timerAlignment:t}=e;return"left"===t&&"float: right;"}),";display:-webkit-box;-webkit-line-clamp:",(e=>{let{text:t}=e;return t.maxLines.web}),";-webkit-box-orient:vertical;overflow:hidden;",(e=>{let{text:t}=e;return La(t)}),";}.tag-timer-text{",(e=>{let{textTimer:t}=e;return La(t)}),";min-width:48px;padding:0px 1px;display:-webkit-box;-webkit-line-clamp:",(e=>{let{textTimer:t}=e;return t.maxLines.web}),";-webkit-box-orient:vertical;overflow:hidden;padding-left:",(e=>{let{interItemPadding:t,timerAlignment:i}=e;return"right"===i&&t.web}),";padding-right:",(e=>{let{interItemPadding:t,timerAlignment:i}=e;return"left"===i&&t.web}),";}}.tag-type-text.empty{display:none;}"),qa=(0,Te.default)("div",{target:"es6vp1g6"})((e=>{let{visible:t}=e;return Ra(t)}),";background-color:",(e=>{let{iconColor:t}=e;return t}),";",(e=>{let{iconType:t}=e;return Ba(t)}),";display:block;width:24px;height:24px;"),Za={previewBorderColor:{color:"#00ff00",width:{web:"2px"},alpha:1}},Ka={BANNER:e=>{const[t,i]=(0,n.useState)(!1),{params:r,children:a,isServer:l,trackingData:o,isDesktop:s,isDevModeEnabled:d,devModeData:c}=e,{appLinkData:p,appLinkType:u,url:g,title:m,discountTitle:h,titleOrder:b,textPosition:v,description:w,subDescription:y,textAreaOpacity:x,actionType:k,trackingParams:E,youtubeVideoViews:S,youtubeVideoLikes:$}=r,C=(e=>"on_image"===e?"titles-description-sticky":"titles-description")(v),D=(e=>{const{title:t,discountTitle:i,textPosition:n,description:r,subDescription:a}=e;return!(!n||"none"===n||!(t||i||r||a))})(r),T=!!d&&{onContextMenu:()=>R(c)};return n.createElement(n.Fragment,null,n.createElement(me,{isServer:l,onIntersect:()=>{f.handleImpression(o)},exitCallBack:()=>{f.removeImpression(o)},onIntersectV2:()=>{f.handleImpressionV2(o)}},n.createElement(be,Object.assign({onClick:e=>{e.preventDefault(),(e=>"youtube"===e)(k)?i(!0):f.handleClick(o).finally((()=>{ee.handleClick({appLinkData:p,appLinkType:u,trackingParams:E,webActionType:k,webActionUrl:g,isDesktop:s})}))}},T),n.createElement(ve,null,t&&(e=>n.createElement(he,{title:`${e}`,width:"100%",height:"100%",src:e,frameBorder:"0",allowFullScreen:!0}))(g),!t&&a,D&&n.createElement(fe,{opacity:x,isDesktop:s},n.createElement("div",{className:C},n.createElement("div",{className:"titles-wrap"},((e,t,i)=>{const r=[],a=i&&n.createElement("span",{key:"discountTile",className:"discount-text"},i),l=t&&n.createElement("span",{key:"palintitle",className:"title-text"},t);return(e=>!("title_discount"===e))(e)?(r.push(l),r.push(a)):(r.push(a),r.push(l)),r})(b,m,h).map((e=>e))),w&&n.createElement("div",{className:"description"},w),y&&n.createElement("div",{className:"sub-description"},y),s&&($||S)&&n.createElement("div",{className:"youtube-video-counts"},S&&n.createElement(ye,null,S,n.createElement("span",{className:"label"},"Views")),$&&n.createElement(we,null,$,n.createElement("span",{className:"label"},"Likes")))))))))},CAROUSEL:e=>{const{params:t,children:i,id:r,isDesktop:a}=e,{delayTimer:l}=t,[o,s]=(0,n.useState)(0),[d,c]=(0,n.useState)(null),p=i,u=p.length,g=()=>{s(Ke(o,u)),c(clearInterval(d))};return(0,n.useEffect)((()=>{l&&c(clearInterval(d)),Je(o,r,.15),(()=>{if(!l)return;const e=setInterval((()=>{g()}),l);c(e)})()}),[o]),n.createElement("div",null,n.createElement(Ge.mp,{onSwipedRight:()=>(s(Ze(o,u)),void c(clearInterval(d))),onSwipedLeft:()=>g(),delta:10,preventDefaultTouchmoveEvent:!1,trackTouch:!0,trackMouse:!0,rotationAngle:0,style:{height:"90%",width:"100%"}},n.createElement(tt,null,a&&u>1&&n.createElement(nt,{onClick:()=>{const e=o-1;s(e>=0?e:u-1)}}),a&&u>1&&n.createElement(rt,{onClick:()=>{const e=o+1;s(en.createElement(it,{className:r},e))))),n.createElement(et,{length:u,active:o,onClickHandler:e=>s(e)}))},CAROUSEL_CHILD:e=>{const[t,i]=(0,n.useState)(!1),{params:r,children:a,trackingData:l,isDesktop:o,isDevModeEnabled:s,devModeData:d,rootMargin:c}=e,[p]=(0,le.Z)({rootMargin:c},(()=>f.handleImpression(l))),[u]=(0,oe.Z)({},50,(()=>f.handleImpressionV2(l)),(()=>f.removeImpression(l))),{appLinkData:g,appLinkType:m,trackingParams:h,url:b,actionType:v}=r,w=!!s&&{onContextMenu:()=>R(d)};return n.createElement(n.Fragment,null,n.createElement(at,Object.assign({onClick:e=>{e.preventDefault(),(e=>"youtube"===e)(v)?i(!0):f.handleClick(l).finally((()=>{ee.handleClick({appLinkData:g,appLinkType:m,trackingParams:h,webActionType:v,webActionUrl:b,isDesktop:o})}))},ref:p},w),n.createElement("div",{ref:u},t&&(e=>n.createElement(he,{title:`${e}`,width:"100%",height:"100%",src:e,frameBorder:"0",allowFullScreen:!0}))(b),!t&&a)))},COLUMN_GRID:e=>{const{params:t,children:i,isDesktop:r}=e,{title:a,subTitle:l,titleAlign:o,columnsInRow:s=1,imageUrl:d,viewAllUrl:c,backGroundColor:p,isFullWidth:u,appLinkData:g,appLinkType:m}=t,h=100/s;return n.createElement(Ee,{align:o,color:p,isDesktop:r,isFullWidth:u},d&&n.createElement("img",{src:d,alt:a}),a&&n.createElement(ke,{title:a,isDesktop:r}),l&&n.createElement(Ce,{isDesktop:r},l),r&&c&&n.createElement("div",{className:"fixed-width-wrapper"},n.createElement(De,{type:"button",onClick:e=>{e.preventDefault(),ee.handleClick({appLinkData:g,appLinkType:m,webActionType:K.Tw.URL_REDIRECTION,webActionUrl:c,isDesktop:r})}},"VIEW ALL")),n.createElement("div",{className:"fixed-width-wrapper"},n.createElement(Se,{isDesktop:r},i&&i.map((e=>n.createElement($e,{key:`${e.key}_colWrap`,width:h,isDesktop:r},e))))))},IMAGE:e=>{var t;let i=600,r=360;const{params:a,inventoryPosition:l,parentPosition:o,eagerLoadImages:s=D,eagerLoadInventories:d=T,isDesktop:c,id:p,trackingData:u,remoteConfigs:g}=e;c&&(i=1200,r=1e3);const{src:m,columnsInRow:h,aspectRatio:b,childWidth:v,altText:f,url:w}=a;let y=50;const x=o<=s&&l<=d,k=i/(h||1),{namespace2:E}=u,S=f||E||"banner image";if(!v){const e=r/(h||1);y=Math.round(e/(b||e))}if(!m)return"";const{src:$,srcSet:C}=ze({url:m,width:k,cropStrategy:Oe,newImageUrlEnabled:null===(t=null==g?void 0:g.switches)||void 0===t?void 0:t.optimizedImageUrlEnabled,requiredScaleSize:1.5});return n.createElement(Fe,{minHeight:y,className:"image-wrapper",id:p},x?n.createElement(We,{imgUrl:$,largerImgUrl:C,widthImg:k,heightImg:y,alt:S,url:w,eagerLoading:x}):n.createElement(Ie.Z,{placeHolder:n.createElement(Be,{minHeight:y}),bottomMargin:0,wrapperClassName:"img-wrap"},n.createElement(We,{imgUrl:$,largerImgUrl:C,widthImg:k,heightImg:y,alt:S,url:w,eagerLoading:x})))},IN_FOCUS:e=>{const{children:t,id:i,isDesktop:r}=e,{title:a,titleAlign:l,childWidth:o,bkgColor:s,designVersion:d,desktopColumnsKey:c=1}=e.params,{mwebLayout:p}=e.params,[u,g]=(0,n.useState)(0);let m=o||"50";const h=t,b=h.slice(0,1),v=h.slice(1,h.length),f=v.length;r?m=p===ut?100/c+"%":"188px":mt(p)&&(m="100");let w=2;"v3"===d&&(w=3);const y=f-w+1;return(0,n.useEffect)((()=>{Je(u,i,.15)}),[u]),n.createElement(n.Fragment,null,r&&a&&n.createElement(Et,{textAlign:l},a),n.createElement(bt,{background:s,isDesktop:r,layout:p},!r&&a&&n.createElement(Et,{textAlign:l},a),n.createElement(St,{isDesktop:r,layout:p},b[0]),r&&p===ut?n.createElement(Ge.mp,{delta:10,preventDefaultTouchmoveEvent:!1,trackTouch:!1,trackMouse:!1,rotationAngle:0,style:{height:"100%",maxWidth:"1140px",margin:"0px auto",width:"100%"}},n.createElement(ft,{className:"infocus-columns",layout:p,isDesktop:r,background:s,designVersion:d,style:{textAlign:"center"}},v.map((e=>n.createElement(kt,{isDesktop:r,width:m,layout:p,className:i},e))))):n.createElement(Ge.mp,{delta:10,preventDefaultTouchmoveEvent:!1,trackTouch:!1,trackMouse:!1,rotationAngle:0,style:{height:r?"84%":"100%",maxWidth:"1140px",margin:"0px auto",position:r?"absolute":"relative",top:"6%",right:"0px",width:ht({isDesktop:r,designVersion:d})}},n.createElement(vt,{className:"disable-scrollbars",layout:p,isDesktop:r,background:s,designVersion:d},r&&f>2&&n.createElement(wt,{onClick:()=>{const e=u-1;e>=0&&g(e)}}),r&&f>2&&n.createElement(yt,{onClick:()=>{const e=u+1;en.createElement(xt,{isDesktop:r,width:m,layout:p,className:i},e)))))))},SLIDING_WIDGET:e=>{const{children:t,id:i,isDesktop:r,params:a}=e,{title:l,titleAlign:o,childWidth:s}=a,d=s||"50",[c,p]=(0,n.useState)(0),u=t,g=u.length,m=g-Math.floor(100/Number(d))+1;return(0,n.useEffect)((()=>{Je(c,i,.15)}),[c]),n.createElement(ot,null,l&&n.createElement(dt,{textAlign:o},l),n.createElement(Ge.mp,{delta:10,preventDefaultTouchmoveEvent:!1,trackTouch:!1,trackMouse:!1,rotationAngle:0,style:{height:"90%",maxWidth:"1140px",margin:"0px auto",position:"relative"}},n.createElement(lt,{className:"disable-scrollbars",isDesktop:r},r&&g>1&&n.createElement(ct,{onClick:()=>{const e=c-1;e>=0&&p(e)}}),r&&g>1&&n.createElement(pt,{onClick:()=>{const e=c+1;en.createElement(st,{width:d,isDesktop:r,className:i},e))))))},TEXT_GRID:e=>{const{params:t,children:i}=e,{title:r,titleAlign:a}=t;return n.createElement(n.Fragment,null,n.createElement(He,{align:a},r),n.createElement(Ve,null,i&&i.map((e=>n.createElement(Ue,null,e)))))},TEXT_ONLY:e=>{const{params:t,isServer:i,trackingData:r,isDesktop:a,isDevModeEnabled:l,devModeData:o}=e,{appLinkData:s,appLinkType:d,title:c,trackingParams:p,webActionUrl:u,webActionType:g}=t,m=!!l&&{onContextMenu:()=>R(o)};return n.createElement(n.Fragment,null,n.createElement(me,{isServer:i,onIntersect:()=>{f.handleImpression(r)},exitCallBack:()=>{f.removeImpression(r)},onIntersectV2:()=>{f.handleImpressionV2(r)}},n.createElement("div",Object.assign({onClick:e=>{e.preventDefault(),f.handleClick(r).finally((()=>{ee.handleClick({appLinkData:s,appLinkType:d,trackingParams:p,webActionType:g,webActionUrl:u,isDesktop:a})}))},className:"textonlybtn"},m),c)))},STORY:e=>{const{params:t,isServer:i,trackingData:r,id:a}=e,{theme:l="",titleAlign:o="left",html:s,appWebviewHtml:d,jsScript:c,appWebviewJsScript:p,extraStyleForDynamicHtml:u,isStaticStoryWidget:g}=t,m="undefined"!=typeof window?cn(s,d):s,[h]=(0,n.useState)(m);(0,n.useEffect)((()=>{const e=cn(s,d),t=cn(c,p);g||((e,t)=>{try{if(!e&&!t)return;const{height:i,width:n,className:r}=u||{},l=(e=>{let t=e;try{if(!t)return"";t=e.replace(/%%%script%%%/g,"")}catch(e){t=""}return t})(t),o=["iframe-dsw",`iframe-${a}`];r&&r.length>0&&o.push(r);const s=document.createElement("iframe"),d=`${e}${l}`;s.srcdoc=d,s.width="100%",s.height="100%",s.style.border="0px",s.style.height=i,s.style.maxWidth=n,s.classList.add(...o),s.id="iframe-dsw",document.getElementById(`sw-dh ${a}`).appendChild(s)}catch(e){}})(e,t)}),[]);const b=()=>l&&l.length>0&&n.createElement(un,{alignment:o,className:"story-title"},l);return n.createElement(n.Fragment,null,n.createElement(me,{isServer:i,onIntersect:()=>{f.handleImpression(r)},exitCallBack:()=>{f.removeImpression(r)},onIntersectV2:()=>{f.handleImpressionV2(r)}},g?n.createElement(pn,{key:g&&!i&&d&&d.length>0&&!dn()?`sw-sh ${a} ${(new Date).getTime()}`:`sw-sh ${a}`,className:"story-widget"},b(),n.createElement("div",{dangerouslySetInnerHTML:{__html:h},id:`sw-sh ${a}`})):n.createElement(n.Fragment,null,b(),n.createElement(gn,{id:`sw-dh-wrapper ${a}`},n.createElement(mn,{id:`sw-dh ${a}`})))))},SLIDING_WIDGET_V2:e=>{const{children:t,id:i,cssStyle:r,isDesktop:a,remoteConfigs:l}=e,{title:o,childWidth:s,description:d,bkgColor:c,buttonData:p}=e.params,{switches:u}=l,g=(0,n.useRef)(null),m=(0,n.useRef)(null),[h,b]=(0,n.useState)(0),[v,f]=(0,n.useState)(!0),[w,y]=(0,n.useState)({left:!1,right:!0}),x=s||"50",k=t,E=k.length;(0,n.useEffect)((()=>{var e;const{offsetWidth:t=0,scrollWidth:i=0}=(null==g?void 0:g.current)||{},n=(null===(e=null==g?void 0:g.current)||void 0===e?void 0:e.clientWidth)||0;0===h?y((e=>Object.assign(Object.assign({},e),{left:!1,right:!0}))):n*h+t>i&&y((e=>Object.assign(Object.assign({},e),{right:!1,left:!0})))}),[h,g]),(0,n.useEffect)((()=>{f(g.current.scrollWidth>g.current.offsetWidth)}),[]);const{isEmptyWidget:S}=Y,$=S(o,d,t,u);return n.createElement(At,{setEmptyWidget:$,isDesktop:a,bkgColor:c},n.createElement(Pt,{padding:r.spacingStyle.padding,isDesktop:a,bkgColor:c},n.createElement(Lt,{padding:r.spacingStyle.padding,isDesktop:a},n.createElement(Xt,{isDesktop:a,cssStyle:r,title:o,description:d,buttonData:p})),n.createElement(Ge.mp,{delta:10,preventDefaultTouchmoveEvent:!1,trackTouch:!1,trackMouse:!1,rotationAngle:0,style:{height:"90%",position:"relative"}},a&&E>1&&v&&w.left&&n.createElement(Tt,{isDesktop:a},n.createElement(Dt,{onClick:()=>{h>0&&(y((e=>Object.assign(Object.assign({},e),{left:!0,right:!0}))),g.current.scrollBy({top:0,left:-g.current.clientWidth,behavior:"smooth"}),b(h-1))}})),a&&E>1&&v&&w.right&&n.createElement(It,{isDesktop:a},n.createElement(_t,{onClick:()=>{g.current.scrollWidth-g.current.scrollLeft>g.current.offsetWidth&&(y((e=>Object.assign(Object.assign({},e),{left:!0}))),g.current.scrollTo({top:0,left:g.current.clientWidth*(h+1),behavior:"smooth"}),b(h+1))}})),n.createElement(Ot,{isDesktop:a,className:"disable-scrollbars",id:i,padding:r.spacingStyle.padding,ref:g},k.map((e=>n.createElement(Nt,{margin:r.spacingStyle.interItem.web,width:x,key:i,isDesktop:a,padding:r.spacingStyle.padding,ref:m,className:i},e)))))))},BANNER_V2:e=>{const[t,i]=(0,n.useState)(!1),r=(0,n.useRef)(null),{params:a,children:l,isServer:o,trackingData:s,cssStyle:d,id:c,isDesktop:u,isDevModeEnabled:g,devModeData:m,rootMargin:h,pwType:b,cwType:v}=e,{url:w,title:y,discountTitle:x,titleOrder:k,textPosition:E,description:S,subDescription:$,textAreaOpacity:C,actionType:D,callOut:T,callOut2:I,callOut3:_,tagText:O,tagTimerEnd:P,timerEndText:L,tagType:z,appLinkData:j,appLinkType:M,adType:B,videoAdType:F,trackingParams:W}=a,H=v===A||B===ue,U=H?ue:"image",V=Object.assign(Object.assign({},s),{ad_type:U}),G=Object.assign(Object.assign({},V),{video_ad_type:F,video_total_duration:vi.video_duration,video_view_duration:vi.view_duration}),q=(e=>"on_image"===e?"titles-description-sticky":"titles-description")(E),Z=(e=>{const{title:t,discountTitle:i,textPosition:n,description:r,subDescription:a}=e;return!(!n||n===Qt||!(t||i||r||a))})(a),K=(e=>{const{callOut:t,callOut2:i,callOut3:n}=e;return t!==Qt&&""!==t&&void 0!==t||i!==Qt&&""!==i&&void 0!==i||n!==Qt&&""!==n&&void 0!==n})(a),J=(e=>{const{tagType:t}=e;return t!==Qt&&void 0!==t})(a),Y=H?G:V,X=e=>{(e=>"youtube"===e)(D)?i(!0):f.handleClick(e).finally((()=>{ee.handleClick({appLinkData:j,appLinkType:M,trackingParams:W,webActionType:D,webActionUrl:w}),vi.video_duration=0,vi.view_duration=0}))},{childBannerStyle:Q,childTextAreaStyle:te}=d,ie=!!((null==Q?void 0:Q.individualCornerRadius)||(null==te?void 0:te.individualCornerRadius)||te.individualBorders),ne=!!g&&{onContextMenu:()=>R(m)},re=(e,t)=>{X(Object.assign(Object.assign({},G),{video_total_duration:e,video_view_duration:t}))},ae=n.Children.map(l,(e=>n.isValidElement(e)?n.cloneElement(e,{outlineRef:r,handleVideo:re}):e)),le=H?e=>(e.stopPropagation(),r.current.click()):e=>{e.stopPropagation(),e.preventDefault(),X(V)};return n.createElement(n.Fragment,null,n.createElement(me,{isServer:o,onIntersect:()=>{f.handleImpression(Y)},exitCallBack:()=>{f.removeImpression(s)},onIntersectV2:()=>{f.handleImpressionV2(Y)},rootMargin:b===N?h:p},n.createElement(pi,Object.assign({bannerCss:d,id:c,className:"banner-container",onClick:le},ne),n.createElement(gi,{isNewTemplate:ie,bannerCss:d},t&&(e=>n.createElement(he,{title:`${e}`,width:"100%",height:"100%",src:e,frameBorder:"0",allowFullScreen:!0}))(w),n.createElement("div",{className:"image-tag-wrapper"},!t&&n.createElement("div",{className:"image-container"},n.createElement("div",{className:"card-view"}),n.createElement("div",{className:"image-with-logo"},ae),K&&n.createElement(mi,{isDesktop:u,callout:T,callout2:I,callout3:_,cssCallout:d.childCalloutStyle,className:"callout-radius"},T&&n.createElement("div",{className:"callout-text"},T),I&&n.createElement("div",{className:"callout-text2"},I),_&&n.createElement("div",{className:"callout-text3"},_))),J&&n.createElement(ii,{timeStamp:1e3*parseInt(P,10),timerEndText:L,tagText:O,tagTimerEnd:P,tagType:z}),n.createElement("div",{onClick:le,className:"outline-wrapper"})),Z&&n.createElement("div",{className:"edgetoedgetextarea"},n.createElement(hi,{bannerCss:d},n.createElement("div",{className:"image-with-logo"},l[1])),n.createElement(ui,{isNewTemplate:ie,styleTextarea:d.childTextAreaStyle},n.createElement(bi,{styleTextarea:d,opacity:C},n.createElement("div",{className:q},n.createElement("div",{className:"titles-wrap"},((e,t,i)=>{const r=[],a=i&&n.createElement("span",{key:"discountTile",className:"discount-text"},i),l=t&&n.createElement("span",{key:"palintitle",className:"title-text"},t);return(e=>!("title_discount"===e))(e)?(r.push(l),r.push(a)):(r.push(a),r.push(l)),r})(k,y,x).map((e=>e))),S&&n.createElement("div",{className:"description"},S),$&&n.createElement("div",{className:"sub-description"},$)))))))))},COLUMN_GRID_V2:e=>{const{params:t,children:i,cssStyle:r,isDesktop:a,id:l,remoteConfigs:o}=e,{title:s,titleAlign:d,columnsInRow:c=1,imageUrl:p,description:u,isFullWidth:g,bkgColor:m,buttonData:h}=t,{switches:b}=o,v=100/c;let f=16;r&&r.spacingStyle&&r.spacingStyle.interItem&&r.spacingStyle.interItem.web&&(f=16*+r.spacingStyle.interItem.web.match(/\d+/g).join("."));const{isEmptyWidget:w}=Y,y=w(s,u,i,b);return n.createElement(Ei,{className:"parent",id:l,color:m,isDesktop:a,setEmptyWidget:y},n.createElement(yi,{padding:r.spacingStyle.padding,align:d,color:m,isDesktop:a,isFullWidth:g,interItemMargin:f/2,interItemRaw:r.spacingStyle.interItem.web},p&&n.createElement("img",{src:p,alt:s}),n.createElement(Xt,{isDesktop:a,cssStyle:r,title:s,description:u,buttonData:h}),n.createElement("div",{className:a?"fixed-width-wrapper":"list-wrap"},n.createElement(xi,{isDesktop:a,interItemMargin:f/2,className:"columngrid-row",width:v,padding:r.spacingStyle.padding},i&&i.map((e=>n.createElement(ki,{className:"column-child",interItemMargin:f/2,key:`${e.key}_colWrap`,width:v,isDesktop:a},e)))))))},[N]:e=>{const{params:t,children:i,id:r,cssStyle:a,isDesktop:l,trackingData:o,isServer:s,remoteConfigs:d}=e,{delayTimer:c,carouselType:p,title:u,autoScroll:g,description:m,bkgColor:h,positionIndicatorFlag:b,buttonData:v,carouselTags:w}=t;let y=0;y=g&&"True"===g?0===c?8e3:c:0;const x=b&&"on"===b,{buttonWidgetStyle:k,spacingStyle:E,positionindicatorStyle:S,tabsStyle:$}=a,{switches:C}=d,[D,T]=(0,n.useState)(0),[I,_]=(0,n.useState)(null),O=i,P=O.length,N=()=>{T(Ze(D,P)),_(clearInterval(I))},A=()=>{T(Ke(D,P)),_(clearInterval(I))},L=()=>{const e=D+1;T(e{const e=D-1;T(e>=0?e:P-1)};(0,n.useEffect)((()=>{O&&P>0&&(y&&_(clearInterval(I)),Je(D,r,a.spacingStyle.interItem,p),(()=>{if(!y)return;const e=setInterval((()=>{A()}),y);_(e)})())}),[D,O,P]);const{edgeToEdgeIndicator:j,snapToGridIndicator:M,indicator:R}=S,B=!(!j&&!M),F=(e,t)=>(null==e?void 0:e.type)===t,W=F(X=B?j:R,Vi)||F(X,"bar"),H=B?F(j,Vi):F(R,"bar"),U=!!(null==k?void 0:k.visible),{isEmptyWidget:V}=Y,G=V(u,m,i,C