"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.scene = exports.primaryUpdate = void 0;
var _select = require("./select");
/*
 * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
 * or more contributor license agreements. Licensed under the Elastic License
 * 2.0; you may not use this file except in compliance with the Elastic License
 * 2.0.
 */

// serves as reminder that we start with the state
// todo remove it as we add TS annotations (State)
const state = d => d;
const getScene = state => state.currentScene;
const scene = (0, _select.select)(getScene)(state);
exports.scene = scene;
const getPrimaryUpdate = state => state.primaryUpdate;
const primaryUpdate = (0, _select.select)(getPrimaryUpdate)(state);
exports.primaryUpdate = primaryUpdate;