PageSourceSearch

https://www.pkoleasing.pl/_next/static/chunks/5490.8f05b83788953f7b.js

js pkoleasing.pl collected 2026-09-24 19:47:56 UTC 19,219 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5490],{44164:(e,t,a)=>{a.d(t,{A:()=>y});var o=a(77488),r=a(62199),n=a(75834),i=a(83136),l=a(15345),s=a(31157),d=a(34861),p=a(74796),u=a(85985),m=a(77271),c=a(7663);function g(e){return(0,c.A)("MuiToggleButton",e)}let h=(0,a(47687).A)("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge"]);var f=a(26514);let x=["children","className","color","disabled","disableFocusRipple","fullWidth","onChange","onClick","selected","size","value"],b=(0,m.Ay)(d.A,{name:"MuiToggleButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e;return[t.root,t["size".concat((0,p.A)(a.size))]]}})(e=>{let{theme:t,ownerState:a}=e,o="standard"===a.color?t.palette.text.primary:t.palette[a.color].main;return(0,r.A)({},t.typography.button,{borderRadius:t.shape.borderRadius,padding:11,border:"1px solid ".concat(t.palette.divider),color:t.palette.action.active},a.fullWidth&&{width:"100%"},{["&.".concat(h.disabled)]:{color:t.palette.action.disabled,border:"1px solid ".concat(t.palette.action.disabledBackground)},"&:hover":{textDecoration:"none",backgroundColor:(0,s.X4)(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},["&.".concat(h.selected)]:{color:o,backgroundColor:(0,s.X4)(o,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:(0,s.X4)(o,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(0,s.X4)(o,t.palette.action.selectedOpacity)}}}},"small"===a.size&&{padding:7,fontSize:t.typography.pxToRem(13)},"large"===a.size&&{padding:15,fontSize:t.typography.pxToRem(15)})}),y=n.forwardRef(function(e,t){let a=(0,u.A)({props:e,name:"MuiToggleButton"}),{children:n,className:s,color:d="standard",disabled:m=!1,disableFocusRipple:c=!1,fullWidth:h=!1,onChange:y,onClick:A,selected:v,size:_="medium",value:w}=a,T=(0,o.A)(a,x),k=(0,r.A)({},a,{color:d,disabled:m,disableFocusRipple:c,fullWidth:h,size:_}),z=(e=>{let{classes:t,fullWidth:a,selected:o,disabled:r,size:n,color:i}=e,s={root:["root",o&&"selected",r&&"disabled",a&&"fullWidth","size".concat((0,p.A)(n)),i]};return(0,l.A)(s,g,t)})(k);return(0,f.jsx)(b,(0,r.A)({className:(0,i.A)(z.root,s),disabled:m,focusRipple:!c,ref:t,onClick:e=>{A&&(A(e,w),e.defaultPrevented)||y&&y(e,w)},onChange:y,value:w,ownerState:k,"aria-pressed":v},T,{children:n}))})},45490:(e,t,a)=>{a.r(t),a.d(t,{default:()=>C,useStyles:()=>B});var o=a(26514),r=a(69001),n=a.n(r),i=a(99257),l=a(75834),s=a(93794),d=a(93069),p=a(54907),u=a(52313),m=a(44164),c=a(56264),g=a(82056),h=a(6395),f=a(54004),x=a(2141),b=a(83418),y=a(12097),A=a(53303),v=a(3475),_=a(74621),w=a(51507),T=a(27133),k=a(42920),z=a(13403),j=a(43371);let N="PaymentModal",W=e=>{let t=e.replace(/[^0-9,.]/g,""),a=t.match(/[,.]/g);if(a&&a.length>1){let e=t.search(/[,.]/);t=t.substring(0,e+1)+t.substring(e+1).replace(/[,.]/g,"")}let o=t.split(/[,.]/);if(o[1]&&o[1].length>2){var r;o[1]=o[1].substring(0,2);let e=(null==(r=t.match(/[,.]/))?void 0:r[0])||"";t=o[0]+e+o[1]}return t},B=s.Df.withName("PKOBPPaymentModal").create(()=>({modalContainer:{"& .MuiPaper-root":{minWidth:"810px",maxWidth:"810px",[f.Ay.breakpoints.down("md")]:{width:"100%",maxWidth:"100%",minWidth:"unset"}},"& .MuiDialogContent-root":{padding:"0 78px 0 105px",marginBottom:"118px",minWidth:"390px",[f.Ay.breakpoints.down("md")]:{padding:"0 30px 0 30px",minWidth:"unset"},[f.Ay.breakpoints.down("sm")]:{padding:"0 16px 0 16px",minWidth:"unset"}}},headerbox:{marginBottom:"2px","& h2":{margin:"-10px 0 0 0 !important",fontSize:"24px",lineHeight:"32px"},[f.Ay.breakpoints.down("md")]:{paddingRight:"44px"}},sectionTitle:{fontSize:"18px",fontWeight:400,lineHeight:"24px","&:nth-of-type(2)":{marginTop:"30px",marginBottom:"16px"}},formWrapper:{display:"flex",flexDirection:"column",margin:0,padding:0,border:"none",paddingTop:"26px","&>legend":j.$,"& p.Mui-error":{marginLeft:0,fontFamily:f.Ay.typography.fontFamily}},amountToggleGroup:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:"8px",marginTop:"15p
1x",width:"100%",[f.Ay.breakpoints.down("sm")]:{gridTemplateColumns:"1fr",gap:"8px"}},amountToggleButton:{"&.MuiToggleButton-root":{padding:"23px 16px",border:"1px solid ".concat(f.Ay.palette.secondary.borders),borderLeft:"1px solid ".concat(f.Ay.palette.secondary.borders," !important"),borderRadius:"16px !important",backgroundColor:"#fff",fontSize:"18px",lineHeight:"24px",fontWeight:400,color:f.Ay.palette.text.primary,minHeight:"40px",textTransform:"none","&:hover":{borderColor:f.Ay.palette.text.primary,borderLeft:"1px solid ".concat(f.Ay.palette.text.primary," !important")},"&.Mui-selected":{backgroundColor:"rgba(89, 145, 221, 0.2)",color:f.Ay.palette.primary.main,borderColor:f.Ay.palette.primary.light,borderLeft:"1px solid ".concat(f.Ay.palette.primary.light," !important")},[f.Ay.breakpoints.down("sm")]:{padding:"12px 16px",fontSize:"14px",minHeight:"44px"},"&:focus-visible":{outline:"2px solid ".concat(f.Ay.palette.primary.main)}}},customAmountWrapper:{display:"flex",marginTop:"16px","& > span":{marginLeft:"8px",marginTop:"12px"}},fieldsWrapper:{display:"flex",flexDirection:"column",gap:"22px"},fieldWrapper:{},fieldLabel:{color:f.Ay.palette.text.primary,display:"inline-block",fontSize:"14px",lineHeight:"24px",marginBottom:"2px"},formField:{width:"100%",".text-spacing-detected &":{"& fieldset":{"& legend, & span":{lineHeight:"1 !important"}}},"& .MuiInputBase-root, &.MuiInputBase-root":{borderRadius:"8px",borderColor:f.Ay.palette.text.primary,fontFamily:f.Ay.typography.fontFamily,height:"48px",".text-spacing-detected &":{height:"auto",minHeight:"48px"}},"& .MuiInputAdornment-root":{marginLeft:"-2px",marginTop:"0",letterSpacing:"-1px",[f.Ay.breakpoints.down("md")]:{marginTop:"1px"},".text-spacing-detected &":{"& p":{marginTop:"5px"}}},"& .MuiInputBase-input":{paddingTop:"15px",paddingBottom:"15px",".text-spacing-detected &":{"&:not(textarea)":{lineHeight:"1 !important"},paddingTop:"calc(15px + 5px)"}},"& .MuiInputBase-multiline":{height:"unset",paddingTop:"15px",paddingBottom:"15px","& textarea":{padding:"0 !important"}},"& .MuiOutlinedInput-notchedOutline":{top:0,"& > *":{lineHeight:"0"}}},agreements:{marginTop:"18px"},consentField:{"&.MuiFormGroup-root p.Mui-error":{marginTop:"5px",marginBottom:"10px",marginLeft:"30px",lineHeight:"1.66",fontSize:"0.8571428571428571rem"},"& .MuiFormControlLabel-root a":{color:f.Ay.palette.primary.main},"& .MuiCheckbox-root":{paddingRight:"7px"},"& .agreement-description":{marginLeft:"31px"}},infos:{marginTop:"0px"},buttons:{position:"absolute",bottom:0,left:0,background:f.Ay.palette.background.default,width:"100%",height:"96px",opacity:1,boxShadow:"0px -3px 6px #81818114",borderTop:"solid 1px ".concat(f.Ay.palette.secondary.borders),display:"flex",alignItems:"center",justifyContent:"center",gap:"30px",padding:"0 16px","& button, & a":{display:"flex",width:"auto",padding:"14px 15px",minWidth:"180px",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",paddingLeft:"16px",textAlign:"center",lineHeight:"20px",height:"48px","& span":{color:"#fff !important"},".text-spacing-detected &":{height:"auto"}},[f.Ay.breakpoints.down("md")]:{height:"80px",gap:"16px","& button, & a":{width:"100%",maxWidth:"288px",minWidth:"unset"}},[f.Ay.breakpoints.down("sm")]:{"& button, & a":{maxWidth:"unset"}}},amountError:{"&&.Mui-error":{marginTop:"8px",lineHeight:"1.66",fontSize:"0.8571428571428571rem"}},paymentStatus:j.$,buttonX:{[f.Ay.breakpoints.down("md")]:{position:"absolute"}}})),C=e=>{let{handleCloseModal:t,isOpen:a,modalRendered:r}=e,s=(0,x.A)(),{classes:j}=B(),C=(0,l.useContext)(v.sM),{header:L,tile_amount_1_value:M,tile_amount_2_value:S,tile_amount_3_value:R,id:F,agreement_1:E,agreement_2:I,agreement_3:O,info_1:P,info_2:H,uuid:D}=r,[q,V]=(0,l.useState)(!1),[G,X]=(0,l.useState)(""),Y=(0,l.useRef)(null),{agreements:$,infos:J,createAgreementSchema:K}=(e=>{let{agreementIds:t,infoIds:a}=e,o=(0,x.A)(),[r,n]=(0,l.useState)([]),[i,s]=(0,l.useState)([]),[p,u]=(0,l.useState)(!1),[m,c]=(0,l.useState)(null);return(0,l.useEffect)(()=>((async()=>{let e=[];
1if(Object.values(t).forEach(t=>t&&e.push(t)),Object.values(a).forEach(t=>t&&e.push(t)),!e.length){n([]),s([]);return}u(!0),c(null);try{let r=await o.apiModulesAgreementListList({agreements:e.toString()});if(r.ok&&r.data){let e=r.data,o=[];Object.entries(t).forEach(t=>{let[a,r]=t;if(r){let t=e.find(e=>e.id===r);t&&o.push({...t,name:a})}});let i=[];Object.entries(a).forEach(t=>{let[a,o]=t;if(o){let t=e.find(e=>e.id===o);t&&i.push({...t,name:a})}}),n(o),s(i)}else c("Failed to fetch agreements and infos")}catch(e){console.error("Error fetching agreements and infos:",e),c(e instanceof Error?e.message:"An error occurred")}finally{u(!1)}})(),()=>{n([]),s([]),c(null)}),[JSON.stringify(t),JSON.stringify(a)]),{agreements:r,infos:i,loading:p,error:m,createAgreementSchema:e=>{if(!e)return d.zM().notRequired();let t=(e=>{var t;return null==r||null==(t=r.filter(t=>(null==t?void 0:t.id)===Number(e)))?void 0:t[0]})(e),a=(null==t?void 0:t.error_message)||"Zgoda jest wymagana";return d.zM().when([],{is:()=>null==t?void 0:t.is_required,then:e=>
1e.oneOf([!0],a).required(a),otherwise:e=>e.notRequired()})}}})({agreementIds:{agreement_1:E,agreement_2:I,agreement_3:O},infoIds:{info_1:P,info_2:H}}),U=y.Ut,Z=/^[a-zA-Z\u0080-\u00FF\u0100-\u017F\u0180-\u024F\s-]*$/,Q=d.Ik({selectedAmount:d.gl().required("Należy wybrać kwotę"),first_name:d.Yj().required("Imię jest wymagane").max(50,"Pole może mieć maksymalnie 50 znak\xf3w.").matches(Z,"Imię może zawierać tylko litery, spacje i myślniki."),last_name:d.Yj().required("Nazwisko jest wymagane").max(50,"Pole może mieć maksymalnie 50 znak\xf3w.").matches(Z,"Nazwisko może zawierać tylko litery, spacje i myślniki."),email:d.Yj().required("E-mail jest wymagany").matches(U,"Niepoprawna wartość dla pola E-mail."),customAmount:d.Yj().when("selectedAmount",{is:"custom",then:e=>e.required("Inna kwota jest wymagana"),otherwise:e=>e.notRequired()}),agreement_1:K(E),agreement_2:K(I),agreement_3:K(O)}),ee=(0,i.Wx)({initialValues:{selectedAmount:null,first_name:"",last_name:"",email:"",customAmount:"",agreement_1:!1,agreement_2:!1,agreement_3:!1},validationSchema:Q,onSubmit:async e=>{try{V(!0),X("Przekierowywanie do bramki płatności");let t="custom"===e.selectedAmount?Number(e.customAmount.replace(",",".")):Number(e.selectedAmount),a=Math.round(100*t),o={payment_gateway_uuid:D,amount:a,first_name:e.first_name,last_name:e.last_name,email:e.email,language:(0,b.v)(null==C?void 0:C.language),agreement_1:E?{id:E,value:e.agreement_1}:null,agreement_2:I?{id:I,value:e.agreement_2}:null,agreement_3:O?{id:O,value:e.agreement_3}:null},r=await s.apiModulesEserviceGatewayLinksCreate(o);window.location.href=r.data.redirect_url}catch(e){console.error("Error creating payment link:",e),X("Wystąpił błąd podczas wysyłki formularza."),V(!1)}}});(0,l.useEffect)(()=>{if(ee.submitCount>0&&!ee.isValid){let e=["selectedAmount"];"custom"===ee.values.selectedAmount&&e.push("customAmount"),e.push("first_name","last_name","email","agreement_1","agreement_2","agreement_3");let t=e.find(e=>ee.errors[e]);if("selectedAmount"===t){let e=document.querySelector(".MuiToggleButton-root");(null==e?void 0:e.focus)&&setTimeout(()=>{e.focus()},0)}else{let e=document.querySelector('[name="'.concat(t,'"]'));(null==e?void 0:e.focus)&&setTimeout(()=>{e.focus()},0)}}},[ee.submitCount,ee.isValid,ee.values.selectedAmount]);let et=[M&&{value:M,label:"".concat(M," zł")},S&&{value:S,label:"".concat(S," zł")},R&&{value:R,label:"".concat(R," zł")},{value:"custom",label:"Inna kwota"}].filter(Boolean),ea=(0,h.A)(f.Ay.breakpoints.down("md")),eo=ee.isSubmitting||q;return(0,o.jsx)(z.Ay,{isOpen:a,handleClose:()=>{ee.isSubmitting||q||t()},title:L?(0,o.jsx)("span",{dangerouslySetInnerHTML:{__html:L}}):"",size:z.Ih.LG,modalStyle:ea?z.YT.ROW_TITLE_AND_X_WITH_BOTTOMLINE:z.YT.DEFAULT,fullScreen:ea,cy:N,className:n()(j.modalContainer),buttonX:j.buttonX,headerbox:j.headerbox,titleVariant:"h2",$_ID_MODAL_TITLE:"PKOBP_PAYMENT_MODAL_".concat(F),mobileBreakpoint:"md",modalActionsContent:(0,o.jsx)(p.A,{className:j.buttons,children:(0,o.jsx)(A.default,{variant:"primary",type:"submit",form:"".concat(N,"_form_").concat(F),renderAsButton:!0,ariaLabel:"Wyślij uzupełniony formularz płatności",disabled:eo,children:eo?(0,o.jsx)(T.Ay,{isLoading:!0,text:"Przetwarzanie"}):"Wpłacam"})}),children:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{ref:Y,role:"status",className:j.paymentStatus,children:G}),(0,o.jsx)("form",{id:"".concat(N,"_form_").concat(F),onSubmit:ee.handleSubmit,noValidate:!0,"aria-hidden":eo,children:(0,o.jsxs)(p.A,{component:"fieldset",className:j.formWrapper,"aria-live":"polite",children:[(0,o.jsx)("legend",{children:ee.submitCount>0&&!ee.isValid?"Nie wszystkie pola formularza płatności są poprawnie uzupełnione":"Pola do wypełnienia formularza płatności"}),(0,o.jsx)(k.A,{className:j.sectionTitle,children:"Wybierz kwotę:"}),(0,o.jsx)(u.A,{value:ee.values.selectedAmount,exclusive:!0,onChange:(e,t)=>
1{("custom"===t||"number"==typeof t&&t>0)&&(ee.setFieldValue("selectedAmount",t),"custom"!==t&&ee.setFieldValue("customAmount",""))},"aria-label":"wybierz kwotę płatności",className:j.amountToggleGroup,disabled:eo,children:et.map(e=>(0,o.jsx)(m.A,{value:e.value,"aria-label":"custom"===e.value?"Inna kwota":"".concat(e.value," złotych"),className:j.amountToggleButton,disableRipple:!0,children:e.label},e.value))}),ee.touched.selectedAmount&&ee.errors.selectedAmount&&(0,o.jsx)(c.A,{className:j.amountError,error:!0,children:ee.errors.selectedAmount}),"custom"===ee.values.selectedAmount&&(0,o.jsxs)(p.A,{className:j.customAmountWrapper,children:[(0,o.jsx)(g.A,{id:"".concat(N,"_customAmount"),name:"customAmount",value:ee.values.customAmount,onChange:e=>{let t=W(e.target.value);ee.setFieldValue("customAmount",t)},onPaste:e=>{e.preventDefault();let t=W(e.clipboardData.getData("text"));ee.setFieldValue("customAmount",t)},onBlur:ee.handleBlur,error:ee.touched.customAmount&&!!ee.errors.customAmount,helperText:ee.touched.customAmount&&ee.errors.customAmount,"aria-label":"Wpisz inną kwotę",className:j.formField,fullWidth:!0,inputProps:{maxLength:100},disabled:eo}),(0,o.jsx)("span",{children:"zł"})]}),(0,o.jsx)(k.A,{className:j.sectionTitle,children:"Podaj swoje dane:"}),(0,o.jsxs)(p.A,{className:j.fieldsWrapper,children:[(0,o.jsxs)(p.A,{className:j.fieldWrapper,children:[(0,o.jsx)("label",{htmlFor:"".concat(N,"_first_name"),className:j.fieldLabel,children:"Imię"}),(0,o.jsx)(g.A,{id:"".concat(N,"_first_name"),name:"first_name",value:ee.values.first_name,onChange:ee.handleChange,onBlur:ee.handleBlur,error:ee.touched.first_name&&!!ee.errors.first_name,helperText:ee.touched.first_name&&ee.errors.first_name,"aria-label":"Wpisz Imię",className:j.formField,fullWidth:!0,inputProps:{maxLength:100},placeholder:"Imię",disabled:eo})]}),(0,o.jsxs)(p.A,{className:j.fieldWrapper,children:[(0,o.jsx)("label",{htmlFor:"".concat(N,"_last_name"),className:j.fieldLabel,children:"Nazwisko"}),(0,o.jsx)(g.A,{id:"".concat(N,"_last_name"),name:"last_name",value:ee.values.last_name,onChange:ee.handleChange,onBlur:ee.handleBlur,error:ee.touched.last_name&&!!ee.errors.last_name,helperText:ee.touched.last_name&&ee.errors.last_name,"aria-label":"Wpisz Nazwisko",className:j.formField,fullWidth:!0,inputProps:{maxLength:100},placeholder:"Nazwisko",disabled:eo})]}),(0,o.jsxs)(p.A,{className:j.fieldWrapper,children:[(0,o.jsx)("label",{htmlFor:"".concat(N,"_email"),className:j.fieldLabel,children:"E-mail"}),(0,o.jsx)(g.A,{id:"".concat(N,"_email"),name:"email",value:ee.values.email,onChange:ee.handleChange,onBlur:ee.handleBlur,error:ee.touched.email&&!!ee.errors.email,helperText:ee.touched.email&&ee.errors.email,"aria-label":"Wpisz E-mail",className:j.formField,fullWidth:!0,inputProps:{maxLength:100},placeholder:"Adres e-mail",disabled:eo})]})]}),(null==$?void 0:$.length)>0&&(0,o.jsx)(p.A,{className:j.agreements,children:$.map((e,t)=>(0,o.jsx)(w.A,{className:j.consentField,formik:ee,field:{...e,error_message:null},disabled:eo},e.id||t))}),(null==J?void 0:J.length)>0&&(0,o.jsx)(p.A,{className:j.infos,children:J.map((e,t)=>(0,o.jsx)(_.A,{link_label:null==e?void 0:e.link_label,link_label_expanded:null==e?void 0:e.link_label_expanded,content:null==e?void 0:e.content,display_name:null==e?void 0:e.display_name},e.id||t))})]})})]})})}},52313:(e,t,a)=>{a.d(t,{A:()=>x});var o=a(77488),r=a(62199),n=a(75834);
1a(64635);var i=a(83136),l=a(15345),s=a(77271),d=a(85985),p=a(74796),u=a(7663);function m(e){return(0,u.A)("MuiToggleButtonGroup",e)}let c=(0,a(47687).A)("MuiToggleButtonGroup",["root","selected","vertical","disabled","grouped","groupedHorizontal","groupedVertical"]);var g=a(26514);let h=["children","className","color","disabled","exclusive","fullWidth","onChange","orientation","size","value"],f=(0,s.Ay)("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e;return[{["& .".concat(c.grouped)]:t.grouped},{["& .".concat(c.grouped)]:t["grouped".concat((0,p.A)(a.orientation))]},t.root,"vertical"===a.orientation&&t.vertical,a.fullWidth&&t.fullWidth]}})(e=>{let{ownerState:t,theme:a}=e;return(0,r.A)({display:"inline-flex",borderRadius:a.shape.borderRadius},"vertical"===t.orientation&&{flexDirection:"column"},t.fullWidth&&{width:"100%"},{["& .".concat(c.grouped)]:(0,r.A)({},"horizontal"===t.orientation?{"&:not(:first-of-type)":{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},"&:not(:last-of-type)":{borderTopRightRadius:0,borderBottomRightRadius:0},["&.".concat(c.selected," + .").concat(c.grouped,".").concat(c.selected)]:{borderLeft:0,marginLeft:0}}:{"&:not(:first-of-type)":{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},"&:not(:last-of-type)":{borderBottomLeftRadius:0,borderBottomRightRadius:0},["&.".concat(c.selected," + .").concat(c.grouped,".").concat(c.selected)]:{borderTop:0,marginTop:0}})})}),x=n.forwardRef(function(e,t){let a=(0,d.A)({props:e,name:"MuiToggleButtonGroup"}),{children:s,className:u,color:c="standard",disabled:x=!1,exclusive:b=!1,fullWidth:y=!1,onChange:A,orientation:v="horizontal",size:_="medium",value:w}=a,T=(0,o.A)(a,h),k=(0,r.A)({},a,{disabled:x,fullWidth:y,orientation:v,size:_}),z=(e=>{let{classes:t,orientation:a,fullWidth:o,disabled:r}=e,n={root:["root","vertical"===a&&"vertical",o&&"fullWidth"],grouped:["grouped","grouped".concat((0,p.A)(a)),r&&"disabled"]};return(0,l.A)(n,m,t)})(k),j=(e,t)=>{let a;if(!A)return;let o=w&&w.indexOf(t);w&&o>=0?(a=w.slice()).splice(o,1):a=w?w.concat(t):[t],A(e,a)},N=(e,t)=>{A&&A(e,w===t?null:t)};return(0,g.jsx)(f,(0,r.A)({role:"group",className:(0,i.A)(z.root,u),ref:t,ownerState:k},T,{children:n.Children.map(s,e=>{var t;return n.isValidElement(e)?n.cloneElement(e,{className:(0,i.A)(z.grouped,e.props.className),onChange:b?N:j,selected:void 0===e.props.selected?(t=e.props.value,void 0!==w&&void 0!==t&&(Array.isArray(w)?w.indexOf(t)>=0:t===w)):e.props.selected,size:e.props.size||_,fullWidth:y,color:e.props.color||c,disabled:e.props.disabled||x}):null})}))})}}]);

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.