"use strict";(self.webpackChunkfancy_animations_src=self.webpackChunkfancy_animations_src||[]).push([[611],{615:function(e,n,t){var a=t(99),o=t(851);const r=document.getElementById("bricks-builder-iframe");r.addEventListener("load",(async function(){await new Promise((e=>{const n=setInterval((()=>{document.querySelector("#bricks-builder-iframe").contentDocument.querySelector(".brx-body.iframe.mounted")&&(clearInterval(n),e())}),100)}));const e=document.createRange().createContextualFragment('<li id="fancy-animations-toggle" style="cursor:pointer" data-balloon="Enable/disable Fancy Animations" data-balloon-pos="bottom"> <span class="bricks-svg-wrapper"> <svg class="bricks-svg" viewBox="0 0 36 30" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M27.432 10.5577L20.3328 30H18L25.9488 9H27.5184L27.432 10.5577ZM33.6528 30L26.5392 10.5577L26.4672 9H28.0224L36 30H33.6528ZM32.8176 22.4135V24.3029H21.3552V22.4135H32.8176Z" fill="currentColor"/> <path d="M12.0155 10.2527L10.5165 14.1099H5.10766V24H0V0H16L14.4946 3.87363H5.10766V10.2527H12.0155Z" fill="#FFD033"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M10.6036 29.9415L21.3061 1.42418L22.1904 1.43158L22.1895 1.43393L11.4792 29.9719L10.5913 29.9795C10.5948 29.9667 10.5989 29.9541 10.6036 29.9415Z" fill="currentColor"/> </svg> </span> </li>'),n=document.querySelector("#bricks-toolbar ul.group-wrapper.right");n.insertBefore(e,n.firstChild);const t=(0,a.iH)(!1),i=document.querySelector("#fancy-animations-toggle");i.addEventListener("click",(function(){t.value=!t.value})),(0,o.YP)(t,(function(e){e?i.classList.add("active"):i.classList.remove("active");const n={type:"fancy-animations",value:e};r.contentWindow.postMessage(n,"*")}))}))}},function(e){e.O(0,[851],(function(){return n=615,e(e.s=n);var n}));e.O()}]);