import{r as t,c as o}from"./p-8e32a29b.js";const n=class{constructor(n){t(this,n),this.url="",this.ionRouteDataChanged=o(this,"ionRouteDataChanged",7)}onUpdate(t){this.ionRouteDataChanged.emit(t)}onComponentProps(t,o){if(t===o)return;const n=t?Object.keys(t):[],s=o?Object.keys(o):[];if(n.length===s.length){for(const s of n)if(t[s]!==o[s])return void this.onUpdate(t)}else this.onUpdate(t)}connectedCallback(){this.ionRouteDataChanged.emit()}static get watchers(){return{url:["onUpdate"],component:["onUpdate"],componentProps:["onComponentProps"]}}};export{n as ion_route};