'use client'
'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

require('@dynamic-labs-sdk/client/core');
require('@dynamic-labs/sdk-api-core');
require('../../../client/client.cjs');
require('react');
require('@dynamic-labs-sdk/client');
require('../../../config/ApiEndpoint.cjs');
require('@dynamic-labs/iconic');
require('@dynamic-labs/wallet-connector-core');
require('react/jsx-runtime');
require('../../../context/ViewContext/ViewContext.cjs');
require('../../../shared/logger.cjs');
require('@dynamic-labs/wallet-book');
require('@dynamic-labs/utils');
require('../../../utils/constants/colors.cjs');
require('../../../utils/constants/values.cjs');
require('../../../shared/consts/index.cjs');
require('../../../../../_virtual/_tslib.cjs');
require('@dynamic-labs/multi-wallet');
require('react-international-phone');
require('../../state/nonce/nonce.cjs');
require('@dynamic-labs/locale');
var dynamicContextProps = require('../../state/dynamicContextProps/dynamicContextProps.cjs');
require('../../state/primaryWalletId/primaryWalletId.cjs');
require('../../state/connectedWalletsInfo/connectedWalletsInfo.cjs');
require('../../../events/dynamicEvents.cjs');
var useProjectSettings = require('../../../client/extension/projectSettings/useProjectSettings/useProjectSettings.cjs');

const useDynamicSettingsValue = (projectSettingName, dynamicSettingName) => {
    var _a;
    const projectSettings = useProjectSettings.useProjectSettings();
    const dynamicSettings = dynamicContextProps.useDynamicSettings();
    return ((_a = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.general[projectSettingName]) !== null && _a !== void 0 ? _a : dynamicSettings[dynamicSettingName]);
};
const useAppName = () => useDynamicSettingsValue('displayName', 'appName');

exports.useAppName = useAppName;
