1"use strict";(self.webpackChunk_bankup_web_retail=self.webpackChunk_bankup_web_retail||[]).push([[4910],{54910(n,e,t){t.r(e),t.d(e,{default:()=>j});var a=t(18188),o=t(72176),i=t(49388),r=t(99339),l=t(48155);const c=n=>{let e=n.service,t=n.storage,a=n.adapter;return o.createElement(l.g,{loader:e.load,skeleton:()=>o.createElement(a.skeletonView,null),error:()=>o.createElement(a.errorView,{onReload:e.load}),render:n=>o.createElement(a.mainView,{content:n,termspprovalRequired:t.get("termspprovalRequired"),urn:t.get("urn"),title:"cgu.title",acceptCgu:e.acceptCgu})})};var s,p,m=t(61249),d=t(1378),u=t(62254),f=t(93472),x=t(57683),g=t(43074),h=t(82982),b=t(71023),E=t.n(b),w=t(21346),A=t.n(w),y=t(82194),v=t(60935),_=t(43207),k=t(86896);const z=k.A.section(s||(s=(0,_.A)(["\n width: 100%;\n position: fixed;\n bottom: 0;\n background: white;\n padding: 24px 9% 24px 8%;\n font-size: 12px;\n box-shadow: 0px 0px 2px #888, 0px 0px 2px #888;\n .button-container {\n margin-right: 30px;\n }\n .buttons-container {\n align-items: center;\n }\n .cancel_button{\n cursor:pointer;\n padding: 8px 40px;\n height: auto;\n font-size: 0.95em;\n text-transform: uppercase;\n font-weight: 600;\n border-radius: 30px;\n color: #231f20 !important;\n background: #fff;\n border: 1px solid #e60028;\n :hover {\n background: #e60028;\n color: #fff !important;\n text-decoration: none;\n button{\n color: #fff !important;\n }\n }\n }\n\n @media (max-width: 590px) {\n padding: 25px 71px;\n }\n @media (max-width: 440px) {\n padding: 25px 20px;\n }\n"])));k.A.a(p||(p=(0,_.A)(["\n padding: 8px 40px;\n height: auto;\n font-size: 0.95em;\n text-transform: uppercase;\n font-weight: 600;\n border-radius: 30px;\n color: #231f20 !important;\n background: #fff;\n border: 1px solid #e60028;\n :hover {\n background: #e60028;\n color: #fff !important;\n text-decoration: none;\n }\n"])));var C=t(97806),N=t(2438),S=t(44437),R=t(70451),M=t(14571);const V={errorView:x.S,skeletonView:()=>o.createElement(h.D,{title:!0,subTtile:!0,contentList:new Array(10).fill({contentType:h.L.LINE})}),mainView:n=>{let e=n.content,t=n.termspprovalRequired,a=n.acceptCgu,r=n.urn,l=n.title;const c=(0,M.Zp)(),s=(0,o.useState)(!1),p=(0,m.A)(s,2),h=p[0],b=p[1],w=(0,o.useState)(!1),_=(0,m.A)(w,2),k=_[0],V=_[1],T={CONTRACT_CGU:R.default},P=(0,i.t0)(),j=(P.tenant,P.design,(n,e)=>{!e&&b(!0),a(r).then(n=>{}).catch(n=>{V(!0)}).finally(()=>{b(!1)})}),I=(0,N.A)(),L=(0,o.useState)(!1),O=(0,m.A)(L,2),G=O[0],B=O[1],U=n=>{B(n)},q=(0,y.ny)()(v.rh.CGU_MODAL);return k?o.createElement(x.S,{onReload:()=>window.location.reload()}):o.createElement(C.x,null,o.createElement(g.u,{title:l,subtitle:"true"===t?I.formatMessage({id:"cgu.subheader"}):""}),o.createElement(E(),{source:e.body,className:"ui-about-content"}),"true"===t&&o.createElement(n=>{n.urn;return o.createElement(o.Fragment,null,o.createElement(z,{className:A()({"fixed-bottom":!0,position:"relative"})},o.createElement("div",{className:"buttons-container row"},o.createElement("div",{className:"button-container",onClick:()=>c("/logout")},o.createElement(d.N,{className:"cancel_button",component:"button"},o.createElement(S.A,{id:"action.title.cancel"}))),o.createElement("div",{className:"button-container"},o.createElement(u.$,{isLoading:h,disabled:h,variant:"filled",onClick:()=>q?U(!0):j(0,!1),testId:"accept-cgu"},o.createElement(S.A,{id:"action.title.accept"}))))),G&&o.createElement(f.A,{icon:T.CONTRACT_CGU,title:"modal.title.attention",subtitleContent:o.createElement(S.A,{id:"cgu.contract.modal.confirm.subtitle",values:{ivalid:o.createElement("span",{style:{fontWeight:"bold",fontStyle:"italic"}},o.createElement(S.A,{id:"cgu.contract.modal.confirm"})),return:o.createElement("span",{style:{fontWeight:"bold",fontStyle:"italic"}},o.createElement(S.A,{id:"action.title.return"}))}}),confirmButton:!0,close:()=>U(!1),onConfirm:()=>j(0,!0),isOpen:G,style:{textAlign:"center"}}))},{urn:r}))}};var T=t(18906),P=t(80812);const j=n=>{let e=n.context;const t=(0,M.Zp)(),o=(0,i.b)(),l={service:{load:()=>o.useContent(r.cM.CGU),acceptCgu:n=>o.useCreateUserConsent(n).then(()=>t("/onBoarding"))},storage:e.config.storageProvider};return(0,P.jsx)(T.A,{title:"cgu.header.title",context:e,children:(0,P.jsx)(c,(0,a.A)((0,a.A)({},l),{},{adapter:V}))})};t.dn(j)},93472(n,e,t){t.d(e,{A:()=>h});var a=t(43207),o=t(18188),i=t(61249),r=t(49839),l=t(72176),c=t(44437),s=t(86896),p=t(2282);function m(){return l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",fill:"#090941"},l.createElement("defs",null,l.createElement("clipPath",{id:"clip-path"},l.createElement("path",{id:"Rectangle_2268","data-name":"Rectangle 2268",className:"cls-1",d:"M0 0h40v40H0z"}))),l.createElement("g",{id:"Mask_Group_870","data-name":"Mask Group 870"},l.createElement("path",{id:"technical-support",className:"cls-1",d:"M41.1 20.012 39.093 18.6a17.753 17.753 0 0 0-35.493 0l-2.006 1.412a.59.59 0 0 0-.251.482v6.264a.589.589 0 0 0 .248.479l2.25 1.608a.59.59 0 0 0 .341.111h2.242a.589.589 0 0 0 .589-.589v-9.44a14.332 14.332 0 1 1 28.664 0 .24.24 0 0 0 0 .064v9.375a.589.589 0 0 0 .589.589h.531v.679a3.755 3.755 0 0 1-3.181 3.7 13.337 13.337 0 0 0 1.137-5.4V19.31a13.415 13.415 0 1 0-26.829 0v8.633a13.41 13.41 0 0 0 25.074 6.622h.047a4.936 4.936 0 0 0 4.93-4.93v-.678h.531a.59.59 0 0 0 .343-.11l2.25-1.608a.589.589 0 0 0 .247-.479v-6.266a.59.59 0 0 0-.251-.482zM21.346 7.073A12.252 12.252 0 0 1 33.583 19.31v3.172a12.284 12.284 0 0 1-1.229.069
112.175 12.175 0 0 1-10.5-6.059.589.589 0 0 0-1.019 0 12.175 12.175 0 0 1-10.5 6.059 12.284 12.284 0 0 1-1.229-.069V19.31A12.252 12.252 0 0 1 21.347 7.073zm0 33.107A12.252 12.252 0 0 1 9.11 27.943v-4.277c.409.037.819.063 1.229.063a13.359 13.359 0 0 0 11.006-5.835 13.359 13.359 0 0 0 11.01 5.835c.41 0 .821-.026 1.229-.063v4.277a12.16 12.16 0 0 1-1.284 5.443h-5.523a1.922 1.922 0 0 0-1.826-1.33h-2.334a1.919 1.919 0 0 0 0 3.837h2.333a1.922 1.922 0 0 0 1.826-1.33h4.853a12.233 12.233 0 0 1-10.282 5.617zm4.342-6.168a.74.74 0 0 1-.737.705h-2.334a.74.74 0 0 1 0-1.481h2.333a.74.74 0 0 1 .737.705v.036l.001.035zM5.835 27.779H4.372l-1.851-1.323V20.8l1.848-1.3h1.465zM21.347 3.712A15.6 15.6 0 0 0 5.861 18.326H4.784a16.58 16.58 0 0 1 33.125 0h-1.077A15.6 15.6 0 0 0 21.347 3.71zm18.83 22.746-1.851 1.322h-1.464V19.5h1.466l1.848 1.3z",transform:"translate(-1.665 -.956)"})))}var d,u=t(22847),f=t(62108),x=t(38002);const g=["isOpen","close","message","title","subtitle","assets","phone","icon","fontTitle","phoneIcon","subtitleContent","confirmButton","onConfirm"],h=n=>{let e=n.isOpen,t=n.close,a=n.message,s=n.title,p=n.subtitle,d=n.assets,h=n.phone,E=n.icon,w=n.fontTitle,A=(n.phoneIcon,n.subtitleContent),y=n.confirmButton,v=n.onConfirm,_=(0,r.A)(n,g);(0,f.A)("(max-width:1024px)");const k=(0,l.useState)(!1),z=(0,i.A)(k,2),C=z[0],N=z[1],S={};return w&&(S.fontSize=26),l.createElement(b,(0,o.A)({className:"newCheckModal",open:e},_),l.createElement(l.Fragment,null,E&&l.createElement("img",{src:E,alt:"create_account_icon",className:"account_icon"}),!C&&l.createElement(u.MkW,{cursor:"pointer",className:"close",size:"25px",onClick:()=>t()}),l.createElement("span",{className:"title",style:S},l.createElement(c.A,{id:s})),p&&l.createElement("span",{className:"subtitle"},l.createElement(c.A,{id:p})),A&&l.createElement("span",{className:"subtitle"},A),a&&h&&l.createElement("div",{className:"infos_container"},l.createElement("div",{className:"infos_icon"},d?l.createElement("img",{src:d.CALL_CENTER,alt:"call_center"}):l.createElement(m,null)),l.createElement("div",{className:"infos"},l.createElement("a",{href:"tel:"+h},h),l.createElement("span",null,l.createElement(c.A,{id:a})))),y&&l.createElement("div",{className:"container_buttons"},!C&&l.createElement("button",{className:"back_button",onClick:()=>t()},l.createElement(c.A,{id:"action.title.return"})),l.createElement("button",{className:"confirm_button",disabled:C,onClick:n=>{N(!0),v()},style:{display:"flex",alignItems:"center"}},C&&l.createElement(x.A,{size:20,style:{marginRight:5}}),l.createElement(c.A,{id:"cgu.contract.modal.confirm"})))))};t.dn(h);const b=(0,s.A)(p.X)(d||(d=(0,a.A)(["\n display:flex;\n width: 100%;\n max-width: 436.6px;\n min-width: 436.6px;\n margin: 0 auto;\n justify-content: center;\n align-items: center;\n align-content: center;\n position:absolute;\n\n .account_icon {\n width:220px;\n height:190px;\n }\n\n.MuiBackdrop-root{\n opacity: 0.7 !important;\n background-color: #01011c;\n}\n\n .mui-modal-root{\n background-color:#f5f7fa !important;\n border-radius: 7px;\n padding:20px 40px 20px 40px;\n @media (max-width: 1024px) {\n &{\n padding:20px;\n } \n }\n }\n\n .close{\n position: absolute;\n right: 30px;\n @media (max-width: 768px) {\n &{\n right:15px;\n } \n }\n }\n\n .title {\n color: #090941;\n font-size: 20px;\n font-weight: bold;\n display: block;\n margin: 20px 0px;\n }\n .subtitle{\n font-size: 18px;\n font-family:'Source Sans Pro';\n font-weight: normal;\n color:#58587c;\n }\n .container_buttons{\n display: flex;\n align-content: center;\n justify-content: flex-end;\n align-items: center;\n font-family:'Source Sans Pro';\n padding-top:30px;\n & .back_button{\n font-size:17px;\n background-color:transparent;\n color:#090941;\n border:none;\n margin-right:25px;\n font-weight:600;\n }\n & .confirm_button{\n font-size:17px;\n background-color:transparent;\n color:#ee3c45;\n border:none;\n font-weight:600;\n }\n & .confirm_button:disabled, .confirm_button[disabled] {\n color: gray;\n }\n }\n .infos_container{\n margin: 20px 0px;\n padding: 20px;\n background: #fff;\n box-shadow: 0 1px 2px 0 rgb(184 186 203 / 40%);\n border-radius: 7px;\n display: flex;
1\n align-items: center;\n text-align: left;\n @media (max-width: 1024px) {\n & {\n justify-content: flex-start;\n }\n .infos_icon{\n padding: 0px 20px 0px 0px\n }\n .infos{\n margin:10px !important;\n }\n }\n .infos{\n display: flex;\n flex-direction: column;\n margin-left:20px;\n & a:first-of-type{\n color: #090941;\n font-size: 18px;\n font-family: 'Source Sans Pro';\n font-weight: 600;\n }\n & span:nth-child(2){\n font-size: 14px;\n font-weight: normal;\n font-family: 'Source Sans Pro';\n opacity:0.7;\n }\n }\n}\n\n }\n\n @media (max-width: 1280px) {\n width:85%;\n .title{\n font-size:18px;\n }\n .subtitle{\n font-size:15px;\n }\n }\n @media (max-width: 550px) {\n .infos{\n margin-left:10px;\n margin-right:10px;\n }\n }\n @media (max-width: 768px) {\n width:90%;\n .title{\n font-size:17px;\n }\n .subtitle{\n font-size: 15px;\n }\n \n .mui-modal-root{\n padding:20px;\n }\n }\n\n @media (max-width: 414px) {\n .account_icon{\n width:150px;\n height:150px;\n }\n max-width:95%;\n min-width:95%;\n .title{\n font-size:15px;\n }\n .subtitle{\n font-size: 13px;\n }\n .infos{\n margin: 5px !important;\n & a{\n font-size: 15px !important;\n }\n & span{\n font-size: 13px !important;\n }\n }\n .mui-modal-root{\n padding:15px;\n }\n }\n\n"])))},57683(n,e,t){var a,o,i=t(43207),r=t(18188),l=t(72176),c=t(86896),s=t(62254),p=t(44437),m=t(63037),d=t(67135);const u={ic_availability:t(82742).A},f=c.A.section(a||(a=(0,i.A)(["\n padding: 40px 0px;\n h2 {\n margin-top:26px;\n text-align: center;\n font-weight: 500;\n font-style: normal;\n font-stretch: normal;\n letter-spacing: normal;\n color: ",";\n }\n h5 {\n font-size: 17px;\n font-weight: 500;\n font-style: normal;\n font-stretch: normal;\n letter-spacing: normal;\n text-align: center;\n color: ",";\n margin-top: 15px;\n }\n @media (max-width: 800px) {\n img {\n width: 80%;\n }\n }\n h2 {\n font-size: 18px;\n }\n\n h5 {\n font-size: 15px;\n }\n"])),m.z.palette.secondary.main,m.z.palette.secondary[100]),x=(0,c.A)(s.$)(o||(o=(0,i.A)(["\n margin-top: 40px;\n @media (max-width: 800px) {\n width: 100%;\n margin-top: 20px;\n // margin-bottom: 7px;\n // margin-top: 7px;\n button {\n display: unset;\n width: 100%;\n padding-left: 0px !important;\n padding-right: 0px !important;\n }\n }\n"])));t.d(e,["S",0,n=>window.__IS_VERSION__R1?l.createElement(d.g,(0,r.A)({},n)):l.createElement(f,{className:"text-center mx-auto"},!n.light&&l.createElement(l.Fragment,null,n.icon?l.createElement("img",{src:n.icon,alt:""}):l.createElement("img",{src:u.ic_availability,alt:""}),l.createElement("h2",{"data-testid":"error-oops"},l.createElement(p.A,{id:"error.screen.title"}))),l.createElement("h5",null,l.createElement(p.A,{id:"error.screen.subTitle"})),l.createElement("div",null,l.createElement(x,{variant:"outline",className:"red-text",onClick:()=>n.onReload().catch(n=>{}),disabled:!1},l.createElement(p.A,{id:"error.screen.button.retry"}))))])},48155(n,e,t){t.d(e,{g:()=>c});var a=t(61249),o=t(72176),i=t(18188),r=t(49388);const l=(n,e)=>{if("touch"===e.type)return(0,i.A)((0,i.A)({},n),e.payload);throw new Error};function c(n){const e=(0,o.useState)(!1),t=(0,a.A)(e,2),c=t[0],s=t[1],p=function(n){const e=(0,o.useReducer)(l,{data:null,loading:!0,error:null}),t=(0,a.A)(e,2),c=t[0],s=t[1],p=(0,r.t0)().useApiHook;(0,o.useEffect)(()=>{p&&m().then(n=>null)},[p]);const m=async e=>{s({type:"touch",payload:{loading:!0}});try{const t=await n(e);s({type:"touch",payload:{data:t,loading:!1,error:null}})}catch(t){return s({type:"touch",payload:{loading:!1,error:t.message}})}};return(0,i.A)((0,i.A)({},c),{},{reload:m})}(n.loader),m=p.data,d=p.loading,u=p.error,f=p.reload;(0,o.useEffect)(()=>{c?f().then(()=>null):s(!0)},[n.value]);let x=n.error;return"function"==typeof x&&(x=o.cloneElement(n.error(),{onReload:f})),d?"function"==typeof n.skeleton?o.createElement(n.skeleton,null):n.skeleton:u?x:n.render(m,f)}},97806(n,e,t){var a,o,i=t(43207),r=t(86896),l=t(16799);const c=r.A.section(a||(a=(0,i.A)(["\n h2 {\n font-family: Montserrat;\n font-size: 18px;\n font-weight: 600;\n text-align: left;\n color: #231f20;\n }\n\n p {\n font-family: Montserrat;\n font-size: 18px;\n font-weight: normal;\n text-align: justify;\n color: #2f2a2c;\n margin-bottom: 40px;\n white-space: pre-line;\n }\n a.logout {\n padding: 10px 40px;\n }\n"]))),s=r.A.section(o||(o=(0,i.A)(["\n .ui-about-content {\n background-color: #fff;\n padding: 30px 50.5px 31.5px 54px;\n border-radius: 5px;\n box-shadow: 0 2px 5px 0 rgba(184, 184, 203, 0.25);\n }\n\n h2 {\n font-family: ",";\n font-size: 17px;\n font-weight: 600;\n text-align: left;\n color: #010135;\n }\n\n p {\n font-family: ",";\n font-size: 15px;\n font-weight: normal;\n text-align: justify;\n color: #35335d;\n margin-bottom: 40px;\n white-space: pre-line;\n }\n ul {\n font-family: ",";\n font-size: 15px;\n font-weight: normal;\n text-align: justify;\n color: #35335d;\n }\n a.logout {\n padding: 15px 40px;\n }\n"])),l.pQ.sourceSansPro,l.pQ.sourceSansPro,l.pQ.sourceSansPro);t.d(e,["q",0,c,"x",0,s])}}]); 2//# sourceMappingURL=4910.78213fc9.chunk.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.