/*!
 * Copyright (c) 2026 Vertex Software LLC. All rights reserved.
 */
export function create(data = {}) {
    return {
        visibleSummary: data.visibleSummary,
        selectedVisibleSummary: data.selectedVisibleSummary,
    };
}
export function copySummaryIfInvalid(current, previous) {
    return isInvalid(current.scene.sceneViewSummary)
        ? current.copy({
            scene: current.scene.copy({
                sceneViewSummary: previous === null || previous === void 0 ? void 0 : previous.scene.sceneViewSummary,
            }),
        })
        : current;
}
function isInvalid(summary) {
    return summary.visibleSummary == null;
}
//# sourceMappingURL=sceneViewSummary.js.map
