| @@ -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),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}},i="@media only screen and (max-width: 1024px)",o="@media only screen and (max-width: 640px)",s=window.React,a=t=>{const e=n(t);return e?`url('${e.replace(/['"()]/g,"")}')`:"none"},l=(t,n)=>e(n)?`${t}: ${n};`:"",r=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""},c=t=>{const{position:n="center center",xPosition:i=0,yPosition:o=0,attachment:s="",repeat:a="no-repeat",size:l="cover",customSize:r="0px"}=t||{},c=t=>"initial"!==t||e(t);return`\n\t\t${c(n)?`background-position: ${"custom"===n?`${i} ${o}`:n};`:""}\n\t\t${s&&c(s)?`background-attachment: ${s};`:""}\n\t\t${c(a)?`background-repeat: ${a};`:""}\n\t\t${c(l)?`background-size: ${"custom"===l?`${r} auto`:l};`:""}\n\t`},d=(t={})=>t?{desktop:e(t.url)?`background-image: ${a(t.url)}; ${c(t?.desktop)}`:"",tablet:e(t.url)?c(t?.tablet):"",mobile:e(t.url)?c(t?.mobile):""}:"",p=(t,s,a=!1)=>{const{type:r="color",color:c,gradient:p,img:g,video:$}=t||{},m="color"===r?l("background",c):"gradient"===r?(t=>{const{type:n="linear",radialType:i="ellipse",colors:o=[],centerPositions:s={x:0,y:0},angel:a=0}=t||{};if(e(t)){const t=o?.map((({color:t,position:e})=>`${t} ${e}%`)),e=`linear-gradient(${a}deg, ${t})`;return l("background","radial"===n?`radial-gradient(${i} at ${s?.x}% ${s?.y}%,${t})`:e)}return""})(p):"image"===r?d(g).desktop:"",u="image"===r?d(g).tablet:"",b="image"===r?d(g).mobile:"",M=a?`${s}:hover`:s;return`\n\t\t${"video"===r?((t,e)=>{const{url:i,loop:o}=t||{},s=document.querySelector(e),a=s?.querySelector(".bPlVideo"),l=document.createElement("video");if(l.muted=!0,l.autoplay=!0,l.classList.add("bPlVideo"),!a&&s&&i){const t=n(i);if(t){const e=document.createElement("source");e.src=t,l.appendChild(e),s.appendChild(l)}}return l.loop=o,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}`})($,s):""}\n\n\t\t${m?`${M}{\n\t\t\t${m}\n\t\t}`:""}\n\n\t\t${u?`${i} {\n\t\t\t${M}{\n\t\t\t\t${u}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${b?`${o} {\n\t\t\t${M}{\n\t\t\t\t${b}\n\t\t\t}\n\t\t}`:""}\n\t`.replace(/\s+/g," ").trim()},g=(t,n,i=!1)=>{const{isEnabled:o,colors:s,opacity:a=1,blend:r,filter:c="",blur:d=0,brightness:g=100,contrast:$=100,saturation:m=100,hue:u=0,position:b={top:0,right:0,bottom:0,left:0},zIndex:M=-1}=t||{},h=`${100!==g?`brightness(${g}%)`:""} ${100!==$?`contrast(${$}%)`:""} ${100!==m?`saturate(${m}%)`:""} ${0!==d?`blur(${d}px)`:""} ${0!==u?`hue-rotate(${u}deg)`:""}`,x=`${c}: ${c?h:""}; -webkit-${c}: ${c?h:""};`,w=i?`${n}:hover::after`:`${n}::after`;return o?`\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:${M};\n\t\t}\n\t\t${p(s,w,!1)}\n\t\t${w}{\n\t\t\t${l("opacity",a)}\n\t\t\t${l("mix-blend-mode",r)}\n\t\t\t${x}\n\t\t}\n\t`.replace(/\s+/g," ").trim():""},$=(t,n,s=!1)=>{const a=(t,n="desktop")=>{if(!e(t))return"";const{skew:i,scale:o,rotate:s,offset:a,flipX:r,flipY:c}=t,{threeDRotate:d}=s||{},{isProportion:p}=o||{},g=[];return e(i)&&(e(i?.[n]?.x)&&g.push(`skewX(${i[n].x}deg)`),e(i?.[n]?.y)&&g.push(`skewY(${i[n].y}deg)`)),p?e(o?.[n]?.scale)&&g.push(`scale(${o[n].scale})`):(e(o?.[n]?.x)&&g.push(`scaleX(${o[n].x})`),e(o?.[n]?.y)&&g.push(`scaleY(${o[n].y})`)),e(s)&&(e(s?.[n]?.z)&&g.push(`rotateZ(${s[n].z}deg)`),d&&(e(s?.[n]?.x)&&g.push(`rotateX(${s[n].x}deg)`),e(s?.[n]?.y)&&g.push(`rotateY(${s[n].y}deg)`))),e(a)&&(e(a?.[n]?.x)&&g.push(`translateX(${a[n].x})`),e(a?.[n]?.y)&&g.push(`translateY(${a[n].y})`)),e(r)&&g.push(r?"scaleX(-1)":""),e(c)&&g.push(c?"scaleY(-1)":""),0===g.length?"":l("transform",g.join(" "))},r=s?`${n}:hover`:n;return`\n\t\t${r} {\n\t\t\t${a(t,"desktop")}\n\t\t}\n\t\t${i}{\n\t\t\t${r} {\n\t\t\t\t${a(t,"tablet")}\n\t\t\t}\n\t\t}\n\t\t${o}{\n\t\t\t${r} {\n\t\t\t\t${a(t,"mobile")}\n\t\t\t}\n\t\t}\n\t`},m=t=>{const{padding:e,margin:n,height:i,width:o}=t||{},s=(t,e)=>l(t,e),a=(t,e,n)=>s(t,e?.[t]?.[n])+s(`min-${t}`,e?.min?.[n])+s(`max-${t}`,e?.max?.[n]),c=t=>l("padding",r(t)),d=t=>l("margin",r(t));return{desktop:c(e?.desktop)+d(n?.desktop)+a("height",i,"desktop")+a("width",o,"desktop"),tablet:c(e?.tablet)+d(n?.tablet)+a("height",i,"tablet")+a("width",o,"tablet"),mobile:c(e?.mobile)+d(n?.mobile)+a("height",i,"mobile")+a("width",o,"mobile")}},u=t=>{const{normal:e,hover:n}=t||{},i=t=>{const{border:e,radius:n,shadow:i}=t||{},o=l("border-radius",r(n)),s=l("box-shadow",((t,e="box")=>{let n="";return t?.map(((i,o)=>{const{hOffset:s="0px",vOffset:a="0px",blur:l="0px",spreed:r="0px",color:c="#e7f0fe",isInset:d=!1}=i||{},p=d?"inset":"",g=`${s} ${a} ${l}`,$=o+1>=t.length?"":", ";n+="text"===e?`${g} ${c}${$}`:`${g} ${r} ${c} ${p}${$}`})),n||""})(i,"box"));return(t=>{if(!t)return"";const e=t=>{const{color:e="#000000",style:n="solid",width:i="0px"}=t;return`${i} ${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))})(e)+o+s};return{normal:i(e),hover:i(n)}},b=t=>{const{zIndex:n,overflow:i}=t||{},o=i?`overflow: ${i};`:"",s=t=>`${l("z-index",n?.[t])} ${l("position",e(n?.[t])?"relative":"")}`;return{desktop:s("desktop")+o,tablet:s("tablet"),mobile:s("mobile")}},M=(t,e)=>{const{desktop:n=!1,tablet:i=!1,mobile:o=!1}=t||{},s=e?"opacity: 0.5;":"display: none;",a=t=>t?s:"";return{desktop:a(n),tablet:a(i),mobile:a(o)}},h=(t,n,s=!1,r=!0)=>{const{dimension:c,transform:d,background:h,borderShadow:x,mask:w,animation:j,visibility:y,responsive:N,css:k=""}=n||{},v=s?`#${t}>div>div${r?":first-child":""}`:`#${t}>div`;((t,e,n)=>{const i=n?`#${e} > div`:`#${e}`,o=document.querySelector(i);o&&t&&t.type&&(o.setAttribute("data-aos",t.type),o.setAttribute("data-aos-duration",1e3*t.duration||.4),o.setAttribute("data-aos-delay",1e3*t.delay||0),o.classList.contains("aos-init")||(o.classList.add("aos-init"),window?.AOS?.init()),n)&&new IntersectionObserver((t=>{t.forEach((t=>{t.intersectionRatio>.5?o.classList.add("aos-animate"):o.classList.remove("aos-animate")}))}),{threshold:[.5]}).observe(o)})(j,t,s);const L=m(c).desktop+b(y).desktop+((t,e,n)=>{const{transition:i=.4}=t||{},{transition:o=.4}=e||{},{transition:s=200}=n||{};return`transition: background ${i}s, border ${o}s, border-radius ${o}s, box-shadow ${o}s, transform ${s}ms ease-in-out;`})(h,x,d)+(t=>{const{isMask:e=!1,shape:n={type:"circle"},size:i={type:"contain",scale:"100%"},position:o={type:"center center",x:50,y:50},repeat:s="no-repeat"}=t||{};return e?`-webkit-mask-image: ${"custom"===n.type?a(n.url):`url(${(r=n.type,[{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48Y2lyY2xlIGN4PSI0NC41IiBjeT0iNDQuNSIgcj0iNDQuNSIvPjwvc3ZnPg==",type:"circle"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48cGF0aCBkPSJNNzYuMTMzMiw0NC40NzUybDYuMzI4OS02LjMyODVBMjIuMzQ4NiwyMi4zNDg2LDAsMCwwLDUwLjg1LDYuNTQ3NEw0NC41MzIsMTIuODY1MSwzOC4xNiw2LjU0NzRhMjIuMzUyNCwyMi4zNTI0LDAsMSwwLTMxLjYxMiwzMS42MWw2LjMxODEsNi4zMTc3TDYuNTQ3OCw1MC44NDdhMjIuMzUy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OSw2Mi4wNDY5LDE4LjkxNzQsNTUuMDEsMjUuMzAzMmMtMTAuNiw5LjYxMzQtMjguMTU4OS01LjQ0MjMtNDEuODU4NCwyLjYzMThDLjY3NTcsMzUuMjU0My00LjI3OTEsNTkuMTQ4OSw0LjI3ODEsNzMuNzk3NWMxMy4xMzY5LDIyLjUyNCw1My4xMywxMy44NTQxLDYxLjE5MzYsMTIuMTA2MSw0LjUwMDctLjk5MzEsNTMuNDk1My0xMi4yNjUsNTUuNDY5My00Mi43MDQzQzEyMS44OTgsMjguMjUyOCwxMTEuMSwxNC40MTg1LDEwMC4wMTYsNy4zOTcyWiIvPjwvc3ZnPg==",type:"blob"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCAxMDMgODkiPjxwYXRoIGQ9Ik03Ny4yMTE0LDBIMjUuNzUyM0wwLDQ0LjUwNDUsMjUuNzUyMyw4OUg3Ny4yMTE0TDEwMyw0NC41MDQ1Wk02MS43NjkxLDYyLjI2MUg0MS4yMjE4TDMwLjkzOTEsNDQuNTA0NSw0MS4yMjE4LDI2LjczOUg2MS43NjkxTDcyLjA1MTksNDQuNTA0NVoiLz48L3N2Zz4=",type:"hexagon"}].find((t=>t.type===r))).svg})`};\n\t\t-webkit-mask-size: ${"custom"===i.type?i.scale:i.type};\n\t\t${"custom"===o.type?`${l("-webkit-mask-position-x",o.x)}\n\t\t\t${l("-webkit-mask-position-y",o.y)}`:`${l("-webkit-mask-position",o.type)}`}\n\t\t${"cover"!==i.type?`-webkit-mask-repeat: ${s};`:""}`:"";var r})(w),D=m(c).tablet+b(y).tablet+M(N,s).tablet,z=m(c).mobile+b(y).mobile+M(N,s).mobile,f=u(x).normal,I=u(x).hover,T=M(N,s).desktop;return`\n\t\t${L||f?`${v} {\n\t\t\t${L}\n\t\t\t${f}\n\t\t}`:""}\n\t\t${I?`${v}:hover {\n\t\t\t${I}\n\t\t}`:""}\n\n\t\t${T?`@media only screen and (min-width: 1025px) {\n\t\t\t${v}{\n\t\t\t\t${T}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${D?`${i} {\n\t\t\t${v}{\n\t\t\t\t${D}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${z?`${o} {\n\t\t\t${v}{\n\t\t\t\t${z}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${p(h?.normal,v)}\n\t\t${p(h?.hover,v,!0)}\n\t\t${g(h?.overlay,v)}\n\t\t${g(h?.hoverOverlay,v,!0)}\n\t\t${e(d?.normal)?$(d?.normal,v):""}\n\t\t${e(d?.hover)?$(d?.hover,v,!0):""}\n\n\t\t${k}\n\t`.replace(/\s+/g," ")},x=window.ReactJSXRuntime,w=({tagName:t,...e})=>(0,x.jsx)(t,{...e}),j=t=>(0,x.jsx)("svg",{height:16,width:16,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",...t,children:(0,x.jsx)("path",{d:"M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"})}),y=t=>(0,x.jsx)("svg",{height:16,width:16,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",...t,children:(0,x.jsx)("path",{d:"M256 0a256 256 0 1 0 0 512A256 256 0 1 0 256 0zM135 241c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l87 87 87-87c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L273 345c-9.4 9.4-24.6 9.4-33.9 0L135 241z"})}),N=t=>(0,x.jsx)("svg",{height:16,width:16,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",...t,children:(0,x.jsx)("path",{d:"M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"})}),k=t=>(0,x.jsx)("svg",{height:16,width:16,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",...t,children:(0,x.jsx)("path",{d:"M246.6 470.6c-12.5 12.5-32.8 12.5-45.3 0l-160-160c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L224 402.7 361.4 265.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-160 160zm160-352l-160 160c-12.5 12.5-32.8 12.5-45.3 0l-160-160c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L224 210.7 361.4 73.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3z"})}),v=t=>(0,x.jsx)("svg",{height:16,width:16,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",...t,children:(0,x.jsx)("path",{d:"M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"})}),L=t=>(0,x.jsx)("svg",{height:16,width:16,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",...t,children:(0,x.jsx)("path",{d:"M384 480c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0zM224 352c-6.7 0-13-2.8-17.6-7.7l-104-112c-6.5-7-8.2-17.2-4.4-25.9s12.5-14.4 22-14.4l208 0c9.5 0 18.2 5.7 22 14.4s2.1 18.9-4.4 25.9l-104 112c-4.5 4.9-10.9 7.7-17.6 7.7z"})}),D=t=>(0,x.jsx)("svg",{height:16,width:16,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",...t,children:(0,x.jsx)("path",{d:"M384 432c8.8 0 16-7.2 16-16l0-320c0-8.8-7.2-16-16-16L64 80c-8.8 0-16 7.2-16 16l0 320c0 8.8 7.2 16 16 16l320 0zm64-16c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320zM224 352c-6.7 0-13-2.8-17.6-7.7l-104-112c-6.5-7-8.2-17.2-4.4-25.9s12.5-14.4 22-14.4l208 0c9.5 0 18.2 5.7 22 14.4s2.1 18.9-4.4 25.9l-104 112c-4.5 4.9-10.9 7.7-17.6 7.7z"})}),z=[{label:"Circle",value:"fa-solid fa-circle",icon:(0,x.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:(0,x.jsx)("path",{d:"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z"})})},{label:"Dot Circle",value:"fa-solid fa-circle-dot",icon:(0,x.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:(0,x.jsx)("path",{d:"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-352a96 96 0 1 1 0 192 96 96 0 1 1 0-192z"})})},{label:"Squire",value:"fa-solid fa-square-full",icon:(0,x.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:(0,x.jsx)("path",{d:"M0 0H512V512H0V0z"})})},{label:"Circle",value:"fa-regular fa-circle",icon:(0,x.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:(0,x.jsx)("path",{d:"M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"})})},{label:"Dot Circle",value:"fa-regular fa-circle-dot",icon:(0,x.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:(0,x.jsx)("path",{d:"M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm256-96a96 96 0 1 1 0 192 96 96 0 1 1 0-192z"})})}],f=[{label:"Chevron Down",value:"fa-solid fa-chevron-down",icon:(0,x.jsx)(j,{})},{label:"Circle Chevron Down",value:"fa-solid fa-circle-chevron-down",icon:(0,x.jsx)(y,{})},{label:"Angel Down",value:"fa-solid fa-angle-down",icon:(0,x.jsx)(N,{})},{label:"Angel Double Down",value:"fa-solid fa-angles-down",icon:(0,x.jsx)(k,{})},{label:"Caret Down",value:"fa-solid fa-caret-down",icon:(0,x.jsx)(v,{})},{label:"Squire Caret Down",value:"fa-solid fa-square-caret-down",icon:(0,x.jsx)(L,{})},{label:"Squire Caret Down",value:"fa-regular fa-square-caret-down",icon:(0,x.jsx)(D,{})}],I=[{label:"Chevron Up",value:"fa-solid fa-chevron-up",icon:(0,x.jsx)(j,{className:"tbcnb-rotate180deg"})},{label:"Circle Chevron Up",value:"fa-solid fa-circle-chevron-up",icon:(0,x.jsx)(y,{className:"tbcnb-rotate180deg"})},{label:"Angel Up",value:"fa-solid fa-angle-up",icon:(0,x.jsx)(N,{className:"tbcnb-rotate180deg"})},{label:"Angel Double Up",value:"fa-solid fa-angles-up",icon:(0,x.jsx)(k,{className:"tbcnb-rotate180deg"})},{label:"Caret Up",value:"fa-solid fa-caret-up",icon:(0,x.jsx)(v,{className:"tbcnb-rotate180deg"})},{label:"Squire Caret Up",value:"fa-solid fa-square-caret-up",icon:(0,x.jsx)(L,{className:"tbcnb-rotate180deg"})},{label:"Squire Caret Up",value:"fa-regular fa-square-caret-up",icon:(0,x.jsx)(D,{className:"tbcnb-rotate180deg"})}],T=()=>(0,x.jsx)("div",{style:{padding:"14px"},children:(0,x.jsx)("p",{style:{margin:"0px"},children:"No headings were found on this page!"})}),S=({attributes:t,id:e})=>{const{header:n,boxList:i,markup:o,sticky:s}=t,a=`#${e}`,r=`${a} .bblocks-tbcn-accordion`,c=`${r} .bblocks-tbcn-accordion-title`,d=`${r} .bblocks-tbcn-panel`,p=`${d} .bblocks-tbcn-panel-table-container-order-list`,g=`${p} .bblocks-tbcn-panel-table-list-items`,$=`${a} ol li a.bblocks-tbcn-table-content-anchor-list`;return(0,x.jsx)(x.Fragment,{children:(0,x.jsx)("style",{children:`\n ${$}:hover{\n color:${i.hTxtColor} !important; \n text-decoration:${i.hTxtDecoration?"underline":"none"} !important;\n }\n ${d} :where(ol){\n list-style:none !important;\n }\n ${$}{\n color:${i.nTxtColor} !important;\n text-decoration:${i.nTxtDecoration?"underline":"none"};\n\n }\n ${r}.sticky {\n ${l("width",s.width.desktop)}\n z-index: ${s.zIndex.desktop} !important;\n position:fixed;\n }\n ${["left","right"].map((t=>`${r}.sticky.${t}{\n ${t}:${s[t].desktop};\n }`)).join("")}\n ${p} .bblocks-tbcn-list-item-content{\n display:flex;\n align-items:center;\n gap:5px;\n }\n ${["top","bottom"].map((t=>`${r}.sticky.${t}{\n ${t}:${s[t]?.desktop}\n }`)).join("")}\n ${"center"===s.verticalAlign?`${r}.sticky.center{top:50%; transform: translateY(-50%)}`:null}\n ${"decimal"===o.view?`\n \n ${p}{\n list-style-type:none;\n margin:0px;\n }\n ${g}::marker{\n color:${o.color};\n font-size:${o.markupSize.desktop};\n }\n ${g} .bblocks-tbcn-list-item-content>span{\n color:${o.color};\n font-size:${o.markupSize.desktop};\n }\n ${g} .bblocks-tbcn-list-item-content{\n gap:0px;\n }\n `:`\n ${p}{\n list-style-type:none;\n }\n ${g} .bblocks-tbcn-list-item-content>span>svg{\n color:${o.color};\n fill:${o.color};\n height:${o.markupSize.desktop} !important;\n }\n `}\n ${c}{\n background:${n.bgColor};\n border-bottom: ${n.separatorWidth}px solid ${n.separatorColor};\n margin-bottom:-2px;\n }\n ${c}>svg{\n fill:${n.iconColor}\n }\n ${r}>.panel{\n ${i.maxHeight.desktop>0?"max-height:"+i.maxHeight.desktop+"px;":""}\n ${i.maxHeight.desktop>0?"overflow-y:auto;":""}\n \n \n }\n ${$}.item-active{\n color:${i.hTxtColor} !important;\n }\n ${g}{\n padding-top:${i.padding.desktop?.top};\n padding-bottom:${i.padding.desktop?.bottom};\n padding-right:${i.padding.desktop?.right};\n }\n ${p}{\n padding-left:${i.padding.desktop?.left};\n }\n @media screen and (min-width: 1024px) {\n ${r}.sticky {\n z-index: ${s.zIndex.desktop} !important;\n position:${s?.device.includes("Desktop")?"fixed":"initial"};\n }\n ${["left","right"].map((t=>`${r}.sticky.${t}{\n ${t}:${s[t].desktop};\n }`)).join("")}\n ${["top","bottom"].map((t=>`${r}.sticky.${t}{\n ${t}:${s[t].desktop}\n }`)).join("")}\n ${"center"===s.verticalAlign?`${r}.sticky.center{top:50%; transform: translateY(-50%)}`:null}\n ${d}{\n ${i.maxHeight.desktop>0?"max-height:"+i.maxHeight.desktop+"px;":""}\n ${i.maxHeight.desktop>0?"overflow-y:auto;":""}\n }\n ${g}{\n padding-top:${i.padding.desktop?.top};\n padding-bottom:${i.padding.desktop?.bottom};\n padding-right:${i.padding.desktop?.right};\n }\n ${p}{\n padding-left:${i.padding.desktop?.left};\n }\n ${"decimal"===o.view?`\n ${g}::marker{\n font-size:${o.markupSize.desktop};\n }\n `:`\n ${p}{\n list-style-type:none;\n }\n\n ${g} .bblocks-tbcn-list-item-content>span>svg{\n color:${o.color};\n fill:${o.color};\n height:${o.markupSize.desktop} !important;\n }\n `}\n }\n @media only screen and (min-width:641px) and (max-width: 1024px){\n ${r}.sticky {\n ${l("width",s.width.tablet)}\n z-index: ${s.zIndex.tablet} !important;\n position:${s.device.includes("Tablet")?"fixed":"initial"};\n }\n ${["left","right"].map((t=>`${r}.sticky.${t}{\n ${t}:${s[t].tablet};\n }`)).join("")}\n ${["top","bottom"].map((t=>`${r}.sticky.${t}{\n ${t}:${s[t].tablet}\n }`)).join("")}\n ${"center"===s.verticalAlign?`${r}.sticky.center{top:50%; transform: translateY(-50%)}`:null}\n ${d}{\n ${i.maxHeight.tablet>0?"max-height:"+i.maxHeight.tablet+"px;":""}\n ${i.maxHeight.tablet>0?"overflow-y:auto;":""}\n }\n ${g}{\n padding-top:${i.padding.tablet?.top};\n padding-bottom:${i.padding.tablet?.bottom};\n padding-right:${i.padding.tablet?.right};\n }\n ${p}{\n padding-left:${i.padding.tablet?.left};\n }\n ${"decimal"===o.view?`\n ${g}::marker{\n font-size:${o.markupSize.tablet};\n }\n `:`\n ${p}{\n list-style-type:none;\n }\n ${g}>span>svg{\n color:${o.color};\n fill:${o.color};\n height:${o.markupSize.tablet} !important;\n }\n `}\n\n }\n @media only screen and (max-width: 640px) {\n ${r}.sticky {\n ${l("width",s.width.mobile)}\n z-index: ${s.zIndex.mobile} !important;\n position:${s.device.includes("Mobile")?"fixed":"initial"};\n }\n ${["left","right"].map((t=>`${r}.sticky.${t}{\n ${t}:${s[t].mobile};\n }`)).join("")}\n ${["top","bottom"].map((t=>`${r}.sticky.${t}{\n ${t}:${s[t].mobile}\n }`)).join("")}\n ${"center"===s.verticalAlign?`${r}.sticky.center{top:50%; transform: translateY(-50%)}`:null}\n ${d}{\n ${i.maxHeight.mobile>0?"max-height:"+i.maxHeight.mobile+"px;":""}\n ${i.maxHeight.mobile>0?"overflow-y:auto;":""}\n }\n ${g}{\n padding-top:${i.padding.mobile?.top};\n padding-bottom:${i.padding.mobile?.bottom};\n padding-right:${i.padding.mobile?.right};\n }\n ${p}{\n padding-left:${i.padding.mobile?.left};\n }\n ${"decimal"===o.view?`\n ${g}::marker{\n font-size:${o.markupSize.mobile};\n }\n `:`\n ${p}{\n list-style-type:none;\n }\n ${g} .bblocks-tbcn-list-item-content>span>svg{\n color:${o.color};\n fill:${o.color};\n height:${o.markupSize.mobile} !important;\n }\n `}\n }\n `})})},C=({items:t,markup:e,bullets:n,contentsAttr:i,setContentsAttr:o,className:a="",prefix:l=""})=>t&&0!==t.length?(0,x.jsx)("ol",{className:`bblocks-tbcn-panel-table-container-order-list ${a}`,children:t.map(((t,a)=>{const r=l?`${l}.${a+1}`:`${a+1}`;return"bblocks-tbcn-content-table-title"!==t.className&&(0,x.jsxs)("li",{className:"bblocks-tbcn-panel-table-list-items",children:[(0,x.jsxs)("div",{className:"bblocks-tbcn-list-item-content",children:["decimal"===e.view?(0,x.jsxs)("span",{className:"bblocks-tbcn-decimal-number",children:[r,"."]}):(0,x.jsx)("span",{children:n.map((({value:t,icon:n},i)=>t===e.icon&&(0,x.jsx)(s.Fragment,{children:n},`bullet-${i}`)))}),(0,x.jsx)("a",{className:"bblocks-tbcn-table-content-anchor-list "+(t.id===i?"item-active":""),href:`#${t.id}`,onClick:()=>o(t.id),children:t.contents})]}),t.children&&t.children.length>0&&(0,x.jsx)(C,{items:t.children,markup:e,bullets:n,contentsAttr:i,setContentsAttr:o,className:"bblocks-tbcn-nested-list",prefix:r})]},t.id+t.contents+l)}))}):null,A=C,O=({attributes:t,id:e})=>{const n=(0,s.useRef)(),i=(0,s.useRef)(),o=(0,s.useRef)(),[a,l]=(0,s.useState)(!1),[r,c]=(0,s.useState)(),[d,p]=(0,s.useState)(),{header:g,title:$,tagName:m,minimize:u,markup:b,sticky:M,headings:h,isNested:j=!1}=t;((t,e)=>{const n=(0,s.useCallback)((()=>{const n=document.body,i=t.join(", "),o=n.querySelectorAll(i);Array.from(o).forEach((t=>{const n=e.find((e=>e.tag===t.tagName&&e.contents===t.textContent));if(n){const e=document.createElement("span");e.setAttribute("id",n.id),t.insertAdjacentElement("beforebegin",e)}}))}),[t,e]),i=(0,s.useCallback)((()=>{const t=window.location.hash;t&&setTimeout((()=>{const e=document.querySelector(`[href='${t}']`);e?.click()}),1e3)}),[]);(0,s.useEffect)((()=>{n(),i()}),[n,i])})(m,h),(0,s.useEffect)((()=>{p(o?.current?.scrollHeight+"px")}),[]);const y=j?(t=>{const e=[],n=[{level:0,children:e}];return t.forEach((t=>{const e=parseInt(t.tag.replace("H",""),10),i={...t,children:[]};for(;n.length>1&&n[n.length-1].level>=e;)n.pop();n[n.length-1].children.push(i),n.push({level:e,children:i.children})})),e})(t.headings):t.headings;return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(S,{toggle:a,attributes:t,id:e}),(0,x.jsxs)("div",{ref:n,className:`bblocks-tbcn-accordion ${M.toggle?"sticky":""} ${M.horizonAlign} ${M.verticalAlign}`,children:[(0,x.jsxs)("div",{ref:i,onClick:()=>l(!a),className:"bblocks-tbcn-accordion-title",children:[(0,x.jsx)(w,{className:"bblocks-tbcn-content-table-title",style:{margin:"0",color:g.txtColor},tagName:$?.tag,dangerouslySetInnerHTML:{__html:$?.text}}),u.toggle&&(0,x.jsx)(x.Fragment,{children:a?f.map((({value:t,icon:e})=>t===u.expandIcon&&e)):I.map((({value:t,icon:e})=>t===u.collapseIcon&&e))})]}),(0,x.jsx)("div",{ref:o,style:{height:a&&u.toggle?"0px":d},className:"bblocks-tbcn-panel",children:h?.length>0?(0,x.jsx)(x.Fragment,{children:(0,x.jsx)(A,{items:y,markup:b,bullets:z,contentsAttr:r,setContentsAttr:c,className:"bblocks-tbcn-panel-table-container-order-list"})}):(0,x.jsx)(T,{})})]})]})},Y=({attributes:t,id:e})=>(0,x.jsx)(O,{attributes:t,id:e});document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".wp-block-b-blocks-table-of-content").forEach((e=>{const n=JSON.parse(e.dataset.attributes);(0,t.createRoot)(e).render((0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("style",{dangerouslySetInnerHTML:{__html:`${h(e.id,n.advanced,!1)}`}}),(0,x.jsx)(Y,{attributes:n,id:e.id})]})),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}};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,i=n.toLowerCase(),o=e.value;if(this.options.removeEvents&&i.startsWith("on"))return void t.removeAttribute(n);if(this.options.removeExternalResources&&("href"===i||i.endsWith(":href"))&&!this.isAllowedUrl(o))return void t.removeAttribute(n);const a=i.replace("xlink:","");this.allowedAttributeSet.has(i)||this.allowedAttributeSet.has(a)?this.options.removeExternalResources&&this.hasExternalUrl(o)?t.removeAttribute(n):"style"===i&&this.options.sanitizeStyle&&t.setAttribute(n,this.sanitizeCss(o)):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 i="@media only screen and (min-width: 1025px)",o="@media only screen and (max-width: 1024px)",a="@media only screen and (max-width: 640px)",s=window.React,r=t=>{const e=n(t);return e?`url('${e.replace(/['"()]/g,"")}')`:"none"},l=(t,n)=>e(n)?`${t}: ${n};`:"",c=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""},d=t=>{const{position:n="center center",xPosition:i=0,yPosition:o=0,attachment:a="",repeat:s="no-repeat",size:r="cover",customSize:l="0px"}=t||{},c=t=>"initial"!==t||e(t);return`\n\t\t${c(n)?`background-position: ${"custom"===n?`${i} ${o}`:n};`:""}\n\t\t${a&&c(a)?`background-attachment: ${a};`:""}\n\t\t${c(s)?`background-repeat: ${s};`:""}\n\t\t${c(r)?`background-size: ${"custom"===r?`${l} auto`:r};`:""}\n\t`},p=(t={})=>t?{desktop:e(t.url)?`background-image: ${r(t.url)}; ${d(t?.desktop)}`:"",tablet:e(t.url)?d(t?.tablet):"",mobile:e(t.url)?d(t?.mobile):""}:"",m=(t,i,s=!1)=>{const{type:r="color",color:c,gradient:d,img:m,video:u}=t||{},$="color"===r?l("background",c):"gradient"===r?(t=>{const{type:n="linear",radialType:i="ellipse",colors:o=[],centerPositions:a={x:0,y:0},angel:s=0}=t||{};if(e(t)){const t=o?.map((({color:t,position:e})=>`${t} ${e}%`)),e=`linear-gradient(${s}deg, ${t})`;return l("background","radial"===n?`radial-gradient(${i} at ${a?.x}% ${a?.y}%,${t})`:e)}return""})(d):"image"===r?p(m).desktop:"",g="image"===r?p(m).tablet:"",b="image"===r?p(m).mobile:"",h=s?`${i}:hover`:i;return`\n\t\t${"video"===r?((t,e)=>{const{url:i,loop:o}=t||{},a=document.querySelector(e),s=a?.querySelector(".bPlVideo"),r=document.createElement("video");if(r.muted=!0,r.autoplay=!0,r.classList.add("bPlVideo"),!s&&a&&i){const t=n(i);if(t){const e=document.createElement("source");e.src=t,r.appendChild(e),a.appendChild(r)}}return r.loop=o,r.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,i):""}\n\n\t\t${$?`${h}{\n\t\t\t${$}\n\t\t}`:""}\n\n\t\t${g?`${o} {\n\t\t\t${h}{\n\t\t\t\t${g}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${b?`${a} {\n\t\t\t${h}{\n\t\t\t\t${b}\n\t\t\t}\n\t\t}`:""}\n\t`.replace(/\s+/g," ").trim()},u=(t,n,i=!1)=>{const{isEnabled:o,colors:a,opacity:s=1,blend:r,filter:c="",blur:d=0,brightness:p=100,contrast:u=100,saturation:$=100,hue:g=0,position:b={top:0,right:0,bottom:0,left:0},zIndex:h=-1}=t||{},x=`${100!==p?`brightness(${p}%)`:""} ${100!==u?`contrast(${u}%)`:""} ${100!==$?`saturate(${$}%)`:""} ${0!==d?`blur(${d}px)`:""} ${0!==g?`hue-rotate(${g}deg)`:""}`,M=`${c}: ${c?x:""}; -webkit-${c}: ${c?x:""};`,y=i?`${n}:hover::after`:`${n}::after`;return o?`\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:${h};\n\t\t}\n\t\t${m(a,y,!1)}\n\t\t${y}{\n\t\t\t${l("opacity",s)}\n\t\t\t${l("mix-blend-mode",r)}\n\t\t\t${M}\n\t\t}\n\t`.replace(/\s+/g," ").trim():""},$=(t,n,i=!1)=>{const s=(t,n="desktop")=>{if(!e(t))return"";const{skew:i,scale:o,rotate:a,offset:s,flipX:r,flipY:c}=t,{threeDRotate:d}=a||{},{isProportion:p}=o||{},m=[];return e(i)&&(e(i?.[n]?.x)&&m.push(`skewX(${i[n].x}deg)`),e(i?.[n]?.y)&&m.push(`skewY(${i[n].y}deg)`)),p?e(o?.[n]?.scale)&&m.push(`scale(${o[n].scale})`):(e(o?.[n]?.x)&&m.push(`scaleX(${o[n].x})`),e(o?.[n]?.y)&&m.push(`scaleY(${o[n].y})`)),e(a)&&(e(a?.[n]?.z)&&m.push(`rotateZ(${a[n].z}deg)`),d&&(e(a?.[n]?.x)&&m.push(`rotateX(${a[n].x}deg)`),e(a?.[n]?.y)&&m.push(`rotateY(${a[n].y}deg)`))),e(s)&&(e(s?.[n]?.x)&&m.push(`translateX(${s[n].x})`),e(s?.[n]?.y)&&m.push(`translateY(${s[n].y})`)),e(r)&&m.push(r?"scaleX(-1)":""),e(c)&&m.push(c?"scaleY(-1)":""), | |
| 2 | +0===m.length?"":l("transform",m.join(" "))},r=i?`${n}:hover`:n;return`\n\t\t${r} {\n\t\t\t${s(t,"desktop")}\n\t\t}\n\t\t${o}{\n\t\t\t${r} {\n\t\t\t\t${s(t,"tablet")}\n\t\t\t}\n\t\t}\n\t\t${a}{\n\t\t\t${r} {\n\t\t\t\t${s(t,"mobile")}\n\t\t\t}\n\t\t}\n\t`},g=t=>{const{padding:e,margin:n,height:i,width:o}=t||{},a=(t,e)=>l(t,e),s=(t,e,n)=>a(t,e?.[t]?.[n])+a(`min-${t}`,e?.min?.[n])+a(`max-${t}`,e?.max?.[n]),r=t=>l("padding",c(t)),d=t=>l("margin",c(t));return{desktop:r(e?.desktop)+d(n?.desktop)+s("height",i,"desktop")+s("width",o,"desktop"),tablet:r(e?.tablet)+d(n?.tablet)+s("height",i,"tablet")+s("width",o,"tablet"),mobile:r(e?.mobile)+d(n?.mobile)+s("height",i,"mobile")+s("width",o,"mobile")}},b=t=>{const{normal:e,hover:n}=t||{},i=t=>{const{border:e,radius:n,shadow:i}=t||{},o=l("border-radius",c(n)),a=l("box-shadow",((t,e="box")=>{let n="";return t?.map(((i,o)=>{const{hOffset:a="0px",vOffset:s="0px",blur:r="0px",spreed:l="0px",color:c="#e7f0fe",isInset:d=!1}=i||{},p=d?"inset":"",m=`${a} ${s} ${r}`,u=o+1>=t.length?"":", ";n+="text"===e?`${m} ${c}${u}`:`${m} ${l} ${c} ${p}${u}`})),n||""})(i,"box"));return(t=>{if(!t)return"";const e=t=>{const{color:e="#000000",style:n="solid",width:i="0px"}=t;return`${i} ${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))})(e)+o+a};return{normal:i(e),hover:i(n)}},h=t=>{const{zIndex:n,overflow:i}=t||{},o=i?`overflow: ${i};`:"",a=t=>`${l("z-index",n?.[t])} ${l("position",e(n?.[t])?"relative":"")}`;return{desktop:a("desktop")+o,tablet:a("tablet"),mobile:a("mobile")}},x=(t,e)=>{const{desktop:n=!1,tablet:i=!1,mobile:o=!1}=t||{},a=e?"opacity: 0.5;":"display: none;",s=t=>t?a:"";return{desktop:s(n),tablet:s(i),mobile:s(o)}},M=(t,n,s=!1,c=!0)=>{const{dimension:d,transform:p,background:M,borderShadow:y,mask:w,animation:f,visibility:j,responsive:v,position:k={},floating:N={},motion:z={},css:L=""}=n||{},D=s?`#${t}>div>div${c?":first-child":""}`:`#${t}>div`;((t,e,n)=>{const i=n?`#${e} > div`:`#${e}`,o=document.querySelector(i);o&&t&&t.type&&(o.setAttribute("data-aos",t.type),o.setAttribute("data-aos-duration",1e3*t.duration||.4),o.setAttribute("data-aos-delay",1e3*t.delay||0),o.classList.contains("aos-init")||(o.classList.add("aos-init"),window?.AOS?.init()),n)&&new IntersectionObserver((t=>{t.forEach((t=>{t.intersectionRatio>.5?o.classList.add("aos-animate"):o.classList.remove("aos-animate")}))}),{threshold:[.5]}).observe(o)})(f,t,s);const S=g(d).desktop+h(j).desktop+((t,e,n)=>{const{transition:i=.4}=t||{},{transition:o=.4}=e||{},{transition:a=200}=n||{};return`transition: background ${i}s, border ${o}s, border-radius ${o}s, box-shadow ${o}s, transform ${a}ms ease-in-out;`})(M,y,p)+(t=>{const{isMask:e=!1,shape:n={type:"circle"},size:i={type:"contain",scale:"100%"},position:o={type:"center center",x:50,y:50},repeat:a="no-repeat"}=t||{};return e?`-webkit-mask-image: ${"custom"===n.type?r(n.url):`url(${(s=n.type,[{svg:"data:image/svg+xml;base64,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UuNzUyM0wwLDQ0LjUwNDUsMjUuNzUyMyw4OUg3Ny4yMTE0TDEwMyw0NC41MDQ1Wk02MS43NjkxLDYyLjI2MUg0MS4yMjE4TDMwLjkzOTEsNDQuNTA0NSw0MS4yMjE4LDI2LjczOUg2MS43NjkxTDcyLjA1MTksNDQuNTA0NVoiLz48L3N2Zz4=",type:"hexagon"}].find((t=>t.type===s))).svg})`};\n\t\t-webkit-mask-size: ${"custom"===i.type?i.scale:i.type};\n\t\t${"custom"===o.type?`${l("-webkit-mask-position-x",o.x)}\n\t\t\t${l("-webkit-mask-position-y",o.y)}`:`${l("-webkit-mask-position",o.type)}`}\n\t\t${"cover"!==i.type?`-webkit-mask-repeat: ${a};`:""}`:"";var s})(w),T=g(d).tablet+h(j).tablet+x(v,s).tablet,I=g(d).mobile+h(j).mobile+x(v,s).mobile,A=b(y).normal,C=b(y).hover,E=x(v,s).desktop;return`\n\t\t${S||A?`${D} {\n\t\t\t${S}\n\t\t\t${A}\n\t\t}`:""}\n\t\t${C?`${D}:hover {\n\t\t\t${C}\n\t\t}`:""}\n\n\t\t${E?`${i} {\n\t\t\t${D}{\n\t\t\t\t${E}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${T?`${o} {\n\t\t\t${D}{\n\t\t\t\t${T}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${I?`${a} {\n\t\t\t${D}{\n\t\t\t\t${I}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${m(M?.normal,D)}\n\t\t${m(M?.hover,D,!0)}\n\t\t${u(M?.overlay,D)}\n\t\t${u(M?.hoverOverlay,D,!0)}\n\t\t${e(p?.normal)?$(p?.normal,D):""}\n\t\t${e(p?.hover)?$(p?.hover,D,!0):""}\n\t\t${((t,e)=>{const{desktop:n={},tablet:i={},mobile:s={}}=t,r=(t={})=>`\n\t\t${e}{\n\t\t\t${l("position",t?.type)}\n\t\t\t${l("left",t?.horizontal?.left)}\n\t\t\t${l("right",t?.horizontal?.right)}\n\t\t\t${l("top",t?.vertical?.top)}\n\t\t\t${l("bottom",t?.vertical?.bottom)}\n\t\t}\n\t`;return`\n\t\t\n\t\t${n?.type?r(n):""}\n\t\t\n\t\t${o}{\n\t\t\t${i?.type?r(i):""}\n\t\t}\n\n\t\t${a}{\n\t\t\t${s?.type?r(s):""}\n\t\t}\n\t`})(k,D)}\n\t\t${((t,n,i="")=>{ | |
| 3 | +const{translate:o={},rotate:a={},scale:s={},isEnabled:r=!1}=t||{};if(!r)return"";const l=[],c=[];return[{name:"Translate",property:"translate",values:o,value:t=>["x","y"].some((n=>e(o?.[n]?.[t])))?`${o?.x?.[t]||0}px ${o?.y?.[t]||0}px`:""},{name:"Rotate",property:"transform",values:a,value:t=>["x","y","z"].filter((n=>e(a?.[n]?.[t]))).map((e=>`rotate${e.toUpperCase()}(${a[e][t]}deg)`)).join(" ")},{name:"Scale",property:"scale",values:s,value:t=>{const n=s?.y?.[t],i=s?.z?.[t];return e(n)||e(i)?e(i)?`1 ${e(n)?n:1} ${i}`:`1 ${n}`:""}}].forEach((({name:t,property:e,values:n,value:o})=>{const a=o("from"),s=o("to");if(!a||!s)return;const r=Number(n?.duration)>0?Number(n.duration):1e3,d=Number(n?.delay)>0?Number(n.delay):0,p=`advFloat${t}${i?`-${i}`:""}`;l.push(`@keyframes ${p}{ from{ ${e}: ${a}; } to{ ${e}: ${s}; } }`),c.push(`${p} ${r}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`:""})(N,D,t)}\n\t\t${((t,n,s)=>{const{isEnable:r=!1,vertical:l={},horizontal:c={},transparency:d={},blur:p={},rotate:m={},scale:u={},effectsRelativeTo:$="viewport",effectOn:g=["desktop","tablet-portrait","mobile-portrait"],isMouseEffect:b=!1,mouseTrack:h={},tilt:x={},sticky:M={}}=t||{},y=(t,n)=>e(t)&&!isNaN(t)?Number(t):n,w="viewport"===$,f=w?"view()":"scroll(nearest block)",j=[],v=[],k=[],N=[],z=String(s??"").replace(/[^a-zA-Z0-9]/g,""),L=(t,e,n)=>{j.push(`@keyframes advMe${t}${z}{ ${e} }`),v.push(`advMe${t}${z}`),k.push(f),N.push((t=>{const e=y(t?.top,0),n=y(t?.bottom,100),i=Math.min(e,n),o=Math.max(e,n);return w?`cover ${i}% ${o>=90?"contain 100%":`cover ${o}%`}`:`min(${3*i}vh, ${i}%) min(${3*o}vh, ${o}%)`})(n))};if(r){const t=l?.direction,e=c?.direction,n=t?100*y(l?.speed,4):0,i=e?100*y(c?.speed,4):0;if(n||i){const o="up"===t?-n:n,a="to-left"===e?-i:i,s=[n&&l,i&&c].filter(Boolean);L("Translate",`from{ translate: 0px 0px; } to{ translate: ${a}px ${o}px; }`,{top:Math.min(...s.map((t=>y(t?.top,0)))),bottom:Math.max(...s.map((t=>y(t?.bottom,100))))})}const o=d?.direction;if(o){const t=Math.max(0,1-y(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}; }`}[o];e&&L("Opacity",e,d)}const a=p?.direction;if(a){const t=3*y(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&&L("Blur",e,p)}const s=m?.direction;if(s){const t=20*y(m?.level,4);L("Rotate",`from{ rotate: 0deg; } to{ rotate: ${"to-left"===s?-t:t}deg; }`,m)}if(u?.direction){const t=.15*y(u?.level,4),e=Math.max(0,1-t),n=1+t,i={"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; }`}[u.direction];i&&L("Scale",i,u)}}const D=[];if(b){if(h?.direction){const t="direct"===h?.direction?100:-100;D.push(((e,n)=>`translate(${(e*t).toFixed(2)}px, ${(n*t).toFixed(2)}px)`))}if(x?.direction){const t=12*("direct"===x?.direction?1:-1);D.push(((e,n)=>`perspective(1000px) rotateX(${(n*-t).toFixed(2)}deg) rotateY(${(e*t).toFixed(2)}deg)`))}}const S=(t,e,i)=>{if(!t||!t.defaultView)return;const o=t.defaultView,a=t.bPlMouse||(t.bPlMouse={x:0,y:0,items:new Map,frame:0,last:0}),s=a.items.get(n)||{x:0,y:0};if(s.rate=e,s.build=i,a.items.set(n,s),a.bound)return;a.bound=!0;const r=e=>{const n=a.last?Math.min(e-a.last,100):16.7;a.last=e;let i=!1;a.items.forEach(((e,o)=>{const s=e.el&&e.el.isConnected?e.el:t.querySelector(o);if(!s)return;e.el=s;const r=e.rate*n/1e3,l=a.x-e.x,c=a.y-e.y,d=Math.sqrt(l*l+c*c);d<=r?(e.x=a.x,e.y=a.y):(e.x+=l/d*r,e.y+=c/d*r,i=!0),s.style.transform=e.build(e.x,e.y)})),a.frame=i?o.requestAnimationFrame(r):0,a.last=i?e:0};t.addEventListener("pointermove",(t=>{a.x=2*(t.clientX/o.innerWidth-.5),a.y=2*(t.clientY/o.innerHeight-.5),a.frame||(a.frame=o.requestAnimationFrame(r))}))};if(D.length&&"undefined"!=typeof document){const t=Math.max(.25,1.5*y(h?.speed,y(x?.speed,4))),e=(t,e)=>D.map((n=>n(t,e))).join(" ");S(document,t,e),S(document.querySelector('iframe[name="editor-canvas"]')?.contentDocument,t,e)}const T=t=>M?.[t]||("desktop"===t?M?.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;":""},C=Array.isArray(g)?g:e(g)?[g]:[],E=t=>!C.length||C.includes(t)?"":`${n}{ animation-name: none; }`;return`\n\t\t${v.length?`\n\t\t${j.join(" ")}\n\t\t@supports (animation-timeline: scroll()){\n\t\t\t${n}{\n\t\t\t\tanimation-name: ${v.join(", ")};\n\t\t\t\tanimation-duration: ${v.map((()=>"auto")).join(", ")};\n\t\t\t\tanimation-timing-function: ${v.map((()=>"linear")).join(", ")};\n\t\t\t\tanimation-fill-mode: ${v.map((()=>"both")).join(", ")};\n\t\t\t\tanimation-direction: ${v.map((()=>w?"normal":"reverse")).join(", ")};\n\t\t\t\tanimation-timeline: ${k.join(", ")};\n\t\t\t\tanimation-range: ${N.join(", ")};\n\t\t\t}\n\t\t\t${E("desktop")?`${i}{ ${E("desktop")} }`:""}\n\t\t\t${E("tablet-portrait")?`@media only screen and (min-width: 641px) and (max-width: 1024px){ ${E("tablet-portrait")} }`:""}\n\t\t\t${E("mobile-portrait")?`${a}{ ${E("mobile-portrait")} }`:""}\n\t\t}\n\t`:""}\n\t\t${D.length?`${n}{ transition-property: background, border, border-radius, box-shadow; }`:""}\n\t\t${A("desktop")?`${I}{ ${A("desktop")} }`:""}\n\t\t${A("tablet")?`${o}{ ${I}{ ${A("tablet")} } }`:""}\n\t\t${A("mobile")?`${a}{ ${I}{ ${A("mobile")} } }`:""}\n\t`})(z,D,t)}\n\t\t${L}\n\t`.replace(/\s+/g," ")},y=window.ReactJSXRuntime,w=({tagName:t,...e})=>(0,y.jsx)(t,{...e}),f=t=>(0,y.jsx)("svg",{height:16,width:16,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",...t,children:(0,y.jsx)("path",{d:"M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"})}),j=t=>(0,y.jsx)("svg",{height:16,width:16,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",...t,children:(0,y.jsx)("path",{d:"M256 0a256 256 0 1 0 0 512A256 256 0 1 0 256 0zM135 241c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l87 87 87-87c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L273 345c-9.4 9.4-24.6 9.4-33.9 0L135 241z"})}),v=t=>(0,y.jsx)("svg",{height:16,width:16,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",...t,children:(0,y.jsx)("path",{d:"M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"})}),k=t=>(0,y.jsx)("svg",{height:16,width:16,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",...t,children:(0,y.jsx)("path",{d:"M246.6 470.6c-12.5 12.5-32.8 12.5-45.3 0l-160-160c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L224 402.7 361.4 265.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-160 160zm160-352l-160 160c-12.5 12.5-32.8 12.5-45.3 0l-160-160c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L224 210.7 361.4 73.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3z"})}),N=t=>(0,y.jsx)("svg",{height:16,width:16,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",...t,children:(0,y.jsx)("path",{d:"M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"})}),z=t=>(0,y.jsx)("svg",{height:16,width:16,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",...t,children:(0,y.jsx)("path",{ | |
| 4 | +d:"M384 480c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0zM224 352c-6.7 0-13-2.8-17.6-7.7l-104-112c-6.5-7-8.2-17.2-4.4-25.9s12.5-14.4 22-14.4l208 0c9.5 0 18.2 5.7 22 14.4s2.1 18.9-4.4 25.9l-104 112c-4.5 4.9-10.9 7.7-17.6 7.7z"})}),L=t=>(0,y.jsx)("svg",{height:16,width:16,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",...t,children:(0,y.jsx)("path",{d:"M384 432c8.8 0 16-7.2 16-16l0-320c0-8.8-7.2-16-16-16L64 80c-8.8 0-16 7.2-16 16l0 320c0 8.8 7.2 16 16 16l320 0zm64-16c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320zM224 352c-6.7 0-13-2.8-17.6-7.7l-104-112c-6.5-7-8.2-17.2-4.4-25.9s12.5-14.4 22-14.4l208 0c9.5 0 18.2 5.7 22 14.4s2.1 18.9-4.4 25.9l-104 112c-4.5 4.9-10.9 7.7-17.6 7.7z"})}),D=[{label:"Circle",value:"fa-solid fa-circle",icon:(0,y.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:(0,y.jsx)("path",{d:"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z"})})},{label:"Dot Circle",value:"fa-solid fa-circle-dot",icon:(0,y.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:(0,y.jsx)("path",{d:"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-352a96 96 0 1 1 0 192 96 96 0 1 1 0-192z"})})},{label:"Squire",value:"fa-solid fa-square-full",icon:(0,y.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:(0,y.jsx)("path",{d:"M0 0H512V512H0V0z"})})},{label:"Circle",value:"fa-regular fa-circle",icon:(0,y.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:(0,y.jsx)("path",{d:"M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"})})},{label:"Dot Circle",value:"fa-regular fa-circle-dot",icon:(0,y.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:(0,y.jsx)("path",{d:"M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm256-96a96 96 0 1 1 0 192 96 96 0 1 1 0-192z"})})}],S=[{label:"Chevron Down",value:"fa-solid fa-chevron-down",icon:(0,y.jsx)(f,{})},{label:"Circle Chevron Down",value:"fa-solid fa-circle-chevron-down",icon:(0,y.jsx)(j,{})},{label:"Angel Down",value:"fa-solid fa-angle-down",icon:(0,y.jsx)(v,{})},{label:"Angel Double Down",value:"fa-solid fa-angles-down",icon:(0,y.jsx)(k,{})},{label:"Caret Down",value:"fa-solid fa-caret-down",icon:(0,y.jsx)(N,{})},{label:"Squire Caret Down",value:"fa-solid fa-square-caret-down",icon:(0,y.jsx)(z,{})},{label:"Squire Caret Down",value:"fa-regular fa-square-caret-down",icon:(0,y.jsx)(L,{})}],T=[{label:"Chevron Up",value:"fa-solid fa-chevron-up",icon:(0,y.jsx)(f,{className:"tbcnb-rotate180deg"})},{label:"Circle Chevron Up",value:"fa-solid fa-circle-chevron-up",icon:(0,y.jsx)(j,{className:"tbcnb-rotate180deg"})},{label:"Angel Up",value:"fa-solid fa-angle-up",icon:(0,y.jsx)(v,{className:"tbcnb-rotate180deg"})},{label:"Angel Double Up",value:"fa-solid fa-angles-up",icon:(0,y.jsx)(k,{className:"tbcnb-rotate180deg"})},{label:"Caret Up",value:"fa-solid fa-caret-up",icon:(0,y.jsx)(N,{className:"tbcnb-rotate180deg"})},{label:"Squire Caret Up",value:"fa-solid fa-square-caret-up",icon:(0,y.jsx)(z,{className:"tbcnb-rotate180deg"})},{label:"Squire Caret Up",value:"fa-regular fa-square-caret-up",icon:(0,y.jsx)(L,{className:"tbcnb-rotate180deg"})}],I=()=>(0,y.jsx)("div",{style:{padding:"14px"},children:(0,y.jsx)("p",{style:{margin:"0px"},children:"No headings were found on this page!"})}),A=({attributes:t,id:e})=>{const{header:n,boxList:i,markup:o,sticky:a}=t,s=`#${e}`,r=`${s} .bblocks-tbcn-accordion`,c=`${r} .bblocks-tbcn-accordion-title`,d=`${r} .bblocks-tbcn-panel`,p=`${d} .bblocks-tbcn-panel-table-container-order-list`,m=`${p} .bblocks-tbcn-panel-table-list-items`,u=`${s} ol li a.bblocks-tbcn-table-content-anchor-list`;return(0,y.jsx)(y.Fragment,{children:(0,y.jsx)("style",{ | |
| 5 | +children:`\n ${u}:hover{\n color:${i.hTxtColor} !important; \n text-decoration:${i.hTxtDecoration?"underline":"none"} !important;\n }\n ${d} :where(ol){\n list-style:none !important;\n }\n ${u}{\n color:${i.nTxtColor} !important;\n text-decoration:${i.nTxtDecoration?"underline":"none"};\n\n }\n ${r}.sticky {\n ${l("width",a.width.desktop)}\n z-index: ${a.zIndex.desktop} !important;\n position:fixed;\n }\n ${["left","right"].map((t=>`${r}.sticky.${t}{\n ${t}:${a[t].desktop};\n }`)).join("")}\n ${p} .bblocks-tbcn-list-item-content{\n display:flex;\n align-items:center;\n gap:5px;\n }\n ${["top","bottom"].map((t=>`${r}.sticky.${t}{\n ${t}:${a[t]?.desktop}\n }`)).join("")}\n ${"center"===a.verticalAlign?`${r}.sticky.center{top:50%; transform: translateY(-50%)}`:null}\n ${"decimal"===o.view?`\n \n ${p}{\n list-style-type:none;\n margin:0px;\n }\n ${m}::marker{\n color:${o.color};\n font-size:${o.markupSize.desktop};\n }\n ${m} .bblocks-tbcn-list-item-content>span{\n color:${o.color};\n font-size:${o.markupSize.desktop};\n }\n ${m} .bblocks-tbcn-list-item-content{\n gap:0px;\n }\n `:`\n ${p}{\n list-style-type:none;\n }\n ${m} .bblocks-tbcn-list-item-content>span>svg{\n color:${o.color};\n fill:${o.color};\n height:${o.markupSize.desktop} !important;\n }\n `}\n ${c}{\n background:${n.bgColor};\n border-bottom: ${n.separatorWidth}px solid ${n.separatorColor};\n margin-bottom:-2px;\n }\n ${c}>svg{\n fill:${n.iconColor}\n }\n ${r}>.panel{\n ${i.maxHeight.desktop>0?"max-height:"+i.maxHeight.desktop+"px;":""}\n ${i.maxHeight.desktop>0?"overflow-y:auto;":""}\n \n \n }\n ${u}.item-active{\n color:${i.hTxtColor} !important;\n }\n ${m}{\n padding-top:${i.padding.desktop?.top};\n padding-bottom:${i.padding.desktop?.bottom};\n padding-right:${i.padding.desktop?.right};\n }\n ${p}{\n padding-left:${i.padding.desktop?.left};\n }\n @media screen and (min-width: 1024px) {\n ${r}.sticky {\n z-index: ${a.zIndex.desktop} !important;\n position:${a?.device.includes("Desktop")?"fixed":"initial"};\n }\n ${["left","right"].map((t=>`${r}.sticky.${t}{\n ${t}:${a[t].desktop};\n }`)).join("")}\n ${["top","bottom"].map((t=>`${r}.sticky.${t}{\n ${t}:${a[t].desktop}\n }`)).join("")}\n ${"center"===a.verticalAlign?`${r}.sticky.center{top:50%; transform: translateY(-50%)}`:null}\n ${d}{\n ${i.maxHeight.desktop>0?"max-height:"+i.maxHeight.desktop+"px;":""}\n ${i.maxHeight.desktop>0?"overflow-y:auto;":""}\n }\n ${m}{\n padding-top:${i.padding.desktop?.top};\n padding-bottom:${i.padding.desktop?.bottom};\n padding-right:${i.padding.desktop?.right};\n }\n ${p}{\n padding-left:${i.padding.desktop?.left};\n }\n ${"decimal"===o.view?`\n ${m}::marker{\n font-size:${o.markupSize.desktop};\n }\n `:`\n ${p}{\n list-style-type:none;\n }\n\n ${m} .bblocks-tbcn-list-item-content>span>svg{\n color:${o.color};\n fill:${o.color};\n height:${o.markupSize.desktop} !important;\n }\n `}\n }\n @media only screen and (min-width:641px) and (max-width: 1024px){\n ${r}.sticky {\n ${l("width",a.width.tablet)}\n z-index: ${a.zIndex.tablet} !important;\n position:${a.device.includes("Tablet")?"fixed":"initial"};\n }\n ${["left","right"].map((t=>`${r}.sticky.${t}{\n ${t}:${a[t].tablet};\n }`)).join("")}\n ${["top","bottom"].map((t=>`${r}.sticky.${t}{\n ${t}:${a[t].tablet}\n }`)).join("")}\n ${"center"===a.verticalAlign?`${r}.sticky.center{top:50%; transform: translateY(-50%)}`:null}\n ${d}{\n ${i.maxHeight.tablet>0?"max-height:"+i.maxHeight.tablet+"px;":""}\n ${i.maxHeight.tablet>0?"overflow-y:auto;":""}\n }\n ${m}{\n padding-top:${i.padding.tablet?.top};\n padding-bottom:${i.padding.tablet?.bottom};\n padding-right:${i.padding.tablet?.right};\n }\n ${p}{\n padding-left:${i.padding.tablet?.left};\n }\n ${"decimal"===o.view?`\n ${m}::marker{\n font-size:${o.markupSize.tablet};\n }\n `:`\n ${p}{\n list-style-type:none;\n }\n ${m}>span>svg{\n color:${o.color};\n fill:${o.color};\n height:${o.markupSize.tablet} !important;\n }\n `}\n\n }\n @media only screen and (max-width: 640px) {\n ${r}.sticky {\n ${l("width",a.width.mobile)}\n z-index: ${a.zIndex.mobile} !important;\n position:${a.device.includes("Mobile")?"fixed":"initial"};\n }\n ${["left","right"].map((t=>`${r}.sticky.${t}{\n ${t}:${a[t].mobile};\n }`)).join("")}\n ${["top","bottom"].map((t=>`${r}.sticky.${t}{\n ${t}:${a[t].mobile}\n }`)).join("")}\n ${"center"===a.verticalAlign?`${r}.sticky.center{top:50%; transform: translateY(-50%)}`:null}\n ${d}{\n ${i.maxHeight.mobile>0?"max-height:"+i.maxHeight.mobile+"px;":""}\n ${i.maxHeight.mobile>0?"overflow-y:auto;":""}\n }\n ${m}{\n padding-top:${i.padding.mobile?.top};\n padding-bottom:${i.padding.mobile?.bottom};\n padding-right:${i.padding.mobile?.right};\n }\n ${p}{\n padding-left:${i.padding.mobile?.left};\n }\n ${"decimal"===o.view?`\n ${m}::marker{\n font-size:${o.markupSize.mobile};\n }\n `:`\n ${p}{\n list-style-type:none;\n }\n ${m} .bblocks-tbcn-list-item-content>span>svg{\n color:${o.color};\n fill:${o.color};\n height:${o.markupSize.mobile} !important;\n }\n `}\n }\n `})})},C=({items:t,markup:e,bullets:n,contentsAttr:i,setContentsAttr:o,className:a="",prefix:r=""})=>t&&0!==t.length?(0,y.jsx)("ol",{className:`bblocks-tbcn-panel-table-container-order-list ${a}`,children:t.map(((t,a)=>{const l=r?`${r}.${a+1}`:`${a+1}`;return"bblocks-tbcn-content-table-title"!==t.className&&(0,y.jsxs)("li",{className:"bblocks-tbcn-panel-table-list-items",children:[(0,y.jsxs)("div",{className:"bblocks-tbcn-list-item-content",children:["decimal"===e.view?(0,y.jsxs)("span",{className:"bblocks-tbcn-decimal-number",children:[l,"."]}):(0,y.jsx)("span",{children:n.map((({value:t,icon:n},i)=>t===e.icon&&(0,y.jsx)(s.Fragment,{children:n},`bullet-${i}`)))}),(0,y.jsx)("a",{className:"bblocks-tbcn-table-content-anchor-list "+(t.id===i?"item-active":""),href:`#${t.id}`,onClick:()=>o(t.id),children:t.contents})]}),t.children&&t.children.length>0&&(0,y.jsx)(C,{items:t.children,markup:e,bullets:n,contentsAttr:i,setContentsAttr:o,className:"bblocks-tbcn-nested-list",prefix:l})]},t.id+t.contents+r)}))}):null,E=C,O=({attributes:t,id:e})=>{const n=(0,s.useRef)(),i=(0,s.useRef)(),o=(0,s.useRef)(),[a,r]=(0,s.useState)(!1),[l,c]=(0,s.useState)(),[d,p]=(0,s.useState)(),{header:m,title:u,tagName:$,minimize:g,markup:b,sticky:h,headings:x,isNested:M=!1}=t;((t,e)=>{const n=(0,s.useCallback)((()=>{const n=document.body,i=t.join(", "),o=n.querySelectorAll(i);Array.from(o).forEach((t=>{const n=e.find((e=>e.tag===t.tagName&&e.contents===t.textContent));if(n){const e=document.createElement("span");e.setAttribute("id",n.id), | |
| 6 | +t.insertAdjacentElement("beforebegin",e)}}))}),[t,e]),i=(0,s.useCallback)((()=>{const t=window.location.hash;t&&setTimeout((()=>{const e=document.querySelector(`[href='${t}']`);e?.click()}),1e3)}),[]);(0,s.useEffect)((()=>{n(),i()}),[n,i])})($,x),(0,s.useEffect)((()=>{p(o?.current?.scrollHeight+"px")}),[]);const f=M?(t=>{const e=[],n=[{level:0,children:e}];return t.forEach((t=>{const e=parseInt(t.tag.replace("H",""),10),i={...t,children:[]};for(;n.length>1&&n[n.length-1].level>=e;)n.pop();n[n.length-1].children.push(i),n.push({level:e,children:i.children})})),e})(t.headings):t.headings;return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(A,{toggle:a,attributes:t,id:e}),(0,y.jsxs)("div",{ref:n,className:`bblocks-tbcn-accordion ${h.toggle?"sticky":""} ${h.horizonAlign} ${h.verticalAlign}`,children:[(0,y.jsxs)("div",{ref:i,onClick:()=>r(!a),className:"bblocks-tbcn-accordion-title",children:[(0,y.jsx)(w,{className:"bblocks-tbcn-content-table-title",style:{margin:"0",color:m.txtColor},tagName:u?.tag,dangerouslySetInnerHTML:{__html:u?.text}}),g.toggle&&(0,y.jsx)(y.Fragment,{children:a?S.map((({value:t,icon:e})=>t===g.expandIcon&&e)):T.map((({value:t,icon:e})=>t===g.collapseIcon&&e))})]}),(0,y.jsx)("div",{ref:o,style:{height:a&&g.toggle?"0px":d},className:"bblocks-tbcn-panel",children:x?.length>0?(0,y.jsx)(y.Fragment,{children:(0,y.jsx)(E,{items:f,markup:b,bullets:D,contentsAttr:l,setContentsAttr:c,className:"bblocks-tbcn-panel-table-container-order-list"})}):(0,y.jsx)(I,{})})]})]})},Y=({attributes:t,id:e})=>(0,y.jsx)(O,{attributes:t,id:e});document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".wp-block-b-blocks-table-of-content").forEach((e=>{const n=JSON.parse(e.dataset.attributes);(0,t.createRoot)(e).render((0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("style",{dangerouslySetInnerHTML:{__html:`${M(e.id,n.advanced,!1)}`}}),(0,y.jsx)(Y,{attributes:n,id:e.id})]})),e?.removeAttribute("data-attributes")}))}))})(); | |