PageSourceSearch

https://assets.genius.com/javascripts/compiled/OptOutButton-BUlHb_DS.js

js genius.com collected 2026-10-01 07:22:59 UTC 1,452 bytes, 2 lines download raw bytes

1import{R as d,r as i,j as l}from"./react-vendor-n58YcWca.js";import{q as m}from"./styled-components.browser.esm-bLCX9LcF.js";import{a as g}from"./client-CVIjrVQr.js";import{u as w}from"./useMixpanelLinkEvent-Nl60lPoX.js";import{S as O}from"./SmallButton-H3HXFYNz.js";import{F as C}from"./newTab-D_ZejlfS.js";import{P as e}from"./useMixpanelEvent-CwzNdz1P.js";const o=({label:t,trackingEventName:r="",redirectParameterName:a="bagon",redirectParameterValue:p=1})=>{const[f,u]=i.useState();i.useEffect(()=>{if(g){const n=new URL(window.location),s=new URLSearchParams(n.search);s.delete("react"),a&&s.append(a,p),n.search=s.toString(),u(n.toString())}},[a,p]);const c=w(r),h=i.useCallback(n=>{if(r)return c(n)},[c,r]);return l.jsxs(o.Container,{href:f,onClick:h,children:[t,l.jsx(o.NewTab,{})]})};o.propTypes={label:e.string.isRequired,trackingEventName:e.string,redirectParameterName:e.string,redirectParameterValue:e.oneOfType([e.string,e.number])};o.Container=m(O).attrs({forwardedAs:"a"}).withConfig({displayName:"OptOutButton__Container",componentId:"sc-9425c625-0"})(["line-height:",";align-items:stretch;white-space:nowrap;"],t=>t.theme.fontSize.reading);o.NewTab=m(C).withConfig({displayName:"OptOutButton__NewTab",componentId:"sc-9425c625-1"})(["margin-left:",";width:",";fill:",";"],t=>t.theme.space.xSmall,t=>t.theme.space.half,t=>t.theme.color.background.on);const y=d.memo(o);export{y as O};
2//# sourceMappingURL=OptOutButton-BUlHb_DS.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.