System.register([],(function(t){"use strict";return{execute:function(){t({a:o,p:i});var e=t("g",(function(t){if(t===null){return null}if(t.classList.contains("element_scrolled")||(t===null||t===void 0?void 0:t.tagName)==="BODY"){return t}else{return e(t.offsetParent)}}));function o(t){var e=t.actionElement,o=t.changedElement,i=t.intoView;var f=i?i:document.body;var n=f.offsetParent;var r=!!f.classList.contains("element_scrolled");var s=r?e.offsetTop-f.scrollTop+n.offsetTop:e.offsetTop-window.scrollY;var d=r?e.offsetLeft+n.offsetLeft:e.offsetLeft;var l=(o===null||o===void 0?void 0:o.offsetHeight)>window.innerHeight-s?s-(o===null||o===void 0?void 0:o.offsetHeight)-16:s+(e===null||e===void 0?void 0:e.offsetHeight)+16;var v=(o===null||o===void 0?void 0:o.offsetWidth)>window.innerWidth-d?d+(e===null||e===void 0?void 0:e.offsetWidth)-(o===null||o===void 0?void 0:o.offsetWidth):d;var a=window.innerHeight-(o===null||o===void 0?void 0:o.offsetHeight);var h=window.innerWidth-(o===null||o===void 0?void 0:o.offsetWidth);var u={top:l<8?8:l>a?a-8:l,left:v<0?0:v>h?h:v};return u}function i(t){var e=t.actionElement,o=t.changedElement,i=t.intoView;var f=i?i:document.body;var n=f.offsetHeight<o.offsetHeight?window.screen.height:f.offsetHeight;var r=f.offsetWidth<o.offsetWidth?window.screen.width:f.offsetWidth;var s=n-e.offsetTop;var d=r-e.offsetLeft;var l={y:s<o.offsetHeight+e.offsetHeight?"top":"bottom",x:d<o.offsetWidth?"right":"left"};return l}}}}));