'use strict';
import { checkoutFormTestData } from '../constants/ui-tester/checkout-form-test-data.js';
import { elementSuffixes } from '../../fd-toolbox/constants/element-suffixes.js';
import { elements } from '../../fd-toolbox/constants/elements.js';
import { wellKnownUserProps } from '../../fd-toolbox/constants/common-user-fields.js';
import { editUserSettingsTestData } from '../constants/test-data/input-fields-values.js';
import { getUiTester } from '../ui-tester/global-ui-test.js';
import { paymentPlanPoFillStripeCardDetails } from './payment-plan-po.js';

var __defProp=Object['defineProperty'],__name=(_0x288877,_0x2bb5bd)=>__defProp(_0x288877,'name',{'value':_0x2bb5bd,'configurable':!![]});async function checkoutFormPoFillAccountInfoPo(){const _0x4e5f52=getUiTester();await _0x4e5f52['clearWithBackspacesAndSendKeys'](wellKnownUserProps['email'],checkoutFormTestData['email']),await _0x4e5f52['clearWithBackspacesAndSendKeys'](wellKnownUserProps['name'],checkoutFormTestData['cardholderName']),await _0x4e5f52['click'](wellKnownUserProps['country']+elementSuffixes['select']),await _0x4e5f52['click'](editUserSettingsTestData['country']+elementSuffixes['selectOption']),await _0x4e5f52['clearWithBackspacesAndSendKeys'](wellKnownUserProps['zip'],checkoutFormTestData['zipCode']);}__name(checkoutFormPoFillAccountInfoPo,'checkoutFormPoFillAccountInfoPo');async function checkoutFormPoFillPaymentInfoPo(){await paymentPlanPoFillStripeCardDetails(checkoutFormTestData['cardNumber'],checkoutFormTestData['expDate'],checkoutFormTestData['cvc']);}__name(checkoutFormPoFillPaymentInfoPo,'checkoutFormPoFillPaymentInfoPo');async function checkoutFormPoCompleteSubscriptionPo(){const _0x18d2a3=getUiTester();await _0x18d2a3['click'](elements['userSettings']['payButton']);}__name(checkoutFormPoCompleteSubscriptionPo,'checkoutFormPoCompleteSubscriptionPo');

export { checkoutFormPoCompleteSubscriptionPo, checkoutFormPoFillAccountInfoPo, checkoutFormPoFillPaymentInfoPo };
