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] = "b3845990-a17e-473a-a3b9-c0733d5e999a", e._sentryDebugIdIdentifier = "sentry-dbid-b3845990-a17e-473a-a3b9-c0733d5e999a");
} catch (e) {}
import { n as addResourceBundles, r as useTranslation } from "./translation-Br5wIPO-.js";
import { r as Loader } from "./Button-BDEdGXnd.js";
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-Dm6g0wmt.js";
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-C6bSV6sB.js";
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-CCXvMgfE.js";
import { t as BusinessFinancingDropin } from "./BusinessFinancingDropin-VodFOFP9.js";
import { jsx } from "preact/jsx-runtime";
//#region src/components/EFP/pages/BusinessFinancingPage.tsx
var BusinessFinancingPage = ({ onSubmit, handleHomeClick }) => {
	const { i18n } = useTranslation();
	const { t: commonT } = useTranslation("common");
	const { data: rootLe } = useLegalEntity(ROOT_LE);
	addResourceBundles(i18n, [{
		ns: "businessFinancing",
		importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
			"../tasks/BusinessFinancingDropin/language/bg-BG.json": () => import("./bg-BG-D3gXF-6w2.js"),
			"../tasks/BusinessFinancingDropin/language/cs-CZ.json": () => import("./cs-CZ-C7QmQ2LT2.js"),
			"../tasks/BusinessFinancingDropin/language/da-DK.json": () => import("./da-DK-DAHcK0Md2.js"),
			"../tasks/BusinessFinancingDropin/language/de-DE.json": () => import("./de-DE-DUlvIvvj2.js"),
			"../tasks/BusinessFinancingDropin/language/el-GR.json": () => import("./el-GR-hquqlbpg2.js"),
			"../tasks/BusinessFinancingDropin/language/en-US.json": () => import("./en-US-BLuFDCyp2.js"),
			"../tasks/BusinessFinancingDropin/language/es-ES.json": () => import("./es-ES-DnmrjEd02.js"),
			"../tasks/BusinessFinancingDropin/language/et-EE.json": () => import("./et-EE-DXoF-AJ72.js"),
			"../tasks/BusinessFinancingDropin/language/fi-FI.json": () => import("./fi-FI-DIKQFczn2.js"),
			"../tasks/BusinessFinancingDropin/language/fr-FR.json": () => import("./fr-FR-D96p0pnI2.js"),
			"../tasks/BusinessFinancingDropin/language/hr-HR.json": () => import("./hr-HR-DNuly_NE2.js"),
			"../tasks/BusinessFinancingDropin/language/hu-HU.json": () => import("./hu-HU-UzZvIK5j.js"),
			"../tasks/BusinessFinancingDropin/language/it-IT.json": () => import("./it-IT-JgaaWuPW.js"),
			"../tasks/BusinessFinancingDropin/language/ja-JP.json": () => import("./ja-JP-CJ3GhLS6.js"),
			"../tasks/BusinessFinancingDropin/language/lt-LT.json": () => import("./lt-LT-i2HdquzD.js"),
			"../tasks/BusinessFinancingDropin/language/lv-LV.json": () => import("./lv-LV-ZQOBF-l7.js"),
			"../tasks/BusinessFinancingDropin/language/nl-NL.json": () => import("./nl-NL-DHNIfmgo.js"),
			"../tasks/BusinessFinancingDropin/language/no-NO.json": () => import("./no-NO-DkmYSpeK.js"),
			"../tasks/BusinessFinancingDropin/language/pl-PL.json": () => import("./pl-PL-Bkdj5z2L.js"),
			"../tasks/BusinessFinancingDropin/language/pt-BR.json": () => import("./pt-BR-DGIHaJzj.js"),
			"../tasks/BusinessFinancingDropin/language/pt-PT.json": () => import("./pt-PT-Cu2VcZdJ.js"),
			"../tasks/BusinessFinancingDropin/language/ro-RO.json": () => import("./ro-RO-pGnT9ywa.js"),
			"../tasks/BusinessFinancingDropin/language/sk-SK.json": () => import("./sk-SK-HLMucQBt.js"),
			"../tasks/BusinessFinancingDropin/language/sl-SI.json": () => import("./sl-SI-DyC9aHm4.js"),
			"../tasks/BusinessFinancingDropin/language/sv-SE.json": () => import("./sv-SE-xHYNkpLd.js")
		}), `../tasks/BusinessFinancingDropin/language/${lang}.json`, 5)
	}, {
		ns: "common",
		importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
			"../../../language/locales/bg-BG.json": () => import("./bg-BG-NwL6SZRu.js"),
			"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-BZkot6xs.js"),
			"../../../language/locales/da-DK.json": () => import("./da-DK-Bc6oX5Ct.js"),
			"../../../language/locales/de-DE.json": () => import("./de-DE-JZBqb8ce.js"),
			"../../../language/locales/el-GR.json": () => import("./el-GR-C8jFvyDg.js"),
			"../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-DlxMDbRu.js"),
			"../../../language/locales/en-US.json": () => import("./en-US-Cq6Cl6Yl.js"),
			"../../../language/locales/es-ES.json": () => import("./es-ES-mdSA-CIT.js"),
			"../../../language/locales/et-EE.json": () => import("./et-EE-B4ZMHksf.js"),
			"../../../language/locales/fi-FI.json": () => import("./fi-FI-koFpyMaq.js"),
			"../../../language/locales/fr-FR.json": () => import("./fr-FR-B0eVVc8V.js"),
			"../../../language/locales/hr-HR.json": () => import("./hr-HR-D_X-RNUl.js"),
			"../../../language/locales/hu-HU.json": () => import("./hu-HU-3FpAw9b1.js"),
			"../../../language/locales/it-IT.json": () => import("./it-IT-BgULENxX.js"),
			"../../../language/locales/ja-JP.json": () => import("./ja-JP-BT70_5Cd.js"),
			"../../../language/locales/lt-LT.json": () => import("./lt-LT-CKltvr9j.js"),
			"../../../language/locales/lv-LV.json": () => import("./lv-LV-DwsdNJrk.js"),
			"../../../language/locales/nl-NL.json": () => import("./nl-NL-CxlTSECX.js"),
			"../../../language/locales/no-NO.json": () => import("./no-NO-FtH9gIpv.js"),
			"../../../language/locales/pl-PL.json": () => import("./pl-PL-CK40GB3R.js"),
			"../../../language/locales/pt-BR.json": () => import("./pt-BR-zUBVM8_b.js"),
			"../../../language/locales/pt-PT.json": () => import("./pt-PT-CxnB9Jff.js"),
			"../../../language/locales/ro-RO.json": () => import("./ro-RO-Cuw1RmFc.js"),
			"../../../language/locales/sk-SK.json": () => import("./sk-SK-1i0L4zIs.js"),
			"../../../language/locales/sl-SI.json": () => import("./sl-SI-D3zK3MPP.js"),
			"../../../language/locales/sv-SE.json": () => import("./sv-SE-CVRa-6Y0.js")
		}), `../../../language/locales/${lang}.json`, 6)
	}]);
	if (!rootLe) return /* @__PURE__ */ jsx(Loader, {});
	return /* @__PURE__ */ jsx(BusinessFinancingDropin, {
		country: getLegalEntityCountry(rootLe),
		rootLegalEntity: rootLe,
		externalOnSubmit: onSubmit,
		handleHomeClick,
		externalOnSubmitLabel: commonT(($) => $["backToTaskList"])
	});
};
//#endregion
export { BusinessFinancingPage };
