import { jsx as _jsx } from "react/jsx-runtime";
import TextBase from "../../../text";
export const Link = (props) => {
    return (_jsx("li", { children: _jsx("a", { href: props.href, target: props.blank ? "_blank" : "_self", onClick: props.onClick, children: _jsx(TextBase.F2, { as: "span", children: props.text }) }) }));
};
export const trackEvent = window?.gtag ??
    ((...args) => {
        if (typeof window !== "undefined") {
            if (window.dataLayer === "undefined") {
                window.dataLayer = [];
            }
            window.dataLayer.push(args);
        }
    });
//# sourceMappingURL=index.js.map