/*---------------------------------------------------------------------------------------------
 * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
 * See LICENSE.md in the project root for license terms and full copyright notice.
 *--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
 * @module Utilities
 */
import { SafeAreaInsets } from "../../safearea/SafeAreaInsets.js";
/** @internal */
export class SafeAreaInsetsHelpers {
    static isBottom(flags) {
        return SafeAreaInsets.Bottom.valueOf() === (flags & SafeAreaInsets.Bottom);
    }
    static isLeft(flags) {
        return SafeAreaInsets.Left.valueOf() === (flags & SafeAreaInsets.Left);
    }
    static isRight(flags) {
        return SafeAreaInsets.Right.valueOf() === (flags & SafeAreaInsets.Right);
    }
    static isTop(flags) {
        return SafeAreaInsets.Top.valueOf() === (flags & SafeAreaInsets.Top);
    }
    static getCssClassNames = (flags) => {
        return {
            "nz-safe-area-bottom": SafeAreaInsetsHelpers.isBottom(flags),
            "nz-safe-area-left": SafeAreaInsetsHelpers.isLeft(flags),
            "nz-safe-area-right": SafeAreaInsetsHelpers.isRight(flags),
            "nz-safe-area-top": SafeAreaInsetsHelpers.isTop(flags),
        };
    };
}
//# sourceMappingURL=SafeAreaInsets.js.map