        }
                    };

                Object.defineProperties(viewModel, props);

                viewModel.hoveringSubscription = viewModel.hovering.subscribe(function (newValue) {
                    clearTimeout(hoverTimer);
                    if (newValue) {
                        hoverTimer = setTimeout(function () {
                            viewModel.isHovering(true);
                        }, HOVER_DELAY);
                    } else {
                        viewModel.isHovering(false);
                    }
                });
            }
        };
    });