Amar-Aly commited on
Commit
a04bf31
·
verified ·
1 Parent(s): 6f9bfd7

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .cache/pip/http-v2/b/5/7/a/9/b57a93fe5f8c75cd00cfe703d012d39466ff7ca30bf44d13df4112f6 +0 -0
  2. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich-14.3.4.dist-info/licenses/LICENSE +19 -0
  3. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/__init__.py +177 -0
  4. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/__main__.py +245 -0
  5. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_emoji_codes.py +0 -0
  6. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_emoji_replace.py +31 -0
  7. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_export_format.py +76 -0
  8. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_extension.py +10 -0
  9. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_fileno.py +24 -0
  10. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_inspect.py +272 -0
  11. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_log_render.py +94 -0
  12. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_loop.py +43 -0
  13. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_null_file.py +69 -0
  14. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_palettes.py +309 -0
  15. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_pick.py +17 -0
  16. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_ratio.py +153 -0
  17. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_spinners.py +482 -0
  18. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_stack.py +16 -0
  19. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_timer.py +19 -0
  20. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode12-1-0.py +636 -0
  21. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode13-0-0.py +648 -0
  22. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode14-0-0.py +661 -0
  23. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode15-0-0.py +671 -0
  24. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode15-1-0.py +670 -0
  25. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode16-0-0.py +683 -0
  26. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode17-0-0.py +691 -0
  27. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode4-1-0.py +425 -0
  28. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode5-0-0.py +430 -0
  29. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode5-1-0.py +433 -0
  30. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode5-2-0.py +461 -0
  31. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode6-0-0.py +469 -0
  32. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode6-1-0.py +480 -0
  33. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode6-2-0.py +480 -0
  34. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode6-3-0.py +481 -0
  35. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode7-0-0.py +507 -0
  36. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode8-0-0.py +515 -0
  37. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode9-0-0.py +598 -0
  38. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_win32_console.py +661 -0
  39. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_windows.py +71 -0
  40. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_windows_renderer.py +56 -0
  41. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_wrap.py +93 -0
  42. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/abc.py +33 -0
  43. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/align.py +320 -0
  44. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/ansi.py +241 -0
  45. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/bar.py +93 -0
  46. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/box.py +474 -0
  47. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/cells.py +352 -0
  48. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/color.py +621 -0
  49. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/color_triplet.py +38 -0
  50. .cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/columns.py +187 -0
.cache/pip/http-v2/b/5/7/a/9/b57a93fe5f8c75cd00cfe703d012d39466ff7ca30bf44d13df4112f6 CHANGED
Binary files a/.cache/pip/http-v2/b/5/7/a/9/b57a93fe5f8c75cd00cfe703d012d39466ff7ca30bf44d13df4112f6 and b/.cache/pip/http-v2/b/5/7/a/9/b57a93fe5f8c75cd00cfe703d012d39466ff7ca30bf44d13df4112f6 differ
 
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich-14.3.4.dist-info/licenses/LICENSE ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright (c) 2020 Will McGugan
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/__init__.py ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Rich text and beautiful formatting in the terminal."""
2
+
3
+ import os
4
+ from typing import IO, TYPE_CHECKING, Any, Callable, Optional, Union
5
+
6
+ from ._extension import load_ipython_extension # noqa: F401
7
+
8
+ __all__ = ["get_console", "reconfigure", "print", "inspect", "print_json"]
9
+
10
+ if TYPE_CHECKING:
11
+ from .console import Console
12
+
13
+ # Global console used by alternative print
14
+ _console: Optional["Console"] = None
15
+
16
+ try:
17
+ _IMPORT_CWD = os.path.abspath(os.getcwd())
18
+ except FileNotFoundError:
19
+ # Can happen if the cwd has been deleted
20
+ _IMPORT_CWD = ""
21
+
22
+
23
+ def get_console() -> "Console":
24
+ """Get a global :class:`~rich.console.Console` instance. This function is used when Rich requires a Console,
25
+ and hasn't been explicitly given one.
26
+
27
+ Returns:
28
+ Console: A console instance.
29
+ """
30
+ global _console
31
+ if _console is None:
32
+ from .console import Console
33
+
34
+ _console = Console()
35
+
36
+ return _console
37
+
38
+
39
+ def reconfigure(*args: Any, **kwargs: Any) -> None:
40
+ """Reconfigures the global console by replacing it with another.
41
+
42
+ Args:
43
+ *args (Any): Positional arguments for the replacement :class:`~rich.console.Console`.
44
+ **kwargs (Any): Keyword arguments for the replacement :class:`~rich.console.Console`.
45
+ """
46
+ from rich.console import Console
47
+
48
+ new_console = Console(*args, **kwargs)
49
+ _console = get_console()
50
+ _console.__dict__ = new_console.__dict__
51
+
52
+
53
+ def print(
54
+ *objects: Any,
55
+ sep: str = " ",
56
+ end: str = "\n",
57
+ file: Optional[IO[str]] = None,
58
+ flush: bool = False,
59
+ ) -> None:
60
+ r"""Print object(s) supplied via positional arguments.
61
+ This function has an identical signature to the built-in print.
62
+ For more advanced features, see the :class:`~rich.console.Console` class.
63
+
64
+ Args:
65
+ sep (str, optional): Separator between printed objects. Defaults to " ".
66
+ end (str, optional): Character to write at end of output. Defaults to "\\n".
67
+ file (IO[str], optional): File to write to, or None for stdout. Defaults to None.
68
+ flush (bool, optional): Has no effect as Rich always flushes output. Defaults to False.
69
+
70
+ """
71
+ from .console import Console
72
+
73
+ write_console = get_console() if file is None else Console(file=file)
74
+ return write_console.print(*objects, sep=sep, end=end)
75
+
76
+
77
+ def print_json(
78
+ json: Optional[str] = None,
79
+ *,
80
+ data: Any = None,
81
+ indent: Union[None, int, str] = 2,
82
+ highlight: bool = True,
83
+ skip_keys: bool = False,
84
+ ensure_ascii: bool = False,
85
+ check_circular: bool = True,
86
+ allow_nan: bool = True,
87
+ default: Optional[Callable[[Any], Any]] = None,
88
+ sort_keys: bool = False,
89
+ ) -> None:
90
+ """Pretty prints JSON. Output will be valid JSON.
91
+
92
+ Args:
93
+ json (str): A string containing JSON.
94
+ data (Any): If json is not supplied, then encode this data.
95
+ indent (int, optional): Number of spaces to indent. Defaults to 2.
96
+ highlight (bool, optional): Enable highlighting of output: Defaults to True.
97
+ skip_keys (bool, optional): Skip keys not of a basic type. Defaults to False.
98
+ ensure_ascii (bool, optional): Escape all non-ascii characters. Defaults to False.
99
+ check_circular (bool, optional): Check for circular references. Defaults to True.
100
+ allow_nan (bool, optional): Allow NaN and Infinity values. Defaults to True.
101
+ default (Callable, optional): A callable that converts values that can not be encoded
102
+ in to something that can be JSON encoded. Defaults to None.
103
+ sort_keys (bool, optional): Sort dictionary keys. Defaults to False.
104
+ """
105
+
106
+ get_console().print_json(
107
+ json,
108
+ data=data,
109
+ indent=indent,
110
+ highlight=highlight,
111
+ skip_keys=skip_keys,
112
+ ensure_ascii=ensure_ascii,
113
+ check_circular=check_circular,
114
+ allow_nan=allow_nan,
115
+ default=default,
116
+ sort_keys=sort_keys,
117
+ )
118
+
119
+
120
+ def inspect(
121
+ obj: Any,
122
+ *,
123
+ console: Optional["Console"] = None,
124
+ title: Optional[str] = None,
125
+ help: bool = False,
126
+ methods: bool = False,
127
+ docs: bool = True,
128
+ private: bool = False,
129
+ dunder: bool = False,
130
+ sort: bool = True,
131
+ all: bool = False,
132
+ value: bool = True,
133
+ ) -> None:
134
+ """Inspect any Python object.
135
+
136
+ * inspect(<OBJECT>) to see summarized info.
137
+ * inspect(<OBJECT>, methods=True) to see methods.
138
+ * inspect(<OBJECT>, help=True) to see full (non-abbreviated) help.
139
+ * inspect(<OBJECT>, private=True) to see private attributes (single underscore).
140
+ * inspect(<OBJECT>, dunder=True) to see attributes beginning with double underscore.
141
+ * inspect(<OBJECT>, all=True) to see all attributes.
142
+
143
+ Args:
144
+ obj (Any): An object to inspect.
145
+ title (str, optional): Title to display over inspect result, or None use type. Defaults to None.
146
+ help (bool, optional): Show full help text rather than just first paragraph. Defaults to False.
147
+ methods (bool, optional): Enable inspection of callables. Defaults to False.
148
+ docs (bool, optional): Also render doc strings. Defaults to True.
149
+ private (bool, optional): Show private attributes (beginning with underscore). Defaults to False.
150
+ dunder (bool, optional): Show attributes starting with double underscore. Defaults to False.
151
+ sort (bool, optional): Sort attributes alphabetically, callables at the top, leading and trailing underscores ignored. Defaults to True.
152
+ all (bool, optional): Show all attributes. Defaults to False.
153
+ value (bool, optional): Pretty print value. Defaults to True.
154
+ """
155
+ _console = console or get_console()
156
+ from rich._inspect import Inspect
157
+
158
+ # Special case for inspect(inspect)
159
+ is_inspect = obj is inspect
160
+
161
+ _inspect = Inspect(
162
+ obj,
163
+ title=title,
164
+ help=is_inspect or help,
165
+ methods=is_inspect or methods,
166
+ docs=is_inspect or docs,
167
+ private=private,
168
+ dunder=dunder,
169
+ sort=sort,
170
+ all=all,
171
+ value=value,
172
+ )
173
+ _console.print(_inspect)
174
+
175
+
176
+ if __name__ == "__main__": # pragma: no cover
177
+ print("Hello, **World**")
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/__main__.py ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import colorsys
2
+ import io
3
+ from time import process_time
4
+
5
+ from rich import box
6
+ from rich.color import Color
7
+ from rich.console import Console, ConsoleOptions, Group, RenderableType, RenderResult
8
+ from rich.markdown import Markdown
9
+ from rich.measure import Measurement
10
+ from rich.pretty import Pretty
11
+ from rich.segment import Segment
12
+ from rich.style import Style
13
+ from rich.syntax import Syntax
14
+ from rich.table import Table
15
+ from rich.text import Text
16
+
17
+
18
+ class ColorBox:
19
+ def __rich_console__(
20
+ self, console: Console, options: ConsoleOptions
21
+ ) -> RenderResult:
22
+ for y in range(0, 5):
23
+ for x in range(options.max_width):
24
+ h = x / options.max_width
25
+ l = 0.1 + ((y / 5) * 0.7)
26
+ r1, g1, b1 = colorsys.hls_to_rgb(h, l, 1.0)
27
+ r2, g2, b2 = colorsys.hls_to_rgb(h, l + 0.7 / 10, 1.0)
28
+ bgcolor = Color.from_rgb(r1 * 255, g1 * 255, b1 * 255)
29
+ color = Color.from_rgb(r2 * 255, g2 * 255, b2 * 255)
30
+ yield Segment("▄", Style(color=color, bgcolor=bgcolor))
31
+ yield Segment.line()
32
+
33
+ def __rich_measure__(
34
+ self, console: "Console", options: ConsoleOptions
35
+ ) -> Measurement:
36
+ return Measurement(1, options.max_width)
37
+
38
+
39
+ def make_test_card() -> Table:
40
+ """Get a renderable that demonstrates a number of features."""
41
+ table = Table.grid(padding=1, pad_edge=True)
42
+ table.title = "Rich features"
43
+ table.add_column("Feature", no_wrap=True, justify="center", style="bold red")
44
+ table.add_column("Demonstration")
45
+
46
+ color_table = Table(
47
+ box=None,
48
+ expand=False,
49
+ show_header=False,
50
+ show_edge=False,
51
+ pad_edge=False,
52
+ )
53
+ color_table.add_row(
54
+ (
55
+ "✓ [bold green]4-bit color[/]\n"
56
+ "✓ [bold blue]8-bit color[/]\n"
57
+ "✓ [bold magenta]Truecolor (16.7 million)[/]\n"
58
+ "✓ [bold yellow]Dumb terminals[/]\n"
59
+ "✓ [bold cyan]Automatic color conversion"
60
+ ),
61
+ ColorBox(),
62
+ )
63
+
64
+ table.add_row("Colors", color_table)
65
+
66
+ table.add_row(
67
+ "Styles",
68
+ "All ansi styles: [bold]bold[/], [dim]dim[/], [italic]italic[/italic], [underline]underline[/], [strike]strikethrough[/], [reverse]reverse[/], and even [blink]blink[/].",
69
+ )
70
+
71
+ lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque in metus sed sapien ultricies pretium a at justo. Maecenas luctus velit et auctor maximus."
72
+ lorem_table = Table.grid(padding=1, collapse_padding=True)
73
+ lorem_table.pad_edge = False
74
+ lorem_table.add_row(
75
+ Text(lorem, justify="left", style="green"),
76
+ Text(lorem, justify="center", style="yellow"),
77
+ Text(lorem, justify="right", style="blue"),
78
+ Text(lorem, justify="full", style="red"),
79
+ )
80
+ table.add_row(
81
+ "Text",
82
+ Group(
83
+ Text.from_markup(
84
+ """Word wrap text. Justify [green]left[/], [yellow]center[/], [blue]right[/] or [red]full[/].\n"""
85
+ ),
86
+ lorem_table,
87
+ ),
88
+ )
89
+
90
+ def comparison(renderable1: RenderableType, renderable2: RenderableType) -> Table:
91
+ table = Table(show_header=False, pad_edge=False, box=None, expand=True)
92
+ table.add_column("1", ratio=1)
93
+ table.add_column("2", ratio=1)
94
+ table.add_row(renderable1, renderable2)
95
+ return table
96
+
97
+ table.add_row(
98
+ "Asian\nlanguage\nsupport",
99
+ ":flag_for_china: 该库支持中文,日文和韩文文本!\n:flag_for_japan: ライブラリは中国語、日本語、韓国語のテキストをサポートしています\n:flag_for_south_korea: 이 라이브러리는 중국어, 일본어 및 한국어 텍스트를 지원합니다",
100
+ )
101
+
102
+ markup_example = (
103
+ "[bold magenta]Rich[/] supports a simple [i]bbcode[/i]-like [b]markup[/b] for [yellow]color[/], [underline]style[/], and emoji! "
104
+ ":+1: :apple: :ant: :bear: :baguette_bread: :bus: "
105
+ )
106
+ table.add_row("Markup", markup_example)
107
+
108
+ example_table = Table(
109
+ show_edge=False,
110
+ show_header=True,
111
+ expand=False,
112
+ row_styles=["none", "dim"],
113
+ box=box.SIMPLE,
114
+ )
115
+ example_table.add_column("[green]Date", style="green", no_wrap=True)
116
+ example_table.add_column("[blue]Title", style="blue")
117
+ example_table.add_column(
118
+ "[cyan]Production Budget",
119
+ style="cyan",
120
+ justify="right",
121
+ no_wrap=True,
122
+ )
123
+ example_table.add_column(
124
+ "[magenta]Box Office",
125
+ style="magenta",
126
+ justify="right",
127
+ no_wrap=True,
128
+ )
129
+ example_table.add_row(
130
+ "Dec 20, 2019",
131
+ "Star Wars: The Rise of Skywalker",
132
+ "$275,000,000",
133
+ "$375,126,118",
134
+ )
135
+ example_table.add_row(
136
+ "May 25, 2018",
137
+ "[b]Solo[/]: A Star Wars Story",
138
+ "$275,000,000",
139
+ "$393,151,347",
140
+ )
141
+ example_table.add_row(
142
+ "Dec 15, 2017",
143
+ "Star Wars Ep. VIII: The Last Jedi",
144
+ "$262,000,000",
145
+ "[bold]$1,332,539,889[/bold]",
146
+ )
147
+ example_table.add_row(
148
+ "May 19, 1999",
149
+ "Star Wars Ep. [b]I[/b]: [i]The phantom Menace",
150
+ "$115,000,000",
151
+ "$1,027,044,677",
152
+ )
153
+
154
+ table.add_row("Tables", example_table)
155
+
156
+ code = '''\
157
+ def iter_last(values: Iterable[T]) -> Iterable[Tuple[bool, T]]:
158
+ """Iterate and generate a tuple with a flag for last value."""
159
+ iter_values = iter(values)
160
+ try:
161
+ previous_value = next(iter_values)
162
+ except StopIteration:
163
+ return
164
+ for value in iter_values:
165
+ yield False, previous_value
166
+ previous_value = value
167
+ yield True, previous_value'''
168
+
169
+ pretty_data = {
170
+ "foo": [
171
+ 3.1427,
172
+ (
173
+ "Paul Atreides",
174
+ "Vladimir Harkonnen",
175
+ "Thufir Hawat",
176
+ ),
177
+ ],
178
+ "atomic": (False, True, None),
179
+ }
180
+ table.add_row(
181
+ "Syntax\nhighlighting\n&\npretty\nprinting",
182
+ comparison(
183
+ Syntax(code, "python3", line_numbers=True, indent_guides=True),
184
+ Pretty(pretty_data, indent_guides=True),
185
+ ),
186
+ )
187
+
188
+ markdown_example = """\
189
+ # Markdown
190
+
191
+ Supports much of the *markdown* __syntax__!
192
+
193
+ - Headers
194
+ - Basic formatting: **bold**, *italic*, `code`
195
+ - Block quotes
196
+ - Lists, and more...
197
+ """
198
+ table.add_row(
199
+ "Markdown", comparison("[cyan]" + markdown_example, Markdown(markdown_example))
200
+ )
201
+
202
+ table.add_row(
203
+ "+more!",
204
+ """Progress bars, columns, styled logging handler, tracebacks, etc...""",
205
+ )
206
+ return table
207
+
208
+
209
+ if __name__ == "__main__": # pragma: no cover
210
+ from rich.panel import Panel
211
+
212
+ console = Console(
213
+ file=io.StringIO(),
214
+ force_terminal=True,
215
+ )
216
+ test_card = make_test_card()
217
+
218
+ # Print once to warm cache
219
+ start = process_time()
220
+ console.print(test_card)
221
+ pre_cache_taken = round((process_time() - start) * 1000.0, 1)
222
+
223
+ console.file = io.StringIO()
224
+
225
+ start = process_time()
226
+ console.print(test_card)
227
+ taken = round((process_time() - start) * 1000.0, 1)
228
+
229
+ c = Console(record=True)
230
+ c.print(test_card)
231
+
232
+ console = Console()
233
+ console.print(f"[dim]rendered in [not dim]{pre_cache_taken}ms[/] (cold cache)")
234
+ console.print(f"[dim]rendered in [not dim]{taken}ms[/] (warm cache)")
235
+ console.print()
236
+ console.print(
237
+ Panel(
238
+ "[b magenta]Hope you enjoy using Rich![/]\n\n"
239
+ "Consider sponsoring to ensure this project is maintained.\n\n"
240
+ "[cyan]https://github.com/sponsors/willmcgugan[/cyan]",
241
+ border_style="green",
242
+ title="Help ensure Rich is maintained",
243
+ padding=(1, 2),
244
+ )
245
+ )
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_emoji_codes.py ADDED
The diff for this file is too large to render. See raw diff
 
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_emoji_replace.py ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import re
2
+ from typing import Callable, Match, Optional
3
+
4
+ _ReStringMatch = Match[str] # regex match object
5
+ _ReSubCallable = Callable[[_ReStringMatch], str] # Callable invoked by re.sub
6
+ _EmojiSubMethod = Callable[[_ReSubCallable, str], str] # Sub method of a compiled re
7
+
8
+
9
+ def _emoji_replace(
10
+ text: str,
11
+ default_variant: Optional[str] = None,
12
+ _emoji_sub: _EmojiSubMethod = re.compile(r"(:(\S*?)(?:(?:\-)(emoji|text))?:)").sub,
13
+ ) -> str:
14
+ """Replace emoji code in text."""
15
+ from ._emoji_codes import EMOJI
16
+
17
+ get_emoji = EMOJI.__getitem__
18
+ variants = {"text": "\ufe0e", "emoji": "\ufe0f"}
19
+ get_variant = variants.get
20
+ default_variant_code = variants.get(default_variant, "") if default_variant else ""
21
+
22
+ def do_replace(match: Match[str]) -> str:
23
+ emoji_code, emoji_name, variant = match.groups()
24
+ try:
25
+ return get_emoji(emoji_name.lower()) + get_variant(
26
+ variant, default_variant_code
27
+ )
28
+ except KeyError:
29
+ return emoji_code
30
+
31
+ return _emoji_sub(do_replace, text)
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_export_format.py ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CONSOLE_HTML_FORMAT = """\
2
+ <!DOCTYPE html>
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <style>
7
+ {stylesheet}
8
+ body {{
9
+ color: {foreground};
10
+ background-color: {background};
11
+ }}
12
+ </style>
13
+ </head>
14
+ <body>
15
+ <pre style="font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace"><code style="font-family:inherit">{code}</code></pre>
16
+ </body>
17
+ </html>
18
+ """
19
+
20
+ CONSOLE_SVG_FORMAT = """\
21
+ <svg class="rich-terminal" viewBox="0 0 {width} {height}" xmlns="http://www.w3.org/2000/svg">
22
+ <!-- Generated with Rich https://www.textualize.io -->
23
+ <style>
24
+
25
+ @font-face {{
26
+ font-family: "Fira Code";
27
+ src: local("FiraCode-Regular"),
28
+ url("https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff2/FiraCode-Regular.woff2") format("woff2"),
29
+ url("https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff/FiraCode-Regular.woff") format("woff");
30
+ font-style: normal;
31
+ font-weight: 400;
32
+ }}
33
+ @font-face {{
34
+ font-family: "Fira Code";
35
+ src: local("FiraCode-Bold"),
36
+ url("https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff2/FiraCode-Bold.woff2") format("woff2"),
37
+ url("https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff/FiraCode-Bold.woff") format("woff");
38
+ font-style: bold;
39
+ font-weight: 700;
40
+ }}
41
+
42
+ .{unique_id}-matrix {{
43
+ font-family: Fira Code, monospace;
44
+ font-size: {char_height}px;
45
+ line-height: {line_height}px;
46
+ font-variant-east-asian: full-width;
47
+ }}
48
+
49
+ .{unique_id}-title {{
50
+ font-size: 18px;
51
+ font-weight: bold;
52
+ font-family: arial;
53
+ }}
54
+
55
+ {styles}
56
+ </style>
57
+
58
+ <defs>
59
+ <clipPath id="{unique_id}-clip-terminal">
60
+ <rect x="0" y="0" width="{terminal_width}" height="{terminal_height}" />
61
+ </clipPath>
62
+ {lines}
63
+ </defs>
64
+
65
+ {chrome}
66
+ <g transform="translate({terminal_x}, {terminal_y})" clip-path="url(#{unique_id}-clip-terminal)">
67
+ {backgrounds}
68
+ <g class="{unique_id}-matrix">
69
+ {matrix}
70
+ </g>
71
+ </g>
72
+ </svg>
73
+ """
74
+
75
+ _SVG_FONT_FAMILY = "Rich Fira Code"
76
+ _SVG_CLASSES_PREFIX = "rich-svg"
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_extension.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any
2
+
3
+
4
+ def load_ipython_extension(ip: Any) -> None: # pragma: no cover
5
+ # prevent circular import
6
+ from rich.pretty import install
7
+ from rich.traceback import install as tr_install
8
+
9
+ install()
10
+ tr_install()
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_fileno.py ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ from typing import IO, Callable
4
+
5
+
6
+ def get_fileno(file_like: IO[str]) -> int | None:
7
+ """Get fileno() from a file, accounting for poorly implemented file-like objects.
8
+
9
+ Args:
10
+ file_like (IO): A file-like object.
11
+
12
+ Returns:
13
+ int | None: The result of fileno if available, or None if operation failed.
14
+ """
15
+ fileno: Callable[[], int] | None = getattr(file_like, "fileno", None)
16
+ if fileno is not None:
17
+ try:
18
+ return fileno()
19
+ except Exception:
20
+ # `fileno` is documented as potentially raising a OSError
21
+ # Alas, from the issues, there are so many poorly implemented file-like objects,
22
+ # that `fileno()` can raise just about anything.
23
+ return None
24
+ return None
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_inspect.py ADDED
@@ -0,0 +1,272 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import inspect
2
+ from inspect import cleandoc, getdoc, getfile, isclass, ismodule, signature
3
+ from typing import Any, Collection, Iterable, Optional, Tuple, Type, Union
4
+
5
+ from .console import Group, RenderableType
6
+ from .control import escape_control_codes
7
+ from .highlighter import ReprHighlighter
8
+ from .jupyter import JupyterMixin
9
+ from .panel import Panel
10
+ from .pretty import Pretty
11
+ from .table import Table
12
+ from .text import Text, TextType
13
+
14
+
15
+ def _first_paragraph(doc: str) -> str:
16
+ """Get the first paragraph from a docstring."""
17
+ paragraph, _, _ = doc.partition("\n\n")
18
+ return paragraph
19
+
20
+
21
+ class Inspect(JupyterMixin):
22
+ """A renderable to inspect any Python Object.
23
+
24
+ Args:
25
+ obj (Any): An object to inspect.
26
+ title (str, optional): Title to display over inspect result, or None use type. Defaults to None.
27
+ help (bool, optional): Show full help text rather than just first paragraph. Defaults to False.
28
+ methods (bool, optional): Enable inspection of callables. Defaults to False.
29
+ docs (bool, optional): Also render doc strings. Defaults to True.
30
+ private (bool, optional): Show private attributes (beginning with underscore). Defaults to False.
31
+ dunder (bool, optional): Show attributes starting with double underscore. Defaults to False.
32
+ sort (bool, optional): Sort attributes alphabetically, callables at the top, leading and trailing underscores ignored. Defaults to True.
33
+ all (bool, optional): Show all attributes. Defaults to False.
34
+ value (bool, optional): Pretty print value of object. Defaults to True.
35
+ """
36
+
37
+ def __init__(
38
+ self,
39
+ obj: Any,
40
+ *,
41
+ title: Optional[TextType] = None,
42
+ help: bool = False,
43
+ methods: bool = False,
44
+ docs: bool = True,
45
+ private: bool = False,
46
+ dunder: bool = False,
47
+ sort: bool = True,
48
+ all: bool = True,
49
+ value: bool = True,
50
+ ) -> None:
51
+ self.highlighter = ReprHighlighter()
52
+ self.obj = obj
53
+ self.title = title or self._make_title(obj)
54
+ if all:
55
+ methods = private = dunder = True
56
+ self.help = help
57
+ self.methods = methods
58
+ self.docs = docs or help
59
+ self.private = private or dunder
60
+ self.dunder = dunder
61
+ self.sort = sort
62
+ self.value = value
63
+
64
+ def _make_title(self, obj: Any) -> Text:
65
+ """Make a default title."""
66
+ title_str = (
67
+ str(obj)
68
+ if (isclass(obj) or callable(obj) or ismodule(obj))
69
+ else str(type(obj))
70
+ )
71
+ title_text = self.highlighter(title_str)
72
+ return title_text
73
+
74
+ def __rich__(self) -> Panel:
75
+ return Panel.fit(
76
+ Group(*self._render()),
77
+ title=self.title,
78
+ border_style="scope.border",
79
+ padding=(0, 1),
80
+ )
81
+
82
+ def _get_signature(self, name: str, obj: Any) -> Optional[Text]:
83
+ """Get a signature for a callable."""
84
+ try:
85
+ _signature = str(signature(obj)) + ":"
86
+ except ValueError:
87
+ _signature = "(...)"
88
+ except TypeError:
89
+ return None
90
+
91
+ source_filename: Optional[str] = None
92
+ try:
93
+ source_filename = getfile(obj)
94
+ except (OSError, TypeError):
95
+ # OSError is raised if obj has no source file, e.g. when defined in REPL.
96
+ pass
97
+
98
+ callable_name = Text(name, style="inspect.callable")
99
+ if source_filename:
100
+ callable_name.stylize(f"link file://{source_filename}")
101
+ signature_text = self.highlighter(_signature)
102
+
103
+ qualname = name or getattr(obj, "__qualname__", name)
104
+ if not isinstance(qualname, str):
105
+ qualname = getattr(obj, "__name__", name)
106
+ if not isinstance(qualname, str):
107
+ qualname = name
108
+
109
+ # If obj is a module, there may be classes (which are callable) to display
110
+ if inspect.isclass(obj):
111
+ prefix = "class"
112
+ elif inspect.iscoroutinefunction(obj):
113
+ prefix = "async def"
114
+ else:
115
+ prefix = "def"
116
+
117
+ qual_signature = Text.assemble(
118
+ (f"{prefix} ", f"inspect.{prefix.replace(' ', '_')}"),
119
+ (qualname, "inspect.callable"),
120
+ signature_text,
121
+ )
122
+
123
+ return qual_signature
124
+
125
+ def _render(self) -> Iterable[RenderableType]:
126
+ """Render object."""
127
+
128
+ def sort_items(item: Tuple[str, Any]) -> Tuple[bool, str]:
129
+ key, (_error, value) = item
130
+ return (callable(value), key.strip("_").lower())
131
+
132
+ def safe_getattr(attr_name: str) -> Tuple[Any, Any]:
133
+ """Get attribute or any exception."""
134
+ try:
135
+ return (None, getattr(obj, attr_name))
136
+ except Exception as error:
137
+ return (error, None)
138
+
139
+ obj = self.obj
140
+ keys = dir(obj)
141
+ total_items = len(keys)
142
+ if not self.dunder:
143
+ keys = [key for key in keys if not key.startswith("__")]
144
+ if not self.private:
145
+ keys = [key for key in keys if not key.startswith("_")]
146
+ not_shown_count = total_items - len(keys)
147
+ items = [(key, safe_getattr(key)) for key in keys]
148
+ if self.sort:
149
+ items.sort(key=sort_items)
150
+
151
+ items_table = Table.grid(padding=(0, 1), expand=False)
152
+ items_table.add_column(justify="right")
153
+ add_row = items_table.add_row
154
+ highlighter = self.highlighter
155
+
156
+ if callable(obj):
157
+ signature = self._get_signature("", obj)
158
+ if signature is not None:
159
+ yield signature
160
+ yield ""
161
+
162
+ if self.docs:
163
+ _doc = self._get_formatted_doc(obj)
164
+ if _doc is not None:
165
+ doc_text = Text(_doc, style="inspect.help")
166
+ doc_text = highlighter(doc_text)
167
+ yield doc_text
168
+ yield ""
169
+
170
+ if self.value and not (isclass(obj) or callable(obj) or ismodule(obj)):
171
+ yield Panel(
172
+ Pretty(obj, indent_guides=True, max_length=10, max_string=60),
173
+ border_style="inspect.value.border",
174
+ )
175
+ yield ""
176
+
177
+ for key, (error, value) in items:
178
+ key_text = Text.assemble(
179
+ (
180
+ key,
181
+ "inspect.attr.dunder" if key.startswith("__") else "inspect.attr",
182
+ ),
183
+ (" =", "inspect.equals"),
184
+ )
185
+ if error is not None:
186
+ warning = key_text.copy()
187
+ warning.stylize("inspect.error")
188
+ add_row(warning, highlighter(repr(error)))
189
+ continue
190
+
191
+ if callable(value):
192
+ if not self.methods:
193
+ continue
194
+
195
+ _signature_text = self._get_signature(key, value)
196
+ if _signature_text is None:
197
+ add_row(key_text, Pretty(value, highlighter=highlighter))
198
+ else:
199
+ if self.docs:
200
+ docs = self._get_formatted_doc(value)
201
+ if docs is not None:
202
+ _signature_text.append("\n" if "\n" in docs else " ")
203
+ doc = highlighter(docs)
204
+ doc.stylize("inspect.doc")
205
+ _signature_text.append(doc)
206
+
207
+ add_row(key_text, _signature_text)
208
+ else:
209
+ add_row(key_text, Pretty(value, highlighter=highlighter))
210
+ if items_table.row_count:
211
+ yield items_table
212
+ elif not_shown_count:
213
+ yield Text.from_markup(
214
+ f"[b cyan]{not_shown_count}[/][i] attribute(s) not shown.[/i] "
215
+ f"Run [b][magenta]inspect[/]([not b]inspect[/])[/b] for options."
216
+ )
217
+
218
+ def _get_formatted_doc(self, object_: Any) -> Optional[str]:
219
+ """
220
+ Extract the docstring of an object, process it and returns it.
221
+ The processing consists in cleaning up the docstring's indentation,
222
+ taking only its 1st paragraph if `self.help` is not True,
223
+ and escape its control codes.
224
+
225
+ Args:
226
+ object_ (Any): the object to get the docstring from.
227
+
228
+ Returns:
229
+ Optional[str]: the processed docstring, or None if no docstring was found.
230
+ """
231
+ docs = getdoc(object_)
232
+ if docs is None:
233
+ return None
234
+ docs = cleandoc(docs).strip()
235
+ if not self.help:
236
+ docs = _first_paragraph(docs)
237
+ return escape_control_codes(docs)
238
+
239
+
240
+ def get_object_types_mro(obj: Union[object, Type[Any]]) -> Tuple[type, ...]:
241
+ """Returns the MRO of an object's class, or of the object itself if it's a class."""
242
+ if not hasattr(obj, "__mro__"):
243
+ # N.B. we cannot use `if type(obj) is type` here because it doesn't work with
244
+ # some types of classes, such as the ones that use abc.ABCMeta.
245
+ obj = type(obj)
246
+ return getattr(obj, "__mro__", ())
247
+
248
+
249
+ def get_object_types_mro_as_strings(obj: object) -> Collection[str]:
250
+ """
251
+ Returns the MRO of an object's class as full qualified names, or of the object itself if it's a class.
252
+
253
+ Examples:
254
+ `object_types_mro_as_strings(JSONDecoder)` will return `['json.decoder.JSONDecoder', 'builtins.object']`
255
+ """
256
+ return [
257
+ f'{getattr(type_, "__module__", "")}.{getattr(type_, "__qualname__", "")}'
258
+ for type_ in get_object_types_mro(obj)
259
+ ]
260
+
261
+
262
+ def is_object_one_of_types(
263
+ obj: object, fully_qualified_types_names: Collection[str]
264
+ ) -> bool:
265
+ """
266
+ Returns `True` if the given object's class (or the object itself, if it's a class) has one of the
267
+ fully qualified names in its MRO.
268
+ """
269
+ for type_name in get_object_types_mro_as_strings(obj):
270
+ if type_name in fully_qualified_types_names:
271
+ return True
272
+ return False
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_log_render.py ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from datetime import datetime
2
+ from typing import Iterable, List, Optional, TYPE_CHECKING, Union, Callable
3
+
4
+
5
+ from .text import Text, TextType
6
+
7
+ if TYPE_CHECKING:
8
+ from .console import Console, ConsoleRenderable, RenderableType
9
+ from .table import Table
10
+
11
+ FormatTimeCallable = Callable[[datetime], Text]
12
+
13
+
14
+ class LogRender:
15
+ def __init__(
16
+ self,
17
+ show_time: bool = True,
18
+ show_level: bool = False,
19
+ show_path: bool = True,
20
+ time_format: Union[str, FormatTimeCallable] = "[%x %X]",
21
+ omit_repeated_times: bool = True,
22
+ level_width: Optional[int] = 8,
23
+ ) -> None:
24
+ self.show_time = show_time
25
+ self.show_level = show_level
26
+ self.show_path = show_path
27
+ self.time_format = time_format
28
+ self.omit_repeated_times = omit_repeated_times
29
+ self.level_width = level_width
30
+ self._last_time: Optional[Text] = None
31
+
32
+ def __call__(
33
+ self,
34
+ console: "Console",
35
+ renderables: Iterable["ConsoleRenderable"],
36
+ log_time: Optional[datetime] = None,
37
+ time_format: Optional[Union[str, FormatTimeCallable]] = None,
38
+ level: TextType = "",
39
+ path: Optional[str] = None,
40
+ line_no: Optional[int] = None,
41
+ link_path: Optional[str] = None,
42
+ ) -> "Table":
43
+ from .containers import Renderables
44
+ from .table import Table
45
+
46
+ output = Table.grid(padding=(0, 1))
47
+ output.expand = True
48
+ if self.show_time:
49
+ output.add_column(style="log.time")
50
+ if self.show_level:
51
+ output.add_column(style="log.level", width=self.level_width)
52
+ output.add_column(ratio=1, style="log.message", overflow="fold")
53
+ if self.show_path and path:
54
+ output.add_column(style="log.path")
55
+ row: List["RenderableType"] = []
56
+ if self.show_time:
57
+ log_time = log_time or console.get_datetime()
58
+ time_format = time_format or self.time_format
59
+ if callable(time_format):
60
+ log_time_display = time_format(log_time)
61
+ else:
62
+ log_time_display = Text(log_time.strftime(time_format))
63
+ if log_time_display == self._last_time and self.omit_repeated_times:
64
+ row.append(Text(" " * len(log_time_display)))
65
+ else:
66
+ row.append(log_time_display)
67
+ self._last_time = log_time_display
68
+ if self.show_level:
69
+ row.append(level)
70
+
71
+ row.append(Renderables(renderables))
72
+ if self.show_path and path:
73
+ path_text = Text()
74
+ path_text.append(
75
+ path, style=f"link file://{link_path}" if link_path else ""
76
+ )
77
+ if line_no:
78
+ path_text.append(":")
79
+ path_text.append(
80
+ f"{line_no}",
81
+ style=f"link file://{link_path}#{line_no}" if link_path else "",
82
+ )
83
+ row.append(path_text)
84
+
85
+ output.add_row(*row)
86
+ return output
87
+
88
+
89
+ if __name__ == "__main__": # pragma: no cover
90
+ from rich.console import Console
91
+
92
+ c = Console()
93
+ c.print("[on blue]Hello", justify="right")
94
+ c.log("[on blue]hello", justify="right")
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_loop.py ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Iterable, Tuple, TypeVar
2
+
3
+ T = TypeVar("T")
4
+
5
+
6
+ def loop_first(values: Iterable[T]) -> Iterable[Tuple[bool, T]]:
7
+ """Iterate and generate a tuple with a flag for first value."""
8
+ iter_values = iter(values)
9
+ try:
10
+ value = next(iter_values)
11
+ except StopIteration:
12
+ return
13
+ yield True, value
14
+ for value in iter_values:
15
+ yield False, value
16
+
17
+
18
+ def loop_last(values: Iterable[T]) -> Iterable[Tuple[bool, T]]:
19
+ """Iterate and generate a tuple with a flag for last value."""
20
+ iter_values = iter(values)
21
+ try:
22
+ previous_value = next(iter_values)
23
+ except StopIteration:
24
+ return
25
+ for value in iter_values:
26
+ yield False, previous_value
27
+ previous_value = value
28
+ yield True, previous_value
29
+
30
+
31
+ def loop_first_last(values: Iterable[T]) -> Iterable[Tuple[bool, bool, T]]:
32
+ """Iterate and generate a tuple with a flag for first and last value."""
33
+ iter_values = iter(values)
34
+ try:
35
+ previous_value = next(iter_values)
36
+ except StopIteration:
37
+ return
38
+ first = True
39
+ for value in iter_values:
40
+ yield first, False, previous_value
41
+ first = False
42
+ previous_value = value
43
+ yield first, True, previous_value
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_null_file.py ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from types import TracebackType
2
+ from typing import IO, Iterable, Iterator, List, Optional, Type
3
+
4
+
5
+ class NullFile(IO[str]):
6
+ def close(self) -> None:
7
+ pass
8
+
9
+ def isatty(self) -> bool:
10
+ return False
11
+
12
+ def read(self, __n: int = 1) -> str:
13
+ return ""
14
+
15
+ def readable(self) -> bool:
16
+ return False
17
+
18
+ def readline(self, __limit: int = 1) -> str:
19
+ return ""
20
+
21
+ def readlines(self, __hint: int = 1) -> List[str]:
22
+ return []
23
+
24
+ def seek(self, __offset: int, __whence: int = 1) -> int:
25
+ return 0
26
+
27
+ def seekable(self) -> bool:
28
+ return False
29
+
30
+ def tell(self) -> int:
31
+ return 0
32
+
33
+ def truncate(self, __size: Optional[int] = 1) -> int:
34
+ return 0
35
+
36
+ def writable(self) -> bool:
37
+ return False
38
+
39
+ def writelines(self, __lines: Iterable[str]) -> None:
40
+ pass
41
+
42
+ def __next__(self) -> str:
43
+ return ""
44
+
45
+ def __iter__(self) -> Iterator[str]:
46
+ return iter([""])
47
+
48
+ def __enter__(self) -> IO[str]:
49
+ return self
50
+
51
+ def __exit__(
52
+ self,
53
+ __t: Optional[Type[BaseException]],
54
+ __value: Optional[BaseException],
55
+ __traceback: Optional[TracebackType],
56
+ ) -> None:
57
+ pass
58
+
59
+ def write(self, text: str) -> int:
60
+ return 0
61
+
62
+ def flush(self) -> None:
63
+ pass
64
+
65
+ def fileno(self) -> int:
66
+ return -1
67
+
68
+
69
+ NULL_FILE = NullFile()
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_palettes.py ADDED
@@ -0,0 +1,309 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from .palette import Palette
2
+
3
+
4
+ # Taken from https://en.wikipedia.org/wiki/ANSI_escape_code (Windows 10 column)
5
+ WINDOWS_PALETTE = Palette(
6
+ [
7
+ (12, 12, 12),
8
+ (197, 15, 31),
9
+ (19, 161, 14),
10
+ (193, 156, 0),
11
+ (0, 55, 218),
12
+ (136, 23, 152),
13
+ (58, 150, 221),
14
+ (204, 204, 204),
15
+ (118, 118, 118),
16
+ (231, 72, 86),
17
+ (22, 198, 12),
18
+ (249, 241, 165),
19
+ (59, 120, 255),
20
+ (180, 0, 158),
21
+ (97, 214, 214),
22
+ (242, 242, 242),
23
+ ]
24
+ )
25
+
26
+ # # The standard ansi colors (including bright variants)
27
+ STANDARD_PALETTE = Palette(
28
+ [
29
+ (0, 0, 0),
30
+ (170, 0, 0),
31
+ (0, 170, 0),
32
+ (170, 85, 0),
33
+ (0, 0, 170),
34
+ (170, 0, 170),
35
+ (0, 170, 170),
36
+ (170, 170, 170),
37
+ (85, 85, 85),
38
+ (255, 85, 85),
39
+ (85, 255, 85),
40
+ (255, 255, 85),
41
+ (85, 85, 255),
42
+ (255, 85, 255),
43
+ (85, 255, 255),
44
+ (255, 255, 255),
45
+ ]
46
+ )
47
+
48
+
49
+ # The 256 color palette
50
+ EIGHT_BIT_PALETTE = Palette(
51
+ [
52
+ (0, 0, 0),
53
+ (128, 0, 0),
54
+ (0, 128, 0),
55
+ (128, 128, 0),
56
+ (0, 0, 128),
57
+ (128, 0, 128),
58
+ (0, 128, 128),
59
+ (192, 192, 192),
60
+ (128, 128, 128),
61
+ (255, 0, 0),
62
+ (0, 255, 0),
63
+ (255, 255, 0),
64
+ (0, 0, 255),
65
+ (255, 0, 255),
66
+ (0, 255, 255),
67
+ (255, 255, 255),
68
+ (0, 0, 0),
69
+ (0, 0, 95),
70
+ (0, 0, 135),
71
+ (0, 0, 175),
72
+ (0, 0, 215),
73
+ (0, 0, 255),
74
+ (0, 95, 0),
75
+ (0, 95, 95),
76
+ (0, 95, 135),
77
+ (0, 95, 175),
78
+ (0, 95, 215),
79
+ (0, 95, 255),
80
+ (0, 135, 0),
81
+ (0, 135, 95),
82
+ (0, 135, 135),
83
+ (0, 135, 175),
84
+ (0, 135, 215),
85
+ (0, 135, 255),
86
+ (0, 175, 0),
87
+ (0, 175, 95),
88
+ (0, 175, 135),
89
+ (0, 175, 175),
90
+ (0, 175, 215),
91
+ (0, 175, 255),
92
+ (0, 215, 0),
93
+ (0, 215, 95),
94
+ (0, 215, 135),
95
+ (0, 215, 175),
96
+ (0, 215, 215),
97
+ (0, 215, 255),
98
+ (0, 255, 0),
99
+ (0, 255, 95),
100
+ (0, 255, 135),
101
+ (0, 255, 175),
102
+ (0, 255, 215),
103
+ (0, 255, 255),
104
+ (95, 0, 0),
105
+ (95, 0, 95),
106
+ (95, 0, 135),
107
+ (95, 0, 175),
108
+ (95, 0, 215),
109
+ (95, 0, 255),
110
+ (95, 95, 0),
111
+ (95, 95, 95),
112
+ (95, 95, 135),
113
+ (95, 95, 175),
114
+ (95, 95, 215),
115
+ (95, 95, 255),
116
+ (95, 135, 0),
117
+ (95, 135, 95),
118
+ (95, 135, 135),
119
+ (95, 135, 175),
120
+ (95, 135, 215),
121
+ (95, 135, 255),
122
+ (95, 175, 0),
123
+ (95, 175, 95),
124
+ (95, 175, 135),
125
+ (95, 175, 175),
126
+ (95, 175, 215),
127
+ (95, 175, 255),
128
+ (95, 215, 0),
129
+ (95, 215, 95),
130
+ (95, 215, 135),
131
+ (95, 215, 175),
132
+ (95, 215, 215),
133
+ (95, 215, 255),
134
+ (95, 255, 0),
135
+ (95, 255, 95),
136
+ (95, 255, 135),
137
+ (95, 255, 175),
138
+ (95, 255, 215),
139
+ (95, 255, 255),
140
+ (135, 0, 0),
141
+ (135, 0, 95),
142
+ (135, 0, 135),
143
+ (135, 0, 175),
144
+ (135, 0, 215),
145
+ (135, 0, 255),
146
+ (135, 95, 0),
147
+ (135, 95, 95),
148
+ (135, 95, 135),
149
+ (135, 95, 175),
150
+ (135, 95, 215),
151
+ (135, 95, 255),
152
+ (135, 135, 0),
153
+ (135, 135, 95),
154
+ (135, 135, 135),
155
+ (135, 135, 175),
156
+ (135, 135, 215),
157
+ (135, 135, 255),
158
+ (135, 175, 0),
159
+ (135, 175, 95),
160
+ (135, 175, 135),
161
+ (135, 175, 175),
162
+ (135, 175, 215),
163
+ (135, 175, 255),
164
+ (135, 215, 0),
165
+ (135, 215, 95),
166
+ (135, 215, 135),
167
+ (135, 215, 175),
168
+ (135, 215, 215),
169
+ (135, 215, 255),
170
+ (135, 255, 0),
171
+ (135, 255, 95),
172
+ (135, 255, 135),
173
+ (135, 255, 175),
174
+ (135, 255, 215),
175
+ (135, 255, 255),
176
+ (175, 0, 0),
177
+ (175, 0, 95),
178
+ (175, 0, 135),
179
+ (175, 0, 175),
180
+ (175, 0, 215),
181
+ (175, 0, 255),
182
+ (175, 95, 0),
183
+ (175, 95, 95),
184
+ (175, 95, 135),
185
+ (175, 95, 175),
186
+ (175, 95, 215),
187
+ (175, 95, 255),
188
+ (175, 135, 0),
189
+ (175, 135, 95),
190
+ (175, 135, 135),
191
+ (175, 135, 175),
192
+ (175, 135, 215),
193
+ (175, 135, 255),
194
+ (175, 175, 0),
195
+ (175, 175, 95),
196
+ (175, 175, 135),
197
+ (175, 175, 175),
198
+ (175, 175, 215),
199
+ (175, 175, 255),
200
+ (175, 215, 0),
201
+ (175, 215, 95),
202
+ (175, 215, 135),
203
+ (175, 215, 175),
204
+ (175, 215, 215),
205
+ (175, 215, 255),
206
+ (175, 255, 0),
207
+ (175, 255, 95),
208
+ (175, 255, 135),
209
+ (175, 255, 175),
210
+ (175, 255, 215),
211
+ (175, 255, 255),
212
+ (215, 0, 0),
213
+ (215, 0, 95),
214
+ (215, 0, 135),
215
+ (215, 0, 175),
216
+ (215, 0, 215),
217
+ (215, 0, 255),
218
+ (215, 95, 0),
219
+ (215, 95, 95),
220
+ (215, 95, 135),
221
+ (215, 95, 175),
222
+ (215, 95, 215),
223
+ (215, 95, 255),
224
+ (215, 135, 0),
225
+ (215, 135, 95),
226
+ (215, 135, 135),
227
+ (215, 135, 175),
228
+ (215, 135, 215),
229
+ (215, 135, 255),
230
+ (215, 175, 0),
231
+ (215, 175, 95),
232
+ (215, 175, 135),
233
+ (215, 175, 175),
234
+ (215, 175, 215),
235
+ (215, 175, 255),
236
+ (215, 215, 0),
237
+ (215, 215, 95),
238
+ (215, 215, 135),
239
+ (215, 215, 175),
240
+ (215, 215, 215),
241
+ (215, 215, 255),
242
+ (215, 255, 0),
243
+ (215, 255, 95),
244
+ (215, 255, 135),
245
+ (215, 255, 175),
246
+ (215, 255, 215),
247
+ (215, 255, 255),
248
+ (255, 0, 0),
249
+ (255, 0, 95),
250
+ (255, 0, 135),
251
+ (255, 0, 175),
252
+ (255, 0, 215),
253
+ (255, 0, 255),
254
+ (255, 95, 0),
255
+ (255, 95, 95),
256
+ (255, 95, 135),
257
+ (255, 95, 175),
258
+ (255, 95, 215),
259
+ (255, 95, 255),
260
+ (255, 135, 0),
261
+ (255, 135, 95),
262
+ (255, 135, 135),
263
+ (255, 135, 175),
264
+ (255, 135, 215),
265
+ (255, 135, 255),
266
+ (255, 175, 0),
267
+ (255, 175, 95),
268
+ (255, 175, 135),
269
+ (255, 175, 175),
270
+ (255, 175, 215),
271
+ (255, 175, 255),
272
+ (255, 215, 0),
273
+ (255, 215, 95),
274
+ (255, 215, 135),
275
+ (255, 215, 175),
276
+ (255, 215, 215),
277
+ (255, 215, 255),
278
+ (255, 255, 0),
279
+ (255, 255, 95),
280
+ (255, 255, 135),
281
+ (255, 255, 175),
282
+ (255, 255, 215),
283
+ (255, 255, 255),
284
+ (8, 8, 8),
285
+ (18, 18, 18),
286
+ (28, 28, 28),
287
+ (38, 38, 38),
288
+ (48, 48, 48),
289
+ (58, 58, 58),
290
+ (68, 68, 68),
291
+ (78, 78, 78),
292
+ (88, 88, 88),
293
+ (98, 98, 98),
294
+ (108, 108, 108),
295
+ (118, 118, 118),
296
+ (128, 128, 128),
297
+ (138, 138, 138),
298
+ (148, 148, 148),
299
+ (158, 158, 158),
300
+ (168, 168, 168),
301
+ (178, 178, 178),
302
+ (188, 188, 188),
303
+ (198, 198, 198),
304
+ (208, 208, 208),
305
+ (218, 218, 218),
306
+ (228, 228, 228),
307
+ (238, 238, 238),
308
+ ]
309
+ )
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_pick.py ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Optional
2
+
3
+
4
+ def pick_bool(*values: Optional[bool]) -> bool:
5
+ """Pick the first non-none bool or return the last value.
6
+
7
+ Args:
8
+ *values (bool): Any number of boolean or None values.
9
+
10
+ Returns:
11
+ bool: First non-none boolean.
12
+ """
13
+ assert values, "1 or more values required"
14
+ for value in values:
15
+ if value is not None:
16
+ return value
17
+ return bool(value)
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_ratio.py ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from fractions import Fraction
2
+ from math import ceil
3
+ from typing import cast, List, Optional, Sequence, Protocol
4
+
5
+
6
+ class Edge(Protocol):
7
+ """Any object that defines an edge (such as Layout)."""
8
+
9
+ size: Optional[int] = None
10
+ ratio: int = 1
11
+ minimum_size: int = 1
12
+
13
+
14
+ def ratio_resolve(total: int, edges: Sequence[Edge]) -> List[int]:
15
+ """Divide total space to satisfy size, ratio, and minimum_size, constraints.
16
+
17
+ The returned list of integers should add up to total in most cases, unless it is
18
+ impossible to satisfy all the constraints. For instance, if there are two edges
19
+ with a minimum size of 20 each and `total` is 30 then the returned list will be
20
+ greater than total. In practice, this would mean that a Layout object would
21
+ clip the rows that would overflow the screen height.
22
+
23
+ Args:
24
+ total (int): Total number of characters.
25
+ edges (List[Edge]): Edges within total space.
26
+
27
+ Returns:
28
+ List[int]: Number of characters for each edge.
29
+ """
30
+ # Size of edge or None for yet to be determined
31
+ sizes = [(edge.size or None) for edge in edges]
32
+
33
+ _Fraction = Fraction
34
+
35
+ # While any edges haven't been calculated
36
+ while None in sizes:
37
+ # Get flexible edges and index to map these back on to sizes list
38
+ flexible_edges = [
39
+ (index, edge)
40
+ for index, (size, edge) in enumerate(zip(sizes, edges))
41
+ if size is None
42
+ ]
43
+ # Remaining space in total
44
+ remaining = total - sum(size or 0 for size in sizes)
45
+ if remaining <= 0:
46
+ # No room for flexible edges
47
+ return [
48
+ ((edge.minimum_size or 1) if size is None else size)
49
+ for size, edge in zip(sizes, edges)
50
+ ]
51
+ # Calculate number of characters in a ratio portion
52
+ portion = _Fraction(
53
+ remaining, sum((edge.ratio or 1) for _, edge in flexible_edges)
54
+ )
55
+
56
+ # If any edges will be less than their minimum, replace size with the minimum
57
+ for index, edge in flexible_edges:
58
+ if portion * edge.ratio <= edge.minimum_size:
59
+ sizes[index] = edge.minimum_size
60
+ # New fixed size will invalidate calculations, so we need to repeat the process
61
+ break
62
+ else:
63
+ # Distribute flexible space and compensate for rounding error
64
+ # Since edge sizes can only be integers we need to add the remainder
65
+ # to the following line
66
+ remainder = _Fraction(0)
67
+ for index, edge in flexible_edges:
68
+ size, remainder = divmod(portion * edge.ratio + remainder, 1)
69
+ sizes[index] = size
70
+ break
71
+ # Sizes now contains integers only
72
+ return cast(List[int], sizes)
73
+
74
+
75
+ def ratio_reduce(
76
+ total: int, ratios: List[int], maximums: List[int], values: List[int]
77
+ ) -> List[int]:
78
+ """Divide an integer total in to parts based on ratios.
79
+
80
+ Args:
81
+ total (int): The total to divide.
82
+ ratios (List[int]): A list of integer ratios.
83
+ maximums (List[int]): List of maximums values for each slot.
84
+ values (List[int]): List of values
85
+
86
+ Returns:
87
+ List[int]: A list of integers guaranteed to sum to total.
88
+ """
89
+ ratios = [ratio if _max else 0 for ratio, _max in zip(ratios, maximums)]
90
+ total_ratio = sum(ratios)
91
+ if not total_ratio:
92
+ return values[:]
93
+ total_remaining = total
94
+ result: List[int] = []
95
+ append = result.append
96
+ for ratio, maximum, value in zip(ratios, maximums, values):
97
+ if ratio and total_ratio > 0:
98
+ distributed = min(maximum, round(ratio * total_remaining / total_ratio))
99
+ append(value - distributed)
100
+ total_remaining -= distributed
101
+ total_ratio -= ratio
102
+ else:
103
+ append(value)
104
+ return result
105
+
106
+
107
+ def ratio_distribute(
108
+ total: int, ratios: List[int], minimums: Optional[List[int]] = None
109
+ ) -> List[int]:
110
+ """Distribute an integer total in to parts based on ratios.
111
+
112
+ Args:
113
+ total (int): The total to divide.
114
+ ratios (List[int]): A list of integer ratios.
115
+ minimums (List[int]): List of minimum values for each slot.
116
+
117
+ Returns:
118
+ List[int]: A list of integers guaranteed to sum to total.
119
+ """
120
+ if minimums:
121
+ ratios = [ratio if _min else 0 for ratio, _min in zip(ratios, minimums)]
122
+ total_ratio = sum(ratios)
123
+ assert total_ratio > 0, "Sum of ratios must be > 0"
124
+
125
+ total_remaining = total
126
+ distributed_total: List[int] = []
127
+ append = distributed_total.append
128
+ if minimums is None:
129
+ _minimums = [0] * len(ratios)
130
+ else:
131
+ _minimums = minimums
132
+ for ratio, minimum in zip(ratios, _minimums):
133
+ if total_ratio > 0:
134
+ distributed = max(minimum, ceil(ratio * total_remaining / total_ratio))
135
+ else:
136
+ distributed = total_remaining
137
+ append(distributed)
138
+ total_ratio -= ratio
139
+ total_remaining -= distributed
140
+ return distributed_total
141
+
142
+
143
+ if __name__ == "__main__":
144
+ from dataclasses import dataclass
145
+
146
+ @dataclass
147
+ class E:
148
+ size: Optional[int] = None
149
+ ratio: int = 1
150
+ minimum_size: int = 1
151
+
152
+ resolved = ratio_resolve(110, [E(None, 1, 1), E(None, 1, 1), E(None, 1, 1)])
153
+ print(sum(resolved))
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_spinners.py ADDED
@@ -0,0 +1,482 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Spinners are from:
3
+ * cli-spinners:
4
+ MIT License
5
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights to
9
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
10
+ the Software, and to permit persons to whom the Software is furnished to do so,
11
+ subject to the following conditions:
12
+ The above copyright notice and this permission notice shall be included
13
+ in all copies or substantial portions of the Software.
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
15
+ INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
16
+ PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
17
+ FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
18
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
19
+ IN THE SOFTWARE.
20
+ """
21
+
22
+ SPINNERS = {
23
+ "dots": {
24
+ "interval": 80,
25
+ "frames": "⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏",
26
+ },
27
+ "dots2": {"interval": 80, "frames": "⣾⣽⣻⢿⡿⣟⣯⣷"},
28
+ "dots3": {
29
+ "interval": 80,
30
+ "frames": "⠋⠙⠚⠞⠖⠦⠴⠲⠳⠓",
31
+ },
32
+ "dots4": {
33
+ "interval": 80,
34
+ "frames": "⠄⠆⠇⠋⠙⠸⠰⠠⠰⠸⠙⠋⠇⠆",
35
+ },
36
+ "dots5": {
37
+ "interval": 80,
38
+ "frames": "⠋⠙⠚⠒⠂⠂⠒⠲⠴⠦⠖⠒⠐⠐⠒⠓⠋",
39
+ },
40
+ "dots6": {
41
+ "interval": 80,
42
+ "frames": "⠁⠉⠙⠚⠒⠂⠂⠒⠲⠴⠤⠄⠄⠤⠴⠲⠒⠂⠂⠒⠚⠙⠉⠁",
43
+ },
44
+ "dots7": {
45
+ "interval": 80,
46
+ "frames": "⠈⠉⠋⠓⠒⠐⠐⠒⠖⠦⠤⠠⠠⠤⠦⠖⠒⠐⠐⠒⠓⠋⠉⠈",
47
+ },
48
+ "dots8": {
49
+ "interval": 80,
50
+ "frames": "⠁⠁⠉⠙⠚⠒⠂⠂⠒⠲⠴⠤⠄⠄⠤⠠⠠⠤⠦⠖⠒⠐⠐⠒⠓⠋⠉⠈⠈",
51
+ },
52
+ "dots9": {"interval": 80, "frames": "⢹⢺⢼⣸⣇⡧⡗⡏"},
53
+ "dots10": {"interval": 80, "frames": "⢄⢂⢁⡁⡈⡐⡠"},
54
+ "dots11": {"interval": 100, "frames": "⠁⠂⠄⡀⢀⠠⠐⠈"},
55
+ "dots12": {
56
+ "interval": 80,
57
+ "frames": [
58
+ "⢀⠀",
59
+ "⡀⠀",
60
+ "⠄⠀",
61
+ "⢂⠀",
62
+ "⡂⠀",
63
+ "⠅⠀",
64
+ "⢃⠀",
65
+ "⡃⠀",
66
+ "⠍⠀",
67
+ "⢋⠀",
68
+ "⡋⠀",
69
+ "⠍⠁",
70
+ "⢋⠁",
71
+ "⡋⠁",
72
+ "⠍⠉",
73
+ "⠋⠉",
74
+ "⠋⠉",
75
+ "⠉⠙",
76
+ "⠉⠙",
77
+ "⠉⠩",
78
+ "⠈⢙",
79
+ "⠈⡙",
80
+ "⢈⠩",
81
+ "⡀⢙",
82
+ "⠄⡙",
83
+ "⢂⠩",
84
+ "⡂⢘",
85
+ "⠅⡘",
86
+ "⢃⠨",
87
+ "⡃⢐",
88
+ "⠍⡐",
89
+ "⢋⠠",
90
+ "⡋⢀",
91
+ "⠍⡁",
92
+ "⢋⠁",
93
+ "⡋⠁",
94
+ "⠍⠉",
95
+ "⠋⠉",
96
+ "⠋⠉",
97
+ "⠉⠙",
98
+ "⠉⠙",
99
+ "⠉⠩",
100
+ "⠈⢙",
101
+ "⠈⡙",
102
+ "⠈⠩",
103
+ "⠀⢙",
104
+ "⠀⡙",
105
+ "⠀⠩",
106
+ "⠀⢘",
107
+ "⠀⡘",
108
+ "⠀⠨",
109
+ "⠀⢐",
110
+ "⠀⡐",
111
+ "⠀⠠",
112
+ "⠀⢀",
113
+ "⠀⡀",
114
+ ],
115
+ },
116
+ "dots8Bit": {
117
+ "interval": 80,
118
+ "frames": "⠀⠁⠂⠃⠄⠅⠆⠇⡀⡁⡂⡃⡄⡅⡆⡇⠈⠉⠊⠋⠌⠍⠎⠏⡈⡉⡊⡋⡌⡍⡎⡏⠐⠑⠒⠓⠔⠕⠖⠗⡐⡑⡒⡓⡔⡕⡖⡗⠘⠙⠚⠛⠜⠝⠞⠟⡘⡙"
119
+ "⡚⡛⡜⡝⡞⡟⠠⠡⠢⠣⠤⠥⠦⠧⡠⡡⡢⡣⡤⡥⡦⡧⠨⠩⠪⠫⠬⠭⠮⠯⡨⡩⡪⡫⡬⡭⡮⡯⠰⠱⠲⠳⠴⠵⠶⠷⡰⡱⡲⡳⡴⡵⡶⡷⠸⠹⠺⠻"
120
+ "⠼⠽⠾⠿⡸⡹⡺⡻⡼⡽⡾⡿⢀⢁⢂⢃⢄⢅⢆⢇⣀⣁⣂⣃⣄⣅⣆⣇⢈⢉⢊⢋⢌⢍⢎⢏⣈⣉⣊⣋⣌⣍⣎⣏⢐⢑⢒⢓⢔⢕⢖⢗⣐⣑⣒⣓⣔⣕"
121
+ "⣖⣗⢘⢙⢚⢛⢜⢝⢞⢟⣘⣙⣚⣛⣜⣝⣞⣟⢠⢡⢢⢣⢤⢥⢦⢧⣠⣡⣢⣣⣤⣥⣦⣧⢨⢩⢪⢫⢬⢭⢮⢯⣨⣩⣪⣫⣬⣭⣮⣯⢰⢱⢲⢳⢴⢵⢶⢷"
122
+ "⣰⣱⣲⣳⣴⣵⣶⣷⢸⢹⢺⢻⢼⢽⢾⢿⣸⣹⣺⣻⣼⣽⣾⣿",
123
+ },
124
+ "line": {"interval": 130, "frames": ["-", "\\", "|", "/"]},
125
+ "line2": {"interval": 100, "frames": "⠂-–—–-"},
126
+ "pipe": {"interval": 100, "frames": "┤┘┴└├┌┬┐"},
127
+ "simpleDots": {"interval": 400, "frames": [". ", ".. ", "...", " "]},
128
+ "simpleDotsScrolling": {
129
+ "interval": 200,
130
+ "frames": [". ", ".. ", "...", " ..", " .", " "],
131
+ },
132
+ "star": {"interval": 70, "frames": "✶✸✹✺✹✷"},
133
+ "star2": {"interval": 80, "frames": "+x*"},
134
+ "flip": {
135
+ "interval": 70,
136
+ "frames": "___-``'´-___",
137
+ },
138
+ "hamburger": {"interval": 100, "frames": "☱☲☴"},
139
+ "growVertical": {
140
+ "interval": 120,
141
+ "frames": "▁▃▄▅▆▇▆▅▄▃",
142
+ },
143
+ "growHorizontal": {
144
+ "interval": 120,
145
+ "frames": "▏▎▍▌▋▊▉▊▋▌▍▎",
146
+ },
147
+ "balloon": {"interval": 140, "frames": " .oO@* "},
148
+ "balloon2": {"interval": 120, "frames": ".oO°Oo."},
149
+ "noise": {"interval": 100, "frames": "▓▒░"},
150
+ "bounce": {"interval": 120, "frames": "⠁⠂⠄⠂"},
151
+ "boxBounce": {"interval": 120, "frames": "▖▘▝▗"},
152
+ "boxBounce2": {"interval": 100, "frames": "▌▀▐▄"},
153
+ "triangle": {"interval": 50, "frames": "◢◣◤◥"},
154
+ "arc": {"interval": 100, "frames": "◜◠◝◞◡◟"},
155
+ "circle": {"interval": 120, "frames": "◡⊙◠"},
156
+ "squareCorners": {"interval": 180, "frames": "◰◳◲◱"},
157
+ "circleQuarters": {"interval": 120, "frames": "◴◷◶◵"},
158
+ "circleHalves": {"interval": 50, "frames": "◐◓◑◒"},
159
+ "squish": {"interval": 100, "frames": "╫╪"},
160
+ "toggle": {"interval": 250, "frames": "⊶⊷"},
161
+ "toggle2": {"interval": 80, "frames": "▫▪"},
162
+ "toggle3": {"interval": 120, "frames": "□■"},
163
+ "toggle4": {"interval": 100, "frames": "■□▪▫"},
164
+ "toggle5": {"interval": 100, "frames": "▮▯"},
165
+ "toggle6": {"interval": 300, "frames": "ဝ၀"},
166
+ "toggle7": {"interval": 80, "frames": "⦾⦿"},
167
+ "toggle8": {"interval": 100, "frames": "◍◌"},
168
+ "toggle9": {"interval": 100, "frames": "◉◎"},
169
+ "toggle10": {"interval": 100, "frames": "㊂㊀㊁"},
170
+ "toggle11": {"interval": 50, "frames": "⧇⧆"},
171
+ "toggle12": {"interval": 120, "frames": "☗☖"},
172
+ "toggle13": {"interval": 80, "frames": "=*-"},
173
+ "arrow": {"interval": 100, "frames": "←↖↑↗→↘↓↙"},
174
+ "arrow2": {
175
+ "interval": 80,
176
+ "frames": ["⬆️ ", "↗️ ", "➡️ ", "↘️ ", "⬇️ ", "↙️ ", "⬅️ ", "↖️ "],
177
+ },
178
+ "arrow3": {
179
+ "interval": 120,
180
+ "frames": ["▹▹▹▹▹", "▸▹▹▹▹", "▹▸▹▹▹", "▹▹▸▹▹", "▹▹▹▸▹", "▹▹▹▹▸"],
181
+ },
182
+ "bouncingBar": {
183
+ "interval": 80,
184
+ "frames": [
185
+ "[ ]",
186
+ "[= ]",
187
+ "[== ]",
188
+ "[=== ]",
189
+ "[ ===]",
190
+ "[ ==]",
191
+ "[ =]",
192
+ "[ ]",
193
+ "[ =]",
194
+ "[ ==]",
195
+ "[ ===]",
196
+ "[====]",
197
+ "[=== ]",
198
+ "[== ]",
199
+ "[= ]",
200
+ ],
201
+ },
202
+ "bouncingBall": {
203
+ "interval": 80,
204
+ "frames": [
205
+ "( ● )",
206
+ "( ● )",
207
+ "( ● )",
208
+ "( ● )",
209
+ "( ●)",
210
+ "( ● )",
211
+ "( ● )",
212
+ "( ● )",
213
+ "( ● )",
214
+ "(● )",
215
+ ],
216
+ },
217
+ "smiley": {"interval": 200, "frames": ["😄 ", "😝 "]},
218
+ "monkey": {"interval": 300, "frames": ["🙈 ", "🙈 ", "🙉 ", "🙊 "]},
219
+ "hearts": {"interval": 100, "frames": ["💛 ", "💙 ", "💜 ", "💚 ", "❤️ "]},
220
+ "clock": {
221
+ "interval": 100,
222
+ "frames": [
223
+ "🕛 ",
224
+ "🕐 ",
225
+ "🕑 ",
226
+ "🕒 ",
227
+ "🕓 ",
228
+ "🕔 ",
229
+ "🕕 ",
230
+ "🕖 ",
231
+ "🕗 ",
232
+ "🕘 ",
233
+ "🕙 ",
234
+ "🕚 ",
235
+ ],
236
+ },
237
+ "earth": {"interval": 180, "frames": ["🌍 ", "🌎 ", "🌏 "]},
238
+ "material": {
239
+ "interval": 17,
240
+ "frames": [
241
+ "█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
242
+ "██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
243
+ "███▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
244
+ "████▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
245
+ "██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
246
+ "██████▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
247
+ "███████▁▁▁▁▁▁▁▁▁▁▁▁▁",
248
+ "████████▁▁▁▁▁▁▁▁▁▁▁▁",
249
+ "█████████▁▁▁▁▁▁▁▁▁▁▁",
250
+ "█████████▁▁▁▁▁▁▁▁▁▁▁",
251
+ "██████████▁▁▁▁▁▁▁▁▁▁",
252
+ "███████████▁▁▁▁▁▁▁▁▁",
253
+ "█████████████▁▁▁▁▁▁▁",
254
+ "██████████████▁▁▁▁▁▁",
255
+ "██████████████▁▁▁▁▁▁",
256
+ "▁██████████████▁▁▁▁▁",
257
+ "▁██████████████▁▁▁▁▁",
258
+ "▁██████████████▁▁▁▁▁",
259
+ "▁▁██████████████▁▁▁▁",
260
+ "▁▁▁██████████████▁▁▁",
261
+ "▁▁▁▁█████████████▁▁▁",
262
+ "▁▁▁▁██████████████▁▁",
263
+ "▁▁▁▁██████████████▁▁",
264
+ "▁▁▁▁▁██████████████▁",
265
+ "▁▁▁▁▁██████████████▁",
266
+ "▁▁▁▁▁██████████████▁",
267
+ "▁▁▁▁▁▁██████████████",
268
+ "▁▁▁▁▁▁██████████████",
269
+ "▁▁▁▁▁▁▁█████████████",
270
+ "▁▁▁▁▁▁▁█████████████",
271
+ "▁▁▁▁▁▁▁▁████████████",
272
+ "▁▁▁▁▁▁▁▁████████████",
273
+ "▁▁▁▁▁▁▁▁▁███████████",
274
+ "▁▁▁▁▁▁▁▁▁███████████",
275
+ "▁▁▁▁▁▁▁▁▁▁██████████",
276
+ "▁▁▁▁▁▁▁▁▁▁██████████",
277
+ "▁▁▁▁▁▁▁▁▁▁▁▁████████",
278
+ "▁▁▁▁▁▁▁▁▁▁▁▁▁███████",
279
+ "▁▁▁▁▁▁▁▁▁▁▁▁▁▁██████",
280
+ "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████",
281
+ "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████",
282
+ "█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████",
283
+ "██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███",
284
+ "██▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███",
285
+ "███▁▁▁▁▁▁▁▁▁▁▁▁▁▁███",
286
+ "████▁▁▁▁▁▁▁▁▁▁▁▁▁▁██",
287
+ "█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█",
288
+ "█████▁▁▁▁▁▁▁▁▁▁▁▁▁▁█",
289
+ "██████▁▁▁▁▁▁▁▁▁▁▁▁▁█",
290
+ "████████▁▁▁▁▁▁▁▁▁▁▁▁",
291
+ "█████████▁▁▁▁▁▁▁▁▁▁▁",
292
+ "█████████▁▁▁▁▁▁▁▁▁▁▁",
293
+ "█████████▁▁▁▁▁▁▁▁▁▁▁",
294
+ "█████████▁▁▁▁▁▁▁▁▁▁▁",
295
+ "███████████▁▁▁▁▁▁▁▁▁",
296
+ "████████████▁▁▁▁▁▁▁▁",
297
+ "████████████▁▁▁▁▁▁▁▁",
298
+ "██████████████▁▁▁▁▁▁",
299
+ "██████████████▁▁▁▁▁▁",
300
+ "▁██████████████▁▁▁▁▁",
301
+ "▁██████████████▁▁▁▁▁",
302
+ "▁▁▁█████████████▁▁▁▁",
303
+ "▁▁▁▁▁████████████▁▁▁",
304
+ "▁▁▁▁▁████████████▁▁▁",
305
+ "▁▁▁▁▁▁███████████▁▁▁",
306
+ "▁▁▁▁▁▁▁▁█████████▁▁▁",
307
+ "▁▁▁▁▁▁▁▁█████████▁▁▁",
308
+ "▁▁▁▁▁▁▁▁▁█████████▁▁",
309
+ "▁▁▁▁▁▁▁▁▁█████████▁▁",
310
+ "▁▁▁▁▁▁▁▁▁▁█████████▁",
311
+ "▁▁▁▁▁▁▁▁▁▁▁████████▁",
312
+ "▁▁▁▁▁▁▁▁▁▁▁████████▁",
313
+ "▁▁▁▁▁▁▁▁▁▁▁▁███████▁",
314
+ "▁▁▁▁▁▁▁▁▁▁▁▁███████▁",
315
+ "▁▁▁▁▁▁▁▁▁▁▁▁▁███████",
316
+ "▁▁▁▁▁▁▁▁▁▁▁▁▁███████",
317
+ "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█████",
318
+ "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████",
319
+ "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████",
320
+ "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁████",
321
+ "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███",
322
+ "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁███",
323
+ "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██",
324
+ "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██",
325
+ "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁██",
326
+ "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█",
327
+ "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█",
328
+ "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁█",
329
+ "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
330
+ "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
331
+ "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
332
+ "▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁",
333
+ ],
334
+ },
335
+ "moon": {
336
+ "interval": 80,
337
+ "frames": ["🌑 ", "🌒 ", "🌓 ", "🌔 ", "🌕 ", "🌖 ", "🌗 ", "🌘 "],
338
+ },
339
+ "runner": {"interval": 140, "frames": ["🚶 ", "🏃 "]},
340
+ "pong": {
341
+ "interval": 80,
342
+ "frames": [
343
+ "▐⠂ ▌",
344
+ "▐⠈ ▌",
345
+ "▐ ⠂ ▌",
346
+ "▐ ⠠ ▌",
347
+ "▐ ⡀ ▌",
348
+ "▐ ⠠ ▌",
349
+ "▐ ⠂ ▌",
350
+ "▐ ⠈ ▌",
351
+ "▐ ⠂ ▌",
352
+ "▐ ⠠ ▌",
353
+ "▐ ⡀ ▌",
354
+ "▐ ⠠ ▌",
355
+ "▐ ⠂ ▌",
356
+ "▐ ⠈ ▌",
357
+ "▐ ⠂▌",
358
+ "▐ ⠠▌",
359
+ "▐ ⡀▌",
360
+ "▐ ⠠ ▌",
361
+ "▐ ⠂ ▌",
362
+ "▐ ⠈ ▌",
363
+ "▐ ⠂ ▌",
364
+ "▐ ⠠ ▌",
365
+ "▐ ⡀ ▌",
366
+ "▐ ⠠ ▌",
367
+ "▐ ⠂ ▌",
368
+ "▐ ⠈ ▌",
369
+ "▐ ⠂ ▌",
370
+ "▐ ⠠ ▌",
371
+ "▐ ⡀ ▌",
372
+ "▐⠠ ▌",
373
+ ],
374
+ },
375
+ "shark": {
376
+ "interval": 120,
377
+ "frames": [
378
+ "▐|\\____________▌",
379
+ "▐_|\\___________▌",
380
+ "▐__|\\__________▌",
381
+ "▐___|\\_________▌",
382
+ "▐____|\\________▌",
383
+ "▐_____|\\_______▌",
384
+ "▐______|\\______▌",
385
+ "▐_______|\\_____▌",
386
+ "▐________|\\____▌",
387
+ "▐_________|\\___▌",
388
+ "▐__________|\\__▌",
389
+ "▐___________|\\_▌",
390
+ "▐____________|\\▌",
391
+ "▐____________/|▌",
392
+ "▐___________/|_▌",
393
+ "▐__________/|__▌",
394
+ "▐_________/|___▌",
395
+ "▐________/|____▌",
396
+ "▐_______/|_____▌",
397
+ "▐______/|______▌",
398
+ "▐_____/|_______▌",
399
+ "▐____/|________▌",
400
+ "▐___/|_________▌",
401
+ "▐__/|__________▌",
402
+ "▐_/|___________▌",
403
+ "▐/|____________▌",
404
+ ],
405
+ },
406
+ "dqpb": {"interval": 100, "frames": "dqpb"},
407
+ "weather": {
408
+ "interval": 100,
409
+ "frames": [
410
+ "☀️ ",
411
+ "☀️ ",
412
+ "☀️ ",
413
+ "🌤 ",
414
+ "⛅️ ",
415
+ "🌥 ",
416
+ "☁️ ",
417
+ "🌧 ",
418
+ "🌨 ",
419
+ "🌧 ",
420
+ "🌨 ",
421
+ "🌧 ",
422
+ "🌨 ",
423
+ "⛈ ",
424
+ "🌨 ",
425
+ "🌧 ",
426
+ "🌨 ",
427
+ "☁️ ",
428
+ "🌥 ",
429
+ "⛅️ ",
430
+ "🌤 ",
431
+ "☀️ ",
432
+ "☀️ ",
433
+ ],
434
+ },
435
+ "christmas": {"interval": 400, "frames": "🌲🎄"},
436
+ "grenade": {
437
+ "interval": 80,
438
+ "frames": [
439
+ "، ",
440
+ "′ ",
441
+ " ´ ",
442
+ " ‾ ",
443
+ " ⸌",
444
+ " ⸊",
445
+ " |",
446
+ " ⁎",
447
+ " ⁕",
448
+ " ෴ ",
449
+ " ⁓",
450
+ " ",
451
+ " ",
452
+ " ",
453
+ ],
454
+ },
455
+ "point": {"interval": 125, "frames": ["∙∙∙", "●∙∙", "∙●∙", "∙∙●", "∙∙∙"]},
456
+ "layer": {"interval": 150, "frames": "-=≡"},
457
+ "betaWave": {
458
+ "interval": 80,
459
+ "frames": [
460
+ "ρββββββ",
461
+ "βρβββββ",
462
+ "ββρββββ",
463
+ "βββρβββ",
464
+ "ββββρββ",
465
+ "βββββρβ",
466
+ "ββββββρ",
467
+ ],
468
+ },
469
+ "aesthetic": {
470
+ "interval": 80,
471
+ "frames": [
472
+ "▰▱▱▱▱▱▱",
473
+ "▰▰▱▱▱▱▱",
474
+ "▰▰▰▱▱▱▱",
475
+ "▰▰▰▰▱▱▱",
476
+ "▰▰▰▰▰▱▱",
477
+ "▰▰▰▰▰▰▱",
478
+ "▰▰▰▰▰▰▰",
479
+ "▰▱▱▱▱▱▱",
480
+ ],
481
+ },
482
+ }
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_stack.py ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import List, TypeVar
2
+
3
+ T = TypeVar("T")
4
+
5
+
6
+ class Stack(List[T]):
7
+ """A small shim over builtin list."""
8
+
9
+ @property
10
+ def top(self) -> T:
11
+ """Get top of stack."""
12
+ return self[-1]
13
+
14
+ def push(self, item: T) -> None:
15
+ """Push an item on to the stack (append in stack nomenclature)."""
16
+ self.append(item)
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_timer.py ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Timer context manager, only used in debug.
3
+
4
+ """
5
+
6
+ from time import time
7
+
8
+ import contextlib
9
+ from typing import Generator
10
+
11
+
12
+ @contextlib.contextmanager
13
+ def timer(subject: str = "time") -> Generator[None, None, None]:
14
+ """print the elapsed time. (only used in debugging)"""
15
+ start = time()
16
+ yield
17
+ elapsed = time() - start
18
+ elapsed_ms = elapsed * 1000
19
+ print(f"{subject} elapsed {elapsed_ms:.1f}ms")
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode12-1-0.py ADDED
@@ -0,0 +1,636 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Auto generated by tools/make_width_tables.py
2
+ # Data from wcwidth project (https://github.com/jquast/wcwidth)
3
+
4
+ from rich.cells import CellTable
5
+
6
+ cell_table = CellTable(
7
+ "12.1.0",
8
+ [
9
+ (0, 0, 0),
10
+ (768, 879, 0),
11
+ (1155, 1161, 0),
12
+ (1425, 1469, 0),
13
+ (1471, 1471, 0),
14
+ (1473, 1474, 0),
15
+ (1476, 1477, 0),
16
+ (1479, 1479, 0),
17
+ (1552, 1562, 0),
18
+ (1564, 1564, 0),
19
+ (1611, 1631, 0),
20
+ (1648, 1648, 0),
21
+ (1750, 1756, 0),
22
+ (1759, 1764, 0),
23
+ (1767, 1768, 0),
24
+ (1770, 1773, 0),
25
+ (1809, 1809, 0),
26
+ (1840, 1866, 0),
27
+ (1958, 1968, 0),
28
+ (2027, 2035, 0),
29
+ (2045, 2045, 0),
30
+ (2070, 2073, 0),
31
+ (2075, 2083, 0),
32
+ (2085, 2087, 0),
33
+ (2089, 2093, 0),
34
+ (2137, 2139, 0),
35
+ (2259, 2273, 0),
36
+ (2275, 2307, 0),
37
+ (2362, 2364, 0),
38
+ (2366, 2383, 0),
39
+ (2385, 2391, 0),
40
+ (2402, 2403, 0),
41
+ (2433, 2435, 0),
42
+ (2492, 2492, 0),
43
+ (2494, 2500, 0),
44
+ (2503, 2504, 0),
45
+ (2507, 2509, 0),
46
+ (2519, 2519, 0),
47
+ (2530, 2531, 0),
48
+ (2558, 2558, 0),
49
+ (2561, 2563, 0),
50
+ (2620, 2620, 0),
51
+ (2622, 2626, 0),
52
+ (2631, 2632, 0),
53
+ (2635, 2637, 0),
54
+ (2641, 2641, 0),
55
+ (2672, 2673, 0),
56
+ (2677, 2677, 0),
57
+ (2689, 2691, 0),
58
+ (2748, 2748, 0),
59
+ (2750, 2757, 0),
60
+ (2759, 2761, 0),
61
+ (2763, 2765, 0),
62
+ (2786, 2787, 0),
63
+ (2810, 2815, 0),
64
+ (2817, 2819, 0),
65
+ (2876, 2876, 0),
66
+ (2878, 2884, 0),
67
+ (2887, 2888, 0),
68
+ (2891, 2893, 0),
69
+ (2902, 2903, 0),
70
+ (2914, 2915, 0),
71
+ (2946, 2946, 0),
72
+ (3006, 3010, 0),
73
+ (3014, 3016, 0),
74
+ (3018, 3021, 0),
75
+ (3031, 3031, 0),
76
+ (3072, 3076, 0),
77
+ (3134, 3140, 0),
78
+ (3142, 3144, 0),
79
+ (3146, 3149, 0),
80
+ (3157, 3158, 0),
81
+ (3170, 3171, 0),
82
+ (3201, 3203, 0),
83
+ (3260, 3260, 0),
84
+ (3262, 3268, 0),
85
+ (3270, 3272, 0),
86
+ (3274, 3277, 0),
87
+ (3285, 3286, 0),
88
+ (3298, 3299, 0),
89
+ (3328, 3331, 0),
90
+ (3387, 3388, 0),
91
+ (3390, 3396, 0),
92
+ (3398, 3400, 0),
93
+ (3402, 3405, 0),
94
+ (3415, 3415, 0),
95
+ (3426, 3427, 0),
96
+ (3458, 3459, 0),
97
+ (3530, 3530, 0),
98
+ (3535, 3540, 0),
99
+ (3542, 3542, 0),
100
+ (3544, 3551, 0),
101
+ (3570, 3571, 0),
102
+ (3633, 3633, 0),
103
+ (3636, 3642, 0),
104
+ (3655, 3662, 0),
105
+ (3761, 3761, 0),
106
+ (3764, 3772, 0),
107
+ (3784, 3789, 0),
108
+ (3864, 3865, 0),
109
+ (3893, 3893, 0),
110
+ (3895, 3895, 0),
111
+ (3897, 3897, 0),
112
+ (3902, 3903, 0),
113
+ (3953, 3972, 0),
114
+ (3974, 3975, 0),
115
+ (3981, 3991, 0),
116
+ (3993, 4028, 0),
117
+ (4038, 4038, 0),
118
+ (4139, 4158, 0),
119
+ (4182, 4185, 0),
120
+ (4190, 4192, 0),
121
+ (4194, 4196, 0),
122
+ (4199, 4205, 0),
123
+ (4209, 4212, 0),
124
+ (4226, 4237, 0),
125
+ (4239, 4239, 0),
126
+ (4250, 4253, 0),
127
+ (4352, 4447, 2),
128
+ (4448, 4607, 0),
129
+ (4957, 4959, 0),
130
+ (5906, 5908, 0),
131
+ (5938, 5940, 0),
132
+ (5970, 5971, 0),
133
+ (6002, 6003, 0),
134
+ (6068, 6099, 0),
135
+ (6109, 6109, 0),
136
+ (6155, 6158, 0),
137
+ (6277, 6278, 0),
138
+ (6313, 6313, 0),
139
+ (6432, 6443, 0),
140
+ (6448, 6459, 0),
141
+ (6679, 6683, 0),
142
+ (6741, 6750, 0),
143
+ (6752, 6780, 0),
144
+ (6783, 6783, 0),
145
+ (6832, 6846, 0),
146
+ (6912, 6916, 0),
147
+ (6964, 6980, 0),
148
+ (7019, 7027, 0),
149
+ (7040, 7042, 0),
150
+ (7073, 7085, 0),
151
+ (7142, 7155, 0),
152
+ (7204, 7223, 0),
153
+ (7376, 7378, 0),
154
+ (7380, 7400, 0),
155
+ (7405, 7405, 0),
156
+ (7412, 7412, 0),
157
+ (7415, 7417, 0),
158
+ (7616, 7673, 0),
159
+ (7675, 7679, 0),
160
+ (8203, 8207, 0),
161
+ (8232, 8238, 0),
162
+ (8288, 8303, 0),
163
+ (8400, 8432, 0),
164
+ (8986, 8987, 2),
165
+ (9001, 9002, 2),
166
+ (9193, 9196, 2),
167
+ (9200, 9200, 2),
168
+ (9203, 9203, 2),
169
+ (9725, 9726, 2),
170
+ (9748, 9749, 2),
171
+ (9800, 9811, 2),
172
+ (9855, 9855, 2),
173
+ (9875, 9875, 2),
174
+ (9889, 9889, 2),
175
+ (9898, 9899, 2),
176
+ (9917, 9918, 2),
177
+ (9924, 9925, 2),
178
+ (9934, 9934, 2),
179
+ (9940, 9940, 2),
180
+ (9962, 9962, 2),
181
+ (9970, 9971, 2),
182
+ (9973, 9973, 2),
183
+ (9978, 9978, 2),
184
+ (9981, 9981, 2),
185
+ (9989, 9989, 2),
186
+ (9994, 9995, 2),
187
+ (10024, 10024, 2),
188
+ (10060, 10060, 2),
189
+ (10062, 10062, 2),
190
+ (10067, 10069, 2),
191
+ (10071, 10071, 2),
192
+ (10133, 10135, 2),
193
+ (10160, 10160, 2),
194
+ (10175, 10175, 2),
195
+ (11035, 11036, 2),
196
+ (11088, 11088, 2),
197
+ (11093, 11093, 2),
198
+ (11503, 11505, 0),
199
+ (11647, 11647, 0),
200
+ (11744, 11775, 0),
201
+ (11904, 11929, 2),
202
+ (11931, 12019, 2),
203
+ (12032, 12245, 2),
204
+ (12272, 12283, 2),
205
+ (12288, 12329, 2),
206
+ (12330, 12335, 0),
207
+ (12336, 12350, 2),
208
+ (12353, 12438, 2),
209
+ (12441, 12442, 0),
210
+ (12443, 12543, 2),
211
+ (12549, 12591, 2),
212
+ (12593, 12643, 2),
213
+ (12644, 12644, 0),
214
+ (12645, 12686, 2),
215
+ (12688, 12730, 2),
216
+ (12736, 12771, 2),
217
+ (12784, 12830, 2),
218
+ (12832, 12871, 2),
219
+ (12880, 19903, 2),
220
+ (19968, 42124, 2),
221
+ (42128, 42182, 2),
222
+ (42607, 42610, 0),
223
+ (42612, 42621, 0),
224
+ (42654, 42655, 0),
225
+ (42736, 42737, 0),
226
+ (43010, 43010, 0),
227
+ (43014, 43014, 0),
228
+ (43019, 43019, 0),
229
+ (43043, 43047, 0),
230
+ (43136, 43137, 0),
231
+ (43188, 43205, 0),
232
+ (43232, 43249, 0),
233
+ (43263, 43263, 0),
234
+ (43302, 43309, 0),
235
+ (43335, 43347, 0),
236
+ (43360, 43388, 2),
237
+ (43392, 43395, 0),
238
+ (43443, 43456, 0),
239
+ (43493, 43493, 0),
240
+ (43561, 43574, 0),
241
+ (43587, 43587, 0),
242
+ (43596, 43597, 0),
243
+ (43643, 43645, 0),
244
+ (43696, 43696, 0),
245
+ (43698, 43700, 0),
246
+ (43703, 43704, 0),
247
+ (43710, 43711, 0),
248
+ (43713, 43713, 0),
249
+ (43755, 43759, 0),
250
+ (43765, 43766, 0),
251
+ (44003, 44010, 0),
252
+ (44012, 44013, 0),
253
+ (44032, 55203, 2),
254
+ (55216, 55295, 0),
255
+ (63744, 64255, 2),
256
+ (64286, 64286, 0),
257
+ (65024, 65039, 0),
258
+ (65040, 65049, 2),
259
+ (65056, 65071, 0),
260
+ (65072, 65106, 2),
261
+ (65108, 65126, 2),
262
+ (65128, 65131, 2),
263
+ (65279, 65279, 0),
264
+ (65281, 65376, 2),
265
+ (65440, 65440, 0),
266
+ (65504, 65510, 2),
267
+ (65520, 65531, 0),
268
+ (66045, 66045, 0),
269
+ (66272, 66272, 0),
270
+ (66422, 66426, 0),
271
+ (68097, 68099, 0),
272
+ (68101, 68102, 0),
273
+ (68108, 68111, 0),
274
+ (68152, 68154, 0),
275
+ (68159, 68159, 0),
276
+ (68325, 68326, 0),
277
+ (68900, 68903, 0),
278
+ (69446, 69456, 0),
279
+ (69632, 69634, 0),
280
+ (69688, 69702, 0),
281
+ (69759, 69762, 0),
282
+ (69808, 69818, 0),
283
+ (69888, 69890, 0),
284
+ (69927, 69940, 0),
285
+ (69957, 69958, 0),
286
+ (70003, 70003, 0),
287
+ (70016, 70018, 0),
288
+ (70067, 70080, 0),
289
+ (70089, 70092, 0),
290
+ (70188, 70199, 0),
291
+ (70206, 70206, 0),
292
+ (70367, 70378, 0),
293
+ (70400, 70403, 0),
294
+ (70459, 70460, 0),
295
+ (70462, 70468, 0),
296
+ (70471, 70472, 0),
297
+ (70475, 70477, 0),
298
+ (70487, 70487, 0),
299
+ (70498, 70499, 0),
300
+ (70502, 70508, 0),
301
+ (70512, 70516, 0),
302
+ (70709, 70726, 0),
303
+ (70750, 70750, 0),
304
+ (70832, 70851, 0),
305
+ (71087, 71093, 0),
306
+ (71096, 71104, 0),
307
+ (71132, 71133, 0),
308
+ (71216, 71232, 0),
309
+ (71339, 71351, 0),
310
+ (71453, 71467, 0),
311
+ (71724, 71738, 0),
312
+ (72145, 72151, 0),
313
+ (72154, 72160, 0),
314
+ (72164, 72164, 0),
315
+ (72193, 72202, 0),
316
+ (72243, 72249, 0),
317
+ (72251, 72254, 0),
318
+ (72263, 72263, 0),
319
+ (72273, 72283, 0),
320
+ (72330, 72345, 0),
321
+ (72751, 72758, 0),
322
+ (72760, 72767, 0),
323
+ (72850, 72871, 0),
324
+ (72873, 72886, 0),
325
+ (73009, 73014, 0),
326
+ (73018, 73018, 0),
327
+ (73020, 73021, 0),
328
+ (73023, 73029, 0),
329
+ (73031, 73031, 0),
330
+ (73098, 73102, 0),
331
+ (73104, 73105, 0),
332
+ (73107, 73111, 0),
333
+ (73459, 73462, 0),
334
+ (78896, 78904, 0),
335
+ (92912, 92916, 0),
336
+ (92976, 92982, 0),
337
+ (94031, 94031, 0),
338
+ (94033, 94087, 0),
339
+ (94095, 94098, 0),
340
+ (94176, 94179, 2),
341
+ (94208, 100343, 2),
342
+ (100352, 101106, 2),
343
+ (110592, 110878, 2),
344
+ (110928, 110930, 2),
345
+ (110948, 110951, 2),
346
+ (110960, 111355, 2),
347
+ (113821, 113822, 0),
348
+ (113824, 113827, 0),
349
+ (119141, 119145, 0),
350
+ (119149, 119170, 0),
351
+ (119173, 119179, 0),
352
+ (119210, 119213, 0),
353
+ (119362, 119364, 0),
354
+ (121344, 121398, 0),
355
+ (121403, 121452, 0),
356
+ (121461, 121461, 0),
357
+ (121476, 121476, 0),
358
+ (121499, 121503, 0),
359
+ (121505, 121519, 0),
360
+ (122880, 122886, 0),
361
+ (122888, 122904, 0),
362
+ (122907, 122913, 0),
363
+ (122915, 122916, 0),
364
+ (122918, 122922, 0),
365
+ (123184, 123190, 0),
366
+ (123628, 123631, 0),
367
+ (125136, 125142, 0),
368
+ (125252, 125258, 0),
369
+ (126980, 126980, 2),
370
+ (127183, 127183, 2),
371
+ (127374, 127374, 2),
372
+ (127377, 127386, 2),
373
+ (127488, 127490, 2),
374
+ (127504, 127547, 2),
375
+ (127552, 127560, 2),
376
+ (127568, 127569, 2),
377
+ (127584, 127589, 2),
378
+ (127744, 127776, 2),
379
+ (127789, 127797, 2),
380
+ (127799, 127868, 2),
381
+ (127870, 127891, 2),
382
+ (127904, 127946, 2),
383
+ (127951, 127955, 2),
384
+ (127968, 127984, 2),
385
+ (127988, 127988, 2),
386
+ (127992, 127994, 2),
387
+ (127995, 127999, 0),
388
+ (128000, 128062, 2),
389
+ (128064, 128064, 2),
390
+ (128066, 128252, 2),
391
+ (128255, 128317, 2),
392
+ (128331, 128334, 2),
393
+ (128336, 128359, 2),
394
+ (128378, 128378, 2),
395
+ (128405, 128406, 2),
396
+ (128420, 128420, 2),
397
+ (128507, 128591, 2),
398
+ (128640, 128709, 2),
399
+ (128716, 128716, 2),
400
+ (128720, 128722, 2),
401
+ (128725, 128725, 2),
402
+ (128747, 128748, 2),
403
+ (128756, 128762, 2),
404
+ (128992, 129003, 2),
405
+ (129293, 129393, 2),
406
+ (129395, 129398, 2),
407
+ (129402, 129442, 2),
408
+ (129445, 129450, 2),
409
+ (129454, 129482, 2),
410
+ (129485, 129535, 2),
411
+ (129648, 129651, 2),
412
+ (129656, 129658, 2),
413
+ (129664, 129666, 2),
414
+ (129680, 129685, 2),
415
+ (131072, 196605, 2),
416
+ (196608, 262141, 2),
417
+ (917504, 921599, 0),
418
+ ],
419
+ frozenset(
420
+ [
421
+ "#",
422
+ "*",
423
+ "0",
424
+ "1",
425
+ "2",
426
+ "3",
427
+ "4",
428
+ "5",
429
+ "6",
430
+ "7",
431
+ "8",
432
+ "9",
433
+ "©",
434
+ "®",
435
+ "‼",
436
+ "⁉",
437
+ "™",
438
+ "ℹ",
439
+ "↔",
440
+ "↕",
441
+ "↖",
442
+ "↗",
443
+ "↘",
444
+ "↙",
445
+ "↩",
446
+ "↪",
447
+ "⌨",
448
+ "⏏",
449
+ "⏭",
450
+ "⏮",
451
+ "⏯",
452
+ "⏱",
453
+ "⏲",
454
+ "⏸",
455
+ "⏹",
456
+ "⏺",
457
+ "Ⓜ",
458
+ "▪",
459
+ "▫",
460
+ "▶",
461
+ "◀",
462
+ "◻",
463
+ "◼",
464
+ "☀",
465
+ "☁",
466
+ "☂",
467
+ "☃",
468
+ "☄",
469
+ "☎",
470
+ "☑",
471
+ "☘",
472
+ "☝",
473
+ "☠",
474
+ "☢",
475
+ "☣",
476
+ "☦",
477
+ "☪",
478
+ "☮",
479
+ "☯",
480
+ "☸",
481
+ "☹",
482
+ "☺",
483
+ "♀",
484
+ "♂",
485
+ "♟",
486
+ "♠",
487
+ "♣",
488
+ "♥",
489
+ "♦",
490
+ "♨",
491
+ "♻",
492
+ "♾",
493
+ "⚒",
494
+ "⚔",
495
+ "⚕",
496
+ "⚖",
497
+ "⚗",
498
+ "⚙",
499
+ "⚛",
500
+ "⚜",
501
+ "⚠",
502
+ "⚧",
503
+ "⚰",
504
+ "⚱",
505
+ "⛈",
506
+ "⛏",
507
+ "⛑",
508
+ "⛓",
509
+ "⛩",
510
+ "⛰",
511
+ "⛱",
512
+ "⛴",
513
+ "⛷",
514
+ "⛸",
515
+ "⛹",
516
+ "✂",
517
+ "✈",
518
+ "✉",
519
+ "✌",
520
+ "✍",
521
+ "✏",
522
+ "✒",
523
+ "✔",
524
+ "✖",
525
+ "✝",
526
+ "✡",
527
+ "✳",
528
+ "✴",
529
+ "❄",
530
+ "❇",
531
+ "❣",
532
+ "❤",
533
+ "➡",
534
+ "⤴",
535
+ "⤵",
536
+ "⬅",
537
+ "⬆",
538
+ "⬇",
539
+ "🅰",
540
+ "🅱",
541
+ "🅾",
542
+ "🅿",
543
+ "🌡",
544
+ "🌤",
545
+ "🌥",
546
+ "🌦",
547
+ "🌧",
548
+ "🌨",
549
+ "🌩",
550
+ "🌪",
551
+ "🌫",
552
+ "🌬",
553
+ "🌶",
554
+ "🍽",
555
+ "🎖",
556
+ "🎗",
557
+ "🎙",
558
+ "🎚",
559
+ "🎛",
560
+ "🎞",
561
+ "🎟",
562
+ "🏋",
563
+ "🏌",
564
+ "🏍",
565
+ "🏎",
566
+ "🏔",
567
+ "🏕",
568
+ "🏖",
569
+ "🏗",
570
+ "🏘",
571
+ "🏙",
572
+ "🏚",
573
+ "🏛",
574
+ "🏜",
575
+ "🏝",
576
+ "🏞",
577
+ "🏟",
578
+ "🏳",
579
+ "🏵",
580
+ "🏷",
581
+ "🐿",
582
+ "👁",
583
+ "📽",
584
+ "🕉",
585
+ "🕊",
586
+ "🕯",
587
+ "🕰",
588
+ "🕳",
589
+ "🕴",
590
+ "🕵",
591
+ "🕶",
592
+ "🕷",
593
+ "🕸",
594
+ "🕹",
595
+ "🖇",
596
+ "🖊",
597
+ "🖋",
598
+ "🖌",
599
+ "🖍",
600
+ "🖐",
601
+ "🖥",
602
+ "🖨",
603
+ "🖱",
604
+ "🖲",
605
+ "🖼",
606
+ "🗂",
607
+ "🗃",
608
+ "🗄",
609
+ "🗑",
610
+ "🗒",
611
+ "🗓",
612
+ "🗜",
613
+ "🗝",
614
+ "🗞",
615
+ "🗡",
616
+ "🗣",
617
+ "🗨",
618
+ "🗯",
619
+ "🗳",
620
+ "🗺",
621
+ "🛋",
622
+ "🛍",
623
+ "🛎",
624
+ "🛏",
625
+ "🛠",
626
+ "🛡",
627
+ "🛢",
628
+ "🛣",
629
+ "🛤",
630
+ "🛥",
631
+ "🛩",
632
+ "🛰",
633
+ "🛳",
634
+ ]
635
+ ),
636
+ )
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode13-0-0.py ADDED
@@ -0,0 +1,648 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Auto generated by tools/make_width_tables.py
2
+ # Data from wcwidth project (https://github.com/jquast/wcwidth)
3
+
4
+ from rich.cells import CellTable
5
+
6
+ cell_table = CellTable(
7
+ "13.0.0",
8
+ [
9
+ (0, 0, 0),
10
+ (768, 879, 0),
11
+ (1155, 1161, 0),
12
+ (1425, 1469, 0),
13
+ (1471, 1471, 0),
14
+ (1473, 1474, 0),
15
+ (1476, 1477, 0),
16
+ (1479, 1479, 0),
17
+ (1552, 1562, 0),
18
+ (1564, 1564, 0),
19
+ (1611, 1631, 0),
20
+ (1648, 1648, 0),
21
+ (1750, 1756, 0),
22
+ (1759, 1764, 0),
23
+ (1767, 1768, 0),
24
+ (1770, 1773, 0),
25
+ (1809, 1809, 0),
26
+ (1840, 1866, 0),
27
+ (1958, 1968, 0),
28
+ (2027, 2035, 0),
29
+ (2045, 2045, 0),
30
+ (2070, 2073, 0),
31
+ (2075, 2083, 0),
32
+ (2085, 2087, 0),
33
+ (2089, 2093, 0),
34
+ (2137, 2139, 0),
35
+ (2259, 2273, 0),
36
+ (2275, 2307, 0),
37
+ (2362, 2364, 0),
38
+ (2366, 2383, 0),
39
+ (2385, 2391, 0),
40
+ (2402, 2403, 0),
41
+ (2433, 2435, 0),
42
+ (2492, 2492, 0),
43
+ (2494, 2500, 0),
44
+ (2503, 2504, 0),
45
+ (2507, 2509, 0),
46
+ (2519, 2519, 0),
47
+ (2530, 2531, 0),
48
+ (2558, 2558, 0),
49
+ (2561, 2563, 0),
50
+ (2620, 2620, 0),
51
+ (2622, 2626, 0),
52
+ (2631, 2632, 0),
53
+ (2635, 2637, 0),
54
+ (2641, 2641, 0),
55
+ (2672, 2673, 0),
56
+ (2677, 2677, 0),
57
+ (2689, 2691, 0),
58
+ (2748, 2748, 0),
59
+ (2750, 2757, 0),
60
+ (2759, 2761, 0),
61
+ (2763, 2765, 0),
62
+ (2786, 2787, 0),
63
+ (2810, 2815, 0),
64
+ (2817, 2819, 0),
65
+ (2876, 2876, 0),
66
+ (2878, 2884, 0),
67
+ (2887, 2888, 0),
68
+ (2891, 2893, 0),
69
+ (2901, 2903, 0),
70
+ (2914, 2915, 0),
71
+ (2946, 2946, 0),
72
+ (3006, 3010, 0),
73
+ (3014, 3016, 0),
74
+ (3018, 3021, 0),
75
+ (3031, 3031, 0),
76
+ (3072, 3076, 0),
77
+ (3134, 3140, 0),
78
+ (3142, 3144, 0),
79
+ (3146, 3149, 0),
80
+ (3157, 3158, 0),
81
+ (3170, 3171, 0),
82
+ (3201, 3203, 0),
83
+ (3260, 3260, 0),
84
+ (3262, 3268, 0),
85
+ (3270, 3272, 0),
86
+ (3274, 3277, 0),
87
+ (3285, 3286, 0),
88
+ (3298, 3299, 0),
89
+ (3328, 3331, 0),
90
+ (3387, 3388, 0),
91
+ (3390, 3396, 0),
92
+ (3398, 3400, 0),
93
+ (3402, 3405, 0),
94
+ (3415, 3415, 0),
95
+ (3426, 3427, 0),
96
+ (3457, 3459, 0),
97
+ (3530, 3530, 0),
98
+ (3535, 3540, 0),
99
+ (3542, 3542, 0),
100
+ (3544, 3551, 0),
101
+ (3570, 3571, 0),
102
+ (3633, 3633, 0),
103
+ (3636, 3642, 0),
104
+ (3655, 3662, 0),
105
+ (3761, 3761, 0),
106
+ (3764, 3772, 0),
107
+ (3784, 3789, 0),
108
+ (3864, 3865, 0),
109
+ (3893, 3893, 0),
110
+ (3895, 3895, 0),
111
+ (3897, 3897, 0),
112
+ (3902, 3903, 0),
113
+ (3953, 3972, 0),
114
+ (3974, 3975, 0),
115
+ (3981, 3991, 0),
116
+ (3993, 4028, 0),
117
+ (4038, 4038, 0),
118
+ (4139, 4158, 0),
119
+ (4182, 4185, 0),
120
+ (4190, 4192, 0),
121
+ (4194, 4196, 0),
122
+ (4199, 4205, 0),
123
+ (4209, 4212, 0),
124
+ (4226, 4237, 0),
125
+ (4239, 4239, 0),
126
+ (4250, 4253, 0),
127
+ (4352, 4447, 2),
128
+ (4448, 4607, 0),
129
+ (4957, 4959, 0),
130
+ (5906, 5908, 0),
131
+ (5938, 5940, 0),
132
+ (5970, 5971, 0),
133
+ (6002, 6003, 0),
134
+ (6068, 6099, 0),
135
+ (6109, 6109, 0),
136
+ (6155, 6158, 0),
137
+ (6277, 6278, 0),
138
+ (6313, 6313, 0),
139
+ (6432, 6443, 0),
140
+ (6448, 6459, 0),
141
+ (6679, 6683, 0),
142
+ (6741, 6750, 0),
143
+ (6752, 6780, 0),
144
+ (6783, 6783, 0),
145
+ (6832, 6848, 0),
146
+ (6912, 6916, 0),
147
+ (6964, 6980, 0),
148
+ (7019, 7027, 0),
149
+ (7040, 7042, 0),
150
+ (7073, 7085, 0),
151
+ (7142, 7155, 0),
152
+ (7204, 7223, 0),
153
+ (7376, 7378, 0),
154
+ (7380, 7400, 0),
155
+ (7405, 7405, 0),
156
+ (7412, 7412, 0),
157
+ (7415, 7417, 0),
158
+ (7616, 7673, 0),
159
+ (7675, 7679, 0),
160
+ (8203, 8207, 0),
161
+ (8232, 8238, 0),
162
+ (8288, 8303, 0),
163
+ (8400, 8432, 0),
164
+ (8986, 8987, 2),
165
+ (9001, 9002, 2),
166
+ (9193, 9196, 2),
167
+ (9200, 9200, 2),
168
+ (9203, 9203, 2),
169
+ (9725, 9726, 2),
170
+ (9748, 9749, 2),
171
+ (9800, 9811, 2),
172
+ (9855, 9855, 2),
173
+ (9875, 9875, 2),
174
+ (9889, 9889, 2),
175
+ (9898, 9899, 2),
176
+ (9917, 9918, 2),
177
+ (9924, 9925, 2),
178
+ (9934, 9934, 2),
179
+ (9940, 9940, 2),
180
+ (9962, 9962, 2),
181
+ (9970, 9971, 2),
182
+ (9973, 9973, 2),
183
+ (9978, 9978, 2),
184
+ (9981, 9981, 2),
185
+ (9989, 9989, 2),
186
+ (9994, 9995, 2),
187
+ (10024, 10024, 2),
188
+ (10060, 10060, 2),
189
+ (10062, 10062, 2),
190
+ (10067, 10069, 2),
191
+ (10071, 10071, 2),
192
+ (10133, 10135, 2),
193
+ (10160, 10160, 2),
194
+ (10175, 10175, 2),
195
+ (11035, 11036, 2),
196
+ (11088, 11088, 2),
197
+ (11093, 11093, 2),
198
+ (11503, 11505, 0),
199
+ (11647, 11647, 0),
200
+ (11744, 11775, 0),
201
+ (11904, 11929, 2),
202
+ (11931, 12019, 2),
203
+ (12032, 12245, 2),
204
+ (12272, 12283, 2),
205
+ (12288, 12329, 2),
206
+ (12330, 12335, 0),
207
+ (12336, 12350, 2),
208
+ (12353, 12438, 2),
209
+ (12441, 12442, 0),
210
+ (12443, 12543, 2),
211
+ (12549, 12591, 2),
212
+ (12593, 12643, 2),
213
+ (12644, 12644, 0),
214
+ (12645, 12686, 2),
215
+ (12688, 12771, 2),
216
+ (12784, 12830, 2),
217
+ (12832, 12871, 2),
218
+ (12880, 19903, 2),
219
+ (19968, 42124, 2),
220
+ (42128, 42182, 2),
221
+ (42607, 42610, 0),
222
+ (42612, 42621, 0),
223
+ (42654, 42655, 0),
224
+ (42736, 42737, 0),
225
+ (43010, 43010, 0),
226
+ (43014, 43014, 0),
227
+ (43019, 43019, 0),
228
+ (43043, 43047, 0),
229
+ (43052, 43052, 0),
230
+ (43136, 43137, 0),
231
+ (43188, 43205, 0),
232
+ (43232, 43249, 0),
233
+ (43263, 43263, 0),
234
+ (43302, 43309, 0),
235
+ (43335, 43347, 0),
236
+ (43360, 43388, 2),
237
+ (43392, 43395, 0),
238
+ (43443, 43456, 0),
239
+ (43493, 43493, 0),
240
+ (43561, 43574, 0),
241
+ (43587, 43587, 0),
242
+ (43596, 43597, 0),
243
+ (43643, 43645, 0),
244
+ (43696, 43696, 0),
245
+ (43698, 43700, 0),
246
+ (43703, 43704, 0),
247
+ (43710, 43711, 0),
248
+ (43713, 43713, 0),
249
+ (43755, 43759, 0),
250
+ (43765, 43766, 0),
251
+ (44003, 44010, 0),
252
+ (44012, 44013, 0),
253
+ (44032, 55203, 2),
254
+ (55216, 55295, 0),
255
+ (63744, 64255, 2),
256
+ (64286, 64286, 0),
257
+ (65024, 65039, 0),
258
+ (65040, 65049, 2),
259
+ (65056, 65071, 0),
260
+ (65072, 65106, 2),
261
+ (65108, 65126, 2),
262
+ (65128, 65131, 2),
263
+ (65279, 65279, 0),
264
+ (65281, 65376, 2),
265
+ (65440, 65440, 0),
266
+ (65504, 65510, 2),
267
+ (65520, 65531, 0),
268
+ (66045, 66045, 0),
269
+ (66272, 66272, 0),
270
+ (66422, 66426, 0),
271
+ (68097, 68099, 0),
272
+ (68101, 68102, 0),
273
+ (68108, 68111, 0),
274
+ (68152, 68154, 0),
275
+ (68159, 68159, 0),
276
+ (68325, 68326, 0),
277
+ (68900, 68903, 0),
278
+ (69291, 69292, 0),
279
+ (69446, 69456, 0),
280
+ (69632, 69634, 0),
281
+ (69688, 69702, 0),
282
+ (69759, 69762, 0),
283
+ (69808, 69818, 0),
284
+ (69888, 69890, 0),
285
+ (69927, 69940, 0),
286
+ (69957, 69958, 0),
287
+ (70003, 70003, 0),
288
+ (70016, 70018, 0),
289
+ (70067, 70080, 0),
290
+ (70089, 70092, 0),
291
+ (70094, 70095, 0),
292
+ (70188, 70199, 0),
293
+ (70206, 70206, 0),
294
+ (70367, 70378, 0),
295
+ (70400, 70403, 0),
296
+ (70459, 70460, 0),
297
+ (70462, 70468, 0),
298
+ (70471, 70472, 0),
299
+ (70475, 70477, 0),
300
+ (70487, 70487, 0),
301
+ (70498, 70499, 0),
302
+ (70502, 70508, 0),
303
+ (70512, 70516, 0),
304
+ (70709, 70726, 0),
305
+ (70750, 70750, 0),
306
+ (70832, 70851, 0),
307
+ (71087, 71093, 0),
308
+ (71096, 71104, 0),
309
+ (71132, 71133, 0),
310
+ (71216, 71232, 0),
311
+ (71339, 71351, 0),
312
+ (71453, 71467, 0),
313
+ (71724, 71738, 0),
314
+ (71984, 71989, 0),
315
+ (71991, 71992, 0),
316
+ (71995, 71998, 0),
317
+ (72000, 72000, 0),
318
+ (72002, 72003, 0),
319
+ (72145, 72151, 0),
320
+ (72154, 72160, 0),
321
+ (72164, 72164, 0),
322
+ (72193, 72202, 0),
323
+ (72243, 72249, 0),
324
+ (72251, 72254, 0),
325
+ (72263, 72263, 0),
326
+ (72273, 72283, 0),
327
+ (72330, 72345, 0),
328
+ (72751, 72758, 0),
329
+ (72760, 72767, 0),
330
+ (72850, 72871, 0),
331
+ (72873, 72886, 0),
332
+ (73009, 73014, 0),
333
+ (73018, 73018, 0),
334
+ (73020, 73021, 0),
335
+ (73023, 73029, 0),
336
+ (73031, 73031, 0),
337
+ (73098, 73102, 0),
338
+ (73104, 73105, 0),
339
+ (73107, 73111, 0),
340
+ (73459, 73462, 0),
341
+ (78896, 78904, 0),
342
+ (92912, 92916, 0),
343
+ (92976, 92982, 0),
344
+ (94031, 94031, 0),
345
+ (94033, 94087, 0),
346
+ (94095, 94098, 0),
347
+ (94176, 94179, 2),
348
+ (94180, 94180, 0),
349
+ (94192, 94193, 0),
350
+ (94208, 100343, 2),
351
+ (100352, 101589, 2),
352
+ (101632, 101640, 2),
353
+ (110592, 110878, 2),
354
+ (110928, 110930, 2),
355
+ (110948, 110951, 2),
356
+ (110960, 111355, 2),
357
+ (113821, 113822, 0),
358
+ (113824, 113827, 0),
359
+ (119141, 119145, 0),
360
+ (119149, 119170, 0),
361
+ (119173, 119179, 0),
362
+ (119210, 119213, 0),
363
+ (119362, 119364, 0),
364
+ (121344, 121398, 0),
365
+ (121403, 121452, 0),
366
+ (121461, 121461, 0),
367
+ (121476, 121476, 0),
368
+ (121499, 121503, 0),
369
+ (121505, 121519, 0),
370
+ (122880, 122886, 0),
371
+ (122888, 122904, 0),
372
+ (122907, 122913, 0),
373
+ (122915, 122916, 0),
374
+ (122918, 122922, 0),
375
+ (123184, 123190, 0),
376
+ (123628, 123631, 0),
377
+ (125136, 125142, 0),
378
+ (125252, 125258, 0),
379
+ (126980, 126980, 2),
380
+ (127183, 127183, 2),
381
+ (127374, 127374, 2),
382
+ (127377, 127386, 2),
383
+ (127488, 127490, 2),
384
+ (127504, 127547, 2),
385
+ (127552, 127560, 2),
386
+ (127568, 127569, 2),
387
+ (127584, 127589, 2),
388
+ (127744, 127776, 2),
389
+ (127789, 127797, 2),
390
+ (127799, 127868, 2),
391
+ (127870, 127891, 2),
392
+ (127904, 127946, 2),
393
+ (127951, 127955, 2),
394
+ (127968, 127984, 2),
395
+ (127988, 127988, 2),
396
+ (127992, 127994, 2),
397
+ (127995, 127999, 0),
398
+ (128000, 128062, 2),
399
+ (128064, 128064, 2),
400
+ (128066, 128252, 2),
401
+ (128255, 128317, 2),
402
+ (128331, 128334, 2),
403
+ (128336, 128359, 2),
404
+ (128378, 128378, 2),
405
+ (128405, 128406, 2),
406
+ (128420, 128420, 2),
407
+ (128507, 128591, 2),
408
+ (128640, 128709, 2),
409
+ (128716, 128716, 2),
410
+ (128720, 128722, 2),
411
+ (128725, 128727, 2),
412
+ (128747, 128748, 2),
413
+ (128756, 128764, 2),
414
+ (128992, 129003, 2),
415
+ (129292, 129338, 2),
416
+ (129340, 129349, 2),
417
+ (129351, 129400, 2),
418
+ (129402, 129483, 2),
419
+ (129485, 129535, 2),
420
+ (129648, 129652, 2),
421
+ (129656, 129658, 2),
422
+ (129664, 129670, 2),
423
+ (129680, 129704, 2),
424
+ (129712, 129718, 2),
425
+ (129728, 129730, 2),
426
+ (129744, 129750, 2),
427
+ (131072, 196605, 2),
428
+ (196608, 262141, 2),
429
+ (917504, 921599, 0),
430
+ ],
431
+ frozenset(
432
+ [
433
+ "#",
434
+ "*",
435
+ "0",
436
+ "1",
437
+ "2",
438
+ "3",
439
+ "4",
440
+ "5",
441
+ "6",
442
+ "7",
443
+ "8",
444
+ "9",
445
+ "©",
446
+ "®",
447
+ "‼",
448
+ "⁉",
449
+ "™",
450
+ "ℹ",
451
+ "↔",
452
+ "↕",
453
+ "↖",
454
+ "↗",
455
+ "↘",
456
+ "↙",
457
+ "↩",
458
+ "↪",
459
+ "⌨",
460
+ "⏏",
461
+ "⏭",
462
+ "⏮",
463
+ "⏯",
464
+ "⏱",
465
+ "⏲",
466
+ "⏸",
467
+ "⏹",
468
+ "⏺",
469
+ "Ⓜ",
470
+ "▪",
471
+ "▫",
472
+ "▶",
473
+ "◀",
474
+ "◻",
475
+ "◼",
476
+ "☀",
477
+ "☁",
478
+ "☂",
479
+ "☃",
480
+ "☄",
481
+ "☎",
482
+ "☑",
483
+ "☘",
484
+ "☝",
485
+ "☠",
486
+ "☢",
487
+ "☣",
488
+ "☦",
489
+ "☪",
490
+ "☮",
491
+ "☯",
492
+ "☸",
493
+ "☹",
494
+ "☺",
495
+ "♀",
496
+ "♂",
497
+ "♟",
498
+ "♠",
499
+ "♣",
500
+ "♥",
501
+ "♦",
502
+ "♨",
503
+ "♻",
504
+ "♾",
505
+ "⚒",
506
+ "⚔",
507
+ "⚕",
508
+ "⚖",
509
+ "⚗",
510
+ "⚙",
511
+ "⚛",
512
+ "⚜",
513
+ "⚠",
514
+ "⚧",
515
+ "⚰",
516
+ "⚱",
517
+ "⛈",
518
+ "⛏",
519
+ "⛑",
520
+ "⛓",
521
+ "⛩",
522
+ "⛰",
523
+ "⛱",
524
+ "⛴",
525
+ "⛷",
526
+ "⛸",
527
+ "⛹",
528
+ "✂",
529
+ "✈",
530
+ "✉",
531
+ "✌",
532
+ "✍",
533
+ "✏",
534
+ "✒",
535
+ "✔",
536
+ "✖",
537
+ "✝",
538
+ "✡",
539
+ "✳",
540
+ "✴",
541
+ "❄",
542
+ "❇",
543
+ "❣",
544
+ "❤",
545
+ "➡",
546
+ "⤴",
547
+ "⤵",
548
+ "⬅",
549
+ "⬆",
550
+ "⬇",
551
+ "🅰",
552
+ "🅱",
553
+ "🅾",
554
+ "🅿",
555
+ "🌡",
556
+ "🌤",
557
+ "🌥",
558
+ "🌦",
559
+ "🌧",
560
+ "🌨",
561
+ "🌩",
562
+ "🌪",
563
+ "🌫",
564
+ "🌬",
565
+ "🌶",
566
+ "🍽",
567
+ "🎖",
568
+ "🎗",
569
+ "🎙",
570
+ "🎚",
571
+ "🎛",
572
+ "🎞",
573
+ "🎟",
574
+ "🏋",
575
+ "🏌",
576
+ "🏍",
577
+ "🏎",
578
+ "🏔",
579
+ "🏕",
580
+ "🏖",
581
+ "🏗",
582
+ "🏘",
583
+ "🏙",
584
+ "🏚",
585
+ "🏛",
586
+ "🏜",
587
+ "🏝",
588
+ "🏞",
589
+ "🏟",
590
+ "🏳",
591
+ "🏵",
592
+ "🏷",
593
+ "🐿",
594
+ "👁",
595
+ "📽",
596
+ "🕉",
597
+ "🕊",
598
+ "🕯",
599
+ "🕰",
600
+ "🕳",
601
+ "🕴",
602
+ "🕵",
603
+ "🕶",
604
+ "🕷",
605
+ "🕸",
606
+ "🕹",
607
+ "���",
608
+ "🖊",
609
+ "🖋",
610
+ "🖌",
611
+ "🖍",
612
+ "🖐",
613
+ "🖥",
614
+ "🖨",
615
+ "🖱",
616
+ "🖲",
617
+ "🖼",
618
+ "🗂",
619
+ "🗃",
620
+ "🗄",
621
+ "🗑",
622
+ "🗒",
623
+ "🗓",
624
+ "🗜",
625
+ "🗝",
626
+ "🗞",
627
+ "🗡",
628
+ "🗣",
629
+ "🗨",
630
+ "🗯",
631
+ "🗳",
632
+ "🗺",
633
+ "🛋",
634
+ "🛍",
635
+ "🛎",
636
+ "🛏",
637
+ "🛠",
638
+ "🛡",
639
+ "🛢",
640
+ "🛣",
641
+ "🛤",
642
+ "🛥",
643
+ "🛩",
644
+ "🛰",
645
+ "🛳",
646
+ ]
647
+ ),
648
+ )
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode14-0-0.py ADDED
@@ -0,0 +1,661 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Auto generated by tools/make_width_tables.py
2
+ # Data from wcwidth project (https://github.com/jquast/wcwidth)
3
+
4
+ from rich.cells import CellTable
5
+
6
+ cell_table = CellTable(
7
+ "14.0.0",
8
+ [
9
+ (0, 0, 0),
10
+ (768, 879, 0),
11
+ (1155, 1161, 0),
12
+ (1425, 1469, 0),
13
+ (1471, 1471, 0),
14
+ (1473, 1474, 0),
15
+ (1476, 1477, 0),
16
+ (1479, 1479, 0),
17
+ (1552, 1562, 0),
18
+ (1564, 1564, 0),
19
+ (1611, 1631, 0),
20
+ (1648, 1648, 0),
21
+ (1750, 1756, 0),
22
+ (1759, 1764, 0),
23
+ (1767, 1768, 0),
24
+ (1770, 1773, 0),
25
+ (1809, 1809, 0),
26
+ (1840, 1866, 0),
27
+ (1958, 1968, 0),
28
+ (2027, 2035, 0),
29
+ (2045, 2045, 0),
30
+ (2070, 2073, 0),
31
+ (2075, 2083, 0),
32
+ (2085, 2087, 0),
33
+ (2089, 2093, 0),
34
+ (2137, 2139, 0),
35
+ (2200, 2207, 0),
36
+ (2250, 2273, 0),
37
+ (2275, 2307, 0),
38
+ (2362, 2364, 0),
39
+ (2366, 2383, 0),
40
+ (2385, 2391, 0),
41
+ (2402, 2403, 0),
42
+ (2433, 2435, 0),
43
+ (2492, 2492, 0),
44
+ (2494, 2500, 0),
45
+ (2503, 2504, 0),
46
+ (2507, 2509, 0),
47
+ (2519, 2519, 0),
48
+ (2530, 2531, 0),
49
+ (2558, 2558, 0),
50
+ (2561, 2563, 0),
51
+ (2620, 2620, 0),
52
+ (2622, 2626, 0),
53
+ (2631, 2632, 0),
54
+ (2635, 2637, 0),
55
+ (2641, 2641, 0),
56
+ (2672, 2673, 0),
57
+ (2677, 2677, 0),
58
+ (2689, 2691, 0),
59
+ (2748, 2748, 0),
60
+ (2750, 2757, 0),
61
+ (2759, 2761, 0),
62
+ (2763, 2765, 0),
63
+ (2786, 2787, 0),
64
+ (2810, 2815, 0),
65
+ (2817, 2819, 0),
66
+ (2876, 2876, 0),
67
+ (2878, 2884, 0),
68
+ (2887, 2888, 0),
69
+ (2891, 2893, 0),
70
+ (2901, 2903, 0),
71
+ (2914, 2915, 0),
72
+ (2946, 2946, 0),
73
+ (3006, 3010, 0),
74
+ (3014, 3016, 0),
75
+ (3018, 3021, 0),
76
+ (3031, 3031, 0),
77
+ (3072, 3076, 0),
78
+ (3132, 3132, 0),
79
+ (3134, 3140, 0),
80
+ (3142, 3144, 0),
81
+ (3146, 3149, 0),
82
+ (3157, 3158, 0),
83
+ (3170, 3171, 0),
84
+ (3201, 3203, 0),
85
+ (3260, 3260, 0),
86
+ (3262, 3268, 0),
87
+ (3270, 3272, 0),
88
+ (3274, 3277, 0),
89
+ (3285, 3286, 0),
90
+ (3298, 3299, 0),
91
+ (3328, 3331, 0),
92
+ (3387, 3388, 0),
93
+ (3390, 3396, 0),
94
+ (3398, 3400, 0),
95
+ (3402, 3405, 0),
96
+ (3415, 3415, 0),
97
+ (3426, 3427, 0),
98
+ (3457, 3459, 0),
99
+ (3530, 3530, 0),
100
+ (3535, 3540, 0),
101
+ (3542, 3542, 0),
102
+ (3544, 3551, 0),
103
+ (3570, 3571, 0),
104
+ (3633, 3633, 0),
105
+ (3636, 3642, 0),
106
+ (3655, 3662, 0),
107
+ (3761, 3761, 0),
108
+ (3764, 3772, 0),
109
+ (3784, 3789, 0),
110
+ (3864, 3865, 0),
111
+ (3893, 3893, 0),
112
+ (3895, 3895, 0),
113
+ (3897, 3897, 0),
114
+ (3902, 3903, 0),
115
+ (3953, 3972, 0),
116
+ (3974, 3975, 0),
117
+ (3981, 3991, 0),
118
+ (3993, 4028, 0),
119
+ (4038, 4038, 0),
120
+ (4139, 4158, 0),
121
+ (4182, 4185, 0),
122
+ (4190, 4192, 0),
123
+ (4194, 4196, 0),
124
+ (4199, 4205, 0),
125
+ (4209, 4212, 0),
126
+ (4226, 4237, 0),
127
+ (4239, 4239, 0),
128
+ (4250, 4253, 0),
129
+ (4352, 4447, 2),
130
+ (4448, 4607, 0),
131
+ (4957, 4959, 0),
132
+ (5906, 5909, 0),
133
+ (5938, 5940, 0),
134
+ (5970, 5971, 0),
135
+ (6002, 6003, 0),
136
+ (6068, 6099, 0),
137
+ (6109, 6109, 0),
138
+ (6155, 6159, 0),
139
+ (6277, 6278, 0),
140
+ (6313, 6313, 0),
141
+ (6432, 6443, 0),
142
+ (6448, 6459, 0),
143
+ (6679, 6683, 0),
144
+ (6741, 6750, 0),
145
+ (6752, 6780, 0),
146
+ (6783, 6783, 0),
147
+ (6832, 6862, 0),
148
+ (6912, 6916, 0),
149
+ (6964, 6980, 0),
150
+ (7019, 7027, 0),
151
+ (7040, 7042, 0),
152
+ (7073, 7085, 0),
153
+ (7142, 7155, 0),
154
+ (7204, 7223, 0),
155
+ (7376, 7378, 0),
156
+ (7380, 7400, 0),
157
+ (7405, 7405, 0),
158
+ (7412, 7412, 0),
159
+ (7415, 7417, 0),
160
+ (7616, 7679, 0),
161
+ (8203, 8207, 0),
162
+ (8232, 8238, 0),
163
+ (8288, 8303, 0),
164
+ (8400, 8432, 0),
165
+ (8986, 8987, 2),
166
+ (9001, 9002, 2),
167
+ (9193, 9196, 2),
168
+ (9200, 9200, 2),
169
+ (9203, 9203, 2),
170
+ (9725, 9726, 2),
171
+ (9748, 9749, 2),
172
+ (9800, 9811, 2),
173
+ (9855, 9855, 2),
174
+ (9875, 9875, 2),
175
+ (9889, 9889, 2),
176
+ (9898, 9899, 2),
177
+ (9917, 9918, 2),
178
+ (9924, 9925, 2),
179
+ (9934, 9934, 2),
180
+ (9940, 9940, 2),
181
+ (9962, 9962, 2),
182
+ (9970, 9971, 2),
183
+ (9973, 9973, 2),
184
+ (9978, 9978, 2),
185
+ (9981, 9981, 2),
186
+ (9989, 9989, 2),
187
+ (9994, 9995, 2),
188
+ (10024, 10024, 2),
189
+ (10060, 10060, 2),
190
+ (10062, 10062, 2),
191
+ (10067, 10069, 2),
192
+ (10071, 10071, 2),
193
+ (10133, 10135, 2),
194
+ (10160, 10160, 2),
195
+ (10175, 10175, 2),
196
+ (11035, 11036, 2),
197
+ (11088, 11088, 2),
198
+ (11093, 11093, 2),
199
+ (11503, 11505, 0),
200
+ (11647, 11647, 0),
201
+ (11744, 11775, 0),
202
+ (11904, 11929, 2),
203
+ (11931, 12019, 2),
204
+ (12032, 12245, 2),
205
+ (12272, 12283, 2),
206
+ (12288, 12329, 2),
207
+ (12330, 12335, 0),
208
+ (12336, 12350, 2),
209
+ (12353, 12438, 2),
210
+ (12441, 12442, 0),
211
+ (12443, 12543, 2),
212
+ (12549, 12591, 2),
213
+ (12593, 12643, 2),
214
+ (12644, 12644, 0),
215
+ (12645, 12686, 2),
216
+ (12688, 12771, 2),
217
+ (12784, 12830, 2),
218
+ (12832, 12871, 2),
219
+ (12880, 19903, 2),
220
+ (19968, 42124, 2),
221
+ (42128, 42182, 2),
222
+ (42607, 42610, 0),
223
+ (42612, 42621, 0),
224
+ (42654, 42655, 0),
225
+ (42736, 42737, 0),
226
+ (43010, 43010, 0),
227
+ (43014, 43014, 0),
228
+ (43019, 43019, 0),
229
+ (43043, 43047, 0),
230
+ (43052, 43052, 0),
231
+ (43136, 43137, 0),
232
+ (43188, 43205, 0),
233
+ (43232, 43249, 0),
234
+ (43263, 43263, 0),
235
+ (43302, 43309, 0),
236
+ (43335, 43347, 0),
237
+ (43360, 43388, 2),
238
+ (43392, 43395, 0),
239
+ (43443, 43456, 0),
240
+ (43493, 43493, 0),
241
+ (43561, 43574, 0),
242
+ (43587, 43587, 0),
243
+ (43596, 43597, 0),
244
+ (43643, 43645, 0),
245
+ (43696, 43696, 0),
246
+ (43698, 43700, 0),
247
+ (43703, 43704, 0),
248
+ (43710, 43711, 0),
249
+ (43713, 43713, 0),
250
+ (43755, 43759, 0),
251
+ (43765, 43766, 0),
252
+ (44003, 44010, 0),
253
+ (44012, 44013, 0),
254
+ (44032, 55203, 2),
255
+ (55216, 55295, 0),
256
+ (63744, 64255, 2),
257
+ (64286, 64286, 0),
258
+ (65024, 65039, 0),
259
+ (65040, 65049, 2),
260
+ (65056, 65071, 0),
261
+ (65072, 65106, 2),
262
+ (65108, 65126, 2),
263
+ (65128, 65131, 2),
264
+ (65279, 65279, 0),
265
+ (65281, 65376, 2),
266
+ (65440, 65440, 0),
267
+ (65504, 65510, 2),
268
+ (65520, 65531, 0),
269
+ (66045, 66045, 0),
270
+ (66272, 66272, 0),
271
+ (66422, 66426, 0),
272
+ (68097, 68099, 0),
273
+ (68101, 68102, 0),
274
+ (68108, 68111, 0),
275
+ (68152, 68154, 0),
276
+ (68159, 68159, 0),
277
+ (68325, 68326, 0),
278
+ (68900, 68903, 0),
279
+ (69291, 69292, 0),
280
+ (69446, 69456, 0),
281
+ (69506, 69509, 0),
282
+ (69632, 69634, 0),
283
+ (69688, 69702, 0),
284
+ (69744, 69744, 0),
285
+ (69747, 69748, 0),
286
+ (69759, 69762, 0),
287
+ (69808, 69818, 0),
288
+ (69826, 69826, 0),
289
+ (69888, 69890, 0),
290
+ (69927, 69940, 0),
291
+ (69957, 69958, 0),
292
+ (70003, 70003, 0),
293
+ (70016, 70018, 0),
294
+ (70067, 70080, 0),
295
+ (70089, 70092, 0),
296
+ (70094, 70095, 0),
297
+ (70188, 70199, 0),
298
+ (70206, 70206, 0),
299
+ (70367, 70378, 0),
300
+ (70400, 70403, 0),
301
+ (70459, 70460, 0),
302
+ (70462, 70468, 0),
303
+ (70471, 70472, 0),
304
+ (70475, 70477, 0),
305
+ (70487, 70487, 0),
306
+ (70498, 70499, 0),
307
+ (70502, 70508, 0),
308
+ (70512, 70516, 0),
309
+ (70709, 70726, 0),
310
+ (70750, 70750, 0),
311
+ (70832, 70851, 0),
312
+ (71087, 71093, 0),
313
+ (71096, 71104, 0),
314
+ (71132, 71133, 0),
315
+ (71216, 71232, 0),
316
+ (71339, 71351, 0),
317
+ (71453, 71467, 0),
318
+ (71724, 71738, 0),
319
+ (71984, 71989, 0),
320
+ (71991, 71992, 0),
321
+ (71995, 71998, 0),
322
+ (72000, 72000, 0),
323
+ (72002, 72003, 0),
324
+ (72145, 72151, 0),
325
+ (72154, 72160, 0),
326
+ (72164, 72164, 0),
327
+ (72193, 72202, 0),
328
+ (72243, 72249, 0),
329
+ (72251, 72254, 0),
330
+ (72263, 72263, 0),
331
+ (72273, 72283, 0),
332
+ (72330, 72345, 0),
333
+ (72751, 72758, 0),
334
+ (72760, 72767, 0),
335
+ (72850, 72871, 0),
336
+ (72873, 72886, 0),
337
+ (73009, 73014, 0),
338
+ (73018, 73018, 0),
339
+ (73020, 73021, 0),
340
+ (73023, 73029, 0),
341
+ (73031, 73031, 0),
342
+ (73098, 73102, 0),
343
+ (73104, 73105, 0),
344
+ (73107, 73111, 0),
345
+ (73459, 73462, 0),
346
+ (78896, 78904, 0),
347
+ (92912, 92916, 0),
348
+ (92976, 92982, 0),
349
+ (94031, 94031, 0),
350
+ (94033, 94087, 0),
351
+ (94095, 94098, 0),
352
+ (94176, 94179, 2),
353
+ (94180, 94180, 0),
354
+ (94192, 94193, 0),
355
+ (94208, 100343, 2),
356
+ (100352, 101589, 2),
357
+ (101632, 101640, 2),
358
+ (110576, 110579, 2),
359
+ (110581, 110587, 2),
360
+ (110589, 110590, 2),
361
+ (110592, 110882, 2),
362
+ (110928, 110930, 2),
363
+ (110948, 110951, 2),
364
+ (110960, 111355, 2),
365
+ (113821, 113822, 0),
366
+ (113824, 113827, 0),
367
+ (118528, 118573, 0),
368
+ (118576, 118598, 0),
369
+ (119141, 119145, 0),
370
+ (119149, 119170, 0),
371
+ (119173, 119179, 0),
372
+ (119210, 119213, 0),
373
+ (119362, 119364, 0),
374
+ (121344, 121398, 0),
375
+ (121403, 121452, 0),
376
+ (121461, 121461, 0),
377
+ (121476, 121476, 0),
378
+ (121499, 121503, 0),
379
+ (121505, 121519, 0),
380
+ (122880, 122886, 0),
381
+ (122888, 122904, 0),
382
+ (122907, 122913, 0),
383
+ (122915, 122916, 0),
384
+ (122918, 122922, 0),
385
+ (123184, 123190, 0),
386
+ (123566, 123566, 0),
387
+ (123628, 123631, 0),
388
+ (125136, 125142, 0),
389
+ (125252, 125258, 0),
390
+ (126980, 126980, 2),
391
+ (127183, 127183, 2),
392
+ (127374, 127374, 2),
393
+ (127377, 127386, 2),
394
+ (127488, 127490, 2),
395
+ (127504, 127547, 2),
396
+ (127552, 127560, 2),
397
+ (127568, 127569, 2),
398
+ (127584, 127589, 2),
399
+ (127744, 127776, 2),
400
+ (127789, 127797, 2),
401
+ (127799, 127868, 2),
402
+ (127870, 127891, 2),
403
+ (127904, 127946, 2),
404
+ (127951, 127955, 2),
405
+ (127968, 127984, 2),
406
+ (127988, 127988, 2),
407
+ (127992, 127994, 2),
408
+ (127995, 127999, 0),
409
+ (128000, 128062, 2),
410
+ (128064, 128064, 2),
411
+ (128066, 128252, 2),
412
+ (128255, 128317, 2),
413
+ (128331, 128334, 2),
414
+ (128336, 128359, 2),
415
+ (128378, 128378, 2),
416
+ (128405, 128406, 2),
417
+ (128420, 128420, 2),
418
+ (128507, 128591, 2),
419
+ (128640, 128709, 2),
420
+ (128716, 128716, 2),
421
+ (128720, 128722, 2),
422
+ (128725, 128727, 2),
423
+ (128733, 128735, 2),
424
+ (128747, 128748, 2),
425
+ (128756, 128764, 2),
426
+ (128992, 129003, 2),
427
+ (129008, 129008, 2),
428
+ (129292, 129338, 2),
429
+ (129340, 129349, 2),
430
+ (129351, 129535, 2),
431
+ (129648, 129652, 2),
432
+ (129656, 129660, 2),
433
+ (129664, 129670, 2),
434
+ (129680, 129708, 2),
435
+ (129712, 129722, 2),
436
+ (129728, 129733, 2),
437
+ (129744, 129753, 2),
438
+ (129760, 129767, 2),
439
+ (129776, 129782, 2),
440
+ (131072, 196605, 2),
441
+ (196608, 262141, 2),
442
+ (917504, 921599, 0),
443
+ ],
444
+ frozenset(
445
+ [
446
+ "#",
447
+ "*",
448
+ "0",
449
+ "1",
450
+ "2",
451
+ "3",
452
+ "4",
453
+ "5",
454
+ "6",
455
+ "7",
456
+ "8",
457
+ "9",
458
+ "©",
459
+ "®",
460
+ "‼",
461
+ "⁉",
462
+ "™",
463
+ "ℹ",
464
+ "↔",
465
+ "↕",
466
+ "↖",
467
+ "↗",
468
+ "↘",
469
+ "↙",
470
+ "↩",
471
+ "↪",
472
+ "⌨",
473
+ "⏏",
474
+ "⏭",
475
+ "⏮",
476
+ "⏯",
477
+ "⏱",
478
+ "⏲",
479
+ "⏸",
480
+ "⏹",
481
+ "⏺",
482
+ "Ⓜ",
483
+ "▪",
484
+ "▫",
485
+ "▶",
486
+ "◀",
487
+ "◻",
488
+ "◼",
489
+ "☀",
490
+ "☁",
491
+ "☂",
492
+ "☃",
493
+ "☄",
494
+ "☎",
495
+ "☑",
496
+ "☘",
497
+ "☝",
498
+ "☠",
499
+ "☢",
500
+ "☣",
501
+ "☦",
502
+ "☪",
503
+ "☮",
504
+ "☯",
505
+ "☸",
506
+ "☹",
507
+ "☺",
508
+ "♀",
509
+ "♂",
510
+ "♟",
511
+ "♠",
512
+ "♣",
513
+ "♥",
514
+ "♦",
515
+ "♨",
516
+ "♻",
517
+ "♾",
518
+ "⚒",
519
+ "⚔",
520
+ "⚕",
521
+ "⚖",
522
+ "⚗",
523
+ "⚙",
524
+ "⚛",
525
+ "⚜",
526
+ "⚠",
527
+ "⚧",
528
+ "⚰",
529
+ "⚱",
530
+ "⛈",
531
+ "⛏",
532
+ "⛑",
533
+ "⛓",
534
+ "⛩",
535
+ "⛰",
536
+ "⛱",
537
+ "⛴",
538
+ "⛷",
539
+ "⛸",
540
+ "⛹",
541
+ "✂",
542
+ "✈",
543
+ "✉",
544
+ "✌",
545
+ "✍",
546
+ "✏",
547
+ "✒",
548
+ "✔",
549
+ "✖",
550
+ "✝",
551
+ "✡",
552
+ "✳",
553
+ "✴",
554
+ "❄",
555
+ "❇",
556
+ "❣",
557
+ "❤",
558
+ "➡",
559
+ "⤴",
560
+ "⤵",
561
+ "⬅",
562
+ "⬆",
563
+ "⬇",
564
+ "🅰",
565
+ "🅱",
566
+ "🅾",
567
+ "🅿",
568
+ "🌡",
569
+ "🌤",
570
+ "🌥",
571
+ "🌦",
572
+ "🌧",
573
+ "🌨",
574
+ "🌩",
575
+ "🌪",
576
+ "🌫",
577
+ "🌬",
578
+ "🌶",
579
+ "🍽",
580
+ "🎖",
581
+ "🎗",
582
+ "🎙",
583
+ "🎚",
584
+ "🎛",
585
+ "🎞",
586
+ "🎟",
587
+ "🏋",
588
+ "🏌",
589
+ "🏍",
590
+ "🏎",
591
+ "🏔",
592
+ "🏕",
593
+ "🏖",
594
+ "🏗",
595
+ "🏘",
596
+ "🏙",
597
+ "🏚",
598
+ "🏛",
599
+ "🏜",
600
+ "🏝",
601
+ "🏞",
602
+ "���",
603
+ "🏳",
604
+ "🏵",
605
+ "🏷",
606
+ "🐿",
607
+ "👁",
608
+ "📽",
609
+ "🕉",
610
+ "🕊",
611
+ "🕯",
612
+ "🕰",
613
+ "🕳",
614
+ "🕴",
615
+ "🕵",
616
+ "🕶",
617
+ "🕷",
618
+ "🕸",
619
+ "🕹",
620
+ "🖇",
621
+ "🖊",
622
+ "🖋",
623
+ "🖌",
624
+ "🖍",
625
+ "🖐",
626
+ "🖥",
627
+ "🖨",
628
+ "🖱",
629
+ "🖲",
630
+ "🖼",
631
+ "🗂",
632
+ "🗃",
633
+ "🗄",
634
+ "🗑",
635
+ "🗒",
636
+ "🗓",
637
+ "🗜",
638
+ "🗝",
639
+ "🗞",
640
+ "🗡",
641
+ "🗣",
642
+ "🗨",
643
+ "🗯",
644
+ "🗳",
645
+ "🗺",
646
+ "🛋",
647
+ "🛍",
648
+ "🛎",
649
+ "🛏",
650
+ "🛠",
651
+ "🛡",
652
+ "🛢",
653
+ "🛣",
654
+ "🛤",
655
+ "🛥",
656
+ "🛩",
657
+ "🛰",
658
+ "🛳",
659
+ ]
660
+ ),
661
+ )
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode15-0-0.py ADDED
@@ -0,0 +1,671 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Auto generated by tools/make_width_tables.py
2
+ # Data from wcwidth project (https://github.com/jquast/wcwidth)
3
+
4
+ from rich.cells import CellTable
5
+
6
+ cell_table = CellTable(
7
+ "15.0.0",
8
+ [
9
+ (0, 0, 0),
10
+ (768, 879, 0),
11
+ (1155, 1161, 0),
12
+ (1425, 1469, 0),
13
+ (1471, 1471, 0),
14
+ (1473, 1474, 0),
15
+ (1476, 1477, 0),
16
+ (1479, 1479, 0),
17
+ (1552, 1562, 0),
18
+ (1564, 1564, 0),
19
+ (1611, 1631, 0),
20
+ (1648, 1648, 0),
21
+ (1750, 1756, 0),
22
+ (1759, 1764, 0),
23
+ (1767, 1768, 0),
24
+ (1770, 1773, 0),
25
+ (1809, 1809, 0),
26
+ (1840, 1866, 0),
27
+ (1958, 1968, 0),
28
+ (2027, 2035, 0),
29
+ (2045, 2045, 0),
30
+ (2070, 2073, 0),
31
+ (2075, 2083, 0),
32
+ (2085, 2087, 0),
33
+ (2089, 2093, 0),
34
+ (2137, 2139, 0),
35
+ (2200, 2207, 0),
36
+ (2250, 2273, 0),
37
+ (2275, 2307, 0),
38
+ (2362, 2364, 0),
39
+ (2366, 2383, 0),
40
+ (2385, 2391, 0),
41
+ (2402, 2403, 0),
42
+ (2433, 2435, 0),
43
+ (2492, 2492, 0),
44
+ (2494, 2500, 0),
45
+ (2503, 2504, 0),
46
+ (2507, 2509, 0),
47
+ (2519, 2519, 0),
48
+ (2530, 2531, 0),
49
+ (2558, 2558, 0),
50
+ (2561, 2563, 0),
51
+ (2620, 2620, 0),
52
+ (2622, 2626, 0),
53
+ (2631, 2632, 0),
54
+ (2635, 2637, 0),
55
+ (2641, 2641, 0),
56
+ (2672, 2673, 0),
57
+ (2677, 2677, 0),
58
+ (2689, 2691, 0),
59
+ (2748, 2748, 0),
60
+ (2750, 2757, 0),
61
+ (2759, 2761, 0),
62
+ (2763, 2765, 0),
63
+ (2786, 2787, 0),
64
+ (2810, 2815, 0),
65
+ (2817, 2819, 0),
66
+ (2876, 2876, 0),
67
+ (2878, 2884, 0),
68
+ (2887, 2888, 0),
69
+ (2891, 2893, 0),
70
+ (2901, 2903, 0),
71
+ (2914, 2915, 0),
72
+ (2946, 2946, 0),
73
+ (3006, 3010, 0),
74
+ (3014, 3016, 0),
75
+ (3018, 3021, 0),
76
+ (3031, 3031, 0),
77
+ (3072, 3076, 0),
78
+ (3132, 3132, 0),
79
+ (3134, 3140, 0),
80
+ (3142, 3144, 0),
81
+ (3146, 3149, 0),
82
+ (3157, 3158, 0),
83
+ (3170, 3171, 0),
84
+ (3201, 3203, 0),
85
+ (3260, 3260, 0),
86
+ (3262, 3268, 0),
87
+ (3270, 3272, 0),
88
+ (3274, 3277, 0),
89
+ (3285, 3286, 0),
90
+ (3298, 3299, 0),
91
+ (3315, 3315, 0),
92
+ (3328, 3331, 0),
93
+ (3387, 3388, 0),
94
+ (3390, 3396, 0),
95
+ (3398, 3400, 0),
96
+ (3402, 3405, 0),
97
+ (3415, 3415, 0),
98
+ (3426, 3427, 0),
99
+ (3457, 3459, 0),
100
+ (3530, 3530, 0),
101
+ (3535, 3540, 0),
102
+ (3542, 3542, 0),
103
+ (3544, 3551, 0),
104
+ (3570, 3571, 0),
105
+ (3633, 3633, 0),
106
+ (3636, 3642, 0),
107
+ (3655, 3662, 0),
108
+ (3761, 3761, 0),
109
+ (3764, 3772, 0),
110
+ (3784, 3790, 0),
111
+ (3864, 3865, 0),
112
+ (3893, 3893, 0),
113
+ (3895, 3895, 0),
114
+ (3897, 3897, 0),
115
+ (3902, 3903, 0),
116
+ (3953, 3972, 0),
117
+ (3974, 3975, 0),
118
+ (3981, 3991, 0),
119
+ (3993, 4028, 0),
120
+ (4038, 4038, 0),
121
+ (4139, 4158, 0),
122
+ (4182, 4185, 0),
123
+ (4190, 4192, 0),
124
+ (4194, 4196, 0),
125
+ (4199, 4205, 0),
126
+ (4209, 4212, 0),
127
+ (4226, 4237, 0),
128
+ (4239, 4239, 0),
129
+ (4250, 4253, 0),
130
+ (4352, 4447, 2),
131
+ (4448, 4607, 0),
132
+ (4957, 4959, 0),
133
+ (5906, 5909, 0),
134
+ (5938, 5940, 0),
135
+ (5970, 5971, 0),
136
+ (6002, 6003, 0),
137
+ (6068, 6099, 0),
138
+ (6109, 6109, 0),
139
+ (6155, 6159, 0),
140
+ (6277, 6278, 0),
141
+ (6313, 6313, 0),
142
+ (6432, 6443, 0),
143
+ (6448, 6459, 0),
144
+ (6679, 6683, 0),
145
+ (6741, 6750, 0),
146
+ (6752, 6780, 0),
147
+ (6783, 6783, 0),
148
+ (6832, 6862, 0),
149
+ (6912, 6916, 0),
150
+ (6964, 6980, 0),
151
+ (7019, 7027, 0),
152
+ (7040, 7042, 0),
153
+ (7073, 7085, 0),
154
+ (7142, 7155, 0),
155
+ (7204, 7223, 0),
156
+ (7376, 7378, 0),
157
+ (7380, 7400, 0),
158
+ (7405, 7405, 0),
159
+ (7412, 7412, 0),
160
+ (7415, 7417, 0),
161
+ (7616, 7679, 0),
162
+ (8203, 8207, 0),
163
+ (8232, 8238, 0),
164
+ (8288, 8303, 0),
165
+ (8400, 8432, 0),
166
+ (8986, 8987, 2),
167
+ (9001, 9002, 2),
168
+ (9193, 9196, 2),
169
+ (9200, 9200, 2),
170
+ (9203, 9203, 2),
171
+ (9725, 9726, 2),
172
+ (9748, 9749, 2),
173
+ (9800, 9811, 2),
174
+ (9855, 9855, 2),
175
+ (9875, 9875, 2),
176
+ (9889, 9889, 2),
177
+ (9898, 9899, 2),
178
+ (9917, 9918, 2),
179
+ (9924, 9925, 2),
180
+ (9934, 9934, 2),
181
+ (9940, 9940, 2),
182
+ (9962, 9962, 2),
183
+ (9970, 9971, 2),
184
+ (9973, 9973, 2),
185
+ (9978, 9978, 2),
186
+ (9981, 9981, 2),
187
+ (9989, 9989, 2),
188
+ (9994, 9995, 2),
189
+ (10024, 10024, 2),
190
+ (10060, 10060, 2),
191
+ (10062, 10062, 2),
192
+ (10067, 10069, 2),
193
+ (10071, 10071, 2),
194
+ (10133, 10135, 2),
195
+ (10160, 10160, 2),
196
+ (10175, 10175, 2),
197
+ (11035, 11036, 2),
198
+ (11088, 11088, 2),
199
+ (11093, 11093, 2),
200
+ (11503, 11505, 0),
201
+ (11647, 11647, 0),
202
+ (11744, 11775, 0),
203
+ (11904, 11929, 2),
204
+ (11931, 12019, 2),
205
+ (12032, 12245, 2),
206
+ (12272, 12283, 2),
207
+ (12288, 12329, 2),
208
+ (12330, 12335, 0),
209
+ (12336, 12350, 2),
210
+ (12353, 12438, 2),
211
+ (12441, 12442, 0),
212
+ (12443, 12543, 2),
213
+ (12549, 12591, 2),
214
+ (12593, 12643, 2),
215
+ (12644, 12644, 0),
216
+ (12645, 12686, 2),
217
+ (12688, 12771, 2),
218
+ (12784, 12830, 2),
219
+ (12832, 12871, 2),
220
+ (12880, 19903, 2),
221
+ (19968, 42124, 2),
222
+ (42128, 42182, 2),
223
+ (42607, 42610, 0),
224
+ (42612, 42621, 0),
225
+ (42654, 42655, 0),
226
+ (42736, 42737, 0),
227
+ (43010, 43010, 0),
228
+ (43014, 43014, 0),
229
+ (43019, 43019, 0),
230
+ (43043, 43047, 0),
231
+ (43052, 43052, 0),
232
+ (43136, 43137, 0),
233
+ (43188, 43205, 0),
234
+ (43232, 43249, 0),
235
+ (43263, 43263, 0),
236
+ (43302, 43309, 0),
237
+ (43335, 43347, 0),
238
+ (43360, 43388, 2),
239
+ (43392, 43395, 0),
240
+ (43443, 43456, 0),
241
+ (43493, 43493, 0),
242
+ (43561, 43574, 0),
243
+ (43587, 43587, 0),
244
+ (43596, 43597, 0),
245
+ (43643, 43645, 0),
246
+ (43696, 43696, 0),
247
+ (43698, 43700, 0),
248
+ (43703, 43704, 0),
249
+ (43710, 43711, 0),
250
+ (43713, 43713, 0),
251
+ (43755, 43759, 0),
252
+ (43765, 43766, 0),
253
+ (44003, 44010, 0),
254
+ (44012, 44013, 0),
255
+ (44032, 55203, 2),
256
+ (55216, 55295, 0),
257
+ (63744, 64255, 2),
258
+ (64286, 64286, 0),
259
+ (65024, 65039, 0),
260
+ (65040, 65049, 2),
261
+ (65056, 65071, 0),
262
+ (65072, 65106, 2),
263
+ (65108, 65126, 2),
264
+ (65128, 65131, 2),
265
+ (65279, 65279, 0),
266
+ (65281, 65376, 2),
267
+ (65440, 65440, 0),
268
+ (65504, 65510, 2),
269
+ (65520, 65531, 0),
270
+ (66045, 66045, 0),
271
+ (66272, 66272, 0),
272
+ (66422, 66426, 0),
273
+ (68097, 68099, 0),
274
+ (68101, 68102, 0),
275
+ (68108, 68111, 0),
276
+ (68152, 68154, 0),
277
+ (68159, 68159, 0),
278
+ (68325, 68326, 0),
279
+ (68900, 68903, 0),
280
+ (69291, 69292, 0),
281
+ (69373, 69375, 0),
282
+ (69446, 69456, 0),
283
+ (69506, 69509, 0),
284
+ (69632, 69634, 0),
285
+ (69688, 69702, 0),
286
+ (69744, 69744, 0),
287
+ (69747, 69748, 0),
288
+ (69759, 69762, 0),
289
+ (69808, 69818, 0),
290
+ (69826, 69826, 0),
291
+ (69888, 69890, 0),
292
+ (69927, 69940, 0),
293
+ (69957, 69958, 0),
294
+ (70003, 70003, 0),
295
+ (70016, 70018, 0),
296
+ (70067, 70080, 0),
297
+ (70089, 70092, 0),
298
+ (70094, 70095, 0),
299
+ (70188, 70199, 0),
300
+ (70206, 70206, 0),
301
+ (70209, 70209, 0),
302
+ (70367, 70378, 0),
303
+ (70400, 70403, 0),
304
+ (70459, 70460, 0),
305
+ (70462, 70468, 0),
306
+ (70471, 70472, 0),
307
+ (70475, 70477, 0),
308
+ (70487, 70487, 0),
309
+ (70498, 70499, 0),
310
+ (70502, 70508, 0),
311
+ (70512, 70516, 0),
312
+ (70709, 70726, 0),
313
+ (70750, 70750, 0),
314
+ (70832, 70851, 0),
315
+ (71087, 71093, 0),
316
+ (71096, 71104, 0),
317
+ (71132, 71133, 0),
318
+ (71216, 71232, 0),
319
+ (71339, 71351, 0),
320
+ (71453, 71467, 0),
321
+ (71724, 71738, 0),
322
+ (71984, 71989, 0),
323
+ (71991, 71992, 0),
324
+ (71995, 71998, 0),
325
+ (72000, 72000, 0),
326
+ (72002, 72003, 0),
327
+ (72145, 72151, 0),
328
+ (72154, 72160, 0),
329
+ (72164, 72164, 0),
330
+ (72193, 72202, 0),
331
+ (72243, 72249, 0),
332
+ (72251, 72254, 0),
333
+ (72263, 72263, 0),
334
+ (72273, 72283, 0),
335
+ (72330, 72345, 0),
336
+ (72751, 72758, 0),
337
+ (72760, 72767, 0),
338
+ (72850, 72871, 0),
339
+ (72873, 72886, 0),
340
+ (73009, 73014, 0),
341
+ (73018, 73018, 0),
342
+ (73020, 73021, 0),
343
+ (73023, 73029, 0),
344
+ (73031, 73031, 0),
345
+ (73098, 73102, 0),
346
+ (73104, 73105, 0),
347
+ (73107, 73111, 0),
348
+ (73459, 73462, 0),
349
+ (73472, 73473, 0),
350
+ (73475, 73475, 0),
351
+ (73524, 73530, 0),
352
+ (73534, 73538, 0),
353
+ (78896, 78912, 0),
354
+ (78919, 78933, 0),
355
+ (92912, 92916, 0),
356
+ (92976, 92982, 0),
357
+ (94031, 94031, 0),
358
+ (94033, 94087, 0),
359
+ (94095, 94098, 0),
360
+ (94176, 94179, 2),
361
+ (94180, 94180, 0),
362
+ (94192, 94193, 0),
363
+ (94208, 100343, 2),
364
+ (100352, 101589, 2),
365
+ (101632, 101640, 2),
366
+ (110576, 110579, 2),
367
+ (110581, 110587, 2),
368
+ (110589, 110590, 2),
369
+ (110592, 110882, 2),
370
+ (110898, 110898, 2),
371
+ (110928, 110930, 2),
372
+ (110933, 110933, 2),
373
+ (110948, 110951, 2),
374
+ (110960, 111355, 2),
375
+ (113821, 113822, 0),
376
+ (113824, 113827, 0),
377
+ (118528, 118573, 0),
378
+ (118576, 118598, 0),
379
+ (119141, 119145, 0),
380
+ (119149, 119170, 0),
381
+ (119173, 119179, 0),
382
+ (119210, 119213, 0),
383
+ (119362, 119364, 0),
384
+ (121344, 121398, 0),
385
+ (121403, 121452, 0),
386
+ (121461, 121461, 0),
387
+ (121476, 121476, 0),
388
+ (121499, 121503, 0),
389
+ (121505, 121519, 0),
390
+ (122880, 122886, 0),
391
+ (122888, 122904, 0),
392
+ (122907, 122913, 0),
393
+ (122915, 122916, 0),
394
+ (122918, 122922, 0),
395
+ (123023, 123023, 0),
396
+ (123184, 123190, 0),
397
+ (123566, 123566, 0),
398
+ (123628, 123631, 0),
399
+ (124140, 124143, 0),
400
+ (125136, 125142, 0),
401
+ (125252, 125258, 0),
402
+ (126980, 126980, 2),
403
+ (127183, 127183, 2),
404
+ (127374, 127374, 2),
405
+ (127377, 127386, 2),
406
+ (127488, 127490, 2),
407
+ (127504, 127547, 2),
408
+ (127552, 127560, 2),
409
+ (127568, 127569, 2),
410
+ (127584, 127589, 2),
411
+ (127744, 127776, 2),
412
+ (127789, 127797, 2),
413
+ (127799, 127868, 2),
414
+ (127870, 127891, 2),
415
+ (127904, 127946, 2),
416
+ (127951, 127955, 2),
417
+ (127968, 127984, 2),
418
+ (127988, 127988, 2),
419
+ (127992, 127994, 2),
420
+ (127995, 127999, 0),
421
+ (128000, 128062, 2),
422
+ (128064, 128064, 2),
423
+ (128066, 128252, 2),
424
+ (128255, 128317, 2),
425
+ (128331, 128334, 2),
426
+ (128336, 128359, 2),
427
+ (128378, 128378, 2),
428
+ (128405, 128406, 2),
429
+ (128420, 128420, 2),
430
+ (128507, 128591, 2),
431
+ (128640, 128709, 2),
432
+ (128716, 128716, 2),
433
+ (128720, 128722, 2),
434
+ (128725, 128727, 2),
435
+ (128732, 128735, 2),
436
+ (128747, 128748, 2),
437
+ (128756, 128764, 2),
438
+ (128992, 129003, 2),
439
+ (129008, 129008, 2),
440
+ (129292, 129338, 2),
441
+ (129340, 129349, 2),
442
+ (129351, 129535, 2),
443
+ (129648, 129660, 2),
444
+ (129664, 129672, 2),
445
+ (129680, 129725, 2),
446
+ (129727, 129733, 2),
447
+ (129742, 129755, 2),
448
+ (129760, 129768, 2),
449
+ (129776, 129784, 2),
450
+ (131072, 196605, 2),
451
+ (196608, 262141, 2),
452
+ (917504, 921599, 0),
453
+ ],
454
+ frozenset(
455
+ [
456
+ "#",
457
+ "*",
458
+ "0",
459
+ "1",
460
+ "2",
461
+ "3",
462
+ "4",
463
+ "5",
464
+ "6",
465
+ "7",
466
+ "8",
467
+ "9",
468
+ "©",
469
+ "®",
470
+ "‼",
471
+ "⁉",
472
+ "™",
473
+ "ℹ",
474
+ "↔",
475
+ "↕",
476
+ "↖",
477
+ "↗",
478
+ "↘",
479
+ "↙",
480
+ "↩",
481
+ "↪",
482
+ "⌨",
483
+ "⏏",
484
+ "⏭",
485
+ "⏮",
486
+ "⏯",
487
+ "⏱",
488
+ "⏲",
489
+ "⏸",
490
+ "⏹",
491
+ "⏺",
492
+ "Ⓜ",
493
+ "▪",
494
+ "▫",
495
+ "▶",
496
+ "◀",
497
+ "◻",
498
+ "◼",
499
+ "☀",
500
+ "☁",
501
+ "☂",
502
+ "☃",
503
+ "☄",
504
+ "☎",
505
+ "☑",
506
+ "☘",
507
+ "☝",
508
+ "☠",
509
+ "☢",
510
+ "☣",
511
+ "☦",
512
+ "☪",
513
+ "☮",
514
+ "☯",
515
+ "☸",
516
+ "☹",
517
+ "☺",
518
+ "♀",
519
+ "♂",
520
+ "♟",
521
+ "♠",
522
+ "♣",
523
+ "♥",
524
+ "♦",
525
+ "♨",
526
+ "♻",
527
+ "♾",
528
+ "⚒",
529
+ "⚔",
530
+ "⚕",
531
+ "⚖",
532
+ "⚗",
533
+ "⚙",
534
+ "⚛",
535
+ "⚜",
536
+ "⚠",
537
+ "⚧",
538
+ "⚰",
539
+ "⚱",
540
+ "⛈",
541
+ "⛏",
542
+ "⛑",
543
+ "⛓",
544
+ "⛩",
545
+ "⛰",
546
+ "⛱",
547
+ "⛴",
548
+ "⛷",
549
+ "⛸",
550
+ "⛹",
551
+ "✂",
552
+ "✈",
553
+ "✉",
554
+ "✌",
555
+ "✍",
556
+ "✏",
557
+ "✒",
558
+ "✔",
559
+ "✖",
560
+ "✝",
561
+ "✡",
562
+ "✳",
563
+ "✴",
564
+ "❄",
565
+ "❇",
566
+ "❣",
567
+ "❤",
568
+ "➡",
569
+ "⤴",
570
+ "⤵",
571
+ "⬅",
572
+ "⬆",
573
+ "⬇",
574
+ "🅰",
575
+ "🅱",
576
+ "🅾",
577
+ "🅿",
578
+ "🌡",
579
+ "🌤",
580
+ "🌥",
581
+ "🌦",
582
+ "🌧",
583
+ "🌨",
584
+ "🌩",
585
+ "🌪",
586
+ "🌫",
587
+ "🌬",
588
+ "🌶",
589
+ "🍽",
590
+ "🎖",
591
+ "🎗",
592
+ "🎙",
593
+ "🎚",
594
+ "🎛",
595
+ "🎞",
596
+ "🎟",
597
+ "🏋",
598
+ "🏌",
599
+ "🏍",
600
+ "🏎",
601
+ "🏔",
602
+ "🏕",
603
+ "🏖",
604
+ "🏗",
605
+ "🏘",
606
+ "🏙",
607
+ "🏚",
608
+ "🏛",
609
+ "🏜",
610
+ "🏝",
611
+ "🏞",
612
+ "🏟",
613
+ "🏳",
614
+ "🏵",
615
+ "🏷",
616
+ "🐿",
617
+ "👁",
618
+ "📽",
619
+ "🕉",
620
+ "🕊",
621
+ "🕯",
622
+ "🕰",
623
+ "🕳",
624
+ "🕴",
625
+ "🕵",
626
+ "🕶",
627
+ "🕷",
628
+ "🕸",
629
+ "🕹",
630
+ "🖇",
631
+ "🖊",
632
+ "🖋",
633
+ "🖌",
634
+ "🖍",
635
+ "🖐",
636
+ "🖥",
637
+ "🖨",
638
+ "🖱",
639
+ "🖲",
640
+ "🖼",
641
+ "🗂",
642
+ "🗃",
643
+ "🗄",
644
+ "🗑",
645
+ "🗒",
646
+ "🗓",
647
+ "🗜",
648
+ "🗝",
649
+ "🗞",
650
+ "🗡",
651
+ "🗣",
652
+ "🗨",
653
+ "🗯",
654
+ "🗳",
655
+ "🗺",
656
+ "🛋",
657
+ "🛍",
658
+ "🛎",
659
+ "🛏",
660
+ "🛠",
661
+ "🛡",
662
+ "🛢",
663
+ "🛣",
664
+ "🛤",
665
+ "🛥",
666
+ "🛩",
667
+ "🛰",
668
+ "🛳",
669
+ ]
670
+ ),
671
+ )
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode15-1-0.py ADDED
@@ -0,0 +1,670 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Auto generated by tools/make_width_tables.py
2
+ # Data from wcwidth project (https://github.com/jquast/wcwidth)
3
+
4
+ from rich.cells import CellTable
5
+
6
+ cell_table = CellTable(
7
+ "15.1.0",
8
+ [
9
+ (0, 0, 0),
10
+ (768, 879, 0),
11
+ (1155, 1161, 0),
12
+ (1425, 1469, 0),
13
+ (1471, 1471, 0),
14
+ (1473, 1474, 0),
15
+ (1476, 1477, 0),
16
+ (1479, 1479, 0),
17
+ (1552, 1562, 0),
18
+ (1564, 1564, 0),
19
+ (1611, 1631, 0),
20
+ (1648, 1648, 0),
21
+ (1750, 1756, 0),
22
+ (1759, 1764, 0),
23
+ (1767, 1768, 0),
24
+ (1770, 1773, 0),
25
+ (1809, 1809, 0),
26
+ (1840, 1866, 0),
27
+ (1958, 1968, 0),
28
+ (2027, 2035, 0),
29
+ (2045, 2045, 0),
30
+ (2070, 2073, 0),
31
+ (2075, 2083, 0),
32
+ (2085, 2087, 0),
33
+ (2089, 2093, 0),
34
+ (2137, 2139, 0),
35
+ (2200, 2207, 0),
36
+ (2250, 2273, 0),
37
+ (2275, 2307, 0),
38
+ (2362, 2364, 0),
39
+ (2366, 2383, 0),
40
+ (2385, 2391, 0),
41
+ (2402, 2403, 0),
42
+ (2433, 2435, 0),
43
+ (2492, 2492, 0),
44
+ (2494, 2500, 0),
45
+ (2503, 2504, 0),
46
+ (2507, 2509, 0),
47
+ (2519, 2519, 0),
48
+ (2530, 2531, 0),
49
+ (2558, 2558, 0),
50
+ (2561, 2563, 0),
51
+ (2620, 2620, 0),
52
+ (2622, 2626, 0),
53
+ (2631, 2632, 0),
54
+ (2635, 2637, 0),
55
+ (2641, 2641, 0),
56
+ (2672, 2673, 0),
57
+ (2677, 2677, 0),
58
+ (2689, 2691, 0),
59
+ (2748, 2748, 0),
60
+ (2750, 2757, 0),
61
+ (2759, 2761, 0),
62
+ (2763, 2765, 0),
63
+ (2786, 2787, 0),
64
+ (2810, 2815, 0),
65
+ (2817, 2819, 0),
66
+ (2876, 2876, 0),
67
+ (2878, 2884, 0),
68
+ (2887, 2888, 0),
69
+ (2891, 2893, 0),
70
+ (2901, 2903, 0),
71
+ (2914, 2915, 0),
72
+ (2946, 2946, 0),
73
+ (3006, 3010, 0),
74
+ (3014, 3016, 0),
75
+ (3018, 3021, 0),
76
+ (3031, 3031, 0),
77
+ (3072, 3076, 0),
78
+ (3132, 3132, 0),
79
+ (3134, 3140, 0),
80
+ (3142, 3144, 0),
81
+ (3146, 3149, 0),
82
+ (3157, 3158, 0),
83
+ (3170, 3171, 0),
84
+ (3201, 3203, 0),
85
+ (3260, 3260, 0),
86
+ (3262, 3268, 0),
87
+ (3270, 3272, 0),
88
+ (3274, 3277, 0),
89
+ (3285, 3286, 0),
90
+ (3298, 3299, 0),
91
+ (3315, 3315, 0),
92
+ (3328, 3331, 0),
93
+ (3387, 3388, 0),
94
+ (3390, 3396, 0),
95
+ (3398, 3400, 0),
96
+ (3402, 3405, 0),
97
+ (3415, 3415, 0),
98
+ (3426, 3427, 0),
99
+ (3457, 3459, 0),
100
+ (3530, 3530, 0),
101
+ (3535, 3540, 0),
102
+ (3542, 3542, 0),
103
+ (3544, 3551, 0),
104
+ (3570, 3571, 0),
105
+ (3633, 3633, 0),
106
+ (3636, 3642, 0),
107
+ (3655, 3662, 0),
108
+ (3761, 3761, 0),
109
+ (3764, 3772, 0),
110
+ (3784, 3790, 0),
111
+ (3864, 3865, 0),
112
+ (3893, 3893, 0),
113
+ (3895, 3895, 0),
114
+ (3897, 3897, 0),
115
+ (3902, 3903, 0),
116
+ (3953, 3972, 0),
117
+ (3974, 3975, 0),
118
+ (3981, 3991, 0),
119
+ (3993, 4028, 0),
120
+ (4038, 4038, 0),
121
+ (4139, 4158, 0),
122
+ (4182, 4185, 0),
123
+ (4190, 4192, 0),
124
+ (4194, 4196, 0),
125
+ (4199, 4205, 0),
126
+ (4209, 4212, 0),
127
+ (4226, 4237, 0),
128
+ (4239, 4239, 0),
129
+ (4250, 4253, 0),
130
+ (4352, 4447, 2),
131
+ (4448, 4607, 0),
132
+ (4957, 4959, 0),
133
+ (5906, 5909, 0),
134
+ (5938, 5940, 0),
135
+ (5970, 5971, 0),
136
+ (6002, 6003, 0),
137
+ (6068, 6099, 0),
138
+ (6109, 6109, 0),
139
+ (6155, 6159, 0),
140
+ (6277, 6278, 0),
141
+ (6313, 6313, 0),
142
+ (6432, 6443, 0),
143
+ (6448, 6459, 0),
144
+ (6679, 6683, 0),
145
+ (6741, 6750, 0),
146
+ (6752, 6780, 0),
147
+ (6783, 6783, 0),
148
+ (6832, 6862, 0),
149
+ (6912, 6916, 0),
150
+ (6964, 6980, 0),
151
+ (7019, 7027, 0),
152
+ (7040, 7042, 0),
153
+ (7073, 7085, 0),
154
+ (7142, 7155, 0),
155
+ (7204, 7223, 0),
156
+ (7376, 7378, 0),
157
+ (7380, 7400, 0),
158
+ (7405, 7405, 0),
159
+ (7412, 7412, 0),
160
+ (7415, 7417, 0),
161
+ (7616, 7679, 0),
162
+ (8203, 8207, 0),
163
+ (8232, 8238, 0),
164
+ (8288, 8303, 0),
165
+ (8400, 8432, 0),
166
+ (8986, 8987, 2),
167
+ (9001, 9002, 2),
168
+ (9193, 9196, 2),
169
+ (9200, 9200, 2),
170
+ (9203, 9203, 2),
171
+ (9725, 9726, 2),
172
+ (9748, 9749, 2),
173
+ (9800, 9811, 2),
174
+ (9855, 9855, 2),
175
+ (9875, 9875, 2),
176
+ (9889, 9889, 2),
177
+ (9898, 9899, 2),
178
+ (9917, 9918, 2),
179
+ (9924, 9925, 2),
180
+ (9934, 9934, 2),
181
+ (9940, 9940, 2),
182
+ (9962, 9962, 2),
183
+ (9970, 9971, 2),
184
+ (9973, 9973, 2),
185
+ (9978, 9978, 2),
186
+ (9981, 9981, 2),
187
+ (9989, 9989, 2),
188
+ (9994, 9995, 2),
189
+ (10024, 10024, 2),
190
+ (10060, 10060, 2),
191
+ (10062, 10062, 2),
192
+ (10067, 10069, 2),
193
+ (10071, 10071, 2),
194
+ (10133, 10135, 2),
195
+ (10160, 10160, 2),
196
+ (10175, 10175, 2),
197
+ (11035, 11036, 2),
198
+ (11088, 11088, 2),
199
+ (11093, 11093, 2),
200
+ (11503, 11505, 0),
201
+ (11647, 11647, 0),
202
+ (11744, 11775, 0),
203
+ (11904, 11929, 2),
204
+ (11931, 12019, 2),
205
+ (12032, 12245, 2),
206
+ (12272, 12329, 2),
207
+ (12330, 12335, 0),
208
+ (12336, 12350, 2),
209
+ (12353, 12438, 2),
210
+ (12441, 12442, 0),
211
+ (12443, 12543, 2),
212
+ (12549, 12591, 2),
213
+ (12593, 12643, 2),
214
+ (12644, 12644, 0),
215
+ (12645, 12686, 2),
216
+ (12688, 12771, 2),
217
+ (12783, 12830, 2),
218
+ (12832, 12871, 2),
219
+ (12880, 19903, 2),
220
+ (19968, 42124, 2),
221
+ (42128, 42182, 2),
222
+ (42607, 42610, 0),
223
+ (42612, 42621, 0),
224
+ (42654, 42655, 0),
225
+ (42736, 42737, 0),
226
+ (43010, 43010, 0),
227
+ (43014, 43014, 0),
228
+ (43019, 43019, 0),
229
+ (43043, 43047, 0),
230
+ (43052, 43052, 0),
231
+ (43136, 43137, 0),
232
+ (43188, 43205, 0),
233
+ (43232, 43249, 0),
234
+ (43263, 43263, 0),
235
+ (43302, 43309, 0),
236
+ (43335, 43347, 0),
237
+ (43360, 43388, 2),
238
+ (43392, 43395, 0),
239
+ (43443, 43456, 0),
240
+ (43493, 43493, 0),
241
+ (43561, 43574, 0),
242
+ (43587, 43587, 0),
243
+ (43596, 43597, 0),
244
+ (43643, 43645, 0),
245
+ (43696, 43696, 0),
246
+ (43698, 43700, 0),
247
+ (43703, 43704, 0),
248
+ (43710, 43711, 0),
249
+ (43713, 43713, 0),
250
+ (43755, 43759, 0),
251
+ (43765, 43766, 0),
252
+ (44003, 44010, 0),
253
+ (44012, 44013, 0),
254
+ (44032, 55203, 2),
255
+ (55216, 55295, 0),
256
+ (63744, 64255, 2),
257
+ (64286, 64286, 0),
258
+ (65024, 65039, 0),
259
+ (65040, 65049, 2),
260
+ (65056, 65071, 0),
261
+ (65072, 65106, 2),
262
+ (65108, 65126, 2),
263
+ (65128, 65131, 2),
264
+ (65279, 65279, 0),
265
+ (65281, 65376, 2),
266
+ (65440, 65440, 0),
267
+ (65504, 65510, 2),
268
+ (65520, 65531, 0),
269
+ (66045, 66045, 0),
270
+ (66272, 66272, 0),
271
+ (66422, 66426, 0),
272
+ (68097, 68099, 0),
273
+ (68101, 68102, 0),
274
+ (68108, 68111, 0),
275
+ (68152, 68154, 0),
276
+ (68159, 68159, 0),
277
+ (68325, 68326, 0),
278
+ (68900, 68903, 0),
279
+ (69291, 69292, 0),
280
+ (69373, 69375, 0),
281
+ (69446, 69456, 0),
282
+ (69506, 69509, 0),
283
+ (69632, 69634, 0),
284
+ (69688, 69702, 0),
285
+ (69744, 69744, 0),
286
+ (69747, 69748, 0),
287
+ (69759, 69762, 0),
288
+ (69808, 69818, 0),
289
+ (69826, 69826, 0),
290
+ (69888, 69890, 0),
291
+ (69927, 69940, 0),
292
+ (69957, 69958, 0),
293
+ (70003, 70003, 0),
294
+ (70016, 70018, 0),
295
+ (70067, 70080, 0),
296
+ (70089, 70092, 0),
297
+ (70094, 70095, 0),
298
+ (70188, 70199, 0),
299
+ (70206, 70206, 0),
300
+ (70209, 70209, 0),
301
+ (70367, 70378, 0),
302
+ (70400, 70403, 0),
303
+ (70459, 70460, 0),
304
+ (70462, 70468, 0),
305
+ (70471, 70472, 0),
306
+ (70475, 70477, 0),
307
+ (70487, 70487, 0),
308
+ (70498, 70499, 0),
309
+ (70502, 70508, 0),
310
+ (70512, 70516, 0),
311
+ (70709, 70726, 0),
312
+ (70750, 70750, 0),
313
+ (70832, 70851, 0),
314
+ (71087, 71093, 0),
315
+ (71096, 71104, 0),
316
+ (71132, 71133, 0),
317
+ (71216, 71232, 0),
318
+ (71339, 71351, 0),
319
+ (71453, 71467, 0),
320
+ (71724, 71738, 0),
321
+ (71984, 71989, 0),
322
+ (71991, 71992, 0),
323
+ (71995, 71998, 0),
324
+ (72000, 72000, 0),
325
+ (72002, 72003, 0),
326
+ (72145, 72151, 0),
327
+ (72154, 72160, 0),
328
+ (72164, 72164, 0),
329
+ (72193, 72202, 0),
330
+ (72243, 72249, 0),
331
+ (72251, 72254, 0),
332
+ (72263, 72263, 0),
333
+ (72273, 72283, 0),
334
+ (72330, 72345, 0),
335
+ (72751, 72758, 0),
336
+ (72760, 72767, 0),
337
+ (72850, 72871, 0),
338
+ (72873, 72886, 0),
339
+ (73009, 73014, 0),
340
+ (73018, 73018, 0),
341
+ (73020, 73021, 0),
342
+ (73023, 73029, 0),
343
+ (73031, 73031, 0),
344
+ (73098, 73102, 0),
345
+ (73104, 73105, 0),
346
+ (73107, 73111, 0),
347
+ (73459, 73462, 0),
348
+ (73472, 73473, 0),
349
+ (73475, 73475, 0),
350
+ (73524, 73530, 0),
351
+ (73534, 73538, 0),
352
+ (78896, 78912, 0),
353
+ (78919, 78933, 0),
354
+ (92912, 92916, 0),
355
+ (92976, 92982, 0),
356
+ (94031, 94031, 0),
357
+ (94033, 94087, 0),
358
+ (94095, 94098, 0),
359
+ (94176, 94179, 2),
360
+ (94180, 94180, 0),
361
+ (94192, 94193, 0),
362
+ (94208, 100343, 2),
363
+ (100352, 101589, 2),
364
+ (101632, 101640, 2),
365
+ (110576, 110579, 2),
366
+ (110581, 110587, 2),
367
+ (110589, 110590, 2),
368
+ (110592, 110882, 2),
369
+ (110898, 110898, 2),
370
+ (110928, 110930, 2),
371
+ (110933, 110933, 2),
372
+ (110948, 110951, 2),
373
+ (110960, 111355, 2),
374
+ (113821, 113822, 0),
375
+ (113824, 113827, 0),
376
+ (118528, 118573, 0),
377
+ (118576, 118598, 0),
378
+ (119141, 119145, 0),
379
+ (119149, 119170, 0),
380
+ (119173, 119179, 0),
381
+ (119210, 119213, 0),
382
+ (119362, 119364, 0),
383
+ (121344, 121398, 0),
384
+ (121403, 121452, 0),
385
+ (121461, 121461, 0),
386
+ (121476, 121476, 0),
387
+ (121499, 121503, 0),
388
+ (121505, 121519, 0),
389
+ (122880, 122886, 0),
390
+ (122888, 122904, 0),
391
+ (122907, 122913, 0),
392
+ (122915, 122916, 0),
393
+ (122918, 122922, 0),
394
+ (123023, 123023, 0),
395
+ (123184, 123190, 0),
396
+ (123566, 123566, 0),
397
+ (123628, 123631, 0),
398
+ (124140, 124143, 0),
399
+ (125136, 125142, 0),
400
+ (125252, 125258, 0),
401
+ (126980, 126980, 2),
402
+ (127183, 127183, 2),
403
+ (127374, 127374, 2),
404
+ (127377, 127386, 2),
405
+ (127488, 127490, 2),
406
+ (127504, 127547, 2),
407
+ (127552, 127560, 2),
408
+ (127568, 127569, 2),
409
+ (127584, 127589, 2),
410
+ (127744, 127776, 2),
411
+ (127789, 127797, 2),
412
+ (127799, 127868, 2),
413
+ (127870, 127891, 2),
414
+ (127904, 127946, 2),
415
+ (127951, 127955, 2),
416
+ (127968, 127984, 2),
417
+ (127988, 127988, 2),
418
+ (127992, 127994, 2),
419
+ (127995, 127999, 0),
420
+ (128000, 128062, 2),
421
+ (128064, 128064, 2),
422
+ (128066, 128252, 2),
423
+ (128255, 128317, 2),
424
+ (128331, 128334, 2),
425
+ (128336, 128359, 2),
426
+ (128378, 128378, 2),
427
+ (128405, 128406, 2),
428
+ (128420, 128420, 2),
429
+ (128507, 128591, 2),
430
+ (128640, 128709, 2),
431
+ (128716, 128716, 2),
432
+ (128720, 128722, 2),
433
+ (128725, 128727, 2),
434
+ (128732, 128735, 2),
435
+ (128747, 128748, 2),
436
+ (128756, 128764, 2),
437
+ (128992, 129003, 2),
438
+ (129008, 129008, 2),
439
+ (129292, 129338, 2),
440
+ (129340, 129349, 2),
441
+ (129351, 129535, 2),
442
+ (129648, 129660, 2),
443
+ (129664, 129672, 2),
444
+ (129680, 129725, 2),
445
+ (129727, 129733, 2),
446
+ (129742, 129755, 2),
447
+ (129760, 129768, 2),
448
+ (129776, 129784, 2),
449
+ (131072, 196605, 2),
450
+ (196608, 262141, 2),
451
+ (917504, 921599, 0),
452
+ ],
453
+ frozenset(
454
+ [
455
+ "#",
456
+ "*",
457
+ "0",
458
+ "1",
459
+ "2",
460
+ "3",
461
+ "4",
462
+ "5",
463
+ "6",
464
+ "7",
465
+ "8",
466
+ "9",
467
+ "©",
468
+ "®",
469
+ "‼",
470
+ "⁉",
471
+ "™",
472
+ "ℹ",
473
+ "↔",
474
+ "↕",
475
+ "↖",
476
+ "↗",
477
+ "↘",
478
+ "↙",
479
+ "↩",
480
+ "↪",
481
+ "⌨",
482
+ "⏏",
483
+ "⏭",
484
+ "⏮",
485
+ "⏯",
486
+ "⏱",
487
+ "⏲",
488
+ "⏸",
489
+ "⏹",
490
+ "⏺",
491
+ "Ⓜ",
492
+ "▪",
493
+ "▫",
494
+ "▶",
495
+ "◀",
496
+ "◻",
497
+ "◼",
498
+ "☀",
499
+ "☁",
500
+ "☂",
501
+ "☃",
502
+ "☄",
503
+ "☎",
504
+ "☑",
505
+ "☘",
506
+ "☝",
507
+ "☠",
508
+ "☢",
509
+ "☣",
510
+ "☦",
511
+ "☪",
512
+ "☮",
513
+ "☯",
514
+ "☸",
515
+ "☹",
516
+ "☺",
517
+ "♀",
518
+ "♂",
519
+ "♟",
520
+ "♠",
521
+ "♣",
522
+ "♥",
523
+ "♦",
524
+ "♨",
525
+ "♻",
526
+ "♾",
527
+ "⚒",
528
+ "⚔",
529
+ "⚕",
530
+ "⚖",
531
+ "⚗",
532
+ "⚙",
533
+ "⚛",
534
+ "⚜",
535
+ "⚠",
536
+ "⚧",
537
+ "⚰",
538
+ "⚱",
539
+ "⛈",
540
+ "⛏",
541
+ "⛑",
542
+ "⛓",
543
+ "⛩",
544
+ "⛰",
545
+ "⛱",
546
+ "⛴",
547
+ "⛷",
548
+ "⛸",
549
+ "⛹",
550
+ "✂",
551
+ "✈",
552
+ "✉",
553
+ "✌",
554
+ "✍",
555
+ "✏",
556
+ "✒",
557
+ "✔",
558
+ "✖",
559
+ "✝",
560
+ "✡",
561
+ "✳",
562
+ "✴",
563
+ "❄",
564
+ "❇",
565
+ "❣",
566
+ "❤",
567
+ "➡",
568
+ "⤴",
569
+ "⤵",
570
+ "⬅",
571
+ "⬆",
572
+ "⬇",
573
+ "🅰",
574
+ "🅱",
575
+ "🅾",
576
+ "🅿",
577
+ "🌡",
578
+ "🌤",
579
+ "🌥",
580
+ "🌦",
581
+ "🌧",
582
+ "🌨",
583
+ "🌩",
584
+ "🌪",
585
+ "🌫",
586
+ "🌬",
587
+ "🌶",
588
+ "🍽",
589
+ "🎖",
590
+ "🎗",
591
+ "🎙",
592
+ "🎚",
593
+ "🎛",
594
+ "🎞",
595
+ "🎟",
596
+ "🏋",
597
+ "🏌",
598
+ "🏍",
599
+ "🏎",
600
+ "🏔",
601
+ "🏕",
602
+ "🏖",
603
+ "🏗",
604
+ "🏘",
605
+ "🏙",
606
+ "🏚",
607
+ "🏛",
608
+ "🏜",
609
+ "🏝",
610
+ "🏞",
611
+ "🏟",
612
+ "🏳",
613
+ "🏵",
614
+ "🏷",
615
+ "🐿",
616
+ "👁",
617
+ "📽",
618
+ "🕉",
619
+ "🕊",
620
+ "🕯",
621
+ "🕰",
622
+ "🕳",
623
+ "🕴",
624
+ "🕵",
625
+ "🕶",
626
+ "🕷",
627
+ "🕸",
628
+ "🕹",
629
+ "🖇",
630
+ "🖊",
631
+ "🖋",
632
+ "🖌",
633
+ "🖍",
634
+ "🖐",
635
+ "🖥",
636
+ "🖨",
637
+ "🖱",
638
+ "🖲",
639
+ "🖼",
640
+ "🗂",
641
+ "🗃",
642
+ "🗄",
643
+ "🗑",
644
+ "🗒",
645
+ "🗓",
646
+ "🗜",
647
+ "🗝",
648
+ "🗞",
649
+ "🗡",
650
+ "🗣",
651
+ "🗨",
652
+ "🗯",
653
+ "🗳",
654
+ "🗺",
655
+ "🛋",
656
+ "🛍",
657
+ "🛎",
658
+ "🛏",
659
+ "🛠",
660
+ "🛡",
661
+ "🛢",
662
+ "🛣",
663
+ "🛤",
664
+ "🛥",
665
+ "🛩",
666
+ "🛰",
667
+ "🛳",
668
+ ]
669
+ ),
670
+ )
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode16-0-0.py ADDED
@@ -0,0 +1,683 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Auto generated by tools/make_width_tables.py
2
+ # Data from wcwidth project (https://github.com/jquast/wcwidth)
3
+
4
+ from rich.cells import CellTable
5
+
6
+ cell_table = CellTable(
7
+ "16.0.0",
8
+ [
9
+ (0, 0, 0),
10
+ (768, 879, 0),
11
+ (1155, 1161, 0),
12
+ (1425, 1469, 0),
13
+ (1471, 1471, 0),
14
+ (1473, 1474, 0),
15
+ (1476, 1477, 0),
16
+ (1479, 1479, 0),
17
+ (1552, 1562, 0),
18
+ (1564, 1564, 0),
19
+ (1611, 1631, 0),
20
+ (1648, 1648, 0),
21
+ (1750, 1756, 0),
22
+ (1759, 1764, 0),
23
+ (1767, 1768, 0),
24
+ (1770, 1773, 0),
25
+ (1809, 1809, 0),
26
+ (1840, 1866, 0),
27
+ (1958, 1968, 0),
28
+ (2027, 2035, 0),
29
+ (2045, 2045, 0),
30
+ (2070, 2073, 0),
31
+ (2075, 2083, 0),
32
+ (2085, 2087, 0),
33
+ (2089, 2093, 0),
34
+ (2137, 2139, 0),
35
+ (2199, 2207, 0),
36
+ (2250, 2273, 0),
37
+ (2275, 2307, 0),
38
+ (2362, 2364, 0),
39
+ (2366, 2383, 0),
40
+ (2385, 2391, 0),
41
+ (2402, 2403, 0),
42
+ (2433, 2435, 0),
43
+ (2492, 2492, 0),
44
+ (2494, 2500, 0),
45
+ (2503, 2504, 0),
46
+ (2507, 2509, 0),
47
+ (2519, 2519, 0),
48
+ (2530, 2531, 0),
49
+ (2558, 2558, 0),
50
+ (2561, 2563, 0),
51
+ (2620, 2620, 0),
52
+ (2622, 2626, 0),
53
+ (2631, 2632, 0),
54
+ (2635, 2637, 0),
55
+ (2641, 2641, 0),
56
+ (2672, 2673, 0),
57
+ (2677, 2677, 0),
58
+ (2689, 2691, 0),
59
+ (2748, 2748, 0),
60
+ (2750, 2757, 0),
61
+ (2759, 2761, 0),
62
+ (2763, 2765, 0),
63
+ (2786, 2787, 0),
64
+ (2810, 2815, 0),
65
+ (2817, 2819, 0),
66
+ (2876, 2876, 0),
67
+ (2878, 2884, 0),
68
+ (2887, 2888, 0),
69
+ (2891, 2893, 0),
70
+ (2901, 2903, 0),
71
+ (2914, 2915, 0),
72
+ (2946, 2946, 0),
73
+ (3006, 3010, 0),
74
+ (3014, 3016, 0),
75
+ (3018, 3021, 0),
76
+ (3031, 3031, 0),
77
+ (3072, 3076, 0),
78
+ (3132, 3132, 0),
79
+ (3134, 3140, 0),
80
+ (3142, 3144, 0),
81
+ (3146, 3149, 0),
82
+ (3157, 3158, 0),
83
+ (3170, 3171, 0),
84
+ (3201, 3203, 0),
85
+ (3260, 3260, 0),
86
+ (3262, 3268, 0),
87
+ (3270, 3272, 0),
88
+ (3274, 3277, 0),
89
+ (3285, 3286, 0),
90
+ (3298, 3299, 0),
91
+ (3315, 3315, 0),
92
+ (3328, 3331, 0),
93
+ (3387, 3388, 0),
94
+ (3390, 3396, 0),
95
+ (3398, 3400, 0),
96
+ (3402, 3405, 0),
97
+ (3415, 3415, 0),
98
+ (3426, 3427, 0),
99
+ (3457, 3459, 0),
100
+ (3530, 3530, 0),
101
+ (3535, 3540, 0),
102
+ (3542, 3542, 0),
103
+ (3544, 3551, 0),
104
+ (3570, 3571, 0),
105
+ (3633, 3633, 0),
106
+ (3636, 3642, 0),
107
+ (3655, 3662, 0),
108
+ (3761, 3761, 0),
109
+ (3764, 3772, 0),
110
+ (3784, 3790, 0),
111
+ (3864, 3865, 0),
112
+ (3893, 3893, 0),
113
+ (3895, 3895, 0),
114
+ (3897, 3897, 0),
115
+ (3902, 3903, 0),
116
+ (3953, 3972, 0),
117
+ (3974, 3975, 0),
118
+ (3981, 3991, 0),
119
+ (3993, 4028, 0),
120
+ (4038, 4038, 0),
121
+ (4139, 4158, 0),
122
+ (4182, 4185, 0),
123
+ (4190, 4192, 0),
124
+ (4194, 4196, 0),
125
+ (4199, 4205, 0),
126
+ (4209, 4212, 0),
127
+ (4226, 4237, 0),
128
+ (4239, 4239, 0),
129
+ (4250, 4253, 0),
130
+ (4352, 4447, 2),
131
+ (4448, 4607, 0),
132
+ (4957, 4959, 0),
133
+ (5906, 5909, 0),
134
+ (5938, 5940, 0),
135
+ (5970, 5971, 0),
136
+ (6002, 6003, 0),
137
+ (6068, 6099, 0),
138
+ (6109, 6109, 0),
139
+ (6155, 6159, 0),
140
+ (6277, 6278, 0),
141
+ (6313, 6313, 0),
142
+ (6432, 6443, 0),
143
+ (6448, 6459, 0),
144
+ (6679, 6683, 0),
145
+ (6741, 6750, 0),
146
+ (6752, 6780, 0),
147
+ (6783, 6783, 0),
148
+ (6832, 6862, 0),
149
+ (6912, 6916, 0),
150
+ (6964, 6980, 0),
151
+ (7019, 7027, 0),
152
+ (7040, 7042, 0),
153
+ (7073, 7085, 0),
154
+ (7142, 7155, 0),
155
+ (7204, 7223, 0),
156
+ (7376, 7378, 0),
157
+ (7380, 7400, 0),
158
+ (7405, 7405, 0),
159
+ (7412, 7412, 0),
160
+ (7415, 7417, 0),
161
+ (7616, 7679, 0),
162
+ (8203, 8207, 0),
163
+ (8232, 8238, 0),
164
+ (8288, 8303, 0),
165
+ (8400, 8432, 0),
166
+ (8986, 8987, 2),
167
+ (9001, 9002, 2),
168
+ (9193, 9196, 2),
169
+ (9200, 9200, 2),
170
+ (9203, 9203, 2),
171
+ (9725, 9726, 2),
172
+ (9748, 9749, 2),
173
+ (9776, 9783, 2),
174
+ (9800, 9811, 2),
175
+ (9855, 9855, 2),
176
+ (9866, 9871, 2),
177
+ (9875, 9875, 2),
178
+ (9889, 9889, 2),
179
+ (9898, 9899, 2),
180
+ (9917, 9918, 2),
181
+ (9924, 9925, 2),
182
+ (9934, 9934, 2),
183
+ (9940, 9940, 2),
184
+ (9962, 9962, 2),
185
+ (9970, 9971, 2),
186
+ (9973, 9973, 2),
187
+ (9978, 9978, 2),
188
+ (9981, 9981, 2),
189
+ (9989, 9989, 2),
190
+ (9994, 9995, 2),
191
+ (10024, 10024, 2),
192
+ (10060, 10060, 2),
193
+ (10062, 10062, 2),
194
+ (10067, 10069, 2),
195
+ (10071, 10071, 2),
196
+ (10133, 10135, 2),
197
+ (10160, 10160, 2),
198
+ (10175, 10175, 2),
199
+ (11035, 11036, 2),
200
+ (11088, 11088, 2),
201
+ (11093, 11093, 2),
202
+ (11503, 11505, 0),
203
+ (11647, 11647, 0),
204
+ (11744, 11775, 0),
205
+ (11904, 11929, 2),
206
+ (11931, 12019, 2),
207
+ (12032, 12245, 2),
208
+ (12272, 12329, 2),
209
+ (12330, 12335, 0),
210
+ (12336, 12350, 2),
211
+ (12353, 12438, 2),
212
+ (12441, 12442, 0),
213
+ (12443, 12543, 2),
214
+ (12549, 12591, 2),
215
+ (12593, 12643, 2),
216
+ (12644, 12644, 0),
217
+ (12645, 12686, 2),
218
+ (12688, 12773, 2),
219
+ (12783, 12830, 2),
220
+ (12832, 12871, 2),
221
+ (12880, 42124, 2),
222
+ (42128, 42182, 2),
223
+ (42607, 42610, 0),
224
+ (42612, 42621, 0),
225
+ (42654, 42655, 0),
226
+ (42736, 42737, 0),
227
+ (43010, 43010, 0),
228
+ (43014, 43014, 0),
229
+ (43019, 43019, 0),
230
+ (43043, 43047, 0),
231
+ (43052, 43052, 0),
232
+ (43136, 43137, 0),
233
+ (43188, 43205, 0),
234
+ (43232, 43249, 0),
235
+ (43263, 43263, 0),
236
+ (43302, 43309, 0),
237
+ (43335, 43347, 0),
238
+ (43360, 43388, 2),
239
+ (43392, 43395, 0),
240
+ (43443, 43456, 0),
241
+ (43493, 43493, 0),
242
+ (43561, 43574, 0),
243
+ (43587, 43587, 0),
244
+ (43596, 43597, 0),
245
+ (43643, 43645, 0),
246
+ (43696, 43696, 0),
247
+ (43698, 43700, 0),
248
+ (43703, 43704, 0),
249
+ (43710, 43711, 0),
250
+ (43713, 43713, 0),
251
+ (43755, 43759, 0),
252
+ (43765, 43766, 0),
253
+ (44003, 44010, 0),
254
+ (44012, 44013, 0),
255
+ (44032, 55203, 2),
256
+ (55216, 55295, 0),
257
+ (63744, 64255, 2),
258
+ (64286, 64286, 0),
259
+ (65024, 65039, 0),
260
+ (65040, 65049, 2),
261
+ (65056, 65071, 0),
262
+ (65072, 65106, 2),
263
+ (65108, 65126, 2),
264
+ (65128, 65131, 2),
265
+ (65279, 65279, 0),
266
+ (65281, 65376, 2),
267
+ (65440, 65440, 0),
268
+ (65504, 65510, 2),
269
+ (65520, 65531, 0),
270
+ (66045, 66045, 0),
271
+ (66272, 66272, 0),
272
+ (66422, 66426, 0),
273
+ (68097, 68099, 0),
274
+ (68101, 68102, 0),
275
+ (68108, 68111, 0),
276
+ (68152, 68154, 0),
277
+ (68159, 68159, 0),
278
+ (68325, 68326, 0),
279
+ (68900, 68903, 0),
280
+ (68969, 68973, 0),
281
+ (69291, 69292, 0),
282
+ (69372, 69375, 0),
283
+ (69446, 69456, 0),
284
+ (69506, 69509, 0),
285
+ (69632, 69634, 0),
286
+ (69688, 69702, 0),
287
+ (69744, 69744, 0),
288
+ (69747, 69748, 0),
289
+ (69759, 69762, 0),
290
+ (69808, 69818, 0),
291
+ (69826, 69826, 0),
292
+ (69888, 69890, 0),
293
+ (69927, 69940, 0),
294
+ (69957, 69958, 0),
295
+ (70003, 70003, 0),
296
+ (70016, 70018, 0),
297
+ (70067, 70080, 0),
298
+ (70089, 70092, 0),
299
+ (70094, 70095, 0),
300
+ (70188, 70199, 0),
301
+ (70206, 70206, 0),
302
+ (70209, 70209, 0),
303
+ (70367, 70378, 0),
304
+ (70400, 70403, 0),
305
+ (70459, 70460, 0),
306
+ (70462, 70468, 0),
307
+ (70471, 70472, 0),
308
+ (70475, 70477, 0),
309
+ (70487, 70487, 0),
310
+ (70498, 70499, 0),
311
+ (70502, 70508, 0),
312
+ (70512, 70516, 0),
313
+ (70584, 70592, 0),
314
+ (70594, 70594, 0),
315
+ (70597, 70597, 0),
316
+ (70599, 70602, 0),
317
+ (70604, 70608, 0),
318
+ (70610, 70610, 0),
319
+ (70625, 70626, 0),
320
+ (70709, 70726, 0),
321
+ (70750, 70750, 0),
322
+ (70832, 70851, 0),
323
+ (71087, 71093, 0),
324
+ (71096, 71104, 0),
325
+ (71132, 71133, 0),
326
+ (71216, 71232, 0),
327
+ (71339, 71351, 0),
328
+ (71453, 71467, 0),
329
+ (71724, 71738, 0),
330
+ (71984, 71989, 0),
331
+ (71991, 71992, 0),
332
+ (71995, 71998, 0),
333
+ (72000, 72000, 0),
334
+ (72002, 72003, 0),
335
+ (72145, 72151, 0),
336
+ (72154, 72160, 0),
337
+ (72164, 72164, 0),
338
+ (72193, 72202, 0),
339
+ (72243, 72249, 0),
340
+ (72251, 72254, 0),
341
+ (72263, 72263, 0),
342
+ (72273, 72283, 0),
343
+ (72330, 72345, 0),
344
+ (72751, 72758, 0),
345
+ (72760, 72767, 0),
346
+ (72850, 72871, 0),
347
+ (72873, 72886, 0),
348
+ (73009, 73014, 0),
349
+ (73018, 73018, 0),
350
+ (73020, 73021, 0),
351
+ (73023, 73029, 0),
352
+ (73031, 73031, 0),
353
+ (73098, 73102, 0),
354
+ (73104, 73105, 0),
355
+ (73107, 73111, 0),
356
+ (73459, 73462, 0),
357
+ (73472, 73473, 0),
358
+ (73475, 73475, 0),
359
+ (73524, 73530, 0),
360
+ (73534, 73538, 0),
361
+ (73562, 73562, 0),
362
+ (78896, 78912, 0),
363
+ (78919, 78933, 0),
364
+ (90398, 90415, 0),
365
+ (92912, 92916, 0),
366
+ (92976, 92982, 0),
367
+ (94031, 94031, 0),
368
+ (94033, 94087, 0),
369
+ (94095, 94098, 0),
370
+ (94176, 94179, 2),
371
+ (94180, 94180, 0),
372
+ (94192, 94193, 0),
373
+ (94208, 100343, 2),
374
+ (100352, 101589, 2),
375
+ (101631, 101640, 2),
376
+ (110576, 110579, 2),
377
+ (110581, 110587, 2),
378
+ (110589, 110590, 2),
379
+ (110592, 110882, 2),
380
+ (110898, 110898, 2),
381
+ (110928, 110930, 2),
382
+ (110933, 110933, 2),
383
+ (110948, 110951, 2),
384
+ (110960, 111355, 2),
385
+ (113821, 113822, 0),
386
+ (113824, 113827, 0),
387
+ (118528, 118573, 0),
388
+ (118576, 118598, 0),
389
+ (119141, 119145, 0),
390
+ (119149, 119170, 0),
391
+ (119173, 119179, 0),
392
+ (119210, 119213, 0),
393
+ (119362, 119364, 0),
394
+ (119552, 119638, 2),
395
+ (119648, 119670, 2),
396
+ (121344, 121398, 0),
397
+ (121403, 121452, 0),
398
+ (121461, 121461, 0),
399
+ (121476, 121476, 0),
400
+ (121499, 121503, 0),
401
+ (121505, 121519, 0),
402
+ (122880, 122886, 0),
403
+ (122888, 122904, 0),
404
+ (122907, 122913, 0),
405
+ (122915, 122916, 0),
406
+ (122918, 122922, 0),
407
+ (123023, 123023, 0),
408
+ (123184, 123190, 0),
409
+ (123566, 123566, 0),
410
+ (123628, 123631, 0),
411
+ (124140, 124143, 0),
412
+ (124398, 124399, 0),
413
+ (125136, 125142, 0),
414
+ (125252, 125258, 0),
415
+ (126980, 126980, 2),
416
+ (127183, 127183, 2),
417
+ (127374, 127374, 2),
418
+ (127377, 127386, 2),
419
+ (127488, 127490, 2),
420
+ (127504, 127547, 2),
421
+ (127552, 127560, 2),
422
+ (127568, 127569, 2),
423
+ (127584, 127589, 2),
424
+ (127744, 127776, 2),
425
+ (127789, 127797, 2),
426
+ (127799, 127868, 2),
427
+ (127870, 127891, 2),
428
+ (127904, 127946, 2),
429
+ (127951, 127955, 2),
430
+ (127968, 127984, 2),
431
+ (127988, 127988, 2),
432
+ (127992, 127994, 2),
433
+ (127995, 127999, 0),
434
+ (128000, 128062, 2),
435
+ (128064, 128064, 2),
436
+ (128066, 128252, 2),
437
+ (128255, 128317, 2),
438
+ (128331, 128334, 2),
439
+ (128336, 128359, 2),
440
+ (128378, 128378, 2),
441
+ (128405, 128406, 2),
442
+ (128420, 128420, 2),
443
+ (128507, 128591, 2),
444
+ (128640, 128709, 2),
445
+ (128716, 128716, 2),
446
+ (128720, 128722, 2),
447
+ (128725, 128727, 2),
448
+ (128732, 128735, 2),
449
+ (128747, 128748, 2),
450
+ (128756, 128764, 2),
451
+ (128992, 129003, 2),
452
+ (129008, 129008, 2),
453
+ (129292, 129338, 2),
454
+ (129340, 129349, 2),
455
+ (129351, 129535, 2),
456
+ (129648, 129660, 2),
457
+ (129664, 129673, 2),
458
+ (129679, 129734, 2),
459
+ (129742, 129756, 2),
460
+ (129759, 129769, 2),
461
+ (129776, 129784, 2),
462
+ (131072, 196605, 2),
463
+ (196608, 262141, 2),
464
+ (917504, 921599, 0),
465
+ ],
466
+ frozenset(
467
+ [
468
+ "#",
469
+ "*",
470
+ "0",
471
+ "1",
472
+ "2",
473
+ "3",
474
+ "4",
475
+ "5",
476
+ "6",
477
+ "7",
478
+ "8",
479
+ "9",
480
+ "©",
481
+ "®",
482
+ "‼",
483
+ "⁉",
484
+ "™",
485
+ "ℹ",
486
+ "↔",
487
+ "↕",
488
+ "↖",
489
+ "↗",
490
+ "↘",
491
+ "↙",
492
+ "↩",
493
+ "↪",
494
+ "⌨",
495
+ "⏏",
496
+ "⏭",
497
+ "⏮",
498
+ "⏯",
499
+ "⏱",
500
+ "⏲",
501
+ "⏸",
502
+ "⏹",
503
+ "⏺",
504
+ "Ⓜ",
505
+ "▪",
506
+ "▫",
507
+ "▶",
508
+ "◀",
509
+ "◻",
510
+ "◼",
511
+ "☀",
512
+ "☁",
513
+ "☂",
514
+ "☃",
515
+ "☄",
516
+ "☎",
517
+ "☑",
518
+ "☘",
519
+ "☝",
520
+ "☠",
521
+ "☢",
522
+ "☣",
523
+ "☦",
524
+ "☪",
525
+ "☮",
526
+ "☯",
527
+ "☸",
528
+ "☹",
529
+ "☺",
530
+ "♀",
531
+ "♂",
532
+ "♟",
533
+ "♠",
534
+ "♣",
535
+ "♥",
536
+ "♦",
537
+ "♨",
538
+ "♻",
539
+ "♾",
540
+ "⚒",
541
+ "⚔",
542
+ "⚕",
543
+ "⚖",
544
+ "⚗",
545
+ "⚙",
546
+ "⚛",
547
+ "⚜",
548
+ "⚠",
549
+ "⚧",
550
+ "⚰",
551
+ "⚱",
552
+ "⛈",
553
+ "⛏",
554
+ "⛑",
555
+ "⛓",
556
+ "⛩",
557
+ "⛰",
558
+ "⛱",
559
+ "⛴",
560
+ "⛷",
561
+ "⛸",
562
+ "⛹",
563
+ "✂",
564
+ "✈",
565
+ "✉",
566
+ "✌",
567
+ "✍",
568
+ "✏",
569
+ "✒",
570
+ "✔",
571
+ "✖",
572
+ "✝",
573
+ "✡",
574
+ "✳",
575
+ "✴",
576
+ "❄",
577
+ "❇",
578
+ "❣",
579
+ "❤",
580
+ "➡",
581
+ "⤴",
582
+ "⤵",
583
+ "⬅",
584
+ "⬆",
585
+ "⬇",
586
+ "🅰",
587
+ "🅱",
588
+ "🅾",
589
+ "🅿",
590
+ "🌡",
591
+ "🌤",
592
+ "🌥",
593
+ "🌦",
594
+ "🌧",
595
+ "🌨",
596
+ "🌩",
597
+ "🌪",
598
+ "🌫",
599
+ "🌬",
600
+ "🌶",
601
+ "🍽",
602
+ "🎖",
603
+ "🎗",
604
+ "🎙",
605
+ "🎚",
606
+ "🎛",
607
+ "🎞",
608
+ "🎟",
609
+ "🏋",
610
+ "🏌",
611
+ "🏍",
612
+ "🏎",
613
+ "🏔",
614
+ "🏕",
615
+ "🏖",
616
+ "🏗",
617
+ "🏘",
618
+ "🏙",
619
+ "🏚",
620
+ "🏛",
621
+ "🏜",
622
+ "🏝",
623
+ "🏞",
624
+ "🏟",
625
+ "🏳",
626
+ "🏵",
627
+ "🏷",
628
+ "🐿",
629
+ "👁",
630
+ "📽",
631
+ "🕉",
632
+ "🕊",
633
+ "🕯",
634
+ "🕰",
635
+ "🕳",
636
+ "🕴",
637
+ "🕵",
638
+ "🕶",
639
+ "🕷",
640
+ "🕸",
641
+ "🕹",
642
+ "🖇",
643
+ "🖊",
644
+ "🖋",
645
+ "🖌",
646
+ "🖍",
647
+ "🖐",
648
+ "🖥",
649
+ "🖨",
650
+ "🖱",
651
+ "🖲",
652
+ "🖼",
653
+ "🗂",
654
+ "🗃",
655
+ "🗄",
656
+ "🗑",
657
+ "🗒",
658
+ "🗓",
659
+ "🗜",
660
+ "🗝",
661
+ "🗞",
662
+ "🗡",
663
+ "🗣",
664
+ "🗨",
665
+ "🗯",
666
+ "🗳",
667
+ "🗺",
668
+ "🛋",
669
+ "🛍",
670
+ "🛎",
671
+ "🛏",
672
+ "🛠",
673
+ "🛡",
674
+ "🛢",
675
+ "🛣",
676
+ "🛤",
677
+ "🛥",
678
+ "🛩",
679
+ "🛰",
680
+ "🛳",
681
+ ]
682
+ ),
683
+ )
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode17-0-0.py ADDED
@@ -0,0 +1,691 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Auto generated by tools/make_width_tables.py
2
+ # Data from wcwidth project (https://github.com/jquast/wcwidth)
3
+
4
+ from rich.cells import CellTable
5
+
6
+ cell_table = CellTable(
7
+ "17.0.0",
8
+ [
9
+ (0, 0, 0),
10
+ (768, 879, 0),
11
+ (1155, 1161, 0),
12
+ (1425, 1469, 0),
13
+ (1471, 1471, 0),
14
+ (1473, 1474, 0),
15
+ (1476, 1477, 0),
16
+ (1479, 1479, 0),
17
+ (1552, 1562, 0),
18
+ (1564, 1564, 0),
19
+ (1611, 1631, 0),
20
+ (1648, 1648, 0),
21
+ (1750, 1756, 0),
22
+ (1759, 1764, 0),
23
+ (1767, 1768, 0),
24
+ (1770, 1773, 0),
25
+ (1809, 1809, 0),
26
+ (1840, 1866, 0),
27
+ (1958, 1968, 0),
28
+ (2027, 2035, 0),
29
+ (2045, 2045, 0),
30
+ (2070, 2073, 0),
31
+ (2075, 2083, 0),
32
+ (2085, 2087, 0),
33
+ (2089, 2093, 0),
34
+ (2137, 2139, 0),
35
+ (2199, 2207, 0),
36
+ (2250, 2273, 0),
37
+ (2275, 2307, 0),
38
+ (2362, 2364, 0),
39
+ (2366, 2383, 0),
40
+ (2385, 2391, 0),
41
+ (2402, 2403, 0),
42
+ (2433, 2435, 0),
43
+ (2492, 2492, 0),
44
+ (2494, 2500, 0),
45
+ (2503, 2504, 0),
46
+ (2507, 2509, 0),
47
+ (2519, 2519, 0),
48
+ (2530, 2531, 0),
49
+ (2558, 2558, 0),
50
+ (2561, 2563, 0),
51
+ (2620, 2620, 0),
52
+ (2622, 2626, 0),
53
+ (2631, 2632, 0),
54
+ (2635, 2637, 0),
55
+ (2641, 2641, 0),
56
+ (2672, 2673, 0),
57
+ (2677, 2677, 0),
58
+ (2689, 2691, 0),
59
+ (2748, 2748, 0),
60
+ (2750, 2757, 0),
61
+ (2759, 2761, 0),
62
+ (2763, 2765, 0),
63
+ (2786, 2787, 0),
64
+ (2810, 2815, 0),
65
+ (2817, 2819, 0),
66
+ (2876, 2876, 0),
67
+ (2878, 2884, 0),
68
+ (2887, 2888, 0),
69
+ (2891, 2893, 0),
70
+ (2901, 2903, 0),
71
+ (2914, 2915, 0),
72
+ (2946, 2946, 0),
73
+ (3006, 3010, 0),
74
+ (3014, 3016, 0),
75
+ (3018, 3021, 0),
76
+ (3031, 3031, 0),
77
+ (3072, 3076, 0),
78
+ (3132, 3132, 0),
79
+ (3134, 3140, 0),
80
+ (3142, 3144, 0),
81
+ (3146, 3149, 0),
82
+ (3157, 3158, 0),
83
+ (3170, 3171, 0),
84
+ (3201, 3203, 0),
85
+ (3260, 3260, 0),
86
+ (3262, 3268, 0),
87
+ (3270, 3272, 0),
88
+ (3274, 3277, 0),
89
+ (3285, 3286, 0),
90
+ (3298, 3299, 0),
91
+ (3315, 3315, 0),
92
+ (3328, 3331, 0),
93
+ (3387, 3388, 0),
94
+ (3390, 3396, 0),
95
+ (3398, 3400, 0),
96
+ (3402, 3405, 0),
97
+ (3415, 3415, 0),
98
+ (3426, 3427, 0),
99
+ (3457, 3459, 0),
100
+ (3530, 3530, 0),
101
+ (3535, 3540, 0),
102
+ (3542, 3542, 0),
103
+ (3544, 3551, 0),
104
+ (3570, 3571, 0),
105
+ (3633, 3633, 0),
106
+ (3636, 3642, 0),
107
+ (3655, 3662, 0),
108
+ (3761, 3761, 0),
109
+ (3764, 3772, 0),
110
+ (3784, 3790, 0),
111
+ (3864, 3865, 0),
112
+ (3893, 3893, 0),
113
+ (3895, 3895, 0),
114
+ (3897, 3897, 0),
115
+ (3902, 3903, 0),
116
+ (3953, 3972, 0),
117
+ (3974, 3975, 0),
118
+ (3981, 3991, 0),
119
+ (3993, 4028, 0),
120
+ (4038, 4038, 0),
121
+ (4139, 4158, 0),
122
+ (4182, 4185, 0),
123
+ (4190, 4192, 0),
124
+ (4194, 4196, 0),
125
+ (4199, 4205, 0),
126
+ (4209, 4212, 0),
127
+ (4226, 4237, 0),
128
+ (4239, 4239, 0),
129
+ (4250, 4253, 0),
130
+ (4352, 4447, 2),
131
+ (4448, 4607, 0),
132
+ (4957, 4959, 0),
133
+ (5906, 5909, 0),
134
+ (5938, 5940, 0),
135
+ (5970, 5971, 0),
136
+ (6002, 6003, 0),
137
+ (6068, 6099, 0),
138
+ (6109, 6109, 0),
139
+ (6155, 6159, 0),
140
+ (6277, 6278, 0),
141
+ (6313, 6313, 0),
142
+ (6432, 6443, 0),
143
+ (6448, 6459, 0),
144
+ (6679, 6683, 0),
145
+ (6741, 6750, 0),
146
+ (6752, 6780, 0),
147
+ (6783, 6783, 0),
148
+ (6832, 6877, 0),
149
+ (6880, 6891, 0),
150
+ (6912, 6916, 0),
151
+ (6964, 6980, 0),
152
+ (7019, 7027, 0),
153
+ (7040, 7042, 0),
154
+ (7073, 7085, 0),
155
+ (7142, 7155, 0),
156
+ (7204, 7223, 0),
157
+ (7376, 7378, 0),
158
+ (7380, 7400, 0),
159
+ (7405, 7405, 0),
160
+ (7412, 7412, 0),
161
+ (7415, 7417, 0),
162
+ (7616, 7679, 0),
163
+ (8203, 8207, 0),
164
+ (8232, 8238, 0),
165
+ (8288, 8303, 0),
166
+ (8400, 8432, 0),
167
+ (8986, 8987, 2),
168
+ (9001, 9002, 2),
169
+ (9193, 9196, 2),
170
+ (9200, 9200, 2),
171
+ (9203, 9203, 2),
172
+ (9725, 9726, 2),
173
+ (9748, 9749, 2),
174
+ (9776, 9783, 2),
175
+ (9800, 9811, 2),
176
+ (9855, 9855, 2),
177
+ (9866, 9871, 2),
178
+ (9875, 9875, 2),
179
+ (9889, 9889, 2),
180
+ (9898, 9899, 2),
181
+ (9917, 9918, 2),
182
+ (9924, 9925, 2),
183
+ (9934, 9934, 2),
184
+ (9940, 9940, 2),
185
+ (9962, 9962, 2),
186
+ (9970, 9971, 2),
187
+ (9973, 9973, 2),
188
+ (9978, 9978, 2),
189
+ (9981, 9981, 2),
190
+ (9989, 9989, 2),
191
+ (9994, 9995, 2),
192
+ (10024, 10024, 2),
193
+ (10060, 10060, 2),
194
+ (10062, 10062, 2),
195
+ (10067, 10069, 2),
196
+ (10071, 10071, 2),
197
+ (10133, 10135, 2),
198
+ (10160, 10160, 2),
199
+ (10175, 10175, 2),
200
+ (11035, 11036, 2),
201
+ (11088, 11088, 2),
202
+ (11093, 11093, 2),
203
+ (11503, 11505, 0),
204
+ (11647, 11647, 0),
205
+ (11744, 11775, 0),
206
+ (11904, 11929, 2),
207
+ (11931, 12019, 2),
208
+ (12032, 12245, 2),
209
+ (12272, 12329, 2),
210
+ (12330, 12335, 0),
211
+ (12336, 12350, 2),
212
+ (12353, 12438, 2),
213
+ (12441, 12442, 0),
214
+ (12443, 12543, 2),
215
+ (12549, 12591, 2),
216
+ (12593, 12643, 2),
217
+ (12644, 12644, 0),
218
+ (12645, 12686, 2),
219
+ (12688, 12773, 2),
220
+ (12783, 12830, 2),
221
+ (12832, 12871, 2),
222
+ (12880, 42124, 2),
223
+ (42128, 42182, 2),
224
+ (42607, 42610, 0),
225
+ (42612, 42621, 0),
226
+ (42654, 42655, 0),
227
+ (42736, 42737, 0),
228
+ (43010, 43010, 0),
229
+ (43014, 43014, 0),
230
+ (43019, 43019, 0),
231
+ (43043, 43047, 0),
232
+ (43052, 43052, 0),
233
+ (43136, 43137, 0),
234
+ (43188, 43205, 0),
235
+ (43232, 43249, 0),
236
+ (43263, 43263, 0),
237
+ (43302, 43309, 0),
238
+ (43335, 43347, 0),
239
+ (43360, 43388, 2),
240
+ (43392, 43395, 0),
241
+ (43443, 43456, 0),
242
+ (43493, 43493, 0),
243
+ (43561, 43574, 0),
244
+ (43587, 43587, 0),
245
+ (43596, 43597, 0),
246
+ (43643, 43645, 0),
247
+ (43696, 43696, 0),
248
+ (43698, 43700, 0),
249
+ (43703, 43704, 0),
250
+ (43710, 43711, 0),
251
+ (43713, 43713, 0),
252
+ (43755, 43759, 0),
253
+ (43765, 43766, 0),
254
+ (44003, 44010, 0),
255
+ (44012, 44013, 0),
256
+ (44032, 55203, 2),
257
+ (55216, 55295, 0),
258
+ (63744, 64255, 2),
259
+ (64286, 64286, 0),
260
+ (65024, 65039, 0),
261
+ (65040, 65049, 2),
262
+ (65056, 65071, 0),
263
+ (65072, 65106, 2),
264
+ (65108, 65126, 2),
265
+ (65128, 65131, 2),
266
+ (65279, 65279, 0),
267
+ (65281, 65376, 2),
268
+ (65440, 65440, 0),
269
+ (65504, 65510, 2),
270
+ (65520, 65531, 0),
271
+ (66045, 66045, 0),
272
+ (66272, 66272, 0),
273
+ (66422, 66426, 0),
274
+ (68097, 68099, 0),
275
+ (68101, 68102, 0),
276
+ (68108, 68111, 0),
277
+ (68152, 68154, 0),
278
+ (68159, 68159, 0),
279
+ (68325, 68326, 0),
280
+ (68900, 68903, 0),
281
+ (68969, 68973, 0),
282
+ (69291, 69292, 0),
283
+ (69370, 69375, 0),
284
+ (69446, 69456, 0),
285
+ (69506, 69509, 0),
286
+ (69632, 69634, 0),
287
+ (69688, 69702, 0),
288
+ (69744, 69744, 0),
289
+ (69747, 69748, 0),
290
+ (69759, 69762, 0),
291
+ (69808, 69818, 0),
292
+ (69826, 69826, 0),
293
+ (69888, 69890, 0),
294
+ (69927, 69940, 0),
295
+ (69957, 69958, 0),
296
+ (70003, 70003, 0),
297
+ (70016, 70018, 0),
298
+ (70067, 70080, 0),
299
+ (70089, 70092, 0),
300
+ (70094, 70095, 0),
301
+ (70188, 70199, 0),
302
+ (70206, 70206, 0),
303
+ (70209, 70209, 0),
304
+ (70367, 70378, 0),
305
+ (70400, 70403, 0),
306
+ (70459, 70460, 0),
307
+ (70462, 70468, 0),
308
+ (70471, 70472, 0),
309
+ (70475, 70477, 0),
310
+ (70487, 70487, 0),
311
+ (70498, 70499, 0),
312
+ (70502, 70508, 0),
313
+ (70512, 70516, 0),
314
+ (70584, 70592, 0),
315
+ (70594, 70594, 0),
316
+ (70597, 70597, 0),
317
+ (70599, 70602, 0),
318
+ (70604, 70608, 0),
319
+ (70610, 70610, 0),
320
+ (70625, 70626, 0),
321
+ (70709, 70726, 0),
322
+ (70750, 70750, 0),
323
+ (70832, 70851, 0),
324
+ (71087, 71093, 0),
325
+ (71096, 71104, 0),
326
+ (71132, 71133, 0),
327
+ (71216, 71232, 0),
328
+ (71339, 71351, 0),
329
+ (71453, 71467, 0),
330
+ (71724, 71738, 0),
331
+ (71984, 71989, 0),
332
+ (71991, 71992, 0),
333
+ (71995, 71998, 0),
334
+ (72000, 72000, 0),
335
+ (72002, 72003, 0),
336
+ (72145, 72151, 0),
337
+ (72154, 72160, 0),
338
+ (72164, 72164, 0),
339
+ (72193, 72202, 0),
340
+ (72243, 72249, 0),
341
+ (72251, 72254, 0),
342
+ (72263, 72263, 0),
343
+ (72273, 72283, 0),
344
+ (72330, 72345, 0),
345
+ (72544, 72551, 0),
346
+ (72751, 72758, 0),
347
+ (72760, 72767, 0),
348
+ (72850, 72871, 0),
349
+ (72873, 72886, 0),
350
+ (73009, 73014, 0),
351
+ (73018, 73018, 0),
352
+ (73020, 73021, 0),
353
+ (73023, 73029, 0),
354
+ (73031, 73031, 0),
355
+ (73098, 73102, 0),
356
+ (73104, 73105, 0),
357
+ (73107, 73111, 0),
358
+ (73459, 73462, 0),
359
+ (73472, 73473, 0),
360
+ (73475, 73475, 0),
361
+ (73524, 73530, 0),
362
+ (73534, 73538, 0),
363
+ (73562, 73562, 0),
364
+ (78896, 78912, 0),
365
+ (78919, 78933, 0),
366
+ (90398, 90415, 0),
367
+ (92912, 92916, 0),
368
+ (92976, 92982, 0),
369
+ (94031, 94031, 0),
370
+ (94033, 94087, 0),
371
+ (94095, 94098, 0),
372
+ (94176, 94179, 2),
373
+ (94180, 94180, 0),
374
+ (94192, 94193, 0),
375
+ (94194, 94198, 2),
376
+ (94208, 101589, 2),
377
+ (101631, 101662, 2),
378
+ (101760, 101874, 2),
379
+ (110576, 110579, 2),
380
+ (110581, 110587, 2),
381
+ (110589, 110590, 2),
382
+ (110592, 110882, 2),
383
+ (110898, 110898, 2),
384
+ (110928, 110930, 2),
385
+ (110933, 110933, 2),
386
+ (110948, 110951, 2),
387
+ (110960, 111355, 2),
388
+ (113821, 113822, 0),
389
+ (113824, 113827, 0),
390
+ (118528, 118573, 0),
391
+ (118576, 118598, 0),
392
+ (119141, 119145, 0),
393
+ (119149, 119170, 0),
394
+ (119173, 119179, 0),
395
+ (119210, 119213, 0),
396
+ (119362, 119364, 0),
397
+ (119552, 119638, 2),
398
+ (119648, 119670, 2),
399
+ (121344, 121398, 0),
400
+ (121403, 121452, 0),
401
+ (121461, 121461, 0),
402
+ (121476, 121476, 0),
403
+ (121499, 121503, 0),
404
+ (121505, 121519, 0),
405
+ (122880, 122886, 0),
406
+ (122888, 122904, 0),
407
+ (122907, 122913, 0),
408
+ (122915, 122916, 0),
409
+ (122918, 122922, 0),
410
+ (123023, 123023, 0),
411
+ (123184, 123190, 0),
412
+ (123566, 123566, 0),
413
+ (123628, 123631, 0),
414
+ (124140, 124143, 0),
415
+ (124398, 124399, 0),
416
+ (124643, 124643, 0),
417
+ (124646, 124646, 0),
418
+ (124654, 124655, 0),
419
+ (124661, 124661, 0),
420
+ (125136, 125142, 0),
421
+ (125252, 125258, 0),
422
+ (126980, 126980, 2),
423
+ (127183, 127183, 2),
424
+ (127374, 127374, 2),
425
+ (127377, 127386, 2),
426
+ (127488, 127490, 2),
427
+ (127504, 127547, 2),
428
+ (127552, 127560, 2),
429
+ (127568, 127569, 2),
430
+ (127584, 127589, 2),
431
+ (127744, 127776, 2),
432
+ (127789, 127797, 2),
433
+ (127799, 127868, 2),
434
+ (127870, 127891, 2),
435
+ (127904, 127946, 2),
436
+ (127951, 127955, 2),
437
+ (127968, 127984, 2),
438
+ (127988, 127988, 2),
439
+ (127992, 127994, 2),
440
+ (127995, 127999, 0),
441
+ (128000, 128062, 2),
442
+ (128064, 128064, 2),
443
+ (128066, 128252, 2),
444
+ (128255, 128317, 2),
445
+ (128331, 128334, 2),
446
+ (128336, 128359, 2),
447
+ (128378, 128378, 2),
448
+ (128405, 128406, 2),
449
+ (128420, 128420, 2),
450
+ (128507, 128591, 2),
451
+ (128640, 128709, 2),
452
+ (128716, 128716, 2),
453
+ (128720, 128722, 2),
454
+ (128725, 128728, 2),
455
+ (128732, 128735, 2),
456
+ (128747, 128748, 2),
457
+ (128756, 128764, 2),
458
+ (128992, 129003, 2),
459
+ (129008, 129008, 2),
460
+ (129292, 129338, 2),
461
+ (129340, 129349, 2),
462
+ (129351, 129535, 2),
463
+ (129648, 129660, 2),
464
+ (129664, 129674, 2),
465
+ (129678, 129734, 2),
466
+ (129736, 129736, 2),
467
+ (129741, 129756, 2),
468
+ (129759, 129770, 2),
469
+ (129775, 129784, 2),
470
+ (131072, 196605, 2),
471
+ (196608, 262141, 2),
472
+ (917504, 921599, 0),
473
+ ],
474
+ frozenset(
475
+ [
476
+ "#",
477
+ "*",
478
+ "0",
479
+ "1",
480
+ "2",
481
+ "3",
482
+ "4",
483
+ "5",
484
+ "6",
485
+ "7",
486
+ "8",
487
+ "9",
488
+ "©",
489
+ "®",
490
+ "‼",
491
+ "⁉",
492
+ "™",
493
+ "ℹ",
494
+ "↔",
495
+ "↕",
496
+ "↖",
497
+ "↗",
498
+ "↘",
499
+ "↙",
500
+ "↩",
501
+ "↪",
502
+ "⌨",
503
+ "⏏",
504
+ "⏭",
505
+ "⏮",
506
+ "⏯",
507
+ "⏱",
508
+ "⏲",
509
+ "⏸",
510
+ "⏹",
511
+ "⏺",
512
+ "Ⓜ",
513
+ "▪",
514
+ "▫",
515
+ "▶",
516
+ "◀",
517
+ "◻",
518
+ "◼",
519
+ "☀",
520
+ "☁",
521
+ "☂",
522
+ "☃",
523
+ "☄",
524
+ "☎",
525
+ "☑",
526
+ "☘",
527
+ "☝",
528
+ "☠",
529
+ "☢",
530
+ "☣",
531
+ "☦",
532
+ "☪",
533
+ "☮",
534
+ "☯",
535
+ "☸",
536
+ "☹",
537
+ "☺",
538
+ "♀",
539
+ "♂",
540
+ "♟",
541
+ "♠",
542
+ "♣",
543
+ "♥",
544
+ "♦",
545
+ "♨",
546
+ "♻",
547
+ "♾",
548
+ "⚒",
549
+ "⚔",
550
+ "⚕",
551
+ "⚖",
552
+ "⚗",
553
+ "⚙",
554
+ "⚛",
555
+ "⚜",
556
+ "⚠",
557
+ "⚧",
558
+ "⚰",
559
+ "⚱",
560
+ "⛈",
561
+ "⛏",
562
+ "⛑",
563
+ "⛓",
564
+ "⛩",
565
+ "⛰",
566
+ "⛱",
567
+ "⛴",
568
+ "⛷",
569
+ "⛸",
570
+ "⛹",
571
+ "✂",
572
+ "✈",
573
+ "✉",
574
+ "✌",
575
+ "✍",
576
+ "✏",
577
+ "✒",
578
+ "✔",
579
+ "✖",
580
+ "✝",
581
+ "✡",
582
+ "✳",
583
+ "✴",
584
+ "❄",
585
+ "❇",
586
+ "❣",
587
+ "❤",
588
+ "➡",
589
+ "⤴",
590
+ "⤵",
591
+ "⬅",
592
+ "⬆",
593
+ "⬇",
594
+ "🅰",
595
+ "🅱",
596
+ "🅾",
597
+ "🅿",
598
+ "🌡",
599
+ "🌤",
600
+ "🌥",
601
+ "🌦",
602
+ "🌧",
603
+ "🌨",
604
+ "🌩",
605
+ "🌪",
606
+ "🌫",
607
+ "🌬",
608
+ "🌶",
609
+ "🍽",
610
+ "🎖",
611
+ "🎗",
612
+ "🎙",
613
+ "🎚",
614
+ "🎛",
615
+ "🎞",
616
+ "🎟",
617
+ "🏋",
618
+ "🏌",
619
+ "🏍",
620
+ "🏎",
621
+ "🏔",
622
+ "🏕",
623
+ "🏖",
624
+ "🏗",
625
+ "🏘",
626
+ "🏙",
627
+ "🏚",
628
+ "🏛",
629
+ "🏜",
630
+ "🏝",
631
+ "🏞",
632
+ "🏟",
633
+ "🏳",
634
+ "🏵",
635
+ "🏷",
636
+ "🐿",
637
+ "👁",
638
+ "📽",
639
+ "🕉",
640
+ "🕊",
641
+ "🕯",
642
+ "🕰",
643
+ "🕳",
644
+ "🕴",
645
+ "🕵",
646
+ "🕶",
647
+ "🕷",
648
+ "🕸",
649
+ "🕹",
650
+ "🖇",
651
+ "🖊",
652
+ "🖋",
653
+ "🖌",
654
+ "🖍",
655
+ "🖐",
656
+ "🖥",
657
+ "🖨",
658
+ "🖱",
659
+ "🖲",
660
+ "🖼",
661
+ "🗂",
662
+ "🗃",
663
+ "🗄",
664
+ "🗑",
665
+ "🗒",
666
+ "🗓",
667
+ "🗜",
668
+ "🗝",
669
+ "🗞",
670
+ "🗡",
671
+ "🗣",
672
+ "🗨",
673
+ "🗯",
674
+ "🗳",
675
+ "🗺",
676
+ "🛋",
677
+ "🛍",
678
+ "🛎",
679
+ "🛏",
680
+ "🛠",
681
+ "🛡",
682
+ "🛢",
683
+ "🛣",
684
+ "🛤",
685
+ "🛥",
686
+ "🛩",
687
+ "🛰",
688
+ "🛳",
689
+ ]
690
+ ),
691
+ )
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode4-1-0.py ADDED
@@ -0,0 +1,425 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Auto generated by tools/make_width_tables.py
2
+ # Data from wcwidth project (https://github.com/jquast/wcwidth)
3
+
4
+ from rich.cells import CellTable
5
+
6
+ cell_table = CellTable(
7
+ "4.1.0",
8
+ [
9
+ (0, 8, 0),
10
+ (14, 31, 0),
11
+ (127, 132, 0),
12
+ (134, 159, 0),
13
+ (768, 879, 0),
14
+ (1155, 1158, 0),
15
+ (1160, 1161, 0),
16
+ (1425, 1465, 0),
17
+ (1467, 1469, 0),
18
+ (1471, 1471, 0),
19
+ (1473, 1474, 0),
20
+ (1476, 1477, 0),
21
+ (1479, 1479, 0),
22
+ (1536, 1539, 0),
23
+ (1552, 1557, 0),
24
+ (1611, 1630, 0),
25
+ (1648, 1648, 0),
26
+ (1750, 1764, 0),
27
+ (1767, 1768, 0),
28
+ (1770, 1773, 0),
29
+ (1807, 1807, 0),
30
+ (1809, 1809, 0),
31
+ (1840, 1866, 0),
32
+ (1958, 1968, 0),
33
+ (2305, 2307, 0),
34
+ (2364, 2364, 0),
35
+ (2366, 2381, 0),
36
+ (2385, 2388, 0),
37
+ (2402, 2403, 0),
38
+ (2433, 2435, 0),
39
+ (2492, 2492, 0),
40
+ (2494, 2500, 0),
41
+ (2503, 2504, 0),
42
+ (2507, 2509, 0),
43
+ (2519, 2519, 0),
44
+ (2530, 2531, 0),
45
+ (2561, 2563, 0),
46
+ (2620, 2620, 0),
47
+ (2622, 2626, 0),
48
+ (2631, 2632, 0),
49
+ (2635, 2637, 0),
50
+ (2672, 2673, 0),
51
+ (2689, 2691, 0),
52
+ (2748, 2748, 0),
53
+ (2750, 2757, 0),
54
+ (2759, 2761, 0),
55
+ (2763, 2765, 0),
56
+ (2786, 2787, 0),
57
+ (2817, 2819, 0),
58
+ (2876, 2876, 0),
59
+ (2878, 2883, 0),
60
+ (2887, 2888, 0),
61
+ (2891, 2893, 0),
62
+ (2902, 2903, 0),
63
+ (2946, 2946, 0),
64
+ (3006, 3010, 0),
65
+ (3014, 3016, 0),
66
+ (3018, 3021, 0),
67
+ (3031, 3031, 0),
68
+ (3073, 3075, 0),
69
+ (3134, 3140, 0),
70
+ (3142, 3144, 0),
71
+ (3146, 3149, 0),
72
+ (3157, 3158, 0),
73
+ (3202, 3203, 0),
74
+ (3260, 3260, 0),
75
+ (3262, 3268, 0),
76
+ (3270, 3272, 0),
77
+ (3274, 3277, 0),
78
+ (3285, 3286, 0),
79
+ (3330, 3331, 0),
80
+ (3390, 3395, 0),
81
+ (3398, 3400, 0),
82
+ (3402, 3405, 0),
83
+ (3415, 3415, 0),
84
+ (3458, 3459, 0),
85
+ (3530, 3530, 0),
86
+ (3535, 3540, 0),
87
+ (3542, 3542, 0),
88
+ (3544, 3551, 0),
89
+ (3570, 3571, 0),
90
+ (3633, 3633, 0),
91
+ (3636, 3642, 0),
92
+ (3655, 3662, 0),
93
+ (3761, 3761, 0),
94
+ (3764, 3769, 0),
95
+ (3771, 3772, 0),
96
+ (3784, 3789, 0),
97
+ (3864, 3865, 0),
98
+ (3893, 3893, 0),
99
+ (3895, 3895, 0),
100
+ (3897, 3897, 0),
101
+ (3902, 3903, 0),
102
+ (3953, 3972, 0),
103
+ (3974, 3975, 0),
104
+ (3984, 3991, 0),
105
+ (3993, 4028, 0),
106
+ (4038, 4038, 0),
107
+ (4140, 4146, 0),
108
+ (4150, 4153, 0),
109
+ (4182, 4185, 0),
110
+ (4352, 4441, 2),
111
+ (4447, 4447, 2),
112
+ (4448, 4607, 0),
113
+ (4959, 4959, 0),
114
+ (5906, 5908, 0),
115
+ (5938, 5940, 0),
116
+ (5970, 5971, 0),
117
+ (6002, 6003, 0),
118
+ (6068, 6099, 0),
119
+ (6109, 6109, 0),
120
+ (6155, 6157, 0),
121
+ (6313, 6313, 0),
122
+ (6432, 6443, 0),
123
+ (6448, 6459, 0),
124
+ (6576, 6592, 0),
125
+ (6600, 6601, 0),
126
+ (6679, 6683, 0),
127
+ (7616, 7619, 0),
128
+ (8203, 8207, 0),
129
+ (8232, 8238, 0),
130
+ (8288, 8303, 0),
131
+ (8400, 8427, 0),
132
+ (9001, 9002, 2),
133
+ (11904, 11929, 2),
134
+ (11931, 12019, 2),
135
+ (12032, 12245, 2),
136
+ (12272, 12283, 2),
137
+ (12288, 12329, 2),
138
+ (12330, 12335, 0),
139
+ (12336, 12350, 2),
140
+ (12353, 12438, 2),
141
+ (12441, 12442, 0),
142
+ (12443, 12543, 2),
143
+ (12549, 12588, 2),
144
+ (12593, 12643, 2),
145
+ (12644, 12644, 0),
146
+ (12645, 12686, 2),
147
+ (12688, 12727, 2),
148
+ (12736, 12751, 2),
149
+ (12784, 12830, 2),
150
+ (12832, 12867, 2),
151
+ (12880, 13054, 2),
152
+ (13056, 19893, 2),
153
+ (19968, 40891, 2),
154
+ (40960, 42124, 2),
155
+ (42128, 42182, 2),
156
+ (43010, 43010, 0),
157
+ (43014, 43014, 0),
158
+ (43019, 43019, 0),
159
+ (43043, 43047, 0),
160
+ (44032, 55203, 2),
161
+ (55216, 57343, 0),
162
+ (63744, 64045, 2),
163
+ (64048, 64106, 2),
164
+ (64112, 64217, 2),
165
+ (64286, 64286, 0),
166
+ (64976, 65007, 0),
167
+ (65024, 65039, 0),
168
+ (65040, 65049, 2),
169
+ (65056, 65059, 0),
170
+ (65072, 65106, 2),
171
+ (65108, 65126, 2),
172
+ (65128, 65131, 2),
173
+ (65279, 65279, 0),
174
+ (65281, 65376, 2),
175
+ (65440, 65440, 0),
176
+ (65504, 65510, 2),
177
+ (65520, 65531, 0),
178
+ (65534, 65535, 0),
179
+ (68097, 68099, 0),
180
+ (68101, 68102, 0),
181
+ (68108, 68111, 0),
182
+ (68152, 68154, 0),
183
+ (68159, 68159, 0),
184
+ (119141, 119145, 0),
185
+ (119149, 119170, 0),
186
+ (119173, 119179, 0),
187
+ (119210, 119213, 0),
188
+ (119362, 119364, 0),
189
+ (131070, 131071, 0),
190
+ (131072, 196605, 2),
191
+ (196606, 196607, 0),
192
+ (196608, 262141, 2),
193
+ (262142, 262143, 0),
194
+ (327678, 327679, 0),
195
+ (393214, 393215, 0),
196
+ (458750, 458751, 0),
197
+ (524286, 524287, 0),
198
+ (589822, 589823, 0),
199
+ (655358, 655359, 0),
200
+ (720894, 720895, 0),
201
+ (786430, 786431, 0),
202
+ (851966, 851967, 0),
203
+ (917502, 921599, 0),
204
+ (983038, 983039, 0),
205
+ (1048574, 1048575, 0),
206
+ (1114110, 1114111, 0),
207
+ ],
208
+ frozenset(
209
+ [
210
+ "#",
211
+ "*",
212
+ "0",
213
+ "1",
214
+ "2",
215
+ "3",
216
+ "4",
217
+ "5",
218
+ "6",
219
+ "7",
220
+ "8",
221
+ "9",
222
+ "©",
223
+ "®",
224
+ "‼",
225
+ "⁉",
226
+ "™",
227
+ "ℹ",
228
+ "↔",
229
+ "↕",
230
+ "↖",
231
+ "↗",
232
+ "↘",
233
+ "↙",
234
+ "↩",
235
+ "↪",
236
+ "⌨",
237
+ "⏏",
238
+ "⏭",
239
+ "⏮",
240
+ "⏯",
241
+ "⏱",
242
+ "⏲",
243
+ "⏸",
244
+ "⏹",
245
+ "⏺",
246
+ "Ⓜ",
247
+ "▪",
248
+ "▫",
249
+ "▶",
250
+ "◀",
251
+ "◻",
252
+ "◼",
253
+ "☀",
254
+ "☁",
255
+ "☂",
256
+ "☃",
257
+ "☄",
258
+ "☎",
259
+ "☑",
260
+ "☘",
261
+ "☝",
262
+ "☠",
263
+ "☢",
264
+ "☣",
265
+ "☦",
266
+ "☪",
267
+ "☮",
268
+ "☯",
269
+ "☸",
270
+ "☹",
271
+ "☺",
272
+ "♀",
273
+ "♂",
274
+ "♟",
275
+ "♠",
276
+ "♣",
277
+ "♥",
278
+ "♦",
279
+ "♨",
280
+ "♻",
281
+ "♾",
282
+ "⚒",
283
+ "⚔",
284
+ "⚕",
285
+ "⚖",
286
+ "⚗",
287
+ "⚙",
288
+ "⚛",
289
+ "⚜",
290
+ "⚠",
291
+ "⚧",
292
+ "⚰",
293
+ "⚱",
294
+ "⛈",
295
+ "⛏",
296
+ "⛑",
297
+ "⛓",
298
+ "⛩",
299
+ "⛰",
300
+ "⛱",
301
+ "⛴",
302
+ "⛷",
303
+ "⛸",
304
+ "⛹",
305
+ "✂",
306
+ "✈",
307
+ "✉",
308
+ "✌",
309
+ "✍",
310
+ "✏",
311
+ "✒",
312
+ "✔",
313
+ "✖",
314
+ "✝",
315
+ "✡",
316
+ "✳",
317
+ "✴",
318
+ "❄",
319
+ "❇",
320
+ "❣",
321
+ "❤",
322
+ "➡",
323
+ "⤴",
324
+ "⤵",
325
+ "⬅",
326
+ "⬆",
327
+ "⬇",
328
+ "🅰",
329
+ "🅱",
330
+ "🅾",
331
+ "🅿",
332
+ "🌡",
333
+ "🌤",
334
+ "🌥",
335
+ "🌦",
336
+ "🌧",
337
+ "🌨",
338
+ "🌩",
339
+ "🌪",
340
+ "🌫",
341
+ "🌬",
342
+ "🌶",
343
+ "🍽",
344
+ "🎖",
345
+ "🎗",
346
+ "🎙",
347
+ "🎚",
348
+ "🎛",
349
+ "🎞",
350
+ "🎟",
351
+ "🏋",
352
+ "🏌",
353
+ "🏍",
354
+ "🏎",
355
+ "🏔",
356
+ "🏕",
357
+ "🏖",
358
+ "🏗",
359
+ "🏘",
360
+ "🏙",
361
+ "🏚",
362
+ "🏛",
363
+ "🏜",
364
+ "🏝",
365
+ "🏞",
366
+ "🏟",
367
+ "🏳",
368
+ "🏵",
369
+ "🏷",
370
+ "🐿",
371
+ "👁",
372
+ "📽",
373
+ "🕉",
374
+ "🕊",
375
+ "🕯",
376
+ "🕰",
377
+ "🕳",
378
+ "🕴",
379
+ "🕵",
380
+ "🕶",
381
+ "🕷",
382
+ "🕸",
383
+ "🕹",
384
+ "🖇",
385
+ "🖊",
386
+ "🖋",
387
+ "🖌",
388
+ "🖍",
389
+ "🖐",
390
+ "🖥",
391
+ "🖨",
392
+ "🖱",
393
+ "🖲",
394
+ "🖼",
395
+ "🗂",
396
+ "🗃",
397
+ "🗄",
398
+ "🗑",
399
+ "🗒",
400
+ "🗓",
401
+ "🗜",
402
+ "🗝",
403
+ "🗞",
404
+ "🗡",
405
+ "🗣",
406
+ "🗨",
407
+ "🗯",
408
+ "🗳",
409
+ "🗺",
410
+ "🛋",
411
+ "🛍",
412
+ "🛎",
413
+ "🛏",
414
+ "🛠",
415
+ "🛡",
416
+ "🛢",
417
+ "🛣",
418
+ "🛤",
419
+ "🛥",
420
+ "🛩",
421
+ "🛰",
422
+ "🛳",
423
+ ]
424
+ ),
425
+ )
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode5-0-0.py ADDED
@@ -0,0 +1,430 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Auto generated by tools/make_width_tables.py
2
+ # Data from wcwidth project (https://github.com/jquast/wcwidth)
3
+
4
+ from rich.cells import CellTable
5
+
6
+ cell_table = CellTable(
7
+ "5.0.0",
8
+ [
9
+ (0, 8, 0),
10
+ (14, 31, 0),
11
+ (127, 132, 0),
12
+ (134, 159, 0),
13
+ (768, 879, 0),
14
+ (1155, 1158, 0),
15
+ (1160, 1161, 0),
16
+ (1425, 1469, 0),
17
+ (1471, 1471, 0),
18
+ (1473, 1474, 0),
19
+ (1476, 1477, 0),
20
+ (1479, 1479, 0),
21
+ (1536, 1539, 0),
22
+ (1552, 1557, 0),
23
+ (1611, 1630, 0),
24
+ (1648, 1648, 0),
25
+ (1750, 1764, 0),
26
+ (1767, 1768, 0),
27
+ (1770, 1773, 0),
28
+ (1807, 1807, 0),
29
+ (1809, 1809, 0),
30
+ (1840, 1866, 0),
31
+ (1958, 1968, 0),
32
+ (2027, 2035, 0),
33
+ (2305, 2307, 0),
34
+ (2364, 2364, 0),
35
+ (2366, 2381, 0),
36
+ (2385, 2388, 0),
37
+ (2402, 2403, 0),
38
+ (2433, 2435, 0),
39
+ (2492, 2492, 0),
40
+ (2494, 2500, 0),
41
+ (2503, 2504, 0),
42
+ (2507, 2509, 0),
43
+ (2519, 2519, 0),
44
+ (2530, 2531, 0),
45
+ (2561, 2563, 0),
46
+ (2620, 2620, 0),
47
+ (2622, 2626, 0),
48
+ (2631, 2632, 0),
49
+ (2635, 2637, 0),
50
+ (2672, 2673, 0),
51
+ (2689, 2691, 0),
52
+ (2748, 2748, 0),
53
+ (2750, 2757, 0),
54
+ (2759, 2761, 0),
55
+ (2763, 2765, 0),
56
+ (2786, 2787, 0),
57
+ (2817, 2819, 0),
58
+ (2876, 2876, 0),
59
+ (2878, 2883, 0),
60
+ (2887, 2888, 0),
61
+ (2891, 2893, 0),
62
+ (2902, 2903, 0),
63
+ (2946, 2946, 0),
64
+ (3006, 3010, 0),
65
+ (3014, 3016, 0),
66
+ (3018, 3021, 0),
67
+ (3031, 3031, 0),
68
+ (3073, 3075, 0),
69
+ (3134, 3140, 0),
70
+ (3142, 3144, 0),
71
+ (3146, 3149, 0),
72
+ (3157, 3158, 0),
73
+ (3202, 3203, 0),
74
+ (3260, 3260, 0),
75
+ (3262, 3268, 0),
76
+ (3270, 3272, 0),
77
+ (3274, 3277, 0),
78
+ (3285, 3286, 0),
79
+ (3298, 3299, 0),
80
+ (3330, 3331, 0),
81
+ (3390, 3395, 0),
82
+ (3398, 3400, 0),
83
+ (3402, 3405, 0),
84
+ (3415, 3415, 0),
85
+ (3458, 3459, 0),
86
+ (3530, 3530, 0),
87
+ (3535, 3540, 0),
88
+ (3542, 3542, 0),
89
+ (3544, 3551, 0),
90
+ (3570, 3571, 0),
91
+ (3633, 3633, 0),
92
+ (3636, 3642, 0),
93
+ (3655, 3662, 0),
94
+ (3761, 3761, 0),
95
+ (3764, 3769, 0),
96
+ (3771, 3772, 0),
97
+ (3784, 3789, 0),
98
+ (3864, 3865, 0),
99
+ (3893, 3893, 0),
100
+ (3895, 3895, 0),
101
+ (3897, 3897, 0),
102
+ (3902, 3903, 0),
103
+ (3953, 3972, 0),
104
+ (3974, 3975, 0),
105
+ (3984, 3991, 0),
106
+ (3993, 4028, 0),
107
+ (4038, 4038, 0),
108
+ (4140, 4146, 0),
109
+ (4150, 4153, 0),
110
+ (4182, 4185, 0),
111
+ (4352, 4441, 2),
112
+ (4447, 4447, 2),
113
+ (4448, 4607, 0),
114
+ (4959, 4959, 0),
115
+ (5906, 5908, 0),
116
+ (5938, 5940, 0),
117
+ (5970, 5971, 0),
118
+ (6002, 6003, 0),
119
+ (6068, 6099, 0),
120
+ (6109, 6109, 0),
121
+ (6155, 6157, 0),
122
+ (6313, 6313, 0),
123
+ (6432, 6443, 0),
124
+ (6448, 6459, 0),
125
+ (6576, 6592, 0),
126
+ (6600, 6601, 0),
127
+ (6679, 6683, 0),
128
+ (6912, 6916, 0),
129
+ (6964, 6980, 0),
130
+ (7019, 7027, 0),
131
+ (7616, 7626, 0),
132
+ (7678, 7679, 0),
133
+ (8203, 8207, 0),
134
+ (8232, 8238, 0),
135
+ (8288, 8303, 0),
136
+ (8400, 8431, 0),
137
+ (9001, 9002, 2),
138
+ (11904, 11929, 2),
139
+ (11931, 12019, 2),
140
+ (12032, 12245, 2),
141
+ (12272, 12283, 2),
142
+ (12288, 12329, 2),
143
+ (12330, 12335, 0),
144
+ (12336, 12350, 2),
145
+ (12353, 12438, 2),
146
+ (12441, 12442, 0),
147
+ (12443, 12543, 2),
148
+ (12549, 12588, 2),
149
+ (12593, 12643, 2),
150
+ (12644, 12644, 0),
151
+ (12645, 12686, 2),
152
+ (12688, 12727, 2),
153
+ (12736, 12751, 2),
154
+ (12784, 12830, 2),
155
+ (12832, 12867, 2),
156
+ (12880, 13054, 2),
157
+ (13056, 19893, 2),
158
+ (19968, 40891, 2),
159
+ (40960, 42124, 2),
160
+ (42128, 42182, 2),
161
+ (43010, 43010, 0),
162
+ (43014, 43014, 0),
163
+ (43019, 43019, 0),
164
+ (43043, 43047, 0),
165
+ (44032, 55203, 2),
166
+ (55216, 57343, 0),
167
+ (63744, 64045, 2),
168
+ (64048, 64106, 2),
169
+ (64112, 64217, 2),
170
+ (64286, 64286, 0),
171
+ (64976, 65007, 0),
172
+ (65024, 65039, 0),
173
+ (65040, 65049, 2),
174
+ (65056, 65059, 0),
175
+ (65072, 65106, 2),
176
+ (65108, 65126, 2),
177
+ (65128, 65131, 2),
178
+ (65279, 65279, 0),
179
+ (65281, 65376, 2),
180
+ (65440, 65440, 0),
181
+ (65504, 65510, 2),
182
+ (65520, 65531, 0),
183
+ (65534, 65535, 0),
184
+ (68097, 68099, 0),
185
+ (68101, 68102, 0),
186
+ (68108, 68111, 0),
187
+ (68152, 68154, 0),
188
+ (68159, 68159, 0),
189
+ (119141, 119145, 0),
190
+ (119149, 119170, 0),
191
+ (119173, 119179, 0),
192
+ (119210, 119213, 0),
193
+ (119362, 119364, 0),
194
+ (131070, 131071, 0),
195
+ (131072, 196605, 2),
196
+ (196606, 196607, 0),
197
+ (196608, 262141, 2),
198
+ (262142, 262143, 0),
199
+ (327678, 327679, 0),
200
+ (393214, 393215, 0),
201
+ (458750, 458751, 0),
202
+ (524286, 524287, 0),
203
+ (589822, 589823, 0),
204
+ (655358, 655359, 0),
205
+ (720894, 720895, 0),
206
+ (786430, 786431, 0),
207
+ (851966, 851967, 0),
208
+ (917502, 921599, 0),
209
+ (983038, 983039, 0),
210
+ (1048574, 1048575, 0),
211
+ (1114110, 1114111, 0),
212
+ ],
213
+ frozenset(
214
+ [
215
+ "#",
216
+ "*",
217
+ "0",
218
+ "1",
219
+ "2",
220
+ "3",
221
+ "4",
222
+ "5",
223
+ "6",
224
+ "7",
225
+ "8",
226
+ "9",
227
+ "©",
228
+ "®",
229
+ "‼",
230
+ "⁉",
231
+ "™",
232
+ "ℹ",
233
+ "↔",
234
+ "↕",
235
+ "↖",
236
+ "↗",
237
+ "↘",
238
+ "↙",
239
+ "↩",
240
+ "↪",
241
+ "⌨",
242
+ "⏏",
243
+ "⏭",
244
+ "⏮",
245
+ "⏯",
246
+ "⏱",
247
+ "⏲",
248
+ "⏸",
249
+ "⏹",
250
+ "⏺",
251
+ "Ⓜ",
252
+ "▪",
253
+ "▫",
254
+ "▶",
255
+ "◀",
256
+ "◻",
257
+ "◼",
258
+ "☀",
259
+ "☁",
260
+ "☂",
261
+ "☃",
262
+ "☄",
263
+ "☎",
264
+ "☑",
265
+ "☘",
266
+ "☝",
267
+ "☠",
268
+ "☢",
269
+ "☣",
270
+ "☦",
271
+ "☪",
272
+ "☮",
273
+ "☯",
274
+ "☸",
275
+ "☹",
276
+ "☺",
277
+ "♀",
278
+ "♂",
279
+ "♟",
280
+ "♠",
281
+ "♣",
282
+ "♥",
283
+ "♦",
284
+ "♨",
285
+ "♻",
286
+ "♾",
287
+ "⚒",
288
+ "⚔",
289
+ "⚕",
290
+ "⚖",
291
+ "⚗",
292
+ "⚙",
293
+ "⚛",
294
+ "⚜",
295
+ "⚠",
296
+ "⚧",
297
+ "⚰",
298
+ "⚱",
299
+ "⛈",
300
+ "⛏",
301
+ "⛑",
302
+ "⛓",
303
+ "⛩",
304
+ "⛰",
305
+ "⛱",
306
+ "⛴",
307
+ "⛷",
308
+ "⛸",
309
+ "⛹",
310
+ "✂",
311
+ "✈",
312
+ "✉",
313
+ "✌",
314
+ "✍",
315
+ "✏",
316
+ "✒",
317
+ "✔",
318
+ "✖",
319
+ "✝",
320
+ "✡",
321
+ "✳",
322
+ "✴",
323
+ "❄",
324
+ "❇",
325
+ "❣",
326
+ "❤",
327
+ "➡",
328
+ "⤴",
329
+ "⤵",
330
+ "⬅",
331
+ "⬆",
332
+ "⬇",
333
+ "🅰",
334
+ "🅱",
335
+ "🅾",
336
+ "🅿",
337
+ "🌡",
338
+ "🌤",
339
+ "🌥",
340
+ "🌦",
341
+ "🌧",
342
+ "🌨",
343
+ "🌩",
344
+ "🌪",
345
+ "🌫",
346
+ "🌬",
347
+ "🌶",
348
+ "🍽",
349
+ "🎖",
350
+ "🎗",
351
+ "🎙",
352
+ "🎚",
353
+ "🎛",
354
+ "🎞",
355
+ "🎟",
356
+ "🏋",
357
+ "🏌",
358
+ "🏍",
359
+ "🏎",
360
+ "🏔",
361
+ "🏕",
362
+ "🏖",
363
+ "🏗",
364
+ "🏘",
365
+ "🏙",
366
+ "🏚",
367
+ "🏛",
368
+ "🏜",
369
+ "🏝",
370
+ "🏞",
371
+ "🏟",
372
+ "🏳",
373
+ "🏵",
374
+ "🏷",
375
+ "🐿",
376
+ "👁",
377
+ "📽",
378
+ "🕉",
379
+ "🕊",
380
+ "🕯",
381
+ "🕰",
382
+ "🕳",
383
+ "🕴",
384
+ "🕵",
385
+ "🕶",
386
+ "🕷",
387
+ "🕸",
388
+ "🕹",
389
+ "🖇",
390
+ "🖊",
391
+ "🖋",
392
+ "🖌",
393
+ "🖍",
394
+ "🖐",
395
+ "🖥",
396
+ "🖨",
397
+ "🖱",
398
+ "🖲",
399
+ "🖼",
400
+ "🗂",
401
+ "🗃",
402
+ "🗄",
403
+ "🗑",
404
+ "🗒",
405
+ "🗓",
406
+ "🗜",
407
+ "🗝",
408
+ "🗞",
409
+ "🗡",
410
+ "🗣",
411
+ "🗨",
412
+ "🗯",
413
+ "🗳",
414
+ "🗺",
415
+ "🛋",
416
+ "🛍",
417
+ "🛎",
418
+ "🛏",
419
+ "🛠",
420
+ "🛡",
421
+ "🛢",
422
+ "🛣",
423
+ "🛤",
424
+ "🛥",
425
+ "🛩",
426
+ "🛰",
427
+ "🛳",
428
+ ]
429
+ ),
430
+ )
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode5-1-0.py ADDED
@@ -0,0 +1,433 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Auto generated by tools/make_width_tables.py
2
+ # Data from wcwidth project (https://github.com/jquast/wcwidth)
3
+
4
+ from rich.cells import CellTable
5
+
6
+ cell_table = CellTable(
7
+ "5.1.0",
8
+ [
9
+ (0, 0, 0),
10
+ (768, 879, 0),
11
+ (1155, 1161, 0),
12
+ (1425, 1469, 0),
13
+ (1471, 1471, 0),
14
+ (1473, 1474, 0),
15
+ (1476, 1477, 0),
16
+ (1479, 1479, 0),
17
+ (1536, 1539, 0),
18
+ (1552, 1562, 0),
19
+ (1611, 1630, 0),
20
+ (1648, 1648, 0),
21
+ (1750, 1764, 0),
22
+ (1767, 1768, 0),
23
+ (1770, 1773, 0),
24
+ (1807, 1807, 0),
25
+ (1809, 1809, 0),
26
+ (1840, 1866, 0),
27
+ (1958, 1968, 0),
28
+ (2027, 2035, 0),
29
+ (2305, 2307, 0),
30
+ (2364, 2364, 0),
31
+ (2366, 2381, 0),
32
+ (2385, 2388, 0),
33
+ (2402, 2403, 0),
34
+ (2433, 2435, 0),
35
+ (2492, 2492, 0),
36
+ (2494, 2500, 0),
37
+ (2503, 2504, 0),
38
+ (2507, 2509, 0),
39
+ (2519, 2519, 0),
40
+ (2530, 2531, 0),
41
+ (2561, 2563, 0),
42
+ (2620, 2620, 0),
43
+ (2622, 2626, 0),
44
+ (2631, 2632, 0),
45
+ (2635, 2637, 0),
46
+ (2641, 2641, 0),
47
+ (2672, 2673, 0),
48
+ (2677, 2677, 0),
49
+ (2689, 2691, 0),
50
+ (2748, 2748, 0),
51
+ (2750, 2757, 0),
52
+ (2759, 2761, 0),
53
+ (2763, 2765, 0),
54
+ (2786, 2787, 0),
55
+ (2817, 2819, 0),
56
+ (2876, 2876, 0),
57
+ (2878, 2884, 0),
58
+ (2887, 2888, 0),
59
+ (2891, 2893, 0),
60
+ (2902, 2903, 0),
61
+ (2914, 2915, 0),
62
+ (2946, 2946, 0),
63
+ (3006, 3010, 0),
64
+ (3014, 3016, 0),
65
+ (3018, 3021, 0),
66
+ (3031, 3031, 0),
67
+ (3073, 3075, 0),
68
+ (3134, 3140, 0),
69
+ (3142, 3144, 0),
70
+ (3146, 3149, 0),
71
+ (3157, 3158, 0),
72
+ (3170, 3171, 0),
73
+ (3202, 3203, 0),
74
+ (3260, 3260, 0),
75
+ (3262, 3268, 0),
76
+ (3270, 3272, 0),
77
+ (3274, 3277, 0),
78
+ (3285, 3286, 0),
79
+ (3298, 3299, 0),
80
+ (3330, 3331, 0),
81
+ (3390, 3396, 0),
82
+ (3398, 3400, 0),
83
+ (3402, 3405, 0),
84
+ (3415, 3415, 0),
85
+ (3426, 3427, 0),
86
+ (3458, 3459, 0),
87
+ (3530, 3530, 0),
88
+ (3535, 3540, 0),
89
+ (3542, 3542, 0),
90
+ (3544, 3551, 0),
91
+ (3570, 3571, 0),
92
+ (3633, 3633, 0),
93
+ (3636, 3642, 0),
94
+ (3655, 3662, 0),
95
+ (3761, 3761, 0),
96
+ (3764, 3769, 0),
97
+ (3771, 3772, 0),
98
+ (3784, 3789, 0),
99
+ (3864, 3865, 0),
100
+ (3893, 3893, 0),
101
+ (3895, 3895, 0),
102
+ (3897, 3897, 0),
103
+ (3902, 3903, 0),
104
+ (3953, 3972, 0),
105
+ (3974, 3975, 0),
106
+ (3984, 3991, 0),
107
+ (3993, 4028, 0),
108
+ (4038, 4038, 0),
109
+ (4139, 4158, 0),
110
+ (4182, 4185, 0),
111
+ (4190, 4192, 0),
112
+ (4194, 4196, 0),
113
+ (4199, 4205, 0),
114
+ (4209, 4212, 0),
115
+ (4226, 4237, 0),
116
+ (4239, 4239, 0),
117
+ (4352, 4441, 2),
118
+ (4447, 4447, 2),
119
+ (4448, 4607, 0),
120
+ (4959, 4959, 0),
121
+ (5906, 5908, 0),
122
+ (5938, 5940, 0),
123
+ (5970, 5971, 0),
124
+ (6002, 6003, 0),
125
+ (6068, 6099, 0),
126
+ (6109, 6109, 0),
127
+ (6155, 6157, 0),
128
+ (6313, 6313, 0),
129
+ (6432, 6443, 0),
130
+ (6448, 6459, 0),
131
+ (6576, 6592, 0),
132
+ (6600, 6601, 0),
133
+ (6679, 6683, 0),
134
+ (6912, 6916, 0),
135
+ (6964, 6980, 0),
136
+ (7019, 7027, 0),
137
+ (7040, 7042, 0),
138
+ (7073, 7082, 0),
139
+ (7204, 7223, 0),
140
+ (7616, 7654, 0),
141
+ (7678, 7679, 0),
142
+ (8203, 8207, 0),
143
+ (8232, 8238, 0),
144
+ (8288, 8303, 0),
145
+ (8400, 8432, 0),
146
+ (9001, 9002, 2),
147
+ (11744, 11775, 0),
148
+ (11904, 11929, 2),
149
+ (11931, 12019, 2),
150
+ (12032, 12245, 2),
151
+ (12272, 12283, 2),
152
+ (12288, 12329, 2),
153
+ (12330, 12335, 0),
154
+ (12336, 12350, 2),
155
+ (12353, 12438, 2),
156
+ (12441, 12442, 0),
157
+ (12443, 12543, 2),
158
+ (12549, 12589, 2),
159
+ (12593, 12643, 2),
160
+ (12644, 12644, 0),
161
+ (12645, 12686, 2),
162
+ (12688, 12727, 2),
163
+ (12736, 12771, 2),
164
+ (12784, 12830, 2),
165
+ (12832, 12867, 2),
166
+ (12880, 13054, 2),
167
+ (13056, 19893, 2),
168
+ (19968, 40899, 2),
169
+ (40960, 42124, 2),
170
+ (42128, 42182, 2),
171
+ (42607, 42610, 0),
172
+ (42620, 42621, 0),
173
+ (43010, 43010, 0),
174
+ (43014, 43014, 0),
175
+ (43019, 43019, 0),
176
+ (43043, 43047, 0),
177
+ (43136, 43137, 0),
178
+ (43188, 43204, 0),
179
+ (43302, 43309, 0),
180
+ (43335, 43347, 0),
181
+ (43561, 43574, 0),
182
+ (43587, 43587, 0),
183
+ (43596, 43597, 0),
184
+ (44032, 55203, 2),
185
+ (55216, 55295, 0),
186
+ (63744, 64045, 2),
187
+ (64048, 64106, 2),
188
+ (64112, 64217, 2),
189
+ (64286, 64286, 0),
190
+ (65024, 65039, 0),
191
+ (65040, 65049, 2),
192
+ (65056, 65062, 0),
193
+ (65072, 65106, 2),
194
+ (65108, 65126, 2),
195
+ (65128, 65131, 2),
196
+ (65279, 65279, 0),
197
+ (65281, 65376, 2),
198
+ (65440, 65440, 0),
199
+ (65504, 65510, 2),
200
+ (65520, 65531, 0),
201
+ (66045, 66045, 0),
202
+ (68097, 68099, 0),
203
+ (68101, 68102, 0),
204
+ (68108, 68111, 0),
205
+ (68152, 68154, 0),
206
+ (68159, 68159, 0),
207
+ (119141, 119145, 0),
208
+ (119149, 119170, 0),
209
+ (119173, 119179, 0),
210
+ (119210, 119213, 0),
211
+ (119362, 119364, 0),
212
+ (131072, 196605, 2),
213
+ (196608, 262141, 2),
214
+ (917504, 921599, 0),
215
+ ],
216
+ frozenset(
217
+ [
218
+ "#",
219
+ "*",
220
+ "0",
221
+ "1",
222
+ "2",
223
+ "3",
224
+ "4",
225
+ "5",
226
+ "6",
227
+ "7",
228
+ "8",
229
+ "9",
230
+ "©",
231
+ "®",
232
+ "‼",
233
+ "⁉",
234
+ "™",
235
+ "ℹ",
236
+ "↔",
237
+ "↕",
238
+ "↖",
239
+ "↗",
240
+ "↘",
241
+ "↙",
242
+ "↩",
243
+ "↪",
244
+ "⌨",
245
+ "⏏",
246
+ "⏭",
247
+ "⏮",
248
+ "⏯",
249
+ "⏱",
250
+ "⏲",
251
+ "⏸",
252
+ "⏹",
253
+ "⏺",
254
+ "Ⓜ",
255
+ "▪",
256
+ "▫",
257
+ "▶",
258
+ "◀",
259
+ "◻",
260
+ "◼",
261
+ "☀",
262
+ "☁",
263
+ "☂",
264
+ "☃",
265
+ "☄",
266
+ "☎",
267
+ "☑",
268
+ "☘",
269
+ "☝",
270
+ "☠",
271
+ "☢",
272
+ "☣",
273
+ "☦",
274
+ "☪",
275
+ "☮",
276
+ "☯",
277
+ "☸",
278
+ "☹",
279
+ "☺",
280
+ "♀",
281
+ "♂",
282
+ "♟",
283
+ "♠",
284
+ "♣",
285
+ "♥",
286
+ "♦",
287
+ "♨",
288
+ "♻",
289
+ "♾",
290
+ "⚒",
291
+ "⚔",
292
+ "⚕",
293
+ "⚖",
294
+ "⚗",
295
+ "⚙",
296
+ "⚛",
297
+ "⚜",
298
+ "⚠",
299
+ "⚧",
300
+ "⚰",
301
+ "⚱",
302
+ "⛈",
303
+ "⛏",
304
+ "⛑",
305
+ "⛓",
306
+ "⛩",
307
+ "⛰",
308
+ "⛱",
309
+ "⛴",
310
+ "⛷",
311
+ "⛸",
312
+ "⛹",
313
+ "✂",
314
+ "✈",
315
+ "✉",
316
+ "✌",
317
+ "✍",
318
+ "✏",
319
+ "✒",
320
+ "✔",
321
+ "✖",
322
+ "✝",
323
+ "✡",
324
+ "✳",
325
+ "✴",
326
+ "❄",
327
+ "❇",
328
+ "❣",
329
+ "❤",
330
+ "➡",
331
+ "⤴",
332
+ "⤵",
333
+ "⬅",
334
+ "⬆",
335
+ "⬇",
336
+ "🅰",
337
+ "🅱",
338
+ "🅾",
339
+ "🅿",
340
+ "🌡",
341
+ "🌤",
342
+ "🌥",
343
+ "🌦",
344
+ "🌧",
345
+ "🌨",
346
+ "🌩",
347
+ "🌪",
348
+ "🌫",
349
+ "🌬",
350
+ "🌶",
351
+ "🍽",
352
+ "🎖",
353
+ "🎗",
354
+ "🎙",
355
+ "🎚",
356
+ "🎛",
357
+ "🎞",
358
+ "🎟",
359
+ "🏋",
360
+ "🏌",
361
+ "🏍",
362
+ "🏎",
363
+ "🏔",
364
+ "🏕",
365
+ "🏖",
366
+ "🏗",
367
+ "🏘",
368
+ "🏙",
369
+ "🏚",
370
+ "🏛",
371
+ "🏜",
372
+ "🏝",
373
+ "🏞",
374
+ "🏟",
375
+ "🏳",
376
+ "🏵",
377
+ "🏷",
378
+ "🐿",
379
+ "👁",
380
+ "📽",
381
+ "🕉",
382
+ "🕊",
383
+ "🕯",
384
+ "🕰",
385
+ "🕳",
386
+ "🕴",
387
+ "🕵",
388
+ "🕶",
389
+ "🕷",
390
+ "🕸",
391
+ "🕹",
392
+ "🖇",
393
+ "🖊",
394
+ "🖋",
395
+ "🖌",
396
+ "🖍",
397
+ "🖐",
398
+ "🖥",
399
+ "🖨",
400
+ "🖱",
401
+ "🖲",
402
+ "🖼",
403
+ "🗂",
404
+ "🗃",
405
+ "🗄",
406
+ "🗑",
407
+ "🗒",
408
+ "🗓",
409
+ "🗜",
410
+ "🗝",
411
+ "🗞",
412
+ "🗡",
413
+ "🗣",
414
+ "🗨",
415
+ "🗯",
416
+ "🗳",
417
+ "🗺",
418
+ "🛋",
419
+ "🛍",
420
+ "🛎",
421
+ "🛏",
422
+ "🛠",
423
+ "🛡",
424
+ "🛢",
425
+ "🛣",
426
+ "🛤",
427
+ "🛥",
428
+ "🛩",
429
+ "🛰",
430
+ "🛳",
431
+ ]
432
+ ),
433
+ )
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode5-2-0.py ADDED
@@ -0,0 +1,461 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Auto generated by tools/make_width_tables.py
2
+ # Data from wcwidth project (https://github.com/jquast/wcwidth)
3
+
4
+ from rich.cells import CellTable
5
+
6
+ cell_table = CellTable(
7
+ "5.2.0",
8
+ [
9
+ (0, 0, 0),
10
+ (768, 879, 0),
11
+ (1155, 1161, 0),
12
+ (1425, 1469, 0),
13
+ (1471, 1471, 0),
14
+ (1473, 1474, 0),
15
+ (1476, 1477, 0),
16
+ (1479, 1479, 0),
17
+ (1536, 1539, 0),
18
+ (1552, 1562, 0),
19
+ (1611, 1630, 0),
20
+ (1648, 1648, 0),
21
+ (1750, 1764, 0),
22
+ (1767, 1768, 0),
23
+ (1770, 1773, 0),
24
+ (1807, 1807, 0),
25
+ (1809, 1809, 0),
26
+ (1840, 1866, 0),
27
+ (1958, 1968, 0),
28
+ (2027, 2035, 0),
29
+ (2070, 2073, 0),
30
+ (2075, 2083, 0),
31
+ (2085, 2087, 0),
32
+ (2089, 2093, 0),
33
+ (2304, 2307, 0),
34
+ (2364, 2364, 0),
35
+ (2366, 2382, 0),
36
+ (2385, 2389, 0),
37
+ (2402, 2403, 0),
38
+ (2433, 2435, 0),
39
+ (2492, 2492, 0),
40
+ (2494, 2500, 0),
41
+ (2503, 2504, 0),
42
+ (2507, 2509, 0),
43
+ (2519, 2519, 0),
44
+ (2530, 2531, 0),
45
+ (2561, 2563, 0),
46
+ (2620, 2620, 0),
47
+ (2622, 2626, 0),
48
+ (2631, 2632, 0),
49
+ (2635, 2637, 0),
50
+ (2641, 2641, 0),
51
+ (2672, 2673, 0),
52
+ (2677, 2677, 0),
53
+ (2689, 2691, 0),
54
+ (2748, 2748, 0),
55
+ (2750, 2757, 0),
56
+ (2759, 2761, 0),
57
+ (2763, 2765, 0),
58
+ (2786, 2787, 0),
59
+ (2817, 2819, 0),
60
+ (2876, 2876, 0),
61
+ (2878, 2884, 0),
62
+ (2887, 2888, 0),
63
+ (2891, 2893, 0),
64
+ (2902, 2903, 0),
65
+ (2914, 2915, 0),
66
+ (2946, 2946, 0),
67
+ (3006, 3010, 0),
68
+ (3014, 3016, 0),
69
+ (3018, 3021, 0),
70
+ (3031, 3031, 0),
71
+ (3073, 3075, 0),
72
+ (3134, 3140, 0),
73
+ (3142, 3144, 0),
74
+ (3146, 3149, 0),
75
+ (3157, 3158, 0),
76
+ (3170, 3171, 0),
77
+ (3202, 3203, 0),
78
+ (3260, 3260, 0),
79
+ (3262, 3268, 0),
80
+ (3270, 3272, 0),
81
+ (3274, 3277, 0),
82
+ (3285, 3286, 0),
83
+ (3298, 3299, 0),
84
+ (3330, 3331, 0),
85
+ (3390, 3396, 0),
86
+ (3398, 3400, 0),
87
+ (3402, 3405, 0),
88
+ (3415, 3415, 0),
89
+ (3426, 3427, 0),
90
+ (3458, 3459, 0),
91
+ (3530, 3530, 0),
92
+ (3535, 3540, 0),
93
+ (3542, 3542, 0),
94
+ (3544, 3551, 0),
95
+ (3570, 3571, 0),
96
+ (3633, 3633, 0),
97
+ (3636, 3642, 0),
98
+ (3655, 3662, 0),
99
+ (3761, 3761, 0),
100
+ (3764, 3769, 0),
101
+ (3771, 3772, 0),
102
+ (3784, 3789, 0),
103
+ (3864, 3865, 0),
104
+ (3893, 3893, 0),
105
+ (3895, 3895, 0),
106
+ (3897, 3897, 0),
107
+ (3902, 3903, 0),
108
+ (3953, 3972, 0),
109
+ (3974, 3975, 0),
110
+ (3984, 3991, 0),
111
+ (3993, 4028, 0),
112
+ (4038, 4038, 0),
113
+ (4139, 4158, 0),
114
+ (4182, 4185, 0),
115
+ (4190, 4192, 0),
116
+ (4194, 4196, 0),
117
+ (4199, 4205, 0),
118
+ (4209, 4212, 0),
119
+ (4226, 4237, 0),
120
+ (4239, 4239, 0),
121
+ (4250, 4253, 0),
122
+ (4352, 4447, 2),
123
+ (4448, 4607, 0),
124
+ (4959, 4959, 0),
125
+ (5906, 5908, 0),
126
+ (5938, 5940, 0),
127
+ (5970, 5971, 0),
128
+ (6002, 6003, 0),
129
+ (6068, 6099, 0),
130
+ (6109, 6109, 0),
131
+ (6155, 6157, 0),
132
+ (6313, 6313, 0),
133
+ (6432, 6443, 0),
134
+ (6448, 6459, 0),
135
+ (6576, 6592, 0),
136
+ (6600, 6601, 0),
137
+ (6679, 6683, 0),
138
+ (6741, 6750, 0),
139
+ (6752, 6780, 0),
140
+ (6783, 6783, 0),
141
+ (6912, 6916, 0),
142
+ (6964, 6980, 0),
143
+ (7019, 7027, 0),
144
+ (7040, 7042, 0),
145
+ (7073, 7082, 0),
146
+ (7204, 7223, 0),
147
+ (7376, 7378, 0),
148
+ (7380, 7400, 0),
149
+ (7405, 7405, 0),
150
+ (7410, 7410, 0),
151
+ (7616, 7654, 0),
152
+ (7677, 7679, 0),
153
+ (8203, 8207, 0),
154
+ (8232, 8238, 0),
155
+ (8288, 8303, 0),
156
+ (8400, 8432, 0),
157
+ (9001, 9002, 2),
158
+ (11503, 11505, 0),
159
+ (11744, 11775, 0),
160
+ (11904, 11929, 2),
161
+ (11931, 12019, 2),
162
+ (12032, 12245, 2),
163
+ (12272, 12283, 2),
164
+ (12288, 12329, 2),
165
+ (12330, 12335, 0),
166
+ (12336, 12350, 2),
167
+ (12353, 12438, 2),
168
+ (12441, 12442, 0),
169
+ (12443, 12543, 2),
170
+ (12549, 12589, 2),
171
+ (12593, 12643, 2),
172
+ (12644, 12644, 0),
173
+ (12645, 12686, 2),
174
+ (12688, 12727, 2),
175
+ (12736, 12771, 2),
176
+ (12784, 12830, 2),
177
+ (12832, 12871, 2),
178
+ (12880, 13054, 2),
179
+ (13056, 19903, 2),
180
+ (19968, 42124, 2),
181
+ (42128, 42182, 2),
182
+ (42607, 42610, 0),
183
+ (42620, 42621, 0),
184
+ (42736, 42737, 0),
185
+ (43010, 43010, 0),
186
+ (43014, 43014, 0),
187
+ (43019, 43019, 0),
188
+ (43043, 43047, 0),
189
+ (43136, 43137, 0),
190
+ (43188, 43204, 0),
191
+ (43232, 43249, 0),
192
+ (43302, 43309, 0),
193
+ (43335, 43347, 0),
194
+ (43360, 43388, 2),
195
+ (43392, 43395, 0),
196
+ (43443, 43456, 0),
197
+ (43561, 43574, 0),
198
+ (43587, 43587, 0),
199
+ (43596, 43597, 0),
200
+ (43643, 43643, 0),
201
+ (43696, 43696, 0),
202
+ (43698, 43700, 0),
203
+ (43703, 43704, 0),
204
+ (43710, 43711, 0),
205
+ (43713, 43713, 0),
206
+ (44003, 44010, 0),
207
+ (44012, 44013, 0),
208
+ (44032, 55203, 2),
209
+ (55216, 55295, 0),
210
+ (63744, 64255, 2),
211
+ (64286, 64286, 0),
212
+ (65024, 65039, 0),
213
+ (65040, 65049, 2),
214
+ (65056, 65062, 0),
215
+ (65072, 65106, 2),
216
+ (65108, 65126, 2),
217
+ (65128, 65131, 2),
218
+ (65279, 65279, 0),
219
+ (65281, 65376, 2),
220
+ (65440, 65440, 0),
221
+ (65504, 65510, 2),
222
+ (65520, 65531, 0),
223
+ (66045, 66045, 0),
224
+ (68097, 68099, 0),
225
+ (68101, 68102, 0),
226
+ (68108, 68111, 0),
227
+ (68152, 68154, 0),
228
+ (68159, 68159, 0),
229
+ (69760, 69762, 0),
230
+ (69808, 69818, 0),
231
+ (69821, 69821, 0),
232
+ (119141, 119145, 0),
233
+ (119149, 119170, 0),
234
+ (119173, 119179, 0),
235
+ (119210, 119213, 0),
236
+ (119362, 119364, 0),
237
+ (127488, 127488, 2),
238
+ (127504, 127537, 2),
239
+ (127552, 127560, 2),
240
+ (131072, 196605, 2),
241
+ (196608, 262141, 2),
242
+ (917504, 921599, 0),
243
+ ],
244
+ frozenset(
245
+ [
246
+ "#",
247
+ "*",
248
+ "0",
249
+ "1",
250
+ "2",
251
+ "3",
252
+ "4",
253
+ "5",
254
+ "6",
255
+ "7",
256
+ "8",
257
+ "9",
258
+ "©",
259
+ "®",
260
+ "‼",
261
+ "⁉",
262
+ "™",
263
+ "ℹ",
264
+ "↔",
265
+ "↕",
266
+ "↖",
267
+ "↗",
268
+ "↘",
269
+ "↙",
270
+ "↩",
271
+ "↪",
272
+ "⌨",
273
+ "⏏",
274
+ "⏭",
275
+ "⏮",
276
+ "⏯",
277
+ "⏱",
278
+ "⏲",
279
+ "⏸",
280
+ "⏹",
281
+ "⏺",
282
+ "Ⓜ",
283
+ "▪",
284
+ "▫",
285
+ "▶",
286
+ "◀",
287
+ "◻",
288
+ "◼",
289
+ "☀",
290
+ "☁",
291
+ "☂",
292
+ "☃",
293
+ "☄",
294
+ "☎",
295
+ "☑",
296
+ "☘",
297
+ "☝",
298
+ "☠",
299
+ "☢",
300
+ "☣",
301
+ "☦",
302
+ "☪",
303
+ "☮",
304
+ "☯",
305
+ "☸",
306
+ "☹",
307
+ "☺",
308
+ "♀",
309
+ "♂",
310
+ "♟",
311
+ "♠",
312
+ "♣",
313
+ "♥",
314
+ "♦",
315
+ "♨",
316
+ "♻",
317
+ "♾",
318
+ "⚒",
319
+ "⚔",
320
+ "⚕",
321
+ "⚖",
322
+ "⚗",
323
+ "⚙",
324
+ "⚛",
325
+ "⚜",
326
+ "⚠",
327
+ "⚧",
328
+ "⚰",
329
+ "⚱",
330
+ "⛈",
331
+ "⛏",
332
+ "⛑",
333
+ "⛓",
334
+ "⛩",
335
+ "⛰",
336
+ "⛱",
337
+ "⛴",
338
+ "⛷",
339
+ "⛸",
340
+ "⛹",
341
+ "✂",
342
+ "✈",
343
+ "✉",
344
+ "✌",
345
+ "✍",
346
+ "✏",
347
+ "✒",
348
+ "✔",
349
+ "✖",
350
+ "✝",
351
+ "✡",
352
+ "✳",
353
+ "✴",
354
+ "❄",
355
+ "❇",
356
+ "❣",
357
+ "❤",
358
+ "➡",
359
+ "⤴",
360
+ "⤵",
361
+ "⬅",
362
+ "⬆",
363
+ "⬇",
364
+ "🅰",
365
+ "🅱",
366
+ "🅾",
367
+ "🅿",
368
+ "🌡",
369
+ "🌤",
370
+ "🌥",
371
+ "🌦",
372
+ "🌧",
373
+ "🌨",
374
+ "🌩",
375
+ "🌪",
376
+ "🌫",
377
+ "🌬",
378
+ "🌶",
379
+ "🍽",
380
+ "🎖",
381
+ "🎗",
382
+ "🎙",
383
+ "🎚",
384
+ "🎛",
385
+ "🎞",
386
+ "🎟",
387
+ "🏋",
388
+ "🏌",
389
+ "🏍",
390
+ "🏎",
391
+ "🏔",
392
+ "🏕",
393
+ "🏖",
394
+ "🏗",
395
+ "🏘",
396
+ "🏙",
397
+ "🏚",
398
+ "🏛",
399
+ "🏜",
400
+ "🏝",
401
+ "🏞",
402
+ "🏟",
403
+ "🏳",
404
+ "🏵",
405
+ "🏷",
406
+ "🐿",
407
+ "👁",
408
+ "📽",
409
+ "🕉",
410
+ "🕊",
411
+ "🕯",
412
+ "🕰",
413
+ "🕳",
414
+ "🕴",
415
+ "🕵",
416
+ "🕶",
417
+ "🕷",
418
+ "🕸",
419
+ "🕹",
420
+ "🖇",
421
+ "🖊",
422
+ "🖋",
423
+ "🖌",
424
+ "🖍",
425
+ "🖐",
426
+ "🖥",
427
+ "🖨",
428
+ "🖱",
429
+ "🖲",
430
+ "🖼",
431
+ "🗂",
432
+ "🗃",
433
+ "🗄",
434
+ "🗑",
435
+ "🗒",
436
+ "🗓",
437
+ "🗜",
438
+ "🗝",
439
+ "🗞",
440
+ "🗡",
441
+ "🗣",
442
+ "🗨",
443
+ "🗯",
444
+ "🗳",
445
+ "🗺",
446
+ "🛋",
447
+ "🛍",
448
+ "🛎",
449
+ "🛏",
450
+ "🛠",
451
+ "🛡",
452
+ "🛢",
453
+ "🛣",
454
+ "🛤",
455
+ "🛥",
456
+ "🛩",
457
+ "🛰",
458
+ "🛳",
459
+ ]
460
+ ),
461
+ )
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode6-0-0.py ADDED
@@ -0,0 +1,469 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Auto generated by tools/make_width_tables.py
2
+ # Data from wcwidth project (https://github.com/jquast/wcwidth)
3
+
4
+ from rich.cells import CellTable
5
+
6
+ cell_table = CellTable(
7
+ "6.0.0",
8
+ [
9
+ (0, 0, 0),
10
+ (768, 879, 0),
11
+ (1155, 1161, 0),
12
+ (1425, 1469, 0),
13
+ (1471, 1471, 0),
14
+ (1473, 1474, 0),
15
+ (1476, 1477, 0),
16
+ (1479, 1479, 0),
17
+ (1536, 1539, 0),
18
+ (1552, 1562, 0),
19
+ (1611, 1631, 0),
20
+ (1648, 1648, 0),
21
+ (1750, 1757, 0),
22
+ (1759, 1764, 0),
23
+ (1767, 1768, 0),
24
+ (1770, 1773, 0),
25
+ (1807, 1807, 0),
26
+ (1809, 1809, 0),
27
+ (1840, 1866, 0),
28
+ (1958, 1968, 0),
29
+ (2027, 2035, 0),
30
+ (2070, 2073, 0),
31
+ (2075, 2083, 0),
32
+ (2085, 2087, 0),
33
+ (2089, 2093, 0),
34
+ (2137, 2139, 0),
35
+ (2304, 2307, 0),
36
+ (2362, 2364, 0),
37
+ (2366, 2383, 0),
38
+ (2385, 2391, 0),
39
+ (2402, 2403, 0),
40
+ (2433, 2435, 0),
41
+ (2492, 2492, 0),
42
+ (2494, 2500, 0),
43
+ (2503, 2504, 0),
44
+ (2507, 2509, 0),
45
+ (2519, 2519, 0),
46
+ (2530, 2531, 0),
47
+ (2561, 2563, 0),
48
+ (2620, 2620, 0),
49
+ (2622, 2626, 0),
50
+ (2631, 2632, 0),
51
+ (2635, 2637, 0),
52
+ (2641, 2641, 0),
53
+ (2672, 2673, 0),
54
+ (2677, 2677, 0),
55
+ (2689, 2691, 0),
56
+ (2748, 2748, 0),
57
+ (2750, 2757, 0),
58
+ (2759, 2761, 0),
59
+ (2763, 2765, 0),
60
+ (2786, 2787, 0),
61
+ (2817, 2819, 0),
62
+ (2876, 2876, 0),
63
+ (2878, 2884, 0),
64
+ (2887, 2888, 0),
65
+ (2891, 2893, 0),
66
+ (2902, 2903, 0),
67
+ (2914, 2915, 0),
68
+ (2946, 2946, 0),
69
+ (3006, 3010, 0),
70
+ (3014, 3016, 0),
71
+ (3018, 3021, 0),
72
+ (3031, 3031, 0),
73
+ (3073, 3075, 0),
74
+ (3134, 3140, 0),
75
+ (3142, 3144, 0),
76
+ (3146, 3149, 0),
77
+ (3157, 3158, 0),
78
+ (3170, 3171, 0),
79
+ (3202, 3203, 0),
80
+ (3260, 3260, 0),
81
+ (3262, 3268, 0),
82
+ (3270, 3272, 0),
83
+ (3274, 3277, 0),
84
+ (3285, 3286, 0),
85
+ (3298, 3299, 0),
86
+ (3330, 3331, 0),
87
+ (3390, 3396, 0),
88
+ (3398, 3400, 0),
89
+ (3402, 3405, 0),
90
+ (3415, 3415, 0),
91
+ (3426, 3427, 0),
92
+ (3458, 3459, 0),
93
+ (3530, 3530, 0),
94
+ (3535, 3540, 0),
95
+ (3542, 3542, 0),
96
+ (3544, 3551, 0),
97
+ (3570, 3571, 0),
98
+ (3633, 3633, 0),
99
+ (3636, 3642, 0),
100
+ (3655, 3662, 0),
101
+ (3761, 3761, 0),
102
+ (3764, 3769, 0),
103
+ (3771, 3772, 0),
104
+ (3784, 3789, 0),
105
+ (3864, 3865, 0),
106
+ (3893, 3893, 0),
107
+ (3895, 3895, 0),
108
+ (3897, 3897, 0),
109
+ (3902, 3903, 0),
110
+ (3953, 3972, 0),
111
+ (3974, 3975, 0),
112
+ (3981, 3991, 0),
113
+ (3993, 4028, 0),
114
+ (4038, 4038, 0),
115
+ (4139, 4158, 0),
116
+ (4182, 4185, 0),
117
+ (4190, 4192, 0),
118
+ (4194, 4196, 0),
119
+ (4199, 4205, 0),
120
+ (4209, 4212, 0),
121
+ (4226, 4237, 0),
122
+ (4239, 4239, 0),
123
+ (4250, 4253, 0),
124
+ (4352, 4447, 2),
125
+ (4448, 4607, 0),
126
+ (4957, 4959, 0),
127
+ (5906, 5908, 0),
128
+ (5938, 5940, 0),
129
+ (5970, 5971, 0),
130
+ (6002, 6003, 0),
131
+ (6068, 6099, 0),
132
+ (6109, 6109, 0),
133
+ (6155, 6157, 0),
134
+ (6313, 6313, 0),
135
+ (6432, 6443, 0),
136
+ (6448, 6459, 0),
137
+ (6576, 6592, 0),
138
+ (6600, 6601, 0),
139
+ (6679, 6683, 0),
140
+ (6741, 6750, 0),
141
+ (6752, 6780, 0),
142
+ (6783, 6783, 0),
143
+ (6912, 6916, 0),
144
+ (6964, 6980, 0),
145
+ (7019, 7027, 0),
146
+ (7040, 7042, 0),
147
+ (7073, 7082, 0),
148
+ (7142, 7155, 0),
149
+ (7204, 7223, 0),
150
+ (7376, 7378, 0),
151
+ (7380, 7400, 0),
152
+ (7405, 7405, 0),
153
+ (7410, 7410, 0),
154
+ (7616, 7654, 0),
155
+ (7676, 7679, 0),
156
+ (8203, 8207, 0),
157
+ (8232, 8238, 0),
158
+ (8288, 8303, 0),
159
+ (8400, 8432, 0),
160
+ (9001, 9002, 2),
161
+ (11503, 11505, 0),
162
+ (11647, 11647, 0),
163
+ (11744, 11775, 0),
164
+ (11904, 11929, 2),
165
+ (11931, 12019, 2),
166
+ (12032, 12245, 2),
167
+ (12272, 12283, 2),
168
+ (12288, 12329, 2),
169
+ (12330, 12335, 0),
170
+ (12336, 12350, 2),
171
+ (12353, 12438, 2),
172
+ (12441, 12442, 0),
173
+ (12443, 12543, 2),
174
+ (12549, 12589, 2),
175
+ (12593, 12643, 2),
176
+ (12644, 12644, 0),
177
+ (12645, 12686, 2),
178
+ (12688, 12730, 2),
179
+ (12736, 12771, 2),
180
+ (12784, 12830, 2),
181
+ (12832, 12871, 2),
182
+ (12880, 13054, 2),
183
+ (13056, 19903, 2),
184
+ (19968, 42124, 2),
185
+ (42128, 42182, 2),
186
+ (42607, 42610, 0),
187
+ (42620, 42621, 0),
188
+ (42736, 42737, 0),
189
+ (43010, 43010, 0),
190
+ (43014, 43014, 0),
191
+ (43019, 43019, 0),
192
+ (43043, 43047, 0),
193
+ (43136, 43137, 0),
194
+ (43188, 43204, 0),
195
+ (43232, 43249, 0),
196
+ (43302, 43309, 0),
197
+ (43335, 43347, 0),
198
+ (43360, 43388, 2),
199
+ (43392, 43395, 0),
200
+ (43443, 43456, 0),
201
+ (43561, 43574, 0),
202
+ (43587, 43587, 0),
203
+ (43596, 43597, 0),
204
+ (43643, 43643, 0),
205
+ (43696, 43696, 0),
206
+ (43698, 43700, 0),
207
+ (43703, 43704, 0),
208
+ (43710, 43711, 0),
209
+ (43713, 43713, 0),
210
+ (44003, 44010, 0),
211
+ (44012, 44013, 0),
212
+ (44032, 55203, 2),
213
+ (55216, 55295, 0),
214
+ (63744, 64255, 2),
215
+ (64286, 64286, 0),
216
+ (65024, 65039, 0),
217
+ (65040, 65049, 2),
218
+ (65056, 65062, 0),
219
+ (65072, 65106, 2),
220
+ (65108, 65126, 2),
221
+ (65128, 65131, 2),
222
+ (65279, 65279, 0),
223
+ (65281, 65376, 2),
224
+ (65440, 65440, 0),
225
+ (65504, 65510, 2),
226
+ (65520, 65531, 0),
227
+ (66045, 66045, 0),
228
+ (68097, 68099, 0),
229
+ (68101, 68102, 0),
230
+ (68108, 68111, 0),
231
+ (68152, 68154, 0),
232
+ (68159, 68159, 0),
233
+ (69632, 69634, 0),
234
+ (69688, 69702, 0),
235
+ (69760, 69762, 0),
236
+ (69808, 69818, 0),
237
+ (69821, 69821, 0),
238
+ (110592, 110593, 2),
239
+ (119141, 119145, 0),
240
+ (119149, 119170, 0),
241
+ (119173, 119179, 0),
242
+ (119210, 119213, 0),
243
+ (119362, 119364, 0),
244
+ (127488, 127490, 2),
245
+ (127504, 127546, 2),
246
+ (127552, 127560, 2),
247
+ (127568, 127569, 2),
248
+ (131072, 196605, 2),
249
+ (196608, 262141, 2),
250
+ (917504, 921599, 0),
251
+ ],
252
+ frozenset(
253
+ [
254
+ "#",
255
+ "*",
256
+ "0",
257
+ "1",
258
+ "2",
259
+ "3",
260
+ "4",
261
+ "5",
262
+ "6",
263
+ "7",
264
+ "8",
265
+ "9",
266
+ "©",
267
+ "®",
268
+ "‼",
269
+ "⁉",
270
+ "™",
271
+ "ℹ",
272
+ "↔",
273
+ "↕",
274
+ "↖",
275
+ "↗",
276
+ "↘",
277
+ "↙",
278
+ "↩",
279
+ "↪",
280
+ "⌨",
281
+ "⏏",
282
+ "⏭",
283
+ "⏮",
284
+ "⏯",
285
+ "⏱",
286
+ "⏲",
287
+ "⏸",
288
+ "⏹",
289
+ "⏺",
290
+ "Ⓜ",
291
+ "▪",
292
+ "▫",
293
+ "▶",
294
+ "◀",
295
+ "◻",
296
+ "◼",
297
+ "☀",
298
+ "☁",
299
+ "☂",
300
+ "☃",
301
+ "☄",
302
+ "☎",
303
+ "☑",
304
+ "☘",
305
+ "☝",
306
+ "☠",
307
+ "☢",
308
+ "☣",
309
+ "☦",
310
+ "☪",
311
+ "☮",
312
+ "☯",
313
+ "☸",
314
+ "☹",
315
+ "☺",
316
+ "♀",
317
+ "♂",
318
+ "♟",
319
+ "♠",
320
+ "♣",
321
+ "♥",
322
+ "♦",
323
+ "♨",
324
+ "♻",
325
+ "♾",
326
+ "⚒",
327
+ "⚔",
328
+ "⚕",
329
+ "⚖",
330
+ "⚗",
331
+ "⚙",
332
+ "⚛",
333
+ "⚜",
334
+ "⚠",
335
+ "⚧",
336
+ "⚰",
337
+ "⚱",
338
+ "⛈",
339
+ "⛏",
340
+ "⛑",
341
+ "⛓",
342
+ "⛩",
343
+ "⛰",
344
+ "⛱",
345
+ "⛴",
346
+ "⛷",
347
+ "⛸",
348
+ "⛹",
349
+ "✂",
350
+ "✈",
351
+ "✉",
352
+ "✌",
353
+ "✍",
354
+ "✏",
355
+ "✒",
356
+ "✔",
357
+ "✖",
358
+ "✝",
359
+ "✡",
360
+ "✳",
361
+ "✴",
362
+ "❄",
363
+ "❇",
364
+ "❣",
365
+ "❤",
366
+ "➡",
367
+ "⤴",
368
+ "⤵",
369
+ "⬅",
370
+ "⬆",
371
+ "⬇",
372
+ "🅰",
373
+ "🅱",
374
+ "🅾",
375
+ "🅿",
376
+ "🌡",
377
+ "🌤",
378
+ "🌥",
379
+ "🌦",
380
+ "🌧",
381
+ "🌨",
382
+ "🌩",
383
+ "🌪",
384
+ "🌫",
385
+ "🌬",
386
+ "🌶",
387
+ "🍽",
388
+ "🎖",
389
+ "🎗",
390
+ "🎙",
391
+ "🎚",
392
+ "🎛",
393
+ "🎞",
394
+ "🎟",
395
+ "🏋",
396
+ "🏌",
397
+ "🏍",
398
+ "🏎",
399
+ "🏔",
400
+ "🏕",
401
+ "🏖",
402
+ "🏗",
403
+ "🏘",
404
+ "🏙",
405
+ "🏚",
406
+ "🏛",
407
+ "🏜",
408
+ "🏝",
409
+ "🏞",
410
+ "🏟",
411
+ "🏳",
412
+ "🏵",
413
+ "🏷",
414
+ "🐿",
415
+ "👁",
416
+ "📽",
417
+ "🕉",
418
+ "🕊",
419
+ "🕯",
420
+ "🕰",
421
+ "🕳",
422
+ "🕴",
423
+ "🕵",
424
+ "🕶",
425
+ "🕷",
426
+ "🕸",
427
+ "🕹",
428
+ "🖇",
429
+ "🖊",
430
+ "🖋",
431
+ "🖌",
432
+ "🖍",
433
+ "🖐",
434
+ "🖥",
435
+ "🖨",
436
+ "🖱",
437
+ "🖲",
438
+ "🖼",
439
+ "🗂",
440
+ "🗃",
441
+ "🗄",
442
+ "🗑",
443
+ "🗒",
444
+ "🗓",
445
+ "🗜",
446
+ "🗝",
447
+ "🗞",
448
+ "🗡",
449
+ "🗣",
450
+ "🗨",
451
+ "🗯",
452
+ "🗳",
453
+ "🗺",
454
+ "🛋",
455
+ "🛍",
456
+ "🛎",
457
+ "🛏",
458
+ "🛠",
459
+ "🛡",
460
+ "🛢",
461
+ "🛣",
462
+ "🛤",
463
+ "🛥",
464
+ "🛩",
465
+ "🛰",
466
+ "🛳",
467
+ ]
468
+ ),
469
+ )
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode6-1-0.py ADDED
@@ -0,0 +1,480 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Auto generated by tools/make_width_tables.py
2
+ # Data from wcwidth project (https://github.com/jquast/wcwidth)
3
+
4
+ from rich.cells import CellTable
5
+
6
+ cell_table = CellTable(
7
+ "6.1.0",
8
+ [
9
+ (0, 0, 0),
10
+ (768, 879, 0),
11
+ (1155, 1161, 0),
12
+ (1425, 1469, 0),
13
+ (1471, 1471, 0),
14
+ (1473, 1474, 0),
15
+ (1476, 1477, 0),
16
+ (1479, 1479, 0),
17
+ (1536, 1540, 0),
18
+ (1552, 1562, 0),
19
+ (1611, 1631, 0),
20
+ (1648, 1648, 0),
21
+ (1750, 1757, 0),
22
+ (1759, 1764, 0),
23
+ (1767, 1768, 0),
24
+ (1770, 1773, 0),
25
+ (1807, 1807, 0),
26
+ (1809, 1809, 0),
27
+ (1840, 1866, 0),
28
+ (1958, 1968, 0),
29
+ (2027, 2035, 0),
30
+ (2070, 2073, 0),
31
+ (2075, 2083, 0),
32
+ (2085, 2087, 0),
33
+ (2089, 2093, 0),
34
+ (2137, 2139, 0),
35
+ (2276, 2302, 0),
36
+ (2304, 2307, 0),
37
+ (2362, 2364, 0),
38
+ (2366, 2383, 0),
39
+ (2385, 2391, 0),
40
+ (2402, 2403, 0),
41
+ (2433, 2435, 0),
42
+ (2492, 2492, 0),
43
+ (2494, 2500, 0),
44
+ (2503, 2504, 0),
45
+ (2507, 2509, 0),
46
+ (2519, 2519, 0),
47
+ (2530, 2531, 0),
48
+ (2561, 2563, 0),
49
+ (2620, 2620, 0),
50
+ (2622, 2626, 0),
51
+ (2631, 2632, 0),
52
+ (2635, 2637, 0),
53
+ (2641, 2641, 0),
54
+ (2672, 2673, 0),
55
+ (2677, 2677, 0),
56
+ (2689, 2691, 0),
57
+ (2748, 2748, 0),
58
+ (2750, 2757, 0),
59
+ (2759, 2761, 0),
60
+ (2763, 2765, 0),
61
+ (2786, 2787, 0),
62
+ (2817, 2819, 0),
63
+ (2876, 2876, 0),
64
+ (2878, 2884, 0),
65
+ (2887, 2888, 0),
66
+ (2891, 2893, 0),
67
+ (2902, 2903, 0),
68
+ (2914, 2915, 0),
69
+ (2946, 2946, 0),
70
+ (3006, 3010, 0),
71
+ (3014, 3016, 0),
72
+ (3018, 3021, 0),
73
+ (3031, 3031, 0),
74
+ (3073, 3075, 0),
75
+ (3134, 3140, 0),
76
+ (3142, 3144, 0),
77
+ (3146, 3149, 0),
78
+ (3157, 3158, 0),
79
+ (3170, 3171, 0),
80
+ (3202, 3203, 0),
81
+ (3260, 3260, 0),
82
+ (3262, 3268, 0),
83
+ (3270, 3272, 0),
84
+ (3274, 3277, 0),
85
+ (3285, 3286, 0),
86
+ (3298, 3299, 0),
87
+ (3330, 3331, 0),
88
+ (3390, 3396, 0),
89
+ (3398, 3400, 0),
90
+ (3402, 3405, 0),
91
+ (3415, 3415, 0),
92
+ (3426, 3427, 0),
93
+ (3458, 3459, 0),
94
+ (3530, 3530, 0),
95
+ (3535, 3540, 0),
96
+ (3542, 3542, 0),
97
+ (3544, 3551, 0),
98
+ (3570, 3571, 0),
99
+ (3633, 3633, 0),
100
+ (3636, 3642, 0),
101
+ (3655, 3662, 0),
102
+ (3761, 3761, 0),
103
+ (3764, 3769, 0),
104
+ (3771, 3772, 0),
105
+ (3784, 3789, 0),
106
+ (3864, 3865, 0),
107
+ (3893, 3893, 0),
108
+ (3895, 3895, 0),
109
+ (3897, 3897, 0),
110
+ (3902, 3903, 0),
111
+ (3953, 3972, 0),
112
+ (3974, 3975, 0),
113
+ (3981, 3991, 0),
114
+ (3993, 4028, 0),
115
+ (4038, 4038, 0),
116
+ (4139, 4158, 0),
117
+ (4182, 4185, 0),
118
+ (4190, 4192, 0),
119
+ (4194, 4196, 0),
120
+ (4199, 4205, 0),
121
+ (4209, 4212, 0),
122
+ (4226, 4237, 0),
123
+ (4239, 4239, 0),
124
+ (4250, 4253, 0),
125
+ (4352, 4447, 2),
126
+ (4448, 4607, 0),
127
+ (4957, 4959, 0),
128
+ (5906, 5908, 0),
129
+ (5938, 5940, 0),
130
+ (5970, 5971, 0),
131
+ (6002, 6003, 0),
132
+ (6068, 6099, 0),
133
+ (6109, 6109, 0),
134
+ (6155, 6157, 0),
135
+ (6313, 6313, 0),
136
+ (6432, 6443, 0),
137
+ (6448, 6459, 0),
138
+ (6576, 6592, 0),
139
+ (6600, 6601, 0),
140
+ (6679, 6683, 0),
141
+ (6741, 6750, 0),
142
+ (6752, 6780, 0),
143
+ (6783, 6783, 0),
144
+ (6912, 6916, 0),
145
+ (6964, 6980, 0),
146
+ (7019, 7027, 0),
147
+ (7040, 7042, 0),
148
+ (7073, 7085, 0),
149
+ (7142, 7155, 0),
150
+ (7204, 7223, 0),
151
+ (7376, 7378, 0),
152
+ (7380, 7400, 0),
153
+ (7405, 7405, 0),
154
+ (7410, 7412, 0),
155
+ (7616, 7654, 0),
156
+ (7676, 7679, 0),
157
+ (8203, 8207, 0),
158
+ (8232, 8238, 0),
159
+ (8288, 8303, 0),
160
+ (8400, 8432, 0),
161
+ (9001, 9002, 2),
162
+ (11503, 11505, 0),
163
+ (11647, 11647, 0),
164
+ (11744, 11775, 0),
165
+ (11904, 11929, 2),
166
+ (11931, 12019, 2),
167
+ (12032, 12245, 2),
168
+ (12272, 12283, 2),
169
+ (12288, 12329, 2),
170
+ (12330, 12335, 0),
171
+ (12336, 12350, 2),
172
+ (12353, 12438, 2),
173
+ (12441, 12442, 0),
174
+ (12443, 12543, 2),
175
+ (12549, 12589, 2),
176
+ (12593, 12643, 2),
177
+ (12644, 12644, 0),
178
+ (12645, 12686, 2),
179
+ (12688, 12730, 2),
180
+ (12736, 12771, 2),
181
+ (12784, 12830, 2),
182
+ (12832, 12871, 2),
183
+ (12880, 13054, 2),
184
+ (13056, 19903, 2),
185
+ (19968, 42124, 2),
186
+ (42128, 42182, 2),
187
+ (42607, 42610, 0),
188
+ (42612, 42621, 0),
189
+ (42655, 42655, 0),
190
+ (42736, 42737, 0),
191
+ (43010, 43010, 0),
192
+ (43014, 43014, 0),
193
+ (43019, 43019, 0),
194
+ (43043, 43047, 0),
195
+ (43136, 43137, 0),
196
+ (43188, 43204, 0),
197
+ (43232, 43249, 0),
198
+ (43302, 43309, 0),
199
+ (43335, 43347, 0),
200
+ (43360, 43388, 2),
201
+ (43392, 43395, 0),
202
+ (43443, 43456, 0),
203
+ (43561, 43574, 0),
204
+ (43587, 43587, 0),
205
+ (43596, 43597, 0),
206
+ (43643, 43643, 0),
207
+ (43696, 43696, 0),
208
+ (43698, 43700, 0),
209
+ (43703, 43704, 0),
210
+ (43710, 43711, 0),
211
+ (43713, 43713, 0),
212
+ (43755, 43759, 0),
213
+ (43765, 43766, 0),
214
+ (44003, 44010, 0),
215
+ (44012, 44013, 0),
216
+ (44032, 55203, 2),
217
+ (55216, 55295, 0),
218
+ (63744, 64255, 2),
219
+ (64286, 64286, 0),
220
+ (65024, 65039, 0),
221
+ (65040, 65049, 2),
222
+ (65056, 65062, 0),
223
+ (65072, 65106, 2),
224
+ (65108, 65126, 2),
225
+ (65128, 65131, 2),
226
+ (65279, 65279, 0),
227
+ (65281, 65376, 2),
228
+ (65440, 65440, 0),
229
+ (65504, 65510, 2),
230
+ (65520, 65531, 0),
231
+ (66045, 66045, 0),
232
+ (68097, 68099, 0),
233
+ (68101, 68102, 0),
234
+ (68108, 68111, 0),
235
+ (68152, 68154, 0),
236
+ (68159, 68159, 0),
237
+ (69632, 69634, 0),
238
+ (69688, 69702, 0),
239
+ (69760, 69762, 0),
240
+ (69808, 69818, 0),
241
+ (69821, 69821, 0),
242
+ (69888, 69890, 0),
243
+ (69927, 69940, 0),
244
+ (70016, 70018, 0),
245
+ (70067, 70080, 0),
246
+ (71339, 71351, 0),
247
+ (94033, 94078, 0),
248
+ (94095, 94098, 0),
249
+ (110592, 110593, 2),
250
+ (119141, 119145, 0),
251
+ (119149, 119170, 0),
252
+ (119173, 119179, 0),
253
+ (119210, 119213, 0),
254
+ (119362, 119364, 0),
255
+ (127488, 127490, 2),
256
+ (127504, 127546, 2),
257
+ (127552, 127560, 2),
258
+ (127568, 127569, 2),
259
+ (131072, 196605, 2),
260
+ (196608, 262141, 2),
261
+ (917504, 921599, 0),
262
+ ],
263
+ frozenset(
264
+ [
265
+ "#",
266
+ "*",
267
+ "0",
268
+ "1",
269
+ "2",
270
+ "3",
271
+ "4",
272
+ "5",
273
+ "6",
274
+ "7",
275
+ "8",
276
+ "9",
277
+ "©",
278
+ "®",
279
+ "‼",
280
+ "⁉",
281
+ "™",
282
+ "ℹ",
283
+ "↔",
284
+ "↕",
285
+ "↖",
286
+ "↗",
287
+ "↘",
288
+ "↙",
289
+ "↩",
290
+ "↪",
291
+ "⌨",
292
+ "⏏",
293
+ "⏭",
294
+ "⏮",
295
+ "⏯",
296
+ "⏱",
297
+ "⏲",
298
+ "⏸",
299
+ "⏹",
300
+ "⏺",
301
+ "Ⓜ",
302
+ "▪",
303
+ "▫",
304
+ "▶",
305
+ "◀",
306
+ "◻",
307
+ "◼",
308
+ "☀",
309
+ "☁",
310
+ "☂",
311
+ "☃",
312
+ "☄",
313
+ "☎",
314
+ "☑",
315
+ "☘",
316
+ "☝",
317
+ "☠",
318
+ "☢",
319
+ "☣",
320
+ "☦",
321
+ "☪",
322
+ "☮",
323
+ "☯",
324
+ "☸",
325
+ "☹",
326
+ "☺",
327
+ "♀",
328
+ "♂",
329
+ "♟",
330
+ "♠",
331
+ "♣",
332
+ "♥",
333
+ "♦",
334
+ "♨",
335
+ "♻",
336
+ "♾",
337
+ "⚒",
338
+ "⚔",
339
+ "⚕",
340
+ "⚖",
341
+ "⚗",
342
+ "⚙",
343
+ "⚛",
344
+ "⚜",
345
+ "⚠",
346
+ "⚧",
347
+ "⚰",
348
+ "⚱",
349
+ "⛈",
350
+ "⛏",
351
+ "⛑",
352
+ "⛓",
353
+ "⛩",
354
+ "⛰",
355
+ "⛱",
356
+ "⛴",
357
+ "⛷",
358
+ "⛸",
359
+ "⛹",
360
+ "✂",
361
+ "✈",
362
+ "✉",
363
+ "✌",
364
+ "✍",
365
+ "✏",
366
+ "✒",
367
+ "✔",
368
+ "✖",
369
+ "✝",
370
+ "✡",
371
+ "✳",
372
+ "✴",
373
+ "❄",
374
+ "❇",
375
+ "❣",
376
+ "❤",
377
+ "➡",
378
+ "⤴",
379
+ "⤵",
380
+ "⬅",
381
+ "⬆",
382
+ "⬇",
383
+ "🅰",
384
+ "🅱",
385
+ "🅾",
386
+ "🅿",
387
+ "🌡",
388
+ "🌤",
389
+ "🌥",
390
+ "🌦",
391
+ "🌧",
392
+ "🌨",
393
+ "🌩",
394
+ "🌪",
395
+ "🌫",
396
+ "🌬",
397
+ "🌶",
398
+ "🍽",
399
+ "🎖",
400
+ "🎗",
401
+ "🎙",
402
+ "🎚",
403
+ "🎛",
404
+ "🎞",
405
+ "🎟",
406
+ "🏋",
407
+ "🏌",
408
+ "🏍",
409
+ "🏎",
410
+ "🏔",
411
+ "🏕",
412
+ "🏖",
413
+ "🏗",
414
+ "🏘",
415
+ "🏙",
416
+ "🏚",
417
+ "🏛",
418
+ "🏜",
419
+ "🏝",
420
+ "🏞",
421
+ "🏟",
422
+ "🏳",
423
+ "🏵",
424
+ "🏷",
425
+ "🐿",
426
+ "👁",
427
+ "📽",
428
+ "🕉",
429
+ "🕊",
430
+ "🕯",
431
+ "🕰",
432
+ "🕳",
433
+ "🕴",
434
+ "🕵",
435
+ "🕶",
436
+ "🕷",
437
+ "🕸",
438
+ "🕹",
439
+ "🖇",
440
+ "🖊",
441
+ "🖋",
442
+ "🖌",
443
+ "🖍",
444
+ "🖐",
445
+ "🖥",
446
+ "🖨",
447
+ "🖱",
448
+ "🖲",
449
+ "🖼",
450
+ "🗂",
451
+ "🗃",
452
+ "🗄",
453
+ "🗑",
454
+ "🗒",
455
+ "🗓",
456
+ "🗜",
457
+ "🗝",
458
+ "🗞",
459
+ "🗡",
460
+ "🗣",
461
+ "🗨",
462
+ "🗯",
463
+ "🗳",
464
+ "🗺",
465
+ "🛋",
466
+ "🛍",
467
+ "🛎",
468
+ "🛏",
469
+ "🛠",
470
+ "🛡",
471
+ "🛢",
472
+ "🛣",
473
+ "🛤",
474
+ "🛥",
475
+ "🛩",
476
+ "🛰",
477
+ "🛳",
478
+ ]
479
+ ),
480
+ )
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode6-2-0.py ADDED
@@ -0,0 +1,480 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Auto generated by tools/make_width_tables.py
2
+ # Data from wcwidth project (https://github.com/jquast/wcwidth)
3
+
4
+ from rich.cells import CellTable
5
+
6
+ cell_table = CellTable(
7
+ "6.2.0",
8
+ [
9
+ (0, 0, 0),
10
+ (768, 879, 0),
11
+ (1155, 1161, 0),
12
+ (1425, 1469, 0),
13
+ (1471, 1471, 0),
14
+ (1473, 1474, 0),
15
+ (1476, 1477, 0),
16
+ (1479, 1479, 0),
17
+ (1536, 1540, 0),
18
+ (1552, 1562, 0),
19
+ (1611, 1631, 0),
20
+ (1648, 1648, 0),
21
+ (1750, 1757, 0),
22
+ (1759, 1764, 0),
23
+ (1767, 1768, 0),
24
+ (1770, 1773, 0),
25
+ (1807, 1807, 0),
26
+ (1809, 1809, 0),
27
+ (1840, 1866, 0),
28
+ (1958, 1968, 0),
29
+ (2027, 2035, 0),
30
+ (2070, 2073, 0),
31
+ (2075, 2083, 0),
32
+ (2085, 2087, 0),
33
+ (2089, 2093, 0),
34
+ (2137, 2139, 0),
35
+ (2276, 2302, 0),
36
+ (2304, 2307, 0),
37
+ (2362, 2364, 0),
38
+ (2366, 2383, 0),
39
+ (2385, 2391, 0),
40
+ (2402, 2403, 0),
41
+ (2433, 2435, 0),
42
+ (2492, 2492, 0),
43
+ (2494, 2500, 0),
44
+ (2503, 2504, 0),
45
+ (2507, 2509, 0),
46
+ (2519, 2519, 0),
47
+ (2530, 2531, 0),
48
+ (2561, 2563, 0),
49
+ (2620, 2620, 0),
50
+ (2622, 2626, 0),
51
+ (2631, 2632, 0),
52
+ (2635, 2637, 0),
53
+ (2641, 2641, 0),
54
+ (2672, 2673, 0),
55
+ (2677, 2677, 0),
56
+ (2689, 2691, 0),
57
+ (2748, 2748, 0),
58
+ (2750, 2757, 0),
59
+ (2759, 2761, 0),
60
+ (2763, 2765, 0),
61
+ (2786, 2787, 0),
62
+ (2817, 2819, 0),
63
+ (2876, 2876, 0),
64
+ (2878, 2884, 0),
65
+ (2887, 2888, 0),
66
+ (2891, 2893, 0),
67
+ (2902, 2903, 0),
68
+ (2914, 2915, 0),
69
+ (2946, 2946, 0),
70
+ (3006, 3010, 0),
71
+ (3014, 3016, 0),
72
+ (3018, 3021, 0),
73
+ (3031, 3031, 0),
74
+ (3073, 3075, 0),
75
+ (3134, 3140, 0),
76
+ (3142, 3144, 0),
77
+ (3146, 3149, 0),
78
+ (3157, 3158, 0),
79
+ (3170, 3171, 0),
80
+ (3202, 3203, 0),
81
+ (3260, 3260, 0),
82
+ (3262, 3268, 0),
83
+ (3270, 3272, 0),
84
+ (3274, 3277, 0),
85
+ (3285, 3286, 0),
86
+ (3298, 3299, 0),
87
+ (3330, 3331, 0),
88
+ (3390, 3396, 0),
89
+ (3398, 3400, 0),
90
+ (3402, 3405, 0),
91
+ (3415, 3415, 0),
92
+ (3426, 3427, 0),
93
+ (3458, 3459, 0),
94
+ (3530, 3530, 0),
95
+ (3535, 3540, 0),
96
+ (3542, 3542, 0),
97
+ (3544, 3551, 0),
98
+ (3570, 3571, 0),
99
+ (3633, 3633, 0),
100
+ (3636, 3642, 0),
101
+ (3655, 3662, 0),
102
+ (3761, 3761, 0),
103
+ (3764, 3769, 0),
104
+ (3771, 3772, 0),
105
+ (3784, 3789, 0),
106
+ (3864, 3865, 0),
107
+ (3893, 3893, 0),
108
+ (3895, 3895, 0),
109
+ (3897, 3897, 0),
110
+ (3902, 3903, 0),
111
+ (3953, 3972, 0),
112
+ (3974, 3975, 0),
113
+ (3981, 3991, 0),
114
+ (3993, 4028, 0),
115
+ (4038, 4038, 0),
116
+ (4139, 4158, 0),
117
+ (4182, 4185, 0),
118
+ (4190, 4192, 0),
119
+ (4194, 4196, 0),
120
+ (4199, 4205, 0),
121
+ (4209, 4212, 0),
122
+ (4226, 4237, 0),
123
+ (4239, 4239, 0),
124
+ (4250, 4253, 0),
125
+ (4352, 4447, 2),
126
+ (4448, 4607, 0),
127
+ (4957, 4959, 0),
128
+ (5906, 5908, 0),
129
+ (5938, 5940, 0),
130
+ (5970, 5971, 0),
131
+ (6002, 6003, 0),
132
+ (6068, 6099, 0),
133
+ (6109, 6109, 0),
134
+ (6155, 6157, 0),
135
+ (6313, 6313, 0),
136
+ (6432, 6443, 0),
137
+ (6448, 6459, 0),
138
+ (6576, 6592, 0),
139
+ (6600, 6601, 0),
140
+ (6679, 6683, 0),
141
+ (6741, 6750, 0),
142
+ (6752, 6780, 0),
143
+ (6783, 6783, 0),
144
+ (6912, 6916, 0),
145
+ (6964, 6980, 0),
146
+ (7019, 7027, 0),
147
+ (7040, 7042, 0),
148
+ (7073, 7085, 0),
149
+ (7142, 7155, 0),
150
+ (7204, 7223, 0),
151
+ (7376, 7378, 0),
152
+ (7380, 7400, 0),
153
+ (7405, 7405, 0),
154
+ (7410, 7412, 0),
155
+ (7616, 7654, 0),
156
+ (7676, 7679, 0),
157
+ (8203, 8207, 0),
158
+ (8232, 8238, 0),
159
+ (8288, 8303, 0),
160
+ (8400, 8432, 0),
161
+ (9001, 9002, 2),
162
+ (11503, 11505, 0),
163
+ (11647, 11647, 0),
164
+ (11744, 11775, 0),
165
+ (11904, 11929, 2),
166
+ (11931, 12019, 2),
167
+ (12032, 12245, 2),
168
+ (12272, 12283, 2),
169
+ (12288, 12329, 2),
170
+ (12330, 12335, 0),
171
+ (12336, 12350, 2),
172
+ (12353, 12438, 2),
173
+ (12441, 12442, 0),
174
+ (12443, 12543, 2),
175
+ (12549, 12589, 2),
176
+ (12593, 12643, 2),
177
+ (12644, 12644, 0),
178
+ (12645, 12686, 2),
179
+ (12688, 12730, 2),
180
+ (12736, 12771, 2),
181
+ (12784, 12830, 2),
182
+ (12832, 12871, 2),
183
+ (12880, 13054, 2),
184
+ (13056, 19903, 2),
185
+ (19968, 42124, 2),
186
+ (42128, 42182, 2),
187
+ (42607, 42610, 0),
188
+ (42612, 42621, 0),
189
+ (42655, 42655, 0),
190
+ (42736, 42737, 0),
191
+ (43010, 43010, 0),
192
+ (43014, 43014, 0),
193
+ (43019, 43019, 0),
194
+ (43043, 43047, 0),
195
+ (43136, 43137, 0),
196
+ (43188, 43204, 0),
197
+ (43232, 43249, 0),
198
+ (43302, 43309, 0),
199
+ (43335, 43347, 0),
200
+ (43360, 43388, 2),
201
+ (43392, 43395, 0),
202
+ (43443, 43456, 0),
203
+ (43561, 43574, 0),
204
+ (43587, 43587, 0),
205
+ (43596, 43597, 0),
206
+ (43643, 43643, 0),
207
+ (43696, 43696, 0),
208
+ (43698, 43700, 0),
209
+ (43703, 43704, 0),
210
+ (43710, 43711, 0),
211
+ (43713, 43713, 0),
212
+ (43755, 43759, 0),
213
+ (43765, 43766, 0),
214
+ (44003, 44010, 0),
215
+ (44012, 44013, 0),
216
+ (44032, 55203, 2),
217
+ (55216, 55295, 0),
218
+ (63744, 64255, 2),
219
+ (64286, 64286, 0),
220
+ (65024, 65039, 0),
221
+ (65040, 65049, 2),
222
+ (65056, 65062, 0),
223
+ (65072, 65106, 2),
224
+ (65108, 65126, 2),
225
+ (65128, 65131, 2),
226
+ (65279, 65279, 0),
227
+ (65281, 65376, 2),
228
+ (65440, 65440, 0),
229
+ (65504, 65510, 2),
230
+ (65520, 65531, 0),
231
+ (66045, 66045, 0),
232
+ (68097, 68099, 0),
233
+ (68101, 68102, 0),
234
+ (68108, 68111, 0),
235
+ (68152, 68154, 0),
236
+ (68159, 68159, 0),
237
+ (69632, 69634, 0),
238
+ (69688, 69702, 0),
239
+ (69760, 69762, 0),
240
+ (69808, 69818, 0),
241
+ (69821, 69821, 0),
242
+ (69888, 69890, 0),
243
+ (69927, 69940, 0),
244
+ (70016, 70018, 0),
245
+ (70067, 70080, 0),
246
+ (71339, 71351, 0),
247
+ (94033, 94078, 0),
248
+ (94095, 94098, 0),
249
+ (110592, 110593, 2),
250
+ (119141, 119145, 0),
251
+ (119149, 119170, 0),
252
+ (119173, 119179, 0),
253
+ (119210, 119213, 0),
254
+ (119362, 119364, 0),
255
+ (127488, 127490, 2),
256
+ (127504, 127546, 2),
257
+ (127552, 127560, 2),
258
+ (127568, 127569, 2),
259
+ (131072, 196605, 2),
260
+ (196608, 262141, 2),
261
+ (917504, 921599, 0),
262
+ ],
263
+ frozenset(
264
+ [
265
+ "#",
266
+ "*",
267
+ "0",
268
+ "1",
269
+ "2",
270
+ "3",
271
+ "4",
272
+ "5",
273
+ "6",
274
+ "7",
275
+ "8",
276
+ "9",
277
+ "©",
278
+ "®",
279
+ "‼",
280
+ "⁉",
281
+ "™",
282
+ "ℹ",
283
+ "↔",
284
+ "↕",
285
+ "↖",
286
+ "↗",
287
+ "↘",
288
+ "↙",
289
+ "↩",
290
+ "↪",
291
+ "⌨",
292
+ "⏏",
293
+ "⏭",
294
+ "⏮",
295
+ "⏯",
296
+ "⏱",
297
+ "⏲",
298
+ "⏸",
299
+ "⏹",
300
+ "⏺",
301
+ "Ⓜ",
302
+ "▪",
303
+ "▫",
304
+ "▶",
305
+ "◀",
306
+ "◻",
307
+ "◼",
308
+ "☀",
309
+ "☁",
310
+ "☂",
311
+ "☃",
312
+ "☄",
313
+ "☎",
314
+ "☑",
315
+ "☘",
316
+ "☝",
317
+ "☠",
318
+ "☢",
319
+ "☣",
320
+ "☦",
321
+ "☪",
322
+ "☮",
323
+ "☯",
324
+ "☸",
325
+ "☹",
326
+ "☺",
327
+ "♀",
328
+ "♂",
329
+ "♟",
330
+ "♠",
331
+ "♣",
332
+ "♥",
333
+ "♦",
334
+ "♨",
335
+ "♻",
336
+ "♾",
337
+ "⚒",
338
+ "⚔",
339
+ "⚕",
340
+ "⚖",
341
+ "⚗",
342
+ "⚙",
343
+ "⚛",
344
+ "⚜",
345
+ "⚠",
346
+ "⚧",
347
+ "⚰",
348
+ "⚱",
349
+ "⛈",
350
+ "⛏",
351
+ "⛑",
352
+ "⛓",
353
+ "⛩",
354
+ "⛰",
355
+ "⛱",
356
+ "⛴",
357
+ "⛷",
358
+ "⛸",
359
+ "⛹",
360
+ "✂",
361
+ "✈",
362
+ "✉",
363
+ "✌",
364
+ "✍",
365
+ "✏",
366
+ "✒",
367
+ "✔",
368
+ "✖",
369
+ "✝",
370
+ "✡",
371
+ "✳",
372
+ "✴",
373
+ "❄",
374
+ "❇",
375
+ "❣",
376
+ "❤",
377
+ "➡",
378
+ "⤴",
379
+ "⤵",
380
+ "⬅",
381
+ "⬆",
382
+ "⬇",
383
+ "🅰",
384
+ "🅱",
385
+ "🅾",
386
+ "🅿",
387
+ "🌡",
388
+ "🌤",
389
+ "🌥",
390
+ "🌦",
391
+ "🌧",
392
+ "🌨",
393
+ "🌩",
394
+ "🌪",
395
+ "🌫",
396
+ "🌬",
397
+ "🌶",
398
+ "🍽",
399
+ "🎖",
400
+ "🎗",
401
+ "🎙",
402
+ "🎚",
403
+ "🎛",
404
+ "🎞",
405
+ "🎟",
406
+ "🏋",
407
+ "🏌",
408
+ "🏍",
409
+ "🏎",
410
+ "🏔",
411
+ "🏕",
412
+ "🏖",
413
+ "🏗",
414
+ "🏘",
415
+ "🏙",
416
+ "🏚",
417
+ "🏛",
418
+ "🏜",
419
+ "🏝",
420
+ "🏞",
421
+ "🏟",
422
+ "🏳",
423
+ "🏵",
424
+ "🏷",
425
+ "🐿",
426
+ "👁",
427
+ "📽",
428
+ "🕉",
429
+ "🕊",
430
+ "🕯",
431
+ "🕰",
432
+ "🕳",
433
+ "🕴",
434
+ "🕵",
435
+ "🕶",
436
+ "🕷",
437
+ "🕸",
438
+ "🕹",
439
+ "🖇",
440
+ "🖊",
441
+ "🖋",
442
+ "🖌",
443
+ "🖍",
444
+ "🖐",
445
+ "🖥",
446
+ "🖨",
447
+ "🖱",
448
+ "🖲",
449
+ "🖼",
450
+ "🗂",
451
+ "🗃",
452
+ "🗄",
453
+ "🗑",
454
+ "🗒",
455
+ "🗓",
456
+ "🗜",
457
+ "🗝",
458
+ "🗞",
459
+ "🗡",
460
+ "🗣",
461
+ "🗨",
462
+ "🗯",
463
+ "🗳",
464
+ "🗺",
465
+ "🛋",
466
+ "🛍",
467
+ "🛎",
468
+ "🛏",
469
+ "🛠",
470
+ "🛡",
471
+ "🛢",
472
+ "🛣",
473
+ "🛤",
474
+ "🛥",
475
+ "🛩",
476
+ "🛰",
477
+ "🛳",
478
+ ]
479
+ ),
480
+ )
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode6-3-0.py ADDED
@@ -0,0 +1,481 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Auto generated by tools/make_width_tables.py
2
+ # Data from wcwidth project (https://github.com/jquast/wcwidth)
3
+
4
+ from rich.cells import CellTable
5
+
6
+ cell_table = CellTable(
7
+ "6.3.0",
8
+ [
9
+ (0, 0, 0),
10
+ (768, 879, 0),
11
+ (1155, 1161, 0),
12
+ (1425, 1469, 0),
13
+ (1471, 1471, 0),
14
+ (1473, 1474, 0),
15
+ (1476, 1477, 0),
16
+ (1479, 1479, 0),
17
+ (1536, 1540, 0),
18
+ (1552, 1562, 0),
19
+ (1564, 1564, 0),
20
+ (1611, 1631, 0),
21
+ (1648, 1648, 0),
22
+ (1750, 1757, 0),
23
+ (1759, 1764, 0),
24
+ (1767, 1768, 0),
25
+ (1770, 1773, 0),
26
+ (1807, 1807, 0),
27
+ (1809, 1809, 0),
28
+ (1840, 1866, 0),
29
+ (1958, 1968, 0),
30
+ (2027, 2035, 0),
31
+ (2070, 2073, 0),
32
+ (2075, 2083, 0),
33
+ (2085, 2087, 0),
34
+ (2089, 2093, 0),
35
+ (2137, 2139, 0),
36
+ (2276, 2302, 0),
37
+ (2304, 2307, 0),
38
+ (2362, 2364, 0),
39
+ (2366, 2383, 0),
40
+ (2385, 2391, 0),
41
+ (2402, 2403, 0),
42
+ (2433, 2435, 0),
43
+ (2492, 2492, 0),
44
+ (2494, 2500, 0),
45
+ (2503, 2504, 0),
46
+ (2507, 2509, 0),
47
+ (2519, 2519, 0),
48
+ (2530, 2531, 0),
49
+ (2561, 2563, 0),
50
+ (2620, 2620, 0),
51
+ (2622, 2626, 0),
52
+ (2631, 2632, 0),
53
+ (2635, 2637, 0),
54
+ (2641, 2641, 0),
55
+ (2672, 2673, 0),
56
+ (2677, 2677, 0),
57
+ (2689, 2691, 0),
58
+ (2748, 2748, 0),
59
+ (2750, 2757, 0),
60
+ (2759, 2761, 0),
61
+ (2763, 2765, 0),
62
+ (2786, 2787, 0),
63
+ (2817, 2819, 0),
64
+ (2876, 2876, 0),
65
+ (2878, 2884, 0),
66
+ (2887, 2888, 0),
67
+ (2891, 2893, 0),
68
+ (2902, 2903, 0),
69
+ (2914, 2915, 0),
70
+ (2946, 2946, 0),
71
+ (3006, 3010, 0),
72
+ (3014, 3016, 0),
73
+ (3018, 3021, 0),
74
+ (3031, 3031, 0),
75
+ (3073, 3075, 0),
76
+ (3134, 3140, 0),
77
+ (3142, 3144, 0),
78
+ (3146, 3149, 0),
79
+ (3157, 3158, 0),
80
+ (3170, 3171, 0),
81
+ (3202, 3203, 0),
82
+ (3260, 3260, 0),
83
+ (3262, 3268, 0),
84
+ (3270, 3272, 0),
85
+ (3274, 3277, 0),
86
+ (3285, 3286, 0),
87
+ (3298, 3299, 0),
88
+ (3330, 3331, 0),
89
+ (3390, 3396, 0),
90
+ (3398, 3400, 0),
91
+ (3402, 3405, 0),
92
+ (3415, 3415, 0),
93
+ (3426, 3427, 0),
94
+ (3458, 3459, 0),
95
+ (3530, 3530, 0),
96
+ (3535, 3540, 0),
97
+ (3542, 3542, 0),
98
+ (3544, 3551, 0),
99
+ (3570, 3571, 0),
100
+ (3633, 3633, 0),
101
+ (3636, 3642, 0),
102
+ (3655, 3662, 0),
103
+ (3761, 3761, 0),
104
+ (3764, 3769, 0),
105
+ (3771, 3772, 0),
106
+ (3784, 3789, 0),
107
+ (3864, 3865, 0),
108
+ (3893, 3893, 0),
109
+ (3895, 3895, 0),
110
+ (3897, 3897, 0),
111
+ (3902, 3903, 0),
112
+ (3953, 3972, 0),
113
+ (3974, 3975, 0),
114
+ (3981, 3991, 0),
115
+ (3993, 4028, 0),
116
+ (4038, 4038, 0),
117
+ (4139, 4158, 0),
118
+ (4182, 4185, 0),
119
+ (4190, 4192, 0),
120
+ (4194, 4196, 0),
121
+ (4199, 4205, 0),
122
+ (4209, 4212, 0),
123
+ (4226, 4237, 0),
124
+ (4239, 4239, 0),
125
+ (4250, 4253, 0),
126
+ (4352, 4447, 2),
127
+ (4448, 4607, 0),
128
+ (4957, 4959, 0),
129
+ (5906, 5908, 0),
130
+ (5938, 5940, 0),
131
+ (5970, 5971, 0),
132
+ (6002, 6003, 0),
133
+ (6068, 6099, 0),
134
+ (6109, 6109, 0),
135
+ (6155, 6158, 0),
136
+ (6313, 6313, 0),
137
+ (6432, 6443, 0),
138
+ (6448, 6459, 0),
139
+ (6576, 6592, 0),
140
+ (6600, 6601, 0),
141
+ (6679, 6683, 0),
142
+ (6741, 6750, 0),
143
+ (6752, 6780, 0),
144
+ (6783, 6783, 0),
145
+ (6912, 6916, 0),
146
+ (6964, 6980, 0),
147
+ (7019, 7027, 0),
148
+ (7040, 7042, 0),
149
+ (7073, 7085, 0),
150
+ (7142, 7155, 0),
151
+ (7204, 7223, 0),
152
+ (7376, 7378, 0),
153
+ (7380, 7400, 0),
154
+ (7405, 7405, 0),
155
+ (7410, 7412, 0),
156
+ (7616, 7654, 0),
157
+ (7676, 7679, 0),
158
+ (8203, 8207, 0),
159
+ (8232, 8238, 0),
160
+ (8288, 8303, 0),
161
+ (8400, 8432, 0),
162
+ (9001, 9002, 2),
163
+ (11503, 11505, 0),
164
+ (11647, 11647, 0),
165
+ (11744, 11775, 0),
166
+ (11904, 11929, 2),
167
+ (11931, 12019, 2),
168
+ (12032, 12245, 2),
169
+ (12272, 12283, 2),
170
+ (12288, 12329, 2),
171
+ (12330, 12335, 0),
172
+ (12336, 12350, 2),
173
+ (12353, 12438, 2),
174
+ (12441, 12442, 0),
175
+ (12443, 12543, 2),
176
+ (12549, 12589, 2),
177
+ (12593, 12643, 2),
178
+ (12644, 12644, 0),
179
+ (12645, 12686, 2),
180
+ (12688, 12730, 2),
181
+ (12736, 12771, 2),
182
+ (12784, 12830, 2),
183
+ (12832, 12871, 2),
184
+ (12880, 13054, 2),
185
+ (13056, 19903, 2),
186
+ (19968, 42124, 2),
187
+ (42128, 42182, 2),
188
+ (42607, 42610, 0),
189
+ (42612, 42621, 0),
190
+ (42655, 42655, 0),
191
+ (42736, 42737, 0),
192
+ (43010, 43010, 0),
193
+ (43014, 43014, 0),
194
+ (43019, 43019, 0),
195
+ (43043, 43047, 0),
196
+ (43136, 43137, 0),
197
+ (43188, 43204, 0),
198
+ (43232, 43249, 0),
199
+ (43302, 43309, 0),
200
+ (43335, 43347, 0),
201
+ (43360, 43388, 2),
202
+ (43392, 43395, 0),
203
+ (43443, 43456, 0),
204
+ (43561, 43574, 0),
205
+ (43587, 43587, 0),
206
+ (43596, 43597, 0),
207
+ (43643, 43643, 0),
208
+ (43696, 43696, 0),
209
+ (43698, 43700, 0),
210
+ (43703, 43704, 0),
211
+ (43710, 43711, 0),
212
+ (43713, 43713, 0),
213
+ (43755, 43759, 0),
214
+ (43765, 43766, 0),
215
+ (44003, 44010, 0),
216
+ (44012, 44013, 0),
217
+ (44032, 55203, 2),
218
+ (55216, 55295, 0),
219
+ (63744, 64255, 2),
220
+ (64286, 64286, 0),
221
+ (65024, 65039, 0),
222
+ (65040, 65049, 2),
223
+ (65056, 65062, 0),
224
+ (65072, 65106, 2),
225
+ (65108, 65126, 2),
226
+ (65128, 65131, 2),
227
+ (65279, 65279, 0),
228
+ (65281, 65376, 2),
229
+ (65440, 65440, 0),
230
+ (65504, 65510, 2),
231
+ (65520, 65531, 0),
232
+ (66045, 66045, 0),
233
+ (68097, 68099, 0),
234
+ (68101, 68102, 0),
235
+ (68108, 68111, 0),
236
+ (68152, 68154, 0),
237
+ (68159, 68159, 0),
238
+ (69632, 69634, 0),
239
+ (69688, 69702, 0),
240
+ (69760, 69762, 0),
241
+ (69808, 69818, 0),
242
+ (69821, 69821, 0),
243
+ (69888, 69890, 0),
244
+ (69927, 69940, 0),
245
+ (70016, 70018, 0),
246
+ (70067, 70080, 0),
247
+ (71339, 71351, 0),
248
+ (94033, 94078, 0),
249
+ (94095, 94098, 0),
250
+ (110592, 110593, 2),
251
+ (119141, 119145, 0),
252
+ (119149, 119170, 0),
253
+ (119173, 119179, 0),
254
+ (119210, 119213, 0),
255
+ (119362, 119364, 0),
256
+ (127488, 127490, 2),
257
+ (127504, 127546, 2),
258
+ (127552, 127560, 2),
259
+ (127568, 127569, 2),
260
+ (131072, 196605, 2),
261
+ (196608, 262141, 2),
262
+ (917504, 921599, 0),
263
+ ],
264
+ frozenset(
265
+ [
266
+ "#",
267
+ "*",
268
+ "0",
269
+ "1",
270
+ "2",
271
+ "3",
272
+ "4",
273
+ "5",
274
+ "6",
275
+ "7",
276
+ "8",
277
+ "9",
278
+ "©",
279
+ "®",
280
+ "‼",
281
+ "⁉",
282
+ "™",
283
+ "ℹ",
284
+ "↔",
285
+ "↕",
286
+ "↖",
287
+ "↗",
288
+ "↘",
289
+ "↙",
290
+ "↩",
291
+ "↪",
292
+ "⌨",
293
+ "⏏",
294
+ "⏭",
295
+ "⏮",
296
+ "⏯",
297
+ "⏱",
298
+ "⏲",
299
+ "⏸",
300
+ "⏹",
301
+ "⏺",
302
+ "Ⓜ",
303
+ "▪",
304
+ "▫",
305
+ "▶",
306
+ "◀",
307
+ "◻",
308
+ "◼",
309
+ "☀",
310
+ "☁",
311
+ "☂",
312
+ "☃",
313
+ "☄",
314
+ "☎",
315
+ "☑",
316
+ "☘",
317
+ "☝",
318
+ "☠",
319
+ "☢",
320
+ "☣",
321
+ "☦",
322
+ "☪",
323
+ "☮",
324
+ "☯",
325
+ "☸",
326
+ "☹",
327
+ "☺",
328
+ "♀",
329
+ "♂",
330
+ "♟",
331
+ "♠",
332
+ "♣",
333
+ "♥",
334
+ "♦",
335
+ "♨",
336
+ "♻",
337
+ "♾",
338
+ "⚒",
339
+ "⚔",
340
+ "⚕",
341
+ "⚖",
342
+ "⚗",
343
+ "⚙",
344
+ "⚛",
345
+ "⚜",
346
+ "⚠",
347
+ "⚧",
348
+ "⚰",
349
+ "⚱",
350
+ "⛈",
351
+ "⛏",
352
+ "⛑",
353
+ "⛓",
354
+ "⛩",
355
+ "⛰",
356
+ "⛱",
357
+ "⛴",
358
+ "⛷",
359
+ "⛸",
360
+ "⛹",
361
+ "✂",
362
+ "✈",
363
+ "✉",
364
+ "✌",
365
+ "✍",
366
+ "✏",
367
+ "✒",
368
+ "✔",
369
+ "✖",
370
+ "✝",
371
+ "✡",
372
+ "✳",
373
+ "✴",
374
+ "❄",
375
+ "❇",
376
+ "❣",
377
+ "❤",
378
+ "➡",
379
+ "⤴",
380
+ "⤵",
381
+ "⬅",
382
+ "⬆",
383
+ "⬇",
384
+ "🅰",
385
+ "🅱",
386
+ "🅾",
387
+ "🅿",
388
+ "🌡",
389
+ "🌤",
390
+ "🌥",
391
+ "🌦",
392
+ "🌧",
393
+ "🌨",
394
+ "🌩",
395
+ "🌪",
396
+ "🌫",
397
+ "🌬",
398
+ "🌶",
399
+ "🍽",
400
+ "🎖",
401
+ "🎗",
402
+ "🎙",
403
+ "🎚",
404
+ "🎛",
405
+ "🎞",
406
+ "🎟",
407
+ "🏋",
408
+ "🏌",
409
+ "🏍",
410
+ "🏎",
411
+ "🏔",
412
+ "🏕",
413
+ "🏖",
414
+ "🏗",
415
+ "🏘",
416
+ "🏙",
417
+ "🏚",
418
+ "🏛",
419
+ "🏜",
420
+ "🏝",
421
+ "🏞",
422
+ "🏟",
423
+ "����",
424
+ "🏵",
425
+ "🏷",
426
+ "🐿",
427
+ "👁",
428
+ "📽",
429
+ "🕉",
430
+ "🕊",
431
+ "🕯",
432
+ "🕰",
433
+ "🕳",
434
+ "🕴",
435
+ "🕵",
436
+ "🕶",
437
+ "🕷",
438
+ "🕸",
439
+ "🕹",
440
+ "🖇",
441
+ "🖊",
442
+ "🖋",
443
+ "🖌",
444
+ "🖍",
445
+ "🖐",
446
+ "🖥",
447
+ "🖨",
448
+ "🖱",
449
+ "🖲",
450
+ "🖼",
451
+ "🗂",
452
+ "🗃",
453
+ "🗄",
454
+ "🗑",
455
+ "🗒",
456
+ "🗓",
457
+ "🗜",
458
+ "🗝",
459
+ "🗞",
460
+ "🗡",
461
+ "🗣",
462
+ "🗨",
463
+ "🗯",
464
+ "🗳",
465
+ "🗺",
466
+ "🛋",
467
+ "🛍",
468
+ "🛎",
469
+ "🛏",
470
+ "🛠",
471
+ "🛡",
472
+ "🛢",
473
+ "🛣",
474
+ "🛤",
475
+ "🛥",
476
+ "🛩",
477
+ "🛰",
478
+ "🛳",
479
+ ]
480
+ ),
481
+ )
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode7-0-0.py ADDED
@@ -0,0 +1,507 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Auto generated by tools/make_width_tables.py
2
+ # Data from wcwidth project (https://github.com/jquast/wcwidth)
3
+
4
+ from rich.cells import CellTable
5
+
6
+ cell_table = CellTable(
7
+ "7.0.0",
8
+ [
9
+ (0, 0, 0),
10
+ (768, 879, 0),
11
+ (1155, 1161, 0),
12
+ (1425, 1469, 0),
13
+ (1471, 1471, 0),
14
+ (1473, 1474, 0),
15
+ (1476, 1477, 0),
16
+ (1479, 1479, 0),
17
+ (1536, 1541, 0),
18
+ (1552, 1562, 0),
19
+ (1564, 1564, 0),
20
+ (1611, 1631, 0),
21
+ (1648, 1648, 0),
22
+ (1750, 1757, 0),
23
+ (1759, 1764, 0),
24
+ (1767, 1768, 0),
25
+ (1770, 1773, 0),
26
+ (1807, 1807, 0),
27
+ (1809, 1809, 0),
28
+ (1840, 1866, 0),
29
+ (1958, 1968, 0),
30
+ (2027, 2035, 0),
31
+ (2070, 2073, 0),
32
+ (2075, 2083, 0),
33
+ (2085, 2087, 0),
34
+ (2089, 2093, 0),
35
+ (2137, 2139, 0),
36
+ (2276, 2307, 0),
37
+ (2362, 2364, 0),
38
+ (2366, 2383, 0),
39
+ (2385, 2391, 0),
40
+ (2402, 2403, 0),
41
+ (2433, 2435, 0),
42
+ (2492, 2492, 0),
43
+ (2494, 2500, 0),
44
+ (2503, 2504, 0),
45
+ (2507, 2509, 0),
46
+ (2519, 2519, 0),
47
+ (2530, 2531, 0),
48
+ (2561, 2563, 0),
49
+ (2620, 2620, 0),
50
+ (2622, 2626, 0),
51
+ (2631, 2632, 0),
52
+ (2635, 2637, 0),
53
+ (2641, 2641, 0),
54
+ (2672, 2673, 0),
55
+ (2677, 2677, 0),
56
+ (2689, 2691, 0),
57
+ (2748, 2748, 0),
58
+ (2750, 2757, 0),
59
+ (2759, 2761, 0),
60
+ (2763, 2765, 0),
61
+ (2786, 2787, 0),
62
+ (2817, 2819, 0),
63
+ (2876, 2876, 0),
64
+ (2878, 2884, 0),
65
+ (2887, 2888, 0),
66
+ (2891, 2893, 0),
67
+ (2902, 2903, 0),
68
+ (2914, 2915, 0),
69
+ (2946, 2946, 0),
70
+ (3006, 3010, 0),
71
+ (3014, 3016, 0),
72
+ (3018, 3021, 0),
73
+ (3031, 3031, 0),
74
+ (3072, 3075, 0),
75
+ (3134, 3140, 0),
76
+ (3142, 3144, 0),
77
+ (3146, 3149, 0),
78
+ (3157, 3158, 0),
79
+ (3170, 3171, 0),
80
+ (3201, 3203, 0),
81
+ (3260, 3260, 0),
82
+ (3262, 3268, 0),
83
+ (3270, 3272, 0),
84
+ (3274, 3277, 0),
85
+ (3285, 3286, 0),
86
+ (3298, 3299, 0),
87
+ (3329, 3331, 0),
88
+ (3390, 3396, 0),
89
+ (3398, 3400, 0),
90
+ (3402, 3405, 0),
91
+ (3415, 3415, 0),
92
+ (3426, 3427, 0),
93
+ (3458, 3459, 0),
94
+ (3530, 3530, 0),
95
+ (3535, 3540, 0),
96
+ (3542, 3542, 0),
97
+ (3544, 3551, 0),
98
+ (3570, 3571, 0),
99
+ (3633, 3633, 0),
100
+ (3636, 3642, 0),
101
+ (3655, 3662, 0),
102
+ (3761, 3761, 0),
103
+ (3764, 3769, 0),
104
+ (3771, 3772, 0),
105
+ (3784, 3789, 0),
106
+ (3864, 3865, 0),
107
+ (3893, 3893, 0),
108
+ (3895, 3895, 0),
109
+ (3897, 3897, 0),
110
+ (3902, 3903, 0),
111
+ (3953, 3972, 0),
112
+ (3974, 3975, 0),
113
+ (3981, 3991, 0),
114
+ (3993, 4028, 0),
115
+ (4038, 4038, 0),
116
+ (4139, 4158, 0),
117
+ (4182, 4185, 0),
118
+ (4190, 4192, 0),
119
+ (4194, 4196, 0),
120
+ (4199, 4205, 0),
121
+ (4209, 4212, 0),
122
+ (4226, 4237, 0),
123
+ (4239, 4239, 0),
124
+ (4250, 4253, 0),
125
+ (4352, 4447, 2),
126
+ (4448, 4607, 0),
127
+ (4957, 4959, 0),
128
+ (5906, 5908, 0),
129
+ (5938, 5940, 0),
130
+ (5970, 5971, 0),
131
+ (6002, 6003, 0),
132
+ (6068, 6099, 0),
133
+ (6109, 6109, 0),
134
+ (6155, 6158, 0),
135
+ (6313, 6313, 0),
136
+ (6432, 6443, 0),
137
+ (6448, 6459, 0),
138
+ (6576, 6592, 0),
139
+ (6600, 6601, 0),
140
+ (6679, 6683, 0),
141
+ (6741, 6750, 0),
142
+ (6752, 6780, 0),
143
+ (6783, 6783, 0),
144
+ (6832, 6846, 0),
145
+ (6912, 6916, 0),
146
+ (6964, 6980, 0),
147
+ (7019, 7027, 0),
148
+ (7040, 7042, 0),
149
+ (7073, 7085, 0),
150
+ (7142, 7155, 0),
151
+ (7204, 7223, 0),
152
+ (7376, 7378, 0),
153
+ (7380, 7400, 0),
154
+ (7405, 7405, 0),
155
+ (7410, 7412, 0),
156
+ (7416, 7417, 0),
157
+ (7616, 7669, 0),
158
+ (7676, 7679, 0),
159
+ (8203, 8207, 0),
160
+ (8232, 8238, 0),
161
+ (8288, 8303, 0),
162
+ (8400, 8432, 0),
163
+ (9001, 9002, 2),
164
+ (11503, 11505, 0),
165
+ (11647, 11647, 0),
166
+ (11744, 11775, 0),
167
+ (11904, 11929, 2),
168
+ (11931, 12019, 2),
169
+ (12032, 12245, 2),
170
+ (12272, 12283, 2),
171
+ (12288, 12329, 2),
172
+ (12330, 12335, 0),
173
+ (12336, 12350, 2),
174
+ (12353, 12438, 2),
175
+ (12441, 12442, 0),
176
+ (12443, 12543, 2),
177
+ (12549, 12589, 2),
178
+ (12593, 12643, 2),
179
+ (12644, 12644, 0),
180
+ (12645, 12686, 2),
181
+ (12688, 12730, 2),
182
+ (12736, 12771, 2),
183
+ (12784, 12830, 2),
184
+ (12832, 12871, 2),
185
+ (12880, 13054, 2),
186
+ (13056, 19903, 2),
187
+ (19968, 42124, 2),
188
+ (42128, 42182, 2),
189
+ (42607, 42610, 0),
190
+ (42612, 42621, 0),
191
+ (42655, 42655, 0),
192
+ (42736, 42737, 0),
193
+ (43010, 43010, 0),
194
+ (43014, 43014, 0),
195
+ (43019, 43019, 0),
196
+ (43043, 43047, 0),
197
+ (43136, 43137, 0),
198
+ (43188, 43204, 0),
199
+ (43232, 43249, 0),
200
+ (43302, 43309, 0),
201
+ (43335, 43347, 0),
202
+ (43360, 43388, 2),
203
+ (43392, 43395, 0),
204
+ (43443, 43456, 0),
205
+ (43493, 43493, 0),
206
+ (43561, 43574, 0),
207
+ (43587, 43587, 0),
208
+ (43596, 43597, 0),
209
+ (43643, 43645, 0),
210
+ (43696, 43696, 0),
211
+ (43698, 43700, 0),
212
+ (43703, 43704, 0),
213
+ (43710, 43711, 0),
214
+ (43713, 43713, 0),
215
+ (43755, 43759, 0),
216
+ (43765, 43766, 0),
217
+ (44003, 44010, 0),
218
+ (44012, 44013, 0),
219
+ (44032, 55203, 2),
220
+ (55216, 55295, 0),
221
+ (63744, 64255, 2),
222
+ (64286, 64286, 0),
223
+ (65024, 65039, 0),
224
+ (65040, 65049, 2),
225
+ (65056, 65069, 0),
226
+ (65072, 65106, 2),
227
+ (65108, 65126, 2),
228
+ (65128, 65131, 2),
229
+ (65279, 65279, 0),
230
+ (65281, 65376, 2),
231
+ (65440, 65440, 0),
232
+ (65504, 65510, 2),
233
+ (65520, 65531, 0),
234
+ (66045, 66045, 0),
235
+ (66272, 66272, 0),
236
+ (66422, 66426, 0),
237
+ (68097, 68099, 0),
238
+ (68101, 68102, 0),
239
+ (68108, 68111, 0),
240
+ (68152, 68154, 0),
241
+ (68159, 68159, 0),
242
+ (68325, 68326, 0),
243
+ (69632, 69634, 0),
244
+ (69688, 69702, 0),
245
+ (69759, 69762, 0),
246
+ (69808, 69818, 0),
247
+ (69821, 69821, 0),
248
+ (69888, 69890, 0),
249
+ (69927, 69940, 0),
250
+ (70003, 70003, 0),
251
+ (70016, 70018, 0),
252
+ (70067, 70080, 0),
253
+ (70188, 70199, 0),
254
+ (70367, 70378, 0),
255
+ (70401, 70403, 0),
256
+ (70460, 70460, 0),
257
+ (70462, 70468, 0),
258
+ (70471, 70472, 0),
259
+ (70475, 70477, 0),
260
+ (70487, 70487, 0),
261
+ (70498, 70499, 0),
262
+ (70502, 70508, 0),
263
+ (70512, 70516, 0),
264
+ (70832, 70851, 0),
265
+ (71087, 71093, 0),
266
+ (71096, 71104, 0),
267
+ (71216, 71232, 0),
268
+ (71339, 71351, 0),
269
+ (92912, 92916, 0),
270
+ (92976, 92982, 0),
271
+ (94033, 94078, 0),
272
+ (94095, 94098, 0),
273
+ (110592, 110593, 2),
274
+ (113821, 113822, 0),
275
+ (113824, 113827, 0),
276
+ (119141, 119145, 0),
277
+ (119149, 119170, 0),
278
+ (119173, 119179, 0),
279
+ (119210, 119213, 0),
280
+ (119362, 119364, 0),
281
+ (125136, 125142, 0),
282
+ (127488, 127490, 2),
283
+ (127504, 127546, 2),
284
+ (127552, 127560, 2),
285
+ (127568, 127569, 2),
286
+ (131072, 196605, 2),
287
+ (196608, 262141, 2),
288
+ (917504, 921599, 0),
289
+ ],
290
+ frozenset(
291
+ [
292
+ "#",
293
+ "*",
294
+ "0",
295
+ "1",
296
+ "2",
297
+ "3",
298
+ "4",
299
+ "5",
300
+ "6",
301
+ "7",
302
+ "8",
303
+ "9",
304
+ "©",
305
+ "®",
306
+ "‼",
307
+ "⁉",
308
+ "™",
309
+ "ℹ",
310
+ "↔",
311
+ "↕",
312
+ "↖",
313
+ "↗",
314
+ "↘",
315
+ "↙",
316
+ "↩",
317
+ "↪",
318
+ "⌨",
319
+ "⏏",
320
+ "⏭",
321
+ "⏮",
322
+ "⏯",
323
+ "⏱",
324
+ "⏲",
325
+ "⏸",
326
+ "⏹",
327
+ "⏺",
328
+ "Ⓜ",
329
+ "▪",
330
+ "▫",
331
+ "▶",
332
+ "◀",
333
+ "◻",
334
+ "◼",
335
+ "☀",
336
+ "☁",
337
+ "☂",
338
+ "☃",
339
+ "☄",
340
+ "☎",
341
+ "☑",
342
+ "☘",
343
+ "☝",
344
+ "☠",
345
+ "☢",
346
+ "☣",
347
+ "☦",
348
+ "☪",
349
+ "☮",
350
+ "☯",
351
+ "☸",
352
+ "☹",
353
+ "☺",
354
+ "♀",
355
+ "♂",
356
+ "♟",
357
+ "♠",
358
+ "♣",
359
+ "♥",
360
+ "♦",
361
+ "♨",
362
+ "♻",
363
+ "♾",
364
+ "⚒",
365
+ "⚔",
366
+ "⚕",
367
+ "⚖",
368
+ "⚗",
369
+ "⚙",
370
+ "⚛",
371
+ "⚜",
372
+ "⚠",
373
+ "⚧",
374
+ "⚰",
375
+ "⚱",
376
+ "⛈",
377
+ "⛏",
378
+ "⛑",
379
+ "⛓",
380
+ "⛩",
381
+ "⛰",
382
+ "⛱",
383
+ "⛴",
384
+ "⛷",
385
+ "⛸",
386
+ "⛹",
387
+ "✂",
388
+ "✈",
389
+ "✉",
390
+ "✌",
391
+ "✍",
392
+ "✏",
393
+ "✒",
394
+ "✔",
395
+ "✖",
396
+ "✝",
397
+ "✡",
398
+ "✳",
399
+ "✴",
400
+ "❄",
401
+ "❇",
402
+ "❣",
403
+ "❤",
404
+ "➡",
405
+ "⤴",
406
+ "⤵",
407
+ "⬅",
408
+ "⬆",
409
+ "⬇",
410
+ "🅰",
411
+ "🅱",
412
+ "🅾",
413
+ "🅿",
414
+ "🌡",
415
+ "🌤",
416
+ "🌥",
417
+ "🌦",
418
+ "🌧",
419
+ "🌨",
420
+ "🌩",
421
+ "🌪",
422
+ "🌫",
423
+ "🌬",
424
+ "🌶",
425
+ "🍽",
426
+ "🎖",
427
+ "🎗",
428
+ "🎙",
429
+ "🎚",
430
+ "🎛",
431
+ "🎞",
432
+ "🎟",
433
+ "🏋",
434
+ "🏌",
435
+ "🏍",
436
+ "🏎",
437
+ "🏔",
438
+ "🏕",
439
+ "🏖",
440
+ "🏗",
441
+ "🏘",
442
+ "🏙",
443
+ "🏚",
444
+ "🏛",
445
+ "🏜",
446
+ "🏝",
447
+ "🏞",
448
+ "🏟",
449
+ "🏳",
450
+ "🏵",
451
+ "🏷",
452
+ "🐿",
453
+ "👁",
454
+ "📽",
455
+ "🕉",
456
+ "🕊",
457
+ "🕯",
458
+ "🕰",
459
+ "🕳",
460
+ "🕴",
461
+ "🕵",
462
+ "🕶",
463
+ "🕷",
464
+ "🕸",
465
+ "🕹",
466
+ "🖇",
467
+ "🖊",
468
+ "🖋",
469
+ "🖌",
470
+ "🖍",
471
+ "🖐",
472
+ "🖥",
473
+ "🖨",
474
+ "🖱",
475
+ "🖲",
476
+ "🖼",
477
+ "🗂",
478
+ "🗃",
479
+ "🗄",
480
+ "🗑",
481
+ "🗒",
482
+ "🗓",
483
+ "🗜",
484
+ "🗝",
485
+ "🗞",
486
+ "🗡",
487
+ "🗣",
488
+ "🗨",
489
+ "🗯",
490
+ "🗳",
491
+ "🗺",
492
+ "🛋",
493
+ "🛍",
494
+ "🛎",
495
+ "🛏",
496
+ "🛠",
497
+ "🛡",
498
+ "🛢",
499
+ "🛣",
500
+ "🛤",
501
+ "🛥",
502
+ "🛩",
503
+ "🛰",
504
+ "🛳",
505
+ ]
506
+ ),
507
+ )
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode8-0-0.py ADDED
@@ -0,0 +1,515 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Auto generated by tools/make_width_tables.py
2
+ # Data from wcwidth project (https://github.com/jquast/wcwidth)
3
+
4
+ from rich.cells import CellTable
5
+
6
+ cell_table = CellTable(
7
+ "8.0.0",
8
+ [
9
+ (0, 0, 0),
10
+ (768, 879, 0),
11
+ (1155, 1161, 0),
12
+ (1425, 1469, 0),
13
+ (1471, 1471, 0),
14
+ (1473, 1474, 0),
15
+ (1476, 1477, 0),
16
+ (1479, 1479, 0),
17
+ (1536, 1541, 0),
18
+ (1552, 1562, 0),
19
+ (1564, 1564, 0),
20
+ (1611, 1631, 0),
21
+ (1648, 1648, 0),
22
+ (1750, 1757, 0),
23
+ (1759, 1764, 0),
24
+ (1767, 1768, 0),
25
+ (1770, 1773, 0),
26
+ (1807, 1807, 0),
27
+ (1809, 1809, 0),
28
+ (1840, 1866, 0),
29
+ (1958, 1968, 0),
30
+ (2027, 2035, 0),
31
+ (2070, 2073, 0),
32
+ (2075, 2083, 0),
33
+ (2085, 2087, 0),
34
+ (2089, 2093, 0),
35
+ (2137, 2139, 0),
36
+ (2275, 2307, 0),
37
+ (2362, 2364, 0),
38
+ (2366, 2383, 0),
39
+ (2385, 2391, 0),
40
+ (2402, 2403, 0),
41
+ (2433, 2435, 0),
42
+ (2492, 2492, 0),
43
+ (2494, 2500, 0),
44
+ (2503, 2504, 0),
45
+ (2507, 2509, 0),
46
+ (2519, 2519, 0),
47
+ (2530, 2531, 0),
48
+ (2561, 2563, 0),
49
+ (2620, 2620, 0),
50
+ (2622, 2626, 0),
51
+ (2631, 2632, 0),
52
+ (2635, 2637, 0),
53
+ (2641, 2641, 0),
54
+ (2672, 2673, 0),
55
+ (2677, 2677, 0),
56
+ (2689, 2691, 0),
57
+ (2748, 2748, 0),
58
+ (2750, 2757, 0),
59
+ (2759, 2761, 0),
60
+ (2763, 2765, 0),
61
+ (2786, 2787, 0),
62
+ (2817, 2819, 0),
63
+ (2876, 2876, 0),
64
+ (2878, 2884, 0),
65
+ (2887, 2888, 0),
66
+ (2891, 2893, 0),
67
+ (2902, 2903, 0),
68
+ (2914, 2915, 0),
69
+ (2946, 2946, 0),
70
+ (3006, 3010, 0),
71
+ (3014, 3016, 0),
72
+ (3018, 3021, 0),
73
+ (3031, 3031, 0),
74
+ (3072, 3075, 0),
75
+ (3134, 3140, 0),
76
+ (3142, 3144, 0),
77
+ (3146, 3149, 0),
78
+ (3157, 3158, 0),
79
+ (3170, 3171, 0),
80
+ (3201, 3203, 0),
81
+ (3260, 3260, 0),
82
+ (3262, 3268, 0),
83
+ (3270, 3272, 0),
84
+ (3274, 3277, 0),
85
+ (3285, 3286, 0),
86
+ (3298, 3299, 0),
87
+ (3329, 3331, 0),
88
+ (3390, 3396, 0),
89
+ (3398, 3400, 0),
90
+ (3402, 3405, 0),
91
+ (3415, 3415, 0),
92
+ (3426, 3427, 0),
93
+ (3458, 3459, 0),
94
+ (3530, 3530, 0),
95
+ (3535, 3540, 0),
96
+ (3542, 3542, 0),
97
+ (3544, 3551, 0),
98
+ (3570, 3571, 0),
99
+ (3633, 3633, 0),
100
+ (3636, 3642, 0),
101
+ (3655, 3662, 0),
102
+ (3761, 3761, 0),
103
+ (3764, 3769, 0),
104
+ (3771, 3772, 0),
105
+ (3784, 3789, 0),
106
+ (3864, 3865, 0),
107
+ (3893, 3893, 0),
108
+ (3895, 3895, 0),
109
+ (3897, 3897, 0),
110
+ (3902, 3903, 0),
111
+ (3953, 3972, 0),
112
+ (3974, 3975, 0),
113
+ (3981, 3991, 0),
114
+ (3993, 4028, 0),
115
+ (4038, 4038, 0),
116
+ (4139, 4158, 0),
117
+ (4182, 4185, 0),
118
+ (4190, 4192, 0),
119
+ (4194, 4196, 0),
120
+ (4199, 4205, 0),
121
+ (4209, 4212, 0),
122
+ (4226, 4237, 0),
123
+ (4239, 4239, 0),
124
+ (4250, 4253, 0),
125
+ (4352, 4447, 2),
126
+ (4448, 4607, 0),
127
+ (4957, 4959, 0),
128
+ (5906, 5908, 0),
129
+ (5938, 5940, 0),
130
+ (5970, 5971, 0),
131
+ (6002, 6003, 0),
132
+ (6068, 6099, 0),
133
+ (6109, 6109, 0),
134
+ (6155, 6158, 0),
135
+ (6313, 6313, 0),
136
+ (6432, 6443, 0),
137
+ (6448, 6459, 0),
138
+ (6679, 6683, 0),
139
+ (6741, 6750, 0),
140
+ (6752, 6780, 0),
141
+ (6783, 6783, 0),
142
+ (6832, 6846, 0),
143
+ (6912, 6916, 0),
144
+ (6964, 6980, 0),
145
+ (7019, 7027, 0),
146
+ (7040, 7042, 0),
147
+ (7073, 7085, 0),
148
+ (7142, 7155, 0),
149
+ (7204, 7223, 0),
150
+ (7376, 7378, 0),
151
+ (7380, 7400, 0),
152
+ (7405, 7405, 0),
153
+ (7410, 7412, 0),
154
+ (7416, 7417, 0),
155
+ (7616, 7669, 0),
156
+ (7676, 7679, 0),
157
+ (8203, 8207, 0),
158
+ (8232, 8238, 0),
159
+ (8288, 8303, 0),
160
+ (8400, 8432, 0),
161
+ (9001, 9002, 2),
162
+ (11503, 11505, 0),
163
+ (11647, 11647, 0),
164
+ (11744, 11775, 0),
165
+ (11904, 11929, 2),
166
+ (11931, 12019, 2),
167
+ (12032, 12245, 2),
168
+ (12272, 12283, 2),
169
+ (12288, 12329, 2),
170
+ (12330, 12335, 0),
171
+ (12336, 12350, 2),
172
+ (12353, 12438, 2),
173
+ (12441, 12442, 0),
174
+ (12443, 12543, 2),
175
+ (12549, 12589, 2),
176
+ (12593, 12643, 2),
177
+ (12644, 12644, 0),
178
+ (12645, 12686, 2),
179
+ (12688, 12730, 2),
180
+ (12736, 12771, 2),
181
+ (12784, 12830, 2),
182
+ (12832, 12871, 2),
183
+ (12880, 13054, 2),
184
+ (13056, 19903, 2),
185
+ (19968, 42124, 2),
186
+ (42128, 42182, 2),
187
+ (42607, 42610, 0),
188
+ (42612, 42621, 0),
189
+ (42654, 42655, 0),
190
+ (42736, 42737, 0),
191
+ (43010, 43010, 0),
192
+ (43014, 43014, 0),
193
+ (43019, 43019, 0),
194
+ (43043, 43047, 0),
195
+ (43136, 43137, 0),
196
+ (43188, 43204, 0),
197
+ (43232, 43249, 0),
198
+ (43302, 43309, 0),
199
+ (43335, 43347, 0),
200
+ (43360, 43388, 2),
201
+ (43392, 43395, 0),
202
+ (43443, 43456, 0),
203
+ (43493, 43493, 0),
204
+ (43561, 43574, 0),
205
+ (43587, 43587, 0),
206
+ (43596, 43597, 0),
207
+ (43643, 43645, 0),
208
+ (43696, 43696, 0),
209
+ (43698, 43700, 0),
210
+ (43703, 43704, 0),
211
+ (43710, 43711, 0),
212
+ (43713, 43713, 0),
213
+ (43755, 43759, 0),
214
+ (43765, 43766, 0),
215
+ (44003, 44010, 0),
216
+ (44012, 44013, 0),
217
+ (44032, 55203, 2),
218
+ (55216, 55295, 0),
219
+ (63744, 64255, 2),
220
+ (64286, 64286, 0),
221
+ (65024, 65039, 0),
222
+ (65040, 65049, 2),
223
+ (65056, 65071, 0),
224
+ (65072, 65106, 2),
225
+ (65108, 65126, 2),
226
+ (65128, 65131, 2),
227
+ (65279, 65279, 0),
228
+ (65281, 65376, 2),
229
+ (65440, 65440, 0),
230
+ (65504, 65510, 2),
231
+ (65520, 65531, 0),
232
+ (66045, 66045, 0),
233
+ (66272, 66272, 0),
234
+ (66422, 66426, 0),
235
+ (68097, 68099, 0),
236
+ (68101, 68102, 0),
237
+ (68108, 68111, 0),
238
+ (68152, 68154, 0),
239
+ (68159, 68159, 0),
240
+ (68325, 68326, 0),
241
+ (69632, 69634, 0),
242
+ (69688, 69702, 0),
243
+ (69759, 69762, 0),
244
+ (69808, 69818, 0),
245
+ (69821, 69821, 0),
246
+ (69888, 69890, 0),
247
+ (69927, 69940, 0),
248
+ (70003, 70003, 0),
249
+ (70016, 70018, 0),
250
+ (70067, 70080, 0),
251
+ (70090, 70092, 0),
252
+ (70188, 70199, 0),
253
+ (70367, 70378, 0),
254
+ (70400, 70403, 0),
255
+ (70460, 70460, 0),
256
+ (70462, 70468, 0),
257
+ (70471, 70472, 0),
258
+ (70475, 70477, 0),
259
+ (70487, 70487, 0),
260
+ (70498, 70499, 0),
261
+ (70502, 70508, 0),
262
+ (70512, 70516, 0),
263
+ (70832, 70851, 0),
264
+ (71087, 71093, 0),
265
+ (71096, 71104, 0),
266
+ (71132, 71133, 0),
267
+ (71216, 71232, 0),
268
+ (71339, 71351, 0),
269
+ (71453, 71467, 0),
270
+ (92912, 92916, 0),
271
+ (92976, 92982, 0),
272
+ (94033, 94078, 0),
273
+ (94095, 94098, 0),
274
+ (110592, 110593, 2),
275
+ (113821, 113822, 0),
276
+ (113824, 113827, 0),
277
+ (119141, 119145, 0),
278
+ (119149, 119170, 0),
279
+ (119173, 119179, 0),
280
+ (119210, 119213, 0),
281
+ (119362, 119364, 0),
282
+ (121344, 121398, 0),
283
+ (121403, 121452, 0),
284
+ (121461, 121461, 0),
285
+ (121476, 121476, 0),
286
+ (121499, 121503, 0),
287
+ (121505, 121519, 0),
288
+ (125136, 125142, 0),
289
+ (127488, 127490, 2),
290
+ (127504, 127546, 2),
291
+ (127552, 127560, 2),
292
+ (127568, 127569, 2),
293
+ (127995, 127999, 0),
294
+ (131072, 196605, 2),
295
+ (196608, 262141, 2),
296
+ (917504, 921599, 0),
297
+ ],
298
+ frozenset(
299
+ [
300
+ "#",
301
+ "*",
302
+ "0",
303
+ "1",
304
+ "2",
305
+ "3",
306
+ "4",
307
+ "5",
308
+ "6",
309
+ "7",
310
+ "8",
311
+ "9",
312
+ "©",
313
+ "®",
314
+ "‼",
315
+ "⁉",
316
+ "™",
317
+ "ℹ",
318
+ "↔",
319
+ "↕",
320
+ "↖",
321
+ "↗",
322
+ "↘",
323
+ "↙",
324
+ "↩",
325
+ "↪",
326
+ "⌨",
327
+ "⏏",
328
+ "⏭",
329
+ "⏮",
330
+ "⏯",
331
+ "⏱",
332
+ "⏲",
333
+ "⏸",
334
+ "⏹",
335
+ "⏺",
336
+ "Ⓜ",
337
+ "▪",
338
+ "▫",
339
+ "▶",
340
+ "◀",
341
+ "◻",
342
+ "◼",
343
+ "☀",
344
+ "☁",
345
+ "☂",
346
+ "☃",
347
+ "☄",
348
+ "☎",
349
+ "☑",
350
+ "☘",
351
+ "☝",
352
+ "☠",
353
+ "☢",
354
+ "☣",
355
+ "☦",
356
+ "☪",
357
+ "☮",
358
+ "☯",
359
+ "☸",
360
+ "☹",
361
+ "☺",
362
+ "♀",
363
+ "♂",
364
+ "♟",
365
+ "♠",
366
+ "♣",
367
+ "♥",
368
+ "♦",
369
+ "♨",
370
+ "♻",
371
+ "♾",
372
+ "⚒",
373
+ "⚔",
374
+ "⚕",
375
+ "⚖",
376
+ "⚗",
377
+ "⚙",
378
+ "⚛",
379
+ "⚜",
380
+ "⚠",
381
+ "⚧",
382
+ "⚰",
383
+ "⚱",
384
+ "⛈",
385
+ "⛏",
386
+ "⛑",
387
+ "⛓",
388
+ "⛩",
389
+ "⛰",
390
+ "⛱",
391
+ "⛴",
392
+ "⛷",
393
+ "⛸",
394
+ "⛹",
395
+ "✂",
396
+ "✈",
397
+ "✉",
398
+ "✌",
399
+ "✍",
400
+ "✏",
401
+ "✒",
402
+ "✔",
403
+ "✖",
404
+ "✝",
405
+ "✡",
406
+ "✳",
407
+ "✴",
408
+ "❄",
409
+ "❇",
410
+ "❣",
411
+ "❤",
412
+ "➡",
413
+ "⤴",
414
+ "⤵",
415
+ "⬅",
416
+ "⬆",
417
+ "⬇",
418
+ "🅰",
419
+ "🅱",
420
+ "🅾",
421
+ "🅿",
422
+ "🌡",
423
+ "🌤",
424
+ "🌥",
425
+ "🌦",
426
+ "🌧",
427
+ "🌨",
428
+ "🌩",
429
+ "🌪",
430
+ "🌫",
431
+ "🌬",
432
+ "🌶",
433
+ "🍽",
434
+ "🎖",
435
+ "🎗",
436
+ "🎙",
437
+ "🎚",
438
+ "🎛",
439
+ "🎞",
440
+ "🎟",
441
+ "🏋",
442
+ "🏌",
443
+ "🏍",
444
+ "🏎",
445
+ "🏔",
446
+ "🏕",
447
+ "🏖",
448
+ "🏗",
449
+ "🏘",
450
+ "🏙",
451
+ "🏚",
452
+ "🏛",
453
+ "🏜",
454
+ "🏝",
455
+ "🏞",
456
+ "🏟",
457
+ "🏳",
458
+ "🏵",
459
+ "🏷",
460
+ "🐿",
461
+ "👁",
462
+ "📽",
463
+ "🕉",
464
+ "🕊",
465
+ "🕯",
466
+ "🕰",
467
+ "🕳",
468
+ "🕴",
469
+ "🕵",
470
+ "🕶",
471
+ "🕷",
472
+ "🕸",
473
+ "🕹",
474
+ "🖇",
475
+ "🖊",
476
+ "🖋",
477
+ "🖌",
478
+ "🖍",
479
+ "🖐",
480
+ "🖥",
481
+ "🖨",
482
+ "🖱",
483
+ "🖲",
484
+ "🖼",
485
+ "🗂",
486
+ "🗃",
487
+ "🗄",
488
+ "🗑",
489
+ "🗒",
490
+ "🗓",
491
+ "🗜",
492
+ "🗝",
493
+ "🗞",
494
+ "🗡",
495
+ "🗣",
496
+ "🗨",
497
+ "🗯",
498
+ "🗳",
499
+ "🗺",
500
+ "🛋",
501
+ "🛍",
502
+ "🛎",
503
+ "🛏",
504
+ "🛠",
505
+ "🛡",
506
+ "🛢",
507
+ "🛣",
508
+ "🛤",
509
+ "🛥",
510
+ "🛩",
511
+ "🛰",
512
+ "🛳",
513
+ ]
514
+ ),
515
+ )
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_unicode_data/unicode9-0-0.py ADDED
@@ -0,0 +1,598 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Auto generated by tools/make_width_tables.py
2
+ # Data from wcwidth project (https://github.com/jquast/wcwidth)
3
+
4
+ from rich.cells import CellTable
5
+
6
+ cell_table = CellTable(
7
+ "9.0.0",
8
+ [
9
+ (0, 0, 0),
10
+ (768, 879, 0),
11
+ (1155, 1161, 0),
12
+ (1425, 1469, 0),
13
+ (1471, 1471, 0),
14
+ (1473, 1474, 0),
15
+ (1476, 1477, 0),
16
+ (1479, 1479, 0),
17
+ (1552, 1562, 0),
18
+ (1564, 1564, 0),
19
+ (1611, 1631, 0),
20
+ (1648, 1648, 0),
21
+ (1750, 1756, 0),
22
+ (1759, 1764, 0),
23
+ (1767, 1768, 0),
24
+ (1770, 1773, 0),
25
+ (1809, 1809, 0),
26
+ (1840, 1866, 0),
27
+ (1958, 1968, 0),
28
+ (2027, 2035, 0),
29
+ (2070, 2073, 0),
30
+ (2075, 2083, 0),
31
+ (2085, 2087, 0),
32
+ (2089, 2093, 0),
33
+ (2137, 2139, 0),
34
+ (2260, 2273, 0),
35
+ (2275, 2307, 0),
36
+ (2362, 2364, 0),
37
+ (2366, 2383, 0),
38
+ (2385, 2391, 0),
39
+ (2402, 2403, 0),
40
+ (2433, 2435, 0),
41
+ (2492, 2492, 0),
42
+ (2494, 2500, 0),
43
+ (2503, 2504, 0),
44
+ (2507, 2509, 0),
45
+ (2519, 2519, 0),
46
+ (2530, 2531, 0),
47
+ (2561, 2563, 0),
48
+ (2620, 2620, 0),
49
+ (2622, 2626, 0),
50
+ (2631, 2632, 0),
51
+ (2635, 2637, 0),
52
+ (2641, 2641, 0),
53
+ (2672, 2673, 0),
54
+ (2677, 2677, 0),
55
+ (2689, 2691, 0),
56
+ (2748, 2748, 0),
57
+ (2750, 2757, 0),
58
+ (2759, 2761, 0),
59
+ (2763, 2765, 0),
60
+ (2786, 2787, 0),
61
+ (2817, 2819, 0),
62
+ (2876, 2876, 0),
63
+ (2878, 2884, 0),
64
+ (2887, 2888, 0),
65
+ (2891, 2893, 0),
66
+ (2902, 2903, 0),
67
+ (2914, 2915, 0),
68
+ (2946, 2946, 0),
69
+ (3006, 3010, 0),
70
+ (3014, 3016, 0),
71
+ (3018, 3021, 0),
72
+ (3031, 3031, 0),
73
+ (3072, 3075, 0),
74
+ (3134, 3140, 0),
75
+ (3142, 3144, 0),
76
+ (3146, 3149, 0),
77
+ (3157, 3158, 0),
78
+ (3170, 3171, 0),
79
+ (3201, 3203, 0),
80
+ (3260, 3260, 0),
81
+ (3262, 3268, 0),
82
+ (3270, 3272, 0),
83
+ (3274, 3277, 0),
84
+ (3285, 3286, 0),
85
+ (3298, 3299, 0),
86
+ (3329, 3331, 0),
87
+ (3390, 3396, 0),
88
+ (3398, 3400, 0),
89
+ (3402, 3405, 0),
90
+ (3415, 3415, 0),
91
+ (3426, 3427, 0),
92
+ (3458, 3459, 0),
93
+ (3530, 3530, 0),
94
+ (3535, 3540, 0),
95
+ (3542, 3542, 0),
96
+ (3544, 3551, 0),
97
+ (3570, 3571, 0),
98
+ (3633, 3633, 0),
99
+ (3636, 3642, 0),
100
+ (3655, 3662, 0),
101
+ (3761, 3761, 0),
102
+ (3764, 3769, 0),
103
+ (3771, 3772, 0),
104
+ (3784, 3789, 0),
105
+ (3864, 3865, 0),
106
+ (3893, 3893, 0),
107
+ (3895, 3895, 0),
108
+ (3897, 3897, 0),
109
+ (3902, 3903, 0),
110
+ (3953, 3972, 0),
111
+ (3974, 3975, 0),
112
+ (3981, 3991, 0),
113
+ (3993, 4028, 0),
114
+ (4038, 4038, 0),
115
+ (4139, 4158, 0),
116
+ (4182, 4185, 0),
117
+ (4190, 4192, 0),
118
+ (4194, 4196, 0),
119
+ (4199, 4205, 0),
120
+ (4209, 4212, 0),
121
+ (4226, 4237, 0),
122
+ (4239, 4239, 0),
123
+ (4250, 4253, 0),
124
+ (4352, 4447, 2),
125
+ (4448, 4607, 0),
126
+ (4957, 4959, 0),
127
+ (5906, 5908, 0),
128
+ (5938, 5940, 0),
129
+ (5970, 5971, 0),
130
+ (6002, 6003, 0),
131
+ (6068, 6099, 0),
132
+ (6109, 6109, 0),
133
+ (6155, 6158, 0),
134
+ (6277, 6278, 0),
135
+ (6313, 6313, 0),
136
+ (6432, 6443, 0),
137
+ (6448, 6459, 0),
138
+ (6679, 6683, 0),
139
+ (6741, 6750, 0),
140
+ (6752, 6780, 0),
141
+ (6783, 6783, 0),
142
+ (6832, 6846, 0),
143
+ (6912, 6916, 0),
144
+ (6964, 6980, 0),
145
+ (7019, 7027, 0),
146
+ (7040, 7042, 0),
147
+ (7073, 7085, 0),
148
+ (7142, 7155, 0),
149
+ (7204, 7223, 0),
150
+ (7376, 7378, 0),
151
+ (7380, 7400, 0),
152
+ (7405, 7405, 0),
153
+ (7410, 7412, 0),
154
+ (7416, 7417, 0),
155
+ (7616, 7669, 0),
156
+ (7675, 7679, 0),
157
+ (8203, 8207, 0),
158
+ (8232, 8238, 0),
159
+ (8288, 8303, 0),
160
+ (8400, 8432, 0),
161
+ (8986, 8987, 2),
162
+ (9001, 9002, 2),
163
+ (9193, 9196, 2),
164
+ (9200, 9200, 2),
165
+ (9203, 9203, 2),
166
+ (9725, 9726, 2),
167
+ (9748, 9749, 2),
168
+ (9800, 9811, 2),
169
+ (9855, 9855, 2),
170
+ (9875, 9875, 2),
171
+ (9889, 9889, 2),
172
+ (9898, 9899, 2),
173
+ (9917, 9918, 2),
174
+ (9924, 9925, 2),
175
+ (9934, 9934, 2),
176
+ (9940, 9940, 2),
177
+ (9962, 9962, 2),
178
+ (9970, 9971, 2),
179
+ (9973, 9973, 2),
180
+ (9978, 9978, 2),
181
+ (9981, 9981, 2),
182
+ (9989, 9989, 2),
183
+ (9994, 9995, 2),
184
+ (10024, 10024, 2),
185
+ (10060, 10060, 2),
186
+ (10062, 10062, 2),
187
+ (10067, 10069, 2),
188
+ (10071, 10071, 2),
189
+ (10133, 10135, 2),
190
+ (10160, 10160, 2),
191
+ (10175, 10175, 2),
192
+ (11035, 11036, 2),
193
+ (11088, 11088, 2),
194
+ (11093, 11093, 2),
195
+ (11503, 11505, 0),
196
+ (11647, 11647, 0),
197
+ (11744, 11775, 0),
198
+ (11904, 11929, 2),
199
+ (11931, 12019, 2),
200
+ (12032, 12245, 2),
201
+ (12272, 12283, 2),
202
+ (12288, 12329, 2),
203
+ (12330, 12335, 0),
204
+ (12336, 12350, 2),
205
+ (12353, 12438, 2),
206
+ (12441, 12442, 0),
207
+ (12443, 12543, 2),
208
+ (12549, 12589, 2),
209
+ (12593, 12643, 2),
210
+ (12644, 12644, 0),
211
+ (12645, 12686, 2),
212
+ (12688, 12730, 2),
213
+ (12736, 12771, 2),
214
+ (12784, 12830, 2),
215
+ (12832, 12871, 2),
216
+ (12880, 13054, 2),
217
+ (13056, 19903, 2),
218
+ (19968, 42124, 2),
219
+ (42128, 42182, 2),
220
+ (42607, 42610, 0),
221
+ (42612, 42621, 0),
222
+ (42654, 42655, 0),
223
+ (42736, 42737, 0),
224
+ (43010, 43010, 0),
225
+ (43014, 43014, 0),
226
+ (43019, 43019, 0),
227
+ (43043, 43047, 0),
228
+ (43136, 43137, 0),
229
+ (43188, 43205, 0),
230
+ (43232, 43249, 0),
231
+ (43302, 43309, 0),
232
+ (43335, 43347, 0),
233
+ (43360, 43388, 2),
234
+ (43392, 43395, 0),
235
+ (43443, 43456, 0),
236
+ (43493, 43493, 0),
237
+ (43561, 43574, 0),
238
+ (43587, 43587, 0),
239
+ (43596, 43597, 0),
240
+ (43643, 43645, 0),
241
+ (43696, 43696, 0),
242
+ (43698, 43700, 0),
243
+ (43703, 43704, 0),
244
+ (43710, 43711, 0),
245
+ (43713, 43713, 0),
246
+ (43755, 43759, 0),
247
+ (43765, 43766, 0),
248
+ (44003, 44010, 0),
249
+ (44012, 44013, 0),
250
+ (44032, 55203, 2),
251
+ (55216, 55295, 0),
252
+ (63744, 64255, 2),
253
+ (64286, 64286, 0),
254
+ (65024, 65039, 0),
255
+ (65040, 65049, 2),
256
+ (65056, 65071, 0),
257
+ (65072, 65106, 2),
258
+ (65108, 65126, 2),
259
+ (65128, 65131, 2),
260
+ (65279, 65279, 0),
261
+ (65281, 65376, 2),
262
+ (65440, 65440, 0),
263
+ (65504, 65510, 2),
264
+ (65520, 65531, 0),
265
+ (66045, 66045, 0),
266
+ (66272, 66272, 0),
267
+ (66422, 66426, 0),
268
+ (68097, 68099, 0),
269
+ (68101, 68102, 0),
270
+ (68108, 68111, 0),
271
+ (68152, 68154, 0),
272
+ (68159, 68159, 0),
273
+ (68325, 68326, 0),
274
+ (69632, 69634, 0),
275
+ (69688, 69702, 0),
276
+ (69759, 69762, 0),
277
+ (69808, 69818, 0),
278
+ (69888, 69890, 0),
279
+ (69927, 69940, 0),
280
+ (70003, 70003, 0),
281
+ (70016, 70018, 0),
282
+ (70067, 70080, 0),
283
+ (70090, 70092, 0),
284
+ (70188, 70199, 0),
285
+ (70206, 70206, 0),
286
+ (70367, 70378, 0),
287
+ (70400, 70403, 0),
288
+ (70460, 70460, 0),
289
+ (70462, 70468, 0),
290
+ (70471, 70472, 0),
291
+ (70475, 70477, 0),
292
+ (70487, 70487, 0),
293
+ (70498, 70499, 0),
294
+ (70502, 70508, 0),
295
+ (70512, 70516, 0),
296
+ (70709, 70726, 0),
297
+ (70832, 70851, 0),
298
+ (71087, 71093, 0),
299
+ (71096, 71104, 0),
300
+ (71132, 71133, 0),
301
+ (71216, 71232, 0),
302
+ (71339, 71351, 0),
303
+ (71453, 71467, 0),
304
+ (72751, 72758, 0),
305
+ (72760, 72767, 0),
306
+ (72850, 72871, 0),
307
+ (72873, 72886, 0),
308
+ (92912, 92916, 0),
309
+ (92976, 92982, 0),
310
+ (94033, 94078, 0),
311
+ (94095, 94098, 0),
312
+ (94176, 94176, 2),
313
+ (94208, 100332, 2),
314
+ (100352, 101106, 2),
315
+ (110592, 110593, 2),
316
+ (113821, 113822, 0),
317
+ (113824, 113827, 0),
318
+ (119141, 119145, 0),
319
+ (119149, 119170, 0),
320
+ (119173, 119179, 0),
321
+ (119210, 119213, 0),
322
+ (119362, 119364, 0),
323
+ (121344, 121398, 0),
324
+ (121403, 121452, 0),
325
+ (121461, 121461, 0),
326
+ (121476, 121476, 0),
327
+ (121499, 121503, 0),
328
+ (121505, 121519, 0),
329
+ (122880, 122886, 0),
330
+ (122888, 122904, 0),
331
+ (122907, 122913, 0),
332
+ (122915, 122916, 0),
333
+ (122918, 122922, 0),
334
+ (125136, 125142, 0),
335
+ (125252, 125258, 0),
336
+ (126980, 126980, 2),
337
+ (127183, 127183, 2),
338
+ (127374, 127374, 2),
339
+ (127377, 127386, 2),
340
+ (127488, 127490, 2),
341
+ (127504, 127547, 2),
342
+ (127552, 127560, 2),
343
+ (127568, 127569, 2),
344
+ (127744, 127776, 2),
345
+ (127789, 127797, 2),
346
+ (127799, 127868, 2),
347
+ (127870, 127891, 2),
348
+ (127904, 127946, 2),
349
+ (127951, 127955, 2),
350
+ (127968, 127984, 2),
351
+ (127988, 127988, 2),
352
+ (127992, 127994, 2),
353
+ (127995, 127999, 0),
354
+ (128000, 128062, 2),
355
+ (128064, 128064, 2),
356
+ (128066, 128252, 2),
357
+ (128255, 128317, 2),
358
+ (128331, 128334, 2),
359
+ (128336, 128359, 2),
360
+ (128378, 128378, 2),
361
+ (128405, 128406, 2),
362
+ (128420, 128420, 2),
363
+ (128507, 128591, 2),
364
+ (128640, 128709, 2),
365
+ (128716, 128716, 2),
366
+ (128720, 128722, 2),
367
+ (128747, 128748, 2),
368
+ (128756, 128758, 2),
369
+ (129296, 129310, 2),
370
+ (129312, 129319, 2),
371
+ (129328, 129328, 2),
372
+ (129331, 129342, 2),
373
+ (129344, 129355, 2),
374
+ (129360, 129374, 2),
375
+ (129408, 129425, 2),
376
+ (129472, 129472, 2),
377
+ (131072, 196605, 2),
378
+ (196608, 262141, 2),
379
+ (917504, 921599, 0),
380
+ ],
381
+ frozenset(
382
+ [
383
+ "#",
384
+ "*",
385
+ "0",
386
+ "1",
387
+ "2",
388
+ "3",
389
+ "4",
390
+ "5",
391
+ "6",
392
+ "7",
393
+ "8",
394
+ "9",
395
+ "©",
396
+ "®",
397
+ "‼",
398
+ "⁉",
399
+ "™",
400
+ "ℹ",
401
+ "↔",
402
+ "↕",
403
+ "↖",
404
+ "↗",
405
+ "↘",
406
+ "↙",
407
+ "↩",
408
+ "↪",
409
+ "⌨",
410
+ "⏏",
411
+ "⏭",
412
+ "⏮",
413
+ "⏯",
414
+ "⏱",
415
+ "⏲",
416
+ "⏸",
417
+ "⏹",
418
+ "⏺",
419
+ "Ⓜ",
420
+ "▪",
421
+ "▫",
422
+ "▶",
423
+ "◀",
424
+ "◻",
425
+ "◼",
426
+ "☀",
427
+ "☁",
428
+ "☂",
429
+ "☃",
430
+ "☄",
431
+ "☎",
432
+ "☑",
433
+ "☘",
434
+ "☝",
435
+ "☠",
436
+ "☢",
437
+ "☣",
438
+ "☦",
439
+ "☪",
440
+ "☮",
441
+ "☯",
442
+ "☸",
443
+ "☹",
444
+ "☺",
445
+ "♀",
446
+ "♂",
447
+ "♟",
448
+ "♠",
449
+ "♣",
450
+ "♥",
451
+ "♦",
452
+ "♨",
453
+ "♻",
454
+ "♾",
455
+ "⚒",
456
+ "⚔",
457
+ "⚕",
458
+ "⚖",
459
+ "⚗",
460
+ "⚙",
461
+ "⚛",
462
+ "⚜",
463
+ "⚠",
464
+ "⚧",
465
+ "⚰",
466
+ "⚱",
467
+ "⛈",
468
+ "⛏",
469
+ "⛑",
470
+ "⛓",
471
+ "⛩",
472
+ "⛰",
473
+ "⛱",
474
+ "⛴",
475
+ "⛷",
476
+ "⛸",
477
+ "⛹",
478
+ "✂",
479
+ "✈",
480
+ "✉",
481
+ "✌",
482
+ "✍",
483
+ "✏",
484
+ "✒",
485
+ "✔",
486
+ "✖",
487
+ "✝",
488
+ "✡",
489
+ "✳",
490
+ "✴",
491
+ "❄",
492
+ "❇",
493
+ "❣",
494
+ "❤",
495
+ "➡",
496
+ "⤴",
497
+ "⤵",
498
+ "⬅",
499
+ "⬆",
500
+ "⬇",
501
+ "🅰",
502
+ "🅱",
503
+ "🅾",
504
+ "🅿",
505
+ "🌡",
506
+ "🌤",
507
+ "🌥",
508
+ "🌦",
509
+ "🌧",
510
+ "🌨",
511
+ "🌩",
512
+ "🌪",
513
+ "🌫",
514
+ "🌬",
515
+ "🌶",
516
+ "🍽",
517
+ "🎖",
518
+ "🎗",
519
+ "🎙",
520
+ "🎚",
521
+ "🎛",
522
+ "🎞",
523
+ "🎟",
524
+ "🏋",
525
+ "🏌",
526
+ "🏍",
527
+ "🏎",
528
+ "🏔",
529
+ "🏕",
530
+ "🏖",
531
+ "🏗",
532
+ "🏘",
533
+ "🏙",
534
+ "🏚",
535
+ "🏛",
536
+ "🏜",
537
+ "🏝",
538
+ "🏞",
539
+ "🏟",
540
+ "🏳",
541
+ "🏵",
542
+ "🏷",
543
+ "🐿",
544
+ "👁",
545
+ "📽",
546
+ "🕉",
547
+ "🕊",
548
+ "🕯",
549
+ "🕰",
550
+ "🕳",
551
+ "🕴",
552
+ "🕵",
553
+ "🕶",
554
+ "🕷",
555
+ "🕸",
556
+ "🕹",
557
+ "🖇",
558
+ "🖊",
559
+ "🖋",
560
+ "🖌",
561
+ "🖍",
562
+ "🖐",
563
+ "🖥",
564
+ "🖨",
565
+ "🖱",
566
+ "🖲",
567
+ "🖼",
568
+ "🗂",
569
+ "🗃",
570
+ "🗄",
571
+ "🗑",
572
+ "🗒",
573
+ "🗓",
574
+ "🗜",
575
+ "🗝",
576
+ "🗞",
577
+ "🗡",
578
+ "🗣",
579
+ "🗨",
580
+ "🗯",
581
+ "🗳",
582
+ "🗺",
583
+ "🛋",
584
+ "🛍",
585
+ "🛎",
586
+ "🛏",
587
+ "🛠",
588
+ "🛡",
589
+ "🛢",
590
+ "🛣",
591
+ "🛤",
592
+ "🛥",
593
+ "🛩",
594
+ "🛰",
595
+ "🛳",
596
+ ]
597
+ ),
598
+ )
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_win32_console.py ADDED
@@ -0,0 +1,661 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Light wrapper around the Win32 Console API - this module should only be imported on Windows
2
+
3
+ The API that this module wraps is documented at https://docs.microsoft.com/en-us/windows/console/console-functions
4
+ """
5
+
6
+ import ctypes
7
+ import sys
8
+ from typing import Any
9
+
10
+ windll: Any = None
11
+ if sys.platform == "win32":
12
+ windll = ctypes.LibraryLoader(ctypes.WinDLL)
13
+ else:
14
+ raise ImportError(f"{__name__} can only be imported on Windows")
15
+
16
+ import time
17
+ from ctypes import Structure, byref, wintypes
18
+ from typing import IO, NamedTuple, Type, cast
19
+
20
+ from rich.color import ColorSystem
21
+ from rich.style import Style
22
+
23
+ STDOUT = -11
24
+ ENABLE_VIRTUAL_TERMINAL_PROCESSING = 4
25
+
26
+ COORD = wintypes._COORD
27
+
28
+
29
+ class LegacyWindowsError(Exception):
30
+ pass
31
+
32
+
33
+ class WindowsCoordinates(NamedTuple):
34
+ """Coordinates in the Windows Console API are (y, x), not (x, y).
35
+ This class is intended to prevent that confusion.
36
+ Rows and columns are indexed from 0.
37
+ This class can be used in place of wintypes._COORD in arguments and argtypes.
38
+ """
39
+
40
+ row: int
41
+ col: int
42
+
43
+ @classmethod
44
+ def from_param(cls, value: "WindowsCoordinates") -> COORD:
45
+ """Converts a WindowsCoordinates into a wintypes _COORD structure.
46
+ This classmethod is internally called by ctypes to perform the conversion.
47
+
48
+ Args:
49
+ value (WindowsCoordinates): The input coordinates to convert.
50
+
51
+ Returns:
52
+ wintypes._COORD: The converted coordinates struct.
53
+ """
54
+ return COORD(value.col, value.row)
55
+
56
+
57
+ class CONSOLE_SCREEN_BUFFER_INFO(Structure):
58
+ _fields_ = [
59
+ ("dwSize", COORD),
60
+ ("dwCursorPosition", COORD),
61
+ ("wAttributes", wintypes.WORD),
62
+ ("srWindow", wintypes.SMALL_RECT),
63
+ ("dwMaximumWindowSize", COORD),
64
+ ]
65
+
66
+
67
+ class CONSOLE_CURSOR_INFO(ctypes.Structure):
68
+ _fields_ = [("dwSize", wintypes.DWORD), ("bVisible", wintypes.BOOL)]
69
+
70
+
71
+ _GetStdHandle = windll.kernel32.GetStdHandle
72
+ _GetStdHandle.argtypes = [
73
+ wintypes.DWORD,
74
+ ]
75
+ _GetStdHandle.restype = wintypes.HANDLE
76
+
77
+
78
+ def GetStdHandle(handle: int = STDOUT) -> wintypes.HANDLE:
79
+ """Retrieves a handle to the specified standard device (standard input, standard output, or standard error).
80
+
81
+ Args:
82
+ handle (int): Integer identifier for the handle. Defaults to -11 (stdout).
83
+
84
+ Returns:
85
+ wintypes.HANDLE: The handle
86
+ """
87
+ return cast(wintypes.HANDLE, _GetStdHandle(handle))
88
+
89
+
90
+ _GetConsoleMode = windll.kernel32.GetConsoleMode
91
+ _GetConsoleMode.argtypes = [wintypes.HANDLE, wintypes.LPDWORD]
92
+ _GetConsoleMode.restype = wintypes.BOOL
93
+
94
+
95
+ def GetConsoleMode(std_handle: wintypes.HANDLE) -> int:
96
+ """Retrieves the current input mode of a console's input buffer
97
+ or the current output mode of a console screen buffer.
98
+
99
+ Args:
100
+ std_handle (wintypes.HANDLE): A handle to the console input buffer or the console screen buffer.
101
+
102
+ Raises:
103
+ LegacyWindowsError: If any error occurs while calling the Windows console API.
104
+
105
+ Returns:
106
+ int: Value representing the current console mode as documented at
107
+ https://docs.microsoft.com/en-us/windows/console/getconsolemode#parameters
108
+ """
109
+
110
+ console_mode = wintypes.DWORD()
111
+ success = bool(_GetConsoleMode(std_handle, console_mode))
112
+ if not success:
113
+ raise LegacyWindowsError("Unable to get legacy Windows Console Mode")
114
+ return console_mode.value
115
+
116
+
117
+ _FillConsoleOutputCharacterW = windll.kernel32.FillConsoleOutputCharacterW
118
+ _FillConsoleOutputCharacterW.argtypes = [
119
+ wintypes.HANDLE,
120
+ ctypes.c_char,
121
+ wintypes.DWORD,
122
+ cast(Type[COORD], WindowsCoordinates),
123
+ ctypes.POINTER(wintypes.DWORD),
124
+ ]
125
+ _FillConsoleOutputCharacterW.restype = wintypes.BOOL
126
+
127
+
128
+ def FillConsoleOutputCharacter(
129
+ std_handle: wintypes.HANDLE,
130
+ char: str,
131
+ length: int,
132
+ start: WindowsCoordinates,
133
+ ) -> int:
134
+ """Writes a character to the console screen buffer a specified number of times, beginning at the specified coordinates.
135
+
136
+ Args:
137
+ std_handle (wintypes.HANDLE): A handle to the console input buffer or the console screen buffer.
138
+ char (str): The character to write. Must be a string of length 1.
139
+ length (int): The number of times to write the character.
140
+ start (WindowsCoordinates): The coordinates to start writing at.
141
+
142
+ Returns:
143
+ int: The number of characters written.
144
+ """
145
+ character = ctypes.c_char(char.encode())
146
+ num_characters = wintypes.DWORD(length)
147
+ num_written = wintypes.DWORD(0)
148
+ _FillConsoleOutputCharacterW(
149
+ std_handle,
150
+ character,
151
+ num_characters,
152
+ start,
153
+ byref(num_written),
154
+ )
155
+ return num_written.value
156
+
157
+
158
+ _FillConsoleOutputAttribute = windll.kernel32.FillConsoleOutputAttribute
159
+ _FillConsoleOutputAttribute.argtypes = [
160
+ wintypes.HANDLE,
161
+ wintypes.WORD,
162
+ wintypes.DWORD,
163
+ cast(Type[COORD], WindowsCoordinates),
164
+ ctypes.POINTER(wintypes.DWORD),
165
+ ]
166
+ _FillConsoleOutputAttribute.restype = wintypes.BOOL
167
+
168
+
169
+ def FillConsoleOutputAttribute(
170
+ std_handle: wintypes.HANDLE,
171
+ attributes: int,
172
+ length: int,
173
+ start: WindowsCoordinates,
174
+ ) -> int:
175
+ """Sets the character attributes for a specified number of character cells,
176
+ beginning at the specified coordinates in a screen buffer.
177
+
178
+ Args:
179
+ std_handle (wintypes.HANDLE): A handle to the console input buffer or the console screen buffer.
180
+ attributes (int): Integer value representing the foreground and background colours of the cells.
181
+ length (int): The number of cells to set the output attribute of.
182
+ start (WindowsCoordinates): The coordinates of the first cell whose attributes are to be set.
183
+
184
+ Returns:
185
+ int: The number of cells whose attributes were actually set.
186
+ """
187
+ num_cells = wintypes.DWORD(length)
188
+ style_attrs = wintypes.WORD(attributes)
189
+ num_written = wintypes.DWORD(0)
190
+ _FillConsoleOutputAttribute(
191
+ std_handle, style_attrs, num_cells, start, byref(num_written)
192
+ )
193
+ return num_written.value
194
+
195
+
196
+ _SetConsoleTextAttribute = windll.kernel32.SetConsoleTextAttribute
197
+ _SetConsoleTextAttribute.argtypes = [
198
+ wintypes.HANDLE,
199
+ wintypes.WORD,
200
+ ]
201
+ _SetConsoleTextAttribute.restype = wintypes.BOOL
202
+
203
+
204
+ def SetConsoleTextAttribute(
205
+ std_handle: wintypes.HANDLE, attributes: wintypes.WORD
206
+ ) -> bool:
207
+ """Set the colour attributes for all text written after this function is called.
208
+
209
+ Args:
210
+ std_handle (wintypes.HANDLE): A handle to the console input buffer or the console screen buffer.
211
+ attributes (int): Integer value representing the foreground and background colours.
212
+
213
+
214
+ Returns:
215
+ bool: True if the attribute was set successfully, otherwise False.
216
+ """
217
+ return bool(_SetConsoleTextAttribute(std_handle, attributes))
218
+
219
+
220
+ _GetConsoleScreenBufferInfo = windll.kernel32.GetConsoleScreenBufferInfo
221
+ _GetConsoleScreenBufferInfo.argtypes = [
222
+ wintypes.HANDLE,
223
+ ctypes.POINTER(CONSOLE_SCREEN_BUFFER_INFO),
224
+ ]
225
+ _GetConsoleScreenBufferInfo.restype = wintypes.BOOL
226
+
227
+
228
+ def GetConsoleScreenBufferInfo(
229
+ std_handle: wintypes.HANDLE,
230
+ ) -> CONSOLE_SCREEN_BUFFER_INFO:
231
+ """Retrieves information about the specified console screen buffer.
232
+
233
+ Args:
234
+ std_handle (wintypes.HANDLE): A handle to the console input buffer or the console screen buffer.
235
+
236
+ Returns:
237
+ CONSOLE_SCREEN_BUFFER_INFO: A CONSOLE_SCREEN_BUFFER_INFO ctype struct contain information about
238
+ screen size, cursor position, colour attributes, and more."""
239
+ console_screen_buffer_info = CONSOLE_SCREEN_BUFFER_INFO()
240
+ _GetConsoleScreenBufferInfo(std_handle, byref(console_screen_buffer_info))
241
+ return console_screen_buffer_info
242
+
243
+
244
+ _SetConsoleCursorPosition = windll.kernel32.SetConsoleCursorPosition
245
+ _SetConsoleCursorPosition.argtypes = [
246
+ wintypes.HANDLE,
247
+ cast(Type[COORD], WindowsCoordinates),
248
+ ]
249
+ _SetConsoleCursorPosition.restype = wintypes.BOOL
250
+
251
+
252
+ def SetConsoleCursorPosition(
253
+ std_handle: wintypes.HANDLE, coords: WindowsCoordinates
254
+ ) -> bool:
255
+ """Set the position of the cursor in the console screen
256
+
257
+ Args:
258
+ std_handle (wintypes.HANDLE): A handle to the console input buffer or the console screen buffer.
259
+ coords (WindowsCoordinates): The coordinates to move the cursor to.
260
+
261
+ Returns:
262
+ bool: True if the function succeeds, otherwise False.
263
+ """
264
+ return bool(_SetConsoleCursorPosition(std_handle, coords))
265
+
266
+
267
+ _GetConsoleCursorInfo = windll.kernel32.GetConsoleCursorInfo
268
+ _GetConsoleCursorInfo.argtypes = [
269
+ wintypes.HANDLE,
270
+ ctypes.POINTER(CONSOLE_CURSOR_INFO),
271
+ ]
272
+ _GetConsoleCursorInfo.restype = wintypes.BOOL
273
+
274
+
275
+ def GetConsoleCursorInfo(
276
+ std_handle: wintypes.HANDLE, cursor_info: CONSOLE_CURSOR_INFO
277
+ ) -> bool:
278
+ """Get the cursor info - used to get cursor visibility and width
279
+
280
+ Args:
281
+ std_handle (wintypes.HANDLE): A handle to the console input buffer or the console screen buffer.
282
+ cursor_info (CONSOLE_CURSOR_INFO): CONSOLE_CURSOR_INFO ctype struct that receives information
283
+ about the console's cursor.
284
+
285
+ Returns:
286
+ bool: True if the function succeeds, otherwise False.
287
+ """
288
+ return bool(_GetConsoleCursorInfo(std_handle, byref(cursor_info)))
289
+
290
+
291
+ _SetConsoleCursorInfo = windll.kernel32.SetConsoleCursorInfo
292
+ _SetConsoleCursorInfo.argtypes = [
293
+ wintypes.HANDLE,
294
+ ctypes.POINTER(CONSOLE_CURSOR_INFO),
295
+ ]
296
+ _SetConsoleCursorInfo.restype = wintypes.BOOL
297
+
298
+
299
+ def SetConsoleCursorInfo(
300
+ std_handle: wintypes.HANDLE, cursor_info: CONSOLE_CURSOR_INFO
301
+ ) -> bool:
302
+ """Set the cursor info - used for adjusting cursor visibility and width
303
+
304
+ Args:
305
+ std_handle (wintypes.HANDLE): A handle to the console input buffer or the console screen buffer.
306
+ cursor_info (CONSOLE_CURSOR_INFO): CONSOLE_CURSOR_INFO ctype struct containing the new cursor info.
307
+
308
+ Returns:
309
+ bool: True if the function succeeds, otherwise False.
310
+ """
311
+ return bool(_SetConsoleCursorInfo(std_handle, byref(cursor_info)))
312
+
313
+
314
+ _SetConsoleTitle = windll.kernel32.SetConsoleTitleW
315
+ _SetConsoleTitle.argtypes = [wintypes.LPCWSTR]
316
+ _SetConsoleTitle.restype = wintypes.BOOL
317
+
318
+
319
+ def SetConsoleTitle(title: str) -> bool:
320
+ """Sets the title of the current console window
321
+
322
+ Args:
323
+ title (str): The new title of the console window.
324
+
325
+ Returns:
326
+ bool: True if the function succeeds, otherwise False.
327
+ """
328
+ return bool(_SetConsoleTitle(title))
329
+
330
+
331
+ class LegacyWindowsTerm:
332
+ """This class allows interaction with the legacy Windows Console API. It should only be used in the context
333
+ of environments where virtual terminal processing is not available. However, if it is used in a Windows environment,
334
+ the entire API should work.
335
+
336
+ Args:
337
+ file (IO[str]): The file which the Windows Console API HANDLE is retrieved from, defaults to sys.stdout.
338
+ """
339
+
340
+ BRIGHT_BIT = 8
341
+
342
+ # Indices are ANSI color numbers, values are the corresponding Windows Console API color numbers
343
+ ANSI_TO_WINDOWS = [
344
+ 0, # black The Windows colours are defined in wincon.h as follows:
345
+ 4, # red define FOREGROUND_BLUE 0x0001 -- 0000 0001
346
+ 2, # green define FOREGROUND_GREEN 0x0002 -- 0000 0010
347
+ 6, # yellow define FOREGROUND_RED 0x0004 -- 0000 0100
348
+ 1, # blue define FOREGROUND_INTENSITY 0x0008 -- 0000 1000
349
+ 5, # magenta define BACKGROUND_BLUE 0x0010 -- 0001 0000
350
+ 3, # cyan define BACKGROUND_GREEN 0x0020 -- 0010 0000
351
+ 7, # white define BACKGROUND_RED 0x0040 -- 0100 0000
352
+ 8, # bright black (grey) define BACKGROUND_INTENSITY 0x0080 -- 1000 0000
353
+ 12, # bright red
354
+ 10, # bright green
355
+ 14, # bright yellow
356
+ 9, # bright blue
357
+ 13, # bright magenta
358
+ 11, # bright cyan
359
+ 15, # bright white
360
+ ]
361
+
362
+ def __init__(self, file: "IO[str]") -> None:
363
+ handle = GetStdHandle(STDOUT)
364
+ self._handle = handle
365
+ default_text = GetConsoleScreenBufferInfo(handle).wAttributes
366
+ self._default_text = default_text
367
+
368
+ self._default_fore = default_text & 7
369
+ self._default_back = (default_text >> 4) & 7
370
+ self._default_attrs = self._default_fore | (self._default_back << 4)
371
+
372
+ self._file = file
373
+ self.write = file.write
374
+ self.flush = file.flush
375
+
376
+ @property
377
+ def cursor_position(self) -> WindowsCoordinates:
378
+ """Returns the current position of the cursor (0-based)
379
+
380
+ Returns:
381
+ WindowsCoordinates: The current cursor position.
382
+ """
383
+ coord: COORD = GetConsoleScreenBufferInfo(self._handle).dwCursorPosition
384
+ return WindowsCoordinates(row=coord.Y, col=coord.X)
385
+
386
+ @property
387
+ def screen_size(self) -> WindowsCoordinates:
388
+ """Returns the current size of the console screen buffer, in character columns and rows
389
+
390
+ Returns:
391
+ WindowsCoordinates: The width and height of the screen as WindowsCoordinates.
392
+ """
393
+ screen_size: COORD = GetConsoleScreenBufferInfo(self._handle).dwSize
394
+ return WindowsCoordinates(row=screen_size.Y, col=screen_size.X)
395
+
396
+ def write_text(self, text: str) -> None:
397
+ """Write text directly to the terminal without any modification of styles
398
+
399
+ Args:
400
+ text (str): The text to write to the console
401
+ """
402
+ self.write(text)
403
+ self.flush()
404
+
405
+ def write_styled(self, text: str, style: Style) -> None:
406
+ """Write styled text to the terminal.
407
+
408
+ Args:
409
+ text (str): The text to write
410
+ style (Style): The style of the text
411
+ """
412
+ color = style.color
413
+ bgcolor = style.bgcolor
414
+ if style.reverse:
415
+ color, bgcolor = bgcolor, color
416
+
417
+ if color:
418
+ fore = color.downgrade(ColorSystem.WINDOWS).number
419
+ fore = fore if fore is not None else 7 # Default to ANSI 7: White
420
+ if style.bold:
421
+ fore = fore | self.BRIGHT_BIT
422
+ if style.dim:
423
+ fore = fore & ~self.BRIGHT_BIT
424
+ fore = self.ANSI_TO_WINDOWS[fore]
425
+ else:
426
+ fore = self._default_fore
427
+
428
+ if bgcolor:
429
+ back = bgcolor.downgrade(ColorSystem.WINDOWS).number
430
+ back = back if back is not None else 0 # Default to ANSI 0: Black
431
+ back = self.ANSI_TO_WINDOWS[back]
432
+ else:
433
+ back = self._default_back
434
+
435
+ assert fore is not None
436
+ assert back is not None
437
+
438
+ SetConsoleTextAttribute(
439
+ self._handle, attributes=ctypes.c_ushort(fore | (back << 4))
440
+ )
441
+ self.write_text(text)
442
+ SetConsoleTextAttribute(self._handle, attributes=self._default_text)
443
+
444
+ def move_cursor_to(self, new_position: WindowsCoordinates) -> None:
445
+ """Set the position of the cursor
446
+
447
+ Args:
448
+ new_position (WindowsCoordinates): The WindowsCoordinates representing the new position of the cursor.
449
+ """
450
+ if new_position.col < 0 or new_position.row < 0:
451
+ return
452
+ SetConsoleCursorPosition(self._handle, coords=new_position)
453
+
454
+ def erase_line(self) -> None:
455
+ """Erase all content on the line the cursor is currently located at"""
456
+ screen_size = self.screen_size
457
+ cursor_position = self.cursor_position
458
+ cells_to_erase = screen_size.col
459
+ start_coordinates = WindowsCoordinates(row=cursor_position.row, col=0)
460
+ FillConsoleOutputCharacter(
461
+ self._handle, " ", length=cells_to_erase, start=start_coordinates
462
+ )
463
+ FillConsoleOutputAttribute(
464
+ self._handle,
465
+ self._default_attrs,
466
+ length=cells_to_erase,
467
+ start=start_coordinates,
468
+ )
469
+
470
+ def erase_end_of_line(self) -> None:
471
+ """Erase all content from the cursor position to the end of that line"""
472
+ cursor_position = self.cursor_position
473
+ cells_to_erase = self.screen_size.col - cursor_position.col
474
+ FillConsoleOutputCharacter(
475
+ self._handle, " ", length=cells_to_erase, start=cursor_position
476
+ )
477
+ FillConsoleOutputAttribute(
478
+ self._handle,
479
+ self._default_attrs,
480
+ length=cells_to_erase,
481
+ start=cursor_position,
482
+ )
483
+
484
+ def erase_start_of_line(self) -> None:
485
+ """Erase all content from the cursor position to the start of that line"""
486
+ row, col = self.cursor_position
487
+ start = WindowsCoordinates(row, 0)
488
+ FillConsoleOutputCharacter(self._handle, " ", length=col, start=start)
489
+ FillConsoleOutputAttribute(
490
+ self._handle, self._default_attrs, length=col, start=start
491
+ )
492
+
493
+ def move_cursor_up(self) -> None:
494
+ """Move the cursor up a single cell"""
495
+ cursor_position = self.cursor_position
496
+ SetConsoleCursorPosition(
497
+ self._handle,
498
+ coords=WindowsCoordinates(
499
+ row=cursor_position.row - 1, col=cursor_position.col
500
+ ),
501
+ )
502
+
503
+ def move_cursor_down(self) -> None:
504
+ """Move the cursor down a single cell"""
505
+ cursor_position = self.cursor_position
506
+ SetConsoleCursorPosition(
507
+ self._handle,
508
+ coords=WindowsCoordinates(
509
+ row=cursor_position.row + 1,
510
+ col=cursor_position.col,
511
+ ),
512
+ )
513
+
514
+ def move_cursor_forward(self) -> None:
515
+ """Move the cursor forward a single cell. Wrap to the next line if required."""
516
+ row, col = self.cursor_position
517
+ if col == self.screen_size.col - 1:
518
+ row += 1
519
+ col = 0
520
+ else:
521
+ col += 1
522
+ SetConsoleCursorPosition(
523
+ self._handle, coords=WindowsCoordinates(row=row, col=col)
524
+ )
525
+
526
+ def move_cursor_to_column(self, column: int) -> None:
527
+ """Move cursor to the column specified by the zero-based column index, staying on the same row
528
+
529
+ Args:
530
+ column (int): The zero-based column index to move the cursor to.
531
+ """
532
+ row, _ = self.cursor_position
533
+ SetConsoleCursorPosition(self._handle, coords=WindowsCoordinates(row, column))
534
+
535
+ def move_cursor_backward(self) -> None:
536
+ """Move the cursor backward a single cell. Wrap to the previous line if required."""
537
+ row, col = self.cursor_position
538
+ if col == 0:
539
+ row -= 1
540
+ col = self.screen_size.col - 1
541
+ else:
542
+ col -= 1
543
+ SetConsoleCursorPosition(
544
+ self._handle, coords=WindowsCoordinates(row=row, col=col)
545
+ )
546
+
547
+ def hide_cursor(self) -> None:
548
+ """Hide the cursor"""
549
+ current_cursor_size = self._get_cursor_size()
550
+ invisible_cursor = CONSOLE_CURSOR_INFO(dwSize=current_cursor_size, bVisible=0)
551
+ SetConsoleCursorInfo(self._handle, cursor_info=invisible_cursor)
552
+
553
+ def show_cursor(self) -> None:
554
+ """Show the cursor"""
555
+ current_cursor_size = self._get_cursor_size()
556
+ visible_cursor = CONSOLE_CURSOR_INFO(dwSize=current_cursor_size, bVisible=1)
557
+ SetConsoleCursorInfo(self._handle, cursor_info=visible_cursor)
558
+
559
+ def set_title(self, title: str) -> None:
560
+ """Set the title of the terminal window
561
+
562
+ Args:
563
+ title (str): The new title of the console window
564
+ """
565
+ assert len(title) < 255, "Console title must be less than 255 characters"
566
+ SetConsoleTitle(title)
567
+
568
+ def _get_cursor_size(self) -> int:
569
+ """Get the percentage of the character cell that is filled by the cursor"""
570
+ cursor_info = CONSOLE_CURSOR_INFO()
571
+ GetConsoleCursorInfo(self._handle, cursor_info=cursor_info)
572
+ return int(cursor_info.dwSize)
573
+
574
+
575
+ if __name__ == "__main__":
576
+ handle = GetStdHandle()
577
+
578
+ from rich.console import Console
579
+
580
+ console = Console()
581
+
582
+ term = LegacyWindowsTerm(sys.stdout)
583
+ term.set_title("Win32 Console Examples")
584
+
585
+ style = Style(color="black", bgcolor="red")
586
+
587
+ heading = Style.parse("black on green")
588
+
589
+ # Check colour output
590
+ console.rule("Checking colour output")
591
+ console.print("[on red]on red!")
592
+ console.print("[blue]blue!")
593
+ console.print("[yellow]yellow!")
594
+ console.print("[bold yellow]bold yellow!")
595
+ console.print("[bright_yellow]bright_yellow!")
596
+ console.print("[dim bright_yellow]dim bright_yellow!")
597
+ console.print("[italic cyan]italic cyan!")
598
+ console.print("[bold white on blue]bold white on blue!")
599
+ console.print("[reverse bold white on blue]reverse bold white on blue!")
600
+ console.print("[bold black on cyan]bold black on cyan!")
601
+ console.print("[black on green]black on green!")
602
+ console.print("[blue on green]blue on green!")
603
+ console.print("[white on black]white on black!")
604
+ console.print("[black on white]black on white!")
605
+ console.print("[#1BB152 on #DA812D]#1BB152 on #DA812D!")
606
+
607
+ # Check cursor movement
608
+ console.rule("Checking cursor movement")
609
+ console.print()
610
+ term.move_cursor_backward()
611
+ term.move_cursor_backward()
612
+ term.write_text("went back and wrapped to prev line")
613
+ time.sleep(1)
614
+ term.move_cursor_up()
615
+ term.write_text("we go up")
616
+ time.sleep(1)
617
+ term.move_cursor_down()
618
+ term.write_text("and down")
619
+ time.sleep(1)
620
+ term.move_cursor_up()
621
+ term.move_cursor_backward()
622
+ term.move_cursor_backward()
623
+ term.write_text("we went up and back 2")
624
+ time.sleep(1)
625
+ term.move_cursor_down()
626
+ term.move_cursor_backward()
627
+ term.move_cursor_backward()
628
+ term.write_text("we went down and back 2")
629
+ time.sleep(1)
630
+
631
+ # Check erasing of lines
632
+ term.hide_cursor()
633
+ console.print()
634
+ console.rule("Checking line erasing")
635
+ console.print("\n...Deleting to the start of the line...")
636
+ term.write_text("The red arrow shows the cursor location, and direction of erase")
637
+ time.sleep(1)
638
+ term.move_cursor_to_column(16)
639
+ term.write_styled("<", Style.parse("black on red"))
640
+ term.move_cursor_backward()
641
+ time.sleep(1)
642
+ term.erase_start_of_line()
643
+ time.sleep(1)
644
+
645
+ console.print("\n\n...And to the end of the line...")
646
+ term.write_text("The red arrow shows the cursor location, and direction of erase")
647
+ time.sleep(1)
648
+
649
+ term.move_cursor_to_column(16)
650
+ term.write_styled(">", Style.parse("black on red"))
651
+ time.sleep(1)
652
+ term.erase_end_of_line()
653
+ time.sleep(1)
654
+
655
+ console.print("\n\n...Now the whole line will be erased...")
656
+ term.write_styled("I'm going to disappear!", style=Style.parse("black on cyan"))
657
+ time.sleep(1)
658
+ term.erase_line()
659
+
660
+ term.show_cursor()
661
+ print("\n")
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_windows.py ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import sys
2
+ from dataclasses import dataclass
3
+
4
+
5
+ @dataclass
6
+ class WindowsConsoleFeatures:
7
+ """Windows features available."""
8
+
9
+ vt: bool = False
10
+ """The console supports VT codes."""
11
+ truecolor: bool = False
12
+ """The console supports truecolor."""
13
+
14
+
15
+ try:
16
+ import ctypes
17
+ from ctypes import LibraryLoader
18
+
19
+ if sys.platform == "win32":
20
+ windll = LibraryLoader(ctypes.WinDLL)
21
+ else:
22
+ windll = None
23
+ raise ImportError("Not windows")
24
+
25
+ from rich._win32_console import (
26
+ ENABLE_VIRTUAL_TERMINAL_PROCESSING,
27
+ GetConsoleMode,
28
+ GetStdHandle,
29
+ LegacyWindowsError,
30
+ )
31
+
32
+ except (AttributeError, ImportError, ValueError):
33
+ # Fallback if we can't load the Windows DLL
34
+ def get_windows_console_features() -> WindowsConsoleFeatures:
35
+ features = WindowsConsoleFeatures()
36
+ return features
37
+
38
+ else:
39
+
40
+ def get_windows_console_features() -> WindowsConsoleFeatures:
41
+ """Get windows console features.
42
+
43
+ Returns:
44
+ WindowsConsoleFeatures: An instance of WindowsConsoleFeatures.
45
+ """
46
+ handle = GetStdHandle()
47
+ try:
48
+ console_mode = GetConsoleMode(handle)
49
+ success = True
50
+ except LegacyWindowsError:
51
+ console_mode = 0
52
+ success = False
53
+ vt = bool(success and console_mode & ENABLE_VIRTUAL_TERMINAL_PROCESSING)
54
+ truecolor = False
55
+ if vt:
56
+ win_version = sys.getwindowsversion()
57
+ truecolor = win_version.major > 10 or (
58
+ win_version.major == 10 and win_version.build >= 15063
59
+ )
60
+ features = WindowsConsoleFeatures(vt=vt, truecolor=truecolor)
61
+ return features
62
+
63
+
64
+ if __name__ == "__main__":
65
+ import platform
66
+
67
+ features = get_windows_console_features()
68
+ from rich import print
69
+
70
+ print(f'platform="{platform.system()}"')
71
+ print(repr(features))
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_windows_renderer.py ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Iterable, Sequence, Tuple, cast
2
+
3
+ from rich._win32_console import LegacyWindowsTerm, WindowsCoordinates
4
+ from rich.segment import ControlCode, ControlType, Segment
5
+
6
+
7
+ def legacy_windows_render(buffer: Iterable[Segment], term: LegacyWindowsTerm) -> None:
8
+ """Makes appropriate Windows Console API calls based on the segments in the buffer.
9
+
10
+ Args:
11
+ buffer (Iterable[Segment]): Iterable of Segments to convert to Win32 API calls.
12
+ term (LegacyWindowsTerm): Used to call the Windows Console API.
13
+ """
14
+ for text, style, control in buffer:
15
+ if not control:
16
+ if style:
17
+ term.write_styled(text, style)
18
+ else:
19
+ term.write_text(text)
20
+ else:
21
+ control_codes: Sequence[ControlCode] = control
22
+ for control_code in control_codes:
23
+ control_type = control_code[0]
24
+ if control_type == ControlType.CURSOR_MOVE_TO:
25
+ _, x, y = cast(Tuple[ControlType, int, int], control_code)
26
+ term.move_cursor_to(WindowsCoordinates(row=y - 1, col=x - 1))
27
+ elif control_type == ControlType.CARRIAGE_RETURN:
28
+ term.write_text("\r")
29
+ elif control_type == ControlType.HOME:
30
+ term.move_cursor_to(WindowsCoordinates(0, 0))
31
+ elif control_type == ControlType.CURSOR_UP:
32
+ term.move_cursor_up()
33
+ elif control_type == ControlType.CURSOR_DOWN:
34
+ term.move_cursor_down()
35
+ elif control_type == ControlType.CURSOR_FORWARD:
36
+ term.move_cursor_forward()
37
+ elif control_type == ControlType.CURSOR_BACKWARD:
38
+ term.move_cursor_backward()
39
+ elif control_type == ControlType.CURSOR_MOVE_TO_COLUMN:
40
+ _, column = cast(Tuple[ControlType, int], control_code)
41
+ term.move_cursor_to_column(column - 1)
42
+ elif control_type == ControlType.HIDE_CURSOR:
43
+ term.hide_cursor()
44
+ elif control_type == ControlType.SHOW_CURSOR:
45
+ term.show_cursor()
46
+ elif control_type == ControlType.ERASE_IN_LINE:
47
+ _, mode = cast(Tuple[ControlType, int], control_code)
48
+ if mode == 0:
49
+ term.erase_end_of_line()
50
+ elif mode == 1:
51
+ term.erase_start_of_line()
52
+ elif mode == 2:
53
+ term.erase_line()
54
+ elif control_type == ControlType.SET_WINDOW_TITLE:
55
+ _, title = cast(Tuple[ControlType, str], control_code)
56
+ term.set_title(title)
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/_wrap.py ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import re
4
+ from typing import Iterable
5
+
6
+ from ._loop import loop_last
7
+ from .cells import cell_len, chop_cells
8
+
9
+ re_word = re.compile(r"\s*\S+\s*")
10
+
11
+
12
+ def words(text: str) -> Iterable[tuple[int, int, str]]:
13
+ """Yields each word from the text as a tuple
14
+ containing (start_index, end_index, word). A "word" in this context may
15
+ include the actual word and any whitespace to the right.
16
+ """
17
+ position = 0
18
+ word_match = re_word.match(text, position)
19
+ while word_match is not None:
20
+ start, end = word_match.span()
21
+ word = word_match.group(0)
22
+ yield start, end, word
23
+ word_match = re_word.match(text, end)
24
+
25
+
26
+ def divide_line(text: str, width: int, fold: bool = True) -> list[int]:
27
+ """Given a string of text, and a width (measured in cells), return a list
28
+ of cell offsets which the string should be split at in order for it to fit
29
+ within the given width.
30
+
31
+ Args:
32
+ text: The text to examine.
33
+ width: The available cell width.
34
+ fold: If True, words longer than `width` will be folded onto a new line.
35
+
36
+ Returns:
37
+ A list of indices to break the line at.
38
+ """
39
+ break_positions: list[int] = [] # offsets to insert the breaks at
40
+ append = break_positions.append
41
+ cell_offset = 0
42
+ _cell_len = cell_len
43
+
44
+ for start, _end, word in words(text):
45
+ word_length = _cell_len(word.rstrip())
46
+ remaining_space = width - cell_offset
47
+ word_fits_remaining_space = remaining_space >= word_length
48
+
49
+ if word_fits_remaining_space:
50
+ # Simplest case - the word fits within the remaining width for this line.
51
+ cell_offset += _cell_len(word)
52
+ else:
53
+ # Not enough space remaining for this word on the current line.
54
+ if word_length > width:
55
+ # The word doesn't fit on any line, so we can't simply
56
+ # place it on the next line...
57
+ if fold:
58
+ # Fold the word across multiple lines.
59
+ folded_word = chop_cells(word, width=width)
60
+ for last, line in loop_last(folded_word):
61
+ if start:
62
+ append(start)
63
+ if last:
64
+ cell_offset = _cell_len(line)
65
+ else:
66
+ start += len(line)
67
+ else:
68
+ # Folding isn't allowed, so crop the word.
69
+ if start:
70
+ append(start)
71
+ cell_offset = _cell_len(word)
72
+ elif cell_offset and start:
73
+ # The word doesn't fit within the remaining space on the current
74
+ # line, but it *can* fit on to the next (empty) line.
75
+ append(start)
76
+ cell_offset = _cell_len(word)
77
+
78
+ return break_positions
79
+
80
+
81
+ if __name__ == "__main__": # pragma: no cover
82
+ from .console import Console
83
+
84
+ console = Console(width=10)
85
+ console.print("12345 abcdefghijklmnopqrstuvwyxzABCDEFGHIJKLMNOPQRSTUVWXYZ 12345")
86
+ print(chop_cells("abcdefghijklmnopqrstuvwxyz", 10))
87
+
88
+ console = Console(width=20)
89
+ console.rule()
90
+ console.print("TextualはPythonの高速アプリケーション開発フレームワークです")
91
+
92
+ console.rule()
93
+ console.print("アプリケーションは1670万色を使用でき")
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/abc.py ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from abc import ABC
2
+
3
+
4
+ class RichRenderable(ABC):
5
+ """An abstract base class for Rich renderables.
6
+
7
+ Note that there is no need to extend this class, the intended use is to check if an
8
+ object supports the Rich renderable protocol. For example::
9
+
10
+ if isinstance(my_object, RichRenderable):
11
+ console.print(my_object)
12
+
13
+ """
14
+
15
+ @classmethod
16
+ def __subclasshook__(cls, other: type) -> bool:
17
+ """Check if this class supports the rich render protocol."""
18
+ return hasattr(other, "__rich_console__") or hasattr(other, "__rich__")
19
+
20
+
21
+ if __name__ == "__main__": # pragma: no cover
22
+ from rich.text import Text
23
+
24
+ t = Text()
25
+ print(isinstance(Text, RichRenderable))
26
+ print(isinstance(t, RichRenderable))
27
+
28
+ class Foo:
29
+ pass
30
+
31
+ f = Foo()
32
+ print(isinstance(f, RichRenderable))
33
+ print(isinstance("", RichRenderable))
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/align.py ADDED
@@ -0,0 +1,320 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from itertools import chain
2
+ from typing import TYPE_CHECKING, Iterable, Optional, Literal
3
+
4
+ from .constrain import Constrain
5
+ from .jupyter import JupyterMixin
6
+ from .measure import Measurement
7
+ from .segment import Segment
8
+ from .style import StyleType
9
+
10
+ if TYPE_CHECKING:
11
+ from .console import Console, ConsoleOptions, RenderableType, RenderResult
12
+
13
+ AlignMethod = Literal["left", "center", "right"]
14
+ VerticalAlignMethod = Literal["top", "middle", "bottom"]
15
+
16
+
17
+ class Align(JupyterMixin):
18
+ """Align a renderable by adding spaces if necessary.
19
+
20
+ Args:
21
+ renderable (RenderableType): A console renderable.
22
+ align (AlignMethod): One of "left", "center", or "right""
23
+ style (StyleType, optional): An optional style to apply to the background.
24
+ vertical (Optional[VerticalAlignMethod], optional): Optional vertical align, one of "top", "middle", or "bottom". Defaults to None.
25
+ pad (bool, optional): Pad the right with spaces. Defaults to True.
26
+ width (int, optional): Restrict contents to given width, or None to use default width. Defaults to None.
27
+ height (int, optional): Set height of align renderable, or None to fit to contents. Defaults to None.
28
+
29
+ Raises:
30
+ ValueError: if ``align`` is not one of the expected values.
31
+
32
+ Example:
33
+ .. code-block:: python
34
+
35
+ from rich.console import Console
36
+ from rich.align import Align
37
+ from rich.panel import Panel
38
+
39
+ console = Console()
40
+ # Create a panel 20 characters wide
41
+ p = Panel("Hello, [b]World[/b]!", style="on green", width=20)
42
+
43
+ # Renders the panel centered in the terminal
44
+ console.print(Align(p, align="center"))
45
+ """
46
+
47
+ def __init__(
48
+ self,
49
+ renderable: "RenderableType",
50
+ align: AlignMethod = "left",
51
+ style: Optional[StyleType] = None,
52
+ *,
53
+ vertical: Optional[VerticalAlignMethod] = None,
54
+ pad: bool = True,
55
+ width: Optional[int] = None,
56
+ height: Optional[int] = None,
57
+ ) -> None:
58
+ if align not in ("left", "center", "right"):
59
+ raise ValueError(
60
+ f'invalid value for align, expected "left", "center", or "right" (not {align!r})'
61
+ )
62
+ if vertical is not None and vertical not in ("top", "middle", "bottom"):
63
+ raise ValueError(
64
+ f'invalid value for vertical, expected "top", "middle", or "bottom" (not {vertical!r})'
65
+ )
66
+ self.renderable = renderable
67
+ self.align = align
68
+ self.style = style
69
+ self.vertical = vertical
70
+ self.pad = pad
71
+ self.width = width
72
+ self.height = height
73
+
74
+ def __repr__(self) -> str:
75
+ return f"Align({self.renderable!r}, {self.align!r})"
76
+
77
+ @classmethod
78
+ def left(
79
+ cls,
80
+ renderable: "RenderableType",
81
+ style: Optional[StyleType] = None,
82
+ *,
83
+ vertical: Optional[VerticalAlignMethod] = None,
84
+ pad: bool = True,
85
+ width: Optional[int] = None,
86
+ height: Optional[int] = None,
87
+ ) -> "Align":
88
+ """Align a renderable to the left."""
89
+ return cls(
90
+ renderable,
91
+ "left",
92
+ style=style,
93
+ vertical=vertical,
94
+ pad=pad,
95
+ width=width,
96
+ height=height,
97
+ )
98
+
99
+ @classmethod
100
+ def center(
101
+ cls,
102
+ renderable: "RenderableType",
103
+ style: Optional[StyleType] = None,
104
+ *,
105
+ vertical: Optional[VerticalAlignMethod] = None,
106
+ pad: bool = True,
107
+ width: Optional[int] = None,
108
+ height: Optional[int] = None,
109
+ ) -> "Align":
110
+ """Align a renderable to the center."""
111
+ return cls(
112
+ renderable,
113
+ "center",
114
+ style=style,
115
+ vertical=vertical,
116
+ pad=pad,
117
+ width=width,
118
+ height=height,
119
+ )
120
+
121
+ @classmethod
122
+ def right(
123
+ cls,
124
+ renderable: "RenderableType",
125
+ style: Optional[StyleType] = None,
126
+ *,
127
+ vertical: Optional[VerticalAlignMethod] = None,
128
+ pad: bool = True,
129
+ width: Optional[int] = None,
130
+ height: Optional[int] = None,
131
+ ) -> "Align":
132
+ """Align a renderable to the right."""
133
+ return cls(
134
+ renderable,
135
+ "right",
136
+ style=style,
137
+ vertical=vertical,
138
+ pad=pad,
139
+ width=width,
140
+ height=height,
141
+ )
142
+
143
+ def __rich_console__(
144
+ self, console: "Console", options: "ConsoleOptions"
145
+ ) -> "RenderResult":
146
+ align = self.align
147
+ width = console.measure(self.renderable, options=options).maximum
148
+ rendered = console.render(
149
+ Constrain(
150
+ self.renderable, width if self.width is None else min(width, self.width)
151
+ ),
152
+ options.update(height=None),
153
+ )
154
+ lines = list(Segment.split_lines(rendered))
155
+ width, height = Segment.get_shape(lines)
156
+ lines = Segment.set_shape(lines, width, height)
157
+ new_line = Segment.line()
158
+ excess_space = options.max_width - width
159
+ style = console.get_style(self.style) if self.style is not None else None
160
+
161
+ def generate_segments() -> Iterable[Segment]:
162
+ if excess_space <= 0:
163
+ # Exact fit
164
+ for line in lines:
165
+ yield from line
166
+ yield new_line
167
+
168
+ elif align == "left":
169
+ # Pad on the right
170
+ pad = Segment(" " * excess_space, style) if self.pad else None
171
+ for line in lines:
172
+ yield from line
173
+ if pad:
174
+ yield pad
175
+ yield new_line
176
+
177
+ elif align == "center":
178
+ # Pad left and right
179
+ left = excess_space // 2
180
+ pad = Segment(" " * left, style)
181
+ pad_right = (
182
+ Segment(" " * (excess_space - left), style) if self.pad else None
183
+ )
184
+ for line in lines:
185
+ if left:
186
+ yield pad
187
+ yield from line
188
+ if pad_right:
189
+ yield pad_right
190
+ yield new_line
191
+
192
+ elif align == "right":
193
+ # Padding on left
194
+ pad = Segment(" " * excess_space, style)
195
+ for line in lines:
196
+ yield pad
197
+ yield from line
198
+ yield new_line
199
+
200
+ blank_line = (
201
+ Segment(f"{' ' * (self.width or options.max_width)}\n", style)
202
+ if self.pad
203
+ else Segment("\n")
204
+ )
205
+
206
+ def blank_lines(count: int) -> Iterable[Segment]:
207
+ if count > 0:
208
+ for _ in range(count):
209
+ yield blank_line
210
+
211
+ vertical_height = self.height or options.height
212
+ iter_segments: Iterable[Segment]
213
+ if self.vertical and vertical_height is not None:
214
+ if self.vertical == "top":
215
+ bottom_space = vertical_height - height
216
+ iter_segments = chain(generate_segments(), blank_lines(bottom_space))
217
+ elif self.vertical == "middle":
218
+ top_space = (vertical_height - height) // 2
219
+ bottom_space = vertical_height - top_space - height
220
+ iter_segments = chain(
221
+ blank_lines(top_space),
222
+ generate_segments(),
223
+ blank_lines(bottom_space),
224
+ )
225
+ else: # self.vertical == "bottom":
226
+ top_space = vertical_height - height
227
+ iter_segments = chain(blank_lines(top_space), generate_segments())
228
+ else:
229
+ iter_segments = generate_segments()
230
+ if self.style:
231
+ style = console.get_style(self.style)
232
+ iter_segments = Segment.apply_style(iter_segments, style)
233
+ yield from iter_segments
234
+
235
+ def __rich_measure__(
236
+ self, console: "Console", options: "ConsoleOptions"
237
+ ) -> Measurement:
238
+ measurement = Measurement.get(console, options, self.renderable)
239
+ return measurement
240
+
241
+
242
+ class VerticalCenter(JupyterMixin):
243
+ """Vertically aligns a renderable.
244
+
245
+ Warn:
246
+ This class is deprecated and may be removed in a future version. Use Align class with
247
+ `vertical="middle"`.
248
+
249
+ Args:
250
+ renderable (RenderableType): A renderable object.
251
+ style (StyleType, optional): An optional style to apply to the background. Defaults to None.
252
+ """
253
+
254
+ def __init__(
255
+ self,
256
+ renderable: "RenderableType",
257
+ style: Optional[StyleType] = None,
258
+ ) -> None:
259
+ self.renderable = renderable
260
+ self.style = style
261
+
262
+ def __repr__(self) -> str:
263
+ return f"VerticalCenter({self.renderable!r})"
264
+
265
+ def __rich_console__(
266
+ self, console: "Console", options: "ConsoleOptions"
267
+ ) -> "RenderResult":
268
+ style = console.get_style(self.style) if self.style is not None else None
269
+ lines = console.render_lines(
270
+ self.renderable, options.update(height=None), pad=False
271
+ )
272
+ width, _height = Segment.get_shape(lines)
273
+ new_line = Segment.line()
274
+ height = options.height or options.size.height
275
+ top_space = (height - len(lines)) // 2
276
+ bottom_space = height - top_space - len(lines)
277
+ blank_line = Segment(f"{' ' * width}", style)
278
+
279
+ def blank_lines(count: int) -> Iterable[Segment]:
280
+ for _ in range(count):
281
+ yield blank_line
282
+ yield new_line
283
+
284
+ if top_space > 0:
285
+ yield from blank_lines(top_space)
286
+ for line in lines:
287
+ yield from line
288
+ yield new_line
289
+ if bottom_space > 0:
290
+ yield from blank_lines(bottom_space)
291
+
292
+ def __rich_measure__(
293
+ self, console: "Console", options: "ConsoleOptions"
294
+ ) -> Measurement:
295
+ measurement = Measurement.get(console, options, self.renderable)
296
+ return measurement
297
+
298
+
299
+ if __name__ == "__main__": # pragma: no cover
300
+ from rich.console import Console, Group
301
+ from rich.highlighter import ReprHighlighter
302
+ from rich.panel import Panel
303
+
304
+ highlighter = ReprHighlighter()
305
+ console = Console()
306
+
307
+ panel = Panel(
308
+ Group(
309
+ Align.left(highlighter("align='left'")),
310
+ Align.center(highlighter("align='center'")),
311
+ Align.right(highlighter("align='right'")),
312
+ ),
313
+ width=60,
314
+ style="on dark_blue",
315
+ title="Align",
316
+ )
317
+
318
+ console.print(
319
+ Align.center(panel, vertical="middle", style="on red", height=console.height)
320
+ )
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/ansi.py ADDED
@@ -0,0 +1,241 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import re
2
+ import sys
3
+ from contextlib import suppress
4
+ from typing import Iterable, NamedTuple, Optional
5
+
6
+ from .color import Color
7
+ from .style import Style
8
+ from .text import Text
9
+
10
+ re_ansi = re.compile(
11
+ r"""
12
+ (?:\x1b[0-?])|
13
+ (?:\x1b\](.*?)\x1b\\)|
14
+ (?:\x1b([(@-Z\\-_]|\[[0-?]*[ -/]*[@-~]))
15
+ """,
16
+ re.VERBOSE,
17
+ )
18
+
19
+
20
+ class _AnsiToken(NamedTuple):
21
+ """Result of ansi tokenized string."""
22
+
23
+ plain: str = ""
24
+ sgr: Optional[str] = ""
25
+ osc: Optional[str] = ""
26
+
27
+
28
+ def _ansi_tokenize(ansi_text: str) -> Iterable[_AnsiToken]:
29
+ """Tokenize a string in to plain text and ANSI codes.
30
+
31
+ Args:
32
+ ansi_text (str): A String containing ANSI codes.
33
+
34
+ Yields:
35
+ AnsiToken: A named tuple of (plain, sgr, osc)
36
+ """
37
+
38
+ position = 0
39
+ sgr: Optional[str]
40
+ osc: Optional[str]
41
+ for match in re_ansi.finditer(ansi_text):
42
+ start, end = match.span(0)
43
+ osc, sgr = match.groups()
44
+ if start > position:
45
+ yield _AnsiToken(ansi_text[position:start])
46
+ if sgr:
47
+ if sgr == "(":
48
+ position = end + 1
49
+ continue
50
+ if sgr.endswith("m"):
51
+ yield _AnsiToken("", sgr[1:-1], osc)
52
+ else:
53
+ yield _AnsiToken("", sgr, osc)
54
+ position = end
55
+ if position < len(ansi_text):
56
+ yield _AnsiToken(ansi_text[position:])
57
+
58
+
59
+ SGR_STYLE_MAP = {
60
+ 1: "bold",
61
+ 2: "dim",
62
+ 3: "italic",
63
+ 4: "underline",
64
+ 5: "blink",
65
+ 6: "blink2",
66
+ 7: "reverse",
67
+ 8: "conceal",
68
+ 9: "strike",
69
+ 21: "underline2",
70
+ 22: "not dim not bold",
71
+ 23: "not italic",
72
+ 24: "not underline",
73
+ 25: "not blink",
74
+ 26: "not blink2",
75
+ 27: "not reverse",
76
+ 28: "not conceal",
77
+ 29: "not strike",
78
+ 30: "color(0)",
79
+ 31: "color(1)",
80
+ 32: "color(2)",
81
+ 33: "color(3)",
82
+ 34: "color(4)",
83
+ 35: "color(5)",
84
+ 36: "color(6)",
85
+ 37: "color(7)",
86
+ 39: "default",
87
+ 40: "on color(0)",
88
+ 41: "on color(1)",
89
+ 42: "on color(2)",
90
+ 43: "on color(3)",
91
+ 44: "on color(4)",
92
+ 45: "on color(5)",
93
+ 46: "on color(6)",
94
+ 47: "on color(7)",
95
+ 49: "on default",
96
+ 51: "frame",
97
+ 52: "encircle",
98
+ 53: "overline",
99
+ 54: "not frame not encircle",
100
+ 55: "not overline",
101
+ 90: "color(8)",
102
+ 91: "color(9)",
103
+ 92: "color(10)",
104
+ 93: "color(11)",
105
+ 94: "color(12)",
106
+ 95: "color(13)",
107
+ 96: "color(14)",
108
+ 97: "color(15)",
109
+ 100: "on color(8)",
110
+ 101: "on color(9)",
111
+ 102: "on color(10)",
112
+ 103: "on color(11)",
113
+ 104: "on color(12)",
114
+ 105: "on color(13)",
115
+ 106: "on color(14)",
116
+ 107: "on color(15)",
117
+ }
118
+
119
+
120
+ class AnsiDecoder:
121
+ """Translate ANSI code in to styled Text."""
122
+
123
+ def __init__(self) -> None:
124
+ self.style = Style.null()
125
+
126
+ def decode(self, terminal_text: str) -> Iterable[Text]:
127
+ """Decode ANSI codes in an iterable of lines.
128
+
129
+ Args:
130
+ lines (Iterable[str]): An iterable of lines of terminal output.
131
+
132
+ Yields:
133
+ Text: Marked up Text.
134
+ """
135
+ for line in terminal_text.splitlines():
136
+ yield self.decode_line(line)
137
+
138
+ def decode_line(self, line: str) -> Text:
139
+ """Decode a line containing ansi codes.
140
+
141
+ Args:
142
+ line (str): A line of terminal output.
143
+
144
+ Returns:
145
+ Text: A Text instance marked up according to ansi codes.
146
+ """
147
+ from_ansi = Color.from_ansi
148
+ from_rgb = Color.from_rgb
149
+ _Style = Style
150
+ text = Text()
151
+ append = text.append
152
+ line = line.rsplit("\r", 1)[-1]
153
+ for plain_text, sgr, osc in _ansi_tokenize(line):
154
+ if plain_text:
155
+ append(plain_text, self.style or None)
156
+ elif osc is not None:
157
+ if osc.startswith("8;"):
158
+ _params, semicolon, link = osc[2:].partition(";")
159
+ if semicolon:
160
+ self.style = self.style.update_link(link or None)
161
+ elif sgr is not None:
162
+ # Translate in to semi-colon separated codes
163
+ # Ignore invalid codes, because we want to be lenient
164
+ codes = [
165
+ min(255, int(_code) if _code else 0)
166
+ for _code in sgr.split(";")
167
+ if _code.isdigit() or _code == ""
168
+ ]
169
+ iter_codes = iter(codes)
170
+ for code in iter_codes:
171
+ if code == 0:
172
+ # reset
173
+ self.style = _Style.null()
174
+ elif code in SGR_STYLE_MAP:
175
+ # styles
176
+ self.style += _Style.parse(SGR_STYLE_MAP[code])
177
+ elif code == 38:
178
+ #  Foreground
179
+ with suppress(StopIteration):
180
+ color_type = next(iter_codes)
181
+ if color_type == 5:
182
+ self.style += _Style.from_color(
183
+ from_ansi(next(iter_codes))
184
+ )
185
+ elif color_type == 2:
186
+ self.style += _Style.from_color(
187
+ from_rgb(
188
+ next(iter_codes),
189
+ next(iter_codes),
190
+ next(iter_codes),
191
+ )
192
+ )
193
+ elif code == 48:
194
+ # Background
195
+ with suppress(StopIteration):
196
+ color_type = next(iter_codes)
197
+ if color_type == 5:
198
+ self.style += _Style.from_color(
199
+ None, from_ansi(next(iter_codes))
200
+ )
201
+ elif color_type == 2:
202
+ self.style += _Style.from_color(
203
+ None,
204
+ from_rgb(
205
+ next(iter_codes),
206
+ next(iter_codes),
207
+ next(iter_codes),
208
+ ),
209
+ )
210
+
211
+ return text
212
+
213
+
214
+ if sys.platform != "win32" and __name__ == "__main__": # pragma: no cover
215
+ import io
216
+ import os
217
+ import pty
218
+ import sys
219
+
220
+ decoder = AnsiDecoder()
221
+
222
+ stdout = io.BytesIO()
223
+
224
+ def read(fd: int) -> bytes:
225
+ data = os.read(fd, 1024)
226
+ stdout.write(data)
227
+ return data
228
+
229
+ pty.spawn(sys.argv[1:], read)
230
+
231
+ from .console import Console
232
+
233
+ console = Console(record=True)
234
+
235
+ stdout_result = stdout.getvalue().decode("utf-8")
236
+ print(stdout_result)
237
+
238
+ for line in decoder.decode(stdout_result):
239
+ console.print(line)
240
+
241
+ console.save_html("stdout.html")
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/bar.py ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Optional, Union
2
+
3
+ from .color import Color
4
+ from .console import Console, ConsoleOptions, RenderResult
5
+ from .jupyter import JupyterMixin
6
+ from .measure import Measurement
7
+ from .segment import Segment
8
+ from .style import Style
9
+
10
+ # There are left-aligned characters for 1/8 to 7/8, but
11
+ # the right-aligned characters exist only for 1/8 and 4/8.
12
+ BEGIN_BLOCK_ELEMENTS = ["█", "█", "█", "▐", "▐", "▐", "▕", "▕"]
13
+ END_BLOCK_ELEMENTS = [" ", "▏", "▎", "▍", "▌", "▋", "▊", "▉"]
14
+ FULL_BLOCK = "█"
15
+
16
+
17
+ class Bar(JupyterMixin):
18
+ """Renders a solid block bar.
19
+
20
+ Args:
21
+ size (float): Value for the end of the bar.
22
+ begin (float): Begin point (between 0 and size, inclusive).
23
+ end (float): End point (between 0 and size, inclusive).
24
+ width (int, optional): Width of the bar, or ``None`` for maximum width. Defaults to None.
25
+ color (Union[Color, str], optional): Color of the bar. Defaults to "default".
26
+ bgcolor (Union[Color, str], optional): Color of bar background. Defaults to "default".
27
+ """
28
+
29
+ def __init__(
30
+ self,
31
+ size: float,
32
+ begin: float,
33
+ end: float,
34
+ *,
35
+ width: Optional[int] = None,
36
+ color: Union[Color, str] = "default",
37
+ bgcolor: Union[Color, str] = "default",
38
+ ):
39
+ self.size = size
40
+ self.begin = max(begin, 0)
41
+ self.end = min(end, size)
42
+ self.width = width
43
+ self.style = Style(color=color, bgcolor=bgcolor)
44
+
45
+ def __repr__(self) -> str:
46
+ return f"Bar({self.size}, {self.begin}, {self.end})"
47
+
48
+ def __rich_console__(
49
+ self, console: Console, options: ConsoleOptions
50
+ ) -> RenderResult:
51
+ width = min(
52
+ self.width if self.width is not None else options.max_width,
53
+ options.max_width,
54
+ )
55
+
56
+ if self.begin >= self.end:
57
+ yield Segment(" " * width, self.style)
58
+ yield Segment.line()
59
+ return
60
+
61
+ prefix_complete_eights = int(width * 8 * self.begin / self.size)
62
+ prefix_bar_count = prefix_complete_eights // 8
63
+ prefix_eights_count = prefix_complete_eights % 8
64
+
65
+ body_complete_eights = int(width * 8 * self.end / self.size)
66
+ body_bar_count = body_complete_eights // 8
67
+ body_eights_count = body_complete_eights % 8
68
+
69
+ # When start and end fall into the same cell, we ideally should render
70
+ # a symbol that's "center-aligned", but there is no good symbol in Unicode.
71
+ # In this case, we fall back to right-aligned block symbol for simplicity.
72
+
73
+ prefix = " " * prefix_bar_count
74
+ if prefix_eights_count:
75
+ prefix += BEGIN_BLOCK_ELEMENTS[prefix_eights_count]
76
+
77
+ body = FULL_BLOCK * body_bar_count
78
+ if body_eights_count:
79
+ body += END_BLOCK_ELEMENTS[body_eights_count]
80
+
81
+ suffix = " " * (width - len(body))
82
+
83
+ yield Segment(prefix + body[len(prefix) :] + suffix, self.style)
84
+ yield Segment.line()
85
+
86
+ def __rich_measure__(
87
+ self, console: Console, options: ConsoleOptions
88
+ ) -> Measurement:
89
+ return (
90
+ Measurement(self.width, self.width)
91
+ if self.width is not None
92
+ else Measurement(4, options.max_width)
93
+ )
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/box.py ADDED
@@ -0,0 +1,474 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import TYPE_CHECKING, Iterable, List, Literal
2
+
3
+
4
+ from ._loop import loop_last
5
+
6
+ if TYPE_CHECKING:
7
+ from rich.console import ConsoleOptions
8
+
9
+
10
+ class Box:
11
+ """Defines characters to render boxes.
12
+
13
+ ┌─┬┐ top
14
+ │ ││ head
15
+ ├─┼┤ head_row
16
+ │ ││ mid
17
+ ├─┼┤ row
18
+ ├─┼┤ foot_row
19
+ │ ││ foot
20
+ └─┴┘ bottom
21
+
22
+ Args:
23
+ box (str): Characters making up box.
24
+ ascii (bool, optional): True if this box uses ascii characters only. Default is False.
25
+ """
26
+
27
+ def __init__(self, box: str, *, ascii: bool = False) -> None:
28
+ self._box = box
29
+ self.ascii = ascii
30
+ line1, line2, line3, line4, line5, line6, line7, line8 = box.splitlines()
31
+ # top
32
+ self.top_left, self.top, self.top_divider, self.top_right = iter(line1)
33
+ # head
34
+ self.head_left, _, self.head_vertical, self.head_right = iter(line2)
35
+ # head_row
36
+ (
37
+ self.head_row_left,
38
+ self.head_row_horizontal,
39
+ self.head_row_cross,
40
+ self.head_row_right,
41
+ ) = iter(line3)
42
+
43
+ # mid
44
+ self.mid_left, _, self.mid_vertical, self.mid_right = iter(line4)
45
+ # row
46
+ self.row_left, self.row_horizontal, self.row_cross, self.row_right = iter(line5)
47
+ # foot_row
48
+ (
49
+ self.foot_row_left,
50
+ self.foot_row_horizontal,
51
+ self.foot_row_cross,
52
+ self.foot_row_right,
53
+ ) = iter(line6)
54
+ # foot
55
+ self.foot_left, _, self.foot_vertical, self.foot_right = iter(line7)
56
+ # bottom
57
+ self.bottom_left, self.bottom, self.bottom_divider, self.bottom_right = iter(
58
+ line8
59
+ )
60
+
61
+ def __repr__(self) -> str:
62
+ return "Box(...)"
63
+
64
+ def __str__(self) -> str:
65
+ return self._box
66
+
67
+ def substitute(self, options: "ConsoleOptions", safe: bool = True) -> "Box":
68
+ """Substitute this box for another if it won't render due to platform issues.
69
+
70
+ Args:
71
+ options (ConsoleOptions): Console options used in rendering.
72
+ safe (bool, optional): Substitute this for another Box if there are known problems
73
+ displaying on the platform (currently only relevant on Windows). Default is True.
74
+
75
+ Returns:
76
+ Box: A different Box or the same Box.
77
+ """
78
+ box = self
79
+ if options.legacy_windows and safe:
80
+ box = LEGACY_WINDOWS_SUBSTITUTIONS.get(box, box)
81
+ if options.ascii_only and not box.ascii:
82
+ box = ASCII
83
+ return box
84
+
85
+ def get_plain_headed_box(self) -> "Box":
86
+ """If this box uses special characters for the borders of the header, then
87
+ return the equivalent box that does not.
88
+
89
+ Returns:
90
+ Box: The most similar Box that doesn't use header-specific box characters.
91
+ If the current Box already satisfies this criterion, then it's returned.
92
+ """
93
+ return PLAIN_HEADED_SUBSTITUTIONS.get(self, self)
94
+
95
+ def get_top(self, widths: Iterable[int]) -> str:
96
+ """Get the top of a simple box.
97
+
98
+ Args:
99
+ widths (List[int]): Widths of columns.
100
+
101
+ Returns:
102
+ str: A string of box characters.
103
+ """
104
+
105
+ parts: List[str] = []
106
+ append = parts.append
107
+ append(self.top_left)
108
+ for last, width in loop_last(widths):
109
+ append(self.top * width)
110
+ if not last:
111
+ append(self.top_divider)
112
+ append(self.top_right)
113
+ return "".join(parts)
114
+
115
+ def get_row(
116
+ self,
117
+ widths: Iterable[int],
118
+ level: Literal["head", "row", "foot", "mid"] = "row",
119
+ edge: bool = True,
120
+ ) -> str:
121
+ """Get the top of a simple box.
122
+
123
+ Args:
124
+ width (List[int]): Widths of columns.
125
+
126
+ Returns:
127
+ str: A string of box characters.
128
+ """
129
+ if level == "head":
130
+ left = self.head_row_left
131
+ horizontal = self.head_row_horizontal
132
+ cross = self.head_row_cross
133
+ right = self.head_row_right
134
+ elif level == "row":
135
+ left = self.row_left
136
+ horizontal = self.row_horizontal
137
+ cross = self.row_cross
138
+ right = self.row_right
139
+ elif level == "mid":
140
+ left = self.mid_left
141
+ horizontal = " "
142
+ cross = self.mid_vertical
143
+ right = self.mid_right
144
+ elif level == "foot":
145
+ left = self.foot_row_left
146
+ horizontal = self.foot_row_horizontal
147
+ cross = self.foot_row_cross
148
+ right = self.foot_row_right
149
+ else:
150
+ raise ValueError("level must be 'head', 'row' or 'foot'")
151
+
152
+ parts: List[str] = []
153
+ append = parts.append
154
+ if edge:
155
+ append(left)
156
+ for last, width in loop_last(widths):
157
+ append(horizontal * width)
158
+ if not last:
159
+ append(cross)
160
+ if edge:
161
+ append(right)
162
+ return "".join(parts)
163
+
164
+ def get_bottom(self, widths: Iterable[int]) -> str:
165
+ """Get the bottom of a simple box.
166
+
167
+ Args:
168
+ widths (List[int]): Widths of columns.
169
+
170
+ Returns:
171
+ str: A string of box characters.
172
+ """
173
+
174
+ parts: List[str] = []
175
+ append = parts.append
176
+ append(self.bottom_left)
177
+ for last, width in loop_last(widths):
178
+ append(self.bottom * width)
179
+ if not last:
180
+ append(self.bottom_divider)
181
+ append(self.bottom_right)
182
+ return "".join(parts)
183
+
184
+
185
+ # fmt: off
186
+ ASCII: Box = Box(
187
+ "+--+\n"
188
+ "| ||\n"
189
+ "|-+|\n"
190
+ "| ||\n"
191
+ "|-+|\n"
192
+ "|-+|\n"
193
+ "| ||\n"
194
+ "+--+\n",
195
+ ascii=True,
196
+ )
197
+
198
+ ASCII2: Box = Box(
199
+ "+-++\n"
200
+ "| ||\n"
201
+ "+-++\n"
202
+ "| ||\n"
203
+ "+-++\n"
204
+ "+-++\n"
205
+ "| ||\n"
206
+ "+-++\n",
207
+ ascii=True,
208
+ )
209
+
210
+ ASCII_DOUBLE_HEAD: Box = Box(
211
+ "+-++\n"
212
+ "| ||\n"
213
+ "+=++\n"
214
+ "| ||\n"
215
+ "+-++\n"
216
+ "+-++\n"
217
+ "| ||\n"
218
+ "+-++\n",
219
+ ascii=True,
220
+ )
221
+
222
+ SQUARE: Box = Box(
223
+ "┌─┬┐\n"
224
+ "│ ││\n"
225
+ "├─┼┤\n"
226
+ "│ ││\n"
227
+ "├─┼┤\n"
228
+ "├─┼┤\n"
229
+ "│ ││\n"
230
+ "└─┴┘\n"
231
+ )
232
+
233
+ SQUARE_DOUBLE_HEAD: Box = Box(
234
+ "┌─┬┐\n"
235
+ "│ ││\n"
236
+ "╞═╪╡\n"
237
+ "│ ││\n"
238
+ "├─┼┤\n"
239
+ "├─┼┤\n"
240
+ "│ ││\n"
241
+ "└─┴┘\n"
242
+ )
243
+
244
+ MINIMAL: Box = Box(
245
+ " ╷ \n"
246
+ " │ \n"
247
+ "╶─┼╴\n"
248
+ " │ \n"
249
+ "╶─┼╴\n"
250
+ "╶─┼╴\n"
251
+ " │ \n"
252
+ " ╵ \n"
253
+ )
254
+
255
+
256
+ MINIMAL_HEAVY_HEAD: Box = Box(
257
+ " ╷ \n"
258
+ " │ \n"
259
+ "╺━┿╸\n"
260
+ " │ \n"
261
+ "╶─┼╴\n"
262
+ "╶─┼╴\n"
263
+ " │ \n"
264
+ " ╵ \n"
265
+ )
266
+
267
+ MINIMAL_DOUBLE_HEAD: Box = Box(
268
+ " ╷ \n"
269
+ " │ \n"
270
+ " ═╪ \n"
271
+ " │ \n"
272
+ " ─┼ \n"
273
+ " ─┼ \n"
274
+ " │ \n"
275
+ " ╵ \n"
276
+ )
277
+
278
+
279
+ SIMPLE: Box = Box(
280
+ " \n"
281
+ " \n"
282
+ " ── \n"
283
+ " \n"
284
+ " \n"
285
+ " ── \n"
286
+ " \n"
287
+ " \n"
288
+ )
289
+
290
+ SIMPLE_HEAD: Box = Box(
291
+ " \n"
292
+ " \n"
293
+ " ── \n"
294
+ " \n"
295
+ " \n"
296
+ " \n"
297
+ " \n"
298
+ " \n"
299
+ )
300
+
301
+
302
+ SIMPLE_HEAVY: Box = Box(
303
+ " \n"
304
+ " \n"
305
+ " ━━ \n"
306
+ " \n"
307
+ " \n"
308
+ " ━━ \n"
309
+ " \n"
310
+ " \n"
311
+ )
312
+
313
+
314
+ HORIZONTALS: Box = Box(
315
+ " ── \n"
316
+ " \n"
317
+ " ── \n"
318
+ " \n"
319
+ " ── \n"
320
+ " ── \n"
321
+ " \n"
322
+ " ── \n"
323
+ )
324
+
325
+ ROUNDED: Box = Box(
326
+ "╭─┬╮\n"
327
+ "│ ││\n"
328
+ "├─┼┤\n"
329
+ "│ ││\n"
330
+ "├─┼┤\n"
331
+ "├─┼┤\n"
332
+ "│ ││\n"
333
+ "╰─┴╯\n"
334
+ )
335
+
336
+ HEAVY: Box = Box(
337
+ "┏━┳┓\n"
338
+ "┃ ┃┃\n"
339
+ "┣━╋┫\n"
340
+ "┃ ┃┃\n"
341
+ "┣━╋┫\n"
342
+ "┣━╋┫\n"
343
+ "┃ ┃┃\n"
344
+ "┗━┻┛\n"
345
+ )
346
+
347
+ HEAVY_EDGE: Box = Box(
348
+ "┏━┯┓\n"
349
+ "┃ │┃\n"
350
+ "┠─┼┨\n"
351
+ "┃ │┃\n"
352
+ "┠─┼┨\n"
353
+ "┠─┼┨\n"
354
+ "┃ │┃\n"
355
+ "┗━┷┛\n"
356
+ )
357
+
358
+ HEAVY_HEAD: Box = Box(
359
+ "┏━┳┓\n"
360
+ "┃ ┃┃\n"
361
+ "┡━╇┩\n"
362
+ "│ ││\n"
363
+ "├─┼┤\n"
364
+ "├─┼┤\n"
365
+ "│ ││\n"
366
+ "└─┴┘\n"
367
+ )
368
+
369
+ DOUBLE: Box = Box(
370
+ "╔═╦╗\n"
371
+ "║ ║║\n"
372
+ "╠═╬╣\n"
373
+ "║ ║║\n"
374
+ "╠═╬╣\n"
375
+ "╠═╬╣\n"
376
+ "║ ║║\n"
377
+ "╚═╩╝\n"
378
+ )
379
+
380
+ DOUBLE_EDGE: Box = Box(
381
+ "╔═╤╗\n"
382
+ "║ │║\n"
383
+ "╟─┼╢\n"
384
+ "║ │║\n"
385
+ "╟─┼╢\n"
386
+ "╟─┼╢\n"
387
+ "║ │║\n"
388
+ "╚═╧╝\n"
389
+ )
390
+
391
+ MARKDOWN: Box = Box(
392
+ " \n"
393
+ "| ||\n"
394
+ "|-||\n"
395
+ "| ||\n"
396
+ "|-||\n"
397
+ "|-||\n"
398
+ "| ||\n"
399
+ " \n",
400
+ ascii=True,
401
+ )
402
+ # fmt: on
403
+
404
+ # Map Boxes that don't render with raster fonts on to equivalent that do
405
+ LEGACY_WINDOWS_SUBSTITUTIONS = {
406
+ ROUNDED: SQUARE,
407
+ MINIMAL_HEAVY_HEAD: MINIMAL,
408
+ SIMPLE_HEAVY: SIMPLE,
409
+ HEAVY: SQUARE,
410
+ HEAVY_EDGE: SQUARE,
411
+ HEAVY_HEAD: SQUARE,
412
+ }
413
+
414
+ # Map headed boxes to their headerless equivalents
415
+ PLAIN_HEADED_SUBSTITUTIONS = {
416
+ HEAVY_HEAD: SQUARE,
417
+ SQUARE_DOUBLE_HEAD: SQUARE,
418
+ MINIMAL_DOUBLE_HEAD: MINIMAL,
419
+ MINIMAL_HEAVY_HEAD: MINIMAL,
420
+ ASCII_DOUBLE_HEAD: ASCII2,
421
+ }
422
+
423
+
424
+ if __name__ == "__main__": # pragma: no cover
425
+ from rich.columns import Columns
426
+ from rich.panel import Panel
427
+
428
+ from . import box as box
429
+ from .console import Console
430
+ from .table import Table
431
+ from .text import Text
432
+
433
+ console = Console(record=True)
434
+
435
+ BOXES = [
436
+ "ASCII",
437
+ "ASCII2",
438
+ "ASCII_DOUBLE_HEAD",
439
+ "SQUARE",
440
+ "SQUARE_DOUBLE_HEAD",
441
+ "MINIMAL",
442
+ "MINIMAL_HEAVY_HEAD",
443
+ "MINIMAL_DOUBLE_HEAD",
444
+ "SIMPLE",
445
+ "SIMPLE_HEAD",
446
+ "SIMPLE_HEAVY",
447
+ "HORIZONTALS",
448
+ "ROUNDED",
449
+ "HEAVY",
450
+ "HEAVY_EDGE",
451
+ "HEAVY_HEAD",
452
+ "DOUBLE",
453
+ "DOUBLE_EDGE",
454
+ "MARKDOWN",
455
+ ]
456
+
457
+ console.print(Panel("[bold green]Box Constants", style="green"), justify="center")
458
+ console.print()
459
+
460
+ columns = Columns(expand=True, padding=2)
461
+ for box_name in sorted(BOXES):
462
+ table = Table(
463
+ show_footer=True, style="dim", border_style="not dim", expand=True
464
+ )
465
+ table.add_column("Header 1", "Footer 1")
466
+ table.add_column("Header 2", "Footer 2")
467
+ table.add_row("Cell", "Cell")
468
+ table.add_row("Cell", "Cell")
469
+ table.box = getattr(box, box_name)
470
+ table.title = Text(f"box.{box_name}", style="magenta")
471
+ columns.add_renderable(table)
472
+ console.print(columns)
473
+
474
+ # console.save_svg("box.svg")
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/cells.py ADDED
@@ -0,0 +1,352 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ from functools import lru_cache
4
+ from operator import itemgetter
5
+ from typing import Callable, NamedTuple, Sequence, Tuple
6
+
7
+ from rich._unicode_data import load as load_cell_table
8
+
9
+ CellSpan = Tuple[int, int, int]
10
+
11
+ _span_get_cell_len = itemgetter(2)
12
+
13
+ # Ranges of unicode ordinals that produce a 1-cell wide character
14
+ # This is non-exhaustive, but covers most common Western characters
15
+ _SINGLE_CELL_UNICODE_RANGES: list[tuple[int, int]] = [
16
+ (0x20, 0x7E), # Latin (excluding non-printable)
17
+ (0xA0, 0xAC),
18
+ (0xAE, 0x002FF),
19
+ (0x00370, 0x00482), # Greek / Cyrillic
20
+ (0x02500, 0x025FC), # Box drawing, box elements, geometric shapes
21
+ (0x02800, 0x028FF), # Braille
22
+ ]
23
+
24
+ # A frozen set of characters that are a single cell wide
25
+ _SINGLE_CELLS = frozenset(
26
+ [
27
+ character
28
+ for _start, _end in _SINGLE_CELL_UNICODE_RANGES
29
+ for character in map(chr, range(_start, _end + 1))
30
+ ]
31
+ )
32
+
33
+ # When called with a string this will return True if all
34
+ # characters are single-cell, otherwise False
35
+ _is_single_cell_widths: Callable[[str], bool] = _SINGLE_CELLS.issuperset
36
+
37
+
38
+ class CellTable(NamedTuple):
39
+ """Contains unicode data required to measure the cell widths of glyphs."""
40
+
41
+ unicode_version: str
42
+ widths: Sequence[tuple[int, int, int]]
43
+ narrow_to_wide: frozenset[str]
44
+
45
+
46
+ @lru_cache(maxsize=4096)
47
+ def get_character_cell_size(character: str, unicode_version: str = "auto") -> int:
48
+ """Get the cell size of a character.
49
+
50
+ Args:
51
+ character (str): A single character.
52
+ unicode_version: Unicode version, `"auto"` to auto detect, `"latest"` for the latest unicode version.
53
+
54
+ Returns:
55
+ int: Number of cells (0, 1 or 2) occupied by that character.
56
+ """
57
+ codepoint = ord(character)
58
+ if codepoint and codepoint < 32 or 0x07F <= codepoint < 0x0A0:
59
+ return 0
60
+ table = load_cell_table(unicode_version).widths
61
+
62
+ last_entry = table[-1]
63
+ if codepoint > last_entry[1]:
64
+ return 1
65
+
66
+ lower_bound = 0
67
+ upper_bound = len(table) - 1
68
+
69
+ while lower_bound <= upper_bound:
70
+ index = (lower_bound + upper_bound) >> 1
71
+ start, end, width = table[index]
72
+ if codepoint < start:
73
+ upper_bound = index - 1
74
+ elif codepoint > end:
75
+ lower_bound = index + 1
76
+ else:
77
+ return width
78
+ return 1
79
+
80
+
81
+ @lru_cache(4096)
82
+ def cached_cell_len(text: str, unicode_version: str = "auto") -> int:
83
+ """Get the number of cells required to display text.
84
+
85
+ This method always caches, which may use up a lot of memory. It is recommended to use
86
+ `cell_len` over this method.
87
+
88
+ Args:
89
+ text (str): Text to display.
90
+ unicode_version: Unicode version, `"auto"` to auto detect, `"latest"` for the latest unicode version.
91
+
92
+ Returns:
93
+ int: Get the number of cells required to display text.
94
+ """
95
+ return _cell_len(text, unicode_version)
96
+
97
+
98
+ def cell_len(text: str, unicode_version: str = "auto") -> int:
99
+ """Get the cell length of a string (length as it appears in the terminal).
100
+
101
+ Args:
102
+ text: String to measure.
103
+ unicode_version: Unicode version, `"auto"` to auto detect, `"latest"` for the latest unicode version.
104
+
105
+ Returns:
106
+ Length of string in terminal cells.
107
+ """
108
+ if len(text) < 512:
109
+ return cached_cell_len(text, unicode_version)
110
+ return _cell_len(text, unicode_version)
111
+
112
+
113
+ def _cell_len(text: str, unicode_version: str) -> int:
114
+ """Get the cell length of a string (length as it appears in the terminal).
115
+
116
+ Args:
117
+ text: String to measure.
118
+ unicode_version: Unicode version, `"auto"` to auto detect, `"latest"` for the latest unicode version.
119
+
120
+ Returns:
121
+ Length of string in terminal cells.
122
+ """
123
+
124
+ if _is_single_cell_widths(text):
125
+ return len(text)
126
+
127
+ # "\u200d" is zero width joiner
128
+ # "\ufe0f" is variation selector 16
129
+ if "\u200d" not in text and "\ufe0f" not in text:
130
+ # Simplest case with no unicode stuff that changes the size
131
+ return sum(
132
+ get_character_cell_size(character, unicode_version) for character in text
133
+ )
134
+
135
+ cell_table = load_cell_table(unicode_version)
136
+ total_width = 0
137
+ last_measured_character: str | None = None
138
+
139
+ SPECIAL = {"\u200d", "\ufe0f"}
140
+
141
+ index = 0
142
+ character_count = len(text)
143
+
144
+ while index < character_count:
145
+ character = text[index]
146
+ if character in SPECIAL:
147
+ if character == "\u200d":
148
+ index += 1
149
+ elif last_measured_character:
150
+ total_width += last_measured_character in cell_table.narrow_to_wide
151
+ last_measured_character = None
152
+ else:
153
+ if character_width := get_character_cell_size(character, unicode_version):
154
+ last_measured_character = character
155
+ total_width += character_width
156
+ index += 1
157
+
158
+ return total_width
159
+
160
+
161
+ def split_graphemes(
162
+ text: str, unicode_version: str = "auto"
163
+ ) -> "tuple[list[CellSpan], int]":
164
+ """Divide text into spans that define a single grapheme, and additionally return the cell length of the whole string.
165
+
166
+ The returned spans will cover every index in the string, with no gaps. It is possible for some graphemes to have a cell length of zero.
167
+ This can occur for nonsense strings like two zero width joiners, or for control codes that don't contribute to the grapheme size.
168
+
169
+ Args:
170
+ text: String to split.
171
+ unicode_version: Unicode version, `"auto"` to auto detect, `"latest"` for the latest unicode version.
172
+
173
+ Returns:
174
+ A tuple of a list of *spans* and the cell length of the entire string. A span is a list of tuples
175
+ of three values consisting of (<START>, <END>, <CELL LENGTH>), where START and END are string indices,
176
+ and CELL LENGTH is the cell length of the single grapheme.
177
+ """
178
+
179
+ cell_table = load_cell_table(unicode_version)
180
+ codepoint_count = len(text)
181
+ index = 0
182
+ last_measured_character: str | None = None
183
+
184
+ total_width = 0
185
+ spans: list[tuple[int, int, int]] = []
186
+ SPECIAL = {"\u200d", "\ufe0f"}
187
+ while index < codepoint_count:
188
+ if (character := text[index]) in SPECIAL:
189
+ if not spans:
190
+ # ZWJ or variation selector at the beginning of the string doesn't really make sense.
191
+ # But handle it, we must.
192
+ spans.append((index, index := index + 1, 0))
193
+ continue
194
+ if character == "\u200d":
195
+ # zero width joiner
196
+ # The condition handles the case where a ZWJ is at the end of the string, and has nothing to join
197
+ index += 2 if index < (codepoint_count - 1) else 1
198
+ start, _end, cell_length = spans[-1]
199
+ spans[-1] = (start, index, cell_length)
200
+ else:
201
+ # variation selector 16
202
+ index += 1
203
+ if last_measured_character:
204
+ start, _end, cell_length = spans[-1]
205
+ if last_measured_character in cell_table.narrow_to_wide:
206
+ last_measured_character = None
207
+ cell_length += 1
208
+ total_width += 1
209
+ spans[-1] = (start, index, cell_length)
210
+ else:
211
+ # No previous character to change the size of.
212
+ # Shouldn't occur in practice.
213
+ # But handle it, we must.
214
+ start, _end, cell_length = spans[-1]
215
+ spans[-1] = (start, index, cell_length)
216
+ continue
217
+
218
+ if character_width := get_character_cell_size(character, unicode_version):
219
+ last_measured_character = character
220
+ spans.append((index, index := index + 1, character_width))
221
+ total_width += character_width
222
+ else:
223
+ # Character has zero width
224
+ if spans:
225
+ # zero width characters are associated with the previous character
226
+ start, _end, cell_length = spans[-1]
227
+ spans[-1] = (start, index := index + 1, cell_length)
228
+ else:
229
+ # A zero width character with no prior spans
230
+ spans.append((index, index := index + 1, 0))
231
+
232
+ return (spans, total_width)
233
+
234
+
235
+ def _split_text(
236
+ text: str, cell_position: int, unicode_version: str = "auto"
237
+ ) -> tuple[str, str]:
238
+ """Split text by cell position.
239
+
240
+ If the cell position falls within a double width character, it is converted to two spaces.
241
+
242
+ Args:
243
+ text: Text to split.
244
+ cell_position Offset in cells.
245
+ unicode_version: Unicode version, `"auto"` to auto detect, `"latest"` for the latest unicode version.
246
+
247
+ Returns:
248
+ Tuple to two split strings.
249
+ """
250
+ if cell_position <= 0:
251
+ return "", text
252
+
253
+ spans, cell_length = split_graphemes(text, unicode_version)
254
+
255
+ # Guess initial offset
256
+ offset = int((cell_position / cell_length) * len(spans))
257
+ left_size = sum(map(_span_get_cell_len, spans[:offset]))
258
+
259
+ while True:
260
+ if left_size == cell_position:
261
+ if offset >= len(spans):
262
+ return text, ""
263
+ split_index = spans[offset][0]
264
+ return text[:split_index], text[split_index:]
265
+ if left_size < cell_position:
266
+ start, end, cell_size = spans[offset]
267
+ if left_size + cell_size > cell_position:
268
+ return text[:start] + " ", " " + text[end:]
269
+ offset += 1
270
+ left_size += cell_size
271
+ else: # left_size > cell_position
272
+ start, end, cell_size = spans[offset - 1]
273
+ if left_size - cell_size < cell_position:
274
+ return text[:start] + " ", " " + text[end:]
275
+ offset -= 1
276
+ left_size -= cell_size
277
+
278
+
279
+ def split_text(
280
+ text: str, cell_position: int, unicode_version: str = "auto"
281
+ ) -> tuple[str, str]:
282
+ """Split text by cell position.
283
+
284
+ If the cell position falls within a double width character, it is converted to two spaces.
285
+
286
+ Args:
287
+ text: Text to split.
288
+ cell_position Offset in cells.
289
+ unicode_version: Unicode version, `"auto"` to auto detect, `"latest"` for the latest unicode version.
290
+
291
+ Returns:
292
+ Tuple to two split strings.
293
+ """
294
+ if _is_single_cell_widths(text):
295
+ return text[:cell_position], text[cell_position:]
296
+ return _split_text(text, cell_position, unicode_version)
297
+
298
+
299
+ def set_cell_size(text: str, total: int, unicode_version: str = "auto") -> str:
300
+ """Adjust a string by cropping or padding with spaces such that it fits within the given number of cells.
301
+
302
+ Args:
303
+ text: String to adjust.
304
+ total: Desired size in cells.
305
+ unicode_version: Unicode version.
306
+
307
+ Returns:
308
+ A string with cell size equal to total.
309
+ """
310
+ if _is_single_cell_widths(text):
311
+ size = len(text)
312
+ if size < total:
313
+ return text + " " * (total - size)
314
+ return text[:total]
315
+ if total <= 0:
316
+ return ""
317
+ cell_size = cell_len(text)
318
+ if cell_size == total:
319
+ return text
320
+ if cell_size < total:
321
+ return text + " " * (total - cell_size)
322
+ text, _ = _split_text(text, total, unicode_version)
323
+ return text
324
+
325
+
326
+ def chop_cells(text: str, width: int, unicode_version: str = "auto") -> list[str]:
327
+ """Split text into lines such that each line fits within the available (cell) width.
328
+
329
+ Args:
330
+ text: The text to fold such that it fits in the given width.
331
+ width: The width available (number of cells).
332
+
333
+ Returns:
334
+ A list of strings such that each string in the list has cell width
335
+ less than or equal to the available width.
336
+ """
337
+ if _is_single_cell_widths(text):
338
+ return [text[index : index + width] for index in range(0, len(text), width)]
339
+ spans, _ = split_graphemes(text, unicode_version)
340
+ line_size = 0 # Size of line in cells
341
+ lines: list[str] = []
342
+ line_offset = 0 # Offset (in codepoints) of start of line
343
+ for start, end, cell_size in spans:
344
+ if line_size + cell_size > width:
345
+ lines.append(text[line_offset:start])
346
+ line_offset = start
347
+ line_size = 0
348
+ line_size += cell_size
349
+ if line_size:
350
+ lines.append(text[line_offset:])
351
+
352
+ return lines
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/color.py ADDED
@@ -0,0 +1,621 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import re
2
+ import sys
3
+ from colorsys import rgb_to_hls
4
+ from enum import IntEnum
5
+ from functools import lru_cache
6
+ from typing import TYPE_CHECKING, NamedTuple, Optional, Tuple
7
+
8
+ from ._palettes import EIGHT_BIT_PALETTE, STANDARD_PALETTE, WINDOWS_PALETTE
9
+ from .color_triplet import ColorTriplet
10
+ from .repr import Result, rich_repr
11
+ from .terminal_theme import DEFAULT_TERMINAL_THEME
12
+
13
+ if TYPE_CHECKING: # pragma: no cover
14
+ from .terminal_theme import TerminalTheme
15
+ from .text import Text
16
+
17
+
18
+ WINDOWS = sys.platform == "win32"
19
+
20
+
21
+ class ColorSystem(IntEnum):
22
+ """One of the 3 color system supported by terminals."""
23
+
24
+ STANDARD = 1
25
+ EIGHT_BIT = 2
26
+ TRUECOLOR = 3
27
+ WINDOWS = 4
28
+
29
+ def __repr__(self) -> str:
30
+ return f"ColorSystem.{self.name}"
31
+
32
+ def __str__(self) -> str:
33
+ return repr(self)
34
+
35
+
36
+ class ColorType(IntEnum):
37
+ """Type of color stored in Color class."""
38
+
39
+ DEFAULT = 0
40
+ STANDARD = 1
41
+ EIGHT_BIT = 2
42
+ TRUECOLOR = 3
43
+ WINDOWS = 4
44
+
45
+ def __repr__(self) -> str:
46
+ return f"ColorType.{self.name}"
47
+
48
+
49
+ ANSI_COLOR_NAMES = {
50
+ "black": 0,
51
+ "red": 1,
52
+ "green": 2,
53
+ "yellow": 3,
54
+ "blue": 4,
55
+ "magenta": 5,
56
+ "cyan": 6,
57
+ "white": 7,
58
+ "bright_black": 8,
59
+ "bright_red": 9,
60
+ "bright_green": 10,
61
+ "bright_yellow": 11,
62
+ "bright_blue": 12,
63
+ "bright_magenta": 13,
64
+ "bright_cyan": 14,
65
+ "bright_white": 15,
66
+ "grey0": 16,
67
+ "gray0": 16,
68
+ "navy_blue": 17,
69
+ "dark_blue": 18,
70
+ "blue3": 20,
71
+ "blue1": 21,
72
+ "dark_green": 22,
73
+ "deep_sky_blue4": 25,
74
+ "dodger_blue3": 26,
75
+ "dodger_blue2": 27,
76
+ "green4": 28,
77
+ "spring_green4": 29,
78
+ "turquoise4": 30,
79
+ "deep_sky_blue3": 32,
80
+ "dodger_blue1": 33,
81
+ "green3": 40,
82
+ "spring_green3": 41,
83
+ "dark_cyan": 36,
84
+ "light_sea_green": 37,
85
+ "deep_sky_blue2": 38,
86
+ "deep_sky_blue1": 39,
87
+ "spring_green2": 47,
88
+ "cyan3": 43,
89
+ "dark_turquoise": 44,
90
+ "turquoise2": 45,
91
+ "green1": 46,
92
+ "spring_green1": 48,
93
+ "medium_spring_green": 49,
94
+ "cyan2": 50,
95
+ "cyan1": 51,
96
+ "dark_red": 88,
97
+ "deep_pink4": 125,
98
+ "purple4": 55,
99
+ "purple3": 56,
100
+ "blue_violet": 57,
101
+ "orange4": 94,
102
+ "grey37": 59,
103
+ "gray37": 59,
104
+ "medium_purple4": 60,
105
+ "slate_blue3": 62,
106
+ "royal_blue1": 63,
107
+ "chartreuse4": 64,
108
+ "dark_sea_green4": 71,
109
+ "pale_turquoise4": 66,
110
+ "steel_blue": 67,
111
+ "steel_blue3": 68,
112
+ "cornflower_blue": 69,
113
+ "chartreuse3": 76,
114
+ "cadet_blue": 73,
115
+ "sky_blue3": 74,
116
+ "steel_blue1": 81,
117
+ "pale_green3": 114,
118
+ "sea_green3": 78,
119
+ "aquamarine3": 79,
120
+ "medium_turquoise": 80,
121
+ "chartreuse2": 112,
122
+ "sea_green2": 83,
123
+ "sea_green1": 85,
124
+ "aquamarine1": 122,
125
+ "dark_slate_gray2": 87,
126
+ "dark_magenta": 91,
127
+ "dark_violet": 128,
128
+ "purple": 129,
129
+ "light_pink4": 95,
130
+ "plum4": 96,
131
+ "medium_purple3": 98,
132
+ "slate_blue1": 99,
133
+ "yellow4": 106,
134
+ "wheat4": 101,
135
+ "grey53": 102,
136
+ "gray53": 102,
137
+ "light_slate_grey": 103,
138
+ "light_slate_gray": 103,
139
+ "medium_purple": 104,
140
+ "light_slate_blue": 105,
141
+ "dark_olive_green3": 149,
142
+ "dark_sea_green": 108,
143
+ "light_sky_blue3": 110,
144
+ "sky_blue2": 111,
145
+ "dark_sea_green3": 150,
146
+ "dark_slate_gray3": 116,
147
+ "sky_blue1": 117,
148
+ "chartreuse1": 118,
149
+ "light_green": 120,
150
+ "pale_green1": 156,
151
+ "dark_slate_gray1": 123,
152
+ "red3": 160,
153
+ "medium_violet_red": 126,
154
+ "magenta3": 164,
155
+ "dark_orange3": 166,
156
+ "indian_red": 167,
157
+ "hot_pink3": 168,
158
+ "medium_orchid3": 133,
159
+ "medium_orchid": 134,
160
+ "medium_purple2": 140,
161
+ "dark_goldenrod": 136,
162
+ "light_salmon3": 173,
163
+ "rosy_brown": 138,
164
+ "grey63": 139,
165
+ "gray63": 139,
166
+ "medium_purple1": 141,
167
+ "gold3": 178,
168
+ "dark_khaki": 143,
169
+ "navajo_white3": 144,
170
+ "grey69": 145,
171
+ "gray69": 145,
172
+ "light_steel_blue3": 146,
173
+ "light_steel_blue": 147,
174
+ "yellow3": 184,
175
+ "dark_sea_green2": 157,
176
+ "light_cyan3": 152,
177
+ "light_sky_blue1": 153,
178
+ "green_yellow": 154,
179
+ "dark_olive_green2": 155,
180
+ "dark_sea_green1": 193,
181
+ "pale_turquoise1": 159,
182
+ "deep_pink3": 162,
183
+ "magenta2": 200,
184
+ "hot_pink2": 169,
185
+ "orchid": 170,
186
+ "medium_orchid1": 207,
187
+ "orange3": 172,
188
+ "light_pink3": 174,
189
+ "pink3": 175,
190
+ "plum3": 176,
191
+ "violet": 177,
192
+ "light_goldenrod3": 179,
193
+ "tan": 180,
194
+ "misty_rose3": 181,
195
+ "thistle3": 182,
196
+ "plum2": 183,
197
+ "khaki3": 185,
198
+ "light_goldenrod2": 222,
199
+ "light_yellow3": 187,
200
+ "grey84": 188,
201
+ "gray84": 188,
202
+ "light_steel_blue1": 189,
203
+ "yellow2": 190,
204
+ "dark_olive_green1": 192,
205
+ "honeydew2": 194,
206
+ "light_cyan1": 195,
207
+ "red1": 196,
208
+ "deep_pink2": 197,
209
+ "deep_pink1": 199,
210
+ "magenta1": 201,
211
+ "orange_red1": 202,
212
+ "indian_red1": 204,
213
+ "hot_pink": 206,
214
+ "dark_orange": 208,
215
+ "salmon1": 209,
216
+ "light_coral": 210,
217
+ "pale_violet_red1": 211,
218
+ "orchid2": 212,
219
+ "orchid1": 213,
220
+ "orange1": 214,
221
+ "sandy_brown": 215,
222
+ "light_salmon1": 216,
223
+ "light_pink1": 217,
224
+ "pink1": 218,
225
+ "plum1": 219,
226
+ "gold1": 220,
227
+ "navajo_white1": 223,
228
+ "misty_rose1": 224,
229
+ "thistle1": 225,
230
+ "yellow1": 226,
231
+ "light_goldenrod1": 227,
232
+ "khaki1": 228,
233
+ "wheat1": 229,
234
+ "cornsilk1": 230,
235
+ "grey100": 231,
236
+ "gray100": 231,
237
+ "grey3": 232,
238
+ "gray3": 232,
239
+ "grey7": 233,
240
+ "gray7": 233,
241
+ "grey11": 234,
242
+ "gray11": 234,
243
+ "grey15": 235,
244
+ "gray15": 235,
245
+ "grey19": 236,
246
+ "gray19": 236,
247
+ "grey23": 237,
248
+ "gray23": 237,
249
+ "grey27": 238,
250
+ "gray27": 238,
251
+ "grey30": 239,
252
+ "gray30": 239,
253
+ "grey35": 240,
254
+ "gray35": 240,
255
+ "grey39": 241,
256
+ "gray39": 241,
257
+ "grey42": 242,
258
+ "gray42": 242,
259
+ "grey46": 243,
260
+ "gray46": 243,
261
+ "grey50": 244,
262
+ "gray50": 244,
263
+ "grey54": 245,
264
+ "gray54": 245,
265
+ "grey58": 246,
266
+ "gray58": 246,
267
+ "grey62": 247,
268
+ "gray62": 247,
269
+ "grey66": 248,
270
+ "gray66": 248,
271
+ "grey70": 249,
272
+ "gray70": 249,
273
+ "grey74": 250,
274
+ "gray74": 250,
275
+ "grey78": 251,
276
+ "gray78": 251,
277
+ "grey82": 252,
278
+ "gray82": 252,
279
+ "grey85": 253,
280
+ "gray85": 253,
281
+ "grey89": 254,
282
+ "gray89": 254,
283
+ "grey93": 255,
284
+ "gray93": 255,
285
+ }
286
+
287
+
288
+ class ColorParseError(Exception):
289
+ """The color could not be parsed."""
290
+
291
+
292
+ RE_COLOR = re.compile(
293
+ r"""^
294
+ \#([0-9a-f]{6})$|
295
+ color\(([0-9]{1,3})\)$|
296
+ rgb\(([\d\s,]+)\)$
297
+ """,
298
+ re.VERBOSE,
299
+ )
300
+
301
+
302
+ @rich_repr
303
+ class Color(NamedTuple):
304
+ """Terminal color definition."""
305
+
306
+ name: str
307
+ """The name of the color (typically the input to Color.parse)."""
308
+ type: ColorType
309
+ """The type of the color."""
310
+ number: Optional[int] = None
311
+ """The color number, if a standard color, or None."""
312
+ triplet: Optional[ColorTriplet] = None
313
+ """A triplet of color components, if an RGB color."""
314
+
315
+ def __rich__(self) -> "Text":
316
+ """Displays the actual color if Rich printed."""
317
+ from .style import Style
318
+ from .text import Text
319
+
320
+ return Text.assemble(
321
+ f"<color {self.name!r} ({self.type.name.lower()})",
322
+ ("⬤", Style(color=self)),
323
+ " >",
324
+ )
325
+
326
+ def __rich_repr__(self) -> Result:
327
+ yield self.name
328
+ yield self.type
329
+ yield "number", self.number, None
330
+ yield "triplet", self.triplet, None
331
+
332
+ @property
333
+ def system(self) -> ColorSystem:
334
+ """Get the native color system for this color."""
335
+ if self.type == ColorType.DEFAULT:
336
+ return ColorSystem.STANDARD
337
+ return ColorSystem(int(self.type))
338
+
339
+ @property
340
+ def is_system_defined(self) -> bool:
341
+ """Check if the color is ultimately defined by the system."""
342
+ return self.system not in (ColorSystem.EIGHT_BIT, ColorSystem.TRUECOLOR)
343
+
344
+ @property
345
+ def is_default(self) -> bool:
346
+ """Check if the color is a default color."""
347
+ return self.type == ColorType.DEFAULT
348
+
349
+ def get_truecolor(
350
+ self, theme: Optional["TerminalTheme"] = None, foreground: bool = True
351
+ ) -> ColorTriplet:
352
+ """Get an equivalent color triplet for this color.
353
+
354
+ Args:
355
+ theme (TerminalTheme, optional): Optional terminal theme, or None to use default. Defaults to None.
356
+ foreground (bool, optional): True for a foreground color, or False for background. Defaults to True.
357
+
358
+ Returns:
359
+ ColorTriplet: A color triplet containing RGB components.
360
+ """
361
+
362
+ if theme is None:
363
+ theme = DEFAULT_TERMINAL_THEME
364
+ if self.type == ColorType.TRUECOLOR:
365
+ assert self.triplet is not None
366
+ return self.triplet
367
+ elif self.type == ColorType.EIGHT_BIT:
368
+ assert self.number is not None
369
+ return EIGHT_BIT_PALETTE[self.number]
370
+ elif self.type == ColorType.STANDARD:
371
+ assert self.number is not None
372
+ return theme.ansi_colors[self.number]
373
+ elif self.type == ColorType.WINDOWS:
374
+ assert self.number is not None
375
+ return WINDOWS_PALETTE[self.number]
376
+ else: # self.type == ColorType.DEFAULT:
377
+ assert self.number is None
378
+ return theme.foreground_color if foreground else theme.background_color
379
+
380
+ @classmethod
381
+ def from_ansi(cls, number: int) -> "Color":
382
+ """Create a Color number from it's 8-bit ansi number.
383
+
384
+ Args:
385
+ number (int): A number between 0-255 inclusive.
386
+
387
+ Returns:
388
+ Color: A new Color instance.
389
+ """
390
+ return cls(
391
+ name=f"color({number})",
392
+ type=(ColorType.STANDARD if number < 16 else ColorType.EIGHT_BIT),
393
+ number=number,
394
+ )
395
+
396
+ @classmethod
397
+ def from_triplet(cls, triplet: "ColorTriplet") -> "Color":
398
+ """Create a truecolor RGB color from a triplet of values.
399
+
400
+ Args:
401
+ triplet (ColorTriplet): A color triplet containing red, green and blue components.
402
+
403
+ Returns:
404
+ Color: A new color object.
405
+ """
406
+ return cls(name=triplet.hex, type=ColorType.TRUECOLOR, triplet=triplet)
407
+
408
+ @classmethod
409
+ def from_rgb(cls, red: float, green: float, blue: float) -> "Color":
410
+ """Create a truecolor from three color components in the range(0->255).
411
+
412
+ Args:
413
+ red (float): Red component in range 0-255.
414
+ green (float): Green component in range 0-255.
415
+ blue (float): Blue component in range 0-255.
416
+
417
+ Returns:
418
+ Color: A new color object.
419
+ """
420
+ return cls.from_triplet(ColorTriplet(int(red), int(green), int(blue)))
421
+
422
+ @classmethod
423
+ def default(cls) -> "Color":
424
+ """Get a Color instance representing the default color.
425
+
426
+ Returns:
427
+ Color: Default color.
428
+ """
429
+ return cls(name="default", type=ColorType.DEFAULT)
430
+
431
+ @classmethod
432
+ @lru_cache(maxsize=1024)
433
+ def parse(cls, color: str) -> "Color":
434
+ """Parse a color definition."""
435
+ original_color = color
436
+ color = color.lower().strip()
437
+
438
+ if color == "default":
439
+ return cls(color, type=ColorType.DEFAULT)
440
+
441
+ color_number = ANSI_COLOR_NAMES.get(color)
442
+ if color_number is not None:
443
+ return cls(
444
+ color,
445
+ type=(ColorType.STANDARD if color_number < 16 else ColorType.EIGHT_BIT),
446
+ number=color_number,
447
+ )
448
+
449
+ color_match = RE_COLOR.match(color)
450
+ if color_match is None:
451
+ raise ColorParseError(f"{original_color!r} is not a valid color")
452
+
453
+ color_24, color_8, color_rgb = color_match.groups()
454
+ if color_24:
455
+ triplet = ColorTriplet(
456
+ int(color_24[0:2], 16), int(color_24[2:4], 16), int(color_24[4:6], 16)
457
+ )
458
+ return cls(color, ColorType.TRUECOLOR, triplet=triplet)
459
+
460
+ elif color_8:
461
+ number = int(color_8)
462
+ if number > 255:
463
+ raise ColorParseError(f"color number must be <= 255 in {color!r}")
464
+ return cls(
465
+ color,
466
+ type=(ColorType.STANDARD if number < 16 else ColorType.EIGHT_BIT),
467
+ number=number,
468
+ )
469
+
470
+ else: # color_rgb:
471
+ components = color_rgb.split(",")
472
+ if len(components) != 3:
473
+ raise ColorParseError(
474
+ f"expected three components in {original_color!r}"
475
+ )
476
+ red, green, blue = components
477
+ triplet = ColorTriplet(int(red), int(green), int(blue))
478
+ if not all(component <= 255 for component in triplet):
479
+ raise ColorParseError(
480
+ f"color components must be <= 255 in {original_color!r}"
481
+ )
482
+ return cls(color, ColorType.TRUECOLOR, triplet=triplet)
483
+
484
+ @lru_cache(maxsize=1024)
485
+ def get_ansi_codes(self, foreground: bool = True) -> Tuple[str, ...]:
486
+ """Get the ANSI escape codes for this color."""
487
+ _type = self.type
488
+ if _type == ColorType.DEFAULT:
489
+ return ("39" if foreground else "49",)
490
+
491
+ elif _type == ColorType.WINDOWS:
492
+ number = self.number
493
+ assert number is not None
494
+ fore, back = (30, 40) if number < 8 else (82, 92)
495
+ return (str(fore + number if foreground else back + number),)
496
+
497
+ elif _type == ColorType.STANDARD:
498
+ number = self.number
499
+ assert number is not None
500
+ fore, back = (30, 40) if number < 8 else (82, 92)
501
+ return (str(fore + number if foreground else back + number),)
502
+
503
+ elif _type == ColorType.EIGHT_BIT:
504
+ assert self.number is not None
505
+ return ("38" if foreground else "48", "5", str(self.number))
506
+
507
+ else: # self.standard == ColorStandard.TRUECOLOR:
508
+ assert self.triplet is not None
509
+ red, green, blue = self.triplet
510
+ return ("38" if foreground else "48", "2", str(red), str(green), str(blue))
511
+
512
+ @lru_cache(maxsize=1024)
513
+ def downgrade(self, system: ColorSystem) -> "Color":
514
+ """Downgrade a color system to a system with fewer colors."""
515
+
516
+ if self.type in (ColorType.DEFAULT, system):
517
+ return self
518
+ # Convert to 8-bit color from truecolor color
519
+ if system == ColorSystem.EIGHT_BIT and self.system == ColorSystem.TRUECOLOR:
520
+ assert self.triplet is not None
521
+ _h, l, s = rgb_to_hls(*self.triplet.normalized)
522
+ # If saturation is under 15% assume it is grayscale
523
+ if s < 0.15:
524
+ gray = round(l * 25.0)
525
+ if gray == 0:
526
+ color_number = 16
527
+ elif gray == 25:
528
+ color_number = 231
529
+ else:
530
+ color_number = 231 + gray
531
+ return Color(self.name, ColorType.EIGHT_BIT, number=color_number)
532
+
533
+ red, green, blue = self.triplet
534
+ six_red = red / 95 if red < 95 else 1 + (red - 95) / 40
535
+ six_green = green / 95 if green < 95 else 1 + (green - 95) / 40
536
+ six_blue = blue / 95 if blue < 95 else 1 + (blue - 95) / 40
537
+
538
+ color_number = (
539
+ 16 + 36 * round(six_red) + 6 * round(six_green) + round(six_blue)
540
+ )
541
+ return Color(self.name, ColorType.EIGHT_BIT, number=color_number)
542
+
543
+ # Convert to standard from truecolor or 8-bit
544
+ elif system == ColorSystem.STANDARD:
545
+ if self.system == ColorSystem.TRUECOLOR:
546
+ assert self.triplet is not None
547
+ triplet = self.triplet
548
+ else: # self.system == ColorSystem.EIGHT_BIT
549
+ assert self.number is not None
550
+ triplet = ColorTriplet(*EIGHT_BIT_PALETTE[self.number])
551
+
552
+ color_number = STANDARD_PALETTE.match(triplet)
553
+ return Color(self.name, ColorType.STANDARD, number=color_number)
554
+
555
+ elif system == ColorSystem.WINDOWS:
556
+ if self.system == ColorSystem.TRUECOLOR:
557
+ assert self.triplet is not None
558
+ triplet = self.triplet
559
+ else: # self.system == ColorSystem.EIGHT_BIT
560
+ assert self.number is not None
561
+ if self.number < 16:
562
+ return Color(self.name, ColorType.WINDOWS, number=self.number)
563
+ triplet = ColorTriplet(*EIGHT_BIT_PALETTE[self.number])
564
+
565
+ color_number = WINDOWS_PALETTE.match(triplet)
566
+ return Color(self.name, ColorType.WINDOWS, number=color_number)
567
+
568
+ return self
569
+
570
+
571
+ def parse_rgb_hex(hex_color: str) -> ColorTriplet:
572
+ """Parse six hex characters in to RGB triplet."""
573
+ assert len(hex_color) == 6, "must be 6 characters"
574
+ color = ColorTriplet(
575
+ int(hex_color[0:2], 16), int(hex_color[2:4], 16), int(hex_color[4:6], 16)
576
+ )
577
+ return color
578
+
579
+
580
+ def blend_rgb(
581
+ color1: ColorTriplet, color2: ColorTriplet, cross_fade: float = 0.5
582
+ ) -> ColorTriplet:
583
+ """Blend one RGB color in to another."""
584
+ r1, g1, b1 = color1
585
+ r2, g2, b2 = color2
586
+ new_color = ColorTriplet(
587
+ int(r1 + (r2 - r1) * cross_fade),
588
+ int(g1 + (g2 - g1) * cross_fade),
589
+ int(b1 + (b2 - b1) * cross_fade),
590
+ )
591
+ return new_color
592
+
593
+
594
+ if __name__ == "__main__": # pragma: no cover
595
+ from .console import Console
596
+ from .table import Table
597
+ from .text import Text
598
+
599
+ console = Console()
600
+
601
+ table = Table(show_footer=False, show_edge=True)
602
+ table.add_column("Color", width=10, overflow="ellipsis")
603
+ table.add_column("Number", justify="right", style="yellow")
604
+ table.add_column("Name", style="green")
605
+ table.add_column("Hex", style="blue")
606
+ table.add_column("RGB", style="magenta")
607
+
608
+ colors = sorted((v, k) for k, v in ANSI_COLOR_NAMES.items())
609
+ for color_number, name in colors:
610
+ if "grey" in name:
611
+ continue
612
+ color_cell = Text(" " * 10, style=f"on {name}")
613
+ if color_number < 16:
614
+ table.add_row(color_cell, f"{color_number}", Text(f'"{name}"'))
615
+ else:
616
+ color = EIGHT_BIT_PALETTE[color_number] # type: ignore[has-type]
617
+ table.add_row(
618
+ color_cell, str(color_number), Text(f'"{name}"'), color.hex, color.rgb
619
+ )
620
+
621
+ console.print(table)
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/color_triplet.py ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import NamedTuple, Tuple
2
+
3
+
4
+ class ColorTriplet(NamedTuple):
5
+ """The red, green, and blue components of a color."""
6
+
7
+ red: int
8
+ """Red component in 0 to 255 range."""
9
+ green: int
10
+ """Green component in 0 to 255 range."""
11
+ blue: int
12
+ """Blue component in 0 to 255 range."""
13
+
14
+ @property
15
+ def hex(self) -> str:
16
+ """get the color triplet in CSS style."""
17
+ red, green, blue = self
18
+ return f"#{red:02x}{green:02x}{blue:02x}"
19
+
20
+ @property
21
+ def rgb(self) -> str:
22
+ """The color in RGB format.
23
+
24
+ Returns:
25
+ str: An rgb color, e.g. ``"rgb(100,23,255)"``.
26
+ """
27
+ red, green, blue = self
28
+ return f"rgb({red},{green},{blue})"
29
+
30
+ @property
31
+ def normalized(self) -> Tuple[float, float, float]:
32
+ """Convert components into floats between 0 and 1.
33
+
34
+ Returns:
35
+ Tuple[float, float, float]: A tuple of three normalized colour components.
36
+ """
37
+ red, green, blue = self
38
+ return red / 255.0, green / 255.0, blue / 255.0
.cache/uv/archive-v0/1AmN3AaX0LoiIR2OeGzy7/rich/columns.py ADDED
@@ -0,0 +1,187 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from collections import defaultdict
2
+ from itertools import chain
3
+ from operator import itemgetter
4
+ from typing import Dict, Iterable, List, Optional, Tuple
5
+
6
+ from .align import Align, AlignMethod
7
+ from .console import Console, ConsoleOptions, RenderableType, RenderResult
8
+ from .constrain import Constrain
9
+ from .measure import Measurement
10
+ from .padding import Padding, PaddingDimensions
11
+ from .table import Table
12
+ from .text import TextType
13
+ from .jupyter import JupyterMixin
14
+
15
+
16
+ class Columns(JupyterMixin):
17
+ """Display renderables in neat columns.
18
+
19
+ Args:
20
+ renderables (Iterable[RenderableType]): Any number of Rich renderables (including str).
21
+ width (int, optional): The desired width of the columns, or None to auto detect. Defaults to None.
22
+ padding (PaddingDimensions, optional): Optional padding around cells. Defaults to (0, 1).
23
+ expand (bool, optional): Expand columns to full width. Defaults to False.
24
+ equal (bool, optional): Arrange in to equal sized columns. Defaults to False.
25
+ column_first (bool, optional): Align items from top to bottom (rather than left to right). Defaults to False.
26
+ right_to_left (bool, optional): Start column from right hand side. Defaults to False.
27
+ align (str, optional): Align value ("left", "right", or "center") or None for default. Defaults to None.
28
+ title (TextType, optional): Optional title for Columns.
29
+ """
30
+
31
+ def __init__(
32
+ self,
33
+ renderables: Optional[Iterable[RenderableType]] = None,
34
+ padding: PaddingDimensions = (0, 1),
35
+ *,
36
+ width: Optional[int] = None,
37
+ expand: bool = False,
38
+ equal: bool = False,
39
+ column_first: bool = False,
40
+ right_to_left: bool = False,
41
+ align: Optional[AlignMethod] = None,
42
+ title: Optional[TextType] = None,
43
+ ) -> None:
44
+ self.renderables = list(renderables or [])
45
+ self.width = width
46
+ self.padding = padding
47
+ self.expand = expand
48
+ self.equal = equal
49
+ self.column_first = column_first
50
+ self.right_to_left = right_to_left
51
+ self.align: Optional[AlignMethod] = align
52
+ self.title = title
53
+
54
+ def add_renderable(self, renderable: RenderableType) -> None:
55
+ """Add a renderable to the columns.
56
+
57
+ Args:
58
+ renderable (RenderableType): Any renderable object.
59
+ """
60
+ self.renderables.append(renderable)
61
+
62
+ def __rich_console__(
63
+ self, console: Console, options: ConsoleOptions
64
+ ) -> RenderResult:
65
+ render_str = console.render_str
66
+ renderables = [
67
+ render_str(renderable) if isinstance(renderable, str) else renderable
68
+ for renderable in self.renderables
69
+ ]
70
+ if not renderables:
71
+ return
72
+ _top, right, _bottom, left = Padding.unpack(self.padding)
73
+ width_padding = max(left, right)
74
+ max_width = options.max_width
75
+ widths: Dict[int, int] = defaultdict(int)
76
+ column_count = len(renderables)
77
+
78
+ get_measurement = Measurement.get
79
+ renderable_widths = [
80
+ get_measurement(console, options, renderable).maximum
81
+ for renderable in renderables
82
+ ]
83
+ if self.equal:
84
+ renderable_widths = [max(renderable_widths)] * len(renderable_widths)
85
+
86
+ def iter_renderables(
87
+ column_count: int,
88
+ ) -> Iterable[Tuple[int, Optional[RenderableType]]]:
89
+ item_count = len(renderables)
90
+ if self.column_first:
91
+ width_renderables = list(zip(renderable_widths, renderables))
92
+
93
+ column_lengths: List[int] = [item_count // column_count] * column_count
94
+ for col_no in range(item_count % column_count):
95
+ column_lengths[col_no] += 1
96
+
97
+ row_count = (item_count + column_count - 1) // column_count
98
+ cells = [[-1] * column_count for _ in range(row_count)]
99
+ row = col = 0
100
+ for index in range(item_count):
101
+ cells[row][col] = index
102
+ column_lengths[col] -= 1
103
+ if column_lengths[col]:
104
+ row += 1
105
+ else:
106
+ col += 1
107
+ row = 0
108
+ for index in chain.from_iterable(cells):
109
+ if index == -1:
110
+ break
111
+ yield width_renderables[index]
112
+ else:
113
+ yield from zip(renderable_widths, renderables)
114
+ # Pad odd elements with spaces
115
+ if item_count % column_count:
116
+ for _ in range(column_count - (item_count % column_count)):
117
+ yield 0, None
118
+
119
+ table = Table.grid(padding=self.padding, collapse_padding=True, pad_edge=False)
120
+ table.expand = self.expand
121
+ table.title = self.title
122
+
123
+ if self.width is not None:
124
+ column_count = (max_width) // (self.width + width_padding)
125
+ for _ in range(column_count):
126
+ table.add_column(width=self.width)
127
+ else:
128
+ while column_count > 1:
129
+ widths.clear()
130
+ column_no = 0
131
+ for renderable_width, _ in iter_renderables(column_count):
132
+ widths[column_no] = max(widths[column_no], renderable_width)
133
+ total_width = sum(widths.values()) + width_padding * (
134
+ len(widths) - 1
135
+ )
136
+ if total_width > max_width:
137
+ column_count = len(widths) - 1
138
+ break
139
+ else:
140
+ column_no = (column_no + 1) % column_count
141
+ else:
142
+ break
143
+
144
+ get_renderable = itemgetter(1)
145
+ _renderables = [
146
+ get_renderable(_renderable)
147
+ for _renderable in iter_renderables(column_count)
148
+ ]
149
+ if self.equal:
150
+ _renderables = [
151
+ None
152
+ if renderable is None
153
+ else Constrain(renderable, renderable_widths[0])
154
+ for renderable in _renderables
155
+ ]
156
+ if self.align:
157
+ align = self.align
158
+ _Align = Align
159
+ _renderables = [
160
+ None if renderable is None else _Align(renderable, align)
161
+ for renderable in _renderables
162
+ ]
163
+
164
+ right_to_left = self.right_to_left
165
+ add_row = table.add_row
166
+ for start in range(0, len(_renderables), column_count):
167
+ row = _renderables[start : start + column_count]
168
+ if right_to_left:
169
+ row = row[::-1]
170
+ add_row(*row)
171
+ yield table
172
+
173
+
174
+ if __name__ == "__main__": # pragma: no cover
175
+ import os
176
+
177
+ console = Console()
178
+
179
+ files = [f"{i} {s}" for i, s in enumerate(sorted(os.listdir()))]
180
+ columns = Columns(files, padding=(0, 1), expand=False, equal=False)
181
+ console.print(columns)
182
+ console.rule()
183
+ columns.column_first = True
184
+ console.print(columns)
185
+ columns.right_to_left = True
186
+ console.rule()
187
+ console.print(columns)