import { cs } from "../utils/styles.js";
import vui from "../core/vui.js";
import { defaultLinkedInUrl } from "./footerTrademark.js";
import Footer from "./footer.js";
import { jsx } from "react/jsx-runtime";

//#region src/footer/applicationFooter.tsx
const ApplicationFooter = vui((props, ref) => {
	const { applicationLinks, applicationStaticItems = [], className, isDNV = false, linkedIn, ...rest } = props;
	const applicationSocialLinks = [];
	let localLinkedIn = "";
	if (isDNV) {
		applicationStaticItems.splice(0, applicationStaticItems.length);
		applicationSocialLinks.push({
			id: "linked-in",
			text: "LinkedIn",
			url: "https://www.linkedin.com/showcase/dnv-digital/"
		});
		applicationSocialLinks.push({
			id: "twitter",
			text: "Twitter",
			url: "https://twitter.com/DNV_Group"
		});
		applicationSocialLinks.push({
			id: "facebook",
			text: "FB",
			url: "https://www.facebook.com/dnvglsoftware"
		});
		applicationSocialLinks.push({
			id: "youtube",
			text: "Youtube",
			url: "https://www.youtube.com/user/DNVsoftware"
		});
		localLinkedIn = "https://www.linkedin.com/company/4411";
	} else {
		applicationStaticItems.splice(2, applicationStaticItems.length - 1);
		applicationSocialLinks.push({
			id: "linked-in",
			text: "LinkedIn",
			url: defaultLinkedInUrl
		});
		localLinkedIn = linkedIn || defaultLinkedInUrl;
	}
	return /* @__PURE__ */ jsx(Footer, {
		applicationLinks,
		applicationSocialLinks,
		applicationStaticItems,
		className: cs("vui-applicationFooter", isDNV ? "vui-applicationDNVFooter" : "vui-applicationVeracityFooter", className),
		isApplication: true,
		isDNV,
		isSlim: true,
		linkedIn: localLinkedIn,
		ref,
		variant: "developer",
		...rest
	});
});
ApplicationFooter.displayName = "ApplicationFooter";

//#endregion
export { ApplicationFooter as default };
globalThis.__vuiVersion__ = "4.0.1"
//# sourceMappingURL=applicationFooter.js.map