"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[15],{70:(s,e,a)=>{a.d(e,{a:()=>b});var n=a(1),r=a(2),l=a(9),i=a(44),c=a(5),t=a(77);const{wrapper:d,wrapperDescription:p,wrapperMoreText:o,wrapperModal:j,wrapperModalTitle:h,wrapperModalSVG:x,wrapperModalContent:m,wrapperModalCard:M,wrapperModalFooter:O}=t.a,g=[l.h,l.t,l.z],b=({afterPay:{notAvailableDescriptionHTML:s,descriptionHTML:e,moreInfoText:a,titleModal:t,descriptionModal:b,afterPayModalData:u,afterPayModalFooterText:w}})=>{const{isOpen:v,handelOpen:N,handelClose:C}=(()=>{const[s,e]=(0,c.useState)(!1);return{handelOpen:()=>e(!0),handelClose:()=>e(!1),isOpen:s}})();return(0,n.jsxs)(r.Fragment,{children:[(0,n.jsx)(i.a,Object.assign({isOpen:v,onClose:C},{children:(0,n.jsxs)("div",Object.assign({className:j},{children:[(0,n.jsxs)("div",Object.assign({className:h},{children:[(0,n.jsx)("span",Object.assign({className:x},{children:(0,n.jsx)(l.a,{})})),(0,n.jsx)("h4",{children:t}),(0,n.jsx)("p",{children:b})]})),(0,n.jsx)("div",Object.assign({className:m},{children:u.length>0&&u.map((({name:s,description:e},a)=>(0,n.jsxs)("div",Object.assign({className:M},{children:[(0,n.jsx)("span",{children:g[a]()}),(0,n.jsx)("h4",{children:s}),(0,n.jsx)("p",{children:e})]}))))})),(0,n.jsx)("p",Object.assign({className:O},{children:w}))]}))})),e?(0,n.jsxs)("div",Object.assign({class:d},{children:[(0,n.jsx)("div",{className:p,dangerouslySetInnerHTML:{__html:e}}),(0,n.jsx)(l.a,{}),(0,n.jsx)("span",Object.assign({onClick:N,className:o},{children:a}))]})):(0,n.jsxs)("div",Object.assign({class:d},{children:[(0,n.jsx)(l.a,{}),(0,n.jsx)("div",{className:p,dangerouslySetInnerHTML:{__html:s}})]}))]})}}}]);