import{r as registerInstance,d as getElement}from"./index-67f7ec52.js";import{A as ActiveRouter}from"./active-router-2beca2cb.js";var RouteTitle=function(){function e(e){registerInstance(this,e);this.titleSuffix="";this.pageTitle=""}e.prototype.updateDocumentTitle=function(){var e=this.el;if(e.ownerDocument){e.ownerDocument.title=""+this.pageTitle+(this.titleSuffix||"")}};e.prototype.componentWillLoad=function(){this.updateDocumentTitle()};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{pageTitle:["updateDocumentTitle"]}},enumerable:false,configurable:true});return e}();ActiveRouter.injectProps(RouteTitle,["titleSuffix"]);export{RouteTitle as stencil_route_title};