PageSourceSearch

https://cdn2.eventory.cc/dists/7c91d618f4384a6d59314d46095e75edde44fdd7/assets/ButtonWithTooltip-LPtWjb0U.js

js eventory.cc collected 2026-10-01 10:19:47 UTC 1,908 bytes, 1 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:`7c91d618f4384a6d59314d46095e75edde44fdd7`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`b25dba79-b09a-4818-82bd-f62f28ab963e`,e._sentryDebugIdIdentifier=`sentry-dbid-b25dba79-b09a-4818-82bd-f62f28ab963e`)}catch{}})();import{o as e}from"./chunk-BWzKsba1.js";import{t}from"./react-I293t1EX.js";import{t as n}from"./prop-types-CJvioLOa.js";import{Br as r,Mr as i}from"./appFlowSaga-DCAKsW8Q.js";import{t as a}from"./jsx-runtime-cQiqM4ei.js";import{t as o}from"./react-router-dom-mjFzyR2X.js";import{n as s}from"./useClassName-CEgSaIqT.js";var c=e(t()),l=e(n()),u=a(),d=`bottom`,f=`left`,p=`right`,m=({children:e,className:t,disabled:n,fullWidth:a,onClick:l,placement:d,showTooltip:f,target:p,to:m,tooltipProps:h})=>{let g=s(`button-with-tooltip`,a&&`full-width`),_=(0,c.useRef)(),v=(0,c.useMemo)(()=>{let e=[t];return n&&e.push(`disabled`),e.join(` `)},[t,n]),y=(0,u.jsx)(i,{...h,overlayRef:_}),b=e=>{!n&&l&&l(e)},x=`register-button`,S=m&&!n?(0,u.jsx)(o,{target:p,to:m,children:(0,u.jsx)(`button`,{className:v,ref:_,onClick:b,type:`button`,"data-test-id":x,children:e})}):(0,u.jsx)(`button`,{className:v,ref:_,onClick:b,type:`button`,"data-test-id":x,children:e});return(0,u.jsx)(`div`,{className:g,children:f?(0,u.jsx)(r,{placement:d,overlay:y,animation:null,children:S}):S})};m.propTypes={children:l.default.node.isRequired,className:l.default.string.isRequired,disabled:l.default.bool,fullWidth:l.default.bool,onClick:l.default.func,placement:l.default.oneOf([`top`,d,f,p]),showTooltip:l.default.bool,target:l.default.string,to:l.default.string,tooltipProps:l.default.shape({text:l.default.node.isRequired})},m.defaultProps={disabled:!1,placement:d,showTooltip:!0,tooltipProps:{}};export{m as n,f as r,d as t};

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.