PageSourceSearch

https://www.uberhealth.com/_static/client-6493-4088d88aad78d28f.js

js uberhealth.com collected 2026-10-01 12:33:15 UTC 26,721 bytes, 2 lines download raw bytes

1(self.webpackChunkFusion=self.webpackChunkFusion||[]).push([[6493],{1741:(e,a,t)=>{"use strict";t.d(a,{A:()=>n});var l=t(90417),i=t(21165),o=t(40014);class n extends l.Component{render(){return(0,o.Y)(i.A,{viewBox:"0 0 12 12",...this.props,children:(0,o.Y)("path",{d:"M10.595 0L6 4.596 1.405 0 0 1.404 4.596 6 0 10.595 1.405 12 6 7.404 10.595 12 12 10.595 7.404 6 12 1.404z"})})}}},5112:(e,a,t)=>{"use strict";t.d(a,{E:()=>c});var l=t(32939),i=t(90417),o=t("__fusion__95b4ba69e5"),n=t(43065),r=t(40931),d=t(40014);const s=(0,i.forwardRef)((function(e,a){let{video:t}=e;return t?(0,d.FD)("video",{ref:a,height:"100%",width:"100%",children:[t.webM&&(0,d.Y)("source",{src:t.webM,type:"video/webm"}),t.mp4&&(0,d.Y)("source",{src:t.mp4,type:"video/mp4"}),(0,d.Y)("track",{kind:"captions",src:""})]}):null})),u=e=>{const{fallback:a,small:t,medium:u,large:c,isPlaysInline:b,hasControls:m,isAutoPlay:p,isMuted:g,isPlaying:h,isLooping:y}=e,[,T]=(0,n.c6)(),{mediaQuery:f}=T,E=(0,r.U)(f.small),C=(0,r.U)(f.medium),v=(0,r.U)(f.large),L=(0,i.useRef)(null);return o.useEffect((()=>{const e=L.current,a=()=>{null==e||e.play()};return null==e||e.load(),e&&(e.defaultMuted=!!g,e.muted=!!g,e.playsInline=Boolean(b),e.controls=!!m,e.loop=!!y,e.autoplay=!!p,h&&e.addEventListener("canplay",a)),()=>{h&&(null==e||e.removeEventListener("canplay",a)),null==e||e.pause()}}),[E,C,v,m,p,y,g,h,b]),(0,l.LL)(e)?v?(0,d.Y)(s,{ref:L,video:c}):C?(0,d.Y)(s,{ref:L,video:u}):E?(0,d.Y)(s,{ref:L,video:t}):(0,d.Y)(s,{ref:L,video:a}):null},c=e=>{const{hasControls:a}=e,t=a?{isAutoPlay:!0,isLooping:!1,isMuted:!1,isPlaysInline:!1}:{isAutoPlay:!0,isLooping:!0,isMuted:!0,isPlaysInline:!0};return(0,l.LL)(e)?(0,d.Y)(u,{...e,...t}):null}},8486:(e,a,t)=>{"use strict";t.d(a,{A:()=>O});var l=t(90417),i=t("__fusion__95b4ba69e5"),o=t(43065),n=t(55524),r=t.n(n),d=t(22370),s=t(1741),u=t(31599),c=t(40014);function b(e,a,t){return(a=function(e){var a=function(e,a){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var l=t.call(e,a||"default");if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==typeof a?a:String(a)}(a))in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}const{animation:m,breakpoints:p,fontSize:g,layout:h}=d.Ay.values,{colors:y}=d.Ay.samba,T="@media (max-width: ".concat(p.palm,")"),f="@media (max-width: ".concat(p.portable,")"),E=(0,o.I4)("div",(e=>{let{$layoutStyle:a}=e;return{alignItems:"center",backgroundColor:"rgba(0,0,0,0.95)",bottom:0,boxSizing:"border-box",display:"flex",height:"100%",justifyContent:"center",left:0,padding:"fullWidth"===a?0:h.fixedBlockPaddingSidesDesk,position:"fixed",right:0,top:0,width:"100%",zIndex:999998,[f]:{padding:"fullWidth"===a?0:h.fixedBlockPaddingSidesPortable},[T]:{padding:"fullWidth"===a?0:h.fixedBlockPaddingSidesPalm}}})),C=(0,o.I4)("div",(e=>{let{$rtl:a}=e;return{alignItems:"center",display:"flex",flexDirection:"row",height:"auto",left:a?0:"auto",position:"absolute",right:a?"auto":0,top:0}})),v=(0,o.I4)("button",(e=>{let{$rtl:a}=e;return{backgroundColor:y.mono300,border:0,color:y.mono1000,cursor:"pointer",display:"flex",flexDirection:"column",fontSize:g.fixedHeading4Desk,margin:a?"0 auto 0 0":"0 0 0 auto",padding:"10px",textAlign:"inherit",textDecoration:"none",transition:m.uiSpeed,zIndex:9999,":active":{backgroundColor:y.mono500},":focus":{backgroundColor:y.mono500},":hover":{backgroundColor:y.mono400},[f]:{fontSize:g.fixedHeading4Portable,margin:a?"0 auto 0 0":"0 0 0 auto"},[T]:{fontSize:g.fixedHeading4Palm,margin:a?"0 auto 0 0":"0 0 0 auto"}}})),L=(0,o.I4)("div",{maxWidth:"160vh",position:"relative",width:"100%"});class O extends l.Component{constructor(){super(...arguments),b(this,"state",{currentVideoUrl:"",openModal:!1}),b(this,"handleSimpleModalOpen",(()=>{this.setState({currentVideoUrl:this.props.videoUrl||"",openModal:!0})})),b(this,"handleModalClose",(()=>{this.setState({currentVideoUrl:"",openModal:!1})})),b(this,"handleModalOpen",(e=>{this.setState({currentVideoUrl:e,openModal:!0})})),b(this,"handleKeyPress",(e=>
1{27===e.keyCode&&this.handleModalClose()}))}componentDidMount(){r().addEventListener("keydown",this.handleKeyPress)}componentWillUnmount(){r().removeEventListener("keydown",this.handleKeyPress)}renderChildrenWithProps(){const{children:e,videoUrl:a}=this.props,t=a?this.handleSimpleModalOpen:this.handleModalOpen;return l.Children.map(e,(e=>i.cloneElement(e,{handleClick:t,isModalOpen:this.state.openModal})))}render(){const{rtl:e,translations:a,layoutStyle:t}=this.props,l=a["common.button.close.aria-label"]||"Close";return(0,c.FD)("div",{className:"video-overlay",children:[this.state.openModal&&this.state.currentVideoUrl&&(0,c.FD)(E,{$layoutStyle:t,onClick:this.handleModalClose,children:[(0,c.Y)(C,{$rtl:e,children:(0,c.Y)(v,{$rtl:e,"aria-label":l,className:"overlay-close",tabIndex:0,onClick:this.handleModalClose,onKeyPress:this.handleModalClose,children:(0,c.Y)(s.A,{})})}),(0,c.Y)(L,{children:(0,c.Y)(u.A,{autoplay:"1",videoUrl:this.state.currentVideoUrl})})]}),this.renderChildrenWithProps()]})}}b(O,"defaultProps",{translations:{}})},13586:(e,a,t)=>{"use strict";t.d(a,{F3:()=>o,XJ:()=>l,dj:()=>i});const l=480,i=900,o=function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const{height:t,width:o}=e||{};if(!o&&!t)return"".concat(l,"px");let n=a*(t/o);return n<l&&(n=l),n>i&&(n=i),"".concat(n,"px")}},21165:(e,a,t)=>{"use strict";t.d(a,{A:()=>o});var l=t("__fusion__95b4ba69e5"),i=t(40014);class o extends l.Component{render(){const{children:e,...a}=this.props;return e&&(0,i.Y)("svg",{"aria-hidden":"true",fill:"currentColor",focusable:"false",height:"1em",width:"1em",...a,children:e})}}},51483:(e,a,t)=>{"use strict";t.d(a,{b:()=>l,i:()=>i});const l={ANIMATION_BUILDER:"ANIMATION_BUILDER",ARRAY:"ARRAY",ARTICLE_AUTHOR:"ARTICLE_AUTHOR",BACKGROUND_COLOR:"BACKGROUND_COLOR",BUTTON_GROUP:"BUTTON_GROUP",CHECKBOX:"CHECKBOX",COLLAPSIBLE:"COLLAPSIBLE",COW_EVENT_FORM:"COW_EVENT_FORM",DYNAMIC_PHOTO:"DYNAMIC_PHOTO",ENUM_COLUMNS:"ENUM_COLUMNS",ENUM_CUSTOM:"ENUM_CUSTOM",ENUM_SIDE:"ENUM_SIDE",EVENTS_TAB:"EVENTS_TAB",HEX_SLIDER:"HEX_SLIDER",HIDDEN:"HIDDEN",MAP_LAT:"MAP_LAT",MAP_LNG:"MAP_LNG",MARKDOWN:"MARKDOWN",MAX_ITEMS_SLIDER:"MAX_ITEMS_SLIDER",OBJECT:"OBJECT",RICH_TEXT_EDITOR:"RICH_TEXT_EDITOR",SLUG:"SLUG",TABBED_FIELDS:"TABBED_FIELDS",TEXT_COLOR:"TEXT_COLOR",TEXT_LINE:"TEXT_LINE",TEXT_LINE_CONSTANT:"TEXT_LINE_CONSTANT",TEXT_LINK:"TEXT_LINK",TEXT_LINK_MODAL:"TEXT_LINK_MODAL",TEXT_MULTILINE:"TEXT_MULTILINE",TOGGLE_SWITCH:"TOGGLE_SWITCH",URL:"URL",YOUTUBE_EMBED_URL:"YOUTUBE_EMBED_URL"},i={ADVANCED:"ADVANCED",CONTENT:"CONTENT",DESIGN:"DESIGN"}},55524:(e,a,t)=>{var l,i="undefined"!=typeof t.g?t.g:"undefined"!=typeof window?window:{},o=t(93370);"undefined"!=typeof document?l=document:(l=i["__GLOBAL_DOCUMENT_CACHE@4"])||(l=i["__GLOBAL_DOCUMENT_CACHE@4"]=o),e.exports=l},69387:(e,a,t)=>{"use strict";t.d(a,{A:()=>o});var l=t(90417),i=t(40014);const o=l.forwardRef((function(e,a){let{title:t="Player play",titleId:l,size:o="1em",...n}=e;return(0,i.FD)("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",ref:a,"aria-labelledby":l,...n,children:[void 0===t?(0,i.Y)("title",{id:l,children:"Player play"}):t?(0,i.Y)("title",{id:l,children:t}):null,(0,i.Y)("path",{d:"M5 1.7 22.8 12 5 22.3V1.7Z",fill:"currentColor"})]})}))},72742:(e,a,t)=>{"use strict";t.d(a,{A:()=>i});var l=t(51483);const i={fields:[{category:l.i.DESIGN,itemSchema:{fields:[{defaultValue:!1,field:"removePaddingSides",fieldLabel:"Remove side padding",required:!1,type:l.b.CHECKBOX},{defaultValue:!1,field:"removePaddingTop",fieldLabel:"Remove top padding",required:!1,type:l.b.CHECKBOX},{defaultValue:!1,field:"removePaddingBottom",fieldLabel:"Remove bottom padding",required:!1,type:l.b.CHECKBOX},{defaultValue:!1,field:"containerFullWidth",label:"Full width container",required:!1,type:l.b.TOGGLE_SWITCH},{field:"containerBackgroundColor",label:"Content background color",required:!1,type:l.b.BACKGROUND_COLOR},{defaultValue:!0,field:"containerBackgroundTransparent",fieldLabel:"Check here to make grid container transparent",label:"Transparent background",required:!1,type:l.b.CHECKBOX}]},label:"Content Container Settings",type:l.b.COLLAPSIBLE},{category:l.i.DESIGN,itemSchema:{fields:[{field:"marginTop",label:"Add padding top",options:[{label:"0",value:"none"},{label:"0.5x",value:"half"},{label:"1x",value:"full"}],type:l.b.BUTTON_GROUP},{field:"marginBottom",label:"Add padding bottom",options:[{label:"0",value:"none"},{label:"0.5x",value:"half"},{label:"1x",value:"full"}],required:!1,type:l.b.BUTTON_GROUP},{field:"textColor",label:"Text color",required:!1,type:l.b.TEXT_COLOR}
1,{field:"backgroundColor",label:"Background color",required:!1,type:l.b.BACKGROUND_COLOR},{dynamicPhotoType:"CARD",field:"backgroundImageLarge",label:"Background image large",required:!1,type:l.b.DYNAMIC_PHOTO},{dynamicPhotoType:"CARD",field:"backgroundImageMedium",label:"Background image medium",required:!1,type:l.b.DYNAMIC_PHOTO},{dynamicPhotoType:"CARD",field:"backgroundImageSmall",label:"Background image small",required:!1,type:l.b.DYNAMIC_PHOTO},{field:"backgroundOverlay",label:"Background overlay hex color",required:!1,type:l.b.HEX_SLIDER},{field:"backgroundPosition",label:"Background image position",options:[{label:"Center",value:"center center"},{label:"Top",value:"center top"},{label:"Bottom",value:"center bottom"}],required:!1,type:l.b.ENUM_CUSTOM},{field:"autoplayVideo",itemSchema:{fields:[{field:"videoUrl1080Mp4",label:"Video desktop URL - 1080p - MP4",required:!1,type:l.b.TEXT_LINE},{field:"videoUrl720Mp4",label:"Video tablet URL - 720p - MP4",required:!1,type:l.b.TEXT_LINE},{field:"videoUrl480Mp4",label:"Video mobile URL - 480p - MP4",required:!1,type:l.b.TEXT_LINE},{field:"videoUrl360Mp4",label:"Video URL - 360p - MP4",required:!1,type:l.b.TEXT_LINE},{field:"videoUrl1080Webm",label:"Video desktop URL - 1080p - WEBM",required:!1,type:l.b.TEXT_LINE},{field:"videoUrl720Webm",label:"Video tablet URL - 720p - WEBM",required:!1,type:l.b.TEXT_LINE},{field:"videoUrl480Webm",label:"Video mobile URL - 480p - WEBM",required:!1,type:l.b.TEXT_LINE},{field:"videoUrl360Webm",label:"Video URL - 360p - WEBM",required:!1,type:l.b.TEXT_LINE}]},label:"Background video",required:!1,type:l.b.OBJECT},{field:"height",itemSchema:{fields:[{disableCount:!0,field:"desktop",label:"Desktop",placeholder:"i.e. 200px, 2em, 2rem",required:!1,type:l.b.TEXT_LINE},{disableCount:!0,field:"tablet",label:"Tablet",placeholder:"i.e. 200px, 2em, 2rem",required:!1,type:l.b.TEXT_LINE},{disableCount:!0,field:"mobile",label:"Mobile",placeholder:"i.e. 200px, 2em, 2rem",required:!1,type:l.b.TEXT_LINE}]},label:"Block height",required:!1,type:l.b.TABBED_FIELDS},{field:"alignContainer",label:"Align container (height must be set)",options:[{label:"Top",value:"flex-start"},{label:"Center",value:"center"},{label:"Bottom",value:"flex-end"}],required:!1,type:l.b.ENUM_CUSTOM},{field:"anchorName",label:"Block anchor name",required:!1,type:l.b.SLUG}]},label:"Block Container Settings",type:l.b.COLLAPSIBLE},{category:l.i.ADVANCED,defaultValue:!1,field:"isAboveTheFold",label:"Is Above The Fold ?",required:!1,type:l.b.CHECKBOX}]}},93370:()=>{},__fusion__094649ee1a:(e,a,t)=>{"use strict";t.r(a),t.d(a,{Illustration:()=>j,default:()=>K,schema:()=>z});var l=t(32939),i=t(8486),o=t(74278),n=t(90417),r=t(22370),d=t(18992),s=t(97869),u=t(18733),c=t(14623),b=t(56130),m=t(31599),p=t(5112),g=t(13586),h=t(60965),y=t(27301),T=t(61451),f=t(31783),E=t(41752),C=t(97394),v=t(70846),L=t(69387),O=t(43065);const I=(0,O.I4)("div",(e=>{let{$theme:a,$rtl:t=!1}=e;const{sizing:l}=a;return{[t?"marginLeft":"marginRight"]:l.scale800}})),N=(0,O.I4)("div",(e=>{let{$theme:a,$hasBody:t=!1,$hasCta:l=!1,$hasHeading:i=!1,$headingSize:o=2}=e;const{mediaQuery:n,sizing:{scale600:r,scale700:d,scale800:s,scale900:u}}=a,c=1===o?[d,s,u]:[r,d,s],b={large:l&&t?c[0]:l&&i&&!t?c[2]:"0",medium:l&&t?c[0]:l&&i&&!t?c[1]:"0",small:l?c[0]:"0"};return{marginBottom:b.small,[n.medium]:{marginBottom:b.medium},[n.large]:{marginBottom:b.large}}})),k=(0,O.I4)("div",(e=>{let{$alignSelf:a="auto",$ctaLayout:t="inline"}=e;return{alignSelf:a,display:"flex",flexWrap:"wrap",width:"calc(100% - 40px)",...{inline:{alignItems:"center",flexDirection:"row",flexWrap:"wrap"},stacked:{alignItems:"flex-start",flexDirection:"column"}}[t]}}));var _=t(47633),A=t(16175);const B=function(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"dark";switch(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"text"){case"primary":return"dark"===e?A.E.BUTTON:A.E.INVERTED;case"secondary":return"dark"===e?A.E.OUTLINE:A.E.INVERTED;default:return A.E.LINK}},S=function(){switch(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"text"){case"primary":return _.Nd.primary;case"secondary":return _.Nd.secondary;default:return _.Nd.tertiary}},M=e=>null!=e&&e.endsWith(".mp4")?"mp4":null!=e&&e.endsWith(".webm")?"webm":"",x=e=>{let a={};if(null!=e&&e.desktopVideo){const{desktopVideo:t}=e;let l=M(t);a={...a,large:"mp4"===l?{mp4:t}:"webm"===l?{webM:t}:{}}}if(null!=e&&e.tabletVideo){const{tabletVideo:t}=e;let l=M(t);a={...a,medium:"mp4"===l?{mp4:t}:"webm"===l?{webM:t}:{}}}if(null!=e&&e.mobileVideo){const{mobileVideo:t}=e;let l=M(t);a={...a,small:"mp4"===l?{mp4:t}:"webm"===l?{webM:t}:{}}}if(null!=e&&e.fallbackVideo){const{fallbackVideo:t}=e;let l=M(t);a={...a,fallback:"mp4"===l?{mp4:t}:"webm"===l?{webM:t}:{}}}return a},D=e=>/^\d+$/.test(e)?"".concat(e,"px"):e,U=e=>Object.keys(e).reduce(((a,t)=>{const l=t;return e[l]&&(a[l]=D(e[l])),a}),{});var Y=t(40014);const P=e=>{const{anchorName:a,animations:t,body:l,ctaLinkTextOverlay:i,ctaLinkTextOverlayType:o,ctaAlternate:n,handleClick:r,hasYoutubeVideo:s,heading:c,headingSize:m=2,playButtonColorTheme:p,rtl:g,textColor:h,videoOverlayButtonText:y,translations:O}=e,_=p||("#ffffff"===(0,v.L0)(h)?"light":"dark"),A=y||O&&O["common.media.button.play"]||"Play video",M=[];return(0,T.FO)(i)&&M.push({...i,ctaKind:S(o),ctaType:B(o,_)}
1),n&&(0,T.FO)(n.ctaDetails)&&M.push({...n.ctaDetails,ctaKind:S(n.ctaType),ctaType:B(n.ctaType,_)}),(0,Y.FD)(b.E,{$gridColumn:["1/-1","1/-1","1/-1","span 5"],children:[d.XZ&&(0,Y.Y)(N,{$hasBody:(0,f.QS)(l),$hasCta:s||M&&Boolean(M.length),$hasHeading:!!c,$headingSize:m,children:(0,Y.Y)(E.A,{animations:t,body:l,bodySize:f.bL.MEDIUM,color:h,heading:c,headingAnchorName:a,headingLevelOverride:m,headingSize:m,rtl:g})}),(0,Y.Y)(u.k,{animations:t,target:"ctaGroup",children:(0,Y.Y)(k,{$ctaLayout:"inline","data-testid":"media.cta-group",children:s?(0,Y.FD)(Y.FK,{children:[(0,Y.Y)(I,{$rtl:g,"data-testid":"media.play-button",children:(0,Y.Y)(C.ls,{ctaText:A,ctaType:B("primary",_),role:"button",rtl:g,startEnhancer:()=>(0,Y.Y)("span",{style:g?{display:"inline-flex",transform:"scaleX(-1)"}:{display:"inline-flex"},children:(0,Y.Y)(L.A,{size:20})}),tabIndex:"0",onClick:r,onKeyPress:r})}),M&&(0,Y.Y)(C.ls,{...M[0],ctaColor:h,ctaHoverColor:h,rtl:g})]}):(0,Y.Y)(C.iS,{ctaColor:h,ctaHoverColor:h,ctaItems:M,rtl:g})})})]})},{samba:{breakpoints:{small:V,medium:R,large:X}}}=r.Ay,H={desktop:X,mobile:V,tablet:R},w=e=>{let{imageLarge:a,hasAutoheightImage:t,autoplayVideoProps:i,height:o,isInlineImage:n}=e;const r={desktop:"auto",mobile:"auto",tablet:"auto"};if(n&&!o)return r;if(o&&(e=>e instanceof Object&&["mobile","tablet","desktop"].some((a=>Object.hasOwn(e,a))))(o))return{...r,...U(o)};const d=Object.keys(H).reduce(((e,t)=>(e[t]=(0,g.F3)(a,H[t]),e)),r);return t||i&&(0,l.LL)(i)?"string"==typeof o&&o.length?d.desktop=D(o):d.desktop="".concat(g.dj,"px"):d.desktop="auto",d},q=e=>{const{alignContainer:a,anchorName:t,animations:i,backgroundImageLarge:r,backgroundImageMedium:T,backgroundImageSmall:f,body:E,containerBackgroundTransparent:C=!0,ctaLinkTextOverlay:v,ctaLinkTextOverlayType:L,ctaAlternate:O,handleClick:I,hasBackgroundImage:N,hasAutoheightImage:k,hasYoutubeVideo:_,heading:A,headingSize:B=2,height:S,image:M,imageTablet:D,imageMobile:U,isImage:V,isLoopingVideo:R,isYoutubeEmbed:X,layoutStyle:H,loopingVideo:q,marginBottom:F,marginTop:G,objectFit:K,rtl:W,textColor:$,textGroupAlign:z,autoplayVideoProps:j,videoOverlayButtonText:J,videoUrl:Z,playButtonColorTheme:Q,translations:ee,hasControls:ae}=e,te=(0,o.Cr)(),le=a||z,ie=(0,d.XZ)({body:E,heading:A}),oe="fullWidth"===H,ne="standard"===H,re=(k||N)&&ie,de=re||(0,l.LL)(j),se=R||X,ue=de?G:"none",ce=de?F:"none",be=te(r)?r:M,me=te(T)?T:D,pe=te(f)?f:U,ge=oe?"".concat(g.dj,"px"):"auto",he=oe&&!se?"".concat(g.XJ,"px"):"auto",ye=(0,n.useMemo)((()=>w({autoplayVideoProps:j,hasAutoheightImage:k,height:S,imageLarge:be,isInlineImage:!de})),[j,k,S,be,de]),Te=Boolean((null==q?void 0:q.fallbackVideo)||(null==q?void 0:q.desktopVideo)||(null==q?void 0:q.tabletVideo)||(null==q?void 0:q.mobileVideo)),fe=Boolean((null==q?void 0:q.fallback)||(null==q?void 0:q.large)||(null==q?void 0:q.medium)||(null==q?void 0:q.small))&&!Te,Ee=(0,s.$y)(s.cj);return(0,Y.Y)(u.k,{animations:i,target:"fullBlock",children:(0,Y.FD)(c.Z,{...e,alignContainer:le,autoplayVideo:j,backgroundFullBleed:oe,backgroundImageLarge:re&&be,backgroundImageMedium:re&&me,backgroundImageSmall:re&&pe,containerBackgroundTransparent:C,hasHeading:!!A,height:ye,marginBottom:de?"none":F,marginTop:de?"none":G,maxHeight:ge,minHeight:he,sectionPaddingBottom:ce,sectionPaddingTop:ue,children:[X&&Z&&(0,Y.Y)(b.E,{children:(0,Y.Y)(m.A,{autoplay:"0",videoUrl:Z})}),(V||R)&&!X&&!re&&(0,Y.Y)(b.E,{$alignSelf:"flex-start",children:(0,Y.FD)(y.A,{children:[V&&ne&&!re&&(0,Y.Y)(h.o,{image:be||{},imageMobile:pe,imageTablet:me,maxWidths:Ee,objectFit:K,rtl:W,autoHeight:!0}),fe&&(0,Y.Y)(p.E,{...q,hasControls:ae,isPlaying:!0}),Te&&(0,Y.Y)(p.E,{...x(q),hasControls:ae,isPlaying:!0})]})}),ie&&!se&&(0,Y.Y)(P,{anchorName:t,animations:i,body:E,ctaAlternate:O,ctaLinkTextOverlay:v,ctaLinkTextOverlayType:L,handleClick:I,hasYoutubeVideo:_,heading:A,headingSize:B,playButtonColorTheme:Q,rtl:W,textColor:$,translations:ee,videoOverlayButtonText:J})]})})},F=e=>{const{anchorName:a,animations:t,body:l,ctaLinkTextOverlay:i,ctaLinkTextOverlayType:o,ctaAlternate:n,contentOverlayHeight:r,handleClick:d,hasYoutubeVideo:s,heading:m,headingSize:p=2,playButtonColorTheme:g,rtl:h,textColor:y,videoOverlayButtonText:_,translations:A,image:M,imageTablet:x,imageMobile:D}=e,[U]=(0,O.c6)(),P=g||("#ffffff"===(0,v.L0)(y)?"light":"dark"),V=_||A&&A["common.media.button.play"]||"Play video",R=[];return(0,T.FO)(i)&&R.push({...i,ctaKind:S(o),ctaType:B(o,P)}
1),n&&(0,T.FO)(n.ctaDetails)&&R.push({...n.ctaDetails,ctaKind:S(n.ctaType),ctaType:B(n.ctaType,P)}),(0,Y.Y)(b.E,{className:U({borderRadius:"25px",overflow:"hidden"}),children:(0,Y.Y)(c.Z,{alignContainer:"flex-end",backgroundColor:"transparent",backgroundImageLarge:M,backgroundImageMedium:x,backgroundImageSmall:D,height:r,containerBackgroundTransparent:!0,children:(0,Y.FD)(b.E,{children:[(0,Y.Y)(N,{$hasBody:(0,f.QS)(l),$hasCta:s||R&&Boolean(R.length),$hasHeading:!!m,$headingSize:p,children:(0,Y.Y)(E.A,{animations:t,body:l,bodySize:f.bL.MEDIUM,color:y,heading:m,headingAnchorName:a,headingLevelOverride:p,headingSize:p,rtl:h})}),(0,Y.Y)(u.k,{animations:t,target:"ctaGroup",children:(0,Y.Y)(k,{$ctaLayout:"inline","data-testid":"media.cta-group",children:s?(0,Y.FD)(Y.FK,{children:[(0,Y.Y)(I,{$rtl:h,"data-testid":"media.play-button",children:(0,Y.Y)(C.ls,{ctaText:V,ctaType:B("primary",P),role:"button",rtl:h,startEnhancer:()=>(0,Y.Y)("span",{style:h?{display:"inline-flex",transform:"scaleX(-1)"}:{display:"inline-flex"},children:(0,Y.Y)(L.A,{size:20})}),tabIndex:"0",onClick:d,onKeyPress:d})}),R&&(0,Y.Y)(C.ls,{...R[0],ctaColor:y,ctaHoverColor:y,rtl:h})]}):(0,Y.Y)(C.iS,{ctaColor:y,ctaHoverColor:y,ctaItems:R,rtl:h})})})]})})})},G=e=>{const{alignContainer:a,anchorName:t,animations:i,backgroundImageLarge:o,backgroundImageMedium:n,backgroundImageSmall:r,body:s,containerBackgroundTransparent:h=!0,contentOverlayHeight:T,ctaLinkTextOverlay:f,ctaLinkTextOverlayType:E,ctaAlternate:C,handleClick:v,hasBackgroundImage:L,hasAutoheightImage:O,hasYoutubeVideo:I,heading:N,headingSize:k=2,height:_,image:A,imageTablet:B,imageMobile:S,isLoopingVideo:M,isYoutubeEmbed:D,layoutStyle:U,loopingVideo:P,marginBottom:V,marginTop:R,rtl:X,textColor:H,textGroupAlign:w,autoplayVideoProps:q,videoOverlayButtonText:G,videoUrl:K,playButtonColorTheme:W,translations:$,hasControls:z}=e,j=a||w,J=(0,d.XZ)({body:s,heading:N}),Z="fullWidth"===U,Q=(O||L)&&J,ee=Q||(0,l.LL)(q),ae=M||D,te=ee?R:"none",le=ee?V:"none",ie=Z&&!ae?"".concat(g.XJ,"px"):"auto",oe=Boolean((null==P?void 0:P.fallbackVideo)||(null==P?void 0:P.desktopVideo)||(null==P?void 0:P.tabletVideo)||(null==P?void 0:P.mobileVideo)),ne=Boolean((null==P?void 0:P.fallback)||(null==P?void 0:P.large)||(null==P?void 0:P.medium)||(null==P?void 0:P.small))&&!oe;return(0,Y.Y)(u.k,{animations:i,target:"fullBlock",children:(0,Y.FD)(c.Z,{...e,alignContainer:j,autoplayVideo:q,backgroundColor:ee?"transparent":"unset",backgroundFullBleed:Z,backgroundImageLarge:o,backgroundImageMedium:n,backgroundImageSmall:r,containerBackgroundTransparent:h,hasHeading:!!N,height:_,marginBottom:ee?"none":V,marginTop:ee?"none":R,minHeight:ie,sectionPaddingBottom:le,sectionPaddingTop:te,children:[D&&K&&(0,Y.Y)(b.E,{children:(0,Y.Y)(m.A,{autoplay:"0",videoUrl:K})}),M&&!D&&!Q&&(0,Y.Y)(b.E,{$alignSelf:"flex-start",children:(0,Y.FD)(y.A,{children:[ne&&(0,Y.Y)(p.E,{...P,hasControls:z,isPlaying:!0}),oe&&(0,Y.Y)(p.E,{...x(P),hasControls:z,isPlaying:!0})]})}),J&&!ae&&(0,Y.Y)(F,{anchorName:t,animations:i,body:s,contentOverlayHeight:T,ctaAlternate:C,ctaLinkTextOverlay:f,ctaLinkTextOverlayType:E,handleClick:v,hasYoutubeVideo:I,heading:N,headingSize:k,image:A,imageMobile:S,imageTablet:B,playButtonColorTheme:W,rtl:X,textColor:H,translations:$,videoOverlayButtonText:G})]})})},K=e=>{const{autoplayVideo:a,backgroundImageLarge:t,backgroundImageMedium:n,backgroundImageSmall:r,image:d,imageTablet:s,imageMobile:u,loopingVideo:c,rtl:b,translations:m={},videoOverlayVideo:p,videoUrl:g="",hasControls:h,forceImageBackgroundContentOverlay:y}=e,T=(0,o.Cr)(),f=Boolean(g&&""!==g),E=T(t)||T(n)||T(r),C=T(d)||T(s)||T(u),v=(0,l.ml)(a),L=(0,l.ml)(p),O=(0,l.LL)(v)?v:L,I=Boolean(c&&(0,l.LL)(c)),N=!(C||E||(0,l.LL)(O)||I),k=(C||E)&&!(0,l.LL)(O),_={...e,autoplayVideoProps:O,hasAutoheightImage:C,hasBackgroundImage:E,hasControls:h,hasYoutubeVideo:f,isImage:k,isLoopingVideo:I,isYoutubeEmbed:N};return(0,Y.Y)(Y.FK,{children:f&&!N?(0,Y.Y)(i.A,{rtl:b,translations:m,videoUrl:g,children:y?(0,Y.Y)(G,{..._}):(0,Y.Y)(q,{..._})}):(0,Y.Y)(Y.FK,{children:y?(0,Y.Y)(G,{..._}):(0,Y.Y)(q,{..._})})})};var W=t(51483),$=t(72742);const z={fields:[{category:W.i.DESIGN,field:"layoutStyle",label:"Layout Style",options:[{label:"Standard",value:"standard"},{label:"Full Width",value:"fullWidth"}],required:!1,type:W.b.ENUM_CUSTOM},{category:W.i.CONTENT,field:"heading",label:"Video Overlay Heading",required:!1,type:W.b.TEXT_LINE},{category:W.i.DESIGN,field:"headingSize",label:"Heading Size",options:[{label:"H2",value:"2"},{label:"H1",value:"1"}],required:!1,type:W.b.ENUM_CUSTOM},{category:W.i.CONTENT,field:"body",label:"Body",required:!1,type:W.b.MARKDOWN},{category:W.i.CONTENT,field:"videoUrl",label:"YouTube Embed URL",required:!1,type:W.b.YOUTUBE_EMBED_URL},{category:W.i.CONTENT,field:"videoOverlayButtonText",label:"Play Button Text",required:!1,type:W.b.TEXT_LINE},{category:W.i.DESIGN,field:"playButtonColorTheme",label:"Play Button Color Theme",options:[{label:"Dark",value:"dark"},{label:"Light",value:"light"}],required:!1,type:W.b.BUTTON_GROUP},{category:W.i.CONTENT,field:"ctaLinkTextOverlay",label:"CTA Primary Details",required:!1,type:W.b.TEXT_LINK},{category:W.i.CONTENT,field:"ctaLinkTextOverlayType",label:"CTA Primary Type",options:[{label:"Text",value:"text"},{label:"Primary",value:"primary"},{label:"Secondary",value:"secondary"}],required:!1,type:W.b.ENUM_CUSTOM},{category:W.i.CONTENT,field:"ctaAlternate",itemSchema:{fields:[{field:"ctaDetail
1s",label:"CTA Details",required:!1,type:W.b.TEXT_LINK},{field:"ctaType",label:"CTA Type",options:[{label:"Text",value:"text"},{label:"Primary",value:"primary"},{label:"Secondary",value:"secondary"}],required:!1,type:W.b.ENUM_CUSTOM}]},label:" CTA Secondary",required:!1,type:W.b.OBJECT},{category:W.i.CONTENT,dynamicPhotoType:"CARD",field:"image",label:"Desktop Image",required:!1,type:W.b.DYNAMIC_PHOTO},{category:W.i.CONTENT,dynamicPhotoType:"CARD",field:"imageTablet",label:"Tablet Image",required:!1,type:W.b.DYNAMIC_PHOTO},{category:W.i.CONTENT,dynamicPhotoType:"CARD",field:"imageMobile",label:"Mobile Image",required:!1,type:W.b.DYNAMIC_PHOTO},{category:W.i.DESIGN,field:"forceImageBackgroundContentOverlay",label:"Force image background for content overlay",type:W.b.TOGGLE_SWITCH},{category:W.i.DESIGN,field:"contentOverlayHeight",hideCondition:e=>!0!==(null==e?void 0:e.forceImageBackgroundContentOverlay),itemSchema:{fields:[{disableCount:!0,field:"desktop",label:"Desktop",placeholder:"i.e. 200px, 2em, 2rem",type:W.b.TEXT_LINE},{disableCount:!0,field:"tablet",label:"Tablet",placeholder:"i.e. 200px, 2em, 2rem",type:W.b.TEXT_LINE},{disableCount:!0,field:"mobile",label:"Mobile",placeholder:"i.e. 200px, 2em, 2rem",type:W.b.TEXT_LINE}]},label:"Content overlay height",type:W.b.TABBED_FIELDS},{category:W.i.DESIGN,defaultValue:!1,field:"hasControls",label:"Add controls (no mobile autoplay / has sound)",required:!1,type:W.b.TOGGLE_SWITCH},{category:W.i.CONTENT,itemSchema:{fields:[{field:"loopingVideo",itemSchema:{fields:[{disableCount:!0,field:"desktopVideo",label:"Desktop",placeholder:"1080p video URL (webm, mp4)",type:W.b.TEXT_LINE_CONSTANT},{disableCount:!0,field:"tabletVideo",label:"Tablet",placeholder:"720p video URL (webm, mp4)",type:W.b.TEXT_LINE_CONSTANT},{disableCount:!0,field:"mobileVideo",label:"Mobile",placeholder:"480p video URL (webm, mp4)",type:W.b.TEXT_LINE_CONSTANT},{disableCount:!0,field:"fallbackVideo",label:"Fallback",placeholder:"360p video URL (webm, mp4)",type:W.b.TEXT_LINE_CONSTANT}]},type:W.b.TABBED_FIELDS}]},label:"Looping Video",type:W.b.COLLAPSIBLE},{category:W.i.ADVANCED,itemSchema:{fields:[{field:"animations",options:[{label:"Full block",value:"fullBlock"},{label:"Content group header",value:"contentGroupHeader"},{label:"Content group body",value:"contentGroupBody"},{label:"CTA group",value:"ctaGroup"}],type:W.b.ANIMATION_BUILDER}]},label:"Animations",type:W.b.COLLAPSIBLE},...$.A.fields],title:"Media"},j=e=>{let{width:a,height:t}=e;return(0,Y.Y)("img",{alt:"",height:t||"200px",src:"https://terrablob.uberinternal.com/_gateway/prod/uber-static/chameleon-fusion/Media.png",width:a||"auto"})}}}]);
2//# sourceMappingURL=https://sourcemaps.uberinternal.com/raw/uber-sites/client-6493-4088d88aad78d28f.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.