!function(){var e,n={87:function(e){"use strict";e.exports=window.wp.element},415:function(e,n,l){"use strict";var o=l(723),t=l(997),a=l(715),i=l(427),r=l(87),s=l(942),d=l.n(s),c=JSON.parse('{"UU":"blynex/animated-counter-block"}'),g=l(790);(0,t.registerBlockType)(c.UU,{edit:function({attributes:e,setAttributes:n,clientId:l}){const{counters:t,layout:s,columns:c,columnGap:u,rowGap:x,alignment:b,animationDuration:h,animationTrigger:p,enableSeparator:m,numberTypography:y,titleTypography:f,descriptionTypography:C,numberColor:_,titleColor:v,descriptionColor:j,iconColor:S,itemBackgroundColor:k,itemBackgroundGradient:T,itemBackgroundImage:B,backgroundType:w,itemPadding:$,itemMargin:O,borderWidth:N,borderColor:D,borderRadius:z,borderStyle:I,glassEffect:P,glassBlur:W,glassOpacity:R,neumorphism:G,neumorphismIntensity:H,entranceAnimation:E,animationDelay:F,animationStagger:M,hoverEffect:A,hoverScale:L,customCSS:U,hideOnMobile:V,hideOnTablet:J,hideOnDesktop:X,iconSize:Z}=e,[q,K]=(0,r.useState)(0),Q=(0,a.useBlockProps)({className:d()("animated-counter-block",{[`layout-${s}`]:s,[`align-${b}`]:b,"hide-mobile":V,"hide-tablet":J,"hide-desktop":X})}),Y=(e,l,o)=>{const a=[...t];a[e]={...a[e],[l]:o},n({counters:a})},ee=(e,n,l)=>{const o=(parseFloat(e)||0).toFixed(n);return l?o.replace(/\B(?=(\d{3})+(?!\d))/g,","):o},ne=()=>{let e={padding:`${$.top} ${$.right} ${$.bottom} ${$.left}`,margin:`${O.top} ${O.right} ${O.bottom} ${O.left}`,borderWidth:`${N}px`,borderColor:D,borderStyle:I,borderRadius:`${z}px`};if("solid"===w&&k?e.backgroundColor=k:"gradient"===w&&T?e.background=T:"image"===w&&B&&(e.backgroundImage=`url(${B})`,e.backgroundSize="cover",e.backgroundPosition="center"),P&&(e.backdropFilter=`blur(${W}px)`,e.WebkitBackdropFilter=`blur(${W}px)`,e.backgroundColor=`rgba(255, 255, 255, ${R})`,e.border="1px solid rgba(255, 255, 255, 0.3)"),G){const n="light"===H?"5px":"medium"===H?"10px":"15px";e.boxShadow=`${n} ${n} ${2*parseInt(n)}px rgba(0, 0, 0, 0.1), -${n} -${n} ${2*parseInt(n)}px rgba(255, 255, 255, 0.7)`,e.backgroundColor=k||"#e0e5ec"}return e};return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)(a.InspectorControls,{children:[(0,g.jsxs)(i.PanelBody,{title:(0,o.__)("Layout Settings","blynex"),initialOpen:!0,children:[(0,g.jsx)(i.SelectControl,{label:(0,o.__)("Layout Type","blynex"),value:s,options:[{label:"Grid",value:"grid"},{label:"Horizontal",value:"horizontal"},{label:"Vertical",value:"vertical"}],onChange:e=>n({layout:e})}),"grid"===s&&(0,g.jsx)(i.RangeControl,{label:(0,o.__)("Columns","blynex"),value:c,onChange:e=>n({columns:e}),min:1,max:6}),(0,g.jsx)(i.RangeControl,{label:(0,o.__)("Column Gap (px)","blynex"),value:u,onChange:e=>n({columnGap:e}),min:0,max:100}),(0,g.jsx)(i.RangeControl,{label:(0,o.__)("Row Gap (px)","blynex"),value:x,onChange:e=>n({rowGap:e}),min:0,max:100}),(0,g.jsx)(i.SelectControl,{label:(0,o.__)("Alignment","blynex"),value:b,options:[{label:"Left",value:"left"},{label:"Center",value:"center"},{label:"Right",value:"right"}],onChange:e=>n({alignment:e})})]}),(0,g.jsxs)(i.PanelBody,{title:(0,o.__)("Animation Settings","blynex"),initialOpen:!1,children:[(0,g.jsx)(i.SelectControl,{label:(0,o.__)("Animation Trigger","blynex"),value:p,options:[{label:"On Scroll Into View",value:"scroll"},{label:"On Page Load",value:"load"}],onChange:e=>n({animationTrigger:e})}),(0,g.jsx)(i.RangeControl,{label:(0,o.__)("Animation Duration (ms)","blynex"),value:h,onChange:e=>n({animationDuration:e}),min:500,max:5e3,step:100}),(0,g.jsx)(i.SelectControl,{label:(0,o.__)("Entrance Animation","blynex"),value:E,options:[{label:"None",value:"none"},{label:"Fade In",value:"fade-in"},{label:"Slide Up",value:"slide-up"},{label:"Slide Down",value:"slide-down"},{label:"Slide Left",value:"slide-left"},{label:"Slide Right",value:"slide-right"},{label:"Zoom In",value:"zoom-in"}],onChange:e=>n({entranceAnimation:e})}),(0,g.jsx)(i.RangeControl,{label:(0,o.__)("Animation Delay (ms)","blynex"),value:F,onChange:e=>n({animationDelay:e}),min:0,max:2e3,step:100}),(0,g.jsx)(i.RangeControl,{label:(0,o.__)("Stagger Delay (ms)","blynex"),value:M,onChange:e=>n({animationStagger:e}),min:0,max:500,step:50})]}),(0,g.jsx)(i.PanelBody,{title:(0,o.__)("Number Formatting","blynex"),initialOpen:!1,children:(0,g.jsx)(i.ToggleControl,{label:(0,o.__)("Enable Thousand Separators","blynex"),checked:m,onChange:e=>n({enableSeparator:e})})}),(0,g.jsxs)(i.PanelBody,{title:(0,o.__)("Counter Items","blynex"),initialOpen:!0,children:[(0,g.jsxs)("div",{className:"counter-tabs",children:[(0,g.jsx)(i.ButtonGroup,{children:t.map(((e,n)=>(0,g.jsx)(i.Button,{isPressed:q===n,onClick:()=>K(n),children:n+1},e.id)))}),(0,g.jsx)(i.Button,{isSecondary:!0,onClick:()=>{const e={id:Date.now(),title:"New Milestone",description:"Description here",startNumber:0,endNumber:100,prefix:"",suffix:"+",decimals:0,icon:"",showIcon:!0,showTitle:!0,showDescription:!0};n({counters:[...t,e]}),K(t.length)},style:{marginTop:"10px",width:"100%"},children:(0,o.__)("+ Add Counter","blynex")})]}),t.length>0&&t[q]&&(0,g.jsxs)("div",{className:"counter-settings",style:{marginTop:"20px"},children:[(0,g.jsx)(i.TextControl,{label:(0,o.__)("Title","blynex"),value:t[q].title,onChange:e=>Y(q,"title",e)}),(0,g.jsx)(i.TextControl,{label:(0,o.__)("Description","blynex"),value:t[q].description,onChange:e=>Y(q,"description",e)}),(0,g.jsx)(i.RangeControl,{label:(0,o.__)("Start Number","blynex"),value:t[q].startNumber,onChange:e=>Y(q,"startNumber",e),min:0,max:1e4}),(0,g.jsx)(i.RangeControl,{label:(0,o.__)("End Number","blynex"),value:t[q].endNumber,onChange:e=>Y(q,"endNumber",e),min:0,max:1e4}),(0,g.jsx)(i.TextControl,{label:(0,o.__)("Prefix","blynex"),value:t[q].prefix,onChange:e=>Y(q,"prefix",e),placeholder:"$, #, etc."}),(0,g.jsx)(i.TextControl,{label:(0,o.__)("Suffix","blynex"),value:t[q].suffix,onChange:e=>Y(q,"suffix",e),placeholder:"+, %, k, M, etc."}),(0,g.jsx)(i.RangeControl,{label:(0,o.__)("Decimal Places","blynex"),value:t[q].decimals,onChange:e=>Y(q,"decimals",e),min:0,max:3}),(0,g.jsx)(i.TextControl,{label:(0,o.__)("Icon SVG Code","blynex"),value:t[q].icon,onChange:e=>Y(q,"icon",e),help:(0,o.__)("Paste SVG code or leave empty","blynex")}),(0,g.jsx)(i.ToggleControl,{label:(0,o.__)("Show Icon","blynex"),checked:t[q].showIcon,onChange:e=>Y(q,"showIcon",e)}),(0,g.jsx)(i.ToggleControl,{label:(0,o.__)("Show Title","blynex"),checked:t[q].showTitle,onChange:e=>Y(q,"showTitle",e)}),(0,g.jsx)(i.ToggleControl,{label:(0,o.__)("Show Description","blynex"),checked:t[q].showDescription,onChange:e=>Y(q,"showDescription",e)}),(0,g.jsxs)("div",{style:{display:"flex",gap:"10px",marginTop:"15px"},children:[(0,g.jsx)(i.Button,{isDestructive:!0,onClick:()=>(e=>{const l=t.filter(((n,l)=>l!==e));n({counters:l}),q>=l.length&&K(Math.max(0,l.length-1))})(q),children:(0,o.__)("Remove","blynex")}),(0,g.jsx)(i.Button,{isSecondary:!0,onClick:()=>(e=>{const l={...t[e],id:Date.now()},o=[...t];o.splice(e+1,0,l),n({counters:o})})(q),children:(0,o.__)("Duplicate","blynex")})]})]})]}),(0,g.jsxs)(i.PanelBody,{title:(0,o.__)("Typography","blynex"),initialOpen:!1,children:[(0,g.jsx)("h3",{children:(0,o.__)("Number Typography","blynex")}),(0,g.jsx)(i.TextControl,{label:(0,o.__)("Font Size","blynex"),value:y.fontSize,onChange:e=>n({numberTypography:{...y,fontSize:e}})}),(0,g.jsx)(i.SelectControl,{label:(0,o.__)("Font Weight","blynex"),value:y.fontWeight,options:[{label:"300 - Light",value:"300"},{label:"400 - Normal",value:"400"},{label:"500 - Medium",value:"500"},{label:"600 - Semi Bold",value:"600"},{label:"700 - Bold",value:"700"},{label:"800 - Extra Bold",value:"800"}],onChange:e=>n({numberTypography:{...y,fontWeight:e}})}),(0,g.jsx)("hr",{}),(0,g.jsx)("h3",{children:(0,o.__)("Title Typography","blynex")}),(0,g.jsx)(i.TextControl,{label:(0,o.__)("Font Size","blynex"),value:f.fontSize,onChange:e=>n({titleTypography:{...f,fontSize:e}})}),(0,g.jsx)(i.SelectControl,{label:(0,o.__)("Font Weight","blynex"),value:f.fontWeight,options:[{label:"300 - Light",value:"300"},{label:"400 - Normal",value:"400"},{label:"500 - Medium",value:"500"},{label:"600 - Semi Bold",value:"600"},{label:"700 - Bold",value:"700"}],onChange:e=>n({titleTypography:{...f,fontWeight:e}})}),(0,g.jsx)("hr",{}),(0,g.jsx)("h3",{children:(0,o.__)("Description Typography","blynex")}),(0,g.jsx)(i.TextControl,{label:(0,o.__)("Font Size","blynex"),value:C.fontSize,onChange:e=>n({descriptionTypography:{...C,fontSize:e}})}),(0,g.jsx)(i.SelectControl,{label:(0,o.__)("Font Weight","blynex"),value:C.fontWeight,options:[{label:"300 - Light",value:"300"},{label:"400 - Normal",value:"400"},{label:"500 - Medium",value:"500"}],onChange:e=>n({descriptionTypography:{...C,fontWeight:e}})}),(0,g.jsx)("hr",{}),(0,g.jsx)(i.RangeControl,{label:(0,o.__)("Icon Size (px)","blynex"),value:Z,onChange:e=>n({iconSize:e}),min:20,max:100})]}),(0,g.jsxs)(i.PanelBody,{title:(0,o.__)("Colors","blynex"),initialOpen:!1,children:[(0,g.jsx)("p",{children:(0,g.jsx)("strong",{children:(0,o.__)("Number Color","blynex")})}),(0,g.jsx)(i.ColorPalette,{value:_,onChange:e=>n({numberColor:e})}),(0,g.jsx)("p",{children:(0,g.jsx)("strong",{children:(0,o.__)("Title Color","blynex")})}),(0,g.jsx)(i.ColorPalette,{value:v,onChange:e=>n({titleColor:e})}),(0,g.jsx)("p",{children:(0,g.jsx)("strong",{children:(0,o.__)("Description Color","blynex")})}),(0,g.jsx)(i.ColorPalette,{value:j,onChange:e=>n({descriptionColor:e})}),(0,g.jsx)("p",{children:(0,g.jsx)("strong",{children:(0,o.__)("Icon Color","blynex")})}),(0,g.jsx)(i.ColorPalette,{value:S,onChange:e=>n({iconColor:e})})]}),(0,g.jsxs)(i.PanelBody,{title:(0,o.__)("Item Background","blynex"),initialOpen:!1,children:[(0,g.jsx)(i.SelectControl,{label:(0,o.__)("Background Type","blynex"),value:w,options:[{label:"None",value:"none"},{label:"Solid Color",value:"solid"},{label:"Gradient",value:"gradient"},{label:"Image",value:"image"}],onChange:e=>n({backgroundType:e})}),"solid"===w&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("p",{children:(0,g.jsx)("strong",{children:(0,o.__)("Background Color","blynex")})}),(0,g.jsx)(i.ColorPalette,{value:k,onChange:e=>n({itemBackgroundColor:e})})]}),"gradient"===w&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("p",{children:(0,g.jsx)("strong",{children:(0,o.__)("Gradient","blynex")})}),(0,g.jsx)(i.TextControl,{label:(0,o.__)("CSS Gradient","blynex"),value:T||"",onChange:e=>n({itemBackgroundGradient:e}),placeholder:"linear-gradient(135deg, #667eea 0%, #764ba2 100%)",help:(0,o.__)("Enter a CSS gradient value","blynex")}),(0,g.jsxs)("div",{style:{marginTop:"10px"},children:[(0,g.jsx)("p",{style:{marginBottom:"5px",fontSize:"12px",fontWeight:"500"},children:(0,o.__)("Preset Gradients:","blynex")}),(0,g.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:"8px"},children:[(0,g.jsx)(i.Button,{style:{background:"linear-gradient(135deg, #667eea 0%, #764ba2 100%)",height:"40px",border:"linear-gradient(135deg, #667eea 0%, #764ba2 100%)"===T?"2px solid #000":"none"},onClick:()=>n({itemBackgroundGradient:"linear-gradient(135deg, #667eea 0%, #764ba2 100%)"})}),(0,g.jsx)(i.Button,{style:{background:"linear-gradient(135deg, #f093fb 0%, #f5576c 100%)",height:"40px",border:"linear-gradient(135deg, #f093fb 0%, #f5576c 100%)"===T?"2px solid #000":"none"},onClick:()=>n({itemBackgroundGradient:"linear-gradient(135deg, #f093fb 0%, #f5576c 100%)"})}),(0,g.jsx)(i.Button,{style:{background:"linear-gradient(135deg, #4facfe 0%, #00f2fe 100%)",height:"40px",border:"linear-gradient(135deg, #4facfe 0%, #00f2fe 100%)"===T?"2px solid #000":"none"},onClick:()=>n({itemBackgroundGradient:"linear-gradient(135deg, #4facfe 0%, #00f2fe 100%)"})}),(0,g.jsx)(i.Button,{style:{background:"linear-gradient(135deg, #fa709a 0%, #fee140 100%)",height:"40px",border:"linear-gradient(135deg, #fa709a 0%, #fee140 100%)"===T?"2px solid #000":"none"},onClick:()=>n({itemBackgroundGradient:"linear-gradient(135deg, #fa709a 0%, #fee140 100%)"})}),(0,g.jsx)(i.Button,{style:{background:"linear-gradient(135deg, #30cfd0 0%, #330867 100%)",height:"40px",border:"linear-gradient(135deg, #30cfd0 0%, #330867 100%)"===T?"2px solid #000":"none"},onClick:()=>n({itemBackgroundGradient:"linear-gradient(135deg, #30cfd0 0%, #330867 100%)"})}),(0,g.jsx)(i.Button,{style:{background:"linear-gradient(135deg, #a8edea 0%, #fed6e3 100%)",height:"40px",border:"linear-gradient(135deg, #a8edea 0%, #fed6e3 100%)"===T?"2px solid #000":"none"},onClick:()=>n({itemBackgroundGradient:"linear-gradient(135deg, #a8edea 0%, #fed6e3 100%)"})})]})]})]}),"image"===w&&(0,g.jsx)(a.MediaUpload,{onSelect:e=>n({itemBackgroundImage:e.url}),type:"image",value:B,render:({open:e})=>(0,g.jsx)(i.Button,{onClick:e,isSecondary:!0,children:B?(0,o.__)("Change Image","blynex"):(0,o.__)("Select Image","blynex")})})]}),(0,g.jsxs)(i.PanelBody,{title:(0,o.__)("Spacing","blynex"),initialOpen:!1,children:[(0,g.jsx)("p",{children:(0,g.jsx)("strong",{children:(0,o.__)("Padding","blynex")})}),(0,g.jsx)(i.__experimentalBoxControl,{values:$,onChange:e=>n({itemPadding:e})}),(0,g.jsx)("p",{style:{marginTop:"20px"},children:(0,g.jsx)("strong",{children:(0,o.__)("Margin","blynex")})}),(0,g.jsx)(i.__experimentalBoxControl,{values:O,onChange:e=>n({itemMargin:e})})]}),(0,g.jsxs)(i.PanelBody,{title:(0,o.__)("Border & Radius","blynex"),initialOpen:!1,children:[(0,g.jsx)(i.RangeControl,{label:(0,o.__)("Border Width (px)","blynex"),value:N,onChange:e=>n({borderWidth:e}),min:0,max:10}),N>0&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("p",{children:(0,g.jsx)("strong",{children:(0,o.__)("Border Color","blynex")})}),(0,g.jsx)(i.ColorPalette,{value:D,onChange:e=>n({borderColor:e})}),(0,g.jsx)(i.SelectControl,{label:(0,o.__)("Border Style","blynex"),value:I,options:[{label:"Solid",value:"solid"},{label:"Dashed",value:"dashed"},{label:"Dotted",value:"dotted"},{label:"Double",value:"double"}],onChange:e=>n({borderStyle:e})})]}),(0,g.jsx)(i.RangeControl,{label:(0,o.__)("Border Radius (px)","blynex"),value:z,onChange:e=>n({borderRadius:e}),min:0,max:50})]}),(0,g.jsxs)(i.PanelBody,{title:(0,o.__)("Visual Effects","blynex"),initialOpen:!1,children:[(0,g.jsx)(i.ToggleControl,{label:(0,o.__)("Enable Glass Effect","blynex"),checked:P,onChange:e=>n({glassEffect:e}),help:(0,o.__)("Glass effect works best when there's a background image or color on the page section.","blynex")}),P&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(i.RangeControl,{label:(0,o.__)("Blur Intensity (px)","blynex"),value:W,onChange:e=>n({glassBlur:e}),min:0,max:30}),(0,g.jsx)(i.RangeControl,{label:(0,o.__)("Opacity","blynex"),value:R,onChange:e=>n({glassOpacity:e}),min:0,max:1,step:.1})]}),(0,g.jsx)(i.ToggleControl,{label:(0,o.__)("Enable Neumorphism","blynex"),checked:G,onChange:e=>n({neumorphism:e})}),G&&(0,g.jsx)(i.SelectControl,{label:(0,o.__)("Shadow Intensity","blynex"),value:H,options:[{label:"Light",value:"light"},{label:"Medium",value:"medium"},{label:"Strong",value:"strong"}],onChange:e=>n({neumorphismIntensity:e})})]}),(0,g.jsxs)(i.PanelBody,{title:(0,o.__)("Hover Effects","blynex"),initialOpen:!1,children:[(0,g.jsx)(i.SelectControl,{label:(0,o.__)("Hover Effect","blynex"),value:A,options:[{label:"None",value:"none"},{label:"Scale",value:"scale"},{label:"Lift (Shadow)",value:"lift"},{label:"Tint",value:"tint"},{label:"Glow",value:"glow"}],onChange:e=>n({hoverEffect:e})}),"scale"===A&&(0,g.jsx)(i.RangeControl,{label:(0,o.__)("Scale Amount","blynex"),value:L,onChange:e=>n({hoverScale:e}),min:1,max:1.2,step:.05})]}),(0,g.jsxs)(i.PanelBody,{title:(0,o.__)("Responsive Visibility","blynex"),initialOpen:!1,children:[(0,g.jsx)(i.ToggleControl,{label:(0,o.__)("Hide on Mobile","blynex"),checked:V,onChange:e=>n({hideOnMobile:e})}),(0,g.jsx)(i.ToggleControl,{label:(0,o.__)("Hide on Tablet","blynex"),checked:J,onChange:e=>n({hideOnTablet:e})}),(0,g.jsx)(i.ToggleControl,{label:(0,o.__)("Hide on Desktop","blynex"),checked:X,onChange:e=>n({hideOnDesktop:e})})]}),(0,g.jsx)(i.PanelBody,{title:(0,o.__)("Advanced","blynex"),initialOpen:!1,children:(0,g.jsx)(i.TextControl,{label:(0,o.__)("Custom CSS","blynex"),value:U,onChange:e=>n({customCSS:e}),help:(0,o.__)("Add custom CSS for this block","blynex")})})]}),(0,g.jsxs)("div",{...Q,children:[U&&(0,g.jsx)("style",{children:U}),(0,g.jsx)("div",{className:"animated-counter-container",style:(()=>{let e={};return"grid"===s?(e.display="grid",e.gridTemplateColumns=`repeat(${c}, 1fr)`,e.gap=`${x}px ${u}px`):"horizontal"===s?(e.display="flex",e.flexDirection="row",e.gap=`${u}px`,e.flexWrap="wrap"):"vertical"===s&&(e.display="flex",e.flexDirection="column",e.gap=`${x}px`),e.textAlign=b,e})(),children:t.map(((e,n)=>(0,g.jsxs)("div",{className:d()("counter-item",{[`hover-${A}`]:"none"!==A,"glass-effect":P,neumorphism:G}),style:ne(),children:[e.showIcon&&e.icon&&(0,g.jsx)("div",{className:"counter-icon",style:{color:S,fontSize:`${Z}px`,width:`${Z}px`,height:`${Z}px`},dangerouslySetInnerHTML:{__html:e.icon}}),(0,g.jsxs)("div",{className:"counter-number",style:{fontSize:y.fontSize,fontWeight:y.fontWeight,lineHeight:y.lineHeight,color:_},children:[e.prefix,ee(e.endNumber,e.decimals,m),e.suffix]}),e.showTitle&&(0,g.jsx)("div",{className:"counter-title",style:{fontSize:f.fontSize,fontWeight:f.fontWeight,lineHeight:f.lineHeight,color:v},children:e.title}),e.showDescription&&e.description&&(0,g.jsx)("div",{className:"counter-description",style:{fontSize:C.fontSize,fontWeight:C.fontWeight,lineHeight:C.lineHeight,color:j},children:e.description})]},e.id)))})]})]})},save:function({attributes:e}){const{counters:n,layout:l,columns:o,columnGap:t,rowGap:a,alignment:i,animationDuration:r,animationTrigger:s,enableSeparator:c,numberTypography:u,titleTypography:x,descriptionTypography:b,numberColor:h,titleColor:p,descriptionColor:m,iconColor:y,itemBackgroundColor:f,itemBackgroundGradient:C,itemBackgroundImage:_,backgroundType:v,itemPadding:j,itemMargin:S,borderWidth:k,borderColor:T,borderRadius:B,borderStyle:w,glassEffect:$,glassBlur:O,glassOpacity:N,neumorphism:D,neumorphismIntensity:z,entranceAnimation:I,animationDelay:P,animationStagger:W,hoverEffect:R,hoverScale:G,customCSS:H,hideOnMobile:E,hideOnTablet:F,hideOnDesktop:M,iconSize:A}=e,L=d()("animated-counter-block",{[`layout-${l}`]:l,[`align-${i}`]:i,"hide-mobile":E,"hide-tablet":F,"hide-desktop":M}),U=()=>{let e={padding:`${j.top} ${j.right} ${j.bottom} ${j.left}`,margin:`${S.top} ${S.right} ${S.bottom} ${S.left}`,borderWidth:`${k}px`,borderColor:T,borderStyle:w,borderRadius:`${B}px`};if("solid"===v&&f?e.backgroundColor=f:"gradient"===v&&C?e.background=C:"image"===v&&_&&(e.backgroundImage=`url(${_})`,e.backgroundSize="cover",e.backgroundPosition="center"),$&&(e.backdropFilter=`blur(${O}px)`,e.WebkitBackdropFilter=`blur(${O}px)`,e.backgroundColor=`rgba(255, 255, 255, ${N})`,e.border="1px solid rgba(255, 255, 255, 0.3)"),D){const n="light"===z?"5px":"medium"===z?"10px":"15px";e.boxShadow=`${n} ${n} ${2*parseInt(n)}px rgba(0, 0, 0, 0.1), -${n} -${n} ${2*parseInt(n)}px rgba(255, 255, 255, 0.7)`,e.backgroundColor=f||"#e0e5ec"}return e};return(0,g.jsxs)("div",{className:L,children:[H&&(0,g.jsx)("style",{children:H}),(0,g.jsx)("div",{className:"animated-counter-container",style:(()=>{let e={};return"grid"===l?(e.display="grid",e.gridTemplateColumns=`repeat(${o}, 1fr)`,e.gap=`${a}px ${t}px`):"horizontal"===l?(e.display="flex",e.flexDirection="row",e.gap=`${t}px`,e.flexWrap="wrap"):"vertical"===l&&(e.display="flex",e.flexDirection="column",e.gap=`${a}px`),e.textAlign=i,e})(),"data-trigger":s,"data-duration":r,"data-separator":c?"1":"0","data-entrance":I,"data-delay":P,"data-stagger":W,children:n.map(((e,n)=>(0,g.jsxs)("div",{className:d()("counter-item",{[`hover-${R}`]:"none"!==R,[`entrance-${I}`]:"none"!==I,"glass-effect":$,neumorphism:D}),style:U(),"data-hover-scale":G,children:[e.showIcon&&e.icon&&(0,g.jsx)("div",{className:"counter-icon",style:{color:y,fontSize:`${A}px`,width:`${A}px`,height:`${A}px`},dangerouslySetInnerHTML:{__html:e.icon}}),(0,g.jsxs)("div",{className:"counter-number",style:{fontSize:u.fontSize,fontWeight:u.fontWeight,lineHeight:u.lineHeight,color:h},"data-start":e.startNumber,"data-end":e.endNumber,"data-prefix":e.prefix,"data-suffix":e.suffix,"data-decimals":e.decimals,children:[e.prefix,"0",e.suffix]}),e.showTitle&&(0,g.jsx)("div",{className:"counter-title",style:{fontSize:x.fontSize,fontWeight:x.fontWeight,lineHeight:x.lineHeight,color:p},children:e.title}),e.showDescription&&e.description&&(0,g.jsx)("div",{className:"counter-description",style:{fontSize:b.fontSize,fontWeight:b.fontWeight,lineHeight:b.lineHeight,color:m},children:e.description})]},e.id)))})]})}})},427:function(e){"use strict";e.exports=window.wp.components},715:function(e){"use strict";e.exports=window.wp.blockEditor},723:function(e){"use strict";e.exports=window.wp.i18n},790:function(e){"use strict";e.exports=window.ReactJSXRuntime},942:function(e,n){var l;!function(){"use strict";var o={}.hasOwnProperty;function t(){for(var e="",n=0;n=a)&&Object.keys(o.O).every((function(e){return o.O[e](l[s])}))?l.splice(s--,1):(r=!1,a0&&e[c-1][2]>a;c--)e[c]=e[c-1];e[c]=[l,t,a]},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,{a:n}),n},o.d=function(e,n){for(var l in n)o.o(n,l)&&!o.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:n[l]})},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},function(){var e={356:0,350:0};o.O.j=function(n){return 0===e[n]};var n=function(n,l){var t,a,i=l[0],r=l[1],s=l[2],d=0;if(i.some((function(n){return 0!==e[n]}))){for(t in r)o.o(r,t)&&(o.m[t]=r[t]);if(s)var c=s(o)}for(n&&n(l);d