PageSourceSearch

https://seedlang.com/assets/info_tooltip-BP6oCMzZ.js

js seedlang.com collected 2026-09-25 20:52:17 UTC 3,373 bytes, 18 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`82e4baa6c68c429597a8dcf8c86fc75e13a47707`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`25b29877-0da3-4555-99b0-9e495aee39aa`,e._sentryDebugIdIdentifier=`sentry-dbid-25b29877-0da3-4555-99b0-9e495aee39aa`)}catch{}})();import{o as e}from"./chunk-BYEayUvb.js";import{t}from"./react-C0i5OX_v.js";import{_ as n,f as r}from"./mobx.module-DfEgZCOa.js";import{t as i}from"./lodash-CPIC3X4-.js";import{t as a}from"./dist-DGeFc1av.js";import{t as o}from"./mobxreact.esm-7FYUMTHz.js";import{a as s,i as c,t as l}from"./error_boundary-CUhyY-eq.js";import{t as u}from"./emotion-styled.browser.esm-BZwDHoh3.js";import{t as d}from"./jsx-runtime-DU0S17m4.js";import{t as f}from"./v4-D7nNz3c1.js";import{t as p}from"./lib-CbDoYNC3.js";var m=d(),h=e(t());s();var g=i(),_=e(p()),v=a();r();var y,b,x,S;function C(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function w(e,t,n,r,i){var a={};return Object.keys(r).forEach(function(e){a[e]=r[e]}),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,(`value`in a||a.initializer)&&(a.writable=!0),a=n.slice().reverse().reduce(function(n,r){return r(e,t,n)||n},a),i&&a.initializer!==void 0&&(a.value=a.initializer?a.initializer.call(i):void 0,a.initializer=void 0),a.initializer===void 0?(Object.defineProperty(e,t,a),null):a}var T=u.div`
2  display: inline-flex;
3  align-items: center;
4  justify-content: center;
5  margin: ${e=>e.margin};
6  text-transform: none;
7  cursor: ${e=>e.cursor};
8  i {
9    color: ${e=>e.color};
10  }
11`,E=u.div`
12  position: absolute;
13  font-size: 12px;
14  background: #ff8700;
15  color: white;
16  padding: 5px;
17`,D=l(o(y=(b=(S=class extends h.Component{constructor(e){super(e),C(this,`messageIsDisplayed`,x,this),this.showMessage=()=>{this.messageIsDisplayed=!0,setTimeout(()=>this.messageIsDisplayed=!1,1300)},this.uuid=f()}render(){return(0,m.jsxs)(T,{style:this.props.style,className:`info-tooltip`,"data-tip":!0,"data-for":this.uuid,margin:this.props.margin,color:this.props.color,onClick:this.props.onClick,cursor:(0,g.isFunction)(this.props.onClick)||(0,v.isPresent)(this.props.clickToCopy)?`pointer`:`default`,children:[(0,v.isPresent)(this.props.clickToCopy)&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(_.default,{text:this.props.clickToCopy,onCopy:this.showMessage,children:(0,m.jsxs)(`div`,{children:[(0,m.jsx)(`i`,{className:`fa fa-${this.props.icon}`}),(0,m.jsx)(c,{place:this.props.position,type:`dark`,effect:`solid`,id:this.uuid,class:`custom-tooltip`,children:this.props.children})]})}),this.messageIsDisplayed&&(0,m.jsx)(E,{children:`copied!`})]}),(0,v.isBlank)(this.props.clickToCopy)&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(`i`,{className:`fa fa-${this.props.icon}`}),(0,m.jsx)(c,{place:this.props.position,type:`dark`,effect:`solid`,id:this.uuid,class:`custom-tooltip`,children:this.props.children})]})]})}},S.defaultProps={icon:`info-circle`,color:`#333`,position:`top`,margin:`0 5px`},S),x=w(b.prototype,`messageIsDisplayed`,[n],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),b))||y);export{D as t};
18//# sourceMappingURL=info_tooltip-BP6oCMzZ.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.