"use strict";(globalThis.webpackChunkgutenkit_blocks_addon=globalThis.webpackChunkgutenkit_blocks_addon||[]).push([[9031],{9031:(n,e,o)=>{o.r(e),o.d(e,{default:()=>r});var t=o(7723),a=o(6087),s=o(790);const r=(0,a.memo)(({attributes:n,setAttributes:e,device:o,advancedControl:a})=>{const{GkitTabs:r,GkitPanelBody:l,GkitText:c,GkitColor:d,GkitTypography:i,GkitResponsive:p,GkitBackgrounGroup:g,GkitBoxControl:k,GkitBorderControl:u}=window.GkitComponents,{gkitResponsiveValue:h,useFontFamilyinBlock:b,responsiveHelper:_,boxControlUnit:y}=window.GkitHelpers;return b([n?.contentTypography,n?.contentDropcapsTypography]),(0,s.jsx)(r,{type:"top-level",tabs:[{name:"style",title:(0,t.__)("Style","gutenkit-blocks-addon")},{name:"advanced",title:(0,t.__)("Advanced","gutenkit-blocks-addon")}],children:r=>{switch(r.name){case"style":return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(l,{title:(0,t.__)("Style","gutenkit-blocks-addon"),initialOpen:!0,children:[(0,s.jsx)(d,{label:(0,t.__)("Color","gutenkit-blocks-addon"),onChange:n=>e({contentColor:n}),value:n.contentColor}),(0,s.jsx)(i,{label:(0,t.__)("Typography","gutenkit-blocks-addon"),value:n.contentTypography,onChange:n=>e({contentTypography:n})})]}),(0,s.jsxs)(l,{title:(0,t.__)("Dropcap Letter","gutenkit-blocks-addon"),children:[(0,s.jsx)(d,{label:(0,t.__)("Color","gutenkit-blocks-addon"),onChange:n=>e({contentDropcapsColor:n}),value:n.contentDropcapsColor}),(0,s.jsx)(i,{label:(0,t.__)("Typography","gutenkit-blocks-addon"),value:n.contentDropcapsTypography,onChange:n=>e({contentDropcapsTypography:n},o),excludes:["letterSpacing","wordSpacing"]}),(0,s.jsx)(g,{onChange:n=>e({contentDropcapsBackground:n}),value:n.contentDropcapsBackground,exclude:{video:!0,image:!0}}),(0,s.jsx)(p,{children:(0,s.jsx)(k,{label:(0,t.__)("Padding","gutenkit-blocks-addon"),values:h(n,"contentDropcapsPadding",o),onChange:n=>_("contentDropcapsPadding",n,o,e),units:y})}),(0,s.jsx)(p,{children:(0,s.jsx)(k,{label:(0,t.__)("Margin","gutenkit-blocks-addon"),values:h(n,"contentDropcapsMargin",o),onChange:n=>_("contentDropcapsMargin",n,o,e),units:y})}),(0,s.jsx)(u,{label:(0,t.__)("Border","gutenkit-blocks-addon"),onChange:n=>e({contentDropcapsBorder:n}),value:n.contentDropcapsBorder}),(0,s.jsx)(p,{children:(0,s.jsx)(k,{label:(0,t.__)("Border Radius","gutenkit-blocks-addon"),values:h(n,"contentDropcapsBorderRadius",o),onChange:n=>_("contentDropcapsBorderRadius",n,o,e),units:y})})]})]});case"advanced":return(0,s.jsx)(s.Fragment,{children:a})}}})})}}]);