1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6698],{2968:e=>{e.exports={formLabel:"form-label_formLabel___UgUA",label:"form-label_label__QF9ne",inlineLabel:"form-label_inlineLabel__8Q1QQ",optional:"form-label_optional___ZUiD",required:"form-label_required___l6qI",inlineIndicator:"form-label_inlineIndicator__awT7L",tooltip:"form-label_tooltip__W3j_e"}},18959:e=>{e.exports={formTooltip:"form-tooltip_formTooltip__p0dJw",tooltip:"form-tooltip_tooltip__PxdWY",maxWidth:"form-tooltip_maxWidth__Jhiuc"}},56698:(e,l,t)=>{"use strict";t.r(l),t.d(l,{default:()=>n});var o=t(23798),i=t(95095),s=t(95622),r=t(78951),a=t(57337);let n=(0,i.bk)({displayName:"PasswordForm",mapPropsToValues:()=>({password:""}),validate:(e,l)=>{let t={};return e.password||(t.password=l.intl.formatMessage({id:"modules.passwordProtection.form.password.error"})),t},handleSubmit:(e,l)=>{let t=window&&window.btoa(e.password);l.props.onSubmit(t)}})(e=>{let{intl:l,isLoading:t,touched:n,errors:d,values:p,handleChange:m,handleBlur:c,handleSubmit:u}=e,{formatMessage:_}=l;return(0,o.jsxs)(i.lV,{children:[(0,o.jsx)(s.e,{id:"password",label:_({id:"modules.passwordProtection.form.password.label"}),errors:n.password&&d.password?[d.password||""]:void 0,isRequired:!0,marginBottom:24,maxWidth:"672px",children:(0,o.jsx)(r.A,{id:"password",type:"password",value:p.password,onChange:m,onBlur:c,placeholder:_({id:"modules.passwordProtection.form.password.placeholder"})})}),(0,o.jsx)(a.$,{type:"button",variant:"primary",title:_({id:"modules.passwordProtection.form.password.submit"}),onClick:()=>u(),disabled:t,isLoading:t,squaredSize:"big"})]})})},78205:e=>{e.exports={formItem:"form-item_formItem__q7thd",errors:"form-item_errors__GkEQo",field:"form-item_field__QaNo_",extraInfo:"form-item_extraInfo__V8rIq",helperText:"form-item_helperText__eZSCD"}},95622:(e,l,t)=>{"use strict";t.d(l,{e:()=>h});var o=t(23798),i=t(49980),s=t(21462),r=t(37456),a=t(78205),n=t.n(a),d=t(2968),p=t.n(d),m=t(18959),c=t.n(m);let u=(0,r.P)(e=>{var l,t;return(0,o.jsx)("div",{className:null==(l=e.styling)?void 0:l.getStyle(c(),"formTooltip"),children:(0,o.jsx)("span",{"data-tip":e.content,"data-for":e.id,className:null==(t=e.styling)?void 0:t.getStyle(c(),"tooltip"),children:(e=>e||(0,o.jsx)("span",{children:"Info"}))(e.hoverItem)})})}),_=(0,r.P)(e=>{var l,t,s,r;let a=e.customIndicatorText||((e,l)=>e&&!l?"*":!e&&l?"Optioneel":"")(e.isRequired,e.showOptionalDefault),n=(0,i.A)(e.isRequired?null==(l=e.styling)?void 0:l.getStyle(p(),"required"):null==(t=e.styling)?void 0:t.getStyle(p(),"optional"));return(0,o.jsxs)("span",{className:(0,i.A)(null==(s=e.styling)?void 0:s.getStyle(p(),"formLabel"),e.className),children:[((l,t,s)=>{var r,d,m,c;let u=e.optionalLabelInline&&a&&(0,o.jsx)("span",{className:(0,i.A)(n,p().inlineIndicator),children:a});return s?(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("span",{className:(0,i.A)(null==(m=e.styling)?void 0:m.getStyle(p(),"label"),null==(c=e.styling)?void 0:c.getStyle(p(),"inlineLabel")),children:[l,u]})}):(0,o.jsxs)("label",{className:(0,i.A)(null==(r=e.styling)?void 0:r.getStyle(p(),"label"),null==(d=e.styling)?void 0:d.getStyle(p(),"inlineLabel")),htmlFor:t,children:[l,u]})})(e.title,e.id,e.hasChildLabel),!e.optionalLabelInline&&a&&(0,o.jsx)("span",{className:n,children:a}),e.tooltip&&(0,o.jsx)("div",{className:null==(r=e.styling)?void 0:r.getStyle(p(),"tooltip"),children:(0,o.jsx)(u,{id:"".concat(e.id,"-tooltip"),content:e.tooltip,hoverItem:e.tooltipHoverItem,propStyles:e.tooltipStyles})})]})}),h=(0,r.P)(e=>{var l,t,r,a,d,p,m;let c=e.children.props.id,u=null!=(p=e.minWidth)?p:"180px",h=null!=(m=e.maxWidth)?m:"100%",x={flex:"1 0 ".concat(u),maxWidth:h,...e.marginBottom&&{marginBottom:"".concat(e.marginBottom,"px")}},f=(0,i.A)(e.className,null==(l=e.styling)?void 0:l.getStyle(n(),"formItem"),e.errors&&(null==(t=e.styling)?void 0:t.getStyle(n(),"isInvalid")));return(0,o.jsxs)("div",{className:f,style:x,children:[e.label&&(0,o.jsx)(_,{id:e.id,title:e.label,hasChildLabel:e.hasChildLabel,isRequired:e.isRequired,tooltip:e.tooltip,propStyles:e.labelStyles,showOptionalDefault:e.showOptionalDefault,customIndicatorText:e.customIndicatorText,tooltipHoverItem:e.tooltipHoverItem,className:e.labelClassName,tooltipStyles:e.tooltipStyles,optionalLabelInline:e.optionalLabelInline}),(0,o.jsx)("div",{className:null==(r=e.styling)?void 0:r.getStyle(n(),"field"),children:c?e.children:s.cloneElement(e.children,{id:e.id})}),(e.errors||e.helperText||e.safeSpaceForErrors)&&(0,o.jsxs)("div",{className:null==(a=e.styling)?void 0:a.getStyle(n(),"extraInfo"),children:[(l=>{var t;return l?(0,o.jsx)("span",{className:null==(t=e.styling)?void 0:t.getStyle(n(),"errors"),children:l.map((e,l)=>(0,o.jsx)("span",{children:e},l))}):""})(e.errors),e.helperText&&(0,o.jsx)("span",{className:null==(d=e.styling)?void 0:d.getStyle(n(),"helperText"),children:e.helperText})]})]})})}}]); 2//# sourceMappingURL=6698.f9fa92a56ca61a71.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.