PageSourceSearch

https://www.qwant.com/assets/useEffectOnce-D50pqe7D.js

js qwant.com collected 2026-10-01 08:32:23 UTC 1,426 bytes, 2 lines download raw bytes

1import{a as e}from"./chunk-BNv3lrIs.js";import{t}from"./react-gEB8cC6M.js";import{i as n,r,t as i}from"./Flex-DmRs0juK.js";import{t as a}from"./Text-BYOIU1DZ.js";var o=e(t(),1),s=n(),c=({link:e,children:t,...n})=>typeof e==`string`?(0,s.jsx)(`a`,{href:e,...n,children:t}):o.isValidElement(e)?o.cloneElement(e,n,t):null,l=e(r(),1),u={FlexButton:`anWwA`,Small:`l-HRC`,Large:`FgGG5`,Disabled:`q1AE2`,IsSelected:`jw8L4`,FlexButtonContent:`yTm-8`},d=({disabled:e,children:t,onClick:n,padding:r=`050`,paddingX:o,paddingY:d,size:f=`medium`,link:p,className:m,leftIcon:h,rightIcon:g,textNoWrap:_,isSelected:v,...y})=>{let b=()=>f===`small`?`body-sm-semibold`:f===`medium`?`body-md-semibold`:`body-lg-bold`;return(0,s.jsxs)(i,{as:p?c:`button`,link:p,className:(0,l.default)(u.FlexButton,e&&u.Disabled,f===`small`&&u.Small,f===`large`&&u.Large,v&&u.IsSelected,m),tabIndex:0,onClick:n,p:r,py:d,px:o,center:!0,alignCenter:!0,...y,children:[h,t&&(0,s.jsx)(a,{nowrap:_,variant:b(),tone:e?`disabled`:`brand`,className:u.FlexButtonContent,children:t}),g]})},f=function(){};function p(e){var t=[...arguments].slice(1);e&&e.addEventListener&&e.addEventListener.apply(e,t)}function m(e){var t=[...arguments].slice(1);e&&e.removeEventListener&&e.removeEventListener.apply(e,t)}var h=typeof window<`u`,g=function(e){(0,o.useEffect)(e,[])};export{p as a,m as i,h as n,d as o,f as r,c as s,g as t};
2//# sourceMappingURL=useEffectOnce-D50pqe7D.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.