var _____WB$wombat$assign$function_____=function(name){return (globalThis._wb_wombat && globalThis._wb_wombat.local_init && globalThis._wb_wombat.local_init(name))||globalThis[name];};if(!globalThis.__WB_pmw){globalThis.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}var window = _____WB$wombat$assign$function_____("window");
var self = _____WB$wombat$assign$function_____("self");
var document = _____WB$wombat$assign$function_____("document");
var location = _____WB$wombat$assign$function_____("location");
var top = _____WB$wombat$assign$function_____("top");
var parent = _____WB$wombat$assign$function_____("parent");
var frames = _____WB$wombat$assign$function_____("frames");
var opener = _____WB$wombat$assign$function_____("opener");
import{e as S,f as x,g as C,h as f,i as B,b as T,j as A,k as M,l as R,m as _,n as D,o as I,p as W,q as E,r as z,s as H,a as e,T as L,C as O,t as j,O as q,W as F,A as G,M as J,v as N,w as K,x as Q,R as U,y as V,H as l,B as o,z as c,I as X,D as Y,E as Z,G as $}from"./app.ZXowmuNl.js";import{P as ee,a as d,b as ae,c as se,B as u,d as ne}from"./ButtonWithRegisterWebPixel.81gXdhdP.js";import"./NoAddressLocationFullDetour.DGhydYbu.js";function le(){const{progress:p,progressing:s}=S(),g=x(),{nextPage:a,previousPage:n}=C(),h=f("simulated"),i=B(),{moneyLines:{divided:m}}=T(),P=i("general.pay_now_button_label","Pay now");A({stage:M.Complete,id:"Review"});const t=R();_(t);const y=D(t,p),b=I(),r=W(),v=E(),k=z(),w=H();return e($,{children:[e(L,{children:i("review.title","Review")}),e(O,{section:"review",children:e(j,{section:"review",children:e(ee,{children:[e(d,{grouped:!0,children:e(q,{withDivider:m,withBorder:!0})}),r&&e(d,{children:e(F,{tone:"critical",errorType:G.PaymentError,children:r})}),b.value&&e(J,{}),k&&e(N,{}),w?e(K,{}):null,e(ae,{children:[e(se,{children:e(Q,{onSubmit:y,disabled:s,implicitSubmit:P,children:[e(U,{children:v?e(V,{}):e(u,{loading:s,disabled:h||g,inlineSize:"fill",size:"large",type:"submit",pixelId:"go_to_next_step",variant:"primary",children:a.label})}),a.notice?e(l,{above:"small",children:[e(o,{spacing:"small200"}),e(c,{textAlign:"center",color:"subdued",type:"small",children:a.notice})]}):null]})}),e(ne,{children:e(u,{href:n.route,variant:"plain",inlineSize:"fill",textDecoration:"none",pixelId:"go_to_previous_step",children:e(X,{spacing:"small200",blockAlignment:"center",children:[e(Y,{type:"chevron-left",size:"small",appearance:"monochrome"}),e(Z,{children:n.label})]})})})]}),a.notice?e(l,{below:"medium",children:[e(o,{spacing:"small200"}),e(c,{textAlign:"end",color:"subdued",type:"small",children:a.notice})]}):null]})})})]})}export{le as default};