1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[65,738,2715,4827,5096,6774,7208],{5096:(e,t,n)=>{n.r(t),n.d(t,{default:()=>A,useStyles:()=>_});var i=n(26514),a=n(69001),l=n.n(a),o=n(70504),r=n(75834),s=n(93794),d=n(54907),p=n(2058),c=n(54004),x=n(2991),u=n(81132),m=n(97469),g=n(33872),h=n(53303),b=n(13436),y=n(42920);let _=s.Df.withName("PKOBPIconWithLink").withNestedSelectors().create(e=>{let{classes:t}=e;return{container:{display:"flex",alignItems:"center","& p, & span":{lineHeight:"20px"}},container__isSnippet:{alignItems:"center","& p, & span":{lineHeight:"24px",[c.Ay.breakpoints.down("sm")]:{fontWeight:300}},"& p sup,":{lineHeight:0,fontSize:"0.83em",verticalAlign:"super"},maxWidth:"870px",marginLeft:"auto",marginRight:"auto",background:c.Ay.palette.secondary.backgroundBlue,borderRadius:"10px",padding:"24px",["& .".concat(t.imgContainer)]:{background:c.Ay.palette.common.white,marginTop:"0",alignSelf:"flex-start"},["& .".concat(t.link)]:{fontSize:"16px"}},contentContainer:{minWidth:"70%",width:"calc(100% - 52px - 16px)"},imgContainer:{flexShrink:0,width:"40px",height:"40px",background:c.Ay.palette.common.white,marginRight:"16px",overflow:"hidden",marginTop:"-2px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"50%",textAlign:"center","& img":{height:"auto",minHeight:"unset",maxWidth:"24px !important",maxHeight:"24px !important"}},link:{fontSize:"14px",whiteSpace:"normal",lineHeight:"24px"},link__isSnippet:{lineHeight:"24px"},textContainer:{"& ul":{margin:0,padding:0,paddingLeft:"19px"},"& a":{color:c.Ay.palette.primary.main,textUnderlineOffset:"2px"},"& a:hover":{color:"#001E4B"}},text__body3:{...c.Ay.typography.body3},text__body4:{...c.Ay.typography.body4}}}),A=e=>{let{cy:t="",isSnippet:n=!1,...a}=e,s=(0,r.useContext)(o.zp),{classes:c}=_(),A=a.idGTM?(0,u.bJ)(a.idGTM,x.JH.ICON_WITH_LINK,null==a?void 0:a.id):(0,r.useContext)(b.G),{picture:k,title:f,cta_type:v,cta:w,link:S}=a,j=(0,g.zf)({link:S,isWorkspace:s}),I=(0,m.U)("IconWithLink",t,a.name),N=()=>(0,i.jsx)(h.default,{...j,variant:"textBlue",label:w.link.label,className:l()(c.link,{[c.link__isSnippet]:n}),name:"".concat(I,"--link"),ariaLabel:w.link.aria_label,idGTM:A,linkId:w.link.id,lead_rendered:w.lead_rendered,modal_rendered:w.modal_rendered,is_conversion:w.is_conversion,conversion_label:w.conversion_label});return(0,i.jsxs)(d.A,{className:l()(c.container,{[c.container__isSnippet]:n}),"data-cy":"".concat(I,"--container"),id:A,children:[(0,i.jsx)(d.A,{className:l()(c.imgContainer,"iconImgContainer"),children:(0,i.jsx)(p.Ay,{src:null==k?void 0:k.file_path_url,alt:null==k?void 0:k.alt,title:null==k?void 0:k.filename,loading:(null==k?void 0:k.loading)||"lazy"})}),(0,i.jsxs)(d.A,{className:l()({[c.contentContainer]:n},"iconTextContainer"),children:[f&&(0,i.jsx)(d.A,{className:c.textContainer,children:(0,i.jsx)(y.A,{variant:"span",className:n?c.text__body3:c.text__body4,weight:300,marginTop:0,marginBottom:0,cy:"".concat(I,"--text"),children:(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:f}})})}),"link"===v&&(null==S?void 0:S.label)&&(0,i.jsx)(()=>(0,i.jsx)(i.Fragment,{children:S.href?(0,i.jsx)(h.default,{...j,variant:"textBlue",label:S.label,className:l()(c.link,{[c.link__isSnippet]:n}),name:"".concat(I,"--link"),ariaLabel:S.aria_label,idGTM:A,linkId:S.id,is_conversion:null==w?void 0:w.is_conversion,conversion_label:null==w?void 0:w.conversion_label}):(0,i.jsx)(d.A,{children:(0,i.jsx)(y.A,{variant:n?"body3":"body4",weight:500,marginTop:0,marginBottom:0,children:(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:S.label}})})})}),{}),"lead"===v&&(null==w?void 0:w.lead_rendered)&&(0,i.jsx)(N,{}),"modal"===v&&(null==w?void 0:w.modal_rendered)&&(0,i.jsx)(N,{})]})]})}},17443:(e,t,n)=>{n.d(t,{Rc:()=>r,nP:()=>o});var i=n(26514),a=n(75834);let l=(0,a.createContext)(null),o=e=>{let{children:t,forcedCurrentStage:n="INIT",onLeadSuccess:o,dictationParticipantId:r}=e,[s,d]=(0,a.useState)(null),[p,c]=(0,a.useState)(n),[x,u]=(0,a.useState)(null),[m,g]=(0,a.useState)(null),[h,b]=(0,a.useState)(""),[y,_]=(0,a.useState)(""),[A,k]=(0,a.useState)(!1),[f,v]=(0,a.useState)(null),[w,S]=(0,a.useState)(""),[j,I]=(0,a.useState)(""),[N,B]=(0,a.useState)(!1),[T,C]=(0,a.useState)(null),[L,P]=(0,a.useState)(null),[R,z]=(0,a.useState)(""),[M,O]=(0,a.useState)(""),[H,W]=(0,a.useState)(!1),D=(0,a.useRef)(null);return(0,a.useEffect)(()=>{n&&c(n)},[n]),(0,i.jsx)(l.Provider,{value:{currentStage:p,setCurrentStage:c,currentBws:x,setCurrentBws:u,currentResponse:m,setCurrentResponse:g,modalTitle:h,setModalTitle:b,modalSubtitle:y,setModalSubtitle:_,poi:f,setPoi:v,focu
1sedPoi:w,setFocusedPoi:S,refSubmit:s,setRefSubmit:d,checkAllConsents:A,setCheckAllConsents:k,poiDictionaryName:j,setPoiDictionaryName:I,isFormSubmitting:N,setIsFormSubmitting:B,sendButtonWrapperRef:D,formThankYouMessage:T,setFormThankYouMessage:C,formFailureMessage:L,setFormFailureMessage:P,formSendButtonLabel:R,setFormSendButtonLabel:z,setUpdateMaskAfterFormReset:W,updateMaskAfterFormReset:H,onLeadSuccess:o,dictationParticipantId:r,acceptLabel:M,setAcceptLabel:O},children:(0,i.jsx)(i.Fragment,{children:t})})},r=()=>(0,a.useContext)(l)},41905:(e,t,n)=>{n.d(t,{$F:()=>b,$O:()=>_,Ay:()=>f,Jh:()=>y,cd:()=>A});var i=n(26514),a=n(69001),l=n.n(a),o=n(24995),r=n(75834),s=n(38187),d=n(10213),p=n(24227),c=n(93794),x=n(98938),u=n(54004),m=n(42920),g=n(17443),h=n(93368);let b=875,y=1085,_="PKOBP_LEAD_MODAL",A="PKOBP_LEAD_MODAL_POI",k=c.Df.withName("PKOBPLeadModal").create(()=>({paper:{[u.Ay.breakpoints.down("sm")]:{minWidth:"300px"},[u.Ay.breakpoints.up("sm")]:{maxWidth:"1044px",width:"auto",borderRadius:"10px"}},paperFullScreen:{borderRadius:0},header:{minHeight:"48px",position:"relative",display:"flex",width:"100%",alignItems:"center",justifyContent:"center",[u.Ay.breakpoints.down("sm")]:{borderBottom:"1px solid ".concat(u.Ay.palette.secondary.borders),boxShadow:"0px 3px 6px #81818114",minHeight:"unset"}},title:{...u.Ay.typography.h4,margin:0,marginTop:"2px",padding:"0 48px",[u.Ay.breakpoints.down("sm")]:{textAlign:"center",padding:"13px 48px 10px 48px",display:"block",fontSize:"18px",lineHeight:"24px"}},x:{position:"absolute",top:0,right:0,width:"48px",height:"48px",padding:0,right:0,top:0,"&:hover":{background:"none"},"& svg":{width:"100%",height:"100%",fill:u.Ay.palette.primary.main}},content:{...h.J,"&::-webkit-scrollbar-track":{marginTop:"32px",marginBottom:"9px",backgroundColor:u.Ay.palette.secondary.borders,border:"1px solid white"},[u.Ay.breakpoints.down("sm")]:{padding:"16px"},[u.Ay.breakpoints.between("sm",b-1)]:{width:"calc(100vw - 32px - 32px - 8px)",marginRight:"8px",paddingLeft:"16px",paddingRight:"5px"},[u.Ay.breakpoints.up(b)]:{paddingTop:0,paddingBottom:0,paddingLeft:"32px",paddingRight:"5px",marginRight:"24px",minWidth:"786px"}},content__810:{[u.Ay.breakpoints.up(b)]:{width:"786px"}},content__1020:{[u.Ay.breakpoints.between("sm",y-1)]:{width:"calc(100vw - 32px - 32px - 8px)",marginRight:"8px",paddingLeft:"16px",paddingRight:"5px"},[u.Ay.breakpoints.up(y)]:{paddingTop:0,paddingBottom:0,paddingLeft:"32px",paddingRight:"5px",marginRight:"24px",minWidth:"786px"},[u.Ay.breakpoints.up(y)]:{width:"996px"}}})),f=e=>{let{isOpen:t,handleClose:n,children:a,footer:c,title:u,size:h="810",fullScreen:b,disableBackdropClose:y=!0,showDesktopModalTitle:A=!1,disableButtonBottom:f=!1,$_MODAL_TITLE_ID:v=_}=e,{classes:w}=k(),S=(0,r.useRef)(null),{currentStage:j,sendButtonWrapperRef:I}=(0,g.Rc)()||{};return(0,r.useEffect)(()=>{S.current&&(S.current.scrollTop=0)},[j]),(0,i.jsxs)(s.A,{open:t,onClose:(e,t)=>{var i,a,l,o;("escapeKeyDown"!==t||(null==e||null==(a=e.target)||null==(i=a.className)?void 0:i.includes("MuiDialog-container MuiDialog-scrollPaper"))||(null==e||null==(o=e.target)||null==(l=o.className)?void 0:l.includes("MuiButtonBase-root Mui-focusVisible MuiIconButton-root MuiIconButton-colorPrimary")))&&("backdropClick"===t&&y||n(t))},fullScreen:b,className:w.modal,classes:{paper:w.paper,paperFullScreen:w.paperFullScreen},"aria-labelledby":v,children:[(0,i.jsxs)(x.A,{className:w.header,children:[(b||A)&&u&&(0,i.jsx)(m.A,{variant:"body1",className:w.title,id:v,children:u}),(0,i.jsx)(d.A,{"aria-label":"Zamknij modal ".concat(u),onClick:e=>n(e,"x"),color:"primary",size:"small",className:w.x,children:(0,i.jsx)(o.A,{})})]}),(0,i.jsx)(p.A,{ref:S,className:l()(w.content,null==w?void 0:w["content__".concat(h)]),tabIndex:-1,children:a}),!f&&(0,i.jsx)(x.A,{ref:I}),c&&(0,i.jsx)(x.A,{children:c})]})}},50738:(e,t,n)=>{n.r(t),n.d(t,{default:()=>M});var i=n(26514),a=n(23469),l=n.n(a),o=n(75834),r=n(93794),s=n(54907),d=n(17443),p=n(74684),c=n(54004),x=n(5096),u=n(13436),m=n(69001),g=n.n(m),h=n(6395),b=n(91),y=n(34453),_=n(27133),A=n(42920),k=n(98938),f=n(41905),v=n(47858),w=n(56774);let S=r.Df.withName("PKOBPLeadPoiModal").create(()=>
1({titleContainer:{margin:"0 auto",marginBottom:"16px"},title:{...c.Ay.typography.h4,margin:0,textAlign:"center",lineHeight:"24px",[c.Ay.breakpoints.up(900)]:{lineHeight:"1.3333333",fontSize:24}},poiContainer:{[c.Ay.breakpoints.down("md")]:{paddingRight:"8px"},[c.Ay.breakpoints.down("sm")]:{paddingRight:"0"}}})),j=e=>{let{leadInBodyPage:t=!1}=e,{classes:n}=S(),a=(0,h.A)(c.Ay.breakpoints.down("sm")),{currentStage:l,setCurrentStage:r,setModalTitle:s}=(0,d.Rc)();return(0,o.useEffect)(()=>{r(w.p.INIT),s("Wybierz oddziaÅ, w kt\xf3rym podpiszesz wniosek")},[]),(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(f.Ay,{isOpen:l===w.p.POI,handleClose:()=>r(w.p.INIT),footer:null,fullScreen:a,title:"Wybierz oddziaÅ, w kt\xf3rym podpiszesz wniosek",$_MODAL_TITLE_ID:f.cd,disableButtonBottom:t,children:[!a&&(0,i.jsx)(k.A,{className:n.titleContainer,children:(0,i.jsx)(A.A,{variant:"body1",className:n.title,children:"Wybierz oddziaÅ, w kt\xf3rym podpiszesz wniosek"})}),(0,i.jsx)(k.A,{className:n.poiContainer,children:(0,i.jsx)(v.A,{previousStage:w.p.INIT})})]})})};var I=n(93368);let N=l()(()=>Promise.all([n.e(1562),n.e(2313),n.e(674)]).then(n.bind(n,10674)),{loadableGenerated:{webpack:()=>[10674]}}),B="LeadInBodyPage",T=r.Df.withName("PKOBPLeadInBodyPage").withNestedSelectors().create(e=>{let{classes:t}=e;return{container:{position:"relative",minHeight:"150px"},container__isDisplayedInBox:{padding:"23px 14px 76px 32px",maxWidth:"100%",overflowX:"hidden",overflowY:"auto",height:"100%",marginRight:"13px",...I.J,scrollbarGutter:"unset",[c.Ay.breakpoints.down("md")]:{padding:"0",marginRight:"0px"},"&::-webkit-scrollbar-track":{backgroundColor:c.Ay.palette.secondary.borders,border:"1px solid white",margin:"30px 0 105px 0"},["& .".concat(t.title)]:{fontSize:"24px !important",lineHeight:"32px !important"},["& .".concat(t.formContainer)]:{marginTop:"17px"}},title:{...c.Ay.typography.h3,marginTop:0,marginBottom:"15px",textAlign:"center",[c.Ay.breakpoints.down("md")]:{fontSize:"24px",lineHeight:"32px"}},supertitle:{textTransform:"none",marginBottom:"20px",textAlign:"center"},subtitle:{marginTop:0,marginBottom:0,fontWeight:300,lineHeight:1.5,textAlign:"center"},formContainer:{marginTop:"43px",[c.Ay.breakpoints.down("md")]:{marginTop:"19px"}},bottomBtn:{position:"absolute",bottom:0,left:0,right:0,background:"#fff",borderBottomLeftRadius:"16px",borderBottomRightRadius:"16px",boxShadow:"0px -3px 6px #81818114",zIndex:c.Ay.zIndex.overlay,"& button":{width:"100%",margin:"0 32px"}}}}),C=e=>{var t,n,a,l,r,p,x;let{section:u,title:m,subtitle:k,supertitle:f,displayInBox:v,idGTM:w}=e,{classes:S}=T(),I=(0,h.A)(c.Ay.breakpoints.down("md")),[C,L]=(0,o.useState)(!1),[P,R]=(0,o.useState)(null),{sendButtonWrapperRef:z,setCurrentBws:M}=(0,d.Rc)()||{},O=e=>{var t,n,i,a;return{...null==e||null==(t=e.desktop)?void 0:t.bws,passWids:null==e||null==(n=e.desktop)?void 0:n.wid,leadSectionVariantId:null==e||null==(i=e.desktop)?void 0:i.id,leadSendType:null==e||null==(a=e.desktop)?void 0:a.bws_send_type}};return(0,o.useEffect)(()=>{u&&(async()=>{L(!0);let e=await (0,b.Q2)([u]);R(null==e?void 0:e[0]),M(O(null==e?void 0:e[0])),L(!1)})()},[u]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(s.A,{className:g()(S.container,{[S.container__isDisplayedInBox]:v}),"data-cy":B,id:w,children:[f&&(0,i.jsx)(A.A,{variant:"subtitle1",className:S.supertitle,dangerouslySetInnerHTML:{__html:f},"data-cy":"".concat(B,"--title")}),m&&(0,i.jsx)(s.A,{className:S.titleContainer,children:(0,i.jsx)(A.A,{variant:(0,y.a)(null==m?void 0:m.hx),className:S.title,children:null==m?void 0:m.text})}),k&&(0,i.jsx)(s.A,{className:S.subtitleContainer,children:(0,i.jsx)(A.A,{variant:"body3",className:S.subtitle,dangerouslySetInnerHTML:{__html:k}})}),(0,i.jsxs)(s.A,{className:S.formContainer,children:[(0,i.jsx)(_.Ay,{isLoading:C,size:_.iW.MD,withOverlay:!0}),(null==P||null==(t=P.desktop)?void 0:t.bws)?(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(N,{bws:O(P),formThankYouMessage:{message:null==P||null==(n=P.desktop)?void 0:n.thank_you_message,ctaLabel:null==P||null==(a=P.desktop)?void 0:a.thank_you_message_label_cta_button},formFailureMessage:{message:null==P||null==(l=P.desktop)?void 0:l.failure_message,ctaLabel:null==P||null==(r=P.desktop)?void 0:r.failure_message_label_cta_button},acceptLabel:null==P||null==(p=P.desktop)?void 0:p.accept_label,button:{label:null==P||null==(x=P.desktop)?void 0:x.label,variant:"primary"},displayAsForm:!0,disableButtonPortal:!v||I,formTitle:null==m?void 0:m.text,leadInBodyPage:!0})}):null,(0,i.jsx)(j,{leadInBodyPage:!0})]})]}),(0,i.jsx)(s.A,{className:S.bottomBtn,ref:z})]})};var L=n(86384),P=n(55937);let R=l()(()=>n.e(5608).then(n.bind(n,65608)),{loadableGenerated:{webpack:()=>[65608]}}),z=r.Df.withName("PKOBPLead").create(()=>({container:{["& .".concat(p.If)]:{[c.Ay.breakpoints.down("md")]:{fontSize:"24px",lineHeight:"32px",marginBottom:"16
1px"}},["& .".concat(p.t6)]:{marginBottom:"12px"},["& .".concat(p.UY)]:{marginBottom:"19px"}},sections:{[c.Ay.breakpoints.up("md")]:{marginTop:"38px",display:"flex",justifyContent:"center",alignItems:"stretch"}}})),M=e=>{var t;let{...n}=e,{classes:a}=z(),{title:l,subtitle:r,supertitle:c,hx:m,sections:g,show_in_body_page:h,lead_tile:b}=n.lead_rendered,y=(0,o.useContext)(u.G),_=(0,P.g)(b),A=b&&(null==b?void 0:b.lead_tile_picture);return h?(0,i.jsx)(d.nP,{children:(0,i.jsx)(C,{section:null==(t=(0,L.F1)(g))?void 0:t[0],title:{hx:m,text:l},subtitle:r,supertitle:c,displayInBox:null==n?void 0:n.displayInBox,idGTM:y})}):(0,i.jsxs)(s.A,{className:a.container,id:y,children:[(0,i.jsx)(p.Ay,{title:{hx:m,text:l},subtitle:r,supertitle:c,cy:"Lead"}),(0,i.jsx)(s.A,{className:a.sections,children:g.map(e=>{var t;return(0,i.jsx)(R,{section:e},null==e||null==(t=e.desktop)?void 0:t.id)})}),A&&(0,i.jsx)(s.A,{mt:5,children:(0,i.jsx)(x.default,{..._,isSnippet:!0,cy:"IconWithLinkLead"})})]})}},56774:(e,t,n)=>{n.d(t,{p:()=>i});var i=function(e){return e.INIT="INIT",e.FORM="FORM",e.RESPONSE="RESPONSE",e.POI="POI",e.CUSTOM_VIEW="CUSTOM_VIEW",e}({})}}]);
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.