'use client';
"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: all[name]
    });
}
_export(exports, {
    sankeyChartClassNames: function() {
        return sankeyChartClassNames;
    },
    useSankeyChartStyles: function() {
        return useSankeyChartStyles;
    }
});
const _react = require("@griffel/react");
const sankeyChartClassNames = {
    root: 'fui-sc__root',
    nodes: 'fui-sc__nodes',
    links: 'fui-sc__links',
    nodeTextContainer: 'fui-sc__nodeTextContainer',
    toolTip: 'fui-sc__toolTip',
    chartWrapper: 'fui-sc__chartWrapper',
    chart: 'fui-sc__chart'
};
const useStyles = /*#__PURE__*/ (0, _react.__styles)({
    root: {
        Bahqtrf: "fk6fouc",
        Be2twd7: "fkhj508",
        Bhrd7zp: "figsok6",
        Bg96gwp: "f1i3iumi",
        mc9l5x: "f22iagw",
        a9b677: "fly5x3f",
        Bqenvij: "f1l02sjl",
        Beiy3e4: "f1vx9l62",
        B68tc82: 0,
        Bmxbyg5: 0,
        Bpg54ce: "f1a3p1vp",
        fsow6f: [
            "f1o700av",
            "fes3tcz"
        ]
    },
    links: {
        Bkfmm31: "f5q6cfr",
        Be5yapy: "fu2q8de",
        a6j6cd: "f14egcv9"
    },
    nodes: {
        Bkfmm31: "f1yc5x8p",
        a6j6cd: "f14egcv9"
    },
    toolTip: {
        Bahqtrf: "fk6fouc",
        Be2twd7: "fkhj508",
        Bhrd7zp: "figsok6",
        Bg96gwp: "f1i3iumi",
        mc9l5x: "f22iagw",
        Beiy3e4: "f1vx9l62",
        z8tnut: "f17mpqex",
        z189sj: [
            "f1vdfbxk",
            "f1f5gg8d"
        ],
        Byoj8tv: "fdvome7",
        uwmqm3: [
            "f1f5gg8d",
            "f1vdfbxk"
        ],
        qhf8xq: "f1euv43f",
        fsow6f: "f17mccla",
        Bhzewxz: "fr6rvge",
        De3pzq: "fxugw4r",
        Beyfa6y: 0,
        Bbmb7ep: 0,
        Btl43ni: 0,
        B7oj6ja: 0,
        Dimara: "fq9zq91",
        Bkecrkj: "f1aehjj5",
        sj55zd: "f19n0e5"
    },
    nodeTextContainer: {
        B3gqxw3: "fk6oafs",
        B6of3ja: "fvjh0tl",
        Frg6f3: [
            "ff9s3yw",
            "f1phki43"
        ],
        jrapky: "fd1gkq",
        t21cq0: [
            "f1phki43",
            "ff9s3yw"
        ]
    },
    chartWrapper: {
        B68tc82: 0,
        Bmxbyg5: 0,
        Bpg54ce: "f1enuhaj"
    },
    chart: {
        mc9l5x: "ftgm304"
    }
}, {
    d: [
        ".fk6fouc{font-family:var(--fontFamilyBase);}",
        ".fkhj508{font-size:var(--fontSizeBase300);}",
        ".figsok6{font-weight:var(--fontWeightRegular);}",
        ".f1i3iumi{line-height:var(--lineHeightBase300);}",
        ".f22iagw{display:flex;}",
        ".fly5x3f{width:100%;}",
        ".f1l02sjl{height:100%;}",
        ".f1vx9l62{flex-direction:column;}",
        [
            ".f1a3p1vp{overflow:hidden;}",
            {
                p: -1
            }
        ],
        ".f1o700av{text-align:left;}",
        ".fes3tcz{text-align:right;}",
        ".f5q6cfr{fill:var(--colorNeutralBackground1);}",
        ".fu2q8de{stroke-width:3px;}",
        ".f1yc5x8p{fill:#F5F5F5;}",
        ".f17mpqex{padding-top:var(--spacingHorizontalS);}",
        ".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",
        ".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",
        ".fdvome7{padding-bottom:var(--spacingHorizontalS);}",
        ".f1euv43f{position:absolute;}",
        ".f17mccla{text-align:center;}",
        ".fr6rvge{top:var(--spacingVerticalNone);}",
        ".fxugw4r{background-color:var(--colorNeutralBackground1);}",
        [
            ".fq9zq91{border-radius:var(--borderRadiusSmall);}",
            {
                p: -1
            }
        ],
        ".f1aehjj5{pointer-events:none;}",
        ".f19n0e5{color:var(--colorNeutralForeground1);}",
        ".fvjh0tl{margin-top:4px;}",
        ".ff9s3yw{margin-left:8px;}",
        ".f1phki43{margin-right:8px;}",
        ".fd1gkq{margin-bottom:4px;}",
        [
            ".f1enuhaj{overflow:auto;}",
            {
                p: -1
            }
        ],
        ".ftgm304{display:block;}"
    ],
    m: [
        [
            "@media screen and (-ms-high-contrast: active),screen and (forced-colors: active){.f14egcv9{fill:Canvas;}}",
            {
                m: "screen and (-ms-high-contrast: active), screen and (forced-colors: active)"
            }
        ],
        [
            "@media screen and (-ms-high-contrast: active),screen and (forced-colors: active){.fk6oafs text{fill:CanvasText;}}",
            {
                m: "screen and (-ms-high-contrast: active), screen and (forced-colors: active)"
            }
        ]
    ]
});
const useSankeyChartStyles = (props)=>{
    var _props_styles, _props_reflowProps, _props_styles1, _props_styles2;
    const baseStyles = useStyles();
    return {
        root: (0, _react.mergeClasses)(sankeyChartClassNames.root, baseStyles.root, (_props_styles = props.styles) === null || _props_styles === void 0 ? void 0 : _props_styles.root),
        nodes: (0, _react.mergeClasses)(sankeyChartClassNames.nodes, baseStyles.nodes /*, props.styles?.nodes*/ ),
        links: (0, _react.mergeClasses)(sankeyChartClassNames.links, baseStyles.links /*, props.styles?.links*/ ),
        nodeTextContainer: (0, _react.mergeClasses)(sankeyChartClassNames.nodeTextContainer, baseStyles.nodeTextContainer /*, props.styles?.nodeTextContainer*/ ),
        toolTip: (0, _react.mergeClasses)(sankeyChartClassNames.toolTip, baseStyles.toolTip /*, props.styles?.toolTip*/ ),
        chartWrapper: (0, _react.mergeClasses)(sankeyChartClassNames.chartWrapper, ((_props_reflowProps = props.reflowProps) === null || _props_reflowProps === void 0 ? void 0 : _props_reflowProps.mode) === 'min-width' ? baseStyles.chartWrapper : '', (_props_styles1 = props.styles) === null || _props_styles1 === void 0 ? void 0 : _props_styles1.chartWrapper),
        chart: (0, _react.mergeClasses)(sankeyChartClassNames.chart, baseStyles.chart, (_props_styles2 = props.styles) === null || _props_styles2 === void 0 ? void 0 : _props_styles2.chart)
    };
};
