1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[67],{25407:function(e,t,n){n.r(t);var a=n(8),o=n(80045),r=(n(65043),n(78083)),i=n(40784),l=n(28801),s=n(86936),c=n(75327),d=n(67349),u=n(39542),p=n(12105),m=n(15572),g=n(66324),v=n(70579),b=["cqItems","id"],f=(0,u.A)((0,m.A)(e=>{var t=e.model,{cqItems:n,id:u}=t,m=(0,o.A)(t,b),{getDataTestIdObject:g}=e,f=(0,p.R)(e,m),h=(0,a.A)({items:Object.values(null!==n&&void 0!==n?n:{}).map(e=>{var t={model:(0,a.A)((0,a.A)({},e),{},{cqItems:e[":items"],cqItemsOrder:e[":itemsOrder"],cqType:e[":type"]})};return(0,a.A)((0,a.A)({titleProps:{title:(null===e||void 0===e?void 0:e.title)||"",imageProps:{src:null===e||void 0===e?void 0:e.imagePath,height:null===e||void 0===e?void 0:e.imageHeight,width:null===e||void 0===e?void 0:e.imageWidth,imageAlt:null===e||void 0===e?void 0:e.imgAlt,imageSrcSetData:null===e||void 0===e?void 0:e.imageSrcSet}}},null!==e&&void 0!==e&&e.gtmItem&&e.gtmItem.length>0?{onToggle:(t,n)=>{n&&null!==e&&void 0!==e&&e.gtmItem&&(0,d.U)(e.gtmItem)}}:{}),{},{children:(0,v.jsx)(s.A,{model:(0,a.A)({},t)})})})},g("accordion",u));return(0,v.jsxs)(r.EditableComponent,(0,a.A)((0,a.A)({},f),{},{children:[c.A.isEmpty(e)?c.A.emptyLabel:null,!c.A.isEmpty(e)&&(l.AuthoringUtils.isInEditor()?(0,v.jsx)(s.A,(0,a.A)({},e)):(0,v.jsx)(i.n,(0,a.A)({},h)))]}))})),h=(0,g.Xc)(f,{componentName:"Accordion",fallback:(0,v.jsx)(g.xP,{componentName:"Accordion"})});t.default=h},50518:function(e,t,n){n.r(t);var a=n(8),o=n(80045),r=(n(65043),n(78083)),i=n(28801),l=n(40784),s=n(86936),c=n(64260),d=n(39542),u=n(12105),p=n(81931),m=n(15572),g=n(66324),v=n(70579),b=["id","title","imagePath","imageHeight","imageWidth","imgAlt","imageSrcSet"],f=(0,d.A)((0,m.A)(e=>{var t=e.model,{id:n,title:d,imagePath:m,imageHeight:g,imageWidth:f,imgAlt:h,imageSrcSet:C}=t,y=(0,o.A)(t,b),{getDataTestIdObject:A}=e,x=(0,u.R)(e,y),S=(0,a.A)({items:[{titleProps:{title:d||"",imageProps:{src:m,height:g,width:f,imageAlt:h,imageSrcSetData:C}}}]},A("accordion-item",n));return(0,v.jsxs)(r.EditableComponent,(0,a.A)((0,a.A)({},x),{},{children:[c.A.isEmpty(e)?c.A.emptyLabel:null,!c.A.isEmpty(e)&&(i.AuthoringUtils.isInEditor()?(0,v.jsxs)(p.A,{label:c.A.emptyLabel,children:[(0,v.jsx)(l.n,(0,a.A)({},S)),(0,v.jsx)(s.A,(0,a.A)({},e))]}):null)]}))})),h=(0,g.Xc)(f,{componentName:"AccordionItem",fallback:(0,v.jsx)(g.xP,{componentName:"AccordionItem"})});t.default=h},95005:function(e,t,n){n.r(t);var a=n(8),o=n(80045),r=(n(65043),n(78083)),i=n(52415),l=n(49291),s=n(5492),c=n(38379),d=n(22625),u=n(67349),p=n(15136),m=n(32813),g=n(39542),v=n(12105),b=n(87520),f=n(15572),h=n(66324),C=n(70579),y=["text","textAlign","buttonVariant","buttonSize","accessibilityLabel","iconPosition","buttonWidth","buttonLink","icon","marginBottom","appliedCssClassNames","additionalClasses","id","type","gtmItems","onClick"],A=(0,g.A)((0,f.A)(e=>{var t,n,g,f,h=e.model,{text:A,textAlign:x,buttonVariant:S,buttonSize:E,accessibilityLabel:w,iconPosition:k,buttonWidth:L,buttonLink:P,icon:I,marginBottom:R,appliedCssClassNames:O,additionalClasses:T,id:N,type:B,gtmItems:j,onClick:M}=h,$=(0,o.A)(h,y),{getDataTestIdObject:F}=e,D=(0,v.R)(e,$),_=s.hd.Contained;switch(S){case"contained":_=s.hd.Contained;break;case"outlined":_=s.hd.Outlined;break;case"text":_=s.hd.Text}var z=s.lO.Medium;switch(E){case"small":z=s.lO.Small;break;case"medium":z=s.lO.Medium}var U=s.a0.Auto;switch(L){case"auto":U=s.a0.Auto;break;case"100%":U=s.a0.Full}var H=s.F1.Light;switch(O){case"cmp-theme--light":H=s.F1.Light;break;case"cmp-theme--dark":H=s.F1.Dark}var W=s.sp.Left;switch(k){case"DEFAULT":W=s.sp.Left;break;case"END":W=s.sp.Right}var V=(0,a.A)({label:A,"aria-label":w,buttonVariant:_,buttonSize:z,icon:I,iconPosition:W,buttonTheme:H,buttonWidth:U,linkUrl:null===P||void 0===P?void 0:P.url,linkTarget:null===P||void 0===P||null===(t=P.attributes)||void 0===t?void 0:t.target,className:T,id:N,type:B,onClick:()=>{null===M||void 0===M||M(),(0,u.U)(j||[])}},F("button",N)),q={component:c.Fm.P,hasMarginBottom:(0,p.qY)(R),textHorizontalAlignment:(0,p.Xq)(x)},X=null!==(n=null===T||void 0===T?void 0:T.includes("scan-enter-codes"))&&void 0!==n&&n,Y=null!==(g=(0,d.sD)(["SCAN CODES","SCAN CODES","ENTER CODES"]))&&void 0!==g?g:"",K=null!==(f=(0,d.sD)(["pmi-icon-scan","pmi-icon-scan",""]))&&void 0!==f?f:"";if(X){var G=(0,a.A)((0,a.A)({},V),{},{label:Y,icon:K});return(0,C.jsx)(r.EditableComponent,(0,a.A)((0,a.A)({},D),{},{children:(0,C.jsx)(b.F,{isAbleToClaim:!0,renderChildren:e=>(0,C.jsx)(i.E.TextSection,(0,a.A)((0,a.A)({},q),{},{children:(0,C.jsx)(l.$,(0,a.A)((0,a.A)({},G),{},{onClick:()=>{null===M||void 0===M||M(),(0,u.U)(j||[]),e()}}))}))})}))}return(0,C.jsx)(r.EditableComponent,(0,a.A)((0,a.A)({},D),{},{children:A?(0,C.jsx)(i.E.TextSection,(0,a.A)((0,a.A)({},q),{},{children:(0,C.jsx)(l.$,(0,a.A)({},V))})):m.A.emptyLabel}))})),x=(0,h.Xc)(A,{componentName:"Button",fallback:(0,C.jsx)(h.xP,{componentName:"Button"})});t.default=x},67333:function(e,t,n){n.r(t);var a=n(8),o=n(80045),r=(n(65043),n(78083)),i=n(52415),l=n(2335),s=n(38379),c=n(15136),d=n(25365),u=n(39542),p=n(12105),m=n(15572),g=n(66324),v=n(70579),b=["label","textAlign","color","borderColor","background","marginBottom","id"],f=(0,u.A)((0,m.A)(e=>{var t=e.model,{label:n,textAlign:u,color:m,borderColor:g,background:f,marginBottom:h,id:C}=t,y=(0,o.A)(t,b),{getDataTestIdObject:A}=e,x=(0,p.R)(e,y),S=(0,a.A)({id:C,label:n,color:m,borderColor:g,background:f},A("chip",C)),E={component:s.Fm.P,hasMarginBottom:(0,c.qY)(h),textHorizontalAlignment:(0,c.Xq)(u)};return(0,v.jsx)(r.EditableComponent,(0,a.A)((0,a.A)({},x),{},{children:n?(0,v.jsx)(i.E.TextSection,(0,a.A)((0,a.A)({},E),{},{children:(0,v.jsx)(l.v,(0,a.A)({},S))})):d.A.emptyLabel}))})),h=(0,g.Xc)(f,{componentName:"Chip",fallback:(0,v.jsx)(g.xP,{componentName:"Chip"})});t.default=h},31547:function(e,t,n){n.r(t);var a=n(8),o=n(80045),r=(n(65043),n(78083)),i=n(52415),l=n(21391),s=n(38379),c=n(66324),d=n(15136),u=n(94763),p=n(39542),m=n(12105),g=n(5932),v=n(15572),b=n(70579),f=["image","alt","height","width","imageRenditions","ariaLabel","imageWidth","textAlign","srcset","marginBottom","id","dmImage","renditionWidths","renditionHeights","linkClass"],h=(0,p.A)((0,v.A)(e=>{var t=e.model,{image:n,alt:c,height:p,width:v,imageRenditions:h,ariaLabel:C,imageWidth:y,textAlign:A,srcset:x,marginBottom:S,id:E,dmImage:w,renditionWidths:k,renditionHeights:L,linkClass:P}=t,I=(0,o.A)(t,f),{getDataTestIdObject:R}=e,O=(0,m.R)(e,I),T={component:s.Fm.P,hasMarginBottom:(0,d.qY)(S),textHorizontalAlignment:(0,d.Xq)(A)},N=(0,g.r)(null!==x&&void 0!==x?x:""),B=(0,a.A)((0,a.A)({},e.model),{},{srcSetData:N}),j=(0,a.A)((0,a.A)({},(0,d.DE)(B)),R("image",E));return(0,b.jsx)(r.EditableComponent,(0,a.A)((0,a.A)({},O),{},{children:null!==n&&void 0!==n&&n.src?(0,b.jsx)(i.E.TextSection,(0,a.A)((0,a.A)({},T),{},{children:(0,b.jsx)(l._,(0,a.A)({},j))})):u.A.emptyLabel}))})),C=(0,c.Xc)(h,{componentName:"Image",fallback:(0,b.jsx)(c.xP,{componentName:"Image"})});t.default=C},43557:function(e,t,n){n.r(t);var a=n(8),o=n(80045),r=(n(65043),n(78083)),i=n(52415),l=n(96109),s=n(21868),c=n(38379),d=n(66324),u=n(15136),p=n(99669),m=n(39542),g=n(12105),v=n(15572),b=n(70579),f=["id","label","ariaLabel","fontSize","textAlign","hyphenation","icon","iconPosition","linkTarget","linkUrl","additionalClasses","appliedCssClassNames","underline","marginBottom","onClick"],h=(0,m.A)((0,v.A)(e=>{var t=e.model,{id:n,label:d,ariaLabel:m,fontSize:v,textAlign:h,hyphenation:C,icon:y,iconPosition:A,linkTarget:x,linkUrl:S,additionalClasses:E,appliedCssClassNames:w,underline:k,marginBottom:L,onClick:P}=t,I=(0,o.A)(t,f),{getDataTestIdObject:R}=e,O=(0,g.R)(e,I),T=s.Eb.Left;switch(A){case"DEFAULT":T=s.Eb.Left;break;case"END":T=s.Eb.Right}var N=s.LO.Light;switch(w){case"cmp-theme--light":N=s.LO.Light;break;case"cmp-theme--dark":N=s.LO.Dark}var B=s.Zt.Always;switch(k){case"always":B=s.Zt.Always;break;case"hover":B=s.Zt.Hover;break;case"none":B=s.Zt.None}var j=s.Ct.Body1;switch(v){case"body1":j=s.Ct.Body1;break;case"body2":j=s.Ct.Body2;break;case"body3":j=s.Ct.Body3;break;case"fs1":j=s.Ct.Fs1;break;case"fs2":j=s.Ct.Fs2;break;case"fs3":j=s.Ct.Fs3;break;case"fs4":j=s.Ct.Fs4;break;case"fs5":j=s.Ct.Fs5;break;case"fs6":j=s.Ct.Fs6;break;case"h1":j=s.Ct.H1;break;case"h2":j=s.Ct.H2;break;case"h3":j=s.Ct.H3;break;case"h4":j=s.Ct.H4;break;case"h5":j=s.Ct.H5;break;case"h6":j=s.Ct.H6}var M=C?s.w4.Auto:s.w4.None,$=(0,a.A)({id:n,label:d,linkHorizontalAlignment:(0,u.Xq)(h),"aria-label":m,icon:y,iconPosition:T,linkTheme:N,linkUrl:S,linkTarget:x,hyphens:M,className:E,fontSize:j,underline:B,onClick:P},R("link",n)),F={component:c.Fm.P,hasMarginBottom:(0,u.qY)(L),textHorizontalAlignment:(0,u.Xq)(h)};return(0,b.jsx)(r.EditableComponent,(0,a.A)((0,a.A)({},O),{},{children:d&&d.length>0?(0,b.jsx)(i.E.TextSection,(0,a.A)((0,a.A)({},F),{},{children:(0,b.jsx)(l.N,(0,a.A)({},$))})):p.A.emptyLabel}))})),C=(0,d.Xc)(h,{componentName:"Link",fallback:(0,b.jsx)(d.xP,{componentName:"Link"})});t.default=C},69225:function(e,t,n){n.r(t);var a=n(8),o=n(80045),r=(n(65043),n(78083)),i=n(52415),l=n(98560),s=n(90916),c=n(66324),d=n(15136),u=n(7481),p=n(39542),m=n(12105),g=n(15572),v=n(70579),b=["id","items","type","appliedCssClassNames","marginBottom"],f=(0,p.A)((0,g.A)(e=>{var t=e.model,{id:n,items:c,type:p,appliedCssClassNames:g,marginBottom:f}=t,h=(0,o.A)(t,b),{getDataTestIdObject:C}=e,y=(0,m.R)(e,h),A=s.ax.None;switch(p){case"none":A=s.ax.None;break;case"ordered":A=s.ax.Ordered;break;case"unordered":A=s.ax.Unordered;break;case"image":A=s.ax.Image}var x=(0,a.A)({id:n,items:null===c||void 0===c?void 0:c.map(e=>(0,a.A)((0,a.A)({},e),{},{alt:(null===e||void 0===e?void 0:e.alt)||""})),theme:"cmp-theme--dark"===g?s.zM.Dark:s.zM.Light,type:A},C("list",n)),S={hasMarginBottom:(0,d.qY)(f)};return(0,v.jsx)(r.EditableComponent,(0,a.A)((0,a.A)({},y),{},{children:c?(0,v.jsx)(i.E.TextSection,(0,a.A)((0,a.A)({},S),{},{children:(0,v.jsx)(l.B,(0,a.A)({},x))})):u.A.emptyLabel}))})),h=(0,c.Xc)(f,{componentName:"List",fallback:(0,v.jsx)(c.xP,{componentName:"List"})});t.default=h},93649:function(e,t,n){n.r(t);var a=n(8),o=n(80045),r=(n(65043),n(78083)),i=n(52573),l=n(10200),s=n(22625),c=n(66324),d=n(73953),u=n(39542),p=n(15572),m=n(12105),g=n(70579),v=["id","xsHeight","smHeight","mdHeight","lgHeight","xlHeight","spacerBorderTopTypeVariant","spacerBackgroun
1d"],b=(0,u.A)((0,p.A)(e=>{var t=e.model,{id:n,xsHeight:c,smHeight:u,mdHeight:p,lgHeight:b,xlHeight:f,spacerBorderTopTypeVariant:h,spacerBackground:C}=t,y=(0,o.A)(t,v),{getDataTestIdObject:A}=e,x=(0,m.R)(e,y),S=(0,s.Ic)(),E=[c,u,p,b,f],w=l.Z.None;switch(h){case"none":w=l.Z.None;break;case"dark":w=l.Z.Dark;break;case"light":w=l.Z.Light}E.forEach((e,t)=>{E[t]=(e=>{switch(e){case"None":return l.$.None;case"0":return l.$.Size_0;case"1":return l.$.Size_1;case"2":return l.$.Size_2;case"3":return l.$.Size_3;case"4":return l.$.Size_4;case"5":return l.$.Size_5;case"6":return l.$.Size_6;case"7":return l.$.Size_7;case"8":return l.$.Size_8;case"9":return l.$.Size_9;case"10":return l.$.Size_10}return l.$.None})(E[t])});var k=(0,a.A)({id:n,spacerBorderTopTypeVariant:w,spacerBackground:C,spacerHeight:S.getResponsiveProp(E)},A("spacer",n));return(0,g.jsx)(r.EditableComponent,(0,a.A)((0,a.A)({},x),{},{children:d.A.isEmpty(null===e||void 0===e?void 0:e.model)?d.A.emptyLabel:(0,g.jsx)(i.h,(0,a.A)({},k))}))})),f=(0,c.Xc)(b,{componentName:"Spacer",fallback:(0,g.jsx)(c.xP,{componentName:"Spacer"})});t.default=f},3483:function(e,t,n){n.r(t);var a=n(8),o=n(80045),r=(n(65043),n(78083)),i=n(28801),l=n(52415),s=n(38379),c=n(66324),d=n(15136),u=n(24427),p=n(23992),m=n(39542),g=n(15572),v=n(12105),b=n(70579),f=["text","richText","textAlign","hyphenation","paraFormat","textVariant","marginBottom","theme","id"],h=(0,m.A)((0,g.A)(e=>{var t=e.model,{text:n,richText:c,textAlign:m,hyphenation:g,paraFormat:h,textVariant:C,marginBottom:y,theme:A,id:x}=t,S=(0,o.A)(t,f),{getDataTestIdObject:E}=e,w=(0,v.R)(e,S),k=(0,p.IM)({text:n||""},n||"",i.AuthoringUtils.isInEditor()),L=s.SP.P;switch(h){case"p":L=s.SP.P;break;case"h1":L=s.SP.H1;break;case"h2":L=s.SP.H2;break;case"h3":L=s.SP.H3;break;case"h4":L=s.SP.H4;break;case"h5":L=s.SP.H5;break;case"h6":L=s.SP.H6}var P=g?s.p1.Auto:s.p1.None,I=(0,d.J)(C),R=(0,d.Xq)(m),O=(0,a.A)({content:(null===k||void 0===k?void 0:k.text)||n,isHtml:c,component:L,variant:I,hyphens:P,textTheme:A,horizontalAlignment:R,id:x},E("text",x)),T={hasMarginBottom:(0,d.qY)(y),textHorizontalAlignment:R};return(0,b.jsx)(r.EditableComponent,(0,a.A)((0,a.A)({},w),{},{children:n?(0,b.jsx)(l.E.TextSection,(0,a.A)((0,a.A)({},T),{},{children:(0,b.jsx)(l.E,(0,a.A)({},O))})):u.A.emptyLabel}))})),C=(0,c.Xc)(h,{componentName:"Text",fallback:(0,b.jsx)(c.xP,{componentName:"Text"})});t.default=C},17863:function(e,t,n){n.r(t);var a=n(8),o=n(80045),r=(n(65043),n(78083)),i=n(24619),l=n(39542),s=n(12105),c=n(22919),d=n(66324),u=n(70579),p=["title","portraitVideoUrl","portraitPosterUrl","landscapeVideoUrl","landscapePosterUrl","autoPlay","loop","playControls","audioControls","playAriaLabel","pauseAriaLabel","muteAriaLabel","unmuteAriaLabel","videoDescription","trackPath","trackKind","id","cqType"],m=(0,l.A)(e=>{var t=e.model,{title:n,portraitVideoUrl:l,portraitPosterUrl:d,landscapeVideoUrl:m,landscapePosterUrl:g,autoPlay:v,loop:b,playControls:f,audioControls:h,playAriaLabel:C,pauseAriaLabel:y,muteAriaLabel:A,unmuteAriaLabel:x,videoDescription:S,trackPath:E,trackKind:w,id:k,cqType:L}=t,P=(0,o.A)(t,p),I=(0,s.R)(e,P),R={title:n,portraitSrc:l,portraitPoster:d,landscapeSrc:m,landscapePoster:g,autoPlay:v,loop:b,playControls:f,audioControls:h,playAriaLabel:C,pauseAriaLabel:y,muteAriaLabel:A,unmuteAriaLabel:x,videoDescription:S,track:E,trackKind:w,id:k};return(0,u.jsx)(r.EditableComponent,(0,a.A)((0,a.A)({},I),{},{children:c.A.isEmpty(e.model)?c.A.emptyLabel:(0,u.jsx)(i.C,(0,a.A)({},R))}))}),g=(0,d.Xc)(m,{componentName:"Video",fallback:(0,u.jsx)(d.xP,{componentName:"Video"})});t.default=g},83201:function(e,t,n){n.r(t),n.d(t,{default:function(){return Se}});var a=n(8),o=n(65043),r=n(4548);const i="#272A33",l='"IQOSW04-Regular", Sans-serif',s="1px auto #0096FF !important",c={textAlign:"center",margin:"auto"},d=e=>({Bubble:{background:"#e5e5e5",fontColor:"#000000",padding:"6px 6px 3px 2px",margin:"16px 2px 3px 2px !important",borderRadius:"10px !important",fontFamily:l},Avatar:{background:e},Header:{color:"#000000",margin:"0 3px 5px 0",fontWeight:"300",fontStretch:"normal",fontFamily:l,fontStyle:"normal",lineHeight:"1.43",letterSpacing:"normal",textAlign:"left","&:first-of-type":{">div":{fontSize:"11px",fontWeight:"300"}}}}),u=e=>{return{Chat:{MessageListItem:{FromMe:(t=i,{Bubble:{background:"#34303d",fontColor:"#fffdfb",padding:"6px 6px 3px 2px",margin:"16px 5px 13px 3px !important",borderRadius:"10px !important",fontFamily:l},Avatar:{background:t},Header:{color:"#D3D3D3",margin:"0 3px 5px 0",fontStretch:"normal",fontStyle:"normal",lineHeight:"1.43",letterSpacing:"normal",fontFamily:l,textAlign:"left","&:first-of-type":{">div":{fontSize:"11px",fontWeight:"300"}}}}),FromOthers:d(i)},MessageInput:{Container:{Button:{"&:focus":{outline:s}}},Button:{background:i}},MessageCanvasTray:{Container:{background:"#34303d",color:"#fffdfb",fontSize:"12px",fontFamily:l,padding:"10px 0 0",textAlign:"left"},Button:{background:"#ffffff",color:"#000000",borderRadius:"24px",margin:"16px 66px 28px 56px !important",padding:"10px 15px 25px 15px",fontFamily:l,"&:hover":{background:"#00d2d2",color:"#000000"},"&:focus":{backgroundColor:"#00d2d2",color:"#000000",outline:s}}}},Progress:{Circular:{animatingForegroundBorderColor:"#00d2d2"}},EntryPoint:{Container:{display:"none !important"}},MainContainer:{zIndex:1200,borderRadius:"1.5em",...e&&{"@media (max-width: 767px)":{height:"100vh",maxHeight:"100vh",width:"100vw",borderRadius:0,top:0,left:0,right:0,bottom:0}}},PreEngagementCanvas:{Container:{color:"#34303d",fontWeight:"bold",textTransform:"none",fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:"1.3",fontFamily:l,"&:first-of-type":{">div":{fontSize:"20px"}}},Footer:{},Form:{SubmitButton:{...e&&{"@media (max-width: 767px)":{margin:"auto"}},background:"#34303d",fontSize:"13px",borderRadius:"24px",color:"white",transition:"all .2s",textTransform:"none",fontWeight:"normal",fontStretch:"normal",fontStyle:"normal",lineHeight:"normal",letterSpacing:"normal",textAlign:"center",height:"30px",margin:"150px 65px 5px 65px",padding:"5px 27px",gap:"10px","&:disabled":{border:"solid 1.5px #262a33",backgroundColor:"#ffffff",color:"#34303d"},"&:hover":{backgroundColor:"#00d1d2",color:"#34303d"},"&:focus":{backgroundColor:"#00d2d2",color:"#34303d",outline:s}},Label:{fontWeight:"normal",fontSize:"12px",margin:"5px 4px 13px 0",lineHeight:"1.43"}}}};var t},p=e=>{let t="";switch(e){case"de":default:t="Europe/Berlin";break;case"fr":t="Europe/Paris";break;case"mx":t="America/Mexico City";break;case"ph":t="Asia/Manila"}return t},m={description:"",fields:[{label:"",type:"TextareaItem",attributes:{name:"aiBotInputName",type:"text",placeholder:"",required:!1,readOnly:!0,rows:4}}],footerLabel:"",submitLabel:"",inputTextDisabledReason:"",endChatTextDisabledReason:""},g=Object.freeze({accountSid:"",flexFlowSid:"",runtimeDomain:"",liveChatEnabled:!1,language:"",market:"",channel:"chat",timezone:"",friendlyName:"Anonymous",userID:"anonymous",counterConsumerIndex:0,scrollFocusRequired:!0,websiteOrigin:"IQOS",preEngagementSetting:m,isRTL:!1,pageEntry:"Default",proactiveChatInitialized:!1,messageButtons:"",fiveStarsRating:!1,openingHoursThrottle:1,noCache:!1,enableLogs:!1,twilioScript:"https://assets.flex.twilio.com/releases/flex-webchat-ui/2.9.1/twilio-flex-webchat.min.js",containerOffset:"2em",productBrandFamily:"IQOS",allowFullScreen:!1}),v="chat-open",b="cta-aria-labels",f="twilio-consumer-session-id",h="Twilio-MessageBubble-default",C="Twilio-AttachFileButton",y=(e,t,n)=>fetch(e,{method:"POST",headers:{"Content-Type":"application/json",...n},body:"object"===typeof t?JSON.stringify(t):t}).then(e=>{if(!e.ok)throw Error(e.statusText);return e}).catch(e=>{throw e});let A=null;const x=()=>A,S=(e,t)=>{switch(e){case"Trade-In":return{options:{1:`${t.PredefinedChatMessagePageEntry1Button1}`,2:`${t.PredefinedChatMessagePageEntry1Button2}`},type:"optionSelection"};case"Registration":return{options:{1:`${t.PredefinedChatMessagePageEntry2Button1}`,2:`${t.PredefinedChatMessagePageEntry2Button2}`},type:"optionSelection"};case"Checkout":return{options:{1:`${t.PredefinedChatMessagePageEntry3Button1}`,2:`${t.PredefinedChatMessagePageEntry3Button2}`},type:"optionSelection"};default:return}};var E=(e=>(e.CLOSED="closed",e.OPEN="open",e))(E||{});const w=e=>{sessionStorage.setItem(v,e)},k=()=>sessionStorage.getItem(v),L=()=>JSON.parse(sessionStorage.getItem(b)??"{}"),P="working-hours-check",I="aria-label",R="Attach file",O=()=>{const e=sessionStorage.getItem(f);if(!e){const e="undefined"!==typeof crypto&&crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=crypto.getRandomValues(new Uint8Array(1))[0];return("x"===e?15&t:3&t|8).toString(16)});return t=e,sessionStorage.setItem(f,t),e}var t;return e};let T=g.enableLogs;const N=e=>{let t={...g,...e};t=(e=>{const{market:t,timezone:n}=e;return{...e,preEngagementSetting:m,market:t.toUpperCase(),timezone:n||p(t)}})(t);const{market:n,language:a,friendlyName:o,websiteOrigin:r,accountSid:i,channel:l,flexFlowSid:s,userID:c,preEngagementSetting:d,runtimeDomain:v,liveChatEnabled:b,allowFullScreen:f,containerOffset:h,productBrandFamily:C,
1ctaAriaLabels:y}=t,A=k(),x=O(),S={accountSid:i,flexFlowSid:s,disableLocalStorage:!1,startEngagementOnInit:b,preEngagementConfig:d,fileAttachment:{enabled:!0},componentProps:{MainContainer:{bottom:h},MessageInput:{textAreaAriaProps:{ariaLabel:(null==y?void 0:y.messageInputAriaLabel)??"Enter your message"},sendButtonAriaProps:{ariaLabel:(null==y?void 0:y.sendMessageCtaAriaLabel)??"Send message"}}},context:{market:n,channel:l,language:a,interactionTool:"livechat",friendlyName:o,userID:c,useLiveChat:b,websiteOrigin:r,runtimeDomain:v,proactiveChatInitialized:A,productBrandFamily:C,consumerSessionId:x},colorTheme:{overrides:u(f)}};return T=e.enableLogs,{appConfig:S,marketConfig:t}};var B,j={exports:{}},M={};j.exports=function(){if(B)return M;B=1;var e=o,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function l(e,n,o){var l,s={},c=null,d=null;for(l in void 0!==o&&(c=""+o),void 0!==n.key&&(c=""+n.key),void 0!==n.ref&&(d=n.ref),n)a.call(n,l)&&!i.hasOwnProperty(l)&&(s[l]=n[l]);if(e&&e.defaultProps)for(l in n=e.defaultProps)void 0===s[l]&&(s[l]=n[l]);return{$$typeof:t,type:e,key:c,ref:d,props:s,_owner:r.current}}return M.Fragment=n,M.jsx=l,M.jsxs=l,M}();var $=j.exports;const F=$.Fragment,D=$.jsx,_=$.jsxs,z=e=>{var t;const{message:n}=e;return D("p",{style:{paddingLeft:"12px",paddingRight:"12px",paddingBottom:"10px"},children:null==(t=null==n?void 0:n.source.attributes)?void 0:t.answer})},U=e=>{const{num:t,onClick:n}=e;return _(F,{children:[D("input",{style:{display:"none"},type:"radio",className:"stars",id:`${t}-star`,value:t,"data-testid":`${t}-star`,onClick:()=>n(t,`${t}-star`)}),D("label",{htmlFor:`${t}-star`})]})},H=Object.keys(console).reduce((e,t)=>T?{...e,[t]:(...e)=>console[t](e)}:{...e,[t]:()=>{}},{});function W({optionValue:e,optionKey:t,message:n,channelSid:a}){var o;const{manager:r}=x();(null==(o=n.source.state)?void 0:o.attributes)&&n.source.state.attributes.intentRequired&&!0===n.source.state.attributes.intentRequired?Twilio.FlexWebChat.Actions.invokeAction("SendMessage",{channelSid:a,messageSid:n.source.state.sid,body:t,messageAttributes:{type:"optionAnswer",answer:e,answerKey:t,intent:e},attributes:n.source.attributes}).catch(e=>{H.error(e)}):n.source.state?Twilio.FlexWebChat.Actions.invokeAction("SendMessage",{channelSid:a,messageSid:n.source.state.sid,body:t,messageAttributes:{type:"optionAnswer",answer:e,answerKey:t},attributes:n.source.attributes}).catch(e=>{H.error(e)}):(Twilio.FlexWebChat.Actions.invokeAction("SendMessage",{channelSid:a,body:t,messageAttributes:{type:"optionAnswer",answer:e,answerKey:t},attributes:n.source.attributes}).catch(e=>{H.error(e)}),r.configuration.context.fiveStarsInitialized=!0),r.configuration.context.counterConsumerIndex=document.getElementsByClassName(h).length}const V=e=>{const{channelSid:t,message:n}=e,a=(e,a)=>{W({optionKey:a,optionValue:e,message:n,channelSid:t})};return _("div",{className:"star-rating",children:[D(U,{num:"5",onClick:a}),D(U,{num:"4",onClick:a}),D(U,{num:"3",onClick:a}),D(U,{num:"2",onClick:a}),D(U,{num:"1",onClick:a})]})},q=e=>{const{onClick:t}=e,n=L();return D("button",{type:"button",onClick:t,style:{position:"absolute",right:"0px",top:"0px",background:"none",border:"0"},"aria-label":(null==n?void 0:n.closeChatCtaAriaLabel)??"Close chat",children:D("svg",{width:"2.5em",height:"2.5em",viewBox:"0 0 24 24",children:D("path",{d:"M15.595 9.216L12.81 12l2.784 2.784a.573.573 0 1 1-.811.811L12 12.81l-2.784 2.784a.573.573 0 1 1-.811-.811L11.19 12 8.405 9.216a.573.573 0 1 1 .811-.811L12 11.19l2.784-2.784a.573.573 0 0 1 .811.811z"})},"xButton")})},X=e=>{var t;const{manager:n}=x(),{channelSid:a,message:o}=e;return n?D("div",{style:c,children:(null==(t=n.configuration.context.messageButtons)?void 0:t.options)&&Object.keys(n.configuration.context.messageButtons.options).map((e,t)=>D("p",{children:D("button",{className:"chatbot-button",type:"button",disabled:!!n.configuration.context.messageButtons.isDisabled,onClick:()=>(e=>{o&&a&&!n.configuration.context.messageButtons.isDisabled&&W({optionValue:n.configuration.context.messageButtons.options[e],optionKey:e,message:o,channelSid:a})})(e),"data-testid":`option-${t+1}-button`,"aria-label":n.configuration.context.messageButtons.options[e],children:n.configuration.context.messageButtons.options[e]},`button-${e}`)},e))}):null},Y=e=>{var t,n;const{message:a,channelSid:o}=e;return D("div",{style:{textAlign:"center",margin:"auto"},children:(null==(n=null==(t=null==a?void 0:a.source)?void 0:t.attributes)?void 0:n.options)&&Object.keys(a.source.attributes.options).map((e,t)=>{var n,r,i,l,s;return D("p",{children:D("button",{className:"chatbot-button",type:"button",disabled:!!(null==(n=a.source.attributes)?void 0:n.isDisabled),onClick:()=>(e=>{var t,n;a&&o&&W({optionValue:null==(n=null==(t=a.source.attributes)?void 0:t.options)?void 0:n[e],optionKey:e,message:a,channelSid:o})})(e),"data-testid":`option-${t+1}-button`,"aria-label":null==(i=null==(r=a.source.attributes)?void 0:r.options)?void 0:i[e],children:null==(s=null==(l=a.source.attributes)?void 0:l.options)?void 0:s[e]},`button-${e}`)},e)})})},K=({message:e})=>{var t,n,a;return D("div",{style:c,children:D("p",{children:D("button",{className:"chatbot-button",type:"button",disabled:!!(null==(t=null==e?void 0:e.source.attributes)?void 0:t.isDisabled),onClick:()=>{var t,n;null==(n=null==window?void 0:window.open)||n.call(window,null==(t=null==e?void 0:e.source.attributes)?void 0:t.buttonLinkURL,"_blank")},"data-testid":"button-link","aria-label":null==(n=null==e?void 0:e.source.attributes)?void 0:n.buttonLinkLabel,children:null==(a=null==e?void 0:e.source.attributes)?void 0:a.buttonLinkLabel},"linkButton")},"buttonLinkPanel")})};async function G(e){const{manager:t}=x(),n=document.querySelectorAll(".chatbot-button"),a=document.querySelectorAll(".stars");let o=e.attributes;var r,i;
1n.forEach(e=>{e.disabled=!0}),a.forEach(e=>{e.disabled=!0}),(null==o?void 0:o.fiveStarsRating)&&n[n.length-1]&&(n[n.length-1].disabled=!1,Twilio.FlexWebChat.MessageInput.defaultProps.disabledReason=void 0),t.configuration.context.scrollFocusRequired&&(t.configuration.context.counterConsumerIndex=document.getElementsByClassName(h).length-1),t.configuration.context.proactiveChatInitialized&&!t.configuration.context.aibotAvailable&&"Default"!==t.configuration.context.pageEntry&&(Twilio.FlexWebChat.MessageInput.defaultProps.disabledReason=void 0),!1===(null==o?void 0:o.inputTextAllowed)&&(Twilio.FlexWebChat.MessageInput.defaultProps.disabledReason=void 0),o&&(o.isDisabled=!0,o=JSON.stringify(o).replaceAll("&","%26"),await(r=t.configuration.context.runtimeDomain,i=`channelSid=${e.channelSid}&messageSid=${e.messageSid}&attributes=${o}`,y(`https://${r}/update-chat-massage-attributes`,i,{"Content-Type":"application/x-www-form-urlencoded"})))}async function J(e,t){const{manager:n}=x(),{messageAttributes:a,channel:o}=e;o.source.channelState.attributes&&"ACTIVE"!==o.source.channelState.attributes.status?t():((null==a?void 0:a.type)&&"optionAnswer"===a.type&&o.messages[o.messages.length-1].source.state.attributes.inputTextAllowed&&!0===o.messages[o.messages.length-1].source.state.attributes.inputTextAllowed&&(Twilio.FlexWebChat.MessageInput.defaultProps.disabledReason=void 0),(null==a?void 0:a.type)&&"optionAnswer"===a.type&&o.messages[o.messages.length-1].source.state.attributes.transferToAgent&&!0===o.messages[o.messages.length-1].source.state.attributes.transferToAgent&&(n.configuration.context.scrollFocusRequired=!1),"VEEV"===(null==a?void 0:a.answerKey)&&(Twilio.FlexWebChat.MessageInput.defaultProps.disabledReason=void 0,n.configuration.context.scrollFocusRequired=!1))}let Z;const Q=async e=>{const{language:t,market:n,runtimeDomain:a}=e;return Z=await((e,t)=>y(`https://${e}/getSyncMapItem`,t).then(e=>e.json()).then(e=>e))(a,{serviceSid:"default",mapSid:"ai_bot_localization_data",key:`${n}.${t}`}).then(e=>e.data).catch(()=>{}),Z},ee=async e=>{const{language:t,market:n,runtimeDomain:a,productBrandFamily:o="IQOS"}=e;return Z=await((e,t)=>y(`https://${e}/get-dynamic-configs`,t).then(async e=>e.json()))(a,{market:n.toUpperCase(),language:t,productBrandFamily:o,dynamicItemType:"LIVECHAT"}).catch(()=>{}),Z},te=async e=>{if(Z&&!(null==e?void 0:e.noCache))return Z;if(!e)return null;const{liveChatEnabled:t}=e;return t?ee(e):Q(e)},ne=async e=>{var t,n,a,o,r;const{manager:i}=x(),l=await te(),s=L();i.configuration.context.scrollFocusRequired&&setTimeout(()=>{const e=document.getElementsByClassName(h)[i.configuration.context.counterConsumerIndex];e&&e.scrollIntoView(!0)},200);const c=null==(t=document.getElementsByClassName(C))?void 0:t[0];!i.configuration.context.attachmentEnabledAfterTransfer&&c&&(null==c||c.setAttribute("disabled","true")),(null==(n=e.attributes)?void 0:n.enableAttachment)&&(null==c||c.removeAttribute("disabled"),null==c||c.setAttribute(I,(null==s?void 0:s.attachFileCtaAriaLabel)??R),i.configuration.context.attachmentEnabledAfterTransfer=!0),(null==(a=e.attributes)?void 0:a.fiveStarsRating)&&(Twilio.FlexWebChat.MessageInput.defaultProps.disabledReason=(null==l?void 0:l.MessageInputDisabledReason)?null==l?void 0:l.MessageInputDisabledReason:"Please select one of the Feedback Rating Stars"),!1===(null==(o=e.attributes)?void 0:o.inputTextAllowed)&&(Twilio.FlexWebChat.MessageInput.defaultProps.disabledReason=(null==l?void 0:l.MessageInputDisabledReason)?l.MessageInputDisabledReason:"Please select one option."),!0===(null==(r=e.attributes)?void 0:r.inputTextAllowed)&&(Twilio.FlexWebChat.MessageInput.defaultProps.disabledReason=void 0)};function ae(e,t,n){const{websiteOrigin:a,isRTL:o,pageEntry:r,liveChatEnabled:i}=t;Twilio.FlexWebChat.FlexWebChat.create(e).then(e=>{A=e;const{manager:t}=e,l=((e,t,n)=>{const a=e;switch(a.PredefinedChatMessageAuthorName=e.PredefinedChatMessageAuthorName?e.PredefinedChatMessageAuthorName.replace(/%BrandFamily%/g,t):"",a.author=e.author?e.author.replace(/%BrandFamily%/g,t):"",a.PredefinedChatMessageBody=e.PredefinedChatMessageBody?e.PredefinedChatMessageBody.replace(/%BrandFamily%/g,t):"",a.WelcomeMessage=e.Welc
1omeMessage?e.WelcomeMessage.replace(/%BrandFamily%/g,t):"",a.welcomeMessage=e.welcomeMessage?e.welcomeMessage.replace(/%BrandFamily%/g,t):"",a.DefaultPredefinedChatMessageBody=e.PredefinedChatMessageBody&&e.PredefinedChatMessageBody.replace(/%BrandFamily%/g,t),n){case"Trade-In":a.PredefinedChatMessageBody=e.PredefinedChatMessageBodyPageEntry1&&e.PredefinedChatMessageBodyPageEntry1.replace(/%BrandFamily%/g,t),Twilio.FlexWebChat.MessagingCanvas.defaultProps.showWelcomeMessage=!1;break;case"Registration":a.PredefinedChatMessageBody=e.PredefinedChatMessageBodyPageEntry2&&e.PredefinedChatMessageBodyPageEntry2.replace(/%BrandFamily%/g,t),Twilio.FlexWebChat.MessagingCanvas.defaultProps.showWelcomeMessage=!1;break;case"Checkout":a.PredefinedChatMessageBody=e.PredefinedChatMessageBodyPageEntry3&&e.PredefinedChatMessageBodyPageEntry3.replace(/%BrandFamily%/g,t),Twilio.FlexWebChat.MessagingCanvas.defaultProps.showWelcomeMessage=!1;break;default:a.PredefinedChatMessageBody=e.PredefinedChatMessageBody&&e.PredefinedChatMessageBody.replace(/%BrandFamily%/g,t)}return a})(n,a,r);(e=>{const{manager:t}=x();e&&Object.keys(e).forEach(n=>{n in t.strings&&(t.strings[n]=e[n])})})(l),(()=>{var e;Twilio.FlexWebChat.MessageBubble.Content.add(D(K,{},"buttonLinkKey"),{if:e=>e.message.source.attributes&&e.message.source.attributes.buttonLinkLabel&&e.message.source.attributes.buttonLinkURL}),Twilio.FlexWebChat.MessageBubble.Content.remove("body",{if:e=>{var t,n,a;return"optionAnswer"===(null==(a=null==(n=null==(t=null==e?void 0:e.message)?void 0:t.source)?void 0:n.attributes)?void 0:a.type)}}),Twilio.FlexWebChat.MessageBubble.Content.add(D(z,{},"select-answer"),{if:e=>{var t,n,a;return"optionAnswer"===(null==(a=null==(n=null==(t=null==e?void 0:e.message)?void 0:t.source)?void 0:n.attributes)?void 0:a.type)}}),Twilio.FlexWebChat.MainHeader.Content.replace(D(q,{onClick:()=>{w(E.CLOSED),Twilio.FlexWebChat.Actions.invokeAction("MinimizeChat").catch(e=>H.error(e))}},"closeButton"));const t=null==(e=x())?void 0:e.manager;Twilio.FlexWebChat.MessageBubble.Content.add(D(X,{},"select-initial-options"),{if:()=>(null==t?void 0:t.configuration.context.useLiveChat)&&!(null==t?void 0:t.configuration.context.proactiveChatInitialized)&&(null==t?void 0:t.configuration.context.messageButtons)}),Twilio.FlexWebChat.MessageBubble.Content.add(D(Y,{},"select-options"),{if:e=>{var n,a,o;return t.configuration.context.proactiveChatInitialized&&"optionSelection"===(null==(o=null==(a=null==(n=null==e?void 0:e.message)?void 0:n.source)?void 0:a.attributes)?void 0:o.type)}}),Twilio.FlexWebChat.MessageBubble.Content.add(D(V,{},"star-rating"),{if:e=>{var n,a,o;return(null==(o=null==(a=null==(n=null==e?void 0:e.message)?void 0:n.source)?void 0:a.attributes)?void 0:o.fiveStarsRating)&&!t.configuration.context.fiveStarsInitialized}})})(),(()=>{const e=L();Twilio.FlexWebChat.Actions.addListener("beforeSendMessage",J),Twilio.FlexWebChat.Actions.addListener("afterSendMessage",G),Twilio.FlexWebChat.Actions.addListener("afterToggleChatVisibility",()=>{var t,n;const a=null==(t=x())?void 0:t.manager,o=null==(n=null==document?void 0:document.getElementsByClassName)?void 0:n.call(document,C)[0];a.configuration.context.attachmentEnabledAfterTransfer||"undefined"===typeof document||null==o||o.setAttribute("disabled","true"),null==o||o.setAttribute(I,(null==e?void 0:e.attachFileCtaAriaLabel)??R);const[r]=document.getElementsByClassName("Twilio-DynamicForm-submit");null==r||r.setAttribute(I,(null==e?void 0:e.startChatCtaAriaLabel)??"Start chat"),w(E.OPEN),dataLayer?dataLayer.push({event:"livechatDisplayed"}):H.info("Live Chat Displayed")}),Twilio.FlexWebChat.Actions.addListener("afterAttachFile",async e=>{var t,n;if(!(null==(t=x())?void 0:t.manager).configuration.context.attachmentEnabledAfterTransfer){await Twilio.FlexWebChat.Actions.invokeAction("DetachFile",{file:e.file,channelSid:e.channelSid});const t=null==(n=null==document?void 0:document.getElementsByClassName)?void 0:n.call(document,C)[0];null==t||t.setAttribute("disabled","true")}}),Twilio.FlexWebChat.Actions.addListener("afterMinimizeChat",()=>{w(E.CLOSED)}),Twilio.FlexWebChat.Actions.addListener("afterStartEngagement",t
1=>{var n,a;const o=t,r=null==(n=x())?void 0:n.manager;if(!o)return;dataLayer?dataLayer.push({event:"livechatWindowLoaded"}):H.info(`Engagement Started: ${t.formData}`),r.configuration.context.counterConsumerIndex>0&&0===document.getElementsByClassName(h).length&&(r.configuration.context.counterConsumerIndex=0,r.configuration.context.scrollFocusRequired=!0);const i=null==(a=null==document?void 0:document.getElementsByClassName)?void 0:a.call(document,C)[0];null==i||i.setAttribute(I,(null==e?void 0:e.attachFileCtaAriaLabel)??R),null==i||i.classList.add("disableAttachmentIcon");const l=r.store.getState().flex.session;r.chatClient.getChannelBySid(l.channelSid).then(e=>{var t,n;"undefined"!==o.formData&&(H.info(`Question: ${o} has been sent thru Channel: ${e.sid}`),e.sendMessage(null==(n=null==(t=r.store.getState().flex.config)?void 0:t.preEngagementConfig)?void 0:n.submitLabel).catch(e=>{H.error(e)})),e.on("messageAdded",ne),r.configuration.context.proactiveChatInitialized=!0}).catch(e=>{H.error(e)})})})(),i||(Twilio.FlexWebChat.MessagingCanvas.defaultProps.predefinedMessage=void 0),e.init(),o&&(()=>{const e=document.getElementById("twilio-customer-frame");e&&(e.dir="rtl")})(),setTimeout(()=>{"connected"!==t.store.getState().flex.chat.session.connectionState?Twil
1io.FlexWebChat.Actions.invokeAction("ToggleChatVisibility").catch(e=>{H.error(e)}):w(E.OPEN)},0),dataLayer?dataLayer.push({event:"livechatClickIcon"}):H.info("Live Chat Icon Clicked")}).catch(e=>{H.error("CREATE_WEBCHAT_FAILURE",e)})}const oe={isInitialised:!1,isEnabled:!1,isOpen:!1,marketConfig:void 0,appConfig:void 0,localizationContent:void 0,manager:void 0,isLoading:void 0},re=(0,r.vt)(e=>({...oe,setIsEnabled:t=>e(()=>({isEnabled:t})),setIsInitialised:t=>e(()=>({isInitialised:t,isOpen:!0,isLoading:!1})),setIsLoading:t=>e(()=>({isLoading:t})),setError:t=>e(()=>({error:t})),setConfig:(t,n,a)=>e(e=>({appConfig:{...e.appConfig??{},...t},marketConfig:{...e.marketConfig??{},...n},localizationContent:a}))})),ie=e=>{const{setConfig:t,marketConfig:n,appConfig:a}=re(),{language:r}=e;(0,o.useEffect)(()=>{const{appConfig:n,marketConfig:a}=N(e);t(n,a)},[r]);return{localizeConfig:(0,o.useCallback)(e=>{a&&n&&t(((e,t,n)=>{const{friendlyName:a,userID:o,pageEntry:r,liveChatEnabled:i}=e,{timezone:l,chatbotName:s,PreEngagementTextBody:c,PreEngagementWelcomeMessage:d,PreEngagementFooterLabel:u,PreEngagementSubmitLabel:p}=n,m=i?t.preEngagementConfig:{inputTextDisabledReason:void 0,description:"anonymous"!==o?d.replace("%USER_NAME%",` ${a}`):d.replace("%USER_NAME%",""),fields:[{label:"",type:"TextareaItem",attributes:{name:"aiBotInputName",type:"text",placeholder:c,required:!1,readOnly:!0,rows:4}}],footerLabel:u,submitLabel:p};return{...t,preEngagementConfig:m,context:{...t.context,timezone:l,chatbotName:s,messageButtons:S(r,n)}}})(n,a,e),n,e)},[a,n])}},le=()=>{const{marketConfig:e,setIsEnabled:t}=re(),n=(0,o.useCallback)(async()=>{const{timezone:n,market:a,channel:o,runtimeDomain:r,liveChatEnabled:i}=e;if(i){const e=(()=>{const e=sessionStorage.getItem(P);return e?JSON.parse(e):null})();if(e)t(e.isOpen);else{const e=await((e,t)=>y(`https://${e}/working-hours-v3`,t).then(e=>e.json()))(r,{timezone:n,market:a.toUpperCase(),channel:o}).catch(()=>({isOpen:!1})),{isOpen:i}=e;(e=>{sessionStorage.setItem(P,JSON.stringify(e))})(e),t(i)}}else t(!0)},[e,t]);(0,o.useEffect)(()=>{e&&n().finally(()=>{})},[e,n])},se=[".chatbot-button{border-radius:20px;word-break:break-word;width:140px;min-height:40px;margin:4px 4px 0;font-size:12px;color:#34303d;line-height:1.43;text-align:center;cursor:pointer;border:1.5px solid #272a33}.chatbot-button:hover,.chatbot-button:focus{background-color:#00d1d2;color:#34303d}.chatbot-button:disabled{opacity:.5;pointer-events:none}.disableAttachmentIcon{pointer-events:none;color:gray!important;cursor:default!important}.enableAttachmentIcon{pointer-events:auto;color:#000!important;cursor:pointer!important}\n",'.star-rating{display:flex;align-items:center;width:auto;flex-direction:row-reverse;justify-content:space-between;position:relative;margin:40px auto}.star-rating input{display:none}.star-rating>label{width:30px;height:30px;font-family:Verdana,sans-serif;font-size:30px;color:#000;transition:.2s ease;cursor:pointer}.star-rating label:hover{color:#fff;transition:.2s ease}.star-rating label:active:before{transform:scale(1.1)}.star-rating label:before{content:"\u2606";position:absolute;top:0;line-height:26px}.star-rating input:checked~label:before{content:"\u2605"}\n',".Twilio-MainContainer:dir(rtl){right:auto;left:2em}\n"].join(""),ce=e=>{const{isEnabled:t,isLoading:n,appConfig:a,marketConfig:r,setIsInitialised:i,localizationContent:l,isInitialised:s,setIsLoading:c,setError:d,error:u}=re(),{isChatOpen:p}=(()=>{const[e,t]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{t("open"===k())},[]),{isChatOpen:e}})(),{localizeConfig:m}=ie(e);le();const g=(0,o.useCallback)(async()=>{if(t)try{if(s)Twilio.FlexWebChat.Actions.invokeAction("ToggleChatVisibility").catch(e=>{H.error(e)});else{c(!0),n=(null==r?void 0:r.ctaAriaLabels)??{},sessionStorage.setItem(b,JSON.stringify(n));const{twilioScript:t}=r;await(e=t,new Promise((t,n)=>{try{const a=document.createElement("script");a.setAttribute("data-testid","chat-script"),a.src=e,a.onload=()=>{t(!0)},a.onerror=()=>{n("Failed to load twilio script")},document.head.appendChild(a)}catch(a){n(a.message)}})),(()=>{const e=document.createElement("style");e.innerHTML=se,document.body.appendChild(e)})();const a=await te(r);a?(m(a),i(!0)):(c(!1),w(E.CLOSED),d("Failed to get localization data"),H.error("Failed to get localization data"))}}catch(a){c(!1),w(E.CLOSED),"string"===typeof a&&d(a)}var e,n},[a,r,t,s]);return(0,o.useEffect)(()=>{p&&t&&g()},[p,t]),(0,o.useEffect)(()=>{s&&a&&r&&l&&ae(a,r,l)},[s,a,r,l]),{onClickChatIcon:g,isEnabled:t,isLoading:n,isLoaded:s,error:u}};var de=n(32710),ue=n(65947),pe=n(28801),me=n(43761),ge=n(45476),ve=n(29406),be=n(57284),fe=n(4413),he=n(66324),Ce=n(41971),ye=n(70579),Ae='img[src*="surgeon" i]',xe=(0,he.Xc)(e=>{var{userData:t,aemChatConfig:n}=e,[r]=(0,me.A)([fe.eD]),i=(0,ve.rJ)(),[l,s]=(0,o.useState)(0),c=(0,ve.Ue)();(0,o.useEffect)(()=>{var e=null,t=null,n=()=>{var e=document.querySelector(Ae);s(e?e.offsetHeight:0)},a=()=>{t&&e&&(t.disconnect(),e.removeEventListener("load",n),t=null,e=null)},o=()=>{var o=document.querySelector(Ae);s(o?o.offsetHeight:0),o!==e&&(a(),e=o,o&&((t=new ResizeObserver(n)).observe(o),o.addEventListener("load",n)))};o();var r=new MutationObserver(o);return r.observe(document.body,{subtree:!0,childList:!0}),()=>{r.disconnect(),a()}},[]);var d=(0,o.useMemo)(()=>((e,t,n)=>{var a,o,r,i,l;return{userID:null!==e&&void 0!==e&&e.gig_uid?window.atob(e.gig_uid):"anonymous",friendlyName:null!==t&&void 0!==t&&t.friendlyName?t.friendlyName:"Anonymous",market:(null===n||void 0===n?void 0:n.market)||"",language:(null===n||void 0===n?void 0:n.lang)||"",flexFlowSid:(null===n||void 0===n?void 0:n.flexFlowSid)||"",accountSid:(null===n||void 0===n?void 0:n.accountSid)||"",runtimeDomain:(null===n||void 0===n||null===(a=n.twilio)||void 0===a?void 0:a.runtimeDomain)||"",noCache:!0,enableLogs:!0,containerOffset:"8em",liveChatEnabled:(null===n||void 0===n?void 0:n.liveChatEnabled)||!1,timezone:(null===n||void 0===n?void 0:n.timezone)||"",twilioScript:(null===n||void 0===n||null===(o=n.twilio)||void 0===o?void 0:o.deploymentUrl)||"",websiteOrigin:(null===n||void 0===n?void 0:n.websiteOrigin)||(null===(r=window)||void 0===r||null===(i=r.location)||void 0===i?void 0:i.origin),productBrandFamily:(null===n||void 0===n?void 0:n.productBrandFamily)||"",allowFullScreen:(null===n||void 0===n||null===(l=n.twilio)||void 0===l?void 0:l.allowFullScreenMobile)||!1,ctaAriaLabels:{attachFileCtaAriaLabel:null===n||void 0===n?void 0:n.attachFileCtaAriaLabel,closeChatCtaAriaLabel:null===n||void 0===n?void 0:n.closeChatCtaAriaLabel,messageInputAriaLabel:null===n||void 0===n?void 0:n.messageInputAriaLabel,sendMessageCtaAriaLabel:null===n||void 0===n?void 0:n.sendMessageCtaAriaLabel,startChatCtaAriaLabel:null===n||void 0===n?void 0:n.startChatCtaAriaLabel}}})(r,t,n),[t]),{onClickChatIcon:u,isEnabled:p,isLoading:m}=ce(d);(0,o.useEffect)(()=>{ge.U.actionProps.onClick=u},[u]);var g=(0,a.A)((0,a.A)({onClick:u,iconButtonRole:de.SC.Button,icon:"pmi-icon-comment",size:de.Tp.Large,"aria-label":(null===n||void 0===n?void 0:n.ariaLabel)||"",loading:m},c?{"aria-hidden":!0}:{}),{},{sx:{position:"fixed",bottom:"calc(1.5rem + ".concat((i||0)+l,"px)"),insetInlineEnd:"1rem",zIndex:900}});return p?(0,ye.jsx)(ue.K,(0,a.A)({},g)):null},{componentName:"Chat"}),Se=()=>{var e,t,n,r,i=null===be.w||void 0===be.w?void 0:be.w.getConfig(),l=(0,o.useContext)(Ce.lA),s=[(null===l||void 0===l||null===(e=l.user)||void 0===e||null===(t=e.profile)||void 0===t?void 0:t.firstName)||"",(null===l||void 0===l||null===(n=l.user)||void 0===n||null===(r=n.profile)||void 0===r?void 0:r.lastName)||""].filter(
1Boolean).join(" "),c=s?{friendlyName:s}:null,d=0!==Object.keys(i||{}).length&&0!==Object.keys((null===i||void 0===i?void 0:i.chat)||{}).length&&!!l;return!pe.AuthoringUtils.isInEditor()&&d?(0,ye.jsx)(xe,{userData:c,aemChatConfig:(0,a.A)({market:null===i||void 0===i?void 0:i.market,lang:null===i||void 0===i?void 0:i.lang},null===i||void 0===i?void 0:i.chat)}):null}},87520:function(e,t,n){n.d(t,{F:function(){return T}});var a=n(8),o=n(65043),r=n(22625),i=n(74079),l=n(76930),s=n(27755),c=n(95250),d=n(43761),u=n(4413),p=n(57284),m=n(78113),g=n(68021),v=n(38379),b=n(21916),f=n(32448),h=n(5492),C=n(82228),y=n(61991),A=n(35358),x=n(52415),S=n(60336),E=n(49291),w=n(70579);function k(e){var{open:t,inputValue:n,isLoading:o=!1,enterCodeLabel:r,enterCodePlaceholder:i,enterCodeHelper:l,enterCodeTooltipMessage:s,submitCodeButtonLabel:c,enterCodesModalTitle:d,onChange:u,onClose:p,onSubmit:m}=e,g={variant:v.YV.H5,content:d},k={display:b.Tq.Flex,flexDirection:f.zF.Column,flexGap:f.y$.Size_3,className:"submit-code-container"},L={display:b.Tq.Flex,flexDirection:f.zF.Column,flexAlignItems:f.w7.Start,flexGap:f.y$.Size_5},P={label:r,tooltipMessage:s,placeholder:i,helperText:l,defaultPadding:!1,value:n,onChange:u,tooltipIsHtml:!0,tooltipProps:{className:"enter-codes-tooltip"}},I={label:c,buttonWidth:h.a0.Auto,disable:!n||o,onClick:()=>{n&&!o&&(null===m||void 0===m||m(n))}};return(0,w.jsx)(C.l,{isOpen:t,onClose:()=>{null===p||void 0===p||p()},dismissible:!0,closeAriaLabel:"Close",className:"submit-code-modal",maxWidth:y.F.MD,fullWidth:!0,zIndex:2001,transparentBackdrop:!0,children:(0,w.jsxs)(A.m,(0,a.A)((0,a.A)({},k),{},{children:[(0,w.jsx)(x.E,(0,a.A)({},g)),(0,w.jsxs)(A.m,(0,a.A)((0,a.A)({},L),{},{children:[(0,w.jsx)(S.o,(0,a.A)({},P)),(0,w.jsx)(E.$,(0,a.A)({},I))]}))]}))})}var L=n(88232),P=n(41588),I=n(57525),R=n(12572),O={method:"POST",headers:{"Content-Type":"application/json"}};function T(e){var t,{isAbleToClaim:n,renderChildren:v}=e,[b,f]=(0,o.useState)(!1),[h,C]=(0,o.useState)(!1),y=null===p.w||void 0===p.w?void 0:p.w.getConfig(),A=null===p.w||void 0===p.w?void 0:p.w.getConfig(null===p.w||void 0===p.w||null===(t=p.w.ConfigObjects)||void 0===t?void 0:t.CbxConfig),x=null===y||void 0===y?void 0:y.scanCodesConfig,S=null===x||void 0===x?void 0:x.uiLabels,E=null===x||void 0===x?void 0:x.uiLinks,T=null===x||void 0===x?void 0:x.responseLabels,N=null===x||void 0===x?void 0:x.api,{enterCodeLabel:B="input label",enterCodePlaceholder:j="placeholder",enterCodeHelper:M="helper text",enterCodeTooltipMessage:$="tooltip message",submitCodeButtonLabel:F="button",enterCodesModalTitle:D="Enter Codes"}=null!==S&&void 0!==S?S:{},{rewardsStorePath:_,contactUsPath:z,stillHaveQuestionsPath:U,enterManuallyPath:H}=null!==E&&void 0!==E?E:{},{clubCodeEntered:W="",clubLimitError:V="",clubMonthlyLimit:q="",codeLimitError:X="",codeRedeemedSuccessfully:Y="",firstCodeRedeemed:K="",invalidCodeError:G="",maxCodeLimit:J="",superCodeRedeemed:Z="",systemError:Q=""}=null!==T&&void 0!==T?T:{},[ee,te]=(0,o.useState)(""),[ne,ae]=(0,o.useState)(),[oe,re]=(0,o.useState)(!1),[ie,le]=(0,o.useState)(void 0),[se,ce]=(0,o.useState)(void 0),[de]=(0,d.A)([u.eD]),ue=(0,R.L)(),pe=(()=>{try{return null!==de&&void 0!==de&&de.gig_uid?atob(de.gig_uid):""}catch(e){return""}})(),{notifyCodeRedeemed:me}=(0,P.A)(),{setPointsBalance:ge}=(0,I.A)(),ve=(0,o.useCallback)(e=>{var t,n,a=null!==(t=null===e||void 0===e?void 0:e.data)&&void 0!==t?t:e,o=(0,m.LS)(null===a||void 0===a?void 0:a.messageKey);(C(!1),f(!1),ce({status:o,receivedAt:Date.now()}),"success"===m.oV[o])&&me(null!==(n=null===a||void 0===a?void 0:a.availablePointsBalance)&&void 0!==n?n:void 0);null!=(null===a||void 0===a?void 0:a.availablePointsBalance)&&ae(a.availablePointsBalance)},[]),be=(0,o.useCallback)(()=>{C(!1),f(!1),ce({status:g.Y.ServerError,receivedAt:Date.now()})},[]),{isLoading:fe,fetchData:he}=(0,L.A)({url:null!==N&&void 0!==N?N:"",auto:!1,options:(0,a.A)((0,a.A)({},O),{},{headers:(0,a.A)((0,a.A)((0,a.A)((0,a.A)((0,a.A)({},O.headers),ue?{Authorization:"Bearer ".concat(ue)}:{}),null!==A&&void 0!==A&&A.xCountryCode?{"X-Country-Code":A.xCountryCode}:{}),null!==A&&void 0!==A&&A.xChannel?{"X-Channel":A.xChannel}:{}),null!==A&&void 0!==A&&A.brand?{"X-Brand":A.brand}:{})}),onSuccess:ve,onError:be}),Ce=(0,o.useMemo)(()=>se?"success"===m.oV[se.status]?_:z:"",[se]);(0,o.useEffect)(()=>{ne&&ge&&ge(ne)},[ne,ge]);var ye=(0,o.useMemo)(()=>({[g.Y.InvalidCode]:G,[g.Y.SuperCodeSuccess]:Z,[g.Y.FirstCodeSuccess]:K,[g.Y.RegularSuccess]:Y,[g.Y.RegularTenCodesLeftSuccess]:J,[g.Y.RegularErrorExceed]:X,[g.Y.Club36Success]:W,[g.Y.Club36TenCodesLeftSuccess]:q,[g.Y.Club36ErrorExceed]:V,[g.Y.ServerError]:Q}),[T]),Ae=(0,o.useCallback)(e=>{var{target:t}=e,{value:n}=t;te(n)},[]),xe=(0,o.useCallback)(e=>{var t=(0,m.en)(e);he("".concat(null===A||void 0===A?void 0:A.cbxUrl).concat(N,"/consumers/").concat(pe,"/codes/").concat(t,"/claim"))},[pe]),Se=(0,o.useCallback)(()=>{te("")},[]),Ee=(0,o.useCallback)(()=>{f(!0),C(!1),re(!0)},[]),we=(0,o.useCallback)(()=>{f(!1),C(!0),re(!1)},[]),ke=(0,r.sD)([Ee,Ee,we]),Le=(0,o.useCallback)(()=>{te(""),ke()},[]);return(0,o.useEffect)(()=>{ie&&(ie.status===i.H.Scan?Ee():we())},[ie]),n?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(l.l,{open:b,helpLinkUrl:U,enterManuallyUrl:H,onOpen:()=>re(!0),onClose:()=>f(!1),onScanCode:xe,onEnterManually:H?void 0:we}),(0,w.jsx)(k,{open:h,inputValue:ee,isLoading:fe,enterCodeLabel:B,enterCodePlaceholder:j,enterCodeHelper:M,enterCodeTooltipMessage:$,submitCodeButtonLabel:F,enterCodesModalTitle:D,onChange:Ae,onClose:()=>C(!1),onSubmit:xe}),void 0!==se&&(0,w.jsx)(s.j,{codeStatusResponse:se,scanButtonTriggered:oe,secondaryMessageVariantLink:Ce,messageVariants:ye,isLoadingRequest:fe,onSuccess:Se,onCloseMessageVariant:()=>ce(void 0),setActionTypeTriggered:le,variant:"error"===m.oV[se.status]?c.K.ERROR:c.K.SUCCESS}),v(Le)]}):v(Le)}},97630:function(e,t,n){n.r(t);var a=n(8),o=n(80045),r=(n(65043),n(78083)),i=n(28944),l=n(13260),s=n(39542),c=n(12105),d=n(15572),u=n(66324),p=n(70579),m=["title","phoneNumberLabel","phoneNumber","schedule","disclaimer","id"],g=(0,s.A)((0,d.A)(e=>{var t=e.model,{title:n,phoneNumberLabel:s,phoneNumber:d,schedule:u,disclaimer:g,
1id:v}=t,b=(0,o.A)(t,m),{getDataTestIdObject:f}=e,h=(0,c.R)(e,b),C={title:n,phoneNumberLabel:s,phoneNumber:d,schedule:u};return(0,p.jsx)(r.EditableComponent,(0,a.A)((0,a.A)({},h),{},{children:(0,l.J)(C)?(0,p.jsx)(i.g,(0,a.A)((0,a.A)({},C),{},{id:v,disclaimer:g},f("need-help",v))):l.A.emptyLabel}))})),v=(0,u.Xc)(g,{componentName:"NeedHelp",fallback:(0,p.jsx)(u.xP,{componentName:"NeedHelp"})});t.default=v},68021:function(e,t,n){n.d(t,{Y:function(){return a}});var a=function(e){return e.InvalidCode="INVALID_CODE",e.SuperCodeSuccess="SUPER_CODE_SUCCESS",e.FirstCodeSuccess="FIRST_CODE_SUCCESS",e.RegularSuccess="REGULAR_SUCCESS",e.RegularTenCodesLeftSuccess="REGULAR_10_CODES_LEFT_SUCCESS",e.RegularErrorExceed="REGULAR_ERROR_EXCEED",e.Club36Success="CLUB36_SUCCESS",e.Club36TenCodesLeftSuccess="CLUB36_10_CODES_LEFT_SUCCESS",e.Club36ErrorExceed="CLUB36_ERROR_EXCEED",e.ServerError="SERVER_ERROR",e}({})},78113:function(e,t,n){n.d(t,{LS:function(){return l},en:function(){return o},oV:function(){return r}});var a=n(68021),o=e=>{var t=e.trim();try{var n;return null!==(n=new URL(t).pathname.split("/").filter(Boolean)[0])&&void 0!==n?n:t}catch(a){return t}},r={INVALID_CODE:"error",ALREADY_CLAIMED:"error",SUPER_CODE_SUCCESS:"success",FIRST_CODE_SUCCESS:"success",REGULAR_SUCCESS:"success",REGULAR_10_CODES_LEFT_SUCCESS:"success",REGULAR_ERROR_EXCEED:"error",CLUB36_SUCCESS:"success",CLUB36_10_CODES_LEFT_SUCCESS:"success",CLUB36_ERROR_EXCEED:"error",SERVER_ERROR:"error"},i={INVALID_CODE:a.Y.InvalidCode,ALREADY_CLAIMED:a.Y.InvalidCode,SUPER_CODE_SUCCESS:a.Y.SuperCodeSuccess,FIRST_CODE_SUCCESS:a.Y.FirstCodeSuccess,REGULAR_SUCCESS:a.Y.RegularSuccess,REGULAR_10_CODES_LEFT_SUCCESS:a.Y.RegularTenCodesLeftSuccess,REGULAR_ERROR_EXCEED:a.Y.RegularErrorExceed,CLUB36_SUCCESS:a.Y.Club36Success,CLUB36_10_CODES_LEFT_SUCCESS:a.Y.Club36TenCodesLeftSuccess,CLUB36_ERROR_EXCEED:a.Y.Club36ErrorExceed,SERVER_ERROR:a.Y.ServerError},l=e=>e&&i[e]?i[e]:a.Y.ServerError},18430:function(e,t,n){n.r(t);var a=n(8),o=n(80045),r=(n(65043),n(78083)),i=n(59340),l=n(30028),s=n(39542),c=n(12105),d=n(15572),u=n(66324),p=n(70579),m=["currentStep","totalSteps","label","ariaLabel","id"],g=(0,s.A)((0,d.A)(e=>{var t=e.model,{currentStep:n,totalSteps:s,label:d,ariaLabel:u,id:g}=t,v=(0,o.A)(t,m),{getDataTestIdObject:b}=e,f=(0,c.R)(e,v),h={currentStep:n,totalSteps:s,label:d,ariaLabel:u};return(0,p.jsx)(r.EditableComponent,(0,a.A)((0,a.A)({},f),{},{children:(0,l.t)(h)?(0,p.jsx)(i.S,(0,a.A)((0,a.A)({},h),{},{id:g},b("step-indicator",g))):l.A.emptyLabel}))})),v=(0,u.Xc)(g,{componentName:"StepIndicator",fallback:(0,p.jsx)(u.xP,{componentName:"StepIndicator"})});t.default=v},77480:function(e,t,n){n.r(t);var a=n(8),o=n(80045),r=n(65043),i=n(78083),l=n(35358),s=n(49048),c=n(83081),d=n(28801),u=n(86936),p=n(93334),m=n(52548),g=n(39542),v=n(12105),b=n(66324),f=n(70579),h=["copyElementId","copyFeedbackLabel","cqItems","cqItemsOrder","cqType"],C=(0,g.A)(e=>{var t=(null===e||void 0===e?void 0:e.model)||{},{copyElementId:n,copyFeedbackLabel:g,cqItems:b,cqItemsOrder:C,cqType:y}=t,A=(0,o.A)(t,h),x=(0,v.R)(e,A),S=(0,m.cj)(),[E,w]=(0,r.useState)(!1),k=(0,a.A)({},b),L=()=>{if(n&&!S){var e,t,a=null===(e=document)||void 0===e||null===(t=e.getElementById(n))||void 0===t?void 0:t.textContent;navigator.clipboard.writeText(a||""),w(!0)}};Object.values(k).forEach(e=>{e.onClick=L});var P={model:(0,a.A)({cqItems:k,cqItemsOrder:C,cqType:y},A)},I={clickable:!1,isOpen:E,title:g,onClose:()=>{w(!1)},designStyle:c.o.Primary,placement:c.u.TopStart},R=d.AuthoringUtils.isInEditor()?(0,f.jsx)(u.A,(0,a.A)({},x)):(0,f.jsx)(l.m,{children:(0,f.jsx)(s.m,(0,a.A)((0,a.A)({},I),{},{children:(0,f.jsx)(u.A,(0,a.A)({},P))}))});return(0,f.jsx)(i.EditableComponent,(0,a.A)((0,a.A)({},e),{},{children:p.A.isEmpty(e)?p.A.emptyLabel:R}))}),y=(0,b.Xc)(C,{componentName:"CopyToClipboard",fallback:(0,f.jsx)(b.xP,{componentName:"CopyToClipboard"})});t.default=y},18700:function(e,t,n){n.r(t);var a=n(8),o=n(80045),r=n(65043),i=n(78083),l=n(52415),s=n(96109),c=n(21868),d=n(38379),u=n(28801),p=n(66324),m=n(86936),g=n(30906),v=n(39542),b=n(12105),f=n(70579),h=["readLessLabel","readMoreLabel","readLessAriaLabel","readMoreAriaLabel"],C=(0,v.A)(e=>{var[t,n]=(0,r.useState)(!1),p=e.model,{readLessLabel:v,readMoreLabel:C,readLessAriaLabel:y,readMoreAriaLabel:A}=p,x=(0,o.A)(p,h),S=(0,b.R)(e,x);(0,r.useEffect)(()=>{u.AuthoringUtils.isInEditor()&&n(!0)},[]);var E=t&&v||C,w=E===C?A:y,k=(0,a.A)({iconPosition:c.Eb.Right,underline:c.Zt.Always,fontSize:c.Ct.Body2,onClick:()=>{n(!t)},label:E},w?{"aria-label":w}:{});return(0,f.jsx)(i.EditableComponent,(0,a.A)((0,a.A)({},S),{},{children:C?(0,f.jsxs)(f.Fragment,{children:[(t||u.AuthoringUtils.isInEditor())&&(0,f.jsx)(m.A,(0,a.A)({},S)),(0,f.jsx)(l.E.TextSection,{textHorizontalAlignment:d.Ce.Center,component:d.Fm.P,children:(0,f.jsx)(s.N,(0,a.A)({},k))})]}):g.A.emptyLabel}))}),y=(0,p.Xc)(C,{componentName:"ReadMore",fallback:(0,f.jsx)(p.xP,{componentName:"ReadMore"})});t.default=y},4496:function(e,t,n){n.r(t),n.d(t,{default:function(){return y}});var a=n(8),o=n(80045),r=n(65043),i=n(78083),l=n(28801),s=n(17012),c=n(43582),d=n(35358),u=n(21916),p=n(4413),m=n(86936),g=n(39542),v=n(12105),b=n(66324),f=n(70579),h=["observedComponentIds","id"],C=(0,g.A)(e=>{var t=e.model,{observedComponentIds:n,id:g}=t,b=(0,o.A)(t,h),C=(0,v.R)(e,b),y=(0,r.useMemo)(()=>n||[],[n]),A=((e,t)=>{var[n,o]=(0,r.useState)({}),i=t.join(",");(0,r.useEffect)(()=>{var e=(null===t||void 0===t?void 0:t.map(e=>{var t=document.getElementById(e);return t?{[e]:t}:null}
1).filter(Boolean).reduce((e,t)=>Object.assign(e,t),{}))||{};o(e)},[i]);var l=(0,r.useCallback)(()=>{o(e=>{var t={};return Object.keys(e).forEach(e=>{t[e]=document.getElementById(e)}),Object.keys(t).some(n=>t[n]!==e[n])?(0,a.A)({},t):e})},[]),s=(0,r.useCallback)(e=>{(null===e||void 0===e?void 0:e.some(e=>"childList"===e.type))&&l()},[l]);return(0,r.useEffect)(()=>{var t=document.getElementById(e);if(t){var n=new MutationObserver(s);return n.observe(t,{childList:!0,subtree:!0}),()=>{n.disconnect()}}},[e,s]),n})(p.tP,y),[x,S]=(0,r.useState)({});(0,r.useEffect)(()=>{var e,t,a=(null===n||void 0===n||null===(e=n.map(e=>({[e]:null})))||void 0===e||null===(t=e.filter(Boolean))||void 0===t?void 0:t.reduce((e,t)=>Object.assign(e,t),{}))||{};S(a)},[]),(0,r.useEffect)(()=>{var e=new IntersectionObserver(e=>{var t=e.filter(e=>!!e.rootBounds);if(t.length>0){var n=(0,a.A)({},x),o=!1;t.forEach(e=>{var t,a;e.isIntersecting!==x[null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.id]&&(o=!0,n[null===e||void 0===e||null===(a=e.target)||void 0===a?void 0:a.id]=e.isIntersecting)}),o&&S(n)}});return Object.values(A).forEach(t=>t&&(null===e||void 0===e?void 0:e.observe(t))),()=>{null===e||void 0===e||e.disconnect()}},[x,A]);var E=Object.keys(x).filter(e=>null!==x[e]),w=!E.map(e=>x[e]).some(Boolean),k={isShown:E.length>0&&w,screenPosition:s.S.Bottom,id:g};return(0,f.jsx)(i.EditableComponent,(0,a.A)((0,a.A)({},C),{},{children:l.AuthoringUtils.isInEditor()?(0,f.jsx)(m.A,(0,a.A)({},C)):(0,f.jsx)(c.i,(0,a.A)((0,a.A)({},k),{},{children:(0,f.jsx)(d.m,{width:u.nJ.Full,children:(0,f.jsx)(m.A,(0,a.A)({},C))})}))}))}),y=(0,b.Xc)(C,{componentName:"Sticky",fallback:(0,f.jsx)(b.xP,{componentName:"Sticky"})})},84754:function(e,t,n){n.r(t);var a=n(8),o=n(65043),r=n(82228),i=n(77857),l=n(61991),s=n(28801),c=n(81e3),d=n(66324),u=n(54728),p=n(70579),m=(0,d.Xc)(()=>{var[e,t]=o.useState(!1),[n,d]=o.useState(""),m=o.useCallback(e=>{d(e),t(!0)},[]);o.useEffect(()=>{u.H.actionProps.onClick=m},[m]);var g={id:"video-dialog",fullWidth:!0,fullScreen:!0,dismissible:!0,onClose:()=>t(!1),zIndex:1351,maxWidth:l.F.MD,dialogContentPadding:!1,closeButtonSx:{top:"calc(1.5rem + 20vh)"}},v={url:n,width:"100%",height:"100%",additionalParams:{allow:"sync-script 'none'; sync-xhr 'none'; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",referrerpolicy:"strict-origin-when-cross-origin",style:{display:"block"}}};return e&&!s.AuthoringUtils.isInEditor()&&(0,p.jsx)(r.l,(0,a.A)((0,a.A)({},(0,a.A)({isOpen:e},g)),{},{children:(0,p.jsx)(c.A,{sx:{height:"100%",paddingTop:{xs:"calc(4.5rem + 20vh)",sm:"calc(4rem + 20vh)",md:"calc(3rem + 20vh)",lg:"20vh"}},children:(0,p.jsx)(i.v,(0,a.A)({},v))})}))},{componentName:"VideoModal",fallback:(0,p.jsx)(d.xP,{componentName:"VideoModal"})});t.default=m},12572:function(e,t,n){n.d(t,{L:function(){return r}});var a=n(43761),o=n(4413),r=()=>{var[e]=(0,a.A)([o._c,o.Hd]);return(null===e||void 0===e?void 0:e[o._c])||(null===e||void 0===e?void 0:e[o.Hd])||void 0}},41588:function(e,t,n){var a=n(65043),o=[];t.A=function(){var[e,t]=(0,a.useState)(0),[n,r]=(0,a.useState)(null),i=(0,a.useRef)(null);return(0,a.useEffect)(()=>{var e=e=>{t(e=>e+1),null!=e&&r(e)};return i.current=e,o.push(e),()=>{o=o.filter(t=>t!==e)}},[]),{codeRedeemedEventCount:e,lastRedeemedPointsBalance:n,notifyCodeRedeemed:(0,a.useCallback)(e=>{o.forEach(t=>t(e))},[])}}},88232:function(e,t,n){var a=n(10467),o=n(65043),r=n(39688);t.A=function(e){var{url:t,options:n={},initialLoading:i=!1,auto:l=!0,onSuccess:s,onError:c}=e,[d,u]=(0,o.useState)(null),[p,m]=(0,o.useState)(!1),[g,v]=(0,o.useState)(i),b=(0,o.useCallback)(function(){var e=(0,a.A)(function*(e){var a=null!==e&&void 0!==e?e:t;if(a){v(!0),u(null),m(!1);try{var o=yield r.Ay.fetch(a,n);if((null===o||void 0===o?void 0:o.status)===r.wA.RC200){var i=yield o.json();u(i),null===s||void 0===s||s(i)}else u(null),m(!0),null===c||void 0===c||c()}catch(l){u(null),m(!0),null===c||void 0===c||c()}finally{v(!1)}}});return function(t){return e.apply(this,arguments)}}(),[t]);return(0,o.useEffect)(()=>{l&&b()},[l,b]),{response:d,hasError:p,isLoading:g,fetchData:b}}},57525:function(e,t,n){n.d(t,{A:function(){return b}});var a=n(10467),o=n(8),r=n(65043),i=n(43761),l=n(4548);var s=class{static getAccount(e){return(0,a.A)(function*(){var{baseUrl:t,consumerId:n,loyaltyEndpoint:a,headers:o}=e,r="".concat(t).concat(a,"/consumers/").concat(n,"/membership"),i=yield fetch(r,{method:"GET",headers:o});if(!i.ok)throw new Error("HTTP ".concat(i.status," ").concat(i.statusText));var{data:l}=yield i.json();return l})()}},c=n(41971),d=n(21012),u=n(4413),p=n(57284),m={pointsBalance:0,tierLevel:"0",tierPointsToNextLevel:0,tierTotalPoints:0,isLoadingPointsBalance:!0,isError:!1};function g(e,t){var n,a,o,r,i,l,s=new Headers({"X-Brand":null!==(n=null===e||void 0===e?void 0:e.brand)&&void 0!==n?n:"","X-Country-Code":null!==(a=null===e||void 0===e?void 0:e.xCountryCode)&&void 0!==a?a:"","X-Channel":null!==(o=null===e||void 0===e?void 0:e.xChannel)&&void 0!==o?o:"","X-Application-Id":null!==(r=null===e||void 0===e?void 0:e.applicationId)&&void 0!==r?r:"","X-Market":null!==(i=null===e||void 0===e?void 0:e.xMarket)&&void 0!==i?i:"","X-Locale":null!==(l=null===e||void 0===e?void 0:e.locale)&&void 0!==l?l:""});return t&&s.set("Authorization","Bearer ".concat(t)),s}var v=(0,l.vt)((e,t)=>(0,o.A)((0,o.A)({},m),{},{isFetching:!1,lastFetchedKey:null,fetchPoints:function(){var n=(0,a.A)(function*(n){var a,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{jwt:i,uid:l}=n,c=(e=>{var{jwt:t,uid:n}=e;return"".concat(null!==t&&void 0!==t?t:"","|").concat(null!==n&&void 0!==n?n:"")})(n),{isFetching:d,lastFetchedKey:u}=t();if(r||!d&&u!==c){var v=null===p.w||void 0===p.w?void 0:p.w.getConfig(null===p.w||void 0===p.w||null===(a=p.w.ConfigObjects)||void 0===a?void 0:a.CbxConfig);e({isLoadingPointsBalance:!0,isError:!1,isFetching:!0});try{var b,f,h,C,y,A=l?atob(l):"",x=yield s.getAccount({baseUrl:null!==(b=null===v||void 0===v?void 0:v.cbxUrl)&&void 0!==b?b:"",consumerId:A,loyaltyEndpoint:"/swma-loyalty/v1.0",headers:g(v,i)});e({pointsBalance:null!==(f=null===x||void 0===x?void 0:x.availablePointsBalance)&&void 0!==f?f:0,tierLevel:null!==(h=null===x||void 0===x?void 0:x.tierLevel)&&void 0!==h?h:"0",tierPointsToNextLevel:null!==(C=null===x||void 0===x?void 0:x.tierPointsToNextLevel)&&void 0!==C?C:0,tierTotalPoints:null!==(y=null===x||void 0===x?void 0:x.tierTotalPoints)&&void 0!==y?y:0,isLoadingPointsBalance:!1,isError:!1,isFetching:!1,lastFetchedKey:c})}catch(S){e((0,o.A)((0,o.A)({},m),{},{isLoadingPointsBalance:!1,isError:!0,isFetching:!1,lastFetchedKey:null}))}}});return function(e){return n.apply(this,arguments)}}(),setPointsBalance:t=>e({pointsBalance:t})})),b=()=>{var[e]=(0,i.A)([u.Hd,u.eD]),t=(0,r.useContext)(c.lA),n=v(e=>e.pointsBalance),a=v(e=>e.tierLevel),o=v(e=>e.tierPointsToNextLevel),l=v(e=>e.tierTotalPoints),s=v(e=>e.isLoadingPointsBalance),p=v(e=>e.isError),m=v(e=>e.setPointsBalance),g=e.gig_jwt,b=e.gig_uid,f=null===t||void 0===t?void 0:t.decoratedUserType,h=f===d.p7.LauHav||f===d.p7.LauHavDev;(0,r.useEffect)(()=>{g&&b&&h&&v.getState().fetchPoints({jwt:g,uid:b})},[g,b,h]);return{pointsBalance:n,tierLevel:a,tierPointsToNextLevel:o,tierTotalPoints:l,isLoadingPointsBalance:s,isError:p,setPointsBalance:m,refreshPointsBalance:()=>{v.getState().fetchPoints({jwt:g,uid:b},!0)}}}},15572:function(e,t,n){n.d(t,{A:function(){return c}});var a=n(8),o=(n(65043),n(52548)),r=n(4413),i=n(70579),l=()=>{var e=(0,o.cj)()?void 0:new URLSearchParams(window.location.search);return(null===e||void 0===e?void 0:e.get(r.PE))===r.lB},s=(e,t,n)=>
1e&&n?{"data-testid":[t,n,"test-id"].filter(Boolean).join("-")}:{};function c(e){return t=>{var n=l(),o={getDataTestIdObject:(e,t)=>s(n,e,t)};return(0,i.jsx)(e,(0,a.A)((0,a.A)({},t),o))}}},23992:function(e,t,n){n.d(t,{IM:function(){return d}});var a=n(8),o=n(65043),r=n(4413),i=n(48939),l=n(41971),s=e=>{var{markerData:t,data:n,pattern:a,isEditMode:o=!1}=e;if(t){var i={},l=new RegExp("\\$".concat(a,"_").concat(r.Zc),"g");return Object.entries(t).forEach(e=>{var[t,r]=e;if(r){var s=r.replace(l,(e,t)=>{var r=((e,t)=>{if(t){var n=(e,t)=>t.reduce((e,t)=>{if(null!=e){if(Array.isArray(e)){var[n]=e;if(null==n)return;return null===n||void 0===n?void 0:n[t]}return null===e||void 0===e?void 0:e[t]}},e);if(t.includes("."))return n(e,t.split("."));var a=null===e||void 0===e?void 0:e[t];return void 0!==a?a:t.includes("_")?n(e,t.split("_")):void 0}})(n,t);return null!==r&&void 0!==r?r:o?"$".concat(a,"_").concat(t,"$"):""});i[t]=s}else i[t]=r}),i}},c=/\$\w+_[^$]*\$/g,d=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],[r,d]=(0,o.useState)(function(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?e:Object.entries(e).reduce((e,t)=>{var[n,o]=t;return(0,a.A)((0,a.A)({},e),{},{[n]:o?o.replace(c,""):o})},{})}(e,n)),u=(0,o.useContext)(l.lA),p=(0,i.Do)(),m=null===t||void 0===t?void 0:t.match(/\$(\w+?)_/),g=m?m[1]:null;return(0,o.useEffect)(()=>{var t,o,i=s({markerData:e,data:(0,a.A)((0,a.A)({},p),null!==(t=null===u||void 0===u||null===(o=u.user)||void 0===o?void 0:o.profile)&&void 0!==t?t:{}),pattern:g||"",isEditMode:n});JSON.stringify(r)!==JSON.stringify(i)&&i&&d(i)},[u,e]),(0,a.A)({},r)}},48939:function(e,t,n){n.d(t,{Do:function(){return u},Ex:function(){return d}});var a=n(8),o=n(65043),r=n(46656),i=()=>{var e=window.location.href,t=e.lastIndexOf("/");return(-1!==t?e.substring(0,t+1):e).replace(/\/$/,"")},l=null,s=e=>{var t,n=i();l=(0,a.A)((0,a.A)({},e),{},{url:"".concat(n,"/").concat(null===e||void 0===e||null===(t=e.seo)||void 0===t?void 0:t.productsSeoUrl,".html")})},c=()=>l,d=e=>{var t,n=i();l=(0,a.A)((0,a.A)({},e),{},{url:"".concat(n,"/").concat(null===e||void 0===e||null===(t=e.seo)||void 0===t?void 0:t.productsSeoUrl,".html")}),s(l)},u=(0,r.Pf)(c,()=>{var[e,t]=(0,o.useState)(c);return s=t,e})},2335:function(e,t,n){n.d(t,{v:function(){return c}});var a,o=n(65043),r=n(43845),i=n(22625);!function(e){e.Div="DIV",e.Span="SPAN"}(a||(a={}));var l=function(){return l=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},l.apply(this,arguments)},s=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]])}return n},c=function(e){var t=e.label,n=e.color,c=e.borderColor,d=e.background,u=e.id,p=e.className,m=e.component,g=void 0===m?a.Span.toLowerCase():m,v=s(e,["label","color","borderColor","background","id","className","component"]),b=l({label:t,component:g.toLowerCase(),id:u,sx:{background:d,outlineColor:c,color:n},className:p},(0,i.gu)(v));return o.createElement(r.A,l({},b))}},24619:function(e,t,n){n.d(t,{C:function(){return f}});var a=n(65043),o=n(46060),r=n(22625),i=n(96109),l=n(65947),s=n(32710),c=n(32448),d=n(35358),u=n(21916),p=function(){return p=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},p.apply(this,arguments)},m=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]])}return n},g=(0,o.A)("video",{name:"MuiVideo",overridesResolver:function(e,t){return[t.root]}})({}),v=(0,o.A)("div",{name:"MuiVideoPlayer",overridesResolver:function(e,t){return[t.root]}})({}),b=function(e){var t=e.linkUrl,n=e.linkTarget,o=e.onClick,l=e.className,s=e.children,c=m(e,["linkUrl","linkTarget","onClick","className","children"]),d=p({linkUrl:t,linkTarget:n,onClick:o,className:l},(0,r.gu)(c));return t||n||o?a.createElement(i.N,p({},d),s):a.createElement(a.Fragment,null,s)},f=function(e){var t=e.autoPlay,n=e.loop,o=e.muted,i=e.controls,f=e.disablePictureInPicture,h=e.onLoadEnd,C=e.playsInl
1ine,y=e.alt,A=e.src,x=(e.srcSetData,e.renditions,e.lazyLoading),S=e.width,E=void 0===S?"100%":S,w=e.height,k=void 0===w?"auto":w,L=e.linkUrl,P=e.linkTarget,I=e.onClick,R=(e.onMouseEnter,e.onMouseLeave,e.tracks),O=e.innerRef,T=e.sx,N=e.id,B=e.className,j=e.title,M=e.portraitSrc,$=e.portraitPoster,F=e.landscapeSrc,D=e.landscapePoster,_=e.playControls,z=e.audioControls,U=e.playAriaLabel,H=e.pauseAriaLabel,W=e.muteAriaLabel,V=e.unmuteAriaLabel,q=e.videoDescription,X=e.track,Y=e.trackKind,K=e["aria-label"],G=m(e,["autoPlay","loop","muted","controls","disablePictureInPicture","onLoadEnd","playsInline","alt","src","srcSetData","renditions","lazyLoading","width","height","linkUrl","linkTarget","onClick","onMouseEnter","onMouseLeave","tracks","innerRef","sx","id","className","title","portraitSrc","portraitPoster","landscapeSrc","landscapePoster","playControls","audioControls","playAriaLabel","pauseAriaLabel","muteAriaLabel","unmuteAriaLabel","videoDescription","track","trackKind","aria-label"]),J=!!(M||F||_||z),Z=(0,r.al)(),Q=(0,r.Ic)().getResponsiveProp,ee=(0,a.useRef)(null),te=O||ee,ne=(0,a.useRef)(null),ae=(0,a.useState)(!1),oe=ae[0],re=ae[1],ie=(0,a.useState)(!0),le=ie[0],se=ie[1],ce=(0,a.useState)(!1),de=ce[0],ue=ce[1],pe=(0,a.useState)(!1),me=pe[0],ge=pe[1],ve=(0,a.useRef)(!1),be=(0,a.useRef)({isPlaying:null!==t&&void 0!==t&&t,isMuted:!0}),fe=(0,a.useMemo)(function(){return J?Z?M||F||A:F||M||A:A},[J,Z,M,F,A]),he=(0,a.useMemo)(function(){return J?Z?$||D||y:D||$||y:y},[J,Z,$,D,y]);(0,a.useEffect)(function(){if(J&&de){var e=te.current;e&&(ge(!1),e.load())}},[J,de,fe,te]),(0,a.useEffect)(function(){if(J){var e=ne.current;if(e){var t=new IntersectionObserver(function(e){var t=e[0].isIntersecting,n=ve.current;if(ve.current=t,t&&!n&&te.current){ue(!0);var a=be.current,o=a.isPlaying,r=a.isMuted;te.current.muted=r,se(r),o&&(te.current.play().catch(function(){}),re(!0))}!t&&n&&te.current&&(be.current={isPlaying:!te.current.paused,isMuted:te.current.muted},te.current.pause(),te.current.muted=!0,re(!1),se(!0))},{threshold:0});return t.observe(e),function(){t.disconnect()}}}},[J,te]);var Ce=(0,a.useCallback)(function(){ge(!0),J&&t&&te.current&&(te.current.muted=!0,te.current.play().catch(function(){}),re(!0),se(!0)),h&&h()},[J,t,te,h]);(0,a.useEffect)(function(){if(J){var e=te.current;if(e){var t=function(){n||re(!1)};return e.addEventListener("ended",t),function(){e.removeEventListener("ended",t)}}}},[J,n,te]);var ye=(0,a.useCallback)(function(){var e=te.current;e&&(oe?(e.pause(),re(!1),be.current.isPlaying=!1):(e.ended&&(e.currentTime=0),e.play().catch(function(){}),re(!0),be.current.isPlaying=!0))},[oe,te]),Ae=(0,a.useCallback)(function(){var e=te.current;e&&(le?(e.muted=!1,se(!1),be.current.isMuted=!1):(e.muted=!0,se(!0),be.current.isMuted=!0))},[le,te]),xe=(0,a.useMemo)(function(){return X&&Y?[{filePath:X,lang:Y,kind:Y}]:R},[X,Y,R]),Se=p({linkUrl:L,linkTarget:P,onClick:I,className:B,"aria-label":K||j||void 0},(0,r.gu)(G)),Ee={ref:te,alt:he,loading:x?"lazy":"eager",autoPlay:J?void 0:t,onLoadedData:Ce,disablePictureInPicture:f,loop:n,muted:J?le:o,controls:!J&&i,playsInline:!!J||C,preload:J&&!de?"none":void 0,style:p({width:E,height:k},T),id:N,"aria-label":J?K||j:K,"aria-details":J&&N&&q?"".concat(N,"_details"):void 0},we={src:fe,type:"video/mp4"},ke=(0,a.useMemo)(function(){return{icon:oe?"pmi-icon-pause":"pmi-icon-play-btn",size:s.Tp.Medium,"aria-label":oe?H:U,"aria-controls":N,onClick:ye}},[oe,H,U,N,ye]),Le=(0,a.useMemo)(function(){return{icon:le?"pmi-icon-mute":"pmi-icon-unmute",size:s.Tp.Medium,"aria-label":le?V:W,"aria-controls":N,onClick:Ae}},[le,V,W,N,Ae]),Pe={display:u.Tq.Flex,flexJustifyContent:c.$e.End,flexAlignItems:c.w7.Center,flexGap:c.y$.Size_2,position:u.WK.Absolute,positionCoordinates:Q([{bottom:u.XW.Size_2,right:u.XW.Size_2}])},Ie=a.createElement(b,p({},Se),a.createElement(g,p({},Ee),(!J||de)&&a.createElement("source",p({},we)),null===xe||void 0===xe?void 0:xe.map(function(e){var t;return a.createElement("track",{default:!0,key:e.filePath,src:e.filePath,kind:null!==(t=null===e||void 0===e?void 0:e.kind)&&void 0!==t?t:"captions",srcLang:e.lang,label:e.lang})})));return J?a.createElement(a.Fragment,null,a.createElement(v,{ref:ne,style:{position:"relative"}}
1,Ie,(_||z)&&me&&a.createElement(d.m,p({},Pe),_&&a.createElement(l.K,p({},ke)),z&&a.createElement(l.K,p({},Le)))),q&&N&&a.createElement("details",{id:"".concat(N,"_details")},a.createElement("span",{dangerouslySetInnerHTML:{__html:q}}))):Ie}},40784:function(e,t,n){n.d(t,{n:function(){return oe}});var a=n(65043),o=n(34535),r=n(81e3),i=n(58168),l=n(98587),s=n(58387),c=n(98610),d=n(98206),u=n(9998),p=n(99303),m=n(14318),g=n(80653),v=n(26240),b=n(95849),f=n(92532),h=n(72372);function C(e){return(0,h.Ay)("MuiCollapse",e)}(0,f.A)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var y=n(70579);const A=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],x=(0,o.Ay)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],"entered"===n.state&&t.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&t.hidden]}})(({theme:e,ownerState:t})=>(0,i.A)({height:0,overflow:"hidden",transition:e.transitions.create("height")},"horizontal"===t.orientation&&{height:"auto",width:0,transition:e.transitions.create("width")},"entered"===t.state&&(0,i.A)({height:"auto",overflow:"visible"},"horizontal"===t.orientation&&{width:"auto"}),"exited"===t.state&&!t.in&&"0px"===t.collapsedSize&&{visibility:"hidden"})),S=(0,o.Ay)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})(({ownerState:e})=>(0,i.A)({display:"flex",width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"})),E=(0,o.Ay)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})(({ownerState:e})=>(0,i.A)({width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"})),w=a.forwardRef(function(e,t){const n=(0,d.b)({props:e,name:"MuiCollapse"}),{addEndListener:o,children:r,className:f,collapsedSize:h="0px",component:w,easing:k,in:L,onEnter:P,onEntered:I,onEntering:R,onExit:O,onExited:T,onExiting:N,orientation:B="vertical",style:j,timeout:M=m.p0.standard,TransitionComponent:$=u.Ay}=n,F=(0,l.A)(n,A),D=(0,i.A)({},n,{orientation:B,collapsedSize:h}),_=(e=>{const{orientation:t,classes:n}=e,a={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return(0,c.A)(a,C,n)})(D),z=(0,v.A)(),U=(0,p.A)(),H=a.useRef(null),W=a.useRef(),V="number"===typeof h?`${h}px`:h,q="horizontal"===B,X=q?"width":"height",Y=a.useRef(null),K=(0,b.A)(t,Y),G=e=>t=>{if(e){const n=Y.current;void 0===t?e(n):e(n,t)}},J=()=>H.current?H.current[q?"clientWidth":"clientHeight"]:0,Z=G((e,t)=>{H.current&&q&&(H.current.style.position="absolute"),e.style[X]=V,P&&P(e,t)}),Q=G((e,t)=>{const n=J();H.current&&q&&(H.current.style.position="");const{duration:a,easing:o}=(0,g.c)({style:j,timeout:M,easing:k},{mode:"enter"});if("auto"===M){const t=z.transitions.getAutoHeightDuration(n);e.style.transitionDuration=`${t}ms`,W.current=t}else e.style.transitionDuration="string"===typeof a?a:`${a}ms`;e.style[X]=`${n}px`,e.style.transitionTimingFunction=o,R&&R(e,t)}),ee=G((e,t)=>{e.style[X]="auto",I&&I(e,t)}),te=G(e=>{e.style[X]=`${J()}px`,O&&O(e)}),ne=G(T),ae=G(e=>{const t=J(),{duration:n,easing:a}=(0,g.c)({style:j,timeout:M,easing:k},{mode:"exit"});if("auto"===M){const n=z.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${n}ms`,W.current=n}else e.style.transitionDuration="string"===typeof n?n:`${n}ms`;e.style[X]=V,e.style.transitionTimingFunction=a,N&&N(e)});return(0,y.jsx)($,(0,i.A)({in:L,onEnter:Z,onEntered:ee,onEntering:Q,onExit:te,onExited:ne,onExiting:ae,addEndListener:e=>{"auto"===M&&U.start(W.current||0,e),o&&o(Y.current,e)},nodeRef:Y,timeout:"auto"===M?null:M},F,{children:(e,t)=>(0,y.jsx)(x,(0,i.A)({as:w,className:(0,s.A)(_.root,f,{entered:_.entered,exited:!L&&"0px"===V&&_.hidden}[e]),style:(0,i.A)({[q?"minWidth":"minHeight"]:V},j),ref:K},t,{ownerState:(0,i.A)({},D,{state:e}),children:(0,y.jsx)(S,{ownerState:(0,i.A)({},D,{state:e}),className:_.wrapper,ref:H,children:(0,y.jsx)(E,{ownerState:(0,i.A)({},D,{state:e}),className:_.wrapperInner,children:r})})}))}))});w.muiSupportAuto=!0;var k=w,L=n(63336),P=n(8309),I=n(54516),R=n(63462),O=n(95006),T=n(46004),N=n(9523);const B=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],j=["component","slots","slotProps"],M=["component"];function $(e){return(0,h.Ay)("MuiAccordion",e)}var F=(0,f.A)("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]);const D=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","slots","slotProps","TransitionComponent","TransitionProps"],_=(0,o.Ay)(L.A,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${F.region}`]:t.region},t.root,!n.square&&t.rounded,!n.disableGutters&&t.gutters]}})(({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),overflowAnchor:"none","&::before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(e.vars||e).palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${F.expanded}`]:{"&::before":{opacity:0}
1,"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${F.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}},({theme:e})=>({variants:[{props:e=>!e.square,style:{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(e.vars||e).shape.borderRadius,borderBottomRightRadius:(e.vars||e).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}},{props:e=>!e.disableGutters,style:{[`&.${F.expanded}`]:{margin:"16px 0"}}}]}));var z=a.forwardRef(function(e,t){const n=(0,d.b)({props:e,name:"MuiAccordion"}),{children:o,className:r,defaultExpanded:u=!1,disabled:p=!1,disableGutters:m=!1,expanded:g,onChange:v,square:b=!1,slots:f={},slotProps:h={},TransitionComponent:C,TransitionProps:A}=n,x=(0,l.A)(n,D),[S,E]=(0,I.A)({controlled:g,default:u,name:"Accordion",state:"expanded"}),w=a.useCallback(e=>{E(!S),v&&v(e,!S)},[S,v,E]),[L,...F]=a.Children.toArray(o),z=a.useMemo(()=>({expanded:S,disabled:p,disableGutters:m,toggle:w}),[S,p,m,w]),U=(0,i.A)({},n,{square:b,disabled:p,disableGutters:m,expanded:S}),H=(e=>{const{classes:t,square:n,expanded:a,disabled:o,disableGutters:r}=e,i={root:["root",!n&&"rounded",a&&"expanded",o&&"disabled",!r&&"gutters"],region:["region"]};return(0,c.A)(i,$,t)})(U),W=(0,i.A)({transition:C},f),V=(0,i.A)({transition:A},h),[q,X]=function(e,t){const{className:n,elementType:a,ownerState:o,externalForwardedProps:r,getSlotOwnerState:s,internalForwardedProps:c}=t,d=(0,l.A)(t,B),{component:u,slots:p={[e]:void 0},slotProps:m={[e]:void 0}}=r,g=(0,l.A)(r,j),v=p[e]||a,b=(0,T.A)(m[e],o),f=(0,N.A)((0,i.A)({className:n},d,{externalForwardedProps:"root"===e?g:void 0,externalSlotProps:b})),{props:{component:h},internalRef:C}=f,y=(0,l.A)(f.props,M),A=(0,R.A)(C,null==b?void 0:b.ref,t.ref),x=s?s(y):{},S=(0,i.A)({},o,x),E="root"===e?h||u:h,w=(0,O.A)(v,(0,i.A)({},"root"===e&&!u&&!p[e]&&c,"root"!==e&&!p[e]&&c,y,E&&{as:E},{ref:A}),S);return Object.keys(x).forEach(e=>{delete w[e]}),[v,w]}("transition",{elementType:k,externalForwardedProps:{slots:W,slotProps:V},ownerState:U});return(0,y.jsxs)(_,(0,i.A)({className:(0,s.A)(H.root,r),ref:t,ownerState:U,square:b},x,{children:[(0,y.jsx)(P.A.Provider,{value:z,children:L}),(0,y.jsx)(q,(0,i.A)({in:S,timeout:"auto"},X,{children:(0,y.jsx)("div",{"aria-labelledby":L.props.id,id:L.props["aria-controls"],role:"region",className:H.region,children:F})}))]}))}),U=n(86605);function H(e){return(0,h.Ay)("MuiAccordionDetails",e)}(0,f.A)("MuiAccordionDetails",["root"]);const W=["className"],V=(0,o.Ay)("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({padding:e.spacing(1,2,2)}));var q=a.forwardRef(function(e,t){const n=(0,d.b)({props:e,name:"MuiAccordionDetails"}),{className:a}=n,o=(0,l.A)(n,W),r=n,u=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"]},H,t)})(r);return(0,y.jsx)(V,(0,i.A)({className:(0,s.A)(u.root,a),ref:t,ownerState:r},o))}),X=n(22625),Y=n(52415),K=n(97323),G=n(8361),J=n(21391),Z=n(21916),Q=n(32448),ee=n(35358),te=function(){return te=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},te.apply(this,arguments)},ne=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]])}return n},ae=(0,o.Ay)(r.A,{name:"MuiAccordionList",overridesResolver:function(e,t){return[t.root]}})({}),oe=function(e){var t=e.items,n=e.summary,o=e.className,r=ne(e,["items","summary","className"]),i=(0,X.Ic)().getResponsiveProp,l=te({className:o},(0,X.gu)(r)),s={expandIcon:a.createElement(K.I,{image:"pmi-icon-chevrondown",size:G.y.Small})},c={padding:i([{y:Z.KN.Size_4,l:Z.KN.Size_4}]),display:Z.Tq.Flex,flexDirection:Q.zF.Row,flexGap:Q.y$.Size_3,flexAlignItems:Q.w7.Center},d=function(e){return"undefined"!==typeof e.defaultExpanded?e.defaultExpanded:1===(null===t||void 0===t?void 0:t.length)};return a.createElement(ae,te({},l),null===t||void 0===t?void 0:t.map(function(e,t){var o,r=e.titleProps,i=e.children,l=ne(e,["titleProps","children"]),u=te(te(te({key:"accordion-".concat(t),defaultExpanded:d(e)},(null===e||void 0===e?void 0:e.onToggle)?{onChange:function(t,n){var a;return null===(a=e.onToggle)||void 0===a?void 0:a.call(e,t,n)}}:{}),t>0?{className:"bordered"}:{}),(0,X.gu)(l)),p=te({},null===r||void 0===r?void 0:r.imageProps),m={content:r?"<b>".concat(null===r||void 0===r?void 0:r.title,"</b>"):"",isHtml:!0};return a.createElement(z,te({},u),n||a.createElement(U.A,te({},s),a.createElement(ee.m,te({},c),(null===r||void 0===r?void 0:r.imageProps)&&(null===(o=null===r||void 0===r?void 0:r.imageProps)||void 0===o?void 0:o.src)?a.createElement(J._,te({},p)):null,(null===r||void 0===r?void 0:r.title)?a.createElement(Y.E,te({},m)):null)),a.createElement(q,te({},{}),i))}))}},28944:function(e,t,n){n.d(t,{g:function(){return m}});var a=n(46060),o=n(65043),r=n(22625),i=n(96109),l=n(21868),s=n(52415),c=n(38379),d=function(){return d=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},d.apply(this,arguments)},u=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]])}return n},p=(0,a.A)("div",{name:"NeedHelp",overridesResolver:function(e,t){return[t.root]}})({}),m=function(e){var t=e.title,n=e.phoneNumberLabel,a=e.phoneNumber,m=e.schedule,g=e.disclaimer,v=e.id,b=e.className,f=u(e,["title","phoneNumberLabel","phoneNumber","schedule","disclaimer","id","className"]),h="tel:".concat(a.replace(/\D/g,""));return o.createElement(p,d({id:v,className:b,"data-testid":"need-help"},(0,r.gu)(f)),o.createElement(s.E,{className:"need-help__title",component:c.SP.H2,hyphens:c.p1.None,content:t,"data-testid":"need-help-title"}),o.createElement(s.E.TextSection,{className:"need-help__phone",component:c.Fm.P,"data-testid":"need-help-phone"},o.createElement(s.E,{className:"need-help__phone-label",component:c.SP.Span,hyphens:c.p1.None,content:"".concat(n," ")}),o.createElement(i.N,{linkUrl:h,label:a,hyphens:l.w4.None,"data-testid":"need-help-phone-link"})),o.createElement(s.E,{className:"need-help__schedule",component:c.SP.P,variant:c.YV.Body1,hyphens:c.p1.None,content:m,"data-testid":"need-help-schedule"}),g&&o.createElement(s.E,{className:"need-help__disclaimer",component:c.SP.P,variant:c.YV.Body2,hyphens:c.p1.None,content:g,"data-testid":"need-help-disclaimer"}))}},59340:function(e,t,n){n.d(t,{S:function(){return H}});var a=n(98587),o=n(58168),r=n(65043),i=n(58387),l=n(98610),s=n(83290),c=n(67266),d=n(10875),u=n(6803),p=n(34535),m=n(98206),g=n(92532),v=n(72372);function b(e){return(0,v.Ay)("MuiLinearProgress",e)}(0,g.A)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);var f=n(70579);const h=["className","color","value","valueBuffer","variant"];let C,y,A,x,S,E,w=e=>e;const k=(0,s.i7)(C||(C=w` 2 0% { 3 left: -35%; 4 right: 100%; 5 } 6 7 60% { 8 left: 100%; 9 right: -90%; 10 } 11 12 100% { 13 left: 100%; 14 right: -90%; 15 } 16`)),L=(0,s.i7)(y||(y=w` 17 0% { 18 left: -200%; 19 right: 100%; 20 } 21 22 60% { 23 left: 107%; 24 right: -8%; 25 } 26 27 100% { 28 left: 107%; 29 right: -8%; 30 } 31`)),P=(0,s.i7)(A||(A=w` 32 0% { 33 opacity: 1; 34 background-position: 0 -23px; 35 } 36 37 60% { 38 opacity: 0; 39 background-position: 0 -23px; 40 } 41 42 100% { 43 opacity: 1; 44 background-position: -200px -23px; 45 } 46`)),I=(e,t)=>"inherit"===t?"currentColor":e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:"light"===e.palette.mode?(0,c.a)(e.palette[t].main,.62):(0,c.e$)(e.palette[t].main,.5),R=(0,p.Ay)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${(0,u.A)(n.color)}`],t[n.variant]]}})(({ownerState:e,theme:t})=>(0,o.A)({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:I(t,e.color)},"inherit"===e.color&&"buffer"!==e.variant&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},"buffer"===e.variant&&{backgroundColor:"transparent"},"query"===e.variant&&{transform:"rotate(180deg)"})),O=(0,p.Ay)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.dashed,t[`dashedColor${(0,u.A)(n.color)}`]]}})(({ownerState:e,theme:t})=>{const n=I(t,e.color);return(0,o.A)({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===e.color&&{opacity:.3},{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},(0,s.AH)(x||(x=w` 47 animation: ${0} 3s infinite linear; 48 `),P)),T=(0,p.Ay)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${(0,u.A)(n.color)}`],("indeterminate"===n.variant||"query"===n.variant)&&t.bar1Indeterminate,"determinate"===n.variant&&t.bar1Determinate,"buffer"===n.variant&&t.bar1Buffer]}})(({ownerState:e,theme:t})=>(0,o.A)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===e.color?"currentColor":(t.vars||t).palette[e.color].main},"determinate"===e.variant&&{transition:"transform .4s linear"},"buffer"===e.variant&&{zIndex:1,transition:"transform .4s linear"}),({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&(0,s.AH)(S||(S=w` 49 width: auto; 50 animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; 51 `),k)),N=(0,p.Ay)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${(0,u.A)(n.color)}`],("indeterminate"===n.variant||"query"===n.variant)&&t.bar2Indeterminate,"buffer"===n.variant&&t.bar2Buffer]}})(({ownerState:e,theme:t})=>(0,o.A)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==e.variant&&{backgroundColor:"inherit"===e.color?"currentColor":(t.vars||t).palette[e.color].main},"inherit"===e.color&&{opacity:.3},"buffer"===e.variant&&{backgroundColor:I(t,e.color),transition:"transform .4s linear"}),({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&(0,s.AH)(E||(E=w` 52 width: auto; 53 animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; 54 `),L));var B=r.forwardRef(function(e,t){const n=(0,m.b)({props:e,name:"MuiLinearProgress"}),{className:r,color:s="primary",value:c,valueBuffer:p,variant:g="indeterminate"}=n,v=(0,a.A)(n,h),C=(0,o.A)({},n,{color:s,variant:g}),y=(e=>{const{classes:t,variant:n,color:a}=e,o={root:["root",`color${(0,u.A)(a)}`,n],dashed:["dashed",`dashedColor${(0,u.A)(a)}`],bar1:["bar",`barColor${(0,u.A)(a)}`,("indeterminate"===n||"query"===n)&&"bar1Indeterminate","determinate"===n&&"bar1Determinate","buffer"===n&&"bar1Buffer"],bar2:["bar","buffer"!==n&&`barColor${(0,u.A)(a)}`,"buffer"===n&&`color${(0,u.A)(a)}`,("indeterminate"===n||"query"===n)&&"bar2Indeterminate","buffer"===n&&"bar2Buffer"]};return(0,l.A)(o,b,t)})(C),A=(0,d.I)(),x={},S={bar1:{},bar2:{}};if("determinate"===g||"buffer"===g)if(void 0!==c){x["aria-valuenow"]=Math.round(c),x["aria-valuemin"]=0,x["aria-valuemax"]=100;let e=c-100;A&&(e=-e),S.bar1.transform=`translateX(${e}%)`}else 0;if("buffer"===g)if(void 0!==p){let e=(p||0)-100;A&&(e=-e),S.bar2.transform=`translateX(${e}%)`}else 0;return(0,f.jsxs)(R,(0,o.A)({className:(0,i.A)(y.root,r),ownerState:C,role:"progressbar"},x,{ref:t},v,{children:["buffer"===g?(0,f.jsx)(O,{className:y.dashed,ownerState:C}):null,(0,f.jsx)(T,{className:y.bar1,ownerState:C,style:S.bar1}),"determinate"===g?null:(0,f.jsx)(N,{className:y.bar2,ownerState:C,style:S.bar2})]}))}),j=n(46060),M=n(22625),$=n(52415),F=n(38379),D=function(){return D=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},D.apply(this,arguments)},_=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]])}return n},z=(0,j.A)("div",{name:"StepIndicator",overridesResolver:function(e,t){return[t.root]}})({}),U=(0,j.A)(B,{name:"StepIndicatorBar",overridesResolver:function(e,t){return[t.root]}})({}),H=function(e){var t=e.currentStep,n=e.totalSteps,a=e.label,o=e.ariaLabel,i=e.id,l=e.className,s=_(e,["currentStep","totalSteps","label","ariaLabel","id","className"]),c=Math.round(t/n*100),d="".concat(a," ").concat(t,"/").concat(n);return r.createElement(z,D({id:i,className:l,"data-testid":"step-indicator"},(0,M.gu)(s)),r.createElement(U,{variant:"determinate",value:c,"aria-valuenow":t,"aria-valuemin":0,"aria-valuemax":n,"aria-label":o,"data-testid":"step-indicator-bar"}),r.createElement($.E,{className:"step-indicator__label",component:F.SP.Span,variant:F.YV.Body2,hyphens:F.p1.None,content:d,"data-testid":"step-indicator-label"}))}},43582:function(e,t,n){n.d(t,{i:function(){return u}});var a=n(65043),o=n(32448),r=n(35358),i=n(21916),l=n(17012),s=n(22625),c=function(){return c=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)},d=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]])}return n},u=function(e){var t=e.id,n=e.isShown,u=e.screenPosition,p=e.children,m=e.zIndex,g=d(e,["id","isShown","screenPosition","children","zIndex"]),v=(0,s.Ic)().getResponsiveProp,b=(0,a.useRef)(null),f={left:0,right:0},h=c({id:t,innerRef:b,width:i.nJ.Full,flexJustifyContent:o.$e.Center,flexAlignItems:o.w7.Center,position:i.WK.Fixed,zIndex:m||700,className:["sticky-container",u===l.S.Bottom&&"bottom",u===l.S.Top&&"top",n&&"show"].filter(
54Boolean).join(" "),positionCoordinates:v([u===l.S.Bottom?c(c({},f),{bottom:0}):c(c({},f),{top:0})])},(0,s.gu)(g));return a.createElement(r.m,c({},h),p)}},17012:function(e,t,n){var a;n.d(t,{S:function(){return a}}),function(e){e.Bottom="BOTTOM",e.Top="TOP"}(a||(a={}))},8309:function(e,t,n){const a=n(65043).createContext({});t.A=a},86605:function(e,t,n){n.d(t,{A:function(){return A}});var a=n(58168),o=n(98587),r=n(65043),i=n(58387),l=n(98610),s=n(34535),c=n(98206),d=n(72949),u=n(8309),p=n(92532),m=n(72372);function g(e){return(0,m.Ay)("MuiAccordionSummary",e)}var v=(0,p.A)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),b=n(70579);const f=["children","className","expandIcon","focusVisibleClassName","onClick"],h=(0,s.Ay)(d.A,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{display:"flex",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],t),[`&.${v.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${v.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${v.disabled})`]:{cursor:"pointer"},variants:[{props:e=>!e.disableGutters,style:{[`&.${v.expanded}`]:{minHeight:64}}}]}}),C=(0,s.Ay)("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(e,t)=>t.content})(({theme:e})=>({display:"flex",flexGrow:1,margin:"12px 0",variants:[{props:e=>!e.disableGutters,style:{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${v.expanded}`]:{margin:"20px 0"}}}]})),y=(0,s.Ay)("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(e,t)=>t.expandIconWrapper})(({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${v.expanded}`]:{transform:"rotate(180deg)"}}));var A=r.forwardRef(function(e,t){const n=(0,c.b)({props:e,name:"MuiAccordionSummary"}),{children:s,className:d,expandIcon:p,focusVisibleClassName:m,onClick:v}=n,A=(0,o.A)(n,f),{disabled:x=!1,disableGutters:S,expanded:E,toggle:w}=r.useContext(u.A),k=(0,a.A)({},n,{expanded:E,disabled:x,disableGutters:S}),L=(e=>{const{classes:t,expanded:n,disabled:a,disableGutters:o}=e,r={root:["root",n&&"expanded",a&&"disabled",!o&&"gutters"],focusVisible:["focusVisible"],content:["content",n&&"expanded",!o&&"contentGutters"],expandIconWrapper:["expandIconWrapper",n&&"expanded"]};return(0,l.A)(r,g,t)})(k);return(0,b.jsxs)(h,(0,a.A)({focusRipple:!1,disableRipple:!0,disabled:x,component:"div","aria-expanded":E,className:(0,i.A)(L.root,d),focusVisibleClassName:(0,i.A)(L.focusVisible,m),onClick:e=>{w&&w(e),v&&v(e)},ref:t,ownerState:k},A,{children:[(0,b.jsx)(C,{className:L.content,ownerState:k,children:s}
54),p&&(0,b.jsx)(y,{className:L.expandIconWrapper,ownerState:k,children:p})]}))})},43845:function(e,t,n){n.d(t,{A:function(){return w}});var a=n(98587),o=n(58168),r=n(65043),i=n(58387),l=n(98610),s=n(67266),c=n(66734),d=n(70579),u=(0,c.A)((0,d.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel"),p=n(95849),m=n(6803),g=n(72949),v=n(98206),b=n(34535),f=n(92532),h=n(72372);function C(e){return(0,h.Ay)("MuiChip",e)}var y=(0,f.A)("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]);const A=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],x=(0,b.Ay)("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:a,iconColor:o,clickable:r,onDelete:i,size:l,variant:s}=n;return[{[`& .${y.avatar}`]:t.avatar},{[`& .${y.avatar}`]:t[`avatar${(0,m.A)(l)}`]},{[`& .${y.avatar}`]:t[`avatarColor${(0,m.A)(a)}`]},{[`& .${y.icon}`]:t.icon},{[`& .${y.icon}`]:t[`icon${(0,m.A)(l)}`]},{[`& .${y.icon}`]:t[`iconColor${(0,m.A)(o)}`]},{[`& .${y.deleteIcon}`]:t.deleteIcon},{[`& .${y.deleteIcon}`]:t[`deleteIcon${(0,m.A)(l)}`]},{[`& .${y.deleteIcon}`]:t[`deleteIconColor${(0,m.A)(a)}`]},{[`& .${y.deleteIcon}`]:t[`deleteIcon${(0,m.A)(s)}Color${(0,m.A)(a)}`]},t.root,t[`size${(0,m.A)(l)}`],t[`color${(0,m.A)(a)}`],r&&t.clickable,r&&"default"!==a&&t[`clickableColor${(0,m.A)(a)})`],i&&t.deletable,i&&"default"!==a&&t[`deletableColor${(0,m.A)(a)}`],t[s],t[`${s}${(0,m.A)(a)}`]]}})(({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return(0,o.A)({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${y.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${y.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:n,fontSize:e.typography.pxToRem(12)},[`& .${y.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${y.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${y.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${y.icon}`]:(0,o.A)({marginLeft:5,marginRight:-6},"small"===t.size&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&(0,o.A)({color:e.vars?e.vars.palette.Chip.defaultIconColor:n},"default"!==t.color&&{color:"inherit"})),[`& .${y.deleteIcon}`]:(0,o.A)({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:(0,s.X4)(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:(0,s.X4)(e.palette.text.primary,.4)}},"small"===t.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==t.color&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:(0,s.X4)(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},"small"===t.size&&{height:24},"default"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${y.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,s.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&"default"!==t.color&&{[`&.${y.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})},({theme:e,ownerState:t})=>(0,o.A)({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",curs
54or:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,s.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${y.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,s.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&"default"!==t.color&&{[`&:hover, &.${y.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}}),({theme:e,ownerState:t})=>(0,o.A)({},"outlined"===t.variant&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${y.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${y.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${y.avatar}`]:{marginLeft:4},[`& .${y.avatarSmall}`]:{marginLeft:2},[`& .${y.icon}`]:{marginLeft:4},[`& .${y.iconSmall}`]:{marginLeft:2},[`& .${y.deleteIcon}`]:{marginRight:5},[`& .${y.deleteIconSmall}`]:{marginRight:3}},"outlined"===t.variant&&"default"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:(0,s.X4)(e.palette[t.color].main,.7)}`,[`&.${y.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,s.X4)(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${y.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,s.X4)(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${y.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:(0,s.X4)(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}})),S=(0,b.Ay)("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:a}=n;return[t.label,t[`label${(0,m.A)(a)}`]]}})(({ownerState:e})=>(0,o.A)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"outlined"===e.variant&&{paddingLeft:11,paddingRight:11},"small"===e.size&&{paddingLeft:8,paddingRight:8},"small"===e.size&&"outlined"===e.variant&&{paddingLeft:7,paddingRight:7}));function E(e){return"Backspace"===e.key||"Delete"===e.key}var w=r.forwardRef(function(e,t){const n=(0,v.b)({props:e,name:"MuiChip"}),{avatar:s,className:c,clickable:b,color:f="default",component:h,deleteIcon:y,disabled:w=!1,icon:k,label:L,onClick:P,onDelete:I,onKeyDown:R,onKeyUp:O,size:T="medium",variant:N="filled",tabIndex:B,skipFocusWhenDisabled:j=!1}=n,M=(0,a.A)(n,A),$=r.useRef(null),F=(0,p.A)($,t),D=e=>{e.stopPropagation(),I&&I(e)},_=!(!1===b||!P)||b,z=_||I?g.A:h||"div",U=(0,o.A)({},n,{component:z,disabled:w,size:T,color:f,iconColor:r.isValidElement(k)&&k.props.color||f,onDelete:!!I,clickable:_,variant:N}),H=(e=>{const{classes:t,disabled:n,size:a,color:o,iconColor:r,onDelete:i,clickable:s,variant:c}=e,d={root:["root",c,n&&"disabled",`size${(0,m.A)(a)}`,`color${(0,m.A)(o)}`,s&&"clickable",s&&`clickableColor${(0,m.A)(o)}`,i&&"deletable",i&&`deletableColor${(0,m.A)(o)}`,`${c}${(0,m.A)(o)}`],label:["label",`label${(0,m.A)(a)}`],avatar:["avatar",`avatar${(0,m.A)(a)}`,`avatarColor${(0,m.A)(o)}`],icon:["icon",`icon${(0,m.A)(a)}`,`iconColor${(0,m.A)(r)}`],deleteIcon:["deleteIcon",`deleteIcon${(0,m.A)(a)}`,`deleteIconColor${(0,m.A)(o)}`,`deleteIcon${(0,m.A)(c)}Color${(0,m.A)(o)}`]};return(0,l.A)(d,C,t)})(U),W=z===g.A?(0,o.A)({component:h||"div",focusVisibleClassName:H.focusVisible},I&&{disableRipple:!0}):{};let V=null;I&&(V=y&&r.isValidElement(y)?r.cloneElement(y,{className:(0,i.A)(y.props.className,H.deleteIcon),onClick:D}):(0,d.jsx)(u,{className:(0,i.A)(H.deleteIcon),onClick:D}));let q=null;s&&r.isValidElement(s)&&(q=r.cloneElement(s,{className:(0,i.A)(H.avatar,s.props.className)}));let X=null;return k&&r.isValidElement(k)&&(X=r.cloneElement(k,{className:(0,i.A)(H.icon,k.props.className)})),(0,d.jsxs)(x,(0,o.A)({as:z,className:(0,i.A)(H.root,c),disabled:!(!_||!w)||void 0,onClick:P,onKeyDown:e=>{e.currentTarget===e.target&&E(e)&&e.preventDefault(),R&&R(e)},onKeyUp:e=>{e.currentTarget===e.target&&(I&&E(e)?I(e):"Escape"===e.key&&$.current&&$.current.blur()),O&&O(e)},ref:F,tabIndex:j&&w?-1:B,ownerState:U},W,M,{children:[q||X,(0,d.jsx)(S,{className:(0,i.A)(H.label),ownerState:U,children:L}),V]}))})}}]); 55//# sourceMappingURL=Atoms.c64188da.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.