| @@ -1 +1,6 @@ | ||
| 1 | -(()=>{"use strict";var t={5795:t=>{t.exports=window.ReactDOM},8744:(t,e,n)=>{var i=n(5795);e.H=i.createRoot,i.hydrateRoot}},e={};const n=window.React;var i=function n(i){var o=e[i];if(void 0!==o)return o.exports;var a=e[i]={exports:{}};return t[i](a,a.exports,n),a.exports}(8744);const o=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),a="@media only screen and (max-width: 1024px)",l="@media only screen and (max-width: 640px)",s=(t,e,n=!1)=>o(e)?`${t}: ${e}${n?" !important":""};`:"",r=(t,e="box")=>{let n="";return t?.map(((i,o)=>{const{hOffset:a="0px",vOffset:l="0px",blur:s="0px",spreed:r="0px",color:c="#e7f0fe",isInset:d=!1}=i||{},$=d?"inset":"",m=`${a} ${l} ${s}`,p=o+1>=t.length?"":", ";n+="text"===e?`${m} ${c}${p}`:`${m} ${r} ${c} ${$}${p}`})),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:e="center center",xPosition:n=0,yPosition:i=0,attachment:a="",repeat:l="no-repeat",size:s="cover",customSize:r="0px"}=t||{},c=t=>"initial"!==t||o(t);return`\n\t\t${c(e)?`background-position: ${"custom"===e?`${n} ${i}`:e};`:""}\n\t\t${a&&c(a)?`background-attachment: ${a};`:""}\n\t\t${c(l)?`background-repeat: ${l};`:""}\n\t\t${c(s)?`background-size: ${"custom"===s?`${r} auto`:s};`:""}\n\t`},$=(t={})=>t?{desktop:o(t.url)?`background-image: url(${t.url}); ${d(t?.desktop)}`:"",tablet:o(t.url)?d(t?.tablet):"",mobile:o(t.url)?d(t?.mobile):""}:"",m=(t,e,n=!1)=>{const{type:i="color",color:r,gradient:c,img:d,video:m}=t||{},p="color"===i?s("background",r):"gradient"===i?(t=>{const{type:e="linear",radialType:n="ellipse",colors:i=[],centerPositions:a={x:0,y:0},angel:l=0}=t||{};if(o(t)){const t=i?.map((({color:t,position:e})=>`${t} ${e}%`)),o=`linear-gradient(${l}deg, ${t})`;return s("background","radial"===e?`radial-gradient(${n} at ${a?.x}% ${a?.y}%,${t})`:o)}return""})(c):"image"===i?$(d).desktop:"",b="image"===i?$(d).tablet:"",g="image"===i?$(d).mobile:"",u=n?`${e}:hover`:e;return`\n\t\t${"video"===i?((t,e)=>{const{url:n,loop:i}=t||{},o=document.querySelector(e),a=o?.querySelector(".bPlVideo"),l=document.createElement("video");return l.muted=!0,l.autoplay=!0,l.classList.add("bPlVideo"),a||o&&n&&(l.innerHTML=`<source src=${n}></source>`,o.appendChild(l)),l.loop=i,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}`})(m,e):""}\n\n\t\t${p?`${u}{\n\t\t\t${p}\n\t\t}`:""}\n\n\t\t${b?`${a} {\n\t\t\t${u}{\n\t\t\t\t${b}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${g?`${l} {\n\t\t\t${u}{\n\t\t\t\t${g}\n\t\t\t}\n\t\t}`:""}\n\t`.replace(/\s+/g," ").trim()},p=(t,e,n=!1)=>{const{isEnabled:i,colors:a,opacity:l=1,blend:r,filter:c="",blur:d=0,brightness:$=100,contrast:p=100,saturation:b=100,hue:g=0,position:u={top:0,right:0,bottom:0,left:0},zIndex:k=-1}=t||{},y=`${100!==$?`brightness(${$}%)`:""} ${100!==p?`contrast(${p}%)`:""} ${100!==b?`saturate(${b}%)`:""} ${0!==d?`blur(${d}px)`:""} ${0!==g?`hue-rotate(${g}deg)`:""}`,h=`${c}: ${c?y:""}; -webkit-${c}: ${c?y:""};`,M=n?`${e}:hover::after`:`${e}::after`;return i?`\n\t\t${e}{\n\t\t\tposition:relative;\n\t\t\tz-index:1;\n\t\t}\n\t\t${e}::after{\n\t\t\tcontent: '';\n\t\t\tposition: absolute;\n\t\t\ttop:${o(u.top)?u.top:0};\n\t\t\tright:${o(u.right)?u.right:0};\n\t\t\tbottom:${o(u.bottom)?u.bottom:0};\n\t\t\tleft:${o(u.left)?u.left:0};\n\t\t\tz-index:${k};\n\t\t}\n\t\t${m(a,M,!1)}\n\t\t${M}{\n\t\t\t${s("opacity",l)}\n\t\t\t${s("mix-blend-mode",r)}\n\t\t\t${h}\n\t\t}\n\t`.replace(/\s+/g," ").trim():""},b=(t,e,n=!1)=>{const i=(t,e="desktop")=>{if(!o(t))return"";const{skew:n,scale:i,rotate:a,offset:l,flipX:r,flipY:c}=t,{threeDRotate:d}=a||{},{isProportion:$}=i||{},m=[];return o(n)&&(o(n?.[e]?.x)&&m.push(`skewX(${n[e].x}deg)`),o(n?.[e]?.y)&&m.push(`skewY(${n[e].y}deg)`)),$?o(i?.[e]?.scale)&&m.push(`scale(${i[e].scale})`):(o(i?.[e]?.x)&&m.push(`scaleX(${i[e].x})`),o(i?.[e]?.y)&&m.push(`scaleY(${i[e].y})`)),o(a)&&(o(a?.[e]?.z)&&m.push(`rotateZ(${a[e].z}deg)`),d&&(o(a?.[e]?.x)&&m.push(`rotateX(${a[e].x}deg)`),o(a?.[e]?.y)&&m.push(`rotateY(${a[e].y}deg)`))),o(l)&&(o(l?.[e]?.x)&&m.push(`translateX(${l[e].x})`),o(l?.[e]?.y)&&m.push(`translateY(${l[e].y})`)),o(r)&&m.push(r?"scaleX(-1)":""),o(c)&&m.push(c?"scaleY(-1)":""),0===m.length?"":s("transform",m.join(" "))},r=n?`${e}:hover`:e;return`\n\t\t${r} {\n\t\t\t${i(t,"desktop")}\n\t\t}\n\t\t${a}{\n\t\t\t${r} {\n\t\t\t\t${i(t,"tablet")}\n\t\t\t}\n\t\t}\n\t\t${l}{\n\t\t\t${r} {\n\t\t\t\t${i(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)=>s(t,e),l=(t,e,n)=>a(t,e?.[t]?.[n])+a(`min-${t}`,e?.min?.[n])+a(`max-${t}`,e?.max?.[n]),r=t=>s("padding",c(t)),d=t=>s("margin",c(t));return{desktop:r(e?.desktop)+d(n?.desktop)+l("height",i,"desktop")+l("width",o,"desktop"),tablet:r(e?.tablet)+d(n?.tablet)+l("height",i,"tablet")+l("width",o,"tablet"),mobile:r(e?.mobile)+d(n?.mobile)+l("height",i,"mobile")+l("width",o,"mobile")}},u=t=>{const{normal:e,hover:n}=t||{},i=t=>{const{border:e,radius:n,shadow:i}=t||{},o=s("border-radius",c(n)),a=s("box-shadow",r(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():s("border",e(t))})(e)+o+a};return{normal:i(e),hover:i(n)}},k=t=>{const{zIndex:e,overflow:n}=t||{},i=n?`overflow: ${n};`:"",a=t=>`${s("z-index",e?.[t])} ${s("position",o(e?.[t])?"relative":"")}`;return{desktop:a("desktop")+i,tablet:a("tablet"),mobile:a("mobile")}},y=(t,e)=>{const{desktop:n=!1,tablet:i=!1,mobile:o=!1}=t||{},a=e?"opacity: 0.5;":"display: none;",l=t=>t?a:"";return{desktop:l(n),tablet:l(i),mobile:l(o)}},h=(t,e,n=!1,i=!0)=>{const{dimension:r,transform:c,background:d,borderShadow:$,mask:h,animation:M,visibility:x,responsive:w,css:f=""}=e||{},v=n?`#${t}>div>div${i?":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)})(M,t,n);const z=g(r).desktop+k(x).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;`})(d,$,c)+(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: url(${"custom"===n.type?n.url:(l=n.type,[{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48Y2lyY2xlIGN4PSI0NC41IiBjeT0iNDQuNSIgcj0iNDQuNSIvPjwvc3ZnPg==",type:"circle"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48cGF0aCBkPSJNNzYuMTMzMiw0NC40NzUybDYuMzI4OS02LjMyODVBMjIuMzQ4NiwyMi4zNDg2LDAsMCwwLDUwLjg1LDYuNTQ3NEw0NC41MzIsMTIuODY1MSwzOC4xNiw2LjU0NzRhMjIuMzUyNCwyMi4zNTI0LDAsMSwwLTMxLjYxMiwzMS42MWw2LjMxODEsNi4zMTc3TDYuNTQ3OCw1MC44NDdhMjIuMzUyNCwyMi4zNTI0LDAsMCwwLDMxLjYxMiwzMS42MWw2LjMxODEtNi4zMTc3TDUwLjg1LDgyLjM5MjJhMjIuMzQ4NiwyMi4zNDg2LDAsMCwwLDMxLjYxMi0zMS41OTkzWiIvPjwvc3ZnPg==",type:"flower"},{svg:"data:image/svg+xml;base64,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===l))).svg});\n\t\t-webkit-mask-size: ${"custom"===i.type?i.scale:i.type};\n\t\t${"custom"===o.type?`${s("-webkit-mask-position-x",o.x)}\n\t\t\t${s("-webkit-mask-position-y",o.y)}`:`${s("-webkit-mask-position",o.type)}`}\n\t\t${"cover"!==i.type?`-webkit-mask-repeat: ${a};`:""}`:"";var l})(h),N=g(r).tablet+k(x).tablet+y(w,n).tablet,j=g(r).mobile+k(x).mobile+y(w,n).mobile,L=u($).normal,D=u($).hover,E=y(w,n).desktop;return`\n\t\t${z||L?`${v} {\n\t\t\t${z}\n\t\t\t${L}\n\t\t}`:""}\n\t\t${D?`${v}:hover {\n\t\t\t${D}\n\t\t}`:""}\n\n\t\t${E?`@media only screen and (min-width: 1025px) {\n\t\t\t${v}{\n\t\t\t\t${E}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${N?`${a} {\n\t\t\t${v}{\n\t\t\t\t${N}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${j?`${l} {\n\t\t\t${v}{\n\t\t\t\t${j}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${m(d?.normal,v)}\n\t\t${m(d?.hover,v,!0)}\n\t\t${p(d?.overlay,v)}\n\t\t${p(d?.hoverOverlay,v,!0)}\n\t\t${o(c?.normal)?b(c?.normal,v):""}\n\t\t${o(c?.hover)?b(c?.hover,v,!0):""}\n\n\t\t${f}\n\t`.replace(/\s+/g," ")},M=({tagName:t,...e})=>(0,n.createElement)(t,{...e}),x=()=>(0,n.createElement)("div",{style:{padding:"14px"}},(0,n.createElement)("p",{style:{margin:"0px"}},"No headings were found on this page!")),w=({attributes:t,id:e})=>{const{sticky:i,slideTitle:o,slideList:a,boxList:l}=t,r=`#${e} .bblocks-tbcn-list-container`,c=`${r} .bblocks-tbcn-list-title .bblocks-tbcn-list-title-heading`,d=`${r} .bblocks-tbcn-list-items .bblocks-tbcn-list-item`;return(0,n.createElement)("style",null,`\n ${c}{\n padding-top:${o.space.desktop};\n padding-bottom:${o.spaceBottom.desktop};\n }\n ${d}{\n margin-bottom:${a.space.desktop};\n }\n ${d}>a::before{\n background-color:${l.nBarColor?l.nBarColor:"#ccc"} !important;\n }\n ${d} a.item-active::before{\n background-color:${l.hBarColor} !important;\n }\n ${d}>a:hover::before{\n background: ${l.hBarColor} !important;\n }\n ${d}>a{\n color:${l.nTxtColor};\n font-size:${a.fontSize.desktop}\n }\n ${d}>a:hover {\n color: ${l.hTxtColor} !important;\n }\n ${d} a.item-active{\n color: ${l.hTxtColor} !important;\n }\n ${r}.sticky {\n ${s("width",i.width.desktop)}\n z-index: ${i.zIndex.desktop} !important;\n position:fixed;\n }\n\n ${["left","right"].map((t=>`${r}.sticky.${t}{\n ${t}:${i[t].desktop};\n }`)).join("")}\n\n ${["top","bottom"].map((t=>`${r}.sticky.${t}{\n ${t}:${i[t].desktop}\n }`)).join("")}\n ${"center"===i.verticalAlign?`${r}.sticky.center{top:50%; transform: translateY(-50%)}`:null}\n\n @media screen and (min-width: 1024px) {\n ${c}{\n padding-top:${o.space.desktop};\n padding-bottom:${o.spaceBottom.desktop}\n }\n ${d}{\n margin-bottom:${a.space.desktop};\n }\n ${d}>a{\n font-size:${a.fontSize.desktop}\n }\n\n ${r}.sticky {\n z-index: ${i.zIndex.desktop} !important;\n position:${i?.device.includes("Desktop")?"fixed":"initial"};\n }\n\n ${["left","right"].map((t=>`${r}.sticky.${t}{\n ${t}:${i[t].desktop};\n }`)).join("")}\n\n ${["top","bottom"].map((t=>`${r}.sticky.${t}{\n ${t}:${i[t].desktop}\n }`)).join("")}\n\n ${"center"===i.verticalAlign?`${r}.sticky.center{top:50%; transform: translateY(-50%)}`:null}\n\n }\n @media only screen and (min-width:641px) and (max-width: 1024px) {\n\n ${c}{\n padding-top:${o.space.tablet};\n padding-bottom:${o.spaceBottom.tablet}\n }\n ${d}{\n margin-bottom:${a.space.tablet};\n }\n ${d}>a{\n font-size:${a.fontSize.tablet}\n }\n ${r}.sticky {\n ${s("width",i.width.tablet)}\n z-index: ${i.zIndex.tablet} !important;\n position:${i?.device.includes("Tablet")?"fixed":"initial"};\n }\n ${["left","right"].map((t=>`${r}.sticky.${t}{\n ${t}:${i[t].tablet};\n }`)).join("")}\n ${["top","bottom"].map((t=>`${r}.sticky.${t}{\n ${t}:${i[t].tablet}\n }`)).join("")}\n\n ${"center"===i.verticalAlign?`${r}.sticky.center{top:50%; transform: translateY(-50%)}`:null}\n\n }\n @media only screen and (max-width: 640px) {\n ${c}{\n padding-top:${o.space.mobile};\n padding-bottom:${o.spaceBottom.mobile};\n }\n ${d}{\n margin-bottom:${a.space.mobile};\n }\n ${d}>a{\n font-size:${a.fontSize.mobile}\n }\n ${r}.sticky {\n ${s("width",i.width.mobile)}\n z-index: ${i.zIndex.mobile} !important;\n position:${i?.device.includes("Mobile")?"fixed":"initial"};\n }\n\n ${["left","right"].map((t=>`${r}.sticky.${t}{\n ${t}:${i[t].mobile};\n }`)).join("")}\n ${["top","bottom"].map((t=>`${r}.sticky.${t}{\n ${t}:${i[t].mobile}\n }`)).join("")}\n\n ${"center"===i.verticalAlign?`${r}.sticky.center{top:50%; transform: translateY(-50%)}`:null}\n }\n`)},f=(t,e)=>{const i=(0,n.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]),o=(0,n.useCallback)((()=>{const t=window.location.hash;t&&setTimeout((()=>{const e=document.querySelector(`[href='${t}']`);e?.click()}),1e3)}),[]);(0,n.useEffect)((()=>{i(),o()}),[i,o])},v=({attributes:t,id:e})=>{const{title:i,slideTitle:o,tagName:a,sticky:l,headings:s}=t,[r,c]=(0,n.useState)();return f(a,s),(0,n.createElement)(n.Fragment,null,(0,n.createElement)(w,{attributes:t,id:e}),(0,n.createElement)("div",{className:`bblocks-tbcn-list-container ${l.toggle?"sticky":""} ${l.horizonAlign} ${l.verticalAlign}`},(0,n.createElement)("div",{className:"bblocks-tbcn-list-title"},(0,n.createElement)(M,{className:"bblocks-tbcn-list-title-heading",style:{color:o.titleColor},tagName:i.tag,dangerouslySetInnerHTML:{__html:i?.text}})),(0,n.createElement)(n.Fragment,null,s?.length>0?(0,n.createElement)("div",{className:"bblocks-tbcn-list-items"},Array.from(s).map(((t,e)=>(0,n.createElement)(n.Fragment,null,(0,n.createElement)("p",{className:"bblocks-tbcn-list-item",key:e},(0,n.createElement)("a",{onClick:()=>c(e),className:e===Number(r)?"item-active":"",href:`#${t.id}`},t.contents)))))):(0,n.createElement)(x,null))))},z=({attributes:t,id:e})=>{const{slideTitle:i,slideList:o,sticky:a,boxList:l}=t,r=`#${e} .slide-container`,c=`${r} .slide-titleSubWrapper .slide-title`,d=`${r} .slide-list-items`,$=`${d} .slide-list`;return(0,n.createElement)("style",null,`\n\t${c} {\n\tmargin-top:${i.space.desktop};\n\tmargin-bottom: ${i.spaceBottom.desktop};\n\t}\n\t${c}::after {\n\tbackground-color: ${i.slideBarColor};\n\t}\n\n\t${$} {\n\tmargin-bottom:${o.space.desktop};\n\t}\n\n\t${$}>a{\n\tcolor:${l.nTxtColor};\n\tfont-size:${o.fontSize.desktop};\n\t}\n\t${$} a:hover{\n\t\tcolor:${l.hTxtColor};\n\t}\n\t${$} .item-active{\n\tcolor:${l.hTxtColor} !important;\n\t}\n\t${$}::after {\n\tbackground-color: ${l.nBarColor};\n\t}\n\t${r}:hover .slide-list::after{\n\tbackground-color:${l.hBarColor};\n\t} \n\t${r}.sticky {\n\t${s("width",a.width.desktop)}\n\tz-index: ${a.zIndex.desktop} !important;\n\t}\n\t${["left","right"].map((t=>`${r}.sticky.${t}{\n\t\t${t}:${a[t].desktop};\n\t}`)).join("")}\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\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\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\n ${c} {\n margin-top:${i.space.desktop};\n margin-bottom: ${i.spaceBottom.desktop};\n}\n ${$} {\n margin-bottom:${o.space.desktop};\n }\n ${d}>${$}>a{\n font-size:${o.fontSize.desktop};\n }\n }\n\n@media only screen and (min-width:641px) and (max-width: 1024px) {\n ${r}.sticky {\n ${s("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 ${c} {\n margin-top:${i.space.tablet};\n margin-bottom: ${i.spaceBottom.tablet};\n }\n ${$} {\n margin-bottom:${o.space.tablet};\n }\n ${$}>a{\n font-size:${o.fontSize.tablet};\n }\n }\n\n @media only screen and (max-width: 640px) {\n ${r}.sticky {\n ${s("width",a.width.mobile)}\n z-index: ${a.zIndex.mobile} !important;\n position:${a.device.includes("Mobile")?"fixed":"initial"};\n }\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 ${c} {\n margin-top:${i.space.mobile};\n margin-bottom: ${i.spaceBottom.mobile};\n }\n ${$} {\n margin-bottom:${o.space.mobile};\n }\n ${$}>a{\n font-size:${o.fontSize.mobile};\n }\n }\n\n `)},N=({attributes:t,id:e})=>{const[i,o]=(0,n.useState)(),[a,l]=(0,n.useState)(!1),{title:s,tagName:r,sticky:c,headings:d,slideTitle:$}=t;return f(r,d),(0,n.createElement)(n.Fragment,null,(0,n.createElement)(z,{attributes:t,id:e}),(0,n.createElement)("div",{onClick:()=>l(!a),className:`slide-container ${c.toggle?"sticky":""} ${c.horizonAlign} ${c.verticalAlign} `},(0,n.createElement)("div",{className:"slide-title"},(0,n.createElement)(M,{className:"slide-title-heading",style:{color:$.titleColor},tagName:s.tag,dangerouslySetInnerHTML:{__html:s?.text}})),(0,n.createElement)(n.Fragment,null,d?.length>0?(0,n.createElement)("div",{className:"slide-list-items"},Array.from(d).map(((t,e)=>(0,n.createElement)(n.Fragment,null,(0,n.createElement)("p",{className:"slide-list",onClick:()=>o(e),key:e},(0,n.createElement)("a",{className:e===Number(i)?"item-active":"",href:`#${t.id}`},t.contents)))))):(0,n.createElement)(x,null))))},j=t=>(0,n.createElement)("svg",{height:16,width:16,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",...t},(0,n.createElement)("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"})),L=t=>(0,n.createElement)("svg",{height:16,width:16,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",...t},(0,n.createElement)("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"})),D=t=>(0,n.createElement)("svg",{height:16,width:16,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",...t},(0,n.createElement)("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"})),E=t=>(0,n.createElement)("svg",{height:16,width:16,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",...t},(0,n.createElement)("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"})),T=t=>(0,n.createElement)("svg",{height:16,width:16,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",...t},(0,n.createElement)("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"})),I=t=>(0,n.createElement)("svg",{height:16,width:16,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",...t},(0,n.createElement)("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"})),S=t=>(0,n.createElement)("svg",{height:16,width:16,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",...t},(0,n.createElement)("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"})),C=[{label:"Circle",value:"fa-solid fa-circle",icon:(0,n.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},(0,n.createElement)("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,n.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},(0,n.createElement)("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,n.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},(0,n.createElement)("path",{d:"M0 0H512V512H0V0z"}))},{label:"Circle",value:"fa-regular fa-circle",icon:(0,n.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},(0,n.createElement)("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,n.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},(0,n.createElement)("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"}))}],A=[{label:"Chevron Down",value:"fa-solid fa-chevron-down",icon:(0,n.createElement)(j,null)},{label:"Circle Chevron Down",value:"fa-solid fa-circle-chevron-down",icon:(0,n.createElement)(L,null)},{label:"Angel Down",value:"fa-solid fa-angle-down",icon:(0,n.createElement)(D,null)},{label:"Angel Double Down",value:"fa-solid fa-angles-down",icon:(0,n.createElement)(E,null)},{label:"Caret Down",value:"fa-solid fa-caret-down",icon:(0,n.createElement)(T,null)},{label:"Squire Caret Down",value:"fa-solid fa-square-caret-down",icon:(0,n.createElement)(I,null)},{label:"Squire Caret Down",value:"fa-regular fa-square-caret-down",icon:(0,n.createElement)(S,null)}],Y=[{label:"Chevron Up",value:"fa-solid fa-chevron-up",icon:(0,n.createElement)(j,{className:"tbcnb-rotate180deg"})},{label:"Circle Chevron Up",value:"fa-solid fa-circle-chevron-up",icon:(0,n.createElement)(L,{className:"tbcnb-rotate180deg"})},{label:"Angel Up",value:"fa-solid fa-angle-up",icon:(0,n.createElement)(D,{className:"tbcnb-rotate180deg"})},{label:"Angel Double Up",value:"fa-solid fa-angles-up",icon:(0,n.createElement)(E,{className:"tbcnb-rotate180deg"})},{label:"Caret Up",value:"fa-solid fa-caret-up",icon:(0,n.createElement)(T,{className:"tbcnb-rotate180deg"})},{label:"Squire Caret Up",value:"fa-solid fa-square-caret-up",icon:(0,n.createElement)(I,{className:"tbcnb-rotate180deg"})},{label:"Squire Caret Up",value:"fa-regular fa-square-caret-up",icon:(0,n.createElement)(S,{className:"tbcnb-rotate180deg"})}],O=({attributes:t,id:e})=>{const{header:i,boxList:o,markup:a,sticky:l}=t,r=`#${e}`,c=`${r} .bblocks-tbcn-accordion`,d=`${c} .bblocks-tbcn-accordion-title`,$=`${c} .bblocks-tbcn-panel`,m=`${$} .bblocks-tbcn-panel-table-container-order-list`,p=`${m} .bblocks-tbcn-panel-table-list-items`,b=`${r} ol>li>a.bblocks-tbcn-table-content-anchor-list`;return(0,n.createElement)(n.Fragment,null,(0,n.createElement)("style",null,`\n ${b}:hover{\n color:${o.hTxtColor} !important; \n text-decoration:${o.hTxtDecoration?"underline":"none"} !important;\n }\n ${b}{\n color:${o.nTxtColor} !important;\n text-decoration:${o.nTxtDecoration?"underline":"none"};\n\n }\n ${c}.sticky {\n ${s("width",l.width.desktop)}\n z-index: ${l.zIndex.desktop} !important;\n position:fixed;\n }\n ${["left","right"].map((t=>`${c}.sticky.${t}{\n ${t}:${l[t].desktop};\n }`)).join("")}\n\n ${["top","bottom"].map((t=>`${c}.sticky.${t}{\n ${t}:${l[t]?.desktop}\n }`)).join("")}\n ${"center"===l.verticalAlign?`${c}.sticky.center{top:50%; transform: translateY(-50%)}`:null}\n ${"decimal"===a.view?`\n \n ${m}{\n list-style-type:decimal;\n margin:0px;\n margin-left:${o.padding.desktop?.left};\n }\n ${p}::marker{\n color:${a.color};\n font-size:${a.markupSize.desktop};\n }\n `:`\n ${m}{\n list-style-type:none;\n }\n ${m}>li{\n display:flex;\n align-items:center;\n gap:5px;\n }\n ${p}>span>svg{\n color:${a.color};\n fill:${a.color};\n height:${a.markupSize.desktop} !important;\n }\n `}\n ${d}{\n background:${i.bgColor};\n border-bottom: ${i.separatorWidth}px solid ${i.separatorColor};\n margin-bottom:-2px;\n }\n ${d}>svg{\n fill:${i.iconColor}\n }\n ${c}>.panel{\n ${o.maxHeight.desktop>0?"max-height:"+o.maxHeight.desktop+"px;":""}\n ${o.maxHeight.desktop>0?"overflow-y:auto;":""}\n \n \n }\n ${b}.item-active{\n color:${o.hTxtColor} !important;\n }\n ${p}{\n padding-top:${o.padding.desktop?.top};\n padding-bottom:${o.padding.desktop?.bottom};\n padding-right:${o.padding.desktop?.right};\n }\n ${m}{\n padding-left:${o.padding.desktop?.left};\n }\n @media screen and (min-width: 1024px) {\n ${c}.sticky {\n z-index: ${l.zIndex.desktop} !important;\n position:${l?.device.includes("Desktop")?"fixed":"initial"};\n }\n ${["left","right"].map((t=>`${c}.sticky.${t}{\n ${t}:${l[t].desktop};\n }`)).join("")}\n ${["top","bottom"].map((t=>`${c}.sticky.${t}{\n ${t}:${l[t].desktop}\n }`)).join("")}\n ${"center"===l.verticalAlign?`${c}.sticky.center{top:50%; transform: translateY(-50%)}`:null}\n ${$}{\n ${o.maxHeight.desktop>0?"max-height:"+o.maxHeight.desktop+"px;":""}\n ${o.maxHeight.desktop>0?"overflow-y:auto;":""}\n }\n ${p}{\n padding-top:${o.padding.desktop?.top};\n padding-bottom:${o.padding.desktop?.bottom};\n padding-right:${o.padding.desktop?.right};\n }\n ${m}{\n padding-left:${o.padding.desktop?.left};\n }\n ${"decimal"===a.view?`\n \n ${m}{\n list-style-type:decimal;\n margin:0px;\n margin-left:${o.padding.desktop?.left};\n }\n ${p}::marker{\n color:${a.color};\n font-size:${a.markupSize.desktop};\n }\n `:`\n ${m}{\n list-style-type:none;\n }\n ${m}>li{\n display:flex;\n align-items:center;\n gap:5px;\n }\n ${p}>span>svg{\n color:${a.color};\n fill:${a.color};\n height:${a.markupSize.desktop} !important;\n }\n `}\n }\n @media only screen and (min-width:641px) and (max-width: 1024px){\n ${c}.sticky {\n ${s("width",l.width.tablet)}\n z-index: ${l.zIndex.tablet} !important;\n position:${l.device.includes("Tablet")?"fixed":"initial"};\n }\n ${["left","right"].map((t=>`${c}.sticky.${t}{\n ${t}:${l[t].tablet};\n }`)).join("")}\n ${["top","bottom"].map((t=>`${c}.sticky.${t}{\n ${t}:${l[t].tablet}\n }`)).join("")}\n ${"center"===l.verticalAlign?`${c}.sticky.center{top:50%; transform: translateY(-50%)}`:null}\n ${$}{\n ${o.maxHeight.tablet>0?"max-height:"+o.maxHeight.tablet+"px;":""}\n ${o.maxHeight.tablet>0?"overflow-y:auto;":""}\n }\n ${p}{\n padding-top:${o.padding.tablet?.top};\n padding-bottom:${o.padding.tablet?.bottom};\n padding-right:${o.padding.tablet?.right};\n }\n ${m}{\n padding-left:${o.padding.tablet?.left};\n }\n ${"decimal"===a.view?`\n \n ${m}{\n list-style-type:decimal;\n margin:0px;\n margin-left:${o.padding.tablet?.left};\n }\n ${p}::marker{\n color:${a.color};\n fill:${a.color};\n font-size:${a.markupSize.tablet};\n }\n `:`\n ${m}{\n list-style-type:none;\n }\n ${m}>li{\n display:flex;\n align-items:center;\n gap:5px;\n }\n ${p}>span>svg{\n color:${a.color};\n fill:${a.color};\n height:${a.markupSize.tablet} !important;\n }\n `}\n\n }\n @media only screen and (max-width: 640px) {\n ${c}.sticky {\n ${s("width",l.width.mobile)}\n z-index: ${l.zIndex.mobile} !important;\n position:${l.device.includes("Mobile")?"fixed":"initial"};\n }\n ${["left","right"].map((t=>`${c}.sticky.${t}{\n ${t}:${l[t].mobile};\n }`)).join("")}\n ${["top","bottom"].map((t=>`${c}.sticky.${t}{\n ${t}:${l[t].mobile}\n }`)).join("")}\n ${"center"===l.verticalAlign?`${c}.sticky.center{top:50%; transform: translateY(-50%)}`:null}\n ${$}{\n ${o.maxHeight.mobile>0?"max-height:"+o.maxHeight.mobile+"px;":""}\n ${o.maxHeight.mobile>0?"overflow-y:auto;":""}\n }\n ${p}{\n padding-top:${o.padding.mobile?.top};\n padding-bottom:${o.padding.mobile?.bottom};\n padding-right:${o.padding.mobile?.right};\n }\n ${m}{\n padding-left:${o.padding.mobile?.left};\n }\n ${"decimal"===a.view?`\n ${m}{\n list-style-type:decimal;\n margin:0px;\n margin-left:${o.padding.mobile?.left};\n }\n ${p}::marker{\n color:${a.color};\n font-size:${a.markupSize.mobile};\n }\n `:`\n ${m}{\n list-style-type:none;\n }\n ${m}>li{\n display:flex;\n align-items:center;\n gap:5px;\n }\n ${p}>span>svg{\n color:${a.color};\n fill:${a.color};\n height:${a.markupSize.mobile} !important;\n }\n `}\n }\n `))},Q=({attributes:t,id:e})=>{const i=(0,n.useRef)(),o=(0,n.useRef)(),a=(0,n.useRef)(),[l,s]=(0,n.useState)(!1),[r,c]=(0,n.useState)(),[d,$]=(0,n.useState)(),{header:m,title:p,tagName:b,minimize:g,markup:u,sticky:k,headings:y}=t;return f(b,y),(0,n.useEffect)((()=>{$(a?.current?.scrollHeight+"px")}),[]),(0,n.createElement)(n.Fragment,null,(0,n.createElement)(O,{toggle:l,attributes:t,id:e}),(0,n.createElement)("div",{ref:i,className:`bblocks-tbcn-accordion ${k.toggle?"sticky":""} ${k.horizonAlign} ${k.verticalAlign}`},(0,n.createElement)("div",{ref:o,onClick:()=>s(!l),className:"bblocks-tbcn-accordion-title"},(0,n.createElement)(M,{className:"bblocks-tbcn-content-table-title",style:{margin:"0",color:m.txtColor},tagName:p?.tag,dangerouslySetInnerHTML:{__html:p?.text}}),g.toggle&&(0,n.createElement)(n.Fragment,null,l?A.map((({value:t,icon:e})=>t===g.expandIcon&&e)):Y.map((({value:t,icon:e})=>t===g.collapseIcon&&e)))),(0,n.createElement)("div",{ref:a,style:{height:l&&g.toggle?"0px":d},className:"bblocks-tbcn-panel"},y?.length>0?(0,n.createElement)("ol",{className:"bblocks-tbcn-panel-table-container-order-list"},y.map(((t,e)=>t.contents.length>0&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)("li",{className:"bblocks-tbcn-panel-table-list-items",onClick:()=>c(e),key:e},"decimal"!==u.view&&(0,n.createElement)("span",null,C.map((({value:t,icon:e})=>t===u.icon&&e))),(0,n.createElement)("a",{className:"bblocks-tbcn-table-content-anchor-list "+(e===r?"item-active":""),href:`#${t.id}`},t.contents)))))):(0,n.createElement)(x,null))))},U=({attributes:t,id:e})=>{const{sticky:i,slideTitle:o,slideList:a,boxList:l}=t,c=`#${e} .bblocks-tbcn-timeline-container`,d=`${c} .bblocks-tbcn-timeline-title-container .bblocks-tbcn-timeline-title`,$=`${c} .bblocks-tbcn-timeline-list-items`,m=`${$} .bblocks-tbcn-timeline-list`;return(0,n.createElement)("style",null,`\n${$} {\n border-left: 2px dashed ${l.treeColor};\n}\n${d} {\n padding-top:${o.space.desktop};\n padding-bottom: ${o.spaceBottom.desktop};\n}\n${m} {\n margin-bottom:${a.space.desktop};\n margin-left:25px;\n}\n\n${m}>a {\n text-decoration: none;\n font-size:${a.fontSize.desktop}\n}\n${m} a.item-active{\n color:${l.hTxtColor} !important;\n}\n${m}>a.item-active::before{\n background-color:${l.hTxtColor}\n}\n${m}>a::before {\n width: ${l.dotSize}px;\n height: ${l.dotSize}px;\n -webkit-box-shadow: ${r(l.dotShadow)};\n box-shadow: ${r(l.dotShadow)};\n}\n${m}>a{\n color:${l.nTxtColor} !important;\n}\n${m}>a:hover {\n color:${l.hTxtColor} !important;\n}\n\n${m}>a:hover::before {\n background-color:${l.hTxtColor};\n}\n${c}.sticky {\n${s("width",i.width.desktop)}\n z-index: ${i.zIndex.desktop} !important;\n\n position:fixed;\n}\n${["left","right"].map((t=>`${c}.sticky.${t}{\n${t}:${i[t].desktop};\n}`)).join("")}\n${["top","bottom"].map((t=>`${c}.sticky.${t}{\n${t}:${i[t].desktop}\n}`)).join("")}\n${"center"===i.verticalAlign?`${c}.sticky.center{top:50%; transform: translateY(-50%)}`:null}\n\n\n@media screen and (min-width: 1024px) {\n\n${d} {\n padding-top:${o.space.desktop};\n padding-bottom: ${o.spaceBottom.desktop};\n}\n${m} {\n margin-bottom:${a.space.desktop};\n margin-left:25px;\n}\n${m}>a {\n text-decoration: none;\n font-size:${a.fontSize.desktop}\n}\n${c}.sticky {\n z-index: ${i.zIndex.desktop} !important;\n position:${i.device.includes("Desktop")?"fixed":"initial"};\n}\n${["left","right"].map((t=>`${c}.sticky.${t}{\n${t}:${i[t].desktop};\n}`)).join("")}\n${["top","bottom"].map((t=>`${c}.sticky.${t}{\n${t}:${i[t].desktop}\n}`)).join("")}\n${"center"===i.verticalAlign?`${c}.sticky.center{top:50%; transform: translateY(-50%)}`:null} \n}\n@media only screen and (min-width:641px) and (max-width: 1024px) {\n${d} {\n padding-top:${o.space.tablet};\n padding-bottom: ${o.spaceBottom.tablet};\n}\n${m} {\n margin-bottom:${a.space.tablet};\n}\n${m}>a {\n font-size:${a.fontSize.tablet}\n}\n${c}.sticky {\n${s("width",i.width.tablet)}\n z-index: ${i.zIndex.tablet} !important;\n position:${i.device.includes("Tablet")?"fixed":"initial"};\n}\n\n${["left","right"].map((t=>`${c}.sticky.${t}{\n${t}:${i[t].tablet};\n}`))}\n\n${["top","bottom"].map((t=>`${c}.sticky.${t}{\n${t}:${i[t].tablet}\n}`)).join("")}\n${"center"===i.verticalAlign?`${c}.sticky.center{top:50%; transform: translateY(-50%)}`:null}\n\n}\n@media only screen and (max-width: 640px) {\n\n${d} {\n padding-top:${o.space.mobile};\n padding-bottom: ${o.spaceBottom.mobile};\n}\n${m} {\n margin-bottom:${a.space.mobile};\n}\n${m}>a {\n font-size:${a.fontSize.mobile}\n}\n${c}.sticky {\n${s("width",i.width.mobile)}\n z-index: ${i.zIndex.mobile} !important;\n position:${i.device.includes("Mobile")?"fixed":"initial"};\n}\n\n${["top","bottom"].map((t=>`${c}.sticky.${t}{\n${t}:${i[t].mobile}\n}`)).join("")}\n${"center"===i.verticalAlign?`${c}.sticky.center{top:50%; transform: translateY(-50%)}`:null}\n${["left","right"].map((t=>`${c}.sticky.${t}{\n${t}:${i[t].mobile};\n}`))}\n}\n`)},H=({attributes:t,id:e})=>{const{title:i,slideTitle:o,tagName:a,sticky:l,headings:s}=t,[r,c]=(0,n.useState)(),[d,$]=(0,n.useState)(!1);return f(a,s),(0,n.createElement)(n.Fragment,null,(0,n.createElement)(U,{attributes:t,id:e}),(0,n.createElement)("div",{onClick:()=>$(!d),className:`bblocks-tbcn-timeline-container ${l.toggle?"sticky":""} ${l.horizonAlign} ${l.verticalAlign} `},(0,n.createElement)("div",{className:"bblocks-tbcn-timeline-title-container"},(0,n.createElement)(M,{className:"bblocks-tbcn-timeline-title",style:{color:o.titleColor},tagName:i.tag,dangerouslySetInnerHTML:{__html:i?.text}})),(0,n.createElement)(n.Fragment,null,s?.length>0?(0,n.createElement)("ul",{className:"bblocks-tbcn-timeline-list-items"},Array.from(s).map(((t,e)=>(0,n.createElement)(n.Fragment,null,(0,n.createElement)("li",{className:"bblocks-tbcn-timeline-list",key:e},(0,n.createElement)("a",{onClick:()=>c(e),className:e===Number(r)?"item-active":"",href:`#${t.id}`},t.contents)))))):(0,n.createElement)(x,null))))},B=({attributes:t,id:e})=>{const{theme:i}=t;switch(i){case"slide":return(0,n.createElement)(N,{attributes:t,id:e});case"timeline":return(0,n.createElement)(H,{attributes:t,id:e});case"list":return(0,n.createElement)(v,{attributes:t,id:e});default:return(0,n.createElement)(Q,{attributes:t,id:e})}};document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".wp-block-b-blocks-table-of-content").forEach((t=>{const e=JSON.parse(t.dataset.attributes);(0,i.H)(t).render((0,n.createElement)(n.Fragment,null,(0,n.createElement)("style",{dangerouslySetInnerHTML:{__html:`${h(t.id,e.advanced,!1)}`}}),(0,n.createElement)(B,{attributes:e,id:t.id}))),t?.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,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===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")}))}))})(); | |