(()=>{var _={init(){this.$watch("$store.route.path",e=>{Tetra.debug("Router path changed:",e),this.current_path!==e&&this.handleRouteChange(e)})},async handleRouteChange(e){this.current_path=e,await this._updateHtml()},__rootBind:{"@popstate.window":"handleRouteChange(window.location.pathname)","@tetra:navigate.window":"handleRouteChange($event.detail.path)"}};(()=>{let e={},t=[{name:"_refresh",endpoint:"/__tetra__call/"},{name:"_refresh",endpoint:"/__tetra__call/"}],a=["key"],n={app_name:"tetra",library_name:"default",component_name:"redirect"},r="tetra__default__redirect";window.document.addEventListener("alpine:init",()=>{Tetra.makeAlpineComponent(r,e,t,a,n)})})();(()=>{let e=_,t=[{name:"_refresh",endpoint:"/__tetra__call/"},{name:"navigate",endpoint:"/__tetra__call/"},{name:"_refresh",endpoint:"/__tetra__call/"}],a=["key","current_path","url_params"],n={app_name:"tetra",library_name:"default",component_name:"router"},r="tetra__default__router";window.document.addEventListener("alpine:init",()=>{Tetra.makeAlpineComponent(r,e,t,a,n)})})();})();
//# sourceMappingURL=tetra_default-WNP4H2OT.js.map
