import { YTNode } from '../helpers.js';
import { Parser } from '../index.js';
import ClipSection from './ClipSection.js';
import ContinuationItem from './ContinuationItem.js';
import EngagementPanelTitleHeader from './EngagementPanelTitleHeader.js';
import MacroMarkersList from './MacroMarkersList.js';
import PlaylistCollaborationView from './PlaylistCollaborationView.js';
import ProductList from './ProductList.js';
import SectionList from './SectionList.js';
import StructuredDescriptionContent from './StructuredDescriptionContent.js';
import VideoAttributeView from './VideoAttributeView.js';
export default class EngagementPanelSectionList extends YTNode {
    static type = 'EngagementPanelSectionList';
    header;
    content;
    target_id;
    panel_identifier;
    identifier;
    visibility;
    constructor(data) {
        super();
        this.header = Parser.parseItem(data.header, EngagementPanelTitleHeader);
        this.content = Parser.parseItem(data.content, [
            PlaylistCollaborationView, VideoAttributeView, SectionList,
            ContinuationItem, ClipSection, StructuredDescriptionContent,
            MacroMarkersList, ProductList
        ]);
        this.panel_identifier = data.panelIdentifier;
        if ('identifier' in data) {
            this.identifier = {
                surface: data.identifier.surface,
                tag: data.identifier.tag
            };
        }
        this.target_id = data.targetId;
        this.visibility = data.visibility;
    }
}
//# sourceMappingURL=EngagementPanelSectionList.js.map