System.register(["./p-245b445c.system.js","./p-529fafb4.system.js","./p-eba7a76e.system.js"],(function(t){"use strict";var o,e,i,a,n,r,s,l,p,d,c,u;return{setters:[function(t){o=t.r;e=t.h;i=t.g;a=t.H},function(t){n=t.f;r=t.t},function(t){s=t.c;l=t.a;p=t.f;d=t.s;c=t.o;u=t.b}],execute:function(){var m='x-tooltip{display:inherit}x-tooltip-overlay{font-family:"Poppins", "Arial", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";background:var(--color-dark-tinted, #626262);color:var(--color-text-light, #FEFEFE);padding:4px 8px;font-size:0.9rem;border-radius:4px;display:none;-webkit-box-shadow:0 0 1em rgba(0, 0, 0, 0.2);box-shadow:0 0 1em rgba(0, 0, 0, 0.2);z-index:10000;position:absolute;text-align:inherit;top:0;left:0;width:-webkit-max-content;width:-moz-max-content;width:max-content}x-tooltip-overlay:empty{display:none}.is-dark-mode x-tooltip-overlay{background:var(--color-light-shade, #d8d8d8);color:var(--color-text, #4A4A4A)}x-tooltip-overlay[data-show]{display:block;-webkit-animation:0.4s fadeIn;animation:0.4s fadeIn}x-tooltip-overlay>p{margin:0px;font-family:"Poppins", "Arial", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"}x-tooltip-overlay .tooltip-arrow{position:absolute;background:var(--color-dark-tinted, #626262);width:8px;height:8px;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.is-dark-mode x-tooltip-overlay .tooltip-arrow{background:var(--color-light-shade, #d8d8d8)}';var b=m;var f=["mouseenter"];var h=["mouseleave","blur"];var v=t("x_tooltip",function(){function t(t){o(this,t);this.content=undefined;this.align="top"}t.prototype.componentDidLoad=function(){var t=this;this.tooltip=n();f.forEach((function(o){t.el.addEventListener(o,t.showHandler.bind(t))}));h.forEach((function(o){t.el.addEventListener(o,t.hideHandler.bind(t))}))};t.prototype.disconectedCallback=function(){var t=this;f.forEach((function(o){t.el.removeEventListener(o,t.showHandler)}));h.forEach((function(o){t.el.removeEventListener(o,t.hideHandler)}))};t.prototype.showHandler=function(){var t=this;this.tooltip.setAttribute("data-show","");this.tooltip.querySelector("span").innerHTML=r(this.content)||"";var o=this.tooltip.querySelector(".tooltip-arrow");s(this.el,this.tooltip,{placement:this.align,middleware:[this.align=="auto"?l():p(),d({padding:10}),c(4),u({element:o})]}).then((function(e){var i;var a=e.x,n=e.y,r=e.middlewareData,s=e.placement;t.tooltip.style.left="".concat(a,"px");t.tooltip.style.top="".concat(n,"px");if(r.arrow){var l=r.arrow,p=l.x,d=l.y;var c={top:"bottom",right:"left",bottom:"top",left:"right"}[s.split("-")[0]];Object.assign(o.style,(i={left:p!=null?"".concat(p,"px"):"",top:d!=null?"".concat(d,"px"):"",right:"",bottom:""},i[c]="-4px",i))}}))};t.prototype.hideHandler=function(){var t=this;setTimeout((function(){t.tooltip.removeAttribute("data-show");t.tooltip.querySelector("span").innerHTML=""}),50)};t.prototype.render=function(){return e(a,{key:"5a5634c258cb53ebbb84bf5381bdbd9727be30c9","aria-label":this.content})};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());v.style=b}}}));