Path 1: 1 calls (0.5)

Console (1)

ConsoleOptions (1)

Text (1) None (1)

1def __rich_console__(
2        self, console: Console, options: ConsoleOptions
3    ) -> RenderResult:
4        link_style = Style(link=self.link or self.destination or None)
5        title = self.text or Text(self.destination.strip("/").rsplit("/", 1)[-1])
6        if self.hyperlinks:
7            title.stylize(link_style)
8        yield Text.assemble("🌆 ", title, " ", end="")
            

Path 2: 1 calls (0.5)

Console (1)

ConsoleOptions (1)

Text (1) None (1)

1def __rich_console__(
2        self, console: Console, options: ConsoleOptions
3    ) -> RenderResult:
4        link_style = Style(link=self.link or self.destination or None)
5        title = self.text or Text(self.destination.strip("/").rsplit("/", 1)[-1])
6        if self.hyperlinks:
7            title.stylize(link_style)
8        yield Text.assemble("🌆 ", title, " ", end="")