PluginProbe
bBlocks – Essential Gutenberg Blocks & Patterns Collection / 2.1.8
bBlocks – Essential Gutenberg Blocks & Patterns Collection v2.1.8
2.1.8 2.1.7 2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.1.0 2.0.43 2.0.42 2.0.41 2.0.40 2.0.39 2.0.38 trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.5.1 1.5.2 1.5.3 All 108 releases
← All changes | build/process-steps/view.js +4 -1 2.1.6 → 2.1.8 View file →
@@ -1 +1,4 @@
1 -(()=>{"use strict";const t=window.ReactDOM,e=t=>!(null==t||""===t||Array.isArray(t)&&0===t.length||"object"==typeof t&&0===Object.keys(t).length||"string"==typeof t&&""===t.trim()||"number"==typeof t&&0===t),n=t=>{try{const e=new URL(t);return["http:","https:"].includes(e.protocol)?e.toString():null}catch(e){return"string"==typeof t&&t.startsWith("/")&&!t.startsWith("//")?t:null}},o=t=>{const e=(new DOMParser).parseFromString(t,"text/html"),o=["b","strong","i","em","span","a","br"],s=["style","href","target","rel","class"];return e.body.querySelectorAll("*").forEach((t=>{o.includes(t.tagName.toLowerCase())?[...t.attributes].forEach((e=>{if(s.includes(e.name)||t.removeAttribute(e.name),"href"===e.name){const o=n(e.value);o?t.setAttribute("href",o):t.removeAttribute("href")}})):t.remove()})),e.body.innerHTML},s="@media only screen and (max-width: 1024px)",r="@media only screen and (max-width: 640px)",i="linear-gradient(135deg, #0040E3, #18D4FD)",a=window.React,c=t=>{const e=n(t);return e?`url('${e.replace(/['"()]/g,"")}')`:"none"},l=(t,n)=>e(n)?`${t}: ${n};`:"",d=(t,e=!0,n=!0,o=!0)=>{const{type:s="solid",color:r="",gradient:a=i,image:d={},position:M="center center",attachment:p="",repeat:u="no-repeat",size:$="",overlayColor:b=""}=t||{};return"gradient"===s&&n?l("background",a):"image"===s&&o?`background: ${c(d?.url)};\n\t\t\t\t${l("background-color",b)}\n\t\t\t\t${l("background-position",M)}\n\t\t\t\t${l("background-size",$)}\n\t\t\t\t${l("background-repeat",u)}\n\t\t\t\t${l("background-attachment",p)}\n\t\t\t\t${l("background-repeat",u)}\n\t\t\t\tbackground-blend-mode: overlay;`:e&&l("background",r)},M=t=>{if(!t)return"";const e=t=>{const{color:e="#000000",style:n="solid",width:o="0px"}=t;return`${o} ${n} ${e}`};return"object"!=typeof t||Array.isArray(t)?"":t.hasOwnProperty("top")||t.hasOwnProperty("right")||t.hasOwnProperty("bottom")||t.hasOwnProperty("left")?["top","right","bottom","left"].map((n=>t[n]?`border-${n}: ${e(t[n])};`:"")).join(" ").trim():l("border",e(t))},p=(t,e="box")=>{let n="";return t?.map(((o,s)=>{const{hOffset:r="0px",vOffset:i="0px",blur:a="0px",spreed:c="0px",color:l="#e7f0fe",isInset:d=!1}=o||{},M=d?"inset":"",p=`${r} ${i} ${a}`,u=s+1>=t.length?"":", ";n+="text"===e?`${p} ${l}${u}`:`${p} ${c} ${l} ${M}${u}`})),n||""},u=(t,e,n=!0)=>{const{fontFamily:o="Default",fontCategory:i="sans-serif",fontVariant:a=400,fontWeight:c,isUploadFont:d=!0,fontSize:M={desktop:null,tablet:null,mobile:null},fontStyle:p,textTransform:u,textDecoration:$,lineHeight:b,letterSpace:g}=e||{},y=!n||!o||"Default"===o,m=M?.desktop||M,j=M?.tablet||m,N=M?.mobile||j,L=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${y?"":`font-family: '${o}', ${i};`}\n\t\t${l("font-weight",c)}\n\t\t${l("font-size",L(m))}\n\t\t${l("font-style",p)}\n\t\t${l("text-transform",u)}\n\t\t${l("text-decoration",$)}\n\t\t${l("line-height",b)}\n\t\t${l("letter-spacing",g)}\n\t`,w=a&&400!==a?"400i"===a?":ital@1":a?.includes("00i")?`: ital, wght@1, ${a?.replace("00i","00")} `:`: wght@${a} `:"",D=y?"":`https://fonts.googleapis.com/css2?family=${o?.split(" ").join("+")}${w.replace(/ /g,"")}&display=swap`;return{googleFontLink:!d||y?"":`@import url(${D});`,styles:`${t}{\n\t\t\t${h}\n\t\t}\n\t\t${s} {\n\t\t\t${t}{\n\t\t\t\t${l("font-size",L(j))}\n\t\t\t}\n\t\t}\n\t\t${r} {\n\t\t\t${t}{\n\t\t\t\t${l("font-size",L(N))}\n\t\t\t}\n\t\t}`.replace(/\s+/g," ").trim()}},$=t=>{if(!t)return"";if("string"==typeof t)return t;if("object"==typeof t&&!Array.isArray(t)){const e=["top","right","bottom","left"];return e.map((e=>t[e]||"")).every((t=>!t))?"":e.map((e=>t[e]||"0")).join(" ")}return""},b=t=>{const{position:n="center center",xPosition:o=0,yPosition:s=0,attachment:r="",repeat:i="no-repeat",size:a="cover",customSize:c="0px"}=t||{},l=t=>"initial"!==t||e(t);return`\n\t\t${l(n)?`background-position: ${"custom"===n?`${o} ${s}`:n};`:""}\n\t\t${r&&l(r)?`background-attachment: ${r};`:""}\n\t\t${l(i)?`background-repeat: ${i};`:""}\n\t\t${l(a)?`background-size: ${"custom"===a?`${c} auto`:a};`:""}\n\t`},g=(t={})=>t?{desktop:e(t.url)?`background-image: ${c(t.url)}; ${b(t?.desktop)}`:"",tablet:e(t.url)?b(t?.tablet):"",mobile:e(t.url)?b(t?.mobile):""}:"",y=(t,o,i=!1)=>{const{type:a="color",color:c,gradient:d,img:M,video:p}=t||{},u="color"===a?l("background",c):"gradient"===a?(t=>{const{type:n="linear",radialType:o="ellipse",colors:s=[],centerPositions:r={x:0,y:0},angel:i=0}=t||{};if(e(t)){const t=s?.map((({color:t,position:e})=>`${t} ${e}%`)),e=`linear-gradient(${i}deg, ${t})`;return l("background","radial"===n?`radial-gradient(${o} at ${r?.x}% ${r?.y}%,${t})`:e)}return""})(d):"image"===a?g(M).desktop:"",$="image"===a?g(M).tablet:"",b="image"===a?g(M).mobile:"",y=i?`${o}:hover`:o;return`\n\t\t${"video"===a?((t,e)=>{const{url:o,loop:s}=t||{},r=document.querySelector(e),i=r?.querySelector(".bPlVideo"),a=document.createElement("video");if(a.muted=!0,a.autoplay=!0,a.classList.add("bPlVideo"),!i&&r&&o){const t=n(o);if(t){const e=document.createElement("source");e.src=t,a.appendChild(e),r.appendChild(a)}}return a.loop=s,a.play(),`${e} .bPlVideo{\n\t\tleft: 0;\n\t\tmin-height: 100%;\n\t\tmin-width: 100%;\n\t\tposition: absolute;\n\t\twidth: -webkit-fill-available;\n\t\ttop: 0;\n\t\tz-index: 0;\n\t}`})(p,o):""}\n\n\t\t${u?`${y}{\n\t\t\t${u}\n\t\t}`:""}\n\n\t\t${$?`${s} {\n\t\t\t${y}{\n\t\t\t\t${$}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${b?`${r} {\n\t\t\t${y}{\n\t\t\t\t${b}\n\t\t\t}\n\t\t}`:""}\n\t`.replace(/\s+/g," ").trim()},m=(t,n,o=!1)=>{const{isEnabled:s,colors:r,opacity:i=1,blend:a,filter:c="",blur:d=0,brightness:M=100,contrast:p=100,saturation:u=100,hue:$=0,position:b={top:0,right:0,bottom:0,left:0},zIndex:g=-1}=t||{},m=`${100!==M?`brightness(${M}%)`:""} ${100!==p?`contrast(${p}%)`:""} ${100!==u?`saturate(${u}%)`:""} ${0!==d?`blur(${d}px)`:""} ${0!==$?`hue-rotate(${$}deg)`:""}`,j=`${c}: ${c?m:""}; -webkit-${c}: ${c?m:""};`,N=o?`${n}:hover::after`:`${n}::after`;return s?`\n\t\t${n}{\n\t\t\tposition:relative;\n\t\t\tz-index:1;\n\t\t}\n\t\t${n}::after{\n\t\t\tcontent: '';\n\t\t\tposition: absolute;\n\t\t\ttop:${e(b.top)?b.top:0};\n\t\t\tright:${e(b.right)?b.right:0};\n\t\t\tbottom:${e(b.bottom)?b.bottom:0};\n\t\t\tleft:${e(b.left)?b.left:0};\n\t\t\tz-index:${g};\n\t\t}\n\t\t${y(r,N,!1)}\n\t\t${N}{\n\t\t\t${l("opacity",i)}\n\t\t\t${l("mix-blend-mode",a)}\n\t\t\t${j}\n\t\t}\n\t`.replace(/\s+/g," ").trim():""},j=(t,n,o=!1)=>{const i=(t,n="desktop")=>{if(!e(t))return"";const{skew:o,scale:s,rotate:r,offset:i,flipX:a,flipY:c}=t,{threeDRotate:d}=r||{},{isProportion:M}=s||{},p=[];return e(o)&&(e(o?.[n]?.x)&&p.push(`skewX(${o[n].x}deg)`),e(o?.[n]?.y)&&p.push(`skewY(${o[n].y}deg)`)),M?e(s?.[n]?.scale)&&p.push(`scale(${s[n].scale})`):(e(s?.[n]?.x)&&p.push(`scaleX(${s[n].x})`),e(s?.[n]?.y)&&p.push(`scaleY(${s[n].y})`)),e(r)&&(e(r?.[n]?.z)&&p.push(`rotateZ(${r[n].z}deg)`),d&&(e(r?.[n]?.x)&&p.push(`rotateX(${r[n].x}deg)`),e(r?.[n]?.y)&&p.push(`rotateY(${r[n].y}deg)`))),e(i)&&(e(i?.[n]?.x)&&p.push(`translateX(${i[n].x})`),e(i?.[n]?.y)&&p.push(`translateY(${i[n].y})`)),e(a)&&p.push(a?"scaleX(-1)":""),e(c)&&p.push(c?"scaleY(-1)":""),0===p.length?"":l("transform",p.join(" "))},a=o?`${n}:hover`:n;return`\n\t\t${a} {\n\t\t\t${i(t,"desktop")}\n\t\t}\n\t\t${s}{\n\t\t\t${a} {\n\t\t\t\t${i(t,"tablet")}\n\t\t\t}\n\t\t}\n\t\t${r}{\n\t\t\t${a} {\n\t\t\t\t${i(t,"mobile")}\n\t\t\t}\n\t\t}\n\t`},N=t=>{const{padding:e,margin:n,height:o,width:s}=t||{},r=(t,e)=>l(t,e),i=(t,e,n)=>r(t,e?.[t]?.[n])+r(`min-${t}`,e?.min?.[n])+r(`max-${t}`,e?.max?.[n]),a=t=>l("padding",$(t)),c=t=>l("margin",$(t));return{desktop:a(e?.desktop)+c(n?.desktop)+i("height",o,"desktop")+i("width",s,"desktop"),tablet:a(e?.tablet)+c(n?.tablet)+i("height",o,"tablet")+i("width",s,"tablet"),mobile:a(e?.mobile)+c(n?.mobile)+i("height",o,"mobile")+i("width",s,"mobile")}},L=t=>{const{normal:e,hover:n}=t||{},o=t=>{const{border:e,radius:n,shadow:o}=t||{},s=l("border-radius",$(n)),r=l("box-shadow",p(o,"box"));return M(e)+s+r};return{normal:o(e),hover:o(n)}},h=t=>{const{zIndex:n,overflow:o}=t||{},s=o?`overflow: ${o};`:"",r=t=>`${l("z-index",n?.[t])} ${l("position",e(n?.[t])?"relative":"")}`;return{desktop:r("desktop")+s,tablet:r("tablet"),mobile:r("mobile")}},w=(t,e)=>{const{desktop:n=!1,tablet:o=!1,mobile:s=!1}=t||{},r=e?"opacity: 0.5;":"display: none;",i=t=>t?r:"";return{desktop:i(n),tablet:i(o),mobile:i(s)}},D=(t,n,o=!1,i=!0)=>{const{dimension:a,transform:d,background:M,borderShadow:p,mask:u,animation:$,visibility:b,responsive:g,css:D=""}=n||{},x=o?`#${t}>div>div${i?":first-child":""}`:`#${t}>div`;((t,e,n)=>{const o=n?`#${e} > div`:`#${e}`,s=document.querySelector(o);s&&t&&t.type&&(s.setAttribute("data-aos",t.type),s.setAttribute("data-aos-duration",1e3*t.duration||.4),s.setAttribute("data-aos-delay",1e3*t.delay||0),s.classList.contains("aos-init")||(s.classList.add("aos-init"),window?.AOS?.init()),n)&&new IntersectionObserver((t=>{t.forEach((t=>{t.intersectionRatio>.5?s.classList.add("aos-animate"):s.classList.remove("aos-animate")}))}),{threshold:[.5]}).observe(s)})($,t,o);const k=N(a).desktop+h(b).desktop+((t,e,n)=>{const{transition:o=.4}=t||{},{transition:s=.4}=e||{},{transition:r=200}=n||{};return`transition: background ${o}s, border ${s}s, border-radius ${s}s, box-shadow ${s}s, transform ${r}ms ease-in-out;`})(M,p,d)+(t=>{const{isMask:e=!1,shape:n={type:"circle"},size:o={type:"contain",scale:"100%"},position:s={type:"center center",x:50,y:50},repeat:r="no-repeat"}=t||{};return e?`-webkit-mask-image: ${"custom"===n.type?c(n.url):`url(${(i=n.type,[{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0c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UsMjUuNzUyMyw4OUg3Ny4yMTE0TDEwMyw0NC41MDQ1Wk02MS43NjkxLDYyLjI2MUg0MS4yMjE4TDMwLjkzOTEsNDQuNTA0NSw0MS4yMjE4LDI2LjczOUg2MS43NjkxTDcyLjA1MTksNDQuNTA0NVoiLz48L3N2Zz4=",type:"hexagon"}].find((t=>t.type===i))).svg})`};\n\t\t-webkit-mask-size: ${"custom"===o.type?o.scale:o.type};\n\t\t${"custom"===s.type?`${l("-webkit-mask-position-x",s.x)}\n\t\t\t${l("-webkit-mask-position-y",s.y)}`:`${l("-webkit-mask-position",s.type)}`}\n\t\t${"cover"!==o.type?`-webkit-mask-repeat: ${r};`:""}`:"";var i})(u),z=N(a).tablet+h(b).tablet+w(g,o).tablet,S=N(a).mobile+h(b).mobile+w(g,o).mobile,I=L(p).normal,T=L(p).hover,v=w(g,o).desktop;return`\n\t\t${k||I?`${x} {\n\t\t\t${k}\n\t\t\t${I}\n\t\t}`:""}\n\t\t${T?`${x}:hover {\n\t\t\t${T}\n\t\t}`:""}\n\n\t\t${v?`@media only screen and (min-width: 1025px) {\n\t\t\t${x}{\n\t\t\t\t${v}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${z?`${s} {\n\t\t\t${x}{\n\t\t\t\t${z}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${S?`${r} {\n\t\t\t${x}{\n\t\t\t\t${S}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${y(M?.normal,x)}\n\t\t${y(M?.hover,x,!0)}\n\t\t${m(M?.overlay,x)}\n\t\t${m(M?.hoverOverlay,x,!0)}\n\t\t${e(d?.normal)?j(d?.normal,x):""}\n\t\t${e(d?.hover)?j(d?.hover,x,!0):""}\n\n\t\t${D}\n\t`.replace(/\s+/g," ")},x=window.wp.i18n,k=((0,x.__)("General","b-blocks"),(0,x.__)("Style","b-blocks"),(0,x.__)("Advanced","b-blocks"),["h2","h3","h4","p"]),z=((0,x.__)("Paragraph","b-blocks"),(0,x.__)("Classic — clean cards, blue accent","b-blocks"),(0,x.__)("Modern — gradient badges, soft shadow","b-blocks"),(0,x.__)("Minimal — borderless, dotted connectors","b-blocks"),(0,x.__)("Bold — high-contrast dark badges","b-blocks"),t=>({top:t,right:t,bottom:t,left:t})),S=(z("50%"),z("8px"),z("50%"),z("16px"),z("50%"),z("8px"),z("0px"),z("0px"),(0,x.__)("Left","b-blocks"),(0,x.__)("Center","b-blocks"),(0,x.__)("Right","b-blocks"),(0,x.__)("Number","b-blocks"),(0,x.__)("Icon","b-blocks"),(0,x.__)("Solid","b-blocks"),(0,x.__)("Dashed","b-blocks"),(0,x.__)("Dotted","b-blocks"),(t,e)=>(t??"").toString().trim()||e),I=t=>t?t.charAt(0).toUpperCase()+t.slice(1):"",T=t=>{const{layout:e={},badge:n={},connector:o={}}=t,{type:s,alignment:r}=e,i="vertical"===s?"vertical":"horizontal",a=["left","center","right"].includes(r)?r:"center",c="icon"===n.type?"icon":"number",l=o.show;return["bBlocksProcessSteps",`bBlocksProcessStepsLayout${I(i)}`,`bBlocksProcessStepsAlign${I(a)}`,`bBlocksProcessStepsBadge${I(c)}`,l?"has-connector":"no-connector"].join(" ")},v=(t,e)=>parseInt(t,10)||e,f=window.ReactJSXRuntime,O=({attributes:t,id:e,isBackend:n=!1})=>{const{layout:o={},connector:i={},badge:a={},content:c={},card:b={},advanced:g={}}=t,y=`#${e} .bBlocksProcessSteps`,m=`${y} .bBlocksProcessStepsList`,j=`${y}.bBlocksProcessStepsLayoutHorizontal .bBlocksProcessStepsList`,N=`${m} .bBlocksProcessStepsItem`,L=`${N} .bBlocksProcessStepsBadge`,h=`${N} .bBlocksProcessStepsTitle`,w=`${y} .bBlocksProcessStepsDescription`,x=`${y}.bBlocksProcessStepsLayoutVertical.has-connector .bBlocksProcessStepsItem:not(:last-child)::before`,k=`${y}.bBlocksProcessStepsLayoutHorizontal.has-connector .bBlocksProcessStepsItem:not(:first-child)::before`,z=S(a.size,"56px"),I=.42*(t=>{const e=(t??"").toString().trim();if(!e)return 56;const n=e.match(/^(-?\d+(?:\.\d+)?)/);return n?parseFloat(n[1]):56})(z)+"px",T=i.color||"#CBD5E1",O=S(i.width,"2px"),A=(P=i.style,["solid","dashed","dotted"].includes(P)?P:"solid");var P;const C=!!i.show,E=S(b?.padding?.top,"0px"),Y=S(b?.padding?.left,"0px"),{gap:Q={},columnCount:U={}}=o,B=S(Q?.desktop,"32px"),_=S(Q?.tablet,B),H=S(Q?.mobile,_),Z=v(U?.desktop,3),R=v(U?.tablet,2),W=v(U?.mobile,1),F=t=>`${x}{\n\t\tcontent: '';\n\t\tposition: absolute;\n\t\ttop: calc(${E} + ${z} + 8px);\n\t\tleft: calc(${Y} + ${z} / 2);\n\t\twidth: 0;\n\t\theight: calc(100% + ${t} - ${z} - 8px);\n\t\tborder-left: ${O} ${A} ${T};\n\t\ttransform: translateX(calc(${O} / -2));\n\t\tpointer-events: none;\n\t\tz-index: 0;\n\t}`,X=t=>`${k}{\n\t\tcontent: '';\n\t\tposition: absolute;\n\t\ttop: calc(${E} + (${z} / 2));\n\t\tright: calc(100% - ${t} / 2 - 1px);\n\t\twidth: ${t};\n\t\theight: 0;\n\t\tborder-top: ${O} ${A} ${T};\n\t\tpointer-events: none;\n\t\tz-index: 0;\n\t}`;return(0,f.jsx)("style",{dangerouslySetInnerHTML:{__html:`\n\n\t\t\t${u("",a.typo).googleFontLink}\n\t\t\t${u(L,a.typo).styles}\n\n\t\t\t${u("",c.typo).googleFontLink}\n\t\t\t${u(h,c.typo).styles}\n\n\t\t\t${u("",c.descTypo).googleFontLink}\n\t\t\t${u(w,c.descTypo).styles}\n\n\t\t\t${m}{\n\t\t\t\tgap: ${B};\n\t\t\t}\n\t\t\t${j}{\n\t\t\t\tgrid-template-columns: repeat(${Z}, minmax(0, 1fr));\n\t\t\t}\n\t\t\t${N}{\n\t\t\t\t${l("padding",$(b.padding))}\n\t\t\t\t${d(b.bg)}\n\t\t\t\t${l("border-radius",$(b?.borderRadius))}\n\t\t\t\t${M(b.border)}\n\t\t\t\t${l("box-shadow",p(b?.shadow))}\n\t\t\t}\n\t\t\t${L}{\n\t\t\t\twidth: ${z};\n\t\t\t\theight: ${z};\n\t\t\t\t${d(a.bg)}\n\t\t\t\t${l("color",a.color)}\n\t\t\t\t${l("border-radius",$(a?.borderRadius))}\n\t\t\t\t${M(a.border)}\n\t\t\t\t${l("box-shadow",p(a?.shadow))}\n\t\t\t}\n\t\t\t${L} .bBlocksProcessStepsIcon>svg{\n\t\t\t\twidth: ${I};\n\t\t\t\theight: ${I};\n\t\t\t\tfill: ${a.color};\n\t\t\t}\n\t\t\t${h}{\n\t\t\t\t${l("color",c.titleColor)}\n\t\t\t}\n\t\t\t${w}{\n\t\t\t\t${l("color",c.descColor)}\n\t\t\t}\n\t\t\t${C?F(B):""}\n\t\t\t${C?X(B):""}\n\n\t\t\t${s}{\n\t\t\t\t${m}{\n\t\t\t\t\tgap: ${_};\n\t\t\t\t}\n\t\t\t\t${j}{\n\t\t\t\t\tgrid-template-columns: repeat(${R}, minmax(0, 1fr));\n\t\t\t\t}\n\t\t\t\t${C?F(_):""}\n\t\t\t\t${C?X(_):""}\n\t\t\t}\n\n\t\t\t${r}{\n\t\t\t\t${m}{\n\t\t\t\t\tgap: ${H};\n\t\t\t\t}\n\t\t\t\t${j}{\n\t\t\t\t\tgrid-template-columns: repeat(${W}, minmax(0, 1fr));\n\t\t\t\t}\n\t\t\t\t${C?F(H):""}\n\t\t\t\t${C?`${k}{ display: none; }`:""}\n\t\t\t}\n\n\t\t\t${D(e,g,n,!1)}\n\t\t\t`}})},A=t=>(t||"").toString().replace(/<[^>]*>/g,"").trim(),P=({attributes:t})=>{const{steps:e=[],badge:n={},content:s={}}=t,r=k.includes(s.titleTag)?s.titleTag:"h3",i="icon"===n.type?"icon":"number",c=r,l=(Array.isArray(e)?e:[]).filter((t=>{const e=(t?.title||"").toString().trim(),n=A(t?.description);return""!==e||""!==n}));return(0,f.jsx)("div",{className:T(t),children:0===l.length?(0,f.jsx)("p",{className:"bBlocksProcessStepsEmpty",children:(0,x.__)("No steps to display.","b-blocks")}):(0,f.jsx)("ol",{className:"bBlocksProcessStepsList","aria-label":(0,x.__)("Process steps","b-blocks"),children:l.map(((t,e)=>(0,f.jsx)(a.Fragment,{children:(0,f.jsxs)("li",{className:"bBlocksProcessStepsItem",children:[(0,f.jsx)("div",{className:"bBlocksProcessStepsBadge","aria-hidden":"true",children:"icon"===i&&t?.icon?(0,f.jsx)("span",{className:"bBlocksProcessStepsIcon",dangerouslySetInnerHTML:{__html:t.icon}}):(0,f.jsx)("span",{className:"bBlocksProcessStepsNumber",children:e+1})}),(0,f.jsxs)("div",{className:"bBlocksProcessStepsBody",children:[""!==(t?.title||"").toString().trim()&&(0,f.jsx)(c,{className:"bBlocksProcessStepsTitle",dangerouslySetInnerHTML:{__html:o(t.title)}}),""!==A(t?.description)&&(0,f.jsx)("div",{className:"bBlocksProcessStepsDescription",dangerouslySetInnerHTML:{__html:o(t.description)}})]})]})},e)))})})};document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".wp-block-b-blocks-process-steps").forEach((e=>{const n=JSON.parse(e.dataset.attributes);(0,t.createRoot)(e).render((0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(O,{attributes:n,id:e.id}),(0,f.jsx)(P,{attributes:n})]})),e?.removeAttribute("data-attributes")}))}))})();
1 +(()=>{"use strict";const t=window.ReactDOM,e=t=>!(null==t||""===t||Array.isArray(t)&&0===t.length||"object"==typeof t&&0===Object.keys(t).length||"string"==typeof t&&""===t.trim()||"number"==typeof t&&0===t),n=t=>{try{const e=new URL(t);return["http:","https:"].includes(e.protocol)?e.toString():null}catch(e){return"string"==typeof t&&t.startsWith("/")&&!t.startsWith("//")?t:null}},o=t=>{const e=(new DOMParser).parseFromString(t,"text/html"),o=["b","strong","i","em","span","a","br"],s=["style","href","target","rel","class"];return e.body.querySelectorAll("*").forEach((t=>{o.includes(t.tagName.toLowerCase())?[...t.attributes].forEach((e=>{if(s.includes(e.name)||t.removeAttribute(e.name),"href"===e.name){const o=n(e.value);o?t.setAttribute("href",o):t.removeAttribute("href")}})):t.remove()})),e.body.innerHTML};new class{constructor(t={}){this.defaultOptions={allowedTags:["svg","g","path","rect","circle","ellipse","line","polyline","polygon","text","tspan","defs","clipPath","mask","linearGradient","radialGradient","stop","style","title","desc"],allowedAttributes:["id","class","style","transform","xmlns","xmlns:xlink","version","baseProfile","xml:space","d","x","y","width","height","cx","cy","r","rx","ry","points","x1","y1","x2","y2","viewBox","preserveAspectRatio","overflow","fill","fill-opacity","fill-rule","stroke","stroke-width","stroke-linecap","stroke-linejoin","stroke-opacity","stroke-dasharray","stroke-dashoffset","stroke-miterlimit","opacity","color","paint-order","vector-effect","shape-rendering","display","visibility","clip-path","clip-rule","clipPathUnits","mask","maskUnits","maskContentUnits","offset","stop-color","stop-opacity","gradientUnits","gradientTransform","spreadMethod","fx","fy","fr","dx","dy","text-anchor","dominant-baseline","alignment-baseline","font-family","font-size","font-style","font-weight","letter-spacing","word-spacing","textLength","lengthAdjust","role","focusable","aria-hidden","aria-label","aria-labelledby","aria-describedby"],allowedProtocols:["http","https","data"],removeScripts:!0,removeEvents:!0,removeExternalResources:!0,sanitizeStyle:!0},this.options={...this.defaultOptions,...t},this.allowedTagSet=new Set(this.options.allowedTags.map((t=>t.toLowerCase()))),this.allowedAttributeSet=new Set(this.options.allowedAttributes.map((t=>t.toLowerCase())))}sanitize(t){if("string"!=typeof t||""===t.trim())return"";const e=(new DOMParser).parseFromString(t,"image/svg+xml"),n=e.documentElement;return!n||"svg"!==n.localName.toLowerCase()||e.getElementsByTagName("parsererror").length?"":(this.removeScripts(e),this.sanitizeElements(e),(new XMLSerializer).serializeToString(e.documentElement))}async sanitizeFile(t){const e=await fetch(t),n=await e.text();return this.sanitize(`${n}`)}removeScripts(t){this.options.removeScripts&&Array.from(t.querySelectorAll("*")).forEach((t=>{t.localName.toLowerCase().includes("script")&&t.remove()}))}sanitizeElements(t){Array.from(t.querySelectorAll("*")).forEach((t=>{const e=t.localName.toLowerCase();this.allowedTagSet.has(e)?("style"===e&&this.options.sanitizeStyle&&(t.textContent=this.sanitizeCss(t.textContent)),this.sanitizeAttributes(t)):t.remove()}))}sanitizeAttributes(t){Array.from(t.attributes).forEach((e=>{const n=e.name,o=n.toLowerCase(),s=e.value;if(this.options.removeEvents&&o.startsWith("on"))return void t.removeAttribute(n);if(this.options.removeExternalResources&&("href"===o||o.endsWith(":href"))&&!this.isAllowedUrl(s))return void t.removeAttribute(n);const i=o.replace("xlink:","");this.allowedAttributeSet.has(o)||this.allowedAttributeSet.has(i)?this.options.removeExternalResources&&this.hasExternalUrl(s)?t.removeAttribute(n):"style"===o&&this.options.sanitizeStyle&&t.setAttribute(n,this.sanitizeCss(s)):t.removeAttribute(n)}))}hasExternalUrl(t){return!("string"!=typeof t||!/url\s*\(/i.test(t))&&Array.from(t.matchAll(/url\s*\(\s*['"]?([^'")]*)/gi)).some((([,t])=>!t.trim().startsWith("#")))}isAllowedUrl(t){const e=String(t||"").trim();if(e.startsWith("#"))return!0;if(/^data:/i.test(e))return this.options.allowedProtocols.includes("data")&&/^data:image\/(png|jpe?g|gif|webp);base64,/i.test(e);try{return this.options.allowedProtocols.includes(new URL(e).protocol.replace(":",""))}catch{return!1}}sanitizeCss(t){return String(t||"").replace(/expression\s*\(/gi,"").replace(/javascript:/gi,"").replace(/behavior\s*:/gi,"").replace(/binding\s*:/gi,"").replace(/@import[^;]*;?/gi,"").replace(/url\s*\(\s*(['"]?)(?!#)[^)]*\)/gi,"none")}};const s="@media only screen and (min-width: 1025px)",i="@media only screen and (max-width: 1024px)",r="@media only screen and (max-width: 640px)",a="linear-gradient(135deg, #0040E3, #18D4FD)",l=window.React,c=t=>{const e=n(t);return e?`url('${e.replace(/['"()]/g,"")}')`:"none"},d=(t,n)=>e(n)?`${t}: ${n};`:"",p=(t,e=!0,n=!0,o=!0)=>{const{type:s="solid",color:i="",gradient:r=a,image:l={},position:p="center center",attachment:u="",repeat:$="no-repeat",size:m="",overlayColor:b=""}=t||{};return"gradient"===s&&n?d("background",r):"image"===s&&o?`background: ${c(l?.url)};\n\t\t\t\t${d("background-color",b)}\n\t\t\t\t${d("background-position",p)}\n\t\t\t\t${d("background-size",m)}\n\t\t\t\t${d("background-repeat",$)}\n\t\t\t\t${d("background-attachment",u)}\n\t\t\t\t${d("background-repeat",$)}\n\t\t\t\tbackground-blend-mode: overlay;`:e&&d("background",i)},u=t=>{if(!t)return"";const e=t=>{const{color:e="#000000",style:n="solid",width:o="0px"}=t;return`${o} ${n} ${e}`};return"object"!=typeof t||Array.isArray(t)?"":t.hasOwnProperty("top")||t.hasOwnProperty("right")||t.hasOwnProperty("bottom")||t.hasOwnProperty("left")?["top","right","bottom","left"].map((n=>t[n]?`border-${n}: ${e(t[n])};`:"")).join(" ").trim():d("border",e(t))},$=(t,e="box")=>{let n="";return t?.map(((o,s)=>{const{hOffset:i="0px",vOffset:r="0px",blur:a="0px",spreed:l="0px",color:c="#e7f0fe",isInset:d=!1}=o||{},p=d?"inset":"",u=`${i} ${r} ${a}`,$=s+1>=t.length?"":", ";n+="text"===e?`${u} ${c}${$}`:`${u} ${l} ${c} ${p}${$}`})),n||""},m=(t,e,n=!0)=>{const{fontFamily:o="Default",fontCategory:s="sans-serif",fontVariant:a=400,fontWeight:l,isUploadFont:c=!0,fontSize:p={desktop:null,tablet:null,mobile:null},fontStyle:u,textTransform:$,textDecoration:m,lineHeight:b,letterSpace:y}=e||{},M=!n||!o||"Default"===o,g=p?.desktop||p,h=p?.tablet||g,x=p?.mobile||h,w=t=>{const e=String(t);return["px","em","rem","%","vh","vw"].some((t=>e.endsWith(t)))?e:"number"==typeof t?`${e}px`:""},f=`\n\t\t${M?"":`font-family: '${o}', ${s};`}\n\t\t${d("font-weight",l)}\n\t\t${d("font-size",w(g))}\n\t\t${d("font-style",u)}\n\t\t${d("text-transform",$)}\n\t\t${d("text-decoration",m)}\n\t\t${d("line-height",b)}\n\t\t${d("letter-spacing",y)}\n\t`,j=a&&400!==a?"400i"===a?":ital@1":a?.includes("00i")?`: ital, wght@1, ${a?.replace("00i","00")} `:`: wght@${a} `:"",N=M?"":`https://fonts.googleapis.com/css2?family=${o?.split(" ").join("+")}${j.replace(/ /g,"")}&display=swap`;return{googleFontLink:!c||M?"":`@import url(${N});`,styles:`${t}{\n\t\t\t${f}\n\t\t}\n\t\t${i} {\n\t\t\t${t}{\n\t\t\t\t${d("font-size",w(h))}\n\t\t\t}\n\t\t}\n\t\t${r} {\n\t\t\t${t}{\n\t\t\t\t${d("font-size",w(x))}\n\t\t\t}\n\t\t}`.replace(/\s+/g," ").trim()}},b=t=>{if(!t)return"";if("string"==typeof t)return t;if("object"==typeof t&&!Array.isArray(t)){const e=["top","right","bottom","left"];return e.map((e=>t[e]||"")).every((t=>!t))?"":e.map((e=>t[e]||"0")).join(" ")}return""},y=t=>{const{position:n="center center",xPosition:o=0,yPosition:s=0,attachment:i="",repeat:r="no-repeat",size:a="cover",customSize:l="0px"}=t||{},c=t=>"initial"!==t||e(t);return`\n\t\t${c(n)?`background-position: ${"custom"===n?`${o} ${s}`:n};`:""}\n\t\t${i&&c(i)?`background-attachment: ${i};`:""}\n\t\t${c(r)?`background-repeat: ${r};`:""}\n\t\t${c(a)?`background-size: ${"custom"===a?`${l} auto`:a};`:""}\n\t`},M=(t={})=>t?{desktop:e(t.url)?`background-image: ${c(t.url)}; ${y(t?.desktop)}`:"",tablet:e(t.url)?y(t?.tablet):"",mobile:e(t.url)?y(t?.mobile):""}:"",g=(t,o,s=!1)=>{
2 +const{type:a="color",color:l,gradient:c,img:p,video:u}=t||{},$="color"===a?d("background",l):"gradient"===a?(t=>{const{type:n="linear",radialType:o="ellipse",colors:s=[],centerPositions:i={x:0,y:0},angel:r=0}=t||{};if(e(t)){const t=s?.map((({color:t,position:e})=>`${t} ${e}%`)),e=`linear-gradient(${r}deg, ${t})`;return d("background","radial"===n?`radial-gradient(${o} at ${i?.x}% ${i?.y}%,${t})`:e)}return""})(c):"image"===a?M(p).desktop:"",m="image"===a?M(p).tablet:"",b="image"===a?M(p).mobile:"",y=s?`${o}:hover`:o;return`\n\t\t${"video"===a?((t,e)=>{const{url:o,loop:s}=t||{},i=document.querySelector(e),r=i?.querySelector(".bPlVideo"),a=document.createElement("video");if(a.muted=!0,a.autoplay=!0,a.classList.add("bPlVideo"),!r&&i&&o){const t=n(o);if(t){const e=document.createElement("source");e.src=t,a.appendChild(e),i.appendChild(a)}}return a.loop=s,a.play(),`${e} .bPlVideo{\n\t\tleft: 0;\n\t\tmin-height: 100%;\n\t\tmin-width: 100%;\n\t\tposition: absolute;\n\t\twidth: -webkit-fill-available;\n\t\ttop: 0;\n\t\tz-index: 0;\n\t}`})(u,o):""}\n\n\t\t${$?`${y}{\n\t\t\t${$}\n\t\t}`:""}\n\n\t\t${m?`${i} {\n\t\t\t${y}{\n\t\t\t\t${m}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${b?`${r} {\n\t\t\t${y}{\n\t\t\t\t${b}\n\t\t\t}\n\t\t}`:""}\n\t`.replace(/\s+/g," ").trim()},h=(t,n,o=!1)=>{const{isEnabled:s,colors:i,opacity:r=1,blend:a,filter:l="",blur:c=0,brightness:p=100,contrast:u=100,saturation:$=100,hue:m=0,position:b={top:0,right:0,bottom:0,left:0},zIndex:y=-1}=t||{},M=`${100!==p?`brightness(${p}%)`:""} ${100!==u?`contrast(${u}%)`:""} ${100!==$?`saturate(${$}%)`:""} ${0!==c?`blur(${c}px)`:""} ${0!==m?`hue-rotate(${m}deg)`:""}`,h=`${l}: ${l?M:""}; -webkit-${l}: ${l?M:""};`,x=o?`${n}:hover::after`:`${n}::after`;return s?`\n\t\t${n}{\n\t\t\tposition:relative;\n\t\t\tz-index:1;\n\t\t}\n\t\t${n}::after{\n\t\t\tcontent: '';\n\t\t\tposition: absolute;\n\t\t\ttop:${e(b.top)?b.top:0};\n\t\t\tright:${e(b.right)?b.right:0};\n\t\t\tbottom:${e(b.bottom)?b.bottom:0};\n\t\t\tleft:${e(b.left)?b.left:0};\n\t\t\tz-index:${y};\n\t\t}\n\t\t${g(i,x,!1)}\n\t\t${x}{\n\t\t\t${d("opacity",r)}\n\t\t\t${d("mix-blend-mode",a)}\n\t\t\t${h}\n\t\t}\n\t`.replace(/\s+/g," ").trim():""},x=(t,n,o=!1)=>{const s=(t,n="desktop")=>{if(!e(t))return"";const{skew:o,scale:s,rotate:i,offset:r,flipX:a,flipY:l}=t,{threeDRotate:c}=i||{},{isProportion:p}=s||{},u=[];return e(o)&&(e(o?.[n]?.x)&&u.push(`skewX(${o[n].x}deg)`),e(o?.[n]?.y)&&u.push(`skewY(${o[n].y}deg)`)),p?e(s?.[n]?.scale)&&u.push(`scale(${s[n].scale})`):(e(s?.[n]?.x)&&u.push(`scaleX(${s[n].x})`),e(s?.[n]?.y)&&u.push(`scaleY(${s[n].y})`)),e(i)&&(e(i?.[n]?.z)&&u.push(`rotateZ(${i[n].z}deg)`),c&&(e(i?.[n]?.x)&&u.push(`rotateX(${i[n].x}deg)`),e(i?.[n]?.y)&&u.push(`rotateY(${i[n].y}deg)`))),e(r)&&(e(r?.[n]?.x)&&u.push(`translateX(${r[n].x})`),e(r?.[n]?.y)&&u.push(`translateY(${r[n].y})`)),e(a)&&u.push(a?"scaleX(-1)":""),e(l)&&u.push(l?"scaleY(-1)":""),0===u.length?"":d("transform",u.join(" "))},a=o?`${n}:hover`:n;return`\n\t\t${a} {\n\t\t\t${s(t,"desktop")}\n\t\t}\n\t\t${i}{\n\t\t\t${a} {\n\t\t\t\t${s(t,"tablet")}\n\t\t\t}\n\t\t}\n\t\t${r}{\n\t\t\t${a} {\n\t\t\t\t${s(t,"mobile")}\n\t\t\t}\n\t\t}\n\t`},w=t=>{const{padding:e,margin:n,height:o,width:s}=t||{},i=(t,e)=>d(t,e),r=(t,e,n)=>i(t,e?.[t]?.[n])+i(`min-${t}`,e?.min?.[n])+i(`max-${t}`,e?.max?.[n]),a=t=>d("padding",b(t)),l=t=>d("margin",b(t));return{desktop:a(e?.desktop)+l(n?.desktop)+r("height",o,"desktop")+r("width",s,"desktop"),tablet:a(e?.tablet)+l(n?.tablet)+r("height",o,"tablet")+r("width",s,"tablet"),mobile:a(e?.mobile)+l(n?.mobile)+r("height",o,"mobile")+r("width",s,"mobile")}},f=t=>{const{normal:e,hover:n}=t||{},o=t=>{const{border:e,radius:n,shadow:o}=t||{},s=d("border-radius",b(n)),i=d("box-shadow",$(o,"box"));return u(e)+s+i};return{normal:o(e),hover:o(n)}},j=t=>{const{zIndex:n,overflow:o}=t||{},s=o?`overflow: ${o};`:"",i=t=>`${d("z-index",n?.[t])} ${d("position",e(n?.[t])?"relative":"")}`;return{desktop:i("desktop")+s,tablet:i("tablet"),mobile:i("mobile")}},N=(t,e)=>{const{desktop:n=!1,tablet:o=!1,mobile:s=!1}=t||{},i=e?"opacity: 0.5;":"display: none;",r=t=>t?i:"";return{desktop:r(n),tablet:r(o),mobile:r(s)}},L=(t,n,o=!1,a=!0)=>{const{dimension:l,transform:p,background:u,borderShadow:$,mask:m,animation:b,visibility:y,responsive:M,position:L={},floating:k={},motion:D={},css:v=""}=n||{},z=o?`#${t}>div>div${a?":first-child":""}`:`#${t}>div`;((t,e,n)=>{const o=n?`#${e} > div`:`#${e}`,s=document.querySelector(o);s&&t&&t.type&&(s.setAttribute("data-aos",t.type),s.setAttribute("data-aos-duration",1e3*t.duration||.4),s.setAttribute("data-aos-delay",1e3*t.delay||0),s.classList.contains("aos-init")||(s.classList.add("aos-init"),window?.AOS?.init()),n)&&new IntersectionObserver((t=>{t.forEach((t=>{t.intersectionRatio>.5?s.classList.add("aos-animate"):s.classList.remove("aos-animate")}))}),{threshold:[.5]}).observe(s)})(b,t,o);const S=w(l).desktop+j(y).desktop+((t,e,n)=>{const{transition:o=.4}=t||{},{transition:s=.4}=e||{},{transition:i=200}=n||{};return`transition: background ${o}s, border ${s}s, border-radius ${s}s, box-shadow ${s}s, transform ${i}ms ease-in-out;`})(u,$,p)+(t=>{const{isMask:e=!1,shape:n={type:"circle"},size:o={type:"contain",scale:"100%"},position:s={type:"center center",x:50,y:50},repeat:i="no-repeat"}=t||{};return e?`-webkit-mask-image: ${"custom"===n.type?c(n.url):`url(${(r=n.type,[{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48Y2lyY2xlIGN4PSI0NC41IiBjeT0iNDQuNSIgcj0iNDQuNSIvPjwvc3ZnPg==",type:"circle"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48cGF0aCBkPSJNNzYuMTMzMiw0NC40NzUybDYuMzI4OS02LjMyODVBMjIuMzQ4NiwyMi4zNDg2LDAsMCwwLDUwLjg1LDYuNTQ3NEw0NC41MzIsMTIuODY1MSwzOC4xNiw2LjU0NzRhMjIuMzUyNCwyMi4zNTI0LDAsMSwwLTMxLjYxMiwzMS42MWw2LjMxODEsNi4zMTc3TDYuNTQ3OCw1MC44NDdhMjIuMzUyNCwyMi4zNTI0LDAsMCwwLDMxLjYxMiwzMS42MWw2LjMxODEtNi4zMTc3TDUwLjg1LDgyLjM5MjJhMjIuMzQ4NiwyMi4zNDg2LDAsMCwwLDMxLjYxMi0zMS41OTkzWiIvPjwvc3ZnPg==",type:"flower"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5MS4xMTQzIiBoZWlnaHQ9Ijg4Ljk5OTkiIHZpZXdCb3g9IjAgMCA5MS4xMTQzIDg4Ljk5OTkiPjxwYXRoIGQ9Ik04Mi4xNzQ5LDM3LjUyNjZsMS42MTE5LTEuNjExOWMuO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image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCAxMDMgODkiPjxwYXRoIGQ9Ik03Ny4yMTE0LDBIMjUuNzUyM0wwLDQ0LjUwNDUsMjUuNzUyMyw4OUg3Ny4yMTE0TDEwMyw0NC41MDQ1Wk02MS43NjkxLDYyLjI2MUg0MS4yMjE4TDMwLjkzOTEsNDQuNTA0NSw0MS4yMjE4LDI2LjczOUg2MS43NjkxTDcyLjA1MTksNDQuNTA0NVoiLz48L3N2Zz4=",type:"hexagon"}].find((t=>t.type===r))).svg})`};\n\t\t-webkit-mask-size: ${"custom"===o.type?o.scale:o.type};\n\t\t${"custom"===s.type?`${d("-webkit-mask-position-x",s.x)}\n\t\t\t${d("-webkit-mask-position-y",s.y)}`:`${d("-webkit-mask-position",s.type)}`}\n\t\t${"cover"!==o.type?`-webkit-mask-repeat: ${i};`:""}`:"";var r})(m),T=w(l).tablet+j(y).tablet+N(M,o).tablet,I=w(l).mobile+j(y).mobile+N(M,o).mobile,A=f($).normal,E=f($).hover,O=N(M,o).desktop;return`\n\t\t${S||A?`${z} {\n\t\t\t${S}\n\t\t\t${A}\n\t\t}`:""}\n\t\t${E?`${z}:hover {\n\t\t\t${E}\n\t\t}`:""}\n\n\t\t${O?`${s} {\n\t\t\t${z}{\n\t\t\t\t${O}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${T?`${i} {\n\t\t\t${z}{\n\t\t\t\t${T}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${I?`${r} {\n\t\t\t${z}{\n\t\t\t\t${I}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${g(u?.normal,z)}\n\t\t${g(u?.hover,z,!0)}\n\t\t${h(u?.overlay,z)}\n\t\t${h(u?.hoverOverlay,z,!0)}\n\t\t${e(p?.normal)?x(p?.normal,z):""}\n\t\t${e(p?.hover)?x(p?.hover,z,!0):""}\n\t\t${((t,e)=>{const{desktop:n={},tablet:o={},mobile:s={}}=t,a=(t={})=>`\n\t\t${e}{\n\t\t\t${d("position",t?.type)}\n\t\t\t${d("left",t?.horizontal?.left)}\n\t\t\t${d("right",t?.horizontal?.right)}\n\t\t\t${d("top",t?.vertical?.top)}\n\t\t\t${d("bottom",t?.vertical?.bottom)}\n\t\t}\n\t`;return`\n\t\t\n\t\t${n?.type?a(n):""}\n\t\t\n\t\t${i}{\n\t\t\t${o?.type?a(o):""}\n\t\t}\n\n\t\t${r}{\n\t\t\t${s?.type?a(s):""}\n\t\t}\n\t`})(L,z)}\n\t\t${((t,n,o="")=>{const{translate:s={},rotate:i={},scale:r={},isEnabled:a=!1}=t||{};if(!a)return"";const l=[],c=[];return[{name:"Translate",property:"translate",values:s,value:t=>["x","y"].some((n=>e(s?.[n]?.[t])))?`${s?.x?.[t]||0}px ${s?.y?.[t]||0}px`:""},{name:"Rotate",property:"transform",values:i,value:t=>["x","y","z"].filter((n=>e(i?.[n]?.[t]))).map((e=>`rotate${e.toUpperCase()}(${i[e][t]}deg)`)).join(" ")},{name:"Scale",property:"scale",values:r,value:t=>{const n=r?.y?.[t],o=r?.z?.[t];return e(n)||e(o)?e(o)?`1 ${e(n)?n:1} ${o}`:`1 ${n}`:""}}].forEach((({name:t,property:e,values:n,value:s})=>{const i=s("from"),r=s("to");if(!i||!r)return;const a=Number(n?.duration)>0?Number(n.duration):1e3,d=Number(n?.delay)>0?Number(n.delay):0,p=`advFloat${t}${o?`-${o}`:""}`;l.push(`@keyframes ${p}{ from{ ${e}: ${i}; } to{ ${e}: ${r}; } }`),c.push(`${p} ${a}ms ease-in-out ${d}ms infinite alternate`)})),c.length?`\n\t\t${l.join(" ")}\n\t\t${n}{\n\t\t\tanimation: ${c.join(", ")};\n\t\t}\n\t`:""})(k,z,t)}\n\t\t${((t,n,o)=>{const{isEnable:a=!1,vertical:l={},horizontal:c={},transparency:d={},blur:p={},rotate:u={},scale:$={},effectsRelativeTo:m="viewport",effectOn:b=["desktop","tablet-portrait","mobile-portrait"],isMouseEffect:y=!1,mouseTrack:M={},tilt:g={},sticky:h={}}=t||{},x=(t,n)=>e(t)&&!isNaN(t)?Number(t):n,w="viewport"===m,f=w?"view()":"scroll(nearest block)",j=[],N=[],L=[],k=[],D=String(o??"").replace(/[^a-zA-Z0-9]/g,""),v=(t,e,n)=>{j.push(`@keyframes advMe${t}${D}{ ${e} }`),N.push(`advMe${t}${D}`),L.push(f),k.push((t=>{const e=x(t?.top,0),n=x(t?.bottom,100),o=Math.min(e,n),s=Math.max(e,n);return w?`cover ${o}% ${s>=90?"contain 100%":`cover ${s}%`}`:`min(${3*o}vh, ${o}%) min(${3*s}vh, ${s}%)`})(n))};if(a){const t=l?.direction,e=c?.direction,n=t?100*x(l?.speed,4):0,o=e?100*x(c?.speed,4):0;if(n||o){const s="up"===t?-n:n,i="to-left"===e?-o:o,r=[n&&l,o&&c].filter(Boolean);v("Translate",`from{ translate: 0px 0px; } to{ translate: ${i}px ${s}px; }`,{top:Math.min(...r.map((t=>x(t?.top,0)))),bottom:Math.max(...r.map((t=>x(t?.bottom,100))))})}const s=d?.direction;if(s){const t=Math.max(0,1-x(d?.level,5)/10),e={"fade-in":`from{ opacity: ${t}; } to{ opacity: 1; }`,"fade-out":`from{ opacity: 1; } to{ opacity: ${t}; }`,"fade-out-in":`0%{ opacity: 1; } 50%{ opacity: ${t}; } 100%{ opacity: 1; }`,"fade-in-out":`0%{ opacity: ${t}; } 50%{ opacity: 1; } 100%{ opacity: ${t}; }`}[s];e&&v("Opacity",e,d)}const i=p?.direction;if(i){const t=3*x(p?.level,4),e={"fade-in":`from{ filter: blur(${t}px); } to{ filter: blur(0px); }`,"fade-out":`from{ filter: blur(0px); } to{ filter: blur(${t}px); }`,"fade-out-in":`0%{ filter: blur(0px); } 50%{ filter: blur(${t}px); } 100%{ filter: blur(0px); }`,"fade-in-out":`0%{ filter: blur(${t}px); } 50%{ filter: blur(0px); } 100%{ filter: blur(${t}px); }`}[i];e&&v("Blur",e,p)}const r=u?.direction;if(r){const t=20*x(u?.level,4);v("Rotate",`from{ rotate: 0deg; } to{ rotate: ${"to-left"===r?-t:t}deg; }`,u)}if($?.direction){const t=.15*x($?.level,4),e=Math.max(0,1-t),n=1+t,o={"scale-up":`from{ scale: 1; } to{ scale: ${n}; }`,"scale-down":`from{ scale: 1; } to{ scale: ${e}; }`,"scale-down-up":`0%{ scale: 1; } 50%{ scale: ${e}; } 100%{ scale: 1; }`,"scale-up-down":`0%{ scale: 1; } 50%{ scale: ${n}; } 100%{ scale: 1; }`}[$.direction];o&&v("Scale",o,$)}}const z=[];if(y){if(M?.direction){const t="direct"===M?.direction?100:-100;z.push(((e,n)=>`translate(${(e*t).toFixed(2)}px, ${(n*t).toFixed(2)}px)`))}if(g?.direction){const t=12*("direct"===g?.direction?1:-1);z.push(((e,n)=>`perspective(1000px) rotateX(${(n*-t).toFixed(2)}deg) rotateY(${(e*t).toFixed(2)}deg)`))}}const S=(t,e,o)=>{if(!t||!t.defaultView)return;const s=t.defaultView,i=t.bPlMouse||(t.bPlMouse={x:0,y:0,items:new Map,frame:0,last:0}),r=i.items.get(n)||{x:0,y:0};if(r.rate=e,r.build=o,i.items.set(n,r),i.bound)return;i.bound=!0;const a=e=>{const n=i.last?Math.min(e-i.last,100):16.7;i.last=e;let o=!1;i.items.forEach(((e,s)=>{const r=e.el&&e.el.isConnected?e.el:t.querySelector(s);if(!r)return;e.el=r;const a=e.rate*n/1e3,l=i.x-e.x,c=i.y-e.y,d=Math.sqrt(l*l+c*c);d<=a?(e.x=i.x,e.y=i.y):(e.x+=l/d*a,e.y+=c/d*a,o=!0),r.style.transform=e.build(e.x,e.y)})),i.frame=o?s.requestAnimationFrame(a):0,i.last=o?e:0};t.addEventListener("pointermove",(t=>{i.x=2*(t.clientX/s.innerWidth-.5),i.y=2*(t.clientY/s.innerHeight-.5),i.frame||(i.frame=s.requestAnimationFrame(a))}))};if(z.length&&"undefined"!=typeof document){const t=Math.max(.25,1.5*x(M?.speed,x(g?.speed,4))),e=(t,e)=>z.map((n=>n(t,e))).join(" ");S(document,t,e),S(document.querySelector('iframe[name="editor-canvas"]')?.contentDocument,t,e)}const T=t=>h?.[t]||("desktop"===t?h?.undefined:""),I=n.split(">")[0],A=t=>{const e=T(t);return e?`position: sticky; ${e}: 0; z-index: 9;`:(t=>"tablet"===t?T("desktop"):"mobile"===t?T("tablet")||T("desktop"):"")(t)?"position: static;":""},E=Array.isArray(b)?b:e(b)?[b]:[],O=t=>!E.length||E.includes(t)?"":`${n}{ animation-name: none; }`
4 +;return`\n\t\t${N.length?`\n\t\t${j.join(" ")}\n\t\t@supports (animation-timeline: scroll()){\n\t\t\t${n}{\n\t\t\t\tanimation-name: ${N.join(", ")};\n\t\t\t\tanimation-duration: ${N.map((()=>"auto")).join(", ")};\n\t\t\t\tanimation-timing-function: ${N.map((()=>"linear")).join(", ")};\n\t\t\t\tanimation-fill-mode: ${N.map((()=>"both")).join(", ")};\n\t\t\t\tanimation-direction: ${N.map((()=>w?"normal":"reverse")).join(", ")};\n\t\t\t\tanimation-timeline: ${L.join(", ")};\n\t\t\t\tanimation-range: ${k.join(", ")};\n\t\t\t}\n\t\t\t${O("desktop")?`${s}{ ${O("desktop")} }`:""}\n\t\t\t${O("tablet-portrait")?`@media only screen and (min-width: 641px) and (max-width: 1024px){ ${O("tablet-portrait")} }`:""}\n\t\t\t${O("mobile-portrait")?`${r}{ ${O("mobile-portrait")} }`:""}\n\t\t}\n\t`:""}\n\t\t${z.length?`${n}{ transition-property: background, border, border-radius, box-shadow; }`:""}\n\t\t${A("desktop")?`${I}{ ${A("desktop")} }`:""}\n\t\t${A("tablet")?`${i}{ ${I}{ ${A("tablet")} } }`:""}\n\t\t${A("mobile")?`${r}{ ${I}{ ${A("mobile")} } }`:""}\n\t`})(D,z,t)}\n\t\t${v}\n\t`.replace(/\s+/g," ")},k=window.wp.i18n,D=((0,k.__)("General","b-blocks"),(0,k.__)("Style","b-blocks"),(0,k.__)("Advanced","b-blocks"),["h2","h3","h4","p"]),v=((0,k.__)("Paragraph","b-blocks"),(0,k.__)("Classic — clean cards, blue accent","b-blocks"),(0,k.__)("Modern — gradient badges, soft shadow","b-blocks"),(0,k.__)("Minimal — borderless, dotted connectors","b-blocks"),(0,k.__)("Bold — high-contrast dark badges","b-blocks"),t=>({top:t,right:t,bottom:t,left:t})),z=(v("50%"),v("8px"),v("50%"),v("16px"),v("50%"),v("8px"),v("0px"),v("0px"),(0,k.__)("Left","b-blocks"),(0,k.__)("Center","b-blocks"),(0,k.__)("Right","b-blocks"),(0,k.__)("Number","b-blocks"),(0,k.__)("Icon","b-blocks"),(0,k.__)("Solid","b-blocks"),(0,k.__)("Dashed","b-blocks"),(0,k.__)("Dotted","b-blocks"),(t,e)=>(t??"").toString().trim()||e),S=t=>t?t.charAt(0).toUpperCase()+t.slice(1):"",T=t=>{const{layout:e={},badge:n={},connector:o={}}=t,{type:s,alignment:i}=e,r="vertical"===s?"vertical":"horizontal",a=["left","center","right"].includes(i)?i:"center",l="icon"===n.type?"icon":"number",c=o.show;return["bBlocksProcessSteps",`bBlocksProcessStepsLayout${S(r)}`,`bBlocksProcessStepsAlign${S(a)}`,`bBlocksProcessStepsBadge${S(l)}`,c?"has-connector":"no-connector"].join(" ")},I=(t,e)=>parseInt(t,10)||e,A=window.ReactJSXRuntime,E=({attributes:t,id:e,isBackend:n=!1})=>{const{layout:o={},connector:s={},badge:a={},content:l={},card:c={},advanced:y={}}=t,M=`#${e} .bBlocksProcessSteps`,g=`${M} .bBlocksProcessStepsList`,h=`${M}.bBlocksProcessStepsLayoutHorizontal .bBlocksProcessStepsList`,x=`${g} .bBlocksProcessStepsItem`,w=`${x} .bBlocksProcessStepsBadge`,f=`${x} .bBlocksProcessStepsTitle`,j=`${M} .bBlocksProcessStepsDescription`,N=`${M}.bBlocksProcessStepsLayoutVertical.has-connector .bBlocksProcessStepsItem:not(:last-child)::before`,k=`${M}.bBlocksProcessStepsLayoutHorizontal.has-connector .bBlocksProcessStepsItem:not(:first-child)::before`,D=z(a.size,"56px"),v=.42*(t=>{const e=(t??"").toString().trim();if(!e)return 56;const n=e.match(/^(-?\d+(?:\.\d+)?)/);return n?parseFloat(n[1]):56})(D)+"px",S=s.color||"#CBD5E1",T=z(s.width,"2px"),E=(O=s.style,["solid","dashed","dotted"].includes(O)?O:"solid");var O;const C=!!s.show,P=z(c?.padding?.top,"0px"),Y=z(c?.padding?.left,"0px"),{gap:U={},columnCount:Q={}}=o,B=z(U?.desktop,"32px"),_=z(U?.tablet,B),H=z(U?.mobile,_),R=I(Q?.desktop,3),Z=I(Q?.tablet,2),W=I(Q?.mobile,1),F=t=>`${N}{\n\t\tcontent: '';\n\t\tposition: absolute;\n\t\ttop: calc(${P} + ${D} + 8px);\n\t\tleft: calc(${Y} + ${D} / 2);\n\t\twidth: 0;\n\t\theight: calc(100% + ${t} - ${D} - 8px);\n\t\tborder-left: ${T} ${E} ${S};\n\t\ttransform: translateX(calc(${T} / -2));\n\t\tpointer-events: none;\n\t\tz-index: 0;\n\t}`,X=t=>`${k}{\n\t\tcontent: '';\n\t\tposition: absolute;\n\t\ttop: calc(${P} + (${D} / 2));\n\t\tright: calc(100% - ${t} / 2 - 1px);\n\t\twidth: ${t};\n\t\theight: 0;\n\t\tborder-top: ${T} ${E} ${S};\n\t\tpointer-events: none;\n\t\tz-index: 0;\n\t}`;return(0,A.jsx)("style",{dangerouslySetInnerHTML:{__html:`\n\n\t\t\t${m("",a.typo).googleFontLink}\n\t\t\t${m(w,a.typo).styles}\n\n\t\t\t${m("",l.typo).googleFontLink}\n\t\t\t${m(f,l.typo).styles}\n\n\t\t\t${m("",l.descTypo).googleFontLink}\n\t\t\t${m(j,l.descTypo).styles}\n\n\t\t\t${g}{\n\t\t\t\tgap: ${B};\n\t\t\t}\n\t\t\t${h}{\n\t\t\t\tgrid-template-columns: repeat(${R}, minmax(0, 1fr));\n\t\t\t}\n\t\t\t${x}{\n\t\t\t\t${d("padding",b(c.padding))}\n\t\t\t\t${p(c.bg)}\n\t\t\t\t${d("border-radius",b(c?.borderRadius))}\n\t\t\t\t${u(c.border)}\n\t\t\t\t${d("box-shadow",$(c?.shadow))}\n\t\t\t}\n\t\t\t${w}{\n\t\t\t\twidth: ${D};\n\t\t\t\theight: ${D};\n\t\t\t\t${p(a.bg)}\n\t\t\t\t${d("color",a.color)}\n\t\t\t\t${d("border-radius",b(a?.borderRadius))}\n\t\t\t\t${u(a.border)}\n\t\t\t\t${d("box-shadow",$(a?.shadow))}\n\t\t\t}\n\t\t\t${w} .bBlocksProcessStepsIcon>svg{\n\t\t\t\twidth: ${v};\n\t\t\t\theight: ${v};\n\t\t\t\tfill: ${a.color};\n\t\t\t}\n\t\t\t${f}{\n\t\t\t\t${d("color",l.titleColor)}\n\t\t\t}\n\t\t\t${j}{\n\t\t\t\t${d("color",l.descColor)}\n\t\t\t}\n\t\t\t${C?F(B):""}\n\t\t\t${C?X(B):""}\n\n\t\t\t${i}{\n\t\t\t\t${g}{\n\t\t\t\t\tgap: ${_};\n\t\t\t\t}\n\t\t\t\t${h}{\n\t\t\t\t\tgrid-template-columns: repeat(${Z}, minmax(0, 1fr));\n\t\t\t\t}\n\t\t\t\t${C?F(_):""}\n\t\t\t\t${C?X(_):""}\n\t\t\t}\n\n\t\t\t${r}{\n\t\t\t\t${g}{\n\t\t\t\t\tgap: ${H};\n\t\t\t\t}\n\t\t\t\t${h}{\n\t\t\t\t\tgrid-template-columns: repeat(${W}, minmax(0, 1fr));\n\t\t\t\t}\n\t\t\t\t${C?F(H):""}\n\t\t\t\t${C?`${k}{ display: none; }`:""}\n\t\t\t}\n\n\t\t\t${L(e,y,n,!1)}\n\t\t\t`}})},O=t=>(t||"").toString().replace(/<[^>]*>/g,"").trim(),C=({attributes:t})=>{const{steps:e=[],badge:n={},content:s={}}=t,i=D.includes(s.titleTag)?s.titleTag:"h3",r="icon"===n.type?"icon":"number",a=i,c=(Array.isArray(e)?e:[]).filter((t=>{const e=(t?.title||"").toString().trim(),n=O(t?.description);return""!==e||""!==n}));return(0,A.jsx)("div",{className:T(t),children:0===c.length?(0,A.jsx)("p",{className:"bBlocksProcessStepsEmpty",children:(0,k.__)("No steps to display.","b-blocks")}):(0,A.jsx)("ol",{className:"bBlocksProcessStepsList","aria-label":(0,k.__)("Process steps","b-blocks"),children:c.map(((t,e)=>(0,A.jsx)(l.Fragment,{children:(0,A.jsxs)("li",{className:"bBlocksProcessStepsItem",children:[(0,A.jsx)("div",{className:"bBlocksProcessStepsBadge","aria-hidden":"true",children:"icon"===r&&t?.icon?(0,A.jsx)("span",{className:"bBlocksProcessStepsIcon",dangerouslySetInnerHTML:{__html:t.icon}}):(0,A.jsx)("span",{className:"bBlocksProcessStepsNumber",children:e+1})}),(0,A.jsxs)("div",{className:"bBlocksProcessStepsBody",children:[""!==(t?.title||"").toString().trim()&&(0,A.jsx)(a,{className:"bBlocksProcessStepsTitle",dangerouslySetInnerHTML:{__html:o(t.title)}}),""!==O(t?.description)&&(0,A.jsx)("div",{className:"bBlocksProcessStepsDescription",dangerouslySetInnerHTML:{__html:o(t.description)}})]})]})},e)))})})};document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".wp-block-b-blocks-process-steps").forEach((e=>{const n=JSON.parse(e.dataset.attributes);(0,t.createRoot)(e).render((0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(E,{attributes:n,id:e.id}),(0,A.jsx)(C,{attributes:n})]})),e?.removeAttribute("data-attributes")}))}))})();