"use strict";(self.blocksyJsonP=self.blocksyJsonP||[]).push([[559],{559:function(t,e,n){n.r(e),n.d(e,{mount:function(){return r}});var i=n(248);const r=function(t){Promise.all(ct_localizations.dynamic_styles_selectors.filter((function(e){return!!t.closest(e.selector)})).map((function(t){let{url:e}=t;return(0,i.Xr)(e)}))).then((function(){return function(t){if(t.popperMounted)return;if(t.popperMounted=!0,!t.nextElementSibling)return;const e=t.nextElementSibling,n=t.getBoundingClientRect(),i=e.getBoundingClientRect();let r=n.left>innerWidth/2?"left":"right",l=r;if(n.left+i.width>innerWidth&&(l="left"),n.left-i.width<0&&(l="right"),n.left+i.width>innerWidth&&n.right-i.width<0){l=r;let t=0,i=20;"left"===l&&(t=innerWidth-n.right-i),"right"===l&&(t=n.left-i),t=Math.round(t),e.style.setProperty("--theme-submenu-inline-offset",-1*t+"px")}e.dataset.placement=l}(t)}))}}}]);