window.wpj = window.wpj || <Wpj>{};

import '@assets/components/app-shared.ts';
// entrypoint pro ComponentsBundle
import '@assets/components/basePath.ts';

require('@twig/scss/base.scss');

require('WpjComponentLoader.ts!?entrypoint=base');
require('WpjComponentLoader.ts!?entrypoint=lazy');

import '@assets/components/bootstrap.ts';

// Support Test
const supportsContainerQueries = "container" in document.documentElement.style;

// Conditional Import
if (!supportsContainerQueries) {
   // TODO: jak na dynamic import v TS?? import("container-query-polyfill");
}

// require('@assets/js/wpj.tracking.js');

import("@assets/components/wpj.modal");
import("@assets/components/tooltips");
import("@assets/components/photoswipe");

require('@static/wpj/wpj.blocekRuntime.ts');
