{"version":3,"sources":["webpack:///./src/features/schedule/confirm/confirm.ts","webpack:///./src/features/schedule/confirm/confirm.html","webpack:///./src/features/schedule/confirm/stripe-payment-element.html"],"names":["router","scheduleState","clientState","scheduleApi","moveAwayWarning","schedulingShared","sqribeSvc","config","currentView","position","JARGON","personPayAmount","clientName","amountDue","showSuccess","stripeError","confirmApiPayment","legalChecked","formComplete","errorMsg","commands","createGroup","name","canExecute","execute","payAndBook","this","onlineLocation","get","activate","params","routeConfig","navigationInstruction","steps","getRoutes","settings","isPreAuth","validReview","navigateToRoute","previousInstruction","window","location","href","baseUrl","setDirtyableOnRefresh","setRoutes","clientId","client","b2cProgramId","PATIENT_DASHBOARD","SELF_SCHEDULE","routeName","shouldScheduleOrder","pricingRequest","generatePricingRequest","allProcedures","getPatientPay","person","id","program","programId","patientPayResponse","patientPay","orderActionId","console","log","attached","publicKey","stripe","clientSecret","appearance","theme","variables","fontFamily","rules","color","fontWeight","marginBottom","cssFontObj","family","src","weight","elements","fonts","create","mode","defaultValues","firstName","lastName","address","line1","addresses","address1","line2","city","state","postal_code","zip5","country","addressElement","mount","paymentElement","on","event","complete","canDeactivate","setDirtyableOnNavigation","deactivate","getBaseRoute","bookAppointment","bookingRequest","result","success","bookExam","order","onlineProcedures","length","visitRequest","personId","locationId","walkInAppointmentId","procedures","map","p","procedureId","createVisit","AbortController","sqribeVisit","error","getBookingRequest","bookingSuccess","setBookingErrorMsg","confirmStripePayment","examNumber","sourceSystemKey","cancelExam","generateBookingRequest","email","e","confirmPayment","redirect","paymentResponse","message","deleteExam","navigateToDashboard","CONFIRM","ERROR_BOOKING","concat","ERROR_NOT_CHARGED","Confirm","module","exports"],"mappings":"2pEAkBA,aAgCI,WACYA,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACRC,GARJ,WACY,KAAAP,SACA,KAAAC,gBACA,KAAAC,cACA,KAAAC,cACA,KAAAC,kBACA,KAAAC,mBACA,KAAAC,YAtCJ,KAAAE,YAAsB,UACtB,KAA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