PageSourceSearch

https://unsubby.com/_next/static/chunks/pages/[lang]/[name]/payment-782a816536642ea2.js

js unsubby.com collected 2026-10-04 02:45:47 UTC 38,450 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8371],{44858:function(e,n,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[lang]/[name]/payment",function(){return l(42741)}])},90481:function(e,n,l){"use strict";l.d(n,{Z:function(){return d}});var t=l(85893),a=l(25675),o=l.n(a),i={src:"/_next/static/media/loader.53e43206.gif",height:191,width:191,blurWidth:0,blurHeight:0},d=()=>(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"d-flex py-5",children:(0,t.jsx)(o(),{src:i,className:"mx-auto"})})})},50039:function(e,n,l){"use strict";l.d(n,{Z:function(){return t}});let t=(0,l(31134).Z)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},2553:function(e,n,l){"use strict";l.d(n,{Z:function(){return t}});let t=(0,l(31134).Z)("file-text",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},42741:function(e,n,l){"use strict";l.r(n),l.d(n,{__N_SSP:function(){return z},default:function(){return U}});var t=l(85893),a=l(67294);l(35762);var o=l(26527),i=l(12397),d=l(55767),r=l(32932),s=l(64992),c=l(50549),u=l(41664),m=l.n(u),v=l(2465),p=l(34178),h=l(56851),y=l(39652),f=l(72729);l(90481);var x=l(11163),g=l(50259),j=l(31955),N=l(97375),k=l(79143),b=l(28770),P=l(56260),S=l(87066),w=l(6476),C=l(64724),_=l(53226),M=l(51068),T=l(48604),D=l(2553),I=l(31134);let E=(0,I.Z)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);var F=l(86691),L=l(73416),Z=l(50039);let B=(0,I.Z)("refresh-ccw",[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]]);var R=l(23050);let A=e=>{var n,l,o,i,d,r,s,c,u,m,v,f,x,g,j,N,b,S,w,C,_,T,I,A,O,H,V,J,Y,z;let{countryCode:U,languages:$,paymentMethodType:q,creditcardFrance:X,showSepa:W,setCreditcardToken:G,setIssuer:K,Issuer:Q,paymentMethod:ee,Method:en,amount:el,setMethod:et,setIban:ea,ibanError:eo,setIbanError:ei,companyName:ed,handleClick:er,networkCall:es,ErrorMsg:ec,errors:eu,paymentData:em,isMutiFlag:ev,buttonText:ep,setNetworkCall:eh,company:ey}=e,[ef,ex]=(0,a.useState)(!1),eg=ev?(0,P.V)(ey,$):null==em?void 0:em.companyName,ej=null==el?void 0:el.toFixed(2).toString().replace(".",","),eN=ej+" "+h.cR[U];"mx"===U.split("-")[1]&&(ej=null==el?void 0:el.toFixed(0).toString().replace(",","."),eN=h.cR[U]+""+ej);let ek=h.l_[U],eb=(0,a.useRef)(null),eP=["en-fr","fr-fr"].includes(U),eS=[{icon:D.Z,title:(0,t.jsxs)(t.Fragment,{children:[null==$?void 0:null===(n=$.franceCheckoutPage)||void 0===n?void 0:n.f1," ",(0,t.jsx)("span",{className:"fr-payment-bold",children:eg})]}),description:null==$?void 0:null===(l=$.franceCheckoutPage)||void 0===l?void 0:l.d1.replace("{{country}}",null!==(z=h.pI[U])&&void 0!==z?z:U)},eP?{icon:F.Z,title:null==$?void 0:null===(d=$.franceCheckoutPage)||void 0===d?void 0:d.f5,description:null==$?void 0:null===(r=$.franceCheckoutPage)||void 0===r?void 0:r.d5}:{icon:E,title:null==$?void 0:null===(o=$.franceCheckoutPage)||void 0===o?void 0:o.f2,description:null==$?void 0:null===(i=$.franceCheckoutPage)||void 0===i?void 0:i.d2}],ew=[{icon:L.Z,text:null==$?void 0:null===(s=$.franceCheckoutPage)||void 0===s?void 0:s.badge1},{icon:Z.Z,text:null==$?void 0:null===(c=$.franceCheckoutPage)||void 0===c?void 0:c.badge2},{icon:B,text:null==$?void 0:null===(u=$.franceCheckoutPage)||void 0===u?void 0:u.badge3}];return(0,t.jsx)("div",{className:"fr-payment-page",children:(0,t.jsxs)("div",{className:"fr-payment-container",children:[(0,t.jsxs)("div",{className:"fr-payment-header",children:[(0,t.jsx)("div",{className:"fr-payment-header-icon",children:(0,t.jsx)(R.Z,{className:"fr-payment-check-icon"})}),(0,t.jsx)("h1",{className:"fr-payment-title pricing-font-bold",children:null==$?void 0:null===(m=$.franceCheckoutPage)||void 0===m?void 0:m.head}),(0,t.jsx)("p",{className:"fr-payment-service-name",children:eg})]}),(0,t.jsxs)("div",{className:"fr-payment-card",children:[(0,t.jsxs)("div",{className:"fr-payment-order-summary",children:[(0,t.jsx)("h3",{className:"fr-payment-section-title",children:null==$?void 0:null===(v=$.franceCheckoutPage)||void 0===v?void 0:v.subhead}),(0,t.jsx)("ul",{className:"fr-payment-features-list",children:eS.map((e,n)=>(null==e?void 0:e.title)?(0,t.jsxs)("li",{className:"fr-payment-feature-item",children:[(0,t.jsx)("div",{className:"fr-payment-feature-icon-wrapper",children:(0,t.jsx)(e.icon,{className:"fr-payment-feature-icon"})}),(0,t.jsxs)("div",{className:"fr-payment-feature-content",children:[(0,t.jsx)("p",{className:"fr-payment-feature-title",children:e.title}),(0,t.jsx)("p",{className:"fr-payment-feature-description",children:e.description})]})]},n):null)})]}),(0,t.jsx)("div",{className:"fr-payment-section-divider",children:(0,t.jsx)("div",{className:"fr-payment-pricing-box",children:(0,t.jsxs)("div",{className:"fr-payment-pricing-row",children:[(0,t.jsx)("span",{className:"fr-payment-pricing-label",children:null==$?void 0:null===(f=$.franceCheckoutPage)||void 0===f?void 0:f.subhead2}),(0,t.jsx)("span",{className:"fr-payment-pricing-amount pricing-font-bold",children:eN})]})})}),(0,t.jsx)("div",{className:"fr-payment-section-divider",children:h.PF.includes(U)?(0,t.jsx)(k.Z,{languages:$,amount:el,countryCode:U,Issuer:Q,setIssuer:K,Method:en,setMethod:et,paymentMethodType:"prepaid",paymentMethod:h.sR,setCreditcardToken:G,setIban:ea,setIbanError:ei,ibanError:eo,creditcardFrance:!0}):(0,t.jsx)(p.Z,{formRef:eb,mode:h.xJ.payment,countryCode:U,networkCall:es,setNetworkCall:eh,amount:null==em?void 0:null===(x=em.formData)||void 0===x?void 0:x.amount,localeCode:(null==U?void 0:U.split("-")[0])||"en",handlePayloadCreate:er,Method:en,companyName:null==em?void 0:em.companyName,customerName:null==em?void 0:em.formData.voornaam,errors:eu,isValid:!0,languages:$})}),(0,t.jsx)("div",{className:"fr-payment-section-divider",children:!h.lJ.includes(U.split("-")[1])&&(0,t.jsx)("div",{className:"fr-payment-terms-box",children:(0,t.jsx)(y.Z,{amount:null==em?void 0:null===(g=em.formData)||void 0===g?void 0:g.amount,isMutiFlag:ev,customerName:null==em?void 0:null===(j=em.formData)||void 0===j?void 0:j.voornaam,countryCode:U,companyName:ev?(0,P.V)(ey,$):null==em?void 0:em.companyName,errors:eu})})}),ec&&(0,t.jsx)("small",{id:"err-msg",className:"text-danger d-block text-center",style:{marginBottom:"-10px",marginTop:"10px"},children:ec}),!h.lJ.includes(U.split("-")[1])&&(0,t.jsxs)("button",{className:"btn btn-primary btn-mju letter-main-button main-btn uk-button px-4 mt-4 ".concat("fr"==U.split("-")[1]?"custom-fr-button":""),onClick:er,disabled:es,children:[(0,t.jsxs)("div",{className:"d-flex justify-content-center align-items-center ",children:[es?(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"mx-2 spinner-border text-light",children:(0,t.jsx)("span",{class:"sr-only",children:"Loading..."})})}):(0,t.jsx)(t.Fragment,{})," "]}),(0,t.jsxs)("div",{style:{display:"flex",flexDirection:"column"},children:[(0,t.jsx)("span",{className:"".concat((null==ep?void 0:null===(b=ep.landingPage)||void 0===b?void 0:null===(N=b.common)||void 0===N?void 0:N.checkOutPageSingleLowerSmallText)&&"mt-1"," uk-button-font marginBottom"),children:(0,t.jsx)("span",{className:"makebold",children:ev?(0,t.jsx)("span",{children:null==ep?void 0:null===(w=ep.landingPage)||void 0===w?void 0:null===(S=w.common)||void 0===S?void 0:S.checkoutPageMultiButtonUpperText}):(0,t.jsx)("span",{children:null==ep?void 0:null===(T=ep.landingPage)||void 0===T?void 0:null===(_=T.common)||void 0===_?void 0:null===(C=_.checkoutPageSingleButtonUpperText)||void 0===C?void 0:C.replaceAll("{{companyName}}",null==em?void 0:em.companyName)})})}),ev?(0,t.jsx)("small",{className:"text-small",children:null==ep?void 0:null===(A=ep.landingPage)||void 0===A?void 0:null===(I=A.common)||void 0===I?void 0:I.checkOutPageMultiLowerSmallText}):(0,t.jsx)("small",{className:"text-small",children:null===(H=ep.landingPage)||void 0===H?void 0:null===(O=H.common)||void 0===O?void 0:O.checkOutPageSingleLowerSmallText})]})]}),"fr"==U.split("-")[1]&&(0,t.jsx)("p",{className:"fr-payment-feature-description text-center",children:null==$?void 0:null===(J=$.franceCheckoutPage)||void 0===J?void 0:null===(V=J.buttonBelowd4)||void 0===V?void 0:V.replaceAll("{{amount}}",ej).replace("{{subAmount}}",(0,M.h)(ek,U)).replaceAll("{{currency}}",h.cR[U])}),(0,t.jsx)("div",{className:"fr-payment-badges-grid",children:ew.map((e,n)=>(0,t.jsxs)("div",{className:"fr-payment-badge-item",children:[(0,t.jsx)("div",{className:"fr-payment-badge-icon-wrapper",children:(0,t.jsx)(e.icon,{className:"fr-payment-badge-icon"})}),(0,t.jsx)("span",{className:"fr-payment-badge-text",children:e.text})]},n))})]}),(0,t.jsx)("p",{className:"fr-payment-footer",children:null==$?void 0:null===(Y=$.franceCheckoutPage)||void 0===Y?void 0:Y.contact})]})})};var O=l(69802),H=l(97453),V=l(55860),J=l(76289),Y=l(4326),z=!0,U=e=>{var n,l,u,D,I,E,F,L,Z,B,R,z,U,$,q,X,W,G,K,Q,ee,en,el,et,ea,eo,ei,ed,er,es,ec,eu,em,ev,ep,eh,ey,ef,ex,eg,ej,eN,ek,eb,eP,eS,ew,eC,e_,eM,eT,eD,eI,eE,eF,eL,eZ,eB,eR,eA,eO,eH,eV,eJ,eY,ez,eU,e$,eq,eX,eW,eG,eK,eQ,e0,e1,e2,e5,e3,e9,e4,e6,e8,e7,ne,nn,nl,nt,na,no,ni,nd,nr,ns;let{languages:nc,countryCode:nu,paymentData:nm}=e,nv=(0,a.useRef)(null),[np,nh]=(0,a.useState)(!1),{executeRecaptcha:ny}=(0,g.xX)(),[nf,nx]=(0,a.useState)(),[ng,nj]=(0,a.useState)(""),[nN,nk]=(0,a.useState)({label:"Select your bank",value:""}),[nb,nP]=(0,a.useState)(""),[nS,nw]=(0,a.useState)(null),[nC,n_]=(0,a.useState)(!1),[nM,nT]=(0,a.useState)(""),[nD,nI]=(0,a.useState)(!1),[nE,nF]=(0,a.useState)(),[nL,nZ]=(0,a.useState)(!1),[nB,nR]=(0,a.useState)(!0),[nA,nO]=(0,a.useState)(""),[nH,nV]=(0,a.useState)(null),[nJ,nY]=(0,a.useState)([]),[nz,nU]=(0,a.useState)(!1),[n$,nq]=(0,a.useState)(!1),[nX,nW]=(0,a.useState)(!1),[nG,nK]=(0,a.useState)({}),[nQ,n0]=(0,a.useState)(null),n1="discount_popup_dismissed_date",n2=(0,a.useRef)(np),n5=(0,x.useRouter)(),{selectedLang:n3,MultiCompanies:n9,setMultiCompanies:n4,isMutiFlag:n6,setIsMultiFlag:n8,letterTab:n7,setLetterTab:le,myUnsubbyModal:ln,setMyUnsubbyModal:ll,buttonText:lt,selectedLanguages:la,failedPaymentPopup:lo}=(0,a.useContext)(v.z),[li,ld]=(0,a.useState)(null),[lr,ls]=(0,a.useState)(null),[lc,lu]=(0,a.useState)(null),[lm,lv]=(0,a.useState)(null),[lp,lh]=(0,a.useState)(null),[ly,lf]=(0,a.useState)(!1),lx=d.Xy.includes(nu)&&!h.PF.includes(nu),lg=li?"paymentkit"!==li.provider||ly?"stripe":"paymentkit":null;(0,a.useEffect)(()=>{n5.isReady&&lx&&(0,J.Wh)(nu).then(ld)},[n5.isReady,lx]);let lj=(0,a.useRef)(!1),lN=(0,a.useCallback)((e,n)=>{lf(!0),lj.current||(lj.current=!0,(0,J.ny)(e,{stage:"session_create",surface:"payment-page",country:nu,detail:n}))},[nu]);(0,a.useEffect)(()=>{lg&&(0,J.kd)(lg)},[lg]);let[lk,lb]=(0,a.useState)(!1),lP=(0,a.useRef)(!1);(0,a.useEffect)(()=>{var e;if((null==li?void 0:li.provider)!=="paymentkit"||lr||ly||lC.current)return;if(lP.current||(lP.current=!0,(0,J.pv)("checkout_started",li,{country:nu})),lk&&h.f8.includes(null==nu?void 0:nu.split("-")[1])){lN("discount_country_no_price");return}let n=!1;return(0,i.v_)("/upayment/paymentkit",{countryCode:nu,discountApplied:lk,amount:null==nm?void 0:null===(e=nm.formData)||void 0===e?void 0:e.amount,anonId:null==li?void 0:li.anonId,surface:"payment-page"}).then(e=>{var l,t,a,o,i,d,r,s;if(n)return;let c=null==e?void 0:null===(t=e.data)||void 0===t?void 0:null===(l=t.data)||void 0===l?void 0:l.secure_token;c?(lh(null==e?void 0:null===(o=e.data)||void 0===o?void 0:null===(a=o.data)||void 0===a?void 0:a.recovery_token),lu((null==e?void 0:null===(d=e.data)||void 0===d?void 0:null===(i=d.data)||void 0===i?void 0:i.wallet_processor_ids)||null),lv((null==e?void 0:null===(s=e.data)||void 0===s?void 0:null===(r=s.data)||void 0===r?void 0:r.statement_suffix)||null),ls(c)):lN("session_no_token")}).catch(e=>{var l,t;n||lN((null==e?void 0:null===(t=e.response)||void 0===t?void 0:null===(l=t.data)||void 0===l?void 0:l.reasonCode)||"session_api_error",null==e?void 0:e.message)}),()=>{n=!0}},[li,lr,ly,lk]);let lS=(0,a.useRef)(!1);(0,a.useEffect)(()=>{!lS.current&&lg&&("paymentkit"!==lg||lr)&&(lS.current=!0,(0,J.pv)("checkout_shown",li,{country:nu,metadata:{surface:"payment-page",rendered:lg}}))},[lg,lr]);let lw=(0,Y.Z)({recoveryToken:lp,surface:"payment-page",lang:null==n3?void 0:n3.value,onPaymentkitArm:"paymentkit"===lg,countryCode:nu,anonId:null==li?void 0:li.anonId,getFreshCode:(0,a.useCallback)(()=>ny?ny("orderCancellationForm"):null,[ny]),onBusy:nh,onMessage:nO,onSaved:(0,a.useCallback)((e,n)=>{(0,J.pv)("checkout_completed",li,{country:nu,metadata:{success:!0,order_id:null==e?void 0:e.order_id}});let l=(null==n?void 0:n.lang)||(null==n3?void 0:n3.value)||nu;window.location.href="/".concat(l,"/order/").concat(null==e?void 0:e.order_id,"?orderSecret=").concat(null==e?void 0:e.orderSecret)},[li,nu,n3]),onOutcome:(0,a.useCallback)(e=>{let{reason:n,rounds:l}=e;(0,J.pv)("checkout_completed",li,{country:nu,metadata:{success:!1,stage:"order_save_failed",rounds:l,error_code:String(n).slice(0,160)}})},[li,nu])}),lC=lw.charged,l_=(0,a.useRef)(!1);function lM(){let e=new Date,n=e.getFullYear(),l=String(e.getMonth()+1).padStart(2,"0"),t=String(e.getDate()).padStart(2,"0");return"".concat(n,"-").concat(l,"-").concat(t)}(0,a.useEffect)(()=>{!l_.current&&li&&(l_.current=!0,lw.resumePending())},[li]);let lT=()=>{n2.current||nW(!0)},lD=()=>{nW(!1)},lI=async()=>
1{if(null==n3?void 0:n3.countryId){let l=await (0,i.U2)("/contentpage?pageNumber=1&pageSize=".concat(h.IV.CONTENT,"&type=trustpilot&countryId=").concat(null==n3?void 0:n3.countryId,"&iscache=true"),null).catch(e=>{e.response});if(l&&l.data.data.length>0){var e,n;n0(null===(n=l.data.data[0])||void 0===n?void 0:null===(e=n.metaData)||void 0===e?void 0:e.trustScore)}}};(0,a.useEffect)(()=>{(null==n3?void 0:n3.countryId)&&lI()},[n3]),(0,a.useEffect)(()=>{setTimeout(()=>{nq(!0)},7e3)},[]),(0,a.useEffect)(()=>{if(!n$||!h.$f.includes(nu.split("-")[1])||function(){try{return localStorage.getItem(n1)===lM()}catch(e){return!1}}())return;let e={current:!1},n={current:!1},l=()=>{if(!e.current){e.current=!0,n.current=!0,function(){try{n2.current||localStorage.setItem(n1,lM())}catch(e){}}();try{lT()}finally{x()}}},t=window.innerHeight,a=null,o=o=>{if(e.current||"number"!=typeof o.clientY)return;if(o.clientY<=0){n.current=!0,n$&&l();return}let i=t-o.clientY;i>0&&null==a&&(a=t);let d=null!=a?a-o.clientY:0;if(i>0&&d>=40&&o.clientY<=20){n.current=!0,n$&&l(),a=null,t=o.clientY;return}t=o.clientY},i=t=>{!e.current&&!t.relatedTarget&&"number"==typeof t.clientY&&t.clientY<=0&&(n.current=!0,n$&&l())};window.scrollY,Date.now();let d=null,r=null,s=e=>{let n=e.touches&&e.touches[0];n&&(d=n.clientY,r=Date.now())},c=t=>{if(e.current||null==d)return;let a=Math.max(1,Date.now()-r),o=t.changedTouches&&t.changedTouches[0];if(!o){d=null,r=null;return}let i=d-o.clientY;i>20&&i/a*1e3>=800&&window.scrollY<=80&&(n.current=!0,l()),d=null,r=null},u=!1,m=()=>{if(!e.current){n.current=!0,l();try{history.pushState({__exit_intent_guard:!0},"")}catch(e){}}},v=null,p=["mousemove","mousedown","keydown","scroll","touchstart"],y=()=>
1{if(e.current)return},f=t=>{if(e.current)return;let a=document.getElementById("discount-modal");!(a&&a.contains(t.target))&&n.current&&l()},x=()=>{try{document.removeEventListener("mousemove",o),document.removeEventListener("mouseout",i),document.removeEventListener("click",f,{capture:!0}),window.removeEventListener("touchstart",s),window.removeEventListener("touchend",c),window.removeEventListener("popstate",m),p.forEach(e=>document.removeEventListener(e,y)),v&&(clearTimeout(v),v=null)}catch(e){}};return document.addEventListener("mousemove",o),document.addEventListener("mouseout",i),document.addEventListener("click",f,{capture:!0}),window.addEventListener("touchstart",s,{passive:!0}),window.addEventListener("touchend",c,{passive:!0}),(()=>{try{u||(history.pushState({__exit_intent_guard:!0},""),u=!0)}catch(e){}window.addEventListener("popstate",m)})(),p.forEach(e=>document.addEventListener(e,y,{passive:!0})),()=>{x()}},[n$]),(0,a.useEffect)(()=>{n2.current=np},[np]);let lE=async e=>{let n={},l=nm.formData;for(let t in l)t.includes(e)&&(n[t]=l[t]);return n};(0,a.useEffect)(()=>{let e=sessionStorage.getItem("formCompanies");if(e&&JSON.parse(e).length>0){let n=JSON.parse(e);nx(n),h.VT.includes(nu)&&n4(n),n8(n.length>1)}else{let e=n5.query.name,n="/".concat(nu,"/").concat(e);n5.push("/".concat(n))}nY(null==nm?void 0:nm.paymentMethods),h.Jy.includes(nu)&&nj(nm.signatureData)},[]);let lF=async e=>{if(null==e||e.preventDefault(),nM.length<=0){nI(!0);return}let n=await Promise.all((null==n9?void 0:n9.map(async e=>{try{var n;e._id||(e._id=e.company);let l={},t=document.getElementById("letter-address-".concat(e._id)).innerText.replaceAll("~",",").replaceAll("\n\n","");t=t.trim().replace(/,$/,"");let a=(0,_.yb)(t),o=await (0,w.i)(e._id,a,"convert",nM);if(h.D3.includes(a)){let n=await (0,w.i)(e._id,a,"letterPdfNoAddress",nM);l.letterPdfNoAddress=n}let i=await lE(e.route);return{company:e._id,companyName:e.companyName,letterPdf:o,fields:i,companyAddress:t,sendEmailLetter:null!==(n=null==e?void 0:e.sendEmailLetter)&&void 0!==n?n:null,...l.letterPdfNoAddress&&{letterPdfNoAddress:l.letterPdfNoAddress}}}catch(e){nV(e.message);return}}))||[]);nx(n.some(e=>void 0===e)?[]:n);let l=nm.formData.voornaam.replace(/[`~!@#$%^&*()_|+\-=? ;:'",.<>\{\}\[\]\\\/]/gi,"-"),t={data:nM,filename:"".concat(l,"-").concat(new Date().getTime(),".png"),countryCode:nu,type:"signature"};try{let e=await (0,i.v_)("/contentpage/upload",t);nj(e.data.data.url)}catch(e){}n_(!0)},lL=async(e,n)=>{var l,t,a,o,i;if(null==e||null===(l=e.preventDefault)||void 0===l||l.call(e),nM&&nM.length<=0){nI(!0);return}if(nb&&"directdebit"===nb&&(!nE||nL)){nZ(!0);return}n_(!0);let r=!0,s=document.getElementsByName("brief"),c={};for(let[e,n]of Object.entries(s))("brief"===n.name||"akkoord"===n.name)&&(!1===n.checked?(n.className="radioty-vaidate radioty",r=!1,c.brief=null==nc?void 0:null===(a=nc.letterPage)||void 0===a?void 0:null===(t=a.errorMsg)||void 0===t?void 0:t.terms_required):n.className="radioty");nK({...c});let u=null;if(r){if(!ny)return;if(nh(!0),!d.Xy.includes(nu)&&nb&&("creditcard"==nb||"credit_2"==nb)){let e=new Promise(e=>{document.addEventListener("tokenReceived",n=>{e(n.detail)},{once:!1})});if(document.getElementById("submit-button")&&document.getElementById("submit-button").click(),!(u=await e)){nh(!1);return}}let e=null;try{e=await ny("orderCancellationForm")}catch(e){}let l={},t=nm.formData,a=nm.formData.amount;for(let e in t)T.t.includes(e)&&(l[e]="Emailadres"===e?null===(o=t[e])||void 0===o?void 0:o.toLowerCase().trim():null===(i=t[e])||void 0===i?void 0:i.trim());if(l.achternaam="",l.amount=a,nm.code=e,nm.companies=nf,nm.cardToken=u,nm.anonId=null==li?void 0:li.anonId,lx&&li)try{(0,J.pv)("payment_submitted",li,{country:nu})}catch(e){}if(nm.signatureData=ng,nm.formData=l,nm.error=nH,nm.doSubscription=nz?1:0,nm.paymentMethods="",d.Xy.includes(nu))return lw.reserveOrder(nm,n);"directdebit"===nb&&(nm.formData.iban=nE),lZ(null,nm)}},lZ=async(e,n)=>{nh(!0);let l=null,t=null;"directdebit"===nb?(l="".concat(o.T5,"/upayment/mollie"),t="thankyou"):(n.paymentMethods="credit_2"==nb?"creditcard":nb,l="".concat(o.T5,"/upayment/payment-method"),t="payment");let a={method:"post",maxBodyLength:1/0,headers:{},url:l,data:n},i=nm.formData;await S.Z.request(a).then(async e=>{var n,l,a,o,d,r,s,c,u;(null==e?void 0:null===(n=e.data)||void 0===n?void 0:n.status)?(setTimeout(()=>{nh(!1)},3e3),delete i.iban,delete i.amount,j.Z.set("unsubbyUser",JSON.stringify(i),{expires:365,path:"/",sameSite:"None",secure:!0}),"payment"==t?n5.push(null==e?void 0:null===(d=e.data)||void 0===d?void 0:null===(o=d.data)||void 0===o?void 0:null===(a=o._links)||void 0===a?void 0:null===(l=a.checkout)||void 0===l?void 0:l.href):window.location.href="/".concat(n3.value,"/order/").concat(null==e?void 0:null===(r=e.data)||void 0===r?void 0:r.order_id,"?orderSecret=").concat(null==e?void 0:null===(s=e.data)||void 0===s?void 0:s.orderSecret)):(setTimeout(()=>{nh(!1)},3e3),(null==e?void 0:null===(c=e.data)||void 0===c?void 0:c.type)==="iban"&&(document.getElementById("iban-input").className="border-2 border-danger shadow-danger form-control"),nO(null==e?void 0:null===(u=e.data)||void 0===u?void 0:u.message),document.getElementById("err-msg").scrollIntoView({behavior:"smooth",block:"center",inline:"center"}))}).catch(e=>{setTimeout(()=>{nh(!1)},3e3),nO("Server Error please Try Again");let n=document.getElementById("err-msg");null==n||n.scrollIntoView({behavior:"smooth",block:"center",inline:"center"})}).finally(()=>{setTimeout(()=>{nh(!1)},3e3)})};return(0,t.jsxs)(N.Z,{className:"px-0",children:[(0,t.jsx)("section",{className:"breadcrumbs",children:(0,t.jsx)("div",{className:"container",children:(0,t.jsx)("div",{className:"row",children:(0,t.jsx)("div",{className:"col-md-6 breadcrumb-section",children:(0,t.jsxs)("ol",{children:[(0,t.jsx)("li",{children:(0,t.jsx)(m(),{href:"/".concat(n3.value),children:null==nc?void 0:nc.cancel})}),(0,t.jsx)("li",{children:(0,t.jsx)(m(),{href:"/".concat(n3.value,"/").concat(null==nc?void 0:null===(n=nc.links)||void 0===n?void 0:n.category,"/"),children:null==nc?void 0:nc.category})}),(0,t.jsx)("li",{children:(0,t.jsx)(m(),{href:{pathname:"/".concat(n3.value,"/").concat(null==nm?void 0:null===(l=nm.cancelUrl)||void 0===l?void 0:l.split("?")[0])},children:null==nm?void 0:nm.companyName})}),(0,t.jsx)("li",{className:"active",children:(0,t.jsx)("span",{children:null==nc?void 0:null===(u=nc.paymentPage)||void 0===u?void 0:u.route})})]})})})})}),h.$f.includes(nu.split("-")[1])&&nX&&(0,t.jsx)(O.Z,{isOpen:nX,variant:"discount",headline:null==la?void 0:null===(I=la.discountPopup)||void 0===I?void 0:null===(D=I.header)||void 0===D?void 0:D.replace("{{discountPercent}}",(null===h.f8||void 0===h.f8?void 0:h.f8.includes(null==nu?void 0:nu.split("-")[1]))?"50":"15"),description:null==la?void 0:null===(F=la.discountPopup)||void 0===F?void 0:null===(E=F.subHead)||void 0===E?void 0:E.replace("{{discountPercent}}",(null===h.f8||void 0===h.f8?void 0:h.f8.includes(null==nu?void 0:nu.split("-")[1]))?"50":"15"),ctaText:null==la?void 0:null===(L=la.discountPopup)||void 0===L?void 0:L.mainBtn,benefits:[null==la?void 0:null===(Z=la.discountPopup)||void 0===Z?void 0:Z.adv1,null==la?void 0:null===(B=la.discountPopup)||void 0===B?void 0:B.adv2,null==la?void 0:null===(R=la.discountPopup)||void 0===R?void 0:R.adv3,null==la?void 0:null===(z=la.discountPopup)||void 0===z?void 0:z.adv4],onCtaClick:()=>{let e;h.f8.includes(null==nu?void 0:nu.split("-")[1])?(e=+(nm.formData.amount-.5*nm.formData.amount).toFixed(2))<.5&&(e=.5):e=+(nm.formData.amount-.15*nm.formData.amount).toFixed(2),nm.formData={...nm.formData,amount:e},lb(!0),(null==li?void 0:li.provider)!=="paymentkit"||lC.current||ls(null),lD()},onClose:lD,trustScore:nQ}),lo&&h.Tj.includes(nu.split("-")[1])&&(null===h.p$||void 0===h.p$?void 0:h.p$.includes(nu))&&(0,t.jsx)(H.Z,{formRef:nv,mode:h.xJ.payment,countryCode:nu,networkCall:np,setNetworkCall:nh,amount:null==nm?void 0:null===(U=nm.formData)||void 0===U?void 0:U.amount,handleClick:lL,info:nm.formData,companyName:null==nm?void 0:nm.companyName,handlePayloadCreate:lL,Method:nb,errors:nG}),h.nE.includes(nu.split("-")[1])?(0,t.jsx)(A,{languages:nc,amount:null==nm?void 0:null===($=nm.formData)||void 0===$?void 0:$.amount,companyName:null==nm?void 0:nm.companyName,countryCode:nu,Issuer:nN,setIssuer:nk,Method:nb,setMethod:nP,paymentMethodType:"prepaid",paymentMethod:nJ,setCreditcardToken:nw,setIban:nF,setIbanError:nZ,ibanError:nL,handleClick:lL,networkCall:np,errors:nG,buttonText:lt,isMutiFlag:n6,paymentData:nm,setNetworkCall:nh,company:nf,ErrorMsg:nA}):(0,t.jsx)(t.Fragment,{children:h.VT.includes(nu)?(0,t.jsx)("section",{className:"",children:(0,t.jsxs)("div",{className:"row justify-content-center",children:[(0,t.jsx)("div",{className:"col-md-8 px-md-5 px-0 col-10 text-cente",children:(0,t.jsx)("p",{className:"uk-heading mb-2",dangerouslySetInnerHTML:{__html:n6?null==nc?void 0:null===(q=nc.paymentPage)||void 0===q?void 0:q.headMulti:null==nc?void 0:null===(X=nc.paymentPage)||void 0===X?void 0:X.head.replace("{{companyName}}",'<span class="text-skyblue">'.concat(null==nm?void 0:nm.companyName,"</span>"))}})}),nC?(0,t.jsxs)("div",{className:"col-md-8 px-md-5 px-0 col-10",children:[(0,t.jsxs)("div",{className:"mb-3",children:[(0,t.jsxs)("span",{className:"step-text",children:[h.Jy?"":"2."," ",null==nc?void 0:null===(W=nc.letterPage)||void 0===W?void 0:W.SelectPaymentMethods]}),(0,t.jsx)("div",{className:"mb-2",children:(0,t.jsx)("small",{children:h.km.includes(nu)?(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:null==nc?void 0:null===(ee=nc.letterPage)||void 0===ee?void 0:null===(Q=ee.PaymentInfoAmount)||void 0===Q?void 0:Q.replace("{{amount}}","<strong>".concat(h.cR[nu],"</strong>")).replace("{{currency}}","<strong>".concat((0,M.h)(null==nm?void 0:null===(K=nm.formData)||void 0===K?void 0:null===(G=K.amount)||void 0===G?void 0:G.toFixed(2),nu),"</strong>"))}}):(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:null==nc?void 0:null===(ea=nc.letterPage)||void 0===ea?void 0:null===(et=ea.PaymentInfoAmount)||void 0===et?void 0:et.replace("{{amount}}","<strong>".concat((0,M.h)(null==nm?void 0:null===(el=nm.formData)||void 0===el?void 0:null===(en=el.amount)||void 0===en?void 0:en.toFixed(2),nu),"</strong>")).replace("{{currency}}","<strong>".concat(h.cR[nu],"</strong>"))}})})})]}),d.Xy.includes(nu)?(0,t.jsxs)(t.Fragment,{children:[" ",lg?"paymentkit"===lg?(0,t.jsx)(V.Z,{surface:"payment-page",secureToken:lr,walletProcessorIds:lc,statementSuffix:lm,environment:o.zV,onSuccess:lw.saveOrder,saveFailed:lw.saveFailed,onRetrySave:lw.retrySave,onError:(e,n,l,t)=>
1{nh(!1),(0,J.pv)("checkout_completed",li,{country:nu,metadata:{success:!1,error_code:String(e).slice(0,160),...n?{stage:n}:{},...l?{pk_error:l}:{}}}),t&&!lC.current&&ls(null)},amount:null==nm?void 0:null===(eo=nm.formData)||void 0===eo?void 0:eo.amount,paymentMethodType:"prepaid",isMutiFlag:n6,Method:nb,countryCode:nu,companyName:null==nm?void 0:nm.companyName,errors:nG,buttonText:lt,failedPaymentPopup:lo,networkCall:np,paymentPageFlowCountry:h.p$,errorMessage:nA,failedPaymentCountries:h.Tj,handlePayloadCreate:lL,validateAmount:M.h}):(0,t.jsx)(p.Z,{formRef:nv,mode:h.xJ.payment,countryCode:nu,localeCode:(null==nu?void 0:nu.split("-")[0])||"en",networkCall:np,setNetworkCall:nh,amount:null==nm?void 0:null===(ei=nm.formData)||void 0===ei?void 0:ei.amount,handlePayloadCreate:lL,Method:nb,companyName:null==nm?void 0:nm.companyName,errors:nG,isValid:!0}):(0,t.jsx)(c.Z,{height:120}),"paymentkit"!==lg&&!h.lJ.includes(nu.split("-")[1])&&(0,t.jsx)(y.Z,{amount:null==nm?void 0:null===(ed=nm.formData)||void 0===ed?void 0:ed.amount,isMutiFlag:n6,customerName:null==nm?void 0:null===(er=nm.formData)||void 0===er?void 0:er.voornaam,countryCode:n3.value,companyName:n6?(0,P.V)(nf,nc):null==nm?void 0:nm.companyName,errors:nG})]}):(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(k.Z,{languages:nc,amount:null==nm?void 0:null===(es=nm.formData)||void 0===es?void 0:es.amount,countryCode:nu,Issuer:nN,setIssuer:nk,Method:nb,setMethod:nP,paymentMethodType:"prepaid",paymentMethod:nJ,setCreditcardToken:nw,setIban:nF,setIbanError:nZ,ibanError:nL})}),(0,t.jsxs)("div",{className:"col-md-12 text-center px-0",children:["paymentkit"!==lg&&!h.lJ.includes(nu.split("-")[1])&&(0,t.jsxs)("button",{className:"btn btn-primary btn-mju letter-main-button ",onClick:lL,disabled:np,children:[(0,t.jsxs)("div",{className:"d-flex justify-content-center align-items-center py-1",children:[np?(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"mx-2 spinner-border text-light",children:(0,t.jsx)("span",{class:"sr-only",children:"Loading..."})})}):(0,t.jsx)(t.Fragment,{})," "]}),(0,t.jsxs)("div",{style:{display:"flex",flexDirection:"column"},children:[(0,t.jsx)("span",{className:"".concat((null==lt?void 0:null===(eu=lt.landingPage)||void 0===eu?void 0:null===(ec=eu.common)||void 0===ec?void 0:ec.checkOutPageSingleLowerSmallText)&&"mt-1"," uk-button-font marginBottom"),children:(0,t.jsx)("span",{className:"makebold",children:n6?(0,t.jsx)("span",{children:null==lt?void 0:null===(ev=lt.landingPage)||void 0===ev?void 0:null===(em=ev.common)||void 0===em?void 0:em.checkoutPageMultiButtonUpperText}):(0,t.jsx)("span",{children:null==lt?void 0:null===(eh=lt.landingPage)||void 0===eh?void 0:null===(ep=eh.common)||void 0===ep?void 0:ep.checkoutPageSingleButtonUpperText.replaceAll("{{companyName}}",null==nm?void 0:nm.companyName)})})}),n6?(0,t.jsx)("small",{className:"text-small",children:null==lt?void 0:null===(ef=lt.landingPage)||void 0===ef?void 0:null===(ey=ef.common)||void 0===ey?void 0:ey.checkOutPageMultiLowerSmallText}):(0,t.jsx)("small",{className:"text-small",children:null===(eg=lt.landingPage)||void 0===eg?void 0:null===(ex=eg.common)||void 0===ex?void 0:ex.checkOutPageSingleLowerSmallText})]})]}),(0,t.jsx)(f.Z,{countryCode:nu,amount:null==nm?void 0:null===(ej=nm.formData)||void 0===ej?void 0:ej.amount.toFixed(2)}),(0,t.jsx)("small",{id:"err-msg",className:"text-danger my-2",children:nA})]})]}):(0,t.jsxs)("div",{className:"row justify-content-center",children:[(0,t.jsxs)("div",{className:"signature-component",style:{display:h.Jy.includes(nu)?"none":""},children:[(0,t.jsxs)("h2",{children:["1. ",null==nc?void 0:null===(ek=nc.paymentPage)||void 0===ek?void 0:null===(eN=ek.signature)||void 0===eN?void 0:eN.head]}),(0,t.jsx)(b.Z,{onChange:nT,signatureData:nM,isSubmitted:nD,languages:nc}),(0,t.jsx)("button",{className:"submit-btn",style:{background:"#3C83F6"},onClick:lF,children:null==nc?void 0:null===(eP=nc.paymentPage)||void 0===eP?void 0:null===(eb=eP.signature)||void 0===eb?void 0:eb.button})]}),(0,t.jsx)(C.Z,{info:nm.formData,countryCode:nu,DateSelector:null==nm?void 0:nm.datumDate,signatureData:nM,isHide:nB})]})]})}):(0,t.jsx)("section",{className:"pt-0",children:(0,t.jsxs)("div",{className:"row justify-content-center",children:[(0,t.jsxs)("div",{className:"col-md-8 px-md-5 px-0 col-10",children:["fr"==nu.split("-")[1]?(0,t.jsx)("p",{className:"uk-heading mb-2 fr-payment-head",dangerouslySetInnerHTML:{__html:n6?null==nc?void 0:null===(eS=nc.paymentPage)||void 0===eS?void 0:eS.headMulti:null==nc?void 0:null===(ew=nc.paymentPage)||void 0===ew?void 0:e
1w.frHead.replace("{{companyName}}",'<span class="text-skyblue">'.concat(null==nm?void 0:nm.companyName,"</span>"))}}):(0,t.jsx)("p",{className:"uk-heading mb-2",dangerouslySetInnerHTML:{__html:n6?null==nc?void 0:null===(eC=nc.paymentPage)||void 0===eC?void 0:eC.headMulti:null==nc?void 0:null===(e_=nc.paymentPage)||void 0===e_?void 0:e_.head.replace("{{companyName}}",'<span class="text-skyblue">'.concat(null==nm?void 0:nm.companyName,"</span>"))}}),"fr"==nu.split("-")[1]?(0,t.jsxs)("div",{className:"payment-blue-box",children:[(0,t.jsx)("p",{children:null==nc?void 0:null===(eT=nc.paymentPage)||void 0===eT?void 0:null===(eM=eT.paymentBox)||void 0===eM?void 0:eM.mainHead}),(0,t.jsx)("p",{dangerouslySetInnerHTML:{__html:null==nc?void 0:null===(eI=nc.paymentPage)||void 0===eI?void 0:null===(eD=eI.paymentBox)||void 0===eD?void 0:eD.firstHead.replace("{{companyName}}",nf&&(0,P.V)(nf,nc))}}),(0,t.jsx)("p",{children:null==nc?void 0:null===(eF=nc.paymentPage)||void 0===eF?void 0:null===(eE=eF.paymentBox)||void 0===eE?void 0:eE.secondHead}),(0,t.jsx)("p",{children:null==nc?void 0:null===(eZ=nc.paymentPage)||void 0===eZ?void 0:null===(eL=eZ.paymentBox)||void 0===eL?void 0:eL.thirdHead}),(0,t.jsx)("p",{children:null==nc?void 0:null===(eR=nc.paymentPage)||void 0===eR?void 0:null===(eB=eR.paymentBox)||void 0===eB?void 0:eB.fourthHead}),(0,t.jsx)("p",{className:"info",children:null==nc?void 0:null===(eO=nc.paymentPage)||void 0===eO?void 0:null===(eA=eO.paymentBox)||void 0===eA?void 0:eA.info}),(0,t.jsx)("div",{className:"separation-line"}),(0,t.jsxs)("div",{className:"total-price",children:[(0,t.jsx)("p",{className:"big-text",children:"Total :"}),(0,t.jsxs)("p",{className:"big-text",children:[(0,M.h)(null==nm?void 0:null===(eV=nm.formData)||void 0===eV?void 0:null===(eH=eV.amount)||void 0===eH?void 0:eH.toFixed(2),nu)," ",h.cR[nu]]})]})]}):(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"mb-3",children:null==nc?void 0:null===(eY=nc.paymentPage)||void 0===eY?void 0:eY.p1.replace("{{name}}",null==nm?void 0:null===(eJ=nm.formData)||void 0===eJ?void 0:eJ.voornaam)}),(0,t.jsxs)("p",{className:" mb-3",children:[null==nc?void 0:null===(ez=nc.paymentPage)||void 0===ez?void 0:ez.p2," ",(0,t.jsx)("strong",{children:nf&&(0,P.V)(nf,nc)})," ",null==nc?void 0:null===(eU=nc.paymentPage)||void 0===eU?void 0:eU.p3]}),(0,t.jsx)("p",{className:"",children:null==nc?void 0:null===(e$=nc.paymentPage)||void 0===e$?void 0:e$.p4})]})]}),(0,t.jsxs)("div",{className:"col-md-8 px-md-5 px-0 col-10",children:[(0,t.jsxs)("div",{className:"mb-3  ".concat("fr"==nu.split("-")[1]?"fr-custom-margin":""),children:[(0,t.jsx)("span",{className:"step-text",children:null==nc?void 0:null===(eq=nc.letterPage)||void 0===eq?void 0:eq.SelectPaymentMethods}),"fr"!==nu.split("-")[1]&&(0,t.jsx)("div",{className:"mb-2",children:(0,t.jsx)("small",{children:h.km.includes(nu)?(0,t.jsx)(t.Fragment,{children:null==nc?void 0:null===(eK=nc.letterPage)||void 0===eK?void 0:null===(eG=eK.PaymentInfoAmount)||void 0===eG?void 0:eG.replace("{{amount}}",h.cR[nu]).replace("{{currency}}","".concat((0,M.h)(null==nm?void 0:null===(eW=nm.formData)||void 0===eW?void 0:null===(eX=eW.amount)||void 0===eX?void 0:eX.toFixed(2),nu)))}):(0,t.jsx)(t.Fragment,{children:null==nc?void 0:null===(e2=nc.letterPage)||void 0===e2?void 0:null===(e1=e2.PaymentInfoAmount)||void 0===e1?void 0:e1.replace("{{amount}}",(0,M.h)(null==nm?void 0:null===(e0=nm.formData)||void 0===e0?void 0:null===(eQ=e0.amount)||void 0===eQ?void 0:eQ.toFixed(2),nu)).replace("{{currency}}",h.cR[nu])})})})]}),h.PF.includes(nu)?(0,t.jsx)(k.Z,{languages:nc,amount:null==nm?void 0:null===(e5=nm.formData)||void 0===e5?void 0:e5.amount,countryCode:nu,Issuer:nN,setIssuer:nk,Method:nb,setMethod:nP,paymentMethodType:"prepaid",paymentMethod:nJ,setCreditcardToken:nw,setIban:nF,setIbanError:nZ,ibanError:nL,creditcardFrance:!0}):lg?"paymentkit"===lg?(0,t.jsx)(V.Z,{surface:"payment-page",secureToken:lr,walletProcessorIds:lc,statementSuffix:lm,environment:o.zV,onSuccess:lw.saveOrder,saveFailed:lw.saveFailed,onRetrySave:lw.retrySave,onError:(e,n,l,t)=>{nh(!1),(0,J.pv)("checkout_completed",li,{country:nu,metadata:{success:!1,error_code:String(e).slice(0,160),...n?{stage:n}:{},...l?{pk_error:l}:{}}}),t&&!lC.current&&ls(null)},amount:null==nm?void 0:null===(e3=nm.formData)||void 0===e3?void 0:e3.amount,paymentMethodType:"prepaid",isMutiFlag:n6,Method:nb,countryCode:nu,companyName:null==nm?void 0:nm.companyName,errors:nG,buttonText:lt,failedPaymentPopup:lo,networkCall:np,paymentPageFlowCountry:h.p$,errorMessage:nA,failedPaymentCountries:h.Tj,handlePayloadCreate:lL,validateAmount:M.h}):(0,t.jsx)(p.Z,{formRef:nv,mode:h.xJ.payment,countryCode:nu,localeCode:(null==nu?void 0:nu.split("-")[0])||"en",networkCall:np,setNetworkCall:nh,amount:null==nm?void 0:null===(e9=nm.formData)||void 0===e9?void 0:e9.amount,handlePayloadCreate:lL,Method:nb,companyName:null==nm?void 0:nm.companyName,errors:nG,isValid:!0}):(0,t.jsx)(c.Z,{height:120}),"paymentkit"!==lg&&!h.lJ.includes(nu.split("-")[1])&&(0,t.jsx)(y.Z,{amount:null==nm?void 0:null===(e4=nm.formData)||void 0===e4?void 0:e4.amount,isMutiFlag:n6,customerName:null==nm?void 0:null===(e6=nm.formData)||void 0===e6?void 0:e6.voorna
1am,countryCode:n3.value,companyName:n6?(0,P.V)(nf,nc):null==nm?void 0:nm.companyName,errors:nG}),(0,t.jsxs)("div",{className:"col-md-12 text-center px-0",children:["paymentkit"!==lg&&!h.lJ.includes(nu.split("-")[1])&&(0,t.jsxs)("button",{className:"btn btn-primary btn-mju letter-main-button main-btn uk-button px-4 ".concat("fr"==nu.split("-")[1]?"custom-fr-button":""),onClick:lL,disabled:np,children:[(0,t.jsxs)("div",{className:"d-flex justify-content-center align-items-center ",children:[np?(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"mx-2 spinner-border text-light",children:(0,t.jsx)("span",{class:"sr-only",children:"Loading..."})})}):(0,t.jsx)(t.Fragment,{})," "]}),(0,t.jsxs)("div",{style:{display:"flex",flexDirection:"column"},children:[(0,t.jsx)("span",{className:"".concat((null==lt?void 0:null===(e7=lt.landingPage)||void 0===e7?void 0:null===(e8=e7.common)||void 0===e8?void 0:e8.checkOutPageSingleLowerSmallText)&&"mt-1"," uk-button-font marginBottom"),children:(0,t.jsx)("span",{className:"makebold",children:n6?(0,t.jsx)("span",{children:null==lt?void 0:null===(nn=lt.landingPage)||void 0===nn?void 0:null===(ne=nn.common)||void 0===ne?void 0:ne.checkoutPageMultiButtonUpperText}):(0,t.jsx)("span",{children:null==lt?void 0:null===(na=lt.landingPage)||void 0===na?void 0:null===(nt=na.common)||void 0===nt?void 0:null===(nl=nt.checkoutPageSingleButtonUpperText)||void 0===nl?void 0:nl.replaceAll("{{companyName}}",null==nm?void 0:nm.companyName)})})}),n6?(0,t.jsx)("small",{className:"text-small",children:null==lt?void 0:null===(ni=lt.landingPage)||void 0===ni?void 0:null===(no=ni.common)||void 0===no?void 0:no.checkOutPageMultiLowerSmallText}):(0,t.jsx)("small",{className:"text-small",children:null===(nr=lt.landingPage)||void 0===nr?void 0:null===(nd=nr.common)||void 0===nd?void 0:nd.checkOutPageSingleLowerSmallText})]})]}),(0,t.jsx)(f.Z,{countryCode:nu,amount:null==nm?void 0:null===(ns=nm.formData)||void 0===ns?void 0:ns.amount.toFixed(2)}),(0,t.jsx)("small",{id:"err-msg",className:"text-danger my-2",children:nA})]})]})]})})}),"fr"!==nu.split("-")[1]&&(0,t.jsx)("section",{className:"py-3",style:{position:"relative",zIndex:999},children:(0,t.jsx)(r.Z,{countryId:null==n3?void 0:n3.countryId})}),(0,t.jsx)("section",{style:{position:"relative",zIndex:999},children:(0,t.jsx)(s.Z,{countryId:null==n3?void 0:n3.countryId})})]})}}},function(e){e.O(0,[7847,7650,388,1781,9101,4867,6859,9349,6477,3105,2986,5869,219,9143,1519,5762,2888,9774,179],function(){return e(e.s=44858)}),_N_E=e.O()}]);

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.