"use strict";(globalThis.webpackChunkboostify_blocks=globalThis.webpackChunkboostify_blocks||[]).push([[8579],{8579:(e,t,a)=>{a.r(t),a.d(t,{default:()=>_});var l=a(1609),s=a.n(l),n=a(7437),o=a(4505),r=a(7931),i=a(8885),c=a(2431),m=a(5192),p=a(7788);const _=s().memo((e=>{const{uniqueId:t,general_layout:a,style_description:s,style_dimension:_,style_title:d,advance_responsiveCondition:u,advance_zIndex:v,advance_motionEffect:b}=e,{media_desktop:f,media_tablet:g}=p.s,y=`.${t}[data-uniqueid=${t}]`,x=`${y} .wcb-cta__inner`,A=`${y} .wcb-cta__content`,h=`${y} .wcb-cta__title`,w=`${y} .wcb-cta__description`,{value_Desktop:k,value_Tablet:N,value_Mobile:D}=(0,m.A)(a.textAlignment),{value_Desktop:E,value_Tablet:C,value_Mobile:T}=(0,m.A)(a.flexDirection);let $={Desktop:"left"===k?"start":"right"===k?"end":"center",Tablet:"left"===N?"start":"right"===N?"end":"center",Mobile:"left"===D?"start":"right"===D?"end":"center"};return"row"!==E&&"row-reverse"!==E||($.Desktop="center"),"row"!==C&&"row-reverse"!==C||($.Tablet="center"),"row"!==T&&"row-reverse"!==T||($.Mobile="center"),t?(0,l.createElement)(l.Fragment,null,(0,l.createElement)(n.mL,{styles:[(0,i.A)({className:x,value:a.textAlignment,prefix:"textAlign"}),(0,i.A)({className:x,value:$,prefix:"alignItems"}),(0,i.A)({className:x,value:a.flexDirection,prefix:"flexDirection"}),(0,i.A)({className:x,value:_.gap,prefix:"gap"}),(0,r.A)({className:x,..._})]}),(0,l.createElement)(n.mL,{styles:(0,i.A)({className:A,value:a.contentWidth,prefix:"width"})}),(0,l.createElement)(n.mL,{styles:[(0,c.A)({className:h,typography:d.typography}),(0,i.A)({className:h,value:d.marginBottom,prefix:"marginBottom"}),{[h]:{color:d.textColor}}]}),(0,l.createElement)(n.mL,{styles:[(0,c.A)({className:w,typography:s.typography}),(0,i.A)({className:w,value:s.marginBottom,prefix:"marginBottom"}),{[w]:{color:s.textColor}}]}),(0,l.createElement)(n.mL,{styles:(0,o.F)({advance_motionEffect:b,advance_responsiveCondition:u,advance_zIndex:v,className:y,defaultDisplay:"block"})})):null}))}}]);