Files
mermaid-live-editor/_app/immutable/nodes/2.fe8b84f2.js
T
2023-12-06 06:03:36 +00:00

2 lines
440 B
JavaScript

import{S as n,i as s,s as a,o as i}from"../chunks/index.b6d43b64.js";import{h as r}from"../chunks/singletons.fa4369b9.js";import{b as c}from"../chunks/paths.e6a1cd32.js";const l=r("goto");function m(e){return i(async()=>{const t=window.location.hash.split("/");let o="edit";t.length>2&&(o=`${t[1]}#${t[2]}`),await l(`${c}/${o}`,{replaceState:!0})}),[]}class f extends n{constructor(t){super(),s(this,t,m,null,a,{})}}export{f as component};