1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8174],{23835:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});var n=a(57437),l=a(64899),c=a(51579),o=a.n(c);function s(e){let{type:t="check",label:a,flexStart:c=!1,labelColor:s,labelStyle:i={},checked:r,setChecked:u,width:d,height:v}=e;return(0,n.jsxs)("div",{className:"".concat(o().outer," ").concat(c?o().start:""),onClick:()=>u(!r),children:[(0,n.jsxs)("div",{className:o().input,children:["check"===t&&(0,n.jsx)("div",{style:{width:d,height:v},className:"".concat(o().check," ").concat(r?o().checked:""),children:(0,n.jsx)(l.Jr,{})}),"switch"===t&&(0,n.jsx)("div",{className:"".concat(o().switch," ").concat(r?o().checked:"")})]}),a&&(0,n.jsx)("div",{className:o().label,style:{color:s,...i},children:a})]})}},71823:function(e,t,a){"use strict";a.d(t,{Z:function(){return o}});var n=a(57437);a(60802);var l=a(42680),c=a.n(l);function o(e){let{inputRef:t,width:a,height:l="auto",type:o="text",placeholder:s="",background:i,corner:r=5,min:u,max:d,step:v,containerClassName:h="",className:m="",customStyle:f={},labelStyle:_={},disabled:p=!1,readOnly:w=!1,onChange:x=()=>{},onFocus:b=()=>{},onBlur:g=()=>{},value:y="",drawable:k=null,paddingTop:E,paddingBottom:j,paddingLeft:S,paddingRight:I,attributes:N={}}=e;return(0,n.jsxs)("div",{className:"".concat(c().container," ").concat(h),style:{width:"".concat(a),height:"".concat(l),borderRadius:"".concat(r,"px")},children:[(0,n.jsx)("input",{ref:t,placeholder:"Placeholder",type:o,onFocus:b,onBlur:g,min:u,max:d,step:v,style:{...f,background:i,borderRadius:"".concat(r,"px"),paddingLeft:S,paddingBottom:j,paddingRight:I,paddingTop:E},value:y,onChange:x,disabled:p,readOnly:w,...N,className:"".concat(c().input," ").concat(m," ").concat(k?c().inputWithDrawable:"")}),(0,n.jsx)("label",{className:"".concat(c().label," ").concat(k?c().labelWithDrawable:""),style:_,children:s}),(0,n.jsx)("div",{className:c().drawable,children:k})]})}},64337:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});var n=a(57437),l=a(2265),c=a(71823);a(75798);var o=a(74167),s=a.n(o),i=a(64899);function r(e){let{width:t="100%",height:a="auto",corner:o=5,placeholder:r,options:u=[],value:d="",setValue:v=()=>{},optionStyle:h={},selectStyle:m={},disabled:f=!1,className:_="",allowSearch:p=!0,maxOptionsHeight:w=400}=e,[x,b]=(0,l.useState)(""),[g,y]=(0,l.useState)(null),[k,E]=(0,l.useState)(!1),[j,S]=(0,l.useState)(u),[I,N]=(0,l.useState)(null),W=(0,l.useRef)(null),O=(0,l.useRef)(null),C=(0,l.useRef)(null);if((0,l.useEffect)(()=>{let e=O.current,t=()=>{E(!0)},a=e=>{setTimeout(()=>{E(!1)},300)};return e&&(e.addEventListener("focus",t),e.addEventListener("blur",a)),()=>{e&&(e.removeEventListener("focus",t),e.removeEventListener("blur",a))}},[]),(0,l.useEffect)(()=>{if(W.current){let e=e=>{W.current&&!W.current.contains(e.target)?E(!1):E(!0)};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}}},[]),(0,l.useEffect)(()=>{if(d&&j.length>0){let e=j.find(e=>e.value===d);e&&(b(e.name),y(e.drawable))}},[d]),(0,l.useEffect)(()=>{let e=[...u];if(""!==x.trim()&&!u.some(e=>e.name===x.trim())){var t;N(null===(t=(e=e.filter(e=>e.name.toLowerCase().includes(x.toLowerCase())))[0])||void 0===t?void 0:t.value)}e.length===j.length&&e.every((e,t)=>{var a;return e.value===(null===(a=j[t])||void 0===a?void 0:a.value)})||S(e)},[x,u]),(0,l.useEffect)(()=>{if(j.find(e=>e.value===I)){let e=document.querySelector(".".concat(s().option,".").concat(s().focus)),t=C.current;if(e&&t){let a=parseInt(t.style.maxHeight.replace("px",""));t.scrollTo({top:e.offsetTop-a/2,behavior:"smooth"})}}},[I]),"auto"==w&&O.current){let e=window.innerHeight-O.current.getBoundingClientRect().top-75;w=e>150?e:150}let L=e=>{if(e.key.match(/^[a-zA-Z0-9]$/)){let t=e.key.toLowerCase(),a=j.filter(e=>e.name.toLowerCase().startsWith(t));if(a.length>0){if(a.find(e=>e.value===I)){let e=a.findIndex(e=>e.value===I)+1;e<a.length?N(a[e].value):N(a[0].value)}else N(a[0].value)}}if("Enter"===e.key){E(!1);let e=j.find(e=>e.value===I);e&&(v(e.value),b(e.name),y(e.drawable))}if("Escape"===e.key&&E(!1),1===e.key.length&&E(!0),"ArrowDown"===e.key){e.preventDefault();let t=j.findIndex(e=>e.value===I),a=-1===t||t===j.length-1?0:t+1;N(j[a].value)}if("ArrowUp"===e.key){e.preventDefault();let t=j.findIndex(e=>e.value===I),a=t<=0?j.length-1:t-1;N(j[a].value)}};(0,l.useEffect)(()=>(O.current&&O.current.addEventListener("keydown",L),()=>{O.current&&O.current.removeEventListener("keydown",L)}),[j,I]);let D=e=>{E(!1),v(e.value),b(e.name),y(e.drawable),N(e.value)};return(0,n.jsxs)("div",{ref:W,className:"".concat(s().select," ").concat(_),style:{width:"".concat(t),height:"".concat(a),...m},children:[(0,n.jsx)(c.Z,{inputRef:O,placeholder:r,value:x,height:a,corner:o,drawable:g,disabled:f,readOnly:!p,onChange:e=>b(e.target.value),paddingRight:"40px",labelStyle:{right:"30px"}}),(0,n.jsx)("span",{className:s().arrow,children:(0,n.jsx)(i.K5,{width:21,height:21})}),(0,n.jsx)("div",{ref:C,className:"".concat(s().options," ").concat(k?s().show:""),style:{borderRadius:"".concat(o,"px"),maxHeight:"".concat(w,"px")},children:j&&j.length>0&&j.sort((e,t)=>
1{var a;return null==e?void 0:null===(a=e.category)||void 0===a?void 0:a.localeCompare(null==t?void 0:t.category)}).map((e,t)=>(0,n.jsxs)(l.Fragment,{children:[e.category&&(j.slice(t-1,t).some(t=>t.category!==e.category)||0===t)&&(0,n.jsx)("div",{className:s().category,children:e.category}),(0,n.jsxs)("div",{className:"".concat(s().option," ").concat(I===e.value?s().focus:""," ").concat(e.drawable?s().optionWithDrawable:""," ").concat(d===e.value?s().selected:""),style:h,onClick:()=>D(e),children:[e.drawable&&(0,n.jsx)("span",{className:s().optionDrawable,children:e.drawable}),(0,n.jsx)("span",{className:s().optionName,children:e.name})]},t)]},t))})]})}},48235:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});var n=a(57437),l=a(2265);a(39688);var c=a(61723),o=a.n(c);function s(e){let{width:t,height:a="auto",minHeight:c="100px",autoResize:s=!1,placeholder:i="",background:r,corner:u=5,className:d="",customStyle:v={},disabled:h=!1,onChange:m=()=>{},textareaRef:f=null,value:_="",attributes:p={},resize:w="none"}=e,[x,b]=(0,l.useState)(a),g=(0,l.useRef)(null);f=f||(0,l.useRef)(null);let y=e=>{if(s){e.style.height="auto";let t=parseFloat(window.getComputedStyle(e).paddingBottom);b(e.scrollHeight+t),e.style.height="100%"}};return(0,l.useEffect)(()=>{y(f.current)},[_]),(0,l.useEffect)(()=>{let e=f.current,t=()=>{if(e){let t=e.offsetHeight;e.parentElement.style.height="".concat(t,"px")}},n=!1,l=0,o=0,s=t=>{n=!0,l=t.clientY,o=e.offsetHeight},i=()=>{n=!1,l=0,o=0},r=t=>{if(n){let a=t.clientY-l;if(e){let t=o+a;t>=parseInt(c)&&(e.style.height="".concat(t,"px"),b(t))}}},u=new ResizeObserver(e=>{for(let a of e)t()});return e&&"none"!==w&&(e.style.height=a,u.observe(e),g.current&&(g.current.addEventListener("mousedown",s),document.addEventListener("mousemove",r),document.addEventListener("mouseup",i))),()=>{u.disconnect(),g.current&&(g.current.removeEventListener("mousedown",s),document.removeEventListener("mousemove",r),document.removeEventListener("mouseup",i))}},[a,c,w]),(0,n.jsxs)("div",{className:o().container,style:{width:"".concat(t),height:s?"".concat(x,"px"):a,borderRadius:"".concat(u,"px")},children:[(0,n.jsx)("textarea",{ref:f,placeholder:i,style:{...v,background:r,borderRadius:"".concat(u,"px"),minHeight:c},value:_,onChange:e=>{y(e.target),m(e)},disabled:h,className:"".concat(o().textarea," ").concat(d),...p}),(0,n.jsx)("label",{className:o().label,children:i}),"none"!==w&&(0,n.jsx)("span",{ref:g,className:o().resize,children:(0,n.jsxs)("svg",{viewBox:"0 0 50 50",width:12,height:12,children:[(0,n.jsx)("line",{x1:"50",y1:"0",x2:"0",y2:"50",stroke:"currentColor",strokeWidth:"2"}),(0,n.jsx)("line",{x1:"50",y1:"25",x2:"25",y2:"50",stroke:"currentColor",strokeWidth:"2"})]})})]})}},57601:function(e,t){"use strict";t.Z=[{name:"ASCII",value:"ascii"},{name:"UTF-8",value:"utf-8"},{name:"UTF-16",value:"utf-16"},{name:"UTF-16LE",value:"utf-16le"},{name:"UTF-16BE",value:"utf-16be"},{name:"ISO-8859-1",value:"iso-8859-1"},{name:"ISO-8859-2",value:"iso-8859-2"},{name:"ISO-8859-3",value:"iso-8859-3"},{name:"ISO-8859-4",value:"iso-8859-4"},{name:"ISO-8859-5",value:"iso-8859-5"},{name:"ISO-8859-6",value:"iso-8859-6"},{name:"ISO-8859-7",value:"iso-8859-7"},{name:"ISO-8859-8",value:"iso-8859-8"},{name:"ISO-8859-9",value:"iso-8859-9"},{name:"ISO-8859-10",value:"iso-8859-10"},{name:"ISO-8859-11",value:"iso-8859-11"},{name:"ISO-8859-13",value:"iso-8859-13"},{name:"ISO-8859-14",value:"iso-8859-14"},{name:"ISO-8859-15",value:"iso-8859-15"},{name:"ISO-8859-16",value:"iso-8859-16"},{name:"Windows-1250",value:"windows-1250"},{name:"Windows-1251",value:"windows-1251"},{name:"Windows-1252",value:"windows-1252"},{name:"Windows-1253",value:"windows-1253"},{name:"Windows-1254",value:"windows-1254"},{name:"Windows-1255",value:"windows-1255"},{name:"Windows-1256",value:"windows-1256"},{name:"Windows-1257",value:"windows-1257"},{name:"Windows-1258",value:"windows-1258"},{name:"MacRoman",value:"macroman"},{name:"Macintosh",value:"macintosh"},{name:"Big5",value:"big5"},{name:"GBK",value:"gbk"},{name:"GB2312",value:"gb2312"},{name:"Shift_JIS",value:"shift_jis"},{name:"EUC-JP",value:"euc-jp"},{name:"EUC-KR",value:"euc-kr"},{name:"ISO-2022-JP",value:"iso-2022-jp"},{name:"KOI8-R",value:"koi8-r"},{name:"KOI8-U",value:"koi8-u"},{name:"TIS-620",value:"tis-620"},{name:"CP866",value:"cp866"},{name:"UTF-32",value:"utf-32"},{name:"UTF-32LE",value:"utf-32le"},{name:"UTF-32BE",value:"utf-32be"}]},60802:function(){},75798:function(){},39688:function(){},51579:function(e){e.exports={outer:"checkbox_outer__YjWtG",start:"checkbox_start__zHeYq",input:"checkbox_input__JdFGh",label:"checkbox_label__SKhcT",check:"checkbox_check__U__81",checked:"checkbox_checked__QbZRb",switch:"checkbox_switch__m1fWT"}},42680:function(e){e.exports={container:"input_container__7z8Me",input:"input_input__W_euj",inputWithDrawable:"input_inputWithDrawable__8_rRp",label:"input_label__VVxBc",labelWithDrawable:"input_labelWithDrawable__6FEh3",drawable:"input_drawable__wst8_"}},74167:function(e){e.exports={select:"select_select__oVMIg",arrow:"select_arrow__wfXZO",options:"select_options__NiskO",show:"select_show__cGYN_",category:"select_category__1aDzD",option:"select_option__mS4h3",selected:"select_selected__WFcOj",focus:"select_focus__YeE0D",optionWithDrawable:"select_optionWithDrawable__C_o8g",optionName:"select_optionName__VQEJT",optionDrawable:"select_optionDrawable__AfDzC"}},61723:function(e){e.exports={container:"textarea_container__vIxWj",textarea:"textarea_textarea__WbLCQ",label:"textarea_label__4qIae",resize:"textarea_resize__cpNWU"}}}]);
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.