{"size": 418, "ext": "js", "max_stars_repo_path": "dist/enhancer.js", "max_stars_repo_name": "EloFran/vuepress-auth0", "max_stars_repo_stars_event_min_datetime": "2019-10-28T06:53:44.000Z", "max_stars_repo_stars_event_max_datetime": "2021-07-01T06:59:14.000Z", "max_issues_repo_path": "dist/enhancer.js", "max_issues_repo_name": "EloFran/vuepress-auth0", "max_issues_repo_issues_event_min_datetime": "2019-08-15T09:36:18.000Z", "max_issues_repo_issues_event_max_datetime": "2021-08-19T15:08:59.000Z", "max_forks_repo_path": "dist/enhancer.js", "max_forks_repo_name": "EloFran/vuepress-auth0", "max_forks_repo_forks_event_min_datetime": "2020-03-05T07:31:30.000Z", "max_forks_repo_forks_event_max_datetime": "2021-04-26T20:04:58.000Z"}
{"max_stars_count": 8, "max_issues_count": 6, "max_forks_count": 4, "avg_line_length": 38.0, "max_line_length": 111, "alphanum_fraction": 0.7129186603}
var OPTIONS = require('@dynamic/vuepress-auth0').OPTIONS;
import routeGuard from './routeGuard';
var enhancer = function (_a) {
    var Vue = _a.Vue, options = _a.options, router = _a.router, siteData = _a.siteData, isServer = _a.isServer;
    if (isServer)
        return;
    var beforeRouteHandler = routeGuard(OPTIONS, siteData, router, Vue);
    router.beforeEach(beforeRouteHandler);
};
export default enhancer;
