// Copyright 2022-2025, University of Colorado Boulder
/**
 * Help section that explains how to use a keyboard to toggle play/pause and time controls.
 *
 * @author Jesse Greenberg (PhET Interactive Simulations)
 */
import { string_scenery_phet_keyboardHelpDialog_timingControls_timingControls_StringProperty } from '../../strings/keyboardHelpDialog/timingControls/timingControls.js';
import { string_scenery_phet_keyboardHelpDialog_timingControls_pauseOrPlayAction_StringProperty } from '../../strings/keyboardHelpDialog/timingControls/pauseOrPlayAction.js';
import { string_scenery_phet_a11y_keyboardHelpDialog_timingControls_pauseOrPlayActionDescription_StringProperty } from '../../strings/a11y/keyboardHelpDialog/timingControls/pauseOrPlayActionDescription.js';
import '../../../../globals.js';
import optionize from '../../../../phet-core/js/optionize.js';
import PlayControlButton from '../../buttons/PlayControlButton.js';
import KeyboardHelpSection from './KeyboardHelpSection.js';
import KeyboardHelpSectionRow from './KeyboardHelpSectionRow.js';
// constants
const timeControlsStringProperty = string_scenery_phet_keyboardHelpDialog_timingControls_timingControls_StringProperty;
const pauseOrPlayActionStringProperty = string_scenery_phet_keyboardHelpDialog_timingControls_pauseOrPlayAction_StringProperty;
const pauseOrPlayActionDescriptionStringProperty = string_scenery_phet_a11y_keyboardHelpDialog_timingControls_pauseOrPlayActionDescription_StringProperty;
class TimeControlsKeyboardHelpSection extends KeyboardHelpSection {
    constructor(providedOptions) {
        const options = optionize()({
            headingString: timeControlsStringProperty,
            pauseOrPlayActionStringProperty: pauseOrPlayActionStringProperty,
            pauseOrPlayActionDescriptionString: pauseOrPlayActionDescriptionStringProperty
        }, providedOptions);
        const playPauseRow = KeyboardHelpSectionRow.fromHotkeyData(PlayControlButton.TOGGLE_PLAY_HOTKEY_DATA, {
            labelStringProperty: options.pauseOrPlayActionStringProperty,
            pdomLabelStringProperty: options.pauseOrPlayActionDescriptionString
        });
        super(options.headingString, [playPauseRow], options);
    }
}
export default TimeControlsKeyboardHelpSection;
//# sourceMappingURL=TimeControlsKeyboardHelpSection.js.map