"use strict";(self.webpackChunk_brizy_builder_free=self.webpackChunk_brizy_builder_free||[]).push([["440"],{211(e,t,r){r.r(t),r.d(t,{default:()=>d});var i=r(2540),l=r(5670),a=r(6513);let s=()=>{let{innerWidth:e}=window,t="desktop";return e>992?t="desktop":e<992&&e>768?t="tablet":e<768&&(t="mobile"),t},u=s(),d=e=>{let t=e.get(0);if(!t)return;let r=[...t.querySelectorAll(".brz-twitter")];if(r.length>0){let e=r.filter(e=>"embed"===e.dataset.type);e.length>0&&("desktop"!==u&&e.forEach(e=>{try{let r=e.querySelector((0,i.pk)({name:"height"}));if(r){var t;let s=null!=(t=(0,l.LF)(e.getAttribute((0,i.uo)("heights"))))?t:"",d=(0,a.uv)(s);r.dataset.height=`${d[u]}`}}catch(e){}}),window.addEventListener("resize",()=>(e=>{let t=s();if(t!==u){var r;r=u=t,e.forEach(e=>{let t=e.querySelector("iframe");if(t)try{var s;let u=null!=(s=(0,l.LF)(e.getAttribute((0,i.uo)("heights"))))?s:"",d=(0,a.uv)(u),n=new URL(t.src),c=d[r];n.searchParams.set("maxHeight",`${c}`),t.src=`${n}`}catch(e){}})}})(e))),window.twttr=((e,t)=>{let r=window.twttr||{};if(e.getElementById(t))return r;let i=e.createElement("script");return i.setAttribute("id",t),i.setAttribute("src","https://platform.twitter.com/widgets.js"),e.body.appendChild(i),r})(document,"twitter-wjs")}}},6513(e,t,r){r.d(t,{$$:()=>l,uv:()=>i});let i=e=>JSON.parse(decodeURIComponent(e)),l=e=>{try{return i(e)}catch(e){}}}}]);