try {
	let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
	n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "520a29d4-b379-40f2-9f9f-6e4fbbb69599", e._sentryDebugIdIdentifier = "sentry-dbid-520a29d4-b379-40f2-9f9f-6e4fbbb69599");
} catch (e) {}
import { a as Icon, c as __exportAll, i as Typography, n as addResourceBundles, o as createLogger, r as useTranslation, t as Trans } from "./translation-Br5wIPO-.js";
import { n as IconButton, r as Loader, t as Button } from "./Button-BDEdGXnd.js";
import { n as httpGet, s as useApiContext } from "./http-CHTzpXCd.js";
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-Dm6g0wmt.js";
import { y as isEmpty } from "./validatorUtils-Dz6AklT-.js";
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-CCXvMgfE.js";
import { n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-CvMqhrOK.js";
import { t as Header } from "./Header-B_MIsVov.js";
import { t as Alert } from "./Alert-CjZYipjN.js";
import { t as TaskTypes } from "./taskTypes-DWaxzvnQ.js";
import { t as Card } from "./Card-DXdUqwyQ.js";
import { t as useAnalyticsContext } from "./useAnalyticsContext-DfTXpZbA.js";
import { t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-BHyct4ev.js";
import { t as Image } from "./Image-BPAtdM5Y.js";
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-CUs6TYPF.js";
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, r as getRequiredForms, s as FormContextProvider, t as useFormContext } from "./useFormContext-Cu4dKSCy.js";
import { t as StructuredList } from "./StructuredList-S4LIZQiJ.js";
import { t as useMultiForm } from "./useMultiForm-tpVMuqHM.js";
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DCdJo64z.js";
import { t as Field } from "./Field-BEqknhTe.js";
import { t as LandingLayout } from "./LandingLayout-C9eryD6V.js";
import { n as getFormProps } from "./getProps-DQy_qV_x.js";
import { t as Link } from "./Link-BoduD1oh.js";
import { t as RadioGroup } from "./RadioGroup-XuCtbRrH.js";
import { t as isEmpty$1 } from "./isEmpty-Cf1sv6Wg.js";
import { t as useTaskStatus } from "./useTaskStatus-DzJWcN_l.js";
import { lazy } from "preact/compat";
import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useState as useState$1 } from "preact/hooks";
import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
import { signal } from "@preact/signals";
import { useQuery } from "@tanstack/preact-query";
//#region src/api/taxClassification/useTaxClassification.ts
var getTaxClassification = async (legalEntityId, baseUrl) => {
	return httpGet({
		baseUrl,
		path: `legalEntities/${legalEntityId}/taxclassification`
	});
};
/**
* @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
*/
var useTaxClassification = (options) => {
	const { rootLegalEntityId, baseUrl } = useApiContext();
	return useQuery({
		queryKey: ["taxClassification"],
		queryFn: () => getTaxClassification(rootLegalEntityId.value, baseUrl.value),
		...options
	});
};
//#endregion
//#region src/components/EFP/tasks/TaxReportingDropin/taxClassificationStore.ts
var taxClassificationErrorMessage = signal(void 0);
var setTaxClassificationErrorMessage = (message) => {
	taxClassificationErrorMessage.value = message;
};
var clearTaxClassificationErrorMessage = () => {
	taxClassificationErrorMessage.value = void 0;
};
var TaxReporting_module_default = {
	"tax-reporting-dropin": "adyen-kyc-tax-reporting-dropin",
	taxReportingDropin: "adyen-kyc-tax-reporting-dropin",
	"text-center": "adyen-kyc-text-center",
	textCenter: "adyen-kyc-text-center",
	"radio-caption": "adyen-kyc-radio-caption",
	radioCaption: "adyen-kyc-radio-caption",
	"tax-reporting-dropin-getting-started": "adyen-kyc-tax-reporting-dropin-getting-started",
	taxReportingDropinGettingStarted: "adyen-kyc-tax-reporting-dropin-getting-started",
	"tax-reporting-dropin-getting-started-awe": "adyen-kyc-tax-reporting-dropin-getting-started-awe",
	taxReportingDropinGettingStartedAwe: "adyen-kyc-tax-reporting-dropin-getting-started-awe",
	"tax-reporting-dropin-form-container": "adyen-kyc-tax-reporting-dropin-form-container",
	taxReportingDropinFormContainer: "adyen-kyc-tax-reporting-dropin-form-container",
	subtitle: "adyen-kyc-subtitle",
	summary: "adyen-kyc-summary",
	"summary-tax-status-card--header": "adyen-kyc-summary-tax-status-card--header",
	summaryTaxStatusCardHeader: "adyen-kyc-summary-tax-status-card--header",
	"summary-tax-status-card--body": "adyen-kyc-summary-tax-status-card--body",
	summaryTaxStatusCardBody: "adyen-kyc-summary-tax-status-card--body"
};
//#endregion
//#region src/components/EFP/tasks/TaxReportingDropin/utils.tsx
var taxReportingForms = { taxClassification: {
	formId: "taxClassification",
	formName: "chooseATaxReportingClassificationOption",
	fields: ["type"]
} };
var taxReportingRequiredFields = { taxClassification: ["type"] };
var taxReportingOptions = {
	nonFinancialActive: "yourBusinessReceivesTheMajorityOfItsIncomeThroughActiveIncome",
	nonFinancialPassive: "yourBusinessGeneratesMoreThanHalfOfItsRevenueAsPassiveIncome",
	nonFinancialNonReportable: "yourBusinessIsAPublicListedEntity",
	financialNonReportable: "yourBusinessIsAFinancialInstitution"
};
var getTaxStatusSummary = (t, taxReportingClassification) => {
	const taxStatusDescription = taxReportingClassification?.taxClassification?.type ? taxReportingClassification.taxClassification.type : void 0;
	return taxStatusDescription ? [{
		term: t(($) => $["status"]),
		details: t(($) => $[taxStatusDescription])
	}, {
		term: t(($) => $["description"]),
		details: t(($) => $[taxReportingOptions[taxStatusDescription]])
	}] : [];
};
var getTaxOptionsRadioItems = (t, taxRecommendationData, taxReportingClassification) => {
	const businessType = taxRecommendationData?.businessType;
	const allowedTaxReportingOptionKeys = getSupportedTaxClassificationTypes(businessType).filter((key) => key in taxReportingOptions);
	const taxOptionsWithoutRecommendationKeys = allowedTaxReportingOptionKeys.filter((key) => key !== taxRecommendationData?.type);
	return (taxRecommendationData?.type && !taxReportingClassification?.type ? taxOptionsWithoutRecommendationKeys : allowedTaxReportingOptionKeys).map((key) => {
		const value = taxReportingOptions[key];
		return {
			id: key,
			name: t(($) => $[key]),
			content: /* @__PURE__ */ jsx(Typography, {
				variant: "body",
				color: "secondary",
				className: TaxReporting_module_default.radioCaption,
				children: t(($) => $[value])
			})
		};
	});
};
var getRecommendedTaxOptionsRadioItems = (t, showRecommendation, taxRecommendationData) => {
	const taxRecommendationType = taxRecommendationData?.type ? taxRecommendationData.type : void 0;
	return showRecommendation && taxRecommendationType ? [{
		id: taxRecommendationType,
		name: t(($) => $[taxRecommendationType]),
		content: /* @__PURE__ */ jsx(Typography, {
			variant: "body",
			color: "secondary",
			className: TaxReporting_module_default.radioCaption,
			children: t(($) => $[taxReportingOptions[taxRecommendationType]])
		})
	}] : [];
};
var getSupportedTaxClassificationTypes = (businessType) => {
	const publicCompanyTypes = [
		"listedPublicCompany",
		"subsidiaryOfListedPublicCompany",
		"governmentalOrganization",
		"internationalOrganization"
	];
	if (!businessType) return [];
	if (publicCompanyTypes.includes(businessType)) return ["nonFinancialNonReportable"];
	if (businessType === "financialInstitution") return ["financialNonReportable"];
	else if (businessType === "other") return ["nonFinancialActive", "nonFinancialPassive"];
	else return [];
};
//#endregion
//#region src/components/EFP/tasks/TaxReportingDropin/TaxReportingClassificationForm.tsx
function TaxReportingClassificationForm({ data, taxReportingClassification, taxRecommendationData, errors }) {
	const { t: taxReportingT } = useTranslation("taxReporting");
	const { t: commonT } = useTranslation("common");
	const { form } = useFormContext();
	const { handleChangeFor } = form;
	const showRecommendation = taxRecommendationData?.type && !taxReportingClassification?.type;
	const taxOptionsRadioItems = getTaxOptionsRadioItems(taxReportingT, taxRecommendationData, taxReportingClassification);
	const recommendedTaxOptionRadioItems = getRecommendedTaxOptionsRadioItems(taxReportingT, showRecommendation, taxRecommendationData);
	const handleFieldChange = (fieldName, mode) => handleChangeFor(fieldName, "taxClassification", mode);
	const typeErrorMessage = errors?.type?.errorMessage;
	return /* @__PURE__ */ jsxs("form", { children: [
		/* @__PURE__ */ jsx(Header, {
			title: taxReportingT(($) => $["taxStatusSelfCertification"]),
			children: /* @__PURE__ */ jsx(Trans, {
				slot: "description",
				t: commonT,
				i18nKey: ($) => $["chooseTheTaxStatusWhichBestRepresentsYourBusiness"],
				components: {
					el1: /* @__PURE__ */ jsx(Link, {
						inline: true,
						external: true,
						href: "https://www.irs.gov/businesses/corporations/foreign-account-tax-compliance-act-fatca#:~:text=The%20Foreign%20Account%20Tax%20Compliance,to%20withholding%20on%20withholdable%20payments.",
						children: "text"
					}),
					el2: /* @__PURE__ */ jsx(Link, {
						inline: true,
						external: true,
						href: "https://www.oecd.org/en/publications/standard-for-automatic-exchange-of-financial-account-information-in-tax-matters-second-edition_9789264267992-en.html",
						children: "text"
					})
				}
			})
		}),
		typeErrorMessage && /* @__PURE__ */ jsx(Alert, {
			variant: "error",
			title: commonT(($) => $[typeErrorMessage])
		}),
		showRecommendation ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
			/* @__PURE__ */ jsx(Typography, {
				variant: "body-stronger",
				children: taxReportingT(($) => $["recommendedForYourBusiness"])
			}),
			/* @__PURE__ */ jsx(Field, {
				el: "fieldset",
				name: "type",
				children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
					...childProps,
					name: "type",
					items: recommendedTaxOptionRadioItems,
					value: data?.type,
					onChange: handleFieldChange("type", "input")
				})
			}),
			taxOptionsRadioItems.length ? /* @__PURE__ */ jsx(Typography, {
				variant: "body-stronger",
				children: commonT(($) => $[taxOptionsRadioItems.length === 1 ? "other" : "otherOptions"])
			}) : null
		] }) : null,
		/* @__PURE__ */ jsx(Field, {
			el: "fieldset",
			name: "type",
			children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
				...childProps,
				name: "type",
				items: taxOptionsRadioItems,
				value: data?.type,
				onChange: handleFieldChange("type", "input")
			})
		})
	] });
}
//#endregion
//#region src/components/EFP/tasks/TaxReportingDropin/TaxReporting.tsx
var taxClassificationFormID = taxReportingForms.taxClassification.formId;
function TaxReporting(props) {
	const { form } = useFormContext();
	const { errors, valid, fieldProblems: fieldValidationErrors } = form;
	const { activeForm: propActiveForm, taxReportingClassification, taxRecommendationData } = props;
	const classificationFormProps = getFormProps(props, taxClassificationFormID);
	const renderActiveForm = (activeForm) => /* @__PURE__ */ jsx(Fragment$1, { children: activeForm?.formId === taxClassificationFormID && /* @__PURE__ */ jsx("div", {
		className: TaxReporting_module_default.taxReportingDropinFormContainer,
		children: /* @__PURE__ */ jsx(TaxReportingClassificationForm, {
			...classificationFormProps,
			taxReportingClassification,
			taxRecommendationData,
			errors: errors?.taxClassification,
			valid: valid?.taxClassification,
			fieldValidationErrors: fieldValidationErrors?.taxClassification
		})
	}) });
	return /* @__PURE__ */ jsxs("div", { children: [taxClassificationErrorMessage.value && /* @__PURE__ */ jsxs(Typography, {
		variant: "caption",
		color: "critical",
		"aria-live": "polite",
		className: "u-justify-content-center u-display-flex",
		children: [
			/* @__PURE__ */ jsx(Icon, { name: "field-error" }),
			" ",
			/* @__PURE__ */ jsx("div", { children: taxClassificationErrorMessage.value })
		]
	}), renderActiveForm(propActiveForm)] });
}
//#endregion
//#region src/components/EFP/tasks/TaxReportingDropin/TaxReportingGettingStarted.tsx
var usCheckAccount = lazy(() => import("./tax-reporting-graph-368jm2t2.js"));
var TaxReportingGettingStarted = ({ handleToggleFormVisible, handleCancelClick, taxReportingClassification, asAwe }) => {
	const { t: taxReportingT } = useTranslation("taxReporting");
	const { t: commonT } = useTranslation("common");
	const { data: taskStatusResponse } = useTaskStatus(TaskTypes.TAX_REPORTING, { refetchInterval: TASK_STATUS_POLLING_INTERVAL_MS });
	const hasTaxReportingClassification = !isEmpty$1(taxReportingClassification?.taxClassification?.type);
	const taxStatusSummary = getTaxStatusSummary(taxReportingT, taxReportingClassification);
	return /* @__PURE__ */ jsxs("div", {
		className: asAwe ? TaxReporting_module_default.taxReportingDropinGettingStartedAwe : TaxReporting_module_default.taxReportingDropinGettingStarted,
		children: [!hasTaxReportingClassification && /* @__PURE__ */ jsx(LandingLayout, {
			media: /* @__PURE__ */ jsx(Image, { lazyLoadedImage: usCheckAccount }),
			title: taxReportingT(($) => $["taxStatusSelfCertification"]),
			description: taxReportingT(($) => $["toUnderstandIfYourBankAccountDetailsAreReportable"]),
			actions: /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Button, {
				fullWidth: true,
				onClick: handleToggleFormVisible,
				children: commonT(($) => $["getStarted"])
			}), handleCancelClick && /* @__PURE__ */ jsx(Button, {
				variant: "tertiary",
				onClick: handleCancelClick,
				fullWidth: true,
				children: commonT(($) => $["backToTaskList"])
			})] })
		}), hasTaxReportingClassification && /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx(Header, {
			title: taxReportingT(($) => $["selfCertifiedTaxStatus"]),
			description: taxReportingT(($) => $["noFurtherActionOrRecertificationIsNeeded"]),
			status: asAwe ? void 0 : taskStatusResponse?.status,
			align: "center"
		}), /* @__PURE__ */ jsx("div", {
			className: TaxReporting_module_default.summary,
			children: /* @__PURE__ */ jsxs(Card, {
				variant: "secondary",
				children: [/* @__PURE__ */ jsxs("div", {
					className: TaxReporting_module_default.summaryTaxStatusCardHeader,
					children: [/* @__PURE__ */ jsx(Typography, {
						el: "h3",
						variant: "title",
						children: taxReportingT(($) => $["taxStatus"])
					}), /* @__PURE__ */ jsx(IconButton, {
						ariaLabel: "edit",
						icon: "edit",
						onClick: handleToggleFormVisible,
						variant: "tertiary"
					})]
				}), /* @__PURE__ */ jsx("div", {
					className: TaxReporting_module_default.summaryTaxStatusCardBody,
					children: /* @__PURE__ */ jsx(StructuredList, {
						className: TaxReporting_module_default.summaryTaxStatusCardDescription,
						items: taxStatusSummary
					})
				})]
			})
		})] }), handleCancelClick && /* @__PURE__ */ jsx(Button, {
			variant: "secondary",
			testId: "source-of-funds-getting-return-button",
			onClick: handleCancelClick,
			children: commonT(($) => $["backToTaskList"])
		})] })]
	});
};
//#endregion
//#region src/components/EFP/tasks/TaxReportingDropin/validate.ts
var taxReportingTypeValidations = { type: {
	modes: ["blur"],
	validate: (type) => !isEmpty(type),
	errorMessage: "chooseATaxStatusOptionToContinue"
} };
//#endregion
//#region src/components/EFP/tasks/TaxReportingDropin/TaxReportingDropin.tsx
var TaxReportingDropin_exports = /* @__PURE__ */ __exportAll({ TaxReportingDropin: () => TaxReportingDropin });
var logger = createLogger();
function TaxReportingDropin({ problems, handleHomeClick, asAwe }) {
	const [loadingStatus, setLoadingStatus] = useState$1("success");
	const [formVisible, setFormVisible] = useState$1(false);
	const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
	const { i18n } = useTranslation();
	const { t: taxReportingT } = useTranslation("taxReporting");
	addResourceBundles(i18n, [{
		ns: "taxReporting",
		importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
			"./language/bg-BG.json": () => import("./bg-BG-B9ABjZUx2.js"),
			"./language/cs-CZ.json": () => import("./cs-CZ-D6VNEZ622.js"),
			"./language/da-DK.json": () => import("./da-DK-CcLM8SA22.js"),
			"./language/de-DE.json": () => import("./de-DE-reMh5NmX2.js"),
			"./language/el-GR.json": () => import("./el-GR-gJ0IppFC2.js"),
			"./language/en-US.json": () => import("./en-US-DETk-gjx2.js"),
			"./language/es-ES.json": () => import("./es-ES-YXUkD4Em2.js"),
			"./language/et-EE.json": () => import("./et-EE-DZhr4TrQ2.js"),
			"./language/fi-FI.json": () => import("./fi-FI-C8sI9IhQ2.js"),
			"./language/fr-FR.json": () => import("./fr-FR-BvOYNtjw2.js"),
			"./language/hr-HR.json": () => import("./hr-HR-eX7nJfwF2.js"),
			"./language/hu-HU.json": () => import("./hu-HU-Cy7itqJL2.js"),
			"./language/it-IT.json": () => import("./it-IT-H3GQLOjf2.js"),
			"./language/ja-JP.json": () => import("./ja-JP-DhImuhRM2.js"),
			"./language/lt-LT.json": () => import("./lt-LT-D2-X0BmC2.js"),
			"./language/lv-LV.json": () => import("./lv-LV-ChlCGeIJ2.js"),
			"./language/nl-NL.json": () => import("./nl-NL-v-EVwcVy2.js"),
			"./language/no-NO.json": () => import("./no-NO-e0MZntB62.js"),
			"./language/pl-PL.json": () => import("./pl-PL-DjF-DV6q2.js"),
			"./language/pt-BR.json": () => import("./pt-BR-CjoezwB32.js"),
			"./language/pt-PT.json": () => import("./pt-PT-CJpshC902.js"),
			"./language/ro-RO.json": () => import("./ro-RO-DoVJzEzv2.js"),
			"./language/sk-SK.json": () => import("./sk-SK-CUBTdFYv2.js"),
			"./language/sl-SI.json": () => import("./sl-SI-BlsVauZ9.js"),
			"./language/sv-SE.json": () => import("./sv-SE-C-MkmGdq.js")
		}), `./language/${lang}.json`, 3)
	}]);
	const { data: taxRecommendationData, isLoading: isLoadingTaxRecommendationData } = useTaxClassification();
	const userEvents = useAnalyticsContext();
	const { data: legalEntityData, isLoading } = useLegalEntity(ROOT_LE);
	const { mutateAsync: updateLegalEntityMutation } = useUpdateLegalEntity();
	useEffect$1(() => {
		clearTaxClassificationErrorMessage();
	}, []);
	/**
	* Analytics
	*/
	useTaskLandedEvent("TAX_REPORTING");
	const taxReportingClassification = useMemo$1(() => ({ taxClassification: { type: legalEntityData?.organization?.taxReportingClassification?.type } }), [legalEntityData?.organization?.taxReportingClassification?.type]);
	const defaultData = useMemo$1(() => ({ ...taxReportingClassification }), [taxReportingClassification]);
	const form = useMultiForm({
		requiredFields: taxReportingRequiredFields,
		rules: { taxClassification: taxReportingTypeValidations },
		defaultData
	});
	const { data = taxReportingClassification, setData, triggerValidation } = form;
	useEffect$1(() => {
		if (!data?.taxClassification?.type && taxReportingClassification?.taxClassification?.type) {
			setData("type", taxReportingClassification?.taxClassification?.type, "taxClassification");
			(async () => {
				await triggerValidation("taxClassification");
			})().catch(() => console.error("Error triggering validation"));
		}
	}, [
		data?.taxClassification?.type,
		taxReportingClassification?.taxClassification?.type,
		setData,
		triggerValidation
	]);
	const forms = useMemo$1(() => {
		return addValidityToForms(getRequiredForms(taxReportingForms, taxReportingRequiredFields, void 0).filter((form) => form.formId !== "summary"), form.isValid, problems);
	}, [form.isValid, problems]);
	const handleSubmit = useCallback$1(async () => {
		if (!legalEntityData) return;
		setLoadingStatus("loading");
		const taxReportingPayload = {
			businessType: taxRecommendationData?.businessType,
			financialInstitutionNumber: taxRecommendationData?.financialInstitutionNumber,
			mainSourceOfIncome: taxRecommendationData?.mainSourceOfIncome,
			type: data?.taxClassification?.type
		};
		const legalEntityPayload = {
			id: legalEntityData.id,
			...legalEntityData?.organization && { organization: {
				...legalEntityData.organization,
				taxReportingClassification: taxReportingPayload
			} }
		};
		try {
			await updateLegalEntityMutation(legalEntityPayload);
			await invalidateRootLegalEntity();
			userEvents.addTaskEvent("Success", {
				actionType: "submit",
				returnValue: data?.taxClassification?.type
			});
			handleHomeClick?.();
			setFormVisible(false);
			gotoFormByFormIndex(0);
			setTaxClassificationErrorMessage("");
			setLoadingStatus("success");
		} catch (e) {
			setTaxClassificationErrorMessage(e?.message || taxReportingT(($) => $["errorUpdatingTaxClassification"]));
			logger.log("Error updating tax reporting dropin", e);
			setLoadingStatus("success");
		}
	}, [
		data,
		taxRecommendationData,
		legalEntityData,
		updateLegalEntityMutation
	]);
	const handleToggleFormVisible = () => {
		setFormVisible(!formVisible);
	};
	const { handleNextClick, activeForm, gotoFormByFormIndex, gotoFormByFormId, steps } = useFormComposer({
		problems,
		forms,
		onSubmit: handleSubmit
	});
	return /* @__PURE__ */ jsx("div", {
		className: TaxReporting_module_default.taxReportingDropin,
		children: isLoading || isLoadingTaxRecommendationData ? /* @__PURE__ */ jsx(Loader, {}) : /* @__PURE__ */ jsxs(Fragment$1, { children: [!formVisible && /* @__PURE__ */ jsx(TaxReportingGettingStarted, {
			asAwe,
			handleCancelClick: handleHomeClick,
			handleToggleFormVisible,
			taxReportingClassification,
			problems: legalEntityData?.problems
		}), formVisible && /* @__PURE__ */ jsx(FormContextProvider, {
			form,
			children: /* @__PURE__ */ jsx(FormFlow, {
				forms,
				activeForm,
				gotoFormByFormIndex,
				gotoFormByFormId,
				handleBackClick: handleToggleFormVisible,
				handleCancelClick: handleHomeClick,
				handleNextClick,
				loadingStatus,
				currentStep: steps.current,
				totalSteps: steps.total,
				children: /* @__PURE__ */ jsx(TaxReporting, {
					taxReportingClassification: taxReportingClassification?.taxClassification,
					taxRecommendationData,
					activeForm,
					data
				})
			})
		})] })
	});
}
//#endregion
export { TaxReportingDropin_exports as n, TaxReportingDropin as t };
