@sunrise-upc/sales-static-components 4.2.0-beta.5 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/DeviceGallery/DeviceGalleryItem/DeviceGalleryItem.js +1 -1
- package/dist/cjs/components/DeviceGallery/DeviceGalleryItem/DeviceGalleryItem.js.map +1 -1
- package/dist/cjs/components/DeviceGallery/DeviceGalleryList.js +1 -1
- package/dist/cjs/components/DeviceGallery/DeviceGalleryList.js.map +1 -1
- package/dist/cjs/components/FalconMainNavigation/CartOverlay/CartItems/CartItems.js +1 -1
- package/dist/cjs/components/FalconMainNavigation/CartOverlay/CartItems/CartItems.js.map +1 -1
- package/dist/cjs/components/FalconMainNavigation/CartOverlay/CartOverlay.js.map +1 -1
- package/dist/cjs/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.js +1 -1
- package/dist/cjs/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.js.map +1 -1
- package/dist/cjs/components/GlobalPromoRibbon/GlobalPromoRibbon.css +1 -47
- package/dist/cjs/components/GlobalPromoRibbon/GlobalPromoRibbon.js +1 -1
- package/dist/cjs/components/GlobalPromoRibbon/GlobalPromoRibbon.js.map +1 -1
- package/dist/cjs/components/GlobalPromoRibbon/GlobalPromoRibbon.module.scss.css +1 -47
- package/dist/cjs/components/GlobalPromoRibbon/GlobalPromoRibbon.module.scss.js +1 -1
- package/dist/cjs/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.css +2 -2
- package/dist/cjs/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.js +1 -1
- package/dist/cjs/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.js.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/utils/AnalyticUtils.js +1 -1
- package/dist/cjs/utils/AnalyticUtils.js.map +1 -1
- package/dist/esm/components/DeviceGallery/DeviceGalleryItem/DeviceGalleryItem.js +1 -1
- package/dist/esm/components/DeviceGallery/DeviceGalleryItem/DeviceGalleryItem.js.map +1 -1
- package/dist/esm/components/DeviceGallery/DeviceGalleryList.js +1 -1
- package/dist/esm/components/DeviceGallery/DeviceGalleryList.js.map +1 -1
- package/dist/esm/components/FalconMainNavigation/CartOverlay/CartItems/CartItems.js +1 -1
- package/dist/esm/components/FalconMainNavigation/CartOverlay/CartItems/CartItems.js.map +1 -1
- package/dist/esm/components/FalconMainNavigation/CartOverlay/CartOverlay.js.map +1 -1
- package/dist/esm/components/FalconMainNavigation/NavigationMenuItem/NavigationMenuItem.js +1 -1
- package/dist/esm/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.js +1 -1
- package/dist/esm/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.js.map +1 -1
- package/dist/esm/components/GlobalPromoRibbon/GlobalPromoRibbon.css +1 -47
- package/dist/esm/components/GlobalPromoRibbon/GlobalPromoRibbon.js +1 -1
- package/dist/esm/components/GlobalPromoRibbon/GlobalPromoRibbon.js.map +1 -1
- package/dist/esm/components/GlobalPromoRibbon/GlobalPromoRibbon.module.scss.css +1 -47
- package/dist/esm/components/GlobalPromoRibbon/GlobalPromoRibbon.module.scss.js +1 -1
- package/dist/esm/components/InternetAndTvCards/InternetAndTvCardItem/InternetAndTvCardItem.js +1 -1
- package/dist/esm/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.css +2 -2
- package/dist/esm/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.js +1 -1
- package/dist/esm/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.js.map +1 -1
- package/dist/esm/components/linecheck/LineCheckV2.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/utils/AnalyticUtils.js +1 -1
- package/dist/esm/utils/AnalyticUtils.js.map +1 -1
- package/dist/index.d.ts +6 -61
- package/dist/navigation.css +948 -948
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
margin-left: -4px !important;
|
|
6
6
|
margin-right: 0 !important;
|
|
7
7
|
}
|
|
8
|
-
.timer-
|
|
8
|
+
.timer-container {
|
|
9
9
|
min-width: fit-content;
|
|
10
10
|
}
|
|
11
11
|
.timer-message {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
.timer-
|
|
35
|
+
.timer-container {
|
|
36
36
|
color: black;
|
|
37
37
|
display: inline-block;
|
|
38
38
|
max-width: 100%;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
require('./RibbonComponentTimer.css');
|
|
2
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),l=require("react"),r=require("../utils.js"),i=require("../../Constants.js"),
|
|
2
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),l=require("react"),r=require("../utils.js"),i=require("../../Constants.js"),t=require("./RibbonExpiredTimerRedefined.js"),a=require("./RibbonTimerV2.module.scss.js");exports.default=({content:n,setTimerExpired:s,isSlimVersion:o=!1})=>{var u,d,c,m,v,b,g;const f=e=>{"function"==typeof s&&s(e)},h=r.calculateDateTime(new Date(null===(u=null==n?void 0:n.endTime)||void 0===u?void 0:u.replace(/-/g,"/"))),p=r.calculateDateTime(new Date(null===(d=null==n?void 0:n.startTime)||void 0===d?void 0:d.replace(/-/g,"/"))),$=(null==n?void 0:n.colorChangeTime)&&r.calculateDateTime(new Date(null===(c=null==n?void 0:n.colorChangeTime)||void 0===c?void 0:c.replace(/-/g,"/"))),[x,T]=l.useState(!1),[N,j]=l.useState(null!==(m=null==n?void 0:n.timerColor)&&void 0!==m?m:""),[L,C]=l.useState(!1),y=()=>{const e=new Date;$&&!L&&e.getTime()>$.getTime()&&(j(i.PRIMARYCOLORS),C(!0)),e.getTime()>=p.getTime()&&!x&&T(!0);const l=h.getTime()-e.getTime();if(l>0&&x){const e=("0"+Math.floor(l/864e5)).slice(-2),r=("0"+Math.floor(l/36e5%24)).slice(-2),i=("0"+Math.floor(l/1e3/60%60)).slice(-2),t=("0"+Math.floor(l/1e3%60)).slice(-2);return f(!1),{days:e,hours:r,mins:i,sec:t}}return f(!0),null},k=(null==n?void 0:n.backgroundColor)&&(null==n?void 0:n.backgroundColorTransparency)&&n.backgroundColorTransparency>0?n.backgroundColorTransparency/100:0,D=k?(e=>{if(!e||"transparent"===e)return"transparent";const l=k,r=e.match(/rgba\((\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([0-9.]+)\)/i);if(r){const[,e,i,t]=r;return`rgba(${e}, ${i}, ${t}, ${l})`}const i=e.match(/rgb\((\d+)\s*,\s*(\d+)\s*,\s*(\d+)\)/i);if(i){const[,e,r,t]=i;return`rgba(${e}, ${r}, ${t}, ${l})`}if(e.startsWith("#")){const r=e.replace("#",""),i=3===r.length,t=parseInt(i?r[0]+r[0]:r.slice(0,2),16),a=parseInt(i?r[1]+r[1]:r.slice(2,4),16),n=parseInt(i?r[2]+r[2]:r.slice(4,6),16);if(!Number.isNaN(t)&&!Number.isNaN(a)&&!Number.isNaN(n))return`rgba(${t}, ${a}, ${n}, ${l})`}return e})(null==n?void 0:n.backgroundColor):(null==n?void 0:n.backgroundColor)||"transparent",R={timerColor:N,backgroundColor:D,expiryLabel:null==n?void 0:n.expiryLabel,timerAlignment:null==n?void 0:n.timerAlignment,dayLabel:null==n?void 0:n.dayLabel,hourLabel:null==n?void 0:n.hourLabel,minuteLabel:null==n?void 0:n.minuteLabel,secondLabel:null==n?void 0:n.secondLabel,expiryLabelColor:null==n?void 0:n.expiryLabelColor},[E,I]=l.useState(y());l.useEffect(()=>{I(y());const e=setInterval(()=>{I(y())},1e3);return()=>{clearInterval(e)}},[]);const M=[{label:null!==(v=null==n?void 0:n.hourLabel)&&void 0!==v?v:"",value:null==E?void 0:E.hours},{label:null!==(b=null==n?void 0:n.minuteLabel)&&void 0!==b?b:"",value:null==E?void 0:E.mins},{label:null!==(g=null==n?void 0:n.secondLabel)&&void 0!==g?g:"",value:null==E?void 0:E.sec}];return e.jsx("div",{className:"timer-wrap",style:{textAlign:n.timerAlignment===i.CENTER?"center":n.timerAlignment===i.LEFT?"left":"right"},children:x&&e.jsx("div",{className:"timer-container",children:E?e.jsxs("div",{className:`timer-section ${o?a.default["slim-timer-section"]:""}`.trim(),style:{color:(null==n?void 0:n.isDarkMode)?i.COLORWHITE:N,backgroundColor:D},children:[e.jsxs("div",{className:` ${a.default["stage-teaser-ribbon-timer-element"]} transparent-element`,children:[e.jsxs("div",{className:`${a.default["stage-teaser-ribbon-timer-value"]} ${o?a.default["slim-timer-value"]:""}`.trim(),children:[" ",null==E?void 0:E.days]}),e.jsx("div",{className:`${a.default["stage-teaser-ribbon-timer-label"]}`,children:null==n?void 0:n.dayLabel})]}),M.map((r,i)=>e.jsxs(l.Fragment,{children:[e.jsx("div",{className:`${a.default["stage-teaser-ribbon-timer-colon"]} ${o?a.default["slim-timer-colon"]:""}`.trim(),children:":"}),e.jsxs("div",{className:`${a.default["stage-teaser-ribbon-timer-element"]} ${o?a.default["slim-timer-element"]:""}`.trim(),children:[e.jsxs("div",{className:`${a.default["stage-teaser-ribbon-timer-value"]} ${o?a.default["slim-timer-value"]:""}`.trim(),children:[" ",null==r?void 0:r.value]}),e.jsx("div",{className:`${a.default["stage-teaser-ribbon-timer-label"]}`,children:null==r?void 0:r.label})]})]},i))]}):e.jsx("div",{children:e.jsx(t.default,{content:R})})})})};
|
|
3
3
|
//# sourceMappingURL=RibbonComponentTimer.js.map
|
package/dist/cjs/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RibbonComponentTimer.js","sources":["../../../../../../src/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.tsx"],"sourcesContent":[null],"names":["
|
|
1
|
+
{"version":3,"file":"RibbonComponentTimer.js","sources":["../../../../../../src/components/RibbonComponent/RibbonComponentTimer/RibbonComponentTimer.tsx"],"sourcesContent":[null],"names":["content","setTimerExpired","isSlimVersion","notifyTimerExpired","expired","expiry","calculateDateTime","Date","_a","endTime","replace","start","_b","startTime","changeColor","colorChangeTime","_c","startTimer","setStartTimer","useState","timerContentColor","setTimerContentColor","_d","timerColor","colorChanged","setColorChanged","calculateTime","today","getTime","PRIMARYCOLORS","difference","days","Math","floor","slice","hours","mins","sec","normalizedBackgroundTransparency","backgroundColor","backgroundColorTransparency","rgbaBackgroundColor","color","alpha","rgbaMatch","match","r","g","b","rgbMatch","startsWith","hex","isShort","length","parseInt","Number","isNaN","applyBackgroundTransparency","expiredTimer","expiryLabel","timerAlignment","dayLabel","hourLabel","minuteLabel","secondLabel","expiryLabelColor","timeLeft","setTimeLeft","useEffect","timer","setInterval","clearInterval","timeLeftArray","label","_e","value","_f","_g","_jsx","className","style","textAlign","CENTER","LEFT","children","_jsxs","Styles","trim","isDarkMode","COLORWHITE","map","element","index","React","Fragment","RibbonExpiredTimerRedefined"],"mappings":"6RAsC6B,EAAGA,UAASC,kBAAiBC,iBAAgB,wBACxE,MAAMC,EAAsBC,IACK,mBAApBH,GACTA,EAAgBG,IAIdC,EAASC,oBACb,IAAIC,KAAqB,QAAhBC,EAAAR,aAAO,EAAPA,EAASS,eAAO,IAAAD,OAAA,EAAAA,EAAEE,QAAQ,KAAM,OAErCC,EAAQL,oBACZ,IAAIC,KAAuB,QAAlBK,EAAAZ,aAAO,EAAPA,EAASa,iBAAS,IAAAD,OAAA,EAAAA,EAAEF,QAAQ,KAAM,OAEvCI,GACJd,aAAO,EAAPA,EAASe,kBACTT,oBAAkB,IAAIC,KAA6B,UAAxBP,aAAO,EAAPA,EAASe,uBAAe,IAAAC,OAAA,EAAAA,EAAEN,QAAQ,KAAM,QAC9DO,EAAYC,GAAiBC,EAAAA,UAAS,IACtCC,EAAmBC,GAAwBF,EAAAA,SAC7B,QAAnBG,EAAAtB,eAAAA,EAASuB,kBAAU,IAAAD,EAAAA,EAAI,KAElBE,EAAcC,GAA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AAW,GAAGO,EAAAA,QAAO,qCAAoCF,SAExDO,aAAO,EAAPA,EAASlB,aAxBKmB,OA+BzBd,EAAAA,IAAA,MAAA,CAAAM,SAEAN,MAACiB,EAAAA,QAA2B,CAAC/F,QAAS0D"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("./components/RibbonComponent/RibbonComponent.js"),
|
|
1
|
+
"use strict";var e=require("./components/RibbonComponent/RibbonComponent.js"),r=require("./components/RibbonRenderer/RibbonRenderer.js"),o=require("./components/GlobalPromoRibbon/GlobalPromoRibbon.js"),t=require("./components/FalconButtonV3/FalconButtonV3.js"),n=require("./components/StageTeaserComponent/StageTeaserComponent.js"),s=require("./components/ImageComponent/ImageComponent.js"),a=require("./components/TextComponent/TextComponent.js"),i=require("./components/ButtonGroup/ButtonGroup.js"),p=require("./components/ImageWithText/ImageWithText.js"),u=require("./components/ImageWithTextWrapper/ImageWithTextWrapper.js"),m=require("./components/InternetAndTvCardsBenefits/InternetAndTvCardsBenefits.js"),c=require("./components/QuickLinks/QuickLinks.js"),C=require("./components/DeviceGallery/DeviceGalleryList.js"),d=require("./components/InternetAndTvCards/InternetAndTvCards.js"),g=require("./components/PromotionTeaser/PromotionTeaser.js"),l=require("./components/linecheck/LineCheckV2.js"),x=require("./components/StageTeaserV3/StageTeaserV3.js"),f=require("./components/StageTeaserV3/PromoBubble/PromoBubble.js"),b=require("./components/FalconMainNavigation/FalconMainNavigation.js"),S=require("./components/SearchWrapper/SearchWrapper.js"),h=require("./components/MinimizedHeader/MinimizedHeader.js"),j=require("./components/BadgeContainer/BadgeContainer.js"),q=require("./services/LinecheckBasicPropConfig.js"),T=require("./services/CustomerPropConfig.js"),v=require("./services/customerSegmentSync.js"),P=require("./services/CustomerService.js"),B=require("./services/CartPropConfig.js");exports.RibbonComponent=e.default,exports.RibbonRenderer=r.default,exports.GlobalPromoRibbon=o.default,exports.FalconButtonV3=t.default,exports.StageTeaserComponent=n.default,exports.ImageComponent=s.default,exports.TextComponent=a.default,exports.ButtonGroup=i.default,exports.ImageWithText=p.default,exports.ImageWithTextWrapper=u.default,exports.InternetAndTvCardsBenefits=m.default,exports.QuickLinks=c.default,exports.DeviceGalleryList=C.default,exports.InternetAndTvCards=d.default,exports.PromotionTeaser=g.default,exports.LineCheckV2=l.default,exports.StageTeaserV3=x.default,exports.PromoBubble=f.default,exports.FalconMainNavigation=b.default,exports.SearchWrapper=S.default,exports.MinimizedHeader=h.default,exports.BadgeContainer=j.default,exports.LinecheckBasicPropConfig=q.LinecheckBasicPropConfig,exports.CustomerPropConfig=T.CustomerPropConfig,exports.createCustomerGroupFetcher=v.createCustomerGroupFetcher,exports.createCustomerSegmentSync=v.createCustomerSegmentSync,exports.dispatchCustomerSegmentRefreshEvent=v.dispatchCustomerSegmentRefreshEvent,exports.extractCustomerGroupFromProfile=v.extractCustomerGroupFromProfile,exports.getCurrentCustomerSegment=v.getCurrentCustomerSegment,exports.hasCachedCustomerSegment=v.hasCachedCustomerSegment,exports.resolveCustomerGroup=v.resolveCustomerGroup,exports.setCustomerSegment=v.setCustomerSegment,exports.subscribeToCustomerSegmentRefresh=v.subscribeToCustomerSegmentRefresh,exports.syncCustomerSegment=v.syncCustomerSegment,exports.customerGroup=P.customerGroup,exports.CartPropConfig=B.CartPropConfig;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("../node_modules/tslib/tslib.es6.js")
|
|
1
|
+
"use strict";var e=require("../node_modules/tslib/tslib.es6.js");let t;exports.trackComponent=(e,a,n,s)=>{const r={componentInfo:{type:n,subType:s},attributes:{title:e,targetLink:a}};Array.isArray(t)||(t=[]),t.push(r)},exports.trackErrorEvent=(e,t,a,n)=>{const s={message_type:e,message_title:t,message_source:a,message_reason:n};try{window.dataLayer.push(Object.assign({event:"gaEvent",event_name:"error_event"},s))}catch(e){}},exports.trackEvent=(e,t,a)=>{const n={eventAction:e,eventValue:t,timeStamp:Math.round(Date.now()/1e3),type:a};try{"view"==a||"message"==a||window.appEventData.push({event:a,eventInfo:n})}catch(e){}},exports.trackGADatalayerEvent=(e,t,a)=>{window.dataLayer.push(Object.assign({event:e,event_name:t},a))},exports.trackLineEvent=(e,t,a,n,s)=>{const r={address:e,eventAction:t,eventValue:a,id:n,timeStamp:Math.round(Date.now()/1e3),type:s};try{window.appEventData.push({event:s,eventInfo:r})}catch(e){}},exports.trackMessageEvent=(t,a,n,s,r,o)=>{const i={description:t,source:a,title:n,type:s,guid:r,errorID:o};try{const{guid:t,errorID:a}=i,n=e.__rest(i,["guid","errorID"]);"error"==s&&null==t&&null==a||"success"==s||"general"==s?window.appEventData.push({event:"message",message:n}):void 0!==t&&void 0!==a&&window.appEventData.push({event:"message",message:i})}catch(e){}},exports.trackNewDatalayerEvent=(e,t,a)=>{window.dataLayer.push(Object.assign({event:e,event_name:t},a))};
|
|
2
2
|
//# sourceMappingURL=AnalyticUtils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnalyticUtils.js","sources":["../../../../src/utils/AnalyticUtils.ts"],"sourcesContent":[null],"names":["ComponentArray","
|
|
1
|
+
{"version":3,"file":"AnalyticUtils.js","sources":["../../../../src/utils/AnalyticUtils.ts"],"sourcesContent":[null],"names":["ComponentArray","title","targetLink","type","subType","component","componentInfo","attributes","Array","isArray","push","message_type","message_title","message_source","message_reason","eventInfo","window","dataLayer","event","event_name","_a","eventAction","eventValue","timeStamp","Math","round","Date","now","appEventData","eventName","address","id","description","source","guid","errorID","validationmessage","__rest","undefined","message"],"mappings":"iEACA,IAAIA,yBAU0B,CAC5BC,EACAC,EACAC,EACAC,KAEA,MAAMC,EAAY,CAChBC,cAAe,CACbH,KAAMA,EACNC,QAASA,GAEXG,WAAY,CACVN,MAAOA,EACPC,WAAYA,IAIXM,MAAMC,QAAQT,KAAiBA,EAAiB,IACrDA,EAAeU,KAAKL,4BAkJS,CAC7BM,EACA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ACPqB,QAASxB,GAGjB,CAAE,MAAAK,GAEF,kCApIoC,CAACF,EAAeW,EAAmBd,KACrEC,OAAOC,UAAUP,oBACfQ,MAAOA,EACPC,WAAYU,GACTd"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './DeviceGalleryItem.css';
|
|
2
|
-
import{jsx as e,jsxs as i}from"react/jsx-runtime";import{useState as t,useEffect as
|
|
2
|
+
import{jsx as e,jsxs as i}from"react/jsx-runtime";import{useState as t,useEffect as l}from"react";import n from"./DeviceGalleryItem.module.scss.js";import o from"../../RichText/richText.js";import{getFalconButtonClass as r}from"../../../utils/StyleUtils.js";import{AURABUTTONCLICKED as a}from"../../Constants.js";import{trackComponent as s,trackEvent as c,trackNewDatalayerEvent as d}from"../../../utils/AnalyticUtils.js";import{DEVICEGALLERY as m,ALL as u,SUBTEASER as v,CMS as f,SELECTPROMOTION as p,TYPE as h,LINK as b,CONTENT as g}from"../../../utils/AnalyticsConstants.js";const y={Black:"#000000",White:"#ffffff"},x=()=>"undefined"==typeof window?300:window.innerWidth<=767?700:300,N=({content:N,index:_=0,onEligibleItem:j,onPrepareItemAnalytics:k,useFalconStyle:C=!0,titleColor:w,subtitleColor:T})=>{var A;const[$,L]=t(!1),[E,I]=t(x),z=r(N.buttonType),B=C?n["falcon-container"]:n["outer-container"],O=(e=>{var i,t,l,n;const o=(null===(i=e.gradientBackground)||void 0===i?void 0:i.trim())||(null===(l=null===(t=e.backgroundColor)||void 0===t?void 0:t.color)||void 0===l?void 0:l.trim()),r=e.textColor,a=r?null!==(n=y[r])&&void 0!==n?n:r:void 0;if(o||a)return Object.assign(Object.assign({},o?{background:o}:null),a?{color:a}:null)})(N);return l(()=>{const e=()=>I(x());return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),l(()=>{null==k||k(N)},[N,k]),l(()=>{var e;s(N.title||m,null===(e=N.link)||void 0===e?void 0:e.cached_url,g,b)},[N]),e("div",{className:B,children:i("a",{href:N.link?N.link.cached_url:"/",target:"_self",className:n.link,onClick:()=>{var e;c(m,N.title,h),d(p,p,{banner_promotion_name:null!==(e=null==N?void 0:N.bannerPromotionName)&&void 0!==e?e:null==N?void 0:N.title,banner_source:f,banner_type:v,banner_location:null==N?void 0:N.bannerLocation,audience_name:u,promotion_objective:u,index:_+1}),null==k||k(N),null==j||j("select")},children:[e("div",{className:n.promo,children:N.promoText?N.isLimited?e("div",{className:n.limited,style:O,children:N.promoText}):e("div",{className:n.notlimited,style:O,children:N.promoText}):null}),(null===(A=N.image)||void 0===A?void 0:A.filename)&&e("div",{className:n["image-container"],children:e("div",{className:n.image,children:e("img",{src:(P=N.image.filename,S=E,P&&S&&P.includes("/f/")?`${P}/m/${S}x0/filters:format(webp):quality(80)`:P),alt:N.image.alt||"",title:N.image.title||""})})}),i("div",{className:n.content,children:[N.title&&e("h4",{className:n.title,style:{color:w},children:N.title}),N.description&&e("div",{className:n.description,style:{color:T},children:e(o,{content:N.description})}),e("div",{className:n["button-container"],children:N.CTA_text&&e("div",{className:`${z} ${n.button} ${$?a:""}`,onClick:()=>L(!$),children:N.CTA_text})})]})]})});var P,S};export{N as default};
|
|
3
3
|
//# sourceMappingURL=DeviceGalleryItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeviceGalleryItem.js","sources":["../../../../../../src/components/DeviceGallery/DeviceGalleryItem/DeviceGalleryItem.tsx"],"sourcesContent":[null],"names":["OPTION_TEXT_COLOR","Black","White","getImageWidth","window","innerWidth","DeviceGalleryItem","content","index","onEligibleItem","useFalconStyle","titleColor","subtitleColor","clicked","setClicked","useState","imageWidth","setImageWidth","buttonStyle","getFalconButtonClass","buttonType","containerClassName","Styles","promoBadgeStyle","background","_a","gradientBackground","trim","_b","backgroundColor","color","_c","colorValue","textColor","_d","undefined","Object","assign","getBadgeSchemeStyle","useEffect","handleResize","addEventListener","removeEventListener","trackComponent","title","DEVICEGALLERY","link","cached_url","CONTENT","LINK","_jsx","className","children","_jsxs","href","target","onClick","trackEvent","TYPE","trackNewDatalayerEvent","SELECTPROMOTION","banner_promotion_name","bannerPromotionName","banner_source","CMS","banner_type","SUBTEASER","banner_location","bannerLocation","audience_name","ALL","promotion_objective","promoText","isLimited","style","image","filename","src","source","width","includes","alt","description","RichText","CTA_text","AURABUTTONCLICKED"],"mappings":"
|
|
1
|
+
{"version":3,"file":"DeviceGalleryItem.js","sources":["../../../../../../src/components/DeviceGallery/DeviceGalleryItem/DeviceGalleryItem.tsx"],"sourcesContent":[null],"names":["OPTION_TEXT_COLOR","Black","White","getImageWidth","window","innerWidth","DeviceGalleryItem","content","index","onEligibleItem","onPrepareItemAnalytics","useFalconStyle","titleColor","subtitleColor","clicked","setClicked","useState","imageWidth","setImageWidth","buttonStyle","getFalconButtonClass","buttonType","containerClassName","Styles","promoBadgeStyle","background","_a","gradientBackground","trim","_b","backgroundColor","color","_c","colorValue","textColor","_d","undefined","Object","assign","getBadgeSchemeStyle","useEffect","handleResize","addEventListener","removeEventListener","trackComponent","title","DEVICEGALLERY","link","cached_url","CONTENT","LINK","_jsx","className","children","_jsxs","href","target","onClick","trackEvent","TYPE","trackNewDatalayerEvent","SELECTPROMOTION","banner_promotion_name","bannerPromotionName","banner_source","CMS","banner_type","SUBTEASER","banner_location","bannerLocation","audience_name","ALL","promotion_objective","promoText","isLimited","style","image","filename","src","source","width","includes","alt","description","RichText","CTA_text","AURABUTTONCLICKED"],"mappings":"kkBAiDA,MAAMA,EAA4C,CAAEC,MAAO,UAAWC,MAAO,WAoBvEC,EAAgB,IACE,oBAAXC,OAA+B,IACnCA,OAAOC,YAAc,IAAM,IAAM,IAGpCC,EAAoB,EACxBC,UACAC,QAAQ,EACRC,iBACAC,yBACAC,kBAAiB,EACjBC,aACAC,0BAEA,MAAOC,EAASC,GAAcC,GAAS,IAChCC,EAAYC,GAAiBF,EAASb,GACvCgB,EAAcC,EAAqBb,EAAQc,YAC3CC,EAAqBX,EAAiBY,EAAO,oBAAsBA,EAAO,mBAC1E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ACN,EAAiBC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './DeviceGalleryList.css';
|
|
2
|
-
import{jsx as e,jsxs as i,Fragment as r}from"react/jsx-runtime";import{useRef as t,useState as n,useEffect as o}from"react";import{Swiper as l,SwiperSlide as s}from"swiper/react";import{Pagination as a}from"swiper/modules";import"swiper/css";import"swiper/css/pagination";import c from"./DeviceGalleryItem/DeviceGalleryItem.js";import{DEVICE_GALLERY_ARROW_ICONS as d}from"./DeviceGalleryArrowIcons.js";import m from"../ResponsiveRow/row.js";import u from"./DeviceGalleryList.module.scss.js";
|
|
2
|
+
import{jsx as e,jsxs as i,Fragment as r}from"react/jsx-runtime";import{useRef as t,useState as n,useEffect as o}from"react";import{Swiper as l,SwiperSlide as s}from"swiper/react";import{Pagination as a}from"swiper/modules";import"swiper/css";import"swiper/css/pagination";import c from"./DeviceGalleryItem/DeviceGalleryItem.js";import{DEVICE_GALLERY_ARROW_ICONS as d}from"./DeviceGalleryArrowIcons.js";import m from"../ResponsiveRow/row.js";import u from"./DeviceGalleryList.module.scss.js";const w=()=>"undefined"==typeof window?1:window.innerWidth>=1440?4:window.innerWidth>=1024?3:window.innerWidth>=768?2:1,p=({content:p,onEligibleItem:v,onPrepareItemAnalytics:g,useFalconStyle:f=!0})=>{const h=t(null),y=t(null),[b,I]=n(!0),[N,S]=n(!1),[C,P]=n(w),$=(null==p?void 0:p.deviceGalleryItemList)||[],G=f?u["falcon-section"]:u.section,E=$.length>C,k=E&&(!0===p.loopSlides||"true"===p.loopSlides),x=e=>{I(e.isBeginning),S(e.isEnd)};return o(()=>{const e=()=>P(w());return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),o(()=>{const e=h.current;if(!e||"undefined"==typeof IntersectionObserver)return;const i=new IntersectionObserver(e=>{const i=e[0],r=(()=>{if("undefined"==typeof window)return[];try{return JSON.parse(localStorage.getItem("analyticsUids")||"[]")}catch(e){return[]}})();var t;i.isIntersecting&&i.intersectionRatio>=.5&&!r.includes(p._uid)&&(null==v||v("view"),t=[...r,p._uid],"undefined"!=typeof window&&localStorage.setItem("analyticsUids",JSON.stringify(t)))},{threshold:.5});return i.observe(e),()=>i.disconnect()},[p._uid,v]),e("div",{className:G,style:{backgroundColor:null==p?void 0:p.backgroundColor},ref:h,children:e(m,{children:i(r,{children:[(null==p?void 0:p.title)&&e("h2",{className:u.title,children:p.title}),i("div",{className:u["slider-wrapper"],children:[e(l,{modules:[a],className:`${u.swiper} ${E?u["has-controls"]:""}`.trim(),slidesPerView:1,slidesPerGroup:1,spaceBetween:12,loop:k,rewind:!1,allowTouchMove:E,grabCursor:!0,pagination:!!E&&{clickable:!0},breakpoints:{768:{slidesPerView:2,spaceBetween:20},1024:{slidesPerView:3,spaceBetween:20},1440:{slidesPerView:4,spaceBetween:8}},onSwiper:e=>{y.current=e,x(e)},onSlideChange:x,onReachBeginning:x,onReachEnd:x,onFromEdge:x,children:$.map((i,r)=>e(s,{className:u.slide,children:e(c,{content:i,index:r,onEligibleItem:v,onPrepareItemAnalytics:g,useFalconStyle:f,titleColor:null==p?void 0:p.deviceGalleryItemTitleColor,subtitleColor:null==p?void 0:p.deviceGalleryItemSubtitleColor})},i._uid))},`${C}-${E}-${k}`),E&&(k||!b)&&i("button",{className:`${u.arrow} ${u["arrow-prev"]}`,type:"button","aria-label":"Previous slide",onClick:()=>{var e;return null===(e=y.current)||void 0===e?void 0:e.slidePrev()},children:[e("img",{className:u["active-arrow"],src:d.left.active,alt:""}),e("img",{className:u["inactive-arrow"],src:d.left.inactive,alt:""})]}),E&&(k||!N)&&i("button",{className:`${u.arrow} ${u["arrow-next"]}`,type:"button","aria-label":"Next slide",onClick:()=>{var e;return null===(e=y.current)||void 0===e?void 0:e.slideNext()},children:[e("img",{className:u["active-arrow"],src:d.right.active,alt:""}),e("img",{className:u["inactive-arrow"],src:d.right.inactive,alt:""})]})]})]})})})};export{p as default};
|
|
3
3
|
//# sourceMappingURL=DeviceGalleryList.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeviceGalleryList.js","sources":["../../../../../src/components/DeviceGallery/DeviceGalleryList.tsx"],"sourcesContent":[null],"names":["getSlidesPerView","window","innerWidth","DeviceGalleryList","content","useFalconStyle","elementRef","useRef","swiperRef","isBeginning","setIsBeginning","useState","isEnd","setIsEnd","slidesPerView","setSlidesPerView","items","deviceGalleryItemList","
|
|
1
|
+
{"version":3,"file":"DeviceGalleryList.js","sources":["../../../../../src/components/DeviceGallery/DeviceGalleryList.tsx"],"sourcesContent":[null],"names":["getSlidesPerView","window","innerWidth","DeviceGalleryList","content","onEligibleItem","onPrepareItemAnalytics","useFalconStyle","elementRef","useRef","swiperRef","isBeginning","setIsBeginning","useState","isEnd","setIsEnd","slidesPerView","setSlidesPerView","items","deviceGalleryItemList","sectionClassName","Styles","hasOverflow","length","shouldLoop","loopSlides","updateNavigationState","swiper","useEffect","handleResize","addEventListener","removeEventListener","observedElement","current","IntersectionObserver","observer","entries","entry","trackedUids","JSON","parse","localStorage","getItem","_a","getTrackedUids","uids","isIntersecting","intersectionRatio","includes","_uid","setItem","stringify","threshold","observe","disconnect","_jsx","className","style","backgroundColor","ref","children","Row","_jsxs","_Fragment","title","Swiper","modules","Pagination","trim","slidesPerGroup","spaceBetween","loop","rewind","allowTouchMove","grabCursor","pagination","clickable","breakpoints","onSwiper","onSlideChange","onReachBeginning","onReachEnd","onFromEdge","map","item","index","SwiperSlide","DeviceGalleryItem","titleColor","deviceGalleryItemTitleColor","subtitleColor","deviceGalleryItemSubtitleColor","type","onClick","slidePrev","src","DEVICE_GALLERY_ARROW_ICONS","left","active","alt","inactive","slideNext","right"],"mappings":"2eA8BA,MAcMA,EAAmB,IACD,oBAAXC,OAA+B,EACtCA,OAAOC,YAAc,KAAa,EAClCD,OAAOC,YAAc,KAAa,EAClCD,OAAOC,YAAc,IAAY,EAC9B,EAGHC,EAAoB,EACxBC,UACAC,iBACAC,yBACAC,kBAAiB,MAEjB,MAAMC,EAA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yFXlC,SAAA,CAEtBL,EAAA,MAAA,CAAKC,UAAWnC,EAAO,gBAAiB0E,IAAKC,EAA2BC,KAAKC,OAAQC,IAAI,KACzF5C,EAAA,MAAA,CAAKC,UAAWnC,EAAO,kBAAmB0E,IAAKC,EAA2BC,KAAKG,SAAUD,IAAI,QAGhG7E,IAAgBE,IAAeV,IAC9BgD,EAAA,SAAA,CACEN,UAAW,GAAGnC,EAAc,SAAKA,EAAO,gBACxCuE,KAAK,SAAQ,aACF,aACXC,QAnGI,WAAM,OAAiB,QAAjBlD,EAAAjC,EAAUuB,eAAO,IAAAU,OAAA,EAAAA,EAAE0D,aAmGXzC,SAAA,CAElBL,EAAA,MAAA,CAAKC,UAAWnC,EAAO,gBAAiB0E,IAAKC,EAA2BM,MAAMJ,OAAQC,IAAI,KAC1F5C,EAAA,MAAA,CAAKC,UAAWnC,EAAO,kBAAmB0E,IAAKC,EAA2BM,MAAMF,SAAUD,IAAI"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './CartItems.css';
|
|
2
|
-
import{jsxs as l,jsx as i,Fragment as n}from"react/jsx-runtime";import{useMemo as e}from"react";import a from"./CartItems.module.scss.js";import{countZero as o}from"../../../../utils/utilities.js";import{DEVICE as d,ACCESSORY as r,WATCH as
|
|
2
|
+
import{jsxs as l,jsx as i,Fragment as n}from"react/jsx-runtime";import{useMemo as e}from"react";import a from"./CartItems.module.scss.js";import{countZero as o}from"../../../../utils/utilities.js";import{DEVICE as d,ACCESSORY as r,WATCH as t,TABLET as s,HOME_SECURITY_ACCESSORY as c,FULL_PAYMENT as m,SMART_UPGRADE as v,FLEX_UPGRADE as u}from"../../../Constants.js";const p=(l,i)=>{const{smartAndflexText:n,smartUpgradeTxt:e,flexUpgradeTxt:a}=i||{},o=l.includes(v),d=l.includes(u);return o&&d?n||`${v} & ${u}`:o?e||v:d?a||u:null},h=({cartItems:v,content:u})=>{const{items:h,mnthLbl:g,downPaymentLbl:N,downPaymentDesc:y}=u||{},f=e(()=>{const l={};return null==h||h.forEach(i=>{var n;(null==i?void 0:i.id)&&(l[i.id]={text:null==i?void 0:i.text,icon:null===(n=null==i?void 0:i.icon)||void 0===n?void 0:n.filename})}),l},[h]),x=v.some(l=>[d,r,t,s,c].includes(null==l?void 0:l.category)&&(null==l?void 0:l.paymentTerm)!==m);return l("div",{className:a.container,children:[i("ul",{className:a.itemList,children:(null==v?void 0:v.length)>0&&v.map(e=>{var d,r,t,s,v,h,y,x,T,b,w;const P=(null==e?void 0:e.paymentTerm)===m,I=!!(null===(r=null===(d=null==e?void 0:e.price)||void 0===d?void 0:d.oneTime)||void 0===r?void 0:r.original)&&!P,L=P?null===(t=null==e?void 0:e.price)||void 0===t?void 0:t.oneTime:null===(s=null==e?void 0:e.price)||void 0===s?void 0:s.recurring,$=!!(null==L?void 0:L.final),j=$?null==L?void 0:L.final:null==L?void 0:L.original,q=null==L?void 0:L.original,C=(null==e?void 0:e.imageUrl)||(null===(v=f[null==e?void 0:e.category])||void 0===v?void 0:v.icon),U=(null==e?void 0:e.category)===c&&(null==e?void 0:e.quantity)?`${e.quantity}x ${null==e?void 0:e.name}`:null==e?void 0:e.name;return i("li",{className:a.item,children:l("div",{className:a.itemContent,children:[i("div",{className:a.itemIcon,children:C&&i("img",{src:`${C}/m/40x0/filters:format(webp):quality(60)`,alt:"","aria-hidden":"true",className:a.itemIconImage})}),l("div",{className:a.itemBody,children:[l("div",{className:a.itemRow,children:[l("div",{className:a.itemDetails,children:[l("span",{className:a.categoryLabel,children:[(null===(h=f[null==e?void 0:e.category])||void 0===h?void 0:h.text)||(null==e?void 0:e.category),(null==e?void 0:e.badges)&&(null===(y=null==e?void 0:e.badges)||void 0===y?void 0:y.length)>0&&p(e.badges,u)&&l(n,{children:[" ",p(e.badges,u)]})]}),i("span",{className:a.productName,children:U}),(null==e?void 0:e.variant)&&i("span",{className:a.variantText,children:null==e?void 0:e.variant})]}),l("div",{className:a.itemPricing,children:[j&&l("span",{className:a.monthlyPrice,children:[o(j),!P&&g&&i("span",{children:g})]}),$&&q&&i("span",{className:a.originalPrice,children:o(q)})]})]}),I&&(null===(T=null===(x=null==e?void 0:e.price)||void 0===x?void 0:x.oneTime)||void 0===T?void 0:T.original)&&l("div",{className:a.downPaymentRow,children:[N&&i("span",{className:a.downPaymentLabel,children:N}),i("span",{className:a.downPaymentAmount,children:o(null===(w=null===(b=null==e?void 0:e.price)||void 0===b?void 0:b.oneTime)||void 0===w?void 0:w.original)})]})]})]})},null==e?void 0:e.id)})}),y&&x&&i("p",{className:a.disclaimer,children:y})]})};export{h as default};
|
|
3
3
|
//# sourceMappingURL=CartItems.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CartItems.js","sources":["../../../../../../../src/components/FalconMainNavigation/CartOverlay/CartItems/CartItems.tsx"],"sourcesContent":[null],"names":["getBadgeText","badges","content","smartAndflexText","smartUpgradeTxt","flexUpgradeTxt","hasSmart","includes","SMART_UPGRADE","hasFlex","FLEX_UPGRADE","CartItems","cartItems","items","categoryItems","mnthLbl","downPaymentLbl","downPaymentDesc","
|
|
1
|
+
{"version":3,"file":"CartItems.js","sources":["../../../../../../../src/components/FalconMainNavigation/CartOverlay/CartItems/CartItems.tsx"],"sourcesContent":[null],"names":["getBadgeText","badges","content","smartAndflexText","smartUpgradeTxt","flexUpgradeTxt","hasSmart","includes","SMART_UPGRADE","hasFlex","FLEX_UPGRADE","CartItems","cartItems","items","categoryItems","mnthLbl","downPaymentLbl","downPaymentDesc","categoryMap","useMemo","map","forEach","c","id","text","icon","_a","filename","hasDownPaymentCategory","some","item","DEVICE","ACCESSORY","WATCH","TABLET","HOME_SECURITY_ACCESSORY","category","paymentTerm","FULL_PAYMENT","_jsxs","className","styles","container","children","_jsx","itemList","length","isFullPayment","hasDownPayment","_b","price","oneTime","original","activePrice","_c","_d","recurring","hasDiscount","final","recurringPrice","originalPrice","iconUrl","imageUrl","_e","productName","quantity","name","itemContent","itemIcon","src","alt","itemIconImage","itemBody","itemRow","itemDetails","categoryLabel","_f","_g","_Fragment","variant","variantText","itemPricing","monthlyPrice","countZero","_j","_h","downPaymentRow","downPaymentLabel","downPaymentAmount","_l","_k","disclaimer"],"mappings":"8WAoDA,MAAMA,EAAe,CAACC,EAAkBC,KACtC,MAAMC,iBAAEA,EAAgBC,gBAAEA,EAAeC,eAAEA,GAAmBH,GAAW,CAAA,EACnEI,EAAWL,EAAOM,SAASC,GAC3BC,EAAUR,EAAOM,SAASG,GAChC,OAAIJ,GAAYG,EAAgBN,GAAoB,GAAGK,OAAmBE,IACtEJ,EAAiBF,GAAmBI,EACpCC,EAAgBJ,GAAkBK,EAC/B,MAGHC,EAAY,EAAGC,YAAWV,cAC9B,MAAQW,MAAOC,EAAaC,QAAEA,EAAOC,eAAEA,EAAcC,gBAAEA,GAAoBf,GAAW,CAAA,EAChFgB,EAAcC,EAAQ,KAC1B,MAAMC,EAAwD,CAAA,EAM9D,OALAN,SAAAA,EAAeO,QAASC,WAClBA,aAAC,EAADA,EAAGC,MACLH,EAAIE,EAAEC,IAAM,CAAEC,KAAMF,eAAAA,EAAGE,KAAMC,KAAa,QAAPC,EAAAJ,aAAC,EAADA,EAAGG,YAAI,IAAAC,OAAA,EAAAA,EAAEC,aAGzCP,GACN,CAACN,IAEEc,EAAyBhB,EAAUiB,KAAMC,GAC7C,CAACC,EAAQC,EAAWC,EAAOC,EAAQC,GAAyB5B,SAASuB,eAAAA,EAAMM,YAAaN,aAAI,EAAJA,EAAMO,eAAgBC,GAGhH,OACEC,EAAA,MAAA,CAAKC,UAAWC,EAAOC,UAASC,SAAA,CAC9BC,EAAA,KAAA,CAAIJ,UAAWC,EAAOI,SAAQF,UAC3B/B,aAAS,EAATA,EAAWkC,QAAS,GAAKlC,EAAUQ,IAAKU,8BACvC,MAAMiB,GAAgBjB,aAAI,EAAJA,EAAMO,eAAgBC,EACtCU,KAAuC,QAApBC,UAAAvB,EAAAI,aAAI,EAAJA,EAAMoB,4BAAOC,eAAO,IAAAF,O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js","sources":["../../../../../../src/components/FalconMainNavigation/CartOverlay/CartOverlay.tsx"],"sourcesContent":[null],"names":["CartOverlay","isOpen","onClose","content","isMobile","setIsMobile","useState","showClearConfirm","setShowClearConfirm","items","totals","itemCount","checkout","isLoading","error","placeOrderEligible","useCartData","errorMsg","useEffect","window","matchMedia","innerWidth","mq","matches","handler","e","addEventListener","removeEventListener","_jsxs","_Fragment","children","_jsx","className","styles","backdrop","onMouseDown","Offcanvas","show","placement","onHide","scroll","style","height","width","minWidth","maxWidth","border","CartHeader","onClearAll","Body","CartDotLoader","loadingMsg","errorMessage","length","CartItems","cartItems","EmptyCart","CartFooter","footerBtnLbl","footer","type","dismissButton","onClick","CartClearConfirm","onCancel"],"mappings":"
|
|
1
|
+
{"version":3,"file":"CartOverlay.js","sources":["../../../../../../src/components/FalconMainNavigation/CartOverlay/CartOverlay.tsx"],"sourcesContent":[null],"names":["CartOverlay","isOpen","onClose","content","isMobile","setIsMobile","useState","showClearConfirm","setShowClearConfirm","items","totals","itemCount","checkout","isLoading","error","placeOrderEligible","useCartData","errorMsg","useEffect","window","matchMedia","innerWidth","mq","matches","handler","e","addEventListener","removeEventListener","_jsxs","_Fragment","children","_jsx","className","styles","backdrop","onMouseDown","Offcanvas","show","placement","onHide","scroll","style","height","width","minWidth","maxWidth","border","CartHeader","onClearAll","Body","CartDotLoader","loadingMsg","errorMessage","length","CartItems","cartItems","EmptyCart","CartFooter","footerBtnLbl","footer","type","dismissButton","onClick","CartClearConfirm","onCancel"],"mappings":"kfA2DA,MAAMA,EAAc,EAAGC,SAAQC,UAASC,cACtC,MAAOC,EAAUC,GAAeC,GAAS,IAClCC,EAAkBC,GAAuBF,GAAS,IACnDG,MAAEA,EAAKC,OAAEA,EAAMC,UAAEA,EAASC,SAAEA,EAAQC,UAAEA,EAASC,MAAEA,EAAKC,mBAAEA,GAAuBC,EACnFf,EACAE,aAAO,EAAPA,EAASc,UAGXC,EAAU,KACHjB,GACHO,GAAoB,IAErB,CAACP,I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,MAAA,CAAKC,UAAWC,EAAO0B,OAAM7B,SAC3BC,YACE6B,KAAK,SACL5B,UAAWC,EAAO4B,cAClBC,QAAS5D,WAERC,aAAO,EAAPA,EAASuD,iBAMjBnD,GACCwB,EAACgC,EAAgB,CACf5D,QAASA,EACT6D,SAAU,IAAMxD,GAAoB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './NavigationMenuItem.css';
|
|
2
|
-
import{jsxs as t,Fragment as i,jsx as e}from"react/jsx-runtime";import o from"./NavigationMenuItem.module.scss.js";import{resolveStoryblokLink as l,getStaticAssetPath as n}from"../shared.js";import{trackEvent as r,trackNewDatalayerEvent as a}from"../../../utils/AnalyticUtils.js";import{
|
|
2
|
+
import{jsxs as t,Fragment as i,jsx as e}from"react/jsx-runtime";import o from"./NavigationMenuItem.module.scss.js";import{resolveStoryblokLink as l,getStaticAssetPath as n}from"../shared.js";import{trackEvent as r,trackNewDatalayerEvent as a}from"../../../utils/AnalyticUtils.js";import{MAINNAVIGATION as s,MAINNAVCLICK as c,GAEVENT as u,TYPE as d}from"../../../utils/AnalyticsConstants.js";import m from"../SubNavigation/SubNavigation.js";import{useNavStoreData as v}from"../NavContext.js";const g=({content:g,activeNavLinkId:p,metadata:h,promoIcon:b,promoTextColor:k,promoTextGradient:N,subNavigationFontWeight:x,iconPlacement:f,isBlackFriday:_=!1})=>{const{navStore:C,setActiveDeskId:j,reset:I}=v(),y=l(h,null==g?void 0:g.url),B=Boolean(g.isPromotion),D="string"==typeof b?b:null==b?void 0:b.filename,T=Boolean(D),$=n("/icons/discount_circle_blue.svg"),F=null==N?void 0:N.replace("background:","").replace(/;/g,"").trim();return t(i,{children:[e("a",{href:g.url.cached_url?y:"/",className:`${o["nav-link"]} ${_?o.inverted:""} ${C.activeDeskId===g._uid||p===g._uid?"sunrise-bold":""} ${B?"is-promo":""}`.trim(),title:g.title,onClick:t=>((t,i,e)=>{var o,l;const n=(null===(o=null==g?void 0:g.url)||void 0===o?void 0:o.url)?null===(l=null==g?void 0:g.url)||void 0===l?void 0:l.url:"#";return C.activeDeskId===i?(r(s,g.title,d),a(u,c,{link_url:n,click_text:null==g?void 0:g.title}),j(""),t.preventDefault()):(r(s,g.title,d),a(u,c,{link_url:n,click_text:null==g?void 0:g.title}),e?(j(i),t.preventDefault()):void I())})(t,g._uid,!!g.subNavigation.length),style:Object.assign(Object.assign({},B&&N?{background:F,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"}:B&&k?{color:k}:g.textColor?{color:g.textColor}:{}),B||g.isBold?{fontWeight:700}:{}),children:t("div",{className:o.outer,children:[B&&T?e("img",{src:D,height:24,width:24,alt:"promo icon"}):null,g.title,B&&!T?e("img",{src:$,height:24,width:24,alt:"promo icon"}):!B&&g.subNavigation.length>0?e("img",{className:o["menu-icon"],src:g.icon,height:24,width:24,alt:"icon"}):null]})}),e("div",{className:""+(C.activeDeskId==g._uid?"active-item":""),children:g.subNavigation.length>0&&e("div",{className:`sunrise-box-shadow ${o.submenu} ${_?o.inverted:""}`,children:e(m,{content:g.subNavigation,mainTitle:g.title,metadata:h,promoIcon:b,promoTextColor:k,promoTextGradient:N,subNavigationFontWeight:x,iconPlacement:f,isBlackFriday:_})})})]})};export{g as default};
|
|
3
3
|
//# sourceMappingURL=NavigationMenuItem.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './ProfileLinkOut.css';
|
|
2
|
-
import{
|
|
2
|
+
import{jsxs as e,Fragment as l,jsx as i}from"react/jsx-runtime";import{useState as o}from"react";import n from"./ProfileLinkOut.module.scss.js";import{trackNewDatalayerEvent as a}from"../../../utils/AnalyticUtils.js";import{MYPROFILECLICK as r,GAEVENT as t,MAINNAVCLICK as c,SUBNAVCLICK as s,PROFILELOGOUT as d,PROFILECLICK as m,LOGINCLICK as u}from"../../../utils/AnalyticsConstants.js";import{AUTHCOOKIE as f,AUTHSTAMP as h,CUSTOMER_GROUP_NEW_CUSTOMER_VALUE as g}from"../../Constants.js";import{setCustomerSegment as v}from"../../../services/customerSegmentSync.js";import{getStaticAssetPath as k}from"../shared.js";import N from"../useOnClickOutside.js";const p=({link:p,title:w,logoutLabel:y,salutationLabel:$,userIcon:C,arrowRight:_,arrowDown:b,logoutIcon:x,isBlackFriday:I=!1,logoutUrl:j})=>{var S;const[O,H]=o(()=>(()=>{if("undefined"==typeof document)return;const e=`${f}=`,l=document.cookie.split(";");for(let i of l){for(;" "===i.charAt(0);)i=i.substring(1);if(0===i.indexOf(e))try{const l=JSON.parse(decodeURIComponent(i.substring(e.length,i.length)));return!l.personalisedName&&l.firstName&&l.lastName&&(l.personalisedName=`${l.firstName[0]}${l.lastName[0]}`),l}catch(e){return}}})()),[U,A]=o(!1),[L,R]=o(!1),T=N(A,!1,U),B=(null==C?void 0:C.filename)||k("/HeaderIcons/new_profile_icon.svg"),D=(null==_?void 0:_.filename)||k("/HeaderIcons/arrow-right.svg"),E=(null==b?void 0:b.filename)||k("/HeaderIcons/red_down_arrow.svg"),F=(null==x?void 0:x.filename)||k("/HeaderIcons/logout.svg"),G=(null==p?void 0:p.cached_url)||(null==p?void 0:p.url)||"/",J=()=>{var e,l;try{window.sessionStorage.removeItem(h),localStorage.removeItem("userNameType"),v(g),null===(e=window.sprChat)||void 0===e||e.call(window,"updateUserSettings",{}),null===(l=window.sprChat)||void 0===l||l.call(window,"updateConversationContext",{context:{_c_6a7da0de1b5a558bacdf66c2:["Yes"]}}),"function"==typeof window.wonderfulChat&&window.wonderfulChat("logout")}catch(e){}H(void 0)},P=()=>{a(t,s,{link_url:"#",click_text:y}),a(t,d,{click_text:y});const e=()=>{"undefined"!=typeof window&&window.location.reload()};if(!j)return J(),void e();fetch(j,{method:"GET"}).then(e=>{e.ok&&J()}).catch(()=>{}).finally(()=>{e()})},Y=()=>{O?a(t,m,{click_text:O.personalisedName}):a(t,u,{click_text:w})},q=e(l,{children:[i("div",{className:n["profile-icon"],style:{backgroundImage:`url(${B})`}}),i("div",{className:n["profile-name"],children:O?O.personalisedName:w}),i("div",O?{className:n["profile-arrow-down-icon"],style:{backgroundImage:`url(${E})`}}:{className:n["profile-arrow-icon"],style:{backgroundImage:`url(${D})`}})]}),z=e("div",{className:`${n["login-flyover"]} ${I?n["black-friday"]:""}`,children:[O&&e("div",{className:n.salutation,children:[$||""," ",O.firstName?`${O.firstName} ${null!==(S=O.lastName)&&void 0!==S?S:""}`:""]}),e("div",{className:"d-none d-md-block",children:[i("div",{className:n.mysunrise,onClick:()=>a(t,r,{click_text:w}),children:i("a",{href:G,children:w})}),O&&y&&i("div",{className:n.logout,children:e("a",{onClick:P,children:[y,i("img",{className:n.logout1,src:F,alt:"logout"})]})})]}),e("div",{className:"d-md-none",children:[i("a",{href:G,onClick:()=>a(t,r,{click_text:w}),children:i("div",{className:n.mysunrise,children:w})}),O&&y&&i("a",{onClick:P,children:e("div",{className:n.logout,children:[y,i("img",{className:"d-md-none",src:F,alt:"logout"})]})})]})]});return O?e(l,{children:[e("div",{ref:T,className:"d-none d-md-block",children:[i("a",{onClick:()=>{A(e=>!e),Y()},className:`d-flex align-items-center ${n.section} ${U?n.highlight:""} ${I?n["black-friday"]:""}`,children:q}),U&&z]}),e("div",{className:"d-md-none",children:[i("a",{onClick:()=>{R(e=>!e),Y()},className:`d-flex align-items-center ${n.section} ${L?n["section-clicked"]:""} ${I?n["black-friday"]:""}`,children:q}),L&&z]})]}):i("a",{href:G,className:`d-flex ${n["non-section"]} ${I?n["black-friday"]:""}`,onClick:()=>{a(t,c,{link_url:null==p?void 0:p.cached_url,click_text:w}),Y()},children:q})};export{p as default};
|
|
3
3
|
//# sourceMappingURL=ProfileLinkOut.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileLinkOut.js","sources":["../../../../../../src/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.tsx"],"sourcesContent":[null],"names":["ProfileLinkOut","link","title","logoutLabel","salutationLabel","userIcon","arrowRight","arrowDown","logoutIcon","isBlackFriday","logoutUrl","authData","setAuthData","useState","document","name","AUTHCOOKIE","cookies","cookie","split","charAt","substring","indexOf","parsed","JSON","parse","decodeURIComponent","length","personalisedName","firstName","lastName","_a","readAuthCookie","desktopPopup","setDesktopPopup","mobilePopup","setMobilePopup","popUpRef","useOnClickOutside","profileIconSrc","filename","getStaticAssetPath","arrowRightSrc","arrowDownSrc","logoutIconSrc","linkHref","cached_url","url","
|
|
1
|
+
{"version":3,"file":"ProfileLinkOut.js","sources":["../../../../../../src/components/FalconMainNavigation/ProfileLinkOut/ProfileLinkOut.tsx"],"sourcesContent":[null],"names":["ProfileLinkOut","link","title","logoutLabel","salutationLabel","userIcon","arrowRight","arrowDown","logoutIcon","isBlackFriday","logoutUrl","authData","setAuthData","useState","document","name","AUTHCOOKIE","cookies","cookie","split","charAt","substring","indexOf","parsed","JSON","parse","decodeURIComponent","length","personalisedName","firstName","lastName","_a","readAuthCookie","desktopPopup","setDesktopPopup","mobilePopup","setMobilePopup","popUpRef","useOnClickOutside","profileIconSrc","filename","getStaticAssetPath","arrowRightSrc","arrowDownSrc","logoutIconSrc","linkHref","cached_url","url","clearClientAuthState","window","sessionStorage","removeItem","AUTHSTAMP","localStorage","setCustomerSegment","CUSTOMER_GROUP_NEW_CUSTOMER_VALUE","sprChat","call","_b","context","_c_6a7da0de1b5a558bacdf66c2","wonderfulChat","_c","undefined","handleLogout","trackNewDatalayerEvent","GAEVENT","SUBNAVCLICK","link_url","click_text","PROFILELOGOUT","reload","location","fetch","method","then","response","ok","catch","finally","profileClick","PROFILECLICK","LOGINCLICK","ProfileContent","_jsxs","_Fragment","children","_jsx","className","styles","style","backgroundImage","FlyOverContent","onClick","MYPROFILECLICK","href","src","alt","ref","prev","MAINNAVCLICK"],"mappings":"ipBA0CA,MA+BMA,EAAiB,EACrBC,OACAC,QACAC,cACAC,kBACAC,WACAC,aACAC,YACAC,aACAC,iBAAgB,EAChBC,sBAEA,MAAOC,EAAUC,GAAeC,EAAqC,IA3ChD,MACrB,GAAwB,o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SAAUnE,aAAI,EAAJA,EAAM6C,WAChBuB,WAAYnE,IAEd8E,KACDM,SAEAH"}
|
|
@@ -62,16 +62,6 @@
|
|
|
62
62
|
align-items: center;
|
|
63
63
|
justify-content: center;
|
|
64
64
|
}
|
|
65
|
-
.GlobalPromoRibbon-module__globalPromoRibbon___P85VQ .GlobalPromoRibbon-module__buttonSection___mhUVI .GlobalPromoRibbon-module__global-promo-timer-section___otQ38 {
|
|
66
|
-
display: flex;
|
|
67
|
-
padding: 4px 4px;
|
|
68
|
-
border-radius: 16px;
|
|
69
|
-
}
|
|
70
|
-
.GlobalPromoRibbon-module__globalPromoRibbon___P85VQ .GlobalPromoRibbon-module__buttonSection___mhUVI .timer-wrap,
|
|
71
|
-
.GlobalPromoRibbon-module__globalPromoRibbon___P85VQ .GlobalPromoRibbon-module__buttonSection___mhUVI .timer-container,
|
|
72
|
-
.GlobalPromoRibbon-module__globalPromoRibbon___P85VQ .GlobalPromoRibbon-module__buttonSection___mhUVI .transparent-element {
|
|
73
|
-
isolation: isolate;
|
|
74
|
-
}
|
|
75
65
|
.GlobalPromoRibbon-module__globalPromoRibbon___P85VQ .GlobalPromoRibbon-module__buttons___2VjNK {
|
|
76
66
|
display: flex;
|
|
77
67
|
gap: 16px;
|
|
@@ -109,23 +99,6 @@
|
|
|
109
99
|
gap: 12px;
|
|
110
100
|
flex-wrap: nowrap;
|
|
111
101
|
}
|
|
112
|
-
.GlobalPromoRibbon-module__globalPromoRibbon___P85VQ.GlobalPromoRibbon-module__desktopBreakline___xZGrP .GlobalPromoRibbon-module__card___3ODSA {
|
|
113
|
-
flex-direction: column;
|
|
114
|
-
gap: 6px;
|
|
115
|
-
}
|
|
116
|
-
.GlobalPromoRibbon-module__globalPromoRibbon___P85VQ.GlobalPromoRibbon-module__desktopBreakline___xZGrP .GlobalPromoRibbon-module__buttonSection___mhUVI {
|
|
117
|
-
padding-left: 0;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
/* Tablet modifier */
|
|
121
|
-
@media (min-width: 768px) and (max-width: 1023px) {
|
|
122
|
-
.GlobalPromoRibbon-module__globalPromoRibbon___P85VQ.GlobalPromoRibbon-module__desktopBreakline___xZGrP .GlobalPromoRibbon-module__card___3ODSA {
|
|
123
|
-
flex-direction: column;
|
|
124
|
-
gap: 6px;
|
|
125
|
-
}
|
|
126
|
-
.GlobalPromoRibbon-module__globalPromoRibbon___P85VQ.GlobalPromoRibbon-module__desktopBreakline___xZGrP .GlobalPromoRibbon-module__buttonSection___mhUVI {
|
|
127
|
-
padding-left: 0;
|
|
128
|
-
}
|
|
129
102
|
}
|
|
130
103
|
/* Mobile only */
|
|
131
104
|
@media (max-width: 767px) {
|
|
@@ -135,9 +108,6 @@
|
|
|
135
108
|
min-height: 100px;
|
|
136
109
|
padding: 10px 0;
|
|
137
110
|
}
|
|
138
|
-
.GlobalPromoRibbon-module__globalPromoRibbon___P85VQ .GlobalPromoRibbon-module__card___3ODSA.GlobalPromoRibbon-module__timer-active___81xLF {
|
|
139
|
-
padding-bottom: 0;
|
|
140
|
-
}
|
|
141
111
|
.GlobalPromoRibbon-module__globalPromoRibbon___P85VQ .GlobalPromoRibbon-module__closeIconMobile___8EkZL {
|
|
142
112
|
position: absolute;
|
|
143
113
|
right: 20px;
|
|
@@ -154,9 +124,6 @@
|
|
|
154
124
|
margin-left: 0;
|
|
155
125
|
width: 100%;
|
|
156
126
|
}
|
|
157
|
-
.GlobalPromoRibbon-module__globalPromoRibbon___P85VQ .GlobalPromoRibbon-module__buttonSection___mhUVI .GlobalPromoRibbon-module__global-promo-timer-section___otQ38 {
|
|
158
|
-
padding: 2px 6px !important;
|
|
159
|
-
}
|
|
160
127
|
.GlobalPromoRibbon-module__globalPromoRibbon___P85VQ .GlobalPromoRibbon-module__buttons___2VjNK {
|
|
161
128
|
gap: 10px;
|
|
162
129
|
justify-content: center;
|
|
@@ -165,7 +132,7 @@
|
|
|
165
132
|
.GlobalPromoRibbon-module__globalPromoRibbon___P85VQ .GlobalPromoRibbon-module__descriptionBlockSection___lf74x {
|
|
166
133
|
width: 100%;
|
|
167
134
|
min-height: 24px;
|
|
168
|
-
padding: 0 20px;
|
|
135
|
+
padding: 0 52px 0 20px;
|
|
169
136
|
margin-left: 0;
|
|
170
137
|
box-sizing: border-box;
|
|
171
138
|
}
|
|
@@ -203,10 +170,6 @@
|
|
|
203
170
|
min-height: 61px;
|
|
204
171
|
padding: 8px 0;
|
|
205
172
|
}
|
|
206
|
-
.GlobalPromoRibbon-module__globalPromoRibbon___P85VQ.GlobalPromoRibbon-module__slim___uw0I-.GlobalPromoRibbon-module__desktopBreakline___xZGrP .GlobalPromoRibbon-module__card___3ODSA {
|
|
207
|
-
height: auto;
|
|
208
|
-
min-height: 0;
|
|
209
|
-
}
|
|
210
173
|
.GlobalPromoRibbon-module__globalPromoRibbon___P85VQ.GlobalPromoRibbon-module__slim___uw0I- .GlobalPromoRibbon-module__buttonSection___mhUVI {
|
|
211
174
|
flex-direction: row;
|
|
212
175
|
margin: 0;
|
|
@@ -245,15 +208,6 @@
|
|
|
245
208
|
.GlobalPromoRibbon-module__globalPromoRibbon___P85VQ .GlobalPromoRibbon-module__descriptionBlockSection___lf74x {
|
|
246
209
|
margin-left: 0;
|
|
247
210
|
}
|
|
248
|
-
.GlobalPromoRibbon-module__globalPromoRibbon___P85VQ.GlobalPromoRibbon-module__desktopBreakline___xZGrP .GlobalPromoRibbon-module__descriptionBlockSection___lf74x {
|
|
249
|
-
width: 100%;
|
|
250
|
-
justify-content: center;
|
|
251
|
-
}
|
|
252
|
-
.GlobalPromoRibbon-module__globalPromoRibbon___P85VQ.GlobalPromoRibbon-module__desktopBreakline___xZGrP .GlobalPromoRibbon-module__buttonSection___mhUVI {
|
|
253
|
-
width: 100%;
|
|
254
|
-
padding-left: 0;
|
|
255
|
-
justify-content: center;
|
|
256
|
-
}
|
|
257
211
|
}
|
|
258
212
|
/* Desktop and above */
|
|
259
213
|
@media (min-width: 1024px) {
|