;
{
  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] = "d241d6a4-5c43-454d-8246-e067985c92d8", e._sentryDebugIdIdentifier = "sentry-dbid-d241d6a4-5c43-454d-8246-e067985c92d8");
  } catch (e) {
  }
}
;
import { u as useTranslation, c as useLegalEntity, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CqQrndhS.js";
import { jsx } from "preact/jsx-runtime";
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-Cj8pyTlQ.js";
const BusinessFinancingPage = ({
  onSubmit,
  handleHomeClick
}) => {
  const { i18n } = useTranslation();
  const { t: commonT } = useTranslation("common");
  const { data: rootLe } = useLegalEntity(ROOT_LE);
  addResourceBundles(i18n, [
    {
      ns: "businessFinancing",
      importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../tasks/BusinessFinancingDropin/language/bg-BG.json": () => import("./bg-BG-wVquMNtT.js"), "../tasks/BusinessFinancingDropin/language/cs-CZ.json": () => import("./cs-CZ--jOkoHVS.js"), "../tasks/BusinessFinancingDropin/language/da-DK.json": () => import("./da-DK-JHZnsI59.js"), "../tasks/BusinessFinancingDropin/language/de-DE.json": () => import("./de-DE-VGGEkxUT.js"), "../tasks/BusinessFinancingDropin/language/el-GR.json": () => import("./el-GR-gkaKwnln.js"), "../tasks/BusinessFinancingDropin/language/en-US.json": () => import("./en-US-D1sB335h.js"), "../tasks/BusinessFinancingDropin/language/es-ES.json": () => import("./es-ES-Bn9_0wK0.js"), "../tasks/BusinessFinancingDropin/language/et-EE.json": () => import("./et-EE-BYSnV6Iq.js"), "../tasks/BusinessFinancingDropin/language/fi-FI.json": () => import("./fi-FI-PVFqd5Ra.js"), "../tasks/BusinessFinancingDropin/language/fr-FR.json": () => import("./fr-FR-mJK4hjwD.js"), "../tasks/BusinessFinancingDropin/language/hr-HR.json": () => import("./hr-HR-qmYyO-nT.js"), "../tasks/BusinessFinancingDropin/language/hu-HU.json": () => import("./hu-HU-CS-7iNS4.js"), "../tasks/BusinessFinancingDropin/language/it-IT.json": () => import("./it-IT-BTWkWSJq.js"), "../tasks/BusinessFinancingDropin/language/ja-JP.json": () => import("./ja-JP-CceCDXLB.js"), "../tasks/BusinessFinancingDropin/language/lt-LT.json": () => import("./lt-LT-B6XmKUXx.js"), "../tasks/BusinessFinancingDropin/language/lv-LV.json": () => import("./lv-LV-DsSpy50n.js"), "../tasks/BusinessFinancingDropin/language/nl-NL.json": () => import("./nl-NL-CTf7zH4M.js"), "../tasks/BusinessFinancingDropin/language/no-NO.json": () => import("./no-NO-RfTK9KAV.js"), "../tasks/BusinessFinancingDropin/language/pl-PL.json": () => import("./pl-PL-Dy8qWH39.js"), "../tasks/BusinessFinancingDropin/language/pt-BR.json": () => import("./pt-BR-BbFJsIVX.js"), "../tasks/BusinessFinancingDropin/language/pt-PT.json": () => import("./pt-PT-B4F_5NWi.js"), "../tasks/BusinessFinancingDropin/language/ro-RO.json": () => import("./ro-RO-CICjAFys.js"), "../tasks/BusinessFinancingDropin/language/sk-SK.json": () => import("./sk-SK-BRd5TN22.js"), "../tasks/BusinessFinancingDropin/language/sl-SI.json": () => import("./sl-SI-D8dDckrW.js"), "../tasks/BusinessFinancingDropin/language/sv-SE.json": () => import("./sv-SE-DGpvVvWj.js") }), `../tasks/BusinessFinancingDropin/language/${lang}.json`, 5)
    },
    { ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-6XzbmxcW.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-C6vEQ8P9.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-DzcTI92X.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-dPfrbCii.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-Dazirlmt.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-CqQrndhS.js").then((n) => n.bF), "../../../language/locales/es-ES.json": () => import("./es-ES--IvNed_Q.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-CsTXSlnY.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BUixKfXH.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-BM-qNLci.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-BF74vdPD.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-DYhMVR_c.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-D63gRTDc.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-DL0IjTzn.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-BX8dOAzK.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-dA8yYdKe.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-KQ6bciOb.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-Ds3VioxT.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-BgbxWHGE.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-Ct4s4jXV.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-DBEsmXQX.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-C00Ig8CL.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-BbJWayDh.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-hxwQIw_i.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-0PQ-U1u6.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"])
    }
  );
};
export {
  BusinessFinancingPage
};
