"use strict";(globalThis.webpackChunkgutenkit_blocks_addon=globalThis.webpackChunkgutenkit_blocks_addon||[]).push([[5771],{5771:(e,s,i)=>{i.r(s),i.d(s,{default:()=>d});var n=i(7723),t=i(6087),a=i(6427),o=i(790);const d=(0,t.memo)(({attributes:e,setAttributes:s,device:i,advancedControl:t})=>{const{GkitTabs:d,GkitPanelBody:l,GkitResponsive:g,GkitSwitcher:u,GkitColor:k,GkitBackgrounGroup:r,GkitTypography:c,GkitBoxControl:B,GkitBorderControl:h}=window.GkitComponents,{gkitResponsiveValue:m,useFontFamilyinBlock:_,responsiveHelper:b}=window.GkitHelpers;return _([e?.gkitBusinessDayTypography,e?.gkitBusinessTimeTypography]),(0,o.jsx)(d,{type:"top-level",tabs:[{name:"content",title:(0,n.__)("Style","gutenkit-blocks-addon")},{name:"advanced",title:(0,n.__)("Advanced","gutenkit-blocks-addon")}],children:d=>{switch(d.name){case"content":return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(l,{title:(0,n.__)("Item","gutenkit-blocks-addon"),initialOpen:!0,children:[(0,o.jsx)(r,{label:(0,n.__)("Background","gutenkit-blocks-addon"),onChange:e=>s({gkitBusinessItemBackground:e}),value:e?.gkitBusinessItemBackground,exclude:{video:!0,image:!0}}),(0,o.jsx)(h,{label:(0,n.__)("Border","gutenkit-blocks-addon"),onChange:e=>s({gkitBusinessItemBorder:e}),value:e?.gkitBusinessItemBorder}),e?.gkitBusinessItemBorder&&(0,o.jsx)(u,{label:(0,n.__)("Remove Last Child Border","gutenkit-blocks-addon"),default:!1,onChange:e=>s({gkitLastChildBorder:e}),value:e?.gkitLastChildBorder}),(0,o.jsx)(g,{children:(0,o.jsx)(B,{label:(0,n.__)("Border Radius","gutenkit-blocks-addon"),values:m(e,"gkitBusinessItemItemRadius",i),onChange:e=>b("gkitBusinessItemItemRadius",e,i,s)})}),(0,o.jsx)(a.__experimentalDivider,{}),(0,o.jsx)(g,{children:(0,o.jsx)(B,{label:(0,n.__)("Padding","gutenkit-blocks-addon"),values:m(e,"gkitBusinessItemPadding",i),onChange:e=>b("gkitBusinessItemPadding",e,i,s)})}),(0,o.jsx)(g,{children:(0,o.jsx)(B,{label:(0,n.__)("Margin","gutenkit-blocks-addon"),values:m(e,"gkitBusinessItemMargin",i),onChange:e=>b("gkitBusinessItemMargin",e,i,s)})})]}),(0,o.jsxs)(l,{title:(0,n.__)("Day","gutenkit-blocks-addon"),children:[(0,o.jsx)(k,{label:(0,n.__)("Color","gutenkit-blocks-addon"),onChange:e=>s({gkitBusinessDayColor:e}),value:e?.gkitBusinessDayColor}),(0,o.jsx)(c,{label:(0,n.__)("Typography","gutenkit-blocks-addon"),onChange:e=>s({gkitBusinessDayTypography:e}),value:e?.gkitBusinessDayTypography}),(0,o.jsx)(r,{onChange:e=>s({gkitBusinessDayBackground:e}),value:e?.gkitBusinessDayBackground,exclude:{video:!0,image:!0}}),(0,o.jsx)(g,{children:(0,o.jsx)(B,{label:(0,n.__)("Border Radius","gutenkit-blocks-addon"),values:m(e,"gkitBusinessItemDayRadius",i),onChange:e=>b("gkitBusinessItemDayRadius",e,i,s)})}),(0,o.jsx)(g,{children:(0,o.jsx)(B,{label:(0,n.__)("Padding","gutenkit-blocks-addon"),values:m(e,"gkitBusinessItemDayPadding",i),onChange:e=>b("gkitBusinessItemDayPadding",e,i,s)})})]}),(0,o.jsxs)(l,{title:(0,n.__)("Time","gutenkit-blocks-addon"),children:[(0,o.jsx)(k,{label:(0,n.__)("Color","gutenkit-blocks-addon"),onChange:e=>s({gkitBusinessTimeColor:e}),value:e?.gkitBusinessTimeColor}),(0,o.jsx)(c,{label:(0,n.__)("Typography","gutenkit-blocks-addon"),onChange:e=>s({gkitBusinessTimeTypography:e}),value:e?.gkitBusinessTimeTypography}),(0,o.jsx)(r,{onChange:e=>s({gkitBusinessTimeBackground:e}),value:e?.gkitBusinessTimeBackground,exclude:{video:!0,image:!0}}),(0,o.jsx)(g,{children:(0,o.jsx)(B,{label:(0,n.__)("Border Radius","gutenkit-blocks-addon"),values:m(e,"gkitBusinessItemTimeRadius",i),onChange:e=>b("gkitBusinessItemTimeRadius",e,i,s)})}),(0,o.jsx)(g,{children:(0,o.jsx)(B,{label:(0,n.__)("Padding","gutenkit-blocks-addon"),values:m(e,"gkitBusinessItemTimePadding",i),onChange:e=>b("gkitBusinessItemTimePadding",e,i,s)})})]})]});case"advanced":return(0,o.jsx)(o.Fragment,{children:t})}}})})}}]);