import { SvelteComponentTyped } from "svelte"; /** * Computes the depth of a tree leaf node relative to