"use strict";(globalThis.webpackChunkboostify_blocks=globalThis.webpackChunkboostify_blocks||[]).push([[9446],{2092:(e,a,t)=>{t.d(a,{n:()=>r});const r=(e,a="")=>{switch(e){case"shadow-sm":return`0 1px 2px 0 ${a||"rgb(0 0 0 / 0.05)"}`;case"shadow":return`0 1px 3px 0 ${a||"rgb(0 0 0 / 0.1)"}, 0 1px 2px -1px ${a||"rgb(0 0 0 / 0.1)"}`;case"shadow-md":return`0 4px 6px -1px ${a||"rgb(0 0 0 / 0.1)"}, 0 2px 4px -2px ${a||"rgb(0 0 0 / 0.1)"}`;case"shadow-lg":return`0 10px 15px -3px ${a||"rgb(0 0 0 / 0.1)"}, 0 4px 6px -4px ${a||"rgb(0 0 0 / 0.1)"}`;case"shadow-xl":return`0 20px 25px -5px ${a||"rgb(0 0 0 / 0.1)"}, 0 8px 10px -6px ${a||"rgb(0 0 0 / 0.1)"}`;case"shadow-2xl":return`0 25px 50px -12px ${a||"rgb(0 0 0 / 0.25)"}`;case"shadow-inner":return`inset 0 2px 4px 0 ${a||"rgb(0 0 0 / 0.05)"}`;default:return""}}},3733:(e,a,t)=>{t.d(a,{A:()=>s});var r=t(2092);const s=({boxShadow:e,className:a})=>{const{Hover:t,Normal:s}=e,{presetClass:n,blur:o,color:l,horizontal:i,position:p,spread:c,vertical:m}=s||{},{presetClass:g,blur:x,color:d,horizontal:u,position:b,spread:h,vertical:$}=t||{};let v="",y="";return v=n?(0,r.n)(n,l):`${i}px ${m}px ${o}px ${c}px ${l} ${"inset"===p?p:""}`,y=g?(0,r.n)(g,d):`${u}px ${$}px ${x}px ${h}px ${d} ${"inset"===b?b:""}`,{[`${a}`]:{boxShadow:v,"&:hover":{boxShadow:y}}}}},9446:(e,a,t)=>{t.r(a),t.d(a,{default:()=>d});var r=t(1609),s=t.n(r),n=t(7437),o=t(4505),l=t(2710),i=t(2440),p=t(3733),c=t(7931),m=t(8885),g=t(2431),x=t(7788);const d=s().memo((e=>{const{uniqueId:a,advance_responsiveCondition:t,advance_zIndex:s,general_settings:d,style_caption:u,style_image:b,style_overlay:h}=e,{media_desktop:$,media_tablet:v}=x.s,y=`.${a}[data-uniqueid=${a}]`,w=`${y}.wp-block-wcb-image`,f=`${y} img`,A=`${y} figcaption.wp-element-caption`,_=`${y} .wcb-image__overlay-bg`;return a?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(n.mL,{styles:[(0,c.A)({className:y,padding:b.padding}),(0,c.A)({className:`${y} .wcb-image__overlay-wrap`,padding:b.padding})]}),(0,r.createElement)(n.mL,{styles:[(0,c.A)({className:f,margin:b.margin}),(0,m.A)({className:f,value:d.width,prefix:"width",hasUnit:!1,unit:"px"}),(0,m.A)({className:f,value:d.height,prefix:"height",hasUnit:!1,unit:"px"}),(0,m.A)({className:f,value:d.objectFit,prefix:"objectFit"}),(0,i.A)({className:f,border:b.border,isWithRadius:!0}),(0,l.A)({className:`${_}`,radius:b.border.radius}),(0,p.A)({className:f,boxShadow:b.boxShadow})]}),"overlay"===d.layout?(0,r.createElement)(n.mL,{styles:[{[_]:{justifyContent:d.contentAlignment,backgroundColor:h.backgroundColor,":hover":{backgroundColor:h.backgroundColorHover}}}]}):null,"zoomin"===d.hoverImage?(0,r.createElement)(n.mL,{styles:[{[f]:{transition:"transform 0.3s ease-in-out"},[`${y}:hover img`]:{transform:"scale(1.05)"}}]}):"slide"===d.hoverImage?(0,r.createElement)(n.mL,{styles:[{[f]:{transition:"transform 0.3s cubic-bezier(0.4,0,0.2,1)"},[`${y}:hover img`]:{transform:"translateX(-20px)"}}]}):"grayscale"===d.hoverImage?(0,r.createElement)(n.mL,{styles:[{[f]:{transition:"filter 0.3s ease-in-out"},[`${y}:hover img`]:{filter:"grayscale(100%)"}}]}):"blur"===d.hoverImage?(0,r.createElement)(n.mL,{styles:[{[f]:{transition:"filter 0.3s ease-in-out"},[`${y}:hover img`]:{filter:"blur(2px)"}}]}):null,"overlay"!==d.layout?(0,r.createElement)(n.mL,{styles:[(0,m.A)({className:A,value:d.captionAlignment,prefix:"textAlign"}),(0,g.A)({className:A,typography:u.typography}),(0,c.A)({className:A,margin:u.margin}),{[A]:{color:u.textColor}}]}):null,(0,r.createElement)(n.mL,{styles:(0,o.F)({advance_responsiveCondition:t,advance_zIndex:s,className:y,defaultDisplay:"block"})}),(0,r.createElement)(n.mL,{styles:[{[`${w}.alignright`]:{marginLeft:"auto",marginRight:0},[`${w}.alignleft`]:{marginLeft:0,marginRight:"auto"}}]})):null}))}}]);