"use strict";(globalThis.webpackChunkboostify_blocks=globalThis.webpackChunkboostify_blocks||[]).push([[4767],{4767:(e,t,a)=>{a.r(t),a.d(t,{default:()=>_});var o=a(1609),r=a.n(o),l=a(7437),n=a(4505),s=a(7851),i=a(2440),m=a(5410),c=a(7931),d=a(8885),g=a(2431),u=a(5192),b=a(7788),p=a(9278);const _=r().memo((e=>{const{uniqueId:t,general_content:a,styles_dimensions:r,styles_background:_,styles_heading:y,styles_highlight:v,styles_link:$,styles_separator:h,styles_subHeading:k,advance_responsiveCondition:A,advance_zIndex:E,styles_border:x,advance_motionEffect:w}=e,{media_desktop:L,media_tablet:N}=b.s,f=`.${t}[data-uniqueid=${t}]`,C=`${f} .wcb-heading__heading`,T=`${f} .wcb-heading__subHeading`,B=`${f} .wcb-heading__separator`;return t?(0,o.createElement)(o.Fragment,null,(0,o.createElement)(l.mL,{styles:(()=>{const{textAlignment:e}=a,{value_Desktop:t,value_Mobile:o,value_Tablet:r}=(0,u.A)(e),{mobile_v:l,tablet_v:n,desktop_v:s}=(0,p.A)({mobile_v:o,tablet_v:r,desktop_v:t});return{[`${f}`]:l||n||s?{textAlign:l,[`@media (min-width: ${N})`]:n?{textAlign:n}:void 0,[`@media (min-width: ${L})`]:s?{textAlign:s}:void 0}:void 0}})()}),(0,o.createElement)(l.mL,{styles:(()=>{const{background:e}=_;return(0,s.A)({background:e,className:f})})()}),(0,o.createElement)(l.mL,{styles:(()=>{const{linkColor:e}=$;return{[`${f} a`]:{color:e.Normal.color,":hover":{color:e.Hover.color}}}})()}),(0,o.createElement)(l.mL,{styles:(0,i.A)({className:f,border:x,isWithRadius:!0})}),(0,o.createElement)(l.mL,{styles:(()=>{const{bgColor:e,padding:t,textColor:a}=v,{value_Desktop:o,value_Mobile:r,value_Tablet:l}=(0,u.A)(t),{mobile_v:n,tablet_v:s,desktop_v:i}=(0,p.A)({mobile_v:`${r?.top} ${r?.right} ${r?.bottom} ${r?.left}`,tablet_v:`${l?.top} ${l?.right} ${l?.bottom} ${l?.left}`,desktop_v:`${o?.top} ${o?.right} ${o?.bottom} ${o?.left}`});return{[`${f} mark`]:{color:a,backgroundColor:e,padding:n,[`@media (min-width: ${N})`]:s?{padding:s}:void 0,[`@media (min-width: ${L})`]:i?{padding:i}:void 0}}})()}),(0,o.createElement)(l.mL,{styles:(()=>{const{typography:e}=v;return(0,g.A)({typography:e,className:`${f} mark`})})()}),(0,o.createElement)(l.mL,{styles:(()=>{const{border:e}=v;return(0,i.A)({border:e,className:`${f} mark`,isWithRadius:!0})})()}),(0,o.createElement)(l.mL,{styles:(()=>{const{dimension:e}=r,{margin:t,padding:a}=e;return(0,c.A)({margin:t,padding:a,className:f})})()}),(0,o.createElement)(l.mL,{styles:(()=>{const{width:e}=h,{value_Desktop:t,value_Mobile:a,value_Tablet:o}=(0,u.A)(e);return{[`${B}`]:{width:a,[`@media (min-width: ${N})`]:{width:o},[`@media (min-width: ${L})`]:{width:t}}}})()}),(0,o.createElement)(l.mL,{styles:(()=>{const{border:e}=h;return(0,i.A)({border:{mainSettings:e},className:`${B}`})})()}),(0,o.createElement)(l.mL,{styles:(0,d.A)({className:`${f} .wcb-heading__separator-wrap`,value:h.marginBottom,prefix:"marginBottom"})}),(0,o.createElement)(l.mL,{styles:(()=>{const{typography:e}=y;return(0,g.A)({typography:e,className:C})})()}),(0,o.createElement)(l.mL,{styles:(()=>{const{textColor:e}=y;return(0,m.A)({textColor:e,className:C})})()}),(0,o.createElement)(l.mL,{styles:(()=>{const{textShadow:e}=y,{blur:t,color:a,horizontal:o,vertical:r}=e;return{[`${C}`]:{textShadow:`${o}px ${r}px ${t}px ${a}`}}})()}),(0,o.createElement)(l.mL,{styles:(0,d.A)({className:C,value:y.marginBottom,prefix:"marginBottom"})}),(0,o.createElement)(l.mL,{styles:(()=>{const{typography:e}=k;return(0,g.A)({typography:e,className:T})})()}),(0,o.createElement)(l.mL,{styles:(()=>{const{textColor:e}=k;return(0,m.A)({textColor:e,className:T})})()}),(0,o.createElement)(l.mL,{styles:(0,d.A)({className:T,value:k.marginBottom,prefix:"marginBottom"})}),(0,o.createElement)(l.mL,{styles:(0,n.F)({advance_motionEffect:w,advance_responsiveCondition:A,advance_zIndex:E,className:f,defaultDisplay:"block"})})):null}))},5410:(e,t,a)=>{a.d(t,{A:()=>o});const o=({className:e,textColor:t})=>{const{colorType:a,color:o,gradient:r}=t;if("color"!==a&&"gradient"!==a)return{};let l={};return"color"===a&&(l={color:o}),"gradient"===a&&(l={color:"transparent",backgroundClip:"text",backgroundImage:r}),l={[`${e}`]:l},l}},7851:(e,t,a)=>{a.d(t,{A:()=>o});const o=({className:e,background:t,backgroundHover:a})=>{const{bgType:o,color:r,gradient:l}=t,{bgType:n,color:s,gradient:i}=a||{};if("color"!==o&&"gradient"!==o)return{};let m="",c="";"color"===o&&(m="backgroundColor",c=r),"gradient"===o&&(m="backgroundImage",c=l);let d="",g="";return"color"===n&&(d="backgroundColor",g=s||""),"gradient"===n&&(d="backgroundImage",g=i||""),{[`${e}`]:{[`${m}`]:`${c}`,":hover":{[`${d}`]:`${g||null}`}}}}}}]);