1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5635],{32743:function(e,t,o){o.d(t,{V:function(){return p}});var i=o(29071),l=o(90678),s=o(75271),r=o(97352),n=o(64257),d=o(12888);class a extends s.Component{componentWillUnmount(){let{persist:e,name:t,uploadStore:o}=this.props;e||null==o||o.removeOne(r.gq.type,t)}async onFileDataUploadDrop(e){let{onSuccess:t,onError:o,onFileDrop:i}=this.props;if(0!==e.length){i&&i(),this.uploadModel.addFiles(e);try{let e=await this.uploadModel.send();t&&t(e)}catch(e){o&&o(e)}}}render(){var e,t;let{accept:o,name:l,endpoint:s,uploadStore:r,onDelete:a,onSuccess:p,onError:c,onFileDrop:h,onDropRejected:u,maxSize:b,persist:f,...x}=this.props;return(null===(t=this.uploadModel)||void 0===t?void 0:null===(e=t.files)||void 0===e?void 0:e.length)?this.uploadModel.files.map(e=>(0,i.tZ)(d.o,{onDelete:a,file:e,accept:o},e.file.name)):(0,i.tZ)(n.g,{accept:o,onDrop:this.onFileDataUploadDrop,maxSize:b,onDropRejected:u,...x})}constructor(e){super(e);let{uploadStore:t,name:o,endpoint:i}=e;this.uploadModel=t.findOne(r.gq.type,o),this.uploadModel||(this.uploadModel=t.add({name:o,endpoint:i},r.gq.type)),this.onFileDataUploadDrop=this.onFileDataUploadDrop.bind(this)}}a.defaultProps={persist:!1};let p=(0,l.f3)("uploadStore")((0,l.Pi)(a))},97674:function(e,t,o){o.d(t,{g:function(){return z}});var i,l,s=o(15767),r=o(29071),n=o(54940),d=o(42623),a=o(23293),p=o(90678),c=o(75271),h=o(95213),u=o.n(h);(i=l||(l={})).Normal="normal",i.Small="small";let b={normal:"18px",small:"16px"},f=(0,n.iv)(" display:flex;"),x=(e,t,o,i)=>(0,n.iv)(" position:relative;display:",o?"flex":"block",";background:",e.field.background,";border:solid ",i,"px ",t?e.field.borderError:e.field.border,";border-radius:4px;z-index:0;flex-grow:1;"),g=(e,t,o,i)=>{let l;return l=t?e.field.labelColorError:o?e.field.labelColorDisabled:i?e.field.color:e.field.labelColor,(0,n.iv)(" position:relative;font-size:",i?18:14,"px;font-weight:",i?"bold":"normal",";line-height:1.5;text-align:left;color:",l,";display:block;padding:",i?"10px 0 10px 15px":"15px 10px 6px 15px",";z-index:1;")},v=(e,t,o,i,l,s)=>(0,n.iv)(" position:relative;color:",t?e.field.colorDisabled:e.field.color,";font-size:",b[l],";font-weight:bold;line-height:1.5;text-align:left;border:0;display:inline-block;width:100%;padding:",o?"".concat(i?"10px 15px 15px 5px":"0 15px 15px 15px"):"10px 15px 10px 15px",";",s&&"\n padding-left: 42px;\n "," z-index:0;font-family:inherit;min-width:0;background:transparent;border-radius:4px;",t&&"-webkit-text-fill-color: ".concat(e.field.colorDisabled,";")," &::placeholder{font-weight:normal;color:",t?e.field.placeholderColorDisabled:e.field.placeholderColor,";}&::-ms-clear,&::-ms-reveal{display:none;}&:invalid{box-shadow:none;outline:none;}&:-moz-submit-invalid{box-shadow:none;}&:-moz-ui-invalid{box-shadow:none;}&:focus{outline:0;}"),m=(e,t,o,i,l)=>(0,n.iv)(" ",v(e,t,o,i,l)," resize:none;font-family:inherit;"),w=(0,n.iv)(" position:absolute;z-index:1;left:14px;top:50%;transform:translateY(-50%);pointer-events:none;"),C=e=>(0,n.iv)(" position:absolute;top:0;right:0;display:inline-block;font-family:inherit;font-size:12px;line-height:1.5;padding:16px 24px;color:",e.field.labelColor,";border:0;background:none;z-index:2;cursor:pointer;user-select:none;&:focus:not(.focus-visible){outline:0;}"),k=(0,n.iv)(" display:flex;"),y=(e,t)=>(0,n.iv)(" display:block;min-width:48px;text-align:center;color:",t?e.field.labelColorDisabled:e.field.labelColor,";font-family:inherit;font-size:18px;margin-left:8px;cursor:",t?"default":"pointer",";&:focus:not(.focus-visible){outline:0;}");class Z extends c.Component{togglePassword(){this.showPassword=!this.showPassword}getType(e){return this.showPassword?"text":e}getLabel(){let{error:e,inlineLabel:t,label:o}=this.props;return t?"".concat(o,":"):e||o}handleDownClick(){this.props.onDown&&!this.props.disabled&&this.props.onDown()}handleUpClick(){this.props.onUp&&!this.props.disabled&&this.props.onUp()}render(){let{hideNumberActions:e=!1,label:t,inlineLabel:o,placeholder:i,showPasswordLabel:l="SHOW",hidePasswordLabel:s="HIDE",error:n,id:d,name:a,multiline:p,disabled:c,textAreaRows:h=5,textAreaMaxLength:b,theme:Z,type:z,value:D,onChange:P,onBlur:F,onKeyDown:B,onKeyPress:M,min:X,max:O,mask:U,borderWidth:N=1,icon:j,textSize:S="normal",autoCapitalize:L,autoComplete:T,autoFocus:E,inputMode:_,list:R,readOnly:q}=this.props,H="password"===z?this.getType(z):z,W=d||"field-".concat(a),A=!!t,I={css:v(Z,c,A,o,S,j),type:H,id:W,name:a,value:D,onChange:P,onBlur:F,onKeyDown:B,onKeyPress:M,placeholder:i,min:X,max:O,disabled:c,mask:U,autoCapitalize:L,autoComplete:T,autoFocus:E,inputMode:_,list:R,readOnly:q},V=x(Z,!!n,o,N);return(0,r.BX)("div",{css:f,children:[(0,r.BX)("div",{css:V,children:[A&&(0,r.tZ)("label",{"data-testid":this.props["data-testid"]&&"".concat(this.props["data-testid"],"-label"),htmlFor:W,css:g(Z,!!n,c,o),children:this.getLabel()}),j&&(0,r.tZ)("div",{css:w,children:j}),p?(0,r.tZ)("textarea",{rows:h,maxLength:b,value:D,name:a,"data-testid":this.props["data-testid"],disabled:c,
1css:m(Z,c,A,o,S),onChange:P,placeholder:i}):U?(0,r.tZ)(u(),{...I,"data-testid":this.props["data-testid"]}):(0,r.tZ)("input",{...I,"data-testid":this.props["data-testid"]}),"password"===z&&(0,r.tZ)("button",{type:"button","data-testid":this.props["data-testid"]&&"".concat(this.props["data-testid"],"-show-password-button"),css:C(Z),onClick:this.togglePassword,tabIndex:-1,children:this.showPassword?s:l})]}),"number"===z&&!e&&(0,r.BX)("div",{css:k,children:[(0,r.tZ)("button",{type:"button","data-testid":this.props["data-testid"]&&"".concat(this.props["data-testid"],"-button-minus"),css:[V,y(Z,c)],onClick:this.handleDownClick,disabled:c,children:"-"}),(0,r.tZ)("button",{type:"button","data-testid":this.props["data-testid"]&&"".concat(this.props["data-testid"],"-button-plus"),css:[V,y(Z,c)],onClick:this.handleUpClick,disabled:c,children:"+"})]})]})}constructor(e){super(e),this.showPassword=!1,this.togglePassword=this.togglePassword.bind(this),this.handleDownClick=this.handleDownClick.bind(this),this.handleUpClick=this.handleUpClick.bind(this)}}(0,s.gn)([a.LO],Z.prototype,"showPassword",void 0);let z=(0,d.b)((0,p.Pi)(Z))},75232:function(e,t,o){o.d(t,{e:function(){return h},h:function(){return l}});var i,l,s=o(29071),r=o(54940),n=o(42623),d=o(75271),a=o(29132);(i=l||(l={})).Default="default",i.Danger="danger";let p=(e,t,o)=>(0,r.iv)(" padding:4px;margin:-4px;border:none;background:none;cursor:pointer;opacity:",o?.4:1,";&:active{> svg{transform:scale(0.8);}}> svg{transform:scale(1);}&:hover{background:none;}&:hover:not([disabled]),&:focus:not(.focus-visible){outline:0;}");class c extends d.Component{handleClick(e){let{onClick:t,isLoading:o,isDisabled:i}=this.props;!t||o||i||t(e)}render(){let{type:e="button",icon:t,color:o,isLoading:i,theme:l,isDisabled:r,...n}=this.props;return(0,s.tZ)("button",{onClick:this.handleClick,role:"button",type:e,css:p(l,o,r),disabled:r,"data-testid":n["data-testid"],children:i?(0,s.tZ)(a.H,{className:"text-surface-action-secondary-hover size-5 stroke-3"}):t})}constructor(e){super(e),this.handleClick=this.handleClick.bind(this)}}c.defaultProps={color:"default"};let h=(0,n.b)(c)},64257:function(e,t,o){o.d(t,{g:function(){return B}});var i=o(29071),l=o(54940),s=o(42623),r=o(75271),n=o(70108),d=o(23112),a=o(48517),p=o(37531);let c=(0,l.iv)(" padding:32px;cursor:pointer;user-select:none;"),h=(0,l.iv)(" text-align:center;"),u=e=>(0,l.iv)(" font-size:18px;line-height:1.56;text-align:center;color:",e.uploadMessage.titleColor,";margin-bottom:4px;"),b=e=>(0,l.iv)(" font-size:16px;line-height:1.5;text-align:center;color:",e.uploadMessage.actionColor,";margin-bottom:16px;"),f=e=>(0,l.iv)(" font-size:14px;line-height:1.43;text-align:center;color:",e.uploadMessage.infoColor,";");class x extends r.Component{render(){let{icon:e,titleText:t,actionText:o,infoText:l,theme:s}=this.props;return(0,i.BX)("div",{css:c,children:[(0,i.tZ)("div",{css:h,children:e}),(0,i.tZ)("p",{css:u(s),children:t}),(0,i.tZ)("p",{css:b(s),children:o}),(0,i.tZ)("p",{css:f(s),children:l})]})}}let g=(0,s.b)(x);var v=o(90678);let m=(e,t)=>(0,l.iv)(" display:flex;flex-direction:column;justify-content:center;position:absolute;top:0;left:0;bottom:0;right:0;border-radius:4px;background-color:",t?e.uploadOverlay.backgroundReject:e.uploadOverlay.backgroundAccept,";",t&&"border: 1px dashed ".concat(e.uploadOverlay.errorColor,";")),w=(0,l.iv)(" margin-bottom:15px;text-align:center;"),C=(e,t)=>(0,l.iv)(" font-size:24px;text-align:center;color:",t?e.uploadOverlay.errorColor:e.uploadOverlay.textColor,";");class k extends r.Component{render(){let{rejected:e=!1,icon:t,message:o,theme:l}=this.props;return(0,i.BX)("div",{css:m(l,e),children:[(0,i.tZ)("div",{css:w,children:t}),(0,i.tZ)("div",{css:C(l,e),children:o})]})}}let y=(0,s.b)((0,v.Pi)(k)),Z=e=>(0,l.iv)(" position:relative;&::before{position:absolute;top:0;right:0;bottom:0;left:0;display:block;content:'';border-color:",e.upload.borderColor,";border-style:dashed;border-width:1px;border-radius:4px;z-index:0;}"),z=(0,l.iv)(" &::before{border-color:transparent;}"),D=e=>(0,l.iv)(" &::before{border-color:",e.uploadOverlay.errorColor,";}"),P=(0,l.iv)(" opacity:0.5;");class F extends r.Component{render(){let{icon:e,titleText:t,actionText:o,infoText:l,overlayIconAccept:s=(0,i.tZ)(n.Z,{className:"size-[104px] text-current"}),overlayIconReject:p=(0,i.tZ)(d.Z,{className:"text-text-signal-danger size-16"}),overlayMessageAcceptKey:c="common/field.dropzone.overlayMessage",overlayMessageRejectKey:h="common/field.dropzone.overlayMessageReject",maxSize:u,theme:b,t:f,...x}=this.props;return delete x.tReady,delete x.i18n,delete x.reportNS,delete x.defaultNS,delete x.i18nOptions,(0,i.tZ)(a.Z,{css:Z(b),acceptcss:z,rejectcss:D(b),disabledcss:P,style:{cursor:"pointer"},disabledStyle:{cursor:"not-allowed"},maxSize:u,...x,children:n=>{let{isDragAccept:d,isDragReject:a}=n;return(0,i.BX)(r.Fragment,{children:[d&&(0,i.tZ)(y,{icon:s,message:f(c)}),a&&(0,i.tZ)(y,{rejected:!0,icon:p,message:f(h)}),(0,i.tZ)(g,{icon:e,titleText:t,actionText:o,infoText:l})]})}})}}let B=(0,p.Zh)()((0,s.b)(F))},12888:function(e,t,o){o.d(t,{o:function(){return F}});var i=o(29071),l=o(54940),s=o(42623),r=o(90678),n=o(75271),d=o(37531),a=o(69966),p=o(44450),c=o(20326),h=o.n(c);let u=e=>{let{src:t,alt:o}=e;return(0,i.tZ)(p.xu,{width:"full",position:"relative",_before:{content:'""',dis
1play:"block",paddingTop:"50%"},children:(0,i.tZ)(p.xu,{position:"absolute",top:0,bottom:0,left:0,right:0,textAlign:"center",height:"full",children:(0,i.tZ)(h(),{src:t,alt:o,fill:!0,objectFit:"cover"})})})};var b=o(75232),f=o(65652),x=o(84683);let g=e=>(0,l.iv)(" position:relative;background-color:",e.uploadFile.background,";border:solid 1px ",e.uploadFile.border,";border-radius:4px;padding:24px 16px;"),v=(0,l.iv)(" display:flex;justify-content:space-between;margin-bottom:16px;"),m=(0,l.iv)(" flex-shrink:1;min-width:0;"),w=(0,l.iv)(" margin-left:8px;"),C=e=>(0,l.iv)(" font-size:16px;font-weight:bold;line-height:1.5;text-align:left;color:",e.uploadFile.titleColor,";margin-bottom:4px;word-wrap:break-word;"),k=e=>(0,l.iv)(" font-size:14px;line-height:1.43;text-align:left;color:",e.uploadFile.subtitleColor,";"),y=(0,l.iv)(" margin-bottom:8px;"),Z=(0,l.iv)(" display:flex;flex-direction:row;"),z=e=>(0,l.iv)(" flex-grow:0;flex-shrink:0;flex-basis:50%;font-size:14px;line-height:1.43;color:",e.uploadFile.infoLabelColor,";"),D=e=>(0,l.iv)(" text-align:right;font-size:14px;line-height:1.43;color:",e.uploadFile.infoLabelColor,";flex-grow:0;flex-shrink:0;flex-basis:50%;> span{font-weight:bold;color:",e.uploadFile.infoValueColor,";}");class P extends n.Component{onDelete(e){e.stopPropagation();let{onDelete:t,file:o}=this.props;t?t(o):this.props.file.delete()}render(){let{accept:e,file:t,t:o,theme:l}=this.props,s=e?e.startsWith("image/"):null;return(0,i.BX)("div",{css:g(l),children:[(0,i.BX)("div",{css:v,children:[(0,i.tZ)("div",{css:m,children:!s&&(0,i.BX)(n.Fragment,{children:[(0,i.tZ)("p",{css:C(l),children:t.file.name}),(0,i.BX)("p",{css:k(l),children:["(",Number(t.file.size/1e6).toFixed(2)," MB)"]})]})}),(0,i.tZ)("div",{css:w,onClick:this.onDelete,role:"button",children:(0,i.tZ)(b.e,{color:b.h.Danger,icon:(0,i.tZ)(a.Z,{className:"text-text-signal-danger"})})})]}),(0,i.tZ)("div",{css:y,children:(0,i.tZ)(x.ko,{size:x.Kv.Medium,border:!0,progress:t.progress,processing:t.isProcessing,pulse:!t.isPersisted&&!t.isProcessing})}),(0,i.BX)("div",{css:Z,children:[(0,i.tZ)("div",{css:z(l),children:t.isProcessing?o("common/label.processing"):null}),(0,i.BX)("div",{css:D(l),children:[o("common/label.uploaded")," ",(0,i.BX)("span",{children:[t.progress," %"]})]})]}),s&&(0,i.tZ)(f.Z,{desktop:"8px 0 0 0",children:(0,i.tZ)(u,{src:t.preview,alt:"file preview"})})]})}constructor(e){super(e),this.onDelete=this.onDelete.bind(this)}}let F=(0,d.Zh)()((0,s.b)((0,r.Pi)(P)))}}]);
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.