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/comparison-table/view.js +6 -1 2.1.3 → 2.1.8 View file →
@@ -1 +1,6 @@
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),o=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}},n="@media only screen and (max-width: 1024px)",r="@media only screen and (max-width: 640px)",a="linear-gradient(135deg, #0040E3, #18D4FD)",i=window.React,l=t=>{const e=o(t);return e?`url('${e.replace(/['"()]/g,"")}')`:"none"},s=(t,o)=>e(o)?`${t}: ${o};`:"",c=(t,e=!0,o=!0,n=!0)=>{const{type:r="solid",color:i="",gradient:c=a,image:d={},position:$="center center",attachment:u="",repeat:p="no-repeat",size:b="",overlayColor:g=""}=t||{};return"gradient"===r&&o?s("background",c):"image"===r&&n?`background: ${l(d?.url)};\n\t\t\t\t${s("background-color",g)}\n\t\t\t\t${s("background-position",$)}\n\t\t\t\t${s("background-size",b)}\n\t\t\t\t${s("background-repeat",p)}\n\t\t\t\t${s("background-attachment",u)}\n\t\t\t\t${s("background-repeat",p)}\n\t\t\t\tbackground-blend-mode: overlay;`:e&&s("background",i)},d=t=>{if(!t)return"";const e=t=>{const{color:e="#000000",style:o="solid",width:n="0px"}=t;return`${n} ${o} ${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((o=>t[o]?`border-${o}: ${e(t[o])};`:"")).join(" ").trim():s("border",e(t))},$=(t,e="box")=>{let o="";return t?.map(((n,r)=>{const{hOffset:a="0px",vOffset:i="0px",blur:l="0px",spreed:s="0px",color:c="#e7f0fe",isInset:d=!1}=n||{},$=d?"inset":"",u=`${a} ${i} ${l}`,p=r+1>=t.length?"":", ";o+="text"===e?`${u} ${c}${p}`:`${u} ${s} ${c} ${$}${p}`})),o||""},u=(t,e,o=!0)=>{const{fontFamily:a="Default",fontCategory:i="sans-serif",fontVariant:l=400,fontWeight:c,isUploadFont:d=!0,fontSize:$={desktop:null,tablet:null,mobile:null},fontStyle:u,textTransform:p,textDecoration:b,lineHeight:g,letterSpace:h}=e||{},M=!o||!a||"Default"===a,y=$?.desktop||$,m=$?.tablet||y,w=$?.mobile||m,x=t=>{const e=String(t);return["px","em","rem","%","vh","vw"].some((t=>e.endsWith(t)))?e:"number"==typeof t?`${e}px`:""},j=`\n\t\t${M?"":`font-family: '${a}', ${i};`}\n\t\t${s("font-weight",c)}\n\t\t${s("font-size",x(y))}\n\t\t${s("font-style",u)}\n\t\t${s("text-transform",p)}\n\t\t${s("text-decoration",b)}\n\t\t${s("line-height",g)}\n\t\t${s("letter-spacing",h)}\n\t`,k=l&&400!==l?"400i"===l?":ital@1":l?.includes("00i")?`: ital, wght@1, ${l?.replace("00i","00")} `:`: wght@${l} `:"",L=M?"":`https://fonts.googleapis.com/css2?family=${a?.split(" ").join("+")}${k.replace(/ /g,"")}&display=swap`;return{googleFontLink:!d||M?"":`@import url(${L});`,styles:`${t}{\n\t\t\t${j}\n\t\t}\n\t\t${n} {\n\t\t\t${t}{\n\t\t\t\t${s("font-size",x(m))}\n\t\t\t}\n\t\t}\n\t\t${r} {\n\t\t\t${t}{\n\t\t\t\t${s("font-size",x(w))}\n\t\t\t}\n\t\t}`.replace(/\s+/g," ").trim()}},p=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:o="center center",xPosition:n=0,yPosition:r=0,attachment:a="",repeat:i="no-repeat",size:l="cover",customSize:s="0px"}=t||{},c=t=>"initial"!==t||e(t);return`\n\t\t${c(o)?`background-position: ${"custom"===o?`${n} ${r}`:o};`:""}\n\t\t${a&&c(a)?`background-attachment: ${a};`:""}\n\t\t${c(i)?`background-repeat: ${i};`:""}\n\t\t${c(l)?`background-size: ${"custom"===l?`${s} auto`:l};`:""}\n\t`},g=(t={})=>t?{desktop:e(t.url)?`background-image: ${l(t.url)}; ${b(t?.desktop)}`:"",tablet:e(t.url)?b(t?.tablet):"",mobile:e(t.url)?b(t?.mobile):""}:"",h=(t,a,i=!1)=>{const{type:l="color",color:c,gradient:d,img:$,video:u}=t||{},p="color"===l?s("background",c):"gradient"===l?(t=>{const{type:o="linear",radialType:n="ellipse",colors:r=[],centerPositions:a={x:0,y:0},angel:i=0}=t||{};if(e(t)){const t=r?.map((({color:t,position:e})=>`${t} ${e}%`)),e=`linear-gradient(${i}deg, ${t})`;return s("background","radial"===o?`radial-gradient(${n} at ${a?.x}% ${a?.y}%,${t})`:e)}return""})(d):"image"===l?g($).desktop:"",b="image"===l?g($).tablet:"",h="image"===l?g($).mobile:"",M=i?`${a}:hover`:a;return`\n\t\t${"video"===l?((t,e)=>{const{url:n,loop:r}=t||{},a=document.querySelector(e),i=a?.querySelector(".bPlVideo"),l=document.createElement("video");if(l.muted=!0,l.autoplay=!0,l.classList.add("bPlVideo"),!i&&a&&n){const t=o(n);if(t){const e=document.createElement("source");e.src=t,l.appendChild(e),a.appendChild(l)}}return l.loop=r,l.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,a):""}\n\n\t\t${p?`${M}{\n\t\t\t${p}\n\t\t}`:""}\n\n\t\t${b?`${n} {\n\t\t\t${M}{\n\t\t\t\t${b}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${h?`${r} {\n\t\t\t${M}{\n\t\t\t\t${h}\n\t\t\t}\n\t\t}`:""}\n\t`.replace(/\s+/g," ").trim()},M=(t,o,n=!1)=>{const{isEnabled:r,colors:a,opacity:i=1,blend:l,filter:c="",blur:d=0,brightness:$=100,contrast:u=100,saturation:p=100,hue:b=0,position:g={top:0,right:0,bottom:0,left:0},zIndex:M=-1}=t||{},y=`${100!==$?`brightness(${$}%)`:""} ${100!==u?`contrast(${u}%)`:""} ${100!==p?`saturate(${p}%)`:""} ${0!==d?`blur(${d}px)`:""} ${0!==b?`hue-rotate(${b}deg)`:""}`,m=`${c}: ${c?y:""}; -webkit-${c}: ${c?y:""};`,w=n?`${o}:hover::after`:`${o}::after`;return r?`\n\t\t${o}{\n\t\t\tposition:relative;\n\t\t\tz-index:1;\n\t\t}\n\t\t${o}::after{\n\t\t\tcontent: '';\n\t\t\tposition: absolute;\n\t\t\ttop:${e(g.top)?g.top:0};\n\t\t\tright:${e(g.right)?g.right:0};\n\t\t\tbottom:${e(g.bottom)?g.bottom:0};\n\t\t\tleft:${e(g.left)?g.left:0};\n\t\t\tz-index:${M};\n\t\t}\n\t\t${h(a,w,!1)}\n\t\t${w}{\n\t\t\t${s("opacity",i)}\n\t\t\t${s("mix-blend-mode",l)}\n\t\t\t${m}\n\t\t}\n\t`.replace(/\s+/g," ").trim():""},y=(t,o,a=!1)=>{const i=(t,o="desktop")=>{if(!e(t))return"";const{skew:n,scale:r,rotate:a,offset:i,flipX:l,flipY:c}=t,{threeDRotate:d}=a||{},{isProportion:$}=r||{},u=[];return e(n)&&(e(n?.[o]?.x)&&u.push(`skewX(${n[o].x}deg)`),e(n?.[o]?.y)&&u.push(`skewY(${n[o].y}deg)`)),$?e(r?.[o]?.scale)&&u.push(`scale(${r[o].scale})`):(e(r?.[o]?.x)&&u.push(`scaleX(${r[o].x})`),e(r?.[o]?.y)&&u.push(`scaleY(${r[o].y})`)),e(a)&&(e(a?.[o]?.z)&&u.push(`rotateZ(${a[o].z}deg)`),d&&(e(a?.[o]?.x)&&u.push(`rotateX(${a[o].x}deg)`),e(a?.[o]?.y)&&u.push(`rotateY(${a[o].y}deg)`))),e(i)&&(e(i?.[o]?.x)&&u.push(`translateX(${i[o].x})`),e(i?.[o]?.y)&&u.push(`translateY(${i[o].y})`)),e(l)&&u.push(l?"scaleX(-1)":""),e(c)&&u.push(c?"scaleY(-1)":""),0===u.length?"":s("transform",u.join(" "))},l=a?`${o}:hover`:o;return`\n\t\t${l} {\n\t\t\t${i(t,"desktop")}\n\t\t}\n\t\t${n}{\n\t\t\t${l} {\n\t\t\t\t${i(t,"tablet")}\n\t\t\t}\n\t\t}\n\t\t${r}{\n\t\t\t${l} {\n\t\t\t\t${i(t,"mobile")}\n\t\t\t}\n\t\t}\n\t`},m=t=>{const{padding:e,margin:o,height:n,width:r}=t||{},a=(t,e)=>s(t,e),i=(t,e,o)=>a(t,e?.[t]?.[o])+a(`min-${t}`,e?.min?.[o])+a(`max-${t}`,e?.max?.[o]),l=t=>s("padding",p(t)),c=t=>s("margin",p(t));return{desktop:l(e?.desktop)+c(o?.desktop)+i("height",n,"desktop")+i("width",r,"desktop"),tablet:l(e?.tablet)+c(o?.tablet)+i("height",n,"tablet")+i("width",r,"tablet"),mobile:l(e?.mobile)+c(o?.mobile)+i("height",n,"mobile")+i("width",r,"mobile")}},w=t=>{const{normal:e,hover:o}=t||{},n=t=>{const{border:e,radius:o,shadow:n}=t||{},r=s("border-radius",p(o)),a=s("box-shadow",$(n,"box"));return d(e)+r+a};return{normal:n(e),hover:n(o)}},x=t=>{const{zIndex:o,overflow:n}=t||{},r=n?`overflow: ${n};`:"",a=t=>`${s("z-index",o?.[t])} ${s("position",e(o?.[t])?"relative":"")}`;return{desktop:a("desktop")+r,tablet:a("tablet"),mobile:a("mobile")}},j=(t,e)=>{const{desktop:o=!1,tablet:n=!1,mobile:r=!1}=t||{},a=e?"opacity: 0.5;":"display: none;",i=t=>t?a:"";return{desktop:i(o),tablet:i(n),mobile:i(r)}},k=(t,o,a=!1,i=!0)=>{const{dimension:c,transform:d,background:$,borderShadow:u,mask:p,animation:b,visibility:g,responsive:k,css:L=""}=o||{},N=a?`#${t}>div>div${i?":first-child":""}`:`#${t}>div`;((t,e,o)=>{const n=o?`#${e} > div`:`#${e}`,r=document.querySelector(n);r&&t&&t.type&&(r.setAttribute("data-aos",t.type),r.setAttribute("data-aos-duration",1e3*t.duration||.4),r.setAttribute("data-aos-delay",1e3*t.delay||0),r.classList.contains("aos-init")||(r.classList.add("aos-init"),window?.AOS?.init()),o)&&new IntersectionObserver((t=>{t.forEach((t=>{t.intersectionRatio>.5?r.classList.add("aos-animate"):r.classList.remove("aos-animate")}))}),{threshold:[.5]}).observe(r)})(b,t,a);const f=m(c).desktop+x(g).desktop+((t,e,o)=>{const{transition:n=.4}=t||{},{transition:r=.4}=e||{},{transition:a=200}=o||{};return`transition: background ${n}s, border ${r}s, border-radius ${r}s, box-shadow ${r}s, transform ${a}ms ease-in-out;`})($,u,d)+(t=>{const{isMask:e=!1,shape:o={type:"circle"},size:n={type:"contain",scale:"100%"},position:r={type:"center center",x:50,y:50},repeat:a="no-repeat"}=t||{};return e?`-webkit-mask-image: ${"custom"===o.type?l(o.url):`url(${(i=o.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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5MS4xMTQzIiBoZWlnaHQ9Ijg4Ljk5OTkiIHZpZXdCb3g9IjAgMCA5MS4xMTQzIDg4Ljk5OTkiPjxwYXRoIGQ9Ik04Mi4xNzQ5LDM3LjUyNjZsMS42MTE5LTEuNjExOWMuOTQ4Ni0uOTQ4Ny02LjM3LTUuOTMwOS03LjA0OTItNi4zNzgyYTQ1LjE1MTYsNDUuMTUxNiwwLDAsMC01Ljc3NjYtMy4zMjQxYy0uMjQ2OC0uMTE1Ny0uNjAxNi0uMzAwOC0uOTg3Mi0uNDc4MnExLjc4MTYtMS44OTcyLDMuNTg2My0zLjc3MTNjLjk0ODYtLjk4LTYuMzYyOC01LjkyMzItNy4wNDkyLTYuMzcwNUE0NC4xNTc5LDQ0LjE1NzksMCwwLDAsNjAuNzUsMTIuMjYwNmwtLjI5My0uMTQ2NSwxLjM5NTktMS41NDI1Yy45NDA5LTEuMDQ4OS02LjMzMTktNS45LTcuMDQ5Mi02LjM3QTQ0LjIxMiw0NC4yMTIsMCwwLDAsNDkuMDQyMi44NjE2Yy0uNTQtLjI0NjctMi4zMTM3LTEuMjY0OC0yLjg0NTgtLjY4NjRRMzIuNzM4MSwxNS4xNjgyLDE4LjExNTQsMjkuMDY2Yy03Ljg0MzYsNy40NS0xNi41NjYzLDE1LjU3OTEtMTguMTA4OCwyNi44Ny0uMTE1Ny44MjUzLDEuMzI2NSwxLjk3NDQsMS43NDMsMi4zMTM4YTQwLjc5OSw0MC43OTksMCwwLDAsNS4zMTM5LDQuMDU2Nyw0NC4yMTc0LDQ0LjIxNzQsMCwwLDAsNS43NjExLDMuMzRjLjY0LjI5MzEsMi4xNzUsMS4yMDMxLDIuODQ1OS42ODY0bDIuMDc0Ny0xLjU1NzljMS40NSwxLjg1ODcsNS45Njk0LDQuNzIsNi42NzEyLDUuMTc1bDEuNDg4NS45NTY0QzI0LjQwMSw3Mi43NjQ3LDIyLjkyLDc0LjYzMTEsMjEuNDcsNzYuNTI4M2MtLjkxLDEuMTg3OCw2LjI2MjUsNS44NjE1LDcuMDQ5Miw2LjM3YTQ0LjE2MzMsNDQuMTYzMywwLDAsMCw1Ljc2MTEsMy4zMzE4Yy42MDE2LjI3NzYsMi4yMjg5LDEuMjM0LDIuODQ1OS42OTQxbDkuMjU1LTguMDk4Yy44MjUyLDIuNTY4MiwxNC41Njg3LDExLjYzLDE1LjY3MTYsOS45NzIxTDkxLjA2LDQ1LjM2MjRDOTEuNjkyLDQ0LjQxMzgsODYuNzI1Miw0MC4zMjYyLDgyLjE3NDksMzcuNTI2NloiLz48L3N2Zz4=",type:"sketch"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCAxMDMgODkiPjxwb2x5Z29uIHBvaW50cz0iNzcuMjU1IDQ0LjUwNSA1MS41IDAgMjUuNzU1IDQ0LjUwNSAwIDg5IDUxLjUgODkgMTAzIDg5IDc3LjI1NSA0NC41MDUiLz48L3N2Zz4=",type:"triangle"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjEuMDAwMiIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDEyMS4wMDAyIDg5Ij48cGF0aCBkPSJNMTAwLjAxNiw3LjM5NzJDOTAuMjQ1MiwxLjIyLDczLjMwODQtMy42NjYzLDY0LjQyNTUsMy43MTI2LDU2Ljk4MzYsOS44OSw2Mi4wNDY5LDE4LjkxNzQsNTUuMDEsMjUuMzAzMmMtMTAuNiw5LjYxMzQtMjguMTU4OS01LjQ0MjMtNDEuODU4NCwyLjYzMThDLjY3NTcsMzUuMjU0My00LjI3OTEsNTkuMTQ4OSw0LjI3ODEsNzMuNzk3NWMxMy4xMzY5LDIyLjUyNCw1My4xMywxMy44NTQxLDYxLjE5MzYsMTIuMTA2MSw0LjUwMDctLjk5MzEsNTMuNDk1My0xMi4yNjUsNTUuNDY5My00Mi43MDQzQzEyMS44OTgsMjguMjUyOCwxMTEuMSwxNC40MTg1LDEwMC4wMTYsNy4zOTcyWiIvPjwvc3ZnPg==",type:"blob"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCAxMDMgODkiPjxwYXRoIGQ9Ik03Ny4yMTE0LDBIMjUuNzUyM0wwLDQ0LjUwNDUsMjUuNzUyMyw4OUg3Ny4yMTE0TDEwMyw0NC41MDQ1Wk02MS43NjkxLDYyLjI2MUg0MS4yMjE4TDMwLjkzOTEsNDQuNTA0NSw0MS4yMjE4LDI2LjczOUg2MS43NjkxTDcyLjA1MTksNDQuNTA0NVoiLz48L3N2Zz4=",type:"hexagon"}].find((t=>t.type===i))).svg})`};\n\t\t-webkit-mask-size: ${"custom"===n.type?n.scale:n.type};\n\t\t${"custom"===r.type?`${s("-webkit-mask-position-x",r.x)}\n\t\t\t${s("-webkit-mask-position-y",r.y)}`:`${s("-webkit-mask-position",r.type)}`}\n\t\t${"cover"!==n.type?`-webkit-mask-repeat: ${a};`:""}`:"";var i})(p),D=m(c).tablet+x(g).tablet+j(k,a).tablet,v=m(c).mobile+x(g).mobile+j(k,a).mobile,z=w(u).normal,T=w(u).hover,C=j(k,a).desktop;return`\n\t\t${f||z?`${N} {\n\t\t\t${f}\n\t\t\t${z}\n\t\t}`:""}\n\t\t${T?`${N}:hover {\n\t\t\t${T}\n\t\t}`:""}\n\n\t\t${C?`@media only screen and (min-width: 1025px) {\n\t\t\t${N}{\n\t\t\t\t${C}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${D?`${n} {\n\t\t\t${N}{\n\t\t\t\t${D}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${v?`${r} {\n\t\t\t${N}{\n\t\t\t\t${v}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${h($?.normal,N)}\n\t\t${h($?.hover,N,!0)}\n\t\t${M($?.overlay,N)}\n\t\t${M($?.hoverOverlay,N,!0)}\n\t\t${e(d?.normal)?y(d?.normal,N):""}\n\t\t${e(d?.hover)?y(d?.hover,N,!0):""}\n\n\t\t${L}\n\t`.replace(/\s+/g," ")},L="b-blocks-comparison-table",N=["default","cards","ribbon","stacked"],f=["left","center","right"],D=t=>f.includes(t)?t:"center",v=(t,e="")=>{if(!t)return e;if("string"==typeof t)return t||e;const{type:o="solid",color:n="",gradient:r="",image:a={}}=t;return"gradient"===o?r||e:"image"===o?a?.url?`url('${a.url}') center center / cover no-repeat`:e:n||e},z=(t,e)=>void 0!==t&&""!==t&&null!==t?t:e,T=t=>t?{type:"solid",color:t}:void 0,C=(t,e)=>t||e?{top:t,right:e,bottom:t,left:e}:void 0,I=t=>t||0===t?`${parseInt(t,10)}px`:"",S=(t={})=>{const e=t;if(!["headerBg","cellPaddingV","tooltipColor","tableMaxWidth","theme"].some((t=>void 0!==e[t]&&""!==e[t]&&null!==e[t])))return e;const o=e.table||{},n=e.header||{},r=e.body||{};return{...e,columns:B(e.columns),content:{...e.content||{},caption:z(e.content?.caption,e.caption),captionPosition:z(e.content?.captionPosition,e.captionPosition),captionColor:z(e.content?.captionColor,e.captionColor),captionTypo:e.content?.captionTypo||e.captionTypo,featuredLabel:z(e.content?.featuredLabel,e.featuredLabel)},table:{...o,theme:z(o.theme,e.theme),alignment:z(o.alignment,e.tableAlignment),cellBorderType:z(o.cellBorderType,e.cellBorderType),stackOnMobile:z(o.stackOnMobile,e.stackOnMobile),stickyHeader:z(o.stickyHeader,e.stickyHeader),stickyFirstColumn:z(o.stickyFirstColumn,e.stickyFirstColumn),showRowStripes:z(o.showRowStripes,e.showRowStripes),borderColor:z(o.borderColor,e.borderColor),border:o.border||e.tableBorder,shadow:o.shadow?.length?o.shadow:e.tableShadow,bg:o.bg||e.tableBg,desktop:{...o.desktop||{},iconPosition:z(o.desktop?.iconPosition,{above:"top",inline:"left",hidden:"hidden"}[e.headerIconPosition]),width:z(o.desktop?.width,e.tableWidth?.desktop||I(e.tableMaxWidth)),radius:o.desktop?.radius?.top?o.desktop.radius:e.tableRadius?.desktop||C(I(e.borderRadius),I(e.borderRadius))}},header:{...n,normal:{bg:n.normal?.bg||e.headerBackground||T(e.headerBg),color:z(n.normal?.color,e.headerTextColor)},hover:{bg:n.hover?.bg||T(e.headerHoverBg),color:z(n.hover?.color,e.headerHoverColor)},typo:n.typo||e.headerTypo},body:{...r,bg:r.bg||e.bodyBackground||T(e.bodyBg),color:z(r.color,e.bodyTextColor),typo:r.typo||e.bodyTypo,desktop:{padding:r.desktop?.padding?.top?r.desktop.padding:e.cellPadding?.desktop||C(I(e.cellPaddingV),I(e.cellPaddingH))}},rowLabel:{...e.rowLabel||{},bg:e.rowLabel?.bg||e.rowLabelBackground||T(e.rowLabelBg),color:z(e.rowLabel?.color,e.rowLabelColor),typo:e.rowLabel?.typo||e.rowLabelTypo},rowColors:{...e.rowColors||{},odd:e.rowColors?.odd||e.rowOdd,even:e.rowColors?.even||e.rowEven,hover:e.rowColors?.hover||e.rowHover,stripe:e.rowColors?.stripe||e.rowStripeBackground||T(e.rowStripeBg),transition:z(e.rowColors?.transition,e.transition)},featured:{...e.featured||{},bg:e.featured?.bg||e.featuredBackground||T(e.featuredBg),color:z(e.featured?.color,e.featuredTextColor),columnBg:e.featured?.columnBg||e.featuredColBackground||T(e.featuredColBg),labelBg:e.featured?.labelBg||e.featuredLabelBackground||T(e.featuredLabelBg),labelColor:z(e.featured?.labelColor,e.featuredLabelColor)},icons:{...e.icons||{},check:z(e.icons?.check,e.checkIcon),cross:z(e.icons?.cross,e.crossIcon),checkSvg:z(e.icons?.checkSvg,e.checkIconSvg),crossSvg:z(e.icons?.crossSvg,e.crossIconSvg),checkColor:z(e.icons?.checkColor,e.checkColor),crossColor:z(e.icons?.crossColor,e.crossColor),desktop:{size:z(e.icons?.desktop?.size,e.iconSizes?.desktop||I(e.iconSize))}},tooltip:{...e.tooltip||{},bg:e.tooltip?.bg||e.tooltipBackground,color:z(e.tooltip?.color,e.tooltipColor),typo:e.tooltip?.typo||e.tooltipTypo,arrow:z(e.tooltip?.arrow,e.tooltipArrow),underline:z(e.tooltip?.underline,e.tooltipUnderline),shadow:e.tooltip?.shadow?.length?e.tooltip.shadow:e.tooltipShadow,desktop:{width:z(e.tooltip?.desktop?.width,e.tooltipWidth?.desktop),padding:e.tooltip?.desktop?.padding?.top?e.tooltip.desktop.padding:e.tooltipPadding?.desktop,radius:e.tooltip?.desktop?.radius?.top?e.tooltip.desktop.radius:e.tooltipRadius?.desktop}}}},O=(t=[])=>({feature:t.find((t=>t?.isFeatureColumn))||null,plans:t.filter((t=>!t?.isFeatureColumn))}),B=(t=[],e="Features")=>t.some((t=>t?.isFeatureColumn))?t:[{_key:"col-feature",isFeatureColumn:!0,label:e||"Features"},...t],Y=window.ReactJSXRuntime,E=({attributes:t,id:e,isBackend:o=!1})=>{const a=S(t),{feature:i,plans:l}=O(a.columns||[]),b=[...i?[{column:i,key:"feature"}]:[],...l.map(((t,e)=>({column:t,key:e})))],{advanced:g,content:h={},table:M={},header:y={},body:m={},rowLabel:w={},rowColors:x={},featured:j={},icons:N={},tooltip:f={},cta:D={}}=a,z=M.cellBorderType||"collapse",T=M.border||{},C=M.shadow||[],I=M.bg||{},B=y.typo||{},E=v(y.hover?.bg),A=y.hover?.color||"",Q=m.typo||{},U=x.odd||{},P=x.even||{},H=x.hover||{},_=x.transition??.2,R=h.captionPosition||"hidden",F=h.captionTypo||{},Z=h.captionColor||"",W=f.bg||{},X=f.color||"",V=f.typo||{},G=f.shadow||[],J=f.arrow,q=f.underline,K=w.typo||{},tt={top:"column",bottom:"column-reverse",left:"row",right:"row-reverse"},et=`#${e}`,ot=`${et} .${L}-scroll`,nt=`${et} .${L}-table`,rt=`${nt} thead th`,at=`${nt} tbody td, ${nt} tbody th, ${nt} tfoot td, ${nt} tfoot th`,it=`${nt} tbody tr`,lt=`${nt} caption`,st=`${nt} tbody th.${L}-row-label`,ct=`${et} .${L}-col__cta`,dt={left:"margin-left: 0; margin-right: auto;",center:"margin-left: auto; margin-right: auto;",right:"margin-left: auto; margin-right: 0;"},$t=`${et} .${L}-tooltip`,ut=`${et} .${L}-tooltip-bubble`,pt=`${et} .${L}-tooltip-arrow`,bt={headerBg:v(y.normal?.bg),headerText:y.normal?.color,featuredBg:v(j.bg),featuredText:j.color,featuredColBg:v(j.columnBg),labelBg:v(j.labelBg),labelText:j.labelColor,rowLabelBg:v(w.bg),rowLabelText:w.color,stripeBg:v(x.stripe),bodyBg:v(m.bg),bodyText:m.color,checkColor:N.checkColor,crossColor:N.crossColor,borderColor:M.borderColor},gt=`${et}.${L}-theme--${M.theme||"default"}`,ht=bt.borderColor||"#e2e8f0",Mt=bt.featuredBg||"#2563eb",yt=(t,e)=>`color-mix(in srgb, ${t} ${e}%, transparent)`,mt=({cards:()=>`\n\t\t\t${gt} ${nt} tbody td,\n\t\t\t${gt} ${nt} tbody th{\n\t\t\t\tborder-bottom: 1px solid ${ht} !important;\n\t\t\t\tborder-bottom-color: ${yt(ht,70)} !important;\n\t\t\t\tbox-shadow: 0 0 0 1px ${ht};\n\t\t\t\tbox-shadow: 0 0 0 1px ${yt(ht,45)};\n\t\t\t}\n\t\t\t${gt} ${nt} thead th.is-featured{ box-shadow: 0 10px 26px ${yt(Mt,24)} !important; }\n\t\t\t${gt} ${nt} td.is-featured{\n\t\t\t\tbox-shadow: 0 0 0 1px ${Mt} !important;\n\t\t\t\tbox-shadow: 0 0 0 1px ${yt(Mt,35)} !important;\n\t\t\t}`}[M.theme]||(()=>""))(),wt=b.map((({column:t,key:e})=>{const o=t?.cta;if(!o)return"";const n=`${et} [data-col="${e}"] .${L}-col__cta`,r=o.transition,a=[s("background",v(o.normal?.bg||o.bg)),s("color",o.normal?.color||o.color),d(o.border),s("padding",p(o.padding)),s("border-radius",p(o.radius)),""===r||null==r?"":`transition: background ${r}s ease, color ${r}s ease, border-color ${r}s ease;`].filter(Boolean).join(""),i=[s("background",v(o.hover?.bg)),s("color",o.hover?.color)].filter(Boolean).join("");return`${a?`${n}{ ${a} }`:""}${i?`${n}:hover, ${n}:focus-visible{ ${i} }`:""}${Object.keys(o.typo||{}).length?u(n,o.typo).styles:""}`})).join(""),xt=b.map((({column:t,key:e})=>t?.iconColor?`${et} [data-col="${e}"] .${L}-col__icon{ color: ${t.iconColor}; }`:"")).join(""),jt=t=>`\n\t\t${ot}{\n\t\t\t${s("max-width",M?.[t]?.width)}\n\t\t\t${s("border-radius",p(M?.[t]?.radius))}\n\t\t}\n\n\t\t${rt}, ${at}{ ${s("padding",p(m?.[t]?.padding))} }\n\n\t\t${et} .${L}-cell-icon{\n\t\t\t${s("width",N?.[t]?.size)}\n\t\t\t${s("height",N?.[t]?.size)}\n\t\t}\n\n\t\t${et} .${L}-col__icon{\n\t\t\t${s("width",N?.[t]?.headerSize)}\n\t\t\t${s("height",N?.[t]?.headerSize)}\n\t\t\t${"hidden"===M?.[t]?.iconPosition?"display: none;":""}\n\t\t}\n\n\t\t${b.map((({column:e,key:o})=>e?.iconSize?.[t]?`${et} [data-col="${o}"] .${L}-col__icon{ width: ${e.iconSize[t]}; height: ${e.iconSize[t]}; }`:"")).join("")}\n\n\t\t${ct}{\n\t\t\t${s("padding",p(D?.[t]?.padding))}\n\t\t\t${s("border-radius",p(D?.[t]?.radius))}\n\t\t\t${s("margin",p(D?.[t]?.margin))}\n\t\t\t\n\t\t\t${dt[D?.[t]?.alignment]||""}\n\t\t}\n\n\t\t${b.map((({column:e,key:o})=>dt[e?.cta?.alignment?.[t]]?`${et} [data-col="${o}"] .${L}-col__cta{ ${dt[e.cta.alignment[t]]} }`:"")).join("")}\n\n\t\t${et} .${L}-col__head{\n\t\t\t${s("flex-direction",tt[M?.[t]?.iconPosition])}\n\t\t}\n\n\t\t${ut}{\n\t\t\t${s("padding",p(f?.[t]?.padding))}\n\t\t\t${s("border-radius",p(f?.[t]?.radius))}\n\t\t\t${s("max-width",f?.[t]?.width)}\n\t\t}\n\t`;return(0,Y.jsx)("style",{dangerouslySetInnerHTML:{__html:`\n\t\t\t${u("",B).googleFontLink}\n\t\t\t${u("",Q).googleFontLink}\n\t\t\t${u("",F).googleFontLink}\n\t\t\t${u("",V).googleFontLink}\n\t\t\t${u("",K).googleFontLink}\n\t\t\t${u("",D.typo).googleFontLink}\n\n\t\t\t${ot}{\n\t\t\t\t${s("border-color",bt.borderColor)}\n\t\t\t\t${s("background",bt.bodyBg)}\n\t\t\t}\n\n\t\t\t${nt}{\n\t\t\t\t${s("color",bt.bodyText)}\n\t\t\t\t${s("background",bt.bodyBg)}\n\t\t\t}\n\n\t\t\t${rt}{\n\t\t\t\t${s("background",bt.headerBg)}\n\t\t\t\t${s("color",bt.headerText)}\n\t\t\t}\n\n\t\t\t${rt}.is-featured{\n\t\t\t\t${s("background",bt.featuredBg)}\n\t\t\t\t${s("color",bt.featuredText)}\n\t\t\t}\n\n\t\t\t${et} .${L}-col__featured-badge{\n\t\t\t\t${s("background",bt.labelBg)}\n\t\t\t\t${s("color",bt.labelText)}\n\t\t\t}\n\n\t\t\t${at}{\n\t\t\t\t${s("border-color",bt.borderColor)}\n\t\t\t}\n\n\t\t\t${nt} tbody td.is-featured{ ${s("background",bt.featuredColBg)} }\n\n\t\t\t${st}{\n\t\t\t\t${s("background",bt.rowLabelBg)}\n\t\t\t\t${s("color",bt.rowLabelText)}\n\t\t\t}\n\t\t\t${u(st,K).styles}\n\n\t\t\t${ct}{\n\t\t\t\t${s("background",v(D.normal?.bg))}\n\t\t\t\t${s("color",D.normal?.color)}\n\t\t\t\t${d(D.border)}\n\t\t\t\t${s("transition",`background ${D.transition??.2}s ease, color ${D.transition??.2}s ease, border-color ${D.transition??.2}s ease`)}\n\t\t\t}\n\t\t\t${u(ct,D.typo).styles}\n\n\t\t\t${ct}:hover, ${ct}:focus-visible{\n\t\t\t\t${s("background",v(D.hover?.bg))}\n\t\t\t\t${s("color",D.hover?.color)}\n\t\t\t}\n\n\t\t\t${et}.has-sticky-first-col ${nt} tbody th.${L}-row-label{ ${s("background",bt.bodyBg)} }\n\t\t\t${et}.has-sticky-first-col ${nt} thead th:first-child{ ${s("background",bt.headerBg)} }\n\n\t\t\t${et}.has-row-stripes ${nt} tbody tr:nth-child(even) td,\n\t\t\t${et}.has-row-stripes ${nt} tbody tr:nth-child(even) th{ ${s("background",bt.stripeBg)} }\n\n\t\t\t${et} .${L}-cell-icon.is-yes svg{ ${s("color",bt.checkColor)} }\n\t\t\t${et} .${L}-cell-icon.is-no svg{ ${s("color",bt.crossColor)} }\n\n\t\t\t${nt}{\n\t\t\t\t${s("border-collapse","separate"===z?"separate":"collapse")}\n\t\t\t}\n\n\t\t\t${mt}\n\t\t\t${wt}\n\t\t\t${xt}\n\n\t\t\t${ot}{\n\t\t\t\t${d(T)}\n\t\t\t\t${s("box-shadow",$(C))}\n\t\t\t\t${c(I)}\n\t\t\t}\n\n\t\t\t${u(rt,B).styles}\n\t\t\t${u(at,Q).styles}\n\n\t\t\t${rt}:hover{\n\t\t\t\t${s("background",E)}\n\t\t\t\t${s("color",A)}\n\t\t\t}\n\n\t\t\t${it}:nth-child(odd) td, ${it}:nth-child(odd) th{\n\t\t\t\t${s("background",v(U?.bg))}\n\t\t\t\t${s("color",U?.color)}\n\t\t\t}\n\n\t\t\t${it}:nth-child(even) td, ${it}:nth-child(even) th{\n\t\t\t\t${s("background",v(P?.bg))}\n\t\t\t\t${s("color",P?.color)}\n\t\t\t}\n\n\t\t\t${v(H?.bg)||H?.color?`${it}:hover td, ${it}:hover th{\n\t\t\t\t${s("background",v(H?.bg))}\n\t\t\t\t${s("color",H?.color)}\n\t\t\t}`:""}\n\n\t\t\t${rt}, ${at}{\n\t\t\t\t${s("transition",`background ${_}s, color ${_}s`)}\n\t\t\t}\n\t\t\t${ut}{\n\t\t\t\t${s("background",v(W))}\n\t\t\t\t${s("color",X)}\n\t\t\t\t${s("box-shadow",$(G))}\n\t\t\t}\n\t\t\t${u(ut,V).styles}\n\n\t\t\t${pt}{\n\t\t\t\t${s("background",v(W))}\n\t\t\t\t${!1===J?"display: none;":""}\n\t\t\t}\n\n\t\t\t${!1===q?`${$t}{ text-decoration: none; }`:""}\n\n\t\t\t${"hidden"!==R?`${lt}{\n\t\t\t\tposition: static;\n\t\t\t\twidth: auto;\n\t\t\t\theight: auto;\n\t\t\t\tmargin: 0;\n\t\t\t\tclip: auto;\n\t\t\t\tclip-path: none;\n\t\t\t\toverflow: visible;\n\t\t\t\tcaption-side: ${"top"===R?"top":"bottom"};\n\t\t\t\tpadding: 8px 0;\n\t\t\t\t${s("color",Z)}\n\t\t\t}`:""}\n\t\t\t${u(lt,F).styles}\n\n\t\t\t${jt("desktop")}\n\t\t\t${n}{ ${jt("tablet")} }\n\t\t\t${r}{ ${jt("mobile")} }\n\n\t\t\t${k(e,g,o,!1)}\n\t\t\t`}})},A={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},Q={check:(0,Y.jsx)("svg",{...A,viewBox:"0 0 512 512",children:(0,Y.jsx)("path",{fill:"currentColor",d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"})}),"check-circle":(0,Y.jsx)("svg",{...A,viewBox:"0 0 512 512",children:(0,Y.jsx)("path",{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm141.6 192.2L235.7 360.6c-3.1 3.1-8.2 3.1-11.3 0L150.4 287c-3.1-3.1-3.1-8.2 0-11.3l24.5-24.5c3.1-3.1 8.2-3.1 11.3 0l43.5 43.5 132.2-131.3c3.1-3.1 8.2-3.1 11.3 0l24.5 24.5c3 3.1 3 8.2-.1 11.3z"})})},U={times:(0,Y.jsx)("svg",{...A,viewBox:"0 0 352 512",children:(0,Y.jsx)("path",{fill:"currentColor",d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"})}),"times-circle":(0,Y.jsx)("svg",{...A,viewBox:"0 0 512 512",children:(0,Y.jsx)("path",{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"})})},P=({attributes:t,isBackend:e=!1})=>{const{content:o={},icons:n={},cta:r={},columns:a=[],rows:l=[]}=S(t),{feature:s,plans:c}=O(a),d=r.position||"top",$=t=>t?.ctaLabel?e||!t.ctaUrl?(0,Y.jsx)("span",{className:`${L}-col__cta`,"aria-hidden":e?"true":void 0,children:t.ctaLabel}):(0,Y.jsx)("a",{className:`${L}-col__cta`,href:t.ctaUrl,rel:"noopener",children:t.ctaLabel}):null,u=o.caption,p=o.featuredLabel,b=n.check||"check",g=n.cross||"times",h=n.checkSvg||"",M=n.crossSvg||"",y=t=>{const e=t?h:M;return e?(0,Y.jsx)("span",{className:`${L}-cell-glyph`,dangerouslySetInnerHTML:{__html:e}}):t?((t="check")=>Q[t]||Q.check)(b):((t="times")=>U[t]||U.times)(g)},[m,w]=(0,i.useState)(null),x=(0,i.useCallback)(((t,e)=>{const o=t.currentTarget.getBoundingClientRect(),n=window.innerHeight-o.bottom>140;w({text:e,x:o.left+o.width/2,y:n?o.bottom+8:o.top-8,flipped:!n})}),[]),j=(0,i.useCallback)((()=>w(null)),[]),k=(t,e)=>(0,Y.jsxs)(Y.Fragment,{children:[e&&(t?.badge||p)?(0,Y.jsx)("span",{className:`${L}-col__featured-badge`,"aria-hidden":"true",children:t?.badge||p}):null,t?.icon||t?.label?(0,Y.jsxs)("span",{className:`${L}-col__head`,children:[t?.icon?(0,Y.jsx)("span",{className:`${L}-col__icon`,dangerouslySetInnerHTML:{__html:t.icon}}):null,t?.label?(0,Y.jsx)("span",{className:`${L}-col__label`,children:t.label}):null]}):null,t?.subtitle?(0,Y.jsx)("span",{className:`${L}-col__subtitle`,children:t.subtitle}):null,"top"===d?$(t):null]}),N=c.findIndex((t=>t?.isFeatured)),f=u||"Feature comparison across plans";if(!(c.length>0&&l.length>0))return(0,Y.jsx)("p",{className:`${L}-empty`,children:"No comparison data to display. Add columns and rows in the block sidebar."});const D=m?(0,Y.jsxs)("div",{className:`${L}-tooltip-bubble${m.flipped?" is-flipped":""}`,style:{left:`${m.x}px`,top:`${m.y}px`},role:"tooltip",children:[m.text,(0,Y.jsx)("span",{className:`${L}-tooltip-arrow`,"aria-hidden":"true"})]}):null;return(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)("div",{className:`${L}-scroll`,role:"region","aria-label":`${f}. Scroll horizontally to see all columns.`,tabIndex:0,children:(0,Y.jsxs)("table",{className:`${L}-table`,children:[(0,Y.jsx)("caption",{className:`${L}-caption screen-reader-text`,children:f}),(0,Y.jsx)("thead",{children:(0,Y.jsxs)("tr",{children:[(0,Y.jsx)("th",{scope:"col","data-col":"feature",className:`${L}-feature-col`,children:s?.label||s?.icon?k(s,!!s?.isFeatured):(0,Y.jsx)("span",{className:"screen-reader-text",children:"Feature"})}),c.map(((t,e)=>{const o=!!t?.isFeatured;return(0,Y.jsx)("th",{scope:"col","data-col":e,className:`${L}-col${o?" is-featured":""}`,children:k(t,o)},t?._key||`col-${e}`)}))]})}),(0,Y.jsx)("tbody",{children:l.map(((t,e)=>(0,Y.jsxs)("tr",{children:[(0,Y.jsx)("th",{scope:"row",className:`${L}-row-label`,children:t?.tooltip?(0,Y.jsxs)("span",{className:`${L}-tooltip`,tabIndex:0,onMouseEnter:e=>x(e,t.tooltip),onMouseLeave:j,onFocus:e=>x(e,t.tooltip),onBlur:j,children:[t?.label||(0,Y.jsx)("span",{className:"screen-reader-text",children:"Feature"}),(0,Y.jsx)("span",{className:"screen-reader-text",children:t.tooltip})]}):t?.label||(0,Y.jsx)("span",{className:"screen-reader-text",children:"Feature"})}),c.map(((e,o)=>{const n=t?.cells?.[o]||{type:"icon",value:!1,text:""},r=`${L}-cell${o===N?" is-featured":""}`;return"text"===n.type?(0,Y.jsx)("td",{"data-col":o,"data-label":c[o]?.label||"",className:r,children:n.text||(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)("span",{"aria-hidden":"true",children:"—"}),(0,Y.jsx)("span",{className:"screen-reader-text",children:"Not specified"})]})},o):(0,Y.jsx)("td",{"data-col":o,"data-label":c[o]?.label||"",className:r,children:(0,Y.jsxs)("span",{className:`${L}-cell-icon ${n.value?"is-yes":"is-no"}`,children:[y(!!n.value),(0,Y.jsx)("span",{className:"screen-reader-text",children:n.value?"Yes":"No"})]})},o)}))]},t?._key||`row-${e}`)))}),"bottom"===d&&c.some((t=>t?.ctaLabel))?(0,Y.jsx)("tfoot",{children:(0,Y.jsxs)("tr",{children:[(0,Y.jsx)("th",{scope:"row","data-col":"feature",className:`${L}-row-label`,children:$(s)}),c.map(((t,e)=>(0,Y.jsx)("td",{"data-col":e,className:`${L}-cell ${L}-cta-cell${e===N?" is-featured":""}`,children:$(t)},t?._key||`cta-${e}`)))]})}):null]})}),D]})};document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".wp-block-b-blocks-comparison-table[data-attributes]").forEach((e=>{let o={};try{const t=e.dataset.attributes;t&&"undefined"!==t&&""!==t&&(o=JSON.parse(t))}catch(t){o={}}e.className=`${e.className} ${((t={})=>{const e=S(t).table||{};return[`${L}-block`,`${L}-theme--${o=e.theme,N.includes(o)?o:"default"}`,`${L}-align--${D(e.alignment)}`,e.showRowStripes?"has-row-stripes":"",e.stickyHeader?"has-sticky-header":"",!1===e.stickyFirstColumn?"":"has-sticky-first-col",e.stackOnMobile?"is-stacked-mobile":""].filter(Boolean).join(" ");var o})(o)}`.trim(),(0,t.createRoot)(e).render((0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(E,{attributes:o,id:e.id}),(0,Y.jsx)(P,{attributes:o})]})),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),o=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}};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"),o=e.documentElement;return!o||"svg"!==o.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),o=await e.text();return this.sanitize(`${o}`)}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 o=e.name,n=o.toLowerCase(),r=e.value;if(this.options.removeEvents&&n.startsWith("on"))return void t.removeAttribute(o);if(this.options.removeExternalResources&&("href"===n||n.endsWith(":href"))&&!this.isAllowedUrl(r))return void t.removeAttribute(o);const a=n.replace("xlink:","");this.allowedAttributeSet.has(n)||this.allowedAttributeSet.has(a)?this.options.removeExternalResources&&this.hasExternalUrl(r)?t.removeAttribute(o):"style"===n&&this.options.sanitizeStyle&&t.setAttribute(o,this.sanitizeCss(r)):t.removeAttribute(o)}))}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 n="@media only screen and (min-width: 1025px)",r="@media only screen and (max-width: 1024px)",a="@media only screen and (max-width: 640px)",i="linear-gradient(135deg, #0040E3, #18D4FD)",s=window.React,l=t=>{const e=o(t);return e?`url('${e.replace(/['"()]/g,"")}')`:"none"},c=(t,o)=>e(o)?`${t}: ${o};`:"",d=(t,e=!0,o=!0,n=!0)=>{const{type:r="solid",color:a="",gradient:s=i,image:d={},position:p="center center",attachment:u="",repeat:$="no-repeat",size:b="",overlayColor:m=""}=t||{};return"gradient"===r&&o?c("background",s):"image"===r&&n?`background: ${l(d?.url)};\n\t\t\t\t${c("background-color",m)}\n\t\t\t\t${c("background-position",p)}\n\t\t\t\t${c("background-size",b)}\n\t\t\t\t${c("background-repeat",$)}\n\t\t\t\t${c("background-attachment",u)}\n\t\t\t\t${c("background-repeat",$)}\n\t\t\t\tbackground-blend-mode: overlay;`:e&&c("background",a)},p=t=>{if(!t)return"";const e=t=>{const{color:e="#000000",style:o="solid",width:n="0px"}=t;return`${n} ${o} ${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((o=>t[o]?`border-${o}: ${e(t[o])};`:"")).join(" ").trim():c("border",e(t))},u=(t,e="box")=>{let o="";return t?.map(((n,r)=>{const{hOffset:a="0px",vOffset:i="0px",blur:s="0px",spreed:l="0px",color:c="#e7f0fe",isInset:d=!1}=n||{},p=d?"inset":"",u=`${a} ${i} ${s}`,$=r+1>=t.length?"":", ";o+="text"===e?`${u} ${c}${$}`:`${u} ${l} ${c} ${p}${$}`})),o||""},$=(t,e,o=!0)=>{const{fontFamily:n="Default",fontCategory:i="sans-serif",fontVariant:s=400,fontWeight:l,isUploadFont:d=!0,fontSize:p={desktop:null,tablet:null,mobile:null},fontStyle:u,textTransform:$,textDecoration:b,lineHeight:m,letterSpace:h}=e||{},g=!o||!n||"Default"===n,y=p?.desktop||p,M=p?.tablet||y,x=p?.mobile||M,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${g?"":`font-family: '${n}', ${i};`}\n\t\t${c("font-weight",l)}\n\t\t${c("font-size",w(y))}\n\t\t${c("font-style",u)}\n\t\t${c("text-transform",$)}\n\t\t${c("text-decoration",b)}\n\t\t${c("line-height",m)}\n\t\t${c("letter-spacing",h)}\n\t`,k=s&&400!==s?"400i"===s?":ital@1":s?.includes("00i")?`: ital, wght@1, ${s?.replace("00i","00")} `:`: wght@${s} `:"",j=g?"":`https://fonts.googleapis.com/css2?family=${n?.split(" ").join("+")}${k.replace(/ /g,"")}&display=swap`;return{googleFontLink:!d||g?"":`@import url(${j});`,styles:`${t}{\n\t\t\t${f}\n\t\t}\n\t\t${r} {\n\t\t\t${t}{\n\t\t\t\t${c("font-size",w(M))}\n\t\t\t}\n\t\t}\n\t\t${a} {\n\t\t\t${t}{\n\t\t\t\t${c("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""},m=t=>{const{position:o="center center",xPosition:n=0,yPosition:r=0,attachment:a="",repeat:i="no-repeat",size:s="cover",customSize:l="0px"}=t||{},c=t=>"initial"!==t||e(t);return`\n\t\t${c(o)?`background-position: ${"custom"===o?`${n} ${r}`:o};`:""}\n\t\t${a&&c(a)?`background-attachment: ${a};`:""}\n\t\t${c(i)?`background-repeat: ${i};`:""}\n\t\t${c(s)?`background-size: ${"custom"===s?`${l} auto`:s};`:""}\n\t`},h=(t={})=>t?{desktop:e(t.url)?`background-image: ${l(t.url)}; ${m(t?.desktop)}`:"",tablet:e(t.url)?m(t?.tablet):"",mobile:e(t.url)?m(t?.mobile):""}:"",g=(t,n,i=!1)=>{const{type:s="color",color:l,gradient:d,img:p,video:u}=t||{},$="color"===s?c("background",l):"gradient"===s?(t=>{const{type:o="linear",radialType:n="ellipse",colors:r=[],centerPositions:a={x:0,y:0},angel:i=0}=t||{};if(e(t)){const t=r?.map((({color:t,position:e})=>`${t} ${e}%`)),e=`linear-gradient(${i}deg, ${t})`;return c("background","radial"===o?`radial-gradient(${n} at ${a?.x}% ${a?.y}%,${t})`:e)}return""
2 +})(d):"image"===s?h(p).desktop:"",b="image"===s?h(p).tablet:"",m="image"===s?h(p).mobile:"",g=i?`${n}:hover`:n;return`\n\t\t${"video"===s?((t,e)=>{const{url:n,loop:r}=t||{},a=document.querySelector(e),i=a?.querySelector(".bPlVideo"),s=document.createElement("video");if(s.muted=!0,s.autoplay=!0,s.classList.add("bPlVideo"),!i&&a&&n){const t=o(n);if(t){const e=document.createElement("source");e.src=t,s.appendChild(e),a.appendChild(s)}}return s.loop=r,s.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,n):""}\n\n\t\t${$?`${g}{\n\t\t\t${$}\n\t\t}`:""}\n\n\t\t${b?`${r} {\n\t\t\t${g}{\n\t\t\t\t${b}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${m?`${a} {\n\t\t\t${g}{\n\t\t\t\t${m}\n\t\t\t}\n\t\t}`:""}\n\t`.replace(/\s+/g," ").trim()},y=(t,o,n=!1)=>{const{isEnabled:r,colors:a,opacity:i=1,blend:s,filter:l="",blur:d=0,brightness:p=100,contrast:u=100,saturation:$=100,hue:b=0,position:m={top:0,right:0,bottom:0,left:0},zIndex:h=-1}=t||{},y=`${100!==p?`brightness(${p}%)`:""} ${100!==u?`contrast(${u}%)`:""} ${100!==$?`saturate(${$}%)`:""} ${0!==d?`blur(${d}px)`:""} ${0!==b?`hue-rotate(${b}deg)`:""}`,M=`${l}: ${l?y:""}; -webkit-${l}: ${l?y:""};`,x=n?`${o}:hover::after`:`${o}::after`;return r?`\n\t\t${o}{\n\t\t\tposition:relative;\n\t\t\tz-index:1;\n\t\t}\n\t\t${o}::after{\n\t\t\tcontent: '';\n\t\t\tposition: absolute;\n\t\t\ttop:${e(m.top)?m.top:0};\n\t\t\tright:${e(m.right)?m.right:0};\n\t\t\tbottom:${e(m.bottom)?m.bottom:0};\n\t\t\tleft:${e(m.left)?m.left:0};\n\t\t\tz-index:${h};\n\t\t}\n\t\t${g(a,x,!1)}\n\t\t${x}{\n\t\t\t${c("opacity",i)}\n\t\t\t${c("mix-blend-mode",s)}\n\t\t\t${M}\n\t\t}\n\t`.replace(/\s+/g," ").trim():""},M=(t,o,n=!1)=>{const i=(t,o="desktop")=>{if(!e(t))return"";const{skew:n,scale:r,rotate:a,offset:i,flipX:s,flipY:l}=t,{threeDRotate:d}=a||{},{isProportion:p}=r||{},u=[];return e(n)&&(e(n?.[o]?.x)&&u.push(`skewX(${n[o].x}deg)`),e(n?.[o]?.y)&&u.push(`skewY(${n[o].y}deg)`)),p?e(r?.[o]?.scale)&&u.push(`scale(${r[o].scale})`):(e(r?.[o]?.x)&&u.push(`scaleX(${r[o].x})`),e(r?.[o]?.y)&&u.push(`scaleY(${r[o].y})`)),e(a)&&(e(a?.[o]?.z)&&u.push(`rotateZ(${a[o].z}deg)`),d&&(e(a?.[o]?.x)&&u.push(`rotateX(${a[o].x}deg)`),e(a?.[o]?.y)&&u.push(`rotateY(${a[o].y}deg)`))),e(i)&&(e(i?.[o]?.x)&&u.push(`translateX(${i[o].x})`),e(i?.[o]?.y)&&u.push(`translateY(${i[o].y})`)),e(s)&&u.push(s?"scaleX(-1)":""),e(l)&&u.push(l?"scaleY(-1)":""),0===u.length?"":c("transform",u.join(" "))},s=n?`${o}:hover`:o;return`\n\t\t${s} {\n\t\t\t${i(t,"desktop")}\n\t\t}\n\t\t${r}{\n\t\t\t${s} {\n\t\t\t\t${i(t,"tablet")}\n\t\t\t}\n\t\t}\n\t\t${a}{\n\t\t\t${s} {\n\t\t\t\t${i(t,"mobile")}\n\t\t\t}\n\t\t}\n\t`},x=t=>{const{padding:e,margin:o,height:n,width:r}=t||{},a=(t,e)=>c(t,e),i=(t,e,o)=>a(t,e?.[t]?.[o])+a(`min-${t}`,e?.min?.[o])+a(`max-${t}`,e?.max?.[o]),s=t=>c("padding",b(t)),l=t=>c("margin",b(t));return{desktop:s(e?.desktop)+l(o?.desktop)+i("height",n,"desktop")+i("width",r,"desktop"),tablet:s(e?.tablet)+l(o?.tablet)+i("height",n,"tablet")+i("width",r,"tablet"),mobile:s(e?.mobile)+l(o?.mobile)+i("height",n,"mobile")+i("width",r,"mobile")}},w=t=>{const{normal:e,hover:o}=t||{},n=t=>{const{border:e,radius:o,shadow:n}=t||{},r=c("border-radius",b(o)),a=c("box-shadow",u(n,"box"));return p(e)+r+a};return{normal:n(e),hover:n(o)}},f=t=>{const{zIndex:o,overflow:n}=t||{},r=n?`overflow: ${n};`:"",a=t=>`${c("z-index",o?.[t])} ${c("position",e(o?.[t])?"relative":"")}`;return{desktop:a("desktop")+r,tablet:a("tablet"),mobile:a("mobile")}},k=(t,e)=>{const{desktop:o=!1,tablet:n=!1,mobile:r=!1}=t||{},a=e?"opacity: 0.5;":"display: none;",i=t=>t?a:"";return{desktop:i(o),tablet:i(n),mobile:i(r)}},j=(t,o,i=!1,s=!0)=>{const{dimension:d,transform:p,background:u,borderShadow:$,mask:b,animation:m,visibility:h,responsive:j,position:L={},floating:v={},motion:N={},css:z=""}=o||{},D=i?`#${t}>div>div${s?":first-child":""}`:`#${t}>div`;((t,e,o)=>{const n=o?`#${e} > div`:`#${e}`,r=document.querySelector(n);r&&t&&t.type&&(r.setAttribute("data-aos",t.type),r.setAttribute("data-aos-duration",1e3*t.duration||.4),r.setAttribute("data-aos-delay",1e3*t.delay||0),r.classList.contains("aos-init")||(r.classList.add("aos-init"),window?.AOS?.init()),o)&&new IntersectionObserver((t=>{t.forEach((t=>{t.intersectionRatio>.5?r.classList.add("aos-animate"):r.classList.remove("aos-animate")}))}),{threshold:[.5]}).observe(r)})(m,t,i);const T=x(d).desktop+f(h).desktop+((t,e,o)=>{const{transition:n=.4}=t||{},{transition:r=.4}=e||{},{transition:a=200}=o||{};return`transition: background ${n}s, border ${r}s, border-radius ${r}s, box-shadow ${r}s, transform ${a}ms ease-in-out;`})(u,$,p)+(t=>{const{isMask:e=!1,shape:o={type:"circle"},size:n={type:"contain",scale:"100%"},position:r={type:"center center",x:50,y:50},repeat:a="no-repeat"}=t||{};return e?`-webkit-mask-image: ${"custom"===o.type?l(o.url):`url(${(i=o.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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5MS4xMTQzIiBoZWlnaHQ9Ijg4Ljk5OTkiIHZpZXdCb3g9IjAgMCA5MS4xMTQzIDg4Ljk5OTkiPjxwYXRoIGQ9Ik04Mi4xNzQ5LDM3LjUyNjZsMS42MTE5LTEuNjExOWMuOTQ4Ni0uOTQ4Ny02LjM3LTUuOTMwOS03LjA0OTItNi4zNzgyYTQ1LjE1MTYsNDUuMTUxNiwwLDAsMC01Ljc3NjYtMy4zMjQxYy0uMjQ2OC0uMTE1Ny0uNjAxNi0uMzAwOC0uOTg3Mi0uNDc4MnExLjc4MTYtMS44OTcyLDMuNTg2My0zLjc3MTNjLjk0ODYtLjk4LTYuMzYyOC01LjkyMzItNy4wNDkyLTYuMzcwNUE0NC4xNTc5LDQ0LjE1NzksMCwwLDAsNjAuNzUsMTIuMjYwNmwtLjI5My0uMTQ2NSwxLjM5NTktMS41NDI1Yy45NDA5LTEuMDQ4OS02LjMzMTktNS45LTcuMDQ5Mi02LjM3QTQ0LjIxMiw0NC4yMTIsMCwwLDAsNDkuMDQyMi44NjE2Yy0uNTQtLjI0NjctMi4zMTM3LTEuMjY0OC0yLjg0NTgtLjY4NjRRMzIuNzM4MSwxNS4xNjgyLDE4LjExNTQsMjkuMDY2Yy03Ljg0MzYsNy40NS0xNi41NjYzLDE1LjU3OTEtMTguMTA4OCwyNi44Ny0uMTE1Ny44MjUzLDEuMzI2NSwxLjk3NDQsMS43NDMsMi4zMTM4YTQwLjc5OSw0MC43OTksMCwwLDAsNS4zMTM5LDQuMDU2Nyw0NC4yMTc0LDQ0LjIxNzQsMCwwLDAsNS43NjExLDMuMzRjLjY0LjI5MzEsMi4xNzUsMS4yMDMxLDIuODQ1OS42ODY0bDIuMDc0Ny0xLjU1NzljMS40NSwxLjg1ODcsNS45Njk0LDQuNzIsNi42NzEyLDUuMTc1bDEuNDg4NS45NTY0QzI0LjQwMSw3Mi43NjQ3LDIyLjkyLDc0LjYzMTEsMjEuNDcsNzYuNTI4M2MtLjkxLDEuMTg3OCw2LjI2MjUsNS44NjE1LDcuMDQ5Miw2LjM3YTQ0LjE2MzMsNDQuMTYzMywwLDAsMCw1Ljc2MTEsMy4zMzE4Yy42MDE2LjI3NzYsMi4yMjg5LDEuMjM0LDIuODQ1OS42OTQxbDkuMjU1LTguMDk4Yy44MjUyLDIuNTY4MiwxNC41Njg3LDExLjYzLDE1LjY3MTYsOS45NzIxTDkxLjA2LDQ1LjM2MjRDOTEuNjkyLDQ0LjQxMzgsODYuNzI1Miw0MC4zMjYyLDgyLjE3NDksMzcuNTI2NloiLz48L3N2Zz4=",type:"sketch"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCAxMDMgODkiPjxwb2x5Z29uIHBvaW50cz0iNzcuMjU1IDQ0LjUwNSA1MS41IDAgMjUuNzU1IDQ0LjUwNSAwIDg5IDUxLjUgODkgMTAzIDg5IDc3LjI1NSA0NC41MDUiLz48L3N2Zz4=",type:"triangle"},{
3 +svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjEuMDAwMiIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDEyMS4wMDAyIDg5Ij48cGF0aCBkPSJNMTAwLjAxNiw3LjM5NzJDOTAuMjQ1MiwxLjIyLDczLjMwODQtMy42NjYzLDY0LjQyNTUsMy43MTI2LDU2Ljk4MzYsOS44OSw2Mi4wNDY5LDE4LjkxNzQsNTUuMDEsMjUuMzAzMmMtMTAuNiw5LjYxMzQtMjguMTU4OS01LjQ0MjMtNDEuODU4NCwyLjYzMThDLjY3NTcsMzUuMjU0My00LjI3OTEsNTkuMTQ4OSw0LjI3ODEsNzMuNzk3NWMxMy4xMzY5LDIyLjUyNCw1My4xMywxMy44NTQxLDYxLjE5MzYsMTIuMTA2MSw0LjUwMDctLjk5MzEsNTMuNDk1My0xMi4yNjUsNTUuNDY5My00Mi43MDQzQzEyMS44OTgsMjguMjUyOCwxMTEuMSwxNC40MTg1LDEwMC4wMTYsNy4zOTcyWiIvPjwvc3ZnPg==",type:"blob"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCAxMDMgODkiPjxwYXRoIGQ9Ik03Ny4yMTE0LDBIMjUuNzUyM0wwLDQ0LjUwNDUsMjUuNzUyMyw4OUg3Ny4yMTE0TDEwMyw0NC41MDQ1Wk02MS43NjkxLDYyLjI2MUg0MS4yMjE4TDMwLjkzOTEsNDQuNTA0NSw0MS4yMjE4LDI2LjczOUg2MS43NjkxTDcyLjA1MTksNDQuNTA0NVoiLz48L3N2Zz4=",type:"hexagon"}].find((t=>t.type===i))).svg})`};\n\t\t-webkit-mask-size: ${"custom"===n.type?n.scale:n.type};\n\t\t${"custom"===r.type?`${c("-webkit-mask-position-x",r.x)}\n\t\t\t${c("-webkit-mask-position-y",r.y)}`:`${c("-webkit-mask-position",r.type)}`}\n\t\t${"cover"!==n.type?`-webkit-mask-repeat: ${a};`:""}`:"";var i})(b),S=x(d).tablet+f(h).tablet+k(j,i).tablet,C=x(d).mobile+f(h).mobile+k(j,i).mobile,I=w($).normal,A=w($).hover,O=k(j,i).desktop;return`\n\t\t${T||I?`${D} {\n\t\t\t${T}\n\t\t\t${I}\n\t\t}`:""}\n\t\t${A?`${D}:hover {\n\t\t\t${A}\n\t\t}`:""}\n\n\t\t${O?`${n} {\n\t\t\t${D}{\n\t\t\t\t${O}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${S?`${r} {\n\t\t\t${D}{\n\t\t\t\t${S}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${C?`${a} {\n\t\t\t${D}{\n\t\t\t\t${C}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${g(u?.normal,D)}\n\t\t${g(u?.hover,D,!0)}\n\t\t${y(u?.overlay,D)}\n\t\t${y(u?.hoverOverlay,D,!0)}\n\t\t${e(p?.normal)?M(p?.normal,D):""}\n\t\t${e(p?.hover)?M(p?.hover,D,!0):""}\n\t\t${((t,e)=>{const{desktop:o={},tablet:n={},mobile:i={}}=t,s=(t={})=>`\n\t\t${e}{\n\t\t\t${c("position",t?.type)}\n\t\t\t${c("left",t?.horizontal?.left)}\n\t\t\t${c("right",t?.horizontal?.right)}\n\t\t\t${c("top",t?.vertical?.top)}\n\t\t\t${c("bottom",t?.vertical?.bottom)}\n\t\t}\n\t`;return`\n\t\t\n\t\t${o?.type?s(o):""}\n\t\t\n\t\t${r}{\n\t\t\t${n?.type?s(n):""}\n\t\t}\n\n\t\t${a}{\n\t\t\t${i?.type?s(i):""}\n\t\t}\n\t`})(L,D)}\n\t\t${((t,o,n="")=>{const{translate:r={},rotate:a={},scale:i={},isEnabled:s=!1}=t||{};if(!s)return"";const l=[],c=[];return[{name:"Translate",property:"translate",values:r,value:t=>["x","y"].some((o=>e(r?.[o]?.[t])))?`${r?.x?.[t]||0}px ${r?.y?.[t]||0}px`:""},{name:"Rotate",property:"transform",values:a,value:t=>["x","y","z"].filter((o=>e(a?.[o]?.[t]))).map((e=>`rotate${e.toUpperCase()}(${a[e][t]}deg)`)).join(" ")},{name:"Scale",property:"scale",values:i,value:t=>{const o=i?.y?.[t],n=i?.z?.[t];return e(o)||e(n)?e(n)?`1 ${e(o)?o:1} ${n}`:`1 ${o}`:""}}].forEach((({name:t,property:e,values:o,value:r})=>{const a=r("from"),i=r("to");if(!a||!i)return;const s=Number(o?.duration)>0?Number(o.duration):1e3,d=Number(o?.delay)>0?Number(o.delay):0,p=`advFloat${t}${n?`-${n}`:""}`;l.push(`@keyframes ${p}{ from{ ${e}: ${a}; } to{ ${e}: ${i}; } }`),c.push(`${p} ${s}ms ease-in-out ${d}ms infinite alternate`)})),c.length?`\n\t\t${l.join(" ")}\n\t\t${o}{\n\t\t\tanimation: ${c.join(", ")};\n\t\t}\n\t`:""})(v,D,t)}\n\t\t${((t,o,i)=>{const{isEnable:s=!1,vertical:l={},horizontal:c={},transparency:d={},blur:p={},rotate:u={},scale:$={},effectsRelativeTo:b="viewport",effectOn:m=["desktop","tablet-portrait","mobile-portrait"],isMouseEffect:h=!1,mouseTrack:g={},tilt:y={},sticky:M={}}=t||{},x=(t,o)=>e(t)&&!isNaN(t)?Number(t):o,w="viewport"===b,f=w?"view()":"scroll(nearest block)",k=[],j=[],L=[],v=[],N=String(i??"").replace(/[^a-zA-Z0-9]/g,""),z=(t,e,o)=>{k.push(`@keyframes advMe${t}${N}{ ${e} }`),j.push(`advMe${t}${N}`),L.push(f),v.push((t=>{const e=x(t?.top,0),o=x(t?.bottom,100),n=Math.min(e,o),r=Math.max(e,o);return w?`cover ${n}% ${r>=90?"contain 100%":`cover ${r}%`}`:`min(${3*n}vh, ${n}%) min(${3*r}vh, ${r}%)`})(o))};if(s){const t=l?.direction,e=c?.direction,o=t?100*x(l?.speed,4):0,n=e?100*x(c?.speed,4):0;if(o||n){const r="up"===t?-o:o,a="to-left"===e?-n:n,i=[o&&l,n&&c].filter(Boolean);z("Translate",`from{ translate: 0px 0px; } to{ translate: ${a}px ${r}px; }`,{top:Math.min(...i.map((t=>x(t?.top,0)))),bottom:Math.max(...i.map((t=>x(t?.bottom,100))))})}const r=d?.direction;if(r){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}; }`}[r];e&&z("Opacity",e,d)}const a=p?.direction;if(a){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); }`}[a];e&&z("Blur",e,p)}const i=u?.direction;if(i){const t=20*x(u?.level,4);z("Rotate",`from{ rotate: 0deg; } to{ rotate: ${"to-left"===i?-t:t}deg; }`,u)}if($?.direction){const t=.15*x($?.level,4),e=Math.max(0,1-t),o=1+t,n={"scale-up":`from{ scale: 1; } to{ scale: ${o}; }`,"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: ${o}; } 100%{ scale: 1; }`}[$.direction];n&&z("Scale",n,$)}}const D=[];if(h){if(g?.direction){const t="direct"===g?.direction?100:-100;D.push(((e,o)=>`translate(${(e*t).toFixed(2)}px, ${(o*t).toFixed(2)}px)`))}if(y?.direction){const t=12*("direct"===y?.direction?1:-1);D.push(((e,o)=>`perspective(1000px) rotateX(${(o*-t).toFixed(2)}deg) rotateY(${(e*t).toFixed(2)}deg)`))}}const T=(t,e,n)=>{if(!t||!t.defaultView)return;const r=t.defaultView,a=t.bPlMouse||(t.bPlMouse={x:0,y:0,items:new Map,frame:0,last:0}),i=a.items.get(o)||{x:0,y:0};if(i.rate=e,i.build=n,a.items.set(o,i),a.bound)return;a.bound=!0;const s=e=>{const o=a.last?Math.min(e-a.last,100):16.7;a.last=e;let n=!1;a.items.forEach(((e,r)=>{const i=e.el&&e.el.isConnected?e.el:t.querySelector(r);if(!i)return;e.el=i;const s=e.rate*o/1e3,l=a.x-e.x,c=a.y-e.y,d=Math.sqrt(l*l+c*c);d<=s?(e.x=a.x,e.y=a.y):(e.x+=l/d*s,e.y+=c/d*s,n=!0),i.style.transform=e.build(e.x,e.y)})),a.frame=n?r.requestAnimationFrame(s):0,a.last=n?e:0};t.addEventListener("pointermove",(t=>{a.x=2*(t.clientX/r.innerWidth-.5),a.y=2*(t.clientY/r.innerHeight-.5),a.frame||(a.frame=r.requestAnimationFrame(s))}))};if(D.length&&"undefined"!=typeof document){const t=Math.max(.25,1.5*x(g?.speed,x(y?.speed,4))),e=(t,e)=>D.map((o=>o(t,e))).join(" ");T(document,t,e),T(document.querySelector('iframe[name="editor-canvas"]')?.contentDocument,t,e)}const S=t=>M?.[t]||("desktop"===t?M?.undefined:""),C=o.split(">")[0],I=t=>{const e=S(t);return e?`position: sticky; ${e}: 0; z-index: 9;`:(t=>"tablet"===t?S("desktop"):"mobile"===t?S("tablet")||S("desktop"):"")(t)?"position: static;":""},A=Array.isArray(m)?m:e(m)?[m]:[],O=t=>!A.length||A.includes(t)?"":`${o}{ animation-name: none; }`
4 +;return`\n\t\t${j.length?`\n\t\t${k.join(" ")}\n\t\t@supports (animation-timeline: scroll()){\n\t\t\t${o}{\n\t\t\t\tanimation-name: ${j.join(", ")};\n\t\t\t\tanimation-duration: ${j.map((()=>"auto")).join(", ")};\n\t\t\t\tanimation-timing-function: ${j.map((()=>"linear")).join(", ")};\n\t\t\t\tanimation-fill-mode: ${j.map((()=>"both")).join(", ")};\n\t\t\t\tanimation-direction: ${j.map((()=>w?"normal":"reverse")).join(", ")};\n\t\t\t\tanimation-timeline: ${L.join(", ")};\n\t\t\t\tanimation-range: ${v.join(", ")};\n\t\t\t}\n\t\t\t${O("desktop")?`${n}{ ${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")?`${a}{ ${O("mobile-portrait")} }`:""}\n\t\t}\n\t`:""}\n\t\t${D.length?`${o}{ transition-property: background, border, border-radius, box-shadow; }`:""}\n\t\t${I("desktop")?`${C}{ ${I("desktop")} }`:""}\n\t\t${I("tablet")?`${r}{ ${C}{ ${I("tablet")} } }`:""}\n\t\t${I("mobile")?`${a}{ ${C}{ ${I("mobile")} } }`:""}\n\t`})(N,D,t)}\n\t\t${z}\n\t`.replace(/\s+/g," ")},L="b-blocks-comparison-table",v=["default","cards","ribbon","stacked"],N=["left","center","right"],z=t=>N.includes(t)?t:"center",D=(t,e="")=>{if(!t)return e;if("string"==typeof t)return t||e;const{type:o="solid",color:n="",gradient:r="",image:a={}}=t;return"gradient"===o?r||e:"image"===o?a?.url?`url('${a.url}') center center / cover no-repeat`:e:n||e},T=(t,e)=>void 0!==t&&""!==t&&null!==t?t:e,S=t=>t?{type:"solid",color:t}:void 0,C=(t,e)=>t||e?{top:t,right:e,bottom:t,left:e}:void 0,I=t=>t||0===t?`${parseInt(t,10)}px`:"",A=(t={})=>{const e=t;if(!["headerBg","cellPaddingV","tooltipColor","tableMaxWidth","theme"].some((t=>void 0!==e[t]&&""!==e[t]&&null!==e[t])))return e;const o=e.table||{},n=e.header||{},r=e.body||{};return{...e,columns:E(e.columns),content:{...e.content||{},caption:T(e.content?.caption,e.caption),captionPosition:T(e.content?.captionPosition,e.captionPosition),captionColor:T(e.content?.captionColor,e.captionColor),captionTypo:e.content?.captionTypo||e.captionTypo,featuredLabel:T(e.content?.featuredLabel,e.featuredLabel)},table:{...o,theme:T(o.theme,e.theme),alignment:T(o.alignment,e.tableAlignment),cellBorderType:T(o.cellBorderType,e.cellBorderType),stackOnMobile:T(o.stackOnMobile,e.stackOnMobile),stickyHeader:T(o.stickyHeader,e.stickyHeader),stickyFirstColumn:T(o.stickyFirstColumn,e.stickyFirstColumn),showRowStripes:T(o.showRowStripes,e.showRowStripes),borderColor:T(o.borderColor,e.borderColor),border:o.border||e.tableBorder,shadow:o.shadow?.length?o.shadow:e.tableShadow,bg:o.bg||e.tableBg,desktop:{...o.desktop||{},iconPosition:T(o.desktop?.iconPosition,{above:"top",inline:"left",hidden:"hidden"}[e.headerIconPosition]),width:T(o.desktop?.width,e.tableWidth?.desktop||I(e.tableMaxWidth)),radius:o.desktop?.radius?.top?o.desktop.radius:e.tableRadius?.desktop||C(I(e.borderRadius),I(e.borderRadius))}},header:{...n,normal:{bg:n.normal?.bg||e.headerBackground||S(e.headerBg),color:T(n.normal?.color,e.headerTextColor)},hover:{bg:n.hover?.bg||S(e.headerHoverBg),color:T(n.hover?.color,e.headerHoverColor)},typo:n.typo||e.headerTypo},body:{...r,bg:r.bg||e.bodyBackground||S(e.bodyBg),color:T(r.color,e.bodyTextColor),typo:r.typo||e.bodyTypo,desktop:{padding:r.desktop?.padding?.top?r.desktop.padding:e.cellPadding?.desktop||C(I(e.cellPaddingV),I(e.cellPaddingH))}},rowLabel:{...e.rowLabel||{},bg:e.rowLabel?.bg||e.rowLabelBackground||S(e.rowLabelBg),color:T(e.rowLabel?.color,e.rowLabelColor),typo:e.rowLabel?.typo||e.rowLabelTypo},rowColors:{...e.rowColors||{},odd:e.rowColors?.odd||e.rowOdd,even:e.rowColors?.even||e.rowEven,hover:e.rowColors?.hover||e.rowHover,stripe:e.rowColors?.stripe||e.rowStripeBackground||S(e.rowStripeBg),transition:T(e.rowColors?.transition,e.transition)},featured:{...e.featured||{},bg:e.featured?.bg||e.featuredBackground||S(e.featuredBg),color:T(e.featured?.color,e.featuredTextColor),columnBg:e.featured?.columnBg||e.featuredColBackground||S(e.featuredColBg),labelBg:e.featured?.labelBg||e.featuredLabelBackground||S(e.featuredLabelBg),labelColor:T(e.featured?.labelColor,e.featuredLabelColor)},icons:{...e.icons||{},check:T(e.icons?.check,e.checkIcon),cross:T(e.icons?.cross,e.crossIcon),checkSvg:T(e.icons?.checkSvg,e.checkIconSvg),crossSvg:T(e.icons?.crossSvg,e.crossIconSvg),checkColor:T(e.icons?.checkColor,e.checkColor),crossColor:T(e.icons?.crossColor,e.crossColor),desktop:{size:T(e.icons?.desktop?.size,e.iconSizes?.desktop||I(e.iconSize))}},tooltip:{...e.tooltip||{},bg:e.tooltip?.bg||e.tooltipBackground,color:T(e.tooltip?.color,e.tooltipColor),typo:e.tooltip?.typo||e.tooltipTypo,arrow:T(e.tooltip?.arrow,e.tooltipArrow),underline:T(e.tooltip?.underline,e.tooltipUnderline),shadow:e.tooltip?.shadow?.length?e.tooltip.shadow:e.tooltipShadow,desktop:{width:T(e.tooltip?.desktop?.width,e.tooltipWidth?.desktop),padding:e.tooltip?.desktop?.padding?.top?e.tooltip.desktop.padding:e.tooltipPadding?.desktop,radius:e.tooltip?.desktop?.radius?.top?e.tooltip.desktop.radius:e.tooltipRadius?.desktop}}}},O=(t=[])=>({feature:t.find((t=>t?.isFeatureColumn))||null,plans:t.filter((t=>!t?.isFeatureColumn))}),E=(t=[],e="Features")=>t.some((t=>t?.isFeatureColumn))?t:[{_key:"col-feature",isFeatureColumn:!0,label:e||"Features"},...t],B=window.ReactJSXRuntime,Y=({attributes:t,id:e,isBackend:o=!1})=>{const n=A(t),{feature:i,plans:s}=O(n.columns||[]),l=[...i?[{column:i,key:"feature"}]:[],...s.map(((t,e)=>({column:t,key:e})))],{advanced:m,content:h={},table:g={},header:y={},body:M={},rowLabel:x={},rowColors:w={},featured:f={},icons:k={},tooltip:v={},cta:N={}}=n,z=g.cellBorderType||"collapse",T=g.border||{},S=g.shadow||[],C=g.bg||{},I=y.typo||{},E=D(y.hover?.bg),Y=y.hover?.color||"",U=M.typo||{},P=w.odd||{},Q=w.even||{},R=w.hover||{},F=w.transition??.2,H=h.captionPosition||"hidden",_=h.captionTypo||{},Z=h.captionColor||"",W=v.bg||{},X=v.color||"",V=v.typo||{},G=v.shadow||[],q=v.arrow,J=v.underline,K=x.typo||{},tt={top:"column",bottom:"column-reverse",left:"row",right:"row-reverse"},et=`#${e}`,ot=`${et} .${L}-scroll`,nt=`${et} .${L}-table`,rt=`${nt} thead th`,at=`${nt} tbody td, ${nt} tbody th, ${nt} tfoot td, ${nt} tfoot th`,it=`${nt} tbody tr`,st=`${nt} caption`,lt=`${nt} tbody th.${L}-row-label`,ct=`${et} .${L}-col__cta`,dt={left:"margin-left: 0; margin-right: auto;",center:"margin-left: auto; margin-right: auto;",right:"margin-left: auto; margin-right: 0;"},pt=`${et} .${L}-tooltip`,ut=`${et} .${L}-tooltip-bubble`,$t=`${et} .${L}-tooltip-arrow`,bt={headerBg:D(y.normal?.bg),headerText:y.normal?.color,featuredBg:D(f.bg),featuredText:f.color,featuredColBg:D(f.columnBg),labelBg:D(f.labelBg),labelText:f.labelColor,rowLabelBg:D(x.bg),rowLabelText:x.color,stripeBg:D(w.stripe),bodyBg:D(M.bg),bodyText:M.color,checkColor:k.checkColor,crossColor:k.crossColor,borderColor:g.borderColor},mt=`${et}.${L}-theme--${g.theme||"default"}`,ht=bt.borderColor||"#e2e8f0",gt=bt.featuredBg||"#2563eb",yt=(t,e)=>`color-mix(in srgb, ${t} ${e}%, transparent)`,Mt=({cards:()=>`\n\t\t\t${mt} ${nt} tbody td,\n\t\t\t${mt} ${nt} tbody th{\n\t\t\t\tborder-bottom: 1px solid ${ht} !important;\n\t\t\t\tborder-bottom-color: ${yt(ht,70)} !important;\n\t\t\t\tbox-shadow: 0 0 0 1px ${ht};\n\t\t\t\tbox-shadow: 0 0 0 1px ${yt(ht,45)};\n\t\t\t}\n\t\t\t${mt} ${nt} thead th.is-featured{ box-shadow: 0 10px 26px ${yt(gt,24)} !important; }\n\t\t\t${mt} ${nt} td.is-featured{\n\t\t\t\tbox-shadow: 0 0 0 1px ${gt} !important;\n\t\t\t\tbox-shadow: 0 0 0 1px ${yt(gt,35)} !important;\n\t\t\t}`}[g.theme]||(()=>""))(),xt=l.map((({column:t,key:e})=>{const o=t?.cta;if(!o)return""
5 +;const n=`${et} [data-col="${e}"] .${L}-col__cta`,r=o.transition,a=[c("background",D(o.normal?.bg||o.bg)),c("color",o.normal?.color||o.color),p(o.border),c("padding",b(o.padding)),c("border-radius",b(o.radius)),""===r||null==r?"":`transition: background ${r}s ease, color ${r}s ease, border-color ${r}s ease;`].filter(Boolean).join(""),i=[c("background",D(o.hover?.bg)),c("color",o.hover?.color)].filter(Boolean).join("");return`${a?`${n}{ ${a} }`:""}${i?`${n}:hover, ${n}:focus-visible{ ${i} }`:""}${Object.keys(o.typo||{}).length?$(n,o.typo).styles:""}`})).join(""),wt=l.map((({column:t,key:e})=>t?.iconColor?`${et} [data-col="${e}"] .${L}-col__icon{ color: ${t.iconColor}; }`:"")).join(""),ft=t=>`\n\t\t${ot}{\n\t\t\t${c("max-width",g?.[t]?.width)}\n\t\t\t${c("border-radius",b(g?.[t]?.radius))}\n\t\t}\n\n\t\t${rt}, ${at}{ ${c("padding",b(M?.[t]?.padding))} }\n\n\t\t${et} .${L}-cell-icon{\n\t\t\t${c("width",k?.[t]?.size)}\n\t\t\t${c("height",k?.[t]?.size)}\n\t\t}\n\n\t\t${et} .${L}-col__icon{\n\t\t\t${c("width",k?.[t]?.headerSize)}\n\t\t\t${c("height",k?.[t]?.headerSize)}\n\t\t\t${"hidden"===g?.[t]?.iconPosition?"display: none;":""}\n\t\t}\n\n\t\t${l.map((({column:e,key:o})=>e?.iconSize?.[t]?`${et} [data-col="${o}"] .${L}-col__icon{ width: ${e.iconSize[t]}; height: ${e.iconSize[t]}; }`:"")).join("")}\n\n\t\t${ct}{\n\t\t\t${c("padding",b(N?.[t]?.padding))}\n\t\t\t${c("border-radius",b(N?.[t]?.radius))}\n\t\t\t${c("margin",b(N?.[t]?.margin))}\n\t\t\t\n\t\t\t${dt[N?.[t]?.alignment]||""}\n\t\t}\n\n\t\t${l.map((({column:e,key:o})=>dt[e?.cta?.alignment?.[t]]?`${et} [data-col="${o}"] .${L}-col__cta{ ${dt[e.cta.alignment[t]]} }`:"")).join("")}\n\n\t\t${et} .${L}-col__head{\n\t\t\t${c("flex-direction",tt[g?.[t]?.iconPosition])}\n\t\t}\n\n\t\t${ut}{\n\t\t\t${c("padding",b(v?.[t]?.padding))}\n\t\t\t${c("border-radius",b(v?.[t]?.radius))}\n\t\t\t${c("max-width",v?.[t]?.width)}\n\t\t}\n\t`;return(0,B.jsx)("style",{dangerouslySetInnerHTML:{__html:`\n\t\t\t${$("",I).googleFontLink}\n\t\t\t${$("",U).googleFontLink}\n\t\t\t${$("",_).googleFontLink}\n\t\t\t${$("",V).googleFontLink}\n\t\t\t${$("",K).googleFontLink}\n\t\t\t${$("",N.typo).googleFontLink}\n\n\t\t\t${ot}{\n\t\t\t\t${c("border-color",bt.borderColor)}\n\t\t\t\t${c("background",bt.bodyBg)}\n\t\t\t}\n\n\t\t\t${nt}{\n\t\t\t\t${c("color",bt.bodyText)}\n\t\t\t\t${c("background",bt.bodyBg)}\n\t\t\t}\n\n\t\t\t${rt}{\n\t\t\t\t${c("background",bt.headerBg)}\n\t\t\t\t${c("color",bt.headerText)}\n\t\t\t}\n\n\t\t\t${rt}.is-featured{\n\t\t\t\t${c("background",bt.featuredBg)}\n\t\t\t\t${c("color",bt.featuredText)}\n\t\t\t}\n\n\t\t\t${et} .${L}-col__featured-badge{\n\t\t\t\t${c("background",bt.labelBg)}\n\t\t\t\t${c("color",bt.labelText)}\n\t\t\t}\n\n\t\t\t${at}{\n\t\t\t\t${c("border-color",bt.borderColor)}\n\t\t\t}\n\n\t\t\t${nt} tbody td.is-featured{ ${c("background",bt.featuredColBg)} }\n\n\t\t\t${lt}{\n\t\t\t\t${c("background",bt.rowLabelBg)}\n\t\t\t\t${c("color",bt.rowLabelText)}\n\t\t\t}\n\t\t\t${$(lt,K).styles}\n\n\t\t\t${ct}{\n\t\t\t\t${c("background",D(N.normal?.bg))}\n\t\t\t\t${c("color",N.normal?.color)}\n\t\t\t\t${p(N.border)}\n\t\t\t\t${c("transition",`background ${N.transition??.2}s ease, color ${N.transition??.2}s ease, border-color ${N.transition??.2}s ease`)}\n\t\t\t}\n\t\t\t${$(ct,N.typo).styles}\n\n\t\t\t${ct}:hover, ${ct}:focus-visible{\n\t\t\t\t${c("background",D(N.hover?.bg))}\n\t\t\t\t${c("color",N.hover?.color)}\n\t\t\t}\n\n\t\t\t${et}.has-sticky-first-col ${nt} tbody th.${L}-row-label{ ${c("background",bt.bodyBg)} }\n\t\t\t${et}.has-sticky-first-col ${nt} thead th:first-child{ ${c("background",bt.headerBg)} }\n\n\t\t\t${et}.has-row-stripes ${nt} tbody tr:nth-child(even) td,\n\t\t\t${et}.has-row-stripes ${nt} tbody tr:nth-child(even) th{ ${c("background",bt.stripeBg)} }\n\n\t\t\t${et} .${L}-cell-icon.is-yes svg{ ${c("color",bt.checkColor)} }\n\t\t\t${et} .${L}-cell-icon.is-no svg{ ${c("color",bt.crossColor)} }\n\n\t\t\t${nt}{\n\t\t\t\t${c("border-collapse","separate"===z?"separate":"collapse")}\n\t\t\t}\n\n\t\t\t${Mt}\n\t\t\t${xt}\n\t\t\t${wt}\n\n\t\t\t${ot}{\n\t\t\t\t${p(T)}\n\t\t\t\t${c("box-shadow",u(S))}\n\t\t\t\t${d(C)}\n\t\t\t}\n\n\t\t\t${$(rt,I).styles}\n\t\t\t${$(at,U).styles}\n\n\t\t\t${rt}:hover{\n\t\t\t\t${c("background",E)}\n\t\t\t\t${c("color",Y)}\n\t\t\t}\n\n\t\t\t${it}:nth-child(odd) td, ${it}:nth-child(odd) th{\n\t\t\t\t${c("background",D(P?.bg))}\n\t\t\t\t${c("color",P?.color)}\n\t\t\t}\n\n\t\t\t${it}:nth-child(even) td, ${it}:nth-child(even) th{\n\t\t\t\t${c("background",D(Q?.bg))}\n\t\t\t\t${c("color",Q?.color)}\n\t\t\t}\n\n\t\t\t${D(R?.bg)||R?.color?`${it}:hover td, ${it}:hover th{\n\t\t\t\t${c("background",D(R?.bg))}\n\t\t\t\t${c("color",R?.color)}\n\t\t\t}`:""}\n\n\t\t\t${rt}, ${at}{\n\t\t\t\t${c("transition",`background ${F}s, color ${F}s`)}\n\t\t\t}\n\t\t\t${ut}{\n\t\t\t\t${c("background",D(W))}\n\t\t\t\t${c("color",X)}\n\t\t\t\t${c("box-shadow",u(G))}\n\t\t\t}\n\t\t\t${$(ut,V).styles}\n\n\t\t\t${$t}{\n\t\t\t\t${c("background",D(W))}\n\t\t\t\t${!1===q?"display: none;":""}\n\t\t\t}\n\n\t\t\t${!1===J?`${pt}{ text-decoration: none; }`:""}\n\n\t\t\t${"hidden"!==H?`${st}{\n\t\t\t\tposition: static;\n\t\t\t\twidth: auto;\n\t\t\t\theight: auto;\n\t\t\t\tmargin: 0;\n\t\t\t\tclip: auto;\n\t\t\t\tclip-path: none;\n\t\t\t\toverflow: visible;\n\t\t\t\tcaption-side: ${"top"===H?"top":"bottom"};\n\t\t\t\tpadding: 8px 0;\n\t\t\t\t${c("color",Z)}\n\t\t\t}`:""}\n\t\t\t${$(st,_).styles}\n\n\t\t\t${ft("desktop")}\n\t\t\t${r}{ ${ft("tablet")} }\n\t\t\t${a}{ ${ft("mobile")} }\n\n\t\t\t${j(e,m,o,!1)}\n\t\t\t`}})},U={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},P={check:(0,B.jsx)("svg",{...U,viewBox:"0 0 512 512",children:(0,B.jsx)("path",{fill:"currentColor",d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"})}),"check-circle":(0,B.jsx)("svg",{...U,viewBox:"0 0 512 512",children:(0,B.jsx)("path",{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm141.6 192.2L235.7 360.6c-3.1 3.1-8.2 3.1-11.3 0L150.4 287c-3.1-3.1-3.1-8.2 0-11.3l24.5-24.5c3.1-3.1 8.2-3.1 11.3 0l43.5 43.5 132.2-131.3c3.1-3.1 8.2-3.1 11.3 0l24.5 24.5c3 3.1 3 8.2-.1 11.3z"})})},Q={times:(0,B.jsx)("svg",{...U,viewBox:"0 0 352 512",children:(0,B.jsx)("path",{fill:"currentColor",d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"})}),"times-circle":(0,B.jsx)("svg",{...U,viewBox:"0 0 512 512",children:(0,B.jsx)("path",{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"})})},R=({attributes:t,isBackend:e=!1})=>{const{content:o={},icons:n={},cta:r={},columns:a=[],rows:i=[]}=A(t),{feature:l,plans:c}=O(a),d=r.position||"top",p=t=>t?.ctaLabel?e||!t.ctaUrl?(0,B.jsx)("span",{className:`${L}-col__cta`,"aria-hidden":e?"true":void 0,children:t.ctaLabel}):(0,B.jsx)("a",{className:`${L}-col__cta`,href:t.ctaUrl,rel:"noopener",children:t.ctaLabel}):null,u=o.caption,$=o.featuredLabel,b=n.check||"check",m=n.cross||"times",h=n.checkSvg||"",g=n.crossSvg||"",y=t=>{const e=t?h:g;return e?(0,B.jsx)("span",{className:`${L}-cell-glyph`,dangerouslySetInnerHTML:{__html:e}
6 +}):t?((t="check")=>P[t]||P.check)(b):((t="times")=>Q[t]||Q.times)(m)},[M,x]=(0,s.useState)(null),w=(0,s.useCallback)(((t,e)=>{const o=t.currentTarget.getBoundingClientRect(),n=window.innerHeight-o.bottom>140;x({text:e,x:o.left+o.width/2,y:n?o.bottom+8:o.top-8,flipped:!n})}),[]),f=(0,s.useCallback)((()=>x(null)),[]),k=(t,e)=>(0,B.jsxs)(B.Fragment,{children:[e&&(t?.badge||$)?(0,B.jsx)("span",{className:`${L}-col__featured-badge`,"aria-hidden":"true",children:t?.badge||$}):null,t?.icon||t?.label?(0,B.jsxs)("span",{className:`${L}-col__head`,children:[t?.icon?(0,B.jsx)("span",{className:`${L}-col__icon`,dangerouslySetInnerHTML:{__html:t.icon}}):null,t?.label?(0,B.jsx)("span",{className:`${L}-col__label`,children:t.label}):null]}):null,t?.subtitle?(0,B.jsx)("span",{className:`${L}-col__subtitle`,children:t.subtitle}):null,"top"===d?p(t):null]}),j=c.findIndex((t=>t?.isFeatured)),v=u||"Feature comparison across plans";if(!(c.length>0&&i.length>0))return(0,B.jsx)("p",{className:`${L}-empty`,children:"No comparison data to display. Add columns and rows in the block sidebar."});const N=M?(0,B.jsxs)("div",{className:`${L}-tooltip-bubble${M.flipped?" is-flipped":""}`,style:{left:`${M.x}px`,top:`${M.y}px`},role:"tooltip",children:[M.text,(0,B.jsx)("span",{className:`${L}-tooltip-arrow`,"aria-hidden":"true"})]}):null;return(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)("div",{className:`${L}-scroll`,role:"region","aria-label":`${v}. Scroll horizontally to see all columns.`,tabIndex:0,children:(0,B.jsxs)("table",{className:`${L}-table`,children:[(0,B.jsx)("caption",{className:`${L}-caption screen-reader-text`,children:v}),(0,B.jsx)("thead",{children:(0,B.jsxs)("tr",{children:[(0,B.jsx)("th",{scope:"col","data-col":"feature",className:`${L}-feature-col`,children:l?.label||l?.icon?k(l,!!l?.isFeatured):(0,B.jsx)("span",{className:"screen-reader-text",children:"Feature"})}),c.map(((t,e)=>{const o=!!t?.isFeatured;return(0,B.jsx)("th",{scope:"col","data-col":e,className:`${L}-col${o?" is-featured":""}`,children:k(t,o)},t?._key||`col-${e}`)}))]})}),(0,B.jsx)("tbody",{children:i.map(((t,e)=>(0,B.jsxs)("tr",{children:[(0,B.jsx)("th",{scope:"row",className:`${L}-row-label`,children:t?.tooltip?(0,B.jsxs)("span",{className:`${L}-tooltip`,tabIndex:0,onMouseEnter:e=>w(e,t.tooltip),onMouseLeave:f,onFocus:e=>w(e,t.tooltip),onBlur:f,children:[t?.label||(0,B.jsx)("span",{className:"screen-reader-text",children:"Feature"}),(0,B.jsx)("span",{className:"screen-reader-text",children:t.tooltip})]}):t?.label||(0,B.jsx)("span",{className:"screen-reader-text",children:"Feature"})}),c.map(((e,o)=>{const n=t?.cells?.[o]||{type:"icon",value:!1,text:""},r=`${L}-cell${o===j?" is-featured":""}`;return"text"===n.type?(0,B.jsx)("td",{"data-col":o,"data-label":c[o]?.label||"",className:r,children:n.text||(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)("span",{"aria-hidden":"true",children:"—"}),(0,B.jsx)("span",{className:"screen-reader-text",children:"Not specified"})]})},o):(0,B.jsx)("td",{"data-col":o,"data-label":c[o]?.label||"",className:r,children:(0,B.jsxs)("span",{className:`${L}-cell-icon ${n.value?"is-yes":"is-no"}`,children:[y(!!n.value),(0,B.jsx)("span",{className:"screen-reader-text",children:n.value?"Yes":"No"})]})},o)}))]},t?._key||`row-${e}`)))}),"bottom"===d&&c.some((t=>t?.ctaLabel))?(0,B.jsx)("tfoot",{children:(0,B.jsxs)("tr",{children:[(0,B.jsx)("th",{scope:"row","data-col":"feature",className:`${L}-row-label`,children:p(l)}),c.map(((t,e)=>(0,B.jsx)("td",{"data-col":e,className:`${L}-cell ${L}-cta-cell${e===j?" is-featured":""}`,children:p(t)},t?._key||`cta-${e}`)))]})}):null]})}),N]})};document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".wp-block-b-blocks-comparison-table[data-attributes]").forEach((e=>{let o={};try{const t=e.dataset.attributes;t&&"undefined"!==t&&""!==t&&(o=JSON.parse(t))}catch(t){o={}}e.className=`${e.className} ${((t={})=>{const e=A(t).table||{};return[`${L}-block`,`${L}-theme--${o=e.theme,v.includes(o)?o:"default"}`,`${L}-align--${z(e.alignment)}`,e.showRowStripes?"has-row-stripes":"",e.stickyHeader?"has-sticky-header":"",!1===e.stickyFirstColumn?"":"has-sticky-first-col",e.stackOnMobile?"is-stacked-mobile":""].filter(Boolean).join(" ");var o})(o)}`.trim(),(0,t.createRoot)(e).render((0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(Y,{attributes:o,id:e.id}),(0,B.jsx)(R,{attributes:o})]})),e.removeAttribute("data-attributes")}))}))})();