PageSourceSearch

https://seedlang.com/assets/checkbox-D8i-3Qyu.js

js seedlang.com collected 2026-10-04 00:32:26 UTC 2,306 bytes, 25 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:`b118a3387c06afdf625a4e3c513ea6a95901cac8`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`c7a4fafc-df21-449d-b7d5-16ed774ef6a1`,e._sentryDebugIdIdentifier=`sentry-dbid-c7a4fafc-df21-449d-b7d5-16ed774ef6a1`)}catch{}})();import{o as e}from"./chunk-BBRjo-9F.js";import{t}from"./react-CgWhlUet.js";import{t as n}from"./dist-DpLgsRfL.js";import{t as r}from"./mobxreact.esm--Z-zxU5E.js";import{n as i,t as a}from"./error_boundary-CYFJBKMo.js";import{t as o}from"./emotion-styled.browser.esm-4FI-bo8L.js";import{t as s}from"./jsx-runtime-CLsEzmKX.js";import{t as c}from"./dist-DClUQkFl.js";var l=s(),u=e(t()),d=n(),f=i(),p=c(),m,h,g=o.div`
2  ${(0,p.flexCenter)()}
3  width: ${e=>e.width};
4  height: ${e=>e.height};
5  margin: ${e=>e.margin};
6  border-radius: 3px;
7  border: 2px solid ${e=>e.value?e.selectedBackground:`#d8d8d8`};
8  cursor: pointer;
9  background: ${e=>e.value?e.selectedBackground:e.background};
10  color: white;
11  font-size: 12px;
12  &:hover, &:active, &:focus {
13    background: ${e=>e.value?e.selectedBackgroundHover:e.backgroundHover};
14    border: 2px solid ${e=>e.selected?`#000`:`#7d7c7c`};
15  }
16  .icon-wrapper {
17    height: 8px;
18    margin-top: -4px;
19  }
20  svg {
21    width: 8px;
22    fill: #adadad;
23  }
24`,_=a(r(m=(h=class extends u.Component{constructor(...e){super(...e),this.handleKeyUp=e=>{e.key===` `&&this.props.onClick()}}render(){return(0,l.jsxs)(g,{width:this.props.width,height:this.props.height,onClick:this.props.onClick,value:this.props.value,margin:this.props.margin,background:this.props.background,selectedBackground:this.props.selectedBackground,backgroundHover:this.backgroundHover,selectedBackgroundHover:this.selectedBackgroundHover,role:`checkbox`,ariaChecked:this.props.value,tabIndex:`0`,onKeyUp:this.handleKeyUp,children:[this.props.value&&!this.props.showLock&&(0,l.jsx)(`i`,{className:`fa fa-check`}),this.props.showLock&&(0,l.jsx)(f.LockIcon,{})]})}},h.defaultProps={background:`#FFF`,selectedBackground:d.Theme.blue,backgroundHover:`whitesmoke`,selectedBackgroundHover:`#000`,width:`22px`,height:`22px`},h))||m);export{_ as t};
25//# sourceMappingURL=checkbox-D8i-3Qyu.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.