try{


!function(){"use strict";var t={596:function(t,o,n){var e=n(533);o.s=e.createRoot,e.hydrateRoot},533:function(t){t.exports=ReactDOM}},o={};function n(e){var c=o[e];if(void 0!==c)return c.exports;var a=o[e]={exports:{}};return t[e](a,a.exports,n),a.exports}!function(){var t=React,o=n(596),e=function(t){var o=t||{},n=o.side,e=void 0===n?2:n,c=o.vertical,a=void 0===c?"0px":c,r=o.horizontal,i=void 0===r?"0px":r,l=o.top,d=void 0===l?"0px":l,s=o.right,u=void 0===s?"0px":s,p=o.bottom,v=void 0===p?"0px":p,f=o.left,y=void 0===f?"0px":f;return 2===e?"".concat(a," ").concat(i):"".concat(d," ").concat(u," ").concat(v," ").concat(y)},c=function(t,o){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],e=o||{},c=e.fontFamily,a=void 0===c?"Default":c,r=e.fontCategory,i=void 0===r?"sans-serif":r,l=e.fontVariant,d=void 0===l?400:l,s=e.fontWeight,u=void 0===s?400:s,p=e.isUploadFont,v=void 0===p||p,f=e.fontSize,y=void 0===f?{desktop:15,tablet:15,mobile:15}:f,m=e.fontStyle,g=void 0===m?"normal":m,b=e.textTransform,h=void 0===b?"none":b,x=e.textDecoration,R=void 0===x?"auto":x,E=e.lineHeight,k=void 0===E?"135%":E,L=e.letterSpace,C=void 0===L?"0px":L,I=function(t,o){return t?"".concat(o,": ").concat(t,";"):""},w=!n||!a||"Default"===a,A=(null==y?void 0:y.desktop)||y,T=(null==y?void 0:y.tablet)||A,P=(null==y?void 0:y.mobile)||T,S="\n\t\t".concat(w?"":"font-family: '".concat(a,"', ").concat(i,";"),"\n\t\t").concat(I(u,"font-weight"),"\n\t\t","font-size: ".concat(A,"px;"),"\n\t\t").concat(I(g,"font-style"),"\n\t\t").concat(I(h,"text-transform"),"\n\t\t").concat(I(R,"text-decoration"),"\n\t\t").concat(I(k,"line-height"),"\n\t\t").concat(I(C,"letter-spacing"),"\n\t"),F=d&&400!==d?"400i"===d?":ital@1":null!=d&&d.includes("00i")?": ital, wght@1, ".concat(null==d?void 0:d.replace("00i","00")," "):": wght@".concat(d," "):"",H=w?"":"https://fonts.googleapis.com/css2?family=".concat(null==a?void 0:a.split(" ").join("+")).concat(F.replace(/ /g,""),"&display=swap");return{googleFontLink:!v||w?"":"@import url(".concat(H,");"),styles:"".concat(t,"{\n\t\t\t").concat(S,"\n\t\t}\n\t\t@media (max-width: 768px) {\n\t\t\t").concat(t,"{\n\t\t\t\t","font-size: ".concat(T,"px;"),"\n\t\t\t}\n\t\t}\n\t\t@media (max-width: 576px) {\n\t\t\t").concat(t,"{\n\t\t\t\t","font-size: ".concat(P,"px;"),"\n\t\t\t}\n\t\t}").replace(/\s+/g," ").trim()}},a=function(t){var o,n,a,r,i,l,d,s,u,p,v,f,y=t.attributes,m=t.clientId,g=y.playerAlign,b=y.link,h=y.width,x=y.controlsHeight,R=y.controlsBG,E=y.controlsIconColor,k=y.controlsIconHoverColor,L=y.controlsIconActiveColor,C=y.controlsTrackColor,I=y.controlsThumbColor,w=y.capAlign,A=y.capTypo,T=y.capColors,P=y.capPadding,S=y.capMargin,F="#lpbLottiePlayer-".concat(m," .lpbLottiePlayer");return React.createElement("style",{dangerouslySetInnerHTML:{__html:"\n\t\t".concat(null===(o=c("",A))||void 0===o?void 0:o.googleFontLink,"\n\t\t").concat(null===(n=c("".concat(F," .caption"),A))||void 0===n?void 0:n.styles,"\n\n\t\t").concat(F,"{\n\t\t\ttext-align: ").concat(g,";\n\t\t}\n\t\t").concat(F," dotlottie-player{\n\t\t\twidth: ").concat(h,";\n\t\t\tcursor: ").concat(b?"pointer":"auto",";\n\t\t\t--lottie-player-toolbar-height: ").concat(x,";\n\t\t\t--lottie-player-toolbar-background-color: ").concat(R,";\n\t\t\t--lottie-player-toolbar-icon-color: ").concat(E,";\n\t\t\t--lottie-player-toolbar-icon-hover-color: ").concat(k,";\n\t\t\t--lottie-player-toolbar-icon-active-color: ").concat(L,";\n\t\t\t--lottie-player-seeker-track-color: ").concat(C,";\n\t\t\t--lottie-player-seeker-thumb-color: ").concat(I,";\n\t\t}\n\t\t").concat(F," .caption{\n\t\t\twidth: ").concat(h,";\n\t\t\ttext-align: ").concat(w,";\n\t\t\t").concat((a=T,r=a||{},i=r.color,l=void 0===i?"#333":i,d=r.bgType,s=void 0===d?"solid":d,u=r.bg,p=void 0===u?"#0000":u,v=r.gradient,f=void 0===v?"linear-gradient(135deg, #4527a4, #8344c5)":v,"\n\t\t".concat(l?"color: ".concat(l,";"):"","\n\t\t").concat(f||p?"background: ".concat("gradient"===s?f:p,";"):"","\n\t")),";\n\t\t\tpadding: ").concat(e(P),";\n\t\t\tmargin: ").concat(e(S),";\n\t\t}\n\t\t").replace(/\s+/g," ")}})},r=function(t,o,n,e){o&&(null==t||t.setAttribute(n,e)),!o&&(null==t||t.removeAttribute(n,e))},i=function(o,n){var e=o.attributes,c=e.file,a=e.isControls,i=e.isAutoplay,l=e.isLoop,d=e.isHover,s=e.mode,u=e.direction,p=e.count,v=e.speed,f=e.intermission,y=e.background;return(0,t.useEffect)((function(){null!=n&&n.current&&(r(null==n?void 0:n.current,a,"controls",""),r(null==n?void 0:n.current,i,"autoplay",""),r(null==n?void 0:n.current,l,"loop",""),r(null==n?void 0:n.current,d,"hover",""))}),[n]),React.createElement("dotlottie-player",{ref:n,src:c,autoplay:!0,loop:!0,mode:s,count:p,speed:v,direction:u,intermission:1e3*f,background:y,debug:!0})},l=(0,t.forwardRef)(i);document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".wp-block-lpb-lottie-player").forEach((function(t){var n=JSON.parse(t.dataset.attributes);(0,o.s)(t).render(React.createElement(React.Fragment,null,React.createElement(a,{attributes:n,clientId:n.cId}),React.createElement(d,{attributes:n,clientId:n.cId}))),null==t||t.removeAttribute("data-attributes")}))}));var d=function(o){var n=o.attributes,e=o.clientId,c=n.isControls,a=n.isAutoplay,i=n.isLoop,d=n.isHover,s=n.link,u=n.isLinkInNewTab,p=n.interactivity,v=n.interactivityMode,f=n.interactivityContainer,y=n.interactivityActions,m=n.isCap,g=n.caption,b=(0,t.useRef)(null);return(0,t.useEffect)((function(){var t=document.querySelector("#lpbLottiePlayer-".concat(e," .lpbLottiePlayer lottie-player"));r(t,c,"controls",""),r(t,a,"autoplay",""),r(t,i,"loop",""),r(t,d,"hover","")}),[]),(0,t.useEffect)((function(){var t=null==b?void 0:b.current;t&&p&&"noInteractivity"!==p&&t.addEventListener("ready",(function(){LottieInteractivity.create({player:t.getLottie(),container:"scrollRelativeToContainer"===p?f:"#lpbLottiePlayer-".concat(e),mode:v,actions:y})}))}),[null==b?void 0:b.current]),React.createElement("div",{className:"lpbLottiePlayer"},s?React.createElement("a",{href:s,target:u?"_blank":"_self",rel:"noreferrer"},React.createElement(l,{ref:b,attributes:n})):React.createElement(l,{ref:b,attributes:n}),m&&React.createElement(React.Fragment,null,React.createElement("br",null),React.createElement("span",{className:"caption"},g)))}}()}();



}
catch(e){console.error("WP-Optimize Minify: An error has occurred in the minified code. \n\n- Original script: https://www.silviamarcellini.com/site/wp-content/plugins/embed-lottie-player/dist/script.js\n- Error message: "+ e.message);}
