(()=>{"use strict";var t={5338:(t,e,n)=>{var o=n(5795);e.H=o.createRoot,o.hydrateRoot},5795:t=>{t.exports=window.ReactDOM}},e={};const n=window.React;var o=function n(o){var r=e[o];if(void 0!==r)return r.exports;var i=e[o]={exports:{}};return t[o](i,i.exports,n),i.exports}(5338);const r="linear-gradient(135deg, #0040E3, #18D4FD)",i=(t,e,n=!1)=>{return null==(o=e)||""===o||Array.isArray(o)&&0===o.length||"object"==typeof o&&0===Object.keys(o).length||"string"==typeof o&&""===o.trim()||"number"==typeof o&&0===o?"":`${t}: ${e}${n?" !important":""};`;var o},a=(t,e=!0,n=!0,o=!0)=>{const{type:a="solid",color:s="",gradient:l=r,image:$={},position:d="center center",attachment:c="",repeat:p="no-repeat",size:g="",overlayColor:u=""}=t||{};return"gradient"===a&&n?i("background",l):"image"===a&&o?`background: url(${$?.url});\n\t\t\t\t${i("background-color",u)}\n\t\t\t\t${i("background-position",d)}\n\t\t\t\t${i("background-size",g)}\n\t\t\t\t${i("background-repeat",p)}\n\t\t\t\t${i("background-attachment",c)}\n\t\t\t\t${i("background-repeat",p)}\n\t\t\t\tbackground-blend-mode: overlay;`:e&&i("background",s)},s=t=>{const{width:e="",style:n="solid",color:o="",side:r="all",radius:a=""}=t||{},s=t=>{const e=r?.toLowerCase();return e?.includes("all")||e?.includes(t)},l=`${e} ${n} ${o}`,$=`\n\t\t${e&&0!==parseInt(e)?["top","right","bottom","left"].map((t=>s(t)?`border-${t}: ${l};`:"")).join(""):""}\n\t\t${i("border-radius",a)}\n\t`;return $},l=(t,e="box")=>{const{hOffset:n="0px",vOffset:o="0px",blur:r="0px",spreed:i="0px",color:a="#7090b0",isInset:s=!1}=t||{},l=`${n} ${o} ${r}`;return("text"===e?`${l} ${a}`:`${l} ${i} ${a} ${s?"inset":""}`)||"none"},$=t=>{const{side:e=2,vertical:n="0px",horizontal:o="0px",top:r="0px",right:i="0px",bottom:a="0px",left:s="0px"}=t||{};return 2===e?`${n} ${o}`:`${r} ${i} ${a} ${s}`},d=(t,e,n=!0)=>{const{fontFamily:o="Default",fontCategory:r="sans-serif",fontVariant:a=400,fontWeight:s,isUploadFont:l=!0,fontSize:$={desktop:null,tablet:null,mobile:null},fontStyle:d,textTransform:c,textDecoration:p,lineHeight:g,letterSpace:u}=e||{},b=!n||!o||"Default"===o,m=$?.desktop||$,f=$?.tablet||m,y=$?.mobile||f,x=t=>{const e=String(t);return["px","em","rem","%","vh","vw"].some((t=>e.endsWith(t)))?e:"number"==typeof t?`${e}px`:""},h=`\n\t\t${b?"":`font-family: '${o}', ${r};`}\n\t\t${i("font-weight",s)}\n\t\t${i("font-size",x(m))}\n\t\t${i("font-style",d)}\n\t\t${i("text-transform",c)}\n\t\t${i("text-decoration",p)}\n\t\t${i("line-height",g)}\n\t\t${i("letter-spacing",u)}\n\t`,k=a&&400!==a?"400i"===a?":ital@1":a?.includes("00i")?`: ital, wght@1, ${a?.replace("00i","00")} `:`: wght@${a} `:"",v=b?"":`https://fonts.googleapis.com/css2?family=${o?.split(" ").join("+")}${k.replace(/ /g,"")}&display=swap`;return{googleFontLink:!l||b?"":`@import url(${v});`,styles:`${t}{\n\t\t\t${h}\n\t\t}\n\t\t@media only screen and (max-width: 1024px) {\n\t\t\t${t}{\n\t\t\t\t${i("font-size",x(f))}\n\t\t\t}\n\t\t}\n\t\t@media only screen and (max-width: 640px) {\n\t\t\t${t}{\n\t\t\t\t${i("font-size",x(y))}\n\t\t\t}\n\t\t}`.replace(/\s+/g," ").trim()}},c="bBlocksServices",p=({attributes:t,id:e,isBackend:o=!1})=>{const{columnGap:r,rowGap:i,background:p,textAlign:g,itemHeight:u,itemPadding:b,itemBorder:m,itemShadow:f,iconPadding:y,iconMargin:x,titleTypo:h,titleMargin:k,descTypo:v}=t,w=`#${e} .${c}`,S=`${w} .bBlocksService`,L=o?`${w} .block-editor-inner-blocks .block-editor-block-list__layout{\n\t\tgrid-gap: ${i} ${r};\n\t}`:`${w}{\n\t\tgrid-gap: ${i} ${r};\n\t}`;return(0,n.createElement)("style",{dangerouslySetInnerHTML:{__html:`\n\t\t${d("",h)?.googleFontLink}\n\t\t${d("",v)?.googleFontLink}\n\t\t${d(`${S} .title`,h)?.styles}\n\t\t${d(`${S} .description`,v)?.styles}\n\n\t\t${w}{\n\t\t\t${a(p)}\n\t\t}\n\t\t${L}\n\n\t\t${S}{\n\t\t\ttext-align: ${g};\n\t\t\tmin-height: ${u};\n\t\t\tpadding: ${$(b)};\n\t\t\t${s(m)||"border-radius: 15px;"}\n\t\t\tbox-shadow: ${l(f)};\n\t\t}\n\t\t${S} .bgLayer{\n\t\t\tborder-radius: ${m?.radius||"15px"}\n\t\t}\n\t\t${S} .icon{\n\t\t\tpadding: ${$(y)};\n\t\t\tmargin: ${$(x)};\n\t\t}\n\t\t${S} .title{\n\t\t\tmargin: ${$(k)};\n\t\t}\n\t\t`.replace(/\s+/g," ")}})};document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".wp-block-b-blocks-services").forEach((t=>{const e=JSON.parse(t.dataset.attributes),r=document.querySelector(`#${t.id} .${c}Style`);(0,o.H)(r).render((0,n.createElement)(p,{attributes:e,id:t.id})),t?.removeAttribute("data-attributes")}))}))})();