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:`2a2642b6dfacef97687e3efcbfceddb15cf2ec44`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`bec05a21-3b05-4220-8649-3b5ea18b1808`,e._sentryDebugIdIdentifier=`sentry-dbid-bec05a21-3b05-4220-8649-3b5ea18b1808`)}catch{}})();import{o as e}from"./rolldown-runtime-Dq-L5ofj.js";import{y as t}from"./vendor-highcharts-D9LiJ1jq.js";import{x as n}from"./vendor-mui-CwwA7Cvy.js";import{Vr as r}from"./vendors-_iXptsBn.js";var i=e(t()),a=n(),o=e(r()),s={base:`_base_sgzmb_1`,star:`_star_sgzmb_9`,optional:`_optional_sgzmb_14`},c=({children:e,required:t=!1,optional:n=!1,className:r,"data-hook":i=`label`})=>(0,a.jsxs)(`span`,{className:(0,o.default)(s.base,r),"data-hook":i,children:[e,t&&(0,a.jsx)(`span`,{className:(0,o.default)(s.star),children:`*`}),n&&(0,a.jsx)(`span`,{className:(0,o.default)(s.optional),children:l(`(optional)`)})]}),u={overlayedBlock:`_overlayedBlock_iu08d_1`,flexCenter:`_flexCenter_iu08d_7`,visibleScrollBar:`_visibleScrollBar_iu08d_13`,hiddenScrollBar:`_hiddenScrollBar_iu08d_30`,base:`_base_iu08d_42`,fullWidth:`_fullWidth_iu08d_45`,disabled:`_disabled_iu08d_48`,default:`_default_iu08d_56`,input:`_input_iu08d_56`,withRightIcon:`_withRightIcon_iu08d_60`,withLeftIcon:`_withLeftIcon_iu08d_63`,righticonContainer:`_righticonContainer_iu08d_66`,leftIconContainer:`_leftIconContainer_iu08d_67`,large:`_large_iu08d_70`,small:`_small_iu08d_84`,inputContainer:`_inputContainer_iu08d_99`,darkMode:`_darkMode_iu08d_111`,withError:`_withError_iu08d_130`,rightIconContainer:`_rightIconContainer_iu08d_143`,rightIcon:`_rightIcon_iu08d_143`,leftIcon:`_leftIcon_iu08d_67`,errorText:`_errorText_iu08d_170`,hintText:`_hintText_iu08d_178`},d=13,f=class extends i.Component{static{this.defaultProps={disabled:!1,type:`text`,size:`default`}}constructor(e){super(e),this.handleChange=e=>{let{onChange:t,useNativeOnChangeSignature:n}=this.props,{value:r}=e.target;if(t){if(n){t(e,r);return}t(r,e)}},this.handleKeyDown=e=>{let{onPressEnter:t,onKeyDown:n}=this.props,{value:r}=this.input.current;t&&e.keyCode===d&&t(r,e),n&&n(e)},this.handleFocus=e=>{let{onFocus:t}=this.props;this.focus(),t&&t(e)},this.focus=()=>{this.props.disableFocusOnClick||this.input.current.focus()},this.input=e.propRef||(0,i.createRef)()}componentDidMount(){this.props.autoFocus&&setTimeout(()=>this.input.current?.focus({preventScroll:!0}),50)}render(){let{disabled:e,required:t,size:n,width:r,className:s,errorText:d,errorTextClassName:f,hintText:p,fullWidth:m,label:h,placeholder:g,autoFocus:_,leftIcon:v,rightIcon:y,type:b,value:x,inputClassName:S,darkMode:C,ariaLabel:w,"data-hook":T=`text-field`,propRef:E,disableFocusOnClick:D,useNativeOnChangeSignature:O,onFocus:k,onBlur:A,onCopy:j,onPressEnter:M,...N}=this.props,P=!!v,F=!!y,I=!!d,L=!!h,R=w||h||g,z=(0,o.default)(s,u.base,u[n],{[u.fullWidth]:m,[u.disabled]:e,[u.autoFocus]:_}),B=(0,o.default)(S,u.input,{[u.darkMode]:C,[u.fullWidth]:m,[u.withLeftIcon]:P,[u.withRightIcon]:F,[u.withLabel]:L,[u.withError]:I});return(0,a.jsxs)(`div`,{role:`presentation`,className:z,style:{width:r},"data-custom-class-name":`textFieldBase`,"data-hook":T,onClick:this.focus,children:[L&&(0,a.jsx)(c,{required:t,children:h}),(0,a.jsxs)(`div`,{className:(0,o.default)(u.inputContainer),children:[P&&(0,a.jsx)(`span`,{className:(0,o.default)(u.leftIconContainer),children:(0,i.cloneElement)(v,{color:`default`,className:`leftIcon`})}),(0,a.jsx)(`input`,{...N,ref:this.input,disabled:e,className:B,type:b,required:t,placeholder:g,value:x,"aria-label":R,onChange:this.handleChange,onFocus:k,onBlur:A,onKeyDown:this.handleKeyDown,onCopy:j}),F&&(0,a.jsx)(`span`,{className:(0,o.default)(u.rightIconContainer),children:(0,i.cloneElement)(y,{size:n,className:`rightIcon`})})]}),(0,a.jsx)(`div`,{className:(0,o.default)(u.errorText,f),children:d}),(0,a.jsx)(`div`,{className:(0,o.default)(u.hintText,{[u.darkMode]:C}),children:!d&&p})]})}};export{c as n,f 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.