1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[4673,4854],{4673:function(t,e,o){o.r(e),o.d(e,{dyte_tooltip:function(){return h}});var i=o(4942),n=o(5671),r=o(3144),a=o(2304),s=o(2392),d=o(5855),l=o(7622),h=function(){function t(e){var o=this;(0,n.Z)(this,t),(0,a.r)(this,e),this.dyteOpenChange=(0,a.c)(this,"dyteOpenChange",7),this.showMenu=function(){o.disabled||(o.isInFocus=!0,setTimeout((function(){o.isInFocus&&(o.tooltipEl.style.display="block",o.update(),o.dyteOpenChange.emit(!0),"sm"===o.size&&setTimeout((function(){o.isInFocus&&o.hideMenu()}),1e3))}),o.delay))},this.hideMenu=function(){o.open||o.disabled||(o.isInFocus=!1,o.tooltipEl.style.display="none",o.dyteOpenChange.emit(!1))},this.label="",this.variant="secondary",this.disabled=!1,this.open=!1,this.kind="inline",this.size=void 0,this.placement="top",this.delay=0,this.iconPack=d.d,this.t=(0,l.u)(),this.isInFocus=!1}return(0,r.Z)(t,[{key:"componentDidLoad",value:function(){var t=this;this.triggerEl.addEventListener("focusin",this.showMenu),this.triggerEl.addEventListener("mouseenter",this.showMenu),this.triggerEl.addEventListener("focusout",this.hideMenu),this.triggerEl.addEventListener("mouseleave",this.hideMenu),(0,a.w)((function(){t.openChanged(t.open)}))}},{key:"openChanged",value:function(t){t?this.showMenu():this.hideMenu()}},{key:"update",value:function(){var t=this;(0,s.c)(this.triggerEl,this.tooltipEl,{placement:this.placement,middleware:[(0,s.o)(8),(0,s.f)(),(0,s.s)({padding:5}),(0,s.a)({element:this.arrowEl})]}).then((function(e){var o=e.x,n=e.y,r=e.placement,a=e.middlewareData;Object.assign(t.tooltipEl.style,{left:"".concat(o,"px"),top:"".concat(n,"px")});var s=a.arrow,d=s.x,l=s.y,h={top:"bottom",right:"left",bottom:"top",left:"right"}[r.split("-")[0]];Object.assign(t.arrowEl.style,(0,i.Z)({left:null!=d?"".concat(d,"px"):"",top:null!=l?"".concat(l,"px"):"",right:"",bottom:""},h,"-4px"))}))}},{key:"render",value:function(){var t=this;return(0,a.h)(a.H,null,(0,a.h)("span",{part:"trigger",id:"trigger",ref:function(e){return t.triggerEl=e}},(0,a.h)("slot",null)),(0,a.h)("div",{part:"tooltip",class:"tooltip",id:"tooltip",role:"tooltip",ref:function(e){return t.tooltipEl=e}},(0,a.h)("div",{id:"arrow",ref:function(e){return t.arrowEl=e},part:"arrow"}),this.label,(0,a.h)("slot",{name:"tooltip"})))}}],[{key:"watchers",get:function(){return{open:["openChanged"]}}}]),t}();h.style=":host{line-height:initial;font-family:var(--dyte-font-family, sans-serif);--background-color:var(--dyte-tooltip-background-color, rgb(var(--dyte-colors-background-600, 60 60 60)));display:inline-flex}#trigger{display:block;width:100%;flex:1 1 0%}.tooltip,#arrow{position:absolute;background-color:var(--background-color)}.tooltip{max-width:var(--dyte-space-64, 256px);position:fixed;z-index:20;display:none;width:-webkit-max-content;width:-moz-max-content;width:max-content;padding-left:var(--dyte-space-2, 8px);padding-right:var(--dyte-space-2, 8px);padding-top:var(--dyte-space-1, 4px);padding-bottom:var(--dyte-space-1, 4px);border-radius:var(--dyte-border-radius-sm, 4px);color:rgb(var(--dyte-colors-text-900, 255 255 255 / 0.88));--tw-shadow:0 1px 2px 0 rgb(0 0 0 / 0.05);
1--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);font-size:12px}#arrow{position:absolute;height:var(--dyte-space-2, 8px);width:var(--dyte-space-2, 8px);transform:rotate(45deg)}:host([variant='primary']){--background-color:rgb(var(--dyte-colors-brand-500, 33 96 253))}:host([kind='block']){display:block}"}}]); 2//# sourceMappingURL=4673.521b098d.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.