{"size": 304, "ext": "js", "max_stars_repo_path": "app/unbundled-webcomponents/app/dist/build/es6/node_modules/@vaadin/router/src/documentation/web-component-interface.js", "max_stars_repo_name": "reyes-edwin/Hax11ty", "max_stars_repo_stars_event_min_datetime": "2019-03-31T02:57:01.000Z", "max_stars_repo_stars_event_max_datetime": "2021-11-17T10:49:02.000Z", "max_issues_repo_path": "app/unbundled-webcomponents/app/dist/build/es6/node_modules/@vaadin/router/src/documentation/web-component-interface.js", "max_issues_repo_name": "reyes-edwin/Hax11ty", "max_issues_repo_issues_event_min_datetime": "2019-03-13T18:08:53.000Z", "max_issues_repo_issues_event_max_datetime": "2021-12-22T10:57:55.000Z", "max_forks_repo_path": "app/unbundled-webcomponents/app/dist/build/es6/node_modules/@vaadin/router/src/documentation/web-component-interface.js", "max_forks_repo_name": "reyes-edwin/Hax11ty", "max_forks_repo_forks_event_min_datetime": "2019-03-13T17:49:12.000Z", "max_forks_repo_forks_event_max_datetime": "2022-01-15T20:50:55.000Z"}
{"max_stars_count": 111, "max_issues_count": 453, "max_forks_count": 43, "avg_line_length": 304.0, "max_line_length": 304, "alphanum_fraction": 0.8059210526}
export class WebComponentInterface{onBeforeLeave(e,t,n){if(this.hasUnfinishedChanges())return t.prevent()}onBeforeEnter(e,t,n){if("admin"===context.params.userName)return context.redirect(context.pathname+"?admin")}onAfterLeave(e,t,n){storeTimeSpentOnTheView()}onAfterEnter(e,t,n){sendVisitStatistics()}}