1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4776,1617],{1617:function(t,e,i){i.r(e),i.d(e,{dyte_tooltip:function(){return n}});var o=i(7122),s=i(1741),r=i(3587),a=i(2061);let n=class{constructor(t){(0,o.r)(this,t),this.dyteOpenChange=(0,o.c)(this,"dyteOpenChange",7),this.showMenu=()=>{this.disabled||(this.isInFocus=!0,setTimeout(()=>{this.isInFocus&&(this.tooltipEl.style.display="block",this.update(),this.dyteOpenChange.emit(!0),"sm"===this.size&&setTimeout(()=>{this.isInFocus&&this.hideMenu()},1e3))},this.delay))},this.hideMenu=()=>{this.open||this.disabled||(this.isInFocus=!1,this.tooltipEl.style.display="none",this.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=r.d,this.t=(0,a.u)(),this.isInFocus=!1}componentDidLoad(){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,o.w)(()=>{this.openChanged(this.open)})}openChanged(t){t?this.showMenu():this.hideMenu()}update(){(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(({x:t,y:e,placement:i,middlewareData:o})=>{Object.assign(this.tooltipEl.style,{left:`${t}px`,top:`${e}px`});let{x:s,y:r}=o.arrow,a={top:"bottom",right:"left",bottom:"top",left:"right"}[i.split("-")[0]];Object.assign(this.arrowEl.style,{left:null!=s?`${s}px`:"",top:null!=r?`${r}px`:"",right:"",bottom:"",[a]:"-4px"})})}render(){return(0,o.h)(o.H,null,(0,o.h)("span",{part:"trigger",id:"trigger",ref:t=>this.triggerEl=t},(0,o.h)("slot",null)),(0,o.h)("div",{part:"tooltip",class:"tooltip",id:"tooltip",role:"tooltip",ref:t=>this.tooltipEl=t},(0,o.h)("div",{id:"arrow",ref:t=>this.arrowEl=t,part:"arrow"}),this.label,(0,o.h)("slot",{name:"tooltip"})))}static get watchers(){return{open:["openChanged"]}}};n.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}"}}]);
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.