|
1
|
|
-(()=>{"use strict";var t={5338:(t,e,o)=>{var n=o(5795);e.H=n.createRoot,n.hydrateRoot},5795:t=>{t.exports=window.ReactDOM}},e={};const o=window.React;var n=function o(n){var i=e[n];if(void 0!==i)return i.exports;var r=e[n]={exports:{}};return t[n](r,r.exports,o),r.exports}(5338);const i=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),r="@media only screen and (max-width: 1024px)",a="@media only screen and (max-width: 640px)",s=(t,e,o=!1)=>i(e)?`${t}: ${e}${o?" !important":""};`:"",M=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:e="center center",xPosition:o=0,yPosition:n=0,attachment:r="",repeat:a="no-repeat",size:s="cover",customSize:M="0px"}=t||{},c=t=>"initial"!==t||i(t);return`\n\t\t${c(e)?`background-position: ${"custom"===e?`${o} ${n}`:e};`:""}\n\t\t${r&&c(r)?`background-attachment: ${r};`:""}\n\t\t${c(a)?`background-repeat: ${a};`:""}\n\t\t${c(s)?`background-size: ${"custom"===s?`${M} auto`:s};`:""}\n\t`},l=(t={})=>t?{desktop:i(t.url)?`background-image: url(${t.url}); ${c(t?.desktop)}`:"",tablet:i(t.url)?c(t?.tablet):"",mobile:i(t.url)?c(t?.mobile):""}:"",d=(t,e,o=!1)=>{const{type:n="color",color:M,gradient:c,img:d,video:u}=t||{},y="color"===n?s("background",M):"gradient"===n?(t=>{const{type:e="linear",radialType:o="ellipse",colors:n=[],centerPositions:r={x:0,y:0},angel:a=0}=t||{};if(i(t)){const t=n?.map((({color:t,position:e})=>`${t} ${e}%`)),i=`linear-gradient(${a}deg, ${t})`;return s("background","radial"===e?`radial-gradient(${o} at ${r?.x}% ${r?.y}%,${t})`:i)}return""})(c):"image"===n?l(d).desktop:"",p="image"===n?l(d).tablet:"",w="image"===n?l(d).mobile:"",N=o?`${e}:hover`:e;return`\n\t\t${"video"===n?((t,e)=>{const{url:o,loop:n}=t||{},i=document.querySelector(e),r=i?.querySelector(".bPlVideo"),a=document.createElement("video");return a.muted=!0,a.autoplay=!0,a.classList.add("bPlVideo"),r||i&&o&&(a.innerHTML=`<source src=${o}></source>`,i.appendChild(a)),a.loop=n,a.play(),`${e} .bPlVideo{\n\t\tleft: 0;\n\t\tmin-height: 100%;\n\t\tmin-width: 100%;\n\t\tposition: absolute;\n\t\twidth: -webkit-fill-available;\n\t\ttop: 0;\n\t\tz-index: 0;\n\t}`})(u,e):""}\n\n\t\t${y?`${N}{\n\t\t\t${y}\n\t\t}`:""}\n\n\t\t${p?`${r} {\n\t\t\t${N}{\n\t\t\t\t${p}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${w?`${a} {\n\t\t\t${N}{\n\t\t\t\t${w}\n\t\t\t}\n\t\t}`:""}\n\t`.replace(/\s+/g," ").trim()},u=(t,e,o=!1)=>{const{isEnabled:n,colors:r,opacity:a=1,blend:M,filter:c="",blur:l=0,brightness:u=100,contrast:y=100,saturation:p=100,hue:w=0,position:N={top:0,right:0,bottom:0,left:0},zIndex:j=-1}=t||{},L=`${100!==u?`brightness(${u}%)`:""} ${100!==y?`contrast(${y}%)`:""} ${100!==p?`saturate(${p}%)`:""} ${0!==l?`blur(${l}px)`:""} ${0!==w?`hue-rotate(${w}deg)`:""}`,$=`${c}: ${c?L:""}; -webkit-${c}: ${c?L:""};`,D=o?`${e}:hover::after`:`${e}::after`;return n?`\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:${i(N.top)?N.top:0};\n\t\t\tright:${i(N.right)?N.right:0};\n\t\t\tbottom:${i(N.bottom)?N.bottom:0};\n\t\t\tleft:${i(N.left)?N.left:0};\n\t\t\tz-index:${j};\n\t\t}\n\t\t${d(r,D,!1)}\n\t\t${D}{\n\t\t\t${s("opacity",a)}\n\t\t\t${s("mix-blend-mode",M)}\n\t\t\t${$}\n\t\t}\n\t`.replace(/\s+/g," ").trim():""},y=(t,e,o=!1)=>{const n=(t,e="desktop")=>{if(!i(t))return"";const{skew:o,scale:n,rotate:r,offset:a,flipX:M,flipY:c}=t,{threeDRotate:l}=r||{},{isProportion:d}=n||{},u=[];return i(o)&&(i(o?.[e]?.x)&&u.push(`skewX(${o[e].x}deg)`),i(o?.[e]?.y)&&u.push(`skewY(${o[e].y}deg)`)),d?i(n?.[e]?.scale)&&u.push(`scale(${n[e].scale})`):(i(n?.[e]?.x)&&u.push(`scaleX(${n[e].x})`),i(n?.[e]?.y)&&u.push(`scaleY(${n[e].y})`)),i(r)&&(i(r?.[e]?.z)&&u.push(`rotateZ(${r[e].z}deg)`),l&&(i(r?.[e]?.x)&&u.push(`rotateX(${r[e].x}deg)`),i(r?.[e]?.y)&&u.push(`rotateY(${r[e].y}deg)`))),i(a)&&(i(a?.[e]?.x)&&u.push(`translateX(${a[e].x})`),i(a?.[e]?.y)&&u.push(`translateY(${a[e].y})`)),i(M)&&u.push(M?"scaleX(-1)":""),i(c)&&u.push(c?"scaleY(-1)":""),0===u.length?"":s("transform",u.join(" "))},M=o?`${e}:hover`:e;return`\n\t\t${M} {\n\t\t\t${n(t,"desktop")}\n\t\t}\n\t\t${r}{\n\t\t\t${M} {\n\t\t\t\t${n(t,"tablet")}\n\t\t\t}\n\t\t}\n\t\t${a}{\n\t\t\t${M} {\n\t\t\t\t${n(t,"mobile")}\n\t\t\t}\n\t\t}\n\t`},p=t=>{const{padding:e,margin:o,height:n,width:i}=t||{},r=(t,e)=>s(t,e),a=(t,e,o)=>r(t,e?.[t]?.[o])+r(`min-${t}`,e?.min?.[o])+r(`max-${t}`,e?.max?.[o]),c=t=>s("padding",M(t)),l=t=>s("margin",M(t));return{desktop:c(e?.desktop)+l(o?.desktop)+a("height",n,"desktop")+a("width",i,"desktop"),tablet:c(e?.tablet)+l(o?.tablet)+a("height",n,"tablet")+a("width",i,"tablet"),mobile:c(e?.mobile)+l(o?.mobile)+a("height",n,"mobile")+a("width",i,"mobile")}},w=t=>{const{normal:e,hover:o}=t||{},n=t=>{const{border:e,radius:o,shadow:n}=t||{},i=s("border-radius",M(o)),r=s("box-shadow",((t,e="box")=>{let o="";return t?.map(((n,i)=>{const{hOffset:r="0px",vOffset:a="0px",blur:s="0px",spreed:M="0px",color:c="#e7f0fe",isInset:l=!1}=n||{},d=l?"inset":"",u=`${r} ${a} ${s}`,y=i+1>=t.length?"":", ";o+="text"===e?`${u} ${c}${y}`:`${u} ${M} ${c} ${d}${y}`})),o||""})(n,"box"));return(t=>{if(!t)return"";const e=t=>{const{color:e="#000000",style:o="solid",width:n="0px"}=t;return`${n} ${o} ${e}`};return"object"!=typeof t||Array.isArray(t)?"":t.hasOwnProperty("top")||t.hasOwnProperty("right")||t.hasOwnProperty("bottom")||t.hasOwnProperty("left")?["top","right","bottom","left"].map((o=>t[o]?`border-${o}: ${e(t[o])};`:"")).join(" ").trim():s("border",e(t))})(e)+i+r};return{normal:n(e),hover:n(o)}},N=t=>{const{zIndex:e,overflow:o}=t||{},n=o?`overflow: ${o};`:"",r=t=>`${s("z-index",e?.[t])} ${s("position",i(e?.[t])?"relative":"")}`;return{desktop:r("desktop")+n,tablet:r("tablet"),mobile:r("mobile")}},j=(t,e)=>{const{desktop:o=!1,tablet:n=!1,mobile:i=!1}=t||{},r=e?"opacity: 0.5;":"display: none;",a=t=>t?r:"";return{desktop:a(o),tablet:a(n),mobile:a(i)}},L=(t,e,o=!1,n=!0)=>{const{dimension:M,transform:c,background:l,borderShadow:L,mask:$,animation:D,visibility:m,responsive:b,css:g=""}=e||{},x=o?`#${t}>div>div${n?":first-child":""}`:`#${t}>div`;((t,e,o)=>{const n=o?`#${e} > div`:`#${e}`,i=document.querySelector(n);i&&t&&t.type&&(i.setAttribute("data-aos",t.type),i.setAttribute("data-aos-duration",1e3*t.duration||.4),i.setAttribute("data-aos-delay",1e3*t.delay||0),i.classList.contains("aos-init")||(i.classList.add("aos-init"),window?.AOS?.init()),o)&&new IntersectionObserver((t=>{t.forEach((t=>{t.intersectionRatio>.5?i.classList.add("aos-animate"):i.classList.remove("aos-animate")}))}),{threshold:[.5]}).observe(i)})(D,t,o);const z=p(M).desktop+N(m).desktop+((t,e,o)=>{const{transition:n=.4}=t||{},{transition:i=.4}=e||{},{transition:r=200}=o||{};return`transition: background ${n}s, border ${i}s, border-radius ${i}s, box-shadow ${i}s, transform ${r}ms ease-in-out;`})(l,L,c)+(t=>{const{isMask:e=!1,shape:o={type:"circle"},size:n={type:"contain",scale:"100%"},position:i={type:"center center",x:50,y:50},repeat:r="no-repeat"}=t||{};return e?`-webkit-mask-image: url(${"custom"===o.type?o.url:(a=o.type,[{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48Y2lyY2xlIGN4PSI0NC41IiBjeT0iNDQuNSIgcj0iNDQuNSIvPjwvc3ZnPg==",type:"circle"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48cGF0aCBkPSJNNzYuMTMzMiw0NC40NzUybDYuMzI4OS02LjMyODVBMjIuMzQ4NiwyMi4zNDg2LDAsMCwwLDUwLjg1LDYuNTQ3NEw0NC41MzIsMTIuODY1MSwzOC4xNiw2LjU0NzRhMjIuMzUyNCwyMi4zNTI0LDAsMSwwLTMxLjYxMiwzMS42MWw2LjMxODEsNi4zMTc3TDYuNTQ3OCw1MC44NDdhMjIuMzUyNCwyMi4zNTI0LDAsMCwwLDMxLjYxM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MDEsMjUuMzAzMmMtMTAuNiw5LjYxMzQtMjguMTU4OS01LjQ0MjMtNDEuODU4NCwyLjYzMThDLjY3NTcsMzUuMjU0My00LjI3OTEsNTkuMTQ4OSw0LjI3ODEsNzMuNzk3NWMxMy4xMzY5LDIyLjUyNCw1My4xMywxMy44NTQxLDYxLjE5MzYsMTIuMTA2MSw0LjUwMDctLjk5MzEsNTMuNDk1My0xMi4yNjUsNTUuNDY5My00Mi43MDQzQzEyMS44OTgsMjguMjUyOCwxMTEuMSwxNC40MTg1LDEwMC4wMTYsNy4zOTcyWiIvPjwvc3ZnPg==",type:"blob"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDMiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCAxMDMgODkiPjxwYXRoIGQ9Ik03Ny4yMTE0LDBIMjUuNzUyM0wwLDQ0LjUwNDUsMjUuNzUyMyw4OUg3Ny4yMTE0TDEwMyw0NC41MDQ1Wk02MS43NjkxLDYyLjI2MUg0MS4yMjE4TDMwLjkzOTEsNDQuNTA0NSw0MS4yMjE4LDI2LjczOUg2MS43NjkxTDcyLjA1MTksNDQuNTA0NVoiLz48L3N2Zz4=",type:"hexagon"}].find((t=>t.type===a))).svg});\n\t\t-webkit-mask-size: ${"custom"===n.type?n.scale:n.type};\n\t\t${"custom"===i.type?`${s("-webkit-mask-position-x",i.x)}\n\t\t\t${s("-webkit-mask-position-y",i.y)}`:`${s("-webkit-mask-position",i.type)}`}\n\t\t${"cover"!==n.type?`-webkit-mask-repeat: ${r};`:""}`:"";var a})($),h=p(M).tablet+N(m).tablet+j(b,o).tablet,I=p(M).mobile+N(m).mobile+j(b,o).mobile,T=w(L).normal,k=w(L).hover,v=j(b,o).desktop;return`\n\t\t${z||T?`${x} {\n\t\t\t${z}\n\t\t\t${T}\n\t\t}`:""}\n\t\t${k?`${x}:hover {\n\t\t\t${k}\n\t\t}`:""}\n\n\t\t${v?`@media only screen and (min-width: 1025px) {\n\t\t\t${x}{\n\t\t\t\t${v}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${h?`${r} {\n\t\t\t${x}{\n\t\t\t\t${h}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${I?`${a} {\n\t\t\t${x}{\n\t\t\t\t${I}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${d(l?.normal,x)}\n\t\t${d(l?.hover,x,!0)}\n\t\t${u(l?.overlay,x)}\n\t\t${u(l?.hoverOverlay,x,!0)}\n\t\t${i(c?.normal)?y(c?.normal,x):""}\n\t\t${i(c?.hover)?y(c?.hover,x,!0):""}\n\n\t\t${g}\n\t`.replace(/\s+/g," ")},$=({attributes:t,id:e})=>{const{advanced:n}=t;return(0,o.createElement)("style",{dangerouslySetInnerHTML:{__html:`\n\t\t\t${L(e,n)}\n\t`}})},D=({attributes:t,facebookKey:e})=>{const{facebook:n}=t,i=`https://www.facebook.com/plugins/video.php?href=${encodeURIComponent(n.url?.video||"")}&width=${n.width||"500"}&show_text=${n.fullPost}&show_captions=${n.caption}&autoplay=${n.autoPlay}&appId=${e}`,r=`https://www.facebook.com/plugins/post.php?href=${encodeURIComponent(n.url?.post||"")}&width=${n.width||"500"}&show_text=${n.fullPost}&appId=${e}`;return(0,o.createElement)("div",{className:`b-blocks-facebookEmbed-wrapper ${n.alignment}`},"video"===n.type&&(0,o.createElement)("div",{className:"fb-video-container"},(0,o.createElement)("iframe",{src:i,width:n.width||"500",height:"auto",style:{border:"none",overflow:"hidden",width:"100%",minHeight:"315px"},scrolling:"no",frameBorder:"0",allowFullScreen:n.fullScreen,allow:"autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"})),"post"===n.type&&(0,o.createElement)("div",{className:"fb-post-container"},(0,o.createElement)("iframe",{src:r,width:n.width||"500",height:"auto",style:{border:"none",overflow:"hidden",width:"100%",minHeight:"500px"},scrolling:"no",frameBorder:"0",allowFullScreen:!0,allow:"autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"})))};document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".wp-block-b-blocks-facebook-embed").forEach((t=>{const e=JSON.parse(t.dataset.attributes),i=t.dataset.facebookkey;i&&((0,n.H)(t).render((0,o.createElement)(o.Fragment,null,(0,o.createElement)($,{attributes:e,id:t.id}),(0,o.createElement)(D,{attributes:e,facebookKey:i}))),t?.removeAttribute("data-attributes"),t?.removeAttribute("data-facebookkey"))}))}))})(); |
|
1
|
+(()=>{"use strict";const t=window.ReactDOM,e=t=>!(null==t||""===t||Array.isArray(t)&&0===t.length||"object"==typeof t&&0===Object.keys(t).length||"string"==typeof t&&""===t.trim()||"number"==typeof t&&0===t),n=t=>{try{const e=new URL(t);return["http:","https:"].includes(e.protocol)?e.toString():null}catch(e){return"string"==typeof t&&t.startsWith("/")&&!t.startsWith("//")?t:null}},o="@media only screen and (min-width: 1025px)",i="@media only screen and (max-width: 1024px)",a="@media only screen and (max-width: 640px)";window.React;const r=t=>{const e=n(t);return e?`url('${e.replace(/['"()]/g,"")}')`:"none"},s=(t,n)=>e(n)?`${t}: ${n};`:"",l=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:o=0,yPosition:i=0,attachment:a="",repeat:r="no-repeat",size:s="cover",customSize:l="0px"}=t||{},c=t=>"initial"!==t||e(t);return`\n\t\t${c(n)?`background-position: ${"custom"===n?`${o} ${i}`:n};`:""}\n\t\t${a&&c(a)?`background-attachment: ${a};`:""}\n\t\t${c(r)?`background-repeat: ${r};`:""}\n\t\t${c(s)?`background-size: ${"custom"===s?`${l} auto`:s};`:""}\n\t`},d=(t={})=>t?{desktop:e(t.url)?`background-image: ${r(t.url)}; ${c(t?.desktop)}`:"",tablet:e(t.url)?c(t?.tablet):"",mobile:e(t.url)?c(t?.mobile):""}:"",u=(t,o,r=!1)=>{const{type:l="color",color:c,gradient:u,img:M,video:p}=t||{},$="color"===l?s("background",c):"gradient"===l?(t=>{const{type:n="linear",radialType:o="ellipse",colors:i=[],centerPositions:a={x:0,y:0},angel:r=0}=t||{};if(e(t)){const t=i?.map((({color:t,position:e})=>`${t} ${e}%`)),e=`linear-gradient(${r}deg, ${t})`;return s("background","radial"===n?`radial-gradient(${o} at ${a?.x}% ${a?.y}%,${t})`:e)}return""})(u):"image"===l?d(M).desktop:"",m="image"===l?d(M).tablet:"",y="image"===l?d(M).mobile:"",b=r?`${o}:hover`:o;return`\n\t\t${"video"===l?((t,e)=>{const{url:o,loop:i}=t||{},a=document.querySelector(e),r=a?.querySelector(".bPlVideo"),s=document.createElement("video");if(s.muted=!0,s.autoplay=!0,s.classList.add("bPlVideo"),!r&&a&&o){const t=n(o);if(t){const e=document.createElement("source");e.src=t,s.appendChild(e),a.appendChild(s)}}return s.loop=i,s.play(),`${e} .bPlVideo{\n\t\tleft: 0;\n\t\tmin-height: 100%;\n\t\tmin-width: 100%;\n\t\tposition: absolute;\n\t\twidth: -webkit-fill-available;\n\t\ttop: 0;\n\t\tz-index: 0;\n\t}`})(p,o):""}\n\n\t\t${$?`${b}{\n\t\t\t${$}\n\t\t}`:""}\n\n\t\t${m?`${i} {\n\t\t\t${b}{\n\t\t\t\t${m}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${y?`${a} {\n\t\t\t${b}{\n\t\t\t\t${y}\n\t\t\t}\n\t\t}`:""}\n\t`.replace(/\s+/g," ").trim()},M=(t,n,o=!1)=>{const{isEnabled:i,colors:a,opacity:r=1,blend:l,filter:c="",blur:d=0,brightness:M=100,contrast:p=100,saturation:$=100,hue:m=0,position:y={top:0,right:0,bottom:0,left:0},zIndex:b=-1}=t||{},j=`${100!==M?`brightness(${M}%)`:""} ${100!==p?`contrast(${p}%)`:""} ${100!==$?`saturate(${$}%)`:""} ${0!==d?`blur(${d}px)`:""} ${0!==m?`hue-rotate(${m}deg)`:""}`,w=`${c}: ${c?j:""}; -webkit-${c}: ${c?j:""};`,N=o?`${n}:hover::after`:`${n}::after`;return i?`\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(y.top)?y.top:0};\n\t\t\tright:${e(y.right)?y.right:0};\n\t\t\tbottom:${e(y.bottom)?y.bottom:0};\n\t\t\tleft:${e(y.left)?y.left:0};\n\t\t\tz-index:${b};\n\t\t}\n\t\t${u(a,N,!1)}\n\t\t${N}{\n\t\t\t${s("opacity",r)}\n\t\t\t${s("mix-blend-mode",l)}\n\t\t\t${w}\n\t\t}\n\t`.replace(/\s+/g," ").trim():""},p=(t,n,o=!1)=>{const r=(t,n="desktop")=>{if(!e(t))return"";const{skew:o,scale:i,rotate:a,offset:r,flipX:l,flipY:c}=t,{threeDRotate:d}=a||{},{isProportion:u}=i||{},M=[];return e(o)&&(e(o?.[n]?.x)&&M.push(`skewX(${o[n].x}deg)`),e(o?.[n]?.y)&&M.push(`skewY(${o[n].y}deg)`)),u?e(i?.[n]?.scale)&&M.push(`scale(${i[n].scale})`):(e(i?.[n]?.x)&&M.push(`scaleX(${i[n].x})`),e(i?.[n]?.y)&&M.push(`scaleY(${i[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(r)&&(e(r?.[n]?.x)&&M.push(`translateX(${r[n].x})`),e(r?.[n]?.y)&&M.push(`translateY(${r[n].y})`)),e(l)&&M.push(l?"scaleX(-1)":""),e(c)&&M.push(c?"scaleY(-1)":""),0===M.length?"":s("transform",M.join(" "))},l=o?`${n}:hover`:n;return`\n\t\t${l} {\n\t\t\t${r(t,"desktop")}\n\t\t}\n\t\t${i}{\n\t\t\t${l} {\n\t\t\t\t${r(t,"tablet")}\n\t\t\t}\n\t\t}\n\t\t${a}{\n\t\t\t${l} {\n\t\t\t\t${r(t,"mobile")}\n\t\t\t}\n\t\t}\n\t`},$=t=>{const{padding:e,margin:n,height:o,width:i}=t||{},a=(t,e)=>s(t,e),r=(t,e,n)=>a(t,e?.[t]?.[n])+a(`min-${t}`,e?.min?.[n])+a(`max-${t}`,e?.max?.[n]),c=t=>s("padding",l(t)),d=t=>s("margin",l(t));return{desktop:c(e?.desktop)+d(n?.desktop)+r("height",o,"desktop")+r("width",i,"desktop"),tablet:c(e?.tablet)+d(n?.tablet)+r("height",o,"tablet")+r("width",i,"tablet"),mobile:c(e?.mobile)+d(n?.mobile)+r("height",o,"mobile")+r("width",i,"mobile")}},m=t=>{const{normal:e,hover:n}=t||{},o=t=>{const{border:e,radius:n,shadow:o}=t||{},i=s("border-radius",l(n)),a=s("box-shadow",((t,e="box")=>{let n="";return t?.map(((o,i)=>{const{hOffset:a="0px",vOffset:r="0px",blur:s="0px",spreed:l="0px",color:c="#e7f0fe",isInset:d=!1}=o||{},u=d?"inset":"",M=`${a} ${r} ${s}`,p=i+1>=t.length?"":", ";n+="text"===e?`${M} ${c}${p}`:`${M} ${l} ${c} ${u}${p}`})),n||""})(o,"box"));return(t=>{if(!t)return"";const e=t=>{const{color:e="#000000",style:n="solid",width:o="0px"}=t;return`${o} ${n} ${e}`};return"object"!=typeof t||Array.isArray(t)?"":t.hasOwnProperty("top")||t.hasOwnProperty("right")||t.hasOwnProperty("bottom")||t.hasOwnProperty("left")?["top","right","bottom","left"].map((n=>t[n]?`border-${n}: ${e(t[n])};`:"")).join(" ").trim():s("border",e(t))})(e)+i+a};return{normal:o(e),hover:o(n)}},y=t=>{const{zIndex:n,overflow:o}=t||{},i=o?`overflow: ${o};`:"",a=t=>`${s("z-index",n?.[t])} ${s("position",e(n?.[t])?"relative":"")}`;return{desktop:a("desktop")+i,tablet:a("tablet"),mobile:a("mobile")}},b=(t,e)=>{const{desktop:n=!1,tablet:o=!1,mobile:i=!1}=t||{},a=e?"opacity: 0.5;":"display: none;",r=t=>t?a:"";return{desktop:r(n),tablet:r(o),mobile:r(i)}},j=(t,n,l=!1,c=!0)=>{const{dimension:d,transform:j,background:w,borderShadow:N,mask:x,animation:g,visibility:h,responsive:L,position:D={},floating:f={},motion:z={},css:k=""}=n||{},v=l?`#${t}>div>div${c?":first-child":""}`:`#${t}>div`;((t,e,n)=>{const o=n?`#${e} > div`:`#${e}`,i=document.querySelector(o);i&&t&&t.type&&(i.setAttribute("data-aos",t.type),i.setAttribute("data-aos-duration",1e3*t.duration||.4),i.setAttribute("data-aos-delay",1e3*t.delay||0),i.classList.contains("aos-init")||(i.classList.add("aos-init"),window?.AOS?.init()),n)&&new IntersectionObserver((t=>{t.forEach((t=>{t.intersectionRatio>.5?i.classList.add("aos-animate"):i.classList.remove("aos-animate")}))}),{threshold:[.5]}).observe(i)})(g,t,l);const I=$(d).desktop+y(h).desktop+((t,e,n)=>{const{transition:o=.4}=t||{},{transition:i=.4}=e||{},{transition:a=200}=n||{};return`transition: background ${o}s, border ${i}s, border-radius ${i}s, box-shadow ${i}s, transform ${a}ms ease-in-out;`})(w,N,j)+(t=>{const{isMask:e=!1,shape:n={type:"circle"},size:o={type:"contain",scale:"100%"},position:i={type:"center center",x:50,y:50},repeat:a="no-repeat"}=t||{};return e?`-webkit-mask-image: ${"custom"===n.type?r(n.url):`url(${(l=n.type,[{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4OSIgaGVpZ2h0PSI4OSIgdmlld0JveD0iMCAwIDg5IDg5Ij48Y2lyY2xlIGN4PSI0NC41IiBjeT0iNDQuNSIgcj0iNDQuNSIvPjwvc3ZnPg==",type:"circle"},{svg:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI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NC41MDUiLz48L3N2Zz4=",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"===o.type?o.scale:o.type};\n\t\t${"custom"===i.type?`${s("-webkit-mask-position-x",i.x)}\n\t\t\t${s("-webkit-mask-position-y",i.y)}`:`${s("-webkit-mask-position",i.type)}`}\n\t\t${"cover"!==o.type?`-webkit-mask-repeat: ${a};`:""}`:"";var l})(x),T=$(d).tablet+y(h).tablet+b(L,l).tablet,S=$(d).mobile+y(h).mobile+b(L,l).mobile,O=m(N).normal,E=m(N).hover,Y=b(L,l).desktop;return`\n\t\t${I||O?`${v} {\n\t\t\t${I}\n\t\t\t${O}\n\t\t}`:""}\n\t\t${E?`${v}:hover {\n\t\t\t${E}\n\t\t}`:""}\n\n\t\t${Y?`${o} {\n\t\t\t${v}{\n\t\t\t\t${Y}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${T?`${i} {\n\t\t\t${v}{\n\t\t\t\t${T}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${S?`${a} {\n\t\t\t${v}{\n\t\t\t\t${S}\n\t\t\t}\n\t\t}`:""}\n\n\t\t${u(w?.normal,v)}\n\t\t${u(w?.hover,v,!0)}\n\t\t${M(w?.overlay,v)}\n\t\t${M(w?.hoverOverlay,v,!0)}\n\t\t${e(j?.normal)?p(j?.normal,v):""}\n\t\t${e(j?.hover)?p(j?.hover,v,!0):""}\n\t\t${((t,e)=>{const{desktop:n={},tablet:o={},mobile:r={}}=t,l=(t={})=>`\n\t\t${e}{\n\t\t\t${s("position",t?.type)}\n\t\t\t${s("left",t?.horizontal?.left)}\n\t\t\t${s("right",t?.horizontal?.right)}\n\t\t\t${s("top",t?.vertical?.top)}\n\t\t\t${s("bottom",t?.vertical?.bottom)}\n\t\t}\n\t`;return`\n\t\t\n\t\t${n?.type?l(n):""}\n\t\t\n\t\t${i}{\n\t\t\t${o?.type?l(o):""}\n\t\t}\n\n\t\t${a}{\n\t\t\t${r?.type?l(r):""}\n\t\t}\n\t`})(D,v)}\n\t\t${((t,n,o="")=>{const{translate:i={},rotate:a={},scale:r={},isEnabled:s=!1}=t||{};if(!s)return"";const l=[],c=[];return[{name:"Translate",property:"translate",values:i,value:t=>["x","y"].some((n=>e(i?.[n]?.[t])))?`${i?.x?.[t]||0}px ${i?.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:r,value:t=>{const n=r?.y?.[t],o=r?.z?.[t];return e(n)||e(o)?e(o)?`1 ${e(n)?n:1} ${o}`:`1 ${n}`:""}}].forEach((({name:t,property:e,values:n,value:i})=>{const a=i("from"),r=i("to");if(!a||!r)return;const s=Number(n?.duration)>0?Number(n.duration):1e3,d=Number(n?.delay)>0?Number(n.delay):0,u=`advFloat${t}${o?`-${o}`:""}`;l.push(`@keyframes ${u}{ from{ ${e}: ${a}; } to{ ${e}: ${r}; } }`),c.push(`${u} ${s}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`:""})(f,v,t)}\n\t\t${((t,n,r)=>{const{isEnable:s=!1,vertical:l={},horizontal:c={},transparency:d={},blur:u={},rotate:M={},scale:p={},effectsRelativeTo:$="viewport",effectOn:m=["desktop","tablet-portrait","mobile-portrait"],isMouseEffect:y=!1,mouseTrack:b={},tilt:j={},sticky:w={}}=t||{},N=(t,n)=>e(t)&&!isNaN(t)?Number(t):n,x="viewport"===$,g=x?"view()":"scroll(nearest block)",h=[],L=[],D=[],f=[],z=String(r??"").replace(/[^a-zA-Z0-9]/g,""),k=(t,e,n)=>{h.push(`@keyframes advMe${t}${z}{ ${e} }`),L.push(`advMe${t}${z}`),D.push(g),f.push((t=>{const e=N(t?.top,0),n=N(t?.bottom,100),o=Math.min(e,n),i=Math.max(e,n);return x?`cover ${o}% ${i>=90?"contain 100%":`cover ${i}%`}`:`min(${3*o}vh, ${o}%) min(${3*i}vh, ${i}%)`})(n))};if(s){const t=l?.direction,e=c?.direction,n=t?100*N(l?.speed,4):0,o=e?100*N(c?.speed,4):0;if(n||o){const i="up"===t?-n:n,a="to-left"===e?-o:o,r=[n&&l,o&&c].filter(Boolean);k("Translate",`from{ translate: 0px 0px; } to{ translate: ${a}px ${i}px; }`,{top:Math.min(...r.map((t=>N(t?.top,0)))),bottom:Math.max(...r.map((t=>N(t?.bottom,100))))})}const i=d?.direction;if(i){const t=Math.max(0,1-N(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}; }`}[i];e&&k("Opacity",e,d)}const a=u?.direction;if(a){const t=3*N(u?.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&&k("Blur",e,u)}const r=M?.direction;if(r){const t=20*N(M?.level,4);k("Rotate",`from{ rotate: 0deg; } to{ rotate: ${"to-left"===r?-t:t}deg; }`,M)}if(p?.direction){const t=.15*N(p?.level,4),e=Math.max(0,1-t),n=1+t,o={"scale-up":`from{ scale: 1; } to{ scale: ${n}; }`,"scale-down":`from{ scale: 1; } to{ scale: ${e}; }`,"scale-down-up":`0%{ scale: 1; } 50%{ scale: ${e}; } 100%{ scale: 1; }`,"scale-up-down":`0%{ scale: 1; } 50%{ scale: ${n}; } 100%{ scale: 1; }`}[p.direction];o&&k("Scale",o,p)}}const v=[];if(y){if(b?.direction){const t="direct"===b?.direction?100:-100;v.push(((e,n)=>`translate(${(e*t).toFixed(2)}px, ${(n*t).toFixed(2)}px)`))}if(j?.direction){const t=12*("direct"===j?.direction?1:-1);v.push(((e,n)=>`perspective(1000px) rotateX(${(n*-t).toFixed(2)}deg) rotateY(${(e*t).toFixed(2)}deg)`))}}const I=(t,e,o)=>{if(!t||!t.defaultView)return;const i=t.defaultView,a=t.bPlMouse||(t.bPlMouse={x:0,y:0,items:new Map,frame:0,last:0}),r=a.items.get(n)||{x:0,y:0};if(r.rate=e,r.build=o,a.items.set(n,r),a.bound)return;a.bound=!0;const s=e=>{const n=a.last?Math.min(e-a.last,100):16.7;a.last=e;let o=!1;a.items.forEach(((e,i)=>{const r=e.el&&e.el.isConnected?e.el:t.querySelector(i);if(!r)return;e.el=r;const s=e.rate*n/1e3,l=a.x-e.x,c=a.y-e.y,d=Math.sqrt(l*l+c*c);d<=s?(e.x=a.x,e.y=a.y):(e.x+=l/d*s,e.y+=c/d*s,o=!0),r.style.transform=e.build(e.x,e.y)})),a.frame=o?i.requestAnimationFrame(s):0,a.last=o?e:0};t.addEventListener("pointermove",(t=>{a.x=2*(t.clientX/i.innerWidth-.5),a.y=2*(t.clientY/i.innerHeight-.5),a.frame||(a.frame=i.requestAnimationFrame(s))}))};if(v.length&&"undefined"!=typeof document){const t=Math.max(.25,1.5*N(b?.speed,N(j?.speed,4))),e=(t,e)=>v.map((n=>n(t,e))).join(" ");I(document,t,e),I(document.querySelector('iframe[name="editor-canvas"]')?.contentDocument,t,e)}const T=t=>w?.[t]||("desktop"===t?w?.undefined:""),S=n.split(">")[0],O=t=>{const e=T(t);return e?`position: sticky; ${e}: 0; z-index: 9;`:(t=>"tablet"===t?T("desktop"):"mobile"===t?T("tablet")||T("desktop"):"")(t)?"position: static;":""},E=Array.isArray(m)?m:e(m)?[m]:[],Y=t=>!E.length||E.includes(t)?"":`${n}{ animation-name: none; }`;return`\n\t\t${L.length?`\n\t\t${h.join(" ")}\n\t\t@supports (animation-timeline: scroll()){\n\t\t\t${n}{\n\t\t\t\tanimation-name: ${L.join(", ")};\n\t\t\t\tanimation-duration: ${L.map((()=>"auto")).join(", ")};\n\t\t\t\tanimation-timing-function: ${L.map((()=>"linear")).join(", ")};\n\t\t\t\tanimation-fill-mode: ${L.map((()=>"both")).join(", ")};\n\t\t\t\tanimation-direction: ${L.map((()=>x?"normal":"reverse")).join(", ")};\n\t\t\t\tanimation-timeline: ${D.join(", ")};\n\t\t\t\tanimation-range: ${f.join(", ")};\n\t\t\t}\n\t\t\t${Y("desktop")?`${o}{ ${Y("desktop")} }`:""}\n\t\t\t${Y("tablet-portrait")?`@media only screen and (min-width: 641px) and (max-width: 1024px){ ${Y("tablet-portrait")} }`:""}\n\t\t\t${Y("mobile-portrait")?`${a}{ ${Y("mobile-portrait")} }`:""}\n\t\t}\n\t`:""}\n\t\t${v.length?`${n}{ transition-property: background, border, border-radius, box-shadow; }`:""}\n\t\t${O("desktop")?`${S}{ ${O("desktop")} }`:""}\n\t\t${O("tablet")?`${i}{ ${S}{ ${O("tablet")} } }`:""}\n\t\t${O("mobile")?`${a}{ ${S}{ ${O("mobile")} } }`:""}\n\t`})(z,v,t)}\n\t\t${k}\n\t`.replace(/\s+/g," ")},w=window.ReactJSXRuntime,N=({attributes:t,id:e})=>{const{advanced:n}=t;return(0,w.jsx)("style",{dangerouslySetInnerHTML:{__html:`\n\t\t\t${j(e,n)}\n\t`}})},x=({attributes:t,facebookKey:e})=>{const{facebook:n}=t,o=`https://www.facebook.com/plugins/video.php?href=${encodeURIComponent(n.url?.video||"")}&width=${n.width||"500"}&show_text=${n.fullPost}&show_captions=${n.caption}&autoplay=${n.autoPlay}&appId=${e}`,i=`https://www.facebook.com/plugins/post.php?href=${encodeURIComponent(n.url?.post||"")}&width=${n.width||"500"}&show_text=${n.fullPost}&appId=${e}`;return(0,w.jsxs)("div",{className:`b-blocks-facebookEmbed-wrapper ${n.alignment}`,children:["video"===n.type&&(0,w.jsx)("div",{className:"fb-video-container",children:(0,w.jsx)("iframe",{src:o,width:n.width||"500",height:"auto",style:{border:"none",overflow:"hidden",width:"100%",minHeight:"315px"},scrolling:"no",frameBorder:"0",allowFullScreen:n.fullScreen,allow:"autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"})}),"post"===n.type&&(0,w.jsx)("div",{className:"fb-post-container",children:(0,w.jsx)("iframe",{src:i,width:n.width||"500",height:"auto",style:{border:"none",overflow:"hidden",width:"100%",minHeight:"500px"},scrolling:"no",frameBorder:"0",allowFullScreen:!0,allow:"autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"})})]})};document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".wp-block-b-blocks-facebook-embed").forEach((e=>{const n=JSON.parse(e.dataset.attributes),o=e.dataset.facebookkey;o&&((0,t.createRoot)(e).render((0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(N,{attributes:n,id:e.id}),(0,w.jsx)(x,{attributes:n,facebookKey:o})]})),e?.removeAttribute("data-attributes"),e?.removeAttribute("data-facebookkey"))}))}))})(); |